@zonos/elements 1.3.241 → 1.3.243
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-376f0f29.js → cart-6d254f1a.js} +3 -1
- package/dist/cjs/{hasInclusivePrice-2e306ea5.js → hasInclusivePrice-ac0440e7.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-856220a7.js → invoice-8984eb26.js} +2 -2
- package/dist/cjs/{isCollectMobileTablet-72ea7338.js → isCollectMobileTablet-7e929884.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-08aa03da.js → localization-ec5a6780.js} +120 -0
- package/dist/cjs/{paypal-ef7e2610.js → paypal-0f4b77fd.js} +2 -2
- package/dist/cjs/{placeTestOrder-427786ae.js → placeTestOrder-6cc9d040.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-9057dec8.js → renderCheckoutCurrency-df60f3a6.js} +2 -2
- package/dist/cjs/zonos-address-display_9.cjs.entry.js +20 -20
- package/dist/cjs/zonos-address_4.cjs.entry.js +5 -5
- package/dist/cjs/zonos-card_5.cjs.entry.js +5 -5
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +9 -9
- package/dist/cjs/zonos-checkout.cjs.entry.js +119 -79
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
- 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 +5 -5
- 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 +4 -4
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
- 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-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +13 -3
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +8 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +41 -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-stripe-select/zonos-stripe-select.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/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/components/utils/api/triggerBuildLandedCost.js +3 -0
- package/dist/collection/components/utils/checkout/isShippableCountry.js +15 -1
- package/dist/collection/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.js +129 -0
- package/dist/collection/types/generated/graphql.internal.types.js +2 -0
- package/dist/esm/{cart-60532eb4.js → cart-00134a17.js} +4 -2
- package/dist/esm/{hasInclusivePrice-736c9eec.js → hasInclusivePrice-f41e52b8.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-cbb44b0b.js → invoice-4a8178f8.js} +2 -2
- package/dist/esm/{isCollectMobileTablet-e5503ab8.js → isCollectMobileTablet-70fa91b6.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-285da14c.js → localization-ee8bb238.js} +120 -0
- package/dist/esm/{paypal-ac12eedb.js → paypal-2e28d0e7.js} +2 -2
- package/dist/esm/{placeTestOrder-bba48f55.js → placeTestOrder-aa884e31.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-0176e66f.js → renderCheckoutCurrency-54994d08.js} +2 -2
- package/dist/esm/zonos-address-display_9.entry.js +20 -20
- package/dist/esm/zonos-address_4.entry.js +5 -5
- package/dist/esm/zonos-card_5.entry.js +5 -5
- package/dist/esm/zonos-cart-items_12.entry.js +9 -9
- package/dist/esm/zonos-checkout.entry.js +120 -80
- package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
- package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
- package/dist/esm/zonos-collect.entry.js +4 -4
- 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 +5 -5
- 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 +4 -4
- package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
- 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-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/cart-00134a17.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-736c9eec.js → hasInclusivePrice-f41e52b8.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-cbb44b0b.js → invoice-4a8178f8.js} +1 -1
- package/dist/esm-es5/{isCollectMobileTablet-e5503ab8.js → isCollectMobileTablet-70fa91b6.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/localization-ee8bb238.js +1 -0
- package/dist/esm-es5/{paypal-ac12eedb.js → paypal-2e28d0e7.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-bba48f55.js → placeTestOrder-aa884e31.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-0176e66f.js → renderCheckoutCurrency-54994d08.js} +1 -1
- package/dist/esm-es5/zonos-address-display_9.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.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-checkout.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-stripe-input.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 +34 -2
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +4 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +8 -0
- 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/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/triggerBuildLandedCost.d.ts +3 -1
- package/dist/types/components/utils/checkout/isShippableCountry.d.ts +2 -1
- package/dist/types/components/utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect.d.ts +24 -0
- package/dist/types/components.d.ts +16 -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 +14 -2
- package/dist/types/types/generated/graphql.internal.types.ts +15 -3
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-069e8b40.entry.js +1 -0
- package/dist/zonos-elements/{p-de517648.entry.js → p-0a1b82df.entry.js} +1 -1
- package/dist/zonos-elements/p-0e70900c.entry.js +1 -0
- package/dist/zonos-elements/{p-3a8a6092.system.js → p-0fcd7a94.system.js} +1 -1
- package/dist/zonos-elements/{p-22e26d61.entry.js → p-10b1f35f.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ed81f5d.system.js → p-11e79ab7.system.js} +1 -1
- package/dist/zonos-elements/{p-5afb9260.system.entry.js → p-14c920b2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-32fddb6d.system.entry.js → p-1db4ae37.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-149365e3.system.entry.js → p-20c5d640.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-59a76f73.entry.js → p-231baaf8.entry.js} +1 -1
- package/dist/zonos-elements/{p-8dc025c7.system.entry.js → p-232b0fb5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c5195813.entry.js → p-29bb70e0.entry.js} +1 -1
- package/dist/zonos-elements/{p-8792fef2.system.entry.js → p-2c2a1339.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2dd9b3e0.entry.js +1 -0
- package/dist/zonos-elements/p-343dee8b.system.js +1 -0
- package/dist/zonos-elements/{p-bd603c1a.entry.js → p-3e67ca05.entry.js} +1 -1
- package/dist/zonos-elements/{p-8fd37163.entry.js → p-41147617.entry.js} +1 -1
- package/dist/zonos-elements/{p-13927760.system.entry.js → p-47f02d2a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4d2ed8d5.js +1 -0
- package/dist/zonos-elements/{p-de5a68c3.system.entry.js → p-4fc549f4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-56107bdf.system.entry.js +1 -0
- package/dist/zonos-elements/{p-2ab3f86c.system.entry.js → p-599347f4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-62cfcd21.system.entry.js → p-60443628.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-61aa9365.system.entry.js → p-633017f0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-675dd093.system.js +1 -0
- package/dist/zonos-elements/{p-60397a04.system.entry.js → p-67e19c00.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3e30e203.system.js → p-68f419f1.system.js} +1 -1
- package/dist/zonos-elements/{p-4954a927.system.entry.js → p-6b1091f1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-706d1537.entry.js → p-6beaff11.entry.js} +1 -1
- package/dist/zonos-elements/{p-f04c208e.js → p-6d82c3a4.js} +2 -2
- package/dist/zonos-elements/p-6dc9b9e5.js +1 -0
- package/dist/zonos-elements/{p-85205ac8.system.js → p-6fad6110.system.js} +1 -1
- package/dist/zonos-elements/{p-4dfd33d9.entry.js → p-73e79407.entry.js} +1 -1
- package/dist/zonos-elements/p-752dae00.system.js +1 -0
- package/dist/zonos-elements/{p-fc43442d.system.entry.js → p-75813a38.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-df69f036.entry.js → p-7a4a4b52.entry.js} +1 -1
- package/dist/zonos-elements/{p-2f869f2c.system.entry.js → p-84cf1a90.system.entry.js} +1 -1
- package/dist/zonos-elements/p-899c3878.system.entry.js +1 -0
- package/dist/zonos-elements/{p-944d00da.entry.js → p-8f0f6449.entry.js} +1 -1
- package/dist/zonos-elements/{p-90f58466.system.entry.js → p-90e10b7e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-914149a4.js +1 -0
- package/dist/zonos-elements/{p-ba456282.system.entry.js → p-917f714c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fc64f69d.entry.js → p-9691381e.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a19ae6e.system.js → p-975c6928.system.js} +1 -1
- package/dist/zonos-elements/{p-14314ad3.entry.js → p-9c49daa4.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5c31ca4.system.entry.js → p-9fa90292.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9e29a4a3.entry.js → p-a04c7b1e.entry.js} +1 -1
- package/dist/zonos-elements/{p-121c60c1.system.entry.js → p-a359e0a2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fa322dc1.entry.js → p-aa028d91.entry.js} +1 -1
- package/dist/zonos-elements/{p-79b9aee4.system.entry.js → p-af7e37c1.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b3dbe0ec.system.js +1 -0
- package/dist/zonos-elements/{p-264690d7.entry.js → p-c01f86b4.entry.js} +1 -1
- package/dist/zonos-elements/{p-f2614438.js → p-c02e3fef.js} +1 -1
- package/dist/zonos-elements/{p-d9007f2e.system.entry.js → p-c11668b5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-865536f0.entry.js → p-c1fb3a2d.entry.js} +1 -1
- package/dist/zonos-elements/p-c2442878.system.js +1 -1
- package/dist/zonos-elements/{p-e0227f2c.entry.js → p-c8e5bb8a.entry.js} +1 -1
- package/dist/zonos-elements/{p-328990f0.js → p-c9db8939.js} +1 -1
- package/dist/zonos-elements/{p-094f9c5a.entry.js → p-cfb2b5c7.entry.js} +1 -1
- package/dist/zonos-elements/{p-89a5e936.system.entry.js → p-cfb9b847.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d042455d.entry.js +1 -0
- package/dist/zonos-elements/p-dbea1f9b.entry.js +1 -0
- package/dist/zonos-elements/{p-9f1bd9b8.entry.js → p-dcf999d8.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c7edad5.system.entry.js → p-e3b4a218.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7eae7c62.entry.js → p-ea1d5802.entry.js} +1 -1
- package/dist/zonos-elements/p-f5cfce05.js +1 -0
- package/dist/zonos-elements/{p-dfb429d7.system.entry.js → p-f7e6c1b5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fab5f272.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-60532eb4.js +0 -1
- package/dist/esm-es5/localization-285da14c.js +0 -1
- package/dist/zonos-elements/p-0307e4ac.entry.js +0 -1
- package/dist/zonos-elements/p-0c977c47.system.js +0 -1
- package/dist/zonos-elements/p-1a5a23ed.js +0 -1
- package/dist/zonos-elements/p-3ef06605.js +0 -1
- package/dist/zonos-elements/p-5a5c06ad.entry.js +0 -1
- package/dist/zonos-elements/p-664da916.entry.js +0 -1
- package/dist/zonos-elements/p-83bf52d6.js +0 -1
- package/dist/zonos-elements/p-87bed9ec.system.js +0 -1
- package/dist/zonos-elements/p-ab195686.system.js +0 -1
- package/dist/zonos-elements/p-b152859d.system.entry.js +0 -1
- package/dist/zonos-elements/p-b408debb.system.entry.js +0 -1
- package/dist/zonos-elements/p-c3533444.entry.js +0 -1
- package/dist/zonos-elements/p-cd12c86c.system.js +0 -1
- package/dist/zonos-elements/p-e5ee64c0.entry.js +0 -1
- package/dist/zonos-elements/p-e8f4da3a.js +0 -1
- package/dist/zonos-elements/p-f73d243a.js +0 -1
|
@@ -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: 'fc34e62d3d9712120d2356f1bdc8ad42b26d122a', style: {
|
|
24
24
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
25
|
-
} }, index.h("div", { key: '
|
|
25
|
+
} }, index.h("div", { key: 'd246b49b618860f01c3f1b8c439c1be361ca656f', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '043fde36321157373196c9120a774c78a0fc46ce' }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
VStack.style = ZonosVStackStyle0;
|
|
@@ -18,7 +18,7 @@ import { getIsTestMode } from "../../utils/checkout/getIsTestMode";
|
|
|
18
18
|
import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
|
|
19
19
|
import { isDisabledCountry } from "../../utils/checkout/isDisabledCountry";
|
|
20
20
|
import { isShippableCountry } from "../../utils/checkout/isShippableCountry";
|
|
21
|
-
import {
|
|
21
|
+
import { watchImmediateBigcommerceDomesticCheckoutRedirect } from "../../utils/checkout/watchImmediateBigcommerceDomesticCheckoutRedirect";
|
|
22
22
|
import { classes } from "../../utils/classes";
|
|
23
23
|
import { createCustomEvent } from "../../utils/createCustomEvent";
|
|
24
24
|
import { getBorderRadius } from "../../utils/getBorderRadius";
|
|
@@ -134,6 +134,10 @@ export class ZonosCheckout {
|
|
|
134
134
|
* Whether or not the fedex shipping dialog should be shown
|
|
135
135
|
*/
|
|
136
136
|
this.shouldShowFedexShippingConsentDialog = false;
|
|
137
|
+
/**
|
|
138
|
+
* Whether or not the domestic checkout dialog should be shown
|
|
139
|
+
*/
|
|
140
|
+
this.detectedDomesticCheckoutDialogOpen = false;
|
|
137
141
|
/**
|
|
138
142
|
* Client secret value
|
|
139
143
|
*/
|
|
@@ -987,8 +991,13 @@ export class ZonosCheckout {
|
|
|
987
991
|
cartStore.isStagingMode = this.overrideStagingMode;
|
|
988
992
|
}
|
|
989
993
|
// check if bigcommerce, if user enters the shipping address that's in the shipping zone at bigcommerce checkout
|
|
990
|
-
|
|
994
|
+
watchImmediateBigcommerceDomesticCheckoutRedirect({
|
|
991
995
|
domesticRedirectedBtnSelector: domesticRedirectedBtnSelector,
|
|
996
|
+
onInternationalCheckoutSelected: async () => {
|
|
997
|
+
this.detectedDomesticCheckoutDialogOpen = true;
|
|
998
|
+
// wait for 2 secs
|
|
999
|
+
await new Promise(resolve => setTimeout(resolve, 2000));
|
|
1000
|
+
},
|
|
992
1001
|
onShippingAddressSessionFound: shippingAddressSession => {
|
|
993
1002
|
// prefilled the default address if shipping address session is found for checkout on open
|
|
994
1003
|
this.defaultAddress = [
|
|
@@ -1501,7 +1510,7 @@ export class ZonosCheckout {
|
|
|
1501
1510
|
this.isMobile && 'mobile',
|
|
1502
1511
|
this.isIframed && 'iframed',
|
|
1503
1512
|
this.hiddenMode && 'hidden-mode',
|
|
1504
|
-
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-confirm-dialog", { class: "zonos--close-confirm-dialog", dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
|
|
1513
|
+
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-dialog", { isLoading: true, loadingText: translate('You will be redirected to international checkout shortly.'), loadingTitle: translate('We detected that you are shipping to an international address.'), noClickOutside: true, noCloseButton: true, open: this.detectedDomesticCheckoutDialogOpen, width: "450px" }), h("zonos-confirm-dialog", { class: "zonos--close-confirm-dialog", dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
|
|
1505
1514
|
this.confirmDialogOpen = false;
|
|
1506
1515
|
},
|
|
1507
1516
|
// Mark user selected confirm to close the dialog
|
|
@@ -1737,6 +1746,7 @@ export class ZonosCheckout {
|
|
|
1737
1746
|
"inventoryCheckErrorMessage": {},
|
|
1738
1747
|
"placedOrderInfo": {},
|
|
1739
1748
|
"shouldShowFedexShippingConsentDialog": {},
|
|
1749
|
+
"detectedDomesticCheckoutDialogOpen": {},
|
|
1740
1750
|
"clientSecret": {},
|
|
1741
1751
|
"stripeCustomerSessionClientSecret": {}
|
|
1742
1752
|
};
|
|
@@ -55,10 +55,18 @@
|
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
57
|
justify-content: center;
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
gap: 4px;
|
|
58
60
|
z-index: 2147483009;
|
|
59
61
|
background: var(--zonos-elements-gray-0);
|
|
60
62
|
border-radius: var(--zonos--border-radius, var(--zonos-elements-radius-10));
|
|
61
63
|
}
|
|
64
|
+
:host .zonos--loading-text,
|
|
65
|
+
:host .zonos--loading-title {
|
|
66
|
+
max-width: 100%;
|
|
67
|
+
padding: 0 32px;
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
62
70
|
:host .zonos--dialog-layout {
|
|
63
71
|
width: 100vw;
|
|
64
72
|
height: 100vh;
|
|
@@ -86,7 +86,7 @@ export class ZonosDialog {
|
|
|
86
86
|
const borderStyle = getBorderRadius({
|
|
87
87
|
overrideBorderStyle: this.borderStyle,
|
|
88
88
|
});
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '3764ddd25cf29e7b5ebc420c2fc47de213d2bcd6', class: classes([
|
|
90
90
|
'zonos--elements',
|
|
91
91
|
this.open && 'open',
|
|
92
92
|
this.isLoading && 'is-loading',
|
|
@@ -98,10 +98,10 @@ export class ZonosDialog {
|
|
|
98
98
|
'--zonos--height': this.height || 'initial',
|
|
99
99
|
'--zonos--min-height': this.minHeight || '500px',
|
|
100
100
|
'--zonos--width': this.width,
|
|
101
|
-
} }, h("div", { key: '
|
|
101
|
+
} }, h("div", { key: 'aded0d33e4605a40b107e89fcbc95ef024b187f7', class: "zonos--backdrop" }), h("div", { key: '55500b0bb118be90d474fc758f979ac3f317d52e', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, h("div", { key: 'a21fa7808c16df11cab8800279774abb38828f1b', class: "zonos--dialog" }, this.isLoading && (h("div", { key: 'b8e9229591ad83446400deafdf5bee284091f1d9', class: "zonos--loading" }, h("zonos-spinner", { key: 'f284c8604d8710be60a725fa8c23c04f32e44b1f', size: 30 }), this.loadingTitle && (h("zonos-text", { key: '16d605c9272d9bdbb2d8b7f2d5685978cc2cf6eb', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (h("zonos-text", { key: '0e9acec26d8502781ad8c853959740ece8fd2907', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (h("div", { key: '77d2dac98791ddea7e3bc3ab0e740c0b170072d8', class: "zonos--header" }, this.headerText && (h("h3", { key: 'f8b07366a4a9d5cd1686d7e3663ce0f6ba401ec7', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (h("zonos-button", { key: '8c82dbf7d636715f3a391fe13ced4e3bc0ee079c', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), h("div", { key: 'd44cbf2cbb551043502e5e0c80048adeffaaf303', class: classes([
|
|
102
102
|
'zonos--body',
|
|
103
103
|
this.noBodyPadding && 'zonos--no-body-padding',
|
|
104
|
-
]) }, h("slot", { key: '
|
|
104
|
+
]) }, h("slot", { key: '508a3fcc6fbfdec55033a584e235ba9fd9e7448f' })), h("slot", { key: '1f24ec0974cd1def288b744d6aa68399367aefd8', name: "dialog-footer" })))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "zonos-dialog"; }
|
|
107
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -245,6 +245,44 @@ export class ZonosDialog {
|
|
|
245
245
|
"reflect": false,
|
|
246
246
|
"defaultValue": "false"
|
|
247
247
|
},
|
|
248
|
+
"loadingTitle": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "string",
|
|
253
|
+
"resolved": "string | undefined",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": true,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "The title of the loading text"
|
|
261
|
+
},
|
|
262
|
+
"getter": false,
|
|
263
|
+
"setter": false,
|
|
264
|
+
"attribute": "loading-title",
|
|
265
|
+
"reflect": false
|
|
266
|
+
},
|
|
267
|
+
"loadingText": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "string",
|
|
272
|
+
"resolved": "string | undefined",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": true,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": "The text that will be shown while loading"
|
|
280
|
+
},
|
|
281
|
+
"getter": false,
|
|
282
|
+
"setter": false,
|
|
283
|
+
"attribute": "loading-text",
|
|
284
|
+
"reflect": false
|
|
285
|
+
},
|
|
248
286
|
"noBodyPadding": {
|
|
249
287
|
"type": "boolean",
|
|
250
288
|
"mutable": false,
|
|
@@ -10,10 +10,10 @@ export class HStack {
|
|
|
10
10
|
this.spacing = 24;
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '443aa77bfbf4c0c84c33d0ef7652caec001968c3', style: {
|
|
14
14
|
'--spacing': `${this.spacing}px`,
|
|
15
15
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: '3366df34b9f0f3549e556cff1e47878c2f6cd124' })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "zonos-h-stack"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,17 +31,17 @@ export class ZonosInput {
|
|
|
31
31
|
this.inputChange.emit(newValue);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '2058e48c7754e4e1eb0d9e380e332c90eed29ab8', class: classes([
|
|
35
35
|
'zonos--input zonos--elements',
|
|
36
36
|
this.inputSize,
|
|
37
37
|
this.isError && 'has-error',
|
|
38
38
|
]), style: {
|
|
39
39
|
'--zonos--border-radius': getBorderRadius(),
|
|
40
40
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
41
|
-
} }, h("div", { key: '
|
|
41
|
+
} }, h("div", { key: '192f4c0397125951a4bad39d844cd62237c56ce7', class: classes([
|
|
42
42
|
'zonos--label-wrapper',
|
|
43
43
|
this.isDisabled && 'disabled',
|
|
44
|
-
]) }, h("input", { key: '
|
|
44
|
+
]) }, h("input", { key: 'bde7df1a30edf835435f742770e21b4d594143bf', class: classes([
|
|
45
45
|
'zonos--floated-input',
|
|
46
46
|
!!this.inputLabel && 'has-label',
|
|
47
47
|
this.inputValue && 'has-content',
|
|
@@ -49,7 +49,7 @@ export class ZonosInput {
|
|
|
49
49
|
]), disabled: this.isDisabled, onInput: e => {
|
|
50
50
|
const input = e.target;
|
|
51
51
|
this.inputChange.emit(input.value);
|
|
52
|
-
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '
|
|
52
|
+
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: 'd611183e95d828086adac38dc493512f46d22e23', class: "zonos--floated-label", "data-label": this.inputLabel }))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "zonos-input"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,9 +20,9 @@ export class ZonosLanguageSelect {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const { selectedLocale } = localizationStore;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '748efbe1de696c0e1f52cef03d86f211c1e5f505', class: "zonos--elements", style: {
|
|
24
24
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
25
|
-
} }, h("div", { key: '
|
|
25
|
+
} }, h("div", { key: '97dd3f26dd5aff625b26a08125737f915bfbd112', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '8c00e1cf6d7addf5b817e07c1fb1b492cfb5775f', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: '0260631e4303d5cee5035f31667203e4e3417a76', class: "zonos--language-select-content" }, languages.map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "zonos-language-select"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class ZonosLink {
|
|
|
7
7
|
this.href = '';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'a6077a6f0105ec4be45de0cb548ef1e32a28deb6', class: "zonos--elements" }, h("a", { key: '7f3ec0258909c2da08f758165a93abd3ab497a42', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '774e15fa5c093041ac06a0a9bcac0446d7ce54fc' }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "zonos-link"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class ZonosLoadingOverlay {
|
|
|
13
13
|
this.size = 40;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '13154a3c9250f15d8dca292f0673c6465bfb15e0', class: classes(['zonos--elements', this.open && 'zonos--open']) }, h("div", { key: '4470fccd21e58bd7959ef3e20c8775ac637cace0', class: "zonos--loading-overlay" }, h("zonos-spinner", { key: '5b32b821cea982866da56176eeaafd5d8958f25d', size: this.size, spinnerColor: this.spinnerColor }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "zonos-loading-overlay"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,11 +16,11 @@ export class ZonosLogo {
|
|
|
16
16
|
const filterColor = this.theme === 'DARK'
|
|
17
17
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
18
18
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'f7a7ecb8ea16dfec9df297e35a9618ad56d5e60a', class: classes(['zonos--elements zonos--logo']), style: {
|
|
20
20
|
'--zonos--filter-color': filterColor,
|
|
21
21
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
22
22
|
'--zonos--width': this.width,
|
|
23
|
-
} }, h("img", { key: '
|
|
23
|
+
} }, h("img", { key: '70ea211dfc9973b17dd4b63763913190e70ca980', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "zonos-logo"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,11 +14,11 @@ export class ZonosRestState {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const imageUrl = this.getImageRestState();
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '2d9be86849c6ff2f039ca21676cbdf912538eb1d', class: classes(['zonos--elements zonos--restState']), style: {
|
|
18
18
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
19
|
-
} }, h("div", { key: '
|
|
19
|
+
} }, h("div", { key: 'f538f05fe92eca4ee05daf72ee3387bea337c20c', class: "zonos--restState-image" }, h("img", { key: 'cc752b1ed3e9e656810c901df9f8b19462efc978', alt: this.restStateType, onError: () => {
|
|
20
20
|
this.isErrorImageLoad = true;
|
|
21
|
-
}, src: imageUrl })), h("div", { key: '
|
|
21
|
+
}, src: imageUrl })), h("div", { key: '4729c415dbac98876fcd907437b8df21b925dec5', class: "content" }, h("zonos-text", { key: '39313c8c71d228cd1076e809146ad7ac3d877a9a', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '69813bd32ae3867ebebcc511655f2052b1175945', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '98b085930fd76e2ff095cc971ae4699041c1a550', class: "action" }, h("slot", { key: '188318643319081914ed30aad91de5f15b014953' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "zonos-rest-state"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js
CHANGED
|
@@ -15,9 +15,9 @@ export class ZonosSelectDialogHeader {
|
|
|
15
15
|
this.label = '';
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'a1b9179c608e89ae29416a7c1cb93a5e15c9b029', class: "zonos--elements", style: {
|
|
19
19
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
20
|
-
} }, h("zonos-v-stack", { key: '
|
|
20
|
+
} }, h("zonos-v-stack", { key: '736354e40352c79c5b1d27207c424fc6ee82f7f4', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '700c0321bb2ea565ff861b833f51f3418ad61e4f', class: "zonos--select-dialog-header" }, h("zonos-text", { key: 'a45fb7507453949a1f3c687ae73635bb8b3f9282', type: "boldLabel" }, this.label), h("zonos-button", { key: 'a6b210caedc6248d8ab112bb10d888455d6fc6da', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: '3bfbcd7c5bab9f11e4ed936dcd3b99da553709a0' }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "zonos-select-dialog-header"; }
|
|
23
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -15,7 +15,7 @@ export class ZonosSkeleton {
|
|
|
15
15
|
this.skeletonHeight = '14px';
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '096e505180d901c1523567f89cdbcca7869a0895', class: classes(['zonos--elements zonos--skeleton']), style: styles({
|
|
19
19
|
'--zonos--skeleton-height': this.skeletonHeight,
|
|
20
20
|
'--zonos--skeleton-width': this.skeletonWidth,
|
|
21
21
|
}) }));
|
|
@@ -69,7 +69,7 @@ export class ZonosStripeInput {
|
|
|
69
69
|
? zonosStore.appearance.theme === 'DARK'
|
|
70
70
|
: primaryColor && isDarkColor(primaryColor);
|
|
71
71
|
const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'c97d6030d8c9c3ca051a9eb0dce85676245abeeb', class: classes([
|
|
73
73
|
'zonos--input zonos--elements',
|
|
74
74
|
isDark && 'dark',
|
|
75
75
|
(this.isError || !!this.error) && 'has-error',
|
|
@@ -78,10 +78,10 @@ export class ZonosStripeInput {
|
|
|
78
78
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
79
79
|
'--zonos--font-size': `${fontSize}px`,
|
|
80
80
|
'--zonos--primary-color': secondaryColor,
|
|
81
|
-
} }, h("div", { key: '
|
|
81
|
+
} }, h("div", { key: '2517b55aa12ed4dd4772be3dbd48edf28e393697', class: classes([
|
|
82
82
|
'zonos--label-wrapper',
|
|
83
83
|
this.isDisabled && 'disabled',
|
|
84
|
-
]) }, h("input", Object.assign({ key: '
|
|
84
|
+
]) }, h("input", Object.assign({ key: '7853f3eafc7a926f88b21abfa8f59995b5c35cf3' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
|
|
85
85
|
'zonos--floated-input',
|
|
86
86
|
!!this.inputLabel && 'has-label',
|
|
87
87
|
this.internalValue && 'has-content',
|
|
@@ -91,7 +91,7 @@ export class ZonosStripeInput {
|
|
|
91
91
|
this.inputChange.emit(input.value);
|
|
92
92
|
this.el.inputValue = input.value;
|
|
93
93
|
this.el.dispatchEvent(new Event('change'));
|
|
94
|
-
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '
|
|
94
|
+
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '56c6339f420fd38d0c850a6ad10f2349bfe99d21', class: "zonos--floated-label" }, h("label", { key: '7cdd19ca39f09d105786a751fbd3434779c8958b', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '784a4aca2d02d59c7a59e8579c88cdaba24f64af', textColor: "red-600", type: "caption" }, this.error))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "zonos-stripe-input"; }
|
|
97
97
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js
CHANGED
|
@@ -201,24 +201,24 @@ export class ZonosStripePhoneInput {
|
|
|
201
201
|
.filter(Boolean)
|
|
202
202
|
.sort((a, b) => a.displayName.localeCompare(b.displayName))
|
|
203
203
|
: [];
|
|
204
|
-
return (h(Host, { key: '
|
|
204
|
+
return (h(Host, { key: '3f073620fb9250208be54ffd6d0dfbc8c5da7d6f', class: classes([
|
|
205
205
|
'zonos--phone-input zonos--elements',
|
|
206
206
|
isDark && 'dark',
|
|
207
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '
|
|
207
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: 'bdaf73f9a51fa2a39dd9684584ec4f032ea39d00', class: classes([
|
|
208
208
|
'zonos--label-wrapper',
|
|
209
209
|
this.disabled && 'disabled',
|
|
210
210
|
this.isFocused && 'focused',
|
|
211
211
|
hasContent && 'has-content',
|
|
212
212
|
this.error && 'has-error',
|
|
213
213
|
this.inputLabel && 'has-label',
|
|
214
|
-
]) }, h("select", { key: '
|
|
214
|
+
]) }, h("select", { key: 'ad4477bfc5e1971a5e7a34a5e06b699c6115b3d3', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
|
|
215
215
|
var _a;
|
|
216
216
|
return (h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
|
|
217
|
-
})), h("div", { key: '
|
|
217
|
+
})), h("div", { key: '39d6ae20a62bfa7d21a3d4a1143a4b42a87bbc41', class: "zonos--input-group" }, h("div", { key: 'dba0974115ce5e4f3f22689f406c3defe2989b29', class: "zonos--select-wrapper" }, h("div", { key: '3231072a3dba2d61a5567ad8ceacd871b3b7657c', class: "zonos--country-select" }, h("div", { key: '3fd9224b1ef63a6e2e1c11c19a1dddbaa1337ad1', class: "zonos--country-select-content" }, this.selectedCountry && (h("div", { key: 'ba2d811521d84bbe3c0a2749307cce90e9347457', class: "zonos--country-select-selected" }, h("div", { key: '4b21bf8d586b51f3d0ef9ba881e5a73d4742d440', class: "zonos--country-flag-wrapper" }, h("zonos-country-flag", { key: 'ed2fca152a8f1064051758bf624bb02d0af61379', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), h("div", { key: 'ee43fea008cfde320a15a151a07f1295dd0d77dd', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), h("div", { key: '28961fccf5ad433b3a81fab91773d8d8d4e17b30', class: "zonos--select-chevron-wrapper" }, h("zonos-icon", { key: '8233c34fdbf221f2289506b57b3fd429ec048df3', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))))), h("div", { key: '0d947d929218bac9929f411c5989a18ab36054fe', class: classes([
|
|
218
218
|
'zonos--input-container',
|
|
219
219
|
this.inputLabel && 'has-label',
|
|
220
220
|
hasContent && 'has-content',
|
|
221
|
-
]) }, h("input", Object.assign({ key: '
|
|
221
|
+
]) }, h("input", Object.assign({ key: '16956304c84642b82039e0180aea6ce96269799a' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (h("div", { key: '57f3d9ad16aee89271c134d409abb6383b225f55', class: "zonos--floated-label" }, h("label", { key: 'd2af8c75f82df1b3176f708bea86a18b7ee4840d', htmlFor: this.inputId }, this.inputLabel || translate('Phone number'))))))), this.error && (h("zonos-text", { key: '3bb993c5e780f4394d141d7c62bd1f8ea4d1fc70', textColor: "red-600" }, this.error))));
|
|
222
222
|
}
|
|
223
223
|
static get is() { return "zonos-stripe-phone-input"; }
|
|
224
224
|
static get encapsulation() { return "scoped"; }
|
|
@@ -105,14 +105,14 @@ export class ZonosStripeSelect {
|
|
|
105
105
|
const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
|
|
106
106
|
const hasContent = this.internalValue || this.selectPlaceholder;
|
|
107
107
|
const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '61d5f0b2c7fafd2df4ea6beacc8500bad9b64da7', class: classes([
|
|
109
109
|
'zonos--select zonos--elements',
|
|
110
110
|
isDark && 'dark',
|
|
111
111
|
this.isError && 'has-error',
|
|
112
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '
|
|
112
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius(), '--zonos--font-family': zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, h("div", { key: '63198cbb818342d8deecbe1e0c5d9978a51df064', class: classes([
|
|
113
113
|
'zonos--label-wrapper',
|
|
114
114
|
this.isDisabled && 'disabled',
|
|
115
|
-
]) }, h("select", Object.assign({ key: '
|
|
115
|
+
]) }, h("select", Object.assign({ key: '8bbe869f708d9f87f9dc6d66a8f573a795399e23' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
|
|
116
116
|
'zonos--floated-select',
|
|
117
117
|
!!this.selectLabel && 'has-label',
|
|
118
118
|
hasContent && 'has-content',
|
|
@@ -122,9 +122,9 @@ export class ZonosStripeSelect {
|
|
|
122
122
|
this.selectChange.emit(select.value);
|
|
123
123
|
this.selectedValue = select.value;
|
|
124
124
|
this.el.dispatchEvent(new Event('change'));
|
|
125
|
-
}, required: this.required }), h("option", { key: '
|
|
125
|
+
}, required: this.required }), h("option", { key: '6ae19c6b12976cd32e6efc9771a000b29945ee71', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translate('Select')), this.internalOptions.map(option => (h("option", { key: option.value, selected: this.internalValue === option.value ||
|
|
126
126
|
// Sometimes google returns the label not the code for some countries
|
|
127
|
-
this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: '
|
|
127
|
+
this.internalValue === option.label, value: option.value }, option.label)))), h("div", { key: 'a21b56d32839669a95c3d36f215f85bb94f6bb1a', class: "zonos--floated-label" }, h("label", { key: 'fb710c149659ece3d433f57d8d27562395bb2a52', htmlFor: this.selectId }, this.selectLabel)), h("div", { key: '0f57b78a3fdafc0ff7bd1a5a2ead9e37be7ee915', class: "zonos--actions-wrapper" }, showClearButton && (h("button", { key: 'ffc562b96195b1990a26d4091971ddb2293b6ac7', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, h("zonos-icon", { key: 'c3eb42b95f57df3187772d1502e07a7052a72913', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), h("zonos-icon", { key: '7a6581602aa531d5d9bdea82c3f50952d901bad4', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (h("zonos-text", { key: 'b1a3819c075d5e8f70020274145675c8d19b143a', textColor: "red-600" }, this.error))));
|
|
128
128
|
}
|
|
129
129
|
static get is() { return "zonos-stripe-select"; }
|
|
130
130
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,9 +9,9 @@ export class ZonosToggle {
|
|
|
9
9
|
this.options = [];
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'e6be1b38ea1fd978a231a1c3dc85a92c1d86a24b', class: classes(['zonos--elements zonos--toggle']), style: {
|
|
13
13
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
14
|
-
} }, h("div", { key: '
|
|
14
|
+
} }, h("div", { key: 'e9ccac29c3f653e3e9d81d336089d6aaea6bbf6c', class: "wrapper" }, this.options.map(option => {
|
|
15
15
|
const selected = option.value === this.value;
|
|
16
16
|
return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
|
|
17
17
|
this.toggleChanged.emit(option.value);
|
|
@@ -13,10 +13,10 @@ export class ZonosTooltip {
|
|
|
13
13
|
this.showTooltip = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '4cadca2c888b6729447e216785957ab580d29831', class: "zonos--elements" }, h("div", { key: '0d5045faa3a01d8fc5fb5c56328bfa68eb4ffab2', class: "zonos--tooltip", onMouseEnter: () => (this.showTooltip = true), onMouseLeave: () => (this.showTooltip = false) }, h("slot", { key: 'a2610a5b6405067eb50d6ad11385544fd740399a' }), h("div", { key: 'd319ec9d87d7b4b395d0256b3ecfdb3043927d00', class: classes([
|
|
17
17
|
this.showTooltip && 'zonos--show-tooltip',
|
|
18
18
|
'zonos--tooltip-content',
|
|
19
|
-
]) }, h("zonos-text", { key: '
|
|
19
|
+
]) }, h("zonos-text", { key: '769dbf51121fd82d870824d22a15e0f8ba0c4c5f', size: "s", textColor: "gray-0", type: "boldLabel" }, this.label), h("zonos-text", { key: 'e80b2eab8f30e542ecbc87aac24a256fcd0c8cc0', size: "xs", textColor: "gray-0" }, this.subtitle)))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "zonos-tooltip"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,9 +11,9 @@ export class VStack {
|
|
|
11
11
|
this.spacing = 24;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'fc34e62d3d9712120d2356f1bdc8ad42b26d122a', style: {
|
|
15
15
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
16
|
-
} }, h("div", { key: '
|
|
16
|
+
} }, h("div", { key: 'd246b49b618860f01c3f1b8c439c1be361ca656f', class: classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, h("slot", { key: '043fde36321157373196c9120a774c78a0fc46ce' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "zonos-v-stack"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -106,10 +106,10 @@ export class ZonosVirtualScroll {
|
|
|
106
106
|
render() {
|
|
107
107
|
const { width: containerWidth } = this.containerDimensions;
|
|
108
108
|
const visibleItems = this.getVisibleItems();
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'a5083227ddbd44f3f94f0e4ecd7ebee309526fce', class: classes(['zonos--virtual-scroll']) }, h("div", { key: '45dd1bb2f501ca6a2091c06a68c5f96652bd2976', class: classes(['scroller']), style: {
|
|
110
110
|
height: `${this.totalHeight}px`,
|
|
111
111
|
width: `${containerWidth}px`,
|
|
112
|
-
} }), h("div", { key: '
|
|
112
|
+
} }), h("div", { key: 'e8c90e99bdc3301c5430a098d4b9f57ec0bc020b', class: classes(['item-container']), style: {
|
|
113
113
|
height: `${this.totalHeight}px`,
|
|
114
114
|
} }, visibleItems.map(({ element }) => element))));
|
|
115
115
|
}
|
|
@@ -19,7 +19,7 @@ export class ZonosComponent {
|
|
|
19
19
|
return format(this.first, this.middle, this.last);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return h("div", { key: '
|
|
22
|
+
return h("div", { key: 'c15c75e21319fb4723d1062aa89c6e08cc2129b3' }, "Hello, World! I'm ", this.getText());
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "zonos-component"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -27,9 +27,9 @@ export class ZonosHelloDialogFooter {
|
|
|
27
27
|
const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
28
28
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
29
29
|
const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '7480572c4e05bfc177458ab00adb774069f28d52', class: "zonos--elements" }, h("div", { key: 'bd27466c0d82be3c5cde2f89dcc48749e2313090', class: "zonos--hello-dialog-footer", style: {
|
|
31
31
|
'--zonos--primary-color': primaryColor,
|
|
32
|
-
} }, h("a", { key: '
|
|
32
|
+
} }, h("a", { key: 'f6ca08c3c4f8eef3f4b81a77ba0d5a2e6cea8f62', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'a54d33d548145f0eb542041d3903ea4a257c39bb', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: '52e06b22daaac439d5ebdcdcf44bd8f85fed4564', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '30b994c3340467a62e72f62bde853b24e3f9e4f1', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), h("zonos-button", { key: '26e2b5d8525d57841e2b7c1fefc69c96b21ad199', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, localizationStore.selectedCountryCode)))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "zonos-hello-dialog-footer"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -319,18 +319,18 @@ export class ZonosHelloDialog {
|
|
|
319
319
|
const defaultMessage = formatStringWithLinks(defaultMessageStr);
|
|
320
320
|
const currentPage = this.getCurrentPageEnum();
|
|
321
321
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
322
|
-
return (h(Host, { key: '
|
|
322
|
+
return (h(Host, { key: '9012938ffc3ab002bac78479cbcf4063526cf562', class: "zonos--elements" }, h("div", { key: 'ec6c5429694e4d18abf240c5de950b0da33ca846', class: classes([
|
|
323
323
|
'zonos--hello-dialog',
|
|
324
324
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
325
325
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
326
326
|
!!this.mobileLocationOverride &&
|
|
327
327
|
'zonos--hello-dialog-mobile-override',
|
|
328
328
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
329
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '
|
|
329
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'cb64ca4f4474e06f728eec751f3c7c7fae578d26' }, h("div", { key: 'c062c2482ef59df6ef60e7ccfb1716cc0cf2a19d', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'c36de505068bd2c4b520a20ca7110a7bd46e749d', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '85d246bab229099324507799eb8f771795ea92e0', spacing: 24 }, h("zonos-country-flag", { key: '602b68614bdee4120900ed184941adc4ffa40619', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '3994f7ec81cfe691f6b5f8ce83391922966a7700', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '48c7e9bf22dd30eb089b7b25a99d908dbed5966f', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'd590b3ed499b456134720ef73a965a5a552da80f', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '8bce397c8522031d46b8e6efc38986af5645c3ee', spacing: 8 }, this.restrictedItems.map(item => {
|
|
330
330
|
var _a;
|
|
331
331
|
return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
332
|
-
}), h("zonos-card", { key: '
|
|
333
|
-
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '
|
|
332
|
+
}), h("zonos-card", { key: '0772e7dc4499423f3a379a2cfc0b28dd23ec137e', spacing: "12px" }, h("zonos-v-stack", { key: 'ea421af6bc847eaece471f557d2d0ee1815d14bf', spacing: 12 }, this.renderHelloMessage(), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
333
|
+
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info })))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '6eed9e71407e1351053abd4a2e1b4aae75b12044', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'cb9d77a61c481100fe21714bec8d062ffaa8f974' }, h("zonos-country-select", { key: 'd76ad3cdc005561e19d64502d4c2f02173929c22', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: 'f9bbf877aba822b04676039d07ebb752d07fd362' }, h("zonos-language-select", { key: '3d96dd6902003adf96a2ce73f0405e112a04b380', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
334
334
|
}
|
|
335
335
|
static get is() { return "zonos-hello-dialog"; }
|
|
336
336
|
static get encapsulation() { return "shadow"; }
|
|
@@ -328,7 +328,7 @@ export class ZonosController {
|
|
|
328
328
|
zonosStore.organizationName = organizationName;
|
|
329
329
|
}
|
|
330
330
|
render() {
|
|
331
|
-
return h(Host, { key: '
|
|
331
|
+
return h(Host, { key: 'fe248e1e38cd3d98c56f55d39b704f7337c74c29', class: "zonos--elements" });
|
|
332
332
|
}
|
|
333
333
|
static get is() { return "zonos-controller"; }
|
|
334
334
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,7 +52,7 @@ export class ZonosPaypalPayment {
|
|
|
52
52
|
this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '35387382aaa81e3f8e025e8f3503be41b86e2355', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '34fad15dee67d8b913071a59d35b1c2317d4d3a0', class: "zonos--payment-paypal-container" })));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "zonos-paypal-payment"; }
|
|
58
58
|
static get encapsulation() { return "scoped"; }
|
|
@@ -674,6 +674,9 @@ export const stringsArabic = {
|
|
|
674
674
|
"We couldn't complete your payment. Please verify the payment details and try again.": {
|
|
675
675
|
value: 'تعذر علينا اكمال الدفع. يرجى التحقق من تفاصيل الدفع وإعادة المحاولة.',
|
|
676
676
|
},
|
|
677
|
+
'We detected that you are shipping to an international address.': {
|
|
678
|
+
value: 'لقد اكتشفنا أنك تقوم بالشحن إلى عنوان دولي.',
|
|
679
|
+
},
|
|
677
680
|
"We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time.": {
|
|
678
681
|
value: 'لقد أرسلنا إليك تأكيدًا بالبريد الإلكتروني لتفاصيل الطلبية لمراجعتك. ويقوم فريقنا بإعداد طلبيتك بعناية حتى تصل في الوقت المحدد.',
|
|
679
682
|
},
|
|
@@ -698,6 +701,9 @@ export const stringsArabic = {
|
|
|
698
701
|
"You will be redirected back to the merchant's site in a few seconds.": {
|
|
699
702
|
value: 'سيتم إعادة توجيهك إلى موقع التاجر في غضون ثوانٍ قليلة.',
|
|
700
703
|
},
|
|
704
|
+
'You will be redirected to international checkout shortly.': {
|
|
705
|
+
value: 'سيتم إعادة توجيهك إلى الخروج الدولي قريبًا.',
|
|
706
|
+
},
|
|
701
707
|
"You're all set!": {
|
|
702
708
|
value: 'أنت جاهز!',
|
|
703
709
|
},
|