@zonos/elements 1.3.137 → 1.3.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-dea3242e.js → cart-0070bff2.js} +106 -41
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{paypal-729f9ed3.js → paypal-7c8a99b0.js} +1 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +10 -10
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card.cjs.entry.js +4 -4
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +51 -23
- package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +19 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +24 -10
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/cart.js +1 -0
- package/dist/collection/components/store/checkout/stripe.js +5 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +5 -2
- package/dist/collection/components/store/translationStore/strings.base.js +5 -2
- package/dist/collection/components/store/translationStore/strings.chinese.js +5 -2
- package/dist/collection/components/store/translationStore/strings.danish.js +5 -2
- package/dist/collection/components/store/translationStore/strings.dutch.js +5 -2
- package/dist/collection/components/store/translationStore/strings.french.js +5 -2
- package/dist/collection/components/store/translationStore/strings.german.js +5 -2
- package/dist/collection/components/store/translationStore/strings.hebrew.js +5 -2
- package/dist/collection/components/store/translationStore/strings.indonesian.js +5 -2
- package/dist/collection/components/store/translationStore/strings.italian.js +5 -2
- package/dist/collection/components/store/translationStore/strings.japanese.js +5 -2
- package/dist/collection/components/store/translationStore/strings.korean.js +5 -2
- package/dist/collection/components/store/translationStore/strings.norwegian.js +5 -2
- package/dist/collection/components/store/translationStore/strings.polish.js +5 -2
- package/dist/collection/components/store/translationStore/strings.portuguese.js +5 -2
- package/dist/collection/components/store/translationStore/strings.russian.js +5 -2
- package/dist/collection/components/store/translationStore/strings.spanish.js +5 -2
- package/dist/collection/components/store/translationStore/strings.swedish.js +5 -2
- package/dist/collection/components/store/translationStore/strings.turkish.js +5 -2
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +5 -2
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/esm/{cart-c15cb7dd.js → cart-e5fb3abe.js} +106 -41
- package/dist/esm/index.js +7 -7
- package/dist/esm/{paypal-de439a93.js → paypal-9636651e.js} +1 -1
- package/dist/esm/zonos-address_7.entry.js +10 -10
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +4 -4
- package/dist/esm/zonos-cart-items_13.entry.js +51 -23
- package/dist/esm/zonos-checkout.entry.js +2 -2
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +9 -9
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification_3.entry.js +4 -4
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-e5fb3abe.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-de439a93.js → paypal-9636651e.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.d.ts +15 -3
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/checkout/cart.d.ts +1 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.base.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.danish.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.french.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.german.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.italian.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.korean.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.polish.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.russian.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +4 -1
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +4 -1
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/calculateLandedCost.d.ts +2 -2
- package/dist/types/components/utils/api/calculateLandedCostNormalized.d.ts +2 -2
- package/dist/types/components/utils/api/cartCalculateLandedCost.d.ts +2 -2
- package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +3 -7
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +21 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-bbd5119f.entry.js → p-00d4bff1.entry.js} +1 -1
- package/dist/zonos-elements/p-010f5797.system.entry.js +1 -0
- package/dist/zonos-elements/p-035571bf.entry.js +1 -0
- package/dist/zonos-elements/{p-856bf7a4.entry.js → p-04a6a167.entry.js} +1 -1
- package/dist/zonos-elements/{p-cb6baa14.entry.js → p-0931f518.entry.js} +1 -1
- package/dist/zonos-elements/{p-b500f0d1.system.entry.js → p-0aee2e4c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7c08bf7d.system.js → p-1037c75b.system.js} +1 -1
- package/dist/zonos-elements/{p-765ddab5.system.entry.js → p-244fe3a1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-910c1247.system.entry.js → p-30f75fc0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7eceaa3a.system.entry.js → p-3316bcb0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-acae88db.entry.js → p-3a26cae5.entry.js} +1 -1
- package/dist/zonos-elements/{p-1360c4b5.system.entry.js → p-3dd503fd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a5d35e84.entry.js → p-3f71bac6.entry.js} +1 -1
- package/dist/zonos-elements/{p-24488838.system.entry.js → p-4319600a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3039f460.system.entry.js → p-456d8ac3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1393d259.system.entry.js → p-461624ce.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-938b2b70.js → p-4e4a45cb.js} +1 -1
- package/dist/zonos-elements/{p-0867e94a.entry.js → p-59f7cc80.entry.js} +1 -1
- package/dist/zonos-elements/{p-e44ab8b8.entry.js → p-5c32689e.entry.js} +1 -1
- package/dist/zonos-elements/p-75048606.system.js +1 -0
- package/dist/zonos-elements/{p-e9b39df1.system.js → p-79a8c9ef.system.js} +1 -1
- package/dist/zonos-elements/{p-22d099fb.system.entry.js → p-7a60deef.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-84df573a.entry.js → p-7acf6802.entry.js} +1 -1
- package/dist/zonos-elements/{p-f9f48476.entry.js → p-7ef573f0.entry.js} +1 -1
- package/dist/zonos-elements/{p-1faa4294.system.entry.js → p-85545d0b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5775cd68.system.entry.js → p-87ed2e17.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1ac0f941.system.entry.js → p-896ab1ed.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4aecf7fc.entry.js → p-9138a10d.entry.js} +1 -1
- package/dist/zonos-elements/{p-234b3f74.entry.js → p-9589bd08.entry.js} +1 -1
- package/dist/zonos-elements/{p-56e63659.entry.js → p-99190477.entry.js} +1 -1
- package/dist/zonos-elements/{p-22e2f162.entry.js → p-9b59704a.entry.js} +1 -1
- package/dist/zonos-elements/{p-b9e4e410.entry.js → p-ad4bc6a2.entry.js} +1 -1
- package/dist/zonos-elements/{p-2de631c4.system.entry.js → p-b7652a21.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-a0cc4dd2.entry.js → p-cd1fd09e.entry.js} +1 -1
- package/dist/zonos-elements/{p-374680fd.system.entry.js → p-d374ef35.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-51f8719d.entry.js → p-d58b6247.entry.js} +1 -1
- package/dist/zonos-elements/{p-95f26bc3.entry.js → p-d633ced9.entry.js} +1 -1
- package/dist/zonos-elements/{p-35ccf9d8.system.entry.js → p-d66cbed3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-daf800c5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c710bde9.system.entry.js → p-e176da08.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7838aa96.entry.js → p-e3112267.entry.js} +1 -1
- package/dist/zonos-elements/{p-de020c11.system.entry.js → p-ee1e1d94.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-be468605.system.entry.js → p-f07c01c5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f64e4276.js +1 -0
- package/dist/zonos-elements/{p-43ac026b.entry.js → p-f66fbfe8.entry.js} +1 -1
- package/dist/zonos-elements/{p-77b2acf4.entry.js → p-f8d7bad6.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0719959.system.entry.js → p-ffe4a999.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-c15cb7dd.js +0 -1
- package/dist/zonos-elements/p-1af38265.system.js +0 -1
- package/dist/zonos-elements/p-31a776aa.system.entry.js +0 -1
- package/dist/zonos-elements/p-611842b5.entry.js +0 -1
- package/dist/zonos-elements/p-940e327f.system.entry.js +0 -1
- package/dist/zonos-elements/p-afa5c13c.js +0 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const paypal = require('./paypal-
|
|
8
|
+
const paypal = require('./paypal-7c8a99b0.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
10
10
|
const createCustomEvent = require('./createCustomEvent-3e982e57.js');
|
|
11
11
|
const getBorderRadius = require('./getBorderRadius-f72d8edf.js');
|
|
@@ -1209,11 +1209,26 @@ const ZonosCartSubtotal = class {
|
|
|
1209
1209
|
return (index.h(index.Fragment, null, index.h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, cart.cartStore.selectedShippingOption.displayName), cart.cartStore.selectedShippingOptionTransitTime && (index.h("zonos-text", { class: "zonos--caption", type: "caption" }, cart.cartStore.selectedShippingOptionTransitTime))));
|
|
1210
1210
|
};
|
|
1211
1211
|
const renderLandedCost = () => {
|
|
1212
|
+
var _a;
|
|
1213
|
+
// Domestic US doesn't have duty applied, just taxes and fees
|
|
1214
|
+
if (((_a = cart.stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country) === 'US') {
|
|
1215
|
+
return (index.h(index.Fragment, null, index.h("td", { class: "zonos--column zonos--cart-subtotal-title" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, cart.translate('Taxes and fees'))), index.h("td", { class: "zonos--column zonos--cart-subtotal-price" }, index.h("div", { class: "zonos--cart-duty-tax-price" }, cart.cartStore.dutiesTaxesFees !== null ||
|
|
1216
|
+
cart.cartStore.dutiesTaxesFeesEstimate !== null
|
|
1217
|
+
? renderCheckoutCurrency({
|
|
1218
|
+
amount: cart.cartStore.dutiesTaxesFees ||
|
|
1219
|
+
cart.cartStore.dutiesTaxesFeesEstimate ||
|
|
1220
|
+
0,
|
|
1221
|
+
isForeign: true,
|
|
1222
|
+
})
|
|
1223
|
+
: '-'))));
|
|
1224
|
+
}
|
|
1212
1225
|
if (cart.cartStore.landedCostMethod === 'DAP') {
|
|
1213
1226
|
return (index.h(index.Fragment, null, index.h("td", { class: "zonos--column zonos--cart-subtotal-title" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, cart.translate('Duties, taxes, and fees')), cart.cartStore.dutiesTaxesFeesEstimate !== null
|
|
1214
|
-
? `${cart.translate('Estimated'
|
|
1215
|
-
amount:
|
|
1216
|
-
|
|
1227
|
+
? `${cart.translate('Estimated [amount]', {
|
|
1228
|
+
amount: renderCheckoutCurrency({
|
|
1229
|
+
amount: cart.cartStore.dutiesTaxesFeesEstimate,
|
|
1230
|
+
isForeign: true,
|
|
1231
|
+
}),
|
|
1217
1232
|
})}`
|
|
1218
1233
|
: '-'), index.h("td", { class: "zonos--column zonos--cart-subtotal-price" }, index.h("div", { class: "zonos--cart-duty-tax-price" }, cart.translate('Due at delivery')))));
|
|
1219
1234
|
}
|
|
@@ -1818,17 +1833,17 @@ const ZonosCheckoutProgressTabs = class {
|
|
|
1818
1833
|
color: labelSelectedColor,
|
|
1819
1834
|
})
|
|
1820
1835
|
: labelSelectedColor;
|
|
1821
|
-
return (index.h(index.Host, { key: '
|
|
1836
|
+
return (index.h(index.Host, { key: '058b0f0300f5c836ae7eda80b41800402f1c35f0', class: "zonos--elements", style: {
|
|
1822
1837
|
'--zonos--color': contrastLabelColor,
|
|
1823
1838
|
'--zonos--progress-percent': this.getTotalSuccessStep(),
|
|
1824
|
-
} }, index.h("div", { key: '
|
|
1839
|
+
} }, index.h("div", { key: '46c1a753f2529d2d1bf2ca6a53c5b7c91c973da1', class: "zonos--tab-wrapper" }, Object.values(cart.cartStore.tabItems).map((tab, index$1) => {
|
|
1825
1840
|
const isSelected = tab.value === selectedStep;
|
|
1826
1841
|
return (index.h("button", { class: classes.classes([
|
|
1827
1842
|
'zonos--tab-item',
|
|
1828
1843
|
tab.value === selectedStep && 'selected',
|
|
1829
1844
|
tab.isDone && 'done',
|
|
1830
1845
|
]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => (cart.cartStore.step = tab.value) }, index.h("div", { class: "zonos--tab-index" }, index.h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index$1 + 1), index.h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), index.h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, cart.translate(tab.label))));
|
|
1831
|
-
})), index.h("div", { key: '
|
|
1846
|
+
})), index.h("div", { key: '1e298a465e94737039c8861285db1c171103f9a3', class: "zonos--tab-progress" }, index.h("div", { key: '849cda2eec874b8e25d9788ceb3e61df8ed420a8', class: "zonos--progress-bar-fill" }))));
|
|
1832
1847
|
}
|
|
1833
1848
|
static get assetsDirs() { return ["assets"]; }
|
|
1834
1849
|
get ele() { return index.getElement(this); }
|
|
@@ -1930,13 +1945,13 @@ const ZonosConfirmDialog = class {
|
|
|
1930
1945
|
const borderStyle = getBorderRadius.getBorderRadius();
|
|
1931
1946
|
// Get theme for the update dialog, inherit from the theme, no from this component theme
|
|
1932
1947
|
const theme = zonosStore.getZonosStoreTheme(zonosStore.zonosStore.appearance.theme);
|
|
1933
|
-
return (index.h(index.Host, { key: '
|
|
1948
|
+
return (index.h(index.Host, { key: '3d4920dacf3c4b1ae796b10a3d68dc875cbe4267', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
|
|
1934
1949
|
'--zonos--border-radius': borderStyle,
|
|
1935
1950
|
'--zonos--dialog-width': `${this.dialogWidth}px`,
|
|
1936
1951
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
1937
|
-
} }, index.h("div", { key: '
|
|
1952
|
+
} }, index.h("div", { key: 'e2b1358dedfb3e5a3dc42099330be1d3bb6845e5', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: 'e0fdc195773d12de322c3edd1487a7b096fd9e78', "aria-hidden": "true", class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: '07997854cef00b029c58734f75c428450042c15c', class: "zonos--confirm-dialog", onBlur: () => {
|
|
1938
1953
|
this.focusDialog();
|
|
1939
|
-
} }, index.h("div", { key: '
|
|
1954
|
+
} }, index.h("div", { key: '5844b414871db63311bff5c76db62f1afba1bb92', class: "wrapper" }, index.h("div", { key: '7a1f69ff157d9c40bbe93c9c80759227862af136', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: 'd3fc11932d0d94b798c7512dd70621fe96a5e8fd', class: "content" }, index.h("div", { key: 'd00c5488036fb8462ec69d4f8001c01de0b96449', class: "title" }, index.h("zonos-text", { key: '8966faf396a003fb8c065f6f46cd984878bc1274', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: '022ae94eb5a02e8fc41c1616294d4e6d5a647358', class: "subtitle" }, index.h("zonos-text", { key: 'e3dbd4b9e7d650ec7b5bca30e33f7e7864d952fb', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: 'dd82a80b61ca3104d336f3204fac71a8ae1d3c54', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '9eed92ab86f1154dac6dfb0aad8a313322b753c9', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || cart.translate('Cancel'))), index.h("zonos-button", { key: '6697bcca1fe4ac376c6a1b8b968d76cd17117242', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
|
|
1940
1955
|
}
|
|
1941
1956
|
static get assetsDirs() { return ["assets"]; }
|
|
1942
1957
|
get el() { return index.getElement(this); }
|
|
@@ -2207,11 +2222,11 @@ const ZonosRestState = class {
|
|
|
2207
2222
|
}
|
|
2208
2223
|
render() {
|
|
2209
2224
|
const imageUrl = this.getImageRestState();
|
|
2210
|
-
return (index.h(index.Host, { key: '
|
|
2225
|
+
return (index.h(index.Host, { key: 'a06221e04e00bf733a37d00fdff2643714208eca', class: classes.classes(['zonos--elements zonos--restState']), style: {
|
|
2211
2226
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
2212
|
-
} }, index.h("div", { key: '
|
|
2227
|
+
} }, index.h("div", { key: 'c889f042cb289876f3e6e002a5527a239ad69791', class: "zonos--restState-image" }, index.h("img", { key: '21b30e32ac86bd0f5e9f9dded3bcd4f3295c9637', alt: this.restStateType, onError: () => {
|
|
2213
2228
|
this.isErrorImageLoad = true;
|
|
2214
|
-
}, src: imageUrl })), index.h("div", { key: '
|
|
2229
|
+
}, src: imageUrl })), index.h("div", { key: 'a28cfe4511fb4aa0f0c79b2e6cfaa78b6cbdb2a8', class: "content" }, index.h("zonos-text", { key: '20aa2a10a7617c96f99a6f653a5c1a8a0de85dbe', class: "title", type: "boldSubheader" }, this.restStateTitle), index.h("zonos-text", { key: '595b823c2e9c3270f510388b4ccbf544581453a9', class: "subtitle" }, this.restStateSubtitle)), index.h("div", { key: '56a2514a6d170849ed87d1ab680e582a0f6e4b24', class: "action" }, index.h("slot", { key: 'b0e8f4dd2ff05929f4ffe7461e5dbe9aa4b5bfc5' }))));
|
|
2215
2230
|
}
|
|
2216
2231
|
static get assetsDirs() { return ["assets"]; }
|
|
2217
2232
|
};
|
|
@@ -2348,8 +2363,11 @@ const ZonosShipping = class {
|
|
|
2348
2363
|
});
|
|
2349
2364
|
};
|
|
2350
2365
|
this.getLandedCostMethodLabelSuffix = (method) => {
|
|
2351
|
-
|
|
2352
|
-
|
|
2366
|
+
var _a;
|
|
2367
|
+
switch (true) {
|
|
2368
|
+
// DAP description for non-US countries only
|
|
2369
|
+
case method === 'DAP' &&
|
|
2370
|
+
((_a = cart.stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country) !== 'US':
|
|
2353
2371
|
return cart.translate(` (Duties due at door)`);
|
|
2354
2372
|
default:
|
|
2355
2373
|
return '';
|
|
@@ -2459,13 +2477,23 @@ const ZonosShipping = class {
|
|
|
2459
2477
|
if (this.showErrorBanner) {
|
|
2460
2478
|
this.showErrorBanner = !this.handleValidate();
|
|
2461
2479
|
}
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2480
|
+
const renderServiceLevels = () => {
|
|
2481
|
+
var _a;
|
|
2482
|
+
// Render all service levels for US since domestic shipping doesn't have DDP/DAP
|
|
2483
|
+
if (((_a = cart.stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country) === 'US') {
|
|
2484
|
+
return (index.h("zonos-shipping-rich-radio", { items: this.serviceLevelsAll, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod }));
|
|
2485
|
+
}
|
|
2486
|
+
return (index.h(index.Fragment, null, index.h("zonos-shipping-rich-radio", { items: defaultShownServiceLevels, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod }), !!defaultShownServiceLevels.length &&
|
|
2487
|
+
!!this.serviceLevelsDAP.length && (index.h("button", { class: classes.classes([
|
|
2488
|
+
'zonos--shipping-options-collapse-trigger',
|
|
2489
|
+
this.collapsedDAPOptions && 'collapsed',
|
|
2490
|
+
]), onClick: () => {
|
|
2491
|
+
this.collapsedDAPOptions = !this.collapsedDAPOptions;
|
|
2492
|
+
} }, index.h("div", { class: "zonos--title-wrapper" }, index.h("zonos-text", { type: "label" }, `${cart.translate(this.collapsedDAPOptions ? 'Show non-prepaid options' : 'Hide non-prepaid options')} `), index.h("zonos-icon", { content: ChevronUpIcon })))), index.h("zonos-collapse", { collapsed: this.collapsedDAPOptions }, index.h("div", { class: "zonos--dap-wrapper" }, index.h("zonos-banner", { bannerTitle: cart.translate('Duties and taxes will be charged upon delivery.'), intent: "warning" }, cart.translate('You may incur additional fees from the shipping carrier by not prepaying.')), index.h("zonos-shipping-rich-radio", { items: this.serviceLevelsDAP, onRadioSelected: e => this.handleRadioSelected(e), selectedItem: this.selectedShippingMethod })))));
|
|
2493
|
+
};
|
|
2494
|
+
return (index.h(index.Host, { class: "zonos--shipping zonos--elements" }, index.h("div", { class: "zonos--group" }, index.h("zonos-text", { class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!this.serviceLevelsAll.length && (index.h("zonos-banner", { class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !this.serviceLevelsAll.length ? (index.h("zonos-banner", { bannerTitle: cart.cartStore.customQuotingError
|
|
2495
|
+
? cart.cartStore.customQuotingError
|
|
2496
|
+
: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), class: "zonos--shipping-method-error", intent: "error" })) : (index.h("div", { class: "zonos--shipping-options-wrapper" }, renderServiceLevels())), index.h("div", { class: "zonos--group-btn" }, index.h("zonos-button", { backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
|
|
2469
2497
|
// use primary type when on mobile mode
|
|
2470
2498
|
variant: this.submitBtnType }, cart.translate('Go to payment'))))));
|
|
2471
2499
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
|
+
const paypal = require('./paypal-7c8a99b0.js');
|
|
8
8
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-4a90f091.js');
|
|
10
10
|
const createCustomEvent = require('./createCustomEvent-3e982e57.js');
|
|
@@ -50,10 +50,10 @@ const ZonosCollapse = class {
|
|
|
50
50
|
// set overflow to hidden to prevent content from showing when collapsed
|
|
51
51
|
this.el.style.overflow = 'hidden';
|
|
52
52
|
}
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: 'f27608bd02d0800dda8273909aa3041311dda3eb', class: 'zonos--elements zonos--collapse', style: {
|
|
54
54
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
55
55
|
height: this.getElementHeight(),
|
|
56
|
-
} }, index.h("div", { key: '
|
|
56
|
+
} }, index.h("div", { key: '7901ab34757169767c99b46523e8cc353874a606' }, index.h("iframe", { key: '1d1e735c535df07e209878f6d66089ab30b943a3', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), index.h("slot", { key: '213bb5f472be8dfcd026207d706f8a0a3227f5cb' }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return index.getElement(this); }
|
|
59
59
|
};
|
|
@@ -22,7 +22,7 @@ const ZonosComponent = class {
|
|
|
22
22
|
return format(this.first, this.middle, this.last);
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return index.h("div", { key: '
|
|
25
|
+
return index.h("div", { key: '564c34a7a93a16b8e619a0e140f8d99fabc91c34' }, "Hello, World! I'm ", this.getText());
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
ZonosComponent.style = ZonosComponentStyle0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
8
8
|
const handleFetch = require('./handleFetch-4a90f091.js');
|
|
9
9
|
require('./isDarkColor-dd6d723b.js');
|
|
@@ -357,7 +357,7 @@ const ZonosController = class {
|
|
|
357
357
|
zonosStore.zonosStore.organizationName = organizationName;
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
|
-
return index.h(index.Host, { key: '
|
|
360
|
+
return index.h(index.Host, { key: '7cdde4733b47d96c6539a6bd9c78f150de8a6eb4', class: "zonos--elements" });
|
|
361
361
|
}
|
|
362
362
|
};
|
|
363
363
|
ZonosController.style = ZonosControllerStyle0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-4a90f091.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
9
|
const isDarkColor = require('./isDarkColor-dd6d723b.js');
|
|
@@ -1837,9 +1837,9 @@ const ZonosCountrySelect = class {
|
|
|
1837
1837
|
? fuseObject.map(country => country.item)
|
|
1838
1838
|
: countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
|
|
1839
1839
|
const isEmpty = !filteredCountries.length;
|
|
1840
|
-
return (index.h(index.Host, { key: '
|
|
1840
|
+
return (index.h(index.Host, { key: '25c360767efe1c48edde5401a6c0929ceb7bd47c', class: "zonos--elements", style: {
|
|
1841
1841
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
1842
|
-
} }, index.h("div", { key: '
|
|
1842
|
+
} }, index.h("div", { key: 'ee63b18e0504ffe1d6a6a50fdfea00e8cf808211', class: "zonos--country-select" }, index.h("zonos-v-stack", { key: '448a30acc483e5b945435a5650c222180a3159d4', class: "zonos--country-select-header", spacing: 8 }, index.h("zonos-select-dialog-header", { key: 'f4ed039f14059db21ad325372f300e742191588c', handleOnClose: () => this.handleOnClose(), label: cart.translate('Select a country') }, index.h("input", { key: '40f772868810c96b27dfa8bab56a01d5c9385599', autocomplete: "off", autofocus: "autofocus", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: cart.translate('Search countries'), value: this.inputValue }))), index.h("div", { key: 'f752f5426257f0538041597e2a76f92c6754835f', class: "zonos--country-select-content" }, isEmpty && (index.h("zonos-text", { key: 'febbe41e09b452430e1a03d33732c9cc3710701b', class: "no-country", textColor: "gray-800" }, cart.translate('No countries found'))), index.h("zonos-virtual-scroll", { key: 'afec99a75a3a0cd3450a539154670508aed8c57e', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index$1 => {
|
|
1843
1843
|
const country = filteredCountries[index$1];
|
|
1844
1844
|
if (!country) {
|
|
1845
1845
|
return null;
|
|
@@ -1862,9 +1862,9 @@ const ZonosCustomMessage = class {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
render() {
|
|
1864
1864
|
const messageWithLinks = formatStringWithLinks.formatStringWithLinks(this.message);
|
|
1865
|
-
return (index.h(index.Host, { key: '
|
|
1865
|
+
return (index.h(index.Host, { key: '9707f415aa509f2a6fbb4f3b190d964d29d6ccd6', class: "zonos--elements", style: {
|
|
1866
1866
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
1867
|
-
} }, this.message && (index.h("zonos-card", { key: '
|
|
1867
|
+
} }, this.message && (index.h("zonos-card", { key: '49b45d654775da75a127775864fdaa4057ad76e0', class: "zonos--custom-message", spacing: "12px" }, index.h("div", { key: 'ab666eccf3651d7172ce6de34e6a8c2024d7eb8d', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '41dae8c063389efa2e319885ef0ee8e03d173d1c', "aria-label": "Custom message icon", content: this.icon }), index.h("zonos-text", { key: 'c9d9463656c010a9b28568ae61cf0cb09dcda38b', innerHTML: messageWithLinks }))))));
|
|
1868
1868
|
}
|
|
1869
1869
|
};
|
|
1870
1870
|
ZonosCustomMessage.style = ZonosCustomMessageStyle0;
|
|
@@ -1897,9 +1897,9 @@ const ZonosHelloDialogFooter = class {
|
|
|
1897
1897
|
const language = (_b = ILanguage.languages.find(x => x.code === cart.localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
1898
1898
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
1899
1899
|
const mainColor = primaryColor && isDarkColor.isDarkColor(primaryColor) ? 'white' : 'black';
|
|
1900
|
-
return (index.h(index.Host, { key: '
|
|
1900
|
+
return (index.h(index.Host, { key: '458b65efb2fc1e6cf5f7c5588601add4af010de6', class: "zonos--elements" }, index.h("div", { key: 'ee8eb8cf4a3e0a5583f5fb15842a86adb443e421', class: "zonos--hello-dialog-footer", style: {
|
|
1901
1901
|
'--zonos--primary-color': primaryColor,
|
|
1902
|
-
} }, index.h("a", { key: '
|
|
1902
|
+
} }, index.h("a", { key: 'fa6ab85dae56620a30275dd25c10011bf129545e', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '413b1d69091e5bf4ba639ea66e4930acc0636074', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), index.h("div", { key: 'be2881c022690d5a6bcb9c38a50287a427f4fc32', class: "zonos--hello-locale-wrapper" }, index.h("zonos-button", { key: '79480397f8c59a435b1f9a4604441500991741a3', buttonColor: mainColor, icon: index.h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), index.h("zonos-button", { key: 'c23ae8fa589d754ca93680006d6a45af2b440db6', buttonColor: mainColor, icon: index.h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: cart.localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, cart.localizationStore.selectedCountryCode)))));
|
|
1903
1903
|
}
|
|
1904
1904
|
get ele() { return index.getElement(this); }
|
|
1905
1905
|
};
|
|
@@ -1961,12 +1961,12 @@ const ZonosVirtualScroll = class {
|
|
|
1961
1961
|
} }, this.renderItem(i)));
|
|
1962
1962
|
accHeight += itemHeight;
|
|
1963
1963
|
}
|
|
1964
|
-
return (index.h(index.Host, { key: '
|
|
1964
|
+
return (index.h(index.Host, { key: 'c09f341c0436d53ad245f0dc4ed54d5ead9a0e39' }, index.h("div", { key: 'e7f9cbb0dd33d0fab1bffd01672e9f5a3bc11f04',
|
|
1965
1965
|
// to capture scroll action
|
|
1966
1966
|
class: "scroller", style: {
|
|
1967
1967
|
height: `${this.totalHeight}px`,
|
|
1968
1968
|
width: `${W}px`,
|
|
1969
|
-
} }), index.h("div", { key: '
|
|
1969
|
+
} }), index.h("div", { key: '93071acbc731dda4e9a1f453aa76526cd1639191',
|
|
1970
1970
|
// to display items
|
|
1971
1971
|
class: "item-container", ref: el => (this.container = el), style: {
|
|
1972
1972
|
height: `${this.totalHeight}px`,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
@@ -272,18 +272,18 @@ const ZonosHelloDialog = class {
|
|
|
272
272
|
const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
|
|
273
273
|
const currentPage = this.getCurrentPageEnum();
|
|
274
274
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
275
|
-
return (index.h(index.Host, { key: '
|
|
275
|
+
return (index.h(index.Host, { key: '25f0055cadd0b38a8374cdb0c981124d569ae9df', class: "zonos--elements" }, index.h("div", { key: '7c04c71c7926d0bc64499f9c124464087d19570d', class: classes.classes([
|
|
276
276
|
'zonos--hello-dialog',
|
|
277
277
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
278
278
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
279
279
|
!!this.mobileLocationOverride &&
|
|
280
280
|
'zonos--hello-dialog-mobile-override',
|
|
281
281
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
282
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '
|
|
282
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: 'b4ad9c5eb5893ecd553b1bed056810bd8d69c3ca' }, index.h("div", { key: 'bd442c14e751180b3dded8d415662eb456b5b5fd', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: '2d0f6d48e91c1897ca6ab442e8bff7efefd76920', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { key: 'eb19103741ccbced87f11d800a8c9439f692fcfd', spacing: 24 }, index.h("zonos-country-flag", { key: '50f7375b30576d69bb751de6b6ba6565f34e83aa', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: '4e5eb35029bbafa1343d4b7b911dadfa77074be0', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: 'fc62525f1442ddb2ad98b8b4f5a4e874586ffa55', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: 'b85a16aacba64bdc477102d87e76071312395128', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: '9cff07928aeadaccdb5d9c906125f603281d3bb1', spacing: 8 }, this.restrictedItems.map(item => {
|
|
283
283
|
var _a;
|
|
284
284
|
return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
285
|
-
}), index.h("zonos-card", { key: '
|
|
286
|
-
additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), index.h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '
|
|
285
|
+
}), index.h("zonos-card", { key: 'e3a98411ec2be35dfbe3e9a2a5945851697da7ad', spacing: "12px" }, index.h("zonos-v-stack", { key: '09cd2bbbb94e819a272f3ef415bb9ace37111f04', spacing: 12 }, hasInclusivePrices ? (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: InclusivePricingIcon }), index.h("zonos-text", null, inclusivePriceMessage))) : (index.h(index.Fragment, null, index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", null, dutyDeMinimisMessage)), index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", null, taxDeMinimisMessage)))), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
286
|
+
additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country", content: BagIcon }), index.h("zonos-text", { innerHTML: info })))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '443975bc6a4355f49cde5513aa494f700e1eee98', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: 'a55ed373839ed80b449b9f6271ea19cf15124843' }, index.h("zonos-country-select", { key: 'e8fa0c5c6f36ebe67b84f692ad10a9a84305eba5', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '7bd9d8836c876049d190aaa1bbf3ddea04139090' }, index.h("zonos-language-select", { key: '15002ebf92828cd52881f30ddb639f704d074462', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
287
287
|
}
|
|
288
288
|
static get assetsDirs() { return ["assets"]; }
|
|
289
289
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-0070bff2.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const handleFetch = require('./handleFetch-4a90f091.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
@@ -27,17 +27,17 @@ const ZonosInput = class {
|
|
|
27
27
|
this.inputChange.emit(newValue);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '87c0f3819db82f5b731ec02f1dda30888131989a', class: classes.classes([
|
|
31
31
|
'zonos--input zonos--elements',
|
|
32
32
|
this.inputSize,
|
|
33
33
|
this.isError && 'has-error',
|
|
34
34
|
]), style: {
|
|
35
35
|
'--zonos--border-radius': getBorderRadius.getBorderRadius(),
|
|
36
36
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
37
|
-
} }, index.h("div", { key: '
|
|
37
|
+
} }, index.h("div", { key: '0eb35699b27eb262797a599441877b5600d989f0', class: classes.classes([
|
|
38
38
|
'zonos--label-wrapper',
|
|
39
39
|
this.isDisabled && 'disabled',
|
|
40
|
-
]) }, index.h("input", { key: '
|
|
40
|
+
]) }, index.h("input", { key: '75973f2c81e28a0007b047375ead0c5e6f055a14', class: classes.classes([
|
|
41
41
|
'zonos--floated-input',
|
|
42
42
|
!!this.inputLabel && 'has-label',
|
|
43
43
|
this.inputValue && 'has-content',
|
|
@@ -45,7 +45,7 @@ const ZonosInput = class {
|
|
|
45
45
|
]), disabled: this.isDisabled, onInput: e => {
|
|
46
46
|
const input = e.target;
|
|
47
47
|
this.inputChange.emit(input.value);
|
|
48
|
-
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), index.h("label", { key: '
|
|
48
|
+
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), index.h("label", { key: '23ee9731bfef0417522714dc48a97949eecad145', class: "zonos--floated-label", "data-label": this.inputLabel }))));
|
|
49
49
|
}
|
|
50
50
|
get el() { return index.getElement(this); }
|
|
51
51
|
static get watchers() { return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d56e0a8b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-0070bff2.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./handleFetch-4a90f091.js');
|
|
@@ -31,9 +31,9 @@ const ZonosLanguageSelect = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const { selectedLocale } = cart.localizationStore;
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: 'cc711dba7371852eab6e20994389ae3b95bb3be7', class: "zonos--elements", style: {
|
|
35
35
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
36
|
-
} }, index.h("div", { key: '
|
|
36
|
+
} }, index.h("div", { key: '47135e2b7363a3179139a7b8e23cb22435ce3299', class: "zonos--language-select" }, index.h("zonos-select-dialog-header", { key: '3bf830e585fa6478f560c57dfa978721af47ad19', handleOnClose: () => this.handleOnClose(), label: cart.translate('Select a language') }), index.h("div", { key: 'f693b231755087ec849f5a759b2dc43e2695b24f', class: "zonos--language-select-content" }, ILanguage.languages.map(language => (index.h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, index.h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (index.h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
|
|
@@ -50,9 +50,9 @@ const ZonosSelectDialogHeader = class {
|
|
|
50
50
|
this.label = '';
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '15035421483b079dde47eeb3ddcb4dcc6edffae4', class: "zonos--elements", style: {
|
|
54
54
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
55
|
-
} }, index.h("zonos-v-stack", { key: '
|
|
55
|
+
} }, index.h("zonos-v-stack", { key: 'bf1bbdb1bb8a62841616893d8e9005002772adc4', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, index.h("div", { key: 'a2593795816ceb851489c386231a1b90e6dd6261', class: "zonos--select-dialog-header" }, index.h("zonos-text", { key: 'e91d4a54ac0deb073c30272c5e9626168fea52b7', type: "boldLabel" }, this.label), index.h("zonos-button", { key: 'e8fdf75686b33e9958f64925ddf95fb5c89d74bb', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), index.h("slot", { key: 'ede6d09a4f6900419bf16df0ca8a2b79882bf266' }))));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
|
|
@@ -16,7 +16,7 @@ const ZonosLink = class {
|
|
|
16
16
|
this.linkTitle = undefined;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '41f0a757a334338631250764599ac99e28c41ed2', class: "zonos--elements" }, index.h("a", { key: 'b6e84f40141e8de85d005c05426f885f242ffc53', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: 'dd5ed33f163d7958fb7806992e003d2279ee1f5b' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
ZonosLink.style = ZonosLinkStyle0;
|
|
@@ -19,11 +19,11 @@ const ZonosLogo = class {
|
|
|
19
19
|
const filterColor = this.theme === 'DARK'
|
|
20
20
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
21
21
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
22
|
+
return (index.h(index.Host, { key: '00a2d8c27b70f329813b6a3c1547c82b2e7cf725', class: classes.classes(['zonos--elements zonos--logo']), style: {
|
|
23
23
|
'--zonos--filter-color': filterColor,
|
|
24
24
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
25
25
|
'--zonos--width': this.width,
|
|
26
|
-
} }, index.h("img", { key: '
|
|
26
|
+
} }, index.h("img", { key: 'e994199d3178a1198a1f0a1b132fae75bef47ce7', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
|
|
27
27
|
}
|
|
28
28
|
static get assetsDirs() { return ["assets"]; }
|
|
29
29
|
};
|
|
@@ -6,9 +6,9 @@ const index = require('./index-d56e0a8b.js');
|
|
|
6
6
|
const zonosStore = require('./zonosStore-293bb3ba.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-f72d8edf.js');
|
|
9
|
-
const cart = require('./cart-
|
|
9
|
+
const cart = require('./cart-0070bff2.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-4a90f091.js');
|
|
11
|
-
const paypal = require('./paypal-
|
|
11
|
+
const paypal = require('./paypal-7c8a99b0.js');
|
|
12
12
|
require('./isDarkColor-dd6d723b.js');
|
|
13
13
|
|
|
14
14
|
const zonosNotificationCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
|
|
@@ -111,7 +111,7 @@ const ZonosPayment = class {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
114
|
-
return (index.h(index.Host, { key: '
|
|
114
|
+
return (index.h(index.Host, { key: 'ee5ea97f737cce6dd2ad3d90797545e38a979820', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: '5473d3bce1d842cba3a3e2c156fc31a70ee6b7f6', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '087268368f53116ce125b337eb2f99bf4cc7fa94', class: "zonos--payment-component" }), index.h("div", { key: '5987aa638084ac3635c522d3067b451b8a96a6e7', class: "zonos--payment-paypal-container" })));
|
|
115
115
|
}
|
|
116
116
|
get el() { return index.getElement(this); }
|
|
117
117
|
static get watchers() { return {
|
|
@@ -165,7 +165,7 @@ const ZonosPaypalPayment = class {
|
|
|
165
165
|
void this.loadPaypal();
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (index.h(index.Host, { key: '
|
|
168
|
+
return (index.h(index.Host, { key: '00f9e39b2a69f5da6799301b76571fe31ad2b3db', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: '4977e93ec49ab8deca29c69072ea5fa0fc1c145b', class: "zonos--payment-paypal-container" })));
|
|
169
169
|
}
|
|
170
170
|
get el() { return index.getElement(this); }
|
|
171
171
|
};
|
|
@@ -17,9 +17,9 @@ const ZonosToggle = class {
|
|
|
17
17
|
this.value = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '318787cdd63c418c3ff8c3090a56485c7746a225', class: classes.classes(['zonos--elements zonos--toggle']), style: {
|
|
21
21
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
22
|
-
} }, index.h("div", { key: '
|
|
22
|
+
} }, index.h("div", { key: 'f91f378b5f3b0114ccec5972fb93fd17093bb016', class: "wrapper" }, this.options.map(option => {
|
|
23
23
|
const selected = option.value === this.value;
|
|
24
24
|
return (index.h("button", { class: classes.classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
|
|
25
25
|
this.toggleChanged.emit(option.value);
|
|
@@ -16,10 +16,10 @@ const ZonosTooltip = class {
|
|
|
16
16
|
this.showTooltip = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: '7ddbd67ee8737db3bb449e4b0e3bb7aa201750e8', class: "zonos--elements" }, index.h("div", { key: 'd1389e596398fef4610e2682a06f9025bb3cb755', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, index.h("slot", { key: '33cb09297417473b1c609258007dcdb600aba5ab' }), index.h("div", { key: 'dd02d87b040708d7998a3a5ca7be217c37a35625', class: classes.classes([
|
|
20
20
|
this.showTooltip && 'zonos--show-tooltip',
|
|
21
21
|
'zonos--tooltip-content',
|
|
22
|
-
]) }, index.h("zonos-text", { key: '
|
|
22
|
+
]) }, index.h("zonos-text", { key: '8252086536ddf4e91547c5c9c26042bfe5e2d7b2', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), index.h("zonos-text", { key: 'b795a982ba2ea7f0388aa578168021cf32ef5f95', size: "xs", textColor: "gray-0" }, this.subtitle)))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
ZonosTooltip.style = ZonosTooltipStyle0;
|
|
@@ -15,9 +15,9 @@ const VStack = class {
|
|
|
15
15
|
this.spacing = 24;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(index.Host, { key: '
|
|
18
|
+
return (index.h(index.Host, { key: '4d2a0ea6c3c427e04bb9bca7ac0d035bd2c7143e', style: {
|
|
19
19
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
20
|
-
} }, index.h("div", { key: '
|
|
20
|
+
} }, index.h("div", { key: '6ea72ff37210b0d719fd15506bd78810658d59ac', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'fa0abf999f3737852cb181b7678a89ce6b52a471' }))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
VStack.style = ZonosVStackStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, h, Host } from "@stencil/core";
|
|
2
2
|
import { cartStore, cartStoreHasOneEligibleItem, } from "../../../store/checkout/cart";
|
|
3
|
-
import { stripeStoreApplyPromoCode, stripeStoreRemovePromoCode, } from "../../../store/checkout/stripe";
|
|
3
|
+
import { stripeStore, stripeStoreApplyPromoCode, stripeStoreRemovePromoCode, } from "../../../store/checkout/stripe";
|
|
4
4
|
import { translate } from "../../../store/translationStore";
|
|
5
5
|
import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
|
|
6
6
|
export class ZonosCartSubtotal {
|
|
@@ -45,11 +45,26 @@ export class ZonosCartSubtotal {
|
|
|
45
45
|
return (h(Fragment, null, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, cartStore.selectedShippingOption.displayName), cartStore.selectedShippingOptionTransitTime && (h("zonos-text", { class: "zonos--caption", type: "caption" }, cartStore.selectedShippingOptionTransitTime))));
|
|
46
46
|
};
|
|
47
47
|
const renderLandedCost = () => {
|
|
48
|
+
var _a;
|
|
49
|
+
// Domestic US doesn't have duty applied, just taxes and fees
|
|
50
|
+
if (((_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country) === 'US') {
|
|
51
|
+
return (h(Fragment, null, h("td", { class: "zonos--column zonos--cart-subtotal-title" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, translate('Taxes and fees'))), h("td", { class: "zonos--column zonos--cart-subtotal-price" }, h("div", { class: "zonos--cart-duty-tax-price" }, cartStore.dutiesTaxesFees !== null ||
|
|
52
|
+
cartStore.dutiesTaxesFeesEstimate !== null
|
|
53
|
+
? renderCheckoutCurrency({
|
|
54
|
+
amount: cartStore.dutiesTaxesFees ||
|
|
55
|
+
cartStore.dutiesTaxesFeesEstimate ||
|
|
56
|
+
0,
|
|
57
|
+
isForeign: true,
|
|
58
|
+
})
|
|
59
|
+
: '-'))));
|
|
60
|
+
}
|
|
48
61
|
if (cartStore.landedCostMethod === 'DAP') {
|
|
49
62
|
return (h(Fragment, null, h("td", { class: "zonos--column zonos--cart-subtotal-title" }, h("zonos-text", { class: "zonos--title", type: "semiBoldLabel" }, translate('Duties, taxes, and fees')), cartStore.dutiesTaxesFeesEstimate !== null
|
|
50
|
-
? `${translate('Estimated'
|
|
51
|
-
amount:
|
|
52
|
-
|
|
63
|
+
? `${translate('Estimated [amount]', {
|
|
64
|
+
amount: renderCheckoutCurrency({
|
|
65
|
+
amount: cartStore.dutiesTaxesFeesEstimate,
|
|
66
|
+
isForeign: true,
|
|
67
|
+
}),
|
|
53
68
|
})}`
|
|
54
69
|
: '-'), h("td", { class: "zonos--column zonos--cart-subtotal-price" }, h("div", { class: "zonos--cart-duty-tax-price" }, translate('Due at delivery')))));
|
|
55
70
|
}
|