@gem-sdk/components 2.0.0-dev.621 → 2.0.0-dev.623

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 (206) hide show
  1. package/dist/cjs/article/setting/configs/ArticleAuthor/uiV2.js +1 -0
  2. package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +0 -1
  3. package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
  4. package/dist/cjs/banner/setting/presets/heroBanner1Col.js +1 -1
  5. package/dist/cjs/banner/setting/presets/heroBannerContentLeft.js +2 -4
  6. package/dist/cjs/banner/setting/presets/heroBannerContentRight.js +2 -5
  7. package/dist/cjs/banner/setting/presets/heroBannerVideo.js +10 -0
  8. package/dist/cjs/banner/setting/setting.js +9 -6
  9. package/dist/cjs/banner/setting/uiV2.js +34 -10
  10. package/dist/cjs/builder.js +12 -6
  11. package/dist/cjs/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
  12. package/dist/cjs/collection/components/collection-paginator/common/index.js +1 -2
  13. package/dist/cjs/collection/components/collection-paginator/common/styles.js +2 -2
  14. package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
  15. package/dist/cjs/collection/setting/collection-banner/configs/uiV2.js +2 -2
  16. package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +8 -5
  17. package/dist/cjs/collection/setting/collection-paginator/configs/uiV2.js +28 -3
  18. package/dist/cjs/index.js +34 -32
  19. package/dist/cjs/index.liquid.js +16 -10
  20. package/dist/cjs/next.js +3 -1
  21. package/dist/cjs/product/components/ProductImagesV3/common/common.js +360 -0
  22. package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +192 -0
  23. package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +26 -0
  24. package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +94 -0
  25. package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +303 -0
  26. package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +95 -0
  27. package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +59 -0
  28. package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +266 -0
  29. package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +63 -0
  30. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +36 -0
  31. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +109 -0
  32. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +139 -0
  33. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +100 -0
  34. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +77 -0
  35. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +300 -0
  36. package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +44 -0
  37. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +83 -0
  38. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +182 -0
  39. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +30 -0
  40. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +239 -0
  41. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +28 -0
  42. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +144 -0
  43. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +14 -0
  44. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +54 -0
  45. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +53 -0
  46. package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +55 -0
  47. package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +41 -0
  48. package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +134 -0
  49. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +203 -0
  50. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +87 -0
  51. package/dist/cjs/product/components/ProductImagesV3/index.js +291 -0
  52. package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +153 -0
  53. package/dist/cjs/product/index.js +6 -4
  54. package/dist/cjs/product/next.js +4 -0
  55. package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +252 -0
  56. package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +251 -0
  57. package/dist/cjs/product/setting/product-image-v3/ProductImages.js +74 -0
  58. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +388 -0
  59. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +518 -0
  60. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +336 -0
  61. package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +118 -0
  62. package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +119 -0
  63. package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +237 -0
  64. package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +491 -0
  65. package/dist/cjs/setting.js +97 -95
  66. package/dist/cjs/swiper-carousel/arrow/Arrow.js +52 -0
  67. package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +46 -0
  68. package/dist/cjs/swiper-carousel/arrow/common/common.js +119 -0
  69. package/dist/cjs/swiper-carousel/arrow/common/getClass.js +50 -0
  70. package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +84 -0
  71. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +34 -0
  72. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +38 -0
  73. package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +29 -0
  74. package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +79 -0
  75. package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +22 -0
  76. package/dist/cjs/swiper-carousel/components/common/carousel.js +98 -0
  77. package/dist/cjs/swiper-carousel/components/const/index.js +5 -0
  78. package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +34 -0
  79. package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +42 -0
  80. package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +105 -0
  81. package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +15 -0
  82. package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +45 -0
  83. package/dist/cjs/swiper-carousel/dots/Dots.js +51 -0
  84. package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +26 -0
  85. package/dist/cjs/swiper-carousel/dots/common/common.js +28 -0
  86. package/dist/cjs/swiper-carousel/dots/common/getClass.js +40 -0
  87. package/dist/cjs/swiper-carousel/dots/common/getStyle.js +33 -0
  88. package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +21 -0
  89. package/dist/cjs/swiper-carousel/index.js +17 -0
  90. package/dist/cjs/swiper-carousel/next.js +22 -0
  91. package/dist/cjs/swiper-carousel/root/Swiper.js +128 -0
  92. package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +104 -0
  93. package/dist/cjs/swiper-carousel/root/common/getAttr.js +25 -0
  94. package/dist/cjs/swiper-carousel/root/common/getClass.js +135 -0
  95. package/dist/cjs/swiper-carousel/root/common/getData.js +56 -0
  96. package/dist/cjs/swiper-carousel/root/common/getStyle.js +64 -0
  97. package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +482 -0
  98. package/dist/cjs/swiper-carousel/setting/Swiper.js +42 -0
  99. package/dist/cjs/swiper-carousel/setting/SwiperItem.js +40 -0
  100. package/dist/cjs/swiper-carousel/setting/configs/presets.js +87 -0
  101. package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +819 -0
  102. package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +718 -0
  103. package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +1 -0
  104. package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +0 -1
  105. package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +1 -0
  106. package/dist/esm/banner/setting/presets/heroBanner1Col.js +1 -1
  107. package/dist/esm/banner/setting/presets/heroBannerContentLeft.js +2 -4
  108. package/dist/esm/banner/setting/presets/heroBannerContentRight.js +2 -5
  109. package/dist/esm/banner/setting/presets/heroBannerVideo.js +10 -0
  110. package/dist/esm/banner/setting/setting.js +9 -6
  111. package/dist/esm/banner/setting/uiV2.js +34 -10
  112. package/dist/esm/builder.js +6 -0
  113. package/dist/esm/collection/components/collection-banner/components/CollectionBanner.liquid.js +1 -1
  114. package/dist/esm/collection/components/collection-paginator/common/index.js +1 -2
  115. package/dist/esm/collection/components/collection-paginator/common/styles.js +2 -2
  116. package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +3 -3
  117. package/dist/esm/collection/setting/collection-banner/configs/uiV2.js +2 -2
  118. package/dist/esm/collection/setting/collection-paginator/configs/settings.js +8 -5
  119. package/dist/esm/collection/setting/collection-paginator/configs/uiV2.js +28 -3
  120. package/dist/esm/index.js +1 -0
  121. package/dist/esm/index.liquid.js +3 -0
  122. package/dist/esm/next.js +3 -1
  123. package/dist/esm/product/components/ProductImagesV3/common/common.js +344 -0
  124. package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +189 -0
  125. package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +24 -0
  126. package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +83 -0
  127. package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +292 -0
  128. package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +92 -0
  129. package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +53 -0
  130. package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +251 -0
  131. package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +59 -0
  132. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +32 -0
  133. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +105 -0
  134. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +135 -0
  135. package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +96 -0
  136. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +73 -0
  137. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +296 -0
  138. package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +40 -0
  139. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +79 -0
  140. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +178 -0
  141. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +26 -0
  142. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +235 -0
  143. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +24 -0
  144. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +140 -0
  145. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +12 -0
  146. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +52 -0
  147. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +51 -0
  148. package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +53 -0
  149. package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +39 -0
  150. package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +132 -0
  151. package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +201 -0
  152. package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +85 -0
  153. package/dist/esm/product/components/ProductImagesV3/index.js +287 -0
  154. package/dist/esm/product/components/ProductImagesV3/index.liquid.js +149 -0
  155. package/dist/esm/product/index.js +26 -24
  156. package/dist/esm/product/next.js +4 -0
  157. package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +248 -0
  158. package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +248 -0
  159. package/dist/esm/product/setting/product-image-v3/ProductImages.js +70 -0
  160. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +384 -0
  161. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +515 -0
  162. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +334 -0
  163. package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +116 -0
  164. package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +117 -0
  165. package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +235 -0
  166. package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +489 -0
  167. package/dist/esm/setting.js +2 -0
  168. package/dist/esm/swiper-carousel/arrow/Arrow.js +48 -0
  169. package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +42 -0
  170. package/dist/esm/swiper-carousel/arrow/common/common.js +111 -0
  171. package/dist/esm/swiper-carousel/arrow/common/getClass.js +48 -0
  172. package/dist/esm/swiper-carousel/arrow/common/getStyle.js +82 -0
  173. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +30 -0
  174. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +34 -0
  175. package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +27 -0
  176. package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +77 -0
  177. package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +20 -0
  178. package/dist/esm/swiper-carousel/components/common/carousel.js +93 -0
  179. package/dist/esm/swiper-carousel/components/const/index.js +3 -0
  180. package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +30 -0
  181. package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +35 -0
  182. package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +103 -0
  183. package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +13 -0
  184. package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +43 -0
  185. package/dist/esm/swiper-carousel/dots/Dots.js +47 -0
  186. package/dist/esm/swiper-carousel/dots/Dots.liquid.js +22 -0
  187. package/dist/esm/swiper-carousel/dots/common/common.js +26 -0
  188. package/dist/esm/swiper-carousel/dots/common/getClass.js +38 -0
  189. package/dist/esm/swiper-carousel/dots/common/getStyle.js +31 -0
  190. package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +19 -0
  191. package/dist/esm/swiper-carousel/index.js +15 -0
  192. package/dist/esm/swiper-carousel/next.js +18 -0
  193. package/dist/esm/swiper-carousel/root/Swiper.js +124 -0
  194. package/dist/esm/swiper-carousel/root/Swiper.liquid.js +100 -0
  195. package/dist/esm/swiper-carousel/root/common/getAttr.js +23 -0
  196. package/dist/esm/swiper-carousel/root/common/getClass.js +133 -0
  197. package/dist/esm/swiper-carousel/root/common/getData.js +54 -0
  198. package/dist/esm/swiper-carousel/root/common/getStyle.js +62 -0
  199. package/dist/esm/swiper-carousel/root/hook/useCarousel.js +480 -0
  200. package/dist/esm/swiper-carousel/setting/Swiper.js +38 -0
  201. package/dist/esm/swiper-carousel/setting/SwiperItem.js +36 -0
  202. package/dist/esm/swiper-carousel/setting/configs/presets.js +85 -0
  203. package/dist/esm/swiper-carousel/setting/configs/settingV2.js +815 -0
  204. package/dist/esm/swiper-carousel/setting/configs/uiV2.js +713 -0
  205. package/dist/types/index.d.ts +552 -117
  206. package/package.json +3 -3
