@anker-in/headless-ui 1.0.26-alpha.1762331489014 → 1.0.26-alpha.1762396031065

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 (390) hide show
  1. package/dist/cjs/biz-components/AiuiProvider/index.js +1 -1
  2. package/dist/cjs/biz-components/AiuiProvider/index.js.map +2 -2
  3. package/dist/cjs/biz-components/AplusDesc/index.js +2 -0
  4. package/dist/cjs/biz-components/AplusDesc/index.js.map +7 -0
  5. package/dist/cjs/biz-components/DownLoad/index.js +2 -0
  6. package/dist/cjs/biz-components/DownLoad/index.js.map +7 -0
  7. package/dist/cjs/biz-components/Faq/Faq.js +1 -1
  8. package/dist/cjs/biz-components/Faq/Faq.js.map +2 -2
  9. package/dist/cjs/biz-components/Features/index.js +2 -0
  10. package/dist/cjs/biz-components/Features/index.js.map +7 -0
  11. package/dist/cjs/biz-components/FootCharger/index.js +2 -0
  12. package/dist/cjs/biz-components/FootCharger/index.js.map +7 -0
  13. package/dist/cjs/biz-components/GiftBox/index.js +2 -0
  14. package/dist/cjs/biz-components/GiftBox/index.js.map +7 -0
  15. package/dist/cjs/biz-components/Graphic/index.js +1 -1
  16. package/dist/cjs/biz-components/Graphic/index.js.map +2 -2
  17. package/dist/cjs/biz-components/GraphicMore/index.js +2 -0
  18. package/dist/cjs/biz-components/GraphicMore/index.js.map +7 -0
  19. package/dist/cjs/biz-components/HeroBanner/Countdown.js +2 -0
  20. package/dist/cjs/biz-components/HeroBanner/Countdown.js.map +7 -0
  21. package/dist/cjs/biz-components/HeroBanner/HeroBanner.js +1 -1
  22. package/dist/cjs/biz-components/HeroBanner/HeroBanner.js.map +3 -3
  23. package/dist/cjs/biz-components/HeroBanner/types.js.map +1 -1
  24. package/dist/cjs/biz-components/Listing/BizProductProvider.js +2 -0
  25. package/dist/cjs/biz-components/Listing/BizProductProvider.js.map +7 -0
  26. package/dist/cjs/biz-components/Listing/components/PaidShipping/LearnMore.js +2 -0
  27. package/dist/cjs/biz-components/Listing/components/PaidShipping/LearnMore.js.map +7 -0
  28. package/dist/cjs/biz-components/Listing/components/PaidShipping/ShippingMethod.js +2 -0
  29. package/dist/cjs/biz-components/Listing/components/PaidShipping/ShippingMethod.js.map +7 -0
  30. package/dist/cjs/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.js +2 -0
  31. package/dist/cjs/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.js.map +7 -0
  32. package/dist/cjs/biz-components/Listing/components/PaidShipping/index.js +2 -0
  33. package/dist/cjs/biz-components/Listing/components/PaidShipping/index.js.map +7 -0
  34. package/dist/cjs/biz-components/Listing/components/PaidShipping/type.js +2 -0
  35. package/dist/cjs/biz-components/Listing/components/PaidShipping/type.js.map +7 -0
  36. package/dist/cjs/biz-components/Listing/components/PaidShipping/utils.js +2 -0
  37. package/dist/cjs/biz-components/Listing/components/PaidShipping/utils.js.map +7 -0
  38. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.js +40 -0
  39. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.js.map +7 -0
  40. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js +2 -0
  41. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js.map +7 -0
  42. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js +2 -0
  43. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js.map +7 -0
  44. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.js +2 -0
  45. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.js.map +7 -0
  46. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js +2 -0
  47. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js.map +7 -0
  48. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js +2 -0
  49. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js.map +7 -0
  50. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js +2 -0
  51. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js.map +7 -0
  52. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/index.js +2 -0
  53. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/index.js.map +7 -0
  54. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/types.js +2 -0
  55. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/types.js.map +7 -0
  56. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js +2 -0
  57. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js.map +7 -0
  58. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js +2 -0
  59. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js.map +7 -0
  60. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js +2 -0
  61. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js.map +7 -0
  62. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js +2 -0
  63. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js.map +7 -0
  64. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/index.js +2 -0
  65. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/index.js.map +7 -0
  66. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/types.js +2 -0
  67. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/types.js.map +7 -0
  68. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGridBox.js +2 -0
  69. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGridBox.js.map +7 -0
  70. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/index.js +2 -0
  71. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/index.js.map +7 -0
  72. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/types.js +2 -0
  73. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/types.js.map +7 -0
  74. package/dist/cjs/biz-components/Listing/components/ProductCard/index.js +2 -0
  75. package/dist/cjs/biz-components/Listing/components/ProductCard/index.js.map +7 -0
  76. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ProductActions/index.js +2 -0
  77. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ProductActions/index.js.map +7 -0
  78. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js +2 -0
  79. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js.map +7 -0
  80. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js +2 -0
  81. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js.map +7 -0
  82. package/dist/cjs/biz-components/Listing/components/PurchaseBar/index.js +2 -0
  83. package/dist/cjs/biz-components/Listing/components/PurchaseBar/index.js.map +7 -0
  84. package/dist/cjs/biz-components/Listing/components/PurchaseBar/types.js +2 -0
  85. package/dist/cjs/biz-components/Listing/components/PurchaseBar/types.js.map +7 -0
  86. package/dist/cjs/biz-components/Listing/components/index.js +2 -0
  87. package/dist/cjs/biz-components/Listing/components/index.js.map +7 -0
  88. package/dist/cjs/biz-components/Listing/const.js +2 -0
  89. package/dist/cjs/biz-components/Listing/const.js.map +7 -0
  90. package/dist/cjs/biz-components/Listing/hooks/use-variant-media.js +2 -0
  91. package/dist/cjs/biz-components/Listing/hooks/use-variant-media.js.map +7 -0
  92. package/dist/cjs/biz-components/Listing/hooks/use-variant.js +2 -0
  93. package/dist/cjs/biz-components/Listing/hooks/use-variant.js.map +7 -0
  94. package/dist/cjs/biz-components/Listing/hooks/useBenefits.js +2 -0
  95. package/dist/cjs/biz-components/Listing/hooks/useBenefits.js.map +7 -0
  96. package/dist/cjs/biz-components/Listing/hooks/useCopy.js +2 -0
  97. package/dist/cjs/biz-components/Listing/hooks/useCopy.js.map +7 -0
  98. package/dist/cjs/biz-components/Listing/index.js +2 -0
  99. package/dist/cjs/biz-components/Listing/index.js.map +7 -0
  100. package/dist/cjs/biz-components/Listing/types/graphql.js +2 -0
  101. package/dist/cjs/biz-components/Listing/types/graphql.js.map +7 -0
  102. package/dist/cjs/biz-components/Listing/types/product.js +2 -0
  103. package/dist/cjs/biz-components/Listing/types/product.js.map +7 -0
  104. package/dist/cjs/biz-components/Listing/types/productMetafields.d.js +2 -0
  105. package/dist/cjs/biz-components/Listing/types/productMetafields.d.js.map +7 -0
  106. package/dist/cjs/biz-components/Listing/types/type-helper.js +2 -0
  107. package/dist/cjs/biz-components/Listing/types/type-helper.js.map +7 -0
  108. package/dist/cjs/biz-components/Listing/types.js +2 -0
  109. package/dist/cjs/biz-components/Listing/types.js.map +7 -0
  110. package/dist/cjs/biz-components/Listing/utils/helper.js +2 -0
  111. package/dist/cjs/biz-components/Listing/utils/helper.js.map +7 -0
  112. package/dist/cjs/biz-components/Listing/utils/index.js +2 -0
  113. package/dist/cjs/biz-components/Listing/utils/index.js.map +7 -0
  114. package/dist/cjs/biz-components/Listing/utils/textFormat.js +2 -0
  115. package/dist/cjs/biz-components/Listing/utils/textFormat.js.map +7 -0
  116. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  117. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +2 -2
  118. package/dist/cjs/biz-components/SelectStore/index.js +2 -0
  119. package/dist/cjs/biz-components/SelectStore/index.js.map +7 -0
  120. package/dist/cjs/biz-components/ShelfDisplay/index.js +1 -1
  121. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +3 -3
  122. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplay.js +1 -1
  123. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplay.js.map +3 -3
  124. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js +4 -4
  125. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js.map +3 -3
  126. package/dist/cjs/biz-components/index.js +1 -1
  127. package/dist/cjs/biz-components/index.js.map +3 -3
  128. package/dist/cjs/components/checkbox.js +1 -1
  129. package/dist/cjs/components/checkbox.js.map +3 -3
  130. package/dist/cjs/helpers/ScrollLoadVideo.js +1 -1
  131. package/dist/cjs/helpers/ScrollLoadVideo.js.map +3 -3
  132. package/dist/cjs/hooks/useRollout.js +2 -0
  133. package/dist/cjs/hooks/useRollout.js.map +7 -0
  134. package/dist/cjs/src/biz-components/AiuiProvider/index.d.ts +4 -0
  135. package/dist/cjs/src/biz-components/AplusDesc/index.d.ts +23 -0
  136. package/dist/cjs/src/biz-components/DownLoad/index.d.ts +21 -0
  137. package/dist/cjs/src/biz-components/Features/index.d.ts +27 -0
  138. package/dist/cjs/src/biz-components/FootCharger/index.d.ts +13 -0
  139. package/dist/cjs/src/biz-components/GiftBox/index.d.ts +18 -0
  140. package/dist/cjs/src/biz-components/GraphicMore/index.d.ts +23 -0
  141. package/dist/cjs/src/biz-components/HeroBanner/Countdown.d.ts +9 -0
  142. package/dist/cjs/src/biz-components/HeroBanner/types.d.ts +6 -0
  143. package/dist/cjs/src/biz-components/Listing/BizProductProvider.d.ts +126 -0
  144. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/LearnMore.d.ts +2 -0
  145. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/ShippingMethod.d.ts +10 -0
  146. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.d.ts +25 -0
  147. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/index.d.ts +12 -0
  148. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/type.d.ts +30 -0
  149. package/dist/cjs/src/biz-components/Listing/components/PaidShipping/utils.d.ts +2 -0
  150. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.d.ts +38 -0
  151. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.d.ts +30 -0
  152. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.d.ts +2 -0
  153. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.d.ts +2 -0
  154. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.d.ts +2 -0
  155. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.d.ts +2 -0
  156. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.d.ts +2 -0
  157. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/index.d.ts +2 -0
  158. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductDetail/types.d.ts +43 -0
  159. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.d.ts +2 -0
  160. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.d.ts +21 -0
  161. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.d.ts +5 -0
  162. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.d.ts +1 -0
  163. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/index.d.ts +2 -0
  164. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGallery/types.d.ts +42 -0
  165. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductGridBox.d.ts +6 -0
  166. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductSummary/index.d.ts +3 -0
  167. package/dist/cjs/src/biz-components/Listing/components/ProductCard/ProductSummary/types.d.ts +2 -0
  168. package/dist/cjs/src/biz-components/Listing/components/ProductCard/index.d.ts +2 -0
  169. package/dist/cjs/src/biz-components/Listing/components/PurchaseBar/ProductActions/index.d.ts +2 -0
  170. package/dist/cjs/src/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.d.ts +4 -0
  171. package/dist/cjs/src/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.d.ts +10 -0
  172. package/dist/cjs/src/biz-components/Listing/components/PurchaseBar/index.d.ts +3 -0
  173. package/dist/cjs/src/biz-components/Listing/components/PurchaseBar/types.d.ts +12 -0
  174. package/dist/cjs/src/biz-components/Listing/components/index.d.ts +3 -0
  175. package/dist/cjs/src/biz-components/Listing/const.d.ts +29 -0
  176. package/dist/cjs/src/biz-components/Listing/hooks/use-variant-media.d.ts +14 -0
  177. package/dist/cjs/src/biz-components/Listing/hooks/use-variant.d.ts +5 -0
  178. package/dist/cjs/src/biz-components/Listing/hooks/useBenefits.d.ts +50 -0
  179. package/dist/cjs/src/biz-components/Listing/hooks/useCopy.d.ts +5 -0
  180. package/dist/cjs/src/biz-components/Listing/index.d.ts +4 -0
  181. package/dist/cjs/src/biz-components/Listing/types/graphql.d.ts +7473 -0
  182. package/dist/cjs/src/biz-components/Listing/types/product.d.ts +141 -0
  183. package/dist/cjs/src/biz-components/Listing/types/type-helper.d.ts +5 -0
  184. package/dist/cjs/src/biz-components/Listing/types.d.ts +28 -0
  185. package/dist/cjs/src/biz-components/Listing/utils/helper.d.ts +36 -0
  186. package/dist/cjs/src/biz-components/Listing/utils/index.d.ts +37 -0
  187. package/dist/cjs/src/biz-components/Listing/utils/textFormat.d.ts +73 -0
  188. package/dist/cjs/src/biz-components/SelectStore/index.d.ts +21 -0
  189. package/dist/cjs/src/biz-components/ShelfDisplay/shelfDisplay.d.ts +11 -2
  190. package/dist/cjs/src/biz-components/index.d.ts +24 -0
  191. package/dist/cjs/src/components/checkbox.d.ts +1 -0
  192. package/dist/cjs/src/hooks/useRollout.d.ts +14 -0
  193. package/dist/esm/biz-components/AiuiProvider/index.js +1 -1
  194. package/dist/esm/biz-components/AiuiProvider/index.js.map +2 -2
  195. package/dist/esm/biz-components/AplusDesc/index.js +2 -0
  196. package/dist/esm/biz-components/AplusDesc/index.js.map +7 -0
  197. package/dist/esm/biz-components/DownLoad/index.js +2 -0
  198. package/dist/esm/biz-components/DownLoad/index.js.map +7 -0
  199. package/dist/esm/biz-components/Faq/Faq.js +1 -1
  200. package/dist/esm/biz-components/Faq/Faq.js.map +3 -3
  201. package/dist/esm/biz-components/Features/index.js +2 -0
  202. package/dist/esm/biz-components/Features/index.js.map +7 -0
  203. package/dist/esm/biz-components/FootCharger/index.js +2 -0
  204. package/dist/esm/biz-components/FootCharger/index.js.map +7 -0
  205. package/dist/esm/biz-components/GiftBox/index.js +2 -0
  206. package/dist/esm/biz-components/GiftBox/index.js.map +7 -0
  207. package/dist/esm/biz-components/Graphic/index.js +1 -1
  208. package/dist/esm/biz-components/Graphic/index.js.map +2 -2
  209. package/dist/esm/biz-components/GraphicMore/index.js +2 -0
  210. package/dist/esm/biz-components/GraphicMore/index.js.map +7 -0
  211. package/dist/esm/biz-components/HeroBanner/Countdown.js +2 -0
  212. package/dist/esm/biz-components/HeroBanner/Countdown.js.map +7 -0
  213. package/dist/esm/biz-components/HeroBanner/HeroBanner.js +1 -1
  214. package/dist/esm/biz-components/HeroBanner/HeroBanner.js.map +3 -3
  215. package/dist/esm/biz-components/Listing/BizProductProvider.js +2 -0
  216. package/dist/esm/biz-components/Listing/BizProductProvider.js.map +7 -0
  217. package/dist/esm/biz-components/Listing/components/PaidShipping/LearnMore.js +2 -0
  218. package/dist/esm/biz-components/Listing/components/PaidShipping/LearnMore.js.map +7 -0
  219. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingMethod.js +2 -0
  220. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingMethod.js.map +7 -0
  221. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.js +2 -0
  222. package/dist/esm/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.js.map +7 -0
  223. package/dist/esm/biz-components/Listing/components/PaidShipping/index.js +2 -0
  224. package/dist/esm/biz-components/Listing/components/PaidShipping/index.js.map +7 -0
  225. package/dist/esm/biz-components/Listing/components/PaidShipping/type.js +2 -0
  226. package/dist/esm/biz-components/Listing/components/PaidShipping/type.js.map +7 -0
  227. package/dist/esm/biz-components/Listing/components/PaidShipping/utils.js +2 -0
  228. package/dist/esm/biz-components/Listing/components/PaidShipping/utils.js.map +7 -0
  229. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.js +40 -0
  230. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.js.map +7 -0
  231. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js +2 -0
  232. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js.map +7 -0
  233. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js +2 -0
  234. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js.map +7 -0
  235. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.js +2 -0
  236. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.js.map +7 -0
  237. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js +2 -0
  238. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js.map +7 -0
  239. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js +2 -0
  240. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js.map +7 -0
  241. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js +2 -0
  242. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js.map +7 -0
  243. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/index.js +2 -0
  244. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/index.js.map +7 -0
  245. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/types.js +2 -0
  246. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/types.js.map +7 -0
  247. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js +2 -0
  248. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js.map +7 -0
  249. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js +2 -0
  250. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js.map +7 -0
  251. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js +2 -0
  252. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js.map +7 -0
  253. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js +2 -0
  254. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js.map +7 -0
  255. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.js +2 -0
  256. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.js.map +7 -0
  257. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/types.js +2 -0
  258. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/types.js.map +7 -0
  259. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGridBox.js +2 -0
  260. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGridBox.js.map +7 -0
  261. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.js +2 -0
  262. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.js.map +7 -0
  263. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/types.js +1 -0
  264. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/types.js.map +7 -0
  265. package/dist/esm/biz-components/Listing/components/ProductCard/index.js +2 -0
  266. package/dist/esm/biz-components/Listing/components/ProductCard/index.js.map +7 -0
  267. package/dist/esm/biz-components/Listing/components/PurchaseBar/ProductActions/index.js +2 -0
  268. package/dist/esm/biz-components/Listing/components/PurchaseBar/ProductActions/index.js.map +7 -0
  269. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js +2 -0
  270. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js.map +7 -0
  271. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js +1 -0
  272. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js.map +7 -0
  273. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.js +2 -0
  274. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.js.map +7 -0
  275. package/dist/esm/biz-components/Listing/components/PurchaseBar/types.js +1 -0
  276. package/dist/esm/biz-components/Listing/components/PurchaseBar/types.js.map +7 -0
  277. package/dist/esm/biz-components/Listing/components/index.js +2 -0
  278. package/dist/esm/biz-components/Listing/components/index.js.map +7 -0
  279. package/dist/esm/biz-components/Listing/const.js +2 -0
  280. package/dist/esm/biz-components/Listing/const.js.map +7 -0
  281. package/dist/esm/biz-components/Listing/hooks/use-variant-media.js +2 -0
  282. package/dist/esm/biz-components/Listing/hooks/use-variant-media.js.map +7 -0
  283. package/dist/esm/biz-components/Listing/hooks/use-variant.js +2 -0
  284. package/dist/esm/biz-components/Listing/hooks/use-variant.js.map +7 -0
  285. package/dist/esm/biz-components/Listing/hooks/useBenefits.js +2 -0
  286. package/dist/esm/biz-components/Listing/hooks/useBenefits.js.map +7 -0
  287. package/dist/esm/biz-components/Listing/hooks/useCopy.js +2 -0
  288. package/dist/esm/biz-components/Listing/hooks/useCopy.js.map +7 -0
  289. package/dist/esm/biz-components/Listing/index.js +2 -0
  290. package/dist/esm/biz-components/Listing/index.js.map +7 -0
  291. package/dist/esm/biz-components/Listing/types/graphql.js +2 -0
  292. package/dist/esm/biz-components/Listing/types/graphql.js.map +7 -0
  293. package/dist/esm/biz-components/Listing/types/product.js +2 -0
  294. package/dist/esm/biz-components/Listing/types/product.js.map +7 -0
  295. package/dist/esm/biz-components/Listing/types/productMetafields.d.js +2 -0
  296. package/dist/esm/biz-components/Listing/types/productMetafields.d.js.map +7 -0
  297. package/dist/esm/biz-components/Listing/types/type-helper.js +1 -0
  298. package/dist/esm/biz-components/Listing/types/type-helper.js.map +7 -0
  299. package/dist/esm/biz-components/Listing/types.js +1 -0
  300. package/dist/esm/biz-components/Listing/types.js.map +7 -0
  301. package/dist/esm/biz-components/Listing/utils/helper.js +2 -0
  302. package/dist/esm/biz-components/Listing/utils/helper.js.map +7 -0
  303. package/dist/esm/biz-components/Listing/utils/index.js +2 -0
  304. package/dist/esm/biz-components/Listing/utils/index.js.map +7 -0
  305. package/dist/esm/biz-components/Listing/utils/textFormat.js +2 -0
  306. package/dist/esm/biz-components/Listing/utils/textFormat.js.map +7 -0
  307. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  308. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +2 -2
  309. package/dist/esm/biz-components/SelectStore/index.js +2 -0
  310. package/dist/esm/biz-components/SelectStore/index.js.map +7 -0
  311. package/dist/esm/biz-components/ShelfDisplay/index.js +1 -1
  312. package/dist/esm/biz-components/ShelfDisplay/index.js.map +3 -3
  313. package/dist/esm/biz-components/ShelfDisplay/shelfDisplay.js +1 -1
  314. package/dist/esm/biz-components/ShelfDisplay/shelfDisplay.js.map +3 -3
  315. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js +9 -9
  316. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js.map +3 -3
  317. package/dist/esm/biz-components/index.js +1 -1
  318. package/dist/esm/biz-components/index.js.map +2 -2
  319. package/dist/esm/components/checkbox.js +1 -1
  320. package/dist/esm/components/checkbox.js.map +3 -3
  321. package/dist/esm/helpers/ScrollLoadVideo.js +1 -1
  322. package/dist/esm/helpers/ScrollLoadVideo.js.map +3 -3
  323. package/dist/esm/hooks/useRollout.js +2 -0
  324. package/dist/esm/hooks/useRollout.js.map +7 -0
  325. package/dist/esm/src/biz-components/AiuiProvider/index.d.ts +4 -0
  326. package/dist/esm/src/biz-components/AplusDesc/index.d.ts +23 -0
  327. package/dist/esm/src/biz-components/DownLoad/index.d.ts +21 -0
  328. package/dist/esm/src/biz-components/Features/index.d.ts +27 -0
  329. package/dist/esm/src/biz-components/FootCharger/index.d.ts +13 -0
  330. package/dist/esm/src/biz-components/GiftBox/index.d.ts +18 -0
  331. package/dist/esm/src/biz-components/GraphicMore/index.d.ts +23 -0
  332. package/dist/esm/src/biz-components/HeroBanner/Countdown.d.ts +9 -0
  333. package/dist/esm/src/biz-components/HeroBanner/types.d.ts +6 -0
  334. package/dist/esm/src/biz-components/Listing/BizProductProvider.d.ts +126 -0
  335. package/dist/esm/src/biz-components/Listing/components/PaidShipping/LearnMore.d.ts +2 -0
  336. package/dist/esm/src/biz-components/Listing/components/PaidShipping/ShippingMethod.d.ts +10 -0
  337. package/dist/esm/src/biz-components/Listing/components/PaidShipping/ShippingPolicyModal.d.ts +25 -0
  338. package/dist/esm/src/biz-components/Listing/components/PaidShipping/index.d.ts +12 -0
  339. package/dist/esm/src/biz-components/Listing/components/PaidShipping/type.d.ts +30 -0
  340. package/dist/esm/src/biz-components/Listing/components/PaidShipping/utils.d.ts +2 -0
  341. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.d.ts +38 -0
  342. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.d.ts +30 -0
  343. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.d.ts +2 -0
  344. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.d.ts +2 -0
  345. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.d.ts +2 -0
  346. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.d.ts +2 -0
  347. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.d.ts +2 -0
  348. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/index.d.ts +2 -0
  349. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductDetail/types.d.ts +43 -0
  350. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.d.ts +2 -0
  351. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.d.ts +21 -0
  352. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.d.ts +5 -0
  353. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.d.ts +1 -0
  354. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/index.d.ts +2 -0
  355. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGallery/types.d.ts +42 -0
  356. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductGridBox.d.ts +6 -0
  357. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductSummary/index.d.ts +3 -0
  358. package/dist/esm/src/biz-components/Listing/components/ProductCard/ProductSummary/types.d.ts +2 -0
  359. package/dist/esm/src/biz-components/Listing/components/ProductCard/index.d.ts +2 -0
  360. package/dist/esm/src/biz-components/Listing/components/PurchaseBar/ProductActions/index.d.ts +2 -0
  361. package/dist/esm/src/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.d.ts +4 -0
  362. package/dist/esm/src/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.d.ts +10 -0
  363. package/dist/esm/src/biz-components/Listing/components/PurchaseBar/index.d.ts +3 -0
  364. package/dist/esm/src/biz-components/Listing/components/PurchaseBar/types.d.ts +12 -0
  365. package/dist/esm/src/biz-components/Listing/components/index.d.ts +3 -0
  366. package/dist/esm/src/biz-components/Listing/const.d.ts +29 -0
  367. package/dist/esm/src/biz-components/Listing/hooks/use-variant-media.d.ts +14 -0
  368. package/dist/esm/src/biz-components/Listing/hooks/use-variant.d.ts +5 -0
  369. package/dist/esm/src/biz-components/Listing/hooks/useBenefits.d.ts +50 -0
  370. package/dist/esm/src/biz-components/Listing/hooks/useCopy.d.ts +5 -0
  371. package/dist/esm/src/biz-components/Listing/index.d.ts +4 -0
  372. package/dist/esm/src/biz-components/Listing/types/graphql.d.ts +7473 -0
  373. package/dist/esm/src/biz-components/Listing/types/product.d.ts +141 -0
  374. package/dist/esm/src/biz-components/Listing/types/type-helper.d.ts +5 -0
  375. package/dist/esm/src/biz-components/Listing/types.d.ts +28 -0
  376. package/dist/esm/src/biz-components/Listing/utils/helper.d.ts +36 -0
  377. package/dist/esm/src/biz-components/Listing/utils/index.d.ts +37 -0
  378. package/dist/esm/src/biz-components/Listing/utils/textFormat.d.ts +73 -0
  379. package/dist/esm/src/biz-components/SelectStore/index.d.ts +21 -0
  380. package/dist/esm/src/biz-components/ShelfDisplay/shelfDisplay.d.ts +11 -2
  381. package/dist/esm/src/biz-components/index.d.ts +24 -0
  382. package/dist/esm/src/components/checkbox.d.ts +1 -0
  383. package/dist/esm/src/hooks/useRollout.d.ts +14 -0
  384. package/dist/tokens/anker.css +1 -0
  385. package/dist/tokens/base.css +1 -1
  386. package/dist/tokens/eufy.css +1 -0
  387. package/dist/tokens/eufyMake.css +1 -0
  388. package/dist/tokens/solix.css +1 -0
  389. package/dist/tokens/soundcore.css +1 -0
  390. package/package.json +3 -1
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import type { Img } from '../../types/props.js';
3
+ export type FeaturesDataType = {
4
+ img: Img;
5
+ mobileImg: Img;
6
+ title: string;
7
+ description: string;
8
+ numberOne: string;
9
+ textOne: string;
10
+ numberTwo: string;
11
+ textTwo: string;
12
+ icon: Img;
13
+ };
14
+ type FeaturesType = {
15
+ data: {
16
+ title: string;
17
+ img: Img;
18
+ mobileImg: Img;
19
+ list: FeaturesDataType[];
20
+ };
21
+ className?: string;
22
+ };
23
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<FeaturesType, keyof import("../../shared/Styles.js").StylesProps> & Partial<import("../../shared/Styles.js").StylesProps & import("../../shared/Styles.js").ContainerProps> & {
24
+ className?: string | undefined;
25
+ data?: Record<string, any> | undefined;
26
+ } & import("react").RefAttributes<any>>;
27
+ export default _default;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ type FootChargerType = {
3
+ data: {
4
+ title: string;
5
+ text: string;
6
+ };
7
+ className?: string;
8
+ };
9
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<FootChargerType, keyof import("../../shared/Styles.js").StylesProps> & Partial<import("../../shared/Styles.js").StylesProps & import("../../shared/Styles.js").ContainerProps> & {
10
+ className?: string | undefined;
11
+ data?: Record<string, any> | undefined;
12
+ } & import("react").RefAttributes<any>>;
13
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import type { Img } from '../../types/props.js';
3
+ export type GiftBoxDataType = {
4
+ img: Img;
5
+ mobileImg: Img;
6
+ title: string;
7
+ };
8
+ type GiftBoxType = {
9
+ data: {
10
+ list: GiftBoxDataType[];
11
+ };
12
+ className?: string;
13
+ };
14
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<GiftBoxType, keyof import("../../shared/Styles.js").StylesProps> & Partial<import("../../shared/Styles.js").StylesProps & import("../../shared/Styles.js").ContainerProps> & {
15
+ className?: string | undefined;
16
+ data?: Record<string, any> | undefined;
17
+ } & import("react").RefAttributes<any>>;
18
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import type { Img } from '../../types/props.js';
3
+ export type GraphicMoreDataType = {
4
+ img: Img;
5
+ mobileImg: Img;
6
+ title: string;
7
+ description: string;
8
+ theme: 'light' | 'dark';
9
+ fullWidth: 'true' | 'false';
10
+ span: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
11
+ };
12
+ type GraphicMoreType = {
13
+ data: {
14
+ shape?: 'rounded' | 'square';
15
+ productsTab: GraphicMoreDataType[];
16
+ };
17
+ className?: string;
18
+ };
19
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<GraphicMoreType, keyof import("../../shared/Styles.js").StylesProps> & Partial<import("../../shared/Styles.js").StylesProps & import("../../shared/Styles.js").ContainerProps> & {
20
+ className?: string | undefined;
21
+ data?: Record<string, any> | undefined;
22
+ } & import("react").RefAttributes<any>>;
23
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ endDate: string;
4
+ endDate_tz?: string;
5
+ locale?: string;
6
+ onExpire?: () => void;
7
+ };
8
+ export declare const CountdownByEndDate: React.FC<Props>;
9
+ export default CountdownByEndDate;
@@ -6,6 +6,12 @@ export interface HeroBannerProps {
6
6
  title: string;
7
7
  /** 副标题/描述文本 */
8
8
  subtitle: string;
9
+ /** 结束时间(ISO 字符串) */
10
+ endDate?: string;
11
+ /** 结束时间时区(如: America/Los_Angeles) */
12
+ endDate_tz?: string;
13
+ /** 图标列表 */
14
+ iconArray?: Array<any>;
9
15
  pcImage: Media;
10
16
  padImage?: Media;
11
17
  mobileImage: Media;
@@ -0,0 +1,126 @@
1
+ import React, { type Dispatch, type SetStateAction, type PropsWithChildren } from 'react';
2
+ import type { Product, ProductPrice, ProductVariant, VariantCoupon, Options, FreeGift, BundleListItem, Bundle } from './types/product';
3
+ import type { CompareData, DiscountData } from './types.js';
4
+ type Country = {
5
+ id?: number;
6
+ name?: string;
7
+ code?: string;
8
+ };
9
+ export type UserProfile = {
10
+ user_id: string;
11
+ email: string;
12
+ nick_name?: string;
13
+ full_name?: string;
14
+ first_name?: string;
15
+ last_name?: string;
16
+ dob?: string;
17
+ gender?: string;
18
+ phone_number?: string;
19
+ phone_account?: string;
20
+ country?: Country;
21
+ is_subscribe?: boolean;
22
+ avatar?: string;
23
+ can_change_password?: boolean;
24
+ invitation_code?: string;
25
+ phone_carrier?: string;
26
+ dob_programmed?: boolean;
27
+ activated?: boolean;
28
+ registed_at?: number;
29
+ activated_at?: number;
30
+ token?: string;
31
+ };
32
+ export type SavingDetail = {
33
+ coupon: number;
34
+ bundle: number;
35
+ member: number;
36
+ freeGift: number;
37
+ compare: number;
38
+ exchangePurchase: number;
39
+ };
40
+ type variantWithFinalPrice = ProductVariant & {
41
+ finalPrice?: ProductPrice;
42
+ };
43
+ export type FunctionMemberPriceResult = {
44
+ hasMemberPrice: boolean;
45
+ originalPrice: number;
46
+ withCouponMemberTotalSave: number;
47
+ withoutCouponMaxMemberTotalSave?: number;
48
+ labels: {
49
+ key: string;
50
+ value: string;
51
+ desc: string;
52
+ }[];
53
+ };
54
+ export type ModalData = {
55
+ needClickAway?: boolean;
56
+ className?: string;
57
+ title?: string;
58
+ content?: string;
59
+ domContent?: React.ReactNode;
60
+ };
61
+ export type JoinedRecommendBuyProducts = {
62
+ bundle?: {
63
+ value?: BundleListItem;
64
+ canOperate?: boolean;
65
+ };
66
+ gift?: {
67
+ value?: ProductVariant;
68
+ canOperate?: boolean;
69
+ };
70
+ exchange?: {
71
+ value?: ProductVariant;
72
+ canOperate?: boolean;
73
+ };
74
+ };
75
+ export interface ProductContextType {
76
+ isLogin?: boolean;
77
+ isMobile?: boolean;
78
+ isDesktop?: boolean;
79
+ product: Product;
80
+ profile?: UserProfile;
81
+ variant: ProductVariant;
82
+ selectedVariants: Array<variantWithFinalPrice>;
83
+ renderRating?: React.ReactNode;
84
+ coupon?: VariantCoupon;
85
+ savingDetail: SavingDetail;
86
+ setSavingDetail: Dispatch<SetStateAction<SavingDetail>>;
87
+ finalPrice: number;
88
+ comparePrice: number;
89
+ totalSavings: number;
90
+ selectedOptions: Options;
91
+ setSelectedOptions: Dispatch<SetStateAction<Options>>;
92
+ freeGift?: FreeGift;
93
+ checkedGift?: ProductVariant;
94
+ setCheckedGift?: Dispatch<SetStateAction<ProductVariant | undefined>>;
95
+ exchangePurchase?: FreeGift;
96
+ checkedExchangePurchase?: ProductVariant;
97
+ setCheckedExchangePurchase?: Dispatch<SetStateAction<ProductVariant | undefined>>;
98
+ checkedBundle?: BundleListItem;
99
+ setCheckedBundle: Dispatch<SetStateAction<BundleListItem | undefined>>;
100
+ joinedRecommendBuyProducts: JoinedRecommendBuyProducts;
101
+ setJoinedRecommendBuyProducts?: Dispatch<SetStateAction<JoinedRecommendBuyProducts>>;
102
+ checkedCareBundle?: ProductVariant;
103
+ setCheckedCareBundle?: Dispatch<SetStateAction<ProductVariant | undefined>>;
104
+ bundle?: Bundle;
105
+ compareData?: CompareData['data'];
106
+ onAddToCart?: () => void;
107
+ onBuyNow?: () => void;
108
+ creditsRedemptionAmount?: number;
109
+ memberFunctionResult?: FunctionMemberPriceResult;
110
+ openModal: ({ title, content, domContent }: ModalData) => void;
111
+ openSignInPopup?: () => void;
112
+ openAuthCodePopup?: () => void;
113
+ openSignUpPopup?: () => void;
114
+ renderAffirm?: React.ReactNode;
115
+ renderKlarna?: React.ReactNode;
116
+ renderPaypal?: React.ReactNode;
117
+ onUseCouponChange?: (couponSaving: number) => void;
118
+ onUseMemberDiscountChange?: (memberSaving: number) => void;
119
+ discount?: DiscountData;
120
+ buyNowLoading?: boolean;
121
+ addToCartLoading?: boolean;
122
+ }
123
+ export declare const BizProductContext: React.Context<ProductContextType>;
124
+ export declare const useBizProductContext: () => ProductContextType;
125
+ declare const ProductProvider: ({ product, isLogin, profile, isMobile, isDesktop, children, renderRating, freeGift, exchangePurchase, bundle, checkedBundle, checkedGift, setCheckedBundle, setCheckedGift, checkedExchangePurchase, setCheckedExchangePurchase, variant, selectedOptions, setSelectedOptions, compareData, coupon, finalPrice, comparePrice, totalSavings, savingDetail, setSavingDetail, selectedVariants, onAddToCart, onBuyNow, creditsRedemptionAmount, memberFunctionResult, openModal, openSignInPopup, openAuthCodePopup, openSignUpPopup, renderAffirm, renderKlarna, renderPaypal, onUseCouponChange, onUseMemberDiscountChange, discount, buyNowLoading, addToCartLoading, }: PropsWithChildren<Omit<ProductContextType, 'joinedRecommendBuyProducts' | 'setJoinedRecommendBuyProducts'>>) => import("react/jsx-runtime").JSX.Element;
126
+ export default ProductProvider;
@@ -0,0 +1,2 @@
1
+ declare const LearnMore: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default LearnMore;
@@ -0,0 +1,10 @@
1
+ declare const ShippingMethod: ({ item, index, active, toggleShipping, currencyCode, metafields, className, }: {
2
+ item: any;
3
+ index: number;
4
+ active: boolean;
5
+ toggleShipping: (item: any, index: number) => void;
6
+ currencyCode: string;
7
+ metafields: any;
8
+ className?: string;
9
+ }) => import("react/jsx-runtime").JSX.Element;
10
+ export default ShippingMethod;
@@ -0,0 +1,25 @@
1
+ interface Terms {
2
+ text: string;
3
+ url: string;
4
+ }
5
+ interface List {
6
+ title: string;
7
+ list: string[];
8
+ }
9
+ interface ShippingService {
10
+ title: string;
11
+ list: List[];
12
+ }
13
+ interface Data {
14
+ title: string;
15
+ shippingCoupon: List;
16
+ shippingService: ShippingService;
17
+ terms: Terms;
18
+ }
19
+ interface Props {
20
+ data: Data;
21
+ onClose: () => void;
22
+ open: boolean;
23
+ }
24
+ export declare const ShippingPolicyModal: ({ data, onClose, open }: Props) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { Product, ProductVariant } from '../../types/product';
2
+ import type { DeliveryCustom } from './type';
3
+ declare const PaidShipping: ({ metafields, productList, onShippingInfoChange, variant, className, }: {
4
+ metafields: any;
5
+ productList: Array<Product & {
6
+ variant: ProductVariant;
7
+ }>;
8
+ variant: ProductVariant;
9
+ onShippingInfoChange: (deliveryCustom: DeliveryCustom) => void;
10
+ className?: string;
11
+ }) => import("react/jsx-runtime").JSX.Element;
12
+ export default PaidShipping;
@@ -0,0 +1,30 @@
1
+ export declare enum ShippingMethodMode {
2
+ FREE = "free",
3
+ TDD = "tdd",
4
+ NDD = "ndd"
5
+ }
6
+ export type shippingMetafields = {
7
+ __mode: ShippingMethodMode;
8
+ __code: string;
9
+ title: string;
10
+ subtitle: string;
11
+ price: number;
12
+ weight_low?: number | null;
13
+ weight_high?: number | null;
14
+ __plus?: boolean;
15
+ };
16
+ export type ShippingMethodType = {
17
+ error: unknown;
18
+ code: string;
19
+ mode: ShippingMethodMode;
20
+ title: string;
21
+ disabled: boolean;
22
+ tag: string;
23
+ price: number;
24
+ subtitle: string;
25
+ id: string;
26
+ };
27
+ export type DeliveryCustom = {
28
+ selected_delivery_code?: string;
29
+ selected_delivery_mode?: ShippingMethodMode;
30
+ };
@@ -0,0 +1,2 @@
1
+ import type { shippingMetafields } from './type.js';
2
+ export declare const isWeightAvailable: (weight: number, method: shippingMetafields) => boolean;
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ interface BenefitsTabTextConfig {
3
+ couponCode?: string;
4
+ copyCode?: string;
5
+ copied?: string;
6
+ expired?: string;
7
+ offCoupon?: string;
8
+ offMemberOnly?: string;
9
+ loginNow?: string;
10
+ selectFreeGift?: string;
11
+ bundleSaveUpTo?: string;
12
+ bundleOffer?: string;
13
+ creditsTitle?: string;
14
+ creditsDesc?: string;
15
+ yourBenefits?: string;
16
+ off?: string;
17
+ memberBenefits?: string;
18
+ memberBenefitsNotLogin?: string;
19
+ memberBenefitsNotLoginText?: string;
20
+ installment?: string;
21
+ forNewMember?: string;
22
+ expressShipping?: string;
23
+ creditsAfterActivation?: string;
24
+ active?: string;
25
+ flexibleInstallment?: string;
26
+ }
27
+ export type ModalData = {
28
+ needClickAway?: boolean;
29
+ className?: string;
30
+ title?: string;
31
+ content?: string;
32
+ domContent?: React.ReactNode;
33
+ };
34
+ interface BenefitsTabProps {
35
+ textConfig?: BenefitsTabTextConfig;
36
+ }
37
+ declare const BenefitsTab: ({ textConfig }: BenefitsTabProps) => import("react/jsx-runtime").JSX.Element | null;
38
+ export default BenefitsTab;
@@ -0,0 +1,30 @@
1
+ import { type ReactNode, type HTMLAttributes } from 'react';
2
+ interface BenefitsTabsProps extends HTMLAttributes<HTMLDivElement> {
3
+ defaultValue?: string;
4
+ value?: string;
5
+ onValueChange?: (value: string) => void;
6
+ children: ReactNode;
7
+ }
8
+ declare const ProductBenefitsTabs: {
9
+ ({ defaultValue, value, onValueChange, children, className, ...props }: BenefitsTabsProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ List: import("react").ForwardRefExoticComponent<BenefitsTabsListProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ Trigger: ({ value, children, className, ...props }: BenefitsTabsTriggerProps) => import("react/jsx-runtime").JSX.Element;
13
+ Badge: ({ children, className, ...props }: BenefitsTabsBadgeProps) => import("react/jsx-runtime").JSX.Element;
14
+ Content: ({ value, children, className, ...props }: BenefitsTabsContentProps) => import("react/jsx-runtime").JSX.Element;
15
+ };
16
+ interface BenefitsTabsListProps extends HTMLAttributes<HTMLDivElement> {
17
+ children: ReactNode;
18
+ }
19
+ interface BenefitsTabsTriggerProps extends HTMLAttributes<HTMLButtonElement> {
20
+ value: string;
21
+ children: ReactNode;
22
+ }
23
+ interface BenefitsTabsBadgeProps extends HTMLAttributes<HTMLSpanElement> {
24
+ children: ReactNode;
25
+ }
26
+ interface BenefitsTabsContentProps extends HTMLAttributes<HTMLDivElement> {
27
+ value: string;
28
+ children: ReactNode;
29
+ }
30
+ export default ProductBenefitsTabs;
@@ -0,0 +1,2 @@
1
+ declare const ProductBundle: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ProductBundle;
@@ -0,0 +1,2 @@
1
+ declare const ProductExchangePurchase: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ProductExchangePurchase;
@@ -0,0 +1,2 @@
1
+ declare const ProductFreeGift: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ProductFreeGift;
@@ -0,0 +1,2 @@
1
+ declare const ProductHighlight: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ProductHighlight;
@@ -0,0 +1,2 @@
1
+ declare const ProductOptions: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default ProductOptions;
@@ -0,0 +1,2 @@
1
+ declare const ProductDetail: (props: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default ProductDetail;
@@ -0,0 +1,43 @@
1
+ import type { ProductOption } from '../../../../../cpn-components/CpnProductCard/types.js';
2
+ import type { Img } from '../../../../../types/props.js';
3
+ export interface ProductDetailProps {
4
+ }
5
+ export declare enum BenefitsTabsType {
6
+ ALL_BENEFITS = "allBenefits",
7
+ COUPON = "coupon",
8
+ INSTALLMENT = "installment",
9
+ MEMBERSHIP = "membership"
10
+ }
11
+ export interface ProductBenefitsTabsProps {
12
+ data: {
13
+ allBenefits: {
14
+ benefits: {
15
+ type?: BenefitsTabsType;
16
+ tabName: string;
17
+ tabValue: string;
18
+ collectBgImage?: Img;
19
+ coupons?: BenefitsTabCouponProps[];
20
+ }[];
21
+ };
22
+ };
23
+ }
24
+ export interface BenefitsTabCouponProps {
25
+ code: string;
26
+ title: string;
27
+ description: string;
28
+ discount: number;
29
+ bgImage: Img;
30
+ }
31
+ export interface ProductBenefitsTabCouponProps {
32
+ coupons?: BenefitsTabCouponProps[];
33
+ }
34
+ export interface HighlightProps {
35
+ data: any;
36
+ }
37
+ export interface ProductOptionsProps {
38
+ option: ProductOption;
39
+ onOptionChange: (arg0: {
40
+ id: string;
41
+ value: string;
42
+ }) => void;
43
+ }
@@ -0,0 +1,2 @@
1
+ declare const CompareModal: () => import("react/jsx-runtime").JSX.Element | null;
2
+ export default CompareModal;
@@ -0,0 +1,21 @@
1
+ interface SelectProps {
2
+ label?: string;
3
+ required?: boolean;
4
+ list?: {
5
+ value: string;
6
+ text: string;
7
+ disabled?: boolean;
8
+ }[];
9
+ value?: string;
10
+ disabled?: boolean;
11
+ error?: string;
12
+ errorClassName?: string;
13
+ onChange?: (value: string) => void;
14
+ placeholder?: string;
15
+ className?: string;
16
+ containerClassName?: string;
17
+ selectListClassName?: string;
18
+ truncate?: boolean;
19
+ }
20
+ declare const Select: ({ label, required, list, value, disabled, error, errorClassName, onChange, placeholder, className, containerClassName, selectListClassName, truncate, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
21
+ export default Select;
@@ -0,0 +1,5 @@
1
+ export declare const ShopifyColorOption: ({ onClick, label, className, }: {
2
+ onClick?: () => void;
3
+ label: string;
4
+ className?: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const SpecsModal: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const ProductGallery: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ProductGallery;
@@ -0,0 +1,42 @@
1
+ import type { Img } from '../../../../../types/props.js';
2
+ import type { ImageMedia, VideoMedia } from '../../../hooks/use-variant-media.js';
3
+ export interface ProductGalleryProps {
4
+ data: {
5
+ gallerySections: {
6
+ title: string;
7
+ }[];
8
+ };
9
+ }
10
+ export interface ProductGalleryTabItemProps {
11
+ index?: number;
12
+ realIndex?: number;
13
+ galleryTabType: GalleryTabType;
14
+ galleries: ImageMedia[] | VideoMedia[];
15
+ onCurrentTabLoopStart?: (index: number) => void;
16
+ onCurrentTabLoopEnd?: (index: number) => void;
17
+ onNextTab?: () => void;
18
+ onPrevTab?: () => void;
19
+ targetSlideIndex?: number | null;
20
+ onSlideChange?: () => void;
21
+ id: string;
22
+ comment?: {
23
+ content: string;
24
+ avatar: Img;
25
+ };
26
+ tabLabel: string;
27
+ tabValue: string;
28
+ }
29
+ export interface GalleryTabItemProps {
30
+ tabLabel: string;
31
+ tabValue: string;
32
+ id: string;
33
+ galleryTabType: GalleryTabType;
34
+ galleries: ImageMedia[] | VideoMedia[];
35
+ }
36
+ export declare enum GalleryTabType {
37
+ GALLERY_IMAGE_MAIN = "ipc-gallery-tab-image-main",
38
+ GALLERY_IMAGE_FEATURES = "ipc-gallery-tab-image-features",
39
+ GALLERY_IMAGE_SCENE = "ipc-gallery-tab-image-scene",
40
+ GALLERY_VIDEO = "ipc-gallery-tab-video",
41
+ GALLERY_3D_VIEW = "ipc-gallery-tab-3d-view"
42
+ }
@@ -0,0 +1,6 @@
1
+ declare const ProductGridBox: ({ BoxLeftGallery, BoxRightDetail, BoxBottomSummary, }: {
2
+ BoxLeftGallery: React.ReactNode;
3
+ BoxRightDetail: React.ReactNode;
4
+ BoxBottomSummary: React.ReactNode;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default ProductGridBox;
@@ -0,0 +1,3 @@
1
+ import type { ProductSummaryProps } from './types';
2
+ declare const ProductSummary: ({}: ProductSummaryProps) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default ProductSummary;
@@ -0,0 +1,2 @@
1
+ export interface ProductSummaryProps {
2
+ }
@@ -0,0 +1,2 @@
1
+ declare const ProductCard: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ProductCard;
@@ -0,0 +1,2 @@
1
+ declare const ProductActions: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ProductActions;
@@ -0,0 +1,4 @@
1
+ import type { ScrollSpyNavProps } from './types.js';
2
+ declare const MobileScrollSpyNav: ({ tabs, purchaseBarHeight, onSpyNavItemClick }: ScrollSpyNavProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const DesktopScrollSpyNav: ({ tabs, onSpyNavItemClick }: ScrollSpyNavProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { MobileScrollSpyNav, DesktopScrollSpyNav };
@@ -0,0 +1,10 @@
1
+ export interface ScrollSpyNavItem {
2
+ label: string;
3
+ href: string;
4
+ id: string;
5
+ }
6
+ export interface ScrollSpyNavProps {
7
+ tabs: ScrollSpyNavItem[];
8
+ purchaseBarHeight?: number;
9
+ onSpyNavItemClick?: (tab: ScrollSpyNavItem) => void;
10
+ }
@@ -0,0 +1,3 @@
1
+ import type { PurchaseBarProps } from './types.js';
2
+ declare const PurchaseBar: ({ onSpyNavItemClick }: PurchaseBarProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PurchaseBar;
@@ -0,0 +1,12 @@
1
+ export interface PurchaseBarProps {
2
+ onSpyNavItemClick?: (tab: ScrollSpyNavItem) => void;
3
+ }
4
+ export interface ScrollSpyNavItem {
5
+ label: string;
6
+ href: string;
7
+ id: string;
8
+ }
9
+ export interface ScrollSpyNavProps extends Pick<PurchaseBarProps, 'onSpyNavItemClick'> {
10
+ tabs: ScrollSpyNavItem[];
11
+ purchaseBarHeight: number;
12
+ }
@@ -0,0 +1,3 @@
1
+ export { default as PurchaseBar } from './PurchaseBar/index.js';
2
+ export { default as ProductActions } from './PurchaseBar/ProductActions/index.js';
3
+ export { default as ProductCard } from './ProductCard/index.js';
@@ -0,0 +1,29 @@
1
+ export declare enum DiscountType {
2
+ fixedAmount = "fixed_amount",
3
+ percentage = "percentage",
4
+ fixedDiscountAmount = "fix_discount_amount"
5
+ }
6
+ export declare enum CouponChannel {
7
+ LIGHTNING_DEAL = "LIGHTNING_DEAL",
8
+ DEAL = "LIGHTNING_DEAL",
9
+ COUPON = "COUPON",
10
+ PED = "PED",
11
+ WS24 = "WS24",
12
+ WSTD = "WSTD",
13
+ WSCH = "WSCH"
14
+ }
15
+ export declare const PRICE_SYMBOL: {
16
+ us: string;
17
+ uk: string;
18
+ ca: string;
19
+ eu: string;
20
+ pl: string;
21
+ fr: string;
22
+ de: string;
23
+ vn: string;
24
+ cl: string;
25
+ sg: string;
26
+ ae: string;
27
+ es: string;
28
+ };
29
+ export declare const COLOR_LABEL: string[];