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

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 +22524 -0
  3. package/dist/index.esm.js +30689 -20632
  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 +20 -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 +40 -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 +14 -7
  61. package/dist/types/interfaces/api/checkout.interface.d.ts +277 -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 +12 -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 +8 -0
  86. package/dist/types/modules/cart/styles/register-styles.d.ts +1 -0
  87. package/dist/types/modules/checkout/checkout.commands.d.ts +134 -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 +9 -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 +24 -0
  94. package/dist/types/modules/checkout/components/checkout-delivery-scheduling.component.d.ts +53 -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 +9 -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 +72 -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 +205 -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 +298 -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 +802 -0
  242. package/docs/v1/guides/checkout-component.md +920 -0
  243. package/docs/v1/guides/events.md +1061 -0
  244. package/docs/v1/guides/product-component.md +767 -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,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
  }
@@ -20,6 +20,7 @@ export declare class CheckoutStripeHandlerComponent extends BaseComponent<ICheck
20
20
  private isCreatingStripeForm;
21
21
  private stripeFormContainer;
22
22
  private stripeSummaryContainer;
23
+ private loadFailureNotice;
23
24
  private callbacks;
24
25
  private stripeFormStatus;
25
26
  private isInEditMode;
@@ -38,6 +39,9 @@ export declare class CheckoutStripeHandlerComponent extends BaseComponent<ICheck
38
39
  private hideStripeSummary;
39
40
  private showStripeForm;
40
41
  private hideStripeForm;
42
+ private showLoadFailure;
43
+ private clearLoadFailure;
44
+ private retryStripeForm;
41
45
  private handleChangePayment;
42
46
  protected template(): HTMLElement[];
43
47
  submitStripeForm(): void;
@@ -4,10 +4,12 @@ export declare class CheckoutTipsComponent extends BaseComponent<null, ICheckout
4
4
  private isInitialized;
5
5
  get hostClasses(): string[];
6
6
  constructor();
7
+ private pendingTipFocus;
8
+ private restoreTipFocus;
7
9
  protected afterRender(): void;
8
10
  private getTipSelection;
9
- private getOnDemandFulfillmentTipInfo;
10
- private getFulfillmentTipInfoArray;
11
+ private getOnDemandFulfillments;
12
+ private getRetailerNameForFulfillment;
11
13
  private handlePercentageSelect;
12
14
  private handleFulfillmentTipInput;
13
15
  private removeTipFromFulfillment;
@@ -5,6 +5,10 @@ export * from './checkout-buyer-summary.component';
5
5
  export * from './checkout-completed.component';
6
6
  export * from './checkout-deliver-to.component';
7
7
  export * from './checkout-deliver-to-summary.component';
8
+ export * from './checkout-delivery-method.component';
9
+ export * from './checkout-delivery-scheduling.component';
10
+ export * from './checkout-express-checkout.component';
11
+ export * from './checkout-express-completion.component';
8
12
  export * from './checkout-gift-cards.component';
9
13
  export * from './checkout-header.component';
10
14
  export * from './checkout-information.component';
@@ -18,6 +22,7 @@ export * from './checkout-place-order-button.component';
18
22
  export * from './checkout-presale-countdown.component';
19
23
  export * from './checkout-presale-expired.component';
20
24
  export * from './checkout-promo-code.component';
25
+ export * from './checkout-prop65-warning.component';
21
26
  export * from './checkout-send-as-gift.component';
22
27
  export * from './checkout-stripe-form.component';
23
28
  export * from './checkout-stripe-handler.component';
@@ -7,8 +7,6 @@ export declare class CheckoutPcGcComponent extends BaseComponent<null, ICheckout
7
7
  onStoreWatch(changes: IOnStoreChanged[]): void;
8
8
  private updateAppliedGiftCards;
9
9
  private createAppliedGiftCardElement;
10
- private pcInputContainer;
11
- private gcInputContainer;
12
10
  private inputContainer;
