@gem-sdk/components 4.0.0-staging.1204 → 4.0.0-staging.1206

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 (330) hide show
  1. package/dist/cjs/builder.js +1 -1
  2. package/dist/cjs/carousel/components/arrow/common/classes.js +1 -1
  3. package/dist/cjs/carousel/components/arrow/common/helpers.js +1 -1
  4. package/dist/cjs/carousel/components/arrow/common/styles.js +11 -11
  5. package/dist/cjs/carousel/components/dot/common/helpers.js +1 -1
  6. package/dist/cjs/carousel/components/item/CarouselItem.js +1 -1
  7. package/dist/cjs/carousel/components/item/common/styles.js +1 -1
  8. package/dist/cjs/carousel/components/root/Carousel.js +1 -1
  9. package/dist/cjs/carousel/components/root/Carousel.liquid.js +6 -8
  10. package/dist/cjs/carousel/components/root/common/attrs.js +1 -1
  11. package/dist/cjs/carousel/components/root/common/classes.js +1 -1
  12. package/dist/cjs/carousel/components/root/common/styles.js +1 -1
  13. package/dist/cjs/carousel/hooks/useCarousel.js +1 -1
  14. package/dist/cjs/carousel/hooks/useDotsSetting.js +1 -1
  15. package/dist/cjs/carousel/index.js +1 -1
  16. package/dist/cjs/carousel/plugins/animation.js +1 -1
  17. package/dist/cjs/carousel/plugins/auto-play.js +1 -0
  18. package/dist/cjs/carousel/plugins/fix-slider-move-backward.js +1 -0
  19. package/dist/cjs/carousel/plugins/mutation.js +1 -0
  20. package/dist/cjs/carousel/settings/configs/presets.js +4 -4
  21. package/dist/cjs/carousel/settings/configs/settings-v2.js +1 -1
  22. package/dist/cjs/carousel-v3/common/helpers.js +1 -0
  23. package/dist/cjs/carousel-v3/components/arrow/Arrow.js +10 -0
  24. package/dist/cjs/carousel-v3/components/arrow/Arrow.liquid.js +26 -0
  25. package/dist/cjs/carousel-v3/components/arrow/common/classes.js +1 -0
  26. package/dist/cjs/carousel-v3/components/arrow/common/helpers.js +1 -0
  27. package/dist/cjs/carousel-v3/components/arrow/common/styles.js +33 -0
  28. package/dist/cjs/carousel-v3/components/dot/Dots.js +2 -0
  29. package/dist/cjs/carousel-v3/components/dot/Dots.liquid.js +7 -0
  30. package/dist/cjs/carousel-v3/components/dot/common/classes.js +1 -0
  31. package/dist/cjs/carousel-v3/components/dot/common/helpers.js +1 -0
  32. package/dist/cjs/carousel-v3/components/dot/common/styles.js +1 -0
  33. package/dist/cjs/carousel-v3/components/item/CarouselItem.js +2 -0
  34. package/dist/cjs/carousel-v3/components/item/CarouselItem.liquid.js +22 -0
  35. package/dist/cjs/carousel-v3/components/item/common/classes.js +1 -0
  36. package/dist/cjs/carousel-v3/components/item/common/styles.js +1 -0
  37. package/dist/cjs/carousel-v3/components/root/Carousel.js +2 -0
  38. package/dist/cjs/carousel-v3/components/root/Carousel.liquid.js +23 -0
  39. package/dist/cjs/carousel-v3/components/root/common/attrs.js +1 -0
  40. package/dist/cjs/carousel-v3/components/root/common/classes.js +1 -0
  41. package/dist/cjs/carousel-v3/components/root/common/helpers.js +1 -0
  42. package/dist/cjs/carousel-v3/components/root/common/styles.js +1 -0
  43. package/dist/cjs/carousel-v3/components/swiper/Swiper.js +1 -0
  44. package/dist/cjs/carousel-v3/hooks/useCarouseItem.js +1 -0
  45. package/dist/cjs/carousel-v3/hooks/useCarousel.js +1 -0
  46. package/dist/cjs/carousel-v3/hooks/useDotsSetting.js +1 -0
  47. package/dist/cjs/carousel-v3/hooks/useTrackPreviewPause.js +1 -0
  48. package/dist/cjs/carousel-v3/index.js +1 -0
  49. package/dist/cjs/{carousel → carousel-v3}/next.js +1 -1
  50. package/dist/cjs/carousel-v3/plugins/animation.js +1 -0
  51. package/dist/cjs/carousel-v3/settings/Carousel.js +5 -0
  52. package/dist/cjs/carousel-v3/settings/CarouselItem.js +1 -0
  53. package/dist/cjs/carousel-v3/settings/configs/presets.js +114 -0
  54. package/dist/cjs/carousel-v3/settings/configs/settings-v2.js +3 -0
  55. package/dist/cjs/carousel-v3/settings/configs/ui-v1.js +1 -0
  56. package/dist/cjs/carousel-v3/settings/configs/ui-v2.js +1 -0
  57. package/dist/cjs/grid/components/row/common/helpers.js +1 -1
  58. package/dist/cjs/index.js +1 -1
  59. package/dist/cjs/index.liquid.js +1 -1
  60. package/dist/cjs/marquee/hooks/useMarqueeScrollToItem.js +1 -1
  61. package/dist/cjs/marquee/settings/Marquee.js +1 -1
  62. package/dist/cjs/next.js +1 -1
  63. package/dist/cjs/product/components/product-images/ProductGalleryCarousel.js +1 -1
  64. package/dist/cjs/product/components/product-images/ProductGalleryCarousel.liquid.js +1 -1
  65. package/dist/cjs/product/components/product-images/ProductImagesLightBox.js +1 -1
  66. package/dist/cjs/product/components/product-images-v2/ProductImagesV2.liquid.js +6 -6
  67. package/dist/cjs/product/components/product-images-v2/common/attrs.js +1 -1
  68. package/dist/cjs/product/components/product-images-v2/common/classes.js +1 -1
  69. package/dist/cjs/product/components/product-images-v2/common/common.js +1 -1
  70. package/dist/cjs/product/components/product-images-v2/common/getBorderActiveCss.js +1 -5
  71. package/dist/cjs/product/components/product-images-v2/common/productFeaturedImage.js +1 -1
  72. package/dist/cjs/product/components/product-images-v2/common/productGallery.js +1 -1
  73. package/dist/cjs/product/components/product-images-v2/common/styles.js +1 -1
  74. package/dist/cjs/product/components/product-images-v2/components/child/ProductFeaturedImageCarousel.js +1 -1
  75. package/dist/cjs/product/components/product-images-v2/components/child/ProductGalleryGrid.js +2 -2
  76. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  77. package/dist/cjs/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +13 -13
  78. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  79. package/dist/cjs/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +7 -7
  80. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.js +1 -1
  81. package/dist/cjs/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +4 -4
  82. package/dist/cjs/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  83. package/dist/cjs/product/components/product-images-v2/hooks/useGalleryCarousel.js +1 -1
  84. package/dist/cjs/product/components/product-images-v2/hooks/useProductFeaturedImageCarousel.js +1 -1
  85. package/dist/cjs/product/components/product-images-v2/hooks/useProductGalleryGrid.js +1 -1
  86. package/dist/cjs/product/components/product-images-v3/ProductImageV3.js +26 -0
  87. package/dist/cjs/product/components/product-images-v3/ProductImagesV3.liquid.js +44 -0
  88. package/dist/cjs/product/components/product-images-v3/common/attrs.js +1 -0
  89. package/dist/cjs/product/components/product-images-v3/common/classes.js +1 -0
  90. package/dist/cjs/product/components/product-images-v3/common/common.js +1 -0
  91. package/dist/cjs/product/components/product-images-v3/common/getBorderActiveCss.js +20 -0
  92. package/dist/cjs/product/components/product-images-v3/common/hoverAction.js +1 -0
  93. package/dist/cjs/product/components/product-images-v3/common/productFeaturedImage.js +1 -0
  94. package/dist/cjs/product/components/product-images-v3/common/productGallery.js +1 -0
  95. package/dist/cjs/product/components/product-images-v3/common/styles.js +1 -0
  96. package/dist/cjs/product/components/product-images-v3/components/child/MediaIcon.js +2 -0
  97. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -0
  98. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageCarousel.js +1 -0
  99. package/dist/cjs/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +2 -0
  100. package/dist/cjs/product/components/product-images-v3/components/child/ProductGalleryGrid.js +2 -0
  101. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -0
  102. package/dist/cjs/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +118 -0
  103. package/dist/cjs/product/components/product-images-v3/components/feature-only/OnlyFeatureImage.js +2 -0
  104. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -0
  105. package/dist/cjs/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +46 -0
  106. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.js +2 -0
  107. package/dist/cjs/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +93 -0
  108. package/dist/cjs/product/components/product-images-v3/components/lightbox/ButtonOpenLightBox.js +2 -0
  109. package/dist/cjs/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +2 -0
  110. package/dist/cjs/product/components/product-images-v3/composables/getProductImagesAttr.js +1 -0
  111. package/dist/cjs/product/components/product-images-v3/composables/getProductImagesClassName.js +1 -0
  112. package/dist/cjs/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -0
  113. package/dist/cjs/product/components/product-images-v3/hooks/useFeatureImageWithGallery.js +1 -0
  114. package/dist/cjs/product/components/product-images-v3/hooks/useFilterImagesByVariant.js +1 -0
  115. package/dist/cjs/product/components/product-images-v3/hooks/useGalleryCarousel.js +1 -0
  116. package/dist/cjs/product/components/product-images-v3/hooks/useProductFeaturedImageCarousel.js +1 -0
  117. package/dist/cjs/product/components/product-images-v3/hooks/useProductGalleryGrid.js +1 -0
  118. package/dist/cjs/product/components/product-list/ProductListCarouselLayout.liquid.js +4 -4
  119. package/dist/cjs/product/components/product-list-v3/ProductList.js +1 -0
  120. package/dist/cjs/product/components/product-list-v3/ProductList.liquid.js +205 -0
  121. package/dist/cjs/product/components/product-list-v3/ProductListCarouselItem.liquid.js +15 -0
  122. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.js +1 -0
  123. package/dist/cjs/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +22 -0
  124. package/dist/cjs/product/components/product-list-v3/ProductListGridItem.liquid.js +19 -0
  125. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.js +1 -0
  126. package/dist/cjs/product/components/product-list-v3/ProductListGridLayout.liquid.js +34 -0
  127. package/dist/cjs/product/components/product-list-v3/common/attrs.js +1 -0
  128. package/dist/cjs/product/components/product-list-v3/common/classes.js +1 -0
  129. package/dist/cjs/product/components/product-list-v3/common/helpers.js +1 -0
  130. package/dist/cjs/product/components/product-list-v3/common/styles.js +1 -0
  131. package/dist/cjs/product/index.js +1 -1
  132. package/dist/cjs/product/next.js +1 -1
  133. package/dist/cjs/product/settings/ProductListV3.js +8 -0
  134. package/dist/cjs/product/settings/product/configs/product-presets/product-1-col.js +2 -2
  135. package/dist/cjs/product/settings/product/configs/product-presets/product-2-col.js +2 -2
  136. package/dist/cjs/product/settings/product/configs/product-presets/product-default.js +2 -2
  137. package/dist/cjs/product/settings/product-image-v2/ProductImages.js +2 -2
  138. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +1 -1
  139. package/dist/cjs/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +3 -2
  140. package/dist/cjs/product/settings/product-image-v2/configs/ui/FeatureNavigation.js +1 -1
  141. package/dist/cjs/product/settings/product-image-v2/configs/ui/ImageListNavigation.js +1 -1
  142. package/dist/cjs/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  143. package/dist/cjs/product/settings/product-image-v3/ProductFeatureImage.js +1 -0
  144. package/dist/cjs/product/settings/product-image-v3/ProductGalleryImage.js +1 -0
  145. package/dist/cjs/product/settings/product-image-v3/ProductImages.js +21 -0
  146. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -0
  147. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -0
  148. package/dist/cjs/product/settings/product-image-v3/configs/setting-v2/index.js +1 -0
  149. package/dist/cjs/product/settings/product-image-v3/configs/ui/FeatureDots.js +1 -0
  150. package/dist/cjs/product/settings/product-image-v3/configs/ui/FeatureNavigation.js +1 -0
  151. package/dist/cjs/product/settings/product-image-v3/configs/ui/ImageListNavigation.js +1 -0
  152. package/dist/cjs/product/settings/product-image-v3/configs/ui-v1.js +1 -0
  153. package/dist/cjs/product/settings/product-image-v3/configs/ui-v2.js +1 -0
  154. package/dist/cjs/product/settings/product-list/configs/presets.js +2 -2
  155. package/dist/cjs/product/settings/product-list/configs/settings-v2.js +1 -1
  156. package/dist/cjs/product/settings/product-list-v3/configs/presets.js +37 -0
  157. package/dist/cjs/product/settings/product-list-v3/configs/settings-v2.js +1 -0
  158. package/dist/cjs/product/settings/product-list-v3/configs/ui-v1.js +1 -0
  159. package/dist/cjs/product/settings/product-list-v3/configs/ui-v2.js +1 -0
  160. package/dist/cjs/setting.js +1 -1
  161. package/dist/cjs/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
  162. package/dist/esm/builder.js +1 -1
  163. package/dist/esm/carousel/components/arrow/common/classes.js +1 -1
  164. package/dist/esm/carousel/components/arrow/common/helpers.js +1 -1
  165. package/dist/esm/carousel/components/arrow/common/styles.js +8 -8
  166. package/dist/esm/carousel/components/dot/common/helpers.js +1 -1
  167. package/dist/esm/carousel/components/item/CarouselItem.js +1 -1
  168. package/dist/esm/carousel/components/item/common/styles.js +1 -1
  169. package/dist/esm/carousel/components/root/Carousel.js +1 -1
  170. package/dist/esm/carousel/components/root/Carousel.liquid.js +7 -9
  171. package/dist/esm/carousel/components/root/common/attrs.js +1 -1
  172. package/dist/esm/carousel/components/root/common/classes.js +1 -1
  173. package/dist/esm/carousel/components/root/common/styles.js +1 -1
  174. package/dist/esm/carousel/hooks/useCarousel.js +1 -1
  175. package/dist/esm/carousel/hooks/useDotsSetting.js +1 -1
  176. package/dist/esm/carousel/index.js +1 -1
  177. package/dist/esm/carousel/plugins/animation.js +1 -1
  178. package/dist/esm/carousel/plugins/auto-play.js +1 -0
  179. package/dist/esm/carousel/plugins/fix-slider-move-backward.js +1 -0
  180. package/dist/esm/carousel/plugins/mutation.js +1 -0
  181. package/dist/esm/carousel/settings/configs/presets.js +4 -4
  182. package/dist/esm/carousel/settings/configs/settings-v2.js +1 -1
  183. package/dist/esm/carousel-v3/common/helpers.js +1 -0
  184. package/dist/esm/carousel-v3/components/arrow/Arrow.js +10 -0
  185. package/dist/esm/carousel-v3/components/arrow/Arrow.liquid.js +26 -0
  186. package/dist/esm/carousel-v3/components/arrow/common/classes.js +1 -0
  187. package/dist/esm/carousel-v3/components/arrow/common/helpers.js +1 -0
  188. package/dist/esm/carousel-v3/components/arrow/common/styles.js +33 -0
  189. package/dist/esm/carousel-v3/components/dot/Dots.js +2 -0
  190. package/dist/esm/carousel-v3/components/dot/Dots.liquid.js +7 -0
  191. package/dist/esm/carousel-v3/components/dot/common/classes.js +1 -0
  192. package/dist/esm/carousel-v3/components/dot/common/helpers.js +1 -0
  193. package/dist/esm/carousel-v3/components/dot/common/styles.js +1 -0
  194. package/dist/esm/carousel-v3/components/item/CarouselItem.js +2 -0
  195. package/dist/esm/carousel-v3/components/item/CarouselItem.liquid.js +22 -0
  196. package/dist/esm/carousel-v3/components/item/common/classes.js +1 -0
  197. package/dist/esm/carousel-v3/components/item/common/styles.js +1 -0
  198. package/dist/esm/carousel-v3/components/root/Carousel.js +2 -0
  199. package/dist/esm/carousel-v3/components/root/Carousel.liquid.js +23 -0
  200. package/dist/esm/carousel-v3/components/root/common/attrs.js +1 -0
  201. package/dist/esm/carousel-v3/components/root/common/classes.js +1 -0
  202. package/dist/esm/carousel-v3/components/root/common/helpers.js +1 -0
  203. package/dist/esm/carousel-v3/components/root/common/styles.js +1 -0
  204. package/dist/esm/carousel-v3/components/swiper/Swiper.js +1 -0
  205. package/dist/esm/carousel-v3/hooks/useCarouseItem.js +1 -0
  206. package/dist/esm/carousel-v3/hooks/useCarousel.js +1 -0
  207. package/dist/esm/carousel-v3/hooks/useDotsSetting.js +1 -0
  208. package/dist/esm/carousel-v3/hooks/useTrackPreviewPause.js +1 -0
  209. package/dist/esm/carousel-v3/index.js +1 -0
  210. package/dist/esm/{carousel → carousel-v3}/next.js +1 -1
  211. package/dist/esm/carousel-v3/plugins/animation.js +1 -0
  212. package/dist/esm/carousel-v3/settings/Carousel.js +5 -0
  213. package/dist/esm/carousel-v3/settings/CarouselItem.js +1 -0
  214. package/dist/esm/carousel-v3/settings/configs/presets.js +114 -0
  215. package/dist/esm/carousel-v3/settings/configs/settings-v2.js +3 -0
  216. package/dist/esm/carousel-v3/settings/configs/ui-v1.js +1 -0
  217. package/dist/esm/carousel-v3/settings/configs/ui-v2.js +1 -0
  218. package/dist/esm/grid/components/row/common/helpers.js +1 -1
  219. package/dist/esm/index.js +1 -1
  220. package/dist/esm/index.liquid.js +1 -1
  221. package/dist/esm/marquee/hooks/useMarqueeScrollToItem.js +1 -1
  222. package/dist/esm/marquee/settings/Marquee.js +1 -1
  223. package/dist/esm/next.js +1 -1
  224. package/dist/esm/product/components/product-images/ProductGalleryCarousel.js +1 -1
  225. package/dist/esm/product/components/product-images/ProductGalleryCarousel.liquid.js +1 -1
  226. package/dist/esm/product/components/product-images/ProductImagesLightBox.js +1 -1
  227. package/dist/esm/product/components/product-images-v2/ProductImagesV2.liquid.js +8 -8
  228. package/dist/esm/product/components/product-images-v2/common/attrs.js +1 -1
  229. package/dist/esm/product/components/product-images-v2/common/classes.js +1 -1
  230. package/dist/esm/product/components/product-images-v2/common/common.js +1 -1
  231. package/dist/esm/product/components/product-images-v2/common/getBorderActiveCss.js +2 -6
  232. package/dist/esm/product/components/product-images-v2/common/productFeaturedImage.js +1 -1
  233. package/dist/esm/product/components/product-images-v2/common/productGallery.js +1 -1
  234. package/dist/esm/product/components/product-images-v2/common/styles.js +1 -1
  235. package/dist/esm/product/components/product-images-v2/components/child/ProductFeaturedImageCarousel.js +1 -1
  236. package/dist/esm/product/components/product-images-v2/components/child/ProductGalleryGrid.js +2 -2
  237. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.js +1 -1
  238. package/dist/esm/product/components/product-images-v2/components/feature-gallery/FeatureImageWithGallery.liquid.js +48 -48
  239. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.js +1 -1
  240. package/dist/esm/product/components/product-images-v2/components/gallery-carousel/GalleryCarousel.liquid.js +14 -14
  241. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.js +1 -1
  242. package/dist/esm/product/components/product-images-v2/components/gallery-grid/GalleryGrid.liquid.js +11 -11
  243. package/dist/esm/product/components/product-images-v2/components/lightbox/ProductImagesLightBox.js +1 -1
  244. package/dist/esm/product/components/product-images-v2/hooks/useGalleryCarousel.js +1 -1
  245. package/dist/esm/product/components/product-images-v2/hooks/useProductFeaturedImageCarousel.js +1 -1
  246. package/dist/esm/product/components/product-images-v2/hooks/useProductGalleryGrid.js +1 -1
  247. package/dist/esm/product/components/product-images-v3/ProductImageV3.js +26 -0
  248. package/dist/esm/product/components/product-images-v3/ProductImagesV3.liquid.js +44 -0
  249. package/dist/esm/product/components/product-images-v3/common/attrs.js +1 -0
  250. package/dist/esm/product/components/product-images-v3/common/classes.js +1 -0
  251. package/dist/esm/product/components/product-images-v3/common/common.js +1 -0
  252. package/dist/esm/product/components/product-images-v3/common/getBorderActiveCss.js +20 -0
  253. package/dist/esm/product/components/product-images-v3/common/hoverAction.js +1 -0
  254. package/dist/esm/product/components/product-images-v3/common/productFeaturedImage.js +1 -0
  255. package/dist/esm/product/components/product-images-v3/common/productGallery.js +1 -0
  256. package/dist/esm/product/components/product-images-v3/common/styles.js +1 -0
  257. package/dist/esm/product/components/product-images-v3/components/child/MediaIcon.js +2 -0
  258. package/dist/esm/product/components/product-images-v3/components/child/ProductFeatureVideo.js +1 -0
  259. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageCarousel.js +1 -0
  260. package/dist/esm/product/components/product-images-v3/components/child/ProductFeaturedImageOnly.js +2 -0
  261. package/dist/esm/product/components/product-images-v3/components/child/ProductGalleryGrid.js +2 -0
  262. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.js +1 -0
  263. package/dist/esm/product/components/product-images-v3/components/feature-gallery/FeatureImageWithGallery.liquid.js +118 -0
  264. package/dist/esm/product/components/product-images-v3/components/feature-only/OnlyFeatureImage.js +2 -0
  265. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.js +1 -0
  266. package/dist/esm/product/components/product-images-v3/components/gallery-carousel/GalleryCarousel.liquid.js +46 -0
  267. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.js +2 -0
  268. package/dist/esm/product/components/product-images-v3/components/gallery-grid/GalleryGrid.liquid.js +93 -0
  269. package/dist/esm/product/components/product-images-v3/components/lightbox/ButtonOpenLightBox.js +2 -0
  270. package/dist/esm/product/components/product-images-v3/components/lightbox/ProductImagesLightBox.js +2 -0
  271. package/dist/esm/product/components/product-images-v3/composables/getProductImagesAttr.js +1 -0
  272. package/dist/esm/product/components/product-images-v3/composables/getProductImagesClassName.js +1 -0
  273. package/dist/esm/product/components/product-images-v3/composables/getProductImagesStyles.js +1 -0
  274. package/dist/esm/product/components/product-images-v3/hooks/useFeatureImageWithGallery.js +1 -0
  275. package/dist/esm/product/components/product-images-v3/hooks/useFilterImagesByVariant.js +1 -0
  276. package/dist/esm/product/components/product-images-v3/hooks/useGalleryCarousel.js +1 -0
  277. package/dist/esm/product/components/product-images-v3/hooks/useProductFeaturedImageCarousel.js +1 -0
  278. package/dist/esm/product/components/product-images-v3/hooks/useProductGalleryGrid.js +1 -0
  279. package/dist/esm/product/components/product-list/ProductListCarouselLayout.liquid.js +6 -6
  280. package/dist/esm/product/components/product-list-v3/ProductList.js +1 -0
  281. package/dist/esm/product/components/product-list-v3/ProductList.liquid.js +205 -0
  282. package/dist/esm/product/components/product-list-v3/ProductListCarouselItem.liquid.js +15 -0
  283. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.js +1 -0
  284. package/dist/esm/product/components/product-list-v3/ProductListCarouselLayout.liquid.js +22 -0
  285. package/dist/esm/product/components/product-list-v3/ProductListGridItem.liquid.js +19 -0
  286. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.js +1 -0
  287. package/dist/esm/product/components/product-list-v3/ProductListGridLayout.liquid.js +34 -0
  288. package/dist/esm/product/components/product-list-v3/common/attrs.js +1 -0
  289. package/dist/esm/product/components/product-list-v3/common/classes.js +1 -0
  290. package/dist/esm/product/components/product-list-v3/common/helpers.js +1 -0
  291. package/dist/esm/product/components/product-list-v3/common/styles.js +1 -0
  292. package/dist/esm/product/index.js +1 -1
  293. package/dist/esm/product/next.js +1 -1
  294. package/dist/esm/product/settings/ProductListV3.js +8 -0
  295. package/dist/esm/product/settings/product/configs/product-presets/product-1-col.js +2 -2
  296. package/dist/esm/product/settings/product/configs/product-presets/product-2-col.js +2 -2
  297. package/dist/esm/product/settings/product/configs/product-presets/product-default.js +2 -2
  298. package/dist/esm/product/settings/product-image-v2/ProductImages.js +2 -2
  299. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductFeatureImage.js +1 -1
  300. package/dist/esm/product/settings/product-image-v2/configs/setting-v2/ProductGalleryImage.js +3 -2
  301. package/dist/esm/product/settings/product-image-v2/configs/ui/FeatureNavigation.js +1 -1
  302. package/dist/esm/product/settings/product-image-v2/configs/ui/ImageListNavigation.js +1 -1
  303. package/dist/esm/product/settings/product-image-v2/configs/ui-v2.js +1 -1
  304. package/dist/esm/product/settings/product-image-v3/ProductFeatureImage.js +1 -0
  305. package/dist/esm/product/settings/product-image-v3/ProductGalleryImage.js +1 -0
  306. package/dist/esm/product/settings/product-image-v3/ProductImages.js +21 -0
  307. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductFeatureImage.js +2 -0
  308. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/ProductGalleryImage.js +2 -0
  309. package/dist/esm/product/settings/product-image-v3/configs/setting-v2/index.js +1 -0
  310. package/dist/esm/product/settings/product-image-v3/configs/ui/FeatureDots.js +1 -0
  311. package/dist/esm/product/settings/product-image-v3/configs/ui/FeatureNavigation.js +1 -0
  312. package/dist/esm/product/settings/product-image-v3/configs/ui/ImageListNavigation.js +1 -0
  313. package/dist/esm/product/settings/product-image-v3/configs/ui-v1.js +1 -0
  314. package/dist/esm/product/settings/product-image-v3/configs/ui-v2.js +1 -0
  315. package/dist/esm/product/settings/product-list/configs/presets.js +2 -2
  316. package/dist/esm/product/settings/product-list/configs/settings-v2.js +1 -1
  317. package/dist/esm/product/settings/product-list-v3/configs/presets.js +37 -0
  318. package/dist/esm/product/settings/product-list-v3/configs/settings-v2.js +1 -0
  319. package/dist/esm/product/settings/product-list-v3/configs/ui-v1.js +1 -0
  320. package/dist/esm/product/settings/product-list-v3/configs/ui-v2.js +1 -0
  321. package/dist/esm/setting.js +1 -1
  322. package/dist/esm/third-party/settings/KoalaBundleQuantityDiscount/index.js +1 -1
  323. package/dist/types/index.d.ts +476 -74
  324. package/package.json +3 -3
  325. package/dist/cjs/carousel/components/swiper/Swiper.js +0 -1
  326. package/dist/esm/carousel/components/swiper/Swiper.js +0 -1
  327. /package/dist/cjs/{carousel → carousel-v3}/components/swiper/SwiperSlide.js +0 -0
  328. /package/dist/cjs/{carousel → carousel-v3}/components/swiper/common/styles.js +0 -0
  329. /package/dist/esm/{carousel → carousel-v3}/components/swiper/SwiperSlide.js +0 -0
  330. /package/dist/esm/{carousel → carousel-v3}/components/swiper/common/styles.js +0 -0
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import p from"./third-party/components/AppstleBundlesDiscounts.js";import s from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import f from"./third-party/components/ProductReviews.js";import u from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import b from"./third-party/components/ParcelPanel.js";import S from"./third-party/components/TrustMe.js";import C from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import k from"./third-party/components/WideBundle.js";import I from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import R from"./third-party/components/Stamped.js";import x from"./third-party/components/Bundler.js";import D from"./third-party/components/LaiProductReviews.js";import L from"./third-party/components/Growave.js";import F from"./third-party/components/KachingBundles.js";import O from"./third-party/components/Opinew.js";import V from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import q from"./third-party/components/CleanSizeCharts.js";import G from"./third-party/components/Bogos.js";import K from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import op from"./third-party/components/SubifySubscriptionsApp.js";import os from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import of from"./third-party/components/UnlimitedBundlesDiscounts.js";import ou from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import ob from"./third-party/components/MaxbundleProductBundles.js";import oS from"./third-party/components/PreorderNowWodPresale.js";import oC from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import ok from"./third-party/components/TagembedSocialPostReview.js";import oI from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oR from"./third-party/components/RapiBundleQuantityBreaks.js";import ox from"./third-party/components/AppointmentBookingCowlendar.js";import oD from"./third-party/components/SproutPlantTreesGrowSales.js";import oL from"./third-party/components/InstasellShoppableInstagram.js";import oF from"./third-party/components/WishlistPlus.js";import oO from"./third-party/components/LoloyalLoyaltyReferrals.js";import oV from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oq from"./third-party/components/BestBuyFulfillment.js";import oG from"./third-party/components/AftershipEmailMarketingsms.js";import oK from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o2 from"./third-party/components/OkendoReviewsLoyalty.js";import o0 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o1 from"./third-party/components/HextomCountdownTimerBar.js";import o3 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import tp from"./article/components/ArticleList.js";import ts from"./article/components/ArticleTitle.js";import tn from"./article/components/ArticleExcerpt.js";import te from"./article/components/ArticleContent.js";import ti from"./article/components/ArticleImage.js";import tc from"./article/components/ArticlePagination.js";import ta from"./article/components/ArticleAuthor.js";import td from"./article/components/ArticleTag.js";import tf from"./article/components/ArticleCategory.js";import tu from"./article/components/ArticleDate.js";import tj from"./article/components/ArticleReadMore.js";import tl from"./hero-banner/components/HeroBanner.js";import th from"./breadcrumb/components/Breadcrumb.js";import ty from"./button/components/Button.js";import tP from"./carousel/components/root/Carousel.js";import tg from"./carousel/components/item/CarouselItem.js";import tB from"./cart/components/Cart.js";import tb from"./cart/components/CartList.js";import tS from"./cart/components/CartLinePrice.js";import tC from"./cart/components/CartLineVariant.js";import tw from"./cart/components/CartLineImage.js";import tv from"./cart/components/CartTotalPrice.js";import tk from"./cart/components/CartTotalItem.js";import tI from"./cart/components/CartCheckout.js";import tT from"./cart/components/DiscountInput.js";import tA from"./cart/components/CartDiscount.js";import tR from"./cart/components/CartOrderNote.js";import tx from"./cart/components/CartLineAttribute.js";import tD from"./cart/components/CouponList.js";import tL from"./cart/components/shop-pay-button/ShopPayButton.js";import tF from"./cart/components/CheckoutNow.js";import tO from"./code/components/CSSCode.js";import tV from"./collection/components/collection-title/CollectionTitle.js";import tM from"./collection/components/collection-banner/CollectionBanner.js";import tE from"./collection/components/collection-description/CollectionDescription.js";import tH from"./collection/components/collection-toolbar/CollectionToolbar.js";import tU from"./collection/components/collection-paginator/CollectionPaginator.js";import tz from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tq from"./coupon/components/Coupon.js";import tG from"./dialog/components/Dialog.js";import tK from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tQ from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tN from"./grid/components/root/Root.js";import tW from"./grid/components/section/Section.js";import tY from"./grid/components/row/Row.js";import tJ from"./grid/components/col/Col.js";import tX from"./form/components/newsletter/Newsletter.js";import tZ from"./form/components/contact/Contact.js";import t$ from"./form/components/form-email/FormEmail.js";import t_ from"./form/components/submit-button/SubmitButton.js";import t2 from"./form/components/form-dropdown/FormDropdown.js";import t0 from"./form/components/textfield/TextField.js";import t1 from"./form/components/textarea/TextArea.js";import t3 from"./form/components/form-checkbox/FormCheckbox.js";import t4 from"./form/components/textinput/TextInput.js";import t5 from"./header/components/Header.js";import t6 from"./header/components/kind/basic/index.js";import t7 from"./header/components/kind/modern/index.js";import t8 from"./header/components/kind/basic/MobileMenu.js";import t9 from"./header/components/kind/basic/DesktopMenu.js";import ro from"./heading/components/Heading.js";import rt from"./icon/components/Icon.js";import rr from"./icon-list/components/IconList.js";import rm from"./icon-list/components/IconListItem.js";import rp from"./icon-list-hoz/components/IconListHoz.js";import rs from"./icon-list-hoz/components/IconListHozItem.js";import rn from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import re from"./image/components/Image.js";import ri from"./image-comparison/components/ImageComparison.js";import rc from"./image-detection/components/ImageDetection.js";import ra from"./input/components/Input.js";import rd from"./line/components/Line.js";import rf from"./marquee/components/Marquee.js";import ru from"./marquee/components/MarqueeItem.js";import rj from"./menu/components/Menu.js";import"./modal/components/confirm.js";import rl from"./modal/components/Modal.js";import rh from"./pagination/components/Pagination.js";import ry from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rP from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rg from"./post-purchase/button/components/Button.js";import rB from"./post-purchase/callout-banner/components/CalloutBox.js";import rb from"./post-purchase/callout-banner/components/CalloutText.js";import rS from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rC from"./post-purchase/image/components/Image.js";import rw from"./post-purchase/line/components/PostPurchaseLine.js";import rv from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rk}from"./post-purchase/text/index.js";import rI from"./post-purchase/product/components/ProductTitle.js";import rT from"./post-purchase/product/components/ProductDescription.js";import rA from"./post-purchase/product/components/ProductPrice.js";import rR from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rx from"./post-purchase/product/components/AcceptButton.js";import rD from"./post-purchase/product/components/ProductQuantity.js";import rL from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rF from"./post-purchase/product/components/ProductPriceBreakdown.js";import rO from"./post-purchase/product/components/ProductDiscountTag.js";import rV from"./post-purchase/product/components/product-image/index.js";import rM from"./product/components/product-wrap/Product.js";import rE from"./product/components/product-title/ProductTitle.js";import rH from"./product/components/product-quantity/ProductQuantity.js";import rU from"./product/components/product-description/ProductDescription.js";import rz from"./product/components/product-price/ProductPrice.js";import rq from"./product/components/product-button/ProductButton.js";import rG from"./product/components/product-variants/ProductVariants.js";import rK from"./product/components/ProductImages.js";import rQ from"./product/components/product-images-v2/ProductImageV2.js";import rN from"./product/components/product-properties/ProductProperties.js";import rW from"./product/components/product-quick-view/QuickView.js";import rY from"./product/components/product-discount-tag/ProductDiscountTag.js";import rJ from"./product/components/product-list/ProductList.js";import rX from"./product/components/dynamic-checkout/DynamicCheckout.js";import rZ from"./product/components/product-bundle/ProductBundleDiscount.js";import r$ from"./product/components/product-vendor/Vendor.js";import r_ from"./product/components/product-sku/Sku.js";import r2 from"./product/components/product-view-more/ProductViewMore.js";import r0 from"./product/components/product-badge/ProductBadge.js";import r1 from"./product/components/file-upload/UploadFile.js";import r3 from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r4 from"./radio/components/Radio.js";import r5 from"./select/components/Select.js";import"./select/settings/configs/settings.js";import r6 from"./tab/components/Tabs.js";import r7 from"./tab/components/TabItem.js";import r8 from"./text/components/Text.js";import r9 from"./textarea/components/Textarea.js";import mo from"./video/components/Video.js";import mt from"./third-party-slot/components/ThirdPartySlot.js";import mr from"./shop-pay-installment/components/ShopPayInstallments.js";import mm from"./third-party-instant/components/InstantJudgemeReviews.js";import mp from"./third-party-instant/components/InstantLooxReviews.js";import ms from"./third-party-instant/components/InstantKlaviyo.js";import mn from"./third-party-instant/components/InstantYotpoLoyalty.js";import me from"./stock-counter/components/StockCounter.js";import mi from"./sticky/components/Sticky.js";import mc from"./post-purchase/text/components/Text.js";var builder={BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:s,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:p,Accordion:o,AccordionItem:t,ArticleList:tp,ArticleTitle:ts,ArticleExcerpt:tn,ArticleContent:te,ArticleImage:ti,ArticlePagination:tc,ArticleAuthor:ta,ArticleTag:td,ArticleCategory:tf,ArticleDate:tu,ArticleReadMore:tj,HeroBanner:tl,Breadcrumb:th,Button:ty,Carousel:tP,CarouselItem:tg,Cart:tB,CartList:tb,CartLinePrice:tS,CartLineVariant:tC,CartLineImage:tw,CartTotalPrice:tv,CartTotalItem:tk,CartCheckout:tI,DiscountInput:tT,CartDiscount:tA,CartOrderNote:tR,CartLineAttribute:tx,CouponList:tD,ShopPayButton:tL,CheckoutNow:tF,CSSCode:tO,CollectionTitle:tV,CollectionDescription:tE,CollectionBanner:tM,CollectionToolbar:tH,CollectionPaginator:tU,Countdown:tz,Coupon:tq,Dialog:tG,EstimateDate:tK,Newsletter:tX,ContactForm:tZ,FormEmail:t$,SubmitButton:t_,TextField:t0,TextInput:t4,FormTextarea:t1,FormDropdown:t2,FormCheckbox:t3,Root:tN,Section:tW,Row:tY,Col:tJ,Header:t5,BasicHeader:t6,ModernHeader:t7,MobileMenu:t8,DesktopMenu:t9,Heading:ro,Icon:rt,IconList:rr,IconListItem:rm,IconListHoz:rp,IconListItemHoz:rs,IconListV2:rn,Image:re,ImageComparison:ri,ImageDetection:rc,Input:ra,Line:rd,Link:tQ,Marquee:rf,MarqueeItem:ru,Menu:rj,Modal:rl,Pagination:rh,PostPurchaseAdvancedList:ry,PostPurchaseAdvancedListItem:rP,PostPurchaseAcceptButton:rx,PostPurchaseButton:rg,PostPurchaseCalloutBox:rB,PostPurchaseCalloutText:rb,PostPurchaseCountdownTimer:rS,PostPurchaseImage:rC,PostPurchaseLine:rw,PostPurchaseLink:rv,PostPurchaseHeading:rk,PostPurchaseText:mc,PostPurchaseProductTitle:rI,PostPurchaseProductDescription:rT,PostPurchaseProductPrice:rA,PostPurchaseProductVariants:rR,PostPurchaseProductQuantity:rD,PostPurchaseProductPriceBreakdown:rF,PostPurchaseProductOffer:rL,PostPurchaseProductDiscountTag:rO,PostPurchaseProductImages:rV,EstimatedDeliveryDatePlus:o0,OkendoReviewsLoyalty:o2,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oK,AftershipEmailMarketingsms:oG,BestBuyFulfillment:oq,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oV,LoloyalLoyaltyReferrals:oO,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oF,InstasellShoppableInstagram:oL,SproutPlantTreesGrowSales:oD,RapiBundleQuantityBreaks:oR,AppointmentBookingCowlendar:ox,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:oI,TagembedSocialPostReview:ok,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oC,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:oS,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:ob,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:ou,UnlimitedBundlesDiscounts:of,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:os,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:op,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rM,ProductTitle:rE,ProductQuantity:rH,ProductPrice:rz,ProductSku:r_,FileUpload:r1,ProductBundleDiscount:rZ,ProductBundleDiscountItem:r3,ProductButton:rq,ProductDescription:rU,ProductVariants:rG,ProductImages:rK,ProductImagesV2:rQ,ProductProperties:rN,ProductQuickView:rW,ProductTag:rY,ProductList:rJ,Radio:r4,Select:r5,Tabs:r6,TabItem:r7,Text:r8,Textarea:r9,Video:mo,PushOwl:K,ThirdPartySlot:mt,ShopPayInstallments:mr,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:f,Ryviu:u,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:b,TrustMe:S,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:L,KachingBundles:F,Bogos:G,Opinew:O,UltimateSalesBoost:V,FirePush:U,FrequentlyBoughtTogether:C,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:k,PickyStory:I,InfiniteOptions:T,Wiser:A,Stamped:R,Bundler:x,LaiProductReviews:D,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:q,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:mm,InstantLooxReviews:mp,InstantKlaviyo:ms,InstantYotpoLoyalty:mn,Releasit:N,BirdChime:X,StockCounter:me,DynamicCheckout:rX,Sticky:mi,ProductVendor:r$,KingProductOptions:W,ProductViewMore:r2,ProductBadge:r0,HextomCountdownTimerBar:o1,TrustBadgesBear:o3,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
2
+ import o from"./accordion/components/Accordion.js";import t from"./accordion/components/AccordionItem.js";import"./accordion/settings/configs/settings.js";import r from"./third-party/components/RechargeSubscriptions.js";import m from"./third-party/components/EcomsendBackInStockAlert.js";import s from"./third-party/components/AppstleBundlesDiscounts.js";import p from"./third-party/components/AovFreeGiftBuyXGetYBogo.js";import n from"./third-party/components/JudgemeReviews.js";import e from"./third-party/components/LooxReviews.js";import i from"./third-party/components/Klaviyo.js";import c from"./third-party/components/YotpoLoyalty.js";import a from"./third-party/components/SmartSearchBarAndFilters.js";import d from"./third-party/components/Instafeed.js";import u from"./third-party/components/ProductReviews.js";import f from"./third-party/components/Ryviu.js";import j from"./third-party/components/Rivyo.js";import l from"./third-party/components/Vitals.js";import h from"./third-party/components/Omnisend.js";import y from"./third-party/components/Trustoo.js";import P from"./third-party/components/SealSubscriptions.js";import g from"./third-party/components/AppstleSubscriptions.js";import B from"./third-party/components/FeraReviews.js";import C from"./third-party/components/ParcelPanel.js";import b from"./third-party/components/TrustMe.js";import S from"./third-party/components/FrequentlyBoughtTogether.js";import w from"./third-party/components/BoldSubscriptions.js";import v from"./third-party/components/BoldProductOptions.js";import I from"./third-party/components/WideBundle.js";import k from"./third-party/components/PickyStory.js";import T from"./third-party/components/InfiniteOptions.js";import A from"./third-party/components/Wiser.js";import L from"./third-party/components/Stamped.js";import R from"./third-party/components/Bundler.js";import x from"./third-party/components/LaiProductReviews.js";import D from"./third-party/components/Growave.js";import V from"./third-party/components/KachingBundles.js";import F from"./third-party/components/Opinew.js";import O from"./third-party/components/UltimateSalesBoost.js";import M from"./third-party/components/CrossSellCartUpsell.js";import E from"./third-party/components/BoostAISearchDiscovery.js";import H from"./third-party/components/YotpoReviews.js";import U from"./third-party/components/FirePush.js";import z from"./third-party/components/AliReviews.js";import q from"./third-party/components/CleanSizeCharts.js";import G from"./third-party/components/Bogos.js";import K from"./third-party/components/PushOwl.js";import Q from"./third-party/components/QikifyUpsell.js";import N from"./third-party/components/Releasit.js";import W from"./third-party/components/KingProductOptions.js";import Y from"./third-party/components/EasySellCOD.js";import J from"./third-party/components/RequestQuoteHidePrice.js";import X from"./third-party/components/BirdChime.js";import Z from"./third-party/components/KlarnaMessaging.js";import $ from"./third-party/components/FordeerProductLabels.js";import _ from"./third-party/components/EasifyProductOptions.js";import oo from"./third-party/components/CustomProductOptionsVariant.js";import ot from"./third-party/components/ShopifySubscriptions.js";import or from"./third-party/components/BonLoyaltyRewardsReferrals.js";import om from"./third-party/components/RecurpaySubscriptionApp.js";import os from"./third-party/components/SubifySubscriptionsApp.js";import op from"./third-party/components/Selleasy.js";import on from"./third-party/components/LoopSubscriptions.js";import oe from"./third-party/components/SkioSubscriptionsYcS20.js";import oi from"./third-party/components/ShopifyForms.js";import oc from"./third-party/components/NotifyBackInStockPreOrder.js";import oa from"./third-party/components/ReviewxpoProductReviewsApp.js";import od from"./third-party/components/PumperBundlesVolumeDiscount.js";import ou from"./third-party/components/UnlimitedBundlesDiscounts.js";import of from"./third-party/components/KiteFreeGiftDiscount.js";import oj from"./third-party/components/FastBundleBundlesDiscounts.js";import ol from"./third-party/components/SimpleBundlesKits.js";import oh from"./third-party/components/EasyBundleBuilderSkailama.js";import oy from"./third-party/components/KoalaBundleQuantityDiscount.js";import oP from"./third-party/components/PreorderNowPreOrderPq.js";import og from"./third-party/components/FlyBundlesUpsellsFbt.js";import oB from"./third-party/components/JunipProductReviewsUgc.js";import oC from"./third-party/components/MaxbundleProductBundles.js";import ob from"./third-party/components/PreorderNowWodPresale.js";import oS from"./third-party/components/TagshopShoppableVideosUgc.js";import ow from"./third-party/components/WhatmoreShoppableVideosreel.js";import ov from"./third-party/components/ProductOptionsCustomizer.js";import oI from"./third-party/components/TagembedSocialPostReview.js";import ok from"./third-party/components/AirProductReviewsAppUgc.js";import oT from"./third-party/components/MbcBundleVolumeDiscount.js";import oA from"./third-party/components/GoogleReviewsByReputon.js";import oL from"./third-party/components/RapiBundleQuantityBreaks.js";import oR from"./third-party/components/AppointmentBookingCowlendar.js";import ox from"./third-party/components/SproutPlantTreesGrowSales.js";import oD from"./third-party/components/InstasellShoppableInstagram.js";import oV from"./third-party/components/WishlistPlus.js";import oF from"./third-party/components/LoloyalLoyaltyReferrals.js";import oO from"./third-party/components/HulkFormBuilder.js";import oM from"./third-party/components/PowerfulContactFormBuilder.js";import oE from"./third-party/components/WishlistKing.js";import oH from"./third-party/components/TeeinblueProductPersonalizer.js";import oU from"./third-party/components/GloboProductOptionsVariant.js";import oz from"./third-party/components/ProductOptionsVariantOption.js";import oq from"./third-party/components/BestBuyFulfillment.js";import oG from"./third-party/components/AftershipEmailMarketingsms.js";import oK from"./third-party/components/SegunoEmailMarketing.js";import oQ from"./third-party/components/SeoantTrustBadgesIcon.js";import oN from"./third-party/components/DiscountyBulkDiscountSales.js";import oW from"./third-party/components/TrustreviewsProductReviews.js";import oY from"./third-party/components/MyappgurusProductReviews.js";import oJ from"./third-party/components/HulkProductOptions.js";import oX from"./third-party/components/TrustshopProductReviews.js";import oZ from"./third-party/components/StellarDeliveryDatePickup.js";import o$ from"./third-party/components/EssentialCountdownTimerBar.js";import o_ from"./third-party/components/EssentialAnnouncementBar.js";import o3 from"./third-party/components/OkendoReviewsLoyalty.js";import o2 from"./third-party/components/EstimatedDeliveryDatePlus.js";import o0 from"./third-party/components/HextomCountdownTimerBar.js";import o1 from"./third-party/components/TrustBadgesBear.js";import o4 from"./third-party/components/TrustedsiteTrustBadges.js";import o5 from"./third-party/components/GloColorSwatchvariantImage.js";import o6 from"./third-party/components/BfSizeChartSizeGuide.js";import o7 from"./third-party/components/AlsoBoughtCbb.js";import o8 from"./third-party/components/HextomFreeShippingBar.js";import o9 from"./third-party/components/EcoboostifyShoppableReelUgc.js";import"@gem-sdk/core";import to from"./third-party/components/AovBundlesVolumeDiscounts.js";import tt from"./third-party/components/UppromoteAffiliateMarketing.js";import tr from"./third-party/components/DealeasyVolumeDiscounts.js";import tm from"./third-party/components/BloyRewardsProgramLoyalty.js";import ts from"./article/components/ArticleList.js";import tp from"./article/components/ArticleTitle.js";import tn from"./article/components/ArticleExcerpt.js";import te from"./article/components/ArticleContent.js";import ti from"./article/components/ArticleImage.js";import tc from"./article/components/ArticlePagination.js";import ta from"./article/components/ArticleAuthor.js";import td from"./article/components/ArticleTag.js";import tu from"./article/components/ArticleCategory.js";import tf from"./article/components/ArticleDate.js";import tj from"./article/components/ArticleReadMore.js";import tl from"./hero-banner/components/HeroBanner.js";import th from"./breadcrumb/components/Breadcrumb.js";import ty from"./button/components/Button.js";import tP from"./carousel-v3/components/root/Carousel.js";import tg from"./carousel-v3/components/item/CarouselItem.js";import tB from"./carousel/components/root/Carousel.js";import tC from"./carousel/components/item/CarouselItem.js";import tb from"./cart/components/Cart.js";import tS from"./cart/components/CartList.js";import tw from"./cart/components/CartLinePrice.js";import tv from"./cart/components/CartLineVariant.js";import tI from"./cart/components/CartLineImage.js";import tk from"./cart/components/CartTotalPrice.js";import tT from"./cart/components/CartTotalItem.js";import tA from"./cart/components/CartCheckout.js";import tL from"./cart/components/DiscountInput.js";import tR from"./cart/components/CartDiscount.js";import tx from"./cart/components/CartOrderNote.js";import tD from"./cart/components/CartLineAttribute.js";import tV from"./cart/components/CouponList.js";import tF from"./cart/components/shop-pay-button/ShopPayButton.js";import tO from"./cart/components/CheckoutNow.js";import tM from"./code/components/CSSCode.js";import tE from"./collection/components/collection-title/CollectionTitle.js";import tH from"./collection/components/collection-banner/CollectionBanner.js";import tU from"./collection/components/collection-description/CollectionDescription.js";import tz from"./collection/components/collection-toolbar/CollectionToolbar.js";import tq from"./collection/components/collection-paginator/CollectionPaginator.js";import tG from"./countdown-timer/components/Countdown.js";import"./countdown-timer/settings/configs/setting.js";import tK from"./coupon/components/Coupon.js";import tQ from"./dialog/components/Dialog.js";import tN from"./estimate-delivery/components/EstimateDate.js";import"@gem-sdk/system";import tW from"./link/components/Link.js";import"./estimate-delivery/settings/configs/settings.js";import tY from"./grid/components/root/Root.js";import tJ from"./grid/components/section/Section.js";import tX from"./grid/components/row/Row.js";import tZ from"./grid/components/col/Col.js";import t$ from"./form/components/newsletter/Newsletter.js";import t_ from"./form/components/contact/Contact.js";import t3 from"./form/components/form-email/FormEmail.js";import t2 from"./form/components/submit-button/SubmitButton.js";import t0 from"./form/components/form-dropdown/FormDropdown.js";import t1 from"./form/components/textfield/TextField.js";import t4 from"./form/components/textarea/TextArea.js";import t5 from"./form/components/form-checkbox/FormCheckbox.js";import t6 from"./form/components/textinput/TextInput.js";import t7 from"./header/components/Header.js";import t8 from"./header/components/kind/basic/index.js";import t9 from"./header/components/kind/modern/index.js";import ro from"./header/components/kind/basic/MobileMenu.js";import rt from"./header/components/kind/basic/DesktopMenu.js";import rr from"./heading/components/Heading.js";import rm from"./icon/components/Icon.js";import rs from"./icon-list/components/IconList.js";import rp from"./icon-list/components/IconListItem.js";import rn from"./icon-list-hoz/components/IconListHoz.js";import re from"./icon-list-hoz/components/IconListHozItem.js";import ri from"./icon-list-v2/components/IconList.js";import"./icon-list-v2/settings/configs/settings.js";import rc from"./image/components/Image.js";import ra from"./image-comparison/components/ImageComparison.js";import rd from"./image-detection/components/ImageDetection.js";import ru from"./input/components/Input.js";import rf from"./line/components/Line.js";import rj from"./marquee/components/Marquee.js";import rl from"./marquee/components/MarqueeItem.js";import rh from"./menu/components/Menu.js";import"./modal/components/confirm.js";import ry from"./modal/components/Modal.js";import rP from"./pagination/components/Pagination.js";import rg from"./post-purchase/advanced-list/components/AdvancedListPostPurchase.js";import rB from"./post-purchase/advanced-list/components/PostPurchaseAdvancedListItem.js";import rC from"./post-purchase/button/components/Button.js";import rb from"./post-purchase/callout-banner/components/CalloutBox.js";import rS from"./post-purchase/callout-banner/components/CalloutText.js";import rw from"./post-purchase/countdown-timer/components/PostPurchaseCountdownTimer.js";import rv from"./post-purchase/image/components/Image.js";import rI from"./post-purchase/line/components/PostPurchaseLine.js";import rk from"./post-purchase/link/components/PostPurchaseLink.js";import{PostPurchaseHeading as rT}from"./post-purchase/text/index.js";import rA from"./post-purchase/product/components/ProductTitle.js";import rL from"./post-purchase/product/components/ProductDescription.js";import rR from"./post-purchase/product/components/ProductPrice.js";import rx from"./post-purchase/product/components/product-variant/components/ProductVariant.js";import rD from"./post-purchase/product/components/AcceptButton.js";import rV from"./post-purchase/product/components/ProductQuantity.js";import rF from"./post-purchase/product/components/product-offer/components/ProductOffer.js";import rO from"./post-purchase/product/components/ProductPriceBreakdown.js";import rM from"./post-purchase/product/components/ProductDiscountTag.js";import rE from"./post-purchase/product/components/product-image/index.js";import rH from"./product/components/product-wrap/Product.js";import rU from"./product/components/product-title/ProductTitle.js";import rz from"./product/components/product-quantity/ProductQuantity.js";import rq from"./product/components/product-description/ProductDescription.js";import rG from"./product/components/product-price/ProductPrice.js";import rK from"./product/components/product-button/ProductButton.js";import rQ from"./product/components/product-variants/ProductVariants.js";import rN from"./product/components/ProductImages.js";import rW from"./product/components/product-images-v3/ProductImageV3.js";import rY from"./product/components/product-images-v2/ProductImageV2.js";import rJ from"./product/components/product-properties/ProductProperties.js";import rX from"./product/components/product-quick-view/QuickView.js";import rZ from"./product/components/product-discount-tag/ProductDiscountTag.js";import r$ from"./product/components/product-list-v3/ProductList.js";import r_ from"./product/components/product-list/ProductList.js";import r3 from"./product/components/dynamic-checkout/DynamicCheckout.js";import r2 from"./product/components/product-bundle/ProductBundleDiscount.js";import r0 from"./product/components/product-vendor/Vendor.js";import r1 from"./product/components/product-sku/Sku.js";import r4 from"./product/components/product-view-more/ProductViewMore.js";import r5 from"./product/components/product-badge/ProductBadge.js";import r6 from"./product/components/file-upload/UploadFile.js";import r7 from"./product/components/product-bundle/ProductBundleDiscountItem.js";import r8 from"./radio/components/Radio.js";import r9 from"./select/components/Select.js";import"./select/settings/configs/settings.js";import mo from"./tab/components/Tabs.js";import mt from"./tab/components/TabItem.js";import mr from"./text/components/Text.js";import mm from"./textarea/components/Textarea.js";import ms from"./video/components/Video.js";import mp from"./third-party-slot/components/ThirdPartySlot.js";import mn from"./shop-pay-installment/components/ShopPayInstallments.js";import me from"./third-party-instant/components/InstantJudgemeReviews.js";import mi from"./third-party-instant/components/InstantLooxReviews.js";import mc from"./third-party-instant/components/InstantKlaviyo.js";import ma from"./third-party-instant/components/InstantYotpoLoyalty.js";import md from"./stock-counter/components/StockCounter.js";import mu from"./sticky/components/Sticky.js";import mf from"./post-purchase/text/components/Text.js";var builder={BloyRewardsProgramLoyalty:tm,DealeasyVolumeDiscounts:tr,UppromoteAffiliateMarketing:tt,AovBundlesVolumeDiscounts:to,AovFreeGiftBuyXGetYBogo:p,EcomsendBackInStockAlert:m,AppstleBundlesDiscounts:s,Accordion:o,AccordionItem:t,ArticleList:ts,ArticleTitle:tp,ArticleExcerpt:tn,ArticleContent:te,ArticleImage:ti,ArticlePagination:tc,ArticleAuthor:ta,ArticleTag:td,ArticleCategory:tu,ArticleDate:tf,ArticleReadMore:tj,HeroBanner:tl,Breadcrumb:th,Button:ty,CarouselV3:tP,CarouselItemV3:tg,Carousel:tB,CarouselItem:tC,Cart:tb,CartList:tS,CartLinePrice:tw,CartLineVariant:tv,CartLineImage:tI,CartTotalPrice:tk,CartTotalItem:tT,CartCheckout:tA,DiscountInput:tL,CartDiscount:tR,CartOrderNote:tx,CartLineAttribute:tD,CouponList:tV,ShopPayButton:tF,CheckoutNow:tO,CSSCode:tM,CollectionTitle:tE,CollectionDescription:tU,CollectionBanner:tH,CollectionToolbar:tz,CollectionPaginator:tq,Countdown:tG,Coupon:tK,Dialog:tQ,EstimateDate:tN,Newsletter:t$,ContactForm:t_,FormEmail:t3,SubmitButton:t2,TextField:t1,TextInput:t6,FormTextarea:t4,FormDropdown:t0,FormCheckbox:t5,Root:tY,Section:tJ,Row:tX,Col:tZ,Header:t7,BasicHeader:t8,ModernHeader:t9,MobileMenu:ro,DesktopMenu:rt,Heading:rr,Icon:rm,IconList:rs,IconListItem:rp,IconListHoz:rn,IconListItemHoz:re,IconListV2:ri,Image:rc,ImageComparison:ra,ImageDetection:rd,Input:ru,Line:rf,Link:tW,Marquee:rj,MarqueeItem:rl,Menu:rh,Modal:ry,Pagination:rP,PostPurchaseAdvancedList:rg,PostPurchaseAdvancedListItem:rB,PostPurchaseAcceptButton:rD,PostPurchaseButton:rC,PostPurchaseCalloutBox:rb,PostPurchaseCalloutText:rS,PostPurchaseCountdownTimer:rw,PostPurchaseImage:rv,PostPurchaseLine:rI,PostPurchaseLink:rk,PostPurchaseHeading:rT,PostPurchaseText:mf,PostPurchaseProductTitle:rA,PostPurchaseProductDescription:rL,PostPurchaseProductPrice:rR,PostPurchaseProductVariants:rx,PostPurchaseProductQuantity:rV,PostPurchaseProductPriceBreakdown:rO,PostPurchaseProductOffer:rF,PostPurchaseProductDiscountTag:rM,PostPurchaseProductImages:rE,EstimatedDeliveryDatePlus:o2,OkendoReviewsLoyalty:o3,EssentialAnnouncementBar:o_,EssentialCountdownTimerBar:o$,StellarDeliveryDatePickup:oZ,TrustshopProductReviews:oX,HulkProductOptions:oJ,MyappgurusProductReviews:oY,TrustreviewsProductReviews:oW,DiscountyBulkDiscountSales:oN,SeoantTrustBadgesIcon:oQ,SegunoEmailMarketing:oK,AftershipEmailMarketingsms:oG,BestBuyFulfillment:oq,ProductOptionsVariantOption:oz,GloboProductOptionsVariant:oU,TeeinblueProductPersonalizer:oH,HulkFormBuilder:oO,LoloyalLoyaltyReferrals:oF,PowerfulContactFormBuilder:oM,WishlistKing:oE,WishlistPlus:oV,InstasellShoppableInstagram:oD,SproutPlantTreesGrowSales:ox,RapiBundleQuantityBreaks:oL,AppointmentBookingCowlendar:oR,GoogleReviewsByReputon:oA,MbcBundleVolumeDiscount:oT,ProductOptionsCustomizer:ov,AirProductReviewsAppUgc:ok,TagembedSocialPostReview:oI,WhatmoreShoppableVideosreel:ow,TagshopShoppableVideosUgc:oS,JunipProductReviewsUgc:oB,FlyBundlesUpsellsFbt:og,PreorderNowWodPresale:ob,PreorderNowPreOrderPq:oP,MaxbundleProductBundles:oC,KoalaBundleQuantityDiscount:oy,EasyBundleBuilderSkailama:oh,FastBundleBundlesDiscounts:oj,KiteFreeGiftDiscount:of,UnlimitedBundlesDiscounts:ou,SimpleBundlesKits:ol,ReviewxpoProductReviewsApp:oa,PumperBundlesVolumeDiscount:od,NotifyBackInStockPreOrder:oc,ShopifyForms:oi,SkioSubscriptionsYcS20:oe,LoopSubscriptions:on,Selleasy:op,RecurpaySubscriptionApp:om,SubifySubscriptionsApp:os,ShopifySubscriptions:ot,BonLoyaltyRewardsReferrals:or,EasifyProductOptions:_,CustomProductOptionsVariant:oo,KlarnaMessaging:Z,FordeerProductLabels:$,RechargeSubscriptions:r,Product:rH,ProductTitle:rU,ProductQuantity:rz,ProductPrice:rG,ProductSku:r1,FileUpload:r6,ProductBundleDiscount:r2,ProductBundleDiscountItem:r7,ProductButton:rK,ProductDescription:rq,ProductVariants:rQ,ProductImages:rN,ProductImagesV3:rW,ProductImagesV2:rY,ProductProperties:rJ,ProductQuickView:rX,ProductTag:rZ,ProductListV3:r$,ProductList:r_,Radio:r8,Select:r9,Tabs:mo,TabItem:mt,Text:mr,Textarea:mm,Video:ms,PushOwl:K,ThirdPartySlot:mp,ShopPayInstallments:mn,JudgemeReviews:n,LooxReviews:e,Instafeed:d,Klaviyo:i,YotpoLoyalty:c,SmartSearchBarAndFilters:a,ProductReviews:u,Ryviu:f,Rivyo:j,Vitals:l,Omnisend:h,ParcelPanel:C,TrustMe:b,Trustoo:y,SealSubscriptions:P,AppstleSubscriptions:g,FeraReviews:B,Growave:D,KachingBundles:V,Bogos:G,Opinew:F,UltimateSalesBoost:O,FirePush:U,FrequentlyBoughtTogether:S,BoldSubscriptions:w,BoldProductOptions:v,WideBundle:I,PickyStory:k,InfiniteOptions:T,Wiser:A,Stamped:L,Bundler:R,LaiProductReviews:x,CrossSellCartUpsell:M,BoostAISearchDiscovery:E,YotpoReviews:H,AliReviews:z,CleanSizeCharts:q,QikifyUpsell:Q,EasySellCOD:Y,RequestQuoteHidePrice:J,InstantJudgemeReviews:me,InstantLooxReviews:mi,InstantKlaviyo:mc,InstantYotpoLoyalty:ma,Releasit:N,BirdChime:X,StockCounter:md,DynamicCheckout:r3,Sticky:mu,ProductVendor:r0,KingProductOptions:W,ProductViewMore:r4,ProductBadge:r5,HextomCountdownTimerBar:o0,TrustBadgesBear:o1,TrustedsiteTrustBadges:o4,GloColorSwatchvariantImage:o5,BfSizeChartSizeGuide:o6,AlsoBoughtCbb:o7,HextomFreeShippingBar:o8,EcoboostifyShoppableReelUgc:o9};export{builder as default};
@@ -1 +1 @@
1
- import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as p}from"./helpers.js";let getClass=t=>{let{className:s,componentId:o,rootId:i,left:l,uid:n,isHiddenWhenDisabled:u,disabled:a,showWhenHover:c,showArrow:f,vertical:m}=t,v="gp-carousel-arrow-"+n,b=p(f||{}),d=l?"gp-carousel-action-back gem-slider-previous":"gp-carousel-action-next gem-slider-next",x=e({"gp-z-1 gp-items-center gp-justify-center gp-overflow-hidden gp-shrink-0 before:gp-left-0 before:gp-top-0":!0,[v]:!0,...s&&{[s]:!0},...o&&{[o]:!0},...i&&{[i]:!0},...d&&{[d]:!0},...{"gp-invisible":u&&a,"gp-cursor-default gp-text-gray-300":a,"gp-cursor-pointer gp-text-gray-500":!a,"!gp-invisible group-hover/carousel:!gp-visible":c,...r(b)}}),h=e({"gp-flex gp-items-center gp-justify-center [&>svg]:gp-h-full [&>svg]:gp-w-full":!0,...g(!!l,m)});return{buttonClass:x,buttonContentClass:h}};export{getClass};
1
+ import{createClass as e}from"@gem-sdk/system";import{getClassArrowDisplay as r,getClassArrowRotate as g,getResponsiveSetting as s}from"./helpers.js";let getClass=p=>{let{className:t,componentId:i,rootId:l,left:o,uid:n,isHiddenWhenDisabled:u,disabled:a,showWhenHover:c,showArrow:m,vertical:f}=p,v="gp-carousel-arrow-"+n,d=s(m||{}),x=o?"gp-carousel-action-back gem-slider-previous":"gp-carousel-action-next gem-slider-next",h=e({"gp-z-1 gp-items-center gp-justify-center gp-overflow-hidden gp-shrink-0":!0,[v]:!0,...t&&{[t]:!0},...i&&{[i]:!0},...l&&{[l]:!0},...x&&{[x]:!0},...{"gp-invisible":u&&a,"gp-cursor-default gp-text-gray-300":a,"gp-cursor-pointer gp-text-gray-500":!a,"!gp-invisible group-hover/carousel:!gp-visible":c,...r(d)}}),y=e({"gp-flex gp-items-center gp-justify-center [&>svg]:gp-h-full [&>svg]:gp-w-full":!0,...g(!!o,f)});return{buttonClass:h,buttonContentClass:y}};export{getClass};
@@ -1 +1 @@
1
- import{DEVICES as e,getResponsiveValueByScreen as t}from"@gem-sdk/core";let getResponsiveSetting=e=>{let t=e.desktop,i=e.tablet?e.tablet:t,l=e.mobile?e.mobile:i;return{desktop:t,tablet:i,mobile:l}},getArrowPositionStyle=({vertical:i,arrowType:l,gapToEachSize:o,left:a})=>{let r={};return e.forEach(e=>{let p=t(i,e,!1),g="desktop"===e?"":`-${e}`;p?(r[`top${g}`]="inside"===l[e]&&a?o+"px":"initial",r[`left${g}`]=a?"initial":"",r[`bottom${g}`]="inside"!==l[e]||a?"initial":o+"px",r[`right${g}`]=a?"":"initial"):(a?(r[`left${g}`]="inside"===l[e]?o+"px":"3px",r[`right${g}`]="initial"):(r[`right${g}`]="inside"===l[e]?o+"px":"3px",r[`left${g}`]="initial"),r[`top${g}`]=a?"initial":"",r[`bottom${g}`]=a?"":"initial")}),r},getClassArrowRotate=(i,l)=>{let o={},a={vertical:{left:{desktop:"gp-rotate-[-90deg]",tablet:"tablet:gp-rotate-[-90deg]",mobile:"mobile:gp-rotate-[-90deg]"},right:{desktop:"gp-rotate-90",tablet:"tablet:gp-rotate-90",mobile:"mobile:gp-rotate-90"}},horizontal:{left:{desktop:"gp-rotate-180",tablet:"tablet:gp-rotate-180",mobile:"mobile:gp-rotate-180"},right:{desktop:"gp-rotate-0",tablet:"tablet:gp-rotate-0",mobile:"mobile:gp-rotate-0"}}};return e.forEach(e=>{let r=t(l,e,!1),p=r?"vertical":"horizontal",g=i?"left":"right",s=a[p][g][e];o[s]=!0}),o},getClassArrowDisplay=t=>{let i={inside:{desktop:"!gp-flex !gp-absolute gp-z-2",tablet:"tablet:!gp-flex tablet:!gp-absolute tablet:gp-z-2",mobile:"mobile:!gp-flex mobile:!gp-absolute mobile:gp-z-2"},outside:{desktop:"!gp-flex !gp-relative",tablet:"tablet:!gp-flex tablet:!gp-relative",mobile:"mobile:!gp-flex mobile:!gp-relative"},none:{desktop:"!gp-hidden",tablet:"tablet:!gp-hidden",mobile:"mobile:!gp-hidden"}},l={};return e.forEach(e=>{let o=t[e];o||(o="none");let a=i[o][e];l[a]=!0}),l},getArrowDisplayStyle=i=>{let l={};return e.forEach(e=>{let o=t(i,e,"none");l={...l,[e]:"none"===o?"none":"flex"}}),l},mappingNavigationCarousel=t=>{let i=t=>{let i={...t},l=e.filter(e=>!Object.keys(i).includes(e));return l.forEach(e=>{"tablet"===e&&(i[e]=i.desktop),"mobile"===e&&(i[e]=i.tablet)}),i};if(t?.layout==="vertical"){let{controlOverContent:l,arrow:o}=t,a=i(o),r=i(l),p={};return e.forEach(e=>{a[e]?a[e]&&r[e]?p[e]="inside":p[e]="outside":p[e]="none"}),{...t,navigationStyle:p}}return t},getData=e=>{let t=!!e.custom&&""!==e.custom;return{isRenderCustomIcon:t}},getResponsiveSizeValue=(e,t,i)=>{for(let l of({mobile:["mobile","tablet","desktop"],tablet:["tablet","desktop"],desktop:["desktop"]})[t]){let t=e?.[l]?.[i];if(void 0!==t)return""===t?"auto":t}return"auto"},getResponsiveWidth=e=>({"--w":getResponsiveSizeValue(e,"desktop","width"),"--w-tablet":getResponsiveSizeValue(e,"tablet","width"),"--w-mobile":getResponsiveSizeValue(e,"mobile","width")}),getResponsiveHeight=e=>({"--h":getResponsiveSizeValue(e,"desktop","height"),"--h-tablet":getResponsiveSizeValue(e,"tablet","height"),"--h-mobile":getResponsiveSizeValue(e,"mobile","height")});export{getArrowDisplayStyle,getArrowPositionStyle,getClassArrowDisplay,getClassArrowRotate,getData,getResponsiveHeight,getResponsiveSetting,getResponsiveWidth,mappingNavigationCarousel};
1
+ import{DEVICES as t,getResponsiveValueByScreen as e}from"@gem-sdk/core";let getResponsiveSetting=t=>{let e=t.desktop,l=t.tablet?t.tablet:e,i=t.mobile?t.mobile:l;return{desktop:e,tablet:l,mobile:i}},getArrowPositionStyle=({vertical:l,arrowType:i,gapToEachSize:o,left:a})=>{let r={};return t.forEach(t=>{let p=e(l,t,!1),g="desktop"===t?"":`-${t}`;p?(r[`top${g}`]="inside"===i[t]&&a?o+"px":"initial",r[`left${g}`]=a?"initial":"",r[`bottom${g}`]="inside"!==i[t]||a?"initial":o+"px",r[`right${g}`]=a?"":"initial"):(a?(r[`left${g}`]="inside"===i[t]?o+"px":"3px",r[`right${g}`]="initial"):(r[`right${g}`]="inside"===i[t]?o+"px":"3px",r[`left${g}`]="initial"),r[`top${g}`]=a?"initial":"",r[`bottom${g}`]=a?"":"initial")}),r},getClassArrowRotate=(l,i)=>{let o={},a={vertical:{left:{desktop:"gp-rotate-[-90deg]",tablet:"tablet:gp-rotate-[-90deg]",mobile:"mobile:gp-rotate-[-90deg]"},right:{desktop:"gp-rotate-90",tablet:"tablet:gp-rotate-90",mobile:"mobile:gp-rotate-90"}},horizontal:{left:{desktop:"gp-rotate-180",tablet:"tablet:gp-rotate-180",mobile:"mobile:gp-rotate-180"},right:{desktop:"gp-rotate-0",tablet:"tablet:gp-rotate-0",mobile:"mobile:gp-rotate-0"}}};return t.forEach(t=>{let r=e(i,t,!1),p=r?"vertical":"horizontal",g=l?"left":"right",n=a[p][g][t];o[n]=!0}),o},getClassArrowDisplay=e=>{let l={inside:{desktop:"!gp-flex !gp-absolute gp-z-2",tablet:"tablet:!gp-flex tablet:!gp-absolute tablet:gp-z-2",mobile:"mobile:!gp-flex mobile:!gp-absolute mobile:gp-z-2"},outside:{desktop:"!gp-flex !gp-relative",tablet:"tablet:!gp-flex tablet:!gp-relative",mobile:"mobile:!gp-flex mobile:!gp-relative"},none:{desktop:"!gp-hidden",tablet:"tablet:!gp-hidden",mobile:"mobile:!gp-hidden"}},i={};return t.forEach(t=>{let o=e?.[t];o&&l[o]||(o="none");let a=l[o][t];i[a]=!0}),i},getArrowDisplayStyle=l=>{let i={};return t.forEach(t=>{let o=e(l,t,"none");i={...i,[t]:"none"===o?"none":"flex"}}),i},mappingNavigationCarousel=e=>{let l=e=>{let l={...e},i=t.filter(t=>!Object.keys(l).includes(t));return i.forEach(t=>{"tablet"===t&&(l[t]=l.desktop),"mobile"===t&&(l[t]=l.tablet)}),l};if(e?.layout==="vertical"){let{controlOverContent:i,arrow:o}=e,a=l(o),r=l(i),p={};return t.forEach(t=>{a[t]?a[t]&&r[t]?p[t]="inside":p[t]="outside":p[t]="none"}),{...e,navigationStyle:p}}return e},getData=t=>{let e=!!t.custom&&""!==t.custom;return{isRenderCustomIcon:e}};export{getArrowDisplayStyle,getArrowPositionStyle,getClassArrowDisplay,getClassArrowRotate,getData,getResponsiveSetting,mappingNavigationCarousel};
@@ -1,6 +1,6 @@
1
- import{createStyleReact as e,createStyle as o}from"@gem-sdk/system";import{makeStyle as r,getSingleColorVariable as t,getResponsiveStyleShadowWithoutState as a,getPaddingGlobalSize as i,makeStyleResponsive as l,composeCornerCss as p,composeBorderCss as d}from"@gem-sdk/core";import{getResponsiveWidth as s,getResponsiveHeight as $,getArrowDisplayStyle as n,getArrowPositionStyle as m,getResponsiveSetting as c}from"./helpers.js";let getStyle=(g,b="liquid")=>{let{uid:w,vertical:h,showArrow:u,gapToEachSize:x,left:f,arrowBackgroundColor:k,arrowButtonSize:y,rootId:S,arrowBorder:q,arrowCorner:v,arrowCustomColor:z,arrowIconSize:j,arrowShadow:E}=g,T=r({bg:t(k)}),A=r({c:t(z)}),B=a(E,"box-shadow",E),C=c(q||{}),D=c(v||{}),F=i(y),G=c(j||{}),H=c(u||{}),I=r({v:"hidden"}),J=s(y),K=$(y),L=l("w",G,"px"),M=l("h",G,"px"),N=l("d",n(H)),O=r(m({vertical:h,arrowType:H,gapToEachSize:x??"",left:!!f})),P={...T,...N,...O,...J,...K,...F,...B,..."liquid"===b?I:{}},Q={...A,...L,...M},R="react"===b?e(P):o(P),U="react"===b?e(Q):o(Q),V=`
1
+ import{createStyleReact as e,createStyle as o}from"@gem-sdk/system";import{makeStyle as r,getSingleColorVariable as t,getResponsiveStyleShadowWithoutState as a,getPaddingGlobalSize as l,makeGlobalSizeWidthResponsive as p,makeGlobalSizeHeightResponsive as i,makeStyleResponsive as s,composeCornerCss as $,composeBorderCss as d}from"@gem-sdk/core";import{getArrowDisplayStyle as m,getArrowPositionStyle as n,getResponsiveSetting as c}from"./helpers.js";let getStyle=(g,b="liquid")=>{let{uid:w,vertical:h,showArrow:x,gapToEachSize:u,left:f,arrowBackgroundColor:k,arrowButtonSize:y,rootId:S,arrowBorder:z,arrowCorner:j,arrowCustomColor:q,arrowIconSize:v,arrowShadow:E}=g,T=r({bg:t(k)}),A=r({c:t(q)}),B=a(E,"box-shadow",E),C=c(z||{}),D=c(j||{}),F=l(y),G=c(v||{}),H=c(x||{}),I=p(y),J=i(y),K=s("w",G,"px"),L=s("h",G,"px"),M=s("d",m(H)),N=r(n({vertical:h,arrowType:H,gapToEachSize:u??"",left:!!f})),O={...T,...M,...N,...I,...J,...F,...B},P={...A,...K,...L},Q="react"===b?e(O):o(O),R="react"===b?e(P):o(P),U=`
2
2
  ${S?"."+S:""}.gp-carousel-arrow-${w} {
3
- ${p(D.desktop)}
3
+ ${$(D.desktop)}
4
4
  }
5
5
  ${S?"."+S:""}.gp-carousel-arrow-${w}::before {
6
6
  content: '';
@@ -10,24 +10,24 @@ import{createStyleReact as e,createStyle as o}from"@gem-sdk/system";import{makeS
10
10
  pointer-events: none;
11
11
  z-index: 10;
12
12
  ${d(C.desktop)}
13
- ${p(D.desktop)}
13
+ ${$(D.desktop)}
14
14
  }
15
15
  @media only screen and (max-width: 1024px) and (min-width: 768px) {
16
16
  ${S?"."+S:""}.gp-carousel-arrow-${w} {
17
- ${p(D.tablet)}
17
+ ${$(D.tablet)}
18
18
  }
19
19
  ${S?"."+S:""}.gp-carousel-arrow-${w}::before {
20
20
  ${d(C.tablet)}
21
- ${p(D.tablet)}
21
+ ${$(D.tablet)}
22
22
  }
23
23
  }
24
24
  @media only screen and (max-width: 768px) {
25
25
  ${S?"."+S:""}.gp-carousel-arrow-${w} {
26
- ${p(D.mobile)}
26
+ ${$(D.mobile)}
27
27
  }
28
28
  ${S?"."+S:""}.gp-carousel-arrow-${w}::before {
29
29
  ${d(C.mobile)}
30
- ${p(D.mobile)}
30
+ ${$(D.mobile)}
31
31
  }
32
32
  }
33
- `;return{buttonStyle:R,buttonContentStyle:U,innerBorderCss:V}};export{getStyle};
33
+ `;return{buttonStyle:Q,buttonContentStyle:R,innerBorderCss:U}};export{getStyle};
@@ -1 +1 @@
1
- import{DEVICES as t,getResponsiveValueByScreen as e}from"@gem-sdk/core";let getData=t=>{let{hiddenWhenOnlyOne:e,slideDuplicated:r}=t,l=e=>{let{enabledSneakPeak:l,totalSlideItem:a=0,numberOfFullWidthShow:o=0,slideItemsPerPage:g=0}=t,n=0;return Array.from({length:n=e?r?a/2:a:l?a-o+1:Math.ceil(a/g)},(t,e)=>e)},a=t=>e&&t?.length<2;return{checkHidden:a,getDotItems:l}},getUpdatedDotStyle=(r,l)=>{let a={};return t.forEach(t=>{let o=e(r,t),g=e(l,t);a={...a,[t]:o?g:"none"}}),a};export{getData,getUpdatedDotStyle};
1
+ import{DEVICES as t,getResponsiveValueByScreen as e}from"@gem-sdk/core";let getData=t=>{let{hiddenWhenOnlyOne:e}=t,r=e=>{let{enabledSneakPeak:r,totalSlideItem:l=0,numberOfFullWidthShow:a=0,slideItemsPerPage:o=0}=t;return r?Array.from({length:e?l:l-a+1},(t,e)=>e):Array.from({length:e?l:Math.ceil(l/o)},(t,e)=>e)},l=t=>e&&t?.length<2;return{checkHidden:l,getDotItems:r}},getUpdatedDotStyle=(r,l)=>{let a={};return t.forEach(t=>{let o=e(r,t),g=e(l,t);a={...a,[t]:o?g:"none"}}),a};export{getData,getUpdatedDotStyle};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e}from"react/jsx-runtime";import{useEditorMode as r,isEmptyChildren as o}from"@gem-sdk/core";import"react";import"@gem-sdk/system";import{SwiperSlide as s}from"../swiper/SwiperSlide.js";import{getStyle as m}from"./common/styles.js";import{getClass as t}from"./common/classes.js";import{useCarouselItem as i}from"../../hooks/useCarouseItem.js";import l from"../../../grid/components/ChildrenDroppable.js";let CarouselItem=a=>{let{children:d,builderAttrs:p,parentSettings:c,builderProps:n}=a,{handleClick:u,handleMouseMove:f,handleMouseOut:j}=i(a),{indexKey:h}=a,k=n?.uid?`${n?.uid}-${h}`:h,y=r(),{carouselItemStyle:C,carouselItemInnerStyle:g}=m(a,y),{carouselItemClass:v,carouselItemInnerClass:I}=t(a);return e(s,{...p,"aria-hidden":!0,className:v,style:C,onClick:u,onMouseMove:f,onMouseLeave:j,dir:c?.rtl?"rtl":"ltr","data-carousel-item-key":k,children:e("div",{className:I,style:g,children:o(d)?e(l,{}):d})})};export{CarouselItem as default};
2
+ import{jsx as e}from"react/jsx-runtime";import{isEmptyChildren as o}from"@gem-sdk/core";import{getStyle as r}from"./common/styles.js";import{getClass as s}from"./common/classes.js";import{useCarouselItem as m}from"../../hooks/useCarouseItem.js";import t from"../../../grid/components/ChildrenDroppable.js";let CarouselItem=i=>{let{children:l,builderAttrs:a}=i,{handleClick:n,handleMouseMove:c,handleMouseOut:d}=m(i),{carouselItemStyle:p,carouselItemInnerStyle:u}=r(i),{carouselItemClass:f,carouselItemInnerClass:h}=s(i);return e("div",{...a,"aria-hidden":!0,className:f,style:p,onClick:n,onMouseMove:c,onMouseLeave:d,children:e("div",{className:h,style:u,children:o(l)?e(t,{}):l})})};export{CarouselItem as default};
@@ -1 +1 @@
1
- import{makeGlobalSize as e,DEVICES as t,getResponsiveValueByScreen as r,getStyleBackgroundByDevice as o,getGradientBgrStyleByDevice as a,getStyleShadow as s,makeStyle as n,getSingleColorVariable as d,getRadiusStyleActiveState as i}from"@gem-sdk/core";import{createStyle as l}from"@gem-sdk/system";import{getInitialWidthForCarouselItem as k}from"../../../common/helpers.js";let getStyle=(m,p)=>{let{style:c,contentType:u,parentStyle:f,parentSettings:b,background:g,customStyle:h}=m,w=e(f?.itemPadding),P=t.reduce((e,t)=>{if("edit"===p)return{};let o=b?.rtl,a=o?"ml":"mr",s=r(f?.spacing,t);return{...e,[`--${a}${"desktop"!==t?`-${t}`:""}`]:s+"px"}},{}),y=()=>{let e=["--radius"];return(e.forEach(e=>{delete c?.[e]}),"productImage"===u)?c:{...c,...n({bs:f?.borderContent?.border,bw:f?.borderContent?.width,bc:d(f?.borderContent?.color)}),...i({...f?.roundedContent,active:{...f?.roundedContent||{},radiusType:"custom"}})}},C={...h,...w&&w.padding,...k({spacing:f?.spacing,slidesToShow:b?.itemNumber??b?.slidesToShow,sneakPeak:b?.sneakPeak,sneakPeakType:b?.sneakPeakType,sneakPeakOffsetCenter:b?.sneakPeakOffsetCenter,sneakPeakOffsetForward:b?.sneakPeakOffsetForward,vertical:b?.vertical}),...o(g),...a(g,{desktop:!0,tablet:!0,mobile:!0})},S=l({...s({value:f?.carouselShadow,styleAppliedFor:"box-shadow",isEnableShadow:f?.hasActiveShadow})}),v=l({...C,...y(),...P});return{carouselItemStyle:v,carouselItemInnerStyle:S}};export{getStyle};
1
+ import{makeGlobalSize as e,getStyleBackgroundByDevice as t,getGradientBgrStyleByDevice as o,getStyleShadow as r,makeStyle as a,getSingleColorVariable as s,getRadiusStyleActiveState as n}from"@gem-sdk/core";import{createStyle as d}from"@gem-sdk/system";import{getInitialWidthForCarouselItem as i}from"../../../common/helpers.js";let getStyle=k=>{let{style:l,contentType:m,parentStyle:p,parentSettings:c,background:b,customStyle:f}=k,u=e(p?.itemPadding),h=()=>{let e=["--radius"];return(e.forEach(e=>{delete l?.[e]}),"productImage"===m)?l:{...l,...a({bs:p?.borderContent?.border,bw:p?.borderContent?.width,bc:s(p?.borderContent?.color)}),...n({...p?.roundedContent,active:{...p?.roundedContent||{},radiusType:"custom"}})}},w={...f,...u&&u.padding,...i({spacing:p?.spacing,slidesToShow:c?.itemNumber??c?.slidesToShow,sneakPeak:c?.sneakPeak,sneakPeakType:c?.sneakPeakType,sneakPeakOffsetCenter:c?.sneakPeakOffsetCenter,sneakPeakOffsetForward:c?.sneakPeakOffsetForward,vertical:c?.vertical}),...t(b),...o(b,{desktop:!0,tablet:!0,mobile:!0})},g=d({...r({value:p?.carouselShadow,styleAppliedFor:"box-shadow",isEnableShadow:p?.hasActiveShadow})}),P=d({...w,...h()});return{carouselItemStyle:P,carouselItemInnerStyle:g}};export{getStyle};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- import{jsx as e,jsxs as r,Fragment as o}from"react/jsx-runtime";import{forwardRef as t,Children as i,useState as l,useRef as s,useMemo as n,useCallback as a,isValidElement as d,cloneElement as m,createElement as p}from"react";import{filterToolbarPreview as c,useCurrentDevice as u,isEmptyChildren as h}from"@gem-sdk/core";import{mappingNavigationCarousel as S}from"../arrow/common/helpers.js";import{useCarousel as v}from"../../hooks/useCarousel.js";import{getData as w}from"./common/helpers.js";import{getClass as f}from"./common/classes.js";import{getStyle as C}from"./common/styles.js";import{getAttr as k}from"./common/attrs.js";import y from"../arrow/Arrow.js";import g from"../dot/Dots.js";import{Swiper as j}from"../swiper/Swiper.js";import"@gem-sdk/system";let Carousel=t((t,b)=>{let{children:O,builderAttrs:$,builderProps:P,styles:D,isHiddenArrowWhenDisabled:I=!0,hiddenDotWhenOnlyOne:x,elmRef:z,isEnableCheckHasScrollableContent:A,onSwiperReady:T}=t,B=S(t.setting),N={...t,setting:B},R=i.count(c(O))??0,[W,E]=l(null),{arrowButtonSize:H,arrowBackgroundColor:G,arrowGapToEachSide:F="16",roundedArrow:K,arrowIconSize:U,arrowCustomColor:q,arrowBorder:J,arrowShadow:L,showWhenHover:M}=B??{},Q=s({prevOrder:"",prevContent:"",version:0}),V=n(()=>{let e=B?.childItem||[],r=e.join("|"),o=[...e].sort().join("|"),t=Q.current;return t.prevOrder&&t.prevContent&&o===t.prevContent&&r!==t.prevOrder&&t.version++,t.prevOrder=r,t.prevContent=o,`reorder-${t.version}`},[B?.childItem]),{isInfinity:X,localRef:Y,sliderSettings:Z,totalSlideItem:_,currentSlide:ee,isRenderDots:er,showNavigation:eo,isScrollToStart:et,isScrollToEnd:ei,handleDotClick:el,getItemsPerPage:es,handleNextAndPrevSlide:en,dispatchEventSelectSlide:ea,getNumberOfFullWidthShow:ed,setCurrentSlide:em,shouldDuplicateSlides:ep,setIsScrollToStart:ec,setIsScrollToEnd:eu}=v(N,b,W,R),{loopConfig:eh,arrowShowConfig:eS}=w(N),{rootClassRender:ev,wrapperClassRender:ew,wrapperInnerClass:ef,sliderClass:eC}=f(N),{rootStyleRender:ek,wrapperStyleRender:ey,wrapperInnerStyle:eg}=C(N),{rootAttrRender:ej,sliderAttr:eb}=k(N),eO=u(),e$=B?.sneakPeak?.[eO],eP=r=>{let o="next"===r;if(R<=1)return null;let i=o?!X&&W?.isEnd:!X&&W?.isBeginning,l=o?!X&&ei:!X&&et;return e(y,{uid:P?.uid,custom:B?.arrowCustom??"",showArrow:eS,arrowButtonSize:H||{},arrowIconSize:U||{},arrowBackgroundColor:G||"",arrowCustomColor:q,gapToEachSize:F,showWhenHover:M,arrowBorder:J||{},arrowCorner:K||{},arrowShadow:L||{},onClick:e=>{e.stopPropagation(),en(r)},left:!o,disabled:A?l:i,vertical:B?.vertical,isHiddenWhenDisabled:I,rootId:t?.parentClass})},eD=a(e=>{E(e),T?.(e)},[]),eI=a(()=>{t?.isDisableResetSlide||(em(0),ec(!0),eu(!1))},[t?.isDisableResetSlide,em,eu,ec]),ex=i.toArray(c(O)).filter(d),ez=ep(R),eA=ez?2*R:R,eT=n(()=>{if(!ez)return ex;let e=ex.map((e,r)=>{if(!d(e))return e;let o=e.key,t=o?`${o}-duplicate-${r}`:`duplicate-${r}`;return m(e,{...e.props||{},key:t})});return[...ex,...e]},[ez,ex]),eB=n(()=>`${R}-${V}-${eT.length}-${Z?.direction}`,[R,V,eT.length,Z?.direction]);return e("div",{ref:z,...ej,className:ev,style:ek,children:r("div",{ref:Y,...$,className:ew,style:ey,children:[r("div",{className:ef,style:eg,children:[eo&&eP("prev"),p(j,{...eb,...Z,sliderClass:eC,thumbsSwiper:t?.thumbsSwiper,onSwiperReady:eD,totalSlides:_,key:eB,sliderOrder:V,onSwiperReset:eI},h(O)?e("div",{children:"No Slider"}):e(o,{children:eT.map((e,r)=>{if(!d(e))return null;let o=e.props??{};return p(e.type,{...o,key:e.key,indexKey:r.toString(),parentSettings:B,parentStyle:D,background:B?.background,parentUid:P?.uid,dispatchEventSelectSlide:ea})})})),eo&&eP("next")]}),er&&e(g,{dotStyle:B?.dotStyle,dotGapToCarousel:B?.dotGapToCarousel,vertical:B?.vertical,showDots:B?.dot,slideItemsPerPage:es(),enabledSneakPeak:e$,dotColor:B?.dotColor,dotActiveColor:B?.dotActiveColor,dotSize:B?.dotSize,sneakPeakType:B?.sneakPeakType,totalSlideItem:eA,hiddenWhenOnlyOne:x,currentSlide:ee,loop:eh,numberOfFullWidthShow:ed(eO),onHandleClick:el,slideDuplicated:ez}),c(O,!0)]})})});export{Carousel as default};
2
+ import{jsx as o,jsxs as e,Fragment as r}from"react/jsx-runtime";import{useCurrentDevice as t,filterToolbarPreview as a,isEmptyChildren as s}from"@gem-sdk/core";import{forwardRef as l,Children as i,isValidElement as d}from"react";import n from"../dot/Dots.js";import m from"../arrow/Arrow.js";import{mappingNavigationCarousel as c}from"../arrow/common/helpers.js";import{useCarousel as p}from"../../hooks/useCarousel.js";import{getClass as u}from"./common/classes.js";import{getStyle as h}from"./common/styles.js";import{getAttr as f}from"./common/attrs.js";import{getData as k}from"./common/helpers.js";let Carousel=l((l,w)=>{let{children:C,builderAttrs:S,builderProps:v,styles:y,isHiddenArrowWhenDisabled:g=!0,hiddenDotWhenOnlyOne:j,elmRef:b}=l,P=c(l.setting),x={...l,setting:P},{arrowButtonSize:z,arrowBackgroundColor:N,arrowGapToEachSide:T="16",roundedArrow:A,arrowIconSize:I,arrowCustomColor:W,arrowBorder:B,arrowShadow:D,showWhenHover:H}=P??{},{totalSlideItem:O,isInfinity:E,slider:G,currentSlide:F,localRef:U,showNavigation:q,isRenderDots:J,slideMaxIndex:K,handleDotClick:L,getItemsPerPage:M,sliderRef:Q,handleNextAndPrevSlide:R,dispatchEventSelectSlide:V,getNumberOfFullWidthShow:X}=p(x,w),{loopConfig:Y,arrowShowConfig:Z}=k(x),{rootClassRender:$,wrapperClassRender:_,wrapperInnerClass:oo,sliderClass:oe}=u(x),{rootStyleRender:or,wrapperStyleRender:ot,wrapperInnerStyle:oa}=h(x),{rootAttrRender:os,sliderAttr:ol}=f(x),oi=t(),od=P?.sneakPeak?.[oi],on=e=>{let r="next"===e,t=r?!E&&G?.track?.details?.abs===K:!E&&G?.track?.details?.abs===0;return o(m,{uid:v?.uid,custom:P?.arrowCustom??"",showArrow:Z,arrowButtonSize:z||{},arrowIconSize:I||{},arrowBackgroundColor:N||"",arrowCustomColor:W,gapToEachSize:T,showWhenHover:H,arrowBorder:B||{},arrowCorner:A||{},arrowShadow:D||{},onClick:o=>{o.stopPropagation(),R(e)},left:!r,disabled:t,vertical:P?.vertical,isHiddenWhenDisabled:g,rootId:l?.parentClass})},om=()=>o(r,{children:s(C)?o("div",{children:"No Slider"}):i.map(a(C),(e,r)=>d(e)?o(e.type,{...e.props,index:r,parentSettings:P,parentStyle:y,background:P?.background,parentUid:v?.uid,dispatchEventSelectSlide:V}):null)});return o("div",{ref:b,...os,className:$,style:or,children:e("div",{ref:U,...S,className:_,style:ot,children:[e("div",{className:oo,style:oa,children:[q&&on("prev"),o("div",{ref:Q,...ol,className:oe,children:om()}),q&&on("next")]}),J&&o(n,{showDots:P?.dot,dotStyle:P?.dotStyle,totalSlideItem:O,slideItemsPerPage:M(),currentSlide:F,enabledSneakPeak:od,vertical:P?.vertical,loop:Y,dotColor:P?.dotColor,dotGapToCarousel:P?.dotGapToCarousel,dotSize:P?.dotSize,dotActiveColor:P?.dotActiveColor,hiddenWhenOnlyOne:j,sneakPeakType:P?.sneakPeakType,numberOfFullWidthShow:X(oi),onHandleClick:L}),a(C,!0)]})})});export{Carousel as default};
@@ -1,17 +1,15 @@
1
- import{template as o,RenderIf as r,isLocalEnv as e,baseAssetURL as s,WrapRenderChildren as t,RenderChildren as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as n}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as m}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getSettingPreloadData as u,getStaticLocale as $}from"../../../helpers.js";let Carousel=v=>{let{children:f,builderAttrs:g,builderProps:w,styles:S,isHiddenArrowWhenDisabled:h=!0,hiddenDotWhenOnlyOne:C,rootId:y,rawChildren:j,conditionAppendJs:k}=v,z=d(v.setting),E={...v,setting:z},{arrowButtonSize:I,arrowBackgroundColor:A,arrowGapToEachSide:G="16",roundedArrow:P,arrowIconSize:T,arrowCustomColor:b,arrowBorder:q,arrowShadow:x,showWhenHover:B}=z??{},{uniqueComponentId:D,loopConfig:O,arrowShowConfig:W,stateData:_}=n(E),{rootClassRender:H,wrapperClassRender:M,wrapperInnerClass:N,sliderClass:R}=p(E),{sliderWrapperStyle:U,rootStyleRender:V,wrapperStyleRender:F,wrapperInnerStyle:J}=m(E),{rootAttrRender:K,sliderAttr:L}=c(E),Q=()=>r(e,`<script ${u('class="gps-link" delay',"src")}="{{ 'gp-carousel-v2-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${u('class="gps-link" delay',"src")}="${s}/assets-v2/gp-carousel-v2-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),X=o=>{let r="next"===o;return a({uid:w?.uid,componentId:D,custom:z?.arrowCustom??"",showArrow:W,arrowButtonSize:I||{},arrowIconSize:T||{},arrowBackgroundColor:A??"",arrowCustomColor:b,gapToEachSize:G,showWhenHover:B,arrowBorder:q||{},arrowCorner:P||{},arrowShadow:x||{},left:!r,onClick:o=>{o.stopPropagation()},vertical:z?.vertical,isHiddenWhenDisabled:h,rootId:y})},Y=()=>o`
2
- ${j?.length?t({uid:w?.uid??"",customProps:j[0]?.customProps},j.map((r,e)=>{if(r)return o`${i({...r,index:e,parentSettings:z,parentStyle:S,background:z?.background,parentUid:w?.uid})}`})):f??`<div>${$("Carousel","no_slider")}</div>`}`;return o`
3
- <gp-carousel gp-data='${_}' ${K} style="${V}" class="${H}">
1
+ import{template as o,RenderIf as r,isLocalEnv as e,baseAssetURL as s,WrapRenderChildren as t,RenderChildren as i}from"@gem-sdk/core";import a from"../arrow/Arrow.liquid.js";import l from"../dot/Dots.liquid.js";import{mappingNavigationCarousel as d}from"../arrow/common/helpers.js";import{getData as n}from"./common/helpers.js";import{getClass as p}from"./common/classes.js";import{getStyle as m}from"./common/styles.js";import{getAttr as c}from"./common/attrs.js";import{getSettingPreloadData as u,getStaticLocale as $}from"../../../helpers.js";let Carousel=f=>{let{children:v,builderAttrs:g,builderProps:w,styles:S,isHiddenArrowWhenDisabled:h=!0,hiddenDotWhenOnlyOne:C,rootId:y,rawChildren:j,conditionAppendJs:k}=f,z=d(f.setting),E={...f,setting:z},{arrowButtonSize:I,arrowBackgroundColor:A,arrowGapToEachSide:G="16",roundedArrow:P,arrowIconSize:T,arrowCustomColor:b,arrowBorder:q,arrowShadow:x,showWhenHover:B}=z??{},{uniqueComponentId:D,loopConfig:O,arrowShowConfig:W,stateData:_}=n(E),{rootClassRender:H,wrapperClassRender:M,wrapperInnerClass:N,sliderClass:R}=p(E),{rootStyleRender:U,wrapperStyleRender:V,wrapperInnerStyle:F,sliderStyle:J}=m(E),{rootAttrRender:K,sliderAttr:L}=c(E),Q=()=>r(e,`<script ${u('class="gps-link" delay',"src")}="{{ 'gp-carousel-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${u('class="gps-link" delay',"src")}="${s}/assets-v2/gp-carousel-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`),X=o=>{let r="next"===o;return a({uid:w?.uid,componentId:D,custom:z?.arrowCustom??"",showArrow:W,arrowButtonSize:I||{},arrowIconSize:T||{},arrowBackgroundColor:A??"",arrowCustomColor:b,gapToEachSize:G,showWhenHover:B,arrowBorder:q||{},arrowCorner:P||{},arrowShadow:x||{},left:!r,onClick:o=>{o.stopPropagation()},vertical:z?.vertical,isHiddenWhenDisabled:h,rootId:y})},Y=()=>o`
2
+ ${j?.length?t({uid:w?.uid??"",customProps:j[0]?.customProps},j.map((r,e)=>{if(r)return o`${i({...r,index:e,parentSettings:z,parentStyle:S,background:z?.background,parentUid:w?.uid})}`})):v??`<div>${$("Carousel","no_slider")}</div>`}`;return o`
3
+ <gp-carousel gp-data='${_}' ${K} style="${U}" class="${H}">
4
4
  <div
5
5
  ${g}
6
6
  class="${M}"
7
- style="${F}"
7
+ style="${V}"
8
8
  >
9
- <div class="${N}" style="${J}">
9
+ <div class="${N}" style="${F}">
10
10
  ${X("prev")}
11
- <div ${L} style="${U}">
12
- <div class="${R}">
13
- ${Y()}
14
- </div>
11
+ <div ${L} class="${R}" style="${J}">
12
+ ${Y()}
15
13
  </div>
16
14
  ${X("next")}
17
15
  </div>
@@ -1 +1 @@
1
- import{createAttr as t}from"@gem-sdk/system";import{getData as r}from"./helpers.js";let getAttr=e=>{let{rootAttrs:i,builderProps:o,rootId:d}=e,{uniqueComponentId:l}=r(e),s=t({"data-id":`${o?.uid}`,id:`gp-root-carousel-${l}`,...i}),g=t({...(o?.uid||d)&&{id:`gp-carousel-${l}`},dir:e.setting?.rtl?"rtl":"ltr"});return{rootAttrRender:s,sliderAttr:g}};export{getAttr};
1
+ import{createAttr as t}from"@gem-sdk/system";import{getData as r}from"./helpers.js";let getAttr=e=>{let{rootAttrs:o,builderProps:d,rootId:i}=e,{uniqueComponentId:s}=r(e),m=t({"data-id":`${d?.uid}`,id:`gp-root-carousel-${s}`,...o}),p=t({...(d?.uid||i)&&{id:`gp-carousel-${s}`}});return{rootAttrRender:m,sliderAttr:p}};export{getAttr};
@@ -1 +1 @@
1
- import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createClass as l}from"@gem-sdk/system";import{getData as t}from"./helpers.js";let getClass=p=>{let o=["mobile","tablet","desktop"],{setting:a,builderProps:g,wrapperClass:i,rootClass:r,advanced:b,fullHeight:f,slidesClass:m}=p,{sliderSelector:x}=t(p),s=()=>{let e={flex:{desktop:"gp-flex",tablet:"tablet:gp-flex",mobile:"mobile:gp-flex"},block:{desktop:"gp-block",tablet:"tablet:gp-block",mobile:"mobile:gp-block"}},l={};return o.forEach(t=>{let p=a?.vertical?.[t]?"flex":"block",o=e[p][t];l[o]=!0}),l},c=()=>{let e={fullHeight:{desktop:"gp-h-full",tablet:"tablet:gp-h-full",mobile:"mobile:gp-h-full"},flex1:{desktop:"gp-flex-1",tablet:"tablet:gp-flex-1",mobile:"mobile:gp-flex-1"}},l={};return o.forEach(t=>{l[e.fullHeight[t]]=a?.vertical?.[t],l[e.flex1[t]]=a?.vertical?.[t]}),l},n=()=>{let e={flexCol:{desktop:"!gp-flex-col",tablet:"tablet:!gp-flex-col",mobile:"mobile:!gp-flex-col"},flexRow:{desktop:"!gp-flex-row",tablet:"tablet:!gp-flex-row",mobile:"mobile:!gp-flex-row"}},l={};return o.forEach(t=>{let p=a?.vertical?.[t]?"flexCol":"flexRow",o=e[p][t];l[o]=!0}),l},u=()=>{let e={wrap:{desktop:"!gp-flex-wrap",tablet:"tablet:!gp-flex-wrap",mobile:"mobile:!gp-flex-wrap"},nowrap:{desktop:"!gp-flex-nowrap",tablet:"tablet:!gp-flex-nowrap",mobile:"mobile:!gp-flex-nowrap"}},l={};return o.forEach(t=>{let p=a?.vertical?.[t]?"wrap":"nowrap",o=e[p][t];l[o]=!0}),l},h=()=>{let e={minHeightNone:{desktop:"!gp-min-h-0",tablet:"tablet:!gp-min-h-0",mobile:"mobile:!gp-min-h-0"},minHeightFull:{desktop:"!gp-min-h-full",tablet:"tablet:!gp-min-h-full",mobile:"mobile:!gp-min-h-full"}},l={};return o.forEach(t=>{let p=a?.vertical?.[t]?"minHeightNone":"minHeightFull",o=e[p][t];l[o]=!0}),l},w=l({...g?.uid&&{[g.uid]:!0},...i&&{[i]:!0},"gp-relative gp-my-0 tablet:gp-px-0 gp-max-w-full mobile:gp-px-0 gp-carousel-wrapper":!0,"!gp-flex":e(a?.vertical,"desktop"),"tablet:!gp-flex":e(a?.vertical,"tablet"),"mobile:!gp-flex":e(a?.vertical,"mobile"),...s()}),d=l({"gp-relative gp-overflow-hidden gp-flex gp-items-center gp-justify-between":!0,"!gp-h-full":f,...c(),...n()}),k=l({"gp-group/carousel gp-w-full gp-flex":!0,"!gp-flex-col":e(a?.vertical,"desktop"),"tablet:!flex-col":e(a?.vertical,"tablet"),"mobile:!flex-col":e(a?.vertical,"mobile"),...r&&{[r]:!0},...b?.cssClass&&{[b.cssClass]:!0}}),v=l({"gem-slider-wrapper gp-flex gp-content-start gp-h-full gp-select-none":!0,[x]:!0,...m&&{[m]:!0},...u(),...h()});return{rootClassRender:k,wrapperClassRender:w,wrapperInnerClass:d,sliderClass:v}};export{getClass};
1
+ import{getResponsiveValueByScreen as e}from"@gem-sdk/core";import{createClass as l}from"@gem-sdk/system";import{getData as t}from"./helpers.js";let getClass=p=>{let o=["mobile","tablet","desktop"],{setting:i,builderProps:a,wrapperClass:g,rootClass:r,advanced:b,fullHeight:f,slidesClass:m}=p,{sliderSelector:x}=t(p),s=()=>{let e={flex:{desktop:"gp-flex",tablet:"tablet:gp-flex",mobile:"mobile:gp-flex"},block:{desktop:"gp-block",tablet:"tablet:gp-block",mobile:"mobile:gp-block"}},l={};return o.forEach(t=>{let p=i?.vertical?.[t]?"flex":"block",o=e[p][t];l[o]=!0}),l},c=()=>{let e={fullHeight:{desktop:"gp-h-full",tablet:"tablet:gp-h-full",mobile:"mobile:gp-h-full"},flex1:{desktop:"gp-flex-1",tablet:"tablet:gp-flex-1",mobile:"mobile:gp-flex-1"}},l={};return o.forEach(t=>{l[e.fullHeight[t]]=i?.vertical?.[t],l[e.flex1[t]]=i?.vertical?.[t]}),l},n=()=>{let e={flexCol:{desktop:"!gp-flex-col",tablet:"tablet:!gp-flex-col",mobile:"mobile:!gp-flex-col"},flexRow:{desktop:"!gp-flex-row",tablet:"tablet:!gp-flex-row",mobile:"mobile:!gp-flex-row"}},l={};return o.forEach(t=>{let p=i?.vertical?.[t]?"flexCol":"flexRow",o=e[p][t];l[o]=!0}),l},u=()=>{let e={wrap:{desktop:"!gp-flex-wrap",tablet:"tablet:!gp-flex-wrap",mobile:"mobile:!gp-flex-wrap"},nowrap:{desktop:"!gp-flex-nowrap",tablet:"tablet:!gp-flex-nowrap",mobile:"mobile:!gp-flex-nowrap"}},l={};return o.forEach(t=>{let p=i?.vertical?.[t]?"wrap":"nowrap",o=e[p][t];l[o]=!0}),l},h=()=>{let e={minHeightNone:{desktop:"!gp-min-h-0",tablet:"tablet:!gp-min-h-0",mobile:"mobile:!gp-min-h-0"},minHeightFull:{desktop:"!gp-min-h-full",tablet:"tablet:!gp-min-h-full",mobile:"mobile:!gp-min-h-full"}},l={};return o.forEach(t=>{let p=i?.vertical?.[t]?"minHeightNone":"minHeightFull",o=e[p][t];l[o]=!0}),l},d=l({...a?.uid&&{[a.uid]:!0},...g&&{[g]:!0},"gp-relative gp-my-0 tablet:gp-px-0 gp-max-w-full mobile:gp-px-0 gp-carousel-wrapper":!0,"!gp-flex":e(i?.vertical,"desktop"),"tablet:!gp-flex":e(i?.vertical,"tablet"),"mobile:!gp-flex":e(i?.vertical,"mobile"),...s()}),k=l({"gp-relative gp-flex gp-items-center gp-justify-between":!0,"!gp-h-full":f,...c(),...n()}),w=l({"gp-group/carousel gp-w-full gp-flex":!0,"!gp-flex-col":e(i?.vertical,"desktop"),"tablet:!flex-col":e(i?.vertical,"tablet"),"mobile:!flex-col":e(i?.vertical,"mobile"),...r&&{[r]:!0},...b?.cssClass&&{[b.cssClass]:!0}}),v=l({"gem-slider gp-h-full gp-overflow-hidden gp-select-none":!0,[x]:!0,...m&&{[m]:!0},...u(),...h()});return{rootClassRender:w,wrapperClassRender:d,wrapperInnerClass:k,sliderClass:v}};export{getClass};
@@ -1 +1 @@
1
- import{makeStyleResponsive as e,getHeightByShapeGlobalSize as t,makeStyleWithDefault as o,getWidthByShapeGlobalSize as g,getBgByDevice as r,makeContainerWidthOrHeight as l}from"@gem-sdk/core";import{createStyle as i}from"@gem-sdk/system";let getStyle=d=>{let{styles:a,setting:c,style:m,rootStyles:n}=d,{arrowGapToEachSide:k="16"}=c??{},s=e("h",t(a?.sizeSetting)),b=o("w",g(a?.sizeSetting,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),p=i({...m,...s,...b,...r({backgroundColor:a?.backgroundColor,backgroundImage:a?.backgroundImage})}),w=i({...l({vertical:c?.vertical,dotStyle:c?.dotStyle}),gap:k+"px"}),S=i({...e("jc",a?.align),...n}),h=i({...b,...s}),u=i({overflow:"hidden",flex:1,width:"100%",height:"100%"});return{rootStyleRender:S,wrapperStyleRender:p,wrapperInnerStyle:w,sliderStyle:h,sliderWrapperStyle:u}};export{getStyle};
1
+ import{makeStyleResponsive as t,getHeightByShapeGlobalSize as e,makeStyleWithDefault as o,getWidthByShapeGlobalSize as r,getBgByDevice as g,makeContainerWidthOrHeight as l,getResponsiveValueByScreen as a}from"@gem-sdk/core";import{createStyle as c}from"@gem-sdk/system";let getStyle=i=>{let d=["mobile","tablet","desktop"],{styles:m,setting:p,style:s,rootStyles:k}=i,{arrowGapToEachSide:n="16"}=p??{},b=t("h",e(m?.sizeSetting)),u=o("w",r(m?.sizeSetting,!0),{desktop:"--g-ct-w",tablet:"--g-ct-w",mobile:"--g-ct-w"}),S=()=>{let t={};return d.forEach(e=>{let o=a(p?.vertical,e),r=a(m?.spacing,e),g=o?`--rg${"desktop"!==e?`-${e}`:""}`:`--cg${"desktop"!==e?`-${e}`:""}`;t={...t,[g]:`${r??0}px`}}),t},y=c({...s,...b,...u,...g({backgroundColor:m?.backgroundColor,backgroundImage:m?.backgroundImage})}),$=c({...l({vertical:p?.vertical,dotStyle:p?.dotStyle}),gap:n+"px"}),w=c({...t("jc",m?.align),...k}),f=c({...S()});return{rootStyleRender:w,wrapperStyleRender:y,wrapperInnerStyle:$,sliderStyle:f}};export{getStyle};
@@ -1 +1 @@
1
- import{useState as e,useRef as t,useMemo as r,useCallback as i,useImperativeHandle as n,useEffect as a}from"react";import{useCurrentDevice as l,useEditorMode as s,useInteraction as o,getResponsiveValueByScreen as u,DEVICES as d}from"@gem-sdk/core";import p from"./useTrackPreviewPause.js";let useCarousel=(f,m,c,k)=>{let h;let{builderProps:b,moveToIdx:y,styles:P,setting:g,isHiddenArrowWhenDisabled:w=!0,elmRef:T,isEnableCheckHasScrollableContent:v,onClickArrow:N,onHandleChangeSlideByInteraction:x,onChangeActive:S}=f,[C,O]=e(!0),[E,L]=e(!0),[M,I]=e(!1),{loop:z,navigationEnable:V={desktop:!0},navigationStyle:B}=g??{},[j,F]=e(k),[H,R]=e(g?.defaultCurrentSlider??0),{isFirstPreviewClicked:$}=p(g?.runPreview),A=t(),D=t(y??0),q=l(),U=s(),{onListener:W,saveToElementInteractionData:G,getInteractionPreviousData:J,trigger:K}=o(),Q=r(()=>u(z,q,!1),[z,q]),X=i(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:Math.floor(r):0}),e},[g?.slidesToShow]),Y=i(()=>{if(!g?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=u(g?.slidesToShow,t);e[t]=r?"auto"===r?4:r:0}),e},[g?.slidesToShow]),Z=r(()=>{let e=Y();if(e)return e;let t={};return d.forEach(e=>{let r=u(g?.sneakPeak,e),i=r?"center"===u(g?.sneakPeakType,e)?u(g?.sneakPeakOffsetCenter,e)??0:u(g?.sneakPeakOffsetForward,e)??0:0,n="center"===u(g?.sneakPeakType,e)?-2:-1,a=u(g?.itemNumber,e);t[e]="number"==typeof a?a+i/100*n:"auto"}),t},[Y,g?.itemNumber,g?.sneakPeak,g?.sneakPeakOffsetCenter,g?.sneakPeakOffsetForward,g?.sneakPeakType]),_=r(()=>{let e=u(Z,q),t=u(z,q,!1);return t&&Number(e??0)>k||!t&&Number(e??0)>=k},[Z,q,z,k]),ee=r(()=>{let e=u(V,q),t=u(B,q);return c&&e&&"none"!==t&&C&&!_},[V,q,B,c,C,_]),et=r(()=>{let e=X();return e||g?.itemNumber},[X,g?.itemNumber]),er=i(e=>{let t="center"===u(g?.sneakPeakType,e)?2:1;return"number"==typeof u(et,e,4)?u(et,e,4)-t:void 0},[g?.sneakPeakType,et]),ei=()=>{let e="auto"===u(Z,q,1)?1:u(Z,q,1);return e??1},en=e=>{let t=e*ei();return t>=j-ei()&&(t=j-ei()),t},ea=e=>{let t="edit"===U?{[e]:!1}:g?.enableDrag;return u(t,e)},el=(e,t)=>{let r=g?.sneakPeak?.[q]?e:t?e:en(e);if(t){if(k<em){c?.slideTo(r);return}if(c?.realIndex===r)return;if(r===Number(c?.realIndex)+1||0===r&&c?.realIndex===k-1)return c?.slideNext();if(r===Number(c?.realIndex)-1||r===k-1&&c?.realIndex===0)return c?.slidePrev();let e="center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))%2==0;e?c?.slideToLoopCenterSneakPeek(r):c?.slideToLoop(r)}else c?.slideTo(r);D.current=r};n(m,()=>({nextSlideInteraction:ed,previousSlideInteraction:ep,moveToSlideInteraction:ef,getSwiper:()=>c}));let es=e=>{K({event:"gp:rollback:select-slide",selector:`[data-id="${b?.uid}"]`,element:T?.current}),K({event:"gp:select-slide",selector:`[data-id="${b?.uid}"]`,data:e,element:T?.current})},eo=e=>{c?.slideTo(e),x&&x(e)},eu=(e,t)=>{let{key:r,data:i,isRollback:n,element:a}=e,l=Math.max(c?.activeIndex??0,0);if(n&&void 0===i)return;if(n){if("specific"===t){let{previousData:e}=J(a,r);eo(Number(e))}else{let e="next"===t?l-1:l+1;eo(e)}return}let s="specific"===t?Math.max(D.current,0):l;G(a,r,s.toString());let o="specific"===t?Number(i):"next"===t?l+1:l-1;eo(o)},ed=e=>{eu(e,"next")},ep=e=>{eu(e,"previous")},ef=e=>{eu(e,"specific")},em=ei(),ec=r(()=>!!j&&c&&u(g?.dot,q)&&!_&&k>1,[j,c,g?.dot,q,_,k]),ek=u(g?.vertical,q,!1)?"vertical":"horizontal",eh=r(()=>{let e=u(z,q,!1),t=c?.width??0,r={0:"mobile",768:"tablet",1025:"desktop"},i=Number(Object.entries(r).find(([,e])=>e===q)?.[0]??1025),n=Object.entries(r).reduce((r,[i,n])=>{if(!r)return;let a=Number(i),l=u(g?.sneakPeak,n,!1),s=l&&"center"===u(g?.sneakPeakType,n),o=u(g?.itemNumber,n),d=s&&"number"==typeof o,p=ea(n),f=d?(t-t/em*(o-2))/2:0,m=d&&e?j:g?.initialSlide||y||0,c={allowTouchMove:p,slidesOffsetBefore:f,slidesOffsetAfter:f,initialSlide:m};return r[a]=c,r},{}),a="center"===u(g?.sneakPeakType,q)&&"number"==typeof u(g?.itemNumber,q)&&Number(u(g?.itemNumber,q))%2==0;return{speed:P?.playSpeed??500,dir:g?.rtl?"rtl":"ltr",spaceBetween:u(P?.spacing,q)||0,loop:e,slidesPerView:"auto"===u(Z,q,1)?"auto":em,direction:ek,breakpoints:n,isSneakPeekCenter:a,slidesOffsetBefore:n?.[i]?.slidesOffsetBefore,thumbs:{slideThumbActiveClass:"gem-slider-item-active"},loopPreventsSliding:!1,autoplay:{delay:(g?.autoplayTimeout??1)*1e3,pauseOnMouseEnter:g?.pauseOnHover,stopOnLastSlide:!e}}},[P?.playSpeed,g?.rtl,P?.spacing,q,z,em,g?.sneakPeakType,g?.pauseOnHover,g?.autoplayTimeout,c?.width,j]),eb=i(e=>{let t=c&&c.params?.slidesPerView,r=t?c?.slidesPerViewDynamic():1;if(e<=1)return!1;let i="auto"===eh.slidesPerView?r:eh.slidesPerView;if(!Q||e<Number(i)||!C)return!1;let n=u(g?.sneakPeak,q,!1),a=n&&"center"===u(g?.sneakPeakType,q),l=Number.isNaN(Number(i))?1:Math.ceil(Number(i));a&&l%2==0&&(l+=1);let s=a?Math.max(1,Math.ceil(l/2)):1;return e<l+s},[c,eh.slidesPerView,Q,C,g?.sneakPeak,g?.sneakPeakType,q]);a(()=>{let e=`[data-id="${b?.uid}"]`;W({event:"gp:change-next-slide",selector:e,elementRef:A},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};ed({element:A.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-previous-slide",selector:e,elementRef:A},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};ep({element:A.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-image-step",selector:e,elementRef:A},e=>{let{data:t,isRollback:r,uniqueStorageKey:i}=e||{};ef({element:A.current,data:t,isRollback:r,key:i})}),W({event:"gp:change-index-slide",selector:e},t=>{let r=document.querySelector(e),{data:i,isRollback:n,uniqueStorageKey:a}=t||{};ef({element:r,data:i,isRollback:n,key:a})})},[]),a(()=>{F(k)},[k]);let ey=e=>{"next"===e?c?.slideNext():c?.slidePrev(),N&&(h&&clearTimeout(h),h=setTimeout(()=>N&&N(),500))};return a(()=>{if("number"==typeof y){if(D.current=y,c?.params?.loop){c?.slideToLoop(y);return}c?.slideTo(y)}},[c,y,w]),a(()=>{if(!c)return;let e=()=>{F(c.slides.length)},t=()=>{S&&S(c.realIndex)},r=()=>{R(c.realIndex),L(c?.translate===0),I(c?.translate<=c?.maxTranslate())};return c.on("transitionEnd",r),c.on("slideChange",e),c.on("slideChangeTransitionStart",t),()=>{c?.off("slideChange",e),c?.off("slideChangeTransitionStart",t),c?.off("transitionEnd",r)}},[eh.loop,c]),a(()=>{c?.wrapperEl&&(c.wrapperEl.style.transitionTimingFunction=g?.animationMode??"ease")},[c,g?.animationMode]),a(()=>{if(c&&c.autoplay){let e="edit"===U?!!$&&g?.runPreview&&g?.autoplay:g?.autoplay;e?c.autoplay.start():c.autoplay.stop()}},[c,g?.autoplay,U,$,g?.runPreview]),a(()=>{let e=e=>{if(b?.uid!==e?.detail.componentUid)return;let t=e?.detail.index||0;c?.slideToLoop(t)};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[c,b?.uid]),a(()=>{if(!c)return;let e=c.el;e?.classList?.remove("swiper-horizontal","swiper-vertical");let t=u(g?.vertical,q)?"swiper-vertical":"swiper-horizontal";e?.classList?.add(t),c?.slides?.forEach(e=>{e.style.width="",e.style.height=""}),c?.update()},[q,g?.vertical,c,c?.params]),a(()=>{if(!c||!v)return;let e=()=>{let e=c?.slides?.slice(0,k)||[],t=Number(eh?.spaceBetween||0),r=e.reduce((e,t)=>e+t.offsetHeight,0)+t*(e.length-1),i=e.reduce((e,t)=>e+t.offsetWidth,0)+t*(e.length-1),n=c.params?.direction==="horizontal"?i>(c.width||0):r>(c.height||0);O(n)};return e(),c.on("resize",e),c.on("update",e),c.on("slidesLengthChange",e),c.on("orientationchange",e),()=>{c.off("resize",e),c.off("update",e),c.off("slidesLengthChange",e),c.off("orientationchange",e)}},[c]),{isInfinity:Q,sliderSettings:eh,totalSlideItem:j,currentSlide:H,localRef:A,isRenderDots:ec,showNavigation:ee,isScrollToStart:E,isScrollToEnd:M,handleDotClick:el,getItemsPerPage:ei,handleNextAndPrevSlide:ey,dispatchEventSelectSlide:es,getNumberOfFullWidthShow:er,setCurrentSlide:R,shouldDuplicateSlides:eb,setIsScrollToStart:L,setIsScrollToEnd:I,isHideNavigation:_}};export{useCarousel};
1
+ import{useKeenSlider as e}from"@gem-sdk/keen-slider/react";import{useState as t,useRef as r,useCallback as a,useMemo as n,useImperativeHandle as l,useEffect as o}from"react";import{useCurrentDevice as i,useEditorMode as s,useInteraction as u,DEVICES as d,getResponsiveValueByScreen as m}from"@gem-sdk/core";import{getData as c}from"../components/root/common/helpers.js";import p from"./useTrackPreviewPause.js";import{AutoPlayPlugin as k}from"../plugins/auto-play.js";import{CAROUSEL_ANIMATION as f,DEFAULT_PLAY_SPEED as g,AnimationPlugin as v}from"../plugins/animation.js";import{MutationPlugin as b}from"../plugins/mutation.js";import{FixSliderMoveBackwards as y}from"../plugins/fix-slider-move-backward.js";let useCarousel=(h,E)=>{let S;let{builderProps:x,moveToIdx:T,styles:P,setting:w,isHiddenArrowWhenDisabled:A=!0,elmRef:I,onChangeActive:N,onLoaded:O,onUpdated:_,onCreated:U,onClickArrow:M,onHandleChangeSlideByInteraction:j}=h,{loop:C,navigationEnable:F={desktop:!0},navigationStyle:D}=w??{},[$,L]=t(!1),[R,V]=t(0),[W,q]=t(0),[H,z]=t(w?.defaultCurrentSlider??0),[B,G]=t(!1),[J,K]=t(),{sliderSelector:Q}=c(h),X=r(),Y=r(!1),Z=r(T??0),ee=i(),et=s(),{isFirstPreviewClicked:er}=p(w?.runPreview),{onListener:ea,saveToElementInteractionData:en,getInteractionPreviousData:el,trigger:eo}=u(),ei=a(()=>{if(!w?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=m(w?.slidesToShow,t);e[t]=r?"auto"===r?4:Math.floor(r):0}),e},[w?.slidesToShow]),es=a(()=>{if(!w?.slidesToShow)return null;let e={};return d.forEach(t=>{let r=m(w?.slidesToShow,t);e[t]=r?"auto"===r?4:r:0}),e},[w?.slidesToShow]),eu=n(()=>{let e=es();if(e)return e;let t={};return d.forEach(e=>{let r=m(w?.sneakPeak,e),a=r?"center"===m(w?.sneakPeakType,e)?m(w?.sneakPeakOffsetCenter,e)??0:m(w?.sneakPeakOffsetForward,e)??0:0,n="center"===m(w?.sneakPeakType,e)?-2:-1,l=m(w?.itemNumber,e);"object"==typeof a&&(a=0),t[e]="number"==typeof l?l+a/100*n:"auto"}),t},[es,w?.itemNumber,w?.sneakPeak,w?.sneakPeakOffsetCenter,w?.sneakPeakOffsetForward,w?.sneakPeakType]),ed=n(()=>{let e=ei();return e||w?.itemNumber},[ei,w?.itemNumber]),em=a(e=>{let t="center"===m(w?.sneakPeakType,e)?2:1;return"number"==typeof m(ed,e,4)?m(ed,e,4)-t:void 0},[w?.sneakPeakType,ed]),ec=n(()=>e=>{let t="center"===m(w?.sneakPeakType,e)&&m(w?.sneakPeak,e)?"center":"auto";return t},[w?.sneakPeak,w?.sneakPeakType]),ep=n(()=>e=>{if("center"!==ec(e))return{};let t=w?.childItem?.length||1,r=Number(m(eu,e,1))||2;w?.sneakPeak?.[ee]&&(r=Math.trunc(Number(em(e))));let a=t-r,n=m(C,e,!1);return n?{max:void 0}:{max:a}},[w?.childItem,eu,ec,C,ee,w?.sneakPeak,em]),ek=()=>{let e=document.querySelectorAll(`.${Q}`);e&&e.forEach(e=>{e?.style.removeProperty("--cg"),e?.style.removeProperty("--cg-tablet"),e?.style.removeProperty("--cg-mobile"),e?.style.removeProperty("--rg"),e?.style.removeProperty("--rg-tablet"),e?.style.removeProperty("--rg-mobile")})},[ef,eg]=e({selector:`.gem-slider-item-${x?.uid}`,optionsChanged:e=>{e?.track?.details?.maxIdx===1/0?L(!0):L(!1),V(Math.ceil(e.slides.length)),q(e?.track?.details?.maxIdx)},defaultAnimation:{duration:P?.playSpeed===0?1:P?.playSpeed??500,easing:e=>{switch(w?.animationMode){case f.EASE_IN.value:return f.EASE_IN.formula(e);case f.EASE_OUT.value:return f.EASE_OUT.formula(e);case f.EASE_IN_OUT.value:return f.EASE_IN_OUT.formula(e);default:return f.DEFAULT.formula(e)}}},dragSpeed:2,renderMode:"precision",mode:"snap",loop:m(C,"desktop",!1),vertical:m(w?.vertical,"desktop"),rtl:w?.rtl,breakpoints:{"(max-width: 9999px)":{slides:{perView:m(eu,"desktop",4)??1,spacing:m(P?.spacing,"desktop"),origin:ec("desktop"),numberOfFullWidthShow:em("desktop")},loop:m(C,"desktop",!1),vertical:m(w?.vertical,"desktop"),drag:m("edit"==et?{desktop:!1}:w?.enableDrag,"desktop"),initial:T??0,range:ep("desktop")},"(max-width: 1024px)":{slides:{perView:m(eu,"tablet",4),spacing:m(P?.spacing,"tablet"),origin:ec("tablet"),numberOfFullWidthShow:em("tablet")},loop:m(C,"tablet",!1),vertical:m(w?.vertical,"tablet"),drag:m("edit"==et?{tablet:!1}:w?.enableDrag,"tablet"),initial:T||0,range:ep("tablet")},"(max-width: 767px)":{slides:{perView:m(eu,"mobile",4),spacing:m(P?.spacing,"mobile"),origin:ec("mobile"),numberOfFullWidthShow:em("mobile")},loop:m(C,"mobile",!1),vertical:m(w?.vertical,"mobile"),drag:m("edit"==et?{mobile:!1}:w?.enableDrag,"mobile"),initial:T??0,range:ep("mobile")}},slideChanged:e=>{z(e.track.details.rel),Z.current=e.track.details.rel,N&&N(e.track.details.rel)},created:e=>{G(!0),K(e),z(e.track?.details?.rel??0),U&&U(e),ek()},updated:e=>{O&&O(!0),_&&_(e)},autoplay:{delay:(w?.autoplayTimeout??1)*1e3,pauseOnHover:w?.pauseOnHover,enable:"edit"===et?!!er&&w?.runPreview&&w?.autoplay:w?.autoplay},animation:{type:w?.animationMode,speed:P?.playSpeed===0?1:P?.playSpeed??500},dragStarted:e=>{e.container.style.cursor="grabbing"},dragEnded:e=>{e.container.style.cursor="auto"},animationStarted:e=>{Y.current?e.options.defaultAnimation={duration:g,easing:e=>f.DEFAULT.formula(e)}:Y.current=!0},animationEnded:e=>{Y.current=!1,e.options.defaultAnimation={duration:P?.playSpeed===0?1:P?.playSpeed??500,easing(e){switch(w?.animationMode){case f.EASE_IN.value:return f.EASE_IN.formula(e);case f.EASE_OUT.value:return f.EASE_OUT.formula(e);case f.EASE_IN_OUT.value:return f.EASE_IN_OUT.formula(e);default:return f.EASE_IN.formula(e)}}}}},[b,k,v,y]),ev=n(()=>B&&!!R&&eg.current&&m(w?.dot,ee),[eg,B,w?.dot,R,ee]),eb=n(()=>{let e=m(F,ee),t=m(D,ee);return B&&eg.current&&e&&"none"!==t},[ee,eg,B,F,D]),ey=()=>{let e="auto"===m(eu,ee,1)?1:m(eu,ee,1);return e??1},eh=e=>{let t=e*ey();return t>=R-ey()&&(t=R-ey()),t},eE=(e,t)=>{let r=w?.sneakPeak?.[ee]?e:t?e:eh(e);eg.current?.moveToIdx(r),Z.current=r},eS=e=>{"next"===e?eg.current?.next():eg.current?.prev(),M&&(S&&clearTimeout(S),S=setTimeout(()=>M&&M(),500))};l(E,()=>({nextSlideInteraction:ew,previousSlideInteraction:eA,moveToSlideInteraction:eI}));let ex=e=>{eo({event:"gp:rollback:select-slide",selector:`[data-id="${x?.uid}"]`,element:I?.current}),eo({event:"gp:select-slide",selector:`[data-id="${x?.uid}"]`,data:e,element:I?.current})},eT=e=>{eg.current?.moveToIdx(e),j&&j(e)},eP=(e,t)=>{let{key:r,data:a,isRollback:n,element:l}=e,o=Math.max(eg.current?.track?.details?.rel??0,0);if(n&&void 0===a)return;if(n){if("specific"===t){let{previousData:e}=el(l,r);eT(Number(e))}else{let e="next"===t?o-1:o+1;eT(e)}return}let i="specific"===t?Math.max(Z.current,0):o;en(l,r,i.toString());let s="specific"===t?Number(a):"next"===t?o+1:o-1;eT(s)},ew=e=>{eP(e,"next")},eA=e=>{eP(e,"previous")},eI=e=>{eP(e,"specific")};return o(()=>{let e=`[data-id="${x?.uid}"]`;ea({event:"gp:change-next-slide",selector:e,elementRef:X},e=>{let{data:t,isRollback:r,uniqueStorageKey:a}=e||{};ew({element:X.current,data:t,isRollback:r,key:a})}),ea({event:"gp:change-previous-slide",selector:e,elementRef:X},e=>{let{data:t,isRollback:r,uniqueStorageKey:a}=e||{};eA({element:X.current,data:t,isRollback:r,key:a})}),ea({event:"gp:change-image-step",selector:e,elementRef:X},e=>{let{data:t,isRollback:r,uniqueStorageKey:a}=e||{};eI({element:X.current,data:t,isRollback:r,key:a})}),ea({event:"gp:change-index-slide",selector:e},t=>{let r=document.querySelector(e),{data:a,isRollback:n,uniqueStorageKey:l}=t||{};eI({element:r,data:a,isRollback:n,key:l})})},[]),o(()=>{eg.current?.update(eg.current?.options)},[eg,w]),o(()=>{let e=e=>{if(x?.uid!==e?.detail.componentUid)return;let t=eg?.current?.track.details.maxIdx,r=e?.detail.index||0;t&&r>t&&(r=t),eg.current?.moveToIdx(r),Z.current=r};return window.addEventListener("move-to-idx",e),()=>window.removeEventListener("move-to-idx",e)},[eg,x?.uid]),o(()=>{"number"==typeof T&&(Z.current=T,eg?.current?.moveToIdx(T))},[eg,T,A]),{isInfinity:$,totalSlideItem:R,slideMaxIndex:W,currentSlide:H,loaded:B,slider:J,previousIndex:Z,localRef:X,instanceRef:eg,showNavigation:eb,isRenderDots:ev,sliderRef:ef,handleDotClick:eE,getItemsPerPage:ey,handleNextAndPrevSlide:eS,dispatchEventSelectSlide:ex,getNumberOfFullWidthShow:em}};export{useCarousel};
@@ -1 +1 @@
1
- import{useCurrentDevice as t,getResponsiveValueByScreen as e}from"@gem-sdk/core";let useDotsSetting=r=>{let{loop:o,enabledSneakPeak:s,slideItemsPerPage:i=1,currentSlide:l=1,totalSlideItem:n,slideDuplicated:u}=r,g=t(),m=e(o,g,!1),c=t=>{let e=u&&n,r=e?l-n/2:l;return s||m?t===l||t===r:t===Math.ceil(l/i)};return{isLoop:m,checkIsActive:c}};export{useDotsSetting};
1
+ import{useCurrentDevice as t,getResponsiveValueByScreen as e}from"@gem-sdk/core";let useDotsSetting=o=>{let{loop:r,enabledSneakPeak:s,slideItemsPerPage:i=1,currentSlide:g=1}=o,l=t(),m=e(r,l,!1),n=t=>s?t===g:t===(m?g:Math.ceil(g/i));return{isLoop:m,checkIsActive:n}};export{useDotsSetting};
@@ -1 +1 @@
1
- import"react/jsx-runtime";import"react";import"@gem-sdk/core";import"@gem-sdk/system";import"next/link";import t from"./settings/Carousel.js";import e from"./settings/CarouselItem.js";let carouselSetting={Carousel:t,CarouselItem:e};export{carouselSetting};
1
+ import"react/jsx-runtime";import"@gem-sdk/core";import"react";import"@gem-sdk/system";import"next/link";import"@gem-sdk/keen-slider/react";import e from"./settings/Carousel.js";import t from"./settings/CarouselItem.js";let carouselSetting={Carousel:e,CarouselItem:t};export{carouselSetting};
@@ -1 +1 @@
1
- let CAROUSEL_ANIMATION={EASE_IN:{value:"ease-in",formula:a=>a*a*a},EASE_OUT:{value:"ease-out",formula:a=>1-Math.pow(1-a,3)},EASE_IN_OUT:{value:"ease-in-out",formula:a=>a<.5?4*a*a*a:1-Math.pow(-2*a+2,3)/2},DEFAULT:{value:"default",formula:a=>1+--a*a*a*a*a}};export{CAROUSEL_ANIMATION};
1
+ let CAROUSEL_ANIMATION={EASE_IN:{value:"ease-in",formula:i=>i*i*i},EASE_OUT:{value:"ease-out",formula:i=>1-Math.pow(1-i,3)},EASE_IN_OUT:{value:"ease-in-out",formula:i=>i<.5?4*i*i*i:1-Math.pow(-2*i+2,3)/2},DEFAULT:{value:"default",formula:i=>1+--i*i*i*i*i}},DEFAULT_PLAY_SPEED=500,AnimationPlugin=i=>{let o;let a=i.options.animation??{};i.on("beforeOptionsChanged",n=>{clearTimeout(o),o=setTimeout(()=>{n.options.animation&&JSON.stringify(n.options.animation)!==JSON.stringify(a)&&(a=n.options.animation,i.update(n.options))},200)})};export{AnimationPlugin,CAROUSEL_ANIMATION,DEFAULT_PLAY_SPEED,AnimationPlugin as default};
@@ -0,0 +1 @@
1
+ let AutoPlayPlugin=e=>{let n,o=e.options.autoplay??{},t=!1,r=!1,a=null,i=e?.container?.closest('[data-component-type="component"]')?.querySelector(".carousel-dots");function s(e){e.forEach(e=>{(r=e.isIntersecting)?v():c()})}function u(){!a&&e.container&&(a=new IntersectionObserver(s,{root:null,threshold:0})).observe(e.container)}function c(){clearTimeout(n)}function v(){c(),n=setTimeout(()=>{!t&&o.enable&&r&&e.next()},o.delay??2e3)}function d(){t=!0,c()}function l(){t=!1,v()}e.on("created",()=>{i?.addEventListener("mouseover",d),i?.addEventListener("mouseout",l),o.pauseOnHover&&e.container&&(e.container.addEventListener("mouseover",d),e.container.addEventListener("mouseout",l)),o.enable&&(u(),v())}),e.on("dragStarted",c),e.on("animationEnded",v),e.on("updated",e=>{(o=e.options?.autoplay??{}).enable&&(u(),v())}),e.on("optionsChanged",n=>{n.options.autoplay?.pauseOnHover!==o.pauseOnHover&&e.container&&(n.options.autoplay?.pauseOnHover?(e.container.addEventListener("mouseover",d),e.container.addEventListener("mouseout",l)):(e.container.removeEventListener("mouseover",d),e.container.removeEventListener("mouseout",l),t=!1)),(o=n.options.autoplay??{}).enable&&(u(),v())}),e.on("destroyed",()=>{e.container&&(e.container.removeEventListener("mouseover",d),e.container.removeEventListener("mouseout",l)),i?.removeEventListener("mouseover",d),i?.removeEventListener("mouseout",l),c(),a&&(a.disconnect(),a=null)})};export{AutoPlayPlugin};
@@ -0,0 +1 @@
1
+ let FixSliderMoveBackwards=e=>{e.on("animationEnded",e=>{let{rel:a,progress:d}=e.track.details;0===a&&0!==d&&e.moveToIdx(0,!0,{duration:0})})};export{FixSliderMoveBackwards};
@@ -0,0 +1 @@
1
+ let MutationPlugin=e=>{let t=new MutationObserver(t=>{t.forEach(()=>{e.update()})}),i={childList:!0},n=new ResizeObserver(function(){o(e),e.update()}),o=e=>{if(e.options.vertical){r(e);return}s(e)},r=e=>{e.slides.forEach(e=>{e.style.maxWidth="",e.style.minWidth=""})},s=e=>{e.slides.forEach(e=>{e.style.maxHeight="",e.style.minHeight=""})};e.on("created",()=>{n.observe(e.container),t.observe(e.container,i)}),e.on("destroyed",()=>{n.unobserve(e.container),t.disconnect()})};export{MutationPlugin};
@@ -1,4 +1,4 @@
1
- let CarouselPreset=[{id:"carousel",name:{en:"Carousel"},icon:{desktop:`
1
+ let CarouselPreset=[{id:"carousel-outdated",name:{en:"Carousel"},icon:{desktop:`
2
2
  <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
3
3
  <rect width="96" height="48" rx="3" fill="#424242"/>
4
4
  <path fill-rule="evenodd" clip-rule="evenodd" d="M13.8828 18.1302C14.0391 18.3037 14.0391 18.5851 13.8828 18.7587L10.9657 22L13.8828 25.2413C14.0391 25.4149 14.0391 25.6963 13.8828 25.8698C13.7266 26.0434 13.4734 26.0434 13.3172 25.8698L10.1172 22.3143C9.96095 22.1407 9.96095 21.8593 10.1172 21.6857L13.3172 18.1302C13.4734 17.9566 13.7266 17.9566 13.8828 18.1302Z" fill="#F9F9F9"/>
@@ -7,7 +7,7 @@ let CarouselPreset=[{id:"carousel",name:{en:"Carousel"},icon:{desktop:`
7
7
  <circle cx="48" cy="38" r="2" fill="#757575"/>
8
8
  <circle cx="56" cy="38" r="2" fill="#757575"/>
9
9
  </svg>
10
- `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2","Item 3","Item 4"],itemNumber:{desktop:1,mobile:1}},styles:{sizeSetting:{desktop:{width:"100%"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-4-col",name:{en:"Carousel"},icon:{desktop:`
10
+ `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2","Item 3","Item 4"],itemNumber:{desktop:1,mobile:1}},styles:{sizeSetting:{desktop:{width:"100%"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-4-col-outdated",name:{en:"Carousel"},icon:{desktop:`
11
11
  <svg width="96" height="48" viewBox="0 0 96 48" fill="none" xmlns="http://www.w3.org/2000/svg">
12
12
  <rect width="21" height="48" rx="3" fill="#424242"/>
13
13
  <rect x="25" width="21" height="48" rx="3" fill="#424242"/>
@@ -16,7 +16,7 @@ let CarouselPreset=[{id:"carousel",name:{en:"Carousel"},icon:{desktop:`
16
16
  <path fill-rule="evenodd" clip-rule="evenodd" d="M86.1172 20.1302C86.2734 19.9566 86.5266 19.9566 86.6828 20.1302L89.8828 23.6857C90.0391 23.8593 90.0391 24.1407 89.8828 24.3143L86.6828 27.8698C86.5266 28.0434 86.2734 28.0434 86.1172 27.8698C85.9609 27.6963 85.9609 27.4149 86.1172 27.2413L89.0343 24L86.1172 20.7587C85.9609 20.5851 85.9609 20.3037 86.1172 20.1302Z" fill="#F9F9F9"/>
17
17
  <path fill-rule="evenodd" clip-rule="evenodd" d="M9.88284 20.1302C10.0391 20.3037 10.0391 20.5851 9.88284 20.7587L6.96569 24L9.88284 27.2413C10.0391 27.4149 10.0391 27.6963 9.88284 27.8698C9.72663 28.0434 9.47337 28.0434 9.31716 27.8698L6.11716 24.3143C5.96095 24.1407 5.96095 23.8593 6.11716 23.6857L9.31716 20.1302C9.47337 19.9566 9.72663 19.9566 9.88284 20.1302Z" fill="#F9F9F9"/>
18
18
  </svg>
19
- `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2","Item 3","Item 4"],itemNumber:{desktop:4,tablet:2,mobile:2},navigationStyle:{desktop:"outside"},dotStyle:{desktop:"outside"}},styles:{fullWidth:{desktop:!1,tablet:!1,mobile:!1},sizeSetting:{desktop:{width:"default"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-sneak-1-side",name:{en:"Carousel"},icon:{desktop:`
19
+ `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2","Item 3","Item 4"],itemNumber:{desktop:4,tablet:2,mobile:2},navigationStyle:{desktop:"outside"},dotStyle:{desktop:"outside"}},styles:{fullWidth:{desktop:!1,tablet:!1,mobile:!1},sizeSetting:{desktop:{width:"default"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-sneak-1-side-outdated",name:{en:"Carousel"},icon:{desktop:`
20
20
  <svg
21
21
  width="118"
22
22
  height="52"
@@ -56,7 +56,7 @@ let CarouselPreset=[{id:"carousel",name:{en:"Carousel"},icon:{desktop:`
56
56
  </linearGradient>
57
57
  </defs>
58
58
  </svg>
59
- `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2"],itemNumber:{desktop:2,tablet:2,mobile:2},sneakPeak:{desktop:!0},sneakPeakType:{desktop:"forward"},dotStyle:{desktop:"outside"}},styles:{fullWidth:{desktop:!1,tablet:!1,mobile:!1},sizeSetting:{desktop:{width:"default"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-sneak-2-side",name:{en:"Carousel"},icon:{desktop:`
59
+ `},components:[{tag:"Carousel",label:"Carousel",settings:{childItem:["Item 1","Item 2"],itemNumber:{desktop:2,tablet:2,mobile:2},sneakPeak:{desktop:!0},sneakPeakType:{desktop:"forward"},dotStyle:{desktop:"outside"}},styles:{fullWidth:{desktop:!1,tablet:!1,mobile:!1},sizeSetting:{desktop:{width:"default"}}},advanced:{"spacing-setting":{desktop:{margin:{bottom:"var(--g-s-l)"}}}},childrens:[{tag:"CarouselItem",label:"Carousel Item",childrens:[]},{tag:"CarouselItem",label:"Carousel Item",childrens:[]}]}]},{id:"carousel-sneak-2-side-outdated",name:{en:"Carousel"},icon:{desktop:`
60
60
  <svg
61
61
  width="118"
62
62
  height="52"
@@ -1,3 +1,3 @@
1
1
  import{CAROUSEL_ANIMATION as e}from"../../plugins/animation.js";let CarouselSettingsV2Setting=[{id:"itemNumber",label:"",type:"carousel-layout-selector",devices:{desktop:{default:4}}},{id:"sneakPeak",label:"Sneak peek",type:"sneak-peak",devices:{desktop:{default:!1}}},{id:"sneakPeakType",label:"",type:"sneak-peak-type",itemPerRow:2,iconViewBox:"0 0 118 52",enableItemBackground:!0,enableTooltip:!0,options:[{value:"forward",type:"sneak-peak-offset"},{value:"center",type:"sneak-peak-offset"}],devices:{desktop:{default:"forward"}}},{id:"sneakPeakOffsetForward",label:"Ratio",type:"input:slider",min:1,max:100,showDefaultUnit:!0,isNumber:!0,units:["%"],devices:{desktop:{default:50}}},{id:"sneakPeakOffsetCenter",label:"Ratio",type:"input:slider",min:1,max:100,showDefaultUnit:!0,isNumber:!0,units:["%"],devices:{desktop:{default:50}}},{id:"childItem",label:"Item management",type:"child-item",default:["Item 1","Item 2","Item 3","Item 4","Item 5","Item 6"]},{id:"vertical",label:"Vertical layout",type:"toggle",devices:{desktop:{default:!1}}},{id:"controlOverContent",label:"Next & previous position",type:"segment",options:[{label:"Inside",value:!0},{label:"Outside",value:!1}],devices:{desktop:{default:!0}}},{id:"dot",label:"Dots",type:"toggle",devices:{desktop:{default:!0}}},{id:"dotStyle",label:"Dot style",type:"option:illustration",iconViewBox:"0 0 77 48",enableItemBackground:!0,enableTooltip:!0,options:[{label:"Inside",value:"inside",type:"carousel-dot",svgName:"gp-carousel-dot-inside"},{label:"Outside",value:"outside",type:"carousel-dot",svgName:"gp-carousel-dot-outside"}],devices:{desktop:{default:"inside"}}},{id:"dotSize",label:"Dots size",type:"input:stepper",min:1,devices:{desktop:{default:12}}},{id:"dotGapToCarousel",label:"Gap to carousel",type:"input:slider",min:0,max:120,ignoreMax:!0,devices:{desktop:{default:16}}},{id:"dotColor",label:"Dot color",type:"color-picker-v2",devices:{desktop:{default:"bg-1"}},compoDefaultValue:{desktop:{default:"bg-1"}}},{id:"dotActiveColor",label:"Dot color active",type:"color-picker-v2",devices:{desktop:{default:"line-3"}},compoDefaultValue:{desktop:{default:"line-3"}}},{id:"navigationEnable",type:"toggle",devices:{desktop:{default:!0}}},{id:"navigationStyle",type:"option:illustration",iconViewBox:"0 0 77 48",enableItemBackground:!0,label:"Navigation style",enableTooltip:!0,options:[{label:"Outside",value:"outside",type:"slide-control",svgName:"gp-slide-control-outside"},{label:"Inside",value:"inside",type:"slide-control",svgName:"gp-slide-control-inside"}],devices:{desktop:{default:"inside"}}},{id:"arrowCustom",type:"icon",isHideClear:!0,default:`<svg height="20" width="20" data-name="caret-right-regular" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508418455613473128">
2
2
  <path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path></svg>
3
- `},{id:"arrowCustomColor",label:"Icon color",type:"color-picker-v2",default:"#121212",compoDefaultValue:"#121212"},{id:"arrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:24}}},{id:"arrowButtonSize",type:"size-setting",label:"",devices:{desktop:{default:{shapeValue:"1/1",shapeLinked:!0,width:void 0,height:void 0,padding:{linked:!0,type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px"}}}},lockShapeValue:!0,hiddenShowMore:!0,hiddenSettings:["gap","proportion","padding"],settingConfig:{width:{name:"Width",units:["px"],displayOptions:["small","medium","large"],sizeConfig:{small:"24px",medium:"32px",large:"40px"}},height:{name:"Height",units:["px"],displayOptions:["small","medium","large","full-height"],sizeConfig:{small:"24px",medium:"32px",large:"40px",full:"100%"}},padding:{paddingConfig:{small:{vertical:"2px",horizontal:"2px"},medium:{vertical:"4px",horizontal:"4px"},large:{vertical:"8px",horizontal:"8px"}}}},sizePaddingInput:"small"},{id:"arrowBackgroundColor",label:"Background Color",type:"color-picker-v2",default:"transparent",compoDefaultValue:"bg-2"},{id:"arrowBorder",type:"border-v2",label:"Border",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!0}}},compoDefaultValue:{desktop:{default:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}}},{id:"arrowShadow",type:"shadow-v2",devices:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}}}},{id:"roundedArrow",type:"corner-v2",label:"Border Radius",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}}}},{id:"arrowGapToEachSide",label:"Gap to each side",type:"input:slider",min:0,max:120,ignoreMax:!0,default:"16"},{id:"showWhenHover",label:"Only show when hover",type:"toggle",default:!1},{id:"rtl",label:"Direction",type:"option:value",options:[{value:!1,iconName:"polaris-arrow-left",label:"Right to left"},{value:!0,label:"Left to right",iconName:"polaris-arrow-right"}],default:!1},{id:"autoplay",label:"Autoplay",type:"toggle",default:!1},{id:"autoplayTimeout",label:"Time out",type:"input:slider",min:1,max:4,step:.1,default:2,units:["s"],isNumber:!0,showDefaultUnit:!0,ignoreMax:!0},{id:"pauseOnHover",label:"Pause On Hover",type:"toggle",default:!0,hide:!0},{id:"runPreview",type:"play-pause",hideLabel:!0,default:!1},{id:"enableDrag",label:"Drag to scroll",type:"toggle",devices:{desktop:{default:!0}}},{id:"loop",label:"Infinity loop",type:"toggle",devices:{desktop:{default:!0}}},{id:"animationMode",label:"Animation",type:"select",default:e.EASE_IN.value,options:[{label:"Ease in",value:e.EASE_IN.value},{label:"Ease out",value:e.EASE_OUT.value},{label:"Ease in & out",value:e.EASE_IN_OUT.value}]},{id:"background",type:"background-media-combo",devices:{desktop:{default:{type:"color",color:void 0,image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"bg-2",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"label",label:"Option Label",type:"toggle",default:!0}],CarouselSettingsV2Style=[{id:"backgroundColor",type:"color-picker-v2",devices:{desktop:{default:void 0}},compoDefaultValue:{desktop:{default:"#DDDDDD"}},enableGradient:!0},{id:"backgroundImage",type:"background-image",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/background_settings.jpg",width:1200,height:480,hiddenSEO:!0},repeat:"no-repeat",size:"cover",position:{x:50,y:50},attachment:"scroll",preload:!1}}}},{id:"playSpeed",label:"Slide speed",type:"input:slider",useOnlyUnitInit:!0,min:100,max:5e3,step:50,units:["ms"],showDefaultUnit:!0,isNumber:!0,default:500},{id:"sizeSetting",type:"size-setting",label:"",devices:{desktop:{default:{shapeLinked:!1,width:"default",height:"auto"}}},settingConfig:{width:{displayOptions:["full","default"],name:"Width"},height:{displayOptions:["auto","small","medium","large"],name:"Height",sizeConfig:{small:"300px",medium:"500px",large:"700px"}}},hiddenSettings:["padding","gap","shape"]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"center"}}},{id:"borderContent",type:"border-v2",label:"Border",default:{borderType:"none",border:"none",width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"line-3",isCustom:!0},compoDefaultValue:{width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"line-3",border:"solid"}},{id:"roundedContent",type:"corner-v2",label:"Corner",default:{radiusType:"none"}},{id:"hasActiveShadow",type:"toggle",label:"Enable Button Shadow",default:!1},{id:"carouselShadow",type:"shadow-v2",label:"Button Shadow",default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1},compoDefaultValue:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}},{id:"spacing",label:"Items spacing",type:"input:slider",fallbackValue:"0",min:0,max:80,ignoreMax:!0,devices:{desktop:{default:16}}},{id:"itemPadding",type:"size-setting",devices:{desktop:{default:{padding:{}}}},hiddenSettings:["shape","gap","width","height"],hiddenShowMore:!0}],CarouselSettingsV2=[{id:"setting",controls:CarouselSettingsV2Setting},{id:"style",controls:CarouselSettingsV2Style}];export{CarouselSettingsV2,CarouselSettingsV2Setting,CarouselSettingsV2Style};
3
+ `},{id:"arrowCustomColor",label:"Icon color",type:"color-picker-v2",default:"#121212",compoDefaultValue:"#121212"},{id:"arrowIconSize",label:"Number per show",type:"input:stepper",min:1,devices:{desktop:{default:24}}},{id:"arrowButtonSize",type:"size-setting",label:"",devices:{desktop:{default:{shapeValue:"1/1",shapeLinked:!0,width:void 0,height:void 0,padding:{linked:!0,type:"custom",top:"16px",bottom:"16px",left:"16px",right:"16px"}}}},lockShapeValue:!0,hiddenShowMore:!0,hiddenSettings:["gap","proportion","padding"],settingConfig:{width:{name:"Width",units:["px"],displayOptions:["small","medium","large"],sizeConfig:{small:"24px",medium:"32px",large:"40px"}},height:{name:"Height",units:["px"],displayOptions:["small","medium","large","full-height"],sizeConfig:{small:"24px",medium:"32px",large:"40px",full:"100%"}},padding:{paddingConfig:{small:{vertical:"2px",horizontal:"2px"},medium:{vertical:"4px",horizontal:"4px"},large:{vertical:"8px",horizontal:"8px"}}}},sizePaddingInput:"small"},{id:"arrowBackgroundColor",label:"Background Color",type:"color-picker-v2",default:"transparent",compoDefaultValue:"bg-2"},{id:"arrowBorder",type:"border-v2",label:"Border",devices:{desktop:{default:{borderType:"none",border:"none",borderWidth:"1px",width:"1px 1px 1px 1px",isCustom:!0}}},compoDefaultValue:{desktop:{default:{color:"line-3",border:"solid",width:"1px",borderWidth:"1px"}}}},{id:"arrowShadow",type:"shadow-v2",devices:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1}}},compoDefaultValue:{desktop:{default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}}}},{id:"roundedArrow",type:"corner-v2",label:"Border Radius",devices:{desktop:{default:{btrr:"0px",bblr:"0px",bbrr:"0px",btlr:"0px",radiusType:"none"}}},compoDefaultValue:{desktop:{default:{btrr:"9999px",bblr:"9999px",bbrr:"9999px",btlr:"9999px",radiusType:"circle"}}}},{id:"arrowGapToEachSide",label:"Gap to each side",type:"input:slider",min:0,max:120,ignoreMax:!0,default:"16"},{id:"showWhenHover",label:"Only show when hover",type:"toggle",default:!1},{id:"rtl",label:"Direction",type:"option:value",options:[{value:!1,iconName:"polaris-arrow-left",label:"Right to left"},{value:!0,label:"Left to right",iconName:"polaris-arrow-right"}],default:!1},{id:"autoplay",label:"Autoplay",type:"toggle",default:!1},{id:"autoplayTimeout",label:"Time out",type:"input:slider",min:1,max:4,step:.1,default:2,units:["s"],isNumber:!0,showDefaultUnit:!0,ignoreMax:!0},{id:"pauseOnHover",label:"Pause On Hover",type:"toggle",default:!0,hide:!0},{id:"runPreview",type:"play-pause",hideLabel:!0,default:!1},{id:"enableDrag",label:"Drag to scroll",type:"toggle",devices:{desktop:{default:!0}}},{id:"loop",label:"Infinity loop",type:"toggle",devices:{desktop:{default:!0}}},{id:"animationMode",label:"Animation",type:"select",default:e.EASE_IN.value,options:[{label:"Ease in",value:e.EASE_IN.value},{label:"Ease out",value:e.EASE_OUT.value},{label:"Ease in & out",value:e.EASE_IN_OUT.value}]},{id:"background",type:"background-media-combo",devices:{desktop:{default:{type:"color",color:void 0,image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}},compoDefaultValue:{desktop:{default:{type:"color",color:"bg-2",image:{src:"",width:0,height:0},size:"cover",position:{x:50,y:50},repeat:"no-repeat",attachment:"scroll"}}}},{id:"label",label:"Option Label",type:"toggle",default:!0}],CarouselSettingsV2Style=[{id:"backgroundColor",type:"color-picker-v2",devices:{desktop:{default:void 0}},compoDefaultValue:{desktop:{default:"#DDDDDD"}},enableGradient:!0},{id:"backgroundImage",type:"background-image",devices:{desktop:{default:{}}},compoDefaultValue:{desktop:{default:{image:{src:"https://cdn.shopify.com/s/files/1/2005/9307/files/background_settings.jpg",width:1200,height:480,hiddenSEO:!0}}}}},{id:"playSpeed",label:"Slide speed",type:"input:slider",useOnlyUnitInit:!0,min:100,max:5e3,step:50,units:["ms"],showDefaultUnit:!0,isNumber:!0,default:500},{id:"sizeSetting",type:"size-setting",label:"",devices:{desktop:{default:{shapeLinked:!1,width:"default",height:"auto"}}},settingConfig:{width:{displayOptions:["full","default"],name:"Width"},height:{displayOptions:["auto","small","medium","large"],name:"Height",sizeConfig:{small:"300px",medium:"500px",large:"700px"}}},hiddenSettings:["padding","gap","shape"]},{id:"align",label:"Align",type:"option:value",options:[{label:"Left",value:"left",type:"align",tooltip:"Align left",iconName:"gp-align-left"},{label:"Center",value:"center",type:"align",tooltip:"Align center",iconName:"gp-align-center"},{label:"Right",value:"right",type:"align",tooltip:"Align right",iconName:"gp-align-right"}],devices:{desktop:{default:"center"}}},{id:"borderContent",type:"border-v2",label:"Border",default:{borderType:"none",border:"none",width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"line-3",isCustom:!0},compoDefaultValue:{width:"1px 1px 1px 1px",position:"all",borderWidth:"1px",color:"line-3",border:"solid"}},{id:"roundedContent",type:"corner-v2",label:"Corner",default:{radiusType:"none"}},{id:"hasActiveShadow",type:"toggle",label:"Enable Button Shadow",default:!1},{id:"carouselShadow",type:"shadow-v2",label:"Button Shadow",default:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!1},compoDefaultValue:{type:"shadow-1",distance:"4px",blur:"4px",spread:"0px",color:"rgba(18, 18, 18, 0.2)",angle:45,enable:!0}},{id:"spacing",label:"Items spacing",type:"input:slider",fallbackValue:"0",min:0,max:80,ignoreMax:!0,devices:{desktop:{default:16}}},{id:"itemPadding",type:"size-setting",devices:{desktop:{default:{padding:{}}}},hiddenSettings:["shape","gap","width","height"],hiddenShowMore:!0}],CarouselSettingsV2=[{id:"setting",controls:CarouselSettingsV2Setting},{id:"style",controls:CarouselSettingsV2Style}];export{CarouselSettingsV2,CarouselSettingsV2Setting,CarouselSettingsV2Style};
@@ -0,0 +1 @@
1
+ import{DEVICES as e,makeStyleResponsive as a,makeWidth as s,getResponsiveValueByScreen as t}from"@gem-sdk/core";import{convertUnitToNumber as k}from"../../helpers.js";let getInitialWidthForCarouselItem=t=>{let k={};return e.forEach(e=>{if(!t?.vertical?.[e]){let e={...a("minw",s(getWidthForCarouselItem({spacing:t?.spacing,slidesToShow:t?.slidesToShow,sneakPeak:t?.sneakPeak,sneakPeakType:t?.sneakPeakType,sneakPeakOffsetCenter:t?.sneakPeakOffsetCenter,sneakPeakOffsetForward:t?.sneakPeakOffsetForward}))),...a("maxw",s(getWidthForCarouselItem({spacing:t?.spacing,slidesToShow:t?.slidesToShow,sneakPeak:t?.sneakPeak,sneakPeakType:t?.sneakPeakType,sneakPeakOffsetCenter:t?.sneakPeakOffsetCenter,sneakPeakOffsetForward:t?.sneakPeakOffsetForward})))};k={...k,...e}}}),k},getSlideToShow=a=>{let s={};return e.forEach(e=>{let k=t(a.sneakPeak,e),o=k?"center"===t(a.sneakPeakType,e)?t(a.sneakPeakOffsetCenter,e)??0:t(a.sneakPeakOffsetForward,e)??0:0,r=t(a.slidesToShow,e)||1,n="center"===t(a.sneakPeakType,e)?-2:-1;s[e]="auto"===r?r:r+o/100*n}),s},getWidthForCarouselItem=a=>{let s={};return e.forEach(e=>{let o=k(t(a.spacing,e),44),r=t(a.sneakPeak,e,!1),n=k(t(r?getSlideToShow({slidesToShow:a?.slidesToShow,sneakPeak:a?.sneakPeak,sneakPeakType:a?.sneakPeakType,sneakPeakOffsetCenter:a?.sneakPeakOffsetCenter,sneakPeakOffsetForward:a?.sneakPeakOffsetForward}):a.slidesToShow,e),4);s={...s,[e]:`calc(100% / ${n} - ${(n-1)*o/n}px)`}}),s},DOT_CONTAINER_SELECTOR="gp-carousel-dot-container";export{DOT_CONTAINER_SELECTOR,getInitialWidthForCarouselItem,getSlideToShow,getWidthForCarouselItem};
@@ -0,0 +1,10 @@
1
+ 'use client';
2
+ import{jsxs as t,jsx as e}from"react/jsx-runtime";import{getClass as r}from"./common/classes.js";import{getStyle as o}from"./common/styles.js";import{getData as s}from"./common/helpers.js";import{If as l}from"@gem-sdk/system";let Arrow=m=>{let{custom:a,left:n,onClick:i}=m,{isRenderCustomIcon:c}=s(m),{buttonClass:p,buttonContentClass:h}=r(m),{buttonStyle:u,buttonContentStyle:w,innerBorderCss:y}=o(m,"react"),d=l(c,a??"",`<svg
3
+ height="100%"
4
+ width="100%"
5
+ xmlns="http://www.w3.org/2000/svg"
6
+ viewBox="0 0 24 24"
7
+ fill="currentColor"
8
+ >
9
+ <path d="M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z" />
10
+ </svg>`),g=e("div",{className:h,style:w,dangerouslySetInnerHTML:{__html:d||""}});return t("button",{type:"button","aria-label":`Carousel ${n?"Back":"Next"} Arrow`,className:p,style:u,onClick:i,children:[e("style",{type:"text/css",dangerouslySetInnerHTML:{__html:y}}),g]})};export{Arrow as default};