@gem-sdk/components 1.38.0 → 2.0.0-dev.832

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 (1626) hide show
  1. package/dist/cjs/accordion/components/Accordion.js +1 -138
  2. package/dist/cjs/accordion/components/Accordion.liquid.js +11 -103
  3. package/dist/cjs/accordion/components/AccordionItem.js +4 -297
  4. package/dist/cjs/accordion/components/AccordionItem.liquid.js +38 -223
  5. package/dist/cjs/accordion/hooks/useMountTransition.js +1 -27
  6. package/dist/cjs/accordion/next.js +1 -19
  7. package/dist/cjs/accordion/setting/Accordion.js +15 -1355
  8. package/dist/cjs/accordion/setting/AccordionItem.js +1 -34
  9. package/dist/cjs/accordion/setting/ItemTemplate.js +1 -49
  10. package/dist/cjs/accordion/setting/index.js +1 -13
  11. package/dist/cjs/banner/components/hero-banner/index.js +1 -247
  12. package/dist/cjs/banner/components/hero-banner/index.liquid.js +22 -167
  13. package/dist/cjs/banner/helpers/common.js +1 -284
  14. package/dist/cjs/banner/next.js +1 -15
  15. package/dist/cjs/banner/setting/HeroBanner.js +19 -979
  16. package/dist/cjs/banner/setting/index.js +1 -11
  17. package/dist/cjs/banner/setting/presets/heroBanner1Col.js +2 -110
  18. package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -131
  19. package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -131
  20. package/dist/cjs/breadcrumb/components/Breadcrumb.js +1 -49
  21. package/dist/cjs/breadcrumb/next.js +1 -15
  22. package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -38
  23. package/dist/cjs/breadcrumb/setting/index.js +1 -11
  24. package/dist/cjs/builder.js +1 -279
  25. package/dist/cjs/button/components/Button.js +8 -138
  26. package/dist/cjs/button/components/Button.liquid.js +27 -148
  27. package/dist/cjs/button/next.js +1 -15
  28. package/dist/cjs/button/setting/Button.js +4 -770
  29. package/dist/cjs/button/setting/index.js +1 -11
  30. package/dist/cjs/carousel/components/Arrow.js +10 -96
  31. package/dist/cjs/carousel/components/Arrow.liquid.js +28 -79
  32. package/dist/cjs/carousel/components/Carousel.js +1 -504
  33. package/dist/cjs/carousel/components/Carousel.liquid.js +15 -218
  34. package/dist/cjs/carousel/components/CarouselItem.js +1 -72
  35. package/dist/cjs/carousel/components/CarouselItem.liquid.js +7 -76
  36. package/dist/cjs/carousel/components/Dots.js +1 -68
  37. package/dist/cjs/carousel/components/Dots.liquid.js +4 -23
  38. package/dist/cjs/carousel/components/common/arrow.js +1 -130
  39. package/dist/cjs/carousel/components/common/carousel.js +1 -99
  40. package/dist/cjs/carousel/components/common/dots.js +1 -55
  41. package/dist/cjs/carousel/components/hooks/useTrackPreviewPause.js +1 -34
  42. package/dist/cjs/carousel/components/plugins/AnimationPlugin.js +1 -43
  43. package/dist/cjs/carousel/components/plugins/AutoPlayPlugin.js +1 -64
  44. package/dist/cjs/carousel/components/plugins/FixSliderMoveBackwards.js +1 -15
  45. package/dist/cjs/carousel/components/plugins/MutationPlugin.js +1 -45
  46. package/dist/cjs/carousel/next.js +1 -19
  47. package/dist/cjs/carousel/setting/Carousel.js +7 -1381
  48. package/dist/cjs/carousel/setting/CarouselItem.js +1 -40
  49. package/dist/cjs/carousel/setting/index.js +1 -13
  50. package/dist/cjs/cart/components/Cart.js +1 -84
  51. package/dist/cjs/cart/components/CartCheckout.js +1 -18
  52. package/dist/cjs/cart/components/CartDiscount.js +1 -13
  53. package/dist/cjs/cart/components/CartLineAttribute.js +1 -30
  54. package/dist/cjs/cart/components/CartLineImage.js +1 -44
  55. package/dist/cjs/cart/components/CartLinePrice.js +1 -45
  56. package/dist/cjs/cart/components/CartLineVariant.js +1 -27
  57. package/dist/cjs/cart/components/CartList.js +1 -36
  58. package/dist/cjs/cart/components/CartOrderNote.js +1 -46
  59. package/dist/cjs/cart/components/CartTotalItem.js +1 -23
  60. package/dist/cjs/cart/components/CartTotalPrice.js +1 -55
  61. package/dist/cjs/cart/components/CheckoutNow.js +1 -41
  62. package/dist/cjs/cart/components/CouponList.js +1 -15
  63. package/dist/cjs/cart/components/DiscountInput.js +1 -27
  64. package/dist/cjs/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -20
  65. package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.js +1 -16
  66. package/dist/cjs/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -16
  67. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -50
  68. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -21
  69. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -50
  70. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -21
  71. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -48
  72. package/dist/cjs/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -21
  73. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -46
  74. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -21
  75. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -46
  76. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -21
  77. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -46
  78. package/dist/cjs/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -21
  79. package/dist/cjs/cart/components/ShopPayButton/index.js +1 -112
  80. package/dist/cjs/cart/components/ShopPayButton/index.liquid.js +8 -42
  81. package/dist/cjs/cart/next.js +1 -73
  82. package/dist/cjs/cart/setting/Cart.js +3 -67
  83. package/dist/cjs/cart/setting/CartCheckout.js +1 -20
  84. package/dist/cjs/cart/setting/CartDiscount.js +1 -20
  85. package/dist/cjs/cart/setting/CartLineAttribute.js +1 -29
  86. package/dist/cjs/cart/setting/CartLineImage.js +1 -165
  87. package/dist/cjs/cart/setting/CartLinePrice.js +1 -29
  88. package/dist/cjs/cart/setting/CartLineVariant.js +1 -29
  89. package/dist/cjs/cart/setting/CartList.js +1 -139
  90. package/dist/cjs/cart/setting/CartOrderNote.js +1 -44
  91. package/dist/cjs/cart/setting/CartTotalItem.js +1 -29
  92. package/dist/cjs/cart/setting/CartTotalPrice.js +1 -58
  93. package/dist/cjs/cart/setting/CouponList.js +1 -20
  94. package/dist/cjs/cart/setting/DiscountInput.js +1 -33
  95. package/dist/cjs/cart/setting/ShopPayButton.js +1 -168
  96. package/dist/cjs/cart/setting/index.js +1 -37
  97. package/dist/cjs/code/components/CSSCode.js +2 -129
  98. package/dist/cjs/code/components/CSSCode.liquid.js +7 -30
  99. package/dist/cjs/code/next.js +1 -15
  100. package/dist/cjs/code/setting/CSSCode.js +3 -175
  101. package/dist/cjs/code/setting/index.js +1 -11
  102. package/dist/cjs/collection/components/CollectionBanner.js +1 -97
  103. package/dist/cjs/collection/components/CollectionBanner.liquid.js +14 -76
  104. package/dist/cjs/collection/components/CollectionDescription.js +1 -20
  105. package/dist/cjs/collection/components/CollectionDescription.liquid.js +3 -21
  106. package/dist/cjs/collection/components/CollectionPaginator.js +1 -150
  107. package/dist/cjs/collection/components/CollectionPaginator.liquid.js +9 -58
  108. package/dist/cjs/collection/components/CollectionTitle.js +1 -20
  109. package/dist/cjs/collection/components/CollectionTitle.liquid.js +3 -21
  110. package/dist/cjs/collection/components/CollectionToolbar.js +1 -111
  111. package/dist/cjs/collection/components/CollectionToolbar.liquid.js +15 -70
  112. package/dist/cjs/collection/next.js +1 -31
  113. package/dist/cjs/collection/setting/CollectionBanner.js +10 -532
  114. package/dist/cjs/collection/setting/CollectionDescription.js +3 -128
  115. package/dist/cjs/collection/setting/CollectionPaginator.js +3 -323
  116. package/dist/cjs/collection/setting/CollectionTitle.js +3 -128
  117. package/dist/cjs/collection/setting/CollectionToolbar.js +3 -276
  118. package/dist/cjs/collection/setting/index.js +1 -19
  119. package/dist/cjs/common/components/Loading.js +1 -23
  120. package/dist/cjs/common/components/Tooltip.js +1 -0
  121. package/dist/cjs/countdown-timer/components/Countdown.js +1 -308
  122. package/dist/cjs/countdown-timer/components/Countdown.liquid.js +20 -91
  123. package/dist/cjs/countdown-timer/helpers.js +1 -99
  124. package/dist/cjs/countdown-timer/hooks/useTimeLeft.js +1 -94
  125. package/dist/cjs/countdown-timer/next.js +1 -16
  126. package/dist/cjs/countdown-timer/setting/Countdown.js +3 -883
  127. package/dist/cjs/countdown-timer/setting/index.js +1 -11
  128. package/dist/cjs/dialog/components/Dialog.js +1 -357
  129. package/dist/cjs/dialog/components/Dialog.liquid.js +16 -147
  130. package/dist/cjs/dialog/helpers/common.js +1 -19
  131. package/dist/cjs/dialog/hooks/use-scroll-percentage.js +1 -34
  132. package/dist/cjs/dialog/next.js +1 -15
  133. package/dist/cjs/dialog/setting/Dialog.js +3 -579
  134. package/dist/cjs/dialog/setting/index.js +1 -11
  135. package/dist/cjs/form/components/contact/Contact.js +1 -15
  136. package/dist/cjs/form/components/contact/Contact.liquid.js +3 -22
  137. package/dist/cjs/form/components/form-checkbox/FormCheckbox.js +1 -51
  138. package/dist/cjs/form/components/form-checkbox/FormCheckbox.liquid.js +10 -39
  139. package/dist/cjs/form/components/form-dropdown/FormDropdown.js +1 -72
  140. package/dist/cjs/form/components/form-dropdown/FormDropdown.liquid.js +12 -66
  141. package/dist/cjs/form/components/form-email/FormEmail.js +1 -59
  142. package/dist/cjs/form/components/form-email/FormEmail.liquid.js +10 -66
  143. package/dist/cjs/form/components/newsletter/Newsletter.js +1 -15
  144. package/dist/cjs/form/components/newsletter/Newsletter.liquid.js +19 -56
  145. package/dist/cjs/form/components/submit-button/SubmitButton.js +1 -31
  146. package/dist/cjs/form/components/submit-button/SubmitButton.liquid.js +3 -33
  147. package/dist/cjs/form/components/textarea/TextArea.js +1 -75
  148. package/dist/cjs/form/components/textarea/TextArea.liquid.js +11 -74
  149. package/dist/cjs/form/components/textfield/TextField.js +1 -68
  150. package/dist/cjs/form/components/textfield/TextField.liquid.js +11 -74
  151. package/dist/cjs/form/next.js +1 -43
  152. package/dist/cjs/form/setting/Contact.js +3 -46
  153. package/dist/cjs/form/setting/ContactInitConfig.js +1 -228
  154. package/dist/cjs/form/setting/FormCheckbox.js +3 -226
  155. package/dist/cjs/form/setting/FormCheckboxInitConfig.js +1 -18
  156. package/dist/cjs/form/setting/FormDropdown.js +3 -262
  157. package/dist/cjs/form/setting/FormDropdownInitConfig.js +1 -33
  158. package/dist/cjs/form/setting/FormEmail.js +3 -275
  159. package/dist/cjs/form/setting/FormEmailInitConfig.js +1 -33
  160. package/dist/cjs/form/setting/Newsletter.js +3 -168
  161. package/dist/cjs/form/setting/NewsletterInitConfig.js +1 -133
  162. package/dist/cjs/form/setting/SubmitButton.js +4 -653
  163. package/dist/cjs/form/setting/SubmitButtonInitConfig.js +1 -30
  164. package/dist/cjs/form/setting/TextField.js +3 -306
  165. package/dist/cjs/form/setting/Textarea.js +3 -307
  166. package/dist/cjs/form/setting/index.js +1 -25
  167. package/dist/cjs/grid/components/ChildrenDroppable.js +4 -65
  168. package/dist/cjs/grid/components/Col.js +1 -25
  169. package/dist/cjs/grid/components/Col.liquid.js +6 -39
  170. package/dist/cjs/grid/components/Root.js +1 -13
  171. package/dist/cjs/grid/components/Root.liquid.js +1 -9
  172. package/dist/cjs/grid/components/Row.js +1 -92
  173. package/dist/cjs/grid/components/Row.liquid.js +12 -65
  174. package/dist/cjs/grid/components/Section.js +1 -27
  175. package/dist/cjs/grid/components/Section.liquid.js +1 -17
  176. package/dist/cjs/grid/components/helpers.js +1 -71
  177. package/dist/cjs/grid/next.js +1 -27
  178. package/dist/cjs/grid/setting/Col.js +1 -34
  179. package/dist/cjs/grid/setting/Root.js +1 -19
  180. package/dist/cjs/grid/setting/Row.js +39 -514
  181. package/dist/cjs/grid/setting/Section.js +34 -362
  182. package/dist/cjs/grid/setting/index.js +1 -17
  183. package/dist/cjs/header/components/Header.js +1 -32
  184. package/dist/cjs/header/components/SalePageHeaderWarning.js +1 -0
  185. package/dist/cjs/header/components/icons/ChevronLeft.js +1 -18
  186. package/dist/cjs/header/components/icons/Dismiss.js +1 -18
  187. package/dist/cjs/header/components/icons/MenuIcon.js +1 -18
  188. package/dist/cjs/header/components/kind/basic/DesktopMenu.js +1 -36
  189. package/dist/cjs/header/components/kind/basic/DesktopMenuItem.js +1 -66
  190. package/dist/cjs/header/components/kind/basic/MenuMobileItem.js +1 -160
  191. package/dist/cjs/header/components/kind/basic/MobileMenu.js +1 -157
  192. package/dist/cjs/header/components/kind/basic/index.js +1 -109
  193. package/dist/cjs/header/components/kind/modern/index.js +1 -33
  194. package/dist/cjs/header/hooks/use-body-overlay.js +1 -21
  195. package/dist/cjs/header/next.js +1 -15
  196. package/dist/cjs/header/setting/Header.js +3 -716
  197. package/dist/cjs/header/setting/index.js +1 -11
  198. package/dist/cjs/heading/Heading.js +1 -46
  199. package/dist/cjs/heading/Heading.liquid.js +1 -47
  200. package/dist/cjs/heading/next.js +1 -15
  201. package/dist/cjs/heading/setting/Heading.js +3 -373
  202. package/dist/cjs/heading/setting/index.js +1 -11
  203. package/dist/cjs/helpers.js +1 -17
  204. package/dist/cjs/hooks/useGetProductId.js +1 -15
  205. package/dist/cjs/icon/components/Icon.js +1 -76
  206. package/dist/cjs/icon/components/Icon.liquid.js +13 -65
  207. package/dist/cjs/icon/next.js +1 -15
  208. package/dist/cjs/icon/setting/Icon.js +3 -303
  209. package/dist/cjs/icon/setting/index.js +1 -11
  210. package/dist/cjs/icon-list/components/IconList.js +1 -81
  211. package/dist/cjs/icon-list/components/IconList.liquid.js +12 -47
  212. package/dist/cjs/icon-list/components/IconListItem.js +1 -29
  213. package/dist/cjs/icon-list/components/IconListItem.liquid.js +4 -19
  214. package/dist/cjs/icon-list/next.js +1 -19
  215. package/dist/cjs/icon-list/setting/IconList.js +4 -299
  216. package/dist/cjs/icon-list/setting/IconListItem.js +1 -40
  217. package/dist/cjs/icon-list/setting/ItemTemplate.js +1 -329
  218. package/dist/cjs/icon-list/setting/index.js +1 -13
  219. package/dist/cjs/icon-list-hoz/components/IconListHoz.js +1 -69
  220. package/dist/cjs/icon-list-hoz/components/IconListHoz.liquid.js +11 -36
  221. package/dist/cjs/icon-list-hoz/components/IconListHozItem.js +1 -30
  222. package/dist/cjs/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -19
  223. package/dist/cjs/icon-list-hoz/next.js +1 -19
  224. package/dist/cjs/icon-list-hoz/setting/IconListHoz.js +3 -221
  225. package/dist/cjs/icon-list-hoz/setting/IconListItem.js +1 -40
  226. package/dist/cjs/icon-list-hoz/setting/ItemTemplate.js +1 -83
  227. package/dist/cjs/icon-list-hoz/setting/index.js +1 -13
  228. package/dist/cjs/icon-list-v2/components/IconList.js +1 -140
  229. package/dist/cjs/icon-list-v2/components/IconList.liquid.js +19 -89
  230. package/dist/cjs/icon-list-v2/next.js +1 -15
  231. package/dist/cjs/icon-list-v2/setting/IconList.js +3 -525
  232. package/dist/cjs/icon-list-v2/setting/index.js +1 -11
  233. package/dist/cjs/icon-list-v2/setting/template.js +1 -112
  234. package/dist/cjs/image/components/AdaptiveImage.js +1 -60
  235. package/dist/cjs/image/components/AdaptiveImage.liquid.js +19 -96
  236. package/dist/cjs/image/components/BackgroundImage.js +1 -101
  237. package/dist/cjs/image/components/Image.js +1 -121
  238. package/dist/cjs/image/components/Image.liquid.js +10 -93
  239. package/dist/cjs/image/components/Img.js +1 -28
  240. package/dist/cjs/image/components/Modal3d.liquid.js +15 -34
  241. package/dist/cjs/image/components/NextImage.js +1 -40
  242. package/dist/cjs/image/components/NextImage.liquid.js +16 -111
  243. package/dist/cjs/image/components/Video.liquid.js +12 -26
  244. package/dist/cjs/image/components/helpers.js +1 -10
  245. package/dist/cjs/image/helpers/getSrcSet.js +1 -56
  246. package/dist/cjs/image/next.js +1 -19
  247. package/dist/cjs/image/setting/BackgroundImage.js +2 -361
  248. package/dist/cjs/image/setting/Image.js +4 -464
  249. package/dist/cjs/image/setting/index.js +1 -13
  250. package/dist/cjs/image-comparison/components/CompareImage.js +5 -560
  251. package/dist/cjs/image-comparison/components/CompareImage.liquid.js +22 -328
  252. package/dist/cjs/image-comparison/components/ImageComparison.js +1 -60
  253. package/dist/cjs/image-comparison/components/ImageComparison.liquid.js +3 -36
  254. package/dist/cjs/image-comparison/components/Label.liquid.js +13 -45
  255. package/dist/cjs/image-comparison/constants/commonStyles.js +1 -62
  256. package/dist/cjs/image-comparison/next.js +1 -15
  257. package/dist/cjs/image-comparison/setting/ImageComparison.js +3 -881
  258. package/dist/cjs/image-comparison/setting/index.js +1 -11
  259. package/dist/cjs/image-detection/ImageDetection.js +1 -236
  260. package/dist/cjs/image-detection/next.js +1 -15
  261. package/dist/cjs/image-detection/setting/ImageDetection.js +2 -75
  262. package/dist/cjs/image-detection/setting/index.js +1 -11
  263. package/dist/cjs/index.js +1 -363
  264. package/dist/cjs/index.liquid.js +1 -199
  265. package/dist/cjs/input/Input.js +1 -117
  266. package/dist/cjs/input/next.js +1 -15
  267. package/dist/cjs/input/setting/Input.js +2 -121
  268. package/dist/cjs/input/setting/index.js +1 -11
  269. package/dist/cjs/intersection-observer/InView.js +1 -100
  270. package/dist/cjs/intersection-observer/observe.js +1 -112
  271. package/dist/cjs/intersection-observer/useInView.js +1 -103
  272. package/dist/cjs/line/Divider.js +1 -34
  273. package/dist/cjs/line/Divider.liquid.js +4 -33
  274. package/dist/cjs/line/Line.js +1 -165
  275. package/dist/cjs/line/Line.liquid.js +17 -146
  276. package/dist/cjs/line/next.js +1 -15
  277. package/dist/cjs/line/setting/Line.js +3 -581
  278. package/dist/cjs/line/setting/index.js +1 -11
  279. package/dist/cjs/link/components/CustomLink.js +1 -14
  280. package/dist/cjs/link/components/Link.js +1 -36
  281. package/dist/cjs/link/components/ProductLink.js +1 -18
  282. package/dist/cjs/link/components/next-link/CustomLink.js +1 -18
  283. package/dist/cjs/link/components/next-link/ProductLink.js +1 -22
  284. package/dist/cjs/link/components/next-link/index.js +1 -29
  285. package/dist/cjs/link/helpers/url-join.js +1 -56
  286. package/dist/cjs/link/next.js +1 -15
  287. package/dist/cjs/link/setting/Link.js +1 -68
  288. package/dist/cjs/link/setting/index.js +1 -11
  289. package/dist/cjs/menu/components/DropdownMenu.js +1 -67
  290. package/dist/cjs/menu/components/MegaMenu.js +1 -67
  291. package/dist/cjs/menu/components/Menu.js +1 -20
  292. package/dist/cjs/menu/components/NavigationMenu.js +1 -63
  293. package/dist/cjs/menu/components/SubMegaMenu.js +1 -46
  294. package/dist/cjs/menu/components/SubNavigationMenu.js +1 -61
  295. package/dist/cjs/menu/next.js +1 -15
  296. package/dist/cjs/menu/setting/Menu.js +1 -216
  297. package/dist/cjs/menu/setting/index.js +1 -11
  298. package/dist/cjs/modal/components/Modal.js +1 -98
  299. package/dist/cjs/modal/components/confirm.js +1 -162
  300. package/dist/cjs/modal/hooks/useModalContainer.js +1 -21
  301. package/dist/cjs/modal/next.js +1 -15
  302. package/dist/cjs/modal/setting/Modal.js +1 -27
  303. package/dist/cjs/modal/setting/index.js +1 -11
  304. package/dist/cjs/next.js +1 -87
  305. package/dist/cjs/notification/components/Notice.js +1 -74
  306. package/dist/cjs/notification/components/Notifications.js +1 -96
  307. package/dist/cjs/notification/components/icons/CloseIcon.js +1 -17
  308. package/dist/cjs/notification/hooks/use-notification.js +1 -120
  309. package/dist/cjs/pagination/Pagination.js +1 -186
  310. package/dist/cjs/pagination/next.js +1 -15
  311. package/dist/cjs/pagination/setting/Pagination.js +1 -72
  312. package/dist/cjs/pagination/setting/index.js +1 -11
  313. package/dist/cjs/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
  314. package/dist/cjs/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
  315. package/dist/cjs/post-purchase/advanced-list/next.js +1 -0
  316. package/dist/cjs/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
  317. package/dist/cjs/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
  318. package/dist/cjs/post-purchase/advanced-list/setting/index.js +1 -0
  319. package/dist/cjs/post-purchase/advanced-list/setting/template.js +1 -0
  320. package/dist/cjs/post-purchase/button/Button.js +1 -0
  321. package/dist/cjs/post-purchase/button/next.js +1 -0
  322. package/dist/cjs/post-purchase/button/setting/Button.js +22 -0
  323. package/dist/cjs/post-purchase/button/setting/index.js +1 -0
  324. package/dist/cjs/post-purchase/callout-banner/components/CalloutBox.js +1 -0
  325. package/dist/cjs/post-purchase/callout-banner/components/CalloutText.js +1 -0
  326. package/dist/cjs/post-purchase/callout-banner/next.js +1 -0
  327. package/dist/cjs/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
  328. package/dist/cjs/post-purchase/callout-banner/setting/CalloutText.js +18 -0
  329. package/dist/cjs/post-purchase/callout-banner/setting/index.js +1 -0
  330. package/dist/cjs/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
  331. package/dist/cjs/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
  332. package/dist/cjs/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
  333. package/dist/cjs/post-purchase/countdown-timer/next.js +1 -0
  334. package/dist/cjs/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
  335. package/dist/cjs/post-purchase/countdown-timer/settings/index.js +1 -0
  336. package/dist/cjs/post-purchase/image/components/AdaptiveImage.js +1 -0
  337. package/dist/cjs/post-purchase/image/components/Image.js +1 -0
  338. package/dist/cjs/post-purchase/image/components/Img.js +1 -0
  339. package/dist/cjs/post-purchase/image/next.js +1 -0
  340. package/dist/cjs/post-purchase/image/setting/Image.js +11 -0
  341. package/dist/cjs/post-purchase/image/setting/index.js +1 -0
  342. package/dist/cjs/post-purchase/line/components/PostPurchaseLine.js +1 -0
  343. package/dist/cjs/post-purchase/line/next.js +1 -0
  344. package/dist/cjs/post-purchase/line/setting/PostPurchaseLine.js +9 -0
  345. package/dist/cjs/post-purchase/line/setting/index.js +1 -0
  346. package/dist/cjs/post-purchase/next.js +1 -0
  347. package/dist/cjs/post-purchase/product/components/AcceptButton.js +1 -0
  348. package/dist/cjs/post-purchase/product/components/ProductDescription.js +1 -0
  349. package/dist/cjs/post-purchase/product/components/ProductDiscountTag.js +1 -0
  350. package/dist/cjs/post-purchase/product/components/ProductOffer.js +1 -0
  351. package/dist/cjs/post-purchase/product/components/ProductPrice.js +1 -0
  352. package/dist/cjs/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
  353. package/dist/cjs/post-purchase/product/components/ProductQuantity.js +1 -0
  354. package/dist/cjs/post-purchase/product/components/ProductTitle.js +1 -0
  355. package/dist/cjs/post-purchase/product/components/ProductVariant.js +1 -0
  356. package/dist/cjs/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
  357. package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +1 -0
  358. package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
  359. package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +1 -0
  360. package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
  361. package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
  362. package/dist/cjs/post-purchase/product/components/product-image/index.js +1 -0
  363. package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
  364. package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
  365. package/dist/cjs/post-purchase/product/components/variants/Dropdown.js +1 -0
  366. package/dist/cjs/post-purchase/product/components/variants/DropdownOption.js +1 -0
  367. package/dist/cjs/post-purchase/product/components/variants/RectangleList.js +1 -0
  368. package/dist/cjs/post-purchase/product/components/variants/VariantGroup.js +1 -0
  369. package/dist/cjs/post-purchase/product/components/variants/VariantItem.js +1 -0
  370. package/dist/cjs/post-purchase/product/components/variants/VariantOption.js +1 -0
  371. package/dist/cjs/post-purchase/product/helpers/index.js +1 -0
  372. package/dist/cjs/post-purchase/product/next.js +1 -0
  373. package/dist/cjs/post-purchase/product/settings/AcceptButton.js +22 -0
  374. package/dist/cjs/post-purchase/product/settings/ProductDescription.js +9 -0
  375. package/dist/cjs/post-purchase/product/settings/ProductDiscountTag.js +4 -0
  376. package/dist/cjs/post-purchase/product/settings/ProductOffer.js +53 -0
  377. package/dist/cjs/post-purchase/product/settings/ProductPrice.js +15 -0
  378. package/dist/cjs/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
  379. package/dist/cjs/post-purchase/product/settings/ProductQuantity.js +25 -0
  380. package/dist/cjs/post-purchase/product/settings/ProductTitle.js +9 -0
  381. package/dist/cjs/post-purchase/product/settings/ProductVariant.js +27 -0
  382. package/dist/cjs/post-purchase/product/settings/index.js +1 -0
  383. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
  384. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
  385. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
  386. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
  387. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
  388. package/dist/cjs/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
  389. package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
  390. package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
  391. package/dist/cjs/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
  392. package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +21 -0
  393. package/dist/cjs/post-purchase/text/Text.js +1 -0
  394. package/dist/cjs/post-purchase/text/index.js +1 -0
  395. package/dist/cjs/post-purchase/text/next.js +1 -0
  396. package/dist/cjs/post-purchase/text/setting/Heading.js +3 -0
  397. package/dist/cjs/post-purchase/text/setting/Text.js +7 -0
  398. package/dist/cjs/post-purchase/text/setting/index.js +1 -0
  399. package/dist/cjs/post-purchase/utils/constants.js +1 -0
  400. package/dist/cjs/post-purchase/utils/helper.js +1 -0
  401. package/dist/cjs/product/components/DynamicCheckout.js +1 -26
  402. package/dist/cjs/product/components/DynamicCheckout.liquid.js +59 -106
  403. package/dist/cjs/product/components/Product.js +1 -98
  404. package/dist/cjs/product/components/Product.liquid.js +21 -51
  405. package/dist/cjs/product/components/ProductButton.js +1 -234
  406. package/dist/cjs/product/components/ProductButton.liquid.js +9 -116
  407. package/dist/cjs/product/components/ProductDescription.js +2 -107
  408. package/dist/cjs/product/components/ProductDescription.liquid.js +14 -80
  409. package/dist/cjs/product/components/ProductImages/ProductFeaturedImage.js +1 -252
  410. package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +1 -203
  411. package/dist/cjs/product/components/ProductImages/ProductGalleryGrid.js +1 -163
  412. package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +1 -118
  413. package/dist/cjs/product/components/ProductImages/common/common.js +1 -112
  414. package/dist/cjs/product/components/ProductImages/common/productFeaturedImage.js +1 -98
  415. package/dist/cjs/product/components/ProductImages/common/productGallery.js +1 -199
  416. package/dist/cjs/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -108
  417. package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -108
  418. package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -62
  419. package/dist/cjs/product/components/ProductImages.js +1 -284
  420. package/dist/cjs/product/components/ProductImages.liquid.js +17 -88
  421. package/dist/cjs/product/components/ProductImagesV2/common/common.js +1 -210
  422. package/dist/cjs/product/components/ProductImagesV2/common/hoverAction.js +1 -92
  423. package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -20
  424. package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -236
  425. package/dist/cjs/product/components/ProductImagesV2/jsx/ProductImages.js +11 -216
  426. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -27
  427. package/dist/cjs/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -62
  428. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -268
  429. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -261
  430. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -158
  431. package/dist/cjs/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -118
  432. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -153
  433. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -24
  434. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -24
  435. package/dist/cjs/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -32
  436. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -299
  437. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -230
  438. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -207
  439. package/dist/cjs/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -75
  440. package/dist/cjs/product/components/ProductList.js +1 -206
  441. package/dist/cjs/product/components/ProductList.liquid.js +135 -168
  442. package/dist/cjs/product/components/ProductNotFound.js +1 -141
  443. package/dist/cjs/product/components/ProductPrice.js +1 -71
  444. package/dist/cjs/product/components/ProductPrice.liquid.js +13 -50
  445. package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.js +1 -56
  446. package/dist/cjs/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -53
  447. package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.js +1 -61
  448. package/dist/cjs/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -110
  449. package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.js +1 -41
  450. package/dist/cjs/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -49
  451. package/dist/cjs/product/components/ProductProperties.js +1 -268
  452. package/dist/cjs/product/components/ProductProperties.liquid.js +16 -77
  453. package/dist/cjs/product/components/ProductQuantity.js +1 -197
  454. package/dist/cjs/product/components/ProductQuantity.liquid.js +17 -112
  455. package/dist/cjs/product/components/ProductQuickView/ProductQuickView.js +1 -158
  456. package/dist/cjs/product/components/ProductQuickView/index.js +1 -20
  457. package/dist/cjs/product/components/ProductTag.js +1 -114
  458. package/dist/cjs/product/components/ProductTag.liquid.js +22 -82
  459. package/dist/cjs/product/components/ProductTitle.js +1 -40
  460. package/dist/cjs/product/components/ProductTitle.liquid.js +7 -35
  461. package/dist/cjs/product/components/ProductVariants/common.js +1 -68
  462. package/dist/cjs/product/components/ProductVariants/index.js +1 -311
  463. package/dist/cjs/product/components/ProductVariants/index.liquid.js +28 -191
  464. package/dist/cjs/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
  465. package/dist/cjs/product/components/ProductVariants/variants/Base.js +11 -264
  466. package/dist/cjs/product/components/ProductVariants/variants/Base.liquid.js +19 -122
  467. package/dist/cjs/product/components/ProductVariants/variants/Color.js +1 -22
  468. package/dist/cjs/product/components/ProductVariants/variants/Color.liquid.js +3 -17
  469. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.js +1 -148
  470. package/dist/cjs/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -53
  471. package/dist/cjs/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -59
  472. package/dist/cjs/product/components/ProductVariants/variants/DropdownOption.js +1 -21
  473. package/dist/cjs/product/components/ProductVariants/variants/Image.js +1 -22
  474. package/dist/cjs/product/components/ProductVariants/variants/Image.liquid.js +3 -17
  475. package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.js +1 -39
  476. package/dist/cjs/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -17
  477. package/dist/cjs/product/components/ProductVariants/variants/RadioButtons.js +1 -62
  478. package/dist/cjs/product/components/ProductVariants/variants/RectangleList.js +1 -68
  479. package/dist/cjs/product/components/ProductVariants/variants/VariantGroup.js +1 -38
  480. package/dist/cjs/product/components/ProductVariants/variants/VariantOption/index.js +1 -20
  481. package/dist/cjs/product/components/ProductVariants/variants/index.js +1 -113
  482. package/dist/cjs/product/components/ProductVariants/variants/index.liquid.js +27 -75
  483. package/dist/cjs/product/components/SalePageProductListWarning.js +1 -0
  484. package/dist/cjs/product/components/Vendor.js +1 -38
  485. package/dist/cjs/product/components/Vendor.liquid.js +7 -35
  486. package/dist/cjs/product/helpers/function.js +1 -42
  487. package/dist/cjs/product/helpers/product-image.js +1 -33
  488. package/dist/cjs/product/helpers/product.js +1 -56
  489. package/dist/cjs/product/helpers/tracking.js +1 -11
  490. package/dist/cjs/product/next.js +1 -73
  491. package/dist/cjs/product/setting/DynamicCheckout.js +3 -551
  492. package/dist/cjs/product/setting/Product.js +35 -381
  493. package/dist/cjs/product/setting/ProductButton.js +4 -1079
  494. package/dist/cjs/product/setting/ProductDescription.js +2 -299
  495. package/dist/cjs/product/setting/ProductImages.js +5 -1201
  496. package/dist/cjs/product/setting/ProductList.js +3 -1197
  497. package/dist/cjs/product/setting/ProductPrice.js +4 -357
  498. package/dist/cjs/product/setting/ProductProperties.js +3 -975
  499. package/dist/cjs/product/setting/ProductQuantity.js +3 -610
  500. package/dist/cjs/product/setting/ProductTag.js +2 -250
  501. package/dist/cjs/product/setting/ProductTitle.js +3 -352
  502. package/dist/cjs/product/setting/ProductVariants.js +4 -1423
  503. package/dist/cjs/product/setting/Vendor.js +3 -338
  504. package/dist/cjs/product/setting/index.js +1 -37
  505. package/dist/cjs/product/setting/presets-config/product-presets/product-1-col.js +9 -275
  506. package/dist/cjs/product/setting/presets-config/product-presets/product-2-col.js +12 -283
  507. package/dist/cjs/product/setting/presets-config/product-presets/product-default.js +13 -283
  508. package/dist/cjs/product/setting/product-image-v2/ProductFeatureImage.js +2 -522
  509. package/dist/cjs/product/setting/product-image-v2/ProductGalleryImage.js +2 -648
  510. package/dist/cjs/product/setting/product-image-v2/ProductImages.js +4 -439
  511. package/dist/cjs/product/setting/swatches-style-config/color.js +1 -0
  512. package/dist/cjs/product/setting/swatches-style-config/dropdown.js +1 -0
  513. package/dist/cjs/product/setting/swatches-style-config/image-shopify.js +1 -0
  514. package/dist/cjs/product/setting/swatches-style-config/image.js +1 -0
  515. package/dist/cjs/product/setting/swatches-style-config/rectangle-list.js +1 -0
  516. package/dist/cjs/radio/Radio.js +1 -37
  517. package/dist/cjs/radio/next.js +1 -15
  518. package/dist/cjs/radio/setting/Radio.js +1 -70
  519. package/dist/cjs/radio/setting/index.js +1 -11
  520. package/dist/cjs/select/Select.js +2 -60
  521. package/dist/cjs/select/next.js +1 -15
  522. package/dist/cjs/select/setting/index.js +1 -11
  523. package/dist/cjs/sticky/components/Sticky.js +1 -160
  524. package/dist/cjs/sticky/components/Sticky.liquid.js +10 -77
  525. package/dist/cjs/sticky/next.js +1 -15
  526. package/dist/cjs/sticky/setting/Sticky.js +1 -234
  527. package/dist/cjs/sticky/setting/index.js +1 -11
  528. package/dist/cjs/sticky/setting/preset-config.js +2 -878
  529. package/dist/cjs/stock-counter/components/StockCounter.js +1 -115
  530. package/dist/cjs/stock-counter/components/StockCounter.liquid.js +23 -104
  531. package/dist/cjs/stock-counter/const.js +1 -36
  532. package/dist/cjs/stock-counter/helpers.js +5 -64
  533. package/dist/cjs/stock-counter/next.js +1 -15
  534. package/dist/cjs/stock-counter/setting/StockCounter.js +4 -628
  535. package/dist/cjs/stock-counter/setting/index.js +1 -11
  536. package/dist/cjs/tab/components/TabItem.js +1 -24
  537. package/dist/cjs/tab/components/TabItem.liquid.js +6 -23
  538. package/dist/cjs/tab/components/Tabs.js +1 -133
  539. package/dist/cjs/tab/components/Tabs.liquid.js +18 -83
  540. package/dist/cjs/tab/components/common.js +1 -43
  541. package/dist/cjs/tab/next.js +1 -19
  542. package/dist/cjs/tab/setting/TabItem.js +2 -33
  543. package/dist/cjs/tab/setting/Tabs.js +3 -573
  544. package/dist/cjs/tab/setting/index.js +1 -13
  545. package/dist/cjs/text/components/Text.js +1 -99
  546. package/dist/cjs/text/components/Text.liquid.js +10 -88
  547. package/dist/cjs/text/index.js +1 -10
  548. package/dist/cjs/text/next.js +1 -15
  549. package/dist/cjs/text/setting/Text.js +3 -418
  550. package/dist/cjs/text/setting/index.js +1 -11
  551. package/dist/cjs/textarea/Textarea.js +1 -38
  552. package/dist/cjs/textarea/next.js +1 -15
  553. package/dist/cjs/textarea/setting/Textarea.js +2 -107
  554. package/dist/cjs/textarea/setting/index.js +1 -11
  555. package/dist/cjs/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -28
  556. package/dist/cjs/third-party/components/AliReviews.js +1 -22
  557. package/dist/cjs/third-party/components/AliReviews.liquid.js +8 -21
  558. package/dist/cjs/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -23
  559. package/dist/cjs/third-party/components/AppstleSubscriptions.js +1 -22
  560. package/dist/cjs/third-party/components/AppstleSubscriptions.liquid.js +4 -17
  561. package/dist/cjs/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -23
  562. package/dist/cjs/third-party/components/BoldProductOptions.js +1 -22
  563. package/dist/cjs/third-party/components/BoldProductOptions.liquid.js +4 -17
  564. package/dist/cjs/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -34
  565. package/dist/cjs/third-party/components/BoldSubscriptions.js +1 -22
  566. package/dist/cjs/third-party/components/BoldSubscriptions.liquid.js +5 -18
  567. package/dist/cjs/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -23
  568. package/dist/cjs/third-party/components/BoostAISearchDiscovery.js +1 -22
  569. package/dist/cjs/third-party/components/BoostAISearchDiscovery.liquid.js +5 -17
  570. package/dist/cjs/third-party/components/Bundler/BundlerSampleContent.js +1 -23
  571. package/dist/cjs/third-party/components/Bundler.js +1 -24
  572. package/dist/cjs/third-party/components/Bundler.liquid.js +5 -22
  573. package/dist/cjs/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -23
  574. package/dist/cjs/third-party/components/CrossSellCartUpsell.js +1 -22
  575. package/dist/cjs/third-party/components/CrossSellCartUpsell.liquid.js +5 -24
  576. package/dist/cjs/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -49
  577. package/dist/cjs/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -52
  578. package/dist/cjs/third-party/components/FeraReviews.js +1 -27
  579. package/dist/cjs/third-party/components/FeraReviews.liquid.js +5 -20
  580. package/dist/cjs/third-party/components/FirePush/FirePushSampleContent.js +1 -21
  581. package/dist/cjs/third-party/components/FirePush.js +1 -22
  582. package/dist/cjs/third-party/components/FirePush.liquid.js +4 -17
  583. package/dist/cjs/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -23
  584. package/dist/cjs/third-party/components/FrequentlyBoughtTogether.js +1 -24
  585. package/dist/cjs/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -18
  586. package/dist/cjs/third-party/components/Growave/GrowaveSampleContent.js +1 -38
  587. package/dist/cjs/third-party/components/Growave.js +1 -22
  588. package/dist/cjs/third-party/components/Growave.liquid.js +5 -18
  589. package/dist/cjs/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -23
  590. package/dist/cjs/third-party/components/InfiniteOptions.js +1 -22
  591. package/dist/cjs/third-party/components/InfiniteOptions.liquid.js +4 -16
  592. package/dist/cjs/third-party/components/Instafeed/InstafeedSampleContent.js +1 -23
  593. package/dist/cjs/third-party/components/Instafeed.js +1 -22
  594. package/dist/cjs/third-party/components/Instafeed.liquid.js +4 -17
  595. package/dist/cjs/third-party/components/Judgeme/JudgemeSampleContent.js +1 -39
  596. package/dist/cjs/third-party/components/JudgemeReviews.js +1 -23
  597. package/dist/cjs/third-party/components/JudgemeReviews.liquid.js +5 -18
  598. package/dist/cjs/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -27
  599. package/dist/cjs/third-party/components/KachingBundles.js +1 -22
  600. package/dist/cjs/third-party/components/KachingBundles.liquid.js +4 -17
  601. package/dist/cjs/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -23
  602. package/dist/cjs/third-party/components/Klaviyo.js +1 -30
  603. package/dist/cjs/third-party/components/Klaviyo.liquid.js +5 -19
  604. package/dist/cjs/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -58
  605. package/dist/cjs/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -43
  606. package/dist/cjs/third-party/components/LaiProductReviews.js +1 -24
  607. package/dist/cjs/third-party/components/LaiProductReviews.liquid.js +5 -21
  608. package/dist/cjs/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -35
  609. package/dist/cjs/third-party/components/LooxReviews.js +1 -22
  610. package/dist/cjs/third-party/components/LooxReviews.liquid.js +9 -51
  611. package/dist/cjs/third-party/components/Omnisend/OmnisendSampleContent.js +1 -34
  612. package/dist/cjs/third-party/components/Omnisend.js +1 -22
  613. package/dist/cjs/third-party/components/Omnisend.liquid.js +9 -22
  614. package/dist/cjs/third-party/components/Opinew/OpinewSampleContent.js +1 -33
  615. package/dist/cjs/third-party/components/Opinew.js +1 -22
  616. package/dist/cjs/third-party/components/Opinew.liquid.js +6 -19
  617. package/dist/cjs/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -23
  618. package/dist/cjs/third-party/components/ParcelPanel.js +1 -22
  619. package/dist/cjs/third-party/components/ParcelPanel.liquid.js +4 -17
  620. package/dist/cjs/third-party/components/PickyStory/PickyStorySampleContent.js +1 -36
  621. package/dist/cjs/third-party/components/PickyStory.js +1 -22
  622. package/dist/cjs/third-party/components/PickyStory.liquid.js +5 -18
  623. package/dist/cjs/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -29
  624. package/dist/cjs/third-party/components/ProductReviews.js +1 -22
  625. package/dist/cjs/third-party/components/ProductReviews.liquid.js +5 -18
  626. package/dist/cjs/third-party/components/Rivyo/RivyoSampleContent.js +1 -36
  627. package/dist/cjs/third-party/components/Rivyo.js +1 -22
  628. package/dist/cjs/third-party/components/Rivyo.liquid.js +5 -18
  629. package/dist/cjs/third-party/components/Ryviu/RyviuSampleContent.js +1 -37
  630. package/dist/cjs/third-party/components/Ryviu.js +1 -22
  631. package/dist/cjs/third-party/components/Ryviu.liquid.js +5 -18
  632. package/dist/cjs/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -23
  633. package/dist/cjs/third-party/components/SealSubscriptions.js +1 -22
  634. package/dist/cjs/third-party/components/SealSubscriptions.liquid.js +4 -17
  635. package/dist/cjs/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -23
  636. package/dist/cjs/third-party/components/SmartSearchBarAndFilters.js +1 -24
  637. package/dist/cjs/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -20
  638. package/dist/cjs/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -174
  639. package/dist/cjs/third-party/components/Stamped/StampedSampleContent.js +1 -46
  640. package/dist/cjs/third-party/components/Stamped.js +1 -22
  641. package/dist/cjs/third-party/components/Stamped.liquid.js +5 -20
  642. package/dist/cjs/third-party/components/ThirdPartyPreview.js +1 -73
  643. package/dist/cjs/third-party/components/TrustMe/TrustMeSampleContent.js +1 -23
  644. package/dist/cjs/third-party/components/TrustMe.js +1 -22
  645. package/dist/cjs/third-party/components/TrustMe.liquid.js +4 -17
  646. package/dist/cjs/third-party/components/Trustoo/TrustooSampleContent.js +1 -35
  647. package/dist/cjs/third-party/components/Trustoo.js +1 -22
  648. package/dist/cjs/third-party/components/Trustoo.liquid.js +6 -19
  649. package/dist/cjs/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -33
  650. package/dist/cjs/third-party/components/UltimateSalesBoost.js +1 -22
  651. package/dist/cjs/third-party/components/UltimateSalesBoost.liquid.js +5 -18
  652. package/dist/cjs/third-party/components/Vitals/VitalsSampleContent.js +1 -51
  653. package/dist/cjs/third-party/components/Vitals.js +1 -22
  654. package/dist/cjs/third-party/components/Vitals.liquid.js +5 -18
  655. package/dist/cjs/third-party/components/WideBundle/WideBundleSampleContent.js +1 -23
  656. package/dist/cjs/third-party/components/WideBundle.js +1 -22
  657. package/dist/cjs/third-party/components/WideBundle.liquid.js +4 -17
  658. package/dist/cjs/third-party/components/Wiser/WiserSampleContent.js +1 -57
  659. package/dist/cjs/third-party/components/Wiser.js +1 -27
  660. package/dist/cjs/third-party/components/Wiser.liquid.js +5 -19
  661. package/dist/cjs/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
  662. package/dist/cjs/third-party/components/YotpoLoyalty.js +1 -43
  663. package/dist/cjs/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -35
  664. package/dist/cjs/third-party/components/YotpoReviews.js +1 -22
  665. package/dist/cjs/third-party/components/YotpoReviews.liquid.js +6 -19
  666. package/dist/cjs/third-party/configs/AliReviews.js +1 -12
  667. package/dist/cjs/third-party/configs/AppstleSubscriptions.js +1 -12
  668. package/dist/cjs/third-party/configs/BoldProductOptions.js +1 -12
  669. package/dist/cjs/third-party/configs/BoldSubscription.js +1 -12
  670. package/dist/cjs/third-party/configs/BoostAISearchDiscovery.js +1 -12
  671. package/dist/cjs/third-party/configs/Bundler.js +1 -12
  672. package/dist/cjs/third-party/configs/CrossSellCartUpsell.js +1 -12
  673. package/dist/cjs/third-party/configs/FeraReviews.js +1 -12
  674. package/dist/cjs/third-party/configs/FirePush.js +1 -12
  675. package/dist/cjs/third-party/configs/FrequentlyBoughtTogether.js +1 -12
  676. package/dist/cjs/third-party/configs/Growave.js +1 -12
  677. package/dist/cjs/third-party/configs/InfiniteOptions.js +1 -12
  678. package/dist/cjs/third-party/configs/Instafeed.js +1 -12
  679. package/dist/cjs/third-party/configs/JudgemeReviews.js +1 -12
  680. package/dist/cjs/third-party/configs/KachingBundles.js +1 -12
  681. package/dist/cjs/third-party/configs/Klaviyo.js +1 -12
  682. package/dist/cjs/third-party/configs/LaiProductReviews.js +1 -12
  683. package/dist/cjs/third-party/configs/LooxReviews.js +1 -12
  684. package/dist/cjs/third-party/configs/Omnisend.js +1 -12
  685. package/dist/cjs/third-party/configs/Opinew.js +1 -12
  686. package/dist/cjs/third-party/configs/ParcelPanel.js +1 -12
  687. package/dist/cjs/third-party/configs/PickyStory.js +1 -12
  688. package/dist/cjs/third-party/configs/ProductReviews.js +1 -12
  689. package/dist/cjs/third-party/configs/Rivyo.js +1 -12
  690. package/dist/cjs/third-party/configs/Ryviu.js +1 -12
  691. package/dist/cjs/third-party/configs/SealSubscriptions.js +1 -12
  692. package/dist/cjs/third-party/configs/SmartSearchBarAndFilters.js +1 -12
  693. package/dist/cjs/third-party/configs/Stamped.js +1 -12
  694. package/dist/cjs/third-party/configs/TrustMe.js +1 -12
  695. package/dist/cjs/third-party/configs/Trustoo.js +1 -12
  696. package/dist/cjs/third-party/configs/UltimateSalesBoost.js +1 -12
  697. package/dist/cjs/third-party/configs/Vitals.js +1 -12
  698. package/dist/cjs/third-party/configs/WideBundle.js +1 -12
  699. package/dist/cjs/third-party/configs/Wiser.js +1 -12
  700. package/dist/cjs/third-party/configs/YotpoLoyalty.js +1 -12
  701. package/dist/cjs/third-party/configs/YotpoReviews.js +1 -12
  702. package/dist/cjs/third-party/helpers/thirdParty.js +1 -36
  703. package/dist/cjs/third-party/next.js +1 -206
  704. package/dist/cjs/third-party/setting/AliReviews.js +2 -166
  705. package/dist/cjs/third-party/setting/AppstleSubscriptions.js +2 -95
  706. package/dist/cjs/third-party/setting/BoldProductOptions.js +2 -81
  707. package/dist/cjs/third-party/setting/BoldSubscriptions.js +2 -106
  708. package/dist/cjs/third-party/setting/BoostAISearchDiscovery.js +2 -84
  709. package/dist/cjs/third-party/setting/Bundler.js +2 -99
  710. package/dist/cjs/third-party/setting/CrossSellCartUpsell.js +2 -81
  711. package/dist/cjs/third-party/setting/FeraReviews.js +2 -392
  712. package/dist/cjs/third-party/setting/FirePush.js +2 -81
  713. package/dist/cjs/third-party/setting/FrequentlyBoughtTogether.js +3 -100
  714. package/dist/cjs/third-party/setting/Growave.js +2 -138
  715. package/dist/cjs/third-party/setting/InfiniteOptions.js +2 -81
  716. package/dist/cjs/third-party/setting/Instafeed.js +2 -87
  717. package/dist/cjs/third-party/setting/JudgemeReviews.js +2 -151
  718. package/dist/cjs/third-party/setting/KachingBundles.js +2 -86
  719. package/dist/cjs/third-party/setting/Klaviyo.js +2 -96
  720. package/dist/cjs/third-party/setting/LaiProductReviews.js +2 -202
  721. package/dist/cjs/third-party/setting/LooxReviews.js +2 -145
  722. package/dist/cjs/third-party/setting/Omnisend.js +2 -146
  723. package/dist/cjs/third-party/setting/Opinew.js +2 -190
  724. package/dist/cjs/third-party/setting/ParcelPanel.js +2 -90
  725. package/dist/cjs/third-party/setting/PickyStory.js +2 -114
  726. package/dist/cjs/third-party/setting/ProductReviews.js +2 -106
  727. package/dist/cjs/third-party/setting/Rivyo.js +2 -114
  728. package/dist/cjs/third-party/setting/Ryviu.js +2 -118
  729. package/dist/cjs/third-party/setting/SealSubscriptions.js +2 -95
  730. package/dist/cjs/third-party/setting/SmartSearchBarAndFilters.js +2 -96
  731. package/dist/cjs/third-party/setting/Stamped/Badge.js +1 -117
  732. package/dist/cjs/third-party/setting/Stamped/BadgeDouble.js +1 -22
  733. package/dist/cjs/third-party/setting/Stamped/BadgeRibbon.js +1 -61
  734. package/dist/cjs/third-party/setting/Stamped/BadgeSingle.js +1 -22
  735. package/dist/cjs/third-party/setting/Stamped/Carousel.js +1 -126
  736. package/dist/cjs/third-party/setting/Stamped/CheckoutReviews.js +1 -107
  737. package/dist/cjs/third-party/setting/Stamped/Colors.js +1 -58
  738. package/dist/cjs/third-party/setting/Stamped/Filters.js +1 -250
  739. package/dist/cjs/third-party/setting/Stamped/FullPage.js +1 -90
  740. package/dist/cjs/third-party/setting/Stamped/InstagramFeed.js +1 -111
  741. package/dist/cjs/third-party/setting/Stamped/MainWidget.js +1 -145
  742. package/dist/cjs/third-party/setting/Stamped/ProductRating.js +1 -73
  743. package/dist/cjs/third-party/setting/Stamped/SingleHighlight.js +1 -22
  744. package/dist/cjs/third-party/setting/Stamped/SiteBadge.js +1 -146
  745. package/dist/cjs/third-party/setting/Stamped/TopRated.js +1 -37
  746. package/dist/cjs/third-party/setting/Stamped/VisualGallery.js +1 -129
  747. package/dist/cjs/third-party/setting/Stamped/WallPhotos.js +1 -31
  748. package/dist/cjs/third-party/setting/Stamped/index.js +1 -51
  749. package/dist/cjs/third-party/setting/Stamped.js +2 -105
  750. package/dist/cjs/third-party/setting/TrustMe.js +2 -81
  751. package/dist/cjs/third-party/setting/Trustoo.js +2 -165
  752. package/dist/cjs/third-party/setting/UltimateSalesBoost.js +2 -180
  753. package/dist/cjs/third-party/setting/Vitals.js +3 -338
  754. package/dist/cjs/third-party/setting/WideBundle.js +2 -81
  755. package/dist/cjs/third-party/setting/Wiser.js +2 -223
  756. package/dist/cjs/third-party/setting/YotpoLoyalty.js +2 -79
  757. package/dist/cjs/third-party/setting/YotpoReviews.js +2 -124
  758. package/dist/cjs/third-party/setting/index.js +1 -87
  759. package/dist/cjs/third-party-instant/components/InstantJudgemeReviews.js +1 -75
  760. package/dist/cjs/third-party-instant/components/InstantKlaviyo.js +1 -47
  761. package/dist/cjs/third-party-instant/components/InstantLooxReviews.js +1 -36
  762. package/dist/cjs/third-party-instant/components/InstantThirdPartyPreview.js +1 -70
  763. package/dist/cjs/third-party-instant/components/InstantYotpoLoyalty.js +1 -43
  764. package/dist/cjs/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -23
  765. package/dist/cjs/third-party-instant/components/Judgeme/SingleProduct.js +1 -48
  766. package/dist/cjs/third-party-instant/components/Judgeme/WithoutProduct.js +1 -93
  767. package/dist/cjs/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -23
  768. package/dist/cjs/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -24
  769. package/dist/cjs/third-party-instant/components/LooxReviews/SingleProduct.js +1 -51
  770. package/dist/cjs/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -55
  771. package/dist/cjs/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -23
  772. package/dist/cjs/third-party-instant/configs/JudgemeReviews.js +1 -12
  773. package/dist/cjs/third-party-instant/configs/Klaviyo.js +1 -12
  774. package/dist/cjs/third-party-instant/configs/LooxReviews.js +1 -12
  775. package/dist/cjs/third-party-instant/configs/YotpoLoyalty.js +1 -12
  776. package/dist/cjs/third-party-instant/helpers/thirdParty.js +1 -74
  777. package/dist/cjs/third-party-instant/next.js +1 -32
  778. package/dist/cjs/third-party-instant/setting/InstantJudgemeReviews.js +2 -157
  779. package/dist/cjs/third-party-instant/setting/InstantKlaviyo.js +2 -95
  780. package/dist/cjs/third-party-instant/setting/InstantLooxReviews.js +2 -118
  781. package/dist/cjs/third-party-instant/setting/InstantYotpoLoyalty.js +2 -95
  782. package/dist/cjs/third-party-instant/setting/index.js +1 -17
  783. package/dist/cjs/third-party-instant/types/JudgemeReviews.js +1 -13
  784. package/dist/cjs/third-party-slot/components/ThirdPartySlot.js +1 -51
  785. package/dist/cjs/third-party-slot/components/ThirdPartySlot.liquid.js +9 -25
  786. package/dist/cjs/third-party-slot/next.js +1 -15
  787. package/dist/cjs/third-party-slot/setting/ThirdPartySlot.js +2 -105
  788. package/dist/cjs/third-party-slot/setting/index.js +1 -11
  789. package/dist/cjs/video/components/HTML5Embed.js +1 -43
  790. package/dist/cjs/video/components/HTML5Embed.liquid.js +21 -49
  791. package/dist/cjs/video/components/LiteVimeoEmbed.js +1 -117
  792. package/dist/cjs/video/components/LiteVimeoEmbed.liquid.js +13 -48
  793. package/dist/cjs/video/components/LiteYouTubeEmbed.js +1 -195
  794. package/dist/cjs/video/components/LiteYouTubeEmbed.liquid.js +15 -53
  795. package/dist/cjs/video/components/Video.js +1 -138
  796. package/dist/cjs/video/components/Video.liquid.js +6 -118
  797. package/dist/cjs/video/helpers/common.js +1 -46
  798. package/dist/cjs/video/next.js +1 -15
  799. package/dist/cjs/video/setting/Video.js +3 -451
  800. package/dist/cjs/video/setting/index.js +1 -11
  801. package/dist/esm/accordion/components/Accordion.js +1 -134
  802. package/dist/esm/accordion/components/Accordion.liquid.js +11 -99
  803. package/dist/esm/accordion/components/AccordionItem.js +4 -291
  804. package/dist/esm/accordion/components/AccordionItem.liquid.js +38 -219
  805. package/dist/esm/accordion/hooks/useMountTransition.js +1 -23
  806. package/dist/esm/accordion/next.js +1 -15
  807. package/dist/esm/accordion/setting/Accordion.js +15 -1351
  808. package/dist/esm/accordion/setting/AccordionItem.js +1 -30
  809. package/dist/esm/accordion/setting/ItemTemplate.js +1 -46
  810. package/dist/esm/accordion/setting/index.js +1 -9
  811. package/dist/esm/banner/components/hero-banner/index.js +1 -243
  812. package/dist/esm/banner/components/hero-banner/index.liquid.js +22 -163
  813. package/dist/esm/banner/helpers/common.js +1 -269
  814. package/dist/esm/banner/next.js +1 -11
  815. package/dist/esm/banner/setting/HeroBanner.js +19 -975
  816. package/dist/esm/banner/setting/index.js +1 -7
  817. package/dist/esm/banner/setting/presets/heroBanner1Col.js +2 -108
  818. package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -129
  819. package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -129
  820. package/dist/esm/breadcrumb/components/Breadcrumb.js +1 -45
  821. package/dist/esm/breadcrumb/next.js +1 -11
  822. package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -34
  823. package/dist/esm/breadcrumb/setting/index.js +1 -7
  824. package/dist/esm/builder.js +1 -275
  825. package/dist/esm/button/components/Button.js +8 -134
  826. package/dist/esm/button/components/Button.liquid.js +27 -144
  827. package/dist/esm/button/next.js +1 -11
  828. package/dist/esm/button/setting/Button.js +4 -766
  829. package/dist/esm/button/setting/index.js +1 -7
  830. package/dist/esm/carousel/components/Arrow.js +10 -92
  831. package/dist/esm/carousel/components/Arrow.liquid.js +28 -75
  832. package/dist/esm/carousel/components/Carousel.js +1 -500
  833. package/dist/esm/carousel/components/Carousel.liquid.js +15 -214
  834. package/dist/esm/carousel/components/CarouselItem.js +1 -68
  835. package/dist/esm/carousel/components/CarouselItem.liquid.js +7 -72
  836. package/dist/esm/carousel/components/Dots.js +1 -64
  837. package/dist/esm/carousel/components/Dots.liquid.js +4 -19
  838. package/dist/esm/carousel/components/common/arrow.js +1 -121
  839. package/dist/esm/carousel/components/common/carousel.js +1 -94
  840. package/dist/esm/carousel/components/common/dots.js +1 -51
  841. package/dist/esm/carousel/components/hooks/useTrackPreviewPause.js +1 -30
  842. package/dist/esm/carousel/components/plugins/AnimationPlugin.js +1 -36
  843. package/dist/esm/carousel/components/plugins/AutoPlayPlugin.js +1 -62
  844. package/dist/esm/carousel/components/plugins/FixSliderMoveBackwards.js +1 -13
  845. package/dist/esm/carousel/components/plugins/MutationPlugin.js +1 -43
  846. package/dist/esm/carousel/next.js +1 -15
  847. package/dist/esm/carousel/setting/Carousel.js +7 -1377
  848. package/dist/esm/carousel/setting/CarouselItem.js +1 -36
  849. package/dist/esm/carousel/setting/index.js +1 -9
  850. package/dist/esm/cart/components/Cart.js +1 -80
  851. package/dist/esm/cart/components/CartCheckout.js +1 -14
  852. package/dist/esm/cart/components/CartDiscount.js +1 -9
  853. package/dist/esm/cart/components/CartLineAttribute.js +1 -26
  854. package/dist/esm/cart/components/CartLineImage.js +1 -40
  855. package/dist/esm/cart/components/CartLinePrice.js +1 -41
  856. package/dist/esm/cart/components/CartLineVariant.js +1 -23
  857. package/dist/esm/cart/components/CartList.js +1 -32
  858. package/dist/esm/cart/components/CartOrderNote.js +1 -42
  859. package/dist/esm/cart/components/CartTotalItem.js +1 -19
  860. package/dist/esm/cart/components/CartTotalPrice.js +1 -51
  861. package/dist/esm/cart/components/CheckoutNow.js +1 -37
  862. package/dist/esm/cart/components/CouponList.js +1 -11
  863. package/dist/esm/cart/components/DiscountInput.js +1 -23
  864. package/dist/esm/cart/components/ShopPayButton/ShopPayButtonCommon.js +1 -17
  865. package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.js +1 -12
  866. package/dist/esm/cart/components/ShopPayButton/icons/BaseIcon.liquid.js +4 -12
  867. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.js +1 -46
  868. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutBlack.liquid.js +4 -17
  869. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.js +1 -46
  870. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutPurple.liquid.js +4 -17
  871. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.js +1 -44
  872. package/dist/esm/cart/components/ShopPayButton/icons/DynamicCheckoutWhite.liquid.js +4 -17
  873. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.js +1 -42
  874. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutBlack.liquid.js +4 -17
  875. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.js +1 -42
  876. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutPurple.liquid.js +4 -17
  877. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.js +1 -42
  878. package/dist/esm/cart/components/ShopPayButton/icons/ExpressCheckoutWhite.liquid.js +4 -17
  879. package/dist/esm/cart/components/ShopPayButton/index.js +1 -108
  880. package/dist/esm/cart/components/ShopPayButton/index.liquid.js +8 -38
  881. package/dist/esm/cart/next.js +1 -69
  882. package/dist/esm/cart/setting/Cart.js +3 -63
  883. package/dist/esm/cart/setting/CartCheckout.js +1 -16
  884. package/dist/esm/cart/setting/CartDiscount.js +1 -16
  885. package/dist/esm/cart/setting/CartLineAttribute.js +1 -25
  886. package/dist/esm/cart/setting/CartLineImage.js +1 -161
  887. package/dist/esm/cart/setting/CartLinePrice.js +1 -25
  888. package/dist/esm/cart/setting/CartLineVariant.js +1 -25
  889. package/dist/esm/cart/setting/CartList.js +1 -135
  890. package/dist/esm/cart/setting/CartOrderNote.js +1 -40
  891. package/dist/esm/cart/setting/CartTotalItem.js +1 -25
  892. package/dist/esm/cart/setting/CartTotalPrice.js +1 -54
  893. package/dist/esm/cart/setting/CouponList.js +1 -16
  894. package/dist/esm/cart/setting/DiscountInput.js +1 -29
  895. package/dist/esm/cart/setting/ShopPayButton.js +1 -164
  896. package/dist/esm/cart/setting/index.js +1 -33
  897. package/dist/esm/code/components/CSSCode.js +2 -125
  898. package/dist/esm/code/components/CSSCode.liquid.js +7 -26
  899. package/dist/esm/code/next.js +1 -11
  900. package/dist/esm/code/setting/CSSCode.js +3 -171
  901. package/dist/esm/code/setting/index.js +1 -7
  902. package/dist/esm/collection/components/CollectionBanner.js +1 -93
  903. package/dist/esm/collection/components/CollectionBanner.liquid.js +14 -72
  904. package/dist/esm/collection/components/CollectionDescription.js +1 -16
  905. package/dist/esm/collection/components/CollectionDescription.liquid.js +3 -17
  906. package/dist/esm/collection/components/CollectionPaginator.js +1 -146
  907. package/dist/esm/collection/components/CollectionPaginator.liquid.js +9 -54
  908. package/dist/esm/collection/components/CollectionTitle.js +1 -16
  909. package/dist/esm/collection/components/CollectionTitle.liquid.js +3 -17
  910. package/dist/esm/collection/components/CollectionToolbar.js +1 -106
  911. package/dist/esm/collection/components/CollectionToolbar.liquid.js +15 -66
  912. package/dist/esm/collection/next.js +1 -27
  913. package/dist/esm/collection/setting/CollectionBanner.js +10 -528
  914. package/dist/esm/collection/setting/CollectionDescription.js +3 -124
  915. package/dist/esm/collection/setting/CollectionPaginator.js +3 -319
  916. package/dist/esm/collection/setting/CollectionTitle.js +3 -124
  917. package/dist/esm/collection/setting/CollectionToolbar.js +3 -272
  918. package/dist/esm/collection/setting/index.js +1 -15
  919. package/dist/esm/common/components/Loading.js +1 -19
  920. package/dist/esm/common/components/Tooltip.js +1 -0
  921. package/dist/esm/countdown-timer/components/Countdown.js +1 -304
  922. package/dist/esm/countdown-timer/components/Countdown.liquid.js +20 -87
  923. package/dist/esm/countdown-timer/helpers.js +1 -90
  924. package/dist/esm/countdown-timer/hooks/useTimeLeft.js +1 -90
  925. package/dist/esm/countdown-timer/next.js +1 -12
  926. package/dist/esm/countdown-timer/setting/Countdown.js +3 -879
  927. package/dist/esm/countdown-timer/setting/index.js +1 -7
  928. package/dist/esm/dialog/components/Dialog.js +1 -353
  929. package/dist/esm/dialog/components/Dialog.liquid.js +16 -143
  930. package/dist/esm/dialog/helpers/common.js +1 -16
  931. package/dist/esm/dialog/hooks/use-scroll-percentage.js +1 -32
  932. package/dist/esm/dialog/next.js +1 -11
  933. package/dist/esm/dialog/setting/Dialog.js +3 -575
  934. package/dist/esm/dialog/setting/index.js +1 -7
  935. package/dist/esm/form/components/contact/Contact.js +1 -11
  936. package/dist/esm/form/components/contact/Contact.liquid.js +3 -18
  937. package/dist/esm/form/components/form-checkbox/FormCheckbox.js +1 -47
  938. package/dist/esm/form/components/form-checkbox/FormCheckbox.liquid.js +10 -35
  939. package/dist/esm/form/components/form-dropdown/FormDropdown.js +1 -68
  940. package/dist/esm/form/components/form-dropdown/FormDropdown.liquid.js +12 -62
  941. package/dist/esm/form/components/form-email/FormEmail.js +1 -55
  942. package/dist/esm/form/components/form-email/FormEmail.liquid.js +10 -62
  943. package/dist/esm/form/components/newsletter/Newsletter.js +1 -11
  944. package/dist/esm/form/components/newsletter/Newsletter.liquid.js +19 -52
  945. package/dist/esm/form/components/submit-button/SubmitButton.js +1 -27
  946. package/dist/esm/form/components/submit-button/SubmitButton.liquid.js +3 -29
  947. package/dist/esm/form/components/textarea/TextArea.js +1 -71
  948. package/dist/esm/form/components/textarea/TextArea.liquid.js +11 -70
  949. package/dist/esm/form/components/textfield/TextField.js +1 -64
  950. package/dist/esm/form/components/textfield/TextField.liquid.js +11 -70
  951. package/dist/esm/form/next.js +1 -39
  952. package/dist/esm/form/setting/Contact.js +3 -42
  953. package/dist/esm/form/setting/ContactInitConfig.js +1 -226
  954. package/dist/esm/form/setting/FormCheckbox.js +3 -222
  955. package/dist/esm/form/setting/FormCheckboxInitConfig.js +1 -16
  956. package/dist/esm/form/setting/FormDropdown.js +3 -258
  957. package/dist/esm/form/setting/FormDropdownInitConfig.js +1 -31
  958. package/dist/esm/form/setting/FormEmail.js +3 -271
  959. package/dist/esm/form/setting/FormEmailInitConfig.js +1 -31
  960. package/dist/esm/form/setting/Newsletter.js +3 -164
  961. package/dist/esm/form/setting/NewsletterInitConfig.js +1 -131
  962. package/dist/esm/form/setting/SubmitButton.js +4 -649
  963. package/dist/esm/form/setting/SubmitButtonInitConfig.js +1 -28
  964. package/dist/esm/form/setting/TextField.js +3 -302
  965. package/dist/esm/form/setting/Textarea.js +3 -303
  966. package/dist/esm/form/setting/index.js +1 -21
  967. package/dist/esm/grid/components/ChildrenDroppable.js +4 -61
  968. package/dist/esm/grid/components/Col.js +1 -21
  969. package/dist/esm/grid/components/Col.liquid.js +6 -35
  970. package/dist/esm/grid/components/Root.js +1 -9
  971. package/dist/esm/grid/components/Root.liquid.js +1 -5
  972. package/dist/esm/grid/components/Row.js +1 -88
  973. package/dist/esm/grid/components/Row.liquid.js +12 -61
  974. package/dist/esm/grid/components/Section.js +1 -23
  975. package/dist/esm/grid/components/Section.liquid.js +1 -13
  976. package/dist/esm/grid/components/helpers.js +1 -69
  977. package/dist/esm/grid/next.js +1 -23
  978. package/dist/esm/grid/setting/Col.js +1 -30
  979. package/dist/esm/grid/setting/Root.js +1 -15
  980. package/dist/esm/grid/setting/Row.js +39 -510
  981. package/dist/esm/grid/setting/Section.js +34 -358
  982. package/dist/esm/grid/setting/index.js +1 -13
  983. package/dist/esm/header/components/Header.js +1 -28
  984. package/dist/esm/header/components/SalePageHeaderWarning.js +1 -0
  985. package/dist/esm/header/components/icons/ChevronLeft.js +1 -14
  986. package/dist/esm/header/components/icons/Dismiss.js +1 -14
  987. package/dist/esm/header/components/icons/MenuIcon.js +1 -14
  988. package/dist/esm/header/components/kind/basic/DesktopMenu.js +1 -32
  989. package/dist/esm/header/components/kind/basic/DesktopMenuItem.js +1 -62
  990. package/dist/esm/header/components/kind/basic/MenuMobileItem.js +1 -156
  991. package/dist/esm/header/components/kind/basic/MobileMenu.js +1 -153
  992. package/dist/esm/header/components/kind/basic/index.js +1 -105
  993. package/dist/esm/header/components/kind/modern/index.js +1 -29
  994. package/dist/esm/header/hooks/use-body-overlay.js +1 -19
  995. package/dist/esm/header/next.js +1 -11
  996. package/dist/esm/header/setting/Header.js +3 -712
  997. package/dist/esm/header/setting/index.js +1 -7
  998. package/dist/esm/heading/Heading.js +1 -42
  999. package/dist/esm/heading/Heading.liquid.js +1 -43
  1000. package/dist/esm/heading/next.js +1 -11
  1001. package/dist/esm/heading/setting/Heading.js +3 -369
  1002. package/dist/esm/heading/setting/index.js +1 -7
  1003. package/dist/esm/helpers.js +1 -14
  1004. package/dist/esm/hooks/useGetProductId.js +1 -13
  1005. package/dist/esm/icon/components/Icon.js +1 -72
  1006. package/dist/esm/icon/components/Icon.liquid.js +13 -61
  1007. package/dist/esm/icon/next.js +1 -11
  1008. package/dist/esm/icon/setting/Icon.js +3 -299
  1009. package/dist/esm/icon/setting/index.js +1 -7
  1010. package/dist/esm/icon-list/components/IconList.js +1 -77
  1011. package/dist/esm/icon-list/components/IconList.liquid.js +12 -43
  1012. package/dist/esm/icon-list/components/IconListItem.js +1 -25
  1013. package/dist/esm/icon-list/components/IconListItem.liquid.js +4 -15
  1014. package/dist/esm/icon-list/next.js +1 -15
  1015. package/dist/esm/icon-list/setting/IconList.js +4 -295
  1016. package/dist/esm/icon-list/setting/IconListItem.js +1 -36
  1017. package/dist/esm/icon-list/setting/ItemTemplate.js +1 -323
  1018. package/dist/esm/icon-list/setting/index.js +1 -9
  1019. package/dist/esm/icon-list-hoz/components/IconListHoz.js +1 -65
  1020. package/dist/esm/icon-list-hoz/components/IconListHoz.liquid.js +11 -32
  1021. package/dist/esm/icon-list-hoz/components/IconListHozItem.js +1 -26
  1022. package/dist/esm/icon-list-hoz/components/IconListItemHoz.liquid.js +4 -15
  1023. package/dist/esm/icon-list-hoz/next.js +1 -15
  1024. package/dist/esm/icon-list-hoz/setting/IconListHoz.js +3 -217
  1025. package/dist/esm/icon-list-hoz/setting/IconListItem.js +1 -36
  1026. package/dist/esm/icon-list-hoz/setting/ItemTemplate.js +1 -80
  1027. package/dist/esm/icon-list-hoz/setting/index.js +1 -9
  1028. package/dist/esm/icon-list-v2/components/IconList.js +1 -136
  1029. package/dist/esm/icon-list-v2/components/IconList.liquid.js +19 -85
  1030. package/dist/esm/icon-list-v2/next.js +1 -11
  1031. package/dist/esm/icon-list-v2/setting/IconList.js +3 -521
  1032. package/dist/esm/icon-list-v2/setting/index.js +1 -7
  1033. package/dist/esm/icon-list-v2/setting/template.js +1 -110
  1034. package/dist/esm/image/components/AdaptiveImage.js +1 -56
  1035. package/dist/esm/image/components/AdaptiveImage.liquid.js +19 -92
  1036. package/dist/esm/image/components/BackgroundImage.js +1 -97
  1037. package/dist/esm/image/components/Image.js +1 -117
  1038. package/dist/esm/image/components/Image.liquid.js +10 -89
  1039. package/dist/esm/image/components/Img.js +1 -24
  1040. package/dist/esm/image/components/Modal3d.liquid.js +15 -30
  1041. package/dist/esm/image/components/NextImage.js +1 -36
  1042. package/dist/esm/image/components/NextImage.liquid.js +16 -107
  1043. package/dist/esm/image/components/Video.liquid.js +12 -22
  1044. package/dist/esm/image/components/helpers.js +1 -8
  1045. package/dist/esm/image/helpers/getSrcSet.js +1 -50
  1046. package/dist/esm/image/next.js +1 -15
  1047. package/dist/esm/image/setting/BackgroundImage.js +2 -357
  1048. package/dist/esm/image/setting/Image.js +4 -460
  1049. package/dist/esm/image/setting/index.js +1 -9
  1050. package/dist/esm/image-comparison/components/CompareImage.js +5 -556
  1051. package/dist/esm/image-comparison/components/CompareImage.liquid.js +22 -324
  1052. package/dist/esm/image-comparison/components/ImageComparison.js +1 -56
  1053. package/dist/esm/image-comparison/components/ImageComparison.liquid.js +3 -32
  1054. package/dist/esm/image-comparison/components/Label.liquid.js +13 -41
  1055. package/dist/esm/image-comparison/constants/commonStyles.js +1 -58
  1056. package/dist/esm/image-comparison/next.js +1 -11
  1057. package/dist/esm/image-comparison/setting/ImageComparison.js +3 -877
  1058. package/dist/esm/image-comparison/setting/index.js +1 -7
  1059. package/dist/esm/image-detection/ImageDetection.js +1 -232
  1060. package/dist/esm/image-detection/next.js +1 -11
  1061. package/dist/esm/image-detection/setting/ImageDetection.js +2 -71
  1062. package/dist/esm/image-detection/setting/index.js +1 -7
  1063. package/dist/esm/index.js +1 -180
  1064. package/dist/esm/index.liquid.js +1 -97
  1065. package/dist/esm/input/Input.js +1 -113
  1066. package/dist/esm/input/next.js +1 -11
  1067. package/dist/esm/input/setting/Input.js +2 -117
  1068. package/dist/esm/input/setting/index.js +1 -7
  1069. package/dist/esm/intersection-observer/InView.js +1 -98
  1070. package/dist/esm/intersection-observer/observe.js +1 -109
  1071. package/dist/esm/intersection-observer/useInView.js +1 -101
  1072. package/dist/esm/line/Divider.js +1 -30
  1073. package/dist/esm/line/Divider.liquid.js +4 -29
  1074. package/dist/esm/line/Line.js +1 -161
  1075. package/dist/esm/line/Line.liquid.js +17 -142
  1076. package/dist/esm/line/next.js +1 -11
  1077. package/dist/esm/line/setting/Line.js +3 -577
  1078. package/dist/esm/line/setting/index.js +1 -7
  1079. package/dist/esm/link/components/CustomLink.js +1 -10
  1080. package/dist/esm/link/components/Link.js +1 -32
  1081. package/dist/esm/link/components/ProductLink.js +1 -14
  1082. package/dist/esm/link/components/next-link/CustomLink.js +1 -14
  1083. package/dist/esm/link/components/next-link/ProductLink.js +1 -18
  1084. package/dist/esm/link/components/next-link/index.js +1 -25
  1085. package/dist/esm/link/helpers/url-join.js +1 -54
  1086. package/dist/esm/link/next.js +1 -11
  1087. package/dist/esm/link/setting/Link.js +1 -64
  1088. package/dist/esm/link/setting/index.js +1 -7
  1089. package/dist/esm/menu/components/DropdownMenu.js +1 -63
  1090. package/dist/esm/menu/components/MegaMenu.js +1 -63
  1091. package/dist/esm/menu/components/Menu.js +1 -16
  1092. package/dist/esm/menu/components/NavigationMenu.js +1 -59
  1093. package/dist/esm/menu/components/SubMegaMenu.js +1 -42
  1094. package/dist/esm/menu/components/SubNavigationMenu.js +1 -57
  1095. package/dist/esm/menu/next.js +1 -11
  1096. package/dist/esm/menu/setting/Menu.js +1 -212
  1097. package/dist/esm/menu/setting/index.js +1 -7
  1098. package/dist/esm/modal/components/Modal.js +1 -94
  1099. package/dist/esm/modal/components/confirm.js +1 -152
  1100. package/dist/esm/modal/hooks/useModalContainer.js +1 -17
  1101. package/dist/esm/modal/next.js +1 -11
  1102. package/dist/esm/modal/setting/Modal.js +1 -23
  1103. package/dist/esm/modal/setting/index.js +1 -7
  1104. package/dist/esm/next.js +1 -83
  1105. package/dist/esm/notification/components/Notice.js +1 -70
  1106. package/dist/esm/notification/components/Notifications.js +1 -92
  1107. package/dist/esm/notification/components/icons/CloseIcon.js +1 -13
  1108. package/dist/esm/notification/hooks/use-notification.js +1 -116
  1109. package/dist/esm/pagination/Pagination.js +1 -182
  1110. package/dist/esm/pagination/next.js +1 -11
  1111. package/dist/esm/pagination/setting/Pagination.js +1 -68
  1112. package/dist/esm/pagination/setting/index.js +1 -7
  1113. package/dist/esm/post-purchase/advanced-list/components/AdvancedListPostPurchase.js +1 -0
  1114. package/dist/esm/post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js +1 -0
  1115. package/dist/esm/post-purchase/advanced-list/next.js +1 -0
  1116. package/dist/esm/post-purchase/advanced-list/setting/AdvancedListPostPurchase.js +15 -0
  1117. package/dist/esm/post-purchase/advanced-list/setting/PostPurchaseAdvancedListItem.js +1 -0
  1118. package/dist/esm/post-purchase/advanced-list/setting/index.js +1 -0
  1119. package/dist/esm/post-purchase/advanced-list/setting/template.js +1 -0
  1120. package/dist/esm/post-purchase/button/Button.js +1 -0
  1121. package/dist/esm/post-purchase/button/next.js +1 -0
  1122. package/dist/esm/post-purchase/button/setting/Button.js +22 -0
  1123. package/dist/esm/post-purchase/button/setting/index.js +1 -0
  1124. package/dist/esm/post-purchase/callout-banner/components/CalloutBox.js +1 -0
  1125. package/dist/esm/post-purchase/callout-banner/components/CalloutText.js +1 -0
  1126. package/dist/esm/post-purchase/callout-banner/next.js +1 -0
  1127. package/dist/esm/post-purchase/callout-banner/setting/CalloutBox.js +66 -0
  1128. package/dist/esm/post-purchase/callout-banner/setting/CalloutText.js +18 -0
  1129. package/dist/esm/post-purchase/callout-banner/setting/index.js +1 -0
  1130. package/dist/esm/post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js +1 -0
  1131. package/dist/esm/post-purchase/countdown-timer/components/TextCountdown.js +1 -0
  1132. package/dist/esm/post-purchase/countdown-timer/hooks/useCountdownTimer.js +1 -0
  1133. package/dist/esm/post-purchase/countdown-timer/next.js +1 -0
  1134. package/dist/esm/post-purchase/countdown-timer/settings/CountdownTimer.js +34 -0
  1135. package/dist/esm/post-purchase/countdown-timer/settings/index.js +1 -0
  1136. package/dist/esm/post-purchase/image/components/AdaptiveImage.js +1 -0
  1137. package/dist/esm/post-purchase/image/components/Image.js +1 -0
  1138. package/dist/esm/post-purchase/image/components/Img.js +1 -0
  1139. package/dist/esm/post-purchase/image/next.js +1 -0
  1140. package/dist/esm/post-purchase/image/setting/Image.js +11 -0
  1141. package/dist/esm/post-purchase/image/setting/index.js +1 -0
  1142. package/dist/esm/post-purchase/line/components/PostPurchaseLine.js +1 -0
  1143. package/dist/esm/post-purchase/line/next.js +1 -0
  1144. package/dist/esm/post-purchase/line/setting/PostPurchaseLine.js +9 -0
  1145. package/dist/esm/post-purchase/line/setting/index.js +1 -0
  1146. package/dist/esm/post-purchase/next.js +1 -0
  1147. package/dist/esm/post-purchase/product/components/AcceptButton.js +1 -0
  1148. package/dist/esm/post-purchase/product/components/ProductDescription.js +1 -0
  1149. package/dist/esm/post-purchase/product/components/ProductDiscountTag.js +1 -0
  1150. package/dist/esm/post-purchase/product/components/ProductOffer.js +1 -0
  1151. package/dist/esm/post-purchase/product/components/ProductPrice.js +1 -0
  1152. package/dist/esm/post-purchase/product/components/ProductPriceBreakdown.js +1 -0
  1153. package/dist/esm/post-purchase/product/components/ProductQuantity.js +1 -0
  1154. package/dist/esm/post-purchase/product/components/ProductTitle.js +1 -0
  1155. package/dist/esm/post-purchase/product/components/ProductVariant.js +1 -0
  1156. package/dist/esm/post-purchase/product/components/priceBreakdown/MoneyLine.js +1 -0
  1157. package/dist/esm/post-purchase/product/components/product-image/Arrow.js +1 -0
  1158. package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +1 -0
  1159. package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +1 -0
  1160. package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +1 -0
  1161. package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +1 -0
  1162. package/dist/esm/post-purchase/product/components/product-image/index.js +1 -0
  1163. package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +1 -0
  1164. package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +1 -0
  1165. package/dist/esm/post-purchase/product/components/variants/Dropdown.js +1 -0
  1166. package/dist/esm/post-purchase/product/components/variants/DropdownOption.js +1 -0
  1167. package/dist/esm/post-purchase/product/components/variants/RectangleList.js +1 -0
  1168. package/dist/esm/post-purchase/product/components/variants/VariantGroup.js +1 -0
  1169. package/dist/esm/post-purchase/product/components/variants/VariantItem.js +1 -0
  1170. package/dist/esm/post-purchase/product/components/variants/VariantOption.js +1 -0
  1171. package/dist/esm/post-purchase/product/helpers/index.js +1 -0
  1172. package/dist/esm/post-purchase/product/next.js +1 -0
  1173. package/dist/esm/post-purchase/product/settings/AcceptButton.js +22 -0
  1174. package/dist/esm/post-purchase/product/settings/ProductDescription.js +9 -0
  1175. package/dist/esm/post-purchase/product/settings/ProductDiscountTag.js +4 -0
  1176. package/dist/esm/post-purchase/product/settings/ProductOffer.js +53 -0
  1177. package/dist/esm/post-purchase/product/settings/ProductPrice.js +15 -0
  1178. package/dist/esm/post-purchase/product/settings/ProductPriceBreakdown.js +43 -0
  1179. package/dist/esm/post-purchase/product/settings/ProductQuantity.js +25 -0
  1180. package/dist/esm/post-purchase/product/settings/ProductTitle.js +9 -0
  1181. package/dist/esm/post-purchase/product/settings/ProductVariant.js +27 -0
  1182. package/dist/esm/post-purchase/product/settings/index.js +1 -0
  1183. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-1-col.js +8 -0
  1184. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-2-col.js +11 -0
  1185. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-default.js +12 -0
  1186. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-1-col.js +8 -0
  1187. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-2-col.js +11 -0
  1188. package/dist/esm/post-purchase/product/settings/presets-config/product-presets/product-offer-default.js +12 -0
  1189. package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +1 -0
  1190. package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +9 -0
  1191. package/dist/esm/post-purchase/product/settings/product-image/ProductImageLayoutSetting.js +1 -0
  1192. package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +21 -0
  1193. package/dist/esm/post-purchase/text/Text.js +1 -0
  1194. package/dist/esm/post-purchase/text/index.js +1 -0
  1195. package/dist/esm/post-purchase/text/next.js +1 -0
  1196. package/dist/esm/post-purchase/text/setting/Heading.js +3 -0
  1197. package/dist/esm/post-purchase/text/setting/Text.js +7 -0
  1198. package/dist/esm/post-purchase/text/setting/index.js +1 -0
  1199. package/dist/esm/post-purchase/utils/constants.js +1 -0
  1200. package/dist/esm/post-purchase/utils/helper.js +1 -0
  1201. package/dist/esm/product/components/DynamicCheckout.js +1 -22
  1202. package/dist/esm/product/components/DynamicCheckout.liquid.js +59 -102
  1203. package/dist/esm/product/components/Product.js +1 -94
  1204. package/dist/esm/product/components/Product.liquid.js +21 -47
  1205. package/dist/esm/product/components/ProductButton.js +1 -230
  1206. package/dist/esm/product/components/ProductButton.liquid.js +9 -112
  1207. package/dist/esm/product/components/ProductDescription.js +2 -103
  1208. package/dist/esm/product/components/ProductDescription.liquid.js +14 -76
  1209. package/dist/esm/product/components/ProductImages/ProductFeaturedImage.js +1 -248
  1210. package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +1 -199
  1211. package/dist/esm/product/components/ProductImages/ProductGalleryGrid.js +1 -159
  1212. package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +1 -114
  1213. package/dist/esm/product/components/ProductImages/common/common.js +1 -103
  1214. package/dist/esm/product/components/ProductImages/common/productFeaturedImage.js +1 -90
  1215. package/dist/esm/product/components/ProductImages/common/productGallery.js +1 -188
  1216. package/dist/esm/product/components/ProductImages/liquid/ProductFeaturedImage.liquid.js +25 -104
  1217. package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +9 -104
  1218. package/dist/esm/product/components/ProductImages/liquid/ProductGalleryGrid.liquid.js +11 -58
  1219. package/dist/esm/product/components/ProductImages.js +1 -280
  1220. package/dist/esm/product/components/ProductImages.liquid.js +17 -84
  1221. package/dist/esm/product/components/ProductImagesV2/common/common.js +1 -198
  1222. package/dist/esm/product/components/ProductImagesV2/common/hoverAction.js +1 -89
  1223. package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -16
  1224. package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -223
  1225. package/dist/esm/product/components/ProductImagesV2/jsx/ProductImages.js +11 -212
  1226. package/dist/esm/product/components/ProductImagesV2/jsx/components/ButtonOpenLightBox.js +1 -23
  1227. package/dist/esm/product/components/ProductImagesV2/jsx/components/MediaIcon.js +1 -58
  1228. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductFeaturedImageCarousel.js +1 -264
  1229. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryCarousel.js +1 -257
  1230. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductGalleryGrid.js +1 -154
  1231. package/dist/esm/product/components/ProductImagesV2/jsx/components/ProductImagesLightBox.js +1 -114
  1232. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/FeatureImageWithGallery.js +1 -149
  1233. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryOneCol.js +1 -20
  1234. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/GalleryTwoCol.js +1 -20
  1235. package/dist/esm/product/components/ProductImagesV2/jsx/layouts/OnlyFeatureImage.js +1 -28
  1236. package/dist/esm/product/components/ProductImagesV2/liquid/ProductFeaturedImageCarousel.liquid.js +32 -295
  1237. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryCarousel.liquid.js +11 -226
  1238. package/dist/esm/product/components/ProductImagesV2/liquid/ProductGalleryGrid.liquid.js +28 -203
  1239. package/dist/esm/product/components/ProductImagesV2/liquid/ProductImages.liquid.js +23 -71
  1240. package/dist/esm/product/components/ProductList.js +1 -202
  1241. package/dist/esm/product/components/ProductList.liquid.js +135 -164
  1242. package/dist/esm/product/components/ProductNotFound.js +1 -137
  1243. package/dist/esm/product/components/ProductPrice.js +1 -67
  1244. package/dist/esm/product/components/ProductPrice.liquid.js +13 -46
  1245. package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.js +1 -52
  1246. package/dist/esm/product/components/ProductProperties/ProductPropertyChoice.liquid.js +13 -49
  1247. package/dist/esm/product/components/ProductProperties/ProductPropertyInput.js +1 -57
  1248. package/dist/esm/product/components/ProductProperties/ProductPropertyInput.liquid.js +12 -106
  1249. package/dist/esm/product/components/ProductProperties/ProductPropertySelect.js +1 -37
  1250. package/dist/esm/product/components/ProductProperties/ProductPropertySelect.liquid.js +12 -45
  1251. package/dist/esm/product/components/ProductProperties.js +1 -264
  1252. package/dist/esm/product/components/ProductProperties.liquid.js +16 -73
  1253. package/dist/esm/product/components/ProductQuantity.js +1 -193
  1254. package/dist/esm/product/components/ProductQuantity.liquid.js +17 -108
  1255. package/dist/esm/product/components/ProductQuickView/ProductQuickView.js +1 -154
  1256. package/dist/esm/product/components/ProductQuickView/index.js +1 -16
  1257. package/dist/esm/product/components/ProductTag.js +1 -110
  1258. package/dist/esm/product/components/ProductTag.liquid.js +22 -78
  1259. package/dist/esm/product/components/ProductTitle.js +1 -36
  1260. package/dist/esm/product/components/ProductTitle.liquid.js +7 -31
  1261. package/dist/esm/product/components/ProductVariants/common.js +1 -64
  1262. package/dist/esm/product/components/ProductVariants/index.js +1 -306
  1263. package/dist/esm/product/components/ProductVariants/index.liquid.js +28 -186
  1264. package/dist/esm/product/components/ProductVariants/utils/mappingVariantStyles.js +1 -0
  1265. package/dist/esm/product/components/ProductVariants/variants/Base.js +11 -260
  1266. package/dist/esm/product/components/ProductVariants/variants/Base.liquid.js +19 -118
  1267. package/dist/esm/product/components/ProductVariants/variants/Color.js +1 -18
  1268. package/dist/esm/product/components/ProductVariants/variants/Color.liquid.js +3 -13
  1269. package/dist/esm/product/components/ProductVariants/variants/Dropdown.js +1 -144
  1270. package/dist/esm/product/components/ProductVariants/variants/Dropdown.liquid.js +11 -49
  1271. package/dist/esm/product/components/ProductVariants/variants/DropdownGroup.liquid.js +17 -55
  1272. package/dist/esm/product/components/ProductVariants/variants/DropdownOption.js +1 -17
  1273. package/dist/esm/product/components/ProductVariants/variants/Image.js +1 -18
  1274. package/dist/esm/product/components/ProductVariants/variants/Image.liquid.js +3 -13
  1275. package/dist/esm/product/components/ProductVariants/variants/ImageShopify.js +1 -35
  1276. package/dist/esm/product/components/ProductVariants/variants/ImageShopify.liquid.js +3 -13
  1277. package/dist/esm/product/components/ProductVariants/variants/RadioButtons.js +1 -58
  1278. package/dist/esm/product/components/ProductVariants/variants/RectangleList.js +1 -64
  1279. package/dist/esm/product/components/ProductVariants/variants/VariantGroup.js +1 -34
  1280. package/dist/esm/product/components/ProductVariants/variants/VariantOption/index.js +1 -16
  1281. package/dist/esm/product/components/ProductVariants/variants/index.js +1 -109
  1282. package/dist/esm/product/components/ProductVariants/variants/index.liquid.js +27 -71
  1283. package/dist/esm/product/components/SalePageProductListWarning.js +1 -0
  1284. package/dist/esm/product/components/Vendor.js +1 -34
  1285. package/dist/esm/product/components/Vendor.liquid.js +7 -31
  1286. package/dist/esm/product/helpers/function.js +1 -39
  1287. package/dist/esm/product/helpers/product-image.js +1 -31
  1288. package/dist/esm/product/helpers/product.js +1 -51
  1289. package/dist/esm/product/helpers/tracking.js +1 -9
  1290. package/dist/esm/product/next.js +1 -69
  1291. package/dist/esm/product/setting/DynamicCheckout.js +3 -547
  1292. package/dist/esm/product/setting/Product.js +35 -377
  1293. package/dist/esm/product/setting/ProductButton.js +4 -1075
  1294. package/dist/esm/product/setting/ProductDescription.js +2 -295
  1295. package/dist/esm/product/setting/ProductImages.js +5 -1197
  1296. package/dist/esm/product/setting/ProductList.js +3 -1193
  1297. package/dist/esm/product/setting/ProductPrice.js +4 -353
  1298. package/dist/esm/product/setting/ProductProperties.js +3 -971
  1299. package/dist/esm/product/setting/ProductQuantity.js +3 -606
  1300. package/dist/esm/product/setting/ProductTag.js +2 -246
  1301. package/dist/esm/product/setting/ProductTitle.js +3 -348
  1302. package/dist/esm/product/setting/ProductVariants.js +4 -1419
  1303. package/dist/esm/product/setting/Vendor.js +3 -334
  1304. package/dist/esm/product/setting/index.js +1 -33
  1305. package/dist/esm/product/setting/presets-config/product-presets/product-1-col.js +9 -273
  1306. package/dist/esm/product/setting/presets-config/product-presets/product-2-col.js +12 -281
  1307. package/dist/esm/product/setting/presets-config/product-presets/product-default.js +13 -281
  1308. package/dist/esm/product/setting/product-image-v2/ProductFeatureImage.js +2 -515
  1309. package/dist/esm/product/setting/product-image-v2/ProductGalleryImage.js +2 -643
  1310. package/dist/esm/product/setting/product-image-v2/ProductImages.js +4 -435
  1311. package/dist/esm/product/setting/swatches-style-config/color.js +1 -0
  1312. package/dist/esm/product/setting/swatches-style-config/dropdown.js +1 -0
  1313. package/dist/esm/product/setting/swatches-style-config/image-shopify.js +1 -0
  1314. package/dist/esm/product/setting/swatches-style-config/image.js +1 -0
  1315. package/dist/esm/product/setting/swatches-style-config/rectangle-list.js +1 -0
  1316. package/dist/esm/radio/Radio.js +1 -33
  1317. package/dist/esm/radio/next.js +1 -11
  1318. package/dist/esm/radio/setting/Radio.js +1 -66
  1319. package/dist/esm/radio/setting/index.js +1 -7
  1320. package/dist/esm/select/Select.js +2 -56
  1321. package/dist/esm/select/next.js +1 -11
  1322. package/dist/esm/select/setting/index.js +1 -7
  1323. package/dist/esm/sticky/components/Sticky.js +1 -156
  1324. package/dist/esm/sticky/components/Sticky.liquid.js +10 -73
  1325. package/dist/esm/sticky/next.js +1 -11
  1326. package/dist/esm/sticky/setting/Sticky.js +1 -230
  1327. package/dist/esm/sticky/setting/index.js +1 -7
  1328. package/dist/esm/sticky/setting/preset-config.js +2 -876
  1329. package/dist/esm/stock-counter/components/StockCounter.js +1 -111
  1330. package/dist/esm/stock-counter/components/StockCounter.liquid.js +23 -100
  1331. package/dist/esm/stock-counter/const.js +1 -20
  1332. package/dist/esm/stock-counter/helpers.js +5 -59
  1333. package/dist/esm/stock-counter/next.js +1 -11
  1334. package/dist/esm/stock-counter/setting/StockCounter.js +4 -624
  1335. package/dist/esm/stock-counter/setting/index.js +1 -7
  1336. package/dist/esm/tab/components/TabItem.js +1 -20
  1337. package/dist/esm/tab/components/TabItem.liquid.js +6 -19
  1338. package/dist/esm/tab/components/Tabs.js +1 -129
  1339. package/dist/esm/tab/components/Tabs.liquid.js +18 -79
  1340. package/dist/esm/tab/components/common.js +1 -39
  1341. package/dist/esm/tab/next.js +1 -15
  1342. package/dist/esm/tab/setting/TabItem.js +2 -29
  1343. package/dist/esm/tab/setting/Tabs.js +3 -569
  1344. package/dist/esm/tab/setting/index.js +1 -9
  1345. package/dist/esm/text/components/Text.js +1 -95
  1346. package/dist/esm/text/components/Text.liquid.js +10 -84
  1347. package/dist/esm/text/index.js +1 -5
  1348. package/dist/esm/text/next.js +1 -11
  1349. package/dist/esm/text/setting/Text.js +3 -414
  1350. package/dist/esm/text/setting/index.js +1 -7
  1351. package/dist/esm/textarea/Textarea.js +1 -34
  1352. package/dist/esm/textarea/next.js +1 -11
  1353. package/dist/esm/textarea/setting/Textarea.js +2 -103
  1354. package/dist/esm/textarea/setting/index.js +1 -7
  1355. package/dist/esm/third-party/components/AliReviews/AliReviewsSampleContent.js +1 -24
  1356. package/dist/esm/third-party/components/AliReviews.js +1 -18
  1357. package/dist/esm/third-party/components/AliReviews.liquid.js +8 -17
  1358. package/dist/esm/third-party/components/AppstleSubscriptions/AppstleSubscriptionsSampleContent.js +1 -19
  1359. package/dist/esm/third-party/components/AppstleSubscriptions.js +1 -18
  1360. package/dist/esm/third-party/components/AppstleSubscriptions.liquid.js +4 -13
  1361. package/dist/esm/third-party/components/BoldProductOptions/BoldProductOptionsSampleContent.js +1 -19
  1362. package/dist/esm/third-party/components/BoldProductOptions.js +1 -18
  1363. package/dist/esm/third-party/components/BoldProductOptions.liquid.js +4 -13
  1364. package/dist/esm/third-party/components/BoldSubscriptions/BoldSubscriptionsSampleContent.js +1 -30
  1365. package/dist/esm/third-party/components/BoldSubscriptions.js +1 -18
  1366. package/dist/esm/third-party/components/BoldSubscriptions.liquid.js +5 -14
  1367. package/dist/esm/third-party/components/BoostAISearchDiscovery/BoostAISearchDiscoverySampleContent.js +1 -19
  1368. package/dist/esm/third-party/components/BoostAISearchDiscovery.js +1 -18
  1369. package/dist/esm/third-party/components/BoostAISearchDiscovery.liquid.js +5 -13
  1370. package/dist/esm/third-party/components/Bundler/BundlerSampleContent.js +1 -19
  1371. package/dist/esm/third-party/components/Bundler.js +1 -20
  1372. package/dist/esm/third-party/components/Bundler.liquid.js +5 -18
  1373. package/dist/esm/third-party/components/CrossSellCartUpsell/CrossSellCartUpsellSampleContent.js +1 -19
  1374. package/dist/esm/third-party/components/CrossSellCartUpsell.js +1 -18
  1375. package/dist/esm/third-party/components/CrossSellCartUpsell.liquid.js +5 -20
  1376. package/dist/esm/third-party/components/FeraReviews/FeraReviewsSampleContent.js +1 -45
  1377. package/dist/esm/third-party/components/FeraReviews/LiquidTemplateByWidget.js +1 -50
  1378. package/dist/esm/third-party/components/FeraReviews.js +1 -22
  1379. package/dist/esm/third-party/components/FeraReviews.liquid.js +5 -16
  1380. package/dist/esm/third-party/components/FirePush/FirePushSampleContent.js +1 -17
  1381. package/dist/esm/third-party/components/FirePush.js +1 -18
  1382. package/dist/esm/third-party/components/FirePush.liquid.js +4 -13
  1383. package/dist/esm/third-party/components/FrequentlyBoughtTogether/FrequentlyBoughtTogetherSampleContent.js +1 -19
  1384. package/dist/esm/third-party/components/FrequentlyBoughtTogether.js +1 -20
  1385. package/dist/esm/third-party/components/FrequentlyBoughtTogether.liquid.js +5 -14
  1386. package/dist/esm/third-party/components/Growave/GrowaveSampleContent.js +1 -34
  1387. package/dist/esm/third-party/components/Growave.js +1 -18
  1388. package/dist/esm/third-party/components/Growave.liquid.js +5 -14
  1389. package/dist/esm/third-party/components/InfiniteOptions/InfiniteOptionsSampleContent.js +1 -19
  1390. package/dist/esm/third-party/components/InfiniteOptions.js +1 -18
  1391. package/dist/esm/third-party/components/InfiniteOptions.liquid.js +4 -12
  1392. package/dist/esm/third-party/components/Instafeed/InstafeedSampleContent.js +1 -19
  1393. package/dist/esm/third-party/components/Instafeed.js +1 -18
  1394. package/dist/esm/third-party/components/Instafeed.liquid.js +4 -13
  1395. package/dist/esm/third-party/components/Judgeme/JudgemeSampleContent.js +1 -35
  1396. package/dist/esm/third-party/components/JudgemeReviews.js +1 -19
  1397. package/dist/esm/third-party/components/JudgemeReviews.liquid.js +5 -14
  1398. package/dist/esm/third-party/components/KachingBundles/KachingBundlesSampleContent.js +1 -23
  1399. package/dist/esm/third-party/components/KachingBundles.js +1 -18
  1400. package/dist/esm/third-party/components/KachingBundles.liquid.js +4 -13
  1401. package/dist/esm/third-party/components/Klaviyo/KlaviyoSampleContent.js +1 -19
  1402. package/dist/esm/third-party/components/Klaviyo.js +1 -26
  1403. package/dist/esm/third-party/components/Klaviyo.liquid.js +5 -15
  1404. package/dist/esm/third-party/components/LaiProductReviews/LaiProductReviewsSampleContent.js +1 -54
  1405. package/dist/esm/third-party/components/LaiProductReviews/LiquidTemplateByWiget.js +10 -41
  1406. package/dist/esm/third-party/components/LaiProductReviews.js +1 -20
  1407. package/dist/esm/third-party/components/LaiProductReviews.liquid.js +5 -17
  1408. package/dist/esm/third-party/components/LooxReviews/LooxReviewsSampleContent.js +1 -31
  1409. package/dist/esm/third-party/components/LooxReviews.js +1 -18
  1410. package/dist/esm/third-party/components/LooxReviews.liquid.js +9 -47
  1411. package/dist/esm/third-party/components/Omnisend/OmnisendSampleContent.js +1 -30
  1412. package/dist/esm/third-party/components/Omnisend.js +1 -18
  1413. package/dist/esm/third-party/components/Omnisend.liquid.js +9 -18
  1414. package/dist/esm/third-party/components/Opinew/OpinewSampleContent.js +1 -29
  1415. package/dist/esm/third-party/components/Opinew.js +1 -18
  1416. package/dist/esm/third-party/components/Opinew.liquid.js +6 -15
  1417. package/dist/esm/third-party/components/ParcelPanel/ParcelPanelSampleContent.js +1 -19
  1418. package/dist/esm/third-party/components/ParcelPanel.js +1 -18
  1419. package/dist/esm/third-party/components/ParcelPanel.liquid.js +4 -13
  1420. package/dist/esm/third-party/components/PickyStory/PickyStorySampleContent.js +1 -32
  1421. package/dist/esm/third-party/components/PickyStory.js +1 -18
  1422. package/dist/esm/third-party/components/PickyStory.liquid.js +5 -14
  1423. package/dist/esm/third-party/components/ProductReviews/ProductReviewsSampleContent.js +1 -25
  1424. package/dist/esm/third-party/components/ProductReviews.js +1 -18
  1425. package/dist/esm/third-party/components/ProductReviews.liquid.js +5 -14
  1426. package/dist/esm/third-party/components/Rivyo/RivyoSampleContent.js +1 -32
  1427. package/dist/esm/third-party/components/Rivyo.js +1 -18
  1428. package/dist/esm/third-party/components/Rivyo.liquid.js +5 -14
  1429. package/dist/esm/third-party/components/Ryviu/RyviuSampleContent.js +1 -33
  1430. package/dist/esm/third-party/components/Ryviu.js +1 -18
  1431. package/dist/esm/third-party/components/Ryviu.liquid.js +5 -14
  1432. package/dist/esm/third-party/components/SealSubscriptions/SealSubscriptionsSampleContent.js +1 -19
  1433. package/dist/esm/third-party/components/SealSubscriptions.js +1 -18
  1434. package/dist/esm/third-party/components/SealSubscriptions.liquid.js +4 -13
  1435. package/dist/esm/third-party/components/SmartSearchBarAndFilters/SmartSearchBarAndFiltersSampleContent.js +1 -19
  1436. package/dist/esm/third-party/components/SmartSearchBarAndFilters.js +1 -20
  1437. package/dist/esm/third-party/components/SmartSearchBarAndFilters.liquid.js +6 -16
  1438. package/dist/esm/third-party/components/Stamped/LiquidTemplateByWidget.js +92 -172
  1439. package/dist/esm/third-party/components/Stamped/StampedSampleContent.js +1 -42
  1440. package/dist/esm/third-party/components/Stamped.js +1 -18
  1441. package/dist/esm/third-party/components/Stamped.liquid.js +5 -16
  1442. package/dist/esm/third-party/components/ThirdPartyPreview.js +1 -69
  1443. package/dist/esm/third-party/components/TrustMe/TrustMeSampleContent.js +1 -19
  1444. package/dist/esm/third-party/components/TrustMe.js +1 -18
  1445. package/dist/esm/third-party/components/TrustMe.liquid.js +4 -13
  1446. package/dist/esm/third-party/components/Trustoo/TrustooSampleContent.js +1 -31
  1447. package/dist/esm/third-party/components/Trustoo.js +1 -18
  1448. package/dist/esm/third-party/components/Trustoo.liquid.js +6 -15
  1449. package/dist/esm/third-party/components/UltimateSalesBoost/UltimateSalesBoostSampleContent.js +1 -29
  1450. package/dist/esm/third-party/components/UltimateSalesBoost.js +1 -18
  1451. package/dist/esm/third-party/components/UltimateSalesBoost.liquid.js +5 -14
  1452. package/dist/esm/third-party/components/Vitals/VitalsSampleContent.js +1 -47
  1453. package/dist/esm/third-party/components/Vitals.js +1 -18
  1454. package/dist/esm/third-party/components/Vitals.liquid.js +5 -14
  1455. package/dist/esm/third-party/components/WideBundle/WideBundleSampleContent.js +1 -19
  1456. package/dist/esm/third-party/components/WideBundle.js +1 -18
  1457. package/dist/esm/third-party/components/WideBundle.liquid.js +4 -13
  1458. package/dist/esm/third-party/components/Wiser/WiserSampleContent.js +1 -53
  1459. package/dist/esm/third-party/components/Wiser.js +1 -22
  1460. package/dist/esm/third-party/components/Wiser.liquid.js +5 -15
  1461. package/dist/esm/third-party/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
  1462. package/dist/esm/third-party/components/YotpoLoyalty.js +1 -39
  1463. package/dist/esm/third-party/components/YotpoReviews/YotpoReviewsSampleContent.js +1 -31
  1464. package/dist/esm/third-party/components/YotpoReviews.js +1 -18
  1465. package/dist/esm/third-party/components/YotpoReviews.liquid.js +6 -15
  1466. package/dist/esm/third-party/configs/AliReviews.js +1 -8
  1467. package/dist/esm/third-party/configs/AppstleSubscriptions.js +1 -8
  1468. package/dist/esm/third-party/configs/BoldProductOptions.js +1 -8
  1469. package/dist/esm/third-party/configs/BoldSubscription.js +1 -8
  1470. package/dist/esm/third-party/configs/BoostAISearchDiscovery.js +1 -8
  1471. package/dist/esm/third-party/configs/Bundler.js +1 -8
  1472. package/dist/esm/third-party/configs/CrossSellCartUpsell.js +1 -8
  1473. package/dist/esm/third-party/configs/FeraReviews.js +1 -8
  1474. package/dist/esm/third-party/configs/FirePush.js +1 -8
  1475. package/dist/esm/third-party/configs/FrequentlyBoughtTogether.js +1 -8
  1476. package/dist/esm/third-party/configs/Growave.js +1 -8
  1477. package/dist/esm/third-party/configs/InfiniteOptions.js +1 -8
  1478. package/dist/esm/third-party/configs/Instafeed.js +1 -8
  1479. package/dist/esm/third-party/configs/JudgemeReviews.js +1 -8
  1480. package/dist/esm/third-party/configs/KachingBundles.js +1 -8
  1481. package/dist/esm/third-party/configs/Klaviyo.js +1 -8
  1482. package/dist/esm/third-party/configs/LaiProductReviews.js +1 -8
  1483. package/dist/esm/third-party/configs/LooxReviews.js +1 -8
  1484. package/dist/esm/third-party/configs/Omnisend.js +1 -8
  1485. package/dist/esm/third-party/configs/Opinew.js +1 -8
  1486. package/dist/esm/third-party/configs/ParcelPanel.js +1 -8
  1487. package/dist/esm/third-party/configs/PickyStory.js +1 -8
  1488. package/dist/esm/third-party/configs/ProductReviews.js +1 -8
  1489. package/dist/esm/third-party/configs/Rivyo.js +1 -8
  1490. package/dist/esm/third-party/configs/Ryviu.js +1 -8
  1491. package/dist/esm/third-party/configs/SealSubscriptions.js +1 -8
  1492. package/dist/esm/third-party/configs/SmartSearchBarAndFilters.js +1 -8
  1493. package/dist/esm/third-party/configs/Stamped.js +1 -8
  1494. package/dist/esm/third-party/configs/TrustMe.js +1 -8
  1495. package/dist/esm/third-party/configs/Trustoo.js +1 -8
  1496. package/dist/esm/third-party/configs/UltimateSalesBoost.js +1 -8
  1497. package/dist/esm/third-party/configs/Vitals.js +1 -8
  1498. package/dist/esm/third-party/configs/WideBundle.js +1 -8
  1499. package/dist/esm/third-party/configs/Wiser.js +1 -8
  1500. package/dist/esm/third-party/configs/YotpoLoyalty.js +1 -8
  1501. package/dist/esm/third-party/configs/YotpoReviews.js +1 -8
  1502. package/dist/esm/third-party/helpers/thirdParty.js +1 -33
  1503. package/dist/esm/third-party/next.js +1 -202
  1504. package/dist/esm/third-party/setting/AliReviews.js +4 -163
  1505. package/dist/esm/third-party/setting/AppstleSubscriptions.js +4 -93
  1506. package/dist/esm/third-party/setting/BoldProductOptions.js +4 -79
  1507. package/dist/esm/third-party/setting/BoldSubscriptions.js +4 -104
  1508. package/dist/esm/third-party/setting/BoostAISearchDiscovery.js +4 -82
  1509. package/dist/esm/third-party/setting/Bundler.js +4 -97
  1510. package/dist/esm/third-party/setting/CrossSellCartUpsell.js +4 -79
  1511. package/dist/esm/third-party/setting/FeraReviews.js +4 -390
  1512. package/dist/esm/third-party/setting/FirePush.js +4 -79
  1513. package/dist/esm/third-party/setting/FrequentlyBoughtTogether.js +6 -99
  1514. package/dist/esm/third-party/setting/Growave.js +4 -136
  1515. package/dist/esm/third-party/setting/InfiniteOptions.js +4 -79
  1516. package/dist/esm/third-party/setting/Instafeed.js +4 -85
  1517. package/dist/esm/third-party/setting/JudgemeReviews.js +4 -149
  1518. package/dist/esm/third-party/setting/KachingBundles.js +4 -84
  1519. package/dist/esm/third-party/setting/Klaviyo.js +4 -94
  1520. package/dist/esm/third-party/setting/LaiProductReviews.js +4 -200
  1521. package/dist/esm/third-party/setting/LooxReviews.js +4 -143
  1522. package/dist/esm/third-party/setting/Omnisend.js +4 -144
  1523. package/dist/esm/third-party/setting/Opinew.js +4 -187
  1524. package/dist/esm/third-party/setting/ParcelPanel.js +4 -88
  1525. package/dist/esm/third-party/setting/PickyStory.js +4 -112
  1526. package/dist/esm/third-party/setting/ProductReviews.js +4 -104
  1527. package/dist/esm/third-party/setting/Rivyo.js +4 -112
  1528. package/dist/esm/third-party/setting/Ryviu.js +4 -116
  1529. package/dist/esm/third-party/setting/SealSubscriptions.js +4 -93
  1530. package/dist/esm/third-party/setting/SmartSearchBarAndFilters.js +4 -94
  1531. package/dist/esm/third-party/setting/Stamped/Badge.js +1 -115
  1532. package/dist/esm/third-party/setting/Stamped/BadgeDouble.js +1 -20
  1533. package/dist/esm/third-party/setting/Stamped/BadgeRibbon.js +1 -59
  1534. package/dist/esm/third-party/setting/Stamped/BadgeSingle.js +1 -20
  1535. package/dist/esm/third-party/setting/Stamped/Carousel.js +1 -124
  1536. package/dist/esm/third-party/setting/Stamped/CheckoutReviews.js +1 -105
  1537. package/dist/esm/third-party/setting/Stamped/Colors.js +1 -56
  1538. package/dist/esm/third-party/setting/Stamped/Filters.js +1 -248
  1539. package/dist/esm/third-party/setting/Stamped/FullPage.js +1 -88
  1540. package/dist/esm/third-party/setting/Stamped/InstagramFeed.js +1 -109
  1541. package/dist/esm/third-party/setting/Stamped/MainWidget.js +1 -143
  1542. package/dist/esm/third-party/setting/Stamped/ProductRating.js +1 -71
  1543. package/dist/esm/third-party/setting/Stamped/SingleHighlight.js +1 -20
  1544. package/dist/esm/third-party/setting/Stamped/SiteBadge.js +1 -144
  1545. package/dist/esm/third-party/setting/Stamped/TopRated.js +1 -35
  1546. package/dist/esm/third-party/setting/Stamped/VisualGallery.js +1 -127
  1547. package/dist/esm/third-party/setting/Stamped/WallPhotos.js +1 -29
  1548. package/dist/esm/third-party/setting/Stamped/index.js +1 -48
  1549. package/dist/esm/third-party/setting/Stamped.js +4 -103
  1550. package/dist/esm/third-party/setting/TrustMe.js +4 -79
  1551. package/dist/esm/third-party/setting/Trustoo.js +4 -163
  1552. package/dist/esm/third-party/setting/UltimateSalesBoost.js +4 -177
  1553. package/dist/esm/third-party/setting/Vitals.js +5 -336
  1554. package/dist/esm/third-party/setting/WideBundle.js +4 -79
  1555. package/dist/esm/third-party/setting/Wiser.js +4 -221
  1556. package/dist/esm/third-party/setting/YotpoLoyalty.js +4 -77
  1557. package/dist/esm/third-party/setting/YotpoReviews.js +4 -122
  1558. package/dist/esm/third-party/setting/index.js +1 -83
  1559. package/dist/esm/third-party-instant/components/InstantJudgemeReviews.js +1 -71
  1560. package/dist/esm/third-party-instant/components/InstantKlaviyo.js +1 -43
  1561. package/dist/esm/third-party-instant/components/InstantLooxReviews.js +1 -32
  1562. package/dist/esm/third-party-instant/components/InstantThirdPartyPreview.js +1 -66
  1563. package/dist/esm/third-party-instant/components/InstantYotpoLoyalty.js +1 -39
  1564. package/dist/esm/third-party-instant/components/Judgeme/JudgemeSampleContent.js +1 -19
  1565. package/dist/esm/third-party-instant/components/Judgeme/SingleProduct.js +1 -44
  1566. package/dist/esm/third-party-instant/components/Judgeme/WithoutProduct.js +1 -89
  1567. package/dist/esm/third-party-instant/components/Klaviyo/KlaviyoSampleContent.js +1 -19
  1568. package/dist/esm/third-party-instant/components/LooxReviews/LooxReviewsSampleContent.js +2 -20
  1569. package/dist/esm/third-party-instant/components/LooxReviews/SingleProduct.js +1 -47
  1570. package/dist/esm/third-party-instant/components/LooxReviews/WithoutProduct.js +1 -51
  1571. package/dist/esm/third-party-instant/components/YotpoLoyalty/YotpoLoyaltySampleContent.js +1 -19
  1572. package/dist/esm/third-party-instant/configs/JudgemeReviews.js +1 -8
  1573. package/dist/esm/third-party-instant/configs/Klaviyo.js +1 -8
  1574. package/dist/esm/third-party-instant/configs/LooxReviews.js +1 -8
  1575. package/dist/esm/third-party-instant/configs/YotpoLoyalty.js +1 -8
  1576. package/dist/esm/third-party-instant/helpers/thirdParty.js +1 -68
  1577. package/dist/esm/third-party-instant/next.js +1 -28
  1578. package/dist/esm/third-party-instant/setting/InstantJudgemeReviews.js +4 -155
  1579. package/dist/esm/third-party-instant/setting/InstantKlaviyo.js +4 -93
  1580. package/dist/esm/third-party-instant/setting/InstantLooxReviews.js +4 -116
  1581. package/dist/esm/third-party-instant/setting/InstantYotpoLoyalty.js +4 -93
  1582. package/dist/esm/third-party-instant/setting/index.js +1 -13
  1583. package/dist/esm/third-party-instant/types/JudgemeReviews.js +1 -7
  1584. package/dist/esm/third-party-slot/components/ThirdPartySlot.js +1 -47
  1585. package/dist/esm/third-party-slot/components/ThirdPartySlot.liquid.js +9 -21
  1586. package/dist/esm/third-party-slot/next.js +1 -11
  1587. package/dist/esm/third-party-slot/setting/ThirdPartySlot.js +2 -101
  1588. package/dist/esm/third-party-slot/setting/index.js +1 -7
  1589. package/dist/esm/video/components/HTML5Embed.js +1 -39
  1590. package/dist/esm/video/components/HTML5Embed.liquid.js +21 -45
  1591. package/dist/esm/video/components/LiteVimeoEmbed.js +1 -113
  1592. package/dist/esm/video/components/LiteVimeoEmbed.liquid.js +13 -44
  1593. package/dist/esm/video/components/LiteYouTubeEmbed.js +1 -191
  1594. package/dist/esm/video/components/LiteYouTubeEmbed.liquid.js +15 -49
  1595. package/dist/esm/video/components/Video.js +1 -134
  1596. package/dist/esm/video/components/Video.liquid.js +6 -114
  1597. package/dist/esm/video/helpers/common.js +1 -38
  1598. package/dist/esm/video/next.js +1 -11
  1599. package/dist/esm/video/setting/Video.js +3 -447
  1600. package/dist/esm/video/setting/index.js +1 -7
  1601. package/dist/types/index.d.ts +1084 -192
  1602. package/package.json +3 -3
  1603. package/dist/cjs/third-party/components/Bogos/BogosSampleContent.js +0 -36
  1604. package/dist/cjs/third-party/components/Bogos.js +0 -22
  1605. package/dist/cjs/third-party/components/Bogos.liquid.js +0 -31
  1606. package/dist/cjs/third-party/components/CleanSizeChars.js +0 -43
  1607. package/dist/cjs/third-party/components/CleanSizeCharts.liquid.js +0 -22
  1608. package/dist/cjs/third-party/components/PushOwl.js +0 -9
  1609. package/dist/cjs/third-party/components/PushOwl.liquid.js +0 -37
  1610. package/dist/cjs/third-party/configs/Bogos.js +0 -12
  1611. package/dist/cjs/third-party/configs/PushOwl.js +0 -12
  1612. package/dist/cjs/third-party/setting/Bogos.js +0 -167
  1613. package/dist/cjs/third-party/setting/CleanSizeCharts.js +0 -152
  1614. package/dist/cjs/third-party/setting/PushOwl.js +0 -762
  1615. package/dist/esm/third-party/components/Bogos/BogosSampleContent.js +0 -32
  1616. package/dist/esm/third-party/components/Bogos.js +0 -18
  1617. package/dist/esm/third-party/components/Bogos.liquid.js +0 -27
  1618. package/dist/esm/third-party/components/CleanSizeChars.js +0 -38
  1619. package/dist/esm/third-party/components/CleanSizeCharts.liquid.js +0 -18
  1620. package/dist/esm/third-party/components/PushOwl.js +0 -5
  1621. package/dist/esm/third-party/components/PushOwl.liquid.js +0 -33
  1622. package/dist/esm/third-party/configs/Bogos.js +0 -8
  1623. package/dist/esm/third-party/configs/PushOwl.js +0 -8
  1624. package/dist/esm/third-party/setting/Bogos.js +0 -163
  1625. package/dist/esm/third-party/setting/CleanSizeCharts.js +0 -148
  1626. package/dist/esm/third-party/setting/PushOwl.js +0 -758
