@liquidcommerce/elements-sdk 2.6.0-beta.13 → 2.6.0-beta.130

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 (304) hide show
  1. package/README.md +102 -2518
  2. package/dist/index.checkout.esm.js +22267 -0
  3. package/dist/index.esm.js +30400 -20620
  4. package/dist/ssr-stub.checkout.esm.js +17 -0
  5. package/dist/ssr-stub.esm.js +281 -0
  6. package/dist/types/auto-initialize/checkout.d.ts +2 -0
  7. package/dist/types/auto-initialize/shared-utils.d.ts +51 -0
  8. package/dist/types/{elements-base-client.d.ts → clients/base.d.ts} +16 -2
  9. package/dist/types/clients/builder.d.ts +3 -0
  10. package/dist/types/clients/checkout.d.ts +6 -0
  11. package/dist/types/clients/helpers.d.ts +8 -0
  12. package/dist/types/clients/main.d.ts +3 -0
  13. package/dist/types/constants/core.constant.d.ts +13 -18
  14. package/dist/types/constants/index.d.ts +1 -0
  15. package/dist/types/constants/prop65.constant.d.ts +8 -0
  16. package/dist/types/core/a11y/announcer.service.d.ts +16 -0
  17. package/dist/types/core/a11y/focus-manager.service.d.ts +21 -0
  18. package/dist/types/core/a11y/focusable.d.ts +5 -0
  19. package/dist/types/core/a11y/glyph-button.d.ts +8 -0
  20. package/dist/types/core/a11y/index.d.ts +6 -0
  21. package/dist/types/core/a11y/required.d.ts +1 -0
  22. package/dist/types/core/a11y/single-select.d.ts +20 -0
  23. package/dist/types/core/api/api-client.service.d.ts +23 -18
  24. package/dist/types/core/api/api-result.d.ts +19 -0
  25. package/dist/types/core/api/auth-client.service.d.ts +37 -13
  26. package/dist/types/core/api/http-client.service.d.ts +0 -8
  27. package/dist/types/core/base-component.service.d.ts +4 -1
  28. package/dist/types/core/client/actions/base-action.service.d.ts +22 -0
  29. package/dist/types/core/client/actions/client-address-action.service.d.ts +18 -0
  30. package/dist/types/core/client/actions/client-analytics-action.service.d.ts +35 -0
  31. package/dist/types/core/client/actions/client-cart-action.service.d.ts +38 -0
  32. package/dist/types/core/client/actions/client-checkout-action.service.d.ts +81 -0
  33. package/dist/types/core/client/actions/client-product-action.service.d.ts +15 -0
  34. package/dist/types/core/client/client-action.service.d.ts +7 -74
  35. package/dist/types/core/client/client-config.service.d.ts +12 -5
  36. package/dist/types/core/debug-panel/debug-panel.styles.d.ts +1 -1
  37. package/dist/types/core/google-tag-manager.service.d.ts +13 -3
  38. package/dist/types/core/logger/logger.service.d.ts +1 -1
  39. package/dist/types/core/pubsub/interfaces/address.interface.d.ts +3 -0
  40. package/dist/types/core/pubsub/interfaces/cart.interface.d.ts +6 -1
  41. package/dist/types/core/pubsub/interfaces/checkout.interface.d.ts +54 -48
  42. package/dist/types/core/pubsub/interfaces/core.interface.d.ts +18 -7
  43. package/dist/types/core/pubsub/pubsub.service.d.ts +1 -2
  44. package/dist/types/core/singleton-manager.service.d.ts +12 -8
  45. package/dist/types/core/store/interfaces/cart.interface.d.ts +2 -3
  46. package/dist/types/core/store/interfaces/checkout.interface.d.ts +39 -107
  47. package/dist/types/core/store/interfaces/core.interface.d.ts +12 -2
  48. package/dist/types/core/store/interfaces/metadata.interface.d.ts +11 -0
  49. package/dist/types/core/store/interfaces/product-list.interface.d.ts +30 -0
  50. package/dist/types/core/store/interfaces/product.interface.d.ts +1 -0
  51. package/dist/types/core/store/store.constant.d.ts +5 -0
  52. package/dist/types/core/store/store.service.d.ts +1 -0
  53. package/dist/types/core/telemetry/telemetry.service.d.ts +1 -0
  54. package/dist/types/enums/core.enum.d.ts +51 -2
  55. package/dist/types/enums/index.d.ts +0 -1
  56. package/dist/types/index.checkout.d.ts +11 -0
  57. package/dist/types/index.checkout.umd.d.ts +4 -0
  58. package/dist/types/index.d.ts +9 -3
  59. package/dist/types/interfaces/analytics.interface.d.ts +41 -0
  60. package/dist/types/interfaces/api/cart.interface.d.ts +12 -7
  61. package/dist/types/interfaces/api/checkout.interface.d.ts +275 -0
  62. package/dist/types/interfaces/api/delivery.interface.d.ts +24 -0
  63. package/dist/types/interfaces/api/index.d.ts +6 -0
  64. package/dist/types/interfaces/api/product-list.interface.d.ts +15 -6
  65. package/dist/types/interfaces/api/product.interface.d.ts +10 -4
  66. package/dist/types/interfaces/client.interface.d.ts +79 -0
  67. package/dist/types/interfaces/component.interface.d.ts +7 -0
  68. package/dist/types/interfaces/config.interface.d.ts +45 -0
  69. package/dist/types/interfaces/configs/address.interface.d.ts +1 -1
  70. package/dist/types/interfaces/configs/cart.interface.d.ts +2 -1
  71. package/dist/types/interfaces/configs/checkout.interface.d.ts +3 -1
  72. package/dist/types/interfaces/configs/global.interface.d.ts +9 -3
  73. package/dist/types/interfaces/configs/index.d.ts +1 -0
  74. package/dist/types/interfaces/configs/product-list.interface.d.ts +49 -0
  75. package/dist/types/interfaces/configs/product.interface.d.ts +7 -1
  76. package/dist/types/interfaces/injection.interface.d.ts +56 -0
  77. package/dist/types/modules/address/address-display.component.d.ts +3 -1
  78. package/dist/types/modules/address/address-input.component.d.ts +11 -1
  79. package/dist/types/modules/address/address.command.d.ts +3 -2
  80. package/dist/types/modules/address/styles/register-styles.d.ts +1 -0
  81. package/dist/types/modules/cart/cart.commands.d.ts +11 -5
  82. package/dist/types/modules/cart/components/cart-body.component.d.ts +1 -0
  83. package/dist/types/modules/cart/components/cart-fulfillment.component.d.ts +1 -1
  84. package/dist/types/modules/cart/components/cart-item-quantity-price.component.d.ts +5 -0
  85. package/dist/types/modules/cart/components/cart-item.component.d.ts +6 -0
  86. package/dist/types/modules/cart/styles/register-styles.d.ts +1 -0
  87. package/dist/types/modules/checkout/checkout.commands.d.ts +128 -12
  88. package/dist/types/modules/checkout/checkout.component.d.ts +7 -1
  89. package/dist/types/modules/checkout/components/checkout-billing.component.d.ts +5 -2
  90. package/dist/types/modules/checkout/components/checkout-buyer.component.d.ts +1 -0
  91. package/dist/types/modules/checkout/components/checkout-completed.component.d.ts +7 -0
  92. package/dist/types/modules/checkout/components/checkout-deliver-to.component.d.ts +1 -0
  93. package/dist/types/modules/checkout/components/checkout-delivery-method.component.d.ts +22 -0
  94. package/dist/types/modules/checkout/components/checkout-delivery-scheduling.component.d.ts +51 -0
  95. package/dist/types/modules/checkout/components/checkout-express-checkout.component.d.ts +63 -0
  96. package/dist/types/modules/checkout/components/checkout-express-completion.component.d.ts +21 -0
  97. package/dist/types/modules/checkout/components/checkout-header.component.d.ts +1 -0
  98. package/dist/types/modules/checkout/components/checkout-item-quantity.component.d.ts +4 -0
  99. package/dist/types/modules/checkout/components/checkout-item.component.d.ts +2 -0
  100. package/dist/types/modules/checkout/components/checkout-items.component.d.ts +4 -3
  101. package/dist/types/modules/checkout/components/checkout-order-summary.component.d.ts +3 -0
  102. package/dist/types/modules/checkout/components/checkout-payment.component.d.ts +8 -1
  103. package/dist/types/modules/checkout/components/checkout-place-order-button.component.d.ts +1 -5
  104. package/dist/types/modules/checkout/components/checkout-presale-countdown.component.d.ts +15 -1
  105. package/dist/types/modules/checkout/components/checkout-presale-expired.component.d.ts +7 -1
  106. package/dist/types/modules/checkout/components/checkout-prop65-warning.component.d.ts +8 -0
  107. package/dist/types/modules/checkout/components/checkout-send-as-gift.component.d.ts +3 -0
  108. package/dist/types/modules/checkout/components/checkout-stripe-form.component.d.ts +7 -3
  109. package/dist/types/modules/checkout/components/checkout-stripe-handler.component.d.ts +4 -0
  110. package/dist/types/modules/checkout/components/checkout-tips.component.d.ts +4 -2
  111. package/dist/types/modules/checkout/components/index.d.ts +5 -0
  112. package/dist/types/modules/checkout/components/promo-pc-gc.component.d.ts +0 -2
  113. package/dist/types/modules/checkout/components/required-fields-legend.d.ts +1 -0
  114. package/dist/types/modules/checkout/constant.d.ts +15 -0
  115. package/dist/types/modules/checkout/customer-prefill.d.ts +5 -0
  116. package/dist/types/modules/checkout/express-wallet.d.ts +12 -0
  117. package/dist/types/modules/checkout/payment-session-error.d.ts +4 -0
  118. package/dist/types/modules/checkout/stripe-js.d.ts +2 -0
  119. package/dist/types/modules/checkout/styles/delivery-method.style.d.ts +1 -0
  120. package/dist/types/modules/checkout/styles/express-checkout.style.d.ts +1 -0
  121. package/dist/types/modules/checkout/styles/express-completion.style.d.ts +1 -0
  122. package/dist/types/modules/checkout/styles/register-styles.d.ts +1 -0
  123. package/dist/types/modules/product/components/components.d.ts +26 -2
  124. package/dist/types/modules/product/components/index.d.ts +1 -0
  125. package/dist/types/modules/product/components/product-add-to-cart-section.component.d.ts +8 -1
  126. package/dist/types/modules/product/components/product-delivery-estimate.component.d.ts +11 -0
  127. package/dist/types/modules/product/components/product-description.component.d.ts +1 -0
  128. package/dist/types/modules/product/components/product-drawer.component.d.ts +6 -0
  129. package/dist/types/modules/product/components/product-image-carousel.component.d.ts +5 -0
  130. package/dist/types/modules/product/components/product-options.component.d.ts +2 -1
  131. package/dist/types/modules/product/components/product-prop65-warning.d.ts +1 -0
  132. package/dist/types/modules/product/components/product-retailers-carousel.component.d.ts +6 -0
  133. package/dist/types/modules/product/components/product-retailers-popup-list.component.d.ts +12 -2
  134. package/dist/types/modules/product/components/product-retailers-popup.component.d.ts +1 -0
  135. package/dist/types/modules/product/components/product-retailers.component.d.ts +1 -0
  136. package/dist/types/modules/product/product.commands.d.ts +5 -5
  137. package/dist/types/modules/product/product.component.d.ts +3 -0
  138. package/dist/types/modules/product/styles/prop65-warning.style.d.ts +1 -0
  139. package/dist/types/modules/product/styles/register-styles.d.ts +1 -0
  140. package/dist/types/modules/product-list/components/card-components/index.d.ts +6 -0
  141. package/dist/types/modules/product-list/components/card-components/product-badge.d.ts +9 -0
  142. package/dist/types/modules/product-list/components/card-components/product-button.d.ts +11 -0
  143. package/dist/types/modules/product-list/components/card-components/product-fulfillment-text.d.ts +2 -0
  144. package/dist/types/modules/product-list/components/card-components/product-price-and-personalization.d.ts +14 -0
  145. package/dist/types/modules/product-list/components/card-components/product-quantity-selector.d.ts +11 -0
  146. package/dist/types/modules/product-list/components/card-components/product-sizes-list.d.ts +14 -0
  147. package/dist/types/modules/product-list/components/filter-components/index.d.ts +7 -0
  148. package/dist/types/modules/product-list/components/filter-components/product-list-apply-filter-button.d.ts +1 -0
  149. package/dist/types/modules/product-list/components/{product-list-filters-subcomponents/product-list-checkbox-filter.components.d.ts → filter-components/product-list-checkbox-filter.d.ts} +1 -0
  150. package/dist/types/modules/product-list/components/filter-components/product-list-chip.d.ts +5 -0
  151. package/dist/types/modules/product-list/components/filter-components/product-list-filters-chips.d.ts +13 -0
  152. package/dist/types/modules/product-list/components/filter-components/product-list-fulfillment-filter.d.ts +15 -0
  153. package/dist/types/modules/product-list/components/{product-list-filters-subcomponents/product-list-price-filter.components.d.ts → filter-components/product-list-price-filter.d.ts} +2 -1
  154. package/dist/types/modules/product-list/components/filter-components/product-list-toggle-filters.d.ts +7 -0
  155. package/dist/types/modules/product-list/components/index.d.ts +6 -2
  156. package/dist/types/modules/product-list/components/product-list-card-loading.component.d.ts +3 -1
  157. package/dist/types/modules/product-list/components/product-list-card.component.d.ts +39 -31
  158. package/dist/types/modules/product-list/components/product-list-engraving.component.d.ts +12 -0
  159. package/dist/types/modules/product-list/components/product-list-filters.component.d.ts +58 -36
  160. package/dist/types/modules/product-list/components/product-list-product-engraving-lines.component.d.ts +22 -0
  161. package/dist/types/modules/product-list/components/product-list-product-pre-cart.component.d.ts +54 -0
  162. package/dist/types/modules/product-list/components/product-list-search.component.d.ts +25 -0
  163. package/dist/types/modules/product-list/product-list-filter.registry.d.ts +42 -0
  164. package/dist/types/modules/product-list/product-list-filter.utils.d.ts +7 -0
  165. package/dist/types/modules/product-list/product-list-order.utils.d.ts +3 -0
  166. package/dist/types/modules/product-list/product-list-query-params.utils.d.ts +3 -0
  167. package/dist/types/modules/product-list/product-list.commands.d.ts +27 -7
  168. package/dist/types/modules/product-list/product-list.component.d.ts +23 -47
  169. package/dist/types/modules/product-list/product-list.constants.d.ts +38 -0
  170. package/dist/types/modules/product-list/product-list.interface.d.ts +17 -28
  171. package/dist/types/modules/product-list/styles/product-list-card.style.d.ts +1 -0
  172. package/dist/types/modules/product-list/styles/product-list-filters.style.d.ts +1 -0
  173. package/dist/types/modules/product-list/styles/register-styles.d.ts +1 -0
  174. package/dist/types/modules/theme-provider/constants/component-groupings.d.ts +1 -0
  175. package/dist/types/modules/theme-provider/constants/css-variable-mappings.d.ts +1 -1
  176. package/dist/types/modules/theme-provider/services/style-registry.service.d.ts +16 -0
  177. package/dist/types/modules/theme-provider/services/stylesheet-generator.service.d.ts +0 -1
  178. package/dist/types/modules/theme-provider/styles/register-styles.d.ts +1 -0
  179. package/dist/types/modules/theme-provider/theme-provider.service.d.ts +2 -2
  180. package/dist/types/modules/ui-components/alert/alert.component.d.ts +10 -10
  181. package/dist/types/modules/ui-components/buttons/buttons-open-cart.component.d.ts +5 -0
  182. package/dist/types/modules/ui-components/drawer/drawer.component.d.ts +15 -0
  183. package/dist/types/modules/ui-components/engraving/engraving-form.component.d.ts +9 -1
  184. package/dist/types/modules/ui-components/engraving/engraving-view.component.d.ts +7 -1
  185. package/dist/types/modules/ui-components/input/index.d.ts +0 -1
  186. package/dist/types/modules/ui-components/input/input.component.d.ts +15 -2
  187. package/dist/types/modules/ui-components/lce-element/lce-element.component.d.ts +2 -1
  188. package/dist/types/modules/ui-components/promo-code-ticker/promo-code-ticker.component.d.ts +1 -1
  189. package/dist/types/modules/ui-components/ui.commands.d.ts +7 -1
  190. package/dist/types/ssr/stub.checkout.d.ts +8 -0
  191. package/dist/types/ssr/stub.d.ts +12 -0
  192. package/dist/types/static/icon/arrow-right.icon.d.ts +1 -1
  193. package/dist/types/static/icon/bag.icon.d.ts +1 -1
  194. package/dist/types/static/icon/check.icon.d.ts +2 -0
  195. package/dist/types/static/icon/checkbox.icon.d.ts +1 -1
  196. package/dist/types/static/icon/chevron-down.icon.d.ts +1 -1
  197. package/dist/types/static/icon/chevron-left.icon.d.ts +1 -1
  198. package/dist/types/static/icon/chevron-up.icon.d.ts +1 -1
  199. package/dist/types/static/icon/close.icon.d.ts +1 -1
  200. package/dist/types/static/icon/error-info.icon.d.ts +1 -1
  201. package/dist/types/static/icon/filter.icon.d.ts +1 -1
  202. package/dist/types/static/icon/icon.a11y.d.ts +1 -0
  203. package/dist/types/static/icon/icon.types.d.ts +1 -0
  204. package/dist/types/static/icon/index.d.ts +2 -0
  205. package/dist/types/static/icon/info.icon.d.ts +1 -1
  206. package/dist/types/static/icon/loading-spinner.icon.d.ts +1 -1
  207. package/dist/types/static/icon/search.icon.d.ts +1 -1
  208. package/dist/types/static/icon/success.icon.d.ts +1 -1
  209. package/dist/types/static/icon/trash.icon.d.ts +1 -1
  210. package/dist/types/static/icon/warning.icon.d.ts +1 -1
  211. package/dist/types/utils/delivery-scheduling.d.ts +43 -0
  212. package/dist/types/utils/dom-compat.d.ts +2 -0
  213. package/dist/types/utils/format.d.ts +9 -14
  214. package/dist/types/utils/image-bg-removal.d.ts +3 -0
  215. package/dist/types/utils/places-session-token.d.ts +1 -0
  216. package/dist/types/utils/product-selection.d.ts +16 -0
  217. package/dist/types/utils/product.d.ts +21 -0
  218. package/dist/types/utils/timezone.d.ts +6 -0
  219. package/docs/v1/README.md +214 -0
  220. package/docs/v1/api/actions/address-actions.md +290 -0
  221. package/docs/v1/api/actions/analytics-actions.md +326 -0
  222. package/docs/v1/api/actions/cart-actions.md +364 -0
  223. package/docs/v1/api/actions/checkout-actions.md +629 -0
  224. package/docs/v1/api/actions/product-actions.md +204 -0
  225. package/docs/v1/api/client.md +671 -0
  226. package/docs/v1/api/configuration.md +587 -0
  227. package/docs/v1/api/injection-methods.md +331 -0
  228. package/docs/v1/api/typescript-types.md +610 -0
  229. package/docs/v1/api/ui-helpers.md +200 -0
  230. package/docs/v1/examples/advanced-patterns.md +199 -0
  231. package/docs/v1/examples/checkout-flow.md +90 -0
  232. package/docs/v1/examples/custom-theming.md +76 -0
  233. package/docs/v1/examples/multi-product-page.md +90 -0
  234. package/docs/v1/examples/simple-product-page.md +89 -0
  235. package/docs/v1/getting-started/concepts.md +521 -0
  236. package/docs/v1/getting-started/installation.md +351 -0
  237. package/docs/v1/getting-started/quick-start.md +410 -0
  238. package/docs/v1/guides/accessibility.md +295 -0
  239. package/docs/v1/guides/address-component.md +441 -0
  240. package/docs/v1/guides/best-practices.md +365 -0
  241. package/docs/v1/guides/cart-component.md +800 -0
  242. package/docs/v1/guides/checkout-component.md +916 -0
  243. package/docs/v1/guides/events.md +1061 -0
  244. package/docs/v1/guides/product-component.md +761 -0
  245. package/docs/v1/guides/product-list-component.md +730 -0
  246. package/docs/v1/guides/theming.md +243 -0
  247. package/docs/v1/integration/angular.md +39 -0
  248. package/docs/v1/integration/laravel.md +41 -0
  249. package/docs/v1/integration/nextjs.md +69 -0
  250. package/docs/v1/integration/proxy-setup.md +106 -0
  251. package/docs/v1/integration/react.md +64 -0
  252. package/docs/v1/integration/vanilla-js.md +84 -0
  253. package/docs/v1/integration/vue.md +58 -0
  254. package/docs/v1/reference/analytics.md +176 -0
  255. package/docs/v1/reference/browser-support.md +47 -0
  256. package/docs/v1/reference/error-handling.md +83 -0
  257. package/docs/v1/reference/performance.md +52 -0
  258. package/docs/v1/reference/telemetry.md +85 -0
  259. package/docs/v1/reference/troubleshooting.md +135 -0
  260. package/package.json +75 -45
  261. package/dist/types/elements-builder-client.d.ts +0 -2
  262. package/dist/types/elements-client-helper.d.ts +0 -4
  263. package/dist/types/elements-client.d.ts +0 -2
  264. package/dist/types/enums/cloud.enum.d.ts +0 -97
  265. package/dist/types/interfaces/cloud/checkout.interface.d.ts +0 -218
  266. package/dist/types/interfaces/cloud/core.interface.d.ts +0 -22
  267. package/dist/types/interfaces/cloud/index.d.ts +0 -3
  268. package/dist/types/interfaces/cloud/retailer.interface.d.ts +0 -67
  269. package/dist/types/interfaces/cloud/user.interface.d.ts +0 -100
  270. package/dist/types/interfaces/core.interface.d.ts +0 -111
  271. package/dist/types/modules/checkout/components/checkout.type.d.ts +0 -4
  272. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/index.d.ts +0 -6
  273. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-apply-filter-button.component.d.ts +0 -1
  274. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-delivery-options-filter.components.d.ts +0 -16
  275. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-search.component.d.ts +0 -16
  276. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-toggle-filters.components.d.ts +0 -18
  277. package/dist/types/modules/theme-provider/styles/address/index.d.ts +0 -1
  278. package/dist/types/modules/theme-provider/styles/cart/index.d.ts +0 -1
  279. package/dist/types/modules/theme-provider/styles/checkout/index.d.ts +0 -1
  280. package/dist/types/modules/theme-provider/styles/product/index.d.ts +0 -3
  281. package/dist/types/modules/theme-provider/styles/product-list/index.d.ts +0 -1
  282. package/dist/types/modules/theme-provider/styles/ui/index.d.ts +0 -3
  283. package/dist/types/modules/ui-components/input/birthdate-input.component.d.ts +0 -53
  284. package/dist/types/utils/helper.d.ts +0 -28
  285. package/docs/ACTIONS.md +0 -1300
  286. package/docs/BROWSER_SUPPORT.md +0 -279
  287. package/docs/CONFIGURATION.md +0 -853
  288. package/docs/DOCUMENTATION_INDEX.md +0 -311
  289. package/docs/EVENTS.md +0 -798
  290. package/docs/PROXY.md +0 -228
  291. package/docs/THEMING.md +0 -592
  292. package/docs/TROUBLESHOOTING.md +0 -793
  293. package/umd/elements.js +0 -1
  294. /package/dist/types/{auto-initialize.d.ts → auto-initialize/main.d.ts} +0 -0
  295. /package/dist/types/modules/{theme-provider/styles/address → address/styles}/address.style.d.ts +0 -0
  296. /package/dist/types/modules/{theme-provider/styles/cart → cart/styles}/cart.style.d.ts +0 -0
  297. /package/dist/types/modules/{theme-provider/styles/checkout → checkout/styles}/checkout.style.d.ts +0 -0
  298. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/image-carousel.style.d.ts +0 -0
  299. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/product.style.d.ts +0 -0
  300. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/retailers.style.d.ts +0 -0
  301. /package/dist/types/modules/{theme-provider/styles/product-list → product-list/styles}/product-list.style.d.ts +0 -0
  302. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/drawer.style.d.ts +0 -0
  303. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/loading.style.d.ts +0 -0
  304. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/promo-code-ticker.style.d.ts +0 -0
