@zonos/elements 1.3.111 → 1.3.113

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.
Files changed (135) hide show
  1. package/dist/cjs/{cart-a3eab220.js → cart-6d966eea.js} +114 -2
  2. package/dist/cjs/index.cjs.js +7 -7
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{paypal-ca479c4b.js → paypal-ae7bd9f2.js} +1 -1
  5. package/dist/cjs/zonos-address_7.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +17 -12
  8. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-elements.cjs.js +1 -1
  12. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  16. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +4 -0
  17. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +16 -10
  18. package/dist/collection/components/store/checkout/cart.js +6 -2
  19. package/dist/collection/components/store/checkout/stripe.js +48 -1
  20. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  21. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  22. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  23. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  24. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  25. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  26. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  27. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  28. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  29. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  30. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  31. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  32. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  33. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  34. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  35. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  40. package/dist/collection/types/checkout/api/legacy/InventoryCheck.js +1 -0
  41. package/dist/collection/types/index.js +1 -0
  42. package/dist/esm/{cart-163f4dd9.js → cart-89bc298d.js} +114 -3
  43. package/dist/esm/index.js +7 -7
  44. package/dist/esm/loader.js +1 -1
  45. package/dist/esm/{paypal-77e8eef2.js → paypal-804a4bcb.js} +1 -1
  46. package/dist/esm/zonos-address_7.entry.js +1 -1
  47. package/dist/esm/zonos-cart-items_13.entry.js +2 -2
  48. package/dist/esm/zonos-checkout.entry.js +17 -12
  49. package/dist/esm/zonos-controller.entry.js +1 -1
  50. package/dist/esm/zonos-country-flag.entry.js +1 -1
  51. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  52. package/dist/esm/zonos-elements.js +1 -1
  53. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  54. package/dist/esm/zonos-hello.entry.js +1 -1
  55. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  56. package/dist/esm/zonos-notification_3.entry.js +2 -2
  57. package/dist/esm-es5/cart-89bc298d.js +1 -0
  58. package/dist/esm-es5/index.js +1 -1
  59. package/dist/esm-es5/loader.js +1 -1
  60. package/dist/esm-es5/{paypal-77e8eef2.js → paypal-804a4bcb.js} +1 -1
  61. package/dist/esm-es5/zonos-address_7.entry.js +1 -1
  62. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  63. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  64. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  65. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  66. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  67. package/dist/esm-es5/zonos-elements.js +1 -1
  68. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  69. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  70. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  71. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  72. package/dist/scripts/index.d.ts +11 -4
  73. package/dist/scripts/index.js +1 -1
  74. package/dist/scripts/loadZonos.js +1 -1
  75. package/dist/scripts/zonos.js +1 -1
  76. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -1
  77. package/dist/types/components/store/checkout/stripe.d.ts +10 -2
  78. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  79. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  80. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  81. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  82. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  83. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  84. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  85. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  86. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  87. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  88. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  89. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  90. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  91. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  92. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  93. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  94. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  95. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  96. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  97. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  98. package/dist/types/components/store/translationStore.d.ts +1 -1
  99. package/dist/types/types/checkout/api/NormalizedTempCart.d.ts +11 -4
  100. package/dist/types/types/checkout/api/legacy/InventoryCheck.d.ts +9 -0
  101. package/dist/types/types/index.d.ts +1 -0
  102. package/dist/zonos-elements/index.esm.js +1 -1
  103. package/dist/zonos-elements/p-007c64dc.system.js +1 -0
  104. package/dist/zonos-elements/{p-bcfc229f.entry.js → p-05d558c2.entry.js} +1 -1
  105. package/dist/zonos-elements/{p-8cafdbc9.entry.js → p-0c7d7aec.entry.js} +1 -1
  106. package/dist/zonos-elements/p-1195f857.system.entry.js +1 -0
  107. package/dist/zonos-elements/{p-0ad85ec6.entry.js → p-1769c0d2.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-8acdac29.entry.js → p-347c0756.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-46a71949.system.entry.js → p-3c326d01.system.entry.js} +1 -1
  110. package/dist/zonos-elements/{p-06e3c94f.entry.js → p-3cfa837c.entry.js} +1 -1
  111. package/dist/zonos-elements/{p-8e85c28f.system.entry.js → p-45214b34.system.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-a45bd823.system.entry.js → p-55735806.system.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-49135023.system.js → p-8f9198f2.system.js} +1 -1
  114. package/dist/zonos-elements/p-97114032.js +1 -0
  115. package/dist/zonos-elements/{p-5929ba9e.system.js → p-a7db7ad2.system.js} +1 -1
  116. package/dist/zonos-elements/{p-d8a45014.system.entry.js → p-b35e67f7.system.entry.js} +1 -1
  117. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  118. package/dist/zonos-elements/{p-2a0c4426.system.entry.js → p-d01cfb8b.system.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-932cbdd7.system.entry.js → p-d0ccf2af.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-abc6b881.system.entry.js → p-d1f334d8.system.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-0810568b.system.entry.js → p-d49cdf77.system.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-1dcaf64f.js → p-e132bc3d.js} +1 -1
  123. package/dist/zonos-elements/{p-58e6386b.entry.js → p-ead95c3b.entry.js} +1 -1
  124. package/dist/zonos-elements/{p-189aa06e.system.entry.js → p-ece0b7ab.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-605473a3.entry.js → p-ed222a50.entry.js} +1 -1
  126. package/dist/zonos-elements/p-ef13397c.entry.js +1 -0
  127. package/dist/zonos-elements/{p-124f5c21.entry.js → p-f26c4392.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-110ee9ab.entry.js → p-fe781493.entry.js} +1 -1
  129. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  130. package/package.json +1 -1
  131. package/dist/esm-es5/cart-163f4dd9.js +0 -1
  132. package/dist/zonos-elements/p-5a011a47.system.js +0 -1
  133. package/dist/zonos-elements/p-a828799f.system.entry.js +0 -1
  134. package/dist/zonos-elements/p-c44f27be.js +0 -1
  135. package/dist/zonos-elements/p-ddcbf41d.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(JSON.parse("[[\"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],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"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],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"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],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"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-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-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"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-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[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],\"justifyContent\":[1,\"justify-content\"],\"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-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.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]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.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\"]}]]],[\"zonos-cart-items_13.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]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[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\"],\"dialogWidth\":[2,\"dialog-width\"],\"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-currency-toggle\",{\"errorImages\":[32]}],[1,\"zonos-rest-state\",{\"restStateSubtitle\":[1,\"rest-state-subtitle\"],\"restStateTitle\":[1,\"rest-state-title\"],\"restStateType\":[1,\"rest-state-type\"],\"isErrorImageLoad\":[32]}]]]]"), options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"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],\"collapseReviewMobile\":[32],\"isAttachError\":[32],\"isMobile\":[32],\"isIframed\":[32],\"zonosReviewRef\":[32],\"storybookPaymentStatusOverride\":[32],\"isLegacyCheckout\":[32],\"confirmDialogOpen\":[32],\"inventoryCheckErrorMessage\":[32],\"placedOrderInfo\":[32],\"closeDialogHandler\":[64],\"init\":[64],\"setToFinishStep\":[64],\"mockCheckoutSession\":[64]},[[16,\"zonos--init-cart-info\",\"initCartInfoHandler\"],[4,\"keydown\",\"handleKeyPress\"],[9,\"resize\",\"handleWindowResize\"]],{\"appearanceSettingsOverride\":[\"appearanceSettingsOverrideChanged\",\"handleAppearanceSettingsOverrideChange\"],\"mobile\":[\"handleMobileChange\"],\"defaultAddress\":[\"handleAddressChange\"]}]]],[\"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],\"isHelloWidgetRendered\":[32],\"isMobile\":[32],\"getCountryList\":[64],\"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],\"reset\":[64],\"overrideConfig\":[64],\"overrideCountry\":[64],\"getAppearanceSetting\":[64],\"updateOrganizationName\":[64]},[[8,\"locationchange\",\"handleLocationChange\"]]]]],[\"zonos-tooltip.cjs\",[[1,\"zonos-tooltip\",{\"label\":[1],\"subtitle\":[1],\"showTooltip\":[32]}]]],[\"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-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-badge.cjs\",[[1,\"zonos-badge\",{\"bold\":[4],\"badgeColor\":[1,\"badge-color\"],\"icon\":[16],\"iconRight\":[4,\"icon-right\"],\"size\":[1],\"rounded\":[4],\"loading\":[4],\"dismissHandler\":[16]}]]],[\"zonos-shipping-rich-radio.cjs\",[[1,\"zonos-shipping-rich-radio\",{\"items\":[16],\"borderColor\":[1,\"border-color\"],\"borderStyle\":[1,\"border-style\"],\"theme\":[1],\"selectedItem\":[16]}]]],[\"zonos-toggle.cjs\",[[1,\"zonos-toggle\",{\"options\":[16],\"value\":[1]}]]],[\"zonos-collapse.cjs\",[[1,\"zonos-collapse\",{\"collapsed\":[4],\"collapseSize\":[2,\"collapse-size\"],\"height\":[32],\"iframe\":[32]}]]],[\"zonos-card.cjs\",[[1,\"zonos-card\",{\"actions\":[16],\"backgroundColor\":[1,\"background-color\"],\"borderRadius\":[2,\"border-radius\"],\"footerActions\":[16],\"footerContent\":[16],\"footerHeight\":[2,\"footer-height\"],\"label\":[16],\"spacing\":[1]}]]],[\"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-notification_3.cjs\",[[2,\"zonos-payment\",{\"titleText\":[1,\"title-text\"],\"stripe\":[32],\"stripeElements\":[32]},null,{\"stripeElements\":[\"watchInitStripe\"],\"stripe\":[\"watchInitStripe\"]}],[2,\"zonos-paypal-payment\"],[1,\"zonos-notification\",{\"notificationArray\":[32],\"showNotification\":[64]}]]],[\"zonos-banner.cjs\",[[1,\"zonos-banner\",{\"bannerTitle\":[1,\"banner-title\"],\"intent\":[1],\"hasContent\":[32]}]]],[\"zonos-country-flag.cjs\",[[1,\"zonos-country-flag\",{\"countryCode\":[1,\"country-code\"],\"size\":[2]}]]],[\"zonos-v-stack.cjs\",[[1,\"zonos-v-stack\",{\"spacing\":[2]}]]],[\"zonos-text.cjs\",[[1,\"zonos-text\",{\"textColor\":[1,\"text-color\"],\"size\":[1],\"type\":[1],\"weight\":[2],\"ready\":[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],\"justifyContent\":[1,\"justify-content\"],\"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-language-select_2.cjs\",[[1,\"zonos-language-select\",{\"handleOnClose\":[16]}],[1,\"zonos-select-dialog-header\",{\"handleOnClose\":[16],\"label\":[1]}]]],[\"zonos-country-select_4.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]}],[2,\"zonos-virtual-scroll\",{\"renderItem\":[16],\"itemWidth\":[2,\"item-width\"],\"fallbackItemHeight\":[2,\"fallback-item-height\"],\"itemHeights\":[16],\"container\":[32],\"scrollTop\":[32],\"totalHeight\":[32]},null,{\"itemHeights\":[\"updateTotalHeight\"],\"fallbackItemHeight\":[\"updateTotalHeight\"]}]]],[\"zonos-address_7.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\"]}]]],[\"zonos-cart-items_13.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]}],[2,\"zonos-checkout-payment\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"showErrorBanner\":[32]}],[1,\"zonos-checkout-footer\",{\"mobile\":[4],\"dataTheme\":[1,\"data-theme\"],\"showLanguageDialog\":[32],\"isMobile\":[32]},[[4,\"click\",\"handleGlobalClick\"]],{\"mobile\":[\"handleMobileChange\"]}],[2,\"zonos-shipping\",{\"continueLoading\":[4,\"continue-loading\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"submitBtnType\":[1,\"submit-btn-type\"],\"selectedShippingMethod\":[32],\"collapsedDAPOptions\":[32],\"isSelecting\":[32],\"showErrorBanner\":[32],\"serviceLevelsDDP\":[32],\"serviceLevelsDAP\":[32],\"serviceLevelsOther\":[32],\"serviceLevelsAll\":[32],\"displayBaseCurrency\":[32]}],[1,\"zonos-cart-subtotal\",{\"submitBtnType\":[1,\"submit-btn-type\"],\"submitBtnColor\":[1,\"submit-btn-color\"],\"loading\":[32]}],[1,\"zonos-cart-restricted-items\",{\"hide\":[4],\"errorImages\":[32],\"internalCollapsed\":[32],\"firstRender\":[32]}],[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\"],\"dialogWidth\":[2,\"dialog-width\"],\"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-currency-toggle\",{\"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-d56e0a8b.js');
