@zonos/elements 1.3.81 → 1.3.83
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-97e693e4.js → cart-4de3faca.js} +798 -74
- package/dist/cjs/{createCustomEvent-777b3fa7.js → createCustomEvent-65331eae.js} +1 -3
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-16029169.js → paypal-370b3a10.js} +1 -1
- package/dist/cjs/{zonos-address_8.cjs.entry.js → zonos-address_7.cjs.entry.js} +9 -64
- package/dist/cjs/zonos-badge.cjs.entry.js +44 -0
- 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-badge_13.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +135 -80
- package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
- package/dist/cjs/zonos-collapse.cjs.entry.js +62 -0
- 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-elements.cjs.js +1 -1
- 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-shipping-rich-radio.cjs.entry.js +1 -11
- 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-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +10 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +89 -6
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/assets/ChevronUpIcon.svg +23 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +55 -9
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +52 -12
- package/dist/collection/components/common/zonos-badge/assets/RemoveLineIcon.svg +3 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.css +3 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +43 -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 +8 -7
- 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-shipping-rich-radio/zonos-shipping-rich-radio.js +20 -27
- 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 +45 -11
- package/dist/collection/components/store/checkout/stripe.js +119 -65
- package/dist/collection/components/store/translationStore/strings.arabic.js +30 -0
- package/dist/collection/components/store/translationStore/strings.base.js +30 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +30 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +30 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +30 -0
- package/dist/collection/components/store/translationStore/strings.french.js +30 -0
- package/dist/collection/components/store/translationStore/strings.german.js +30 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +30 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +30 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +30 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +30 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +30 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +30 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +30 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +30 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +30 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +30 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +30 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +30 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +30 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +22 -0
- package/dist/collection/components/utils/api/trackConversionEvent.js +0 -2
- package/dist/collection/components/utils/api/triggerBuildLandedCost.js +1 -0
- package/dist/collection/components/utils/checkout/{sortServiceLevelOptions.js → sortServiceLevelOptionsByAmount.js} +1 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +1 -1
- package/dist/esm/{cart-9bf6dece.js → cart-bdc45f59.js} +795 -75
- package/dist/esm/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -3
- package/dist/esm/index.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
- package/dist/esm/{zonos-address_8.entry.js → zonos-address_7.entry.js} +10 -64
- package/dist/esm/zonos-badge.entry.js +40 -0
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card.entry.js +4 -4
- package/dist/esm/{zonos-badge_13.entry.js → zonos-cart-items_12.entry.js} +137 -81
- package/dist/esm/zonos-checkout.entry.js +5 -5
- package/dist/esm/zonos-collapse.entry.js +58 -0
- 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-elements.js +1 -1
- 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-shipping-rich-radio.entry.js +1 -11
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-bdc45f59.js +1 -0
- package/dist/esm-es5/{createCustomEvent-a18e45a2.js → createCustomEvent-4db13122.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-edab4cee.js → paypal-1b29d424.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -0
- package/dist/esm-es5/zonos-badge.entry.js +1 -0
- 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_12.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -0
- 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-elements.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-shipping-rich-radio.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 +542 -494
- 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/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +12 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -1
- package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +9 -0
- package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -6
- package/dist/types/components/store/checkout/cart.d.ts +16 -7
- package/dist/types/components/store/checkout/stripe.d.ts +12 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +30 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +1 -0
- package/dist/types/components/utils/checkout/sortServiceLevelOptionsByAmount.d.ts +6 -0
- package/dist/types/components.d.ts +44 -8
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +2 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +12 -0
- package/dist/types/types/generated/graphql.internal.types.ts +9 -0
- package/dist/zonos-elements/assets/ChevronUpIcon.svg +23 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-8cbbdd53.system.entry.js → p-00bb8221.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e468f85e.entry.js → p-017bf338.entry.js} +1 -1
- package/dist/zonos-elements/{p-1b8c8e0c.system.entry.js → p-01d11845.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0cc8c6a3.system.js +1 -0
- package/dist/zonos-elements/p-1a92ff9a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-92ba4082.system.entry.js → p-2140ccb4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8dae668f.system.entry.js → p-2183128a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1e4f7997.system.entry.js → p-22e81fee.system.entry.js} +1 -1
- package/dist/zonos-elements/p-278d61ed.js +1 -0
- package/dist/zonos-elements/p-2b60faf8.entry.js +1 -0
- package/dist/zonos-elements/p-2d2ff962.entry.js +1 -0
- package/dist/zonos-elements/{p-bc4a147d.entry.js → p-3347e142.entry.js} +1 -1
- package/dist/zonos-elements/{p-811ed9bf.system.entry.js → p-3457c5e8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2a47d2cc.system.entry.js → p-38886017.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-41f42a5c.entry.js → p-42636c5a.entry.js} +1 -1
- package/dist/zonos-elements/p-4abca0e9.system.entry.js +1 -0
- package/dist/zonos-elements/{p-e3cb74fd.system.js → p-4ec7afc5.system.js} +1 -1
- package/dist/zonos-elements/{p-25633055.entry.js → p-58832515.entry.js} +1 -1
- package/dist/zonos-elements/{p-19fc5e11.system.entry.js → p-5d186fc7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a2fedd1c.entry.js → p-5fb337a0.entry.js} +1 -1
- package/dist/zonos-elements/{p-f3fc05a8.entry.js → p-6a5d714a.entry.js} +1 -1
- package/dist/zonos-elements/{p-fca6f444.entry.js → p-6a83b682.entry.js} +1 -1
- package/dist/zonos-elements/{p-97f0d9d2.entry.js → p-6aa35f18.entry.js} +1 -1
- package/dist/zonos-elements/{p-a3200d5c.entry.js → p-771e2623.entry.js} +1 -1
- package/dist/zonos-elements/{p-7ca0622f.js → p-7cc5e325.js} +1 -1
- package/dist/zonos-elements/p-7f3aeb53.system.entry.js +1 -0
- package/dist/zonos-elements/p-844ec9f9.system.entry.js +1 -0
- package/dist/zonos-elements/p-9931bea7.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7be7bd28.entry.js → p-997c8f07.entry.js} +1 -1
- package/dist/zonos-elements/{p-fac38f60.entry.js → p-9b911f6f.entry.js} +1 -1
- package/dist/zonos-elements/{p-95f0ffd1.system.entry.js → p-9cfa3736.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-49478dba.system.js → p-a1fa0a1c.system.js} +1 -1
- package/dist/zonos-elements/{p-df4deb97.entry.js → p-a34f0674.entry.js} +1 -1
- package/dist/zonos-elements/{p-d26d827d.system.js → p-a6cff57f.system.js} +1 -1
- package/dist/zonos-elements/{p-a3e2592b.system.entry.js → p-ae7526a2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6de38759.entry.js → p-afad2fae.entry.js} +1 -1
- package/dist/zonos-elements/{p-264fbd27.entry.js → p-b0303b0e.entry.js} +1 -1
- package/dist/zonos-elements/{p-a033685e.system.entry.js → p-c2b7b670.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d775bd42.entry.js → p-c6350880.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/p-ce41cbde.js +1 -0
- package/dist/zonos-elements/p-cec3e1ed.entry.js +1 -0
- package/dist/zonos-elements/{p-ba05f1d6.system.entry.js → p-d621f462.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f7b5ae86.system.entry.js → p-e3df5ff6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f4765417.entry.js → p-e93b511f.entry.js} +1 -1
- package/dist/zonos-elements/{p-747eed39.entry.js → p-ea68ee1f.entry.js} +1 -1
- package/dist/zonos-elements/{p-51f8c3d5.system.entry.js → p-f1d043ad.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f1e452e1.entry.js +1 -0
- package/dist/zonos-elements/{p-de93cc65.system.entry.js → p-f68c38d8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d56f87ab.system.entry.js → p-f7bbdd0c.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-9bf6dece.js +0 -1
- package/dist/esm-es5/zonos-address_8.entry.js +0 -1
- package/dist/esm-es5/zonos-badge_13.entry.js +0 -1
- package/dist/types/components/utils/checkout/sortServiceLevelOptions.d.ts +0 -5
- package/dist/zonos-elements/p-214724f8.system.entry.js +0 -1
- package/dist/zonos-elements/p-23358611.js +0 -1
- package/dist/zonos-elements/p-62044821.system.js +0 -1
- package/dist/zonos-elements/p-6b4fec5a.js +0 -1
- package/dist/zonos-elements/p-6f821997.entry.js +0 -1
- package/dist/zonos-elements/p-a1c5c1a2.entry.js +0 -1
- package/dist/zonos-elements/p-d08ed3ea.system.entry.js +0 -1
- package/dist/zonos-elements/p-f4667002.system.entry.js +0 -1
|
@@ -8,6 +8,9 @@ export const stringsSwedish = {
|
|
|
8
8
|
'Above de minimis threshold for': {
|
|
9
9
|
value: 'Över minimibeloppet för',
|
|
10
10
|
},
|
|
11
|
+
'Add promotional code': {
|
|
12
|
+
value: 'Lägg till kampanjkod',
|
|
13
|
+
},
|
|
11
14
|
Address: {
|
|
12
15
|
value: 'Adress',
|
|
13
16
|
},
|
|
@@ -20,6 +23,9 @@ export const stringsSwedish = {
|
|
|
20
23
|
'An unexpected error occurred when processing PayPal order.': {
|
|
21
24
|
value: 'Ett oväntat fel inträffade vid bearbetning av PayPal-beställningen.',
|
|
22
25
|
},
|
|
26
|
+
Apply: {
|
|
27
|
+
value: 'Tillämpa',
|
|
28
|
+
},
|
|
23
29
|
'Are you sure?': {
|
|
24
30
|
value: 'Är du säker?',
|
|
25
31
|
},
|
|
@@ -80,12 +86,18 @@ export const stringsSwedish = {
|
|
|
80
86
|
"Don't close": {
|
|
81
87
|
value: 'Stäng inte',
|
|
82
88
|
},
|
|
89
|
+
'Due at delivery': {
|
|
90
|
+
value: 'Betalas vid leverans',
|
|
91
|
+
},
|
|
83
92
|
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
84
93
|
value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar.',
|
|
85
94
|
},
|
|
86
95
|
'Duties and taxes will be applied to items and shipping.': {
|
|
87
96
|
value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
|
|
88
97
|
},
|
|
98
|
+
'Duties and taxes will be charged upon delivery.': {
|
|
99
|
+
value: 'Tullar och skatter debiteras vid leverans.',
|
|
100
|
+
},
|
|
89
101
|
'Duties will apply to all orders.': {
|
|
90
102
|
value: 'Tullar kommer att gälla för alla beställningar.',
|
|
91
103
|
},
|
|
@@ -101,6 +113,9 @@ export const stringsSwedish = {
|
|
|
101
113
|
'Error updating Checkout': {
|
|
102
114
|
value: 'Fel vid uppdatering av utcheckning',
|
|
103
115
|
},
|
|
116
|
+
Estimated: {
|
|
117
|
+
value: 'Uppskattad',
|
|
118
|
+
},
|
|
104
119
|
'Expected delivery': {
|
|
105
120
|
value: 'Beräknad leverans',
|
|
106
121
|
},
|
|
@@ -122,6 +137,12 @@ export const stringsSwedish = {
|
|
|
122
137
|
Hide: {
|
|
123
138
|
value: 'Dölj',
|
|
124
139
|
},
|
|
140
|
+
'Hide non prepaid methods': {
|
|
141
|
+
value: 'Dölj icke-förbetalda metoder',
|
|
142
|
+
},
|
|
143
|
+
'Invalid promo code': {
|
|
144
|
+
value: 'Ogiltig kampanjkod',
|
|
145
|
+
},
|
|
125
146
|
'Keep shopping': {
|
|
126
147
|
value: 'Fortsätt handla',
|
|
127
148
|
},
|
|
@@ -152,6 +173,9 @@ export const stringsSwedish = {
|
|
|
152
173
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
153
174
|
value: 'Inga leveransmetoder hittades - försök redigera din adress eller kontakta supporten om felet kvarstår',
|
|
154
175
|
},
|
|
176
|
+
'Nothing due at delivery': {
|
|
177
|
+
value: 'Ingenting att betala vid leverans',
|
|
178
|
+
},
|
|
155
179
|
'Nothing due at the door': {
|
|
156
180
|
value: 'Ingenting att betala vid dörren',
|
|
157
181
|
},
|
|
@@ -260,6 +284,9 @@ export const stringsSwedish = {
|
|
|
260
284
|
Show: {
|
|
261
285
|
value: 'Visa',
|
|
262
286
|
},
|
|
287
|
+
'Show non prepaid methods': {
|
|
288
|
+
value: 'Visa icke förbetalda metoder',
|
|
289
|
+
},
|
|
263
290
|
'Something went wrong.': {
|
|
264
291
|
value: 'Något gick fel.',
|
|
265
292
|
},
|
|
@@ -332,6 +359,9 @@ export const stringsSwedish = {
|
|
|
332
359
|
'Would you like to close checkout and return to the site?': {
|
|
333
360
|
value: 'Vill du stänga kassan och återvända till webbplatsen?',
|
|
334
361
|
},
|
|
362
|
+
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
363
|
+
value: 'Du kan få extra avgifter från fraktbolaget om du inte förbetalar.',
|
|
364
|
+
},
|
|
335
365
|
"You're all set!": {
|
|
336
366
|
value: 'Du är klar!',
|
|
337
367
|
},
|
|
@@ -8,6 +8,9 @@ export const stringsTurkish = {
|
|
|
8
8
|
'Above de minimis threshold for': {
|
|
9
9
|
value: 'Minimum sınırın üzerinde',
|
|
10
10
|
},
|
|
11
|
+
'Add promotional code': {
|
|
12
|
+
value: 'Promosyon kodu ekle',
|
|
13
|
+
},
|
|
11
14
|
Address: {
|
|
12
15
|
value: 'Adres',
|
|
13
16
|
},
|
|
@@ -20,6 +23,9 @@ export const stringsTurkish = {
|
|
|
20
23
|
'An unexpected error occurred when processing PayPal order.': {
|
|
21
24
|
value: 'PayPal siparişi işlenirken beklenmedik bir hata oluştu.',
|
|
22
25
|
},
|
|
26
|
+
Apply: {
|
|
27
|
+
value: 'Uygula',
|
|
28
|
+
},
|
|
23
29
|
'Are you sure?': {
|
|
24
30
|
value: 'Emin misiniz?',
|
|
25
31
|
},
|
|
@@ -80,12 +86,18 @@ export const stringsTurkish = {
|
|
|
80
86
|
"Don't close": {
|
|
81
87
|
value: 'Kapatma',
|
|
82
88
|
},
|
|
89
|
+
'Due at delivery': {
|
|
90
|
+
value: 'Teslimatta ödenecek',
|
|
91
|
+
},
|
|
83
92
|
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
84
93
|
value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde ödenir.",
|
|
85
94
|
},
|
|
86
95
|
'Duties and taxes will be applied to items and shipping.': {
|
|
87
96
|
value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
|
|
88
97
|
},
|
|
98
|
+
'Duties and taxes will be charged upon delivery.': {
|
|
99
|
+
value: 'Vergi ve harçlar teslimatta tahsil edilecektir.',
|
|
100
|
+
},
|
|
89
101
|
'Duties will apply to all orders.': {
|
|
90
102
|
value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
|
|
91
103
|
},
|
|
@@ -101,6 +113,9 @@ export const stringsTurkish = {
|
|
|
101
113
|
'Error updating Checkout': {
|
|
102
114
|
value: 'Ödeme güncelleme hatası',
|
|
103
115
|
},
|
|
116
|
+
Estimated: {
|
|
117
|
+
value: 'Tahmini',
|
|
118
|
+
},
|
|
104
119
|
'Expected delivery': {
|
|
105
120
|
value: 'Beklenen teslimat',
|
|
106
121
|
},
|
|
@@ -122,6 +137,12 @@ export const stringsTurkish = {
|
|
|
122
137
|
Hide: {
|
|
123
138
|
value: 'Sakla',
|
|
124
139
|
},
|
|
140
|
+
'Hide non prepaid methods': {
|
|
141
|
+
value: 'Ön ödemesiz yöntemleri gizle',
|
|
142
|
+
},
|
|
143
|
+
'Invalid promo code': {
|
|
144
|
+
value: 'Geçersiz promosyon kodu',
|
|
145
|
+
},
|
|
125
146
|
'Keep shopping': {
|
|
126
147
|
value: 'Alışverişe devam et',
|
|
127
148
|
},
|
|
@@ -152,6 +173,9 @@ export const stringsTurkish = {
|
|
|
152
173
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
153
174
|
value: 'Hiçbir gönderi yöntemi bulunamadı - eğer hata devam ediyorsa adresinizi düzenlemeyi deneyin veya destekle iletişime geçin',
|
|
154
175
|
},
|
|
176
|
+
'Nothing due at delivery': {
|
|
177
|
+
value: 'Teslimatta ödenecek bir şey yok',
|
|
178
|
+
},
|
|
155
179
|
'Nothing due at the door': {
|
|
156
180
|
value: 'Kapıda ödenecek bir şey yok',
|
|
157
181
|
},
|
|
@@ -260,6 +284,9 @@ export const stringsTurkish = {
|
|
|
260
284
|
Show: {
|
|
261
285
|
value: 'Göster',
|
|
262
286
|
},
|
|
287
|
+
'Show non prepaid methods': {
|
|
288
|
+
value: 'Ön ödemesiz yöntemleri göster',
|
|
289
|
+
},
|
|
263
290
|
'Something went wrong.': {
|
|
264
291
|
value: 'Bir şeyler yanlış gitti.',
|
|
265
292
|
},
|
|
@@ -332,6 +359,9 @@ export const stringsTurkish = {
|
|
|
332
359
|
'Would you like to close checkout and return to the site?': {
|
|
333
360
|
value: 'Ödemeyi kapatıp siteye geri dönmek ister misiniz?',
|
|
334
361
|
},
|
|
362
|
+
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
363
|
+
value: 'Ön ödeme yapmazsanız, nakliye şirketinden ek ücretler alabilirsiniz.',
|
|
364
|
+
},
|
|
335
365
|
"You're all set!": {
|
|
336
366
|
value: 'Hazırsınız!',
|
|
337
367
|
},
|
|
@@ -8,6 +8,9 @@ export const stringsVietnamese = {
|
|
|
8
8
|
'Above de minimis threshold for': {
|
|
9
9
|
value: 'Vượt ngưỡng miễn thuế đối với',
|
|
10
10
|
},
|
|
11
|
+
'Add promotional code': {
|
|
12
|
+
value: 'Thêm mã khuyến mãi',
|
|
13
|
+
},
|
|
11
14
|
Address: {
|
|
12
15
|
value: 'Địa chỉ',
|
|
13
16
|
},
|
|
@@ -20,6 +23,9 @@ export const stringsVietnamese = {
|
|
|
20
23
|
'An unexpected error occurred when processing PayPal order.': {
|
|
21
24
|
value: 'Đã xảy ra lỗi bất ngờ khi xử lý đơn hàng PayPal.',
|
|
22
25
|
},
|
|
26
|
+
Apply: {
|
|
27
|
+
value: 'Áp dụng',
|
|
28
|
+
},
|
|
23
29
|
'Are you sure?': {
|
|
24
30
|
value: 'Bạn có chắc không?',
|
|
25
31
|
},
|
|
@@ -80,12 +86,18 @@ export const stringsVietnamese = {
|
|
|
80
86
|
"Don't close": {
|
|
81
87
|
value: 'Đừng đóng',
|
|
82
88
|
},
|
|
89
|
+
'Due at delivery': {
|
|
90
|
+
value: 'Thanh toán khi giao hàng',
|
|
91
|
+
},
|
|
83
92
|
'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
|
|
84
93
|
value: 'Thuế và phí tại Úc, VAT hoặc GST là [percentage] và phải trả cho tất cả các đơn hàng.',
|
|
85
94
|
},
|
|
86
95
|
'Duties and taxes will be applied to items and shipping.': {
|
|
87
96
|
value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
|
|
88
97
|
},
|
|
98
|
+
'Duties and taxes will be charged upon delivery.': {
|
|
99
|
+
value: 'Thuế và phí sẽ được tính khi giao hàng.',
|
|
100
|
+
},
|
|
89
101
|
'Duties will apply to all orders.': {
|
|
90
102
|
value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
|
|
91
103
|
},
|
|
@@ -101,6 +113,9 @@ export const stringsVietnamese = {
|
|
|
101
113
|
'Error updating Checkout': {
|
|
102
114
|
value: 'Lỗi khi cập nhật phiên thanh toán',
|
|
103
115
|
},
|
|
116
|
+
Estimated: {
|
|
117
|
+
value: 'Ước tính',
|
|
118
|
+
},
|
|
104
119
|
'Expected delivery': {
|
|
105
120
|
value: 'Dự kiến giao hàng',
|
|
106
121
|
},
|
|
@@ -122,6 +137,12 @@ export const stringsVietnamese = {
|
|
|
122
137
|
Hide: {
|
|
123
138
|
value: 'Ẩn',
|
|
124
139
|
},
|
|
140
|
+
'Hide non prepaid methods': {
|
|
141
|
+
value: 'Ẩn các phương thức không trả trước',
|
|
142
|
+
},
|
|
143
|
+
'Invalid promo code': {
|
|
144
|
+
value: 'Mã khuyến mãi không hợp lệ',
|
|
145
|
+
},
|
|
125
146
|
'Keep shopping': {
|
|
126
147
|
value: 'Tiếp tục mua sắm',
|
|
127
148
|
},
|
|
@@ -152,6 +173,9 @@ export const stringsVietnamese = {
|
|
|
152
173
|
'No shipping methods found - try editing your address or contacting support if the error persists': {
|
|
153
174
|
value: 'Không tìm thấy phương thức vận chuyển - hãy thử chỉnh sửa địa chỉ của bạn hoặc liên hệ hỗ trợ nếu lỗi vẫn tiếp tục',
|
|
154
175
|
},
|
|
176
|
+
'Nothing due at delivery': {
|
|
177
|
+
value: 'Không có gì phải trả khi giao hàng',
|
|
178
|
+
},
|
|
155
179
|
'Nothing due at the door': {
|
|
156
180
|
value: 'Không có gì phải trả tại cửa',
|
|
157
181
|
},
|
|
@@ -260,6 +284,9 @@ export const stringsVietnamese = {
|
|
|
260
284
|
Show: {
|
|
261
285
|
value: 'Hiển thị',
|
|
262
286
|
},
|
|
287
|
+
'Show non prepaid methods': {
|
|
288
|
+
value: 'Hiển thị các phương thức không trả trước',
|
|
289
|
+
},
|
|
263
290
|
'Something went wrong.': {
|
|
264
291
|
value: 'Đã xảy ra lỗi.',
|
|
265
292
|
},
|
|
@@ -332,6 +359,9 @@ export const stringsVietnamese = {
|
|
|
332
359
|
'Would you like to close checkout and return to the site?': {
|
|
333
360
|
value: 'Bạn có muốn đóng thanh toán và quay lại trang web không?',
|
|
334
361
|
},
|
|
362
|
+
'You may incur additional fees from the shipping carrier by not prepaying.': {
|
|
363
|
+
value: 'Bạn có thể phải chịu thêm phí từ nhà vận chuyển nếu không trả trước.',
|
|
364
|
+
},
|
|
335
365
|
"You're all set!": {
|
|
336
366
|
value: 'Bạn đã sẵn sàng!',
|
|
337
367
|
},
|
|
@@ -135,7 +135,7 @@ export class ZonosAddress {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: 'c8d513bc9890590db622ec8f26d4e9b0694c33e5', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '775b454620360bed4186a23371bc3867a5745155', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4844b5379a33a3668cae0036c1a952cd42229efb', class: "zonos--address-component" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "zonos-address"; }
|
|
141
141
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -42,7 +42,7 @@ export class ZonosLinkAuthentication {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '7c110f013b4e24c92a4194045dc084fb795d0f91', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'dcbbd48a47c696641fbd64cdfff16946824ffc46', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'a77b5cb13e7e15b2a69efaa179abacc52061e9d0', class: "zonos--link-authentication-component" })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "zonos-link-authentication"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -36,7 +36,7 @@ export class ZonosPayment {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'c461a967d00b2d96fa70aaaf1651b435cdcd84bd', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '44da1d89ce19f7174cad1214ab9463f0b1174c0d', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'b9e3491b48d9ede19a5cdef639bd47e6bf0ba742', class: "zonos--payment-component" }), h("div", { key: '578516ce1ca1dc01eebb2268bb5449613e14298f', class: "zonos--payment-paypal-container" })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "zonos-payment"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -74,6 +74,17 @@ export const prepCartCalculateLandedCost = (cartId) => {
|
|
|
74
74
|
lastName: shippingLastName,
|
|
75
75
|
phone: translatedShippingAddress.phone,
|
|
76
76
|
},
|
|
77
|
+
landedCostAdjustments: cartStore.promoCode
|
|
78
|
+
? [
|
|
79
|
+
{
|
|
80
|
+
amount: 0,
|
|
81
|
+
productId: null,
|
|
82
|
+
promoCode: cartStore.promoCode,
|
|
83
|
+
sku: null,
|
|
84
|
+
type: 'PROMO_CODE',
|
|
85
|
+
},
|
|
86
|
+
]
|
|
87
|
+
: [],
|
|
77
88
|
shippingAddress: {
|
|
78
89
|
addressLine1: translatedShippingAddress.line1,
|
|
79
90
|
addressLine2: translatedShippingAddress.line2,
|
|
@@ -133,6 +144,17 @@ export const prepCalculateLandedCost = () => {
|
|
|
133
144
|
phone: translatedShippingAddress.phone,
|
|
134
145
|
},
|
|
135
146
|
items: cartStore.items,
|
|
147
|
+
landedCostAdjustments: cartStore.promoCode
|
|
148
|
+
? [
|
|
149
|
+
{
|
|
150
|
+
amount: 0,
|
|
151
|
+
productId: null,
|
|
152
|
+
promoCode: cartStore.promoCode,
|
|
153
|
+
sku: null,
|
|
154
|
+
type: 'PROMO_CODE',
|
|
155
|
+
},
|
|
156
|
+
]
|
|
157
|
+
: [],
|
|
136
158
|
shippingAddress: {
|
|
137
159
|
addressLine1: translatedShippingAddress.line1,
|
|
138
160
|
addressLine2: translatedShippingAddress.line2,
|
|
@@ -5,8 +5,6 @@ import { handleFetch } from "../handleFetch";
|
|
|
5
5
|
export const trackConversionEvent = async (eventName, metadata) => {
|
|
6
6
|
var _a, _b;
|
|
7
7
|
const isDevelopment = window.location.href.includes('zonos.com') ||
|
|
8
|
-
// legacy mock checkout, no need to track analytics for this
|
|
9
|
-
window.location.href.includes('checkout.iglobalstores.com') ||
|
|
10
8
|
!!((_a = window.Zonos) === null || _a === void 0 ? void 0 : _a.zonosQaUrl) ||
|
|
11
9
|
!!((_b = window.Zonos) === null || _b === void 0 ? void 0 : _b.debug);
|
|
12
10
|
if (isDevelopment &&
|
|
@@ -9,6 +9,7 @@ export const triggerBuildLandedCost = async (buildLandedCost) => {
|
|
|
9
9
|
billingContact: data.billingContact,
|
|
10
10
|
checkoutSessionId: data.checkoutSessionId,
|
|
11
11
|
contact: data.contact,
|
|
12
|
+
landedCostAdjustments: data.landedCostAdjustments,
|
|
12
13
|
shippingAddress: data.shippingAddress,
|
|
13
14
|
zonosApiRoute: fallbackApiList['vercel'],
|
|
14
15
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sorts service levels with lower cost first
|
|
3
3
|
*/
|
|
4
|
-
export const
|
|
4
|
+
export const sortServiceLevelOptionsByAmount = (serviceLevels) => {
|
|
5
5
|
const sortedServiceLevels = serviceLevels.sort((a, b) => {
|
|
6
6
|
return a.amount - b.amount;
|
|
7
7
|
});
|
|
@@ -23,7 +23,7 @@ export const currencyFormat = ({ amount, currency, }) => {
|
|
|
23
23
|
const { targetFormat } = exchangeRate || {};
|
|
24
24
|
if (!targetFormat || !exchangeRate) {
|
|
25
25
|
// Return the amount as a string if no exchange rate is available
|
|
26
|
-
return `${amount.
|
|
26
|
+
return `${amount.toFixed(2)} ${targetCurrency}`;
|
|
27
27
|
}
|
|
28
28
|
const minimumFractionDigits = targetFormat.scale || 2;
|
|
29
29
|
const isIE = window.navigator.userAgent.indexOf('MSIE ') !== -1;
|