@@ -0,0 +1,515 @@
1
+ const getDefaultResponsive = (defaultValue)=>{
2
+ return {
3
+ desktop: {
4
+ default: defaultValue
5
+ }
6
+ };
7
+ };
8
+ const productGalleryImageSetting = [
9
+ {
10
+ id: 'type',
11
+ label: 'Gallery Type',
12
+ type: 'segment',
13
+ hide: true,
14
+ options: [
15
+ {
16
+ label: 'Slide',
17
+ value: 'slider'
18
+ },
19
+ {
20
+ label: 'All',
21
+ value: 'images'
22
+ }
23
+ ],
24
+ devices: getDefaultResponsive('slider')
25
+ },
26
+ {
27
+ id: 'galleryHoverEffect',
28
+ label: 'Hover Effect',
29
+ type: 'select',
30
+ hide: true,
31
+ hideOnMode: {
32
+ mobileOnly: true
33
+ },
34
+ options: [
35
+ {
36
+ title: 'None',
37
+ value: 'none'
38
+ },
39
+ {
40
+ title: 'Zoom',
41
+ value: 'zoom'
42
+ }
43
+ ],
44
+ default: 'none'
45
+ },
46
+ {
47
+ id: 'galleryZoomType',
48
+ type: 'select',
49
+ label: 'Zoom Type',
50
+ hide: true,
51
+ default: 'default',
52
+ hideOnMode: {
53
+ mobileOnly: true
54
+ },
55
+ options: [
56
+ {
57
+ title: 'Default',
58
+ value: 'default'
59
+ },
60
+ {
61
+ title: 'Glasses',
62
+ value: 'glasses'
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ id: 'galleryZoom',
68
+ type: 'input:slider',
69
+ label: 'Zoom Value',
70
+ min: 100,
71
+ max: 200,
72
+ step: 10,
73
+ default: 150,
74
+ units: [
75
+ '%'
76
+ ],
77
+ useOnlyUnitInit: true,
78
+ isNumber: true
79
+ },
80
+ {
81
+ id: 'clickOpenLightBox',
82
+ label: 'Large view in pop-up',
83
+ type: 'select',
84
+ options: [
85
+ {
86
+ label: 'View in featured',
87
+ value: false
88
+ },
89
+ {
90
+ label: 'Open Gallery',
91
+ value: true
92
+ }
93
+ ],
94
+ devices: getDefaultResponsive(false)
95
+ },
96
+ {
97
+ id: 'borderActive',
98
+ label: 'Active border',
99
+ type: 'border',
100
+ default: {
101
+ borderType: 'none',
102
+ border: 'solid',
103
+ borderWidth: '1px',
104
+ width: '1px 1px 1px 1px',
105
+ isCustom: false,
106
+ color: '#000000'
107
+ }
108
+ },
109
+ {
110
+ id: 'navigationPosition',
111
+ label: 'Navigation',
112
+ type: 'option:illustration',
113
+ enableTooltip: true,
114
+ options: [
115
+ {
116
+ label: 'No navigation',
117
+ value: 'none',
118
+ type: 'slide-control',
119
+ hide: true
120
+ },
121
+ {
122
+ label: 'Display outside navigation',
123
+ value: 'outside',
124
+ type: 'slide-control',
125
+ svgName: 'gp-slide-control-outside'
126
+ },
127
+ {
128
+ label: 'Display inside navigation',
129
+ value: 'inside',
130
+ type: 'slide-control',
131
+ svgName: 'gp-slide-control-inside'
132
+ }
133
+ ],
134
+ devices: getDefaultResponsive('inside')
135
+ },
136
+ {
137
+ id: 'loop',
138
+ type: 'toggle',
139
+ devices: getDefaultResponsive(true)
140
+ },
141
+ {
142
+ id: 'pauseOnHover',
143
+ label: 'Pause On Hover',
144
+ type: 'toggle',
145
+ hide: true,
146
+ default: true
147
+ },
148
+ {
149
+ id: 'speed',
150
+ type: 'input:slider',
151
+ label: 'Speed (s)',
152
+ hide: true,
153
+ min: 0,
154
+ max: 60,
155
+ step: 1,
156
+ default: 1
157
+ },
158
+ {
159
+ id: 'arrowIcon',
160
+ type: 'icon',
161
+ hide: true,
162
+ label: 'Custom Arrow',
163
+ info: 'Choose from list or paste any SVG icon',
164
+ default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
165
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM10.6828 8.13017C10.5266 7.95661 10.2734 7.95661 10.1172 8.13017C9.96095 8.30374 9.96095 8.58515 10.1172 8.75871L13.0343 12L10.1172 15.2413C9.96095 15.4149 9.96095 15.6963 10.1172 15.8698C10.2734 16.0434 10.5266 16.0434 10.6828 15.8698L13.8828 12.3143C14.0391 12.1407 14.0391 11.8593 13.8828 11.6857L10.6828 8.13017Z" fill="currentColor"/>
166
+ </svg>`
167
+ },
168
+ {
169
+ id: 'arrowIconSize',
170
+ label: 'Number per show',
171
+ type: 'input:stepper',
172
+ min: 1,
173
+ devices: {
174
+ desktop: {
175
+ default: 24
176
+ }
177
+ }
178
+ },
179
+ {
180
+ id: 'arrowIconColor',
181
+ label: 'Icon color',
182
+ type: 'color-picker-v2',
183
+ default: '#000000'
184
+ },
185
+ {
186
+ id: 'dragToScroll',
187
+ label: 'Drag to scroll',
188
+ type: 'toggle',
189
+ hide: true,
190
+ default: true
191
+ },
192
+ {
193
+ id: 'arrowNavColor',
194
+ label: 'Nav. color',
195
+ type: 'color-picker-v2'
196
+ },
197
+ {
198
+ id: 'arrowNavBorder',
199
+ label: 'Nav. border',
200
+ type: 'border',
201
+ default: {
202
+ borderType: 'none',
203
+ border: 'none',
204
+ borderWidth: '1px',
205
+ width: '1px 1px 1px 1px',
206
+ isCustom: false
207
+ }
208
+ },
209
+ {
210
+ id: 'arrowNavRadius',
211
+ label: 'Nav. corner',
212
+ type: 'radius-preset',
213
+ default: {
214
+ btrr: '0px',
215
+ bblr: '0px',
216
+ bbrr: '0px',
217
+ btlr: '0px',
218
+ radiusType: 'none'
219
+ }
220
+ },
221
+ {
222
+ id: 'arrowNavShadow',
223
+ type: 'shadow-v2',
224
+ default: {
225
+ type: 'shadow-1',
226
+ distance: '4px',
227
+ blur: '12px',
228
+ spread: '0px',
229
+ color: 'rgba(0, 0, 0, 0.20)',
230
+ angle: 90,
231
+ enable: false
232
+ }
233
+ }
234
+ ];
235
+ const productGalleryImageStyle = [
236
+ {
237
+ id: 'shape',
238
+ type: 'size-setting',
239
+ label: '',
240
+ devices: {
241
+ desktop: {
242
+ default: {
243
+ shape: 'square',
244
+ shapeValue: '1/1',
245
+ width: '100%',
246
+ height: undefined,
247
+ shapeLinked: true
248
+ }
249
+ }
250
+ },
251
+ settingConfig: {
252
+ width: {
253
+ displayOptions: [
254
+ 'full'
255
+ ]
256
+ }
257
+ },
258
+ hiddenSettings: [
259
+ 'padding',
260
+ 'gap'
261
+ ]
262
+ },
263
+ {
264
+ id: 'shapeForFtOnly',
265
+ type: 'size-setting',
266
+ label: '',
267
+ devices: {
268
+ desktop: {
269
+ default: {
270
+ shape: 'square',
271
+ shapeValue: '1/1',
272
+ width: '100%',
273
+ height: undefined,
274
+ shapeLinked: true
275
+ }
276
+ }
277
+ },
278
+ settingConfig: {
279
+ width: {
280
+ displayOptions: [
281
+ 'full'
282
+ ]
283
+ }
284
+ },
285
+ hiddenSettings: [
286
+ 'padding',
287
+ 'gap'
288
+ ]
289
+ },
290
+ {
291
+ id: 'shapeForBottom',
292
+ type: 'size-setting',
293
+ label: '',
294
+ devices: {
295
+ desktop: {
296
+ default: {
297
+ shape: 'square',
298
+ shapeValue: '1/1',
299
+ width: '20%',
300
+ height: undefined,
301
+ shapeLinked: true
302
+ }
303
+ }
304
+ },
305
+ settingConfig: {
306
+ width: {
307
+ displayOptions: [
308
+ 'full',
309
+ 'small',
310
+ 'medium',
311
+ 'large'
312
+ ],
313
+ sizeConfig: {
314
+ small: '10%',
315
+ medium: '20%',
316
+ large: '25%'
317
+ }
318
+ }
319
+ },
320
+ hiddenSettings: [
321
+ 'padding',
322
+ 'gap'
323
+ ]
324
+ },
325
+ {
326
+ id: 'shapeForInsideBottom',
327
+ type: 'size-setting',
328
+ label: '',
329
+ devices: {
330
+ desktop: {
331
+ default: {
332
+ shape: 'square',
333
+ shapeValue: '1/1',
334
+ width: '20%',
335
+ height: undefined,
336
+ shapeLinked: true
337
+ }
338
+ }
339
+ },
340
+ settingConfig: {
341
+ width: {
342
+ displayOptions: [
343
+ 'small',
344
+ 'medium',
345
+ 'large'
346
+ ],
347
+ sizeConfig: {
348
+ small: '10%',
349
+ medium: '20%',
350
+ large: '25%'
351
+ }
352
+ }
353
+ },
354
+ hiddenSettings: [
355
+ 'padding',
356
+ 'gap'
357
+ ]
358
+ },
359
+ {
360
+ id: 'shapeForInside',
361
+ type: 'size-setting',
362
+ label: '',
363
+ devices: {
364
+ desktop: {
365
+ default: {
366
+ shape: 'square',
367
+ shapeValue: '1/1',
368
+ width: '20%',
369
+ height: undefined,
370
+ shapeLinked: true
371
+ }
372
+ }
373
+ },
374
+ settingConfig: {
375
+ width: {
376
+ displayOptions: [
377
+ 'small',
378
+ 'medium',
379
+ 'large'
380
+ ],
381
+ sizeConfig: {
382
+ small: '10%',
383
+ medium: '20%',
384
+ large: '25%'
385
+ }
386
+ }
387
+ },
388
+ hiddenSettings: [
389
+ 'padding',
390
+ 'gap'
391
+ ]
392
+ },
393
+ {
394
+ id: 'shapeFor2Col',
395
+ type: 'size-setting',
396
+ label: '',
397
+ devices: {
398
+ desktop: {
399
+ default: {
400
+ shape: 'square',
401
+ shapeValue: '1/1',
402
+ width: '50%',
403
+ height: undefined,
404
+ shapeLinked: true
405
+ }
406
+ }
407
+ },
408
+ settingConfig: {
409
+ width: {
410
+ displayOptions: [
411
+ 'full',
412
+ 'small',
413
+ 'medium',
414
+ 'large'
415
+ ],
416
+ sizeConfig: {
417
+ small: '25%',
418
+ medium: '33%',
419
+ large: '50%'
420
+ }
421
+ }
422
+ },
423
+ hiddenSettings: [
424
+ 'padding',
425
+ 'gap'
426
+ ]
427
+ },
428
+ {
429
+ id: 'shapeFor1Col',
430
+ type: 'size-setting',
431
+ label: '',
432
+ devices: {
433
+ desktop: {
434
+ default: {
435
+ shape: 'square',
436
+ shapeValue: '1/1',
437
+ width: '100%',
438
+ height: undefined,
439
+ shapeLinked: true
440
+ }
441
+ }
442
+ },
443
+ settingConfig: {
444
+ width: {
445
+ displayOptions: [
446
+ 'full',
447
+ 'small',
448
+ 'medium',
449
+ 'large'
450
+ ],
451
+ sizeConfig: {
452
+ small: '25%',
453
+ medium: '33%',
454
+ large: '50%'
455
+ }
456
+ }
457
+ },
458
+ hiddenSettings: [
459
+ 'padding',
460
+ 'gap'
461
+ ]
462
+ },
463
+ {
464
+ id: 'layout',
465
+ type: 'option:illustration',
466
+ enableTooltip: true,
467
+ label: 'Image scale',
468
+ options: [
469
+ {
470
+ label: 'Fill image',
471
+ value: 'cover',
472
+ type: 'image',
473
+ svgName: 'gp-image-cover'
474
+ },
475
+ {
476
+ label: 'Fit image',
477
+ value: 'contain',
478
+ type: 'image',
479
+ svgName: 'gp-image-contain'
480
+ }
481
+ ],
482
+ devices: getDefaultResponsive('cover')
483
+ },
484
+ {
485
+ id: 'itemSpacing',
486
+ label: 'Gallery Item Spacing',
487
+ type: 'input:slider',
488
+ units: [
489
+ 'px'
490
+ ],
491
+ devices: {
492
+ desktop: {
493
+ default: '8px'
494
+ }
495
+ }
496
+ },
497
+ {
498
+ id: 'corner',
499
+ type: 'radius-preset',
500
+ label: 'Corner',
501
+ default: {
502
+ btrr: '0px',
503
+ bblr: '0px',
504
+ bbrr: '0px',
505
+ btlr: '0px',
506
+ radiusType: 'none'
507
+ },
508
+ state: {
509
+ hover: true,
510
+ normal: true
511
+ }
512
+ }
513
+ ];
514
+
515
+ export { productGalleryImageSetting, productGalleryImageStyle };