6
- const cart = require('./cart-a3eab220.js');
6
+ const cart = require('./cart-6d966eea.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-b18fe6b6.js');
7
- const cart = require('./cart-a3eab220.js');
7
+ const cart = require('./cart-6d966eea.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const handleFetch = require('./handleFetch-aa729c61.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-a3eab220.js');
6
+ const cart = require('./cart-6d966eea.js');
7
7
  const zonosStore = require('./zonosStore-b18fe6b6.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-aa729c61.js');
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-b18fe6b6.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-a3eab220.js');
8
+ const cart = require('./cart-6d966eea.js');
9
9
  const handleFetch = require('./handleFetch-aa729c61.js');
10
- const paypal = require('./paypal-ca479c4b.js');
10
+ const paypal = require('./paypal-ae7bd9f2.js');
11
11
  require('./isDarkColor-87ee1eb7.js');
12
12
  require('./getBorderRadius-53c35cd1.js');
13
13
 
@@ -222,4 +222,8 @@
222
222
  }
223
223
  :host(.mobile) .zonos--cart-subtotal {
224
224
  margin: 0;
225
+ }
226
+
227
+ :host(.iframed) .zonos--content {
228
+ overscroll-behavior: auto;
225
229
  }
@@ -1,7 +1,7 @@
1
1
  import { Fragment, h, Host, } from "@stencil/core";
