@liquidcommerce/elements-sdk 2.6.0-beta.4 → 2.6.0-beta.40

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 (172) hide show
  1. package/README.md +156 -2500
  2. package/dist/index.checkout.esm.js +16087 -0
  3. package/dist/index.esm.js +16301 -14189
  4. package/dist/types/auto-initialize/checkout.d.ts +2 -0
  5. package/dist/types/auto-initialize/shared-utils.d.ts +22 -0
  6. package/dist/types/{elements-base-client.d.ts → clients/base.d.ts} +11 -1
  7. package/dist/types/clients/checkout.d.ts +13 -0
  8. package/dist/types/constants/core.constant.d.ts +5 -3
  9. package/dist/types/core/api/api-client.service.d.ts +10 -12
  10. package/dist/types/core/api/auth-client.service.d.ts +31 -9
  11. package/dist/types/core/api/http-client.service.d.ts +0 -1
  12. package/dist/types/core/client/actions/base-action.service.d.ts +15 -0
  13. package/dist/types/core/client/actions/client-address-action.service.d.ts +18 -0
  14. package/dist/types/core/client/actions/client-cart-action.service.d.ts +37 -0
  15. package/dist/types/core/client/actions/client-checkout-action.service.d.ts +50 -0
  16. package/dist/types/core/client/actions/client-product-action.service.d.ts +12 -0
  17. package/dist/types/core/client/client-action.service.d.ts +6 -70
  18. package/dist/types/core/client/client-config.service.d.ts +3 -2
  19. package/dist/types/core/command/common-command.service.d.ts +2 -1
  20. package/dist/types/core/google-tag-manager.service.d.ts +4 -1
  21. package/dist/types/core/logger/logger.service.d.ts +1 -1
  22. package/dist/types/core/pubsub/interfaces/cart.interface.d.ts +27 -64
  23. package/dist/types/core/pubsub/interfaces/checkout.interface.d.ts +44 -50
  24. package/dist/types/core/pubsub/interfaces/core.interface.d.ts +5 -4
  25. package/dist/types/core/pubsub/interfaces/product.interface.d.ts +16 -75
  26. package/dist/types/core/store/interfaces/cart.interface.d.ts +16 -56
  27. package/dist/types/core/store/interfaces/checkout.interface.d.ts +17 -108
  28. package/dist/types/core/store/interfaces/core.interface.d.ts +18 -3
  29. package/dist/types/core/store/interfaces/metadata.interface.d.ts +11 -0
  30. package/dist/types/core/store/interfaces/product-list.interface.d.ts +45 -0
  31. package/dist/types/core/store/interfaces/product.interface.d.ts +3 -1
  32. package/dist/types/core/store/store.constant.d.ts +4 -0
  33. package/dist/types/enums/core.enum.d.ts +38 -1
  34. package/dist/types/enums/index.d.ts +0 -1
  35. package/dist/types/index.checkout.d.ts +7 -0
  36. package/dist/types/index.checkout.umd.d.ts +4 -0
  37. package/dist/types/index.d.ts +2 -2
  38. package/dist/types/interfaces/api/cart.interface.d.ts +95 -0
  39. package/dist/types/interfaces/api/checkout.interface.d.ts +217 -0
  40. package/dist/types/interfaces/api/product-list.interface.d.ts +38 -0
  41. package/dist/types/interfaces/api/product.interface.d.ts +5 -7
  42. package/dist/types/interfaces/configs/checkout.interface.d.ts +1 -0
  43. package/dist/types/interfaces/configs/global.interface.d.ts +4 -2
  44. package/dist/types/interfaces/configs/index.d.ts +1 -0
  45. package/dist/types/interfaces/configs/product-list.interface.d.ts +28 -0
  46. package/dist/types/interfaces/configs/product.interface.d.ts +1 -0
  47. package/dist/types/interfaces/core.interface.d.ts +34 -6
  48. package/dist/types/modules/address/address-input.component.d.ts +11 -0
  49. package/dist/types/modules/address/address.command.d.ts +1 -0
  50. package/dist/types/modules/address/styles/register-styles.d.ts +1 -0
  51. package/dist/types/modules/cart/cart.commands.d.ts +4 -5
  52. package/dist/types/modules/cart/components/cart-body.component.d.ts +2 -1
  53. package/dist/types/modules/cart/components/cart-footer.component.d.ts +0 -1
  54. package/dist/types/modules/cart/components/cart-fulfillment.component.d.ts +0 -2
  55. package/dist/types/modules/cart/styles/register-styles.d.ts +1 -0
  56. package/dist/types/modules/checkout/checkout.commands.d.ts +22 -9
  57. package/dist/types/modules/checkout/checkout.component.d.ts +2 -0
  58. package/dist/types/modules/checkout/components/checkout-billing.component.d.ts +2 -2
  59. package/dist/types/modules/checkout/components/checkout-completed.component.d.ts +2 -0
  60. package/dist/types/modules/checkout/components/checkout-header.component.d.ts +1 -0
  61. package/dist/types/modules/checkout/components/checkout-items.component.d.ts +4 -3
  62. package/dist/types/modules/checkout/components/checkout-presale-countdown.component.d.ts +14 -1
  63. package/dist/types/modules/checkout/components/checkout-presale-expired.component.d.ts +7 -1
  64. package/dist/types/modules/checkout/components/checkout-tips.component.d.ts +2 -2
  65. package/dist/types/modules/checkout/components/promo-pc-gc.component.d.ts +0 -2
  66. package/dist/types/modules/checkout/constant.d.ts +3 -0
  67. package/dist/types/modules/checkout/styles/register-styles.d.ts +1 -0
  68. package/dist/types/modules/product/product.commands.d.ts +1 -0
  69. package/dist/types/modules/product/styles/register-styles.d.ts +1 -0
  70. package/dist/types/modules/product-list/components/card-components/index.d.ts +7 -0
  71. package/dist/types/modules/product-list/components/card-components/product-badge.d.ts +8 -0
  72. package/dist/types/modules/product-list/components/card-components/product-button.d.ts +11 -0
  73. package/dist/types/modules/product-list/components/card-components/product-fulfillments.d.ts +12 -0
  74. package/dist/types/modules/product-list/components/card-components/product-price-and-personalization.d.ts +13 -0
  75. package/dist/types/modules/product-list/components/card-components/product-quantity-selector.d.ts +10 -0
  76. package/dist/types/modules/product-list/components/card-components/product-sizes-list.d.ts +9 -0
  77. package/dist/types/modules/product-list/components/card-components/product-title.d.ts +6 -0
  78. package/dist/types/modules/product-list/components/filter-components/index.d.ts +7 -0
  79. package/dist/types/modules/product-list/components/filter-components/product-list-apply-filter-button.d.ts +1 -0
  80. package/dist/types/modules/product-list/components/filter-components/product-list-chip.d.ts +5 -0
  81. package/dist/types/modules/product-list/components/filter-components/product-list-filters-chips.d.ts +13 -0
  82. package/dist/types/modules/product-list/components/filter-components/product-list-fulfillment-filter.d.ts +14 -0
  83. 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} +1 -1
  84. package/dist/types/modules/product-list/components/filter-components/product-list-toggle-filters.d.ts +13 -0
  85. package/dist/types/modules/product-list/components/index.d.ts +7 -3
  86. package/dist/types/modules/product-list/components/product-list-card-loading.component.d.ts +2 -1
  87. package/dist/types/modules/product-list/components/product-list-engraving.component.d.ts +10 -0
  88. package/dist/types/modules/product-list/components/product-list-filters.component.d.ts +58 -37
  89. package/dist/types/modules/product-list/components/product-list-product-pre-cart.component.d.ts +28 -0
  90. package/dist/types/modules/product-list/components/product-list-retailers.component.d.ts +26 -0
  91. package/dist/types/modules/product-list/components/product-list-search.component.d.ts +22 -0
  92. package/dist/types/modules/product-list/product-list-card.component.d.ts +30 -0
  93. package/dist/types/modules/product-list/product-list.commands.d.ts +64 -4
  94. package/dist/types/modules/product-list/product-list.component.d.ts +16 -44
  95. package/dist/types/modules/product-list/product-list.constants.d.ts +39 -0
  96. package/dist/types/modules/product-list/product-list.interface.d.ts +37 -31
  97. package/dist/types/modules/product-list/styles/product-list-card.style.d.ts +1 -0
  98. package/dist/types/modules/product-list/styles/product-list-filters.style.d.ts +1 -0
  99. package/dist/types/modules/product-list/styles/register-styles.d.ts +1 -0
  100. package/dist/types/modules/theme-provider/constants/component-groupings.d.ts +1 -0
  101. package/dist/types/modules/theme-provider/constants/css-variable-mappings.d.ts +1 -1
  102. package/dist/types/modules/theme-provider/services/style-registry.service.d.ts +16 -0
  103. package/dist/types/modules/theme-provider/services/stylesheet-generator.service.d.ts +0 -1
  104. package/dist/types/modules/theme-provider/styles/register-styles.d.ts +1 -0
  105. package/dist/types/modules/theme-provider/theme-provider.service.d.ts +2 -1
  106. package/dist/types/modules/ui-components/engraving/engraving-form.component.d.ts +14 -1
  107. package/dist/types/modules/ui-components/input/index.d.ts +0 -1
  108. package/dist/types/modules/ui-components/input/input.component.d.ts +8 -1
  109. package/dist/types/modules/ui-components/modal/modal.component.d.ts +23 -0
  110. package/dist/types/modules/ui-components/purchase-min-alert/index.d.ts +0 -1
  111. package/dist/types/modules/ui-components/styles/modal.style.d.ts +1 -0
  112. package/dist/types/modules/ui-components/ui.commands.d.ts +3 -1
  113. package/dist/types/static/icon/check.icon.d.ts +2 -0
  114. package/dist/types/static/icon/index.d.ts +1 -0
  115. package/dist/types/utils/format.d.ts +0 -14
  116. package/docs/actions.md +320 -0
  117. package/docs/address.md +242 -0
  118. package/docs/cart.md +387 -0
  119. package/docs/checkout.md +420 -0
  120. package/docs/{CONFIGURATION.md → configuration.md} +212 -48
  121. package/docs/events.md +181 -0
  122. package/docs/product-list.md +311 -0
  123. package/docs/product.md +250 -0
  124. package/docs/{THEMING.md → theming.md} +110 -20
  125. package/docs/{TROUBLESHOOTING.md → troubleshooting.md} +6 -6
  126. package/package.json +20 -13
  127. package/dist/types/enums/cloud.enum.d.ts +0 -403
  128. package/dist/types/interfaces/cloud/cart.interface.d.ts +0 -132
  129. package/dist/types/interfaces/cloud/catalog.interface.d.ts +0 -43
  130. package/dist/types/interfaces/cloud/checkout.interface.d.ts +0 -211
  131. package/dist/types/interfaces/cloud/core.interface.d.ts +0 -22
  132. package/dist/types/interfaces/cloud/index.d.ts +0 -5
  133. package/dist/types/interfaces/cloud/retailer.interface.d.ts +0 -67
  134. package/dist/types/interfaces/cloud/user.interface.d.ts +0 -100
  135. package/dist/types/modules/cart/cart.commands.helper.d.ts +0 -9
  136. package/dist/types/modules/checkout/components/checkout.type.d.ts +0 -4
  137. package/dist/types/modules/product-list/components/product-list-card.component.d.ts +0 -37
  138. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/index.d.ts +0 -6
  139. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-apply-filter-button.component.d.ts +0 -1
  140. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-delivery-options-filter.components.d.ts +0 -16
  141. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-search.component.d.ts +0 -16
  142. package/dist/types/modules/product-list/components/product-list-filters-subcomponents/product-list-toggle-filters.components.d.ts +0 -18
  143. package/dist/types/modules/theme-provider/styles/address/index.d.ts +0 -1
  144. package/dist/types/modules/theme-provider/styles/cart/index.d.ts +0 -1
  145. package/dist/types/modules/theme-provider/styles/checkout/index.d.ts +0 -1
  146. package/dist/types/modules/theme-provider/styles/product/index.d.ts +0 -3
  147. package/dist/types/modules/theme-provider/styles/product-list/index.d.ts +0 -1
  148. package/dist/types/modules/theme-provider/styles/ui/index.d.ts +0 -3
  149. package/dist/types/modules/ui-components/input/birthdate-input.component.d.ts +0 -53
  150. package/dist/types/modules/ui-components/purchase-min-alert/helpers.d.ts +0 -7
  151. package/dist/types/utils/helper.d.ts +0 -27
  152. package/docs/ACTIONS.md +0 -1300
  153. package/docs/DOCUMENTATION_INDEX.md +0 -311
  154. package/docs/EVENTS.md +0 -798
  155. package/umd/elements.js +0 -1
  156. /package/dist/types/{auto-initialize.d.ts → auto-initialize/main.d.ts} +0 -0
  157. /package/dist/types/{elements-builder-client.d.ts → clients/builder.d.ts} +0 -0
  158. /package/dist/types/{elements-client-helper.d.ts → clients/helpers.d.ts} +0 -0
  159. /package/dist/types/{elements-client.d.ts → clients/main.d.ts} +0 -0
  160. /package/dist/types/modules/{theme-provider/styles/address → address/styles}/address.style.d.ts +0 -0
  161. /package/dist/types/modules/{theme-provider/styles/cart → cart/styles}/cart.style.d.ts +0 -0
  162. /package/dist/types/modules/{theme-provider/styles/checkout → checkout/styles}/checkout.style.d.ts +0 -0
  163. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/image-carousel.style.d.ts +0 -0
  164. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/product.style.d.ts +0 -0
  165. /package/dist/types/modules/{theme-provider/styles/product → product/styles}/retailers.style.d.ts +0 -0
  166. /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} +0 -0
  167. /package/dist/types/modules/{theme-provider/styles/product-list → product-list/styles}/product-list.style.d.ts +0 -0
  168. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/drawer.style.d.ts +0 -0
  169. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/loading.style.d.ts +0 -0
  170. /package/dist/types/modules/{theme-provider/styles/ui → ui-components/styles}/promo-code-ticker.style.d.ts +0 -0
  171. /package/docs/{BROWSER_SUPPORT.md → browser-support.md} +0 -0
  172. /package/docs/{PROXY.md → proxy.md} +0 -0
File without changes
File without changes