@zonos/elements 1.3.22 → 1.3.23
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/{ILanguage-d247b45b.js → ILanguage-98b04442.js} +2 -2
- package/dist/cjs/{cart-f963b239.js → cart-c734e909.js} +219 -220
- package/dist/cjs/{getBorderRadius-332422ab.js → getBorderRadius-ea0984bb.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{isDarkColor-3ddf6511.js → isDarkColor-b14d5752.js} +1 -1
- package/dist/cjs/{submitGtag-8d562ad4.js → submitGtag-336b437c.js} +2 -2
- package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
- package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-cart-items_11.cjs.entry.js +6 -6
- package/dist/cjs/zonos-checkout.cjs.entry.js +5 -5
- package/dist/cjs/zonos-controller.cjs.entry.js +8 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +7 -7
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +13 -11
- package/dist/cjs/zonos-hello.cjs.entry.js +7 -5
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-768d6ca0.js → zonosStore-3958bbeb.js} +0 -2
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +3 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -3
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +9 -7
- package/dist/collection/components/store/hello/localization.js +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +10 -10
- package/dist/collection/components/store/translationStore/strings.base.js +10 -10
- package/dist/collection/components/store/translationStore/strings.chinese.js +10 -10
- package/dist/collection/components/store/translationStore/strings.danish.js +10 -10
- package/dist/collection/components/store/translationStore/strings.dutch.js +10 -10
- package/dist/collection/components/store/translationStore/strings.french.js +10 -10
- package/dist/collection/components/store/translationStore/strings.german.js +10 -10
- package/dist/collection/components/store/translationStore/strings.hebrew.js +10 -10
- package/dist/collection/components/store/translationStore/strings.indonesian.js +10 -10
- package/dist/collection/components/store/translationStore/strings.italian.js +10 -10
- package/dist/collection/components/store/translationStore/strings.japanese.js +10 -10
- package/dist/collection/components/store/translationStore/strings.korean.js +10 -10
- package/dist/collection/components/store/translationStore/strings.norwegian.js +10 -10
- package/dist/collection/components/store/translationStore/strings.polish.js +10 -10
- package/dist/collection/components/store/translationStore/strings.portuguese.js +10 -10
- package/dist/collection/components/store/translationStore/strings.russian.js +10 -10
- package/dist/collection/components/store/translationStore/strings.spanish.js +10 -10
- package/dist/collection/components/store/translationStore/strings.swedish.js +10 -10
- package/dist/collection/components/store/translationStore/strings.turkish.js +10 -10
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +10 -10
- package/dist/collection/components/store/translationStore.js +2 -2
- package/dist/collection/components/store/zonosStore.js +0 -2
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +1 -15
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +14 -2
- package/dist/collection/components/utils/hello/initHello.js +4 -2
- package/dist/collection/types/ILanguage.js +2 -2
- package/dist/esm/{ILanguage-97790bee.js → ILanguage-cd6acb72.js} +2 -2
- package/dist/esm/{cart-efecbea6.js → cart-67471b37.js} +219 -220
- package/dist/esm/{getBorderRadius-a2e46e26.js → getBorderRadius-5e5a5800.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{isDarkColor-69ed8e39.js → isDarkColor-5185b62c.js} +1 -1
- package/dist/esm/{submitGtag-a7b8a86e.js → submitGtag-1f42c748.js} +2 -2
- package/dist/esm/zonos-address_8.entry.js +4 -4
- package/dist/esm/zonos-badge_2.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_2.entry.js +5 -5
- package/dist/esm/zonos-cart-items_11.entry.js +6 -6
- package/dist/esm/zonos-checkout.entry.js +5 -5
- package/dist/esm/zonos-controller.entry.js +8 -6
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_3.entry.js +7 -7
- package/dist/esm/zonos-hello-dialog.entry.js +13 -11
- package/dist/esm/zonos-hello.entry.js +7 -5
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-notification.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +4 -4
- package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/{zonosStore-93da32b4.js → zonosStore-8b9ea19c.js} +0 -2
- package/dist/esm-es5/ILanguage-cd6acb72.js +1 -0
- package/dist/esm-es5/cart-67471b37.js +1 -0
- package/dist/esm-es5/{getBorderRadius-a2e46e26.js → getBorderRadius-5e5a5800.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-69ed8e39.js → isDarkColor-5185b62c.js} +1 -1
- package/dist/esm-es5/{submitGtag-a7b8a86e.js → submitGtag-1f42c748.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.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_3.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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-93da32b4.js → zonosStore-8b9ea19c.js} +1 -1
- package/dist/scripts/index.d.ts +21 -9
- 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/store/translationStore/strings.arabic.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.base.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.french.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.german.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -8
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -8
- package/dist/types/components/store/translationStore.d.ts +7 -7
- package/dist/types/components/utils/hello/currencyConversion/getCurrencyElements.d.ts +1 -1
- package/dist/types/scripts/_zonosBase.d.ts +21 -2
- package/dist/types/types/ILanguage.d.ts +2 -2
- package/dist/types/types/hello/HelloConfig.d.ts +1 -3
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-c77c056d.system.entry.js → p-02a01106.system.entry.js} +1 -1
- package/dist/zonos-elements/p-065ada8a.system.js +1 -0
- package/dist/zonos-elements/{p-18432252.js → p-083850d3.js} +1 -1
- package/dist/zonos-elements/{p-283aa6f9.system.entry.js → p-088d6460.system.entry.js} +1 -1
- package/dist/zonos-elements/p-08d1cfc4.entry.js +1 -0
- package/dist/zonos-elements/{p-8df58197.system.entry.js → p-0d30f36e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-13940c52.entry.js → p-0ea19a4d.entry.js} +1 -1
- package/dist/zonos-elements/{p-7d2fc0fd.entry.js → p-1752853e.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b7438ef.entry.js → p-18464027.entry.js} +1 -1
- package/dist/zonos-elements/{p-33f83b9a.system.entry.js → p-1e2fbb1d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36f8a3df.system.js → p-234f8729.system.js} +1 -1
- package/dist/zonos-elements/p-33b054d9.system.js +1 -0
- package/dist/zonos-elements/p-440ac320.js +1 -0
- package/dist/zonos-elements/{p-bbe5d0f0.entry.js → p-44250644.entry.js} +1 -1
- package/dist/zonos-elements/{p-8a65433a.entry.js → p-4a3b5fc8.entry.js} +1 -1
- package/dist/zonos-elements/{p-d6f829c2.entry.js → p-52900b33.entry.js} +1 -1
- package/dist/zonos-elements/{p-20ab8daf.system.entry.js → p-5437dd24.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1e07c616.system.entry.js → p-5992c6fb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c53f7199.entry.js → p-607b5560.entry.js} +1 -1
- package/dist/zonos-elements/{p-ecaed308.system.entry.js → p-65671a64.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-140bb400.system.entry.js → p-6f132cee.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6e717c40.system.entry.js → p-713bb92e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7d61e6e5.entry.js +1 -0
- package/dist/zonos-elements/{p-a20f6ba3.entry.js → p-7fa5a6ea.entry.js} +1 -1
- package/dist/zonos-elements/p-8473827d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-884b41a8.system.js → p-8853e051.system.js} +1 -1
- package/dist/zonos-elements/p-8ed0769e.entry.js +1 -0
- package/dist/zonos-elements/{p-2641f474.system.entry.js → p-92c64a9c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-97aceb11.js +1 -0
- package/dist/zonos-elements/{p-2d3940dc.entry.js → p-9c0859b5.entry.js} +1 -1
- package/dist/zonos-elements/p-9c3a036e.system.js +1 -0
- package/dist/zonos-elements/{p-c0f0edbe.entry.js → p-9c8705ac.entry.js} +1 -1
- package/dist/zonos-elements/{p-e5f7ff0f.entry.js → p-a18555c8.entry.js} +1 -1
- package/dist/zonos-elements/{p-795a3ed5.js → p-a5e9d372.js} +1 -1
- package/dist/zonos-elements/{p-e625f68d.system.entry.js → p-af3ee45d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-edfb5021.entry.js → p-b1ee97d8.entry.js} +1 -1
- package/dist/zonos-elements/{p-3bee1a04.system.entry.js → p-b79753bb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-85a49fb8.system.entry.js → p-b9195764.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a52afd83.system.js → p-be14323b.system.js} +1 -1
- package/dist/zonos-elements/{p-95ffff25.js → p-bf9dca26.js} +1 -1
- package/dist/zonos-elements/{p-5ca32f4f.entry.js → p-bfc30599.entry.js} +1 -1
- package/dist/zonos-elements/{p-d8255adf.entry.js → p-c0ddef11.entry.js} +1 -1
- package/dist/zonos-elements/{p-68e3ef26.system.entry.js → p-c1879326.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-df267420.js → p-c53cef11.js} +1 -1
- package/dist/zonos-elements/p-c9e433c0.system.js +1 -0
- package/dist/zonos-elements/{p-298b5d95.entry.js → p-cbf13745.entry.js} +1 -1
- package/dist/zonos-elements/{p-5edc4f18.system.entry.js → p-d6796b73.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c2328652.system.entry.js → p-d7e6cad0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-57d70603.entry.js → p-db9e87ec.entry.js} +1 -1
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
- package/dist/zonos-elements/{p-678daa20.system.entry.js → p-f7468131.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9a299a98.system.entry.js → p-fedafdd2.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ILanguage-97790bee.js +0 -1
- package/dist/esm-es5/cart-efecbea6.js +0 -1
- package/dist/zonos-elements/p-102c670d.entry.js +0 -1
- package/dist/zonos-elements/p-16ad90ca.js +0 -1
- package/dist/zonos-elements/p-348adf28.js +0 -1
- package/dist/zonos-elements/p-49061c5d.entry.js +0 -1
- package/dist/zonos-elements/p-968df90a.entry.js +0 -1
- package/dist/zonos-elements/p-abe7524f.system.js +0 -1
- package/dist/zonos-elements/p-c7360a6c.system.js +0 -1
- package/dist/zonos-elements/p-d0a2b1ba.system.entry.js +0 -1
- package/dist/zonos-elements/p-d0c53fba.system.js +0 -1
- package/dist/zonos-elements/p-dafc6260.system.js +0 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -236,8 +236,8 @@ const zonosLoadUrl = (() => {
|
|
|
236
236
|
}
|
|
237
237
|
return null;
|
|
238
238
|
})();
|
|
239
|
-
const ZONOS_URL = zonosLoadUrl || "https://v1.3.
|
|
240
|
-
const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
239
|
+
const ZONOS_URL = zonosLoadUrl || "https://v1.3.23.js.zonos.com";
|
|
240
|
+
const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.23";
|
|
241
241
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
242
242
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
243
243
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
@@ -257,7 +257,7 @@ Zonos.isBigCommerce = false;
|
|
|
257
257
|
Zonos.isNpm = true;
|
|
258
258
|
Zonos.internationalHideSelector = '';
|
|
259
259
|
Zonos.zonosQaUrl = null;
|
|
260
|
-
Zonos.version = `v${"1.3.
|
|
260
|
+
Zonos.version = `v${"1.3.23"}`;
|
|
261
261
|
Zonos.modeAlerted = false;
|
|
262
262
|
Zonos.tempCartData = null;
|
|
263
263
|
Zonos.getCurrentTimestamp = () => new Date().getTime();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const zonosStore = require('./zonosStore-
|
|
3
|
+
const cart = require('./cart-c734e909.js');
|
|
4
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
5
5
|
const logError = require('./logError-4e2f2020.js');
|
|
6
6
|
|
|
7
7
|
const trackConversionEvent = async (eventName, metadata) => {
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
7
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
8
8
|
const logError = require('./logError-4e2f2020.js');
|
|
9
9
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
10
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
12
12
|
const RemoveIcon$1 = require('./RemoveIcon-081ac073.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
14
|
-
const isDarkColor = require('./isDarkColor-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-b14d5752.js');
|
|
15
15
|
|
|
16
16
|
const zonosAddressCss = ".sc-zonos-address-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-address-h *.sc-zonos-address{font-family:var(--font-family, Inter), Inter}.sc-zonos-address-h img.sc-zonos-address{max-width:100%}.sc-zonos-address-h dl.sc-zonos-address,.sc-zonos-address-h dd.sc-zonos-address,.sc-zonos-address-h h1.sc-zonos-address,.sc-zonos-address-h h2.sc-zonos-address,.sc-zonos-address-h h3.sc-zonos-address,.sc-zonos-address-h h4.sc-zonos-address,.sc-zonos-address-h h5.sc-zonos-address,.sc-zonos-address-h h6.sc-zonos-address,.sc-zonos-address-h hr.sc-zonos-address,.sc-zonos-address-h figure.sc-zonos-address,.sc-zonos-address-h p.sc-zonos-address,.sc-zonos-address-h pre.sc-zonos-address{margin:0}.sc-zonos-address-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-address-h .zonos--title.sc-zonos-address{margin-bottom:16px}.sc-zonos-address-h zonos-banner.sc-zonos-address{margin-top:8px}";
|
|
17
17
|
const ZonosAddressStyle0 = zonosAddressCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosBadgeCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-inline-flexbox;display:inline-flex}:host .zonos--badge-content{display:-ms-flexbox;display:flex;gap:8px;font-size:var(--zonos-elements-font-size-s);padding:4px 8px;text-align:center;border-radius:var(--zonos-elements-radius-6);background-color:var(--zonos-elements-gray-100);color:var(--zonos-elements-gray-800);-ms-flex-align:center;align-items:center}:host p{font-weight:600;line-height:16px}:host .icon-right svg{-ms-flex-order:2;order:2}:host .small{padding:2px 8px}:host .rounded{border-radius:20px}:host .bold{background-color:var(--zonos-elements-gray-600);color:var(--zonos-elements-gray-100)}:host .blue{background-color:var(--zonos-elements-blue-100);color:var(--zonos-elements-blue-800)}:host .blue.bold{background-color:var(--zonos-elements-blue-600);color:var(--zonos-elements-blue-100)}:host .green{background-color:var(--zonos-elements-green-100);color:var(--zonos-elements-green-800)}:host .green.bold{background-color:var(--zonos-elements-green-600);color:var(--zonos-elements-green-100)}:host .red{background-color:var(--zonos-elements-red-100);color:var(--zonos-elements-red-800)}:host .red.bold{background-color:var(--zonos-elements-red-600);color:var(--zonos-elements-red-100)}:host .orange{background-color:var(--zonos-elements-orange-100);color:var(--zonos-elements-orange-800)}:host .orange.bold{background-color:var(--zonos-elements-orange-600);color:var(--zonos-elements-orange-100)}:host .purple{background-color:var(--zonos-elements-purple-100);color:var(--zonos-elements-purple-800)}:host .purple.bold{background-color:var(--zonos-elements-purple-600);color:var(--zonos-elements-purple-100)}:host .cyan{background-color:var(--zonos-elements-cyan-100);color:var(--zonos-elements-cyan-800)}:host .cyan.bold{background-color:var(--zonos-elements-cyan-600);color:var(--zonos-elements-cyan-100)}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosBannerCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{border-radius:var(--zonos-elements-radius-10);padding:16px;background:var(--zonos-elements-gray-100)}:host .zonos--container{display:grid;-ms-flex-align:center;align-items:center;grid-template-areas:\"icon header\" \". content\";grid-template-columns:32px auto 0}:host .zonos--icon-wrapper{grid-area:icon;display:-ms-flexbox;display:flex;justify-self:start}:host .zonos--header-wrapper{margin-top:0px;grid-area:header}:host .zonos--content-wrapper{grid-area:content;margin-top:4px}:host(.info){background-color:var(--zonos-elements-blue-100);border:1px solid var(--zonos-elements-blue-200)}:host(.success){background-color:var(--zonos-elements-green-100);border:1px solid var(--zonos-elements-green-200)}:host(.error){background-color:var(--zonos-elements-red-100);border:1px solid var(--zonos-elements-red-200)}:host(.warning){background-color:var(--zonos-elements-orange-100);border:1px solid var(--zonos-elements-orange-200)}";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
9
9
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
10
|
-
const isDarkColor = require('./isDarkColor-
|
|
10
|
+
const isDarkColor = require('./isDarkColor-b14d5752.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Get theme for button text based on background color
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const cart = require('./cart-
|
|
9
|
-
const ILanguage = require('./ILanguage-
|
|
8
|
+
const cart = require('./cart-c734e909.js');
|
|
9
|
+
const ILanguage = require('./ILanguage-98b04442.js');
|
|
10
10
|
require('./logError-4e2f2020.js');
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
11
|
+
require('./isDarkColor-b14d5752.js');
|
|
12
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
13
13
|
|
|
14
14
|
const zonosCardCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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-elements-radius-6);padding:var(--spacing, 24px);text-align:left}: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)}";
|
|
15
15
|
const ZonosCardStyle0 = zonosCardCss;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
9
|
-
const submitGtag = require('./submitGtag-
|
|
10
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
9
|
+
const submitGtag = require('./submitGtag-336b437c.js');
|
|
10
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
11
11
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
12
|
-
const ILanguage = require('./ILanguage-
|
|
13
|
-
const isDarkColor = require('./isDarkColor-
|
|
12
|
+
const ILanguage = require('./ILanguage-98b04442.js');
|
|
13
|
+
const isDarkColor = require('./isDarkColor-b14d5752.js');
|
|
14
14
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
15
15
|
const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
|
|
16
16
|
require('./logError-4e2f2020.js');
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
8
|
-
const submitGtag = require('./submitGtag-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
|
+
const submitGtag = require('./submitGtag-336b437c.js');
|
|
9
9
|
const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
|
|
10
10
|
const logError = require('./logError-4e2f2020.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
12
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
13
|
-
const isDarkColor = require('./isDarkColor-
|
|
12
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
13
|
+
const isDarkColor = require('./isDarkColor-b14d5752.js');
|
|
14
14
|
const RemoveIcon = require('./RemoveIcon-081ac073.js');
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
8
|
const logError = require('./logError-4e2f2020.js');
|
|
9
|
-
require('./isDarkColor-
|
|
10
|
-
require('./getBorderRadius-
|
|
9
|
+
require('./isDarkColor-b14d5752.js');
|
|
10
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
11
11
|
|
|
12
12
|
const getZonosSettings = async () => {
|
|
13
13
|
const url = `${"https://v1.route.js.zonos.com"}/api/zonos-elements/zonos-settings`;
|
|
@@ -111,10 +111,12 @@ const initHello = async (helloSettings) => {
|
|
|
111
111
|
childList: true,
|
|
112
112
|
subtree: true,
|
|
113
113
|
});
|
|
114
|
-
// kill observer after
|
|
114
|
+
// kill observer after 1 second if the hello still not injected, if the hello still not injected after 1 second, it's likely that the selector the user doesn't want to use hello
|
|
115
115
|
setTimeout(() => {
|
|
116
116
|
observer.disconnect();
|
|
117
|
-
|
|
117
|
+
// inject hello to mobile anchor if hello is still not found
|
|
118
|
+
injectHelloComponent(mobileHelloAnchor);
|
|
119
|
+
}, 1000);
|
|
118
120
|
}
|
|
119
121
|
};
|
|
120
122
|
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./logError-4e2f2020.js');
|
|
10
|
-
require('./isDarkColor-
|
|
11
|
-
require('./getBorderRadius-
|
|
10
|
+
require('./isDarkColor-b14d5752.js');
|
|
11
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
12
12
|
|
|
13
13
|
const zonosCountryFlagCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
|
|
14
14
|
const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
|
-
const isDarkColor = require('./isDarkColor-
|
|
10
|
-
const ILanguage = require('./ILanguage-
|
|
9
|
+
const isDarkColor = require('./isDarkColor-b14d5752.js');
|
|
10
|
+
const ILanguage = require('./ILanguage-98b04442.js');
|
|
11
11
|
require('./logError-4e2f2020.js');
|
|
12
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
|
|
@@ -1883,9 +1883,9 @@ const ZonosHelloDialogFooter = class {
|
|
|
1883
1883
|
const language = (_b = ILanguage.languages.find(x => x.code === cart.localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
1884
1884
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
1885
1885
|
const mainColor = primaryColor && isDarkColor.isDarkColor(primaryColor) ? 'white' : 'black';
|
|
1886
|
-
return (index.h(index.Host, { key: '
|
|
1886
|
+
return (index.h(index.Host, { key: 'a43121c2a6e9410362a570f9270f0b32c587200b', class: "zonos--elements" }, index.h("div", { key: 'f8bf4003c536abd60a903b808f1cd136bcebbd0a', class: "zonos--hello-dialog-footer", style: {
|
|
1887
1887
|
'--primary-color': primaryColor,
|
|
1888
|
-
} }, index.h("a", { key: '
|
|
1888
|
+
} }, index.h("a", { key: 'a3967d63fee336a53ede4dfe30f270d7c932dfed', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, index.h("zonos-icon", { key: '72e918b1b6800d97df8f73487b7d72f8130312d7', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), index.h("div", { key: '9614506f8b3eac485fa19a1743ac6fc0117f9611', class: "zonos--hello-locale-wrapper" }, index.h("zonos-button", { key: '2e72f28b9b08d9a729340f6c0999bf48381bfe00', buttonColor: mainColor, icon: index.h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, language), index.h("zonos-button", { key: 'd4832d123d553b71eacda5f6ec66d0a36e1018d3', buttonColor: mainColor, icon: index.h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: cart.localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, cart.localizationStore.selectedCountryCode)))));
|
|
1889
1889
|
}
|
|
1890
1890
|
get ele() { return index.getElement(this); }
|
|
1891
1891
|
};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
11
11
|
require('./logError-4e2f2020.js');
|
|
12
|
-
require('./isDarkColor-
|
|
13
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./isDarkColor-b14d5752.js');
|
|
13
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
14
14
|
|
|
15
15
|
const getHasMoreSpaceAbove = (ref) => {
|
|
16
16
|
const componentRect = ref.getBoundingClientRect();
|
|
@@ -101,19 +101,19 @@ const ZonosHelloDialog = class {
|
|
|
101
101
|
return null;
|
|
102
102
|
}
|
|
103
103
|
const dutyDeminimis = landedCost.dutyDeminimus;
|
|
104
|
-
return cart.translate('Orders to
|
|
104
|
+
return cart.translate('Orders to [countryName] must be over [threshold] to ship.', {
|
|
105
105
|
countryName: 'United Kingdom',
|
|
106
106
|
threshold: cart.currencyFormat({ amount: dutyDeminimis }),
|
|
107
107
|
});
|
|
108
108
|
};
|
|
109
109
|
this.getAustraliaDutyTaxMessage = (landedCost) => {
|
|
110
|
-
return cart.translate('
|
|
110
|
+
return cart.translate('[percentage] GST due on any order above [threshold].', {
|
|
111
111
|
percentage: `${landedCost.vatTaxRate * 100}%`,
|
|
112
112
|
threshold: cart.currencyFormat({ amount: landedCost.vatTaxDeminimus }),
|
|
113
113
|
});
|
|
114
114
|
};
|
|
115
115
|
this.getNewZealandDutyTaxMessge = (landedCost) => {
|
|
116
|
-
return cart.translate('
|
|
116
|
+
return cart.translate('[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy.', {
|
|
117
117
|
percentage: `${landedCost.vatTaxRate * 100}%`,
|
|
118
118
|
threshold: cart.currencyFormat({ amount: landedCost.vatTaxDeminimus }),
|
|
119
119
|
});
|
|
@@ -173,23 +173,25 @@ const ZonosHelloDialog = class {
|
|
|
173
173
|
(this.dialogRef && getHasMoreSpaceOnRight.getHasMoreSpaceOnRight(this.dialogRef));
|
|
174
174
|
const animateFromBottom = this.dialogRef && getHasMoreSpaceAbove(this.dialogRef);
|
|
175
175
|
const { customMessages } = cart.localizationStore;
|
|
176
|
-
const welcomeMessage =
|
|
176
|
+
const welcomeMessage = cart.translate('Welcome to [storeName]!', {
|
|
177
|
+
storeName: zonosStore.zonosStore.organizationName,
|
|
178
|
+
});
|
|
177
179
|
const defaultMessageStr = ((_a = customMessages.find(x => x.pageName === 'hello_default')) === null || _a === void 0 ? void 0 : _a.message) ||
|
|
178
180
|
cart.translate('Know about duties and taxes before you buy. Shop with confidence!');
|
|
179
181
|
const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
|
|
180
182
|
const currentPage = this.getCurrentPageEnum();
|
|
181
183
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
182
|
-
return (index.h(index.Host, { key: '
|
|
184
|
+
return (index.h(index.Host, { key: 'c8f49239246e63e8df2a57b3349b8ad97e84a216', class: "zonos--elements" }, index.h("div", { key: '6fd4ac561ae03f823acdecce1a40e0164096b2df', "aria-hidden": "true", class: classes.classes([
|
|
183
185
|
'zonos--hello-dialog',
|
|
184
186
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
185
187
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
186
188
|
!!this.mobileLocationOverride &&
|
|
187
189
|
'zonos--hello-dialog-mobile-override',
|
|
188
190
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
189
|
-
]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '
|
|
191
|
+
]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '7c8fa46a42ca6b4bbaab68e25c77e56306120fbf' }, index.h("div", { key: 'c2cc19c362b09e6dfd56f62a63302e6d2dc6f500', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: 'b108faf0e9e997be2f6c497dc859f8f154c78c49', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { key: '1f6ef6edbc73d4935fbfeed08dcbbcf31cf5dcd4', spacing: 24 }, index.h("zonos-country-flag", { key: '7f1d844bb5b39ecc7555abdda7d3be9f341b11d0', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: '7df9a3867b69e90134565e4115df94f504f1d9f6', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: '6c10ffcef44b13642496a4ee2d2740498d8c2742', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: '5a455ba25cbe525df77c42f8db03c080f51ee1a5', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: 'b298a89bbbca53b32136093a386fc10d9d9aa39e', spacing: 8 }, this.restrictedItems.map(item => {
|
|
190
192
|
var _a;
|
|
191
193
|
return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
192
|
-
}), index.h("zonos-card", { key: '
|
|
194
|
+
}), index.h("zonos-card", { key: '0436fd5b2157162e41426b9a0723c3f94140a465', spacing: "12px" }, index.h("zonos-v-stack", { key: 'd673d38dee2d274cd0010d3f6ac265548374c238', spacing: 12 }, index.h("div", { key: 'ab44b5782f6a2d9d2fa0abe36feafbb1f9a56782', class: "zonos--flex-message" }, index.h("zonos-icon", { key: 'dc84c724a6f2354414ccba221ab7bc6849717534', "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", { key: '534fea4854e05f0550fe97fcdb2c133d21f7dfd7' }, dutyDeMinimisMessage)), index.h("div", { key: 'fb08aa1b5a63dc3170245e8ea14525da097c6f5f', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '4e82ccee8a63d682ba818609e9eeb080d9ea2342', "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", { key: '00f4d5936b105247396fd45c91bc66bc034a2280' }, taxDeMinimisMessage)), additionalInformation && (index.h("div", { key: 'cb5126e6b7f0c4197dc3247948397b0298dce015', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '555dfb42452e298c17718cd3cee2179abb9a5e2f', "aria-label": "Low value order shipping restriction", content: BagIcon }), index.h("zonos-text", { key: 'd1d29153de5ae3c2dcbca2622bc0cea3dc9b6fa5' }, additionalInformation))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '7e1d4b405972059bd759ba12a760e4037eb8a724', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: '5e8adbd361831901f60687b243030ff20a55de42' }, index.h("zonos-country-select", { key: '3ac541296c02b366f10aace6a8497e06eded103a', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '37aa0ebdf43b0252c4fc3d249751bd6a7cd7341f' }, index.h("zonos-language-select", { key: '7394d663a509ff75fb5c79cd27403fda02d29877', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
193
195
|
}
|
|
194
196
|
static get assetsDirs() { return ["assets"]; }
|
|
195
197
|
static get watchers() { return {
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
7
|
-
const cart = require('./cart-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
|
+
const cart = require('./cart-c734e909.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const logError = require('./logError-4e2f2020.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
11
|
+
require('./isDarkColor-b14d5752.js');
|
|
12
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
13
13
|
|
|
14
14
|
var root = zonosStore._root;
|
|
15
15
|
|
|
@@ -496,7 +496,9 @@ const ZonosHello = class {
|
|
|
496
496
|
case 'productDetail':
|
|
497
497
|
return cart.translate(`See duty and tax thresholds`);
|
|
498
498
|
default:
|
|
499
|
-
return
|
|
499
|
+
return cart.translate('Welcome to [storeName]!', {
|
|
500
|
+
storeName: organizationName,
|
|
501
|
+
});
|
|
500
502
|
}
|
|
501
503
|
};
|
|
502
504
|
this.enableShowPeekMessage = () => {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
9
9
|
|
|
10
10
|
const zonosInputCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{margin:1px;}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--border-radius)}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
|
|
11
11
|
const ZonosInputStyle0 = zonosInputCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosLogoCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-inline-flexbox;display:inline-flex}:host img{-webkit-filter:var(--filter-color);filter:var(--filter-color);width:var(--width)}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const zonosNotificationCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .zonos--notification-items{position:fixed;z-index:9999999;bottom:24px;gap:8px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}:host .zonos--notification-item{cursor:pointer;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;padding:8px;border-radius:var(--border-radius, var(--zonos-elements-radius-6));opacity:0;-ms-flex-negative:0.0001;flex-shrink:0.0001;-webkit-transform:translateY(100%);transform:translateY(100%)}:host .zonos--notification-item+:host .zonos--notification-item{margin-top:8px}:host .zonos--notification-item.show{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-ms-flex-positive:1000;flex-grow:1000}:host .zonos--notification-item.success{background-color:var(--zonos-elements-green-700)}:host .zonos--notification-item.error{background-color:var(--zonos-elements-red-700)}:host .zonos--notification-item.warning{background-color:var(--zonos-elements-orange-700)}";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const cart = require('./cart-
|
|
6
|
+
const cart = require('./cart-c734e909.js');
|
|
7
7
|
const logError = require('./logError-4e2f2020.js');
|
|
8
|
-
require('./zonosStore-
|
|
9
|
-
require('./isDarkColor-
|
|
10
|
-
require('./getBorderRadius-
|
|
8
|
+
require('./zonosStore-3958bbeb.js');
|
|
9
|
+
require('./isDarkColor-b14d5752.js');
|
|
10
|
+
require('./getBorderRadius-ea0984bb.js');
|
|
11
11
|
|
|
12
12
|
const zonosPaymentCss = ".sc-zonos-payment-h{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-payment-h *.sc-zonos-payment{font-family:var(--font-family, Inter), Inter}.sc-zonos-payment-h img.sc-zonos-payment{max-width:100%}.sc-zonos-payment-h dl.sc-zonos-payment,.sc-zonos-payment-h dd.sc-zonos-payment,.sc-zonos-payment-h h1.sc-zonos-payment,.sc-zonos-payment-h h2.sc-zonos-payment,.sc-zonos-payment-h h3.sc-zonos-payment,.sc-zonos-payment-h h4.sc-zonos-payment,.sc-zonos-payment-h h5.sc-zonos-payment,.sc-zonos-payment-h h6.sc-zonos-payment,.sc-zonos-payment-h hr.sc-zonos-payment,.sc-zonos-payment-h figure.sc-zonos-payment,.sc-zonos-payment-h p.sc-zonos-payment,.sc-zonos-payment-h pre.sc-zonos-payment{margin:0}.sc-zonos-payment-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-payment-h .zonos--title.sc-zonos-payment{margin-bottom:16px}";
|
|
13
13
|
const ZonosPaymentStyle0 = zonosPaymentCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
|
|
9
9
|
const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" clip-rule="evenodd"/><path fill="#4D505A" fill-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd"/></svg>`;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-ea0984bb.js');
|
|
9
9
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
10
10
|
|
|
11
11
|
const zonosShippingRichRadioCss = ":host{font-family:var(--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const isColorVariable = require('./isColorVariable-6f5a9608.js');
|
|
9
9
|
|
|
@@ -2811,7 +2811,6 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
|
|
|
2811
2811
|
countryOverrideBehavior: 'URL_PARAM',
|
|
2812
2812
|
currencyBehavior: 'ENABLED',
|
|
2813
2813
|
currencyElementSelector: '.money',
|
|
2814
|
-
dutyTaxEstimationBehavior: 'ENABLED',
|
|
2815
2814
|
excludedUrlPatterns: [],
|
|
2816
2815
|
homepageUrlPattern: '',
|
|
2817
2816
|
mobileLocation: 'BOTTOM_RIGHT',
|
|
@@ -2823,7 +2822,6 @@ const { dispose: zonosStoreDispose, reset, state: zonosStore, } = createStore(()
|
|
|
2823
2822
|
productDescriptionElementSelector: '',
|
|
2824
2823
|
productDetailUrlPattern: '',
|
|
2825
2824
|
productListUrlPattern: '',
|
|
2826
|
-
productPriceElementSelector: '',
|
|
2827
2825
|
productTitleElementSelector: '',
|
|
2828
2826
|
restrictionBehavior: 'DISABLED',
|
|
2829
2827
|
},
|
|
@@ -37,7 +37,9 @@ export class ZonosHello {
|
|
|
37
37
|
case 'productDetail':
|
|
38
38
|
return translate(`See duty and tax thresholds`);
|
|
39
39
|
default:
|
|
40
|
-
return
|
|
40
|
+
return translate('Welcome to [storeName]!', {
|
|
41
|
+
storeName: organizationName,
|
|
42
|
+
});
|
|
41
43
|
}
|
|
42
44
|
};
|
|
43
45
|
this.enableShowPeekMessage = () => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { localizationStore } from "../../../store/hello/localization";
|
|
3
3
|
import { isDarkColor } from "../../../utils/isDarkColor";
|
|
4
|
-
// import { isElementUsingDarkTheme } from 'src/components/utils/isElementUsingDarkTheme';
|
|
5
4
|
import { languages } from "../../../../types/ILanguage";
|
|
6
5
|
// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
|
|
7
6
|
import Globe from "./assets/globe.svg";
|
|
@@ -19,9 +18,9 @@ export class ZonosHelloDialogFooter {
|
|
|
19
18
|
const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
20
19
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
21
20
|
const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
|
|
22
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'a43121c2a6e9410362a570f9270f0b32c587200b', class: "zonos--elements" }, h("div", { key: 'f8bf4003c536abd60a903b808f1cd136bcebbd0a', class: "zonos--hello-dialog-footer", style: {
|
|
23
22
|
'--primary-color': primaryColor,
|
|
24
|
-
} }, h("a", { key: '
|
|
23
|
+
} }, h("a", { key: 'a3967d63fee336a53ede4dfe30f270d7c932dfed', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '72e918b1b6800d97df8f73487b7d72f8130312d7', "aria-label": "Zonos Logo", autoHeight: true, content: ZonosIcon, iconColor: mainColor, size: 108 })), h("div", { key: '9614506f8b3eac485fa19a1743ac6fc0117f9611', class: "zonos--hello-locale-wrapper" }, h("zonos-button", { key: '2e72f28b9b08d9a729340f6c0999bf48381bfe00', 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: 'd4832d123d553b71eacda5f6ec66d0a36e1018d3', 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)))));
|
|
25
24
|
}
|
|
26
25
|
static get is() { return "zonos-hello-dialog-footer"; }
|
|
27
26
|
static get encapsulation() { return "shadow"; }
|