@zonos/elements 1.3.23 → 1.3.25-alpha.0
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-c734e909.js → cart-ab3b679e.js} +189 -0
- package/dist/cjs/index.cjs.js +3 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-336b437c.js → submitGtag-1471da9f.js} +1 -1
- package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
- package/dist/cjs/zonos-badge_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
- package/dist/cjs/{zonos-cart-items_11.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +37 -8
- package/dist/cjs/zonos-checkout.cjs.entry.js +43 -32
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- 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_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
- package/dist/cjs/zonos-hello.cjs.entry.js +9 -7
- package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +4 -4
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +44 -35
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +31 -10
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +4 -4
- package/dist/collection/components/common/zonos-rest-state/assets/Boxes.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Earth.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/EmptyBox.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Lock.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/PigBank.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Scribble.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Search.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Settings.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/ShoppingCart.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/SpilledCup.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Switch.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/TaxId.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Truck.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/assets/Warning.png +0 -0
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +53 -0
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +102 -0
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +0 -484
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/store/hello/localization.js +9 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +8 -6
- package/dist/collection/components/utils/restStateType.js +16 -0
- package/dist/collection/scripts/_zonosBase.js +0 -1
- package/dist/esm/{cart-67471b37.js → cart-564ab33a.js} +189 -0
- package/dist/esm/index.js +3 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{submitGtag-1f42c748.js → submitGtag-90ebe7d0.js} +1 -1
- package/dist/esm/zonos-address_8.entry.js +4 -4
- package/dist/esm/zonos-badge_2.entry.js +2 -2
- package/dist/esm/zonos-card_2.entry.js +1 -1
- package/dist/esm/{zonos-cart-items_11.entry.js → zonos-cart-items_12.entry.js} +37 -9
- package/dist/esm/zonos-checkout.entry.js +44 -33
- package/dist/esm/zonos-component.entry.js +1 -1
- 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_3.entry.js +4 -4
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +4 -4
- package/dist/esm/zonos-hello.entry.js +9 -7
- package/dist/esm/zonos-payment.entry.js +2 -2
- package/dist/esm/zonos-select-dialog-header_2.entry.js +4 -4
- package/dist/esm-es5/cart-564ab33a.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-1f42c748.js → submitGtag-90ebe7d0.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-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/scripts/index.d.ts +53 -5
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +12 -0
- package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +8 -1
- package/dist/types/components/common/zonos-rest-state/zonos-rest-state.d.ts +21 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/restStateType.d.ts +2 -0
- package/dist/types/components.d.ts +52 -3
- package/dist/types/scripts/_zonosBase.d.ts +0 -2
- package/dist/zonos-elements/assets/Boxes.png +0 -0
- package/dist/zonos-elements/assets/Earth.png +0 -0
- package/dist/zonos-elements/assets/EmptyBox.png +0 -0
- package/dist/zonos-elements/assets/Lock.png +0 -0
- package/dist/zonos-elements/assets/PigBank.png +0 -0
- package/dist/zonos-elements/assets/Scribble.png +0 -0
- package/dist/zonos-elements/assets/Search.png +0 -0
- package/dist/zonos-elements/assets/Settings.png +0 -0
- package/dist/zonos-elements/assets/ShoppingCart.png +0 -0
- package/dist/zonos-elements/assets/SpilledCup.png +0 -0
- package/dist/zonos-elements/assets/Switch.png +0 -0
- package/dist/zonos-elements/assets/TaxId.png +0 -0
- package/dist/zonos-elements/assets/Truck.png +0 -0
- package/dist/zonos-elements/assets/Warning.png +0 -0
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-5437dd24.system.entry.js → p-07fe47f2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8473827d.system.entry.js → p-1b76a929.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-713bb92e.system.entry.js → p-233c2599.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-498a0e18.entry.js → p-2701e08c.entry.js} +1 -1
- package/dist/zonos-elements/{p-18464027.entry.js → p-474719c5.entry.js} +1 -1
- package/dist/zonos-elements/p-4d36edfd.system.entry.js +1 -0
- package/dist/zonos-elements/p-63b0aef9.system.entry.js +1 -0
- package/dist/zonos-elements/{p-7d61e6e5.entry.js → p-6b2a2f68.entry.js} +1 -1
- package/dist/zonos-elements/p-6ed78fba.entry.js +1 -0
- package/dist/zonos-elements/p-6f154d66.system.js +1 -0
- package/dist/zonos-elements/{p-cbf13745.entry.js → p-84791c5c.entry.js} +1 -1
- package/dist/zonos-elements/{p-db9e87ec.entry.js → p-87c4a2af.entry.js} +1 -1
- package/dist/zonos-elements/{p-8171d013.system.entry.js → p-941a01be.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-083850d3.js → p-9912a954.js} +1 -1
- package/dist/zonos-elements/p-9a0c5589.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c1879326.system.entry.js → p-a164ea90.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-607b5560.entry.js → p-aaba6f75.entry.js} +1 -1
- package/dist/zonos-elements/p-b44de1c3.entry.js +1 -0
- package/dist/zonos-elements/{p-b9195764.system.entry.js → p-b45db572.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-44250644.entry.js → p-b7e4a6b0.entry.js} +1 -1
- package/dist/zonos-elements/p-ba066673.entry.js +1 -0
- package/dist/zonos-elements/p-c2688c49.system.js +1 -0
- package/dist/zonos-elements/{p-92c64a9c.system.entry.js → p-c8e83577.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d170253b.entry.js +1 -0
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
- package/dist/zonos-elements/{p-6f132cee.system.entry.js → p-e2301200.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-065ada8a.system.js → p-e2bdba42.system.js} +1 -1
- package/dist/zonos-elements/{p-8ed0769e.entry.js → p-e815af26.entry.js} +1 -1
- package/dist/zonos-elements/{p-65671a64.system.entry.js → p-f1223c14.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a18555c8.entry.js → p-f3feed11.entry.js} +1 -1
- package/dist/zonos-elements/p-f8b58cf8.system.entry.js +1 -0
- package/dist/zonos-elements/p-fc4f1e0c.js +1 -0
- package/dist/zonos-elements/zonos-elements.css +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +7 -15
- package/dist/esm-es5/cart-67471b37.js +0 -1
- package/dist/esm-es5/zonos-cart-items_11.entry.js +0 -1
- package/dist/zonos-elements/p-08d1cfc4.entry.js +0 -1
- package/dist/zonos-elements/p-0d30f36e.system.entry.js +0 -1
- package/dist/zonos-elements/p-234f8729.system.js +0 -1
- package/dist/zonos-elements/p-440ac320.js +0 -1
- package/dist/zonos-elements/p-4a3b5fc8.entry.js +0 -1
- package/dist/zonos-elements/p-52900b33.entry.js +0 -1
- package/dist/zonos-elements/p-9c3a036e.system.js +0 -1
- package/dist/zonos-elements/p-af3ee45d.system.entry.js +0 -1
- package/dist/zonos-elements/p-b1ee97d8.entry.js +0 -1
- package/dist/zonos-elements/p-f7468131.system.entry.js +0 -1
- package/dist/zonos-elements/p-fedafdd2.system.entry.js +0 -1
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["zonos-checkout.cjs",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"legacyCheckoutHiddenBtnSelector":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[4,"keydown","handleKeyPress"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged","handleAppearanceSettingsOverrideChange"],"mobile":["handleMobileChange"]}]]],["zonos-hello.cjs",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]],{"appearanceSettingsOverride":["handleAppearanceSettingsOverrideChange"]}]]],["zonos-controller.cjs",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]},[[8,"locationchange","handleLocationChange"]]]]],["zonos-component.cjs",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link.cjs",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo.cjs",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text.cjs",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"ready":[32]}]]],["zonos-hello-dialog.cjs",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification.cjs",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment.cjs",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio.cjs",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2.cjs",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-input.cjs",[[1,"zonos-input",{"inputValue":[1,"input-value"],"inputLabel":[1,"input-label"],"inputSize":[1,"input-size"],"isDisabled":[4,"is-disabled"],"isError":[4,"is-error"],"inputPlaceholder":[1,"input-placeholder"],"value":[32]},null,{"inputValue":["onInputValueChange"]}]]],["zonos-banner.cjs",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3.cjs",[[17,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"withBoxShadow":[4,"with-box-shadow"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}]]],["zonos-select-dialog-header_2.cjs",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2.cjs",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-flag.cjs",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-country-select_3.cjs",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_8.cjs",[[1,"zonos-address-update-dialog",{"continueLoading":[4,"continue-loading"],"dialogLoading":[4,"dialog-loading"],"dialogOpen":[4,"dialog-open"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"isMobile":[4,"is-mobile"],"shippingAddress":[16],"billingAddress":[16],"translatedShippingAddress":[16],"translatedBillingAddress":[16],"showErrorBanner":[32],"translatedShippingAddressState":[32],"translatedBillingAddressState":[32]},null,{"translatedShippingAddress":["watchTranslatedShippingAddress"],"translatedBillingAddress":["watchTranslatedBillingAddress"]}],[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]},[[1,"click","onClick"]]],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"defaultEmail":[1,"default-email"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"minHeight":[1,"min-height"],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"],[4,"keydown","handleKeyDown"]]],[1,"zonos-address-display",{"currentAddress":[16],"addressType":[1,"address-type"]}],[1,"zonos-address-form",{"currentAddress":[16],"translatedAddress":[16],"addressType":[1,"address-type"],"localAddress":[32]},null,{"translatedAddress":["watchCurrentAddress"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-
|
|
22
|
+
return index.bootstrapLazy([["zonos-checkout.cjs",[[2,"zonos-checkout",{"appearanceSettingsOverride":[16],"preview":[4],"mobile":[4],"defaultAddress":[16],"forceDialogOpen":[4,"force-dialog-open"],"open":[32],"stripe":[32],"submitLoading":[32],"paymentError":[32],"collapseReviewMobile":[32],"isAttachError":[32],"isMobile":[32],"zonosReviewRef":[32],"storybookPaymentStatusOverride":[32],"domesticRedirectedBtnSelector":[32],"legacyCheckoutHiddenBtnSelector":[32],"isLegacyCheckout":[32],"confirmDialogOpen":[32],"showSessionTimoutScreen":[32],"checkoutTimeoutInterval":[32],"closeDialogHandler":[64],"init":[64],"setToFinishStep":[64]},[[16,"zonos--init-cart-info","initCartInfoHandler"],[4,"keydown","handleKeyPress"],[9,"resize","handleWindowResize"]],{"appearanceSettingsOverride":["appearanceSettingsOverrideChanged","handleAppearanceSettingsOverrideChange"],"mobile":["handleMobileChange"]}]]],["zonos-hello.cjs",[[1,"zonos-hello",{"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettingsOverride":[16],"showPeekMessage":[32],"zonosStoreHelloSettings":[32],"showDialog":[32],"peekMessage":[32],"initialUrl":[32],"allRestrictedItems":[32],"allFoundProducts":[32],"productsOnPage":[32],"displayCurrency":[64],"convertAndFormat":[64],"convert":[64],"format":[64],"openHelloDialog":[64]},[[9,"resize","handleResize"]],{"appearanceSettingsOverride":["handleAppearanceSettingsOverrideChange"]}]]],["zonos-controller.cjs",[[1,"zonos-controller",{"config":[16],"zonosApiKey":[1,"zonos-api-key"],"initCheckoutElement":[64],"setupGoogleFont":[64],"showNotification":[64],"overrideConfig":[64],"overrideCountry":[64],"getAppearanceSetting":[64],"updateOrganizationName":[64]},[[8,"locationchange","handleLocationChange"]]]]],["zonos-component.cjs",[[1,"zonos-component",{"first":[1],"middle":[1],"last":[1]}]]],["zonos-link.cjs",[[1,"zonos-link",{"href":[1],"rel":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["zonos-logo.cjs",[[1,"zonos-logo",{"theme":[1],"width":[1]}]]],["zonos-text.cjs",[[1,"zonos-text",{"textColor":[1,"text-color"],"size":[1],"type":[1],"weight":[2],"ready":[32]}]]],["zonos-hello-dialog.cjs",[[1,"zonos-hello-dialog",{"isOpen":[4,"is-open"],"setIsOpen":[16],"mobileLocationOverride":[1,"mobile-location-override"],"animateFromLeftOverride":[4,"animate-from-left-override"],"appearanceSettings":[16],"restrictedItems":[16],"welcomeMessage":[32],"showCountrySelect":[32],"showLanguageSelect":[32]},[[4,"click","globalClickHandler"]],{"isOpen":["isOpenHandler"]}]]],["zonos-notification.cjs",[[1,"zonos-notification",{"notificationArray":[32],"showNotification":[64]}]]],["zonos-payment.cjs",[[2,"zonos-payment",{"titleText":[1,"title-text"],"stripe":[32],"stripeElements":[32]},null,{"stripeElements":["watchInitStripe"],"stripe":["watchInitStripe"]}]]],["zonos-shipping-rich-radio.cjs",[[1,"zonos-shipping-rich-radio",{"items":[16],"borderColor":[1,"border-color"],"borderStyle":[1,"border-style"],"theme":[1],"initialSelectedValue":[8,"initial-selected-value"],"selectedItem":[32]}]]],["zonos-badge_2.cjs",[[1,"zonos-badge",{"bold":[4],"badgeColor":[1,"badge-color"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"rounded":[4]}],[1,"zonos-tooltip",{"label":[1],"subtitle":[1],"showTooltip":[32]}]]],["zonos-input.cjs",[[1,"zonos-input",{"inputValue":[1,"input-value"],"inputLabel":[1,"input-label"],"inputSize":[1,"input-size"],"isDisabled":[4,"is-disabled"],"isError":[4,"is-error"],"inputPlaceholder":[1,"input-placeholder"],"value":[32]},null,{"inputValue":["onInputValueChange"]}]]],["zonos-banner.cjs",[[1,"zonos-banner",{"bannerTitle":[1,"banner-title"],"intent":[1],"hasContent":[32]}]]],["zonos-button_3.cjs",[[17,"zonos-button",{"buttonColor":[1,"button-color"],"backgroundColor":[1,"background-color"],"borderStyle":[1,"border-style"],"isDisabled":[4,"is-disabled"],"icon":[16],"iconRight":[4,"icon-right"],"size":[1],"variant":[1],"noBackground":[4,"no-background"],"withBoxShadow":[4,"with-box-shadow"],"noPaddingLeft":[4,"no-padding-left"],"noPaddingRight":[4,"no-padding-right"],"loading":[4],"theme":[1],"hasIcon":[32],"hasContent":[32]},[[2,"click","clickHandler"]],{"icon":["iconChangeHandler"]}],[1,"zonos-spinner",{"size":[2],"spinnerColor":[1,"spinner-color"]}],[1,"zonos-icon",{"autoHeight":[4,"auto-height"],"iconColor":[1,"icon-color"],"content":[1],"size":[2]}]]],["zonos-select-dialog-header_2.cjs",[[1,"zonos-select-dialog-header",{"handleOnClose":[16],"label":[1]}],[1,"zonos-v-stack",{"spacing":[2]}]]],["zonos-card_2.cjs",[[1,"zonos-language-select",{"handleOnClose":[16]}],[1,"zonos-card",{"actions":[16],"footerActions":[16],"footerContent":[16],"footerHeight":[2,"footer-height"],"label":[16],"spacing":[1]}]]],["zonos-country-flag.cjs",[[1,"zonos-country-flag",{"countryCode":[1,"country-code"],"size":[2]}]]],["zonos-country-select_3.cjs",[[1,"zonos-country-select",{"handleOnClose":[16],"inputValue":[32]}],[1,"zonos-hello-dialog-footer",{"appearanceSettings":[16],"setShowCountrySelect":[16],"setShowLanguageSelect":[16]}],[1,"zonos-custom-message",{"icon":[1],"message":[1]}]]],["zonos-address_8.cjs",[[1,"zonos-address-update-dialog",{"continueLoading":[4,"continue-loading"],"dialogLoading":[4,"dialog-loading"],"dialogOpen":[4,"dialog-open"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"isMobile":[4,"is-mobile"],"shippingAddress":[16],"billingAddress":[16],"translatedShippingAddress":[16],"translatedBillingAddress":[16],"showErrorBanner":[32],"translatedShippingAddressState":[32],"translatedBillingAddressState":[32]},null,{"translatedShippingAddress":["watchTranslatedShippingAddress"],"translatedBillingAddress":["watchTranslatedBillingAddress"]}],[2,"zonos-address",{"type":[1],"titleText":[1,"title-text"],"defaultAddress":[16],"stripe":[32],"isDirtyAddress":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-checkbox",{"backgroundColor":[1,"background-color"],"label":[1],"isChecked":[4,"is-checked"],"isDisabled":[4,"is-disabled"],"size":[2],"fontSize":[1,"font-size"],"borderStyle":[1,"border-style"]},[[1,"click","onClick"]]],[2,"zonos-link-authentication",{"titleText":[1,"title-text"],"defaultEmail":[1,"default-email"],"stripe":[32]},null,{"stripe":["watchInitStripe"]}],[1,"zonos-dialog",{"open":[4],"headerText":[1,"header-text"],"width":[1],"height":[1],"minHeight":[1,"min-height"],"noHeader":[4,"no-header"],"noBodyPadding":[4,"no-body-padding"],"noBorder":[4,"no-border"],"borderStyle":[1,"border-style"],"noCloseButton":[4,"no-close-button"],"noClickOutside":[4,"no-click-outside"],"mobile":[4],"isLoading":[4,"is-loading"],"isMobile":[32]},[[9,"resize","handleWindowResize"],[4,"keydown","handleKeyDown"]]],[1,"zonos-address-display",{"currentAddress":[16],"addressType":[1,"address-type"]}],[1,"zonos-address-form",{"currentAddress":[16],"translatedAddress":[16],"addressType":[1,"address-type"],"localAddress":[32]},null,{"translatedAddress":["watchCurrentAddress"]}],[1,"zonos-collapse",{"collapsed":[4],"collapseSize":[2,"collapse-size"],"height":[32],"iframe":[32]}]]],["zonos-cart-items_12.cjs",[[2,"zonos-customer-info",{"continueLoading":[4,"continue-loading"],"submitBtnType":[1,"submit-btn-type"],"submitBtnColor":[1,"submit-btn-color"],"isMobile":[4,"is-mobile"],"defaultAddress":[16],"showErrorBanner":[32],"shippingCountry":[32],"isCheckingForRestrictedItems":[32],"isValidatingAddress":[32],"invalidShippingCharacterList":[32],"invalidBillingCharacterList":[32],"openAddressValidationDialog":[32]}],[1,"zonos-checkout-footer",{"mobile":[4],"dataTheme":[1,"data-theme"],"showLanguageDialog":[32],"isMobile":[32]},[[4,"click","handleGlobalClick"]],{"mobile":["handleMobileChange"]}],[2,"zonos-checkout-payment",{"paymentError":[4,"payment-error"],"submitBtnType":[1,"submit-btn-type"],"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"showErrorBanner":[32]}],[2,"zonos-shipping",{"continueLoading":[4,"continue-loading"],"submitBtnColor":[1,"submit-btn-color"],"submitBtnType":[1,"submit-btn-type"],"selectedShippingMethod":[32],"isSelecting":[32],"showErrorBanner":[32],"serviceLevels":[32]}],[1,"zonos-cart-restricted-items",{"hide":[4],"errorImages":[32],"internalCollapsed":[32],"firstRender":[32]}],[1,"zonos-cart-subtotal"],[1,"zonos-checkout-finish",{"borderRadius":[1,"border-radius"],"storybookForceStatus":[1,"storybook-force-status"],"overrideNotification":[16],"isLoading":[32],"notificationType":[32],"notificationTitle":[32],"notificationMessages":[32],"order":[32]}],[1,"zonos-confirm-dialog",{"dialogTitle":[1,"dialog-title"],"dialogIntent":[1,"dialog-intent"],"dialogSubtitle":[1,"dialog-subtitle"],"submitBtnColor":[1,"submit-btn-color"],"dialogConfirmBtnText":[1,"dialog-confirm-btn-text"],"dialogCancelBtnText":[1,"dialog-cancel-btn-text"],"dialogType":[1,"dialog-type"],"isMobile":[4,"is-mobile"],"dialogOpen":[4,"dialog-open"],"noClickOutside":[4,"no-click-outside"]},[[4,"keydown","handleKeyDown"]]],[1,"zonos-checkout-progress-tabs",{"tabColor":[1,"tab-color"],"backgroundColor":[1,"background-color"],"setTabItems":[64],"setTabSelected":[64]}],[1,"zonos-review",{"mobile":[4],"collapsed":[4],"isMobile":[32]},[[9,"resize","handleWindowResize"]]],[1,"zonos-cart-items",{"errorImages":[32]}],[1,"zonos-rest-state",{"restStateSubtitle":[1,"rest-state-subtitle"],"restStateTitle":[1,"rest-state-title"],"restStateType":[1,"rest-state-type"],"isErrorImageLoad":[32]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -3,7 +3,7 @@
|
|
|
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-ab3b679e.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
@@ -181,17 +181,17 @@ const ZonosHelloDialog = class {
|
|
|
181
181
|
const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
|
|
182
182
|
const currentPage = this.getCurrentPageEnum();
|
|
183
183
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
184
|
-
return (index.h(index.Host, { key: '
|
|
184
|
+
return (index.h(index.Host, { key: '354758888accf5c5f44e321cc36f3126fe161596', class: "zonos--elements" }, index.h("div", { key: 'b6e9ef3ac53035b578f1ccb6940e04561a6c7362', "aria-hidden": "true", class: classes.classes([
|
|
185
185
|
'zonos--hello-dialog',
|
|
186
186
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
187
187
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
188
188
|
!!this.mobileLocationOverride &&
|
|
189
189
|
'zonos--hello-dialog-mobile-override',
|
|
190
190
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
191
|
-
]), 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: 'cba389a7107bf0505743237a7e61e27988955a44' }, index.h("div", { key: '3cef5f247dca70671ad0c304f29980f7147cf21c', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: '013764140f25f64ab52f4588a50b5148f4b170d0', 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: '099dc23581474e5167cfa8bd90be9987b3caa47f', spacing: 24 }, index.h("zonos-country-flag", { key: 'c545313157e3a488433619292306419588e20e50', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: 'f8be1b95571b28be7ed4fc3caee5d13177845150', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: '9ac86d0f247cecd0bfa19ffc041eee89bd19b168', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: '3234c9640aa1d484c6dcb78e7e3bf43e3545d67e', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: '2f090b934ede76c8400b7891b6caa391e1f039b0', spacing: 8 }, this.restrictedItems.map(item => {
|
|
192
192
|
var _a;
|
|
193
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)))));
|
|
194
|
-
}), index.h("zonos-card", { key: '
|
|
194
|
+
}), index.h("zonos-card", { key: 'e7ec890c1673b4025e650ed737ee4ba0e37ceb5d', spacing: "12px" }, index.h("zonos-v-stack", { key: 'a09bc2634da2795a4f0e2ef8b66680db9b0e403d', spacing: 12 }, index.h("div", { key: '2182aac10dc9b654b81234188cf0ef4decb2328a', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '362807633b9a55a4438e95a9150c4c80f5bd836b', "aria-label": "Duty de minimis", content: ImportIcon }), index.h("zonos-text", { key: '10bbbd399a255ad3a593b246d4b8b475e1c089e1' }, dutyDeMinimisMessage)), index.h("div", { key: '451c58a91d38413cc295a377e08ffa9947411112', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '2eceeced9d2b0ab482c94b8edd768134ba936d2d', "aria-label": "Tax de minimis", content: MoneyIcon }), index.h("zonos-text", { key: 'f4284b8e56522de93d5ca1160103ca2fac85250e' }, taxDeMinimisMessage)), additionalInformation && (index.h("div", { key: 'f9f0a09a1a7bfa85b2a70f843aabea7961250141', class: "zonos--flex-message" }, index.h("zonos-icon", { key: '147ee865b2708d662c185e4fe5d4dba7f099c310', "aria-label": "Low value order shipping restriction", content: BagIcon }), index.h("zonos-text", { key: 'ccb671b31672ebfd41369a9b0fda8e49ed3739cc' }, additionalInformation))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '16b584281762c987d375b15e5cd3b5784fce5cd4', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: '1122d535ce9bf451aa823726764a1a662c0378df' }, index.h("zonos-country-select", { key: '73c417e435dcbb15be72879ecde8271cb5cc01a1', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '4555dcf5260fa976458f6d612efce72a39564abf' }, index.h("zonos-language-select", { key: 'c19ca73913d2b026976acc36c1d9eb68bf90f07c', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
195
195
|
}
|
|
196
196
|
static get assetsDirs() { return ["assets"]; }
|
|
197
197
|
static get watchers() { return {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b071017b.js');
|
|
6
6
|
const zonosStore = require('./zonosStore-3958bbeb.js');
|
|
7
|
-
const cart = require('./cart-
|
|
7
|
+
const cart = require('./cart-ab3b679e.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');
|
|
@@ -405,21 +405,23 @@ const detectItemRestrictions = async (newProducts) => {
|
|
|
405
405
|
return restrictedItemsWithName;
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
+
const matchUrlPattern = (urlPattern) => {
|
|
409
|
+
const trimmedUrl = urlPattern === null || urlPattern === void 0 ? void 0 : urlPattern.replace('www.', '').replace('https://', '');
|
|
410
|
+
return trimmedUrl && new RegExp(trimmedUrl).test(window.location.href);
|
|
411
|
+
};
|
|
408
412
|
const getCurrentHelloLocalePage = () => {
|
|
409
|
-
const { href } = window.location;
|
|
410
413
|
const { cartUrlPattern, homepageUrlPattern, productDetailUrlPattern, productListUrlPattern, } = zonosStore.zonosStore.helloSettings;
|
|
411
414
|
// The 'if' statements are sorted by most specific to least specific to help with regex matching
|
|
412
|
-
if (
|
|
415
|
+
if (matchUrlPattern(cartUrlPattern)) {
|
|
413
416
|
return 'cart';
|
|
414
417
|
}
|
|
415
|
-
if (productDetailUrlPattern
|
|
416
|
-
new RegExp(productDetailUrlPattern).test(href)) {
|
|
418
|
+
if (matchUrlPattern(productDetailUrlPattern)) {
|
|
417
419
|
return 'productDetail';
|
|
418
420
|
}
|
|
419
|
-
if (
|
|
421
|
+
if (matchUrlPattern(productListUrlPattern)) {
|
|
420
422
|
return 'productList';
|
|
421
423
|
}
|
|
422
|
-
if (
|
|
424
|
+
if (matchUrlPattern(homepageUrlPattern)) {
|
|
423
425
|
return 'home';
|
|
424
426
|
}
|
|
425
427
|
return '';
|
|
@@ -3,7 +3,7 @@
|
|
|
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-ab3b679e.js');
|
|
7
7
|
const logError = require('./logError-4e2f2020.js');
|
|
8
8
|
require('./zonosStore-3958bbeb.js');
|
|
9
9
|
require('./isDarkColor-b14d5752.js');
|
|
@@ -45,7 +45,7 @@ const ZonosPayment = class {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
48
|
-
return (index.h(index.Host, { key: '
|
|
48
|
+
return (index.h(index.Host, { key: '0add83652f88a929eb76727e27455a0ddd6866fb', class: "zonos--payment zonos--elements" }, this.titleText && (index.h("zonos-text", { key: 'ff4eb31c3f402562d4c85848bf6bb34c4f0b1bab', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), index.h("div", { key: 'fba7df5c0ca94d2374aab0f24e3111f4b08eff11', class: "zonos--payment-component" })));
|
|
49
49
|
}
|
|
50
50
|
get el() { return index.getElement(this); }
|
|
51
51
|
static get watchers() { return {
|
|
@@ -18,9 +18,9 @@ const ZonosSelectDialogHeader = class {
|
|
|
18
18
|
this.label = '';
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: 'aee08db0e889bd5a5b9084180f6ee038c120a3b2', class: "zonos--elements", style: {
|
|
22
22
|
'--font-family': zonosStore.zonosStoreFontFamily(),
|
|
23
|
-
} }, index.h("zonos-v-stack", { key: '
|
|
23
|
+
} }, index.h("zonos-v-stack", { key: '565a273f0037418387c0868c74943c3325ab6c35', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, index.h("div", { key: '0d994f27c948e49c092d016a0f1d6e453f80f00a', class: "zonos--select-dialog-header" }, index.h("zonos-text", { key: 'ee7bb796e921b2a14fa6201c8f17d0dfd9f3a3c2', type: "boldLabel" }, this.label), index.h("zonos-button", { key: '0e3a6c9c2cc4b67a51015b2fb7345c47a0e5ef23', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), index.h("slot", { key: 'ad9fb089fa4a571a5443431c0d686b4804d25b0a' }))));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
|
|
@@ -34,9 +34,9 @@ const VStack = class {
|
|
|
34
34
|
this.spacing = 24;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (index.h(index.Host, { key: '
|
|
37
|
+
return (index.h(index.Host, { key: '9b7115624d2e27b1c6da58ac16f6059d5cad71a9', style: {
|
|
38
38
|
'--font-family': zonosStore.zonosStoreFontFamily(),
|
|
39
|
-
} }, index.h("div", { key: '
|
|
39
|
+
} }, index.h("div", { key: 'bd3ccd8700897292fd1a9ad40825c851a484fcf2', class: classes.classes(['vstack']), style: { 'grid-row-gap': `${this.spacing}px` } }, index.h("slot", { key: '1c6fe3e6dc8eda9461eb90180535c9bd563a1840' }))));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
VStack.style = ZonosVStackStyle0;
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"components/common/zonos-language-select/zonos-language-select.js",
|
|
34
34
|
"components/common/zonos-link/zonos-link.js",
|
|
35
35
|
"components/common/zonos-logo/zonos-logo.js",
|
|
36
|
+
"components/common/zonos-rest-state/zonos-rest-state.js",
|
|
36
37
|
"components/common/zonos-select-dialog-header/zonos-select-dialog-header.js",
|
|
37
38
|
"components/common/zonos-text/zonos-text.js",
|
|
38
39
|
"components/common/zonos-tooltip/zonos-tooltip.js",
|
|
@@ -22,6 +22,8 @@ import { submitGtag } from "../../utils/submitGtag";
|
|
|
22
22
|
import MessageIcon from "./assets/MessageIcon.svg";
|
|
23
23
|
// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
|
|
24
24
|
import RemoveIcon from "./assets/RemoveIcon.svg";
|
|
25
|
+
// 90 minutes
|
|
26
|
+
const CHECKOUT_SESSION_TIMEOUT = 90 * 60 * 1000;
|
|
25
27
|
export class ZonosCheckout {
|
|
26
28
|
constructor() {
|
|
27
29
|
/**
|
|
@@ -69,6 +71,8 @@ export class ZonosCheckout {
|
|
|
69
71
|
this.legacyCheckoutHiddenBtnSelector = '#legacy-checkout-hidden-button';
|
|
70
72
|
this.isLegacyCheckout = false;
|
|
71
73
|
this.confirmDialogOpen = false;
|
|
74
|
+
this.showSessionTimoutScreen = false;
|
|
75
|
+
this.checkoutTimeoutInterval = null;
|
|
72
76
|
}
|
|
73
77
|
/**
|
|
74
78
|
* Init cart info handler event
|
|
@@ -108,6 +112,8 @@ export class ZonosCheckout {
|
|
|
108
112
|
cartStore.step = 'customer-info';
|
|
109
113
|
// reset the tab item, so that user needs to click on Continue button to re-quote the landed cost if needed.
|
|
110
114
|
cartStoreResetTabItems();
|
|
115
|
+
// clear the checkout session timeout timer when checkout dialog close action is triggered
|
|
116
|
+
this.clearCheckoutTimeoutInterval();
|
|
111
117
|
/**
|
|
112
118
|
* Trigger callback when the checkout is closed
|
|
113
119
|
*/
|
|
@@ -140,6 +146,33 @@ export class ZonosCheckout {
|
|
|
140
146
|
await this.applyStripeTheme();
|
|
141
147
|
return true;
|
|
142
148
|
}
|
|
149
|
+
clearCheckoutTimeoutInterval() {
|
|
150
|
+
if (this.checkoutTimeoutInterval) {
|
|
151
|
+
clearTimeout(this.checkoutTimeoutInterval);
|
|
152
|
+
this.checkoutTimeoutInterval = null;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
startCheckoutTimeoutInterval() {
|
|
156
|
+
// do nothing if in preview mode
|
|
157
|
+
if (this.preview) {
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
const timeoutQuery = new URLSearchParams(window.location.search).get('zonosCheckoutTimeout');
|
|
161
|
+
const timeout =
|
|
162
|
+
// timeout query is mainly for testing purpose
|
|
163
|
+
timeoutQuery && !isNaN(parseInt(timeoutQuery, 10))
|
|
164
|
+
? parseInt(timeoutQuery, 10)
|
|
165
|
+
: CHECKOUT_SESSION_TIMEOUT;
|
|
166
|
+
log(`==START CHECKOUT TIMEOUT - ${timeout}==`);
|
|
167
|
+
// start a timer to validate the price
|
|
168
|
+
this.checkoutTimeoutInterval = setTimeout(() => {
|
|
169
|
+
// Show session timeout alert
|
|
170
|
+
this.showSessionTimoutScreen = true;
|
|
171
|
+
}, timeout);
|
|
172
|
+
}
|
|
173
|
+
reloadCheckoutSession() {
|
|
174
|
+
window.location.reload();
|
|
175
|
+
}
|
|
143
176
|
attachCheckout() {
|
|
144
177
|
const buttonAnchorSelector = zonosStore.checkoutSettings.placeOrderButtonSelector;
|
|
145
178
|
log(`attach checkout ${buttonAnchorSelector}`);
|
|
@@ -173,6 +206,8 @@ export class ZonosCheckout {
|
|
|
173
206
|
if (!result) {
|
|
174
207
|
throw new Error('Error building cart');
|
|
175
208
|
}
|
|
209
|
+
// start the timer to validate the price
|
|
210
|
+
this.startCheckoutTimeoutInterval();
|
|
176
211
|
submitGtag('zonos-checkout-start');
|
|
177
212
|
void trackConversionEvent('checkout_open');
|
|
178
213
|
}
|
|
@@ -284,35 +319,6 @@ export class ZonosCheckout {
|
|
|
284
319
|
if (window.Zonos.tempCartData) {
|
|
285
320
|
this.useLegacyQueryParam();
|
|
286
321
|
}
|
|
287
|
-
const hideInternationalOrderInterval = setInterval(() => {
|
|
288
|
-
const internationalSelector = window.Zonos.internationalHideSelector;
|
|
289
|
-
if (!internationalSelector) {
|
|
290
|
-
// cleanup right away if selector is not found
|
|
291
|
-
clearInterval(hideInternationalOrderInterval);
|
|
292
|
-
return;
|
|
293
|
-
}
|
|
294
|
-
// hide the selector if it's international
|
|
295
|
-
const isInternationalOrder = isShippableCountry(false);
|
|
296
|
-
const selector = document.querySelectorAll(internationalSelector);
|
|
297
|
-
if (!isInternationalOrder) {
|
|
298
|
-
// show the selector when it's domestic
|
|
299
|
-
selector === null || selector === void 0 ? void 0 : selector.forEach(el => {
|
|
300
|
-
const element = el;
|
|
301
|
-
const display = element.getAttribute('data-zonos-checkout-original-display') ||
|
|
302
|
-
getComputedStyle(element).display;
|
|
303
|
-
// fallback to initial (browser value) if "display" is not found
|
|
304
|
-
element.style.display = display || 'initial';
|
|
305
|
-
});
|
|
306
|
-
return;
|
|
307
|
-
}
|
|
308
|
-
selector === null || selector === void 0 ? void 0 : selector.forEach(el => {
|
|
309
|
-
const element = el;
|
|
310
|
-
const display = element.style.display;
|
|
311
|
-
// save the display state so we can restore it later
|
|
312
|
-
element.setAttribute('data-zonos-checkout-original-display', display);
|
|
313
|
-
element.style.display = 'none';
|
|
314
|
-
});
|
|
315
|
-
}, 100);
|
|
316
322
|
// only init checkout if visitor's country is in the shipping zones.
|
|
317
323
|
const interval = setInterval(() => {
|
|
318
324
|
stripeStore.stripe = window.Zonos.stripe;
|
|
@@ -385,6 +391,8 @@ export class ZonosCheckout {
|
|
|
385
391
|
try {
|
|
386
392
|
await stripeStoreConfirmPayment();
|
|
387
393
|
cartStoreNextStep();
|
|
394
|
+
// clear the checkout session timeout timer when purchase is complete
|
|
395
|
+
this.clearCheckoutTimeoutInterval();
|
|
388
396
|
}
|
|
389
397
|
catch (err) {
|
|
390
398
|
logError(err);
|
|
@@ -497,6 +505,9 @@ export class ZonosCheckout {
|
|
|
497
505
|
this.isMobile ? '--zonos-elements-gray-0' : null }), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))));
|
|
498
506
|
};
|
|
499
507
|
const renderContent = () => {
|
|
508
|
+
if (this.showSessionTimoutScreen) {
|
|
509
|
+
return (h("zonos-rest-state", { class: "zonos--session-timeout", restStateSubtitle: translate('Your checkout session has expired. Please reload the page to continue.'), restStateTitle: translate('Session timed out'), restStateType: 'Warning' }, h("zonos-button", { onClick: () => this.reloadCheckoutSession(), variant: "primary" }, translate('Reload'))));
|
|
510
|
+
}
|
|
500
511
|
return (h("div", { class: 'zonos--content', style: {
|
|
501
512
|
'--border-radius': getBorderRadius({ overrideBorderStyle: style }),
|
|
502
513
|
} }, cartStore.step !== 'finish' && cartStore.step !== 'error' && (h(Fragment, null, h("div", { class: "zonos--left", "data-theme": leftSideTheme, style: {
|
|
@@ -524,7 +535,7 @@ export class ZonosCheckout {
|
|
|
524
535
|
hasFooter && 'has-footer',
|
|
525
536
|
this.preview && 'preview',
|
|
526
537
|
this.isMobile && 'mobile',
|
|
527
|
-
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-confirm-dialog", { dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
|
|
538
|
+
]) }, this.preview ? (renderContent()) : (h("zonos-dialog", { borderStyle: style, "data-theme": rightSideTheme, height: "980px", isLoading: dialogLoading, mobile: this.isMobile, noBodyPadding: true, noBorder: true, noClickOutside: true, noCloseButton: true, onCloseDialog: () => this.closeDialogHandler(), open: this.open, width: "1200px" }, renderContent())), h("zonos-confirm-dialog", { class: "zonos--close-confirm-dialog", dialogCancelBtnText: translate("Don't close"), dialogConfirmBtnText: translate('Close'), dialogIntent: "warn", dialogOpen: this.confirmDialogOpen, dialogSubtitle: translate('Would you like to close checkout and return to the site?'), dialogTitle: translate('Are you sure?'), onCancelClicked: () => {
|
|
528
539
|
this.confirmDialogOpen = false;
|
|
529
540
|
},
|
|
530
541
|
// Mark user selected confirm to close the dialog
|
|
@@ -662,7 +673,9 @@ export class ZonosCheckout {
|
|
|
662
673
|
"domesticRedirectedBtnSelector": {},
|
|
663
674
|
"legacyCheckoutHiddenBtnSelector": {},
|
|
664
675
|
"isLegacyCheckout": {},
|
|
665
|
-
"confirmDialogOpen": {}
|
|
676
|
+
"confirmDialogOpen": {},
|
|
677
|
+
"showSessionTimoutScreen": {},
|
|
678
|
+
"checkoutTimeoutInterval": {}
|
|
666
679
|
};
|
|
667
680
|
}
|
|
668
681
|
static get methods() {
|
|
@@ -696,10 +709,6 @@ export class ZonosCheckout {
|
|
|
696
709
|
"Promise": {
|
|
697
710
|
"location": "global",
|
|
698
711
|
"id": "global::Promise"
|
|
699
|
-
},
|
|
700
|
-
"HTMLElement": {
|
|
701
|
-
"location": "global",
|
|
702
|
-
"id": "global::HTMLElement"
|
|
703
712
|
}
|
|
704
713
|
},
|
|
705
714
|
"return": "Promise<void>"
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
visibility: visible;
|
|
116
116
|
}
|
|
117
117
|
:host(.open) .zonos--backdrop {
|
|
118
|
-
z-index:
|
|
118
|
+
z-index: 2147483009;
|
|
119
119
|
opacity: 0.65;
|
|
120
120
|
}
|
|
121
121
|
:host(.open) .zonos--confirm-layout {
|
|
122
122
|
opacity: 1;
|
|
123
|
-
z-index:
|
|
123
|
+
z-index: 2147483010;
|
|
124
124
|
transform: scale(1);
|
|
125
125
|
}
|
|
@@ -22,8 +22,9 @@ export class ZonosConfirmDialog {
|
|
|
22
22
|
this.submitBtnColor = undefined;
|
|
23
23
|
this.dialogConfirmBtnText = undefined;
|
|
24
24
|
this.dialogCancelBtnText = undefined;
|
|
25
|
+
this.dialogType = 'confirm';
|
|
25
26
|
this.isMobile = false;
|
|
26
|
-
this.dialogOpen =
|
|
27
|
+
this.dialogOpen = undefined;
|
|
27
28
|
this.noClickOutside = false;
|
|
28
29
|
}
|
|
29
30
|
handleKeyDown(ev) {
|
|
@@ -81,12 +82,12 @@ export class ZonosConfirmDialog {
|
|
|
81
82
|
const borderStyle = getBorderRadius();
|
|
82
83
|
// Get theme for the update dialog, inherit from the theme, no from this component theme
|
|
83
84
|
const theme = getZonosStoreTheme(zonosStore.appearance.theme);
|
|
84
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '0adbea273e5504ac29ef8040fd968ded3f731f4b', class: classes([this.dialogOpen && 'open', 'zonos--elements']), "data-dialog-type": this.dialogType, "data-theme": theme, style: {
|
|
85
86
|
'--border-radius': borderStyle,
|
|
86
87
|
'--font-family': zonosStoreFontFamily(),
|
|
87
|
-
} }, h("div", { key: '
|
|
88
|
+
} }, h("div", { key: '4dbb78a0d1fc37dbd573c23aee53838a4578e18e', class: "zonos--backdrop", tabIndex: -1 }), h("div", { key: '106e28d9bea08a332063cf8fe07f7e1db7ef3f0b', "aria-hidden": "true", class: classes(['zonos--confirm-layout', this.dialogIntent]), onClick: e => this.clickOutsideDialogHandler(e) }, h("div", { key: 'b296e7d2c30815147396b6e5c50207b40722d6f5', class: "zonos--confirm-dialog", onBlur: () => {
|
|
88
89
|
this.focusDialog();
|
|
89
|
-
} }, h("div", { key: '
|
|
90
|
+
} }, h("div", { key: 'ba8c7aa3f0a6c3753f2275b2fd9daac8181d8e05', class: "wrapper" }, h("div", { key: '60490f9e714881bd75c6fcad07aebf3ae9d9947b', class: "icon-wrapper" }, this.renderIcon()), h("div", { key: 'd735c7e03bff1d41fdbc003c9628a4abaa4f9313', class: "content" }, h("div", { key: 'e085cea22f8036b3deec9fa9f51c977629e6cc74', class: "title" }, h("zonos-text", { key: '4e41e3b2fe012a8c28daa7ceab614b19299c7cdf', type: "subheader" }, this.dialogTitle)), this.dialogSubtitle && (h("div", { key: '5cc1fefbe7a551bf5ad7ff3744d7ecc6ecf5e73a', class: "subtitle" }, h("zonos-text", { key: '07afaf41a189f491db17d135cf074d4c6152e3cb', textColor: "gray-800" }, this.dialogSubtitle)))), h("div", { key: 'fbcfeb7f1a195ad928dea606f5085d8d2c1f2df6', class: "footer" }, this.dialogType === 'confirm' && (h("zonos-button", { key: 'eab37a4bf872bcde807ea50f33f2f082889a47c1', backgroundColor: "gray-0", class: "cancel-button", onClick: () => this.closeDialogHandler(), size: "lg", withBoxShadow: true }, this.dialogCancelBtnText || translate('Cancel'))), h("zonos-button", { key: '21e66354e0eaa951fd68f86beda36c4a89f06e44', class: "confirm-button", onClick: () => this.confirmDialogHandler(), size: "lg", variant: this.getButtonConfirmVariant() }, this.dialogConfirmBtnText)))))));
|
|
90
91
|
}
|
|
91
92
|
static get is() { return "zonos-confirm-dialog"; }
|
|
92
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -205,11 +206,11 @@ export class ZonosConfirmDialog {
|
|
|
205
206
|
"mutable": false,
|
|
206
207
|
"complexType": {
|
|
207
208
|
"original": "string",
|
|
208
|
-
"resolved": "string",
|
|
209
|
+
"resolved": "string | undefined",
|
|
209
210
|
"references": {}
|
|
210
211
|
},
|
|
211
|
-
"required":
|
|
212
|
-
"optional":
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": true,
|
|
213
214
|
"docs": {
|
|
214
215
|
"tags": [],
|
|
215
216
|
"text": "Cancel button text"
|
|
@@ -217,6 +218,27 @@ export class ZonosConfirmDialog {
|
|
|
217
218
|
"attribute": "dialog-cancel-btn-text",
|
|
218
219
|
"reflect": false
|
|
219
220
|
},
|
|
221
|
+
"dialogType": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"mutable": false,
|
|
224
|
+
"complexType": {
|
|
225
|
+
"original": "'alert' | 'confirm'",
|
|
226
|
+
"resolved": "\"alert\" | \"confirm\"",
|
|
227
|
+
"references": {}
|
|
228
|
+
},
|
|
229
|
+
"required": false,
|
|
230
|
+
"optional": false,
|
|
231
|
+
"docs": {
|
|
232
|
+
"tags": [{
|
|
233
|
+
"name": "default",
|
|
234
|
+
"text": "\"confirm\""
|
|
235
|
+
}],
|
|
236
|
+
"text": "Type of dialog\n- \"alert\" - Only confirm button\n- \"confirm\" - Both Confirm and cancel buttons"
|
|
237
|
+
},
|
|
238
|
+
"attribute": "dialog-type",
|
|
239
|
+
"reflect": false,
|
|
240
|
+
"defaultValue": "'confirm'"
|
|
241
|
+
},
|
|
220
242
|
"isMobile": {
|
|
221
243
|
"type": "boolean",
|
|
222
244
|
"mutable": false,
|
|
@@ -243,15 +265,14 @@ export class ZonosConfirmDialog {
|
|
|
243
265
|
"resolved": "boolean",
|
|
244
266
|
"references": {}
|
|
245
267
|
},
|
|
246
|
-
"required":
|
|
268
|
+
"required": true,
|
|
247
269
|
"optional": false,
|
|
248
270
|
"docs": {
|
|
249
271
|
"tags": [],
|
|
250
272
|
"text": "Whether or not the dialog is open"
|
|
251
273
|
},
|
|
252
274
|
"attribute": "dialog-open",
|
|
253
|
-
"reflect": false
|
|
254
|
-
"defaultValue": "false"
|
|
275
|
+
"reflect": false
|
|
255
276
|
},
|
|
256
277
|
"noClickOutside": {
|
|
257
278
|
"type": "boolean",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
display: flex;
|
|
56
56
|
align-items: center;
|
|
57
57
|
justify-content: center;
|
|
58
|
-
z-index:
|
|
58
|
+
z-index: 2147483009;
|
|
59
59
|
background: var(--zonos-elements-gray-0);
|
|
60
60
|
border-radius: var(--border-radius, var(--zonos-elements-radius-10));
|
|
61
61
|
}
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
:host .zonos--dialog {
|
|
75
75
|
position: relative;
|
|
76
|
-
z-index:
|
|
76
|
+
z-index: 2147483008;
|
|
77
77
|
background: var(--zonos-elements-gray-0);
|
|
78
78
|
max-width: 90vw;
|
|
79
79
|
max-height: 90vh;
|
|
@@ -127,12 +127,12 @@
|
|
|
127
127
|
visibility: visible;
|
|
128
128
|
}
|
|
129
129
|
:host(.open) .zonos--backdrop {
|
|
130
|
-
z-index:
|
|
130
|
+
z-index: 2147483008;
|
|
131
131
|
opacity: 0.65;
|
|
132
132
|
}
|
|
133
133
|
:host(.open) .zonos--dialog-layout {
|
|
134
134
|
opacity: 1;
|
|
135
|
-
z-index:
|
|
135
|
+
z-index: 2147483009;
|
|
136
136
|
transform: scale(1);
|
|
137
137
|
}
|
|
138
138
|
|
|
Binary file
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--font-family, Inter), Inter;
|
|
3
|
+
display: block;
|
|
4
|
+
white-space: normal;
|
|
5
|
+
}
|
|
6
|
+
:host * {
|
|
7
|
+
font-family: var(--font-family, Inter), Inter;
|
|
8
|
+
}
|
|
9
|
+
:host img {
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
:host dl,
|
|
13
|
+
:host dd,
|
|
14
|
+
:host h1,
|
|
15
|
+
:host h2,
|
|
16
|
+
:host h3,
|
|
17
|
+
:host h4,
|
|
18
|
+
:host h5,
|
|
19
|
+
:host h6,
|
|
20
|
+
:host hr,
|
|
21
|
+
:host figure,
|
|
22
|
+
:host p,
|
|
23
|
+
:host pre {
|
|
24
|
+
margin: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* All sets of variable are here */
|
|
28
|
+
/* smooth font rendering */
|
|
29
|
+
:host {
|
|
30
|
+
-moz-osx-font-smoothing: grayscale;
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:host {
|
|
35
|
+
height: 100%;
|
|
36
|
+
width: 100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: 20px;
|
|
42
|
+
}
|
|
43
|
+
:host .zonos--restState-image {
|
|
44
|
+
width: 124px;
|
|
45
|
+
height: 124px;
|
|
46
|
+
margin-bottom: 15px;
|
|
47
|
+
}
|
|
48
|
+
:host .content {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: 8px;
|
|
53
|
+
}
|