@@ -1,11 +1 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Countdown = require('./Countdown.js');
6
-
7
- var index = {
8
- Countdown: Countdown.default
9
- };
10
-
11
- exports.default = index;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Countdown=require("./Countdown.js"),index={Countdown:Countdown.default};exports.default=index;
@@ -1,357 +1 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var jsxRuntime = require('react/jsx-runtime');
6
- var core = require('@gem-sdk/core');
7
- var react = require('react');
8
- var common = require('../helpers/common.js');
9
- var useScrollPercentage = require('../hooks/use-scroll-percentage.js');
10
- var ChildrenDroppable = require('../../grid/components/ChildrenDroppable.js');
11
-
12
- const parseNumber = (value)=>{
13
- const numb = parseFloat(value?.toString() ?? '0');
14
- if (isNaN(numb)) return 0;
15
- return numb;
16
- };
17
- const createDialogKey = (uid = '', type = '')=>({
18
- id: `dialog:${uid}:${type}`,
19
- time: `dialog:${uid}:${type}:time`
20
- });
21
- const Dialog = ({ setting, children, builderProps, builderAttrs, style })=>{
22
- const { frequency = 3, triggerPercentage = 0, frequencyMode = 'once' } = setting ?? {};
23
- const { dialogId, trigger, triggerTime, name, mobileTrigger, mobileTriggerTime } = setting ?? {};
24
- const { fullScreen, width, height, position, effectType } = setting ?? {};
25
- const { btnBg, btnColor, btnSize, iconSize, closeButtonPosition, btnRounded } = setting ?? {};
26
- const { isOverlay, overlayColor, overlayOpacity, closeOnClickOutside } = setting ?? {};
27
- const dialogInfo = react.useMemo(()=>createDialogKey(dialogId ?? builderProps?.uid, trigger), [
28
- builderProps?.uid,
29
- dialogId,
30
- trigger
31
- ]);
32
- const activeId = core.useModalStore((s)=>s.activeId);
33
- const setModalActive = core.useModalStore((s)=>s.setModalActive);
34
- const clearModal = core.useModalStore((s)=>s.clearModal);
35
- const mode = core.useEditorMode();
36
- const timeoutRef = react.useRef();
37
- const dialogRef = react.useRef(null);
38
- const overlay = react.useRef(null);
39
- const triggerScroll = react.useRef(false);
40
- const opened = react.useRef(false);
41
- const [isOpen, setIsOpen] = react.useState(false);
42
- const percent = useScrollPercentage.useScrollPercentage();
43
- const forceOpen = activeId === builderProps?.uid;
44
- const open = mode === 'edit' ? forceOpen : isOpen;
45
- const enableEffect = open;
46
- const openModal = react.useCallback(()=>{
47
- localStorage.setItem(dialogInfo.time, `${Date.now()}`);
48
- opened.current = true;
49
- setIsOpen(true);
50
- }, [
51
- dialogInfo.time
52
- ]);
53
- const closeModal = react.useCallback(()=>{
54
- setIsOpen(false);
55
- setModalActive();
56
- clearModal();
57
- }, [
58
- setModalActive,
59
- clearModal
60
- ]);
61
- const handleShowModal = react.useCallback(()=>{
62
- const currentFrequency = localStorage.getItem(dialogInfo.time);
63
- if (!currentFrequency) {
64
- openModal();
65
- } else {
66
- switch(frequencyMode){
67
- case 'once':
68
- break;
69
- case 'after-period-time':
70
- {
71
- const diff = common.isShowModal(currentFrequency, frequency);
72
- if (diff) {
73
- openModal();
74
- }
75
- break;
76
- }
77
- case 'every':
78
- {
79
- openModal();
80
- break;
81
- }
82
- }
83
- }
84
- }, [
85
- dialogInfo.time,
86
- frequency,
87
- openModal,
88
- frequencyMode
89
- ]);
90
- const onMouseLeave = react.useCallback(()=>{
91
- if (opened.current || mode === 'edit' || trigger !== 'show-when-about-exit') return;
92
- handleShowModal();
93
- }, [
94
- handleShowModal,
95
- mode,
96
- trigger
97
- ]);
98
- react.useEffect(()=>{
99
- document.addEventListener('mouseleave', onMouseLeave);
100
- return ()=>{
101
- document.removeEventListener('mouseleave', onMouseLeave);
102
- };
103
- }, [
104
- onMouseLeave
105
- ]);
106
- react.useEffect(()=>{
107
- if (opened.current) return;
108
- if (common.isMobile(navigator.userAgent) && trigger === 'show-when-about-exit' && mobileTrigger === 'timer') {
109
- timeoutRef.current = setTimeout(()=>{
110
- handleShowModal();
111
- }, (mobileTriggerTime ?? 0) * 1000);
112
- return ()=>{
113
- clearTimeout(timeoutRef.current);
114
- };
115
- }
116
- }, [
117
- mobileTrigger,
118
- mobileTriggerTime,
119
- handleShowModal,
120
- trigger
121
- ]);
122
- react.useEffect(()=>{
123
- if (triggerScroll.current) return;
124
- if (trigger === 'show-after-scroll') {
125
- if (percent >= triggerPercentage) {
126
- triggerScroll.current = true;
127
- handleShowModal();
128
- }
129
- }
130
- }, [
131
- percent,
132
- triggerPercentage,
133
- handleShowModal,
134
- trigger
135
- ]);
136
- const handleClickOverlay = react.useCallback((e)=>{
137
- const isClickOutside = e.target === overlay.current;
138
- if (closeOnClickOutside && isClickOutside && mode !== 'edit') {
139
- closeModal();
140
- }
141
- }, [
142
- closeModal,
143
- closeOnClickOutside,
144
- mode
145
- ]);
146
- react.useEffect(()=>{
147
- switch(trigger){
148
- case 'show-on-page-load':
149
- handleShowModal();
150
- break;
151
- case 'show-after-time':
152
- {
153
- timeoutRef.current = setTimeout(()=>{
154
- handleShowModal();
155
- }, parseNumber(triggerTime) * 1000);
156
- break;
157
- }
158
- }
159
- return ()=>{
160
- clearTimeout(timeoutRef.current);
161
- };
162
- }, [
163
- handleShowModal,
164
- trigger,
165
- triggerTime
166
- ]);
167
- const w = core.makeWidth(width, fullScreen);
168
- const heightStyle = {
169
- ...fullScreen?.desktop ? core.makeStyle({
170
- h: '100%'
171
- }) : !height?.desktop ? core.makeStyle({
172
- minh: '300px'
173
- }) : core.makeStyle({
174
- h: height.desktop
175
- }),
176
- '--h-tablet': fullScreen?.tablet ? '100%' : height?.tablet,
177
- '--h-mobile': fullScreen?.mobile ? '100%' : height?.mobile
178
- };
179
- const displayStyle = react.useMemo(()=>{
180
- return Object.keys(style ?? {}).filter((key)=>[
181
- '--d',
182
- '--d-mobile',
183
- '--d-tablet'
184
- ].includes(key)).reduce((curr, key)=>({
185
- ...curr,
186
- [key]: style?.[key]
187
- }), {});
188
- }, [
189
- style
190
- ]);
191
- const borderStyle = react.useMemo(()=>{
192
- return Object.keys(style ?? {}).filter((key)=>[
193
- '--bw',
194
- '--bw-mobile',
195
- '--bw-tablet',
196
- '--bc',
197
- '--b',
198
- '--radius',
199
- '--bblr',
200
- '--bbrr',
201
- '--btlr',
202
- '--btrr'
203
- ].includes(key)).reduce((curr, key)=>({
204
- ...curr,
205
- [key]: style?.[key]
206
- }), {});
207
- }, [
208
- style
209
- ]);
210
- const wrapperStyle = react.useMemo(()=>{
211
- return Object.keys(style ?? {}).filter((key)=>key.startsWith('--mt') || key.startsWith('--mb') || key.startsWith('--ml') || key.startsWith('--mr')).reduce((curr, key)=>({
212
- ...curr,
213
- [key]: style?.[key]
214
- }), {});
215
- }, [
216
- style
217
- ]);
218
- const innerStyle = react.useMemo(()=>{
219
- return Object.keys(style ?? {}).filter((key)=>!Object.keys(wrapperStyle).includes(key) && !Object.keys(displayStyle).includes(key) && !Object.keys(borderStyle).includes(key)).reduce((curr, key)=>({
220
- ...curr,
221
- [key]: style?.[key]
222
- }), {});
223
- }, [
224
- style,
225
- wrapperStyle,
226
- displayStyle,
227
- borderStyle
228
- ]);
229
- const pointerEventStyle = react.useMemo(()=>{
230
- return Object.keys(style ?? {}).filter((key)=>[
231
- '--d',
232
- '--d-mobile',
233
- '--d-tablet'
234
- ].includes(key)).reduce((curr, key)=>({
235
- ...curr,
236
- [key.replace('--d', '--pe')]: style?.[key] === 'none' ? 'none' : 'auto'
237
- }), {});
238
- }, [
239
- style
240
- ]);
241
- if (!open) return null;
242
- return /*#__PURE__*/ jsxRuntime.jsx("dialog", {
243
- ref: dialogRef,
244
- open: open,
245
- className: "gp-dialog gp-z-[999999] gp-bg-transparent",
246
- "aria-label": name,
247
- style: displayStyle,
248
- children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
249
- "aria-label": "Backdrop",
250
- className: core.cls('gp-fixed gp-inset-0 gp-z-50 gp-flex gp-overflow-y-auto gp-overflow-x-hidden', {
251
- 'gp-items-center gp-justify-center': position === 'center',
252
- 'gp-items-start gp-justify-center': position === 'top',
253
- 'gp-items-start gp-justify-end': position === 'top-right',
254
- 'gp-items-start gp-justify-start': position === 'top-left',
255
- 'gp-items-end gp-justify-center': position === 'bottom',
256
- 'gp-items-center gp-justify-start': position === 'left',
257
- 'gp-items-center gp-justify-end': position === 'right',
258
- 'gp-items-end gp-justify-start': position === 'bottom-left',
259
- 'gp-items-end gp-justify-end': position === 'bottom-right'
260
- }),
261
- style: pointerEventStyle,
262
- children: [
263
- isOverlay && /*#__PURE__*/ jsxRuntime.jsx("div", {
264
- ref: overlay,
265
- className: "gp-fixed gp-inset-0 gp-block gp-transition-all gp-duration-100",
266
- style: {
267
- ...core.makeStyle({
268
- op: (overlayOpacity ?? 0) / 100
269
- }),
270
- ...core.getGlobalColorResponsiveStyle('bgc', {
271
- desktop: overlayColor
272
- }),
273
- ...displayStyle
274
- },
275
- onClick: handleClickOverlay,
276
- "aria-hidden": true
277
- }),
278
- /*#__PURE__*/ jsxRuntime.jsx("span", {
279
- className: "gp-inline-block gp-h-screen gp-align-middle"
280
- }),
281
- /*#__PURE__*/ jsxRuntime.jsxs("div", {
282
- ...builderAttrs,
283
- role: "dialog",
284
- "aria-label": "Dialog content",
285
- className: core.cls('gp-relative gp-max-h-full gp-max-w-full gp-bg-white gp-shadow-xl', {
286
- 'gp-animate-[fadeIn_0.4s_ease-in]': effectType === 'fade' && enableEffect,
287
- 'gp-animate-[zoomIn_0.3s_ease-in]': effectType === 'zoom' && enableEffect,
288
- 'gp-animate-[zoomOut_0.3s_ease-in]': effectType === 'zoom-out' && enableEffect,
289
- 'gp-animate-[slideInLeft_0.3s_ease-in]': effectType === 'horizontal' && enableEffect,
290
- 'gp-animate-[slideInUp_0.3s_ease-in]': effectType === 'vertical' && enableEffect,
291
- 'gp-animate-[unfold_0.3s_ease-in-out]': effectType === 'unfold' && enableEffect,
292
- 'gp-animate-[fadeOut_0.2s_ease-out]': !open && mode !== 'edit'
293
- }),
294
- style: {
295
- ...wrapperStyle,
296
- ...displayStyle,
297
- ...borderStyle,
298
- ...core.makeStyleResponsive('w', w),
299
- ...heightStyle
300
- },
301
- children: [
302
- /*#__PURE__*/ jsxRuntime.jsx("button", {
303
- onClick: closeModal,
304
- tabIndex: -1,
305
- className: core.cls('gp-absolute gp-right-0 gp-top-0 gp-z-[999999] gp-inline-flex gp-items-center gp-justify-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none', {
306
- '-gp-translate-y-1/2 gp-translate-x-1/2 gp-shadow-md': closeButtonPosition === 'outside'
307
- }),
308
- style: {
309
- ...core.makeStyle({
310
- w: `${parseInt(btnSize.toString())}px`,
311
- h: `${parseInt(btnSize.toString())}px`
312
- }),
313
- ...core.getGlobalColorResponsiveStyle('c', {
314
- desktop: btnColor
315
- }),
316
- ...core.getGlobalColorResponsiveStyle('bgc', {
317
- desktop: btnBg
318
- }),
319
- ...core.composeRadius({
320
- normal: btnRounded
321
- })
322
- },
323
- children: /*#__PURE__*/ jsxRuntime.jsx("svg", {
324
- viewBox: "0 0 12 12",
325
- fill: "currentColor",
326
- style: {
327
- ...core.makeStyle({
328
- w: iconSize,
329
- h: iconSize
330
- })
331
- },
332
- children: /*#__PURE__*/ jsxRuntime.jsx("path", {
333
- d: "M7.1,6l4.5,4.5l-1.1,1.1L6,7.1l-4.5,4.5l-1.1-1.1L4.9,6L0.5,1.5l1.1-1.1L6,4.9l4.5-4.5l1.1,1.1L7.1,6z"
334
- })
335
- })
336
- }),
337
- /*#__PURE__*/ jsxRuntime.jsx("div", {
338
- style: {
339
- ...innerStyle,
340
- ...heightStyle
341
- },
342
- "aria-label": "Dialog body",
343
- className: core.cls('gp-h-full gp-w-full gp-overflow-y-auto gp-overflow-x-hidden', {
344
- 'gp-max-h-screen': position !== 'center',
345
- 'gp-max-h-[calc(100vh_-_192px)]': position === 'center' && !fullScreen?.desktop
346
- }),
347
- children: core.isEmptyChildren(children) ? /*#__PURE__*/ jsxRuntime.jsx(ChildrenDroppable.default, {}) : core.filterToolbarPreview(children)
348
- }),
349
- core.filterToolbarPreview(children, true)
350
- ]
351
- })
352
- ]
353
- })
354
- });
355
- };
356
-
357
- exports.default = Dialog;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),react=require("react"),common=require("../helpers/common.js"),useScrollPercentage=require("../hooks/use-scroll-percentage.js"),ChildrenDroppable=require("../../grid/components/ChildrenDroppable.js");const parseNumber=e=>{let t=parseFloat(e?.toString()??"0");return isNaN(t)?0:t},createDialogKey=(e="",t="")=>({id:`dialog:${e}:${t}`,time:`dialog:${e}:${t}:time`}),Dialog=({setting:e,children:t,builderProps:r,builderAttrs:s,style:a})=>{let{frequency:l=3,triggerPercentage:o=0,frequencyMode:i="once"}=e??{},{dialogId:c,trigger:n,triggerTime:u,name:p,mobileTrigger:d,mobileTriggerTime:m}=e??{},{fullScreen:g,width:b,height:f,position:h,effectType:j}=e??{},{btnBg:x,btnColor:y,btnSize:k,iconSize:v,closeButtonPosition:w,btnRounded:S}=e??{},{isOverlay:R,overlayColor:_,overlayOpacity:M,closeOnClickOutside:C}=e??{},N=react.useMemo(()=>createDialogKey(c??r?.uid,n),[r?.uid,c,n]),O=core.useModalStore(e=>e.activeId),D=core.useModalStore(e=>e.setModalActive),I=core.useModalStore(e=>e.clearModal),z=core.useEditorMode(),E=react.useRef(),L=react.useRef(null),$=react.useRef(null),q=react.useRef(!1),P=react.useRef(!1),[T,W]=react.useState(!1),G=useScrollPercentage.useScrollPercentage(),A=O===r?.uid,B="edit"===z?A:T,K=react.useCallback(()=>{localStorage.setItem(N.time,`${Date.now()}`),P.current=!0,W(!0)},[N.time]),F=react.useCallback(()=>{W(!1),D(),I()},[D,I]),U=react.useCallback(()=>{let e=localStorage.getItem(N.time);if(e)switch(i){case"once":break;case"after-period-time":{let t=common.isShowModal(e,l);t&&K();break}case"every":K()}else K()},[N.time,l,K,i]),H=react.useCallback(()=>{P.current||"edit"===z||"show-when-about-exit"!==n||U()},[U,z,n]);react.useEffect(()=>(document.addEventListener("mouseleave",H),()=>{document.removeEventListener("mouseleave",H)}),[H]),react.useEffect(()=>{if(!P.current&&common.isMobile(navigator.userAgent)&&"show-when-about-exit"===n&&"timer"===d)return E.current=setTimeout(()=>{U()},(m??0)*1e3),()=>{clearTimeout(E.current)}},[d,m,U,n]),react.useEffect(()=>{!q.current&&"show-after-scroll"===n&&G>=o&&(q.current=!0,U())},[G,o,U,n]);let J=react.useCallback(e=>{let t=e.target===$.current;C&&t&&"edit"!==z&&F()},[F,C,z]);react.useEffect(()=>{switch(n){case"show-on-page-load":U();break;case"show-after-time":E.current=setTimeout(()=>{U()},1e3*parseNumber(u))}return()=>{clearTimeout(E.current)}},[U,n,u]);let Q=core.makeWidth(b,g),V={...g?.desktop?core.makeStyle({h:"100%"}):f?.desktop?core.makeStyle({h:f.desktop}):core.makeStyle({minh:"300px"}),"--h-tablet":g?.tablet?"100%":f?.tablet,"--h-mobile":g?.mobile?"100%":f?.mobile},X=react.useMemo(()=>Object.keys(a??{}).filter(e=>["--d","--d-mobile","--d-tablet"].includes(e)).reduce((e,t)=>({...e,[t]:a?.[t]}),{}),[a]),Y=react.useMemo(()=>Object.keys(a??{}).filter(e=>["--bw","--bw-mobile","--bw-tablet","--bc","--b","--radius","--bblr","--bbrr","--btlr","--btrr"].includes(e)).reduce((e,t)=>({...e,[t]:a?.[t]}),{}),[a]),Z=react.useMemo(()=>Object.keys(a??{}).filter(e=>e.startsWith("--mt")||e.startsWith("--mb")||e.startsWith("--ml")||e.startsWith("--mr")).reduce((e,t)=>({...e,[t]:a?.[t]}),{}),[a]),ee=react.useMemo(()=>Object.keys(a??{}).filter(e=>!Object.keys(Z).includes(e)&&!Object.keys(X).includes(e)&&!Object.keys(Y).includes(e)).reduce((e,t)=>({...e,[t]:a?.[t]}),{}),[a,Z,X,Y]),et=react.useMemo(()=>Object.keys(a??{}).filter(e=>["--d","--d-mobile","--d-tablet"].includes(e)).reduce((e,t)=>({...e,[t.replace("--d","--pe")]:a?.[t]==="none"?"none":"auto"}),{}),[a]);return B?jsxRuntime.jsx("dialog",{ref:L,open:B,className:"gp-dialog gp-z-[999999] gp-bg-transparent","aria-label":p,style:X,children:jsxRuntime.jsxs("div",{"aria-label":"Backdrop",className:core.cls("gp-fixed gp-inset-0 gp-z-50 gp-flex gp-overflow-y-auto gp-overflow-x-hidden",{"gp-items-center gp-justify-center":"center"===h,"gp-items-start gp-justify-center":"top"===h,"gp-items-start gp-justify-end":"top-right"===h,"gp-items-start gp-justify-start":"top-left"===h,"gp-items-end gp-justify-center":"bottom"===h,"gp-items-center gp-justify-start":"left"===h,"gp-items-center gp-justify-end":"right"===h,"gp-items-end gp-justify-start":"bottom-left"===h,"gp-items-end gp-justify-end":"bottom-right"===h}),style:et,children:[R&&jsxRuntime.jsx("div",{ref:$,className:"gp-fixed gp-inset-0 gp-block gp-transition-all gp-duration-100",style:{...core.makeStyle({op:(M??0)/100}),...core.getGlobalColorResponsiveStyle("bgc",{desktop:_}),...X},onClick:J,"aria-hidden":!0}),jsxRuntime.jsx("span",{className:"gp-inline-block gp-h-screen gp-align-middle"}),jsxRuntime.jsxs("div",{...s,role:"dialog","aria-label":"Dialog content",className:core.cls("gp-relative gp-max-h-full gp-max-w-full gp-bg-white gp-shadow-xl",{"gp-animate-[fadeIn_0.4s_ease-in]":"fade"===j&&B,"gp-animate-[zoomIn_0.3s_ease-in]":"zoom"===j&&B,"gp-animate-[zoomOut_0.3s_ease-in]":"zoom-out"===j&&B,"gp-animate-[slideInLeft_0.3s_ease-in]":"horizontal"===j&&B,"gp-animate-[slideInUp_0.3s_ease-in]":"vertical"===j&&B,"gp-animate-[unfold_0.3s_ease-in-out]":"unfold"===j&&B,"gp-animate-[fadeOut_0.2s_ease-out]":!B&&"edit"!==z}),style:{...Z,...X,...Y,...core.makeStyleResponsive("w",Q),...V},children:[jsxRuntime.jsx("button",{onClick:F,tabIndex:-1,className:core.cls("gp-absolute gp-right-0 gp-top-0 gp-z-[999999] gp-inline-flex gp-items-center gp-justify-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none",{"-gp-translate-y-1/2 gp-translate-x-1/2 gp-shadow-md":"outside"===w}),style:{...core.makeStyle({w:`${parseInt(k.toString())}px`,h:`${parseInt(k.toString())}px`}),...core.getGlobalColorResponsiveStyle("c",{desktop:y}),...core.getGlobalColorResponsiveStyle("bgc",{desktop:x}),...core.composeRadius({normal:S})},children:jsxRuntime.jsx("svg",{viewBox:"0 0 12 12",fill:"currentColor",style:{...core.makeStyle({w:v,h:v})},children:jsxRuntime.jsx("path",{d:"M7.1,6l4.5,4.5l-1.1,1.1L6,7.1l-4.5,4.5l-1.1-1.1L4.9,6L0.5,1.5l1.1-1.1L6,4.9l4.5-4.5l1.1,1.1L7.1,6z"})})}),jsxRuntime.jsx("div",{style:{...ee,...V},"aria-label":"Dialog body",className:core.cls("gp-h-full gp-w-full gp-overflow-y-auto gp-overflow-x-hidden",{"gp-max-h-screen":"center"!==h,"gp-max-h-[calc(100vh_-_192px)]":"center"===h&&!g?.desktop}),children:core.isEmptyChildren(t)?jsxRuntime.jsx(ChildrenDroppable.default,{}):core.filterToolbarPreview(t)}),core.filterToolbarPreview(t,!0)]})]})}):null};exports.default=Dialog;
@@ -1,181 +1,50 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var core = require('@gem-sdk/core');
6
-
7
- const Dialog = ({ setting, children, builderProps, style, advanced })=>{
8
- const display = advanced?.d;
9
- const dStyle = {
10
- '--d': display?.desktop ? 'contents' : 'none',
11
- '--d-tablet': display?.tablet ? 'contents' : 'none',
12
- '--d-mobile': display?.mobile ? 'contents' : 'none'
13
- };
14
- const { name, frequency = 3, triggerPercentage = 0, trigger, triggerTime, frequencyMode = 'once' } = setting ?? {};
15
- const { fullScreen, width, height, position, effectType, closeOnClickOutside } = setting ?? {};
16
- const { btnBg, btnColor, btnSize, iconSize, closeButtonPosition, btnRounded } = setting ?? {};
17
- const { isOverlay, overlayColor, overlayOpacity, mobileTrigger, mobileTriggerTime } = setting ?? {};
18
- const w = core.makeWidth(width, fullScreen);
19
- const heightStyle = {
20
- ...fullScreen?.desktop ? core.makeStyle({
21
- h: '100%'
22
- }) : !height?.desktop ? core.makeStyle({
23
- minh: '300px'
24
- }) : core.makeStyle({
25
- h: height.desktop
26
- }),
27
- '--h-tablet': fullScreen?.tablet ? '100%' : height?.tablet,
28
- '--h-mobile': fullScreen?.mobile ? '100%' : height?.mobile
29
- };
30
- const displayStyle = Object.keys(style ?? {}).filter((key)=>[
31
- '--d',
32
- '--d-mobile',
33
- '--d-tablet'
34
- ].includes(key)).reduce((curr, key)=>({
35
- ...curr,
36
- [key]: style?.[key]
37
- }), {});
38
- const borderStyle = Object.keys(style ?? {}).filter((key)=>[
39
- '--bw',
40
- '--bw-mobile',
41
- '--bw-tablet',
42
- '--bc',
43
- '--b',
44
- '--radius',
45
- '--bblr',
46
- '--bbrr',
47
- '--btlr',
48
- '--btrr'
49
- ].includes(key)).reduce((curr, key)=>({
50
- ...curr,
51
- [key]: style?.[key]
52
- }), {});
53
- const wrapperStyle = Object.keys(style ?? {}).filter((key)=>key.startsWith('--mt') || key.startsWith('--mb') || key.startsWith('--ml') || key.startsWith('--mr')).reduce((curr, key)=>({
54
- ...curr,
55
- [key]: style?.[key]
56
- }), {});
57
- const innerStyle = Object.keys(style ?? {}).filter((key)=>!Object.keys(wrapperStyle).includes(key) && !Object.keys(displayStyle).includes(key) && !Object.keys(borderStyle).includes(key)).reduce((curr, key)=>({
58
- ...curr,
59
- [key]: style?.[key]
60
- }), {});
61
- const dialogId = setting?.dialogId ?? builderProps?.uid;
62
- return core.template /* liquid */ `
63
- <gp-dialog style="${dStyle}" data-gp-setting='${JSON.stringify({
64
- dialogId,
65
- trigger,
66
- triggerTime,
67
- frequency,
68
- triggerPercentage,
69
- mobileTrigger,
70
- mobileTriggerTime,
71
- closeOnClickOutside,
72
- frequencyMode,
73
- display
74
- })}'>
75
- <dialog class="gp-z-[999999] ${advanced?.cssClass} gp-dialog gp-bg-transparent" aria-label="${name}" data-gp-dialog-id="${dialogId}">
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core");const Dialog=({setting:e,children:t,builderProps:s,style:l,advanced:o})=>{let i=o?.d,a={"--d":i?.desktop?"contents":"none","--d-tablet":i?.tablet?"contents":"none","--d-mobile":i?.mobile?"contents":"none"},{name:r,frequency:p=3,triggerPercentage:g=0,trigger:n,triggerTime:d,frequencyMode:c="once"}=e??{},{fullScreen:b,width:m,height:u,position:f,effectType:y,closeOnClickOutside:h}=e??{},{btnBg:v,btnColor:k,btnSize:j,iconSize:x,closeButtonPosition:$,btnRounded:S}=e??{},{isOverlay:_,overlayColor:w,overlayOpacity:O,mobileTrigger:I,mobileTriggerTime:z}=e??{},R=core.makeWidth(m,b),L={...b?.desktop?core.makeStyle({h:"100%"}):u?.desktop?core.makeStyle({h:u.desktop}):core.makeStyle({minh:"300px"}),"--h-tablet":b?.tablet?"100%":u?.tablet,"--h-mobile":b?.mobile?"100%":u?.mobile},C=Object.keys(l??{}).filter(e=>["--d","--d-mobile","--d-tablet"].includes(e)).reduce((e,t)=>({...e,[t]:l?.[t]}),{}),E=Object.keys(l??{}).filter(e=>["--bw","--bw-mobile","--bw-tablet","--bc","--b","--radius","--bblr","--bbrr","--btlr","--btrr"].includes(e)).reduce((e,t)=>({...e,[t]:l?.[t]}),{}),G=Object.keys(l??{}).filter(e=>e.startsWith("--mt")||e.startsWith("--mb")||e.startsWith("--ml")||e.startsWith("--mr")).reduce((e,t)=>({...e,[t]:l?.[t]}),{}),W=Object.keys(l??{}).filter(e=>!Object.keys(G).includes(e)&&!Object.keys(C).includes(e)&&!Object.keys(E).includes(e)).reduce((e,t)=>({...e,[t]:l?.[t]}),{}),D=e?.dialogId??s?.uid;return core.template`
2
+ <gp-dialog style="${a}" data-gp-setting='${JSON.stringify({dialogId:D,trigger:n,triggerTime:d,frequency:p,triggerPercentage:g,mobileTrigger:I,mobileTriggerTime:z,closeOnClickOutside:h,frequencyMode:c,display:i})}'>
3
+ <dialog class="gp-z-[999999] ${o?.cssClass} gp-dialog gp-bg-transparent" aria-label="${r}" data-gp-dialog-id="${D}">
76
4
  <div
77
5
  aria-label="Backdrop"
78
- class="${core.cls('gp-fixed gp-inset-0 gp-z-50 gp-flex gp-overflow-y-auto gp-overflow-x-hidden', {
79
- 'gp-items-center gp-justify-center': position === 'center',
80
- 'gp-justify-center gp-items-start': position === 'top',
81
- 'gp-justify-end gp-items-start': position === 'top-right',
82
- 'gp-justify-start gp-items-start': position === 'top-left',
83
- 'gp-items-end gp-justify-center': position === 'bottom',
84
- 'gp-items-center gp-justify-start': position === 'left',
85
- 'gp-items-center gp-justify-end': position === 'right',
86
- 'gp-items-end gp-justify-start': position === 'bottom-left',
87
- 'gp-items-end gp-justify-end': position === 'bottom-right'
88
- })}"
6
+ class="${core.cls("gp-fixed gp-inset-0 gp-z-50 gp-flex gp-overflow-y-auto gp-overflow-x-hidden",{"gp-items-center gp-justify-center":"center"===f,"gp-justify-center gp-items-start":"top"===f,"gp-justify-end gp-items-start":"top-right"===f,"gp-justify-start gp-items-start":"top-left"===f,"gp-items-end gp-justify-center":"bottom"===f,"gp-items-center gp-justify-start":"left"===f,"gp-items-center gp-justify-end":"right"===f,"gp-items-end gp-justify-start":"bottom-left"===f,"gp-items-end gp-justify-end":"bottom-right"===f})}"
89
7
  >
