@gem-sdk/components 2.0.0-dev.693 → 2.0.0-dev.694

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 (176) hide show
  1. package/dist/cjs/builder.js +6 -12
  2. package/dist/cjs/index.js +32 -34
  3. package/dist/cjs/index.liquid.js +10 -16
  4. package/dist/cjs/next.js +1 -3
  5. package/dist/cjs/product/components/ProductImagesV2/common/common.js +2 -1
  6. package/dist/cjs/product/index.js +4 -6
  7. package/dist/cjs/product/next.js +0 -4
  8. package/dist/cjs/setting.js +76 -78
  9. package/dist/esm/builder.js +0 -6
  10. package/dist/esm/index.js +0 -1
  11. package/dist/esm/index.liquid.js +0 -3
  12. package/dist/esm/next.js +1 -3
  13. package/dist/esm/product/components/ProductImagesV2/common/common.js +2 -1
  14. package/dist/esm/product/index.js +24 -26
  15. package/dist/esm/product/next.js +0 -4
  16. package/dist/esm/setting.js +0 -2
  17. package/dist/types/index.d.ts +116 -551
  18. package/package.json +1 -1
  19. package/dist/cjs/product/components/ProductImagesV3/common/common.js +0 -360
  20. package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +0 -192
  21. package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +0 -26
  22. package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +0 -94
  23. package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +0 -303
  24. package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +0 -95
  25. package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +0 -59
  26. package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +0 -266
  27. package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +0 -63
  28. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +0 -36
  29. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +0 -109
  30. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +0 -139
  31. package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +0 -100
  32. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +0 -77
  33. package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +0 -300
  34. package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +0 -44
  35. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +0 -83
  36. package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +0 -182
  37. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +0 -30
  38. package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +0 -239
  39. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +0 -28
  40. package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +0 -144
  41. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +0 -14
  42. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +0 -54
  43. package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +0 -53
  44. package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +0 -55
  45. package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +0 -41
  46. package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +0 -134
  47. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +0 -203
  48. package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +0 -87
  49. package/dist/cjs/product/components/ProductImagesV3/index.js +0 -291
  50. package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +0 -153
  51. package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +0 -252
  52. package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +0 -251
  53. package/dist/cjs/product/setting/product-image-v3/ProductImages.js +0 -74
  54. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +0 -388
  55. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +0 -519
  56. package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +0 -337
  57. package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +0 -118
  58. package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +0 -119
  59. package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +0 -237
  60. package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +0 -491
  61. package/dist/cjs/swiper-carousel/arrow/Arrow.js +0 -52
  62. package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +0 -46
  63. package/dist/cjs/swiper-carousel/arrow/common/common.js +0 -119
  64. package/dist/cjs/swiper-carousel/arrow/common/getClass.js +0 -50
  65. package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +0 -84
  66. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +0 -34
  67. package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +0 -38
  68. package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +0 -29
  69. package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +0 -79
  70. package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +0 -22
  71. package/dist/cjs/swiper-carousel/components/common/carousel.js +0 -98
  72. package/dist/cjs/swiper-carousel/components/const/index.js +0 -5
  73. package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +0 -34
  74. package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +0 -42
  75. package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +0 -105
  76. package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +0 -15
  77. package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +0 -45
  78. package/dist/cjs/swiper-carousel/dots/Dots.js +0 -51
  79. package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +0 -26
  80. package/dist/cjs/swiper-carousel/dots/common/common.js +0 -28
  81. package/dist/cjs/swiper-carousel/dots/common/getClass.js +0 -40
  82. package/dist/cjs/swiper-carousel/dots/common/getStyle.js +0 -33
  83. package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +0 -21
  84. package/dist/cjs/swiper-carousel/index.js +0 -17
  85. package/dist/cjs/swiper-carousel/next.js +0 -22
  86. package/dist/cjs/swiper-carousel/root/Swiper.js +0 -128
  87. package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +0 -104
  88. package/dist/cjs/swiper-carousel/root/common/getAttr.js +0 -25
  89. package/dist/cjs/swiper-carousel/root/common/getClass.js +0 -135
  90. package/dist/cjs/swiper-carousel/root/common/getData.js +0 -56
  91. package/dist/cjs/swiper-carousel/root/common/getStyle.js +0 -66
  92. package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +0 -482
  93. package/dist/cjs/swiper-carousel/setting/Swiper.js +0 -42
  94. package/dist/cjs/swiper-carousel/setting/SwiperItem.js +0 -40
  95. package/dist/cjs/swiper-carousel/setting/configs/presets.js +0 -87
  96. package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +0 -822
  97. package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +0 -718
  98. package/dist/esm/product/components/ProductImagesV3/common/common.js +0 -344
  99. package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +0 -189
  100. package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +0 -24
  101. package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +0 -83
  102. package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +0 -292
  103. package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +0 -92
  104. package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +0 -53
  105. package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +0 -251
  106. package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +0 -59
  107. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +0 -32
  108. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +0 -105
  109. package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +0 -135
  110. package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +0 -96
  111. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +0 -73
  112. package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +0 -296
  113. package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +0 -40
  114. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +0 -79
  115. package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +0 -178
  116. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +0 -26
  117. package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +0 -235
  118. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +0 -24
  119. package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +0 -140
  120. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +0 -12
  121. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +0 -52
  122. package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +0 -51
  123. package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +0 -53
  124. package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +0 -39
  125. package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +0 -132
  126. package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +0 -201
  127. package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +0 -85
  128. package/dist/esm/product/components/ProductImagesV3/index.js +0 -287
  129. package/dist/esm/product/components/ProductImagesV3/index.liquid.js +0 -149
  130. package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +0 -248
  131. package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +0 -248
  132. package/dist/esm/product/setting/product-image-v3/ProductImages.js +0 -70
  133. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +0 -384
  134. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +0 -516
  135. package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +0 -335
  136. package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +0 -116
  137. package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +0 -117
  138. package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +0 -235
  139. package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +0 -489
  140. package/dist/esm/swiper-carousel/arrow/Arrow.js +0 -48
  141. package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +0 -42
  142. package/dist/esm/swiper-carousel/arrow/common/common.js +0 -111
  143. package/dist/esm/swiper-carousel/arrow/common/getClass.js +0 -48
  144. package/dist/esm/swiper-carousel/arrow/common/getStyle.js +0 -82
  145. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +0 -30
  146. package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +0 -34
  147. package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +0 -27
  148. package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +0 -77
  149. package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +0 -20
  150. package/dist/esm/swiper-carousel/components/common/carousel.js +0 -93
  151. package/dist/esm/swiper-carousel/components/const/index.js +0 -3
  152. package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +0 -30
  153. package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +0 -35
  154. package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +0 -103
  155. package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +0 -13
  156. package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +0 -43
  157. package/dist/esm/swiper-carousel/dots/Dots.js +0 -47
  158. package/dist/esm/swiper-carousel/dots/Dots.liquid.js +0 -22
  159. package/dist/esm/swiper-carousel/dots/common/common.js +0 -26
  160. package/dist/esm/swiper-carousel/dots/common/getClass.js +0 -38
  161. package/dist/esm/swiper-carousel/dots/common/getStyle.js +0 -31
  162. package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +0 -19
  163. package/dist/esm/swiper-carousel/index.js +0 -15
  164. package/dist/esm/swiper-carousel/next.js +0 -18
  165. package/dist/esm/swiper-carousel/root/Swiper.js +0 -124
  166. package/dist/esm/swiper-carousel/root/Swiper.liquid.js +0 -100
  167. package/dist/esm/swiper-carousel/root/common/getAttr.js +0 -23
  168. package/dist/esm/swiper-carousel/root/common/getClass.js +0 -133
  169. package/dist/esm/swiper-carousel/root/common/getData.js +0 -54
  170. package/dist/esm/swiper-carousel/root/common/getStyle.js +0 -64
  171. package/dist/esm/swiper-carousel/root/hook/useCarousel.js +0 -480
  172. package/dist/esm/swiper-carousel/setting/Swiper.js +0 -38
  173. package/dist/esm/swiper-carousel/setting/SwiperItem.js +0 -36
  174. package/dist/esm/swiper-carousel/setting/configs/presets.js +0 -85
  175. package/dist/esm/swiper-carousel/setting/configs/settingV2.js +0 -818
  176. package/dist/esm/swiper-carousel/setting/configs/uiV2.js +0 -713