2
2
  import { cartStore, cartStoreClearCheckoutInterval, cartStoreNextStep, cartStoreReset, cartStoreResetTabItems, cartStoreSetCheckoutSession, cartStoreStartCheckoutInterval, cartStoreUpdateItems, cartStoreUpdateToErrorState, } from "../../store/checkout/cart";
3
3
  import { paypalInitScript, paypalStoreHasPaypalEnabled, } from "../../store/checkout/paypal";
4
- import { initStripeElements, stripeStore, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreHandleInventoryCheck, stripeStoreInitCheckoutSession, stripeStorePrefetchLandedCost, stripeStoreReset, } from "../../store/checkout/stripe";
4
+ import { initStripeElements, stripeStore, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStorePrefetchLandedCost, stripeStoreReset, } from "../../store/checkout/stripe";
5
5
  import { localizationStore, localizationStoreOnUpdate, } from "../../store/hello/localization";
6
6
  import { translate } from "../../store/translationStore";
7
7
  import { getZonosStoreTheme, zonosStore, } from "../../store/zonosStore";
@@ -93,6 +93,7 @@ export class ZonosCheckout {
93
93
  this.collapseReviewMobile = true;
94
94
  this.isAttachError = false;
95
95
  this.isMobile = false;
96
+ this.isIframed = false;
96
97
  this.zonosReviewRef = undefined;
97
98
  this.storybookPaymentStatusOverride = undefined;
98
99
  this.isLegacyCheckout = window.Zonos.isLegacyCheckout;
@@ -301,6 +302,7 @@ export class ZonosCheckout {
301
302
  catch (err) {
302
303
  // stop loading
303
304
  stripeStore.isFetchingSession = false;
305
+ logError(err);
304
306
  // We want to log the error anytime we fail to create a checkout session
305
307
  void sendErrorLog({
306
308
  endpoint: 'Error creating Checkout',
@@ -515,15 +517,13 @@ export class ZonosCheckout {
515
517
  this.submitLoading = false;
516
518
  }, 500);
517
519
  }
518
- handleInventoryCheckDialogCancel() {
519
- // reset inventory check message to close the inventory check alert
520
- cartStore.inventoryCheckErrorMessage = null;
521
- }
522
520
  handleInventoryCheckDialogConfirm() {
523
521
  // reset inventory check message to close the inventory check alert
524
522
  cartStore.inventoryCheckErrorMessage = null;
525
- // close the dialog
526
- void this.closeDialogHandler({ confirmed: true });
523
+ // close the dialog only when it's not hosted checkout
524
+ if (!this.isLegacyCheckout) {
525
+ void this.closeDialogHandler({ confirmed: true });
526
+ }
527
527
  }
528
528
  async handleStripePaymentContinue() {
529
529
  // reset error state
@@ -555,6 +555,11 @@ export class ZonosCheckout {
555
555
  catch (err) {
556
556
  logError(err);
557
557
  stripeStore.hasPaymentError = true;
558
+ // should request inventory refund if there's an error during payment
559
+ if (stripeStore.shouldInventoryRefund) {
560
+ void stripeStoreHandleInventoryRefund();
561
+ stripeStore.shouldInventoryRefund = false;
562
+ }
558
563
  }
559
564
  this.submitLoading = false;
560
565
  }
@@ -616,6 +621,7 @@ export class ZonosCheckout {
616
621
  componentWillLoad() {
617
622
  void this.init();
618
623
  this.isMobile = isCheckoutMobile(this.mobile);
624
+ this.isIframed = window.self !== window.top;
619
625
  // update theme to browser preference theme if appearance theme is system
620
626
  this.handleAppearanceSettingsOverrideChange();
621
627
  // listen to selected locale code change
@@ -705,6 +711,7 @@ export class ZonosCheckout {
705
711
  hasFooter && 'has-footer',
706
712
  this.preview && 'preview',
707
713
  this.isMobile && 'mobile',
714
+ this.isIframed && 'iframed',
708
715
  ]) }, 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: () => {
709
716
  this.confirmDialogOpen = false;
710
717
  },
@@ -733,9 +740,7 @@ export class ZonosCheckout {
733
740
  // Show dialog if inventory check error message is not null
734
741
  dialogOpen: !!cartStore.inventoryCheckErrorMessage,
735
742
  // If dialog is in open state, the message should not be null
736
- dialogSubtitle: cartStore.inventoryCheckErrorMessage, dialogTitle: translate("Couldn't place order"), dialogType: "alert", onCancelClicked: () => {
737
- this.handleInventoryCheckDialogCancel();
738
- },
743
+ dialogSubtitle: cartStore.inventoryCheckErrorMessage, dialogTitle: translate("Couldn't place order"), dialogType: "alert",
739
744
  // Mark user selected confirm to close the dialog
740
745
  onConfirmClicked: () => this.handleInventoryCheckDialogConfirm() })));
741
746
  }
