Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paqtcom/recycleclub-calculator

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paqtcom/recycleclub-calculator - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

dist/recycleclub-calculator/p-2bd3d5d9.entry.js

13

dist/cjs/recycleclub-calculator_4.cjs.entry.js

@@ -43,2 +43,3 @@ 'use strict';

continue: 'Weiter',
minimumReimbursement: 'Mindestbestellwert 7,50 €',
},

@@ -67,2 +68,3 @@ en: {

continue: 'Continue',
minimumReimbursement: 'Minimum order value €7.50',
},

@@ -91,2 +93,3 @@ fr: {

continue: 'Continuer',
minimumReimbursement: 'Valeur minimale de commande 7,50 €',
},

@@ -115,2 +118,3 @@ nl: {

continue: 'Ga verder',
minimumReimbursement: 'Minimale orderwaarde € 7,50',
},

@@ -139,2 +143,3 @@ pt: {

continue: 'Continuar',
minimumReimbursement: 'Custo mínimo de encomenda 7,50€',
},

@@ -516,3 +521,3 @@ };

const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";
const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text,.minimum-value-message{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";

@@ -543,3 +548,5 @@ const RecycleclubCalculatorOutput = class {

charityQueryParam;
const buttonDisabled = state.calculatorItems.length === 0;
const noItems = state.calculatorItems.length === 0;
const tooLowReimbursement = state.totalValue < 750;
const buttonDisabled = noItems || tooLowReimbursement;
return (index.h(index.Host, null, index.h("h3", null, translate('yourReimbursement')), state.calculatorItems.length ? (index.h("table", null, index.h("tbody", null, state.calculatorItems.map(calculatorItem => (index.h("tr", { key: calculatorItem.article.id }, index.h("td", null, (() => {

@@ -556,3 +563,3 @@ switch (calculatorItem.article.type) {

? new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(-state.shippingCosts / 100)
: translate('free'))), index.h("div", { class: "total-container" }, index.h("div", null, translate('youReceive')), index.h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), index.h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
: translate('free'))), index.h("div", { class: "total-container" }, index.h("div", null, translate('youReceive')), index.h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), (tooLowReimbursement && index.h("p", { class: "minimum-value-message" }, translate('minimumReimbursement'))), index.h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
'button': true,

@@ -559,0 +566,0 @@ 'button-disabled': buttonDisabled,

@@ -27,3 +27,5 @@ import { Component, Host, h, Prop } from '@stencil/core';

charityQueryParam;
const buttonDisabled = state.calculatorItems.length === 0;
const noItems = state.calculatorItems.length === 0;
const tooLowReimbursement = state.totalValue < 750;
const buttonDisabled = noItems || tooLowReimbursement;
return (h(Host, null,

@@ -66,2 +68,3 @@ h("h3", null, translate('yourReimbursement')),

h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))),
(tooLowReimbursement && h("p", { class: "minimum-value-message" }, translate('minimumReimbursement'))),
h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {

@@ -68,0 +71,0 @@ 'button': true,

@@ -26,2 +26,3 @@ const defaultLanguage = 'en';

continue: 'Weiter',
minimumReimbursement: 'Mindestbestellwert 7,50 €',
},

@@ -50,2 +51,3 @@ en: {

continue: 'Continue',
minimumReimbursement: 'Minimum order value €7.50',
},

@@ -74,2 +76,3 @@ fr: {

continue: 'Continuer',
minimumReimbursement: 'Valeur minimale de commande 7,50 €',
},

@@ -98,2 +101,3 @@ nl: {

continue: 'Ga verder',
minimumReimbursement: 'Minimale orderwaarde € 7,50',
},

@@ -122,2 +126,3 @@ pt: {

continue: 'Continuar',
minimumReimbursement: 'Custo mínimo de encomenda 7,50€',
},

@@ -124,0 +129,0 @@ };

@@ -5,3 +5,3 @@ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';

const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";
const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text,.minimum-value-message{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";

@@ -34,3 +34,5 @@ const RecycleclubCalculatorOutput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {

charityQueryParam;
const buttonDisabled = state.calculatorItems.length === 0;
const noItems = state.calculatorItems.length === 0;
const tooLowReimbursement = state.totalValue < 750;
const buttonDisabled = noItems || tooLowReimbursement;
return (h(Host, null, h("h3", null, translate('yourReimbursement')), state.calculatorItems.length ? (h("table", null, h("tbody", null, state.calculatorItems.map(calculatorItem => (h("tr", { key: calculatorItem.article.id }, h("td", null, (() => {

@@ -47,3 +49,3 @@ switch (calculatorItem.article.type) {

? new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(-state.shippingCosts / 100)
: translate('free'))), h("div", { class: "total-container" }, h("div", null, translate('youReceive')), h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
: translate('free'))), h("div", { class: "total-container" }, h("div", null, translate('youReceive')), h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), (tooLowReimbursement && h("p", { class: "minimum-value-message" }, translate('minimumReimbursement'))), h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
'button': true,

@@ -50,0 +52,0 @@ 'button-disabled': buttonDisabled,

@@ -26,2 +26,3 @@ const defaultLanguage = 'en';

continue: 'Weiter',
minimumReimbursement: 'Mindestbestellwert 7,50 €',
},

@@ -50,2 +51,3 @@ en: {

continue: 'Continue',
minimumReimbursement: 'Minimum order value €7.50',
},

@@ -74,2 +76,3 @@ fr: {

continue: 'Continuer',
minimumReimbursement: 'Valeur minimale de commande 7,50 €',
},

@@ -98,2 +101,3 @@ nl: {

continue: 'Ga verder',
minimumReimbursement: 'Minimale orderwaarde € 7,50',
},

@@ -122,2 +126,3 @@ pt: {

continue: 'Continuar',
minimumReimbursement: 'Custo mínimo de encomenda 7,50€',
},

@@ -124,0 +129,0 @@ };

@@ -39,2 +39,3 @@ import { r as registerInstance, h, g as getAssetPath, H as Host, a as getRenderingRef, f as forceUpdate } from './index-b2b74844.js';

continue: 'Weiter',
minimumReimbursement: 'Mindestbestellwert 7,50 €',
},

@@ -63,2 +64,3 @@ en: {

continue: 'Continue',
minimumReimbursement: 'Minimum order value €7.50',
},

@@ -87,2 +89,3 @@ fr: {

continue: 'Continuer',
minimumReimbursement: 'Valeur minimale de commande 7,50 €',
},

@@ -111,2 +114,3 @@ nl: {

continue: 'Ga verder',
minimumReimbursement: 'Minimale orderwaarde € 7,50',
},

@@ -135,2 +139,3 @@ pt: {

continue: 'Continuar',
minimumReimbursement: 'Custo mínimo de encomenda 7,50€',
},

@@ -512,3 +517,3 @@ };

const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";
const recycleclubCalculatorOutputCss = ":host{display:block;border-radius:0.625rem;background:#ffffff;box-shadow:0 2px 4px 0 rgba(0, 0, 0, 0.1);padding:2.5rem}@media only screen and (max-width: 600px){:host{padding:1rem}}*{box-sizing:border-box}h3{font-family:var(--recycleclub-calculator-heading-font-family);font-size:1.5em;font-weight:700;color:#005798;margin-top:0}.no-cartridges-text,.minimum-value-message{border-top:1px solid #e5eef4;padding-top:1rem;padding-bottom:1rem;margin:0;text-align:center;color:#c2d4da;font-size:0.9em}table{display:grid;border-collapse:collapse;min-width:100%;grid-template-columns:30px\n 70px\n 100px\n minmax(150px, 3fr)\n minmax(100px, 1fr)}@media only screen and (max-width: 1160px){table{grid-template-columns:30px\n 70px\n 0\n minmax(150px, 3fr)\n minmax(100px, 1fr)}td:nth-child(3){visibility:hidden}}thead,tbody,tr{display:contents}th,td{padding:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}th,td:first-child{padding-left:0px;padding-top:14px}th,td:last-child{padding-right:0px}td{border-top:1px solid #e5eef4}td:first-child{text-overflow:inherit}td:nth-child(3){font-weight:500;color:#005798}td:nth-child(4){color:#005798}td:last-child{color:#88ba17;font-weight:700;text-align:right}img.type{height:1rem}.shippingcosts-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;padding-bottom:15px}.shippingcosts-container div:first-child{flex:1;color:#005798}.shippingcosts-container div:last-child{flex:1;text-align:right}.total-container{border-top:1px solid #e5eef4;display:flex;padding-top:15px;margin-bottom:1.5rem}.total-container div:first-child{flex:1;line-height:2em;color:#005798}.total-container div:last-child{flex:1;text-align:right;color:#88ba17;font-weight:700;font-size:1.6em}.info-box{padding:1.5rem;background-color:#e5f5fc;border-radius:0.5rem;margin-bottom:1.5rem;display:flex}.info-box .icon{flex:0 0 auto;width:1.5em;height:1.5em;margin-right:1.5rem;color:#00ade5}.info-box .icon svg{fill:currentcolor}.info-box p{flex:1 1 auto;color:#777777;font-size:0.9em;margin:0}.button{display:block;color:#ffffff;background-color:#88ba17;padding:1em;text-decoration:none;text-align:center;border-radius:0.25rem;font-weight:700;font-family:var(--recycleclub-calculator-button-font-family);transition:background-color 150ms linear, opacity 150ms linear}.button-disabled{opacity:0.5;pointer-events:none}a.button:hover{background-color:#78a314}";

@@ -539,3 +544,5 @@ const RecycleclubCalculatorOutput = class {

charityQueryParam;
const buttonDisabled = state.calculatorItems.length === 0;
const noItems = state.calculatorItems.length === 0;
const tooLowReimbursement = state.totalValue < 750;
const buttonDisabled = noItems || tooLowReimbursement;
return (h(Host, null, h("h3", null, translate('yourReimbursement')), state.calculatorItems.length ? (h("table", null, h("tbody", null, state.calculatorItems.map(calculatorItem => (h("tr", { key: calculatorItem.article.id }, h("td", null, (() => {

@@ -552,3 +559,3 @@ switch (calculatorItem.article.type) {

? new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(-state.shippingCosts / 100)
: translate('free'))), h("div", { class: "total-container" }, h("div", null, translate('youReceive')), h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
: translate('free'))), h("div", { class: "total-container" }, h("div", null, translate('youReceive')), h("div", null, new Intl.NumberFormat(language, { style: 'currency', currency: 'EUR' }).format(state.totalValue / 100))), (tooLowReimbursement && h("p", { class: "minimum-value-message" }, translate('minimumReimbursement'))), h("a", { href: redirectUri, "aria-disabled": buttonDisabled ? 'true' : null, rel: "noreferrer noopener", class: {
'button': true,

@@ -555,0 +562,0 @@ 'button-disabled': buttonDisabled,

@@ -1,2 +0,2 @@

import{p as e,b as c}from"./p-21c28309.js";const r=()=>{const c=import.meta.url;const r={};if(c!==""){r.resourcesUrl=new URL(".",c).href}return e(r)};r().then((e=>c([["p-af43408d",[[1,"recycleclub-calculator",{charityCode:[1,"charity-code"],apiEndpoint:[1,"api-endpoint"],redirectHostname:[1,"redirect-hostname"],redirectPath:[1,"redirect-path"],filteredBrands:[32],noConnection:[32]}],[1,"recycleclub-calculator-brandlisting",{brand:[16],isOpen:[32]}],[1,"recycleclub-calculator-output",{charityCode:[1,"charity-code"],redirectHostname:[1,"redirect-hostname"],redirectPath:[1,"redirect-path"]}],[1,"recycleclub-calculator-spinner",{article:[16],value:[32]}]]]],e)));
import{p as e,b as c}from"./p-21c28309.js";const r=()=>{const c=import.meta.url;const r={};if(c!==""){r.resourcesUrl=new URL(".",c).href}return e(r)};r().then((e=>c([["p-2bd3d5d9",[[1,"recycleclub-calculator",{charityCode:[1,"charity-code"],apiEndpoint:[1,"api-endpoint"],redirectHostname:[1,"redirect-hostname"],redirectPath:[1,"redirect-path"],filteredBrands:[32],noConnection:[32]}],[1,"recycleclub-calculator-brandlisting",{brand:[16],isOpen:[32]}],[1,"recycleclub-calculator-output",{charityCode:[1,"charity-code"],redirectHostname:[1,"redirect-hostname"],redirectPath:[1,"redirect-path"]}],[1,"recycleclub-calculator-spinner",{article:[16],value:[32]}]]]],e)));
//# sourceMappingURL=recycleclub-calculator.esm.js.map
{
"name": "@paqtcom/recycleclub-calculator",
"version": "1.2.6",
"version": "1.3.0",
"description": "A Web Component to check what your empty cartridges are worth",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc