@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,384 @@
1
+ import { CAROUSEL_ANIMATION } from '../../../../../carousel/components/plugins/AnimationPlugin.js';
2
+
3
+ const getDefaultResponsive = (defaultValue)=>{
4
+ return {
5
+ desktop: {
6
+ default: defaultValue
7
+ }
8
+ };
9
+ };
10
+ const productFeatureImageSetting = [
11
+ {
12
+ id: 'hoverEffect',
13
+ label: 'Hover Effect',
14
+ type: 'select',
15
+ hide: true,
16
+ hideOnMode: {
17
+ mobileOnly: true
18
+ },
19
+ options: [
20
+ {
21
+ title: 'Zoom',
22
+ value: 'zoom'
23
+ },
24
+ {
25
+ title: 'Show other image',
26
+ value: 'other'
27
+ }
28
+ ],
29
+ default: 'none'
30
+ },
31
+ {
32
+ id: 'zoomType',
33
+ type: 'option:value',
34
+ label: 'Zoom Type',
35
+ hide: true,
36
+ default: 'default',
37
+ hideOnMode: {
38
+ mobileOnly: true
39
+ },
40
+ options: [
41
+ {
42
+ label: 'Default',
43
+ value: 'default'
44
+ },
45
+ {
46
+ label: 'Glasses',
47
+ value: 'glasses'
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ id: 'zoom',
53
+ type: 'input:slider',
54
+ label: 'Zoom Value',
55
+ min: 100,
56
+ max: 200,
57
+ step: 10,
58
+ default: 150,
59
+ units: [
60
+ '%'
61
+ ],
62
+ showDefaultUnit: true,
63
+ useOnlyUnitInit: true,
64
+ isNumber: true
65
+ },
66
+ {
67
+ id: 'otherImage',
68
+ label: 'Other image',
69
+ type: 'select',
70
+ options: [
71
+ {
72
+ title: 'Image 1',
73
+ value: 0
74
+ },
75
+ {
76
+ title: 'Image 2',
77
+ value: 1
78
+ },
79
+ {
80
+ title: 'Image 3',
81
+ value: 2
82
+ },
83
+ {
84
+ title: 'Image 4',
85
+ value: 3
86
+ },
87
+ {
88
+ title: 'Last image',
89
+ value: -1
90
+ }
91
+ ],
92
+ default: 0
93
+ },
94
+ {
95
+ id: 'ftClickOpenLightBox',
96
+ label: 'Click Effect',
97
+ type: 'select',
98
+ options: [
99
+ {
100
+ title: 'Open gallery',
101
+ value: 'popup'
102
+ },
103
+ {
104
+ title: 'Open product',
105
+ value: 'product-link'
106
+ }
107
+ ],
108
+ devices: getDefaultResponsive('none')
109
+ },
110
+ {
111
+ id: 'ftClickOpenNewTab',
112
+ type: 'option:value',
113
+ options: [
114
+ {
115
+ label: 'Yes',
116
+ value: true
117
+ },
118
+ {
119
+ label: 'No',
120
+ value: false
121
+ }
122
+ ],
123
+ default: false
124
+ },
125
+ {
126
+ id: 'ftNavigationPosition',
127
+ label: 'Navigation',
128
+ type: 'option:illustration',
129
+ enableTooltip: true,
130
+ options: [
131
+ {
132
+ label: 'No navigation',
133
+ value: 'none',
134
+ type: 'slide-control',
135
+ hide: true
136
+ },
137
+ {
138
+ label: 'Display outside navigation',
139
+ value: 'outside',
140
+ type: 'slide-control',
141
+ svgName: 'gp-slide-control-outside'
142
+ },
143
+ {
144
+ label: 'Display inside navigation',
145
+ value: 'inside',
146
+ type: 'slide-control',
147
+ svgName: 'gp-slide-control-inside'
148
+ }
149
+ ],
150
+ devices: getDefaultResponsive('none')
151
+ },
152
+ {
153
+ id: 'ftLoop',
154
+ type: 'toggle',
155
+ devices: getDefaultResponsive(false)
156
+ },
157
+ {
158
+ id: 'ftPauseOnHover',
159
+ label: 'Pause On Hover',
160
+ type: 'toggle',
161
+ hide: true,
162
+ default: true
163
+ },
164
+ {
165
+ id: 'ftAnimationSpeed',
166
+ label: 'Slide speed',
167
+ type: 'input:slider',
168
+ useOnlyUnitInit: true,
169
+ min: 100,
170
+ max: 5000,
171
+ step: 50,
172
+ units: [
173
+ 'ms'
174
+ ],
175
+ showDefaultUnit: true,
176
+ isNumber: true,
177
+ default: 500
178
+ },
179
+ {
180
+ id: 'ftAnimationMode',
181
+ label: 'Animation',
182
+ type: 'select',
183
+ default: CAROUSEL_ANIMATION.EASE_IN.value,
184
+ options: [
185
+ {
186
+ label: 'Ease in',
187
+ value: CAROUSEL_ANIMATION.EASE_IN.value
188
+ },
189
+ {
190
+ label: 'Ease out',
191
+ value: CAROUSEL_ANIMATION.EASE_OUT.value
192
+ },
193
+ {
194
+ label: 'Ease in out',
195
+ value: CAROUSEL_ANIMATION.EASE_IN_OUT.value
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ id: 'ftArrowIcon',
201
+ type: 'icon',
202
+ hide: true,
203
+ label: 'Custom Arrow',
204
+ info: 'Choose from list or paste any SVG icon',
205
+ default: `<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
206
+ <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"/>
207
+ </svg>`
208
+ },
209
+ {
210
+ id: 'ftArrowIconColor',
211
+ label: 'Icon color',
212
+ type: 'color-picker-v2',
213
+ default: '#000000'
214
+ },
215
+ {
216
+ id: 'ftArrowIconSize',
217
+ label: 'Number per show',
218
+ type: 'input:stepper',
219
+ min: 1,
220
+ devices: {
221
+ desktop: {
222
+ default: 24
223
+ }
224
+ }
225
+ },
226
+ {
227
+ id: 'ftDragToScroll',
228
+ label: 'Drag to scroll',
229
+ type: 'toggle',
230
+ hide: true,
231
+ default: false
232
+ },
233
+ {
234
+ id: 'ftArrowNavColor',
235
+ label: 'Nav. color',
236
+ type: 'color-picker-v2'
237
+ },
238
+ {
239
+ id: 'ftArrowNavBorder',
240
+ label: 'Nav. border',
241
+ type: 'border',
242
+ default: {
243
+ borderType: 'none',
244
+ border: 'none',
245
+ borderWidth: '1px',
246
+ width: '1px 1px 1px 1px',
247
+ isCustom: false
248
+ }
249
+ },
250
+ {
251
+ id: 'ftArrowNavRadius',
252
+ label: 'Nav. corner',
253
+ type: 'radius-preset',
254
+ default: {
255
+ btrr: '0px',
256
+ bblr: '0px',
257
+ bbrr: '0px',
258
+ btlr: '0px',
259
+ radiusType: 'none'
260
+ }
261
+ },
262
+ {
263
+ id: 'ftArrowNavShadow',
264
+ type: 'shadow-v2',
265
+ default: {
266
+ type: 'shadow-1',
267
+ distance: '4px',
268
+ blur: '12px',
269
+ spread: '0px',
270
+ color: 'rgba(0, 0, 0, 0.20)',
271
+ angle: 90,
272
+ enable: false
273
+ }
274
+ }
275
+ ];
276
+ const productSelectDisplaySetting = [
277
+ {
278
+ id: 'typeDisplay',
279
+ type: 'select',
280
+ options: [
281
+ {
282
+ title: 'All images',
283
+ value: 'all-images'
284
+ },
285
+ {
286
+ title: 'Select manually',
287
+ value: 'select-manual'
288
+ }
289
+ ],
290
+ default: 'all-images'
291
+ },
292
+ {
293
+ id: 'preDisplay',
294
+ type: 'select',
295
+ label: 'Pre-display',
296
+ default: '1st-available-variant',
297
+ options: [
298
+ {
299
+ title: '1st available variant',
300
+ value: '1st-available-variant'
301
+ },
302
+ {
303
+ title: '1st image',
304
+ value: '1st-images'
305
+ },
306
+ {
307
+ title: '1st video',
308
+ value: '1st-video'
309
+ },
310
+ {
311
+ title: '1st 3D model',
312
+ value: '1st-3d-mode'
313
+ }
314
+ ]
315
+ }
316
+ ];
317
+ const productFeatureImageStyle = [
318
+ {
319
+ id: 'ftShape',
320
+ type: 'size-setting',
321
+ label: '',
322
+ devices: {
323
+ desktop: {
324
+ default: {
325
+ shape: 'square',
326
+ shapeValue: '1/1',
327
+ width: '100%',
328
+ height: undefined,
329
+ shapeLinked: true
330
+ }
331
+ }
332
+ },
333
+ settingConfig: {
334
+ width: {
335
+ displayOptions: [
336
+ 'full'
337
+ ]
338
+ }
339
+ },
340
+ hiddenSettings: [
341
+ 'padding',
342
+ 'gap'
343
+ ]
344
+ },
345
+ {
346
+ id: 'ftLayout',
347
+ type: 'option:illustration',
348
+ enableTooltip: true,
349
+ label: 'Image scale',
350
+ options: [
351
+ {
352
+ label: 'Fill image',
353
+ value: 'cover',
354
+ type: 'image',
355
+ svgName: 'gp-image-cover'
356
+ },
357
+ {
358
+ label: 'Fit image',
359
+ value: 'contain',
360
+ type: 'image',
361
+ svgName: 'gp-image-contain'
362
+ }
363
+ ],
364
+ devices: getDefaultResponsive('cover')
365
+ },
366
+ {
367
+ id: 'ftCorner',
368
+ type: 'radius-preset',
369
+ label: 'Corner',
370
+ default: {
371
+ btrr: '0px',
372
+ bblr: '0px',
373
+ bbrr: '0px',
374
+ btlr: '0px',
375
+ radiusType: 'none'
376
+ },
377
+ state: {
378
+ hover: true,
379
+ normal: true
380
+ }
381
+ }
382
+ ];
383
+
384
+ export { productFeatureImageSetting, productFeatureImageStyle, productSelectDisplaySetting };