@zonos/elements 1.3.218 → 1.3.219
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/buildCartItemsByTempCart-309fcebf.js +28 -0
- package/dist/cjs/{cart-c54d05ce.js → cart-9a2b32e4.js} +90 -47
- package/dist/cjs/cleanHtmlMarkdown-577d0a77.js +999 -0
- package/dist/cjs/index.cjs.js +19 -9
- package/dist/cjs/isCollectMobileTablet-7e57fd90.js +172 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/localization-b12edb2a.js +738 -0
- package/dist/cjs/{paypal-d36b5dd1.js → paypal-e80871d0.js} +12 -8
- package/dist/cjs/placeTestOrder-8222fe95.js +93 -0
- package/dist/cjs/{localization-ab7e1902.js → translationStore-20a6d8bf.js} +963 -734
- package/dist/cjs/zonos-address_11.cjs.entry.js +102 -72
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/{zonos-banner.cjs.entry.js → zonos-banner_2.cjs.entry.js} +40 -0
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/{zonos-cart-items_14.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +73 -1292
- package/dist/cjs/zonos-checkout.cjs.entry.js +25 -48
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +92 -0
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +810 -0
- package/dist/cjs/zonos-collect.cjs.entry.js +468 -0
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-confirm-dialog_2.cjs.entry.js +168 -0
- package/dist/cjs/zonos-controller.cjs.entry.js +84 -28
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +11 -10
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +15 -5
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +34 -33
- package/dist/cjs/zonos-hello.cjs.entry.js +8 -7
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -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-stripe-input.cjs.entry.js +8 -5
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +5 -1
- package/dist/collection/components/checkout/zonos-collect/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/assets/empty-item.jpeg +0 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.css +60 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +39 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/assets/RemoveIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/assets/SuccessIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.css +84 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +403 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/assets/chevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/assets/globe.svg +3 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/assets/zonosIconDark.svg +10 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/assets/zonosIconLight.svg +10 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/assets/zonosWordmark.svg +7 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.css +152 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +164 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/assets/ChevronUpIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.css +109 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.js +194 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/assets/CheckmarkLineIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/assets/RemoveLineIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.css +98 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +369 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.css +68 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +151 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.css +78 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +115 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect.css +349 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect.js +547 -0
- 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.css +38 -0
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +63 -0
- 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/assets/RemoveLineIcon.svg +3 -0
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.css +40 -0
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +102 -0
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +8 -5
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +5 -5
- package/dist/collection/components/common/zonos-text/zonos-text.css +1 -0
- 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 +91 -25
- package/dist/collection/components/paypal/zonos-paypal-payment.js +13 -2
- package/dist/collection/components/store/checkout/cart.js +36 -15
- package/dist/collection/components/store/checkout/collect.js +157 -0
- package/dist/collection/components/store/checkout/paypal.js +4 -2
- package/dist/collection/components/store/checkout/stripe.js +31 -12
- package/dist/collection/components/store/translationStore/strings.arabic.js +48 -0
- package/dist/collection/components/store/translationStore/strings.base.js +48 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +48 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +48 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +48 -0
- package/dist/collection/components/store/translationStore/strings.french.js +48 -0
- package/dist/collection/components/store/translationStore/strings.german.js +48 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +48 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +48 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +48 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +48 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +48 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +48 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +48 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +48 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +48 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +48 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +48 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +48 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +48 -0
- package/dist/collection/components/store/translationStore.js +2 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +35 -18
- 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-link-authentication/zonos-link-authentication.js +15 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/checkout/initCollect.js +15 -0
- package/dist/collection/components/utils/checkout/isCollectMobileTablet.js +10 -0
- package/dist/collection/components/utils/checkout/renderCheckoutCurrency.js +10 -1
- package/dist/collection/components/utils/renderFallback.js +7 -0
- package/dist/collection/scripts/_getZonosQaUrl.js +5 -1
- package/dist/collection/scripts/_zonosBase.js +7 -1
- package/dist/collection/types/checkout/api/PartyInfo.js +1 -0
- package/dist/collection/types/generated/graphql.internal.types.js +103 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/buildCartItemsByTempCart-c4488f73.js +26 -0
- package/dist/esm/{cart-bb0ee971.js → cart-acf4ebf5.js} +68 -27
- package/dist/esm/cleanHtmlMarkdown-b5b18743.js +997 -0
- package/dist/esm/index.js +19 -9
- package/dist/esm/isCollectMobileTablet-b72b81c5.js +165 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/localization-8646f526.js +719 -0
- package/dist/esm/{paypal-bd4520eb.js → paypal-2fa930eb.js} +7 -4
- package/dist/esm/placeTestOrder-d1ad9cf6.js +90 -0
- package/dist/esm/{localization-d8326254.js → translationStore-c9743292.js} +963 -718
- package/dist/esm/zonos-address_11.entry.js +71 -41
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/{zonos-banner.entry.js → zonos-banner_2.entry.js} +40 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/{zonos-cart-items_14.entry.js → zonos-cart-items_12.entry.js} +23 -1240
- package/dist/esm/zonos-checkout.entry.js +6 -29
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +86 -0
- package/dist/esm/zonos-collect-finish_6.entry.js +801 -0
- package/dist/esm/zonos-collect.entry.js +464 -0
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-confirm-dialog_2.entry.js +163 -0
- package/dist/esm/zonos-controller.entry.js +84 -28
- package/dist/esm/zonos-country-flag.entry.js +2 -1
- package/dist/esm/zonos-country-select_4.entry.js +11 -10
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-empty-state-payment_4.entry.js +15 -5
- package/dist/esm/zonos-hello-dialog.entry.js +6 -5
- package/dist/esm/zonos-hello.entry.js +2 -1
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +6 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +9 -6
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/buildCartItemsByTempCart-c4488f73.js +1 -0
- package/dist/esm-es5/cart-acf4ebf5.js +1 -0
- package/dist/esm-es5/cleanHtmlMarkdown-b5b18743.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isCollectMobileTablet-b72b81c5.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-8646f526.js +1 -0
- package/dist/esm-es5/paypal-2fa930eb.js +17 -0
- package/dist/esm-es5/placeTestOrder-d1ad9cf6.js +1 -0
- package/dist/esm-es5/translationStore-c9743292.js +1 -0
- package/dist/esm-es5/zonos-address_11.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner_2.entry.js +1 -0
- package/dist/esm-es5/zonos-button_3.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 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -0
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -0
- package/dist/esm-es5/zonos-collect.entry.js +1 -0
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-confirm-dialog_2.entry.js +1 -0
- 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-empty-state-payment_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/index.d.ts +470 -3
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.d.ts +4 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +49 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.d.ts +25 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-order-details/zonos-collect-order-details.d.ts +29 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.d.ts +62 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.d.ts +22 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.d.ts +10 -0
- package/dist/types/components/checkout/zonos-collect/zonos-collect.d.ts +86 -0
- package/dist/types/components/common/zonos-h-stack/zonos-h-stack.d.ts +9 -0
- package/dist/types/components/common/zonos-skeleton/zonos-skeleton.d.ts +17 -0
- package/dist/types/components/main/zonos-controller.d.ts +5 -0
- package/dist/types/components/paypal/zonos-paypal-payment.d.ts +3 -0
- package/dist/types/components/store/checkout/cart.d.ts +23 -3
- package/dist/types/components/store/checkout/collect.d.ts +21 -0
- package/dist/types/components/store/checkout/paypal.d.ts +4 -3
- package/dist/types/components/store/checkout/stripe.d.ts +6 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +48 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +48 -0
- package/dist/types/components/store/translationStore.d.ts +2 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +1 -2
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +2 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/checkout/initCollect.d.ts +1 -0
- package/dist/types/components/utils/checkout/isCollectMobileTablet.d.ts +4 -0
- package/dist/types/components/utils/renderFallback.d.ts +6 -0
- package/dist/types/components.d.ts +401 -2
- package/dist/types/scripts/_zonosBase.d.ts +5 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +5 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +9 -1
- package/dist/types/types/checkout/api/CreateParty.d.ts +24 -0
- package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +6 -1
- package/dist/types/types/checkout/api/PartyInfo.d.ts +24 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +431 -9
- package/dist/types/types/generated/graphql.internal.types.ts +428 -10
- package/dist/types/types/index.d.ts +1 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-288761b1.system.entry.js → p-009c3ac5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c7d5d45d.entry.js → p-03980f76.entry.js} +1 -1
- package/dist/zonos-elements/p-07bea979.system.js +1 -0
- package/dist/zonos-elements/p-0cec2dd2.system.entry.js +1 -0
- package/dist/zonos-elements/p-0d6c6a38.entry.js +1 -0
- package/dist/zonos-elements/p-0ef2a242.js +1 -0
- package/dist/zonos-elements/p-106ae0f1.entry.js +1 -0
- package/dist/zonos-elements/p-10797d2b.system.entry.js +1 -0
- package/dist/zonos-elements/p-195b33b6.system.entry.js +1 -0
- package/dist/zonos-elements/p-1fe5d4da.system.entry.js +1 -0
- package/dist/zonos-elements/{p-da4c01da.system.entry.js → p-2323ff0f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-23293a0b.entry.js +1 -0
- package/dist/zonos-elements/{p-62813488.entry.js → p-23735db6.entry.js} +1 -1
- package/dist/zonos-elements/{p-ebaaaee9.entry.js → p-26573347.entry.js} +1 -1
- package/dist/zonos-elements/{p-e640e8b8.entry.js → p-29499a5f.entry.js} +1 -1
- package/dist/zonos-elements/p-29c80a34.js +1 -0
- package/dist/zonos-elements/{p-edc77ea1.entry.js → p-2a9681b4.entry.js} +1 -1
- package/dist/zonos-elements/{p-3f31901f.entry.js → p-2c9381be.entry.js} +1 -1
- package/dist/zonos-elements/p-2cc031b3.js +17 -0
- package/dist/zonos-elements/{p-7ab62a26.system.entry.js → p-34a37ce7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-3c9714a8.system.entry.js +1 -0
- package/dist/zonos-elements/p-485416ec.js +1 -0
- package/dist/zonos-elements/p-56ee6d4b.system.entry.js +1 -0
- package/dist/zonos-elements/p-58afbe2b.entry.js +1 -0
- package/dist/zonos-elements/p-5e372fb9.entry.js +1 -0
- package/dist/zonos-elements/p-5ff4f9df.system.js +1 -0
- package/dist/zonos-elements/{p-92cc26b7.system.entry.js → p-60c61982.system.entry.js} +1 -1
- package/dist/zonos-elements/p-61c2c336.entry.js +1 -0
- package/dist/zonos-elements/p-6696617a.system.entry.js +1 -0
- package/dist/zonos-elements/p-6761091e.entry.js +1 -0
- package/dist/zonos-elements/p-6761286d.js +1 -0
- package/dist/zonos-elements/p-69451a50.system.js +1 -0
- package/dist/zonos-elements/p-69fd1b88.js +1 -0
- package/dist/zonos-elements/p-6dd63754.system.js +1 -0
- package/dist/zonos-elements/p-6e8aae27.system.entry.js +1 -0
- package/dist/zonos-elements/{p-1c45cd15.entry.js → p-70b81bbc.entry.js} +1 -1
- package/dist/zonos-elements/{p-eeb01de6.system.entry.js → p-750b7f32.system.entry.js} +1 -1
- package/dist/zonos-elements/p-772ac0b7.js +1 -0
- package/dist/zonos-elements/p-81b357f7.system.js +1 -1
- package/dist/zonos-elements/p-81e23f30.system.js +1 -0
- package/dist/zonos-elements/p-873b698a.entry.js +1 -0
- package/dist/zonos-elements/p-87e2a777.entry.js +1 -0
- package/dist/zonos-elements/p-8ca25e6c.entry.js +1 -0
- package/dist/zonos-elements/p-909d36bf.entry.js +1 -0
- package/dist/zonos-elements/p-95461a1b.system.entry.js +1 -0
- package/dist/zonos-elements/p-986ebccc.js +1 -0
- package/dist/zonos-elements/p-9c0b78bf.system.entry.js +1 -0
- package/dist/zonos-elements/p-a61a9b65.system.entry.js +1 -0
- package/dist/zonos-elements/p-a7204d41.entry.js +1 -0
- package/dist/zonos-elements/p-aca272ea.entry.js +1 -0
- package/dist/zonos-elements/p-b12ec9f2.system.entry.js +1 -0
- package/dist/zonos-elements/p-b1bd9fe7.system.entry.js +1 -0
- package/dist/zonos-elements/p-b2ae8eb7.system.js +1 -0
- package/dist/zonos-elements/{p-77666360.entry.js → p-b5406d26.entry.js} +1 -1
- package/dist/zonos-elements/p-bfbc081f.entry.js +1 -0
- package/dist/zonos-elements/p-c0a54cf6.system.js +1 -0
- package/dist/zonos-elements/p-c3c9b089.entry.js +1 -0
- package/dist/zonos-elements/p-c8784a01.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7b5de646.entry.js → p-d045e2e5.entry.js} +1 -1
- package/dist/zonos-elements/p-d26cffba.entry.js +1 -0
- package/dist/zonos-elements/{p-544c173a.system.entry.js → p-d351ece6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d63696ac.system.js +17 -0
- package/dist/zonos-elements/p-ddb29c2a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d6fa2dc2.entry.js → p-dfb92907.entry.js} +1 -1
- package/dist/zonos-elements/{p-714c28b1.system.entry.js → p-e2a45188.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1ac8bfbb.system.entry.js → p-e455f060.system.entry.js} +1 -1
- package/dist/zonos-elements/p-eb54ece4.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a98b1e8d.entry.js → p-efa6203f.entry.js} +1 -1
- package/dist/zonos-elements/{p-59eaebe3.system.entry.js → p-f0be0ca9.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f129a83b.system.entry.js +1 -0
- package/dist/zonos-elements/p-f17fde5f.system.js +1 -0
- package/dist/zonos-elements/{p-47ffacd8.system.entry.js → p-f74a6b78.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/zonos-card.cjs.entry.js +0 -49
- package/dist/esm/zonos-card.entry.js +0 -45
- package/dist/esm-es5/cart-bb0ee971.js +0 -1
- package/dist/esm-es5/localization-d8326254.js +0 -1
- package/dist/esm-es5/paypal-bd4520eb.js +0 -17
- package/dist/esm-es5/zonos-banner.entry.js +0 -1
- package/dist/esm-es5/zonos-card.entry.js +0 -1
- package/dist/esm-es5/zonos-cart-items_14.entry.js +0 -1
- package/dist/zonos-elements/p-043f57e8.system.entry.js +0 -1
- package/dist/zonos-elements/p-0631d2b9.js +0 -1
- package/dist/zonos-elements/p-0a6ac265.system.js +0 -1
- package/dist/zonos-elements/p-0f041dc5.system.entry.js +0 -1
- package/dist/zonos-elements/p-1432a217.system.entry.js +0 -1
- package/dist/zonos-elements/p-1b51b738.system.entry.js +0 -1
- package/dist/zonos-elements/p-3a1513ae.system.entry.js +0 -1
- package/dist/zonos-elements/p-3b8d11dd.entry.js +0 -1
- package/dist/zonos-elements/p-4333afcb.entry.js +0 -1
- package/dist/zonos-elements/p-4d0d89da.system.entry.js +0 -1
- package/dist/zonos-elements/p-5dd9cb44.system.entry.js +0 -1
- package/dist/zonos-elements/p-605a21ac.entry.js +0 -1
- package/dist/zonos-elements/p-674981ad.system.js +0 -1
- package/dist/zonos-elements/p-6d090b53.entry.js +0 -1
- package/dist/zonos-elements/p-73c8c551.system.entry.js +0 -1
- package/dist/zonos-elements/p-795d223d.entry.js +0 -1
- package/dist/zonos-elements/p-8218ff62.system.entry.js +0 -1
- package/dist/zonos-elements/p-82f80c8a.entry.js +0 -1
- package/dist/zonos-elements/p-88f7256d.js +0 -1
- package/dist/zonos-elements/p-8b083884.entry.js +0 -1
- package/dist/zonos-elements/p-a449940d.entry.js +0 -1
- package/dist/zonos-elements/p-a5a4ad2f.entry.js +0 -1
- package/dist/zonos-elements/p-a5d45585.system.entry.js +0 -1
- package/dist/zonos-elements/p-a751e819.system.entry.js +0 -1
- package/dist/zonos-elements/p-ad556be6.entry.js +0 -1
- package/dist/zonos-elements/p-b4792af0.entry.js +0 -1
- package/dist/zonos-elements/p-b9ff6458.entry.js +0 -1
- package/dist/zonos-elements/p-d3dbae8c.system.js +0 -1
- package/dist/zonos-elements/p-d55aec11.system.entry.js +0 -1
- package/dist/zonos-elements/p-ebb9b902.system.js +0 -17
- package/dist/zonos-elements/p-ef1ce617.system.entry.js +0 -1
- package/dist/zonos-elements/p-ef75da6f.js +0 -17
- package/dist/zonos-elements/p-f3dbe934.entry.js +0 -1
- package/dist/zonos-elements/p-f741407e.system.entry.js +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
position: sticky;
|
|
36
|
+
bottom: 60px;
|
|
37
|
+
}
|
|
38
|
+
:host .zonos--collect-table {
|
|
39
|
+
width: 100%;
|
|
40
|
+
border: none;
|
|
41
|
+
border-collapse: collapse;
|
|
42
|
+
overflow: auto;
|
|
43
|
+
font-size: var(--zonos-elements-font-size-base);
|
|
44
|
+
}
|
|
45
|
+
:host .zonos--collect-table .zonos--column {
|
|
46
|
+
padding: 8px 8px;
|
|
47
|
+
vertical-align: top;
|
|
48
|
+
}
|
|
49
|
+
:host .zonos--collect-table .zonos--column:last-child {
|
|
50
|
+
text-align: right;
|
|
51
|
+
padding-right: 0;
|
|
52
|
+
}
|
|
53
|
+
:host .zonos--collect-table .zonos--column:first-child {
|
|
54
|
+
width: 60px;
|
|
55
|
+
max-width: 100px;
|
|
56
|
+
}
|
|
57
|
+
:host .zonos--title-with-icon {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
}
|
|
62
|
+
:host .zonos--collect-subtotal-price {
|
|
63
|
+
text-align: right;
|
|
64
|
+
}
|
|
65
|
+
:host .zonos--collect-subtotal-price zonos-text {
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
:host .zonos--collect-total .zonos--column {
|
|
69
|
+
padding: 16px 0;
|
|
70
|
+
}
|
|
71
|
+
:host .zonos--collect-total-subtotal .zonos--collect-subtotal-title,
|
|
72
|
+
:host .zonos--collect-total-subtotal .zonos--collect-subtotal-price {
|
|
73
|
+
border-bottom: 1px solid var(--zonos-elements-gray-200);
|
|
74
|
+
}
|
|
75
|
+
:host .zonos--collect-subtotal-price zonos-text,
|
|
76
|
+
:host .zonos--collect-pay-total zonos-text {
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { cartStore, cartStoreOnChange, } from "../../../store/checkout/cart";
|
|
3
|
+
import { collectStore } from "../../../store/checkout/collect";
|
|
4
|
+
import { translate, translationStoreOnChange, } from "../../../store/translationStore";
|
|
5
|
+
import { renderCheckoutCurrency } from "../../../utils/checkout/renderCheckoutCurrency";
|
|
6
|
+
import { renderFallback } from "../../../utils/renderFallback";
|
|
7
|
+
export class ZonosCollectSubtotal {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.storeUnsubscribeList = [];
|
|
10
|
+
this.subtotals = {};
|
|
11
|
+
this.initSubtotalData = () => {
|
|
12
|
+
var _a, _b;
|
|
13
|
+
const cartLandedCostSubtotal = (_b = (_a = cartStore.checkoutSession) === null || _a === void 0 ? void 0 : _a.landedCost) === null || _b === void 0 ? void 0 : _b.amountSubtotals;
|
|
14
|
+
if (!cartLandedCostSubtotal) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
// Some countries have same name for duties, taxes and fees in their language. If that happens, we need to group their values by name
|
|
18
|
+
const translatedDutyLabel = translate('Duties');
|
|
19
|
+
const translatedTaxLabel = translate('Taxes');
|
|
20
|
+
const translatedFeeLabel = translate('Fees');
|
|
21
|
+
const subtotalMap = {
|
|
22
|
+
[translatedDutyLabel]: 0,
|
|
23
|
+
[translatedFeeLabel]: 0,
|
|
24
|
+
[translatedTaxLabel]: 0,
|
|
25
|
+
};
|
|
26
|
+
const duties = cartLandedCostSubtotal.duties;
|
|
27
|
+
const taxes = cartLandedCostSubtotal.taxes;
|
|
28
|
+
const fees = cartLandedCostSubtotal.fees;
|
|
29
|
+
if (duties !== undefined) {
|
|
30
|
+
subtotalMap[translatedDutyLabel] || (subtotalMap[translatedDutyLabel] = 0);
|
|
31
|
+
subtotalMap[translatedDutyLabel] += duties;
|
|
32
|
+
}
|
|
33
|
+
if (taxes !== undefined) {
|
|
34
|
+
subtotalMap[translatedTaxLabel] || (subtotalMap[translatedTaxLabel] = 0);
|
|
35
|
+
subtotalMap[translatedTaxLabel] += taxes;
|
|
36
|
+
}
|
|
37
|
+
if (fees !== undefined) {
|
|
38
|
+
subtotalMap[translatedFeeLabel] || (subtotalMap[translatedFeeLabel] = 0);
|
|
39
|
+
subtotalMap[translatedFeeLabel] += fees;
|
|
40
|
+
}
|
|
41
|
+
this.subtotals = subtotalMap;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
disconnectedCallback() {
|
|
45
|
+
this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
|
|
46
|
+
}
|
|
47
|
+
componentWillLoad() {
|
|
48
|
+
this.storeUnsubscribeList = [
|
|
49
|
+
cartStoreOnChange('checkoutSession', this.initSubtotalData),
|
|
50
|
+
translationStoreOnChange('translatedChunks', this.initSubtotalData),
|
|
51
|
+
];
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
this.initSubtotalData();
|
|
55
|
+
return (h(Host, { key: '802f3c4e95ac387e1635fda8c60650baa6c2a921', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: '5fb1bc3eea8cb032df0073797a03f29aad0c6a4a', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: 'f0c9c76e23a98f2638132530bf162f17d1c4d369', class: "zonos--row zonos--collect-duty" }, h("td", { key: '3563ad4d3ebe19d70701dd6d846ce93f81fb620b', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'a181f357c9ed0a51fd2edf6a321718e859a001b6', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: '1e35333b4f2768f52084f1ed8044b20b8ef6dcdd', class: "zonos--column" }), h("td", { key: 'd810adf7cb68dbe4abd7a50a3f136b1c8de6927c', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
56
|
+
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
57
|
+
amount: this.subtotals[translate('Duties')] || 0,
|
|
58
|
+
isForeign: true,
|
|
59
|
+
}))),
|
|
60
|
+
isLoading: collectStore.isFetchingShippingInfo,
|
|
61
|
+
skeletonHeight: '14px',
|
|
62
|
+
skeletonWidth: '150px',
|
|
63
|
+
})))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: 'b6bf34665036c13663685f5d88f030663478d013', class: "zonos--row zonos--collect-tax" }, h("td", { key: '6595bd3da49f934a560b215774a977db6ee054f4', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'b707928fc729029e601b03b1a07d00782bc805be', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: '198d8a22daaac2b96a86ff831b40cefb8d6be057', class: "zonos--column" }), h("td", { key: '6f673d2bd36b3cc17d83732c37c21080358961b5', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
64
|
+
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
65
|
+
amount: this.subtotals[translate('Taxes')] || 0,
|
|
66
|
+
isForeign: true,
|
|
67
|
+
}))),
|
|
68
|
+
isLoading: collectStore.isFetchingShippingInfo,
|
|
69
|
+
skeletonHeight: '14px',
|
|
70
|
+
skeletonWidth: '150px',
|
|
71
|
+
})))), !!this.subtotals[translate('Fees')] && (h("tr", { key: 'b3392d88def450ba48cf35a7209a3f987ba2513a', class: "zonos--row zonos--collect-fee" }, h("td", { key: 'b37890202522d65bb307bf7490cafb9686ed0d83', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '1248245b912e6a0f7b5236c2fae13f4d33b84805', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: '47e9ad0b21ad389f1eb029ef7f8f805388f529b0', class: "zonos--column" }), h("td", { key: '6fd116a562463aa95a21f6f1635d9b33d8b9c577', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
72
|
+
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
73
|
+
amount: this.subtotals[translate('Fees')] || 0,
|
|
74
|
+
isForeign: true,
|
|
75
|
+
}))),
|
|
76
|
+
isLoading: collectStore.isFetchingShippingInfo,
|
|
77
|
+
skeletonHeight: '14px',
|
|
78
|
+
skeletonWidth: '150px',
|
|
79
|
+
})))), h("tr", { key: '76c57539723bd54d09a45a8d0051240ecb39db03', class: "zonos--row zonos--collect-spacing" }, h("td", { key: 'b26e8493902267d9ab81907b976af59d961a792a', class: "zonos--column", colSpan: 3 })), h("tr", { key: '20110aaeccafea4372d91e79062ec5344353e4bc', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: 'a6463d8923e162864002121e63decb286b3a0fc8', class: "zonos--column" }), h("td", { key: '49b504de5994357d849e38c0156c5192cdad07db', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: 'c76f8e4fba2ea9025b009ae400b5b89d30b14997', type: "label" }, translate('Subtotal'))), h("td", { key: '6568a8e64b3e1b426bb8fdf4aff9354bb1ac4b18', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
80
|
+
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
81
|
+
amount: collectStore.amountDutyTaxFeeTotal || 0,
|
|
82
|
+
isForeign: true,
|
|
83
|
+
}))),
|
|
84
|
+
isLoading: collectStore.isFetchingShippingInfo,
|
|
85
|
+
skeletonHeight: '14px',
|
|
86
|
+
skeletonWidth: '150px',
|
|
87
|
+
}))), h("tr", { key: 'ff9ffa08886829765a5c5c5120fdf450dab78d70', class: "zonos--row zonos--collect-total" }, h("td", { key: '1d3169797facacf6824badd69996a8d4671fa21f', class: "zonos--column" }), h("td", { key: '559350e976dae25212dab5dc3bd4a3c27ddb50e3', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '926be9acc7b9bc06755319a2af594a76ddc0ab2e', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: '22d88d0f09b37aaf521b6e535b31fdcb00b18faa', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
88
|
+
content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
|
|
89
|
+
amount: collectStore.amountDutyTaxFeeTotal || 0,
|
|
90
|
+
isForeign: true,
|
|
91
|
+
}))),
|
|
92
|
+
isLoading: collectStore.isFetchingShippingInfo,
|
|
93
|
+
skeletonHeight: '14px',
|
|
94
|
+
skeletonWidth: '150px',
|
|
95
|
+
}))))));
|
|
96
|
+
}
|
|
97
|
+
static get is() { return "zonos-collect-subtotal"; }
|
|
98
|
+
static get encapsulation() { return "shadow"; }
|
|
99
|
+
static get originalStyleUrls() {
|
|
100
|
+
return {
|
|
101
|
+
"$": ["zonos-collect-subtotal.scss"]
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
static get styleUrls() {
|
|
105
|
+
return {
|
|
106
|
+
"$": ["zonos-collect-subtotal.css"]
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
static get assetsDirs() { return ["assets"]; }
|
|
110
|
+
static get states() {
|
|
111
|
+
return {
|
|
112
|
+
"subtotals": {}
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,349 @@
|
|
|
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
|
+
z-index: 2147483647;
|
|
36
|
+
position: fixed;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
align-items: center;
|
|
44
|
+
background-color: var(--zonos-elements-gray-0);
|
|
45
|
+
}
|
|
46
|
+
:host * {
|
|
47
|
+
overscroll-behavior: contain;
|
|
48
|
+
}
|
|
49
|
+
:host *::-webkit-scrollbar {
|
|
50
|
+
width: 10px;
|
|
51
|
+
}
|
|
52
|
+
:host *::-webkit-scrollbar-track {
|
|
53
|
+
background: var(--zonos-elements-gray-50);
|
|
54
|
+
}
|
|
55
|
+
:host *::-webkit-scrollbar-thumb {
|
|
56
|
+
border-radius: 10px;
|
|
57
|
+
background: #cccccc;
|
|
58
|
+
border: 3px solid transparent;
|
|
59
|
+
background-clip: content-box;
|
|
60
|
+
}
|
|
61
|
+
:host *::-webkit-scrollbar-thumb:hover {
|
|
62
|
+
background: #d6d6d6;
|
|
63
|
+
}
|
|
64
|
+
:host .zonos--content {
|
|
65
|
+
display: flex;
|
|
66
|
+
height: 100%;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
width: 100%;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
}
|
|
71
|
+
:host .zonos--content .zonos--left,
|
|
72
|
+
:host .zonos--content .zonos--right {
|
|
73
|
+
flex: 1;
|
|
74
|
+
padding: 56px 80px 60px;
|
|
75
|
+
max-width: 800px;
|
|
76
|
+
}
|
|
77
|
+
:host .zonos--content .zonos--left {
|
|
78
|
+
background-color: var(--zonos--primary-color, var(--zonos-elements-gray-0));
|
|
79
|
+
border-right: 1px solid var(--zonos-elements-gray-200);
|
|
80
|
+
overflow: auto;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
gap: 32px;
|
|
84
|
+
}
|
|
85
|
+
:host .zonos--content .zonos--right {
|
|
86
|
+
background-color: var(--zonos-elements-gray-0);
|
|
87
|
+
}
|
|
88
|
+
:host .zonos--content .zonos--done {
|
|
89
|
+
width: 100%;
|
|
90
|
+
max-width: 1400px;
|
|
91
|
+
max-height: 100%;
|
|
92
|
+
height: calc(100% - 100px);
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
background-color: var(--zonos-elements-gray-0);
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
padding: 24px;
|
|
99
|
+
padding-bottom: 50px;
|
|
100
|
+
}
|
|
101
|
+
:host .zonos--content .zonos--done .zonos--header {
|
|
102
|
+
display: flex;
|
|
103
|
+
justify-content: space-between;
|
|
104
|
+
align-items: center;
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
:host .zonos--content .zonos--done .zonos--logo {
|
|
108
|
+
margin-bottom: 0;
|
|
109
|
+
}
|
|
110
|
+
:host .zonos--content .zonos--done zonos-checkout-finish {
|
|
111
|
+
flex: 1;
|
|
112
|
+
}
|
|
113
|
+
:host .zonos--header-title,
|
|
114
|
+
:host .zonos--header-wrapper {
|
|
115
|
+
max-width: 800px;
|
|
116
|
+
}
|
|
117
|
+
:host .zonos--left {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
position: relative;
|
|
121
|
+
}
|
|
122
|
+
:host .zonos--left .zonos--wrapper {
|
|
123
|
+
padding: 0 8px 8px;
|
|
124
|
+
}
|
|
125
|
+
:host .zonos--left .zonos--payment-error-banner {
|
|
126
|
+
margin-top: 24px;
|
|
127
|
+
}
|
|
128
|
+
:host .zonos--right {
|
|
129
|
+
position: relative;
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
}
|
|
133
|
+
:host .zonos--right .zonos--order-details-container {
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
}
|
|
136
|
+
:host .zonos--wrapper {
|
|
137
|
+
overflow: auto;
|
|
138
|
+
max-height: 100%;
|
|
139
|
+
position: relative;
|
|
140
|
+
}
|
|
141
|
+
:host .flex--wrapper {
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
max-height: 100%;
|
|
145
|
+
margin-top: 32px;
|
|
146
|
+
}
|
|
147
|
+
:host .zonos--logo-wrapper {
|
|
148
|
+
display: flex;
|
|
149
|
+
gap: 16px;
|
|
150
|
+
align-items: center;
|
|
151
|
+
flex: 1;
|
|
152
|
+
}
|
|
153
|
+
:host .zonos--logo-wrapper > * {
|
|
154
|
+
height: fit-content;
|
|
155
|
+
}
|
|
156
|
+
:host .zonos--header-right {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
159
|
+
:host .zonos--logo {
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
}
|
|
163
|
+
:host .zonos--logo img {
|
|
164
|
+
max-height: 72px;
|
|
165
|
+
}
|
|
166
|
+
:host .zonos--collect-container {
|
|
167
|
+
overflow: visible;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host(.mobile),
|
|
171
|
+
:host(.tablet) {
|
|
172
|
+
min-width: auto;
|
|
173
|
+
}
|
|
174
|
+
:host(.mobile) .zonos--content,
|
|
175
|
+
:host(.tablet) .zonos--content {
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
overflow: auto;
|
|
179
|
+
border-radius: 0;
|
|
180
|
+
max-height: 100%;
|
|
181
|
+
height: 100%;
|
|
182
|
+
border: 0;
|
|
183
|
+
}
|
|
184
|
+
:host(.mobile) .zonos--content .zonos--left,
|
|
185
|
+
:host(.mobile) .zonos--content .zonos--right,
|
|
186
|
+
:host(.tablet) .zonos--content .zonos--left,
|
|
187
|
+
:host(.tablet) .zonos--content .zonos--right {
|
|
188
|
+
padding: 12px;
|
|
189
|
+
padding-bottom: 76px;
|
|
190
|
+
}
|
|
191
|
+
@media (max-width: 768px) {
|
|
192
|
+
:host(.mobile) .zonos--content .zonos--left,
|
|
193
|
+
:host(.mobile) .zonos--content .zonos--right,
|
|
194
|
+
:host(.tablet) .zonos--content .zonos--left,
|
|
195
|
+
:host(.tablet) .zonos--content .zonos--right {
|
|
196
|
+
padding-bottom: 0;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
:host(.mobile) .zonos--content .zonos--left,
|
|
200
|
+
:host(.tablet) .zonos--content .zonos--left {
|
|
201
|
+
order: 2;
|
|
202
|
+
border-right: none;
|
|
203
|
+
}
|
|
204
|
+
:host(.mobile) .zonos--content .zonos--right,
|
|
205
|
+
:host(.tablet) .zonos--content .zonos--right {
|
|
206
|
+
order: 1;
|
|
207
|
+
padding-top: 16px;
|
|
208
|
+
}
|
|
209
|
+
:host(.mobile) .zonos--content .zonos--right .zonos--wrapper,
|
|
210
|
+
:host(.tablet) .zonos--content .zonos--right .zonos--wrapper {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: column;
|
|
213
|
+
border: var(--zonos-elements-border);
|
|
214
|
+
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
215
|
+
background-color: var(--zonos-elements-gray-50);
|
|
216
|
+
padding: 12px;
|
|
217
|
+
margin-top: 32px;
|
|
218
|
+
}
|
|
219
|
+
:host(.mobile) .zonos--content .zonos--right .zonos--review,
|
|
220
|
+
:host(.tablet) .zonos--content .zonos--right .zonos--review {
|
|
221
|
+
margin-bottom: 0;
|
|
222
|
+
}
|
|
223
|
+
:host(.mobile) .zonos--content .zonos--right .zonos--cart-items,
|
|
224
|
+
:host(.tablet) .zonos--content .zonos--right .zonos--cart-items {
|
|
225
|
+
margin-top: 8px;
|
|
226
|
+
}
|
|
227
|
+
:host(.mobile) .zonos--content zonos-checkout-footer,
|
|
228
|
+
:host(.tablet) .zonos--content zonos-checkout-footer {
|
|
229
|
+
order: 3;
|
|
230
|
+
}
|
|
231
|
+
:host(.mobile) .zonos--content .zonos--wrapper,
|
|
232
|
+
:host(.tablet) .zonos--content .zonos--wrapper {
|
|
233
|
+
max-height: 100%;
|
|
234
|
+
}
|
|
235
|
+
:host(.mobile) .zonos--content .zonos--footer,
|
|
236
|
+
:host(.tablet) .zonos--content .zonos--footer {
|
|
237
|
+
order: 3;
|
|
238
|
+
}
|
|
239
|
+
:host(.mobile) .zonos--content .zonos--done,
|
|
240
|
+
:host(.tablet) .zonos--content .zonos--done {
|
|
241
|
+
width: auto;
|
|
242
|
+
}
|
|
243
|
+
:host(.mobile) .zonos--cart-subtotal,
|
|
244
|
+
:host(.tablet) .zonos--cart-subtotal {
|
|
245
|
+
margin: 0;
|
|
246
|
+
}
|
|
247
|
+
:host(.mobile) .zonos--header-wrapper,
|
|
248
|
+
:host(.tablet) .zonos--header-wrapper {
|
|
249
|
+
position: sticky;
|
|
250
|
+
top: 0;
|
|
251
|
+
width: 100%;
|
|
252
|
+
padding: 16px;
|
|
253
|
+
background-color: var(--zonos-elements-gray-0);
|
|
254
|
+
z-index: 3;
|
|
255
|
+
}
|
|
256
|
+
:host(.mobile) .zonos--header-title,
|
|
257
|
+
:host(.mobile) .zonos--header-wrapper,
|
|
258
|
+
:host(.tablet) .zonos--header-title,
|
|
259
|
+
:host(.tablet) .zonos--header-wrapper {
|
|
260
|
+
max-width: 800px;
|
|
261
|
+
padding: 0 16px;
|
|
262
|
+
}
|
|
263
|
+
:host(.mobile) .zonos--content,
|
|
264
|
+
:host(.tablet) .zonos--content {
|
|
265
|
+
overflow: auto;
|
|
266
|
+
justify-content: unset;
|
|
267
|
+
align-items: center;
|
|
268
|
+
gap: 24px;
|
|
269
|
+
}
|
|
270
|
+
:host(.mobile) .zonos--content .zonos--left,
|
|
271
|
+
:host(.mobile) .zonos--content .zonos--right,
|
|
272
|
+
:host(.tablet) .zonos--content .zonos--left,
|
|
273
|
+
:host(.tablet) .zonos--content .zonos--right {
|
|
274
|
+
overflow: visible;
|
|
275
|
+
width: 100%;
|
|
276
|
+
}
|
|
277
|
+
:host(.mobile) .zonos--content .zonos--right,
|
|
278
|
+
:host(.tablet) .zonos--content .zonos--right {
|
|
279
|
+
gap: 32px;
|
|
280
|
+
}
|
|
281
|
+
:host(.mobile) .flex--wrapper,
|
|
282
|
+
:host(.tablet) .flex--wrapper {
|
|
283
|
+
margin-top: 0;
|
|
284
|
+
}
|
|
285
|
+
:host(.mobile) zonos-collect-footer,
|
|
286
|
+
:host(.tablet) zonos-collect-footer {
|
|
287
|
+
order: 3;
|
|
288
|
+
left: 0;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host(.tablet) .zonos--header-wrapper {
|
|
292
|
+
padding-top: 56px;
|
|
293
|
+
top: -56px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:host(.mobile) .zonos--content .zonos--header-right {
|
|
297
|
+
display: flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
}
|
|
300
|
+
:host(.mobile) .zonos--header-wrapper {
|
|
301
|
+
padding-top: 28px;
|
|
302
|
+
top: -28px;
|
|
303
|
+
}
|
|
304
|
+
:host(.mobile) .zonos--collect-language-dialog {
|
|
305
|
+
position: fixed;
|
|
306
|
+
left: 0;
|
|
307
|
+
right: 0;
|
|
308
|
+
bottom: 0;
|
|
309
|
+
transform-origin: bottom center;
|
|
310
|
+
width: 100vw;
|
|
311
|
+
background: var(--zonos-elements-surface-color);
|
|
312
|
+
box-shadow: var(--zonos-elements-v3-shadow-xl);
|
|
313
|
+
border-radius: var(--zonos-elements-radius-12);
|
|
314
|
+
max-width: 100vw;
|
|
315
|
+
max-height: 500px;
|
|
316
|
+
z-index: 2147483011;
|
|
317
|
+
overflow: auto;
|
|
318
|
+
transform: scale(0);
|
|
319
|
+
opacity: 0;
|
|
320
|
+
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
|
|
321
|
+
overscroll-behavior: contain;
|
|
322
|
+
}
|
|
323
|
+
:host(.mobile) .zonos--collect-language-dialog::-webkit-scrollbar {
|
|
324
|
+
width: 10px;
|
|
325
|
+
}
|
|
326
|
+
:host(.mobile) .zonos--collect-language-dialog::-webkit-scrollbar-track {
|
|
327
|
+
background: var(--zonos-elements-gray-50);
|
|
328
|
+
}
|
|
329
|
+
:host(.mobile) .zonos--collect-language-dialog::-webkit-scrollbar-thumb {
|
|
330
|
+
border-radius: 10px;
|
|
331
|
+
background: #cccccc;
|
|
332
|
+
border: 3px solid transparent;
|
|
333
|
+
background-clip: content-box;
|
|
334
|
+
}
|
|
335
|
+
:host(.mobile) .zonos--collect-language-dialog::-webkit-scrollbar-thumb:hover {
|
|
336
|
+
background: #d6d6d6;
|
|
337
|
+
}
|
|
338
|
+
:host(.mobile) .zonos--collect-language-dialog::-webkit-scrollbar-track {
|
|
339
|
+
border-top-right-radius: var(--zonos-elements-radius-12);
|
|
340
|
+
border-bottom-right-radius: var(--zonos-elements-radius-12);
|
|
341
|
+
}
|
|
342
|
+
:host(.mobile) .zonos--collect-language-dialog.zonos--collect-language-dialog-open {
|
|
343
|
+
opacity: 1;
|
|
344
|
+
transform: scale(1);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
:host(.iframed) .zonos--content {
|
|
348
|
+
overscroll-behavior: auto;
|
|
349
|
+
}
|