@anker-in/headless-ui 1.0.19-temp-101407 → 1.0.19-temp-101408

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 (357) hide show
  1. package/dist/cjs/biz-components/AccordionCards/index.js.map +2 -2
  2. package/dist/cjs/biz-components/CollectionsFilters/FilterCardWrap.js +1 -1
  3. package/dist/cjs/biz-components/CollectionsFilters/FilterCardWrap.js.map +3 -3
  4. package/dist/cjs/biz-components/CollectionsFilters/component/filtersFun.js.map +1 -1
  5. package/dist/cjs/biz-components/FooterNavigation/index.js +1 -1
  6. package/dist/cjs/biz-components/FooterNavigation/index.js.map +3 -3
  7. package/dist/cjs/biz-components/FooterNavigation/types.d.ts +1 -2
  8. package/dist/cjs/biz-components/FooterNavigation/types.js +1 -1
  9. package/dist/cjs/biz-components/FooterNavigation/types.js.map +2 -2
  10. package/dist/cjs/biz-components/HeaderNavigation/NavProvider.d.ts +5 -6
  11. package/dist/cjs/biz-components/HeaderNavigation/NavProvider.js +1 -1
  12. package/dist/cjs/biz-components/HeaderNavigation/NavProvider.js.map +3 -3
  13. package/dist/cjs/biz-components/HeaderNavigation/icons/index.d.ts +1 -2
  14. package/dist/cjs/biz-components/HeaderNavigation/icons/index.js +1 -1
  15. package/dist/cjs/biz-components/HeaderNavigation/icons/index.js.map +3 -3
  16. package/dist/cjs/biz-components/HeaderNavigation/index.js +1 -1
  17. package/dist/cjs/biz-components/HeaderNavigation/index.js.map +3 -3
  18. package/dist/cjs/biz-components/HeaderNavigation/types.d.ts +2 -16
  19. package/dist/cjs/biz-components/HeaderNavigation/types.js +1 -1
  20. package/dist/cjs/biz-components/HeaderNavigation/types.js.map +2 -2
  21. package/dist/cjs/biz-components/HeaderNavigation/withCategory.d.ts +1 -1
  22. package/dist/cjs/biz-components/HeaderNavigation/withCategory.js +1 -1
  23. package/dist/cjs/biz-components/HeaderNavigation/withCategory.js.map +3 -3
  24. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  25. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +2 -2
  26. package/dist/cjs/biz-components/ShelfDisplay/index.js +1 -1
  27. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +3 -3
  28. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplay.js +1 -1
  29. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplay.js.map +3 -3
  30. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js +4 -4
  31. package/dist/cjs/biz-components/ShelfDisplay/shelfDisplayItem.js.map +3 -3
  32. package/dist/cjs/biz-components/Subscribe/index.d.ts +1 -7
  33. package/dist/cjs/biz-components/Subscribe/index.js +1 -1
  34. package/dist/cjs/biz-components/Subscribe/index.js.map +3 -3
  35. package/dist/cjs/biz-components/Title/index.js +1 -1
  36. package/dist/cjs/biz-components/Title/index.js.map +2 -2
  37. package/dist/cjs/biz-components/Title/types.d.ts +1 -3
  38. package/dist/cjs/biz-components/Title/types.js +1 -1
  39. package/dist/cjs/biz-components/Title/types.js.map +1 -1
  40. package/dist/cjs/biz-components/index.d.ts +0 -25
  41. package/dist/cjs/biz-components/index.js +1 -1
  42. package/dist/cjs/biz-components/index.js.map +3 -3
  43. package/dist/cjs/components/button.js +1 -1
  44. package/dist/cjs/components/button.js.map +2 -2
  45. package/dist/cjs/components/container.js +1 -1
  46. package/dist/cjs/components/container.js.map +2 -2
  47. package/dist/cjs/components/dialog.d.ts +1 -3
  48. package/dist/cjs/components/dialog.js +1 -1
  49. package/dist/cjs/components/dialog.js.map +3 -3
  50. package/dist/cjs/components/index.d.ts +0 -1
  51. package/dist/cjs/components/index.js +1 -1
  52. package/dist/cjs/components/index.js.map +3 -3
  53. package/dist/cjs/helpers/utils.d.ts +0 -1
  54. package/dist/cjs/helpers/utils.js +1 -1
  55. package/dist/cjs/helpers/utils.js.map +3 -3
  56. package/dist/cjs/stories/shelfDisplay.stories.js +1 -644
  57. package/dist/cjs/stories/shelfDisplay.stories.js.map +2 -2
  58. package/dist/cjs/stories/tabs.stories.js +1 -1
  59. package/dist/cjs/stories/tabs.stories.js.map +3 -3
  60. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  61. package/dist/esm/biz-components/AccordionCards/index.js.map +2 -2
  62. package/dist/esm/biz-components/CollectionsFilters/FilterCardWrap.js +1 -1
  63. package/dist/esm/biz-components/CollectionsFilters/FilterCardWrap.js.map +3 -3
  64. package/dist/esm/biz-components/CollectionsFilters/component/filtersFun.js.map +1 -1
  65. package/dist/esm/biz-components/FooterNavigation/index.js +1 -1
  66. package/dist/esm/biz-components/FooterNavigation/index.js.map +3 -3
  67. package/dist/esm/biz-components/FooterNavigation/types.d.ts +1 -2
  68. package/dist/esm/biz-components/FooterNavigation/types.js +1 -1
  69. package/dist/esm/biz-components/FooterNavigation/types.js.map +2 -2
  70. package/dist/esm/biz-components/HeaderNavigation/NavProvider.d.ts +5 -6
  71. package/dist/esm/biz-components/HeaderNavigation/NavProvider.js +1 -1
  72. package/dist/esm/biz-components/HeaderNavigation/NavProvider.js.map +3 -3
  73. package/dist/esm/biz-components/HeaderNavigation/icons/index.d.ts +1 -2
  74. package/dist/esm/biz-components/HeaderNavigation/icons/index.js +1 -1
  75. package/dist/esm/biz-components/HeaderNavigation/icons/index.js.map +3 -3
  76. package/dist/esm/biz-components/HeaderNavigation/index.js +1 -1
  77. package/dist/esm/biz-components/HeaderNavigation/index.js.map +3 -3
  78. package/dist/esm/biz-components/HeaderNavigation/types.d.ts +2 -16
  79. package/dist/esm/biz-components/HeaderNavigation/types.js +1 -1
  80. package/dist/esm/biz-components/HeaderNavigation/types.js.map +2 -2
  81. package/dist/esm/biz-components/HeaderNavigation/withCategory.d.ts +1 -1
  82. package/dist/esm/biz-components/HeaderNavigation/withCategory.js +1 -1
  83. package/dist/esm/biz-components/HeaderNavigation/withCategory.js.map +3 -3
  84. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  85. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +2 -2
  86. package/dist/esm/biz-components/ShelfDisplay/index.js +1 -1
  87. package/dist/esm/biz-components/ShelfDisplay/index.js.map +3 -3
  88. package/dist/esm/biz-components/ShelfDisplay/shelfDisplay.js +1 -1
  89. package/dist/esm/biz-components/ShelfDisplay/shelfDisplay.js.map +3 -3
  90. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js +9 -9
  91. package/dist/esm/biz-components/ShelfDisplay/shelfDisplayItem.js.map +3 -3
  92. package/dist/esm/biz-components/Subscribe/index.d.ts +1 -7
  93. package/dist/esm/biz-components/Subscribe/index.js +1 -1
  94. package/dist/esm/biz-components/Subscribe/index.js.map +3 -3
  95. package/dist/esm/biz-components/Title/index.js +1 -1
  96. package/dist/esm/biz-components/Title/index.js.map +2 -2
  97. package/dist/esm/biz-components/Title/types.d.ts +1 -3
  98. package/dist/esm/biz-components/index.d.ts +0 -25
  99. package/dist/esm/biz-components/index.js +1 -1
  100. package/dist/esm/biz-components/index.js.map +3 -3
  101. package/dist/esm/components/button.js +1 -1
  102. package/dist/esm/components/button.js.map +2 -2
  103. package/dist/esm/components/container.js +1 -1
  104. package/dist/esm/components/container.js.map +2 -2
  105. package/dist/esm/components/dialog.d.ts +1 -3
  106. package/dist/esm/components/dialog.js +1 -1
  107. package/dist/esm/components/dialog.js.map +3 -3
  108. package/dist/esm/components/index.d.ts +0 -1
  109. package/dist/esm/components/index.js +1 -1
  110. package/dist/esm/components/index.js.map +2 -2
  111. package/dist/esm/helpers/utils.d.ts +0 -1
  112. package/dist/esm/helpers/utils.js +1 -1
  113. package/dist/esm/helpers/utils.js.map +3 -3
  114. package/dist/esm/stories/shelfDisplay.stories.js +1 -644
  115. package/dist/esm/stories/shelfDisplay.stories.js.map +2 -2
  116. package/dist/esm/stories/tabs.stories.js +1 -1
  117. package/dist/esm/stories/tabs.stories.js.map +3 -3
  118. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  119. package/dist/tokens/base.css +1 -1
  120. package/package.json +1 -1
  121. package/style.css +0 -4
  122. package/dist/cjs/biz-components/AplusDesc/index.js +0 -2
  123. package/dist/cjs/biz-components/AplusDesc/index.js.map +0 -7
  124. package/dist/cjs/biz-components/DownLoad/index.js +0 -2
  125. package/dist/cjs/biz-components/DownLoad/index.js.map +0 -7
  126. package/dist/cjs/biz-components/Features/index.js +0 -2
  127. package/dist/cjs/biz-components/Features/index.js.map +0 -7
  128. package/dist/cjs/biz-components/FootCharger/index.js +0 -2
  129. package/dist/cjs/biz-components/FootCharger/index.js.map +0 -7
  130. package/dist/cjs/biz-components/GiftBox/index.js +0 -2
  131. package/dist/cjs/biz-components/GiftBox/index.js.map +0 -7
  132. package/dist/cjs/biz-components/GraphicMore/index.js +0 -2
  133. package/dist/cjs/biz-components/GraphicMore/index.js.map +0 -7
  134. package/dist/cjs/biz-components/HeaderNavigation/icons/Polygon.js +0 -2
  135. package/dist/cjs/biz-components/HeaderNavigation/icons/Polygon.js.map +0 -7
  136. package/dist/cjs/biz-components/Listing/ProductProvider.js +0 -2
  137. package/dist/cjs/biz-components/Listing/ProductProvider.js.map +0 -7
  138. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js +0 -2
  139. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js.map +0 -7
  140. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js +0 -2
  141. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js.map +0 -7
  142. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js +0 -2
  143. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js.map +0 -7
  144. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js +0 -2
  145. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js.map +0 -7
  146. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js +0 -2
  147. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js.map +0 -7
  148. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/index.js +0 -2
  149. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/index.js.map +0 -7
  150. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/types.js +0 -2
  151. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/types.js.map +0 -7
  152. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js +0 -2
  153. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js.map +0 -7
  154. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js +0 -2
  155. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js.map +0 -7
  156. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js +0 -2
  157. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js.map +0 -7
  158. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js +0 -2
  159. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js.map +0 -7
  160. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/index.js +0 -2
  161. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/index.js.map +0 -7
  162. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/types.js +0 -2
  163. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/types.js.map +0 -7
  164. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGridBox.js +0 -2
  165. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGridBox.js.map +0 -7
  166. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/index.js +0 -2
  167. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/index.js.map +0 -7
  168. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/types.js +0 -2
  169. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/types.js.map +0 -7
  170. package/dist/cjs/biz-components/Listing/components/ProductCard/index.js +0 -2
  171. package/dist/cjs/biz-components/Listing/components/ProductCard/index.js.map +0 -7
  172. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ProductActions/index.js +0 -2
  173. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ProductActions/index.js.map +0 -7
  174. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js +0 -2
  175. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js.map +0 -7
  176. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js +0 -2
  177. package/dist/cjs/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js.map +0 -7
  178. package/dist/cjs/biz-components/Listing/components/PurchaseBar/index.js +0 -2
  179. package/dist/cjs/biz-components/Listing/components/PurchaseBar/index.js.map +0 -7
  180. package/dist/cjs/biz-components/Listing/components/PurchaseBar/types.js +0 -2
  181. package/dist/cjs/biz-components/Listing/components/PurchaseBar/types.js.map +0 -7
  182. package/dist/cjs/biz-components/Listing/components/index.js +0 -2
  183. package/dist/cjs/biz-components/Listing/components/index.js.map +0 -7
  184. package/dist/cjs/biz-components/Listing/const.js +0 -2
  185. package/dist/cjs/biz-components/Listing/const.js.map +0 -7
  186. package/dist/cjs/biz-components/Listing/hooks/use-options.js +0 -2
  187. package/dist/cjs/biz-components/Listing/hooks/use-options.js.map +0 -7
  188. package/dist/cjs/biz-components/Listing/hooks/use-variant-media.js +0 -2
  189. package/dist/cjs/biz-components/Listing/hooks/use-variant-media.js.map +0 -7
  190. package/dist/cjs/biz-components/Listing/hooks/use-variant.js +0 -2
  191. package/dist/cjs/biz-components/Listing/hooks/use-variant.js.map +0 -7
  192. package/dist/cjs/biz-components/Listing/hooks/useCopy.js +0 -2
  193. package/dist/cjs/biz-components/Listing/hooks/useCopy.js.map +0 -7
  194. package/dist/cjs/biz-components/Listing/index.js +0 -2
  195. package/dist/cjs/biz-components/Listing/index.js.map +0 -7
  196. package/dist/cjs/biz-components/Listing/types/graphql.js +0 -2
  197. package/dist/cjs/biz-components/Listing/types/graphql.js.map +0 -7
  198. package/dist/cjs/biz-components/Listing/types/product.js +0 -2
  199. package/dist/cjs/biz-components/Listing/types/product.js.map +0 -7
  200. package/dist/cjs/biz-components/Listing/types/productMetafields.d.js +0 -2
  201. package/dist/cjs/biz-components/Listing/types/productMetafields.d.js.map +0 -7
  202. package/dist/cjs/biz-components/Listing/types/type-helper.js +0 -2
  203. package/dist/cjs/biz-components/Listing/types/type-helper.js.map +0 -7
  204. package/dist/cjs/biz-components/Listing/types.js +0 -2
  205. package/dist/cjs/biz-components/Listing/types.js.map +0 -7
  206. package/dist/cjs/biz-components/Listing/utils/helper.js +0 -2
  207. package/dist/cjs/biz-components/Listing/utils/helper.js.map +0 -7
  208. package/dist/cjs/biz-components/Listing/utils/index.js +0 -2
  209. package/dist/cjs/biz-components/Listing/utils/index.js.map +0 -7
  210. package/dist/cjs/biz-components/NavigationSearch/index.js +0 -2
  211. package/dist/cjs/biz-components/NavigationSearch/index.js.map +0 -7
  212. package/dist/cjs/biz-components/NavigationSearch/types.js +0 -2
  213. package/dist/cjs/biz-components/NavigationSearch/types.js.map +0 -7
  214. package/dist/cjs/biz-components/SearchPage/index.js +0 -2
  215. package/dist/cjs/biz-components/SearchPage/index.js.map +0 -7
  216. package/dist/cjs/biz-components/SearchPage/types.js +0 -2
  217. package/dist/cjs/biz-components/SearchPage/types.js.map +0 -7
  218. package/dist/cjs/biz-components/SelectStore/index.js +0 -2
  219. package/dist/cjs/biz-components/SelectStore/index.js.map +0 -7
  220. package/dist/cjs/biz-components/Specs/dropdown.js +0 -3
  221. package/dist/cjs/biz-components/Specs/dropdown.js.map +0 -7
  222. package/dist/cjs/biz-components/Specs/index.js +0 -2
  223. package/dist/cjs/biz-components/Specs/index.js.map +0 -7
  224. package/dist/cjs/components/loadingDots.js +0 -42
  225. package/dist/cjs/components/loadingDots.js.map +0 -7
  226. package/dist/cjs/stories/aplusdesc.stories.js +0 -2
  227. package/dist/cjs/stories/aplusdesc.stories.js.map +0 -7
  228. package/dist/cjs/stories/download.stories.js +0 -2
  229. package/dist/cjs/stories/download.stories.js.map +0 -7
  230. package/dist/cjs/stories/features.stories.js +0 -2
  231. package/dist/cjs/stories/features.stories.js.map +0 -7
  232. package/dist/cjs/stories/footcharger.stories.js +0 -2
  233. package/dist/cjs/stories/footcharger.stories.js.map +0 -7
  234. package/dist/cjs/stories/giftbox.stories.js +0 -2
  235. package/dist/cjs/stories/giftbox.stories.js.map +0 -7
  236. package/dist/cjs/stories/graphicMore.stories.js +0 -2
  237. package/dist/cjs/stories/graphicMore.stories.js.map +0 -7
  238. package/dist/cjs/stories/selectstore.stories.js +0 -2
  239. package/dist/cjs/stories/selectstore.stories.js.map +0 -7
  240. package/dist/esm/biz-components/AplusDesc/index.js +0 -2
  241. package/dist/esm/biz-components/AplusDesc/index.js.map +0 -7
  242. package/dist/esm/biz-components/DownLoad/index.js +0 -2
  243. package/dist/esm/biz-components/DownLoad/index.js.map +0 -7
  244. package/dist/esm/biz-components/Features/index.js +0 -2
  245. package/dist/esm/biz-components/Features/index.js.map +0 -7
  246. package/dist/esm/biz-components/FootCharger/index.js +0 -2
  247. package/dist/esm/biz-components/FootCharger/index.js.map +0 -7
  248. package/dist/esm/biz-components/GiftBox/index.js +0 -2
  249. package/dist/esm/biz-components/GiftBox/index.js.map +0 -7
  250. package/dist/esm/biz-components/GraphicMore/index.js +0 -2
  251. package/dist/esm/biz-components/GraphicMore/index.js.map +0 -7
  252. package/dist/esm/biz-components/HeaderNavigation/icons/Polygon.js +0 -2
  253. package/dist/esm/biz-components/HeaderNavigation/icons/Polygon.js.map +0 -7
  254. package/dist/esm/biz-components/Listing/ProductProvider.js +0 -2
  255. package/dist/esm/biz-components/Listing/ProductProvider.js.map +0 -7
  256. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js +0 -2
  257. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js.map +0 -7
  258. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js +0 -2
  259. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.js.map +0 -7
  260. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js +0 -2
  261. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js.map +0 -7
  262. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js +0 -2
  263. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js.map +0 -7
  264. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js +0 -2
  265. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.js.map +0 -7
  266. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/index.js +0 -2
  267. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/index.js.map +0 -7
  268. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/types.js +0 -2
  269. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/types.js.map +0 -7
  270. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js +0 -2
  271. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/CompareModal.js.map +0 -7
  272. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js +0 -2
  273. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/Select.js.map +0 -7
  274. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js +0 -2
  275. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/ShopifyColorOption.js.map +0 -7
  276. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js +0 -2
  277. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/components/SpecsModal.js.map +0 -7
  278. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.js +0 -2
  279. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.js.map +0 -7
  280. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/types.js +0 -2
  281. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/types.js.map +0 -7
  282. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGridBox.js +0 -2
  283. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGridBox.js.map +0 -7
  284. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.js +0 -2
  285. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.js.map +0 -7
  286. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/types.js +0 -1
  287. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/types.js.map +0 -7
  288. package/dist/esm/biz-components/Listing/components/ProductCard/index.js +0 -2
  289. package/dist/esm/biz-components/Listing/components/ProductCard/index.js.map +0 -7
  290. package/dist/esm/biz-components/Listing/components/PurchaseBar/ProductActions/index.js +0 -2
  291. package/dist/esm/biz-components/Listing/components/PurchaseBar/ProductActions/index.js.map +0 -7
  292. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js +0 -2
  293. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/index.js.map +0 -7
  294. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js +0 -1
  295. package/dist/esm/biz-components/Listing/components/PurchaseBar/ScrollSpyNav/types.js.map +0 -7
  296. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.js +0 -2
  297. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.js.map +0 -7
  298. package/dist/esm/biz-components/Listing/components/PurchaseBar/types.js +0 -1
  299. package/dist/esm/biz-components/Listing/components/PurchaseBar/types.js.map +0 -7
  300. package/dist/esm/biz-components/Listing/components/index.js +0 -2
  301. package/dist/esm/biz-components/Listing/components/index.js.map +0 -7
  302. package/dist/esm/biz-components/Listing/const.js +0 -2
  303. package/dist/esm/biz-components/Listing/const.js.map +0 -7
  304. package/dist/esm/biz-components/Listing/hooks/use-options.js +0 -2
  305. package/dist/esm/biz-components/Listing/hooks/use-options.js.map +0 -7
  306. package/dist/esm/biz-components/Listing/hooks/use-variant-media.js +0 -2
  307. package/dist/esm/biz-components/Listing/hooks/use-variant-media.js.map +0 -7
  308. package/dist/esm/biz-components/Listing/hooks/use-variant.js +0 -2
  309. package/dist/esm/biz-components/Listing/hooks/use-variant.js.map +0 -7
  310. package/dist/esm/biz-components/Listing/hooks/useCopy.js +0 -2
  311. package/dist/esm/biz-components/Listing/hooks/useCopy.js.map +0 -7
  312. package/dist/esm/biz-components/Listing/index.js +0 -2
  313. package/dist/esm/biz-components/Listing/index.js.map +0 -7
  314. package/dist/esm/biz-components/Listing/types/graphql.js +0 -2
  315. package/dist/esm/biz-components/Listing/types/graphql.js.map +0 -7
  316. package/dist/esm/biz-components/Listing/types/product.js +0 -2
  317. package/dist/esm/biz-components/Listing/types/product.js.map +0 -7
  318. package/dist/esm/biz-components/Listing/types/productMetafields.d.js +0 -2
  319. package/dist/esm/biz-components/Listing/types/productMetafields.d.js.map +0 -7
  320. package/dist/esm/biz-components/Listing/types/type-helper.js +0 -1
  321. package/dist/esm/biz-components/Listing/types/type-helper.js.map +0 -7
  322. package/dist/esm/biz-components/Listing/types.js +0 -1
  323. package/dist/esm/biz-components/Listing/types.js.map +0 -7
  324. package/dist/esm/biz-components/Listing/utils/helper.js +0 -2
  325. package/dist/esm/biz-components/Listing/utils/helper.js.map +0 -7
  326. package/dist/esm/biz-components/Listing/utils/index.js +0 -2
  327. package/dist/esm/biz-components/Listing/utils/index.js.map +0 -7
  328. package/dist/esm/biz-components/NavigationSearch/index.js +0 -2
  329. package/dist/esm/biz-components/NavigationSearch/index.js.map +0 -7
  330. package/dist/esm/biz-components/NavigationSearch/types.js +0 -2
  331. package/dist/esm/biz-components/NavigationSearch/types.js.map +0 -7
  332. package/dist/esm/biz-components/SearchPage/index.js +0 -2
  333. package/dist/esm/biz-components/SearchPage/index.js.map +0 -7
  334. package/dist/esm/biz-components/SearchPage/types.js +0 -2
  335. package/dist/esm/biz-components/SearchPage/types.js.map +0 -7
  336. package/dist/esm/biz-components/SelectStore/index.js +0 -2
  337. package/dist/esm/biz-components/SelectStore/index.js.map +0 -7
  338. package/dist/esm/biz-components/Specs/dropdown.js +0 -3
  339. package/dist/esm/biz-components/Specs/dropdown.js.map +0 -7
  340. package/dist/esm/biz-components/Specs/index.js +0 -2
  341. package/dist/esm/biz-components/Specs/index.js.map +0 -7
  342. package/dist/esm/components/loadingDots.js +0 -42
  343. package/dist/esm/components/loadingDots.js.map +0 -7
  344. package/dist/esm/stories/aplusdesc.stories.js +0 -2
  345. package/dist/esm/stories/aplusdesc.stories.js.map +0 -7
  346. package/dist/esm/stories/download.stories.js +0 -2
  347. package/dist/esm/stories/download.stories.js.map +0 -7
  348. package/dist/esm/stories/features.stories.js +0 -2
  349. package/dist/esm/stories/features.stories.js.map +0 -7
  350. package/dist/esm/stories/footcharger.stories.js +0 -2
  351. package/dist/esm/stories/footcharger.stories.js.map +0 -7
  352. package/dist/esm/stories/giftbox.stories.js +0 -2
  353. package/dist/esm/stories/giftbox.stories.js.map +0 -7
  354. package/dist/esm/stories/graphicMore.stories.js +0 -2
  355. package/dist/esm/stories/graphicMore.stories.js.map +0 -7
  356. package/dist/esm/stories/selectstore.stories.js +0 -2
  357. package/dist/esm/stories/selectstore.stories.js.map +0 -7
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/aplusdesc.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { AplusDesc } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/AplusDesc',\n component: AplusDesc,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof AplusDesc>\n\nexport default meta\n\nconst data = {\n title: 'Go to soundcore APP find AI brainwave audio for a more relaxing immersion experience',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236858_1.png?v=1758772681',\n alt: '',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236858_1.png?v=1758772681',\n alt: '',\n },\n list:[\n {\n title:'300+ AI brainwave audios',\n desc:'Charge in a Flash, Share in a Dash',\n theme: 'light',\n img:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430',\n alt:''\n },\n mobileImg:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429',\n alt:''\n }\n },\n {\n title:'300+ AI brainwave audios',\n desc:'Charge in a Flash, Share in a Dash',\n theme: 'light',\n img:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430',\n alt:''\n },\n mobileImg:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429',\n alt:''\n }\n },\n {\n title:'300+ AI brainwave audios',\n desc:'Charge in a Flash, Share in a Dash',\n theme: 'dark',\n img:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430',\n alt:''\n },\n mobileImg:{\n url:'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429',\n alt:''\n }\n }\n ]\n} as {\n title: string\n img: {\n url: string\n alt: string\n }\n mobileImg: {\n url: string\n alt: string\n }\n list: {\n title: string\n desc: string\n theme: 'light' | 'dark'\n img: {\n url: string\n alt: string\n }\n mobileImg: {\n url: string\n alt: string\n }\n }[]\n}\n\nexport const Default = () => <AplusDesc data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GA0F6B,IAAAK,EAAA,6BAzF7BC,EAA0B,sCAE1B,MAAMC,EAAO,CACX,MAAO,2BACP,UAAW,YACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,MAAO,uFACP,IAAK,CACH,IAAK,6FACL,IAAK,EACP,EACA,UAAW,CACT,IAAK,6FACL,IAAK,EACP,EACA,KAAK,CACH,CACI,MAAM,2BACN,KAAK,qCACL,MAAO,QACP,IAAI,CACA,IAAI,6FACJ,IAAI,EACR,EACA,UAAU,CACN,IAAI,2FACJ,IAAI,EACR,CACJ,EACA,CACI,MAAM,2BACN,KAAK,qCACL,MAAO,QACP,IAAI,CACA,IAAI,6FACJ,IAAI,EACR,EACA,UAAU,CACN,IAAI,2FACJ,IAAI,EACR,CACJ,EACA,CACI,MAAM,2BACN,KAAK,qCACL,MAAO,OACP,IAAI,CACA,IAAI,6FACJ,IAAI,EACR,EACA,UAAU,CACN,IAAI,2FACJ,IAAI,EACR,CACJ,CACF,CACF,EAyBaN,EAAU,OAAM,OAAC,aAAU,KAAMM,EAAM",
6
- "names": ["aplusdesc_stories_exports", "__export", "Default", "aplusdesc_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var s=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var r=(o,t)=>{for(var a in t)s(o,a,{get:t[a],enumerable:!0})},f=(o,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of c(t))!d.call(o,e)&&e!==a&&s(o,e,{get:()=>t[e],enumerable:!(i=p(t,e))||i.enumerable});return o};var m=o=>f(s({},"__esModule",{value:!0}),o);var D={};r(D,{Default:()=>w,default:()=>y});module.exports=m(D);var l=require("react/jsx-runtime"),n=require("../biz-components/index.js");const u={title:"Biz-Components/DownLoad",component:n.DownLoad,tags:["autodocs"],parameters:{layout:"centered"}};var y=u;const h={title:"Manual",line:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Vector_2342.png?v=1758628295",alt:""},link:"",text:"User Guide",time:"2024-11-18",icon:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/icon_download.png?v=1758628295",alt:""}},w=()=>(0,l.jsx)(n.DownLoad,{data:h});
2
- //# sourceMappingURL=download.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/download.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { DownLoad } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/DownLoad',\n component: DownLoad,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof DownLoad>\n\nexport default meta\n\nconst data = {\n title: 'Manual',\n line:{\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Vector_2342.png?v=1758628295',\n alt: '',\n },\n link:\"\",\n text: 'User Guide',\n time: '2024-11-18',\n icon: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/icon_download.png?v=1758628295',\n alt: '',\n },\n}\n\nexport const Default = () => <DownLoad data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GA6B6B,IAAAK,EAAA,6BA5B7BC,EAAyB,sCAEzB,MAAMC,EAAO,CACX,MAAO,0BACP,UAAW,WACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,MAAO,SACP,KAAK,CACH,IAAK,sFACL,IAAK,EACP,EACA,KAAK,GACL,KAAM,aACN,KAAM,aACN,KAAM,CACJ,IAAK,wFACL,IAAK,EACP,CACF,EAEaN,EAAU,OAAM,OAAC,YAAS,KAAMM,EAAM",
6
- "names": ["download_stories_exports", "__export", "Default", "download_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var i=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var m=(t,e)=>{for(var s in e)i(t,s,{get:e[s],enumerable:!0})},c=(t,e,s,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of p(e))!u.call(t,o)&&o!==s&&i(t,o,{get:()=>e[o],enumerable:!(a=n(e,o))||a.enumerable});return t};var f=t=>c(i({},"__esModule",{value:!0}),t);var _={};m(_,{Default:()=>y,default:()=>h});module.exports=f(_);var r=require("react/jsx-runtime"),l=require("../biz-components/index.js");const d={title:"Biz-Components/Features",component:l.Features,tags:["autodocs"],parameters:{layout:"centered"}};var h=d;const g={title:"Ideal for SideSleepers 3-Dimensional Ergonomic Design.",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_2.png?v=1758714429",alt:""},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235385_ede4b9f7-9c18-49d0-9a65-ea40321e2d21.png?v=1758714530",alt:""},list:[{title:"Ultra-Long Playtime:",description:"Sleep through the night with 14 hours of playback in Sleep mode, and 10 hours with Bluetooth. Enjoy 80 hours of listening and 55 hours of streaming content courtesy of a fully charged case.\xB9",numberOne:"14H",textOne:"Single Charge",numberTwo:"80H",textTwo:"with Charging Case",icon:{url:"",alt:""},img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429",alt:"Creative Module"}},{title:"Sleep Analytics for Better Rest",description:"Sleep A20 uses a MEMS sensor and real-time clock to track your movements, sleep positions, and duration. With precise sleep quality analytics and a new sleep score, you can make informed adjustments for optimal rest.",numberOne:"",textOne:"",numberTwo:"",textTwo:"",icon:{url:"",alt:""},img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_1.png?v=1758714430",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763_1.png?v=1758714429",alt:"Creative Module"}},{title:"Customize Your Sleep",description:"Take full control of your sleep experience with the soundcore app. Schedule auto-shutoff times, loop white noise, and set alarms that play through your earbuds without disturbing your family.",numberOne:"",textOne:"",numberTwo:"",textTwo:"",icon:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2147226508_1.png?v=1758769719",alt:""},img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429",alt:"Creative Module"}},{title:"How to Wear for Better Sleep",description:"1.Select ear tips and ear wings in a size suitable for your ears and sleeping position.2.Put earbuds in your ears at the angle shown.3.Twist to lock into place.",numberOne:"",textOne:"",numberTwo:"",textTwo:"",icon:{url:"",alt:""},img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_1.png?v=1758714430",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763_1.png?v=1758714429",alt:"Creative Module"}}]},y=()=>(0,r.jsx)(l.Features,{data:g});
2
- //# sourceMappingURL=features.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/features.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { Features } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/Features',\n component: Features,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof Features>\n\nexport default meta\n\nconst data = {\n title: 'Ideal for SideSleepers 3-Dimensional Ergonomic Design.',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_2.png?v=1758714429',\n alt: '',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235385_ede4b9f7-9c18-49d0-9a65-ea40321e2d21.png?v=1758714530',\n alt: '',\n },\n list: [\n {\n title: 'Ultra-Long Playtime:',\n description: 'Sleep through the night with 14 hours of playback in Sleep mode, and 10 hours with Bluetooth. Enjoy 80 hours of listening and 55 hours of streaming content courtesy of a fully charged case.\u00B9',\n numberOne: '14H',\n textOne: 'Single Charge',\n numberTwo: '80H',\n textTwo: 'with Charging Case',\n icon: {\n url: '',\n alt: '',\n },\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Sleep Analytics for Better Rest',\n description: 'Sleep A20 uses a MEMS sensor and real-time clock to track your movements, sleep positions, and duration. With precise sleep quality analytics and a new sleep score, you can make informed adjustments for optimal rest.',\n numberOne: '',\n textOne: '',\n numberTwo: '',\n textTwo: '',\n icon: {\n url: '',\n alt: '',\n },\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_1.png?v=1758714430',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763_1.png?v=1758714429',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Customize Your Sleep',\n description: 'Take full control of your sleep experience with the soundcore app. Schedule auto-shutoff times, loop white noise, and set alarms that play through your earbuds without disturbing your family.',\n numberOne: '',\n textOne: '',\n numberTwo: '',\n textTwo: '',\n icon: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2147226508_1.png?v=1758769719',\n alt: '',\n },\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1.png?v=1758714430',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763.png?v=1758714429',\n alt: 'Creative Module',\n },\n },\n {\n title: 'How to Wear for Better Sleep',\n description: '1.Select ear tips and ear wings in a size suitable for your ears and sleeping position.2.Put earbuds in your ears at the angle shown.3.Twist to lock into place.',\n numberOne: '',\n textOne: '',\n numberTwo: '',\n textTwo: '',\n icon: {\n url: '',\n alt: '',\n },\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235405_1_1.png?v=1758714430',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121236763_1.png?v=1758714429',\n alt: 'Creative Module',\n },\n },\n ],\n}\n\nexport const Default = () => <Features data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GA4G6B,IAAAK,EAAA,6BA3G7BC,EAAyB,sCAEzB,MAAMC,EAAO,CACX,MAAO,0BACP,UAAW,WACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,MAAO,yDACP,IAAK,CACH,IAAK,+FACL,IAAK,EACP,EACA,UAAW,CACT,IAAK,gIACL,IAAK,EACP,EACA,KAAM,CACJ,CACE,MAAO,uBACP,YAAa,oMACb,UAAW,MACX,QAAS,gBACT,UAAW,MACX,QAAS,qBACT,KAAM,CACJ,IAAK,GACL,IAAK,EACP,EACA,IAAK,CACH,IAAK,6FACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kCACP,YAAa,2NACb,UAAW,GACX,QAAS,GACT,UAAW,GACX,QAAS,GACT,KAAM,CACJ,IAAK,GACL,IAAK,EACP,EACA,IAAK,CACH,IAAK,+FACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,6FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,uBACP,YAAa,kMACb,UAAW,GACX,QAAS,GACT,UAAW,GACX,QAAS,GACT,KAAM,CACJ,IAAK,6FACL,IAAK,EACP,EACA,IAAK,CACH,IAAK,6FACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,+BACP,YAAa,mKACb,UAAW,GACX,QAAS,GACT,UAAW,GACX,QAAS,GACT,KAAM,CACJ,IAAK,GACL,IAAK,EACP,EACA,IAAK,CACH,IAAK,+FACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,6FACL,IAAK,iBACP,CACF,CACF,CACF,EAEaN,EAAU,OAAM,OAAC,YAAS,KAAMM,EAAM",
6
- "names": ["features_stories_exports", "__export", "Default", "features_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(e,t)=>{for(var a in t)s(e,a,{get:t[a],enumerable:!0})},d=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of u(t))!p.call(e,o)&&o!==a&&s(e,o,{get:()=>t[o],enumerable:!(i=n(t,o))||i.enumerable});return e};var h=e=>d(s({},"__esModule",{value:!0}),e);var g={};c(g,{Default:()=>b,default:()=>f});module.exports=h(g);var l=require("react/jsx-runtime"),r=require("../biz-components/index.js");const m={title:"Biz-Components/FootCharger",component:r.FootCharger,tags:["autodocs"],parameters:{layout:"centered"}};var f=m;const y={title:"Home / All / Wireless Chargers ",text:"*With optimal sunlight, the built-in solar panel can collect andstore 600 to 800 mAh per day.**If you choose to use cloud-based features such as Cloud Backup or push notifications with thumbnail previews,videos or thumbnail previews will be sent to the cloud as needed to provide your selected features."},b=()=>(0,l.jsx)(r.FootCharger,{data:y});
2
- //# sourceMappingURL=footcharger.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/footcharger.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { FootCharger } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/FootCharger',\n component: FootCharger,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof FootCharger>\n\nexport default meta\n\nconst data = {\n title: 'Home / All / Wireless Chargers ',\n text: '*With optimal sunlight, the built-in solar panel can collect andstore 600 to 800 mAh per day.**If you choose to use cloud-based features such as Cloud Backup or push notifications with thumbnail previews,videos or thumbnail previews will be sent to the cloud as needed to provide your selected features.',\n}\n\nexport const Default = () => <FootCharger data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAmB6B,IAAAK,EAAA,6BAlB7BC,EAA4B,sCAE5B,MAAMC,EAAO,CACX,MAAO,6BACP,UAAW,cACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,MAAO,kCACP,KAAM,iTACR,EAEaN,EAAU,OAAM,OAAC,eAAY,KAAMM,EAAM",
6
- "names": ["footcharger_stories_exports", "__export", "Default", "footcharger_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var i=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var f in e)i(t,f,{get:e[f],enumerable:!0})},r=(t,e,f,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of c(e))!m.call(t,a)&&a!==f&&i(t,a,{get:()=>e[a],enumerable:!(d=s(e,a))||d.enumerable});return t};var _=t=>r(i({},"__esModule",{value:!0}),t);var h={};p(h,{Default:()=>b,default:()=>u});module.exports=_(h);var l=require("react/jsx-runtime"),o=require("../biz-components/index.js");const n={title:"Biz-Components/GiftBox",component:o.GiftBox,tags:["autodocs"],parameters:{layout:"centered"}};var u=n;const g={list:[{title:"Ultra-Long Playtime:",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"}},{title:"USB-C Cable",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}},{title:"Customize Your Sleep",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"}}]},b=()=>(0,l.jsx)(o.GiftBox,{data:g});
2
- //# sourceMappingURL=giftbox.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/giftbox.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { GiftBox } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/GiftBox',\n component: GiftBox,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof GiftBox>\n\nexport default meta\n\nconst data = {\n list: [\n {\n title: 'Ultra-Long Playtime:',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n },\n {\n title: 'USB-C Cable',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Customize Your Sleep',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n },\n ],\n}\n\nexport const Default = () => <GiftBox data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAoD6B,IAAAK,EAAA,6BAnD7BC,EAAwB,sCAExB,MAAMC,EAAO,CACX,MAAO,yBACP,UAAW,UACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,KAAM,CACJ,CACE,MAAO,uBACP,IAAK,CACH,IAAK,yLACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,yLACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,cACP,IAAK,CACH,IAAK,uHACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,uBACP,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,uHACL,IAAK,iBACP,CACF,CACF,CACF,EAEaN,EAAU,OAAM,OAAC,WAAQ,KAAMM,EAAM",
6
- "names": ["giftbox_stories_exports", "__export", "Default", "giftbox_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var l=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var i in e)l(t,i,{get:e[i],enumerable:!0})},u=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of f(e))!p.call(t,a)&&a!==i&&l(t,a,{get:()=>e[a],enumerable:!(o=r(e,a))||o.enumerable});return t};var m=t=>u(l({},"__esModule",{value:!0}),t);var _={};c(_,{Default:()=>v,default:()=>h});module.exports=m(_);var d=require("react/jsx-runtime"),s=require("../biz-components/index.js");const n={title:"Biz-Components/GraphicMore",component:s.GraphicMore,tags:["autodocs"],parameters:{layout:"centered"}};var h=n;const g={productsTab:[{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,theme:"dark",fullWidth:"true",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235444.png?v=1758704470",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:8,theme:"light",fullWidth:"false",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235281_9ac3a184-2541-4f17-998b-c29b2389c56a.png?v=1758704470",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:8,fullWidth:"false",theme:"light",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235386_4098ee54-aa60-403e-a162-45f0e893dde7.png?v=1758704470",alt:"Creative Module"}},{title:"Creative Module",description:"Creative Module",shape:"rounded",span:4,fullWidth:"true",theme:"dark",img:{url:"https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282",alt:"Creative Module"},mobileImg:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235444.png?v=1758704470",alt:"Creative Module"}}]},v=()=>(0,d.jsx)(s.GraphicMore,{data:g});
2
- //# sourceMappingURL=graphicMore.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/graphicMore.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { GraphicMore } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/GraphicMore',\n component: GraphicMore,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof GraphicMore>\n\nexport default meta\n\nconst data = {\n productsTab: [\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n theme:'dark',\n fullWidth: 'true',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/fdf5df46-fd39-4f58-8f22-ce0ca9060dff_A3035Z11_Rich_image_TD01_US_V1_3840x_4223056c-ac1e-4240-b485-e9547bd03de0.jpg?v=1753674542',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235444.png?v=1758704470',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 8,\n theme: 'light',\n fullWidth: 'false',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/2a8dcd1e-d7e2-495a-90d3-2c875e7fdb31_Frame_6.png?v=1753670889',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235281_9ac3a184-2541-4f17-998b-c29b2389c56a.png?v=1758704470',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 8,\n fullWidth: 'false',\n theme: 'light',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235386_4098ee54-aa60-403e-a162-45f0e893dde7.png?v=1758704470',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Creative Module',\n description: 'Creative Module',\n shape: 'rounded',\n span: 4,\n fullWidth: 'true',\n theme: 'dark',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0510/7646/4806/files/40626a76-013f-4fb1-aead-2efa567fc7fa_20250617-103321_3840x_46ed02ba-b7a0-48a1-8ca0-45042163e62f.jpg?v=1753670282',\n alt: 'Creative Module',\n },\n mobileImg: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121235444.png?v=1758704470',\n alt: 'Creative Module',\n },\n },\n ],\n} as {\n productsTab: {\n title: string\n description: string\n theme: 'light' | 'dark'\n fullWidth: 'true' | 'false'\n shape: 'rounded' | 'square'\n span: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12\n img: {\n url: string\n alt: string\n }\n mobileImg: {\n url: string\n alt: string\n }\n }[]\n}\n\nexport const Default = () => <GraphicMore data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAoG6B,IAAAK,EAAA,6BAnG7BC,EAA4B,sCAE5B,MAAMC,EAAO,CACX,MAAO,6BACP,UAAW,cACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,YAAa,CACX,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,MAAM,OACN,UAAW,OACX,IAAK,CACH,IAAK,yLACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,MAAO,QACP,UAAW,QACX,IAAK,CACH,IAAK,uHACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,gIACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,UAAW,QACX,MAAO,QACP,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,gIACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,kBACP,YAAa,kBACb,MAAO,UACP,KAAM,EACN,UAAW,OACX,MAAO,OACP,IAAK,CACH,IAAK,0KACL,IAAK,iBACP,EACA,UAAW,CACT,IAAK,2FACL,IAAK,iBACP,CACF,CACF,CACF,EAmBaN,EAAU,OAAM,OAAC,eAAY,KAAMM,EAAM",
6
- "names": ["graphicMore_stories_exports", "__export", "Default", "graphicMore_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use strict";var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var s in e)l(t,s,{get:e[s],enumerable:!0})},n=(t,e,s,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of m(e))!f.call(t,i)&&i!==s&&l(t,i,{get:()=>e[i],enumerable:!(o=p(e,i))||o.enumerable});return t};var d=t=>n(l({},"__esModule",{value:!0}),t);var y={};c(y,{Default:()=>h,default:()=>u});module.exports=d(y);var r=require("react/jsx-runtime"),a=require("../biz-components/index.js");const g={title:"Biz-Components/SelectStore",component:a.SelectStore,tags:["autodocs"],parameters:{layout:"centered"}};var u=g;const v={list:[{title:"Ultra-Long Playtime:",desc:"Rich and secure payment methods, fast and secure materials",pay:[{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}}],delivery:[],service:[]},{title:"Delivery Method",desc:"Fast and secure delivery",pay:[],service:[],delivery:[{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/american-express-png-transparent-image_1.png?v=1758617366",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}},{img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055",alt:"Creative Module"}}]},{title:"Service and Benefits",desc:"Fast and secure delivery",pay:[],delivery:[],service:[{title:"Fast, Free Shipping",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303",alt:"Creative Module"}},{title:"30-Day Money-Back Guarantee",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303",alt:"Creative Module"}},{title:"Hassle-Free Warranty",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303",alt:"Creative Module"}},{title:"Lifetime Customer Support",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303",alt:"Creative Module"}},{title:"Lifetime Customer Support",img:{url:"https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303",alt:"Creative Module"}}]}]},h=()=>(0,r.jsx)(a.SelectStore,{data:v});
2
- //# sourceMappingURL=selectstore.stories.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/stories/selectstore.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { SelectStore } from '../biz-components/index.js'\n\nconst meta = {\n title: 'Biz-Components/SelectStore',\n component: SelectStore,\n tags: ['autodocs'],\n parameters: {\n layout: 'centered',\n },\n} satisfies Meta<typeof SelectStore>\n\nexport default meta\n\nconst data = {\n list: [\n {\n title: 'Ultra-Long Playtime:',\n desc: 'Rich and secure payment methods, fast and secure materials',\n pay: [\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n }\n ],\n delivery: [\n ],\n service: []\n },\n {\n title: 'Delivery Method',\n desc: 'Fast and secure delivery',\n pay: [\n \n ],\n service: [\n ],\n delivery: [\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/american-express-png-transparent-image_1.png?v=1758617366',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n {\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/image_1750.png?v=1758613055',\n alt: 'Creative Module',\n },\n },\n ],\n },\n {\n title: 'Service and Benefits',\n desc: 'Fast and secure delivery',\n pay: [\n ],\n delivery: [\n ],\n service: [\n {\n title: 'Fast, Free Shipping',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303',\n alt: 'Creative Module',\n },\n },\n {\n title: '30-Day Money-Back Guarantee',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Hassle-Free Warranty',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Lifetime Customer Support',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303',\n alt: 'Creative Module',\n },\n },\n {\n title: 'Lifetime Customer Support',\n img: {\n url: 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_2121237171.png?v=1758620303',\n alt: 'Creative Module',\n },\n }\n ],\n },\n ],\n}\n\nexport const Default = () => <SelectStore data={data} />\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAgJ6B,IAAAK,EAAA,6BA/I7BC,EAA4B,sCAE5B,MAAMC,EAAO,CACX,MAAO,6BACP,UAAW,cACX,KAAM,CAAC,UAAU,EACjB,WAAY,CACV,OAAQ,UACV,CACF,EAEA,IAAOJ,EAAQI,EAEf,MAAMC,EAAO,CACX,KAAM,CACJ,CACE,MAAO,uBACP,KAAM,6DACN,IAAK,CACH,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,CACF,EACA,SAAU,CACV,EACA,QAAS,CAAC,CACZ,EACA,CACE,MAAO,kBACP,KAAM,2BACN,IAAK,CAEL,EACA,QAAS,CACT,EACA,SAAU,CACR,CACE,IAAK,CACH,IAAK,mHACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,EACA,CACE,IAAK,CACH,IAAK,qFACL,IAAK,iBACP,CACF,CACF,CACF,EACA,CACE,MAAO,uBACP,KAAM,2BACN,IAAK,CACL,EACA,SAAU,CACV,EACA,QAAS,CACP,CACE,MAAO,sBACP,IAAK,CACH,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,8BACP,IAAK,CACH,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,uBACP,IAAK,CACH,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,4BACP,IAAK,CACH,IAAK,2FACL,IAAK,iBACP,CACF,EACA,CACE,MAAO,4BACP,IAAK,CACH,IAAK,2FACL,IAAK,iBACP,CACF,CACF,CACF,CACF,CACF,EAEaN,EAAU,OAAM,OAAC,eAAY,KAAMM,EAAM",
6
- "names": ["selectstore_stories_exports", "__export", "Default", "selectstore_stories_default", "__toCommonJS", "import_jsx_runtime", "import_biz_components", "meta", "data"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{Fragment as k,jsx as e,jsxs as s}from"react/jsx-runtime";import{cn as x}from"../../helpers/utils.js";import{withLayout as c}from"../../shared/Styles.js";import{Picture as o,Text as p}from"../../components/index.js";const u=d=>{const{data:t,className:n}=d,{title:a,img:m,mobileImg:i,list:g}=t;return e(k,{children:s("div",{className:"w-full",children:[s("div",{className:"flex desktop:items-center desktop:justify-between desktop:flex-row flex-col w-full",children:[e("div",{className:" desktop:w-[600px] lg-desktop:w-[800px]",children:a&&e(p,{html:a,className:"desktop:text-[16px] lg-desktop:text-[18px] text-[14px] font-bold leading-[1.2]"})}),s("div",{children:[m?.url&&e(o,{className:"w-[464px] rounded-2xl hidden desktop:block",imgClassName:"",source:t?.img?.url,alt:t?.img?.alt||""}),i?.url&&e(o,{className:"w-[224px] rounded-2xl block desktop:hidden",imgClassName:"",source:t?.mobileImg?.url,alt:t?.mobileImg?.alt||""})]})]}),e("div",{className:"mt-[24px] grid tablet:grid-cols-2 desktop:grid-cols-3 grid-cols-1 gap-[16px] desktop:gap-[24px] lg-desktop:gap-[32px]",children:g.map((l,r)=>s("div",{className:"relative",children:[e(o,{className:" rounded-2xl",imgClassName:"",source:l?.img?.url,alt:l?.img?.alt||""}),s("div",{className:x("text-info-primary absolute bottom-[16px] left-[16px] flex flex-col desktop:bottom-[24px] desktop:left-[24px] lg-desktop:bottom-[32px] lg-desktop:left-[32px]",{"aiui-dark":l.theme==="dark"}),children:[e(p,{html:l?.title,className:" lg-desktop:text-[24px] text-[20px] font-bold leading-[1.2]"}),e(p,{html:l?.desc,className:" lg-desktop:text-[16px] text-[14px] font-bold leading-[1.4]"})]})]},r))})]})})};var v=c(u);export{v as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/AplusDesc/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Picture, Text } from '../../components/index.js'\n\n\ntype AplusItem = {\n img: Img\n mobileImg: Img\n title: string\n desc: string\n theme: 'light' | 'dark'\n}\n\ntype AplusDescType = {\n data: {\n title: string\n img: Img\n mobileImg: Img\n list: AplusItem[]\n }\n className?: string\n}\n\nconst AplusDesc = (props: AplusDescType) => {\n const { data, className } = props\n const { title, img , mobileImg,list} = data\n\n return (\n <>\n <div className='w-full'>\n <div className='flex desktop:items-center desktop:justify-between desktop:flex-row flex-col w-full'>\n <div className=' desktop:w-[600px] lg-desktop:w-[800px]'>\n {title && (\n <Text\n html={title}\n className=\"desktop:text-[16px] lg-desktop:text-[18px] text-[14px] font-bold leading-[1.2]\"\n />\n )}\n </div>\n <div>\n {img?.url && (\n <Picture\n className=\"w-[464px] rounded-2xl hidden desktop:block\"\n imgClassName=\"\"\n source={data?.img?.url}\n alt={data?.img?.alt || ''}\n />\n )}\n {mobileImg?.url && (\n <Picture\n className=\"w-[224px] rounded-2xl block desktop:hidden\"\n imgClassName=\"\"\n source={data?.mobileImg?.url}\n alt={data?.mobileImg?.alt || ''}\n />\n )}\n </div>\n </div>\n <div className='mt-[24px] grid tablet:grid-cols-2 desktop:grid-cols-3 grid-cols-1 gap-[16px] desktop:gap-[24px] lg-desktop:gap-[32px]'>\n {list.map((item,ind)=>(\n <div key={ind} className='relative'>\n <Picture\n className=\" rounded-2xl\"\n imgClassName=\"\"\n source={item?.img?.url}\n alt={item?.img?.alt || ''}\n />\n <div className={cn(\n 'text-info-primary absolute bottom-[16px] left-[16px] flex flex-col desktop:bottom-[24px] desktop:left-[24px] lg-desktop:bottom-[32px] lg-desktop:left-[32px]',\n {\n 'aiui-dark': item.theme === 'dark',\n }\n )}>\n <Text html={item?.title} className=\" lg-desktop:text-[24px] text-[20px] font-bold leading-[1.2]\" />\n <Text html={item?.desc} className=\" lg-desktop:text-[16px] text-[14px] font-bold leading-[1.4]\" />\n </div>\n </div>\n ))}\n </div>\n </div>\n </>\n )\n}\n\nexport default withLayout(AplusDesc)\n"],
5
- "mappings": "aA8BI,mBAAAA,EAKY,OAAAC,EAMJ,QAAAC,MAXR,oBA7BJ,OAAS,MAAAC,MAAU,yBAEnB,OAAS,cAAAC,MAAkB,yBAC3B,OAAS,WAAAC,EAAS,QAAAC,MAAY,4BAqB9B,MAAMC,EAAaC,GAAyB,CAC1C,KAAM,CAAE,KAAAC,EAAM,UAAAC,CAAU,EAAIF,EACtB,CAAE,MAAAG,EAAO,IAAAC,EAAM,UAAAC,EAAU,KAAAC,CAAI,EAAIL,EAEvC,OACER,EAAAD,EAAA,CACE,SAAAE,EAAC,OAAI,UAAU,SACb,UAAAA,EAAC,OAAI,UAAU,qFACX,UAAAD,EAAC,OAAI,UAAU,0CACV,SAAAU,GACDV,EAACK,EAAA,CACG,KAAMK,EACN,UAAU,iFACd,EAEJ,EACAT,EAAC,OACI,UAAAU,GAAK,KACNX,EAACI,EAAA,CACG,UAAU,6CACV,aAAa,GACb,OAAQI,GAAM,KAAK,IACnB,IAAKA,GAAM,KAAK,KAAO,GAC3B,EAEHI,GAAW,KACRZ,EAACI,EAAA,CACG,UAAU,6CACV,aAAa,GACb,OAAQI,GAAM,WAAW,IACzB,IAAKA,GAAM,WAAW,KAAO,GACjC,GAEJ,GACJ,EACAR,EAAC,OAAI,UAAU,wHACV,SAAAa,EAAK,IAAI,CAACC,EAAKC,IACZd,EAAC,OAAc,UAAU,WACrB,UAAAD,EAACI,EAAA,CACG,UAAU,eACV,aAAa,GACb,OAAQU,GAAM,KAAK,IACnB,IAAKA,GAAM,KAAK,KAAO,GAC3B,EACAb,EAAC,OAAI,UAAWC,EACZ,+JACA,CACI,YAAaY,EAAK,QAAU,MAChC,CACJ,EACI,UAAAd,EAACK,EAAA,CAAK,KAAMS,GAAM,MAAO,UAAU,8DAA8D,EACjGd,EAACK,EAAA,CAAK,KAAMS,GAAM,KAAM,UAAU,8DAA8D,GACpG,IAfMC,CAgBV,CACH,EACL,GACF,EACF,CAEJ,EAEA,IAAOC,EAAQb,EAAWG,CAAS",
6
- "names": ["Fragment", "jsx", "jsxs", "cn", "withLayout", "Picture", "Text", "AplusDesc", "props", "data", "className", "title", "img", "mobileImg", "list", "item", "ind", "AplusDesc_default"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{Fragment as g,jsx as t,jsxs as l}from"react/jsx-runtime";import"../../helpers/utils.js";import{withLayout as c}from"../../shared/Styles.js";import{Picture as s,Text as e,Link as d}from"../../components/index.js";const f=o=>{const{data:i}=o,{title:n,text:m,time:x,line:a,icon:p,link:r}=i;return t(g,{children:t("div",{className:"bg-[#EAEAEC] rounded-2xl w-full",children:l("div",{className:"w-full flex items-center justify-between py-[12px] px-[24px]",children:[l("div",{className:"flex items-center flex-row laptop:gap-[24px] gap-[12px]",children:[t(e,{html:n,className:"text-[14px] font-bold leading-[1.4] laptop:text-[18px]"}),t(s,{className:" h-[16px]",source:a?.url,alt:a?.alt||""}),t(e,{html:m,className:"text-[14px] font-bold leading-[1.4] laptop:text-[18px]"})]}),l(d,{href:r,target:"_blank",className:"flex items-center justify-center flex-row laptop:gap-[24px] gap-[4px] ",children:[t(e,{html:x,className:"text-[14px] font-bold leading-[1.4] laptop:text-[18px]"}),t(s,{className:"w-[24px]",imgClassName:"w-full h-auto",source:p?.url,alt:p?.alt||""})]})]})})})};var h=c(f);export{h as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/DownLoad/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Picture, Text ,Link} from '../../components/index.js'\n\n\ntype DownLoadType = {\n data: {\n title: string\n text: string\n time: string\n link: string\n line: Img\n icon: Img\n }\n className?: string\n}\n\nconst DownLoad = (props: DownLoadType) => {\n const { data } = props\n const { title, text, time, line, icon ,link} = data\n\n return (\n <>\n <div className='bg-[#EAEAEC] rounded-2xl w-full'>\n <div className='w-full flex items-center justify-between py-[12px] px-[24px]'>\n <div className='flex items-center flex-row laptop:gap-[24px] gap-[12px]'>\n <Text html={title} className='text-[14px] font-bold leading-[1.4] laptop:text-[18px]' />\n <Picture\n className=' h-[16px]'\n source={line?.url}\n alt={line?.alt || ''}\n />\n <Text html={text} className='text-[14px] font-bold leading-[1.4] laptop:text-[18px]'/>\n </div>\n \n <Link href={link} target='_blank' className='flex items-center justify-center flex-row laptop:gap-[24px] gap-[4px] '>\n <Text html={time} className='text-[14px] font-bold leading-[1.4] laptop:text-[18px]'/>\n <Picture\n className=\"w-[24px]\" // \u9650\u5236\u6700\u5916\u5C42\u5BBD\u5EA6\n imgClassName=\"w-full h-auto\"\n source={icon?.url}\n alt={icon?.alt || ''}\n />\n </Link>\n </div>\n </div>\n </>\n )\n}\n\nexport default withLayout(DownLoad)\n"],
5
- "mappings": "aAwBI,mBAAAA,EAIY,OAAAC,EADJ,QAAAC,MAHR,oBAvBJ,MAAmB,yBAEnB,OAAS,cAAAC,MAAkB,yBAC3B,OAAS,WAAAC,EAAS,QAAAC,EAAM,QAAAC,MAAW,4BAenC,MAAMC,EAAYC,GAAwB,CACxC,KAAM,CAAE,KAAAC,CAAK,EAAID,EACX,CAAE,MAAAE,EAAO,KAAAC,EAAM,KAAAC,EAAM,KAAAC,EAAM,KAAAC,EAAM,KAAAC,CAAI,EAAIN,EAE/C,OACER,EAAAD,EAAA,CACE,SAAAC,EAAC,OAAI,UAAU,kCACb,SAAAC,EAAC,OAAI,UAAU,+DACX,UAAAA,EAAC,OAAI,UAAU,0DACX,UAAAD,EAACI,EAAA,CAAK,KAAMK,EAAO,UAAU,yDAAyD,EACtFT,EAACG,EAAA,CACG,UAAU,YACV,OAAQS,GAAM,IACd,IAAKA,GAAM,KAAO,GACtB,EACAZ,EAACI,EAAA,CAAK,KAAMM,EAAM,UAAU,yDAAwD,GACxF,EAEAT,EAACI,EAAA,CAAK,KAAMS,EAAM,OAAO,SAAS,UAAU,yEACxC,UAAAd,EAACI,EAAA,CAAK,KAAMO,EAAM,UAAU,yDAAwD,EACpFX,EAACG,EAAA,CACG,UAAU,WACV,aAAa,gBACb,OAAQU,GAAM,IACd,IAAKA,GAAM,KAAO,GACtB,GACJ,GACJ,EACF,EACF,CAEJ,EAEA,IAAOE,EAAQb,EAAWI,CAAQ",
6
- "names": ["Fragment", "jsx", "jsxs", "withLayout", "Picture", "Text", "Link", "DownLoad", "props", "data", "title", "text", "time", "line", "icon", "link", "DownLoad_default"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{Fragment as n,jsx as t,jsxs as p}from"react/jsx-runtime";import"../../helpers/utils.js";import"../SwiperBox/index.js";import{withLayout as r}from"../../shared/Styles.js";import{Picture as s,Text as a}from"../../components/index.js";const x=d=>{const{data:l,className:g}=d,{list:i}=l;return t(n,{children:p("div",{className:"",children:[l?.title&&t("div",{className:"py-[24px] desktop:w-[800px]",children:t(a,{html:l?.title,className:"graphic-title desktop:text-[32px] line-clamp-3 lg-desktop:text-lg desktop:text-base text-[23px] font-bold leading-[1.2]"})}),l?.img?.url&&t(s,{className:"aspect-[1664/560] rounded-2xl md-tablet:hidden",imgClassName:"",source:l?.img?.url,alt:l?.img?.alt||""}),l?.mobileImg?.url&&t(s,{className:"aspect-[358/360] rounded-2xl tablet:hidden",imgClassName:"",source:l?.mobileImg?.url,alt:l?.mobileImg?.alt||""}),t("div",{className:"laptop:pt-[64px] tablet:pt-[32px]",children:t("div",{className:"flex flex-col gap-4",children:i.map((e,o)=>p("div",{className:`desktop:flex pt-[64px] gap-4 tablet:gap-8 laptop:gap-[64px] ${o%2===0?"laptop:flex-row-reverse":""}`,children:[p("div",{className:"flex flex-col justify-center",children:[t(a,{html:e?.title,className:"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[32px] text-[24px] font-bold leading-[1.2]"}),t(a,{html:e?.description,className:"graphic-title pt-[4px] desktop:pt-[8px] line-clamp-3 lg-desktop:text-lg desktop:text-base lg-desktop:text-[18px] desktop:text-[16px] text-[14px] font-bold leading-[1.2]"}),e?.numberOne&&p("div",{className:"desktop:pt-[48px] pt-[24px] flex desktop:flex-col flex-row desktop:gap-[48px] gap-[24px]",children:[p("div",{className:"",children:[t(a,{style:{background:"var(--1, linear-gradient(90deg, #3AD1FF 0%, #008CD6 100%))",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",color:"transparent"},html:e?.numberOne,className:"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[64px] text-[40px] font-bold leading-[1]"}),t(a,{html:e?.textOne,className:"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[18px] text-[14px] font-bold leading-[1.4]"})]}),p("div",{children:[t(a,{style:{background:"var(--1, linear-gradient(90deg, #3AD1FF 0%, #008CD6 100%))",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",color:"transparent"},html:e?.numberTwo,className:"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[64px] text-[40px] font-bold leading-[1]"}),t(a,{html:e?.textTwo,className:"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[18px] text-[14px] font-bold leading-[1.4]"})]})]}),e?.icon?.url&&t("div",{className:"pt-[24px] desktop:pt-[24px] lg-desktop:pt-[48px]",children:t(s,{className:"w-[358px] desktop:w-[368px] lg-desktop:w-[488px]",source:e?.icon?.url,alt:e?.icon?.alt||""})})]}),t("div",{className:"aspect-[964/560] md-tablet:hidden rounded-2xl overflow-hidden pt-[24px] laptop:pt-[32px] desktop:pt-[0px]",children:t(s,{className:"w-full h-full object-cover ",source:e?.img?.url,alt:e?.img?.alt||""})}),t("div",{className:"aspect-[358/360] tablet:hidden rounded-2xl overflow-hidden mt-[24px]",children:t(s,{className:"w-full h-full object-cover",source:e?.mobileImg?.url,alt:e?.mobileImg?.alt||""})})]},o))})})]})})};var f=r(x);export{f as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/Features/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport SwiperBox from '../SwiperBox/index.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Picture, Text } from '../../components/index.js'\n\nexport type FeaturesDataType = {\n img: Img\n mobileImg: Img\n title: string\n description: string\n numberOne: string\n textOne: string\n numberTwo: string\n textTwo: string\n icon: Img\n}\n\ntype FeaturesType = {\n data: {\n title: string\n img: Img\n mobileImg: Img\n list: FeaturesDataType[]\n }\n className?: string\n}\n\nconst Features = (props: FeaturesType) => {\n const { data, className } = props\n const { list } = data\n\n return (\n <>\n <div className=''>\n {data?.title && (\n <div className='py-[24px] desktop:w-[800px]'>\n <Text\n html={data?.title}\n className=\"graphic-title desktop:text-[32px] line-clamp-3 lg-desktop:text-lg desktop:text-base text-[23px] font-bold leading-[1.2]\"\n />\n </div>\n )}\n\n {data?.img?.url && (\n <Picture\n className=\"aspect-[1664/560] rounded-2xl md-tablet:hidden\"\n imgClassName=\"\"\n source={data?.img?.url}\n alt={data?.img?.alt || ''}\n />\n )}\n {data?.mobileImg?.url && (\n <Picture\n className=\"aspect-[358/360] rounded-2xl tablet:hidden\"\n imgClassName=\"\"\n source={data?.mobileImg?.url}\n alt={data?.mobileImg?.alt || ''}\n />\n )}\n <div className='laptop:pt-[64px] tablet:pt-[32px]'>\n <div className='flex flex-col gap-4'>\n {list.map((item, index) => (\n <div key={index} className={`desktop:flex pt-[64px] gap-4 tablet:gap-8 laptop:gap-[64px] ${index % 2 === 0 ? 'laptop:flex-row-reverse' : ''}`}>\n <div className='flex flex-col justify-center'>\n <Text\n html={item?.title}\n className=\"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[32px] text-[24px] font-bold leading-[1.2]\"\n />\n <Text\n html={item?.description}\n className=\"graphic-title pt-[4px] desktop:pt-[8px] line-clamp-3 lg-desktop:text-lg desktop:text-base lg-desktop:text-[18px] desktop:text-[16px] text-[14px] font-bold leading-[1.2]\"\n />\n {/* \u6E10\u53D8\u8272 */}\n {item?.numberOne && \n <div className='desktop:pt-[48px] pt-[24px] flex desktop:flex-col flex-row desktop:gap-[48px] gap-[24px]'>\n <div className=''>\n <Text\n style={{\n background: 'var(--1, linear-gradient(90deg, #3AD1FF 0%, #008CD6 100%))',\n backgroundClip: 'text',\n WebkitBackgroundClip: 'text',\n WebkitTextFillColor: 'transparent',\n color: 'transparent', // \u5EFA\u8BAE\u52A0\u4E0A\uFF0C\u517C\u5BB9\u90E8\u5206\u6D4F\u89C8\u5668\n }}\n html={item?.numberOne}\n className=\"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[64px] text-[40px] font-bold leading-[1]\"\n />\n <Text\n html={item?.textOne}\n className=\"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[18px] text-[14px] font-bold leading-[1.4]\"\n />\n </div>\n <div>\n <Text\n style={{\n background: 'var(--1, linear-gradient(90deg, #3AD1FF 0%, #008CD6 100%))',\n backgroundClip: 'text',\n WebkitBackgroundClip: 'text',\n WebkitTextFillColor: 'transparent',\n color: 'transparent', // \u5EFA\u8BAE\u52A0\u4E0A\uFF0C\u517C\u5BB9\u90E8\u5206\u6D4F\u89C8\u5668\n }}\n html={item?.numberTwo}\n className=\"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[64px] text-[40px] font-bold leading-[1]\"\n />\n <Text\n html={item?.textTwo}\n className=\"graphic-title line-clamp-3 lg-desktop:text-lg desktop:text-base desktop:text-[18px] text-[14px] font-bold leading-[1.4]\"\n />\n </div>\n \n \n </div>\n }\n {item?.icon?.url && \n <div className='pt-[24px] desktop:pt-[24px] lg-desktop:pt-[48px]'><Picture className='w-[358px] desktop:w-[368px] lg-desktop:w-[488px]' source={item?.icon?.url} alt={item?.icon?.alt || ''} /></div>\n }\n </div>\n <div className='aspect-[964/560] md-tablet:hidden rounded-2xl overflow-hidden pt-[24px] laptop:pt-[32px] desktop:pt-[0px]'>\n <Picture className='w-full h-full object-cover ' source={item?.img?.url} alt={item?.img?.alt || ''} />\n </div>\n <div className='aspect-[358/360] tablet:hidden rounded-2xl overflow-hidden mt-[24px]'>\n <Picture className='w-full h-full object-cover' source={item?.mobileImg?.url} alt={item?.mobileImg?.alt || ''} />\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n </>\n )\n}\n\nexport default withLayout(Features)\n"],
5
- "mappings": "aAkCI,mBAAAA,EAIQ,OAAAC,EAuCgB,QAAAC,MA3CxB,oBAjCJ,MAAmB,yBACnB,MAAsB,wBAEtB,OAAS,cAAAC,MAAkB,yBAC3B,OAAS,WAAAC,EAAS,QAAAC,MAAY,4BAwB9B,MAAMC,EAAYC,GAAwB,CACxC,KAAM,CAAE,KAAAC,EAAM,UAAAC,CAAU,EAAIF,EACtB,CAAE,KAAAG,CAAK,EAAIF,EAEjB,OACEP,EAAAD,EAAA,CACE,SAAAE,EAAC,OAAI,UAAU,GACZ,UAAAM,GAAM,OACHP,EAAC,OAAI,UAAU,8BACf,SAAAA,EAACI,EAAA,CACG,KAAMG,GAAM,MACZ,UAAU,0HACd,EACA,EAGHA,GAAM,KAAK,KACRP,EAACG,EAAA,CACG,UAAU,iDACV,aAAa,GACb,OAAQI,GAAM,KAAK,IACnB,IAAKA,GAAM,KAAK,KAAO,GAC3B,EAEHA,GAAM,WAAW,KACdP,EAACG,EAAA,CACG,UAAU,6CACV,aAAa,GACb,OAAQI,GAAM,WAAW,IACzB,IAAKA,GAAM,WAAW,KAAO,GACjC,EAEJP,EAAC,OAAI,UAAU,oCACf,SAAAA,EAAC,OAAI,UAAU,sBACV,SAAAS,EAAK,IAAI,CAACC,EAAMC,IACbV,EAAC,OAAgB,UAAW,+DAA+DU,EAAQ,IAAM,EAAI,0BAA4B,EAAE,GACvI,UAAAV,EAAC,OAAI,UAAU,+BACX,UAAAD,EAACI,EAAA,CACG,KAAMM,GAAM,MACZ,UAAU,0HACd,EACAV,EAACI,EAAA,CACG,KAAMM,GAAM,YACZ,UAAU,2KACd,EAECA,GAAM,WACPT,EAAC,OAAI,UAAU,2FACX,UAAAA,EAAC,OAAI,UAAU,GACX,UAAAD,EAACI,EAAA,CACD,MAAO,CACH,WAAY,6DACZ,eAAgB,OAChB,qBAAsB,OACtB,oBAAqB,cACrB,MAAO,aACX,EACA,KAAMM,GAAM,UACZ,UAAU,wHACd,EACAV,EAACI,EAAA,CACG,KAAMM,GAAM,QACZ,UAAU,0HACd,GACA,EACAT,EAAC,OACG,UAAAD,EAACI,EAAA,CACG,MAAO,CACH,WAAY,6DACZ,eAAgB,OAChB,qBAAsB,OACtB,oBAAqB,cACrB,MAAO,aACX,EACA,KAAMM,GAAM,UACZ,UAAU,wHACd,EACAV,EAACI,EAAA,CACG,KAAMM,GAAM,QACZ,UAAU,0HACd,GACJ,GAGJ,EAECA,GAAM,MAAM,KACbV,EAAC,OAAI,UAAU,mDAAmD,SAAAA,EAACG,EAAA,CAAQ,UAAU,mDAAmD,OAAQO,GAAM,MAAM,IAAK,IAAKA,GAAM,MAAM,KAAO,GAAI,EAAE,GAEnM,EACAV,EAAC,OAAI,UAAU,4GACX,SAAAA,EAACG,EAAA,CAAQ,UAAU,8BAA8B,OAAQO,GAAM,KAAK,IAAK,IAAKA,GAAM,KAAK,KAAO,GAAI,EACxG,EACAV,EAAC,OAAI,UAAU,uEACX,SAAAA,EAACG,EAAA,CAAQ,UAAU,6BAA6B,OAAQO,GAAM,WAAW,IAAK,IAAKA,GAAM,WAAW,KAAO,GAAI,EACnH,IA5DMC,CA6DV,CACH,EACL,EACA,GACF,EACF,CAEJ,EAEA,IAAOC,EAAQV,EAAWG,CAAQ",
6
- "names": ["Fragment", "jsx", "jsxs", "withLayout", "Picture", "Text", "Features", "props", "data", "className", "list", "item", "index", "Features_default"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{Fragment as l,jsx as t,jsxs as d}from"react/jsx-runtime";import"../../helpers/utils.js";import{withLayout as s}from"../../shared/Styles.js";import{Text as e}from"../../components/index.js";const p=o=>{const{data:r}=o,{title:a,text:i}=r;return t(l,{children:d("div",{className:"",children:[t("div",{children:t(e,{html:a,className:"text-[#6D6D6F] font-bold leading-[1.4] &[span]:text-[#1D1D1F] text-[16px] desktop:text-[18px]"})}),t("div",{children:t(e,{html:i,className:"text-[#3D3D3F] font-bold leading-[1.4] text-[14px]"})})]})})};var f=s(p);export{f as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/FootCharger/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Picture, Text } from '../../components/index.js'\n\n\ntype FootChargerType = {\n data: {\n title: string\n text: string\n }\n className?: string\n}\n\nconst FootCharger = (props: FootChargerType) => {\n const { data } = props\n const { title, text } = data\n\n return (\n <>\n <div className=''>\n <div>\n <Text html={title} className='text-[#6D6D6F] font-bold leading-[1.4] &[span]:text-[#1D1D1F] text-[16px] desktop:text-[18px]' />\n </div>\n <div>\n <Text html={text} className='text-[#3D3D3F] font-bold leading-[1.4] text-[14px]' />\n </div>\n </div>\n </>\n )\n}\n\nexport default withLayout(FootCharger)\n"],
5
- "mappings": "aAoBI,mBAAAA,EAGM,OAAAC,EAFJ,QAAAC,MADF,oBAnBJ,MAAmB,yBAEnB,OAAS,cAAAC,MAAkB,yBAC3B,OAAkB,QAAAC,MAAY,4BAW9B,MAAMC,EAAeC,GAA2B,CAC9C,KAAM,CAAE,KAAAC,CAAK,EAAID,EACX,CAAE,MAAAE,EAAO,KAAAC,CAAK,EAAIF,EAExB,OACEN,EAAAD,EAAA,CACE,SAAAE,EAAC,OAAI,UAAU,GACb,UAAAD,EAAC,OACC,SAAAA,EAACG,EAAA,CAAK,KAAMI,EAAO,UAAU,gGAAgG,EAC/H,EACAP,EAAC,OACC,SAAAA,EAACG,EAAA,CAAK,KAAMK,EAAM,UAAU,qDAAqD,EACnF,GACF,EACF,CAEJ,EAEA,IAAOC,EAAQP,EAAWE,CAAW",
6
- "names": ["Fragment", "jsx", "jsxs", "withLayout", "Text", "FootCharger", "props", "data", "title", "text", "FootCharger_default"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{jsx as l,jsxs as a}from"react/jsx-runtime";import"../../helpers/utils.js";import"../SwiperBox/index.js";import{withLayout as m}from"../../shared/Styles.js";import{Picture as e,Text as r}from"../../components/index.js";const d=o=>{const{data:s,className:g}=o,{list:i}=s;return l("div",{className:"w-full bg-[#EAEAEC] rounded-2xl",children:l("div",{className:"grid grid-cols-2 gap-3 laptop:gap-4 tablet:grid-cols-4 laptop:grid-cols-3 desktop:grid-cols-5 lg-desktop:grid-cols-6",children:i.map((t,p)=>a("div",{className:"flex flex-col items-center justify-center laptop:p-[20px] p-[12px]",children:[a("div",{children:[t?.img?.url&&l(e,{className:"aspect-[194/194] l-tablet:hidden",imgClassName:"",source:t?.img?.url,alt:t?.img?.alt||""}),t?.mobileImg?.url&&l(e,{className:"aspect-[120/120] laptop:hidden",imgClassName:"",source:t?.mobileImg?.url,alt:t?.mobileImg?.alt||""})]}),l(r,{html:t?.title,className:"text-[14px] font-bold leading-[1.4] laptop:text-[18px]"})]},p))})})};var N=m(d);export{N as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/GiftBox/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport SwiperBox from '../SwiperBox/index.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Picture, Text } from '../../components/index.js'\n\nexport type GiftBoxDataType = {\n img: Img\n mobileImg: Img\n title: string\n}\n\ntype GiftBoxType = {\n data: {\n list: GiftBoxDataType[]\n }\n className?: string\n}\n\nconst GiftBox = (props: GiftBoxType) => {\n const { data, className } = props\n const { list } = data\n\n return (\n <div className=\"w-full bg-[#EAEAEC] rounded-2xl\">\n <div className=\"grid grid-cols-2 gap-3 laptop:gap-4 tablet:grid-cols-4 laptop:grid-cols-3 desktop:grid-cols-5 lg-desktop:grid-cols-6\">\n {list.map((item, index) => (\n <div key={index} className=\"flex flex-col items-center justify-center laptop:p-[20px] p-[12px]\">\n <div>\n {item?.img?.url && (\n <Picture\n className=\"aspect-[194/194] l-tablet:hidden\"\n imgClassName=\"\"\n source={item?.img?.url}\n alt={item?.img?.alt || ''}\n />\n )}\n {item?.mobileImg?.url && (\n <Picture\n className=\"aspect-[120/120] laptop:hidden\"\n imgClassName=\"\"\n source={item?.mobileImg?.url}\n alt={item?.mobileImg?.alt || ''}\n />\n )}\n </div>\n <Text html={item?.title} className=\"text-[14px] font-bold leading-[1.4] laptop:text-[18px]\" />\n </div>\n ))}\n </div>\n </div>\n )\n}\n\nexport default withLayout(GiftBox)\n"],
5
- "mappings": "aA6BY,OAEI,OAAAA,EAFJ,QAAAC,MAAA,oBA5BZ,MAAmB,yBACnB,MAAsB,wBAEtB,OAAS,cAAAC,MAAkB,yBAC3B,OAAS,WAAAC,EAAS,QAAAC,MAAY,4BAe9B,MAAMC,EAAWC,GAAuB,CACtC,KAAM,CAAE,KAAAC,EAAM,UAAAC,CAAU,EAAIF,EACtB,CAAE,KAAAG,CAAK,EAAIF,EAEjB,OACEP,EAAC,OAAI,UAAU,kCACb,SAAAA,EAAC,OAAI,UAAU,uHACZ,SAAAS,EAAK,IAAI,CAACC,EAAMC,IACfV,EAAC,OAAgB,UAAU,qEACzB,UAAAA,EAAC,OACE,UAAAS,GAAM,KAAK,KACVV,EAACG,EAAA,CACC,UAAU,mCACV,aAAa,GACb,OAAQO,GAAM,KAAK,IACnB,IAAKA,GAAM,KAAK,KAAO,GACzB,EAEDA,GAAM,WAAW,KAChBV,EAACG,EAAA,CACC,UAAU,iCACV,aAAa,GACb,OAAQO,GAAM,WAAW,IACzB,IAAKA,GAAM,WAAW,KAAO,GAC/B,GAEJ,EACAV,EAACI,EAAA,CAAK,KAAMM,GAAM,MAAO,UAAU,yDAAyD,IAnBpFC,CAoBV,CACD,EACH,EACF,CAEJ,EAEA,IAAOC,EAAQV,EAAWG,CAAO",
6
- "names": ["jsx", "jsxs", "withLayout", "Picture", "Text", "GiftBox", "props", "data", "className", "list", "item", "index", "GiftBox_default"]
7
- }
@@ -1,2 +0,0 @@
1
- "use client";import{Fragment as h,jsx as t,jsxs as l}from"react/jsx-runtime";import{cn as o}from"../../helpers/utils.js";import"../SwiperBox/index.js";import{withLayout as n}from"../../shared/Styles.js";import{Grid as x,GridItem as f}from"../../components/gird.js";import{Picture as s,Text as a}from"../../components/index.js";const u=i=>{const{data:m,className:c}=i,{productsTab:d,shape:p}=m;return l(h,{children:[t("div",{className:o("creativeModuleBlock","tablet:block box-border hidden w-full overflow-hidden text-[#1D1D1F]"),children:t(x,{className:o("tablet:gap-4 grid grid-cols-12 gap-3 ",c),children:d?.map((e,r)=>l(f,{span:e.span,className:o("text-info-primary relative w-full overflow-hidden",p==="rounded"?"rounded-2xl":"rounded-none","lg-desktop:h-[480px] desktop:h-[384px] laptop:h-[288px]",{"aiui-dark":e.theme==="dark"}),children:[t(s,{source:e.img.url,className:"size-full",imgClassName:"h-full object-cover"}),l("div",{className:"lg-desktop:top-8 lg-desktop:px-8 desktop:top-6 desktop:px-6 absolute top-4 px-4 flex flex-col gap-[6px] left-0 right-0 overflow-hidden",children:[e.title&&t(a,{html:e.title,as:"p",className:"line-clamp-2 desktop:text-[32px] laptop:text-2xl text-xl font-bold"}),e.description&&t(a,{html:e.description,className:"line-clamp-2 desktop:text-lg text-sm font-bold"})]})]},r))})}),t("div",{className:"tablet:hidden block text-[#1D1D1F]",children:t("div",{className:" flex gap-[12px] flex-wrap",children:d?.map((e,r)=>l("div",{className:o("text-info-primary relative overflow-hidden",p==="rounded"?"rounded-xl":"rounded-none",{"aiui-dark":e.theme==="dark"},e?.fullWidth==="true"?"w-full flex-none":" w-[173px]"),children:[t(s,{source:e.mobileImg.url,className:"size-full",imgClassName:"h-full object-cover"}),l("div",{className:"absolute top-4 px-4 flex flex-col gap-[6px] left-0 right-0 overflow-hidden",children:[e.title&&t(a,{html:e.title,as:"p",className:"text-xl font-bold leading-[1.2]"}),e.description&&t(a,{html:e.description,className:"text-xl font-bold"})]})]},r))})})]})};var w=n(u);export{w as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/GraphicMore/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport { cn } from '../../helpers/utils.js'\nimport SwiperBox from '../SwiperBox/index.js'\nimport type { Img } from '../../types/props.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport { Grid, GridItem } from '../../components/gird.js'\nimport { Picture, Text } from '../../components/index.js'\n\nexport type GraphicMoreDataType = {\n img: Img\n mobileImg: Img\n title: string\n description: string\n theme: 'light' | 'dark'\n fullWidth: 'true' | 'false'\n span: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12\n}\n\ntype GraphicMoreType = {\n data: {\n shape?: 'rounded' | 'square'\n productsTab: GraphicMoreDataType[]\n }\n className?: string\n}\n\nconst GraphicMore = (props: GraphicMoreType) => {\n const { data, className } = props\n const { productsTab, shape } = data\n\n return (\n <>\n <div className={cn('creativeModuleBlock', 'tablet:block box-border hidden w-full overflow-hidden text-[#1D1D1F]')}>\n <Grid className={cn('tablet:gap-4 grid grid-cols-12 gap-3 ', className)}>\n {productsTab?.map((item, index) => {\n return (\n <GridItem\n key={index}\n span={item.span}\n className={cn(\n 'text-info-primary relative w-full overflow-hidden',\n shape === 'rounded' ? 'rounded-2xl' : 'rounded-none',\n 'lg-desktop:h-[480px] desktop:h-[384px] laptop:h-[288px]',\n {\n 'aiui-dark': item.theme === 'dark',\n }\n )}\n >\n <Picture source={item.img.url} className=\"size-full\" imgClassName=\"h-full object-cover\" />\n <div className=\"lg-desktop:top-8 lg-desktop:px-8 desktop:top-6 desktop:px-6 absolute top-4 px-4 flex flex-col gap-[6px] left-0 right-0 overflow-hidden\">\n {item.title && (\n <Text\n html={item.title}\n as=\"p\"\n className=\"line-clamp-2 desktop:text-[32px] laptop:text-2xl text-xl font-bold\"\n />\n )}\n {item.description && (\n <Text html={item.description} className=\"line-clamp-2 desktop:text-lg text-sm font-bold\" />\n )}\n </div>\n </GridItem>\n )\n })}\n </Grid>\n </div>\n <div className='tablet:hidden block text-[#1D1D1F]'>\n <div className=\" flex gap-[12px] flex-wrap\">\n {productsTab?.map((it, ind) => {\n return (\n <div\n key={ind}\n className={cn(\n 'text-info-primary relative overflow-hidden',\n shape === 'rounded' ? 'rounded-xl' : 'rounded-none',\n { 'aiui-dark': it.theme === 'dark' },\n it?.fullWidth === 'true' \n ? 'w-full flex-none' // \u5360\u6EE1\u6574\u884C\n : ' w-[173px]' // \u666E\u901A\u5143\u7D20\n )}\n >\n <Picture source={it.mobileImg.url} className=\"size-full\" imgClassName=\"h-full object-cover\" />\n <div className=\"absolute top-4 px-4 flex flex-col gap-[6px] left-0 right-0 overflow-hidden\">\n {it.title && <Text html={it.title} as=\"p\" className=\"text-xl font-bold leading-[1.2]\" />}\n {it.description && <Text html={it.description} className=\"text-xl font-bold\" />}\n </div>\n </div>\n )\n })}\n </div>\n </div>\n </>\n )\n}\n\nexport default withLayout(GraphicMore)\n"],
5
- "mappings": "aA+BI,mBAAAA,EAiBY,OAAAC,EACA,QAAAC,MAlBZ,oBA9BJ,OAAS,MAAAC,MAAU,yBACnB,MAAsB,wBAEtB,OAAS,cAAAC,MAAkB,yBAC3B,OAAS,QAAAC,EAAM,YAAAC,MAAgB,2BAC/B,OAAS,WAAAC,EAAS,QAAAC,MAAY,4BAoB9B,MAAMC,EAAeC,GAA2B,CAC9C,KAAM,CAAE,KAAAC,EAAM,UAAAC,CAAU,EAAIF,EACtB,CAAE,YAAAG,EAAa,MAAAC,CAAM,EAAIH,EAE/B,OACET,EAAAF,EAAA,CACE,UAAAC,EAAC,OAAI,UAAWE,EAAG,sBAAuB,sEAAsE,EAC9G,SAAAF,EAACI,EAAA,CAAK,UAAWF,EAAG,wCAAyCS,CAAS,EACnE,SAAAC,GAAa,IAAI,CAACE,EAAMC,IAErBd,EAACI,EAAA,CAEC,KAAMS,EAAK,KACX,UAAWZ,EACT,oDACAW,IAAU,UAAY,cAAgB,eACtC,0DACA,CACE,YAAaC,EAAK,QAAU,MAC9B,CACF,EAEA,UAAAd,EAACM,EAAA,CAAQ,OAAQQ,EAAK,IAAI,IAAK,UAAU,YAAY,aAAa,sBAAsB,EACxFb,EAAC,OAAI,UAAU,yIACZ,UAAAa,EAAK,OACJd,EAACO,EAAA,CACC,KAAMO,EAAK,MACX,GAAG,IACH,UAAU,qEACZ,EAEDA,EAAK,aACJd,EAACO,EAAA,CAAK,KAAMO,EAAK,YAAa,UAAU,iDAAiD,GAE7F,IAvBKC,CAwBP,CAEH,EACH,EACF,EACAf,EAAC,OAAI,UAAU,qCACb,SAAAA,EAAC,OAAI,UAAU,6BACd,SAAAY,GAAa,IAAI,CAACI,EAAIC,IAEnBhB,EAAC,OAEC,UAAWC,EACT,6CACAW,IAAU,UAAY,aAAe,eACrC,CAAE,YAAaG,EAAG,QAAU,MAAO,EACnCA,GAAI,YAAc,OACd,mBACA,YACN,EAEA,UAAAhB,EAACM,EAAA,CAAQ,OAAQU,EAAG,UAAU,IAAK,UAAU,YAAY,aAAa,sBAAsB,EAC5Ff,EAAC,OAAI,UAAU,6EACZ,UAAAe,EAAG,OAAShB,EAACO,EAAA,CAAK,KAAMS,EAAG,MAAO,GAAG,IAAI,UAAU,kCAAkC,EACrFA,EAAG,aAAehB,EAACO,EAAA,CAAK,KAAMS,EAAG,YAAa,UAAU,oBAAoB,GAC/E,IAdKC,CAeP,CAEH,EACD,EACF,GACF,CAEJ,EAEA,IAAOC,EAAQf,EAAWK,CAAW",
6
- "names": ["Fragment", "jsx", "jsxs", "cn", "withLayout", "Grid", "GridItem", "Picture", "Text", "GraphicMore", "props", "data", "className", "productsTab", "shape", "item", "index", "it", "ind", "GraphicMore_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as o}from"react/jsx-runtime";import"react";const e=t=>o("svg",{width:"16",height:"8",viewBox:"0 0 16 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:o("path",{d:"M8 0L16 8H0L8 0Z",fill:"currentColor"})});var n=e;export{n as default};
2
- //# sourceMappingURL=Polygon.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/biz-components/HeaderNavigation/icons/Polygon.tsx"],
4
- "sourcesContent": ["import React from 'react'\n\nconst Polygon = (props: React.SVGProps<SVGSVGElement>) => {\n return (\n <svg width=\"16\" height=\"8\" viewBox=\"0 0 16 8\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path d=\"M8 0L16 8H0L8 0Z\" fill=\"currentColor\" />\n </svg>\n )\n}\n\nexport default Polygon"],
5
- "mappings": "AAKM,cAAAA,MAAA,oBALN,MAAkB,QAElB,MAAMC,EAAWC,GAEbF,EAAC,OAAI,MAAM,KAAK,OAAO,IAAI,QAAQ,WAAW,KAAK,OAAO,MAAM,6BAA8B,GAAGE,EAC/F,SAAAF,EAAC,QAAK,EAAE,mBAAmB,KAAK,eAAe,EACjD,EAIJ,IAAOG,EAAQF",
6
- "names": ["jsx", "Polygon", "props", "Polygon_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as T}from"react/jsx-runtime";import{createContext as A,useContext as r,useState as G}from"react";const t=A({}),W=()=>{if(!r(t))throw new Error("useProductContext must be used in <ProductProvider>");return r(t)},O=({product:e,isLogin:o,isMobile:a,isDesktop:n,children:u,renderRating:i,freeGift:c,bundle:d,checkedBundle:s,checkedGift:m,setCheckedBundle:p,setCheckedGift:l,variant:P,selectedOptions:S,setSelectedOptions:y,compareData:b,coupon:f,finalPrice:C,comparePrice:h,totalSavings:x,savingDetail:v,selectedVariants:D,onAddToCart:g,onBuyNow:B})=>{const[V,k]=G({bundleSummary:!1,giftSummary:!1});return T(t.Provider,{value:{product:e,variant:P,isMobile:a,isDesktop:n,isLogin:o,coupon:f,renderRating:i,finalPrice:C,comparePrice:h,savingDetail:v,totalSavings:x,selectedOptions:S,setSelectedOptions:y,freeGift:c,checkedGift:m,setCheckedGift:l,checkedBundle:s,setCheckedBundle:p,bundle:d,compareData:b,selectedVariants:D,onAddToCart:g,onBuyNow:B,productSummaryStatus:V,setProductSummaryStatus:k},children:u})};var w=O;export{t as ProductContext,w as default,W as useProductContext};
2
- //# sourceMappingURL=ProductProvider.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../src/biz-components/Listing/ProductProvider.tsx"],
4
- "sourcesContent": ["import React, {\n createContext,\n useCallback,\n useContext,\n type Dispatch,\n type SetStateAction,\n type PropsWithChildren,\n useState,\n} from 'react'\nimport type {\n Product,\n ProductPrice,\n ProductVariant,\n VariantCoupon,\n Options,\n FreeGift,\n BundleListItem,\n Bundle,\n} from './types/product'\nimport type { CompareData } from './types.js'\n\nexport type SavingDetail = { coupon: number; bundle: number; member: number; freeGift: number; compare: number }\n\ntype variantWithFinalPrice = ProductVariant & { finalPrice?: ProductPrice }\nexport interface ProductContextType {\n isLogin?: boolean\n isMobile?: boolean\n isDesktop?: boolean\n product: Product\n variant: ProductVariant\n selectedVariants: Array<variantWithFinalPrice>\n renderRating?: React.ReactNode\n coupon?: VariantCoupon\n savingDetail: SavingDetail\n finalPrice: number\n comparePrice: number\n totalSavings: number\n selectedOptions: Options\n setSelectedOptions: Dispatch<SetStateAction<Options>>\n freeGift?: FreeGift\n checkedGift?: ProductVariant\n setCheckedGift?: Dispatch<SetStateAction<ProductVariant | undefined>>\n checkedBundle?: BundleListItem\n setCheckedBundle: Dispatch<SetStateAction<BundleListItem | undefined>>\n productSummaryStatus: {\n bundleSummary: boolean\n giftSummary: boolean\n }\n setProductSummaryStatus?: Dispatch<SetStateAction<{ bundleSummary: boolean; giftSummary: boolean }>>\n checkedCareBundle?: ProductVariant\n setCheckedCareBundle?: Dispatch<SetStateAction<ProductVariant | undefined>>\n bundle?: Bundle\n compareData?: CompareData['data']\n onAddToCart?: () => void\n onBuyNow?: () => void\n}\n\n// const initialState: ProductContextType = {\n// isLogin: false,\n// isMobile: false,\n// product: {} as Product,\n// variant: {} as ProductVariant,\n// savingDetail: { coupon: 0, bundle: 0, member: 0, freeGift: 0, compare: 0 },\n// finalPrice: 0,\n// comparePrice: 0,\n// totalSavings: 0,\n// renderRating: null,\n// selectedOptions: {} as Options,\n// setSelectedOptions: () => {},\n// checkedBundle: undefined,\n// checkedGift: undefined,\n// setCheckedBundle: () => {},\n// setCheckedGift: () => {},\n// checkedCareBundle: undefined,\n// setCheckedCareBundle: () => {},\n// }\n\nexport const ProductContext = createContext<ProductContextType>({} as ProductContextType)\n\nexport const useProductContext = () => {\n const context = useContext(ProductContext)\n if (!context) {\n throw new Error('useProductContext must be used in <ProductProvider>')\n }\n return useContext(ProductContext)\n}\n\nconst ProductProvider = ({\n product,\n isLogin,\n isMobile,\n isDesktop,\n children,\n renderRating,\n freeGift,\n bundle,\n checkedBundle,\n checkedGift,\n setCheckedBundle,\n setCheckedGift,\n variant,\n selectedOptions,\n setSelectedOptions,\n compareData,\n coupon,\n finalPrice,\n comparePrice,\n totalSavings,\n savingDetail,\n selectedVariants,\n onAddToCart,\n onBuyNow,\n}: PropsWithChildren<Omit<ProductContextType, 'productSummaryStatus' | 'setProductSummaryStatus'>>) => {\n const [productSummaryStatus, setProductSummaryStatus] = useState<{ bundleSummary: boolean; giftSummary: boolean }>({\n bundleSummary: false,\n giftSummary: false,\n })\n return (\n <ProductContext.Provider\n value={{\n product,\n variant,\n isMobile,\n isDesktop,\n isLogin,\n coupon,\n renderRating,\n finalPrice,\n comparePrice,\n savingDetail,\n totalSavings,\n selectedOptions,\n setSelectedOptions,\n freeGift,\n checkedGift,\n setCheckedGift,\n checkedBundle,\n setCheckedBundle,\n bundle,\n compareData,\n selectedVariants,\n onAddToCart,\n onBuyNow,\n productSummaryStatus,\n setProductSummaryStatus,\n }}\n >\n {children}\n </ProductContext.Provider>\n )\n}\n\nexport default ProductProvider\n"],
5
- "mappings": "AAsHI,cAAAA,MAAA,oBAtHJ,OACE,iBAAAC,EAEA,cAAAC,EAIA,YAAAC,MACK,QAqEA,MAAMC,EAAiBH,EAAkC,CAAC,CAAuB,EAE3EI,EAAoB,IAAM,CAErC,GAAI,CADYH,EAAWE,CAAc,EAEvC,MAAM,IAAI,MAAM,qDAAqD,EAEvE,OAAOF,EAAWE,CAAc,CAClC,EAEME,EAAkB,CAAC,CACvB,QAAAC,EACA,QAAAC,EACA,SAAAC,EACA,UAAAC,EACA,SAAAC,EACA,aAAAC,EACA,SAAAC,EACA,OAAAC,EACA,cAAAC,EACA,YAAAC,EACA,iBAAAC,EACA,eAAAC,EACA,QAAAC,EACA,gBAAAC,EACA,mBAAAC,EACA,YAAAC,EACA,OAAAC,EACA,WAAAC,EACA,aAAAC,EACA,aAAAC,EACA,aAAAC,EACA,iBAAAC,EACA,YAAAC,EACA,SAAAC,CACF,IAAuG,CACrG,KAAM,CAACC,EAAsBC,CAAuB,EAAI7B,EAA2D,CACjH,cAAe,GACf,YAAa,EACf,CAAC,EACD,OACEH,EAACI,EAAe,SAAf,CACC,MAAO,CACL,QAAAG,EACA,QAAAY,EACA,SAAAV,EACA,UAAAC,EACA,QAAAF,EACA,OAAAe,EACA,aAAAX,EACA,WAAAY,EACA,aAAAC,EACA,aAAAE,EACA,aAAAD,EACA,gBAAAN,EACA,mBAAAC,EACA,SAAAR,EACA,YAAAG,EACA,eAAAE,EACA,cAAAH,EACA,iBAAAE,EACA,OAAAH,EACA,YAAAQ,EACA,iBAAAM,EACA,YAAAC,EACA,SAAAC,EACA,qBAAAC,EACA,wBAAAC,CACF,EAEC,SAAArB,EACH,CAEJ,EAEA,IAAOsB,EAAQ3B",
6
- "names": ["jsx", "createContext", "useContext", "useState", "ProductContext", "useProductContext", "ProductProvider", "product", "isLogin", "isMobile", "isDesktop", "children", "renderRating", "freeGift", "bundle", "checkedBundle", "checkedGift", "setCheckedBundle", "setCheckedGift", "variant", "selectedOptions", "setSelectedOptions", "compareData", "coupon", "finalPrice", "comparePrice", "totalSavings", "savingDetail", "selectedVariants", "onAddToCart", "onBuyNow", "productSummaryStatus", "setProductSummaryStatus", "ProductProvider_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as s,jsxs as H}from"react/jsx-runtime";import{Text as u}from"../../../../../../components/index.js";import{createContext as g,useContext as B,useState as m}from"react";import{cn as i}from"../../../../../../helpers/index.js";import{Content as v,List as x,Root as L,Trigger as C}from"@radix-ui/react-tabs";const T=g(void 0),P=()=>{const e=B(T);if(!e)throw new Error("ProductBenefitsTabs components must be used within ProductBenefitsTabs");return e},a=({defaultValue:e,value:t,onValueChange:n,children:r,className:o,...l})=>{const[b,p]=m(e),c=t??b,d=f=>{t===void 0&&p(f),n?.(f)};return s(T.Provider,{value:{activeValue:c,setActiveValue:d},children:s("div",{id:"ipc-product-detail-benefits-tabs",className:i("bg-[#EAEAEC] rounded-xl py-4",o),...l,children:s(L,{value:c,onValueChange:d,children:r})})})},h=({children:e,className:t,...n})=>s(x,{className:i("flex space-x-6 overflow-x-auto px-4",t),style:{scrollbarWidth:"none",msOverflowStyle:"none"},...n,children:e}),N=({value:e,children:t,className:n,...r})=>{const{activeValue:o}=P(),l=o===e;return H(C,{value:e,className:i("text-base whitespace-nowrap relative leading-[1.4] font-bold pb-4 text-[#6D6D6F]",n),...r,children:[s(u,{className:i("absolute bottom-0 z-10 left-0 h-[2px] w-0 bg-info-primary transition-all duration-300",l&&"w-full")}),t]})},w=({children:e,className:t,...n})=>s(u,{size:1,className:i("font-bold ml-1 !whitespace-nowrap rounded-full px-2 py-1 text-white bg-[#FF5900]",t),...n,children:e}),A=({value:e,children:t,className:n,...r})=>s(v,{value:e,className:i("mt-4",n),...r,children:t});a.displayName="ProductBenefitsTabs",a.List=h,a.Trigger=N,a.Badge=w,a.Content=A;var R=a;export{R as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../../src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.tsx"],
4
- "sourcesContent": ["import { Text } from '../../../../../../components/index.js'\nimport { createContext, useContext, useState, type ReactNode, type HTMLAttributes } from 'react'\nimport { cn } from '../../../../../../helpers/index.js'\nimport { Content, List, Root, Trigger } from '@radix-ui/react-tabs'\n\n\n// Context for sharing state between components\ninterface BenefitsTabsContextType {\n activeValue: string | undefined\n setActiveValue: (value: string) => void\n}\n\nconst BenefitsTabsContext = createContext<BenefitsTabsContextType | undefined>(undefined)\n\nconst useBenefitsTabsContext = () => {\n const context = useContext(BenefitsTabsContext)\n if (!context) {\n throw new Error('ProductBenefitsTabs components must be used within ProductBenefitsTabs')\n }\n return context\n}\n\n// Main container component\ninterface BenefitsTabsProps extends HTMLAttributes<HTMLDivElement> {\n defaultValue?: string\n value?: string\n onValueChange?: (value: string) => void\n children: ReactNode\n}\n\nconst ProductBenefitsTabs = ({ \n defaultValue, \n value, \n onValueChange, \n children, \n className,\n ...props \n}: BenefitsTabsProps) => {\n const [internalValue, setInternalValue] = useState(defaultValue)\n \n const activeValue = value ?? internalValue\n const setActiveValue = (newValue: string) => {\n if (value === undefined) {\n setInternalValue(newValue)\n }\n onValueChange?.(newValue)\n }\n\n return (\n <BenefitsTabsContext.Provider value={{ activeValue, setActiveValue }}>\n <div \n id=\"ipc-product-detail-benefits-tabs\" \n className={cn(\"bg-[#EAEAEC] rounded-xl py-4\", className)}\n {...props}\n >\n <Root value={activeValue} onValueChange={setActiveValue}>\n {children}\n </Root>\n </div>\n </BenefitsTabsContext.Provider>\n )\n}\n\n// List component for triggers\ninterface BenefitsTabsListProps extends HTMLAttributes<HTMLDivElement> {\n children: ReactNode\n}\n\nconst BenefitsTabsList = ({ children, className, ...props }: BenefitsTabsListProps) => {\n return (\n <List\n className={cn(\"flex space-x-6 overflow-x-auto px-4\", className)}\n style={{\n scrollbarWidth: 'none',\n msOverflowStyle: 'none',\n }}\n {...props}\n >\n {children}\n </List>\n )\n}\n\n// Trigger component\ninterface BenefitsTabsTriggerProps extends HTMLAttributes<HTMLButtonElement> {\n value: string\n children: ReactNode\n}\n\nconst BenefitsTabsTrigger = ({ value, children, className, ...props }: BenefitsTabsTriggerProps) => {\n const { activeValue } = useBenefitsTabsContext()\n const isActive = activeValue === value\n\n return (\n <Trigger\n value={value}\n className={cn(\n 'text-base whitespace-nowrap relative leading-[1.4] font-bold pb-4 text-[#6D6D6F]',\n className\n )}\n {...props}\n >\n <Text\n className={cn(\n 'absolute bottom-0 z-10 left-0 h-[2px] w-0 bg-info-primary transition-all duration-300',\n isActive && 'w-full'\n )}\n />\n {children}\n </Trigger>\n )\n}\n\n// Badge component for trigger\ninterface BenefitsTabsBadgeProps extends HTMLAttributes<HTMLSpanElement> {\n children: ReactNode\n}\n\nconst BenefitsTabsBadge = ({ children, className, ...props }: BenefitsTabsBadgeProps) => {\n return (\n <Text\n size={1}\n className={cn(\n \"font-bold ml-1 !whitespace-nowrap rounded-full px-2 py-1 text-white bg-[#FF5900]\",\n className\n )}\n {...props}\n >\n {children}\n </Text>\n )\n}\n\n// Content component\ninterface BenefitsTabsContentProps extends HTMLAttributes<HTMLDivElement> {\n value: string\n children: ReactNode\n}\n\nconst BenefitsTabsContent = ({ value, children, className, ...props }: BenefitsTabsContentProps) => {\n return (\n <Content \n value={value} \n className={cn(\"mt-4\", className)}\n {...props}\n >\n {children}\n </Content>\n )\n}\n\n\nProductBenefitsTabs.displayName = 'ProductBenefitsTabs'\n\n// Attach sub-components to main component\nProductBenefitsTabs.List = BenefitsTabsList\nProductBenefitsTabs.Trigger = BenefitsTabsTrigger\nProductBenefitsTabs.Badge = BenefitsTabsBadge\nProductBenefitsTabs.Content = BenefitsTabsContent\n\nexport default ProductBenefitsTabs\n"],
5
- "mappings": "AAuDQ,cAAAA,EAuCJ,QAAAC,MAvCI,oBAvDR,OAAS,QAAAC,MAAY,wCACrB,OAAS,iBAAAC,EAAe,cAAAC,EAAY,YAAAC,MAAqD,QACzF,OAAS,MAAAC,MAAU,qCACnB,OAAS,WAAAC,EAAS,QAAAC,EAAM,QAAAC,EAAM,WAAAC,MAAe,uBAS7C,MAAMC,EAAsBR,EAAmD,MAAS,EAElFS,EAAyB,IAAM,CACnC,MAAMC,EAAUT,EAAWO,CAAmB,EAC9C,GAAI,CAACE,EACH,MAAM,IAAI,MAAM,wEAAwE,EAE1F,OAAOA,CACT,EAUMC,EAAsB,CAAC,CAC3B,aAAAC,EACA,MAAAC,EACA,cAAAC,EACA,SAAAC,EACA,UAAAC,EACA,GAAGC,CACL,IAAyB,CACvB,KAAM,CAACC,EAAeC,CAAgB,EAAIjB,EAASU,CAAY,EAEzDQ,EAAcP,GAASK,EACvBG,EAAkBC,GAAqB,CACvCT,IAAU,QACZM,EAAiBG,CAAQ,EAE3BR,IAAgBQ,CAAQ,CAC1B,EAEA,OACEzB,EAACW,EAAoB,SAApB,CAA6B,MAAO,CAAE,YAAAY,EAAa,eAAAC,CAAe,EACjE,SAAAxB,EAAC,OACC,GAAG,mCACH,UAAWM,EAAG,+BAAgCa,CAAS,EACtD,GAAGC,EAEJ,SAAApB,EAACS,EAAA,CAAK,MAAOc,EAAa,cAAeC,EACtC,SAAAN,EACH,EACF,EACF,CAEJ,EAOMQ,EAAmB,CAAC,CAAE,SAAAR,EAAU,UAAAC,EAAW,GAAGC,CAAM,IAEtDpB,EAACQ,EAAA,CACC,UAAWF,EAAG,sCAAuCa,CAAS,EAC9D,MAAO,CACL,eAAgB,OAChB,gBAAiB,MACnB,EACC,GAAGC,EAEH,SAAAF,EACH,EAUES,EAAsB,CAAC,CAAE,MAAAX,EAAO,SAAAE,EAAU,UAAAC,EAAW,GAAGC,CAAM,IAAgC,CAClG,KAAM,CAAE,YAAAG,CAAY,EAAIX,EAAuB,EACzCgB,EAAWL,IAAgBP,EAEjC,OACEf,EAACS,EAAA,CACC,MAAOM,EACP,UAAWV,EACT,mFACAa,CACF,EACC,GAAGC,EAEJ,UAAApB,EAACE,EAAA,CACC,UAAWI,EACT,wFACAsB,GAAY,QACd,EACF,EACCV,GACH,CAEJ,EAOMW,EAAoB,CAAC,CAAE,SAAAX,EAAU,UAAAC,EAAW,GAAGC,CAAM,IAEvDpB,EAACE,EAAA,CACC,KAAM,EACN,UAAWI,EACT,mFACAa,CACF,EACC,GAAGC,EAEH,SAAAF,EACH,EAUEY,EAAsB,CAAC,CAAE,MAAAd,EAAO,SAAAE,EAAU,UAAAC,EAAW,GAAGC,CAAM,IAEhEpB,EAACO,EAAA,CACC,MAAOS,EACP,UAAWV,EAAG,OAAQa,CAAS,EAC9B,GAAGC,EAEH,SAAAF,EACH,EAKJJ,EAAoB,YAAc,sBAGlCA,EAAoB,KAAOY,EAC3BZ,EAAoB,QAAUa,EAC9Bb,EAAoB,MAAQe,EAC5Bf,EAAoB,QAAUgB,EAE9B,IAAOC,EAAQjB",
6
- "names": ["jsx", "jsxs", "Text", "createContext", "useContext", "useState", "cn", "Content", "List", "Root", "Trigger", "BenefitsTabsContext", "useBenefitsTabsContext", "context", "ProductBenefitsTabs", "defaultValue", "value", "onValueChange", "children", "className", "props", "internalValue", "setInternalValue", "activeValue", "setActiveValue", "newValue", "BenefitsTabsList", "BenefitsTabsTrigger", "isActive", "BenefitsTabsBadge", "BenefitsTabsContent", "ProductBenefitsTabs_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as i,jsxs as r}from"react/jsx-runtime";import{Text as a,Picture as g,Checkbox as C}from"../../../../../../components";import{cn as N}from"../../../../../../helpers/index.js";import{useAiuiContext as S}from"../../../../../AiuiProvider";import{useProductContext as b}from"../../../../ProductProvider";import{formatPrice as p}from"../../../../utils";const B=()=>{const{locale:l="us"}=S(),{variant:u,bundle:f,checkedBundle:o,setCheckedBundle:c,setCheckedGift:x,setProductSummaryStatus:d,productSummaryStatus:n}=b(),{title:v,bundleList:h,showAtListing:k}=f||{},m=h?.filter(e=>e.variants.slice(1,e.variants.length).every(s=>s.variant.availableForSale));if(!m?.length&&k)return null;const y=e=>{o?.id===e.id?(c?.(void 0),d?.({...n,bundleSummary:!1})):(x?.(void 0),c?.(e),d?.({...n,bundleSummary:!0}))};return r("div",{className:"ipc-product-detail-bundle",children:[i(a,{size:3,className:"font-bold",html:v}),m?.map(e=>{const s=e.variants.filter(t=>t.variant.sku!==u.sku);return i("div",{className:"flex flex-col gap-4 mt-3 desktop:mt-4",children:r("div",{className:N("flex items-center gap-2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border",{"border-brand outline outline-1 outline-brand":o?.id===e.id}),children:[i(C,{onCheckedChange:()=>y(e),size:"lg",id:e.id,value:e.id,checked:o?.id===e.id}),i("label",{htmlFor:e.id,className:"size-full cursor-pointer",children:s?.map(t=>r("div",{className:"flex justify-between items-center gap-6 ",children:[r("div",{className:"flex items-center gap-2",children:[i(g,{source:t?.variant?.image?.url,className:"size-12 flex-shrink-0"}),i(a,{className:"text-sm laptop:text-[16px] laptop:text-[20px] desktop:text-[18px] font-bold",html:t.variant.product.title})]}),r("div",{className:"flex items-center justify-end gap-1 laptop:flex-row flex-col shrink-0",children:[i(a,{className:"text-base laptop:text-[20px] desktop:text-2xl font-bold",html:p({amount:t.price,locale:l,currencyCode:t.variant.price.currencyCode})}),t.price<t.variant.price.amount&&i(a,{className:"text-base laptop:text-[20px] desktop:text-2xl font-bold line-through text-[#6D6D6F]",html:p({amount:t.variant.price.amount,locale:l,currencyCode:t.variant.price.currencyCode})})]})]},t.variant.id))})]})},e.id)})]})};var A=B;export{A as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../../src/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.tsx"],
4
- "sourcesContent": ["import { Text, Picture, Button, Checkbox } from '../../../../../../components'\nimport { cn } from '../../../../../../helpers/index.js'\nimport { useAiuiContext } from '../../../../../AiuiProvider'\nimport { useProductContext } from '../../../../ProductProvider'\nimport { formatPrice } from '../../../../utils'\nimport type { BundleListItem } from '../../../../types/product'\n\nconst ProductBundle = () => {\n const { locale = 'us' } = useAiuiContext()\n const {\n variant,\n bundle,\n checkedBundle,\n setCheckedBundle,\n setCheckedGift,\n setProductSummaryStatus,\n productSummaryStatus,\n } = useProductContext()\n\n const { title, bundleList, showAtListing } = bundle || {}\n\n const availableBundleList = bundleList?.filter(bundle =>\n bundle.variants.slice(1, bundle.variants.length).every(v => v.variant.availableForSale)\n )\n\n if (!availableBundleList?.length && showAtListing) return null\n\n const handleSelectedChange = (bundleItem: BundleListItem) => {\n if (checkedBundle?.id === bundleItem.id) {\n setCheckedBundle?.(undefined)\n setProductSummaryStatus?.({ ...productSummaryStatus, bundleSummary: false })\n } else {\n setCheckedGift?.(undefined)\n setCheckedBundle?.(bundleItem)\n setProductSummaryStatus?.({ ...productSummaryStatus, bundleSummary: true })\n }\n }\n\n return (\n <div className=\"ipc-product-detail-bundle\">\n <Text size={3} className=\"font-bold\" html={title} />\n {availableBundleList?.map(bundle => {\n const bundleVariants = bundle.variants.filter(v => v.variant.sku !== variant.sku)\n return (\n <div key={bundle.id} className=\"flex flex-col gap-4 mt-3 desktop:mt-4\">\n <div\n className={cn(\n 'flex items-center gap-2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border',\n {\n ['border-brand outline outline-1 outline-brand']: checkedBundle?.id === bundle.id,\n }\n )}\n >\n <Checkbox\n onCheckedChange={() => handleSelectedChange(bundle)}\n size=\"lg\"\n id={bundle.id}\n value={bundle.id}\n checked={checkedBundle?.id === bundle.id}\n />\n <label htmlFor={bundle.id} className=\"size-full cursor-pointer\">\n {bundleVariants?.map(bundleVariant => {\n return (\n <div className=\"flex justify-between items-center gap-6 \" key={bundleVariant.variant.id}>\n <div className=\"flex items-center gap-2\">\n <Picture source={bundleVariant?.variant?.image?.url} className=\"size-12 flex-shrink-0\" />\n <Text\n className=\"text-sm laptop:text-[16px] laptop:text-[20px] desktop:text-[18px] font-bold\"\n html={bundleVariant.variant.product.title}\n />\n </div>\n <div className=\"flex items-center justify-end gap-1 laptop:flex-row flex-col shrink-0\">\n <Text\n className=\"text-base laptop:text-[20px] desktop:text-2xl font-bold\"\n html={formatPrice({\n amount: bundleVariant.price,\n locale,\n currencyCode: bundleVariant.variant.price.currencyCode,\n })}\n />\n {bundleVariant.price < bundleVariant.variant.price.amount && (\n <Text\n className=\"text-base laptop:text-[20px] desktop:text-2xl font-bold line-through text-[#6D6D6F]\"\n html={formatPrice({\n amount: bundleVariant.variant.price.amount,\n locale,\n currencyCode: bundleVariant.variant.price.currencyCode,\n })}\n />\n )}\n </div>\n </div>\n )\n })}\n </label>\n </div>\n </div>\n )\n })}\n </div>\n )\n}\n\nexport default ProductBundle\n"],
5
- "mappings": "AAwCM,cAAAA,EAwBgB,QAAAC,MAxBhB,oBAxCN,OAAS,QAAAC,EAAM,WAAAC,EAAiB,YAAAC,MAAgB,+BAChD,OAAS,MAAAC,MAAU,qCACnB,OAAS,kBAAAC,MAAsB,8BAC/B,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,eAAAC,MAAmB,oBAG5B,MAAMC,EAAgB,IAAM,CAC1B,KAAM,CAAE,OAAAC,EAAS,IAAK,EAAIJ,EAAe,EACnC,CACJ,QAAAK,EACA,OAAAC,EACA,cAAAC,EACA,iBAAAC,EACA,eAAAC,EACA,wBAAAC,EACA,qBAAAC,CACF,EAAIV,EAAkB,EAEhB,CAAE,MAAAW,EAAO,WAAAC,EAAY,cAAAC,CAAc,EAAIR,GAAU,CAAC,EAElDS,EAAsBF,GAAY,OAAOP,GAC7CA,EAAO,SAAS,MAAM,EAAGA,EAAO,SAAS,MAAM,EAAE,MAAMU,GAAKA,EAAE,QAAQ,gBAAgB,CACxF,EAEA,GAAI,CAACD,GAAqB,QAAUD,EAAe,OAAO,KAE1D,MAAMG,EAAwBC,GAA+B,CACvDX,GAAe,KAAOW,EAAW,IACnCV,IAAmB,MAAS,EAC5BE,IAA0B,CAAE,GAAGC,EAAsB,cAAe,EAAM,CAAC,IAE3EF,IAAiB,MAAS,EAC1BD,IAAmBU,CAAU,EAC7BR,IAA0B,CAAE,GAAGC,EAAsB,cAAe,EAAK,CAAC,EAE9E,EAEA,OACEhB,EAAC,OAAI,UAAU,4BACb,UAAAD,EAACE,EAAA,CAAK,KAAM,EAAG,UAAU,YAAY,KAAMgB,EAAO,EACjDG,GAAqB,IAAIT,GAAU,CAClC,MAAMa,EAAiBb,EAAO,SAAS,OAAOU,GAAKA,EAAE,QAAQ,MAAQX,EAAQ,GAAG,EAChF,OACEX,EAAC,OAAoB,UAAU,wCAC7B,SAAAC,EAAC,OACC,UAAWI,EACT,4FACA,CACG,+CAAiDQ,GAAe,KAAOD,EAAO,EACjF,CACF,EAEA,UAAAZ,EAACI,EAAA,CACC,gBAAiB,IAAMmB,EAAqBX,CAAM,EAClD,KAAK,KACL,GAAIA,EAAO,GACX,MAAOA,EAAO,GACd,QAASC,GAAe,KAAOD,EAAO,GACxC,EACAZ,EAAC,SAAM,QAASY,EAAO,GAAI,UAAU,2BAClC,SAAAa,GAAgB,IAAIC,GAEjBzB,EAAC,OAAI,UAAU,2CACb,UAAAA,EAAC,OAAI,UAAU,0BACb,UAAAD,EAACG,EAAA,CAAQ,OAAQuB,GAAe,SAAS,OAAO,IAAK,UAAU,wBAAwB,EACvF1B,EAACE,EAAA,CACC,UAAU,8EACV,KAAMwB,EAAc,QAAQ,QAAQ,MACtC,GACF,EACAzB,EAAC,OAAI,UAAU,yEACb,UAAAD,EAACE,EAAA,CACC,UAAU,0DACV,KAAMM,EAAY,CAChB,OAAQkB,EAAc,MACtB,OAAAhB,EACA,aAAcgB,EAAc,QAAQ,MAAM,YAC5C,CAAC,EACH,EACCA,EAAc,MAAQA,EAAc,QAAQ,MAAM,QACjD1B,EAACE,EAAA,CACC,UAAU,sFACV,KAAMM,EAAY,CAChB,OAAQkB,EAAc,QAAQ,MAAM,OACpC,OAAAhB,EACA,aAAcgB,EAAc,QAAQ,MAAM,YAC5C,CAAC,EACH,GAEJ,IA3B6DA,EAAc,QAAQ,EA4BrF,CAEH,EACH,GACF,GAnDQd,EAAO,EAoDjB,CAEJ,CAAC,GACH,CAEJ,EAEA,IAAOe,EAAQlB",
6
- "names": ["jsx", "jsxs", "Text", "Picture", "Checkbox", "cn", "useAiuiContext", "useProductContext", "formatPrice", "ProductBundle", "locale", "variant", "bundle", "checkedBundle", "setCheckedBundle", "setCheckedGift", "setProductSummaryStatus", "productSummaryStatus", "title", "bundleList", "showAtListing", "availableBundleList", "v", "handleSelectedChange", "bundleItem", "bundleVariants", "bundleVariant", "ProductBundle_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as t,jsxs as o}from"react/jsx-runtime";import{Text as l,Picture as b,Checkbox as h}from"../../../../../../components";import{cn as k}from"../../../../../../helpers/index.js";import{useMemo as v}from"react";import{useProductContext as C}from"../../../../ProductProvider";import{formatPrice as y}from"../../../../utils";import{useAiuiContext as N}from"../../../../../AiuiProvider";const G=()=>{const{locale:m="us"}=N(),{freeGift:p,checkedGift:r,setCheckedGift:a,setCheckedBundle:n,setProductSummaryStatus:d,productSummaryStatus:i}=C(),{title:u,giftList:s=[],freeLabel:f}=p||{},c=v(()=>s?.filter(e=>e.availableForSale),[s]),x=e=>{r?.id===e.id?(a?.(void 0),d?.({...i,giftSummary:!1})):(n?.(void 0),a?.(e),d?.({...i,giftSummary:!0}))};return c?.length?o("div",{className:"ipc-product-detail-free-gift",children:[t(l,{size:3,className:"font-bold",html:u}),t("div",{className:"mt-3 flex flex-col gap-4 desktop:mt-4",children:c.map(e=>o("div",{className:k("flex items-center gap-2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border-2",{"border-brand":r?.id===e.id}),children:[t(h,{onCheckedChange:()=>x(e),size:"lg",id:e.id,checked:r?.id===e.id,value:e.id}),o("label",{htmlFor:e.id,className:"flex justify-between items-center gap-4 laptop:gap-0 w-full",children:[o("div",{className:"flex items-center gap-2",children:[t(b,{source:e.image?.url,className:"size-12 flex-shrink-0"}),t(l,{className:"text-sm laptop:text-[16px] desktop:text-[18px] font-bold",html:e.product.title})]}),o("div",{className:"flex items-center gap-1 tablet:flex-row flex-col shrink-0",children:[t(l,{className:"text-base laptop:text-[20px] desktop:text-2xl font-bold",html:f}),t(l,{className:"text-base laptop:text-[20px] desktop:text-2xl font-bold line-through",html:y({amount:e.price.amount,locale:m,currencyCode:e.price.currencyCode})})]})]})]},e.id))})]}):null};var R=G;export{R as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../../src/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.tsx"],
4
- "sourcesContent": ["import { Text, Picture, Button, RadioGroup, RadioGroupItem, Checkbox } from '../../../../../../components'\nimport { cn } from '../../../../../../helpers/index.js'\nimport { useMemo } from 'react'\nimport { useProductContext } from '../../../../ProductProvider'\nimport { formatPrice } from '../../../../utils'\nimport { useAiuiContext } from '../../../../../AiuiProvider'\nimport type { ProductVariant } from '../../../../types/product'\n\nconst ProductFreeGift = () => {\n const { locale = 'us' } = useAiuiContext()\n const { freeGift, checkedGift, setCheckedGift, setCheckedBundle, setProductSummaryStatus, productSummaryStatus } = useProductContext()\n const { title, giftList = [], freeLabel } = freeGift || {}\n const availableGifts = useMemo(() => giftList?.filter(item => item.availableForSale), [giftList])\n\n const handleCheckboxClick = (value: ProductVariant) => {\n if (checkedGift?.id === value.id) {\n setCheckedGift?.(undefined)\n setProductSummaryStatus?.({ ...productSummaryStatus, giftSummary: false })\n } else {\n setCheckedBundle?.(undefined)\n setCheckedGift?.(value)\n setProductSummaryStatus?.({ ...productSummaryStatus, giftSummary: true })\n }\n }\n\n if (!availableGifts?.length) return null\n\n return (\n <div className=\"ipc-product-detail-free-gift\">\n <Text size={3} className=\"font-bold\" html={title} />\n <div className=\"mt-3 flex flex-col gap-4 desktop:mt-4\">\n {availableGifts.map(gift => (\n <div\n key={gift.id}\n className={cn(\n 'flex items-center gap-2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border-2',\n {\n ['border-brand']: checkedGift?.id === gift.id,\n }\n )}\n >\n <Checkbox\n onCheckedChange={() => handleCheckboxClick(gift)}\n size=\"lg\"\n id={gift.id}\n checked={checkedGift?.id === gift.id}\n value={gift.id}\n ></Checkbox>\n <label htmlFor={gift.id} className=\"flex justify-between items-center gap-4 laptop:gap-0 w-full\">\n <div className=\"flex items-center gap-2\">\n <Picture source={gift.image?.url} className=\"size-12 flex-shrink-0\" />\n <Text className=\"text-sm laptop:text-[16px] desktop:text-[18px] font-bold\" html={gift.product.title} />\n </div>\n <div className=\"flex items-center gap-1 tablet:flex-row flex-col shrink-0\">\n <Text className=\"text-base laptop:text-[20px] desktop:text-2xl font-bold\" html={freeLabel} />\n <Text\n className=\"text-base laptop:text-[20px] desktop:text-2xl font-bold line-through\"\n html={formatPrice({\n amount: gift.price.amount,\n locale,\n currencyCode: gift.price.currencyCode,\n })}\n />\n </div>\n </label>\n </div>\n ))}\n </div>\n </div>\n )\n}\n\nexport default ProductFreeGift\n"],
5
- "mappings": "AA6BM,cAAAA,EAoBQ,QAAAC,MApBR,oBA7BN,OAAS,QAAAC,EAAM,WAAAC,EAA6C,YAAAC,MAAgB,+BAC5E,OAAS,MAAAC,MAAU,qCACnB,OAAS,WAAAC,MAAe,QACxB,OAAS,qBAAAC,MAAyB,8BAClC,OAAS,eAAAC,MAAmB,oBAC5B,OAAS,kBAAAC,MAAsB,8BAG/B,MAAMC,EAAkB,IAAM,CAC5B,KAAM,CAAE,OAAAC,EAAS,IAAK,EAAIF,EAAe,EACnC,CAAE,SAAAG,EAAU,YAAAC,EAAa,eAAAC,EAAgB,iBAAAC,EAAkB,wBAAAC,EAAyB,qBAAAC,CAAqB,EAAIV,EAAkB,EAC/H,CAAE,MAAAW,EAAO,SAAAC,EAAW,CAAC,EAAG,UAAAC,CAAU,EAAIR,GAAY,CAAC,EACnDS,EAAiBf,EAAQ,IAAMa,GAAU,OAAOG,GAAQA,EAAK,gBAAgB,EAAG,CAACH,CAAQ,CAAC,EAE1FI,EAAuBC,GAA0B,CACjDX,GAAa,KAAOW,EAAM,IAC5BV,IAAiB,MAAS,EAC1BE,IAA0B,CAAE,GAAGC,EAAsB,YAAa,EAAM,CAAC,IAEzEF,IAAmB,MAAS,EAC5BD,IAAiBU,CAAK,EACtBR,IAA0B,CAAE,GAAGC,EAAsB,YAAa,EAAK,CAAC,EAE5E,EAEA,OAAKI,GAAgB,OAGnBpB,EAAC,OAAI,UAAU,+BACb,UAAAD,EAACE,EAAA,CAAK,KAAM,EAAG,UAAU,YAAY,KAAMgB,EAAO,EAClDlB,EAAC,OAAI,UAAU,wCACZ,SAAAqB,EAAe,IAAII,GAClBxB,EAAC,OAEC,UAAWI,EACT,8FACA,CACG,eAAiBQ,GAAa,KAAOY,EAAK,EAC7C,CACF,EAEA,UAAAzB,EAACI,EAAA,CACC,gBAAiB,IAAMmB,EAAoBE,CAAI,EAC/C,KAAK,KACL,GAAIA,EAAK,GACT,QAASZ,GAAa,KAAOY,EAAK,GAClC,MAAOA,EAAK,GACb,EACDxB,EAAC,SAAM,QAASwB,EAAK,GAAI,UAAU,8DACjC,UAAAxB,EAAC,OAAI,UAAU,0BACb,UAAAD,EAACG,EAAA,CAAQ,OAAQsB,EAAK,OAAO,IAAK,UAAU,wBAAwB,EACpEzB,EAACE,EAAA,CAAK,UAAU,2DAA2D,KAAMuB,EAAK,QAAQ,MAAO,GACvG,EACAxB,EAAC,OAAI,UAAU,4DACb,UAAAD,EAACE,EAAA,CAAK,UAAU,0DAA0D,KAAMkB,EAAW,EAC3FpB,EAACE,EAAA,CACC,UAAU,uEACV,KAAMM,EAAY,CAChB,OAAQiB,EAAK,MAAM,OACnB,OAAAd,EACA,aAAcc,EAAK,MAAM,YAC3B,CAAC,EACH,GACF,GACF,IA/BKA,EAAK,EAgCZ,CACD,EACH,GACF,EA3CkC,IA6CtC,EAEA,IAAOC,EAAQhB",
6
- "names": ["jsx", "jsxs", "Text", "Picture", "Checkbox", "cn", "useMemo", "useProductContext", "formatPrice", "useAiuiContext", "ProductFreeGift", "locale", "freeGift", "checkedGift", "setCheckedGift", "setCheckedBundle", "setProductSummaryStatus", "productSummaryStatus", "title", "giftList", "freeLabel", "availableGifts", "item", "handleCheckboxClick", "value", "gift", "ProductFreeGift_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as t,jsxs as s}from"react/jsx-runtime";import{Text as m,Picture as v,Button as h,Dialog as b,DialogContent as k,DialogTrigger as w}from"../../../../../../components";import{Content as x,List as y,Root as N,Trigger as C}from"@radix-ui/react-tabs";import{useEffect as D,useMemo as u,useState as c}from"react";import{cn as P}from"../../../../../../helpers";import{useProductContext as H}from"../../../../ProductProvider";const K=()=>{const{product:o,variant:a,isMobile:i}=H(),[p,e]=c(!1),[n,f]=c(null),r=u(()=>{const l=a.metafields?.component?.ksp||o.metafields?.component?.ksp;return(i?l?.mobileList:l?.list)?.filter(g=>!!g?.text)},[a.metafields?.component?.ksp,i]),d=u(()=>o?.payload?.components?.find(l=>l.componentKey==="ProductHighlight")?.data||{},[o?.payload]);return r?.length?s("div",{className:"ipc-product-detail-highlight",children:[s("div",{className:"flex items-center justify-between",children:[d?.title&&t(m,{size:3,className:"font-bold",html:d?.title}),s(b,{open:p,onOpenChange:e,children:[t(w,{asChild:!0,children:t(h,{variant:"link",className:"font-bold !p-0 text-base",children:d?.view})}),t(T,{ksp:r,activeKspItem:n})]})]}),t("div",{className:"flex flex-wrap gap-4 mt-3 desktop:mt-4",children:r.map(l=>t("div",{className:"px-4 py-2 lg-desktop:max-w-[256px] desktop:max-w-[246px] laptop:max-w-[310px] max-w-[227px] rounded-full bg-[#F5F5F7]",children:t(m,{size:3,onClick:()=>{f(l),e(!0)},className:"font-bold cursor-pointer text-[#1D1D1F] text-[16px] break-all line-clamp-1 desktop:text-base overflow-hidden",html:l?.text},l?.text)}))})]}):null},T=({ksp:o,activeKspItem:a})=>{const[i,p]=c(o?.[0]);return D(()=>{a&&p(a)},[a]),t(k,{overlayClassName:"z-[70]",className:"tablet:max-w-[896px] max-w-[326px] mx-auto w-full border-none z-[80] overflow-hidden p-0",children:s(N,{defaultValue:o[0].text,className:"w-full overflow-hidden",children:[o.map(e=>t(x,{value:e.text,children:t(v,{source:e.img,className:"w-full h-[304px] desktop:h-[480px]",alt:e.img.alt,imgClassName:"object-cover h-full"})},e.text)),t("div",{className:"py-4 desktop:py-6 w-full overflow-visible",children:s("div",{className:"px-4 desktop:px-6 overflow-x-auto",children:[t("div",{className:"w-fit rounded-full bg-[#EAEAEC]",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:t(y,{className:"flex p-1 w-max",children:o.map((e,n)=>t(C,{className:P("lg-desktop:px-7 shrink-0 lg-desktop:pb-[14px] rounded-full font-bold lg-desktop:pt-[15px] lg-desktop:text-[16px] px-5 pb-[10px] pt-[11px] text-[14px] leading-tight",e.text===i?.text&&"bg-white"),onClick:()=>p(e),value:e.text,children:e.text},n))})}),t("div",{className:"mt-4",children:o.map(e=>t(x,{value:e.label,className:"font-bold text-base desktop:text-[18px]",children:e.description}))})]})})]})})};var B=K;export{B as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../../src/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.tsx"],
4
- "sourcesContent": ["import type { HighlightProps } from '../types'\nimport { Text, Picture, Button, Heading, Dialog, DialogContent, DialogTrigger } from '../../../../../../components'\nimport { Content, List, Root, Trigger } from '@radix-ui/react-tabs'\nimport { useEffect, useMemo, useState } from 'react'\nimport { cn } from '../../../../../../helpers'\nimport { useProductContext } from '../../../../ProductProvider'\n\nconst ProductHighlight = () => {\n const { product, variant, isMobile } = useProductContext()\n const [open, setOpen] = useState(false)\n const [activeKspItem, setActiveKspItem] = useState(null)\n\n const ksp = useMemo(() => {\n const ksp_value = variant.metafields?.component?.ksp || product.metafields?.component?.ksp\n const result = isMobile ? ksp_value?.mobileList : ksp_value?.list\n return result?.filter((item: any) => !!item?.text)\n }, [variant.metafields?.component?.ksp, isMobile])\n\n const ProductHighlightData = useMemo(() => {\n return product?.payload?.components?.find((item: any) => item.componentKey === 'ProductHighlight')?.data || {}\n }, [product?.payload])\n\n if (!ksp?.length) return null\n\n return (\n <div className=\"ipc-product-detail-highlight\">\n <div className=\"flex items-center justify-between\">\n {ProductHighlightData?.title && <Text size={3} className=\"font-bold\" html={ProductHighlightData?.title} />}\n <Dialog open={open} onOpenChange={setOpen}>\n <DialogTrigger asChild>\n <Button variant=\"link\" className=\"font-bold !p-0 text-base\">\n {ProductHighlightData?.view}\n </Button>\n </DialogTrigger>\n <ProductHighlightModal ksp={ksp} activeKspItem={activeKspItem} />\n </Dialog>\n </div>\n <div className=\"flex flex-wrap gap-4 mt-3 desktop:mt-4\">\n {ksp.map((item: any) => (\n <div className=\"px-4 py-2 lg-desktop:max-w-[256px] desktop:max-w-[246px] laptop:max-w-[310px] max-w-[227px] rounded-full bg-[#F5F5F7]\">\n <Text\n size={3}\n key={item?.text}\n onClick={() => {\n setActiveKspItem(item)\n setOpen(true)\n }}\n className=\"font-bold cursor-pointer text-[#1D1D1F] text-[16px] break-all line-clamp-1 desktop:text-base overflow-hidden\"\n html={item?.text}\n />\n </div>\n ))}\n </div>\n </div>\n )\n}\n\nconst ProductHighlightModal = ({ ksp, activeKspItem }: { ksp: any[]; activeKspItem: any }) => {\n const [activeKsp, setActiveKsp] = useState(ksp?.[0])\n useEffect(() => {\n if (!activeKspItem) return\n setActiveKsp(activeKspItem)\n }, [activeKspItem])\n return (\n <DialogContent\n overlayClassName=\"z-[70]\"\n className=\"tablet:max-w-[896px] max-w-[326px] mx-auto w-full border-none z-[80] overflow-hidden p-0\"\n >\n <Root defaultValue={ksp[0].text} className=\"w-full overflow-hidden\">\n {ksp.map(item => (\n <Content value={item.text} key={item.text}>\n <Picture\n source={item.img}\n className=\"w-full h-[304px] desktop:h-[480px]\"\n alt={item.img.alt}\n imgClassName=\"object-cover h-full\"\n />\n </Content>\n ))}\n <div className=\"py-4 desktop:py-6 w-full overflow-visible\">\n <div className=\"px-4 desktop:px-6 overflow-x-auto\">\n <div\n className=\"w-fit rounded-full bg-[#EAEAEC]\"\n style={{\n scrollbarWidth: 'none',\n msOverflowStyle: 'none',\n }}\n >\n <List className=\"flex p-1 w-max\">\n {ksp.map((item, index) => (\n <Trigger\n className={cn(\n 'lg-desktop:px-7 shrink-0 lg-desktop:pb-[14px] rounded-full font-bold lg-desktop:pt-[15px] lg-desktop:text-[16px] px-5 pb-[10px] pt-[11px] text-[14px] leading-tight',\n item.text === activeKsp?.text && 'bg-white'\n )}\n onClick={() => setActiveKsp(item)}\n key={index}\n value={item.text}\n >\n {item.text}\n </Trigger>\n ))}\n </List>\n </div>\n <div className=\"mt-4\">\n {ksp.map(item => (\n <Content value={item.label} className=\"font-bold text-base desktop:text-[18px]\">\n {item.description}\n </Content>\n ))}\n </div>\n </div>\n </div>\n </Root>\n </DialogContent>\n )\n}\n\nexport default ProductHighlight\n"],
5
- "mappings": "AA2BwC,cAAAA,EAChC,QAAAC,MADgC,oBA1BxC,OAAS,QAAAC,EAAM,WAAAC,EAAS,UAAAC,EAAiB,UAAAC,EAAQ,iBAAAC,EAAe,iBAAAC,MAAqB,+BACrF,OAAS,WAAAC,EAAS,QAAAC,EAAM,QAAAC,EAAM,WAAAC,MAAe,uBAC7C,OAAS,aAAAC,EAAW,WAAAC,EAAS,YAAAC,MAAgB,QAC7C,OAAS,MAAAC,MAAU,4BACnB,OAAS,qBAAAC,MAAyB,8BAElC,MAAMC,EAAmB,IAAM,CAC7B,KAAM,CAAE,QAAAC,EAAS,QAAAC,EAAS,SAAAC,CAAS,EAAIJ,EAAkB,EACnD,CAACK,EAAMC,CAAO,EAAIR,EAAS,EAAK,EAChC,CAACS,EAAeC,CAAgB,EAAIV,EAAS,IAAI,EAEjDW,EAAMZ,EAAQ,IAAM,CACxB,MAAMa,EAAYP,EAAQ,YAAY,WAAW,KAAOD,EAAQ,YAAY,WAAW,IAEvF,OADeE,EAAWM,GAAW,WAAaA,GAAW,OAC9C,OAAQC,GAAc,CAAC,CAACA,GAAM,IAAI,CACnD,EAAG,CAACR,EAAQ,YAAY,WAAW,IAAKC,CAAQ,CAAC,EAE3CQ,EAAuBf,EAAQ,IAC5BK,GAAS,SAAS,YAAY,KAAMS,GAAcA,EAAK,eAAiB,kBAAkB,GAAG,MAAQ,CAAC,EAC5G,CAACT,GAAS,OAAO,CAAC,EAErB,OAAKO,GAAK,OAGRxB,EAAC,OAAI,UAAU,+BACb,UAAAA,EAAC,OAAI,UAAU,oCACZ,UAAA2B,GAAsB,OAAS5B,EAACE,EAAA,CAAK,KAAM,EAAG,UAAU,YAAY,KAAM0B,GAAsB,MAAO,EACxG3B,EAACI,EAAA,CAAO,KAAMgB,EAAM,aAAcC,EAChC,UAAAtB,EAACO,EAAA,CAAc,QAAO,GACpB,SAAAP,EAACI,EAAA,CAAO,QAAQ,OAAO,UAAU,2BAC9B,SAAAwB,GAAsB,KACzB,EACF,EACA5B,EAAC6B,EAAA,CAAsB,IAAKJ,EAAK,cAAeF,EAAe,GACjE,GACF,EACAvB,EAAC,OAAI,UAAU,yCACZ,SAAAyB,EAAI,IAAKE,GACR3B,EAAC,OAAI,UAAU,wHACb,SAAAA,EAACE,EAAA,CACC,KAAM,EAEN,QAAS,IAAM,CACbsB,EAAiBG,CAAI,EACrBL,EAAQ,EAAI,CACd,EACA,UAAU,+GACV,KAAMK,GAAM,MANPA,GAAM,IAOb,EACF,CACD,EACH,GACF,EA/BuB,IAiC3B,EAEME,EAAwB,CAAC,CAAE,IAAAJ,EAAK,cAAAF,CAAc,IAA0C,CAC5F,KAAM,CAACO,EAAWC,CAAY,EAAIjB,EAASW,IAAM,CAAC,CAAC,EACnD,OAAAb,EAAU,IAAM,CACTW,GACLQ,EAAaR,CAAa,CAC5B,EAAG,CAACA,CAAa,CAAC,EAEhBvB,EAACM,EAAA,CACC,iBAAiB,SACjB,UAAU,2FAEV,SAAAL,EAACS,EAAA,CAAK,aAAce,EAAI,CAAC,EAAE,KAAM,UAAU,yBACxC,UAAAA,EAAI,IAAIE,GACP3B,EAACQ,EAAA,CAAQ,MAAOmB,EAAK,KACnB,SAAA3B,EAACG,EAAA,CACC,OAAQwB,EAAK,IACb,UAAU,qCACV,IAAKA,EAAK,IAAI,IACd,aAAa,sBACf,GAN8BA,EAAK,IAOrC,CACD,EACD3B,EAAC,OAAI,UAAU,4CACb,SAAAC,EAAC,OAAI,UAAU,oCACb,UAAAD,EAAC,OACC,UAAU,kCACV,MAAO,CACL,eAAgB,OAChB,gBAAiB,MACnB,EAEA,SAAAA,EAACS,EAAA,CAAK,UAAU,iBACb,SAAAgB,EAAI,IAAI,CAACE,EAAMK,IACdhC,EAACW,EAAA,CACC,UAAWI,EACT,sKACAY,EAAK,OAASG,GAAW,MAAQ,UACnC,EACA,QAAS,IAAMC,EAAaJ,CAAI,EAEhC,MAAOA,EAAK,KAEX,SAAAA,EAAK,MAHDK,CAIP,CACD,EACH,EACF,EACAhC,EAAC,OAAI,UAAU,OACZ,SAAAyB,EAAI,IAAIE,GACP3B,EAACQ,EAAA,CAAQ,MAAOmB,EAAK,MAAO,UAAU,0CACnC,SAAAA,EAAK,YACR,CACD,EACH,GACF,EACF,GACF,EACF,CAEJ,EAEA,IAAOM,EAAQhB",
6
- "names": ["jsx", "jsxs", "Text", "Picture", "Button", "Dialog", "DialogContent", "DialogTrigger", "Content", "List", "Root", "Trigger", "useEffect", "useMemo", "useState", "cn", "useProductContext", "ProductHighlight", "product", "variant", "isMobile", "open", "setOpen", "activeKspItem", "setActiveKspItem", "ksp", "ksp_value", "item", "ProductHighlightData", "ProductHighlightModal", "activeKsp", "setActiveKsp", "index", "ProductHighlight_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{Fragment as _,jsx as o,jsxs as i}from"react/jsx-runtime";import{Text as c,Picture as g}from"../../../../../../components";import{cn as l}from"../../../../../../helpers/index.js";import{useState as N}from"react";import{useProductContext as y}from"../../../../ProductProvider.js";import{useAiuiContext as h}from"../../../../../AiuiProvider/index.js";import{handle as w}from"../../../../utils/helper.js";const b=()=>{const{product:a,selectedOptions:r,setSelectedOptions:d}=y(),{storeDomain:m}=h(),[u,p]=N({});return a.options.length?o("div",{className:"flex flex-col gap-12",children:a.options.map(t=>{const f=t.name.toLowerCase();return["color","colour","couleur"].some(e=>f.includes(e))?i("div",{className:"ipc-product-detail-options",children:[o(c,{as:"p",size:3,className:"font-bold",html:"Select Color: "+r[t.name]}),o("div",{className:"flex items-center gap-4 mt-4",children:t.values.map(({label:e},s)=>{const v=`https://${m}/cdn/shop/files/${w(e)}.png`;return i("div",{className:"relative ipc-product-detail-options-value",children:[o("button",{"aria-label":`switch to ${e}`,title:e,onClick:()=>{d(n=>({...n,[t.name]:e}))},className:l("flex h-[36px] w-[36px] items-center justify-center rounded-full bg-center bg-no-repeat outline outline-2 outline-offset-4 outline-white",{"outline-brand":r[t.name]===e}),children:!u[e]&&o(_,{children:o(g,{className:"w-full",source:v,onError:({currentTarget:n})=>{n.onerror=null,p(x=>({...x,[e]:!0}))}})})}),o("div",{className:"pointer-events-none absolute inset-0 rounded-full shadow-[inset_0_0_4px_rgba(0,0,0,0.08),inset_0_2px_2px_rgba(0,0,0,0.12)]"})]},e+s)})})]},t.id):i("div",{className:"ipc-product-detail-options",children:[o(c,{as:"p",size:3,className:"font-bold",html:t.name}),o("div",{className:"flex items-center gap-4 mt-4",children:t.values.map(({label:e})=>o("button",{onClick:()=>d(s=>({...s,[t.name]:e})),className:l("w-1/2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border-2",{"border-brand":r[t.name]===e}),children:e},e))})]},t.id)})}):null};var z=b;export{z as default};
2
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../../src/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.tsx"],
4
- "sourcesContent": ["import { Text, Picture, Button } from '../../../../../../components'\nimport type { ProductOptionsProps } from '../types'\nimport { cn } from '../../../../../../helpers/index.js'\nimport { useState } from 'react'\nimport { useProductContext } from '../../../../ProductProvider.js'\nimport { useAiuiContext } from '../../../../../AiuiProvider/index.js'\nimport { handle } from '../../../../utils/helper.js'\n\nconst ProductOptions = () => {\n const { product, selectedOptions, setSelectedOptions } = useProductContext()\n const { storeDomain } = useAiuiContext()\n const [imgLoadError, setImgLoadError] = useState({})\n if (!product.options.length) return null\n return (\n <div className=\"flex flex-col gap-12\">\n {product.options.map(option => {\n const lowercasedName = option.name.toLowerCase()\n const colorKeywords = ['color', 'colour', 'couleur']\n if (colorKeywords.some(keyword => lowercasedName.includes(keyword))) {\n return (\n <div key={option.id} className=\"ipc-product-detail-options\">\n <Text as=\"p\" size={3} className=\"font-bold\" html={'Select Color: ' + selectedOptions[option.name]} />\n <div className=\"flex items-center gap-4 mt-4\">\n {option.values.map(({ label }, index) => {\n const imagePath = `https://${storeDomain}/cdn/shop/files/${handle(label)}.png`\n return (\n <div key={label + index} className=\"relative ipc-product-detail-options-value\">\n <button\n aria-label={`switch to ${label}`}\n title={label}\n onClick={() => {\n setSelectedOptions(prev => ({ ...prev, [option.name]: label }))\n }}\n className={cn(\n 'flex h-[36px] w-[36px] items-center justify-center rounded-full bg-center bg-no-repeat outline outline-2 outline-offset-4 outline-white',\n {\n 'outline-brand': selectedOptions[option.name] === label,\n }\n )}\n >\n {!imgLoadError[label as keyof typeof imgLoadError] && (\n <>\n <Picture\n className=\"w-full\"\n source={imagePath}\n onError={({ currentTarget }) => {\n currentTarget.onerror = null // prevents looping\n setImgLoadError(prev => ({ ...prev, [label]: true }))\n }}\n />\n </>\n )}\n </button>\n <div className=\"pointer-events-none absolute inset-0 rounded-full shadow-[inset_0_0_4px_rgba(0,0,0,0.08),inset_0_2px_2px_rgba(0,0,0,0.12)]\"></div>\n </div>\n )\n })}\n </div>\n </div>\n )\n } else {\n return (\n <div key={option.id} className=\"ipc-product-detail-options\">\n <Text as=\"p\" size={3} className=\"font-bold\" html={option.name} />\n <div className=\"flex items-center gap-4 mt-4\">\n {option.values.map(({ label }) => (\n <button\n key={label}\n onClick={() => setSelectedOptions(prev => ({ ...prev, [option.name]: label }))}\n className={cn('w-1/2 text-left font-bold px-4 py-6 rounded-2xl border-[#E4E5E6] border-2', {\n 'border-brand': selectedOptions[option.name] === label,\n })}\n >\n {label}\n </button>\n ))}\n </div>\n </div>\n )\n }\n })}\n </div>\n )\n}\n\nexport default ProductOptions\n"],
5
- "mappings": "AAqBc,OAoBY,YAAAA,EApBZ,OAAAC,EAKM,QAAAC,MALN,oBArBd,OAAS,QAAAC,EAAM,WAAAC,MAAuB,+BAEtC,OAAS,MAAAC,MAAU,qCACnB,OAAS,YAAAC,MAAgB,QACzB,OAAS,qBAAAC,MAAyB,iCAClC,OAAS,kBAAAC,MAAsB,uCAC/B,OAAS,UAAAC,MAAc,8BAEvB,MAAMC,EAAiB,IAAM,CAC3B,KAAM,CAAE,QAAAC,EAAS,gBAAAC,EAAiB,mBAAAC,CAAmB,EAAIN,EAAkB,EACrE,CAAE,YAAAO,CAAY,EAAIN,EAAe,EACjC,CAACO,EAAcC,CAAe,EAAIV,EAAS,CAAC,CAAC,EACnD,OAAKK,EAAQ,QAAQ,OAEnBV,EAAC,OAAI,UAAU,uBACZ,SAAAU,EAAQ,QAAQ,IAAIM,GAAU,CAC7B,MAAMC,EAAiBD,EAAO,KAAK,YAAY,EAE/C,MADsB,CAAC,QAAS,SAAU,SAAS,EACjC,KAAKE,GAAWD,EAAe,SAASC,CAAO,CAAC,EAE9DjB,EAAC,OAAoB,UAAU,6BAC7B,UAAAD,EAACE,EAAA,CAAK,GAAG,IAAI,KAAM,EAAG,UAAU,YAAY,KAAM,iBAAmBS,EAAgBK,EAAO,IAAI,EAAG,EACnGhB,EAAC,OAAI,UAAU,+BACZ,SAAAgB,EAAO,OAAO,IAAI,CAAC,CAAE,MAAAG,CAAM,EAAGC,IAAU,CACvC,MAAMC,EAAY,WAAWR,CAAW,mBAAmBL,EAAOW,CAAK,CAAC,OACxE,OACElB,EAAC,OAAwB,UAAU,4CACjC,UAAAD,EAAC,UACC,aAAY,aAAamB,CAAK,GAC9B,MAAOA,EACP,QAAS,IAAM,CACbP,EAAmBU,IAAS,CAAE,GAAGA,EAAM,CAACN,EAAO,IAAI,EAAGG,CAAM,EAAE,CAChE,EACA,UAAWf,EACT,0IACA,CACE,gBAAiBO,EAAgBK,EAAO,IAAI,IAAMG,CACpD,CACF,EAEC,UAACL,EAAaK,CAAkC,GAC/CnB,EAAAD,EAAA,CACE,SAAAC,EAACG,EAAA,CACC,UAAU,SACV,OAAQkB,EACR,QAAS,CAAC,CAAE,cAAAE,CAAc,IAAM,CAC9BA,EAAc,QAAU,KACxBR,EAAgBO,IAAS,CAAE,GAAGA,EAAM,CAACH,CAAK,EAAG,EAAK,EAAE,CACtD,EACF,EACF,EAEJ,EACAnB,EAAC,OAAI,UAAU,6HAA6H,IA3BpImB,EAAQC,CA4BlB,CAEJ,CAAC,EACH,IArCQJ,EAAO,EAsCjB,EAIAf,EAAC,OAAoB,UAAU,6BAC7B,UAAAD,EAACE,EAAA,CAAK,GAAG,IAAI,KAAM,EAAG,UAAU,YAAY,KAAMc,EAAO,KAAM,EAC/DhB,EAAC,OAAI,UAAU,+BACZ,SAAAgB,EAAO,OAAO,IAAI,CAAC,CAAE,MAAAG,CAAM,IAC1BnB,EAAC,UAEC,QAAS,IAAMY,EAAmBU,IAAS,CAAE,GAAGA,EAAM,CAACN,EAAO,IAAI,EAAGG,CAAM,EAAE,EAC7E,UAAWf,EAAG,4EAA6E,CACzF,eAAgBO,EAAgBK,EAAO,IAAI,IAAMG,CACnD,CAAC,EAEA,SAAAA,GANIA,CAOP,CACD,EACH,IAdQH,EAAO,EAejB,CAGN,CAAC,EACH,EArEkC,IAuEtC,EAEA,IAAOQ,EAAQf",
6
- "names": ["Fragment", "jsx", "jsxs", "Text", "Picture", "cn", "useState", "useProductContext", "useAiuiContext", "handle", "ProductOptions", "product", "selectedOptions", "setSelectedOptions", "storeDomain", "imgLoadError", "setImgLoadError", "option", "lowercasedName", "keyword", "label", "index", "imagePath", "prev", "currentTarget", "ProductOptions_default"]
7
- }
@@ -1,2 +0,0 @@
1
- import{jsx as o,jsxs as e}from"react/jsx-runtime";import"./ProductBenefitsTabs/index.js";import t from"./ProductHighlight/index.js";import r from"./ProductFreeGift/index.js";import p from"./ProductOptions/index.js";import i from"./ProductBundle/index.js";const d=l=>e("div",{id:"ipc-product-detail",className:"flex flex-col gap-12 tablet:px-8 laptop:px-16 desktop:px-0 px-4",children:[o(t,{}),o(p,{}),o(r,{}),o(i,{})]});var x=d;export{x as default};
2
- //# sourceMappingURL=index.js.map