13
11
  private createErrorElement;
14
12
  protected template(): HTMLElement[];
@@ -0,0 +1 @@
1
+ export declare function requiredFieldsLegend(className?: string): HTMLElement;
@@ -1,4 +1,7 @@
1
+ import { type FulfillmentType } from '@/enums';
1
2
  export declare const STRIPE_SLOT_NAME = "lce-checkout-stripe-slot";
3
+ export declare const STRIPE_MINIMUM_CHARGE = 50;
4
+ export declare const EXPRESS_CHECKOUT_SLOT_NAME = "lce-checkout-express-checkout-slot";
2
5
  export declare const customerFormFields: {
3
6
  readonly firstName: "firstName";
4
7
  readonly lastName: "lastName";
@@ -8,6 +11,7 @@ export declare const customerFormFields: {
8
11
  readonly addressTwo: "addressTwo";
9
12
  readonly company: "company";
10
13
  };
14
+ export type CustomerFieldName = (typeof customerFormFields)[keyof typeof customerFormFields];
11
15
  export declare const giftFormFields: {
12
16
  readonly firstName: "firstName";
13
17
  readonly lastName: "lastName";
@@ -16,6 +20,7 @@ export declare const giftFormFields: {
16
20
  readonly addressTwo: "addressTwo";
17
21
  readonly message: "message";
18
22
  };
23
+ export type GiftFieldName = (typeof giftFormFields)[keyof typeof giftFormFields];
19
24
  export declare const billingFormFields: {
20
25
  readonly firstName: "firstName";
21
26
  readonly lastName: "lastName";
@@ -28,3 +33,13 @@ export declare const billingFormFields: {
28
33
  readonly state: "state";
29
34
  readonly zipCode: "zipCode";
30
35
  };
36
+ export type BillingFieldName = (typeof billingFormFields)[keyof typeof billingFormFields];
37
+ export declare const DELIVERY_METHOD_LABEL: Record<FulfillmentType, string>;
38
+ export declare const DELIVERY_METHOD_COLLAPSED_LABEL: Record<FulfillmentType, string>;
39
+ export declare const DELIVERY_METHOD_UNAVAILABLE_COPY: Record<FulfillmentType, {
40
+ unavailable: string;
41
+ closed: string;
42
+ unsupported: string;
43
+ }>;
44
+ export declare const DELIVERY_METHOD_FREE_SHIPPING_THRESHOLD = 5000;
45
+ export declare const CHANGE_LOCATION_FOCUS_KEY = "checkout-delivery-method-change-location";
@@ -0,0 +1,5 @@
1
+ import type { ICheckoutCustomer } from '@/interfaces/api/checkout.interface';
2
+ import type { ICheckoutLayout } from '@/interfaces/configs/checkout.interface';
3
+ export declare function isBirthDateRequired(layout: Pick<ICheckoutLayout, 'requireBirthDate'> | null | undefined): boolean;
4
+ export declare function isValidCustomerPrefill(customer: ICheckoutCustomer, requireBirthDate?: boolean, today?: Date): boolean;
5
+ export declare function isValidBirthDate(birthDate: string | null | undefined, today?: Date): boolean;
@@ -0,0 +1,12 @@
1
+ import type { ICheckoutCustomer } from '@/interfaces/api/checkout.interface';
2
+ export interface IExpressWalletBillingDetails {
3
+ name?: string;
4
+ email?: string;
5
+ phone?: string;
6
+ address?: Record<string, string | null>;
7
+ }
8
+ export declare function walletDisplayName(expressPaymentType: unknown): string;
9
+ export declare function splitWalletName(walletName: string | undefined, existing: Pick<ICheckoutCustomer, 'firstName' | 'lastName'> | null | undefined): {
10
+ firstName: string;
11
+ lastName: string;
12
+ };
@@ -0,0 +1,4 @@
1
+ import { SDKError } from '@/core/sdk-error-handler';
2
+ export declare class PaymentSessionRefreshError extends SDKError {
3
+ constructor(message: string);
4
+ }
@@ -0,0 +1,2 @@
1
+ export type StripeJsLoadFailure = 'blocked' | 'timeout' | 'error';
2
+ export declare function loadStripeJs(): Promise<StripeJsLoadFailure | null>;
@@ -0,0 +1 @@
1
+ export declare const getDeliveryMethodStyles: () => string;
@@ -0,0 +1 @@
1
+ export declare const getExpressCheckoutStyles: () => string;
@@ -0,0 +1 @@
1
+ export declare const getExpressCompletionStyles: () => string;
@@ -1,13 +1,34 @@
1
1
  import type { IProductFulfillmentStore } from '@/core/store/interfaces/product.interface';
2
2
  import { type FulfillmentType } from '@/enums';
3
3
  import type { IProductSizeAttributes } from '@/interfaces/api/product.interface';
4
- export declare function renderPopupRetailerCard({ fulfillment, selectedFulfillmentType, isSelected, selectedSizeAttributes, }: {
4
+ export declare const FULFILLMENT_TAB_SELECTOR = ".fulfillment-tab";
5
+ export declare function fulfillmentTabId(idPrefix: string, type: FulfillmentType): string;
6
+ export declare function fulfillmentExpectationText(fulfillment: IProductFulfillmentStore, selectedSizeAttributes: IProductSizeAttributes | null, onDemandSelected: boolean): string;
7
+ export declare function fulfillmentFeeText(fulfillment: IProductFulfillmentStore, { prefix, freeLabel }?: {
8
+ prefix?: string | undefined;
9
+ freeLabel?: string | undefined;
10
+ }): string;
11
+ export declare function fulfillmentOptionLabel({ fulfillment, selectedFulfillmentType, selectedSizeAttributes, }: {
12
+ fulfillment: IProductFulfillmentStore;
13
+ selectedFulfillmentType: FulfillmentType;
14
+ selectedSizeAttributes: IProductSizeAttributes | null;
15
+ }): string;
16
+ export declare function fulfillmentSelectedMessage(fulfillment: IProductFulfillmentStore, type: FulfillmentType, selectedSizeAttributes: IProductSizeAttributes | null): string;
17
+ export declare function fulfillmentTypeMessage(type: FulfillmentType, optionCount: number, autoSelected?: {
18
+ fulfillment: IProductFulfillmentStore;
19
+ selectedSizeAttributes: IProductSizeAttributes | null;
20
+ } | null): string;
21
+ export declare function focusSelectedFulfillmentTab(root: ParentNode): boolean;
22
+ export declare function applyFulfillmentPanelSemantics(panel: HTMLElement, tabsContainer: HTMLElement, panelId: string, selectedTabId: string): void;
23
+ export declare function renderPopupRetailerCard({ fulfillment, selectedFulfillmentType, isSelected, selectedSizeAttributes, interactive, disabled, }: {
5
24
  fulfillment: IProductFulfillmentStore;
6
25
  selectedFulfillmentType: FulfillmentType;
7
26
  isSelected: boolean;
8
27
  selectedSizeAttributes: IProductSizeAttributes | null;
28
+ interactive?: boolean;
29
+ disabled?: boolean;
9
30
  }): HTMLElement;
10
- export declare function renderFulfillmentTabsContainer({ shippingFulfillments, onDemandFulfillments, shippingSelected, onDemandSelected, onTabClick, enableShippingFulfillment, enableOnDemandFulfillment, }: {
31
+ export declare function renderFulfillmentTabsContainer({ shippingFulfillments, onDemandFulfillments, shippingSelected, onDemandSelected, onTabClick, enableShippingFulfillment, enableOnDemandFulfillment, primaryFulfillmentMethod, idPrefix, panelId, }: {
11
32
  shippingFulfillments: IProductFulfillmentStore[];
12
33
  onDemandFulfillments: IProductFulfillmentStore[];
13
34
  shippingSelected: boolean;
@@ -15,4 +36,7 @@ export declare function renderFulfillmentTabsContainer({ shippingFulfillments, o
15
36
  onTabClick: (event: Event) => void;
16
37
  enableShippingFulfillment: boolean;
17
38
  enableOnDemandFulfillment: boolean;
39
+ primaryFulfillmentMethod: FulfillmentType;
40
+ idPrefix: string;
41
+ panelId: string;
18
42
  }): HTMLElement;
@@ -1,5 +1,6 @@
1
1
  export * from './components';
2
2
  export * from './product-add-to-cart-section.component';
3
+ export * from './product-delivery-estimate.component';
3
4
  export * from './product-description.component';
4
5
  export * from './product-drawer.component';
5
6
  export * from './product-image-carousel.component';
@@ -1,4 +1,4 @@
1
- import { BaseComponent } from '@/core/base-component.service';
1
+ import { BaseComponent, type IOnStoreChanged } from '@/core/base-component.service';
2
2
  import type { IProductComponent } from '@/interfaces/configs';
3
3
  export interface IAddToCartSectionComponentParams {
4
4
  productId: string;
@@ -8,19 +8,26 @@ export declare class ProductAddToCartSectionComponent extends BaseComponent<IAdd
8
8
  private qtyIncreaseButton;
9
9
  private qtyDecreaseButton;
10
10
  private quantityText;
11
+ private pendingFocusKey;
11
12
  get hostClasses(): string[];
12
13
  get hostAttributes(): Record<string, string>;
13
14
  constructor();
14
15
  private getProductId;
16
+ onStoreChanged(changes: IOnStoreChanged[]): boolean | undefined;
17
+ afterRender(): void;
15
18
  private getAvailableQuantity;
16
19
  private isFulfillmentClosed;
20
+ private isRequiredEngravingUnavailable;
17
21
  private isButtonLoading;
18
22
  private calculateQuantityLimits;
19
23
  private handleAddToCart;
20
24
  private handleQuantityChange;
21
25
  private calculateTotalPrice;
26
+ private stepperFocusKey;
27
+ private createStepper;
22
28
  private createQuantityContainer;
23
29
  private getSizeAttributes;
30
+ private openEngravingForm;
24
31
  private isPresaleActive;
25
32
  private createAddToCartButton;
26
33
  protected template(): HTMLElement[] | string;
@@ -0,0 +1,11 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { IProductComponent } from '@/interfaces/configs';
3
+ export interface IProductDeliveryEstimateComponentParams {
4
+ productId: string;
5
+ }
6
+ export declare class ProductDeliveryEstimateComponent extends BaseComponent<IProductDeliveryEstimateComponentParams, IProductComponent> {
7
+ get hostClasses(): string[];
8
+ constructor();
9
+ private getProductId;
10
+ protected template(): HTMLElement[];
11
+ }
@@ -1,6 +1,7 @@
1
1
  import { BaseComponent } from '@/core/base-component.service';
2
2
  export interface IProductDescriptionComponentParams {
3
3
  productId: string;
4
+ hideTitle?: boolean;
4
5
  }
5
6
  export declare class ProductDescriptionComponent extends BaseComponent<IProductDescriptionComponentParams, null> {
6
7
  get hostClasses(): string[];
@@ -8,12 +8,18 @@ export declare class ProductDrawerComponent extends BaseComponent<IProductDrawer
8
8
  private isOpen;
9
9
  private contentContainer;
10
10
  private currentContentType;
11
+ private focusEntryFrame;
12
+ private readonly focusManager;
13
+ private readonly boundHandleKeydown;
11
14
  constructor();
15
+ private handleKeydown;
16
+ disconnected(): void;
12
17
  private getProductId;
13
18
  onStoreChanged(changes: IOnStoreChanged[]): boolean;
14
19
  private openWithContent;
15
20
  private open;
16
21
  private close;
22
+ private moveFocusIntoPanel;
17
23
  private updateDrawerState;
18
24
  protected template(): HTMLElement;
19
25
  }
@@ -8,6 +8,7 @@ export interface IImageCarouselParams {
8
8
  export declare class ProductImageCarouselComponent extends BaseComponent<IImageCarouselParams, IProductComponent> {
9
9
  get hostClasses(): string[];
10
10
  private mainImageElement;
11
+ private mainImageMediaElement;
11
12
  private galleryViewport;
12
13
  private galleryContainer;
13
14
  private thumbnails;
@@ -17,6 +18,8 @@ export declare class ProductImageCarouselComponent extends BaseComponent<IImageC
17
18
  private startX;
18
19
  private currentTranslateX;
19
20
  private translateX;
21
+ private boundDragMove;
22
+ private boundDragEnd;
20
23
  constructor();
21
24
  afterRender(): void;
22
25
  onStoreWatch(changes: IOnStoreChanged[]): void;
@@ -26,11 +29,13 @@ export declare class ProductImageCarouselComponent extends BaseComponent<IImageC
26
29
  private scrollToIndex;
27
30
  private setupMainImageSwipe;
28
31
  private setupGalleryDrag;
32
+ protected disconnected(): void;
29
33
  private handleDragStart;
30
34
  private handleDragMove;
31
35
  private handleDragEnd;
32
36
  private updateTransform;
33
37
  private nextImage;
34
38
  private previousImage;
39
+ private mainImageLabel;
35
40
  protected template(): HTMLElement[];
36
41
  }
@@ -8,5 +8,6 @@ export declare class ProductOptionsComponent extends BaseComponent<IProductOptio
8
8
  constructor();
9
9
  private getProductId;
10
10
  onStoreWatch(changes: IOnStoreChanged[]): void;
11
- protected template(): HTMLElement;
11
+ protected template(): HTMLElement | HTMLElement[];
12
+ private buildDescriptionElement;
12
13
  }
@@ -0,0 +1 @@
1
+ export declare function createProductProp65Warning(): HTMLDetailsElement;
@@ -8,19 +8,25 @@ export declare class ProductRetailersCarouselComponent extends BaseComponent<IPr
8
8
  private listViewport;
9
9
  private listContainer;
10
10
  private retailerCards;
11
+ private pendingTabFocus;
11
12
  private isDragging;
12
13
  private hasMoved;
13
14
  private startX;
14
15
  private currentTranslateX;
15
16
  private translateX;
17
+ private boundDragMove;
18
+ private boundDragEnd;
16
19
  constructor();
17
20
  afterRender(): void;
18
21
  private cacheElements;
19
22
  private getProductId;
23
+ private get instanceIdPrefix();
24
+ private selectedSizeAttributes;
20
25
  onStoreWatch(changes: IOnStoreChanged[]): void;
21
26
  private updateSelectedCard;
22
27
  private scrollToIndex;
23
28
  private setupDrag;
29
+ protected disconnected(): void;
24
30
  private handleDragStart;
25
31
  private handleDragMove;
26
32
  private handleDragEnd;
@@ -1,13 +1,23 @@
1
1
  import { BaseComponent } from '@/core/base-component.service';
2
+ import { type NavigationSourceType } from '@/enums';
2
3
  import type { IProductComponent } from '@/interfaces/configs';
3
4
  export interface IProductRetailersPopupListComponentParams {
4
5
  productId: string;
6
+ navigationSource: NavigationSourceType;
7
+ slug?: string;
5
8
  }
6
9
  export declare class ProductRetailersPopupListComponent extends BaseComponent<IProductRetailersPopupListComponentParams, IProductComponent> {
7
10
  get hostClasses(): string[];
8
- constructor();
9
- private getProductId;
11
+ private get isProductContext();
12
+ private get instanceIdPrefix();
13
+ private productPath;
14
+ beforeSetupStoreWatchers(): void;
15
+ private pendingTabFocus;
16
+ protected afterRender(): void;
10
17
  private onFulfillmentTabClick;
18
+ private selectedSizeAttributes;
19
+ private announceSelectedFulfillment;
20
+ private announceFulfillmentTypeChange;
11
21
  private onRetailerCardClick;
12
22
  protected template(): HTMLElement[];
13
23
  }
@@ -7,5 +7,6 @@ export declare class ProductRetailersPopupComponent extends BaseComponent<IProdu
7
7
  get hostClasses(): string[];
8
8
  constructor();
9
9
  private getProductId;
10
+ private get fulfillmentLabelId();
10
11
  protected template(): HTMLElement[];
11
12
  }
@@ -8,5 +8,6 @@ export declare class ProductRetailersComponent extends BaseComponent<IProductRet
8
8
  constructor();
9
9
  get hostAttributes(): Record<string, string>;
10
10
  private getProductId;
11
+ private retailersDisplayType;
11
12
  protected template(): HTMLElement | HTMLElement[];
12
13
  }
@@ -7,22 +7,22 @@ import { type AddItemParams } from '@/modules/cart/cart.commands';
7
7
  export declare class ProductCommands extends BaseCommand {
8
8
  private readonly uiCommands;
9
9
  private readonly cartCommands;
10
+ private readonly checkoutCommands;
10
11
  constructor();
11
12
  static getInstance(): ProductCommands;
12
13
  createProductInstance(productId: string, firstTime?: boolean): Promise<void>;
13
14
  loadMultipleProducts(productIds: string[]): Promise<void>;
14
15
  loadProduct(productId: string, customProductData?: IProductAvailabilityResponse | null): Promise<void>;
16
+ cacheProductFromApiData(identifier: string, apiData: IProductAvailabilityResponse): void;
15
17
  selectSize(productId: string, sizeId: string): Promise<void>;
16
18
  selectFulfillment(productId: string, selectedFulfillmentId: string): Promise<void>;
17
19
  updateQuantity(productId: string, delta: number): Promise<void>;
18
- changeFulfillmentType(productId: string, selectedFulfillmentType: FulfillmentType): Promise<void>;
20
+ changeFulfillmentType(productId: string, newFulfillmentType: FulfillmentType): Promise<void>;
19
21
  removeProduct(productId: string): Promise<void>;
20
- openProductDrawer(productId: string, contentType: IProductDrawerContentConfig['type'], data?: Record<string, any>): Promise<void>;
22
+ openProductDrawer(productId: string, contentType: IProductDrawerContentConfig['type'], data?: Record<string, any>, trigger?: HTMLElement | null): Promise<void>;
21
23
  closeProductDrawer(productId: string): Promise<void>;
22
24
  rerenderAllProducts(): Promise<void>;
23
- addToCart(productId: string, params: AddItemParams): Promise<void>;
25
+ addToCart(productId: string, params: AddItemParams, trigger?: HTMLElement | null, triggerFallback?: () => HTMLElement | null): Promise<void>;
24
26
  addPresaleToCart(productId: string, params: AddItemParams): Promise<void>;
25
27
  productDataForEventFromStore(identifier: string): IBaseProductEventData;
26
- private findFirstAvailableSize;
27
- private loadProductStoreUpdate;
28
28
  }
@@ -5,9 +5,12 @@ export interface IProductComponentParams {
5
5
  }
6
6
  export declare class ProductComponent extends BaseComponent<IProductComponentParams, IProductComponent> {
7
7
  private titleElement;
8
+ private contentElement;
9
+ private prop65Warning;
8
10
  constructor();
9
11
  private getProductId;
10
12
  onStoreWatch(changes: IOnStoreChanged[]): void;
13
+ private syncProp65Warning;
11
14
  protected template(): HTMLElement;
12
15
  disconnected(): Promise<void>;
13
16
  }
@@ -0,0 +1 @@
1
+ export declare const getProp65WarningStyles: () => string;
@@ -0,0 +1,6 @@
1
+ export * from './product-badge';
2
+ export * from './product-button';
3
+ export * from './product-fulfillment-text';
4
+ export * from './product-price-and-personalization';
5
+ export * from './product-quantity-selector';
6
+ export * from './product-sizes-list';
@@ -0,0 +1,9 @@
1
+ export interface IBadgesParams {
2
+ badges: Array<{
3
+ text: string;
4
+ className?: string;
5
+ }>;
6
+ separatorText?: string;
7
+ }
8
+ export declare const createProductBadge: (name: string, className?: string) => HTMLElement;
9
+ export declare const createProductBadges: ({ badges, separatorText }: IBadgesParams) => HTMLElement;
@@ -0,0 +1,11 @@
1
+ export interface IAddToCartButtonState {
2
+ isPresale: boolean;
3
+ hasAvailability: boolean;
4
+ hasAddress: boolean;
5
+ disabled?: boolean;
6
+ }
7
+ export interface IAddToCartButtonParams extends IAddToCartButtonState {
8
+ onClick?: (e: MouseEvent) => void | Promise<void>;
9
+ }
10
+ export declare const applyAddToCartButtonState: (button: HTMLButtonElement, state: IAddToCartButtonState) => void;
11
+ export declare const createAddToCartButton: ({ isPresale, hasAvailability, disabled, hasAddress, onClick, }: IAddToCartButtonParams) => HTMLButtonElement;
@@ -0,0 +1,2 @@
1
+ import type { IPLProductStore } from '@/core/store/interfaces/product-list.interface';
2
+ export declare function productFulfillmentText(product: IPLProductStore, retailerNameHidden: boolean): string;
@@ -0,0 +1,14 @@
1
+ export interface IPricePersonalizationSectionParams {
2
+ price: number;
3
+ showPrice: boolean;
4
+ hasPersonalization: boolean;
5
+ showPersonalization: boolean;
6
+ hasAddress: boolean;
7
+ wrapperClassName?: string;
8
+ priceClassName?: string;
9
+ personalizeClassName?: string;
10
+ personalizeText?: string;
11
+ productName?: string;
12
+ onPersonalizeClick?: () => void;
13
+ }
14
+ export declare const createPricePersonalizationSection: ({ price, showPrice, hasPersonalization, showPersonalization, hasAddress, wrapperClassName, priceClassName, personalizeClassName, personalizeText, productName, onPersonalizeClick, }: IPricePersonalizationSectionParams) => HTMLElement | null;
@@ -0,0 +1,11 @@
1
+ import type { PLCCardStyle } from '@/interfaces/configs/product-list.interface';
2
+ export interface IQuantitySelectorParams {
3
+ initialQuantity: number;
4
+ minQuantity: number;
5
+ maxQuantity: number;
6
+ cardStyle: PLCCardStyle;
7
+ disabled?: boolean;
8
+ productName?: string;
9
+ onChange: (quantity: number) => void;
10
+ }
11
+ export declare const createQuantitySelector: ({ initialQuantity, minQuantity, maxQuantity, cardStyle, disabled, productName, onChange, }: IQuantitySelectorParams) => HTMLElement;
@@ -0,0 +1,14 @@
1
+ import { BaseComponent } from '@/core/base-component.service';
2
+ import type { IProductSizeStore } from '@/core/store/interfaces/product.interface';
3
+ export interface IProductListSizeSelectorParams {
4
+ sizes: Record<string, IProductSizeStore>;
5
+ selectedSizeId: string | null;
6
+ onSelect?: (size: IProductSizeStore) => void;
7
+ }
8
+ export declare class ProductListSizeSelectorComponent extends BaseComponent<IProductListSizeSelectorParams> {
9
+ private onOutsideClick;
10
+ private readonly uid;
11
+ get hostClasses(): string[];
12
+ protected disconnected?(): void;
13
+ protected template(): HTMLElement[];
14
+ }
@@ -0,0 +1,7 @@
1
+ export * from './product-list-apply-filter-button';
2
+ export * from './product-list-checkbox-filter';
3
+ export * from './product-list-chip';
4
+ export * from './product-list-filters-chips';
5
+ export * from './product-list-fulfillment-filter';
6
+ export * from './product-list-price-filter';
7
+ export * from './product-list-toggle-filters';
@@ -0,0 +1 @@
1
+ export declare function createApplyFiltersButton(onApplyFilters: VoidFunction): HTMLElement;
@@ -1,6 +1,7 @@
1
1
  import type { ICheckboxLabelStates, ICreateCheckboxFilterHeaderParams, ICreateCheckboxFilterSearchContainerParams, ICreateCheckboxItemParams, IHandleCheckboxFilterSearchParams, IRenderCheckboxItemsParams } from '../../product-list.interface';
2
2
  export declare function createCheckboxItem(params: ICreateCheckboxItemParams): HTMLElement;
3
3
  export declare function handleCheckboxFilterSearch(params: IHandleCheckboxFilterSearchParams): void;
4
+ export declare function checkboxFilterContentId(filterType: string): string;
4
5
  export declare function createCheckboxFilterHeader(params: ICreateCheckboxFilterHeaderParams): HTMLElement;
5
6
  export declare function createCheckboxFilterSearchContainer(params: ICreateCheckboxFilterSearchContainerParams): HTMLElement;
6
7
  export declare function renderCheckboxItems(params: IRenderCheckboxItemsParams): void;
@@ -0,0 +1,5 @@
1
+ export interface IChipComponentParams {
2
+ text: string;
3
+ onRemove?: VoidFunction;
4
+ }
5
+ export declare function createChip(params: IChipComponentParams): HTMLElement;
@@ -0,0 +1,13 @@
1
+ import type { IExtendedFilterSchema, IProductListFilters } from '@/modules/product-list/product-list.interface';
2
+ export interface ICreateChipsContainerParams {
3
+ currentFilters?: IProductListFilters;
4
+ sanitizedFilters?: IExtendedFilterSchema[];
5
+ onRemoveFilter: (key: string, value: string) => void;
6
+ onClearAllFilters: VoidFunction;
7
+ }
8
+ export interface IActiveFilter {
9
+ key: string;
10
+ value: string;
11
+ label: string;
12
+ }
13
+ export declare function createChipsContainer(params: ICreateChipsContainerParams): HTMLElement;
@@ -0,0 +1,15 @@
1
+ import { FULFILLMENT_OPTIONS } from '@/modules/product-list/product-list.constants';
2
+ import type { IProductListFilters } from '@/modules/product-list/product-list.interface';
3
+ export interface ICreateFulfillmentFilterParams {
4
+ currentFilters?: IProductListFilters;
5
+ deliveryCollapsed: boolean;
6
+ isSameDayDeliveryDisabled: boolean;
7
+ onFulfillmentOptionsChange?: (value: typeof FULFILLMENT_OPTIONS.ALL | typeof FULFILLMENT_OPTIONS.SHIPPING | typeof FULFILLMENT_OPTIONS.ON_DEMAND) => void;
8
+ onToggleCollapse: () => void;
9
+ }
10
+ export declare function createFulfillmentFilter(params: ICreateFulfillmentFilterParams): {
11
+ elements: HTMLElement[];
12
+ chevronContainer: HTMLElement;
13
+ fulfillmentList: HTMLElement;
14
+ headerButton: HTMLButtonElement;
15
+ };