@zonos/elements 1.3.272 → 1.3.273
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-f1374a56.js → cart-660e115c.js} +32 -2
- package/dist/cjs/collect-286a9d04.js +3107 -0
- package/dist/cjs/{hasInclusivePrice-2f1232e3.js → hasInclusivePrice-b35e81aa.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-3760bec0.js → invoice-f032089f.js} +2 -2
- package/dist/cjs/isCollectMobileTablet-884d4280.js +15 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-503c8477.js → localization-f4a64f6f.js} +120 -0
- package/dist/cjs/{paypal-5e9b8224.js → paypal-125259ab.js} +2 -2
- package/dist/cjs/{placeTestOrder-d1be2c8e.js → placeTestOrder-02001a99.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-4486b06e.js → renderCheckoutCurrency-cad156a7.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +18 -18
- package/dist/cjs/zonos-address_4.cjs.entry.js +8 -8
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +170 -0
- 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_5.cjs.entry.js +9 -9
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +19 -19
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +150 -36
- package/dist/cjs/zonos-collect.cjs.entry.js +176 -38
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +3 -3
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
- package/dist/cjs/zonos-invoice.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-policy-consent_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.css +43 -0
- package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.js +215 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +110 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +1 -17
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +21 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
- package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +167 -29
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- 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 +3 -3
- 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-h-stack/zonos-h-stack.js +2 -2
- 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-loading-overlay/zonos-loading-overlay.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-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- 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/airwallex.js +195 -0
- package/dist/collection/components/store/checkout/collect.js +4 -1
- package/dist/collection/components/store/checkout/stripe.js +26 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
- package/dist/collection/components/store/translationStore/strings.base.js +6 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
- package/dist/collection/components/store/translationStore/strings.french.js +6 -0
- package/dist/collection/components/store/translationStore/strings.german.js +6 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/types/generated/graphql.internal.types.js +3 -0
- package/dist/esm/{cart-1415dcf0.js → cart-23e29950.js} +32 -2
- package/dist/esm/collect-a235299d.js +3092 -0
- package/dist/esm/{hasInclusivePrice-a3b0f71c.js → hasInclusivePrice-5e106f84.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-117efa2c.js → invoice-78f069c7.js} +2 -2
- package/dist/esm/isCollectMobileTablet-111b0dd7.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-29723d89.js → localization-17546792.js} +120 -0
- package/dist/esm/{paypal-cb5559d4.js → paypal-5bc6b0d0.js} +2 -2
- package/dist/esm/{placeTestOrder-443376eb.js → placeTestOrder-e842854a.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-8390b5bf.js → renderCheckoutCurrency-e3953f67.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +18 -18
- package/dist/esm/zonos-address_4.entry.js +8 -8
- package/dist/esm/zonos-airwallex-payment.entry.js +166 -0
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +9 -9
- package/dist/esm/zonos-cart-items_12.entry.js +19 -19
- package/dist/esm/zonos-checkbox_2.entry.js +5 -5
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +135 -21
- package/dist/esm/zonos-collect.entry.js +171 -33
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +3 -3
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +6 -6
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
- package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
- package/dist/esm/zonos-invoice.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-policy-consent_2.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-23e29950.js +1 -0
- package/dist/esm-es5/collect-a235299d.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-a3b0f71c.js → hasInclusivePrice-5e106f84.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-117efa2c.js → invoice-78f069c7.js} +1 -1
- package/dist/esm-es5/isCollectMobileTablet-111b0dd7.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-17546792.js +1 -0
- package/dist/esm-es5/{paypal-cb5559d4.js → paypal-5bc6b0d0.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-443376eb.js → placeTestOrder-e842854a.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-8390b5bf.js → renderCheckoutCurrency-e3953f67.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -0
- 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_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.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-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.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-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-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.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-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.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 +61 -0
- 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/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.d.ts +46 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +7 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.d.ts +4 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect.d.ts +29 -0
- package/dist/types/components/store/checkout/airwallex.d.ts +83 -0
- package/dist/types/components/store/checkout/collect.d.ts +12 -1
- package/dist/types/components/store/checkout/stripe.d.ts +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
- package/dist/types/components.d.ts +42 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +11 -1
- package/dist/types/types/checkout/api/PartyInfo.d.ts +6 -0
- package/dist/types/types/generated/graphql.internal.types.d.ts +20 -0
- package/dist/types/types/generated/graphql.internal.types.ts +29 -0
- package/dist/types/types/utils/ZonosSettings.d.ts +6 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-013575f2.entry.js +1 -0
- package/dist/zonos-elements/{p-344a1fee.entry.js → p-055ef910.entry.js} +1 -1
- package/dist/zonos-elements/{p-3efe0875.entry.js → p-08b48608.entry.js} +1 -1
- package/dist/zonos-elements/{p-26ae4ee7.system.entry.js → p-0a54dae6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aafc2155.system.entry.js → p-0b59076d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c92a5ae5.system.entry.js → p-10571f94.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-658ab5e2.entry.js → p-12a05647.entry.js} +1 -1
- package/dist/zonos-elements/{p-b453ae2b.system.js → p-14018649.system.js} +2 -2
- package/dist/zonos-elements/{p-d2ba9e3c.system.entry.js → p-1678d8b4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-171d0f9f.system.js +1 -0
- package/dist/zonos-elements/{p-5bd47a30.system.entry.js → p-1a105d6e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1a4083be.system.js +1 -0
- package/dist/zonos-elements/{p-792fce17.system.entry.js → p-1f31f5a0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2197d6ab.js +1 -0
- package/dist/zonos-elements/{p-536cbab5.system.entry.js → p-27e50593.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b4ba025.entry.js → p-2825431d.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-73730eb9.system.entry.js → p-2a1247f4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2adbbce7.system.js +1 -0
- package/dist/zonos-elements/{p-f98cdb98.system.entry.js → p-306e5499.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-831bcfb6.entry.js → p-31577ebd.entry.js} +1 -1
- package/dist/zonos-elements/{p-889a44fc.entry.js → p-328fd90e.entry.js} +1 -1
- package/dist/zonos-elements/p-33910e8b.js +1 -0
- package/dist/zonos-elements/{p-fb684748.system.entry.js → p-36b311f9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b4e5608.system.entry.js → p-3eba657b.system.entry.js} +1 -1
- package/dist/zonos-elements/p-41619f29.js +1 -0
- package/dist/zonos-elements/{p-cdea0f7d.js → p-42948a52.js} +1 -1
- package/dist/zonos-elements/p-46e72a90.entry.js +1 -0
- package/dist/zonos-elements/p-49d8a10f.entry.js +1 -0
- package/dist/zonos-elements/{p-54a9c772.system.entry.js → p-4a960329.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-93324ee5.entry.js → p-4b371b65.entry.js} +1 -1
- package/dist/zonos-elements/p-539bc46c.js +1 -0
- package/dist/zonos-elements/p-579932a7.js +1 -0
- package/dist/zonos-elements/{p-2afecda7.entry.js → p-59b10526.entry.js} +1 -1
- package/dist/zonos-elements/{p-98bea13e.system.entry.js → p-5aa35d1c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd849c69.system.js → p-62c68aee.system.js} +1 -1
- package/dist/zonos-elements/{p-48f3e2d2.system.entry.js → p-6c19310e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-16948eea.system.entry.js → p-732e7373.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e8c4a29.entry.js → p-734d646b.entry.js} +1 -1
- package/dist/zonos-elements/{p-60f0ff42.entry.js → p-7eb47eb0.entry.js} +1 -1
- package/dist/zonos-elements/{p-eb254a96.system.entry.js → p-86a9f048.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8af57c2a.js +1 -0
- package/dist/zonos-elements/{p-18c9565b.system.entry.js → p-8c4761d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c45df586.system.entry.js → p-8e77a3cd.system.entry.js} +1 -1
- package/dist/zonos-elements/p-919c5500.entry.js +1 -0
- package/dist/zonos-elements/p-91b921a4.system.js +1 -0
- package/dist/zonos-elements/{p-3b600b89.system.js → p-9574695a.system.js} +1 -1
- package/dist/zonos-elements/p-97917371.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7ce6b8f7.system.entry.js → p-9b003a15.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-53be08c8.entry.js → p-9c3276c8.entry.js} +1 -1
- package/dist/zonos-elements/p-9cd41234.system.entry.js +1 -0
- package/dist/zonos-elements/{p-5f92db80.system.entry.js → p-a1a05de4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4c94cfd3.entry.js → p-a968ccba.entry.js} +1 -1
- package/dist/zonos-elements/{p-ee00f232.entry.js → p-abd485df.entry.js} +1 -1
- package/dist/zonos-elements/{p-7d859914.entry.js → p-ad961f5d.entry.js} +1 -1
- package/dist/zonos-elements/{p-6b87101d.system.entry.js → p-b5c01288.system.entry.js} +1 -1
- package/dist/zonos-elements/p-bf8c98ab.system.js +1 -0
- package/dist/zonos-elements/{p-2d1055d5.entry.js → p-c13d2e3f.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b46f3bd.system.entry.js → p-c15476a1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e36a7cf.system.entry.js → p-c6823974.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dae881f2.entry.js → p-c83bc4b3.entry.js} +1 -1
- package/dist/zonos-elements/{p-134c5010.system.entry.js → p-c846a5f3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7aca66cd.entry.js → p-cc508de8.entry.js} +1 -1
- package/dist/zonos-elements/{p-6609467e.entry.js → p-ccd14aa5.entry.js} +1 -1
- package/dist/zonos-elements/{p-318e704a.system.js → p-d25759fb.system.js} +1 -1
- package/dist/zonos-elements/{p-a956e28f.entry.js → p-d5e66ea6.entry.js} +1 -1
- package/dist/zonos-elements/{p-7536cf94.system.entry.js → p-daf57db3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b35a0b1e.entry.js → p-dcef2202.entry.js} +1 -1
- package/dist/zonos-elements/{p-283ffaad.entry.js → p-dd6da3de.entry.js} +1 -1
- package/dist/zonos-elements/{p-bd2daace.entry.js → p-df6fbf3f.entry.js} +1 -1
- package/dist/zonos-elements/{p-c16c7978.entry.js → p-e643346a.entry.js} +1 -1
- package/dist/zonos-elements/{p-b375372e.entry.js → p-e8cb382e.entry.js} +1 -1
- package/dist/zonos-elements/{p-f4be6ce5.system.entry.js → p-e8ec88a9.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e9afd736.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c425d3d9.js → p-e9c8a235.js} +1 -1
- package/dist/zonos-elements/{p-ccc8d669.system.entry.js → p-f0eb6317.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f1cc659c.js +1 -0
- package/dist/zonos-elements/{p-b1b7d786.entry.js → p-f53c8a9f.entry.js} +1 -1
- package/dist/zonos-elements/{p-777d396e.entry.js → p-f72642de.entry.js} +1 -1
- package/dist/zonos-elements/{p-eb77dd11.system.js → p-fcaec700.system.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +2 -1
- package/dist/cjs/isCollectMobileTablet-d5c1a9ea.js +0 -176
- package/dist/esm/isCollectMobileTablet-2c62fdaa.js +0 -169
- package/dist/esm-es5/cart-1415dcf0.js +0 -1
- package/dist/esm-es5/isCollectMobileTablet-2c62fdaa.js +0 -1
- package/dist/esm-es5/localization-29723d89.js +0 -1
- package/dist/zonos-elements/p-0fa932e6.system.js +0 -1
- package/dist/zonos-elements/p-15c2dfea.entry.js +0 -1
- package/dist/zonos-elements/p-17c7a727.system.js +0 -1
- package/dist/zonos-elements/p-24aa6708.js +0 -1
- package/dist/zonos-elements/p-2585034d.entry.js +0 -1
- package/dist/zonos-elements/p-2cda42d5.system.js +0 -1
- package/dist/zonos-elements/p-53b65b80.js +0 -1
- package/dist/zonos-elements/p-58521b25.js +0 -1
- package/dist/zonos-elements/p-9259e19b.system.entry.js +0 -1
- package/dist/zonos-elements/p-99ef86c3.js +0 -1
- package/dist/zonos-elements/p-aa3a7538.js +0 -1
- package/dist/zonos-elements/p-c935390d.js +0 -1
- package/dist/zonos-elements/p-e77dd304.system.js +0 -1
- package/dist/zonos-elements/p-ea91600a.entry.js +0 -1
- package/dist/zonos-elements/p-f5d9e5e5.system.entry.js +0 -1
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
6
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
|
-
const hasInclusivePrice = require('./hasInclusivePrice-
|
|
10
|
+
const hasInclusivePrice = require('./hasInclusivePrice-b35e81aa.js');
|
|
11
11
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
12
12
|
const TaxId = require('./TaxId-12acedde.js');
|
|
13
13
|
require('./handleFetch-954f30e1.js');
|
|
@@ -385,25 +385,25 @@ const ZonosHelloDialog = class {
|
|
|
385
385
|
// If deminimis is undefined or null, assume it's $0
|
|
386
386
|
const taxDeMinimisMessage = this.getTaxMessage();
|
|
387
387
|
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
388
|
-
return (index.h(index.Host, { key: '
|
|
388
|
+
return (index.h(index.Host, { key: '18729a31c9a2a29e5f7a49dde7630c3899cd245c', class: "zonos--elements" }, index.h("div", { key: 'cedfa2485f68f41aa099bc8a88446c2aa95a9262', class: classes.classes([
|
|
389
389
|
'zonos--hello-dialog',
|
|
390
390
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
391
391
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
392
392
|
!!this.mobileLocationOverride &&
|
|
393
393
|
'zonos--hello-dialog-mobile-override',
|
|
394
394
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
395
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '
|
|
395
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '3dd21da6f9eab3b1597e59fc93330a6601698d7d' }, index.h("div", { key: '48f98dac07ec1bc299df9fe69ddf74f98cd5a51c', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: '9f5a1133b3326b287d8ed62625d416b4d4e5f41c', 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: '0eb3b34b3f0b869a8039640c7ac3ef706f1bde20', spacing: 24 }, index.h("zonos-country-flag", { key: '3d39e4fc432736b35bab328da59e043591891f66', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: '7e14d107cafcdf9c153813b486c28511c341ed5e', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: 'a1069a846e7e0118e4be0908f82a147b12df815e', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: '2f238d337eeb6034c9fbccf1540e7ab981d8b269', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: '19d806fe8fb23ac05a9c4093e90beda94fdc1388', spacing: 8 }, this.restrictedItems.map(item => {
|
|
396
396
|
var _a;
|
|
397
397
|
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)))));
|
|
398
398
|
}), (dutyDeMinimisMessage ||
|
|
399
399
|
taxDeMinimisMessage ||
|
|
400
400
|
inclusivePriceMessage ||
|
|
401
|
-
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (index.h("zonos-card", { key: '
|
|
401
|
+
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (index.h("zonos-card", { key: 'eda99f84ee5318ed6fd4bb26d2ac66a92742a05d', spacing: "12px" }, index.h("zonos-v-stack", { key: '86e170fd626ee23c67e35dfad72a28355031920e', spacing: 12 }, this.renderHelloMessage({
|
|
402
402
|
dutyDeMinimisMessage,
|
|
403
403
|
inclusivePriceMessage,
|
|
404
404
|
taxDeMinimisMessage,
|
|
405
405
|
}), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
406
|
-
additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), index.h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '
|
|
406
|
+
additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), index.h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '94875c94b85a19a91390862d7e8ec4c978feb583', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: '3a1c43cee0f8f7fb95523e90d21b6a799bdf704c' }, index.h("zonos-country-select", { key: '914e3e1db72458aca439ca37b8e861c49730f332', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '26f01ac1caac824eab2a8ae73cc5a1de843b354c' }, index.h("zonos-language-select", { key: '6318c9bc7824e90314d036973bba1a3175a4d4a8', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
407
407
|
}
|
|
408
408
|
static get assetsDirs() { return ["assets"]; }
|
|
409
409
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
6
|
const debounce = require('./debounce-7990f5ea.js');
|
|
7
|
-
const localization = require('./localization-
|
|
7
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
8
8
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
@@ -42,17 +42,17 @@ const ZonosInput = class {
|
|
|
42
42
|
this.inputChange.emit(newValue);
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: 'c4745840fd40940032af2a46f2dab9d0d3096265', class: classes.classes([
|
|
46
46
|
'zonos--input zonos--elements',
|
|
47
47
|
this.inputSize,
|
|
48
48
|
this.isError && 'has-error',
|
|
49
49
|
]), style: {
|
|
50
50
|
'--zonos--border-radius': getBorderRadius.getBorderRadius(),
|
|
51
51
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
52
|
-
} }, index.h("div", { key: '
|
|
52
|
+
} }, index.h("div", { key: '7044d3e1877088b30016193eabf24ee36b0ad3c3', class: classes.classes([
|
|
53
53
|
'zonos--label-wrapper',
|
|
54
54
|
this.isDisabled && 'disabled',
|
|
55
|
-
]) }, index.h("input", { key: '
|
|
55
|
+
]) }, index.h("input", { key: '6ec2033248f6176c9d5baab8b0a4e74201a6761c', class: classes.classes([
|
|
56
56
|
'zonos--floated-input',
|
|
57
57
|
!!this.inputLabel && 'has-label',
|
|
58
58
|
this.inputValue && 'has-content',
|
|
@@ -60,7 +60,7 @@ const ZonosInput = class {
|
|
|
60
60
|
]), disabled: this.isDisabled, onInput: e => {
|
|
61
61
|
const input = e.target;
|
|
62
62
|
this.inputChange.emit(input.value);
|
|
63
|
-
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), index.h("label", { key: '
|
|
63
|
+
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), index.h("label", { key: '5d6eb65016ffb43f57a21520286eb9e46ef99913', class: "zonos--floated-label", "data-label": this.inputLabel }))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
static get watchers() { return {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
6
|
+
const cart = require('./cart-660e115c.js');
|
|
7
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
8
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cad156a7.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
|
-
const invoice = require('./invoice-
|
|
10
|
+
const invoice = require('./invoice-f032089f.js');
|
|
11
11
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
12
12
|
require('./zonosStore-45a87908.js');
|
|
13
13
|
require('./VarianceTest-bec00ea8.js');
|
|
@@ -34,10 +34,10 @@ const ZonosInvoiceCartItems = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const nonRestrictedItems = cart.cartStore.items.filter(item => !item.isRestricted);
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
37
|
+
return (index.h(index.Host, { key: 'e6626df96493b9cd9110036f203492c008c8c802', class: classes.classes([
|
|
38
38
|
'zonos--invoice-cart-items zonos--elements',
|
|
39
39
|
this.isMobile && 'mobile',
|
|
40
|
-
]) }, index.h("table", { key: '
|
|
40
|
+
]) }, index.h("table", { key: '9a03b7868010f52560725fb4139a329b2b96066c', class: "zonos--cart-table" }, index.h("tbody", { key: 'f1aae5d161654014e4e5e5fd56383664c7fe5635' }, nonRestrictedItems.map(item => {
|
|
41
41
|
var _a, _b, _c, _d;
|
|
42
42
|
const invoiceId = (_b = (_a = item.attributes) === null || _a === void 0 ? void 0 : _a.find(metadata => metadata.key === 'invoiceId' || metadata.key === 'INVOICE_ID')) === null || _b === void 0 ? void 0 : _b.value;
|
|
43
43
|
const invoiceCreatedAt = (_d = (_c = item.attributes) === null || _c === void 0 ? void 0 : _c.find(metadata => metadata.key === 'invoiceCreatedAt')) === null || _d === void 0 ? void 0 : _d.value;
|
|
@@ -73,10 +73,10 @@ const ZonosInvoiceSubtotal = class {
|
|
|
73
73
|
this.isMobile = false;
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (index.h(index.Host, { key: '
|
|
76
|
+
return (index.h(index.Host, { key: '869e194bb991686647a27c85e3287f8c87013697', class: classes.classes([
|
|
77
77
|
'zonos--invoice-subtotal zonos--elements',
|
|
78
78
|
this.isMobile && 'mobile',
|
|
79
|
-
]) }, index.h("table", { key: '
|
|
79
|
+
]) }, index.h("table", { key: '4e3a87b6ceeba8663c7d41797826e92a1d8df873', class: "zonos--invoice-table" }, index.h("tr", { key: '4cc0be3427ded6e3dfc92fca9d6acf69915a5d96', class: "zonos--row zonos--invoice-total" }, index.h("td", { key: 'ca4cefc97914df89530a6ba06f93412773685d13', class: "zonos--column" }), index.h("td", { key: '7cad6266e244446fef196403f4e1628b4656c680', class: "zonos--column zonos--invoice-subtotal-title" }, index.h("zonos-text", { key: '311ce310181fec1db2cd31e92e210d345e0c2871', type: "semiBoldLabel" }, localization.translate('Payment total'))), index.h("td", { key: '2aa6e7fb76e8a7c0d2b1c56fdcdf63ed2b3bed82', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback.renderFallback({
|
|
80
80
|
content: (index.h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency.renderCheckoutCurrency({
|
|
81
81
|
amount: invoice.invoiceStore.amountTotalDue || 0,
|
|
82
82
|
isForeign: true,
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
6
|
+
const cart = require('./cart-660e115c.js');
|
|
7
|
+
const paypal = require('./paypal-125259ab.js');
|
|
8
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
9
9
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
@@ -14,9 +14,9 @@ const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
|
14
14
|
const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
|
|
15
15
|
const classes = require('./classes-b7918f56.js');
|
|
16
16
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
17
|
-
const invoice = require('./invoice-
|
|
18
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
19
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
17
|
+
const invoice = require('./invoice-f032089f.js');
|
|
18
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cad156a7.js');
|
|
19
|
+
const placeTestOrder = require('./placeTestOrder-02001a99.js');
|
|
20
20
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
21
21
|
require('./isDarkColor-5d6ca405.js');
|
|
22
22
|
require('./isContrastColor-76592c92.js');
|
|
@@ -273,11 +273,11 @@ const ZonosInvoiceFinish = class {
|
|
|
273
273
|
}
|
|
274
274
|
render() {
|
|
275
275
|
const cartId = window.Zonos.cartId;
|
|
276
|
-
return (index.h(index.Host, { key: '
|
|
276
|
+
return (index.h(index.Host, { key: 'fc28974043d0f3661919e85aa6cc3839debbac4e', class: "zonos--checkout-finish zonos--elements", style: {
|
|
277
277
|
'--zonos--border-radius': getBorderRadius.getBorderRadius({
|
|
278
278
|
overrideBorderStyle: this.borderRadius,
|
|
279
279
|
}),
|
|
280
|
-
} }, !this.isLoading && (index.h("div", { key: '
|
|
280
|
+
} }, !this.isLoading && (index.h("div", { key: '7a6f37edfde51802035afde1e47184603a81e869', class: "zonos--finish-details" }, index.h("div", { key: '0242af14a36960e490411712bf1c345975d22e28', class: "zonos--group" }, this.notificationType === 'success' ? (index.h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (index.h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), index.h("zonos-text", { key: 'ac0bbc63089b78868a2dea35c2d55699e0c677fc', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (index.h("zonos-badge", { key: 'cce14998b08c79a87b5aaf9701d1132e558c0bc6', badgeColor: "gray" }, this.confirmationId)), index.h("zonos-text", { key: 'c4970d76cbeb63f6dd661bc2c0950ace271f9aac', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (index.h(index.Fragment, null, message, index.h("br", null))))), this.order && cartId && (index.h("div", { key: 'c79a6fe5bfe1398244a7fbf611430be6f42de16b', class: "zonos--button-container" }, index.h("zonos-button", { key: 'c5ab942d9ced619c068b7398a38af5995a8f43ee', onClick: () => {
|
|
281
281
|
window.open(this.getReceiptUrl({ cartId }), '_blank');
|
|
282
282
|
}, size: "lg", variant: "primary" }, localization.translate('View receipt')))))))));
|
|
283
283
|
}
|
|
@@ -342,15 +342,15 @@ const ZonosInvoiceFooter = class {
|
|
|
342
342
|
const languageLabel = (_a = ILanguage.languages.find(x => x.code === localization.localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
|
|
343
343
|
// reverse color when on desktop. With the coversheet backdrop, the color should be white
|
|
344
344
|
const colorDesktop = 'gray-1000';
|
|
345
|
-
return (index.h(index.Host, { key: '
|
|
345
|
+
return (index.h(index.Host, { key: 'edea53dbca2832f4f718fd54b74225d9a64b8d01', class: classes.classes([
|
|
346
346
|
'zonos--elements',
|
|
347
347
|
this.isMobile && 'mobile',
|
|
348
348
|
this.isTablet && 'tablet',
|
|
349
|
-
]) }, index.h("div", { key: '
|
|
349
|
+
]) }, index.h("div", { key: 'd2594dfbc8cfff20539e94c279c6096042ee6d00', class: "zonos--invoice-footer" }, index.h("div", { key: '927668578baf306674f56dce375acd1a5e1f335e', class: "zonos--invoice-locale-wrapper" }, index.h("zonos-button", { key: '022b7cb00f7c9ab6305a6ab874f16531f9ab017f', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: index.h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, index.h("span", { key: '88c1b732f19daaace304214d9028f3b6a131e0d2', class: "zonos--invoice-locale-label" }, languageLabel, index.h("zonos-icon", { key: 'ac383ce2fbcba6b0bd366b8c8126ce10df11d817', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), index.h("div", { key: 'a89f540cdbeb921640f4f466df4c48e12065d90b', class: classes.classes([
|
|
350
350
|
'zonos--invoice-language-dialog',
|
|
351
351
|
this.showLanguageDialog &&
|
|
352
352
|
'zonos--invoice-language-dialog-open',
|
|
353
|
-
]) }, index.h("zonos-language-select", { key: '
|
|
353
|
+
]) }, index.h("zonos-language-select", { key: 'fe017a6300484fc2e657b9f286438f23861a9a96', handleOnClose: () => this.toggleLanguageDialog() }))), index.h("div", { key: 'b9513e7ab5ee4e809d52074fb2c0950a7ac4bfe5', class: "zonos--invoice-footer-icon-wrapper" }, index.h("div", { key: '55ee92bab8cc5dc6983705b925089cca4083fe42', class: "zonos--invoice-footer-logo" }, index.h("zonos-text", { key: 'c8bc7791da058aee313b02797b4555ef5b6ff689', textColor: colorDesktop }, localization.translate('Powered by')), index.h("a", { key: '4493b09d84504d4f797fa0d391cae79ba2266611', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '8c79f8ef0c16d4bb0210e9b7481bc519b97bbddb', autoHeight: true, content: ZonosWordmark, size: 42 }))), index.h("div", { key: 'ee6b57b36973750637e0f66f4e883fe7c32acf23', class: "dot" }), index.h("a", { key: '7aebd09ef1aea4bd9b4a4ed48ffb207e8ed32978', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, index.h("zonos-text", { key: '11e7cbb7531b396255374dbf0528f603145bc0b5', textColor: colorDesktop }, localization.translate('Privacy policy')))))));
|
|
354
354
|
}
|
|
355
355
|
get el() { return index.getElement(this); }
|
|
356
356
|
static get watchers() { return {
|
|
@@ -663,13 +663,13 @@ const ZonosInvoiceReview = class {
|
|
|
663
663
|
}
|
|
664
664
|
render() {
|
|
665
665
|
const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
|
|
666
|
-
return (index.h(index.Host, { key: '
|
|
666
|
+
return (index.h(index.Host, { key: 'b1dbfed233d47a45ee1e37408d086593049c64d6', class: classes.classes([
|
|
667
667
|
'zonos--invoice-review zonos--elements',
|
|
668
668
|
this.isMobile && 'mobile',
|
|
669
669
|
this.isTablet && 'tablet',
|
|
670
|
-
]) }, index.h("div", { key: '
|
|
670
|
+
]) }, index.h("div", { key: 'fa1cb0796cc5ffd31488c730da1e21f6a7c93c8d', class: "zonos--title" }, index.h("zonos-text", { key: '3759a2ebb1ae8456139fb053d32a64ace12917e7', textColor: titleTextColor, type: 'semiBoldLabel' }, localization.translate('Pay [organizationName]', {
|
|
671
671
|
organizationName: zonosStore.zonosStore.organizationName,
|
|
672
|
-
}))), index.h("div", { key: '
|
|
672
|
+
}))), index.h("div", { key: 'b5b0c86569fdc26465ea9ac585c5ea5c2b9172bc', class: "zonos--total-pay" }, renderFallback.renderFallback({
|
|
673
673
|
content: (index.h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency.renderCheckoutCurrency({
|
|
674
674
|
amount: invoice.invoiceStore.amountTotalDue || 0,
|
|
675
675
|
isForeign: true,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const invoice = require('./invoice-
|
|
8
|
-
const paypal = require('./paypal-
|
|
9
|
-
const localization = require('./localization-
|
|
6
|
+
const cart = require('./cart-660e115c.js');
|
|
7
|
+
const invoice = require('./invoice-f032089f.js');
|
|
8
|
+
const paypal = require('./paypal-125259ab.js');
|
|
9
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
10
10
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
11
11
|
const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
6
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./handleFetch-954f30e1.js');
|
|
@@ -34,9 +34,9 @@ const ZonosLanguageSelect = class {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const { selectedLocale } = localization.localizationStore;
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
37
|
+
return (index.h(index.Host, { key: '30aab5aabd31e7353a523454dad44d76b416c7c9', class: "zonos--elements", style: {
|
|
38
38
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
39
|
-
} }, index.h("div", { key: '
|
|
39
|
+
} }, index.h("div", { key: '633e04207127715dd7765a3983fffa786ab67a35', class: "zonos--language-select" }, index.h("zonos-select-dialog-header", { key: 'd09f65d2df7eef7eb35d25f2e5c26103c47d9bad', handleOnClose: () => this.handleOnClose(), label: localization.translate('Select a language') }), index.h("div", { key: '0f8797c1c2af191f3fcb514b5b627264a9ea9bfe', 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 })))))))));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
|
|
@@ -60,9 +60,9 @@ const ZonosSelectDialogHeader = class {
|
|
|
60
60
|
this.label = '';
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (index.h(index.Host, { key: '
|
|
63
|
+
return (index.h(index.Host, { key: 'e122c65cde136ca184224d5ccd22d5fdb369f126', class: "zonos--elements", style: {
|
|
64
64
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
65
|
-
} }, index.h("zonos-v-stack", { key: '
|
|
65
|
+
} }, index.h("zonos-v-stack", { key: 'd6f5d0f9773adcb8fe0f782858401e1eca338b23', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, index.h("div", { key: '6c4dd78b11c3d2bcd5b9235d1d9087b663872f98', class: "zonos--select-dialog-header" }, index.h("zonos-text", { key: '1dafcb49c92f82fd4342b917e808732fe5f0e553', type: "boldLabel" }, this.label), index.h("zonos-button", { key: 'fd9742527683709d6685348be79e0b157829927d', 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: '4e386e0b1b11ef28fce172b21f57c313e9e9ca5d' }))));
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
|
|
@@ -16,7 +16,7 @@ const ZonosLink = class {
|
|
|
16
16
|
this.href = '';
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h(index.Host, { key: '
|
|
19
|
+
return (index.h(index.Host, { key: 'c71f5631cb5447192821bf2714e0b422a2fc8aba', class: "zonos--elements" }, index.h("a", { key: 'acbeaf085d7651bb7f658b7dd99a0433df21c452', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, index.h("slot", { key: '74e0517a6e4f6d7019a7c358845ee844978b9545' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
ZonosLink.style = ZonosLinkStyle0;
|
|
@@ -26,11 +26,11 @@ const ZonosLogo = class {
|
|
|
26
26
|
const filterColor = this.theme === 'DARK'
|
|
27
27
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
28
28
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
29
|
-
return (index.h(index.Host, { key: '
|
|
29
|
+
return (index.h(index.Host, { key: 'f4066b17c03e2b5e2c55b2252ecf830a0dab972f', class: classes.classes(['zonos--elements zonos--logo']), style: {
|
|
30
30
|
'--zonos--filter-color': filterColor,
|
|
31
31
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
32
32
|
'--zonos--width': this.width,
|
|
33
|
-
} }, index.h("img", { key: '
|
|
33
|
+
} }, index.h("img", { key: '50e948ff4ffa77626216354880938021d68279e6', alt: "Zonos Logo", src: index.getAssetPath('./assets/ZonosLogo.png') })));
|
|
34
34
|
}
|
|
35
35
|
static get assetsDirs() { return ["assets"]; }
|
|
36
36
|
};
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
6
|
+
const cart = require('./cart-660e115c.js');
|
|
7
|
+
const localization = require('./localization-f4a64f6f.js');
|
|
8
8
|
const zonosStore = require('./zonosStore-45a87908.js');
|
|
9
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
9
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cad156a7.js');
|
|
10
10
|
const getBorderRadius = require('./getBorderRadius-fc683d94.js');
|
|
11
11
|
require('./VarianceTest-bec00ea8.js');
|
|
12
12
|
require('./handleFetch-954f30e1.js');
|
|
@@ -77,7 +77,7 @@ const ZonosStripeInput = class {
|
|
|
77
77
|
? zonosStore.zonosStore.appearance.theme === 'DARK'
|
|
78
78
|
: primaryColor && isDarkColor.isDarkColor(primaryColor);
|
|
79
79
|
const fontSize = zonosStore.zonosStore.appearance.fontSizeInputValue || 16;
|
|
80
|
-
return (index.h(index.Host, { key: '
|
|
80
|
+
return (index.h(index.Host, { key: '9f7996d6012cc5daf2950c00e2cc54a7e2eb1777', class: classes.classes([
|
|
81
81
|
'zonos--input zonos--elements',
|
|
82
82
|
isDark && 'dark',
|
|
83
83
|
(this.isError || !!this.error) && 'has-error',
|
|
@@ -86,10 +86,10 @@ const ZonosStripeInput = class {
|
|
|
86
86
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
87
87
|
'--zonos--font-size': `${fontSize}px`,
|
|
88
88
|
'--zonos--primary-color': secondaryColor,
|
|
89
|
-
} }, index.h("div", { key: '
|
|
89
|
+
} }, index.h("div", { key: '50fee9203e13de618686e971b49b47d4ed4dde8e', class: classes.classes([
|
|
90
90
|
'zonos--label-wrapper',
|
|
91
91
|
this.isDisabled && 'disabled',
|
|
92
|
-
]) }, index.h("input", Object.assign({ key: '
|
|
92
|
+
]) }, index.h("input", Object.assign({ key: '517a1f4677613e7f956aa3c04cb38791b747b60b' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
|
|
93
93
|
'zonos--floated-input',
|
|
94
94
|
!!this.inputLabel && 'has-label',
|
|
95
95
|
this.internalValue && 'has-content',
|
|
@@ -99,7 +99,7 @@ const ZonosStripeInput = class {
|
|
|
99
99
|
this.inputChange.emit(input.value);
|
|
100
100
|
this.el.inputValue = input.value;
|
|
101
101
|
this.el.dispatchEvent(new Event('change'));
|
|
102
|
-
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), index.h("div", { key: '
|
|
102
|
+
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), index.h("div", { key: 'fe8ce71109cd1a40f47792259455bdfa480c01ac', class: "zonos--floated-label" }, index.h("label", { key: 'ac85c7f24d4c89b2cccc00e68d93a91b419ff235', htmlFor: this.inputId }, this.inputLabel))), this.error && (index.h("zonos-text", { key: '6fe980dcee5999c9cbdb9ac6b8f38f219397839c', textColor: "red-600", type: "caption" }, this.error))));
|
|
103
103
|
}
|
|
104
104
|
get el() { return index.getElement(this); }
|
|
105
105
|
static get watchers() { return {
|
|
@@ -22,10 +22,10 @@ const ZonosTooltip = class {
|
|
|
22
22
|
this.showTooltip = false;
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (index.h(index.Host, { key: '
|
|
25
|
+
return (index.h(index.Host, { key: '7abbe34ad287842da57b3348f680c4988662ff44', class: "zonos--elements" }, index.h("div", { key: '2c65db7c6022b4ea42b13d8f56f3ddfbf26687b0', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, index.h("slot", { key: 'd48945a7f67bbee583e7dc7832736cffb5310066' }), index.h("div", { key: '90adeacf4d365f94af1a7aafbee8a27cbd731058', class: classes.classes([
|
|
26
26
|
this.showTooltip && 'zonos--show-tooltip',
|
|
27
27
|
'zonos--tooltip-content',
|
|
28
|
-
]) }, index.h("zonos-text", { key: '
|
|
28
|
+
]) }, index.h("zonos-text", { key: 'bf46c94eb2404e1cae261f8426c090e634d70a8b', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), index.h("zonos-text", { key: '499fb779cbf790ddcfa6945ffecbcb152708a851', size: "xs", textColor: "gray-0" }, this.subtitle)))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
ZonosTooltip.style = ZonosTooltipStyle0;
|
|
@@ -20,9 +20,9 @@ const VStack = class {
|
|
|
20
20
|
this.spacing = 24;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (index.h(index.Host, { key: '
|
|
23
|
+
return (index.h(index.Host, { key: '773b6654cf2031f3db0eb24781fabb8d8da7a6d2', style: {
|
|
24
24
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
25
|
-
} }, index.h("div", { key: '
|
|
25
|
+
} }, index.h("div", { key: 'd5f58fcd829b7f563f9154cc760df9c6392c2526', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: 'd5c7f7f2eca26214cdc6ecbe3ad5dcf4f02d9264' }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
VStack.style = ZonosVStackStyle0;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js",
|
|
7
7
|
"components/common/zonos-spinner/zonos-spinner.js",
|
|
8
8
|
"components/common/zonos-stripe-select/zonos-stripe-select.js",
|
|
9
|
+
"components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.js",
|
|
9
10
|
"components/checkout/zonos-checkout/zonos-checkout.js",
|
|
10
11
|
"components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js",
|
|
11
12
|
"components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js",
|
package/dist/collection/components/airwallex/zonos-airwallex-payment/zonos-airwallex-payment.css
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
3
|
+
display: block;
|
|
4
|
+
white-space: normal;
|
|
5
|
+
}
|
|
6
|
+
:host * {
|
|
7
|
+
font-family: var(--zonos--font-family, Inter), Inter;
|
|
8
|
+
}
|
|
9
|
+
:host img {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
:host dl,
|
|
13
|
+
:host dd,
|
|
14
|
+
:host h1,
|
|
15
|
+
:host h2,
|
|
16
|
+
:host h3,
|
|
17
|
+
:host h4,
|
|
18
|
+
:host h5,
|
|
19
|
+
:host h6,
|
|
20
|
+
:host hr,
|
|
21
|
+
:host figure,
|
|
22
|
+
:host p,
|
|
23
|
+
:host pre {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* All sets of variable are here */
|
|
28
|
+
/* smooth font rendering */
|
|
29
|
+
:host {
|
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
:host .zonos--payment-error-banner {
|
|
38
|
+
margin-bottom: 16px;
|
|
39
|
+
}
|
|
40
|
+
:host .zonos--airwallex-payment-component {
|
|
41
|
+
margin-bottom: 4px;
|
|
42
|
+
min-height: 40px;
|
|
43
|
+
}
|