@zonos/elements 1.3.260 → 1.3.262
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/index.cjs.js +12 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{paypal-73a542cb.js → paypal-e278f405.js} +140 -6
- package/dist/cjs/submitGtag-4241212b.js +167 -0
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +17 -17
- package/dist/cjs/zonos-address_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +106 -31
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-checkout.cjs.entry.js +20 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
- package/dist/cjs/zonos-collect.cjs.entry.js +2 -2
- 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-select_4.cjs.entry.js +9 -9
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- 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 +14 -14
- package/dist/cjs/zonos-invoice.cjs.entry.js +2 -2
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- 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-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-finish/zonos-checkout-finish.js +82 -15
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +7 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +19 -9
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +7 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +5 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +6 -6
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-payment/zonos-collect-payment.js +2 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +6 -6
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-payment/zonos-invoice-payment.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-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 +2 -2
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/paypal.js +4 -4
- 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/analytics/analyticsRelayState.js +112 -0
- package/dist/collection/components/utils/analytics/mapToFbEvent.js +66 -0
- package/dist/collection/components/utils/submitAnalytics.js +16 -0
- package/dist/collection/components/utils/submitFbq.js +56 -0
- package/dist/collection/components/utils/submitGtag.js +15 -78
- package/dist/collection/scripts/_zonosBase.js +5 -2
- package/dist/collection/types/analyticsRelay.js +2 -2
- package/dist/esm/index.js +12 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{paypal-38ca5d21.js → paypal-d8804da5.js} +142 -9
- package/dist/esm/submitGtag-7f5c5bb5.js +162 -0
- package/dist/esm/zonos-address-display_8.entry.js +17 -17
- package/dist/esm/zonos-address_4.entry.js +6 -6
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +8 -8
- package/dist/esm/zonos-cart-items_12.entry.js +106 -31
- package/dist/esm/zonos-checkbox_2.entry.js +5 -5
- package/dist/esm/zonos-checkout.entry.js +20 -10
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +4 -4
- package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
- package/dist/esm/zonos-collect.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +3 -3
- package/dist/esm/zonos-country-select_4.entry.js +9 -9
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- 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 +14 -14
- package/dist/esm/zonos-invoice.entry.js +2 -2
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- 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-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/paypal-d8804da5.js +17 -0
- package/dist/esm-es5/submitGtag-7f5c5bb5.js +1 -0
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-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-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-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/scripts/analyticsRelayOnInit.js +1 -1
- package/dist/scripts/index.d.ts +18 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +15 -0
- package/dist/types/components/utils/analytics/analyticsRelayState.d.ts +43 -0
- package/dist/types/components/utils/analytics/mapToFbEvent.d.ts +11 -0
- package/dist/types/components/utils/submitAnalytics.d.ts +12 -0
- package/dist/types/components/utils/submitFbq.d.ts +14 -0
- package/dist/types/components/utils/submitGtag.d.ts +4 -9
- package/dist/types/scripts/_zonosBase.d.ts +11 -0
- package/dist/types/types/analyticsRelay.d.ts +19 -3
- package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-bb6e7e9e.entry.js → p-00bd7e5d.entry.js} +1 -1
- package/dist/zonos-elements/p-022ddd4a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-da5a35a6.entry.js → p-06ef4d79.entry.js} +1 -1
- package/dist/zonos-elements/{p-874ccf1c.system.entry.js → p-072c5e07.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f7ddd288.system.entry.js → p-14f156c6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-66d72216.entry.js → p-155b4425.entry.js} +1 -1
- package/dist/zonos-elements/{p-9161f10d.system.entry.js → p-17476a30.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9dc671f4.entry.js → p-1916c2b0.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-c09540bc.entry.js → p-34fc45e5.entry.js} +1 -1
- package/dist/zonos-elements/{p-e684e68f.entry.js → p-3deb91cb.entry.js} +1 -1
- package/dist/zonos-elements/{p-1368dce7.system.entry.js → p-4a227683.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bcbbe867.entry.js → p-4cee62fb.entry.js} +1 -1
- package/dist/zonos-elements/{p-c1ab70d2.entry.js → p-4d776228.entry.js} +1 -1
- package/dist/zonos-elements/{p-bdaf94a4.system.entry.js → p-50a15e3d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d30e8c3a.entry.js → p-55742c52.entry.js} +1 -1
- package/dist/zonos-elements/{p-20842d8c.system.entry.js → p-56c11359.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d12fa775.entry.js → p-5a79e1f4.entry.js} +1 -1
- package/dist/zonos-elements/{p-df240101.system.entry.js → p-5db00bfa.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5dd78b4b.js +1 -0
- package/dist/zonos-elements/{p-d2ef0416.system.entry.js → p-66934a78.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7237f43b.system.entry.js +1 -0
- package/dist/zonos-elements/p-72a181b5.entry.js +1 -0
- package/dist/zonos-elements/p-75a27c68.entry.js +1 -0
- package/dist/zonos-elements/{p-6f19845a.system.entry.js → p-7dbac3ae.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ac0fcb8.system.entry.js → p-7df3e44b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5be87ae0.entry.js → p-80e7cab5.entry.js} +1 -1
- package/dist/zonos-elements/p-838e335c.entry.js +1 -0
- package/dist/zonos-elements/{p-dfb4360d.system.entry.js → p-9262a57c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-947f5092.js +17 -0
- package/dist/zonos-elements/{p-3e7dbe9c.system.entry.js → p-9de27162.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bb785f33.entry.js → p-9e761130.entry.js} +1 -1
- package/dist/zonos-elements/{p-c908a7a3.entry.js → p-a1142a95.entry.js} +1 -1
- package/dist/zonos-elements/{p-d4f9e464.system.entry.js → p-a2b3c1ef.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8d52ac69.system.entry.js → p-a661dd45.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a98b8b68.system.js +18 -0
- package/dist/zonos-elements/{p-365d4481.system.entry.js → p-aa74b61a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2fa41e93.entry.js → p-ade15fd2.entry.js} +1 -1
- package/dist/zonos-elements/{p-87d89870.system.entry.js → p-b1c76c38.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-770d414a.system.entry.js → p-b2cd18b4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0fc5a2cc.system.entry.js → p-b47fcd8c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c308c5bc.entry.js → p-c263f95f.entry.js} +1 -1
- package/dist/zonos-elements/p-ca411d97.entry.js +1 -0
- package/dist/zonos-elements/p-cab6bd98.system.js +1 -0
- package/dist/zonos-elements/{p-266a86d4.system.entry.js → p-d50fef06.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7a379538.entry.js → p-d983d472.entry.js} +1 -1
- package/dist/zonos-elements/{p-df578aa9.system.entry.js → p-dc4e867e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-dee6adff.system.js +1 -0
- package/dist/zonos-elements/{p-2c9714e8.system.entry.js → p-e36e724b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8df3c6a0.entry.js → p-e673a4d9.entry.js} +1 -1
- package/dist/zonos-elements/{p-d004565d.system.entry.js → p-e76dc266.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3576d900.entry.js → p-ed827ca3.entry.js} +1 -1
- package/dist/zonos-elements/{p-8dae0f0b.entry.js → p-ef12af4b.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a198386.entry.js → p-f0046c48.entry.js} +1 -1
- package/dist/zonos-elements/{p-62dbc5f8.system.entry.js → p-f00a56be.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4416fe27.entry.js → p-f2909fb8.entry.js} +1 -1
- package/dist/zonos-elements/{p-fbc274a8.system.entry.js → p-f7d24382.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-12459b59.entry.js → p-fb87172c.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/submitGtag-9ac5a42e.js +0 -116
- package/dist/esm/submitGtag-543058f9.js +0 -113
- package/dist/esm-es5/paypal-38ca5d21.js +0 -17
- package/dist/esm-es5/submitGtag-543058f9.js +0 -1
- package/dist/zonos-elements/p-0ad75f38.entry.js +0 -1
- package/dist/zonos-elements/p-0f89fc76.system.entry.js +0 -1
- package/dist/zonos-elements/p-17a8a514.system.js +0 -1
- package/dist/zonos-elements/p-24407504.js +0 -17
- package/dist/zonos-elements/p-387f6a4d.js +0 -1
- package/dist/zonos-elements/p-47bde0ba.system.js +0 -18
- package/dist/zonos-elements/p-4aa5f5db.entry.js +0 -1
- package/dist/zonos-elements/p-70e2f9f9.system.entry.js +0 -1
- package/dist/zonos-elements/p-720ae42c.system.js +0 -1
- package/dist/zonos-elements/p-87eef44c.entry.js +0 -1
- package/dist/zonos-elements/p-f2a74e43.entry.js +0 -1
|
@@ -170,9 +170,9 @@ const ZonosAddressSuggestions = class {
|
|
|
170
170
|
return segments;
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (index.h(index.Host, { key: '
|
|
173
|
+
return (index.h(index.Host, { key: 'fe92e3ac70b644dbacda2cfc56e2676ac34632cc', class: "zonos--address-suggestions", role: "group", style: {
|
|
174
174
|
'--zonos--border-radius': getBorderRadius.getBorderRadius(),
|
|
175
|
-
} }, index.h("ul", { key: '
|
|
175
|
+
} }, index.h("ul", { key: 'c042e5d4f563ace9631f3a9d4ad3dd3c9e12cc35', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'b68deb87d190d53b597085f7503c838e0a089227', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: '4dac7702de58610364ad031a181c33d135ec2b1f', class: "powered-by-container" }, index.h("zonos-text", { key: '74e97d754914267d43e39740ea48634ddcb87355', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: 'f2771fd3f18665eb414b653740930afe1bb42e4e', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: '657f036bec0ad31091b83be9927036362f6607a6', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
|
|
176
176
|
this.localSuggestions = [];
|
|
177
177
|
} }))), this.localSuggestions.map(suggestion => (
|
|
178
178
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
@@ -1316,10 +1316,10 @@ const ZonosAddress = class {
|
|
|
1316
1316
|
this.country = localization.localizationStore.selectedCountryCode;
|
|
1317
1317
|
}
|
|
1318
1318
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
1319
|
-
return (index.h(index.Host, { key: '
|
|
1319
|
+
return (index.h(index.Host, { key: '4874639006b452cc6a2b5e5beabbe97fe7a0fde5', class: classes.classes([
|
|
1320
1320
|
'zonos--address zonos--elements',
|
|
1321
1321
|
`zonos--${this.type}-address`,
|
|
1322
|
-
]) }, index.h("zonos-text", { key: '
|
|
1322
|
+
]) }, index.h("zonos-text", { key: 'a365f9de88a9f7602e46e1d87aa180d2b51a4079', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), index.h("slot", { key: '66146ab6e78cfce499a10aa4d117a64a49a7f886', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), this.renderCustomAddressForm()));
|
|
1323
1323
|
}
|
|
1324
1324
|
get el() { return index.getElement(this); }
|
|
1325
1325
|
static get watchers() { return {
|
|
@@ -1429,7 +1429,7 @@ const ZonosDialog = class {
|
|
|
1429
1429
|
const borderStyle = getBorderRadius.getBorderRadius({
|
|
1430
1430
|
overrideBorderStyle: this.borderStyle,
|
|
1431
1431
|
});
|
|
1432
|
-
return (index.h(index.Host, { key: '
|
|
1432
|
+
return (index.h(index.Host, { key: 'ea5fe1fbc9cddf1937f5d3d5472e8288ca99a772', class: classes.classes([
|
|
1433
1433
|
'zonos--elements',
|
|
1434
1434
|
this.open && 'open',
|
|
1435
1435
|
this.isLoading && 'is-loading',
|
|
@@ -1441,10 +1441,10 @@ const ZonosDialog = class {
|
|
|
1441
1441
|
'--zonos--height': this.height || 'initial',
|
|
1442
1442
|
'--zonos--min-height': this.minHeight || '500px',
|
|
1443
1443
|
'--zonos--width': this.width,
|
|
1444
|
-
} }, index.h("div", { key: '
|
|
1444
|
+
} }, index.h("div", { key: 'a8086837918088143287c231afc7594157657ea6', class: "zonos--backdrop" }), index.h("div", { key: '2449af1214f4b4d745993ea001b4f1147f3989a7', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: 'f4507a332b704e09fe17c5d73b440c284d83b7d9', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: '1bcb8e243e87611474205d6ecd0490e43eb83383', class: "zonos--loading" }, index.h("zonos-spinner", { key: 'cf7ad545ef370501cf95a7e58736c90b94da7937', size: 30 }), this.loadingTitle && (index.h("zonos-text", { key: '0d9f87e7d1ce303f996c2536f863f1d125f3c040', class: "zonos--loading-title", size: "l", weight: 700 }, this.loadingTitle)), this.loadingText && (index.h("zonos-text", { key: 'e2a1d073d020b7914a1025024da0841e10bd09fb', class: "zonos--loading-text" }, this.loadingText)))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '3de5de755a28433ac8e14c0b7a1940ca6831a2fd', class: "zonos--header" }, this.headerText && (index.h("h3", { key: '89f5eb402ef75a079f6d0e0f87f986d461730727', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: 'fe220b8a93de46c56bebc704e68940c9f70e4cb1', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: '1313249b74777b0394a7a7fca6745add56292086', class: classes.classes([
|
|
1445
1445
|
'zonos--body',
|
|
1446
1446
|
this.noBodyPadding && 'zonos--no-body-padding',
|
|
1447
|
-
]) }, index.h("slot", { key: '
|
|
1447
|
+
]) }, index.h("slot", { key: '585402b85ac8ef6cfa1b9051049e42edd645d99d' })), index.h("slot", { key: '3c0d42a12a16ce61786f1531da312403ad70affd', name: "dialog-footer" })))));
|
|
1448
1448
|
}
|
|
1449
1449
|
static get assetsDirs() { return ["assets"]; }
|
|
1450
1450
|
};
|
|
@@ -7180,24 +7180,24 @@ const ZonosStripePhoneInput = class {
|
|
|
7180
7180
|
.filter(Boolean)
|
|
7181
7181
|
.sort((a, b) => a.displayName.localeCompare(b.displayName))
|
|
7182
7182
|
: [];
|
|
7183
|
-
return (index.h(index.Host, { key: '
|
|
7183
|
+
return (index.h(index.Host, { key: '1f200a91b6571a4c113da30e3837ece4b38bc7cb', class: classes.classes([
|
|
7184
7184
|
'zonos--phone-input zonos--elements',
|
|
7185
7185
|
isDark && 'dark',
|
|
7186
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '
|
|
7186
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: 'c4e048ff9e4fb57598033b782f43a82db4729334', class: classes.classes([
|
|
7187
7187
|
'zonos--label-wrapper',
|
|
7188
7188
|
this.disabled && 'disabled',
|
|
7189
7189
|
this.isFocused && 'focused',
|
|
7190
7190
|
hasContent && 'has-content',
|
|
7191
7191
|
this.error && 'has-error',
|
|
7192
7192
|
this.inputLabel && 'has-label',
|
|
7193
|
-
]) }, index.h("select", { key: '
|
|
7193
|
+
]) }, index.h("select", { key: 'a4c1e90dd4490f6895e39d71233c5e05309434b4', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
|
|
7194
7194
|
var _a;
|
|
7195
7195
|
return (index.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, ")"));
|
|
7196
|
-
})), index.h("div", { key: '
|
|
7196
|
+
})), index.h("div", { key: 'b56bdb3b9f7acd4a32c9c833c631de2ad74c8b04', class: "zonos--input-group" }, index.h("div", { key: '4babc988f0432df5a622e3fe70be2395625fec4f', class: "zonos--select-wrapper" }, index.h("div", { key: 'afd4d0863e2e4d9c809cf74b267452d23db0db9d', class: "zonos--country-select" }, index.h("div", { key: '6b50899c82c335ea6bc00792f549b059439f80aa', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: 'b2ffde73f454dc7f37598a7992f7e48a98ebe627', class: "zonos--country-select-selected" }, index.h("div", { key: '25573e4a4409cd742aa2557726bafd9b738a250f', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: 'b6ed256e1867d8204144676f254d30ca4535eae1', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: 'd8b0f28d7aa5a0afef1c11603d15b5007e8e81e9', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: 'ea4ab66f550a807ecd4182dfcb803a317fd69074', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: 'ee0818647a08ac39c6cc3594c7c361b6a79681dd', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: 'c02c404700de1d096838449533b419b1e9f95d84', class: classes.classes([
|
|
7197
7197
|
'zonos--input-container',
|
|
7198
7198
|
this.inputLabel && 'has-label',
|
|
7199
7199
|
hasContent && 'has-content',
|
|
7200
|
-
]) }, index.h("input", Object.assign({ key: '
|
|
7200
|
+
]) }, index.h("input", Object.assign({ key: '88b15052fc88329cc1791e4c89e9db171b6b0569' }, 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 && (index.h("div", { key: 'bbaffd11b9d33d28dd363e9110ce884ccc1a9ebe', class: "zonos--floated-label" }, index.h("label", { key: '5cd458d801979127b26407295b95f0d15f5c383d', htmlFor: this.inputId }, this.inputLabel || localization.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: 'f0ef5a5b0762b14007c0df09fff7f7abecd9920b', textColor: "red-600" }, this.error))));
|
|
7201
7201
|
}
|
|
7202
7202
|
get el() { return index.getElement(this); }
|
|
7203
7203
|
static get watchers() { return {
|
|
@@ -7313,14 +7313,14 @@ const ZonosStripeSelect = class {
|
|
|
7313
7313
|
const fontSize = zonosStore.zonosStore.appearance.fontSizeInputValue || 16;
|
|
7314
7314
|
const hasContent = this.internalValue || this.selectPlaceholder;
|
|
7315
7315
|
const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
|
|
7316
|
-
return (index.h(index.Host, { key: '
|
|
7316
|
+
return (index.h(index.Host, { key: '07b9269eb9130ac91b366369d5db4c49c7fc7be2', class: classes.classes([
|
|
7317
7317
|
'zonos--select zonos--elements',
|
|
7318
7318
|
isDark && 'dark',
|
|
7319
7319
|
this.isError && 'has-error',
|
|
7320
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '
|
|
7320
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '6c82ff92d68ca8b031985af671ad47d4c47c4968', class: classes.classes([
|
|
7321
7321
|
'zonos--label-wrapper',
|
|
7322
7322
|
this.isDisabled && 'disabled',
|
|
7323
|
-
]) }, index.h("select", Object.assign({ key: '
|
|
7323
|
+
]) }, index.h("select", Object.assign({ key: 'c2df2cfc855706c376a82bfe7c752c58d987aab4' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
|
|
7324
7324
|
'zonos--floated-select',
|
|
7325
7325
|
!!this.selectLabel && 'has-label',
|
|
7326
7326
|
hasContent && 'has-content',
|
|
@@ -7330,9 +7330,9 @@ const ZonosStripeSelect = class {
|
|
|
7330
7330
|
this.selectChange.emit(select.value);
|
|
7331
7331
|
this.selectedValue = select.value;
|
|
7332
7332
|
this.el.dispatchEvent(new Event('change'));
|
|
7333
|
-
}, required: this.required }), index.h("option", { key: '
|
|
7333
|
+
}, required: this.required }), index.h("option", { key: 'aab67935dd68de369fb67749006ec06656e2e187', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || localization.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
|
|
7334
7334
|
// Sometimes google returns the label not the code for some countries
|
|
7335
|
-
this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: '
|
|
7335
|
+
this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: 'a5a10b4a0b690aad09e2b8138b84623eb8a80e2e', class: "zonos--floated-label" }, index.h("label", { key: '98da29b702b07eaea01196cffa306d8c7497ce69', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '03b5847543e1c5a60af23cf5b5b572ed53abdcf9', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: '3a078eb32e3702edd6b084e367d336c994a23284', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: '3783636799756d514fb456005615692bfb03fbe1', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: '7ba276746b986d5cea76f9c53fa4e3d8627d4d35', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: 'b9e3282bd4b44d7f6c113cff1e3746c836ab29dc', textColor: "red-600" }, this.error))));
|
|
7336
7336
|
}
|
|
7337
7337
|
get el() { return index.getElement(this); }
|
|
7338
7338
|
static get watchers() { return {
|
|
@@ -358,11 +358,11 @@ const ZonosAddress = class {
|
|
|
358
358
|
this.isAddressFilled = true;
|
|
359
359
|
}
|
|
360
360
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
361
|
-
return (index.h(index.Host, { key: '
|
|
361
|
+
return (index.h(index.Host, { key: '300434f0623d886693dc101b47cb5cd5f9503d3e', class: classes.classes([
|
|
362
362
|
'zonos--address',
|
|
363
363
|
'zonos--elements',
|
|
364
364
|
`zonos--${this.type}-address`,
|
|
365
|
-
]) }, this.titleText && (index.h("zonos-text", { key: '
|
|
365
|
+
]) }, this.titleText && (index.h("zonos-text", { key: 'eb7592c563d728af019db397f4d5e7e9f448f4d7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("slot", { key: 'c9556ead2ad1bf1b462637ae44834dc4f25afa8a', name: "below-title" }), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderShortAddressCodeInput(), index.h("div", { key: 'cecaa1a9b4a176607125106f55b6e4d6cab31705', class: "zonos--address-component" })));
|
|
366
366
|
}
|
|
367
367
|
get el() { return index.getElement(this); }
|
|
368
368
|
static get watchers() { return {
|
|
@@ -494,13 +494,13 @@ const ZonosConfirmDialog = class {
|
|
|
494
494
|
const borderStyle = getBorderRadius.getBorderRadius();
|
|
495
495
|
// Get theme for the update dialog, inherit from the theme, no from this component theme
|
|
496
496
|
const theme = zonosStore.getZonosStoreTheme(zonosStore.zonosStore.appearance.theme);
|
|
497
|
-
return (index.h(index.Host, { key: '
|
|
497
|
+
return (index.h(index.Host, { key: '3f86259272e4aee2cb846ee15cad8e616917b020', class: classes.classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
|
|
498
498
|
'--zonos--border-radius': borderStyle,
|
|
499
499
|
'--zonos--dialog-width': `${this.dialogWidth}px`,
|
|
500
500
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
501
|
-
} }, index.h("div", { key: '
|
|
501
|
+
} }, index.h("div", { key: 'e4f146413bfb70c1d7c3629da6830482060f975a', class: "zonos--backdrop", tabIndex: -1 }), index.h("div", { key: '272c6ef86a66a5e61c7fc1753b4b60ce7bc25aee', class: classes.classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, index.h("div", { key: 'e533b39f91579923dcd725edf8b602cba80b8857', class: "zonos--confirm-dialog", onBlur: () => {
|
|
502
502
|
this.focusDialog();
|
|
503
|
-
} }, index.h("div", { key: '
|
|
503
|
+
} }, index.h("div", { key: '16c171b80dbee7c033ea35731afa6537222c7458', class: "wrapper" }, index.h("div", { key: '7f3bd95d72a06ecadf22df0a332292050d9907f9', class: "icon-wrapper" }, this.renderIcon()), index.h("div", { key: 'e234a037041b1fc7b558c841ddc03da940213bd7', class: "content" }, index.h("div", { key: '37492c329f9bd02e199828b57a16de616800d0fc', class: "title" }, index.h("zonos-text", { key: 'd935e67d0004c8f5c925082f222cff4e95568b6a', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (index.h("div", { key: '58acbdb5ace31ece6d900f21637dab17aa797ad8', class: "subtitle" }, index.h("zonos-text", { key: '981f15fc921e9d2ff2749fea94f21859cbf51fe3', textColor: "gray-800" }, this.dialogSubtitle)))), index.h("div", { key: '07e17ccc316ee180a72705f1d76a9c6f2927bfd7', class: "footer" }, this.dialogType === 'confirm' && (index.h("zonos-button", { key: '6b1b270b13c1a274e93d33ef4c1ca6798499c5c2', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || localization.translate('Cancel'))), index.h("zonos-button", { key: 'befd3b801cb8cf5b41c3c74e8947f2977aa77ce1', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
|
|
504
504
|
}
|
|
505
505
|
static get assetsDirs() { return ["assets"]; }
|
|
506
506
|
get el() { return index.getElement(this); }
|
|
@@ -734,7 +734,7 @@ const ZonosLoadingOverlay = class {
|
|
|
734
734
|
this.size = 40;
|
|
735
735
|
}
|
|
736
736
|
render() {
|
|
737
|
-
return (index.h(index.Host, { key: '
|
|
737
|
+
return (index.h(index.Host, { key: '2307e7f2b5db43fa4625097a96fd9182b5a1c729', class: classes.classes(['zonos--elements', this.open && 'zonos--open']) }, index.h("div", { key: '9c7aa8101410becb1341bc2d602638fbccff2dbf', class: "zonos--loading-overlay" }, index.h("zonos-spinner", { key: 'ebf5db2566052ee898d8d09aaeceb664a8e264e2', size: this.size, spinnerColor: this.spinnerColor }))));
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
740
|
ZonosLoadingOverlay.style = ZonosLoadingOverlayStyle0;
|
|
@@ -50,16 +50,16 @@ const ZonosBadge = class {
|
|
|
50
50
|
this.loading = false;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: 'dabf6b5d9c4585f9fe62b69655c3043c5d51eb6e', class: classes.classes(['zonos--elements zonos--badge']), style: {
|
|
54
54
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
55
|
-
} }, index.h("div", { key: '
|
|
55
|
+
} }, index.h("div", { key: '4603e1dbcb6760ae1a18d008cbffc9acc8b1b444', class: classes.classes([
|
|
56
56
|
'zonos--badge-content',
|
|
57
57
|
this.badgeColor,
|
|
58
58
|
this.rounded && 'rounded',
|
|
59
59
|
this.iconRight && 'icon-right',
|
|
60
60
|
this.size,
|
|
61
61
|
this.bold && 'bold',
|
|
62
|
-
]) }, this.icon, index.h("zonos-text", { key: '
|
|
62
|
+
]) }, this.icon, index.h("zonos-text", { key: '5d70287727ff5681be1d2f4f0faf32ba39899b4b', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: 'e3ea93273daccab2b37f8240b29041e485d8bcef' })), this.dismissHandler && (index.h("zonos-icon", { key: '5c09bc191f5ae6f9fe18da4ed15c9f60bab58b03', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
ZonosBadge.style = ZonosBadgeStyle0;
|
|
@@ -211,13 +211,13 @@ const ZonosButton = class {
|
|
|
211
211
|
const borderStyle = getBorderRadius.getBorderRadius({
|
|
212
212
|
overrideBorderStyle: this.borderStyle,
|
|
213
213
|
});
|
|
214
|
-
return (index.h(index.Host, { key: '
|
|
214
|
+
return (index.h(index.Host, { key: 'b816d7ac8f86b6256d017de9a7049c008cbfd973', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
|
|
215
215
|
'--zonos--background-color': backgroundColor,
|
|
216
216
|
'--zonos--border-radius': borderStyle,
|
|
217
217
|
'--zonos--color': color,
|
|
218
218
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
219
219
|
'--zonos--font-weight': this.bold ? 'bold' : 'normal',
|
|
220
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
220
|
+
}) }, index.h("button", Object.assign({ key: 'ddc1bba069df9e03db22fdfb77fe1118e84d0744' }, this.inheritedAttributes, { class: classes.classes([
|
|
221
221
|
this.hasIcon && 'has-icon',
|
|
222
222
|
this.hasContent && 'has-content',
|
|
223
223
|
this.noBackground && 'no-background',
|
|
@@ -232,7 +232,7 @@ const ZonosButton = class {
|
|
|
232
232
|
backgroundColor && variant === 'standard' && 'override-background',
|
|
233
233
|
]), disabled: disabled, style: {
|
|
234
234
|
justifyContent: this.justifyContent,
|
|
235
|
-
} }), this.loading && (index.h("div", { key: '
|
|
235
|
+
} }), this.loading && (index.h("div", { key: '98c12cd886ada57ae8f571f6a5e1914024198dd5', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '22dee22121fabe21d7c6f02b8b48e83b8c1894a7', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '27cbe56b4c77dd5678a2e6685fc05694ab36cab1', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
236
236
|
}
|
|
237
237
|
static get delegatesFocus() { return true; }
|
|
238
238
|
get ele() { return index.getElement(this); }
|
|
@@ -9,11 +9,11 @@ const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
|
9
9
|
const cart = require('./cart-d08c87e2.js');
|
|
10
10
|
const localization = require('./localization-a7fac4b4.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
12
|
-
const paypal = require('./paypal-
|
|
12
|
+
const paypal = require('./paypal-e278f405.js');
|
|
13
13
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
14
14
|
require('./isDarkColor-bfe6d1eb.js');
|
|
15
15
|
require('./isContrastColor-6a17f408.js');
|
|
16
|
-
require('./submitGtag-
|
|
16
|
+
require('./submitGtag-4241212b.js');
|
|
17
17
|
|
|
18
18
|
const zonosCardCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
|
|
19
19
|
const ZonosCardStyle0 = zonosCardCss;
|
|
@@ -39,16 +39,16 @@ const ZonosCard = class {
|
|
|
39
39
|
customRoundRadius: `${this.borderRadius}px`,
|
|
40
40
|
overrideBorderStyle: 'ROUNDED',
|
|
41
41
|
});
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '000ef115565050082a6e73e1709e014c66b410b7', style: {
|
|
43
43
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
44
|
-
} }, index.h("div", { key: '
|
|
44
|
+
} }, index.h("div", { key: 'c9391737f61c4e555643ead25e927376d4e949ba', class: classes.classes(['styled-card']), style: {
|
|
45
45
|
'--zonos--background-color': backgroundColor,
|
|
46
46
|
'--zonos--border-radius': borderRadius,
|
|
47
47
|
padding: this.spacing,
|
|
48
|
-
} }, this.label && (index.h("header", { key: '
|
|
48
|
+
} }, this.label && (index.h("header", { key: '9a23e108d3a53adf878bc50cb4c3927ebd8db4a6', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: 'ea6a44ecec753ff4ff588d2f47843cc242f55f98', type: "subheader" }, this.label), index.h("h-stack", { key: '7da7b584607867884466b311b1c9055c281e3326', spacing: 8 }, this.actions))), index.h("slot", { key: 'd3c458ee2288071bd72bbadc760fa9a0c6333219' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: 'b668c38a177fd5b0d7fe7988d18afe6f40e8082c', class: "card-footer", style: {
|
|
49
49
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
50
50
|
padding: this.spacing,
|
|
51
|
-
} }, index.h("div", { key: '
|
|
51
|
+
} }, index.h("div", { key: '61b13afeac104d27d76f73c0f869104ce5295197' }, this.footerContent), index.h("h-stack", { key: '3cbdc1beb4e3b2129d9e71cb6c4ed94565a20ba9', spacing: 8 }, this.footerActions))))));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ZonosCard.style = ZonosCardStyle0;
|
|
@@ -261,7 +261,7 @@ const ZonosPayment = class {
|
|
|
261
261
|
}
|
|
262
262
|
render() {
|
|
263
263
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
264
|
-
return (index.h(index.Host, { key: '
|
|
264
|
+
return (index.h(index.Host, { key: 'd6aba7a614610a64012ef6636e19b345623141ec', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'edf8c9ee8d7a9ebf87922a49d9b7420efd80b226', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: '3d0d7638a309fdf4dc1ab39bb463a0c35add911d', class: "zonos--payment-component" }), index.h("div", { key: 'a79f98f63bad2a7c5023eeb5bb28ae39997ada27', class: "zonos--payment-paypal-container" })));
|
|
265
265
|
}
|
|
266
266
|
get el() { return index.getElement(this); }
|
|
267
267
|
static get watchers() { return {
|
|
@@ -325,7 +325,7 @@ const ZonosPaypalPayment = class {
|
|
|
325
325
|
this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
|
|
326
326
|
}
|
|
327
327
|
render() {
|
|
328
|
-
return (index.h(index.Host, { key: '
|
|
328
|
+
return (index.h(index.Host, { key: '5745cd59ad8b81a41f8015438afd036621695bbb', class: "zonos--paypal-payment zonos--elements" }, index.h("div", { key: 'be5154e55384e2ecd42e2ec6b2be7712fb6ef31b', class: "zonos--payment-paypal-container" })));
|
|
329
329
|
}
|
|
330
330
|
get el() { return index.getElement(this); }
|
|
331
331
|
};
|