@@ -865,6 +870,7 @@ export class ZonosCheckout {
865
870
  "collapseReviewMobile": {},
866
871
  "isAttachError": {},
867
872
  "isMobile": {},
873
+ "isIframed": {},
868
874
  "zonosReviewRef": {},
869
875
  "storybookPaymentStatusOverride": {},
870
876
  "isLegacyCheckout": {},
@@ -161,11 +161,15 @@ const cartStoreHasOneEligibleItem = () => {
161
161
  return !!checkItems.find(item => !item.isRestricted);
162
162
  };
163
163
  const cartStoreSetCheckoutSession = (checkoutSession) => {
164
- var _a, _b, _c;
164
+ var _a, _b, _c, _d, _e;
165
165
  cartStore.checkoutSession = checkoutSession;
166
166
  cartStore.checkoutSessionId = checkoutSession.id;
167
167
  // Check if there is a redirect URL in the metadata to override
168
- const externalConfirmationPageURL = ((_c = (_b = (_a = cartStore.checkoutSession) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.find(entry => (entry === null || entry === void 0 ? void 0 : entry.key) === 'externalConfirmationPageURL')) === null || _c === void 0 ? void 0 : _c.value) || null;
168
+ const externalConfirmationPageURL = ((_c = (_b = (_a = cartStore.checkoutSession) === null || _a === void 0 ? void 0 : _a.metadata) === null || _b === void 0 ? void 0 : _b.find(entry => (entry === null || entry === void 0 ? void 0 : entry.key) === 'externalConfirmationPageURL')) === null || _c === void 0 ? void 0 : _c.value) ||
169
+ (
170
+ // Sometimes externalConfirmationPageURL is not in checkoutSession create/update, check if there is a redirect URL in the cart metadata to override
171
+ (_e = (_d = window.Zonos.cartData) === null || _d === void 0 ? void 0 : _d.metadata.find(entry => (entry === null || entry === void 0 ? void 0 : entry.key) === 'externalConfirmationPageURL')) === null || _e === void 0 ? void 0 : _e.value) ||
172
+ null;
169
173
  if (externalConfirmationPageURL) {
170
174
  log(`Found externalConfirmationPageURL: ${externalConfirmationPageURL}`);
171
175
  cartStore.externalConfirmationPageURL = externalConfirmationPageURL;
@@ -20,6 +20,7 @@ const { onChange, reset, state: stripeStore, } = createStore(() => ({
20
20
  hasPaymentError: false,
21
21
  isFetchingLandedCost: false,
22
22
  isFetchingSession: false,
23
+ shouldInventoryRefund: false,
23
24
  stripe: null,
24
25
  stripeAddressElement: null,
25
26
  stripeAddressEventData: null,
@@ -348,13 +349,59 @@ const stripeStoreMessageBasedOnStatus = (status) => {
348
349
  * Handle inventory check and returns error message if the callback provided.
349
350
  */
350
351
  const stripeStoreHandleInventoryCheck = async () => {
352
+ var _a, _b;
351
353
  const { onInventoryCheck } = zonosStore.checkoutSettings;
354
+ const hasReferenceId = !!((_b = (_a = window.Zonos.cartData) === null || _a === void 0 ? void 0 : _a.metadata.find(meta => meta.key === 'referenceId')) === null || _b === void 0 ? void 0 : _b.value);
355
+ // default inventory check is only available for legacy checkout and store has referenceId in metadata
356
+ if (window.Zonos.isLegacyCheckout &&
357
+ window.Zonos.cartData &&
358
+ hasReferenceId) {
359
+ const { errors, json } = await handleFetch('/api/zonos-elements/legacy/inventory-check', {
360
+ body: {
361
+ cartData: window.Zonos.cartData,
362
+ },
363
+ method: 'POST',
364
+ });
365
+ if (errors.length || !json) {
366
+ logError('Error occurs when handling inventory refund', 'warn', JSON.stringify(errors));
367
+ return null;
368
+ }
369
+ // Proceed if the item is available
370
+ if (!json.available || json.status === 204) {
371
+ return translate("The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.");
372
+ }
373
+ if (json.available || json.status === 200) {
374
+ stripeStore.shouldInventoryRefund = true;
375
+ return null;
376
+ }
377
+ return null;
378
+ }
352
379
  if (typeof onInventoryCheck !== 'function') {
353
380
  return null;
354
381
  }
355
382
  const message = await onInventoryCheck({ items: cartStore.items });
356
383
  return message;
357
384
  };
385
+ /**
386
+ * Handle inventory check and returns error message if the callback provided.
387
+ */
388
+ const stripeStoreHandleInventoryRefund = async () => {
389
+ var _a, _b;
390
+ const hasReferenceId = !!((_b = (_a = window.Zonos.cartData) === null || _a === void 0 ? void 0 : _a.metadata.find(meta => meta.key === 'referenceId')) === null || _b === void 0 ? void 0 : _b.value);
391
+ // inventory refund is only available for legacy checkout and store has referenceId in metadata
392
+ if (!window.Zonos.isLegacyCheckout ||
393
+ !window.Zonos.cartData ||
394
+ !hasReferenceId) {
395
+ return;
396
+ }
397
+ // handle inventory check on legacy checkout
398
+ await handleFetch('/api/zonos-elements/legacy/inventory-refund', {
399
+ body: {
400
+ cartData: window.Zonos.cartData,
401
+ },
402
+ method: 'POST',
403
+ });
404
+ };
358
405
  const stripeStoreRetrievePayment = async ({ clientSecret: _clientSecret, storybookForceStatus, }) => {
359
406
  if (storybookForceStatus) {
360
407
  // return status right away if we are in storybook mode
@@ -614,4 +661,4 @@ onChange('clientSecret', clientSecret => {
614
661
  sessionStorage.removeItem('zonos--client-secret');
615
662
  }
616
663
  });
617
- export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreHandleInventoryCheck, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
664
+ export { initStripeElements, stripeCalculateLandedCost, stripeStore, stripeStoreApplyPromoCode, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreHandleInventoryCheck, stripeStoreHandleInventoryRefund, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreRemovePromoCode, stripeStoreReset, stripeStoreResetPromoCode, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
@@ -329,6 +329,9 @@ export const stringsArabic = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'العناصر التالية لا يمكن شحنها إلى بلدك ولا تُضاف إلى إجمالي سلة مشترياتك.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'العنصر الذي تبحث عنه غير متوفر حاليًا في مخزوننا. يرجى التحقق مرة أخرى لاحقًا أو الاتصال بالدعم للحصول على المساعدة بشأن التوافر.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'ينطبق قانون ضريبة السلع والخدمات منخفض القيمة الذي أُقر في 1 يوليو 2018 على هذا التاجر.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsBase = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'The following items are unable to be shipped to your country and are not included in your cart total.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.",
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'The low-value GST law passed July 1st, 2018 applies to this retailer.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsChinese = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: '以下商品无法运送至您的国家,并且不包括在您购物车的总额中。',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: '您正在寻找的商品目前在我们的库存中不可用。请稍后再查看或联系支持以获取可用性方面的帮助。',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: '2018年7月1日通过的低值GST法适用于本零售商。',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsDanish = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'De følgende varer kan ikke sendes til dit land og er ikke inkluderet i din kurvs total.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Varen, du leder efter, er i øjeblikket ikke tilgængelig i vores lager. Kom venligst tilbage senere eller kontakt support for hjælp med tilgængelighed.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Den lavværdi-GST-lov, der blev vedtaget den 1. juli 2018, gælder for denne forhandler.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsDutch = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'De volgende artikelen kunnen niet naar uw land worden verzonden en zijn niet opgenomen in het totaal van uw winkelwagen.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Het item dat u zoekt, is momenteel niet beschikbaar in onze voorraad. Kom later terug of neem contact op met de ondersteuning voor hulp bij de beschikbaarheid.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'De wet op de laagwaardige GST die op 1 juli 2018 is aangenomen, is van toepassing op deze detailhandelaar.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsFrench = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Les articles suivants ne peuvent pas être expédiés dans votre pays et ne sont pas inclus dans le total de votre panier.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: "L'article que vous recherchez n'est actuellement pas disponible dans notre inventaire. Veuillez revenir plus tard ou contacter le support pour obtenir de l'aide concernant la disponibilité.",
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: "La loi sur la GST à faible valeur adoptée le 1er juillet 2018 s'applique à ce détaillant.",
334
337
  },
@@ -329,6 +329,9 @@ export const stringsGerman = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Die folgenden Artikel können nicht in Ihr Land versandt werden und sind nicht in der Gesamtsumme Ihres Warenkorbs enthalten.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Der Artikel, den Sie suchen, ist derzeit nicht in unserem Lager verfügbar. Bitte schauen Sie später noch einmal vorbei oder kontaktieren Sie den Support für Unterstützung bei der Verfügbarkeit.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Das am 1. Juli 2018 verabschiedete Niedrigwert-GST-Gesetz gilt für diesen Einzelhändler.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsHebrew = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'הפריטים הבאים לא יכולים להישלח למדינתך ואינם כלולים בסך הכל של עגלתך.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'הפריט שאתה מחפש אינו זמין כרגע במלאי שלנו. אנא בדוק שוב מאוחר יותר או פנה לתמיכה לקבלת סיוע בזמינות.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'חוק GST בעל ערך נמוך שנחקק ב-1 ביולי 2018 חל על קמעונאי זה.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsIndonesian = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Item-item berikut tidak dapat dikirim ke negara Anda dan tidak termasuk dalam total keranjang Anda.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Barang yang Anda cari saat ini tidak tersedia di inventaris kami. Silakan periksa kembali nanti atau hubungi dukungan untuk bantuan ketersediaan.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Undang-undang GST bernilai rendah yang disahkan pada 1 Juli 2018 berlaku untuk pengecer ini.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsItalian = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'I seguenti articoli non possono essere spediti nel tuo paese e non sono inclusi nel totale del tuo carrello.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: "L'articolo che stai cercando non è attualmente disponibile nel nostro inventario. Si prega di ricontrollare più tardi o contattare il supporto per assistenza con la disponibilità.",
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'La legge GST di basso valore approvata il 1° luglio 2018 si applica a questo rivenditore.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsJapanese = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: '以下のアイテムはお客様の国への発送ができませんので、カートの合計には含まれません。',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'お探しの商品は現在、在庫にありません。後で再度確認するか、サポートに連絡して在庫状況の確認をお願いします。',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: '2018年7月1日に可決された低額GST法はこの小売業者に適用されます。',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsKorean = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: '다음 항목은 국가로 배송할 수 없으며 장바구니 총액에 포함되지 않습니다.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: '찾고 계신 상품은 현재 재고에 없습니다. 나중에 다시 확인하거나 지원팀에 연락하여 가용성에 대한 도움을 받으십시오.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: '2018년 7월 1일에 통과된 저가 GST 법은 이 소매업체에 적용됩니다.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsNorwegian = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Følgende varer kan ikke sendes til landet ditt og er ikke inkludert i totalen for handlekurven din.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Varen du leter etter er for øyeblikket ikke tilgjengelig i vårt lager. Vennligst sjekk tilbake senere eller kontakt support for hjelp med tilgjengelighet.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Den lavverdige GST-loven som ble vedtatt 1. juli 2018 gjelder for denne forhandleren.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsPolish = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Następujące przedmioty nie mogą być wysłane do twojego kraju i nie są wliczone do sumy twojego koszyka.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Przedmiot, którego szukasz, jest obecnie niedostępny w naszym magazynie. Proszę sprawdzić ponownie później lub skontaktować się z pomocą techniczną w celu uzyskania pomocy w sprawie dostępności.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Prawo niskowartościowego GST przyjęte 1 lipca 2018 r. dotyczy tego sprzedawcy.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsPortuguese = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Os seguintes itens não podem ser enviados para o seu país e não estão incluídos no total do seu carrinho.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'O item que você está procurando está atualmente indisponível em nosso estoque. Por favor, verifique novamente mais tarde ou entre em contato com o suporte para obter assistência com a disponibilidade.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'A lei de GST de baixo valor aprovada em 1º de julho de 2018 se aplica a este varejista.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsRussian = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Следующие товары не могут быть доставлены в вашу страну и не включены в итоговую сумму вашей корзины.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Товар, который вы ищете, в настоящее время недоступен в нашем инвентаре. Пожалуйста, проверьте позже или свяжитесь с поддержкой для получения помощи с доступностью.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Закон о низкой стоимости GST, принятый 1 июля 2018 года, применяется к этому розничному продавцу.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsSpanish = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Los siguientes artículos no se pueden enviar a su país y no están incluidos en el total de su carrito.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'El artículo que buscas no está disponible actualmente en nuestro inventario. Por favor, vuelve a comprobar más tarde o contacta con el soporte para obtener ayuda con la disponibilidad.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'La ley de GST de bajo valor aprobada el 1 de julio de 2018 se aplica a este minorista.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsSwedish = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Följande artiklar kan inte skickas till ditt land och är inte inkluderade i din varukorgs totala belopp.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Artikeln du letar efter är för närvarande inte tillgänglig i vårt lager. Vänligen återkom senare eller kontakta supporten för hjälp med tillgänglighet.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Lågvärde-GST-lagen som antogs den 1 juli 2018 gäller för denna återförsäljare.',
334
337
  },
@@ -329,6 +329,9 @@ export const stringsTurkish = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Aşağıdaki ürünler ülkenize gönderilemiyor ve sepet toplamınıza dahil edilmiyor.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Aradığınız ürün şu anda envanterimizde mevcut değil. Lütfen daha sonra tekrar kontrol edin veya uygunluk konusunda yardım için destekle iletişime geçin.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: "1 Temmuz 2018'de yürürlüğe giren düşük değerli GST yasası bu perakendeci için geçerlidir.",
334
337
  },
@@ -329,6 +329,9 @@ export const stringsVietnamese = {
329
329
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
330
330
  value: 'Các mặt hàng sau không thể được vận chuyển đến quốc gia của bạn và không được tính vào tổng số giỏ hàng của bạn.',
331
331
  },
332
+ "The item you're looking for is currently unavailable in our inventory. Please check back later or contact support for assistance with availability.": {
333
+ value: 'Mặt hàng bạn đang tìm kiếm hiện không có sẵn trong kho của chúng tôi. Vui lòng kiểm tra lại sau hoặc liên hệ với bộ phận hỗ trợ để được trợ giúp về tình trạng sẵn có.',
334
+ },
332
335
  'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
333
336
  value: 'Luật GST giá trị thấp được thông qua ngày 1 tháng 7 năm 2018 áp dụng cho nhà bán lẻ này.',
334
337
  },
@@ -3,6 +3,7 @@ import "./global.d";
3
3
  export * from '../components.d';
4
4
  export * from './checkout/api/CalculateLandedCost';
5
5
  export * from './checkout/api/CheckoutSession';
6
+ export * from './checkout/api/legacy/InventoryCheck';
6
7
  export * from './checkout/api/NormalizedTempCart';
7
8
  export * from './checkout/api/Paypal';
8
9
  export * from './checkout/api/StoreDiscountEnabled';