@@ -1,23 +1,94 @@
1
1
  import { BaseCommand } from '@/core/command/base-command.service';
2
- import type { ICheckoutBillingStore, ICheckoutCustomerStore, ICheckoutGiftRecipientStore, ICheckoutPaymentMethodStore } from '@/core/store/interfaces/checkout.interface';
2
+ import type { ICheckoutDetailsEventData } from '@/core/pubsub/interfaces/checkout.interface';
3
+ import type { ICheckoutPaymentMethodStore } from '@/core/store/interfaces/checkout.interface';
4
+ import type { FulfillmentType } from '@/enums';
5
+ import type { CheckoutPaymentSessionType, ICheckoutBilling, ICheckoutCustomer, ICheckoutGiftRecipient, ICheckoutMarketingPreferences, ICheckoutPaymentSession, ICheckoutPrepare } from '@/interfaces/api/checkout.interface';
6
+ import type { DeliverySlot } from '@/interfaces/api/delivery.interface';
7
+ import type { AddItemParams } from '@/modules/cart/cart.commands';
8
+ import type { PresaleExpiredReason } from '@/modules/checkout/components';
9
+ import { type IExpressWalletBillingDetails } from '@/modules/checkout/express-wallet';
10
+ import type { StripeJsLoadFailure } from '@/modules/checkout/stripe-js';
3
11
  export declare class CheckoutCommands extends BaseCommand {
4
12
  private readonly uiCommands;
5
- private readonly commonCommands;
13
+ private lastLoadParams;
14
+ private paymentGeneration;
15
+ private savedMarketingPreferences;
16
+ private savedMarketingRevision;
17
+ private marketingNeedsPrepare;
18
+ private completingCheckout;
19
+ private savedMarketingError;
20
+ private marketingEdits;
21
+ private marketingQueue;
22
+ private readonly marketingFields;
23
+ private customerEditRevision;
24
+ private customerEditedGeneration;
25
+ private confirmedPayment;
26
+ private offeredDeliverySlots;
27
+ private offeredDeliveryAddress;
28
+ private savingDeliverySelection;
29
+ private expressHandoff;
30
+ private get requiresBirthDate();
31
+ assertPaymentReady(): void;
32
+ private assertDeliveryScheduleReady;
33
+ private lapsedDeliveryWindowIds;
34
+ private clearLapsedDeliveryWindows;
35
+ private offeredSlots;
36
+ private findOfferedDeliverySlot;
37
+ loadDeliverySlots(fulfillmentId: string): Promise<DeliverySlot[]>;
38
+ chooseDeliverySlot(fulfillmentId: string, slotId: string | null): Promise<void>;
39
+ private completionError;
40
+ private dropDeliveryScheduling;
41
+ private forgetDeliveryWindow;
42
+ private assertDeliverySlotChoosable;
43
+ private responseFulfillments;
44
+ private findResponseFulfillment;
45
+ private withDeliverySlotDetails;
46
+ private responseFulfillmentIds;
47
+ private expiredDeliveryMarksWith;
48
+ private pruneExpiredDeliveryWindows;
49
+ private expireDeliveryWindows;
50
+ private prepareWithWindowRecovery;
51
+ retryLoadCheckout(): Promise<void>;
52
+ private paymentSessionRequest;
6
53
  constructor();
7
54
  static getInstance(): CheckoutCommands;
8
- loadCheckout(cartIdParam?: string): Promise<void>;
55
+ addPresaleItem(params: AddItemParams): Promise<void>;
56
+ loadCheckout(params: {
57
+ checkoutId?: string;
58
+ cartId?: string;
59
+ isForPresale?: boolean;
60
+ }): Promise<void>;
61
+ private showAlreadyCompletedCheckout;
62
+ loadCheckoutFromResponse(response: ICheckoutPrepare): void;
9
63
  toggleIsGift(active?: boolean): Promise<void>;
10
64
  toggleBillingSameAsShipping(active?: boolean): Promise<void>;
11
- toggleMarketingPreferences(fieldName: 'canEmail' | 'canSms', active?: boolean): Promise<void>;
65
+ private loadedMarketingState;
66
+ private defaultMarketingPreferences;
67
+ private marketingForPrepare;
68
+ private confirmedSavedMarketing;
69
+ private queueMarketing;
70
+ setSavedMarketingPreferences(preferences: Partial<ICheckoutMarketingPreferences>): Promise<void>;
71
+ clearSavedMarketingPreferences(): void;
72
+ private recordSavedMarketing;
73
+ private assertMarketingRestored;
74
+ private canApplySavedMarketing;
75
+ private applySavedMarketingPreferences;
76
+ toggleMarketingPreferences(fieldName: 'canEmail' | 'canSms', active?: boolean): Promise<boolean>;
12
77
  getPaymentSession(): Promise<void>;
13
- confirmPaymentSession(confirmationTokenId: string, setupIntentId: string): Promise<ICheckoutPaymentMethodStore | null>;
78
+ reportPaymentFormFailure(reason: StripeJsLoadFailure, cause?: unknown): void;
79
+ getExpressPaymentSession(): Promise<ICheckoutPaymentSession | null>;
80
+ private requestPaymentSession;
81
+ confirmPaymentSession(confirmationTokenId: string, setupIntentId: string, sessionType?: CheckoutPaymentSessionType): Promise<ICheckoutPaymentMethodStore>;
14
82
  applyPromoCode(code: string): Promise<void>;
15
83
  removePromoCode(): Promise<void>;
16
84
  clearPromoCodeError(): Promise<void>;
17
85
  applyGiftCard(code: string): Promise<void>;
18
86
  removeGiftCard(code: string): Promise<void>;
19
87
  clearGiftCardError(): Promise<void>;
20
- openPresaleExpiredDrawer(): void;
88
+ showPresaleExpired(reason?: PresaleExpiredReason): void;
89
+ openCheckout(): void;
90
+ getReturnUrl(): string | null;
91
+ private resolveCheckoutPageUrl;
21
92
  rerenderCheckout(): void;
22
93
  updateCheckoutItemQuantity(itemId: string, delta: number): Promise<void>;
23
94
  removeItemEngraving(productItemId: string): Promise<void>;
@@ -26,28 +97,73 @@ export declare class CheckoutCommands extends BaseCommand {
26
97
  updateFulfillmentTip(fulfillmentId: string, tipAmount: number): Promise<void>;
27
98
  removeFulfillmentTip(fulfillmentId: string): Promise<void>;
28
99
  clearCheckoutError(): Promise<void>;
100
+ markCustomerFormEdited(): void;
101
+ canPrefillCustomerForm(): boolean;
102
+ savePrefilledCustomerInfo(): Promise<void>;
29
103
  editCustomerForm(): Promise<void>;
30
104
  saveCustomerForm({ shippingAddressTwo, deliveryInstructions, customerData, }: {
31
- customerData: ICheckoutCustomerStore;
105
+ customerData: ICheckoutCustomer;
32
106
  shippingAddressTwo: string;
33
107
  deliveryInstructions: string;
34
108
  }): Promise<void>;
35
109
  editGiftRecipientForm(): Promise<void>;
36
- saveGiftRecipientForm({ shippingAddressTwo, deliveryInstructions, ...giftRecipientData }: ICheckoutGiftRecipientStore & {
110
+ saveGiftRecipientForm({ shippingAddressTwo, deliveryInstructions, ...giftRecipientData }: ICheckoutGiftRecipient & {
37
111
  shippingAddressTwo: string;
38
112
  deliveryInstructions: string;
39
113
  }): Promise<void>;
40
114
  editPaymentForm(): Promise<void>;
115
+ private resetCheckoutPreservingInjected;
116
+ private markInjectedPaymentReady;
41
117
  savePaymentForm({ billingFormData, paymentSession, }: {
42
- billingFormData?: ICheckoutBillingStore;
118
+ billingFormData?: ICheckoutBilling;
43
119
  paymentSession?: {
44
120
  confirmationTokenId: string;
45
121
  setupIntentId: string;
122
+ sessionType?: CheckoutPaymentSessionType;
46
123
  };
47
124
  }): Promise<void>;
48
- checkoutComplete(): Promise<void>;
125
+ private prepareMarketingForCompletion;
126
+ beginExpressCompletion({ wallet, confirmationTokenId, intentId, approvedTotal, billingDetails, }: {
127
+ wallet: string;
128
+ confirmationTokenId: string;
129
+ intentId: string;
130
+ approvedTotal: number;
131
+ billingDetails: IExpressWalletBillingDetails | undefined;
132
+ }): Promise<void>;
133
+ private prepareExpressPayment;
134
+ completeExpressOrder(birthDate?: string): Promise<void>;
135
+ cancelExpressCompletion(): void;
136
+ private saveExpressCustomer;
137
+ private assertApprovedTotal;
138
+ private setExpressStatus;
139
+ private failExpressCompletion;
140
+ private writeExpress;
141
+ checkoutComplete(options?: {
142
+ expressPaymentIntentId?: string;
143
+ }): Promise<void>;
49
144
  private updateStoreFromCheckoutResponse;
50
- private partialLoadCheckout;
145
+ private getDeliveryMethodLocation;
146
+ loadDeliveryMethods(): Promise<void>;
147
+ toggleDeliveryMethod(): void;
148
+ switchDeliveryMethod(fulfillmentType: FulfillmentType): Promise<void>;
149
+ private watchForReturnFromAddress;
150
+ relocateCheckout(): Promise<void>;
151
+ private requestFulfillment;
152
+ private deliveryMethodCarryOver;
153
+ private refreshPaymentAfterDeliveryMethodSwitch;
154
+ changeDeliveryLocation(trigger?: HTMLElement | null): void;
155
+ private syncFromItemUpdate;
156
+ private syncCheckoutState;
157
+ private refreshCheckout;
51
158
  private dataForCheckoutPrepare;
52
- private buildCheckoutItemStore;
159
+ private normalizeForApi;
160
+ getDetails(): ICheckoutDetailsEventData;
161
+ trackBeginCheckout(): void;
162
+ trackPresaleCheckoutStart(): void;
163
+ reportExpressCheckoutStarted({ wallet, reportBeginCheckout }: {
164
+ wallet: string;
165
+ reportBeginCheckout: boolean;
166
+ }): void;
167
+ private checkoutItemsForAnalytics;
168
+ private toAnalyticsItem;
53
169
  }
@@ -1,10 +1,16 @@
1
- import { BaseComponent } from '@/core/base-component.service';
1
+ import { BaseComponent, type IOnStoreChanged } from '@/core/base-component.service';
2
2
  import type { ICheckoutComponent } from '@/interfaces/configs';
3
3
  export interface ICheckoutComponentParams {
4
4
  checkoutId: string;
5
5
  isIndependentComponent: boolean;
6
+ hideHeader: boolean;
6
7
  }
7
8
  export declare class CheckoutComponent extends BaseComponent<ICheckoutComponentParams, ICheckoutComponent> {
8
9
  constructor();
10
+ onStoreWatch(_changes: IOnStoreChanged[]): void;
11
+ private updateInitializationState;
12
+ afterRender(): void;
9
13
  protected template(): HTMLElement[];
14
+ private createAlerts;
15
+ private createHeader;
10
16
  }
@@ -1,13 +1,16 @@
1
1
  import { BaseComponent } from '@/core/base-component.service';
2
- import type { ICheckoutBillingStore } from '@/core/store/interfaces/checkout.interface';
2
+ import type { ICheckoutBilling } from '@/interfaces/api/checkout.interface';
3
3
  import type { ICheckoutComponent } from '@/interfaces/configs';
4
4
  export interface ICheckoutBillingComponentParams {
5
- isFormValid: (isValid: boolean, data: ICheckoutBillingStore) => void;
5
+ isFormValid: (isValid: boolean, data: ICheckoutBilling) => void;
6
6
  }
7
7
  export declare class CheckoutBillingComponent extends BaseComponent<ICheckoutBillingComponentParams, ICheckoutComponent> {
8
8
  private billingData;
9
9
  get hostClasses(): string[];
10
10
  constructor();
11
+ private pendingToggleFocus;
12
+ protected afterRender(): void;
13
+ private readonly onBillingSameAsShippingToggle;
11
14
  private billingSameAsShippingToggle;
12
15
  private updateSaveButtonState;
13
16
  protected template(): HTMLElement[];
@@ -7,6 +7,7 @@ export declare class CheckoutBuyer extends BaseComponent<null, ICheckoutComponen
7
7
  get hostClasses(): string[];
8
8
  constructor();
9
9
  onStoreWatch(changes: IOnStoreChanged[]): void;
10
+ private get requiresBirthDate();
10
11
  private updateSaveButtonState;
11
12
  protected template(): HTMLElement[];
12
13
  }
@@ -1,13 +1,20 @@
1
1
  import { BaseComponent } from '@/core/base-component.service';
2
2
  import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ import type { PlacedDeliveryWindow } from '@/utils/delivery-scheduling';
3
4
  export interface ICheckoutCompletedComponentParams {
4
5
  orderNumber: string;
5
6
  orderTotal: number;
6
7
  cardLast4: string;
7
8
  customerEmail: string;
8
9
  giftRecipientEmail: string | null;
10
+ checkoutToken?: string;
11
+ cartId?: string;
12
+ isCompleted?: boolean;
13
+ deliveryWindows?: PlacedDeliveryWindow[];
9
14
  }
10
15
  export declare class CheckoutCompletedComponent extends BaseComponent<ICheckoutCompletedComponentParams, ICheckoutComponent> {
11
16
  get hostClasses(): string[];
17
+ private hasAnnouncedCompletion;
18
+ protected afterRender(): void;
12
19
  protected template(): HTMLElement[];
13
20
  }
@@ -8,6 +8,7 @@ export declare class CheckoutDeliverToComponent extends BaseComponent<null, IChe
8
8
  get hostClasses(): string[];
9
9
  constructor();
10
10
  onStoreWatch(changes: IOnStoreChanged[]): void;
11
+ private get requiresBirthDate();
11
12
  private updateSaveButtonState;
12
13
  protected template(): HTMLElement[];
13
14
  }
@@ -0,0 +1,22 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ export declare class CheckoutDeliveryMethodComponent extends BaseComponent<null, ICheckoutComponent> {
4
+ get hostClasses(): string[];
5
+ constructor();
6
+ protected connected(): void;
7
+ onStoreWatch(): void;
8
+ private hasOrderMoved;
9
+ private isSameAddress;
10
+ protected afterRender(): void;
11
+ protected template(): HTMLElement[];
12
+ private createHeader;
13
+ private createSummaryRow;
14
+ private createOptions;
15
+ private createOptionCard;
16
+ private createOptionTitleRow;
17
+ private describeOption;
18
+ private describeUnavailable;
19
+ private describeForScreenReader;
20
+ private createChangeLocationButton;
21
+ private formatFee;
22
+ }
@@ -0,0 +1,51 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ export declare class CheckoutDeliverySchedulingComponent extends BaseComponent<null, ICheckoutComponent> {
4
+ private draft;
5
+ private dialog;
6
+ private paintScheduled;
7
+ private error;
8
+ private pendingFocus;
9
+ private restoreTrigger;
10
+ private releaseFocusTrap;
11
+ private readonly focusManager;
12
+ private handledExpired;
13
+ private loadToken;
14
+ private announcedNotice;
15
+ private timesScroll;
16
+ constructor();
17
+ private get busy();
18
+ private get expiredIds();
19
+ protected afterRender(): void;
20
+ protected onStoreChanged(): boolean;
21
+ private update;
22
+ private paint;
23
+ private showDialog;
24
+ private settle;
25
+ private keepTimeInView;
26
+ protected disconnected(): void;
27
+ private endPicker;
28
+ private draftFulfillment;
29
+ private openForNewlyExpired;
30
+ private dayKey;
31
+ private todayKey;
32
+ private draftScheduling;
33
+ private openPicker;
34
+ private loadSlots;
35
+ private whenIdle;
36
+ private closePicker;
37
+ private saveDraft;
38
+ private createGroup;
39
+ private get schedulingAllowed();
40
+ private summaryText;
41
+ private radio;
42
+ private createDates;
43
+ private createTimes;
44
+ private createNotice;
45
+ private createLoading;
46
+ private createDialogShell;
47
+ private fillDialog;
48
+ private captureViewState;
49
+ private createRows;
50
+ protected template(): HTMLElement[];
51
+ }
@@ -0,0 +1,63 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ export interface ICheckoutExpressCheckoutComponentParams {
4
+ variant?: 'section' | 'buttons';
5
+ isIndependentComponent?: boolean;
6
+ }
7
+ export declare class CheckoutExpressCheckoutComponent extends BaseComponent<ICheckoutExpressCheckoutComponentParams, ICheckoutComponent> {
8
+ private section;
9
+ private walletHost;
10
+ private completionElement;
11
+ private beginCheckoutReported;
12
+ private stripe;
13
+ private stripeElements;
14
+ private expressElement;
15
+ private sessionSecret;
16
+ private expressSession;
17
+ private sessionAmount;
18
+ private isMounting;
19
+ private isProcessing;
20
+ private hasAvailableWallets;
21
+ private availableWallets;
22
+ private hasSettledAvailability;
23
+ private scheduleReadyAtMount;
24
+ private lastPublishedAvailability;
25
+ get hostClasses(): string[];
26
+ constructor();
27
+ protected onStoreWatch(): void;
28
+ private syncCompletionView;
29
+ private get isCompletingExpress();
30
+ private get isButtonsOnly();
31
+ private get isReadyForPayment();
32
+ private get isDeliveryScheduleReady();
33
+ private get isGiftOrder();
34
+ protected template(): HTMLElement[];
35
+ protected afterRender(): void;
36
+ private createDividerLine;
37
+ private updateVisibility;
38
+ private publishAvailability;
39
+ private reportUnavailable;
40
+ private mountExpressElement;
41
+ private ensurePaymentSession;
42
+ private createWalletHost;
43
+ private findRootComponent;
44
+ private get orderTotal();
45
+ private buildElementsOptions;
46
+ private readIntentTerms;
47
+ private normaliseFutureUsage;
48
+ private buildAppearance;
49
+ private buildElementOptions;
50
+ private buildLineItems;
51
+ private readAvailability;
52
+ private handleAvailability;
53
+ private handleClick;
54
+ private hasUnmetMinimums;
55
+ private handleConfirm;
56
+ private isTotalUnchanged;
57
+ private toBillingDetails;
58
+ private failPayment;
59
+ private handleCancel;
60
+ private teardownExpressElement;
61
+ private remountIfTotalMoved;
62
+ protected disconnected(): void;
63
+ }
@@ -0,0 +1,21 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ export declare class CheckoutExpressCompletionComponent extends BaseComponent<null, ICheckoutComponent> {
4
+ private birthDate;
5
+ private isBirthDateValid;
6
+ private completeButton;
7
+ private announcedState;
8
+ private hasFocusedHeading;
9
+ constructor();
10
+ get hostClasses(): string[];
11
+ private get express();
12
+ private get needsBirthDate();
13
+ protected afterRender(): void;
14
+ protected template(): HTMLElement[];
15
+ private headingFor;
16
+ private copyFor;
17
+ private createDots;
18
+ private createBirthDateInput;
19
+ private createCompleteButton;
20
+ private createBackLink;
21
+ }
@@ -2,6 +2,7 @@ import { BaseComponent } from '@/core/base-component.service';
2
2
  export interface ICheckoutHeaderParams {
3
3
  onClose?: () => void;
4
4
  onBackToCart?: () => void;
5
+ isHostedCheckout?: boolean;
5
6
  }
6
7
  export declare class CheckoutHeaderComponent extends BaseComponent<ICheckoutHeaderParams> {
7
8
  get hostClasses(): string[];
@@ -9,8 +9,12 @@ export declare class CheckoutItemQuantityComponent extends BaseComponent<IChecko
9
9
  get hostClasses(): string[];
10
10
  constructor();
11
11
  onStoreWatch(changes: IOnStoreChanged[]): void;
12
+ private getCheckoutItemStore;
13
+ private getCartItemStore;
14
+ private getProductStoreByLiquidId;
12
15
  private getAvailableQuantity;
13
16
  private calculateQuantityLimits;
17
+ private get itemName();
14
18
  private updateButtonStates;
15
19
  private handleQuantityChange;
16
20
  protected template(): HTMLElement[];
@@ -7,6 +7,8 @@ export declare class CheckoutItemComponent extends BaseComponent<ICheckoutItemCo
7
7
  get hostClasses(): string[];
8
8
  constructor();
9
9
  onStoreChanged(changes: IOnStoreChanged[]): boolean | undefined;
10
+ private deliveryExpectation;
11
+ private updateDeliveryExpectation;
10
12
  private updateEngravingElement;
11
13
  private setupMinimumPurchaseAlert;
12
14
  private updateTrashButtonState;
@@ -1,14 +1,15 @@
1
1
  import { BaseComponent, type IOnStoreChanged } from '@/core/base-component.service';
2
2
  import type { ICheckoutComponent } from '@/interfaces/configs';
3
3
  export declare class CheckoutItemsComponent extends BaseComponent<null, ICheckoutComponent> {
4
+ private togglerElement;
5
+ private togglerButton;
6
+ private togglerLabel;
7
+ private itemsList;
4
8
  get hostClasses(): string[];
5
9
  constructor();
6
10
  private createItemElement;
7
- private getItemsListContainer;
8
- private getTogglerLabel;
9
11
  private getCurrentItemsMap;
10
12
  private syncItemsWithStore;
11
- private updateItemCount;
12
13
  onStoreChanged(changes: IOnStoreChanged[]): boolean | undefined;
13
14
  private handleToggle;
14
15
  private setupToggler;
@@ -6,8 +6,11 @@ export declare class CheckoutOrderSummaryComponent extends BaseComponent<null, I
6
6
  onStoreWatch(changes: IOnStoreChanged[]): void;
7
7
  private updateZeroAmountElement;
8
8
  protected afterRender(): void;
9
+ private paintMarketingCheckbox;
10
+ private toggleMarketingPreference;
9
11
  private handleEmailToggle;
10
12
  private handleSmsToggle;
13
+ private updateSavedMarketingPrompts;
11
14
  private marketingOptInsContainer;
12
15
  private hasOnDemandOrder;
13
16
  protected template(): HTMLElement[];
@@ -5,9 +5,9 @@ export interface ICheckoutSendToFormComponentParams {
5
5
  }
6
6
  export declare class CheckoutPaymentComponent extends BaseComponent<ICheckoutSendToFormComponentParams, ICheckoutComponent> {
7
7
  private stripeHandlerElement;
8
- private hardcodedPaymentElement;
9
8
  private saveButton;
10
9
  private errorMessageElement;
10
+ private walletInstructionsElement?;
11
11
  private billingFormData;
12
12
  private isValidBillingForm;
13
13
  private isBillingSameAsShipping;
@@ -17,10 +17,17 @@ export declare class CheckoutPaymentComponent extends BaseComponent<ICheckoutSen
17
17
  private isSavingPayment;
18
18
  get hostClasses(): string[];
19
19
  constructor();
20
+ private getInjectedPaymentMethod;
21
+ private scheduleReady;
22
+ private deliveryPaymentReady;
20
23
  onStoreWatch(changes: IOnStoreChanged[]): void;
21
24
  private handleBillingSameAsShippingChange;
22
25
  afterRender(): Promise<void>;
23
26
  private updateSaveButtonState;
27
+ private getSelectedWallet;
28
+ private getPaymentButtonText;
29
+ private updateWalletInstructions;
30
+ private lastAnnouncedPaymentError;
24
31
  private updateErrorMessage;
25
32
  private showError;
26
33
  protected template(): HTMLElement[];
@@ -2,16 +2,12 @@ import { BaseComponent, type IOnStoreChanged } from '@/core/base-component.servi
2
2
  import type { ICheckoutComponent } from '@/interfaces/configs';
3
3
  export declare class CheckoutPlaceOrderButtonComponent extends BaseComponent<null, ICheckoutComponent> {
4
4
  private placeOrderButton;
5
- private errorContainer;
6
- private errorTimeoutId;
5
+ private lastButtonState;
7
6
  get hostClasses(): string[];
8
7
  constructor();
9
8
  afterRender(): void;
10
- disconnected(): void;
11
9
  onStoreWatch(changes: IOnStoreChanged[]): void;
12
10
  private updateButtonState;
13
- private clearErrorTimeout;
14
- private updateErrorDisplay;
15
11
  private determineButtonState;
16
12
  private handlePlaceOrderClick;
17
13
  protected template(): HTMLElement[];
@@ -1,9 +1,13 @@
1
1
  import { BaseComponent, type IOnStoreChanged } from '@/core/base-component.service';
2
2
  export declare class CheckoutPresaleCountdownComponent extends BaseComponent<null> {
3
+ private static readonly DEFAULT_PRESALE_DURATION_SECONDS;
4
+ private static readonly ONE_MINUTE_THRESHOLD_SECONDS;
5
+ private static readonly COUNTDOWN_UPDATE_INTERVAL_MS;
3
6
  private countdownInterval;
4
7
  private expiresAt;
5
- private totalDuration;
8
+ private initialDurationSeconds;
6
9
  private rootElement;
10
+ private lastRenderedTime;
7
11
  private scrollHandler;
8
12
  private scrollContainer;
9
13
  private isCurrentlyScrolled;
@@ -11,16 +15,26 @@ export declare class CheckoutPresaleCountdownComponent extends BaseComponent<nul
11
15
  get hostClasses(): string[];
12
16
  constructor();
13
17
  onStoreChanged(changes: IOnStoreChanged[]): boolean;
18
+ private resetCountdownState;
14
19
  protected afterRender(): void;
15
20
  protected disconnected(): void;
16
21
  private setupDrawerScrollDetection;
22
+ private findScrollContainer;
23
+ private setScrolledState;
17
24
  private isScrollable;
18
25
  private cleanupScrollListener;
19
26
  private updateExpiresAt;
20
27
  private startCountdown;
21
28
  private stopCountdown;
22
29
  private updateCountdown;
30
+ private updateWarningState;
31
+ private updateTimerDisplay;
32
+ private updateProgressBar;
23
33
  private formatTime;
24
34
  private handleExpire;
25
35
  protected template(): HTMLElement;
36
+ private createTextContainer;
37
+ private createHeader;
38
+ private createSubtitle;
39
+ private createProgressBar;
26
40
  }
@@ -1,11 +1,17 @@
1
1
  import { BaseComponent } from '@/core/base-component.service';
2
2
  import type { ICheckoutComponent } from '@/interfaces/configs';
3
- export declare class CheckoutPresaleExpiredComponent extends BaseComponent<null, ICheckoutComponent> {
3
+ export type PresaleExpiredReason = 'time_expired' | 'items_unavailable';
4
+ export interface ICheckoutPresaleExpiredComponentParams {
5
+ reason: PresaleExpiredReason;
6
+ }
7
+ export declare class CheckoutPresaleExpiredComponent extends BaseComponent<ICheckoutPresaleExpiredComponentParams, ICheckoutComponent> {
4
8
  private autoCloseInterval;
5
9
  private autoCloseSeconds;
6
10
  private autoCloseElement;
7
11
  get hostClasses(): string[];
8
12
  get hostAttributes(): Record<string, string>;
13
+ private isItemsUnavailable;
14
+ private isTimeExpired;
9
15
  protected afterRender(): void;
10
16
  protected disconnected(): void;
11
17
  private handleExit;
@@ -0,0 +1,8 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { ICheckoutComponent } from '@/interfaces/configs';
3
+ export declare class CheckoutProp65WarningComponent extends BaseComponent<null, ICheckoutComponent> {
4
+ constructor();
5
+ get hostClasses(): string[];
6
+ private colorMode;
7
+ protected template(): HTMLElement | HTMLElement[];
8
+ }
@@ -3,5 +3,8 @@ import type { ICheckoutComponent } from '@/interfaces/configs';
3
3
  export declare class CheckoutSendAsGiftComponent extends BaseComponent<null, ICheckoutComponent> {
4
4
  get hostClasses(): string[];
5
5
  constructor();
6
+ private pendingToggleFocus;
7
+ protected afterRender(): void;
8
+ private readonly onToggle;
6
9
  protected template(): HTMLElement[];
7
10
  }
@@ -1,3 +1,4 @@
1
+ import { SafeHTMLElement } from '@/utils/dom-compat';
1
2
  declare global {
2
3
  interface Window {
3
4
  Stripe: any;
@@ -17,20 +18,25 @@ export interface IStripeConfig {
17
18
  elementOptions?: Record<string, any>;
18
19
  }
19
20
  export interface IStripeFormStatus {
21
+ selectedPaymentType?: string;
22
+ hasPendingConfirmation?: boolean;
20
23
  isFormComplete: boolean;
21
24
  isProcessing: boolean;
22
25
  hasCompletedPayment: boolean;
23
26
  hasError: boolean;
24
27
  errorMessage: string | null;
25
28
  }
26
- export declare class CheckoutStripeFormComponent extends HTMLElement {
29
+ export declare class CheckoutStripeFormComponent extends SafeHTMLElement {
27
30
  private _initialized;
31
+ private _lifecycleGeneration;
28
32
  private _stripe;
29
33
  private _stripeElements;
30
34
  private _paymentElement;
31
35
  private _isProcessing;
36
+ private _selectedPaymentType;
32
37
  private _isFormComplete;
33
38
  private _hasUsedCurrentSession;
39
+ private _pendingConfirmation;
34
40
  private _stripeConfig;
35
41
  private _sessionRefreshPromise;
36
42
  initialize({ data }: {
@@ -44,11 +50,9 @@ export declare class CheckoutStripeFormComponent extends HTMLElement {
44
50
  private handleSubmit;
45
51
  private requestSessionRefresh;
46
52
  private refreshPaymentSession;
47
- private resetForm;
48
53
  private updateStripeFormStatus;
49
54
  private createConfirmationTokenId;
50
55
  disconnected(): Promise<void>;
51
56
  disconnectedCallback(): void;
52
57
  private cleanupForm;
53
- private loadStripeJS;
54
58
  }