@zonos/elements 1.3.265 → 1.3.266
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-c325b9e4.js → cart-efc42379.js} +1 -1
- package/dist/cjs/getContrastColor-ce80dbe7.js +54 -0
- package/dist/cjs/{hasInclusivePrice-40358cb1.js → hasInclusivePrice-400be1b2.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-ac9414df.js → invoice-9e4d479f.js} +2 -2
- package/dist/cjs/{isCollectMobileTablet-92fa5e8f.js → isCollectMobileTablet-630fcf87.js} +2 -2
- package/dist/cjs/{localization-06cc0379.js → localization-4b17c530.js} +1 -1
- package/dist/cjs/{paypal-b52e1f24.js → paypal-3bb55914.js} +2 -2
- package/dist/cjs/{placeTestOrder-d93a6f2b.js → placeTestOrder-313cbd78.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-1f521ea7.js → renderCheckoutCurrency-e0436f1c.js} +2 -2
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +19 -19
- 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 +7 -7
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +20 -20
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +19 -19
- package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
- package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +14 -14
- package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -1
- package/dist/cjs/zonos-store-credit.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-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 +2 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-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 +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +8 -7
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +2 -0
- package/dist/collection/components/utils/getContrastColor.js +27 -10
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +1 -1
- package/dist/esm/{cart-0625a766.js → cart-62c166fc.js} +1 -1
- package/dist/esm/getContrastColor-0aa643c1.js +52 -0
- package/dist/esm/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-a73f64b7.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-0daa7f74.js → invoice-fa4ff6fb.js} +2 -2
- package/dist/esm/{isCollectMobileTablet-8d3fb5f4.js → isCollectMobileTablet-5f50ec81.js} +2 -2
- package/dist/esm/{localization-ee06df70.js → localization-d2631105.js} +1 -1
- package/dist/esm/{paypal-78c3572c.js → paypal-424d040d.js} +2 -2
- package/dist/esm/{placeTestOrder-18de7b6f.js → placeTestOrder-cf237d95.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-ba1702db.js → renderCheckoutCurrency-513ead96.js} +2 -2
- package/dist/esm/zonos-address-display_8.entry.js +19 -19
- 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 +7 -7
- package/dist/esm/zonos-cart-items_12.entry.js +20 -20
- package/dist/esm/zonos-checkbox_2.entry.js +3 -3
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +19 -19
- package/dist/esm/zonos-collect.entry.js +4 -4
- package/dist/esm/zonos-controller.entry.js +2 -2
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +6 -6
- package/dist/esm/zonos-hello-dialog.entry.js +2 -2
- package/dist/esm/zonos-hello.entry.js +2 -2
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +8 -8
- package/dist/esm/zonos-invoice-finish_5.entry.js +14 -14
- package/dist/esm/zonos-invoice.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm/zonos-store-credit.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm-es5/{cart-0625a766.js → cart-62c166fc.js} +1 -1
- package/dist/esm-es5/getContrastColor-0aa643c1.js +1 -0
- package/dist/esm-es5/{hasInclusivePrice-afc0dd6e.js → hasInclusivePrice-a73f64b7.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-0daa7f74.js → invoice-fa4ff6fb.js} +1 -1
- package/dist/esm-es5/{isCollectMobileTablet-8d3fb5f4.js → isCollectMobileTablet-5f50ec81.js} +1 -1
- package/dist/esm-es5/{localization-ee06df70.js → localization-d2631105.js} +1 -1
- package/dist/esm-es5/{paypal-78c3572c.js → paypal-424d040d.js} +2 -2
- package/dist/esm-es5/{placeTestOrder-18de7b6f.js → placeTestOrder-cf237d95.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-ba1702db.js → renderCheckoutCurrency-513ead96.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-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-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-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-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-store-credit.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/scripts/index.d.ts +5 -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/common/zonos-stripe-select/zonos-stripe-select.d.ts +1 -2
- package/dist/types/components.d.ts +2 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-a054c5eb.system.js → p-01384124.system.js} +1 -1
- package/dist/zonos-elements/{p-7c312bc2.entry.js → p-02d812c8.entry.js} +1 -1
- package/dist/zonos-elements/p-03e95598.entry.js +1 -0
- package/dist/zonos-elements/{p-24aae506.system.js → p-06c4d422.system.js} +1 -1
- package/dist/zonos-elements/{p-e89a411c.system.entry.js → p-08934304.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e6cc5a25.system.entry.js → p-0b46f3bd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d1ff24f5.entry.js → p-0e8c4a29.entry.js} +1 -1
- package/dist/zonos-elements/{p-407b49f1.system.entry.js → p-0ea16658.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-37f47658.js → p-0efd2d5a.js} +1 -1
- package/dist/zonos-elements/{p-0529a06b.system.entry.js → p-1957af5a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5353cfa4.entry.js → p-1a470353.entry.js} +1 -1
- package/dist/zonos-elements/{p-dfe45cfd.js → p-1d6f3ab9.js} +1 -1
- package/dist/zonos-elements/{p-85cc83e5.system.entry.js → p-209d7728.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c3ee352b.entry.js → p-227ef22f.entry.js} +1 -1
- package/dist/zonos-elements/{p-4baa51ef.entry.js → p-2431f95c.entry.js} +1 -1
- package/dist/zonos-elements/{p-32ecece3.entry.js → p-26c85188.entry.js} +1 -1
- package/dist/zonos-elements/{p-cc481c69.entry.js → p-27061873.entry.js} +1 -1
- package/dist/zonos-elements/{p-42518502.system.entry.js → p-27513bfe.system.entry.js} +1 -1
- package/dist/zonos-elements/p-27eeaf56.system.js +1 -0
- package/dist/zonos-elements/{p-59aa5785.entry.js → p-28e2ac3b.entry.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-8a21ed2d.entry.js → p-2a6be4a5.entry.js} +1 -1
- package/dist/zonos-elements/{p-9bd63d7a.system.js → p-2b30beea.system.js} +1 -1
- package/dist/zonos-elements/{p-f4f71ae4.system.js → p-305e2dd8.system.js} +1 -1
- package/dist/zonos-elements/{p-62db5d7c.system.js → p-37207963.system.js} +1 -1
- package/dist/zonos-elements/p-40284821.system.js +1 -0
- package/dist/zonos-elements/{p-595e2a7d.system.entry.js → p-40a45837.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ef88d96.system.entry.js → p-4495f149.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-105b7ebe.entry.js → p-456a600b.entry.js} +1 -1
- package/dist/zonos-elements/{p-66edcaa4.entry.js → p-46071125.entry.js} +1 -1
- package/dist/zonos-elements/{p-90a19f4c.system.entry.js → p-4d433020.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a23ec5f.system.entry.js → p-55fb4ea3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1ed2827f.entry.js → p-5ae695a3.entry.js} +1 -1
- package/dist/zonos-elements/{p-72058aac.system.entry.js → p-5e10d4ff.system.entry.js} +1 -1
- package/dist/zonos-elements/p-61d73d69.js +1 -0
- package/dist/zonos-elements/{p-f9c715ad.entry.js → p-648f3ada.entry.js} +1 -1
- package/dist/zonos-elements/{p-8a01157e.system.entry.js → p-6ab742d9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a5f5993f.system.entry.js → p-6b682a6b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5678c044.system.entry.js → p-6b6cfc59.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e5582c35.entry.js → p-71fb6126.entry.js} +1 -1
- package/dist/zonos-elements/{p-86ed51fd.entry.js → p-72187e00.entry.js} +1 -1
- package/dist/zonos-elements/{p-19a1cc70.system.entry.js → p-72efa5b7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7677c45a.entry.js +1 -0
- package/dist/zonos-elements/{p-26374593.system.entry.js → p-781cc8de.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0f9a04fe.system.entry.js → p-79e5a629.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6b9ad020.entry.js → p-7b640194.entry.js} +1 -1
- package/dist/zonos-elements/{p-4477556a.system.entry.js → p-7b74e5f2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aaf9d8a4.system.entry.js → p-7c101a92.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-eaa79ed8.entry.js → p-889e5db0.entry.js} +1 -1
- package/dist/zonos-elements/p-8ccd6d3f.js +1 -0
- package/dist/zonos-elements/{p-ec6472c9.system.entry.js → p-8cd0a098.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1cc651e8.entry.js → p-928291e5.entry.js} +1 -1
- package/dist/zonos-elements/{p-d2b91bb9.entry.js → p-9aaa1d80.entry.js} +1 -1
- package/dist/zonos-elements/{p-a52ddeb5.js → p-9b660cd3.js} +1 -1
- package/dist/zonos-elements/{p-e755ab57.system.js → p-a371f770.system.js} +1 -1
- package/dist/zonos-elements/{p-72833da8.system.entry.js → p-a49ba3ae.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3686190f.js → p-a75baf3e.js} +1 -1
- package/dist/zonos-elements/{p-8753cb36.system.js → p-a9425900.system.js} +1 -1
- package/dist/zonos-elements/{p-41f2e301.entry.js → p-acf42bc1.entry.js} +1 -1
- package/dist/zonos-elements/p-b2d276e1.js +1 -0
- package/dist/zonos-elements/{p-274a7c0e.system.entry.js → p-b6df4cc2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-34dc7755.entry.js → p-bb77b580.entry.js} +1 -1
- package/dist/zonos-elements/p-bbbbae9a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-281063f4.system.entry.js → p-bce7bfcc.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e98e4c0b.system.entry.js → p-bf5c3dd7.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c7047a1c.js +1 -0
- package/dist/zonos-elements/{p-3d6ce58a.js → p-cd88efdb.js} +1 -1
- package/dist/zonos-elements/{p-59e16c6f.system.js → p-ce44c942.system.js} +1 -1
- package/dist/zonos-elements/{p-3fbdb83f.entry.js → p-d63e18a8.entry.js} +1 -1
- package/dist/zonos-elements/{p-bb0ce525.entry.js → p-daeb57cb.entry.js} +1 -1
- package/dist/zonos-elements/{p-2555ba6b.system.entry.js → p-deaf0e38.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4a4c3af1.system.entry.js → p-ea88f7f5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-30a0aed1.entry.js → p-f1bbad73.entry.js} +1 -1
- package/dist/zonos-elements/{p-ac54de99.entry.js → p-f76d5249.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/getContrastColor-68058615.js +0 -37
- package/dist/esm/getContrastColor-2340485f.js +0 -35
- package/dist/esm-es5/getContrastColor-2340485f.js +0 -1
- package/dist/zonos-elements/p-1ce71a7d.entry.js +0 -1
- package/dist/zonos-elements/p-349bdc03.system.entry.js +0 -1
- package/dist/zonos-elements/p-69e2a7dd.js +0 -1
- package/dist/zonos-elements/p-6f8abf4f.js +0 -1
- package/dist/zonos-elements/p-9b2d6f06.entry.js +0 -1
- package/dist/zonos-elements/p-9f7e7148.system.js +0 -1
- package/dist/zonos-elements/p-a901d002.js +0 -1
- package/dist/zonos-elements/p-b32cd0c5.system.js +0 -1
- package/dist/zonos-elements/p-c9a1f774.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore } from './cart-62c166fc.js';
|
|
3
|
+
import { t as translate } from './localization-d2631105.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-513ead96.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
|
-
import { c as invoiceStore } from './invoice-
|
|
6
|
+
import { c as invoiceStore } from './invoice-fa4ff6fb.js';
|
|
7
7
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
8
8
|
import './zonosStore-9662b071.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
@@ -30,10 +30,10 @@ const ZonosInvoiceCartItems = class {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '55bb132970db23e06698701d7d27e108ff0643e0', class: classes([
|
|
34
34
|
'zonos--invoice-cart-items zonos--elements',
|
|
35
35
|
this.isMobile && 'mobile',
|
|
36
|
-
]) }, h("table", { key: '
|
|
36
|
+
]) }, h("table", { key: 'c9722c17a507ca9fdcb8ca47151d14ba1d74f698', class: "zonos--cart-table" }, h("tbody", { key: 'd8d318e03bfeefaf687825c6131367e73c0b91ce' }, nonRestrictedItems.map(item => {
|
|
37
37
|
var _a, _b, _c, _d;
|
|
38
38
|
const invoiceId = (_b = (_a = item.attributes) === null || _a === void 0 ? void 0 : _a.find(metadata => metadata.key === 'invoiceId' || metadata.key === 'INVOICE_ID')) === null || _b === void 0 ? void 0 : _b.value;
|
|
39
39
|
const invoiceCreatedAt = (_d = (_c = item.attributes) === null || _c === void 0 ? void 0 : _c.find(metadata => metadata.key === 'invoiceCreatedAt')) === null || _d === void 0 ? void 0 : _d.value;
|
|
@@ -69,10 +69,10 @@ const ZonosInvoiceSubtotal = class {
|
|
|
69
69
|
this.isMobile = false;
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: 'a8d7a91a69c2ea3aeee0788f4d9523e1e65915eb', class: classes([
|
|
73
73
|
'zonos--invoice-subtotal zonos--elements',
|
|
74
74
|
this.isMobile && 'mobile',
|
|
75
|
-
]) }, h("table", { key: '
|
|
75
|
+
]) }, h("table", { key: 'fb299d6ea07b48c099fca14e0c16369bf7b93955', class: "zonos--invoice-table" }, h("tr", { key: '5b01748b535af171bed832076fcfeb5308279808', class: "zonos--row zonos--invoice-total" }, h("td", { key: '829797e7d5560c6f73b661cdc53b473c57c7ad2f', class: "zonos--column" }), h("td", { key: 'cc75308e6470b4fa12182001467e7d2ca7915405', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: '38c9de7d3393a999bc06a7bafe033aefa45ead5c', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: '962069d60839b82e374d3c4aae3b2a6709a82017', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
|
|
76
76
|
content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
|
|
77
77
|
amount: invoiceStore.amountTotalDue || 0,
|
|
78
78
|
isForeign: true,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-
|
|
3
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-62c166fc.js';
|
|
3
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-424d040d.js';
|
|
4
|
+
import { t as translate, s as storageStore, l as localizationStore } from './localization-d2631105.js';
|
|
5
5
|
import { z as zonosStore } from './zonosStore-9662b071.js';
|
|
6
6
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
@@ -10,9 +10,9 @@ import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
|
10
10
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
11
11
|
import { c as classes } from './classes-0d95c529.js';
|
|
12
12
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
13
|
-
import { c as invoiceStore } from './invoice-
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
13
|
+
import { c as invoiceStore } from './invoice-fa4ff6fb.js';
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-513ead96.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-cf237d95.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
17
17
|
import './isDarkColor-0a8453e7.js';
|
|
18
18
|
import './isContrastColor-6bad285e.js';
|
|
@@ -269,11 +269,11 @@ const ZonosInvoiceFinish = class {
|
|
|
269
269
|
}
|
|
270
270
|
render() {
|
|
271
271
|
const cartId = window.Zonos.cartId;
|
|
272
|
-
return (h(Host, { key: '
|
|
272
|
+
return (h(Host, { key: '5f563128da4ccbf30f9f09446760a83666be0987', class: "zonos--checkout-finish zonos--elements", style: {
|
|
273
273
|
'--zonos--border-radius': getBorderRadius({
|
|
274
274
|
overrideBorderStyle: this.borderRadius,
|
|
275
275
|
}),
|
|
276
|
-
} }, !this.isLoading && (h("div", { key: '
|
|
276
|
+
} }, !this.isLoading && (h("div", { key: '276f35404f91ae34b310e1f006770a8885a9751d', class: "zonos--finish-details" }, h("div", { key: 'e6f73be5adced5c4d7598a7c41827414a41b75fc', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '5c010a8bc22853ceb669b64cb0ac608dbd01f78c', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'c20d9274ef2d3824e581a172b416451f8ed0f4fb', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'eab62f7ca2bb6f9a610179a9c3a345844bf99d5b', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: '5a870802ce9b2b34769ac1fa2920e17eed0d1c91', class: "zonos--button-container" }, h("zonos-button", { key: '09784e7c0a421a304987d84c1d81f0ee2995c0eb', onClick: () => {
|
|
277
277
|
window.open(this.getReceiptUrl({ cartId }), '_blank');
|
|
278
278
|
}, size: "lg", variant: "primary" }, translate('View receipt')))))))));
|
|
279
279
|
}
|
|
@@ -338,15 +338,15 @@ const ZonosInvoiceFooter = class {
|
|
|
338
338
|
const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
|
|
339
339
|
// reverse color when on desktop. With the coversheet backdrop, the color should be white
|
|
340
340
|
const colorDesktop = 'gray-1000';
|
|
341
|
-
return (h(Host, { key: '
|
|
341
|
+
return (h(Host, { key: '01fce97d4d724d4bca4973a426e131da5a01dc16', class: classes([
|
|
342
342
|
'zonos--elements',
|
|
343
343
|
this.isMobile && 'mobile',
|
|
344
344
|
this.isTablet && 'tablet',
|
|
345
|
-
]) }, h("div", { key: '
|
|
345
|
+
]) }, h("div", { key: '99e579f6903c96c8540d5010fc128173e34e0997', class: "zonos--invoice-footer" }, h("div", { key: 'fa45f5e6fbb2ff06265f252fd3c3acf74b265e1e', class: "zonos--invoice-locale-wrapper" }, h("zonos-button", { key: '3496814c51949ff1f1d727bd5c9fabeb4b86372f', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: 'c669df5b12bce8be322fca8d0cb76a29b088fd25', class: "zonos--invoice-locale-label" }, languageLabel, h("zonos-icon", { key: '748444a42af6feef4378b418341927c15e9dc293', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '80943da0cc442ff525c7fd8f5d3f0159933b1950', class: classes([
|
|
346
346
|
'zonos--invoice-language-dialog',
|
|
347
347
|
this.showLanguageDialog &&
|
|
348
348
|
'zonos--invoice-language-dialog-open',
|
|
349
|
-
]) }, h("zonos-language-select", { key: '
|
|
349
|
+
]) }, h("zonos-language-select", { key: '5f72d992de939c0159979b7b054f50e803499d64', handleOnClose: () => this.toggleLanguageDialog() }))), h("div", { key: '5f751d324bea65a722d60643f7a55a83648dbff9', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: '041e633d638437535b04029bcc0173f69dc8861c', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: '57adb6eb396406aa2e1bf01e404fd53bc2c9c2cf', textColor: colorDesktop }, translate('Powered by')), h("a", { key: '6e87d992ab4d97d2edf7be4ee3d2a07d77dd93ea', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f13be4e13b4991b65f052587feba6e0b08382332', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: '44dbef690ef8088bfc30f2fc7dc83f693cd530f4', class: "dot" }), h("a", { key: '341ceb26c07e9d0aa1f273fc8ba0e92a7ddfb93b', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: '47b7c26113144d942fc98f1dd87883f818e2ef2a', textColor: colorDesktop }, translate('Privacy policy')))))));
|
|
350
350
|
}
|
|
351
351
|
get el() { return getElement(this); }
|
|
352
352
|
static get watchers() { return {
|
|
@@ -659,13 +659,13 @@ const ZonosInvoiceReview = class {
|
|
|
659
659
|
}
|
|
660
660
|
render() {
|
|
661
661
|
const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
|
|
662
|
-
return (h(Host, { key: '
|
|
662
|
+
return (h(Host, { key: '52bdf36710017e5fa9edc0c138639a06cb5d05c5', class: classes([
|
|
663
663
|
'zonos--invoice-review zonos--elements',
|
|
664
664
|
this.isMobile && 'mobile',
|
|
665
665
|
this.isTablet && 'tablet',
|
|
666
|
-
]) }, h("div", { key: '
|
|
666
|
+
]) }, h("div", { key: '3511c440fbf6ae155eca4d3a492f149dbfdef4c6', class: "zonos--title" }, h("zonos-text", { key: '8760547d3874af10a3b7e91e294ac6e68348db4f', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
|
|
667
667
|
organizationName: zonosStore.organizationName,
|
|
668
|
-
}))), h("div", { key: '
|
|
668
|
+
}))), h("div", { key: '09cd06a131b0e429e4797cea8eaf41b05cb7b676', class: "zonos--total-pay" }, renderFallback({
|
|
669
669
|
content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
|
|
670
670
|
amount: invoiceStore.amountTotalDue || 0,
|
|
671
671
|
isForeign: true,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
3
|
-
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-
|
|
2
|
+
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-62c166fc.js';
|
|
3
|
+
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-fa4ff6fb.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-424d040d.js';
|
|
5
|
+
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-d2631105.js';
|
|
6
6
|
import { z as zonosStore } from './zonosStore-9662b071.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-
|
|
2
|
+
import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-d2631105.js';
|
|
3
3
|
import { f as zonosStoreFontFamily } from './zonosStore-9662b071.js';
|
|
4
4
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
@@ -30,9 +30,9 @@ const ZonosLanguageSelect = class {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
const { selectedLocale } = localizationStore;
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '73a3caa12f7e3086474f200b6ee839b08213d77d', class: "zonos--elements", style: {
|
|
34
34
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
35
|
-
} }, h("div", { key: '
|
|
35
|
+
} }, h("div", { key: '1c99467d96401c5887326e54d738c305b9d15278', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '61d06916c6d8c56f6d95beb4d4869f5bd1d4704d', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'b5cee89f90a0911b15607e0897803d73a182b367', 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 })))))))));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
|
|
@@ -56,9 +56,9 @@ const ZonosSelectDialogHeader = class {
|
|
|
56
56
|
this.label = '';
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'fe2c8fdf8526d9737d5e78c97c823a8cb18caa15', class: "zonos--elements", style: {
|
|
60
60
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
61
|
-
} }, h("zonos-v-stack", { key: '
|
|
61
|
+
} }, h("zonos-v-stack", { key: '32c1113029b0b20d98615556c3ac34bafeadf8cf', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '2f41e2f8d0c9593a8d2ea42af914cb9600ecb392', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '8eb0aeee1db700d9fb70423ddc907ea83af0922a', type: "boldLabel" }, this.label), h("zonos-button", { key: '21d8f5a416d8cee77112dba035c9f45e2a539d3e', 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: '5f5b18516cf6c5c98286f037804eb589e270ce3b' }))));
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
|
|
@@ -12,7 +12,7 @@ const ZonosLink = class {
|
|
|
12
12
|
this.href = '';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'cd003919a24549f15dd74070af6298426c291551', class: "zonos--elements" }, h("a", { key: '0825c350db56dcde8d6f79e269ffbf04f4adb65c', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: 'bb9d77ba3dbc358e5359ee3422a638cb712af263' }))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ZonosLink.style = ZonosLinkStyle0;
|
|
@@ -22,11 +22,11 @@ const ZonosLogo = class {
|
|
|
22
22
|
const filterColor = this.theme === 'DARK'
|
|
23
23
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
24
24
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: 'deeabf3741e7b907703667597b8a7dfe26612d66', class: classes(['zonos--elements zonos--logo']), style: {
|
|
26
26
|
'--zonos--filter-color': filterColor,
|
|
27
27
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
28
28
|
'--zonos--width': this.width,
|
|
29
|
-
} }, h("img", { key: '
|
|
29
|
+
} }, h("img", { key: 'fc2d30312252068910760cbd32ae0615c7a988c1', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
30
30
|
}
|
|
31
31
|
static get assetsDirs() { return ["assets"]; }
|
|
32
32
|
};
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, d as createEvent, h, a as Host, g as getElement
|
|
|
2
2
|
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-9662b071.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
|
|
5
|
-
import { g as getContrastColor } from './getContrastColor-
|
|
5
|
+
import { g as getContrastColor } from './getContrastColor-0aa643c1.js';
|
|
6
6
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
import './isDarkColor-0a8453e7.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
2
|
+
import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-62c166fc.js';
|
|
3
|
+
import { t as translate } from './localization-d2631105.js';
|
|
4
4
|
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-9662b071.js';
|
|
5
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
5
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-513ead96.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-98c64be8.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
@@ -73,7 +73,7 @@ const ZonosStripeInput = class {
|
|
|
73
73
|
? zonosStore.appearance.theme === 'DARK'
|
|
74
74
|
: primaryColor && isDarkColor(primaryColor);
|
|
75
75
|
const fontSize = zonosStore.appearance.fontSizeInputValue || 16;
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'f9f06dba4fb5f74088bd501fad3dbe9784e54b87', class: classes([
|
|
77
77
|
'zonos--input zonos--elements',
|
|
78
78
|
isDark && 'dark',
|
|
79
79
|
(this.isError || !!this.error) && 'has-error',
|
|
@@ -82,10 +82,10 @@ const ZonosStripeInput = class {
|
|
|
82
82
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
83
83
|
'--zonos--font-size': `${fontSize}px`,
|
|
84
84
|
'--zonos--primary-color': secondaryColor,
|
|
85
|
-
} }, h("div", { key: '
|
|
85
|
+
} }, h("div", { key: '9af2062a1f5730eea33d3741961f359a69f5ce83', class: classes([
|
|
86
86
|
'zonos--label-wrapper',
|
|
87
87
|
this.isDisabled && 'disabled',
|
|
88
|
-
]) }, h("input", Object.assign({ key: '
|
|
88
|
+
]) }, h("input", Object.assign({ key: '01d97ec638227200096f60d6f5408246c857662d' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes([
|
|
89
89
|
'zonos--floated-input',
|
|
90
90
|
!!this.inputLabel && 'has-label',
|
|
91
91
|
this.internalValue && 'has-content',
|
|
@@ -95,7 +95,7 @@ const ZonosStripeInput = class {
|
|
|
95
95
|
this.inputChange.emit(input.value);
|
|
96
96
|
this.el.inputValue = input.value;
|
|
97
97
|
this.el.dispatchEvent(new Event('change'));
|
|
98
|
-
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '
|
|
98
|
+
}, placeholder: this.inputPlaceholder || '', required: this.required, type: "text", value: this.internalValue })), h("div", { key: '7344a6d20db2d94f49a1b848f49cb0dc17ad759d', class: "zonos--floated-label" }, h("label", { key: 'bac9810d8897672b7c7ab5e3cb07f1ae03803a8e', htmlFor: this.inputId }, this.inputLabel))), this.error && (h("zonos-text", { key: '7f84007f704fb2f1da0c7581f23c426d87cf1cc0', textColor: "red-600", type: "caption" }, this.error))));
|
|
99
99
|
}
|
|
100
100
|
get el() { return getElement(this); }
|
|
101
101
|
static get watchers() { return {
|