@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.
Files changed (205) hide show
  1. package/dist/cjs/{cart-c734e909.js → cart-ab3b679e.js} +189 -0
  2. package/dist/cjs/index.cjs.js +3 -4
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{submitGtag-336b437c.js → submitGtag-1471da9f.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  6. package/dist/cjs/zonos-badge_2.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  8. package/dist/cjs/{zonos-cart-items_11.cjs.entry.js → zonos-cart-items_12.cjs.entry.js} +37 -8
  9. package/dist/cjs/zonos-checkout.cjs.entry.js +43 -32
  10. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  14. package/dist/cjs/zonos-elements.cjs.js +1 -1
  15. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-hello.cjs.entry.js +9 -7
  17. package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +4 -4
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -1
  21. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +44 -35
  22. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +2 -2
  23. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +31 -10
  24. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +4 -4
  25. package/dist/collection/components/common/zonos-rest-state/assets/Boxes.png +0 -0
  26. package/dist/collection/components/common/zonos-rest-state/assets/Earth.png +0 -0
  27. package/dist/collection/components/common/zonos-rest-state/assets/EmptyBox.png +0 -0
  28. package/dist/collection/components/common/zonos-rest-state/assets/Lock.png +0 -0
  29. package/dist/collection/components/common/zonos-rest-state/assets/PigBank.png +0 -0
  30. package/dist/collection/components/common/zonos-rest-state/assets/Scribble.png +0 -0
  31. package/dist/collection/components/common/zonos-rest-state/assets/Search.png +0 -0
  32. package/dist/collection/components/common/zonos-rest-state/assets/Settings.png +0 -0
  33. package/dist/collection/components/common/zonos-rest-state/assets/ShoppingCart.png +0 -0
  34. package/dist/collection/components/common/zonos-rest-state/assets/SpilledCup.png +0 -0
  35. package/dist/collection/components/common/zonos-rest-state/assets/Switch.png +0 -0
  36. package/dist/collection/components/common/zonos-rest-state/assets/TaxId.png +0 -0
  37. package/dist/collection/components/common/zonos-rest-state/assets/Truck.png +0 -0
  38. package/dist/collection/components/common/zonos-rest-state/assets/Warning.png +0 -0
  39. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.css +53 -0
  40. package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +102 -0
  41. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  42. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  43. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  44. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  45. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +0 -484
  46. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  47. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
  48. package/dist/collection/components/main/zonos-controller.js +1 -1
  49. package/dist/collection/components/store/hello/localization.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  54. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  55. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  56. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  57. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  58. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  59. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  60. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  61. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  62. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  63. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  65. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  69. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  70. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  71. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  72. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  73. package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +8 -6
  74. package/dist/collection/components/utils/restStateType.js +16 -0
  75. package/dist/collection/scripts/_zonosBase.js +0 -1
  76. package/dist/esm/{cart-67471b37.js → cart-564ab33a.js} +189 -0
  77. package/dist/esm/index.js +3 -4
  78. package/dist/esm/loader.js +1 -1
  79. package/dist/esm/{submitGtag-1f42c748.js → submitGtag-90ebe7d0.js} +1 -1
  80. package/dist/esm/zonos-address_8.entry.js +4 -4
  81. package/dist/esm/zonos-badge_2.entry.js +2 -2
  82. package/dist/esm/zonos-card_2.entry.js +1 -1
  83. package/dist/esm/{zonos-cart-items_11.entry.js → zonos-cart-items_12.entry.js} +37 -9
  84. package/dist/esm/zonos-checkout.entry.js +44 -33
  85. package/dist/esm/zonos-component.entry.js +1 -1
  86. package/dist/esm/zonos-controller.entry.js +2 -2
  87. package/dist/esm/zonos-country-flag.entry.js +1 -1
  88. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  89. package/dist/esm/zonos-elements.js +1 -1
  90. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  91. package/dist/esm/zonos-hello.entry.js +9 -7
  92. package/dist/esm/zonos-payment.entry.js +2 -2
  93. package/dist/esm/zonos-select-dialog-header_2.entry.js +4 -4
  94. package/dist/esm-es5/cart-564ab33a.js +1 -0
  95. package/dist/esm-es5/index.js +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/{submitGtag-1f42c748.js → submitGtag-90ebe7d0.js} +1 -1
  98. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  99. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  100. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  101. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -0
  102. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  103. package/dist/esm-es5/zonos-component.entry.js +1 -1
  104. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  105. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  106. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  107. package/dist/esm-es5/zonos-elements.js +1 -1
  108. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  109. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  110. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  111. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  112. package/dist/scripts/index.d.ts +53 -5
  113. package/dist/scripts/index.js +1 -1
  114. package/dist/scripts/loadZonos.js +1 -1
  115. package/dist/scripts/zonos.js +1 -1
  116. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +12 -0
  117. package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +8 -1
  118. package/dist/types/components/common/zonos-rest-state/zonos-rest-state.d.ts +21 -0
  119. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  120. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  121. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  122. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  123. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  124. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  125. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  126. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  127. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  128. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  129. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  130. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  131. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  132. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  133. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  134. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  135. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  136. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  137. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  138. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  139. package/dist/types/components/store/translationStore.d.ts +1 -1
  140. package/dist/types/components/utils/restStateType.d.ts +2 -0
  141. package/dist/types/components.d.ts +52 -3
  142. package/dist/types/scripts/_zonosBase.d.ts +0 -2
  143. package/dist/zonos-elements/assets/Boxes.png +0 -0
  144. package/dist/zonos-elements/assets/Earth.png +0 -0
  145. package/dist/zonos-elements/assets/EmptyBox.png +0 -0
  146. package/dist/zonos-elements/assets/Lock.png +0 -0
  147. package/dist/zonos-elements/assets/PigBank.png +0 -0
  148. package/dist/zonos-elements/assets/Scribble.png +0 -0
  149. package/dist/zonos-elements/assets/Search.png +0 -0
  150. package/dist/zonos-elements/assets/Settings.png +0 -0
  151. package/dist/zonos-elements/assets/ShoppingCart.png +0 -0
  152. package/dist/zonos-elements/assets/SpilledCup.png +0 -0
  153. package/dist/zonos-elements/assets/Switch.png +0 -0
  154. package/dist/zonos-elements/assets/TaxId.png +0 -0
  155. package/dist/zonos-elements/assets/Truck.png +0 -0
  156. package/dist/zonos-elements/assets/Warning.png +0 -0
  157. package/dist/zonos-elements/index.esm.js +1 -1
  158. package/dist/zonos-elements/{p-5437dd24.system.entry.js → p-07fe47f2.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-8473827d.system.entry.js → p-1b76a929.system.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-713bb92e.system.entry.js → p-233c2599.system.entry.js} +1 -1
  161. package/dist/zonos-elements/{p-498a0e18.entry.js → p-2701e08c.entry.js} +1 -1
  162. package/dist/zonos-elements/{p-18464027.entry.js → p-474719c5.entry.js} +1 -1
  163. package/dist/zonos-elements/p-4d36edfd.system.entry.js +1 -0
  164. package/dist/zonos-elements/p-63b0aef9.system.entry.js +1 -0
  165. package/dist/zonos-elements/{p-7d61e6e5.entry.js → p-6b2a2f68.entry.js} +1 -1
  166. package/dist/zonos-elements/p-6ed78fba.entry.js +1 -0
  167. package/dist/zonos-elements/p-6f154d66.system.js +1 -0
  168. package/dist/zonos-elements/{p-cbf13745.entry.js → p-84791c5c.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-db9e87ec.entry.js → p-87c4a2af.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-8171d013.system.entry.js → p-941a01be.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-083850d3.js → p-9912a954.js} +1 -1
  172. package/dist/zonos-elements/p-9a0c5589.system.entry.js +1 -0
  173. package/dist/zonos-elements/{p-c1879326.system.entry.js → p-a164ea90.system.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-607b5560.entry.js → p-aaba6f75.entry.js} +1 -1
  175. package/dist/zonos-elements/p-b44de1c3.entry.js +1 -0
  176. package/dist/zonos-elements/{p-b9195764.system.entry.js → p-b45db572.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-44250644.entry.js → p-b7e4a6b0.entry.js} +1 -1
  178. package/dist/zonos-elements/p-ba066673.entry.js +1 -0
  179. package/dist/zonos-elements/p-c2688c49.system.js +1 -0
  180. package/dist/zonos-elements/{p-92c64a9c.system.entry.js → p-c8e83577.system.entry.js} +1 -1
  181. package/dist/zonos-elements/p-d170253b.entry.js +1 -0
  182. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  183. package/dist/zonos-elements/{p-6f132cee.system.entry.js → p-e2301200.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-065ada8a.system.js → p-e2bdba42.system.js} +1 -1
  185. package/dist/zonos-elements/{p-8ed0769e.entry.js → p-e815af26.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-65671a64.system.entry.js → p-f1223c14.system.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-a18555c8.entry.js → p-f3feed11.entry.js} +1 -1
  188. package/dist/zonos-elements/p-f8b58cf8.system.entry.js +1 -0
  189. package/dist/zonos-elements/p-fc4f1e0c.js +1 -0
  190. package/dist/zonos-elements/zonos-elements.css +1 -1
  191. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  192. package/package.json +7 -15
  193. package/dist/esm-es5/cart-67471b37.js +0 -1
  194. package/dist/esm-es5/zonos-cart-items_11.entry.js +0 -1
  195. package/dist/zonos-elements/p-08d1cfc4.entry.js +0 -1
  196. package/dist/zonos-elements/p-0d30f36e.system.entry.js +0 -1
  197. package/dist/zonos-elements/p-234f8729.system.js +0 -1
  198. package/dist/zonos-elements/p-440ac320.js +0 -1
  199. package/dist/zonos-elements/p-4a3b5fc8.entry.js +0 -1
  200. package/dist/zonos-elements/p-52900b33.entry.js +0 -1
  201. package/dist/zonos-elements/p-9c3a036e.system.js +0 -1
  202. package/dist/zonos-elements/p-af3ee45d.system.entry.js +0 -1
  203. package/dist/zonos-elements/p-b1ee97d8.entry.js +0 -1
  204. package/dist/zonos-elements/p-f7468131.system.entry.js +0 -1
  205. package/dist/zonos-elements/p-fedafdd2.system.entry.js +0 -1
@@ -161,6 +161,9 @@ export declare const stringsGerman: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsGerman: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsGerman: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsHebrew: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsHebrew: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsHebrew: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsIndonesian: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsIndonesian: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsIndonesian: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsItalian: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsItalian: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsItalian: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsJapanese: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsJapanese: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsJapanese: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsKorean: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsKorean: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsKorean: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsNorwegian: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsNorwegian: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsNorwegian: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsPolish: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsPolish: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsPolish: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsPortuguese: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsPortuguese: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsPortuguese: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsRussian: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsRussian: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsRussian: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsSpanish: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsSpanish: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsSpanish: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsSwedish: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsSwedish: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsSwedish: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsTurkish: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsTurkish: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsTurkish: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -161,6 +161,9 @@ export declare const stringsVietnamese: {
161
161
  'Prepay duties and taxes at checkout': {
162
162
  value: string;
163
163
  };
164
+ Reload: {
165
+ value: string;
166
+ };
164
167
  'Restricted item': {
165
168
  value: string;
166
169
  };
@@ -179,6 +182,9 @@ export declare const stringsVietnamese: {
179
182
  'Select a language': {
180
183
  value: string;
181
184
  };
185
+ 'Session timed out': {
186
+ value: string;
187
+ };
182
188
  Shipping: {
183
189
  value: string;
184
190
  };
@@ -248,6 +254,9 @@ export declare const stringsVietnamese: {
248
254
  "You're all set!": {
249
255
  value: string;
250
256
  };
257
+ 'Your checkout session has expired. Please reload the page to continue.': {
258
+ value: string;
259
+ };
251
260
  'Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us.': {
252
261
  value: string;
253
262
  };
@@ -30,5 +30,5 @@ type TranslateParams<T extends string> = ExtractVariables<T> extends never ? [T,
30
30
  * // No variables:
31
31
  * translate('Above de minimis threshold for')
32
32
  */
33
- declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Country" | "Customer" | "Hide" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Cart subtotal" | "City" | "Close" | "Contact" | "Continue to shipping" | "Customer information" | "Delivery options" | "Don't close" | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders" | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Missing required fields. Make sure all fields are completed." | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Restricted item" | "Restricted items found" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend" | "State" | "State/Province" | "Taxes will apply to all orders" | "The following items are unable to be shipped to your country and are not included in your cart total." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]!" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "duty free" | "restricted items" | "tax free">(...[key, replacement]: TranslateParams<T>) => string;
33
+ declare const translate: <T extends "Shipping" | "Email" | "Name" | "Guaranteed" | "Country" | "Customer" | "Hide" | "Delivery" | "Payment" | "Above de minimis threshold for" | "Address" | "Address line 1" | "Address line 2" | "Are you sure?" | "Back" | "Billing" | "Billing address" | "Cancel" | "Cart subtotal" | "City" | "Close" | "Contact" | "Continue to shipping" | "Customer information" | "Delivery options" | "Don't close" | "Duties and taxes will be applied to items and shipping." | "Duties will apply to all orders" | "Duties, taxes, and fees" | "Error creating Checkout" | "Error updating Checkout" | "Expected delivery" | "First name" | "Go to payment" | "Keep shopping" | "Know about duties and taxes before you buy. Shop with confidence!" | "Last name" | "Missing required fields. Make sure all fields are completed." | "No shipping method selected" | "No shipping methods found - please review and update your address details by selecting the \"Customer\" tab above. If you continue to encounter issues, contact our support team for assistance." | "No shipping methods found - try editing your address or contacting support if the error persists" | "Nothing due at the door" | "Order is over the de minimis threshold for both duty and tax" | "Order total" | "Orders to [countryName] must be over [threshold] to ship." | "Pay" | "Payment failed" | "Payment failed. Please try another payment method." | "Payment method" | "Payment processing. We'll update you when payment is received." | "Phone number" | "Please ensure your text uses the Latin alphabet only (A-Z, a-z)." | "Postal code" | "Powered by" | "Prepay duties and taxes at checkout" | "Reload" | "Restricted item" | "Restricted items found" | "Search countries" | "See duty and tax thresholds" | "Select a country" | "Select a language" | "Session timed out" | "Shipping address same as billing" | "Shipping method" | "Show" | "Something went wrong." | "Spend" | "State" | "State/Province" | "Taxes will apply to all orders" | "The following items are unable to be shipped to your country and are not included in your cart total." | "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists" | "There's been an error updating your checkout session. Please reload and try again or contact support if the error persists" | "To ensure delivery all address details must be in Latin characters." | "Translated address" | "Update address" | "Update your address" | "We couldn't complete your payment. Please verify the payment details and try again." | "We've sent an email confirmation of the order details for your review. And our team is carefully preparing your order so it arrives on time." | "Welcome to [storeName]!" | "Welcome!" | "What you entered" | "Would you like to close checkout and return to the site?" | "You're all set!" | "Your checkout session has expired. Please reload the page to continue." | "Your payment went through successfully! Thank you for shopping with us! We hope you had an enjoyable experience and your support means the world to us." | "[percentage] GST due on any order above [threshold] along with an import entry transaction fee and MPI levy." | "[percentage] GST due on any order above [threshold]." | "business days" | "click to learn more" | "duty free" | "restricted items" | "tax free">(...[key, replacement]: TranslateParams<T>) => string;
34
34
  export { translate, translationStore, translationStoreUpdateLanguage };
@@ -0,0 +1,2 @@
1
+ export declare const restStateType: readonly ["Boxes", "Earth", "EmptyBox", "Lock", "PigBank", "Scribble", "Search", "Settings", "ShoppingCart", "SpilledCup", "Switch", "TaxId", "Truck", "Warning"];
2
+ export type RestStateType = (typeof restStateType)[number];
@@ -19,6 +19,7 @@ import { LoadZonosParamsConfig } from "./scripts/_zonosBase";
19
19
  import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
20
20
  import { RestrictedItem } from "./types/hello/RestrictedItem";
21
21
  import { AppearanceConfig as AppearanceConfig1 } from "./components.d";
22
+ import { RestStateType } from "./components/utils/restStateType";
22
23
  import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
23
24
  import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
24
25
  import { GridSpacing } from "./types/styles/GridSpacing";
@@ -36,6 +37,7 @@ export { LoadZonosParamsConfig } from "./scripts/_zonosBase";
36
37
  export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
37
38
  export { RestrictedItem } from "./types/hello/RestrictedItem";
38
39
  export { AppearanceConfig as AppearanceConfig1 } from "./components.d";
40
+ export { RestStateType } from "./components/utils/restStateType";
39
41
  export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
40
42
  export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
41
43
  export { GridSpacing } from "./types/styles/GridSpacing";
@@ -431,7 +433,7 @@ export namespace Components {
431
433
  /**
432
434
  * Cancel button text
433
435
  */
434
- "dialogCancelBtnText": string;
436
+ "dialogCancelBtnText"?: string;
435
437
  /**
436
438
  * Confirm button text
437
439
  */
@@ -455,6 +457,11 @@ export namespace Components {
455
457
  * @default "Are you sure?"
456
458
  */
457
459
  "dialogTitle": string;
460
+ /**
461
+ * Type of dialog - "alert" - Only confirm button - "confirm" - Both Confirm and cancel buttons
462
+ * @default "confirm"
463
+ */
464
+ "dialogType": 'alert' | 'confirm';
458
465
  /**
459
466
  * Whether or not the dialog is open
460
467
  */
@@ -813,6 +820,20 @@ export namespace Components {
813
820
  */
814
821
  "titleText"?: string;
815
822
  }
823
+ interface ZonosRestState {
824
+ /**
825
+ * The subtitle of the rest state
826
+ */
827
+ "restStateSubtitle": string;
828
+ /**
829
+ * The title of the rest state
830
+ */
831
+ "restStateTitle": string;
832
+ /**
833
+ * The type of rest state
834
+ */
835
+ "restStateType": RestStateType;
836
+ }
816
837
  interface ZonosReview {
817
838
  /**
818
839
  * Whether or not to show the collapse icon This is controled from the collapsed state of the zonos-collapse component to show the collapse icon
@@ -1330,6 +1351,12 @@ declare global {
1330
1351
  prototype: HTMLZonosPaymentElement;
1331
1352
  new (): HTMLZonosPaymentElement;
1332
1353
  };
1354
+ interface HTMLZonosRestStateElement extends Components.ZonosRestState, HTMLStencilElement {
1355
+ }
1356
+ var HTMLZonosRestStateElement: {
1357
+ prototype: HTMLZonosRestStateElement;
1358
+ new (): HTMLZonosRestStateElement;
1359
+ };
1333
1360
  interface HTMLZonosReviewElement extends Components.ZonosReview, HTMLStencilElement {
1334
1361
  }
1335
1362
  var HTMLZonosReviewElement: {
@@ -1438,6 +1465,7 @@ declare global {
1438
1465
  "zonos-logo": HTMLZonosLogoElement;
1439
1466
  "zonos-notification": HTMLZonosNotificationElement;
1440
1467
  "zonos-payment": HTMLZonosPaymentElement;
1468
+ "zonos-rest-state": HTMLZonosRestStateElement;
1441
1469
  "zonos-review": HTMLZonosReviewElement;
1442
1470
  "zonos-select-dialog-header": HTMLZonosSelectDialogHeaderElement;
1443
1471
  "zonos-shipping": HTMLZonosShippingElement;
@@ -1848,7 +1876,7 @@ declare namespace LocalJSX {
1848
1876
  /**
1849
1877
  * Cancel button text
1850
1878
  */
1851
- "dialogCancelBtnText": string;
1879
+ "dialogCancelBtnText"?: string;
1852
1880
  /**
1853
1881
  * Confirm button text
1854
1882
  */
@@ -1861,7 +1889,7 @@ declare namespace LocalJSX {
1861
1889
  /**
1862
1890
  * Whether or not the dialog is open
1863
1891
  */
1864
- "dialogOpen"?: boolean;
1892
+ "dialogOpen": boolean;
1865
1893
  /**
1866
1894
  * Dialog subtitle text
1867
1895
  * @default "" No subtitle
@@ -1872,6 +1900,11 @@ declare namespace LocalJSX {
1872
1900
  * @default "Are you sure?"
1873
1901
  */
1874
1902
  "dialogTitle"?: string;
1903
+ /**
1904
+ * Type of dialog - "alert" - Only confirm button - "confirm" - Both Confirm and cancel buttons
1905
+ * @default "confirm"
1906
+ */
1907
+ "dialogType"?: 'alert' | 'confirm';
1875
1908
  /**
1876
1909
  * Whether or not the dialog is open
1877
1910
  */
@@ -2200,6 +2233,20 @@ declare namespace LocalJSX {
2200
2233
  */
2201
2234
  "titleText"?: string;
2202
2235
  }
2236
+ interface ZonosRestState {
2237
+ /**
2238
+ * The subtitle of the rest state
2239
+ */
2240
+ "restStateSubtitle": string;
2241
+ /**
2242
+ * The title of the rest state
2243
+ */
2244
+ "restStateTitle": string;
2245
+ /**
2246
+ * The type of rest state
2247
+ */
2248
+ "restStateType": RestStateType;
2249
+ }
2203
2250
  interface ZonosReview {
2204
2251
  /**
2205
2252
  * Whether or not to show the collapse icon This is controled from the collapsed state of the zonos-collapse component to show the collapse icon
@@ -2349,6 +2396,7 @@ declare namespace LocalJSX {
2349
2396
  "zonos-logo": ZonosLogo;
2350
2397
  "zonos-notification": ZonosNotification;
2351
2398
  "zonos-payment": ZonosPayment;
2399
+ "zonos-rest-state": ZonosRestState;
2352
2400
  "zonos-review": ZonosReview;
2353
2401
  "zonos-select-dialog-header": ZonosSelectDialogHeader;
2354
2402
  "zonos-shipping": ZonosShipping;
@@ -2400,6 +2448,7 @@ declare module "@stencil/core" {
2400
2448
  "zonos-logo": LocalJSX.ZonosLogo & JSXBase.HTMLAttributes<HTMLZonosLogoElement>;
2401
2449
  "zonos-notification": LocalJSX.ZonosNotification & JSXBase.HTMLAttributes<HTMLZonosNotificationElement>;
2402
2450
  "zonos-payment": LocalJSX.ZonosPayment & JSXBase.HTMLAttributes<HTMLZonosPaymentElement>;
2451
+ "zonos-rest-state": LocalJSX.ZonosRestState & JSXBase.HTMLAttributes<HTMLZonosRestStateElement>;
2403
2452
  "zonos-review": LocalJSX.ZonosReview & JSXBase.HTMLAttributes<HTMLZonosReviewElement>;
2404
2453
  "zonos-select-dialog-header": LocalJSX.ZonosSelectDialogHeader & JSXBase.HTMLAttributes<HTMLZonosSelectDialogHeaderElement>;
2405
2454
  "zonos-shipping": LocalJSX.ZonosShipping & JSXBase.HTMLAttributes<HTMLZonosShippingElement>;
@@ -109,7 +109,6 @@ export interface Zonos {
109
109
  */
110
110
  debug?: boolean;
111
111
  doneInit: boolean;
112
- internationalHideSelector: string;
113
112
  isBigCommerce: boolean;
114
113
  isNpm: boolean;
115
114
  /** Flag if already alerted when preview domain is defined and it's connecting production environment */
@@ -146,7 +145,6 @@ export declare abstract class Zonos {
146
145
  * By default, the package will load from npm
147
146
  */
148
147
  static isNpm: boolean;
149
- static internationalHideSelector: string;
150
148
  static zonosQaUrl: string | null;
151
149
  static version: string;
152
150
  static modeAlerted: boolean;