90
- ${core.RenderIf(isOverlay, core.template /* liquid */ `
8
+ ${core.RenderIf(_,core.template`
91
9
  <div
92
10
  class="gp-fixed gp-inset-0 gp-block gp-transition-all gp-duration-100"
93
11
  data-gp-dialog-overlay
94
- style="${{
95
- ...core.makeStyle({
96
- op: (overlayOpacity ?? 0) / 100
97
- }),
98
- ...core.getGlobalColorResponsiveStyle('bgc', {
99
- desktop: overlayColor
100
- })
101
- }}"
12
+ style="${{...core.makeStyle({op:(O??0)/100}),...core.getGlobalColorResponsiveStyle("bgc",{desktop:w})}}"
102
13
  ></div>
103
14
  `)}
104
15
  <span class="gp-inline-block gp-h-screen gp-align-middle"></span>
105
16
  <div
106
17
  role="dialog"
107
18
  aria-label="Dialog content"
108
- class="${core.cls('gp-relative gp-max-h-full gp-max-w-full gp-bg-white gp-shadow-xl', {
109
- 'gp-animate-[fadeIn_0.4s_ease-in]': effectType === 'fade',
110
- 'gp-animate-[zoomIn_0.3s_ease-in]': effectType === 'zoom',
111
- 'gp-animate-[zoomOut_0.3s_ease-in]': effectType === 'zoom-out',
112
- 'gp-animate-[slideInLeft_0.3s_ease-in]': effectType === 'horizontal',
113
- 'gp-animate-[slideInUp_0.3s_ease-in]': effectType === 'vertical',
114
- 'gp-animate-[unfold_0.3s_ease-in-out]': effectType === 'unfold'
115
- })}"
116
- style="${{
117
- ...wrapperStyle,
118
- ...borderStyle,
119
- ...core.makeStyleResponsive('w', w),
120
- ...heightStyle
121
- }}"
19
+ class="${core.cls("gp-relative gp-max-h-full gp-max-w-full gp-bg-white gp-shadow-xl",{"gp-animate-[fadeIn_0.4s_ease-in]":"fade"===y,"gp-animate-[zoomIn_0.3s_ease-in]":"zoom"===y,"gp-animate-[zoomOut_0.3s_ease-in]":"zoom-out"===y,"gp-animate-[slideInLeft_0.3s_ease-in]":"horizontal"===y,"gp-animate-[slideInUp_0.3s_ease-in]":"vertical"===y,"gp-animate-[unfold_0.3s_ease-in-out]":"unfold"===y})}"
20
+ style="${{...G,...E,...core.makeStyleResponsive("w",R),...L}}"
122
21
  >
123
22
  <button
124
23
  type="button"
125
24
  data-gp-dialog-close
126
25
  tabindex="-1"
127
- class="${core.cls('gp-absolute gp-top-0 gp-right-0 gp-z-[999999] gp-inline-flex gp-items-center gp-justify-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none', {
128
- 'gp-translate-x-1/2 -gp-translate-y-1/2 gp-shadow-md': closeButtonPosition === 'outside'
129
- })}"
130
- style="${{
131
- ...core.makeStyle({
132
- w: `${parseInt(btnSize.toString())}px`,
133
- h: `${parseInt(btnSize.toString())}px`
134
- }),
135
- ...core.getGlobalColorResponsiveStyle('c', {
136
- desktop: btnColor
137
- }),
138
- ...core.getGlobalColorResponsiveStyle('bgc', {
139
- desktop: btnBg
140
- }),
141
- ...core.composeRadius({
142
- normal: btnRounded
143
- })
144
- }}"
26
+ class="${core.cls("gp-absolute gp-top-0 gp-right-0 gp-z-[999999] gp-inline-flex gp-items-center gp-justify-center gp-outline-none focus-visible:gp-shadow-none focus-visible:gp-outline-none",{"gp-translate-x-1/2 -gp-translate-y-1/2 gp-shadow-md":"outside"===$})}"
27
+ style="${{...core.makeStyle({w:`${parseInt(j.toString())}px`,h:`${parseInt(j.toString())}px`}),...core.getGlobalColorResponsiveStyle("c",{desktop:k}),...core.getGlobalColorResponsiveStyle("bgc",{desktop:v}),...core.composeRadius({normal:S})}}"
145
28
  >
146
29
  <svg
147
30
  viewBox="0 0 12 12"
148
31
  fill="currentColor"
149
- style="${{
150
- ...core.makeStyle({
151
- w: iconSize,
152
- h: iconSize
153
- })
154
- }}"
32
+ style="${{...core.makeStyle({w:x,h:x})}}"
155
33
  >
156
34
  <path d="M7.1,6l4.5,4.5l-1.1,1.1L6,7.1l-4.5,4.5l-1.1-1.1L4.9,6L0.5,1.5l1.1-1.1L6,4.9l4.5-4.5l1.1,1.1L7.1,6z"></path>
157
35
  </svg>
158
36
  </button>
159
37
  <div
160
- style="${{
161
- ...innerStyle,
162
- ...heightStyle
163
- }}"
38
+ style="${{...W,...L}}"
164
39
  aria-label="Dialog body"
165
- class="${core.cls('gp-h-full gp-w-full gp-overflow-y-auto gp-overflow-x-hidden', {
166
- 'gp-max-h-screen': position !== 'center',
167
- 'gp-max-h-[calc(100vh_-_192px)]': position === 'center' && !fullScreen?.desktop
168
- })}">
40
+ class="${core.cls("gp-h-full gp-w-full gp-overflow-y-auto gp-overflow-x-hidden",{"gp-max-h-screen":"center"!==f,"gp-max-h-[calc(100vh_-_192px)]":"center"===f&&!b?.desktop})}">
169
41
  <div>
170
- ${children ?? ''}
42
+ ${t??""}
171
43
  </div>
172
44
  </div>
173
45
  </div>
174
46
  </div>
175
47
  </dialog>
176
48
  </gp-dialog>
177
- ${core.RenderIf(core.isLocalEnv, `<script src="{{ 'gp-dialog.js' | asset_url }}" defer="defer"></script>`, `<script src="${core.baseAssetURL}/assets-v2/gp-dialog.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
178
- `;
179
- };
180
-
181
- exports.default = Dialog;
49
+ ${core.RenderIf(core.isLocalEnv,'<script src="{{ \'gp-dialog.js\' | asset_url }}" defer="defer"></script>',`<script src="${core.baseAssetURL}/assets-v2/gp-dialog.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
50
+ `};exports.default=Dialog;
@@ -1,19 +1 @@
1
- 'use strict';
2
-
3
- const isShowModal = (startDate, numberOfDay = 0)=>{
4
- const start = startDate ? new Date(Number(startDate)) : new Date();
5
- const c = Date.now() - start.getTime();
6
- // Diff by day
7
- const diff = Math.abs(c / 24 / 60 / 60 / 1000);
8
- return diff >= numberOfDay;
9
- };
10
- const isMobile = (userAgent)=>{
11
- if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(userAgent)) {
12
- return true;
13
- } else {
14
- return false;
15
- }
16
- };
17
-
18
- exports.isMobile = isMobile;
19
- exports.isShowModal = isShowModal;
1
+ "use strict";const isShowModal=(e,i=0)=>{let o=e?new Date(Number(e)):new Date,t=Date.now()-o.getTime(),s=Math.abs(t/24/60/60/1e3);return s>=i},isMobile=e=>!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e);exports.isMobile=isMobile,exports.isShowModal=isShowModal;
@@ -1,34 +1 @@
1
- 'use strict';
2
-
3
- var react = require('react');
4
-
5
- const useScrollPercentage = (isDisable)=>{
6
- const [percentage, setPercentage] = react.useState(0);
7
- const scrollHandle = react.useCallback((e)=>{
8
- if (isDisable) return;
9
- const total = document.documentElement.scrollHeight - document.documentElement.clientHeight;
10
- const scrollY = e.currentTarget.scrollY;
11
- try {
12
- react.startTransition(()=>{
13
- setPercentage(Math.ceil(scrollY / total * 100));
14
- });
15
- } catch {
16
- react.startTransition(()=>{
17
- setPercentage(0);
18
- });
19
- }
20
- }, [
21
- isDisable
22
- ]);
23
- react.useEffect(()=>{
24
- window.addEventListener('scroll', scrollHandle);
25
- return ()=>{
26
- window.removeEventListener('scroll', scrollHandle);
27
- };
28
- }, [
29
- scrollHandle
30
- ]);
31
- return percentage;
32
- };
33
-
34
- exports.useScrollPercentage = useScrollPercentage;
1
+ "use strict";var react=require("react");const useScrollPercentage=e=>{let[t,r]=react.useState(0),c=react.useCallback(t=>{if(e)return;let c=document.documentElement.scrollHeight-document.documentElement.clientHeight,n=t.currentTarget.scrollY;try{react.startTransition(()=>{r(Math.ceil(n/c*100))})}catch{react.startTransition(()=>{r(0)})}},[e]);return react.useEffect(()=>(window.addEventListener("scroll",c),()=>{window.removeEventListener("scroll",c)}),[c]),t};exports.useScrollPercentage=useScrollPercentage;
@@ -1,15 +1 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var dynamic = require('next/dynamic');
6
- var Loading = require('../common/components/Loading.js');
7
-
8
- const Dialog = dynamic(()=>Promise.resolve().then(function () { return require('./components/Dialog.js'); }), {
9
- loading: Loading.default
10
- });
11
- var dialog = {
12
- Dialog
13
- };
14
-
15
- exports.default = dialog;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var dynamic=require("next/dynamic"),Loading=require("../common/components/Loading.js");require("react/jsx-runtime");const Dialog=dynamic(()=>Promise.resolve().then(function(){return require("./components/Dialog.js")}),{loading:Loading.default});var dialog={Dialog};exports.default=dialog;