@@ -1,335 +0,0 @@
1
- import { productSelectDisplaySetting, productFeatureImageSetting, productFeatureImageStyle } from './ProductFeatureImage.js';
2
- import { productGalleryImageSetting, productGalleryImageStyle } from './ProductGalleryImage.js';
3
-
4
- const getDefaultResponsive = (defaultValue)=>{
5
- return {
6
- desktop: {
7
- default: defaultValue
8
- }
9
- };
10
- };
11
- const ProductImageSettingsV2 = [
12
- {
13
- id: 'setting',
14
- controls: [
15
- {
16
- id: 'displayByVariant',
17
- label: 'Option Label',
18
- type: 'toggle',
19
- default: false
20
- },
21
- {
22
- id: 'variantSelect',
23
- type: 'variant:listing'
24
- },
25
- {
26
- id: 'select-display',
27
- type: 'group',
28
- label: 'Select images to display',
29
- controls: productSelectDisplaySetting
30
- },
31
- {
32
- id: 'featured-image',
33
- type: 'group',
34
- label: 'Featured Image',
35
- controls: productFeatureImageSetting
36
- },
37
- {
38
- id: 'gallery-images',
39
- type: 'group',
40
- label: 'Gallery Images',
41
- controls: productGalleryImageSetting
42
- },
43
- {
44
- id: 'qualityType',
45
- type: 'select',
46
- label: 'Quality',
47
- devices: {
48
- desktop: {
49
- default: 'high'
50
- }
51
- },
52
- options: [
53
- {
54
- title: 'Finest',
55
- value: 'finest'
56
- },
57
- {
58
- title: 'High',
59
- value: 'high'
60
- },
61
- {
62
- title: 'Medium',
63
- value: 'medium'
64
- },
65
- {
66
- title: 'Custom',
67
- value: 'custom',
68
- tooltip: 'You can choose it for advanced page loading optimization.'
69
- }
70
- ]
71
- },
72
- {
73
- id: 'preload',
74
- type: 'toggle',
75
- label: 'Preload',
76
- default: false
77
- },
78
- {
79
- id: 'qualityPercent',
80
- type: 'input:slider',
81
- label: '',
82
- units: [
83
- '%'
84
- ],
85
- min: 100,
86
- max: 400,
87
- step: 50,
88
- useOnlyUnitInit: true,
89
- devices: {
90
- desktop: {
91
- default: 100
92
- }
93
- }
94
- },
95
- {
96
- id: 'ftDotStyle',
97
- label: 'Dot style',
98
- type: 'option:illustration',
99
- iconViewBox: '0 0 77 48',
100
- enableItemBackground: true,
101
- enableTooltip: true,
102
- options: [
103
- {
104
- label: 'None',
105
- value: 'none',
106
- type: 'carousel-dot'
107
- },
108
- {
109
- label: 'Inside',
110
- value: 'inside',
111
- type: 'carousel-dot',
112
- svgName: 'gp-carousel-dot-inside'
113
- },
114
- {
115
- label: 'Outside',
116
- value: 'outside',
117
- type: 'carousel-dot',
118
- svgName: 'gp-carousel-dot-outside'
119
- }
120
- ],
121
- devices: {
122
- desktop: {
123
- default: 'none'
124
- }
125
- }
126
- },
127
- {
128
- id: 'ftDotSize',
129
- label: 'Dots size',
130
- type: 'input:stepper',
131
- min: 1,
132
- devices: {
133
- desktop: {
134
- default: 12
135
- }
136
- }
137
- },
138
- {
139
- id: 'ftDotGapToCarousel',
140
- label: 'Gap to carousel',
141
- type: 'input:unit',
142
- useOnlyUnitInit: true,
143
- units: [
144
- 'px'
145
- ],
146
- min: 0,
147
- devices: {
148
- desktop: {
149
- default: 16
150
- }
151
- }
152
- },
153
- {
154
- id: 'ftDotColor',
155
- label: 'Dot color',
156
- type: 'colorpicker',
157
- devices: {
158
- desktop: {
159
- default: 'bg-1'
160
- }
161
- }
162
- },
163
- {
164
- id: 'ftDotActiveColor',
165
- label: 'Dot color active',
166
- type: 'colorpicker',
167
- devices: {
168
- desktop: {
169
- default: 'line-3'
170
- }
171
- }
172
- }
173
- ]
174
- },
175
- {
176
- id: 'style',
177
- controls: [
178
- {
179
- id: 'position',
180
- label: 'Layout',
181
- type: 'layout-selector',
182
- iconViewBox: '0 0 50 50',
183
- enableItemBackground: true,
184
- itemPerRow: 3,
185
- itemSpacing: 'large',
186
- enableItemOpacity: true,
187
- options: [
188
- {
189
- label: 'Featured top',
190
- value: 'bottom-center',
191
- type: 'p-image-layout',
192
- iconName: 'gp-product-image-layout-bottom'
193
- },
194
- {
195
- label: 'Featured right',
196
- value: 'left',
197
- type: 'p-image-layout',
198
- iconName: 'gp-product-image-layout-left'
199
- },
200
- {
201
- label: 'Featured left',
202
- value: 'right',
203
- type: 'p-image-layout',
204
- iconName: 'gp-product-image-layout-right'
205
- },
206
- {
207
- label: 'Image list inside bottom',
208
- value: 'inside-bottom',
209
- type: 'p-image-layout',
210
- iconName: 'gp-product-image-layout-bottom-inside'
211
- },
212
- {
213
- label: 'Image list inside left',
214
- value: 'inside-left',
215
- type: 'p-image-layout',
216
- iconName: 'gp-product-image-layout-left-inside'
217
- },
218
- {
219
- label: 'Image list inside right',
220
- value: 'inside-right',
221
- type: 'p-image-layout',
222
- iconName: 'gp-product-image-layout-right-inside'
223
- },
224
- {
225
- label: 'Featured only',
226
- value: 'only-feature',
227
- type: 'p-image-layout',
228
- iconName: 'gp-product-image-layout-featured-only'
229
- },
230
- {
231
- label: 'Image list 1 col',
232
- value: 'one-col',
233
- type: 'p-image-layout',
234
- iconName: 'gp-product-image-layout-one-col',
235
- noPadding: 'y'
236
- },
237
- {
238
- label: 'Image list 2 col',
239
- value: 'two-col',
240
- type: 'p-image-layout',
241
- iconName: 'gp-product-image-layout-two-col'
242
- }
243
- ],
244
- devices: {
245
- desktop: {
246
- default: 'bottom-center'
247
- },
248
- mobile: {
249
- default: 'bottom-center'
250
- }
251
- }
252
- },
253
- {
254
- id: 'spacing',
255
- label: 'Spacing Item',
256
- type: 'input:slider',
257
- units: [
258
- 'px'
259
- ],
260
- ignoreMax: true,
261
- devices: {
262
- desktop: {
263
- default: '8px'
264
- }
265
- }
266
- },
267
- {
268
- id: 'ratioLayout',
269
- label: 'Ratio',
270
- type: 'grid-arrange',
271
- devices: {
272
- desktop: {
273
- default: [
274
- 2,
275
- 10
276
- ]
277
- }
278
- }
279
- },
280
- {
281
- id: 'ratioLayoutRight',
282
- label: 'Ratio',
283
- type: 'grid-arrange',
284
- devices: {
285
- desktop: {
286
- default: [
287
- 10,
288
- 2
289
- ]
290
- }
291
- }
292
- },
293
- {
294
- id: 'dimensions',
295
- type: 'group',
296
- label: 'Featured Image',
297
- controls: productFeatureImageStyle
298
- },
299
- {
300
- id: 'galleryStyles',
301
- type: 'group',
302
- label: 'Gallery',
303
- controls: productGalleryImageStyle
304
- },
305
- {
306
- id: 'align',
307
- label: 'Alignment',
308
- type: 'segment',
309
- options: [
310
- {
311
- label: 'Start',
312
- value: 'flex-start',
313
- type: 'align-flex',
314
- tooltip: 'Align left'
315
- },
316
- {
317
- label: 'Center',
318
- value: 'center',
319
- type: 'align-flex',
320
- tooltip: 'Align center'
321
- },
322
- {
323
- label: 'End',
324
- value: 'flex-end',
325
- type: 'align-flex',
326
- tooltip: 'Align right'
327
- }
328
- ],
329
- devices: getDefaultResponsive('flex-start')
330
- }
331
- ]
332
- }
333
- ];
334
-
335
- export { ProductImageSettingsV2 };
@@ -1,116 +0,0 @@
1
- const FeatureNavigation = {
2
- type: 'combo',
3
- getValueFromSettingID: 'ftNavigationPosition',
4
- getIconFromSettingID: 'ftArrowIcon',
5
- defaultValueWhenClear: 'none',
6
- compoDefaultValue: 'outside',
7
- label: {
8
- en: 'Navigation'
9
- },
10
- controls: [
11
- {
12
- type: 'group',
13
- label: {
14
- en: 'Layout'
15
- },
16
- controls: [
17
- {
18
- label: {
19
- en: 'Choose'
20
- },
21
- setting: {
22
- id: 'ftNavigationPosition'
23
- }
24
- }
25
- ]
26
- },
27
- {
28
- type: 'group',
29
- label: {
30
- en: 'Icon'
31
- },
32
- conditionDisplay: 'ftNavigationPosition !== "none"',
33
- controls: [
34
- {
35
- label: {
36
- en: 'Choose'
37
- },
38
- setting: {
39
- id: 'ftArrowIcon'
40
- },
41
- options: {
42
- clearButton: false
43
- }
44
- },
45
- {
46
- label: {
47
- en: 'Size'
48
- },
49
- setting: {
50
- id: 'ftArrowIconSize'
51
- }
52
- },
53
- {
54
- label: {
55
- en: 'Color'
56
- },
57
- setting: {
58
- id: 'ftArrowIconColor'
59
- }
60
- }
61
- ]
62
- },
63
- {
64
- type: 'group',
65
- label: {
66
- en: 'Button'
67
- },
68
- conditionDisplay: 'ftNavigationPosition !== "none"',
69
- controls: [
70
- {
71
- label: {
72
- en: 'Background'
73
- },
74
- setting: {
75
- id: 'ftArrowNavColor'
76
- }
77
- }
78
- ]
79
- },
80
- {
81
- type: 'group',
82
- label: {
83
- en: 'Shape'
84
- },
85
- conditionDisplay: 'ftNavigationPosition !== "none"',
86
- controls: [
87
- {
88
- label: {
89
- en: 'Border'
90
- },
91
- setting: {
92
- id: 'ftArrowNavBorder'
93
- }
94
- },
95
- {
96
- label: {
97
- en: 'Corner'
98
- },
99
- setting: {
100
- id: 'ftArrowNavRadius'
101
- }
102
- },
103
- {
104
- label: {
105
- en: 'Shadow'
106
- },
107
- setting: {
108
- id: 'ftArrowNavShadow'
109
- }
110
- }
111
- ]
112
- }
113
- ]
114
- };
115
-
116
- export { FeatureNavigation };
@@ -1,117 +0,0 @@
1
- const ImageListNavigation = {
2
- type: 'combo',
3
- iconName: 'polaris-edit',
4
- getValueFromSettingID: 'navigationPosition',
5
- getIconFromSettingID: 'arrowIcon',
6
- defaultValueWhenClear: 'none',
7
- compoDefaultValue: 'outside',
8
- label: {
9
- en: 'Navigation'
10
- },
11
- popoverLabel: {
12
- en: 'Navigation'
13
- },
14
- controls: [
15
- {
16
- type: 'group',
17
- label: {
18
- en: 'Layout'
19
- },
20
- controls: [
21
- {
22
- label: {
23
- en: 'Choose'
24
- },
25
- setting: {
26
- id: 'navigationPosition'
27
- }
28
- }
29
- ]
30
- },
31
- {
32
- type: 'group',
33
- label: {
34
- en: 'Icon'
35
- },
36
- conditionDisplay: `navigationPosition !== "none"`,
37
- controls: [
38
- {
39
- label: {
40
- en: 'Choose'
41
- },
42
- setting: {
43
- id: 'arrowIcon'
44
- }
45
- },
46
- {
47
- label: {
48
- en: 'Size'
49
- },
50
- setting: {
51
- id: 'arrowIconSize'
52
- }
53
- },
54
- {
55
- label: {
56
- en: 'Color'
57
- },
58
- setting: {
59
- id: 'arrowIconColor'
60
- }
61
- }
62
- ]
63
- },
64
- {
65
- type: 'group',
66
- label: {
67
- en: 'Button'
68
- },
69
- conditionDisplay: `navigationPosition !== "none"`,
70
- controls: [
71
- {
72
- label: {
73
- en: 'Background'
74
- },
75
- setting: {
76
- id: 'arrowNavColor'
77
- }
78
- }
79
- ]
80
- },
81
- {
82
- type: 'group',
83
- label: {
84
- en: 'Shape'
85
- },
86
- conditionDisplay: `navigationPosition !== "none"`,
87
- controls: [
88
- {
89
- label: {
90
- en: 'Border'
91
- },
92
- setting: {
93
- id: 'arrowNavBorder'
94
- }
95
- },
96
- {
97
- label: {
98
- en: 'Corner'
99
- },
100
- setting: {
101
- id: 'arrowNavRadius'
102
- }
103
- },
104
- {
105
- label: {
106
- en: 'Shadow'
107
- },
108
- setting: {
109
- id: 'arrowNavShadow'
110
- }
111
- }
112
- ]
113
- }
114
- ]
115
- };
116
-
117
- export { ImageListNavigation };