@gem-sdk/components 2.0.0-dev.261 → 2.0.0-dev.266

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 (108) hide show
  1. package/dist/cjs/banner/components/HeroBannerItem.liquid.js +3 -2
  2. package/dist/cjs/estimate-delivery/components/EstimateDate.liquid.js +3 -2
  3. package/dist/cjs/grid/row/setting/configs/settings.js +9 -83
  4. package/dist/cjs/grid/section/setting/configs/settings.js +13 -75
  5. package/dist/cjs/icon-list-hoz/setting/configs/settings.js +4 -17
  6. package/dist/cjs/post-purchase/advanced-list/setting/configs/uiV2.js +3 -15
  7. package/dist/cjs/post-purchase/line/setting/configs/settings.js +3 -1
  8. package/dist/cjs/post-purchase/line/setting/configs/uiV2.js +2 -1
  9. package/dist/cjs/post-purchase/link/components/PostPurchaseLink.js +23 -14
  10. package/dist/cjs/post-purchase/link/components/common/getClasses.js +7 -1
  11. package/dist/cjs/post-purchase/link/setting/configs/settings.js +21 -14
  12. package/dist/cjs/post-purchase/product/common/getClasses.js +45 -0
  13. package/dist/cjs/post-purchase/product/common/getStyles.js +43 -0
  14. package/dist/cjs/post-purchase/product/components/product-image/FeatureImage.js +32 -42
  15. package/dist/cjs/post-purchase/product/components/product-image/ImageListCarousel.js +6 -65
  16. package/dist/cjs/post-purchase/product/components/product-image/ImageListGrid.js +24 -68
  17. package/dist/cjs/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +42 -0
  18. package/dist/cjs/post-purchase/product/components/product-image/ItemGridPostPurchase.js +42 -0
  19. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +29 -0
  20. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchase.js +35 -0
  21. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchaseContext.js +22 -0
  22. package/dist/cjs/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +75 -0
  23. package/dist/cjs/post-purchase/product/components/product-image/index.js +41 -43
  24. package/dist/cjs/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +22 -58
  25. package/dist/cjs/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +19 -12
  26. package/dist/cjs/post-purchase/product/constants/index.js +36 -0
  27. package/dist/cjs/post-purchase/product/hooks/product-image/useCarousel.js +14 -0
  28. package/dist/cjs/post-purchase/product/hooks/product-image/useFeatureImagePostPurchase.js +32 -0
  29. package/dist/cjs/post-purchase/product/hooks/product-image/useListCarousel.js +43 -0
  30. package/dist/cjs/post-purchase/product/hooks/product-image/useNavigationCarouselPostPurchase.js +32 -0
  31. package/dist/cjs/post-purchase/product/hooks/product-image/useProductImagePostPurchase.js +60 -0
  32. package/dist/cjs/post-purchase/product/hooks/product-image/useSlideCarousel.js +35 -0
  33. package/dist/cjs/post-purchase/product/settings/product-description/settingV2.js +6 -9
  34. package/dist/cjs/post-purchase/product/settings/product-image/ProductFeatureImage.js +41 -0
  35. package/dist/cjs/post-purchase/product/settings/product-image/ProductGalleryImage.js +0 -118
  36. package/dist/cjs/post-purchase/product/settings/product-image/ProductImages.js +8 -79
  37. package/dist/cjs/post-purchase/product/settings/product-image/setting-v1.js +163 -0
  38. package/dist/cjs/post-purchase/product/settings/product-image/setting-v2.js +375 -0
  39. package/dist/cjs/post-purchase/product/settings/product-image/uiV1.js +42 -0
  40. package/dist/cjs/post-purchase/product/settings/product-image/uiV2.js +235 -0
  41. package/dist/cjs/post-purchase/product/settings/product-price/uiV2.js +0 -3
  42. package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/settings.js +10 -6
  43. package/dist/cjs/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +2 -2
  44. package/dist/cjs/post-purchase/product/settings/product-quantity/configs/settings.js +3 -1
  45. package/dist/cjs/post-purchase/product/settings/product-title/settingV2.js +6 -9
  46. package/dist/cjs/post-purchase/text/settings/text/settingV2.js +0 -7
  47. package/dist/cjs/post-purchase/text/settings/text/uiV2.js +2 -2
  48. package/dist/cjs/product/components/FileUpload/components/common/index.js +3 -2
  49. package/dist/cjs/product/setting/product/configs/presets.js +1 -1
  50. package/dist/cjs/product/setting/product/configs/settings.js +4 -20
  51. package/dist/cjs/setting.js +2 -1
  52. package/dist/esm/banner/components/HeroBannerItem.liquid.js +3 -2
  53. package/dist/esm/estimate-delivery/components/EstimateDate.liquid.js +3 -2
  54. package/dist/esm/grid/row/setting/configs/settings.js +9 -83
  55. package/dist/esm/grid/section/setting/configs/settings.js +13 -75
  56. package/dist/esm/icon-list-hoz/setting/configs/settings.js +4 -17
  57. package/dist/esm/post-purchase/advanced-list/setting/configs/uiV2.js +3 -15
  58. package/dist/esm/post-purchase/line/setting/configs/settings.js +3 -1
  59. package/dist/esm/post-purchase/line/setting/configs/uiV2.js +2 -1
  60. package/dist/esm/post-purchase/link/components/PostPurchaseLink.js +25 -16
  61. package/dist/esm/post-purchase/link/components/common/getClasses.js +7 -2
  62. package/dist/esm/post-purchase/link/setting/configs/settings.js +21 -14
  63. package/dist/esm/post-purchase/product/common/getClasses.js +37 -1
  64. package/dist/esm/post-purchase/product/common/getStyles.js +39 -1
  65. package/dist/esm/post-purchase/product/components/product-image/FeatureImage.js +32 -42
  66. package/dist/esm/post-purchase/product/components/product-image/ImageListCarousel.js +7 -66
  67. package/dist/esm/post-purchase/product/components/product-image/ImageListGrid.js +24 -68
  68. package/dist/esm/post-purchase/product/components/product-image/ItemCarouselPostPurchase.js +40 -0
  69. package/dist/esm/post-purchase/product/components/product-image/ItemGridPostPurchase.js +40 -0
  70. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/Arrow.js +27 -0
  71. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchase.js +33 -0
  72. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselPostPurchaseContext.js +19 -0
  73. package/dist/esm/post-purchase/product/components/product-image/carousel-post-purchase/CarouselWrapperPostPurchase.js +73 -0
  74. package/dist/esm/post-purchase/product/components/product-image/index.js +42 -44
  75. package/dist/esm/post-purchase/product/components/product-image/layouts/FeatureImageWithGalleryImage.js +22 -58
  76. package/dist/esm/post-purchase/product/components/product-image/layouts/OnlyGalleryImage.js +19 -12
  77. package/dist/esm/post-purchase/product/constants/index.js +34 -0
  78. package/dist/esm/post-purchase/product/hooks/product-image/useCarousel.js +12 -0
  79. package/dist/esm/post-purchase/product/hooks/product-image/useFeatureImagePostPurchase.js +30 -0
  80. package/dist/esm/post-purchase/product/hooks/product-image/useListCarousel.js +41 -0
  81. package/dist/esm/post-purchase/product/hooks/product-image/useNavigationCarouselPostPurchase.js +30 -0
  82. package/dist/esm/post-purchase/product/hooks/product-image/useProductImagePostPurchase.js +58 -0
  83. package/dist/esm/post-purchase/product/hooks/product-image/useSlideCarousel.js +33 -0
  84. package/dist/esm/post-purchase/product/settings/product-description/settingV2.js +6 -9
  85. package/dist/esm/post-purchase/product/settings/product-image/ProductFeatureImage.js +41 -0
  86. package/dist/esm/post-purchase/product/settings/product-image/ProductGalleryImage.js +1 -118
  87. package/dist/esm/post-purchase/product/settings/product-image/ProductImages.js +8 -79
  88. package/dist/esm/post-purchase/product/settings/product-image/setting-v1.js +161 -0
  89. package/dist/esm/post-purchase/product/settings/product-image/setting-v2.js +373 -0
  90. package/dist/esm/post-purchase/product/settings/product-image/uiV1.js +40 -0
  91. package/dist/esm/post-purchase/product/settings/product-image/uiV2.js +233 -0
  92. package/dist/esm/post-purchase/product/settings/product-price/uiV2.js +0 -3
  93. package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/settings.js +10 -6
  94. package/dist/esm/post-purchase/product/settings/product-price-breakdown/configs/uiV2.js +2 -2
  95. package/dist/esm/post-purchase/product/settings/product-quantity/configs/settings.js +3 -1
  96. package/dist/esm/post-purchase/product/settings/product-title/settingV2.js +6 -9
  97. package/dist/esm/post-purchase/text/settings/text/settingV2.js +0 -7
  98. package/dist/esm/post-purchase/text/settings/text/uiV2.js +2 -2
  99. package/dist/esm/product/components/FileUpload/components/common/index.js +3 -2
  100. package/dist/esm/product/setting/product/configs/presets.js +1 -1
  101. package/dist/esm/product/setting/product/configs/settings.js +4 -20
  102. package/dist/esm/setting.js +2 -1
  103. package/dist/types/index.d.ts +12 -5
  104. package/package.json +4 -4
  105. package/dist/cjs/post-purchase/product/components/product-image/Arrow.js +0 -60
  106. package/dist/cjs/post-purchase/product/components/product-image/CarouselPostPurchase.js +0 -78
  107. package/dist/esm/post-purchase/product/components/product-image/Arrow.js +0 -58
  108. package/dist/esm/post-purchase/product/components/product-image/CarouselPostPurchase.js +0 -76
@@ -0,0 +1,161 @@
1
+ import { productFeatureImageStyle } from './ProductFeatureImage.js';
2
+ import { productGalleryImageSetting } from './ProductGalleryImage.js';
3
+ import { productLayoutSettings } from './ProductImageLayoutSetting.js';
4
+ import { postPurchaseSpacing } from '../../../utils/constants.js';
5
+
6
+ const SettingV1 = [
7
+ {
8
+ id: 'setting',
9
+ controls: [
10
+ ...productLayoutSettings,
11
+ ...productGalleryImageSetting,
12
+ {
13
+ id: 'ftDisplayType',
14
+ label: 'Slider',
15
+ type: 'segment',
16
+ options: [
17
+ {
18
+ label: 'Yes',
19
+ value: 'slider'
20
+ },
21
+ {
22
+ label: 'No',
23
+ value: 'grid'
24
+ }
25
+ ],
26
+ default: 'grid'
27
+ }
28
+ ]
29
+ },
30
+ {
31
+ id: 'style',
32
+ controls: [
33
+ ...productFeatureImageStyle,
34
+ {
35
+ id: 'ilAspectRatio',
36
+ type: 'select',
37
+ default: '1',
38
+ options: [
39
+ {
40
+ label: 'Original',
41
+ value: 'auto'
42
+ },
43
+ {
44
+ label: 'Square',
45
+ value: '1'
46
+ },
47
+ {
48
+ label: 'Vertical',
49
+ value: '3/4'
50
+ },
51
+ {
52
+ label: 'Horizontal',
53
+ value: '4/3'
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ id: 'ilObjectFit',
59
+ type: 'layout-segment',
60
+ iconViewBox: '0 0 66 48',
61
+ enableItemBackground: true,
62
+ enableTooltip: true,
63
+ label: 'Image scale',
64
+ options: [
65
+ {
66
+ label: 'Fill image',
67
+ value: 'cover',
68
+ type: 'image'
69
+ },
70
+ {
71
+ label: 'Fit image',
72
+ value: 'contain',
73
+ type: 'image'
74
+ }
75
+ ],
76
+ default: 'cover'
77
+ },
78
+ {
79
+ id: 'ilBorder',
80
+ label: 'Active border',
81
+ type: 'segment',
82
+ default: 'display',
83
+ options: [
84
+ {
85
+ label: 'Yes',
86
+ value: 'display'
87
+ },
88
+ {
89
+ label: 'No',
90
+ value: 'none'
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ id: 'ilNavigation',
96
+ label: 'Navigation',
97
+ type: 'segment',
98
+ default: 'display',
99
+ options: [
100
+ {
101
+ label: 'Yes',
102
+ value: 'display'
103
+ },
104
+ {
105
+ label: 'No',
106
+ value: 'none'
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ type: 'select',
112
+ label: 'Spacing',
113
+ id: 'ilSpacing',
114
+ options: postPurchaseSpacing,
115
+ default: 'xtight'
116
+ },
117
+ {
118
+ id: 'ilItemPerSlide',
119
+ type: 'input:number',
120
+ min: 1,
121
+ hide: true,
122
+ default: 5
123
+ },
124
+ {
125
+ id: 'ilNumberPerRow',
126
+ type: 'input:number',
127
+ label: 'Item per row',
128
+ hide: true,
129
+ default: 5
130
+ },
131
+ {
132
+ id: 'align',
133
+ label: 'Alignment',
134
+ type: 'segment',
135
+ options: [
136
+ {
137
+ label: 'Left',
138
+ value: 'left',
139
+ type: 'align',
140
+ tooltip: 'Align left'
141
+ },
142
+ {
143
+ label: 'Center',
144
+ value: 'center',
145
+ type: 'align',
146
+ tooltip: 'Align center'
147
+ },
148
+ {
149
+ label: 'Right',
150
+ value: 'right',
151
+ type: 'align',
152
+ tooltip: 'Align right'
153
+ }
154
+ ],
155
+ default: 'left'
156
+ }
157
+ ]
158
+ }
159
+ ];
160
+
161
+ export { SettingV1 };
@@ -0,0 +1,373 @@
1
+ import { postPurchaseSpacing } from '../../../utils/constants.js';
2
+
3
+ const SettingV2 = [
4
+ {
5
+ id: 'setting',
6
+ controls: [
7
+ {
8
+ id: 'ratioLayoutLeft',
9
+ label: 'Ratio',
10
+ type: 'grid-arrange',
11
+ default: [
12
+ 2,
13
+ 10
14
+ ]
15
+ },
16
+ {
17
+ id: 'ratioLayoutRight',
18
+ label: 'Ratio',
19
+ type: 'grid-arrange',
20
+ default: [
21
+ 10,
22
+ 2
23
+ ]
24
+ },
25
+ {
26
+ id: 'layoutType',
27
+ label: 'Layout',
28
+ type: 'layout-selector',
29
+ iconViewBox: '0 0 72 72',
30
+ enableItemBackground: true,
31
+ itemPerRow: 3,
32
+ itemSpacing: 'large',
33
+ options: [
34
+ {
35
+ label: 'Image list bottom',
36
+ value: 'bottom-center',
37
+ type: 'p-image-layout',
38
+ iconName: 'gp-product-image-layout-bottom'
39
+ },
40
+ {
41
+ label: 'Image list left',
42
+ value: 'left',
43
+ type: 'p-image-layout',
44
+ iconName: 'gp-product-image-layout-left'
45
+ },
46
+ {
47
+ label: 'Image list right',
48
+ value: 'right',
49
+ type: 'p-image-layout',
50
+ iconName: 'gp-product-image-layout-right'
51
+ },
52
+ {
53
+ label: 'Featured Only',
54
+ value: 'only-feature',
55
+ type: 'p-image-layout',
56
+ iconName: 'gp-product-image-layout-featured-only'
57
+ },
58
+ {
59
+ label: 'Image list 2 col',
60
+ value: 'two-col',
61
+ type: 'p-image-layout',
62
+ iconName: 'gp-product-image-layout-two-col'
63
+ },
64
+ {
65
+ label: 'Image list 1 col',
66
+ value: 'one-col',
67
+ type: 'p-image-layout',
68
+ iconName: 'gp-product-image-layout-one-col'
69
+ }
70
+ ],
71
+ default: 'bottom-center'
72
+ },
73
+ {
74
+ id: 'spacingHoz',
75
+ type: 'range',
76
+ min: 0,
77
+ max: 100,
78
+ step: 1,
79
+ units: [
80
+ '%'
81
+ ],
82
+ default: '1%'
83
+ },
84
+ {
85
+ id: 'spacingVertical',
86
+ label: 'Spacing',
87
+ type: 'select',
88
+ options: postPurchaseSpacing,
89
+ default: 'tight'
90
+ },
91
+ {
92
+ id: 'displayType',
93
+ label: 'Gallery Type',
94
+ type: 'segment',
95
+ hide: true,
96
+ options: [
97
+ {
98
+ label: 'Slide',
99
+ value: 'slider'
100
+ },
101
+ {
102
+ label: 'All',
103
+ value: 'grid'
104
+ }
105
+ ],
106
+ default: 'slider'
107
+ },
108
+ {
109
+ id: 'ftDisplayType',
110
+ label: 'Slider',
111
+ type: 'segment',
112
+ options: [
113
+ {
114
+ label: 'Yes',
115
+ value: 'slider'
116
+ },
117
+ {
118
+ label: 'No',
119
+ value: 'grid'
120
+ }
121
+ ],
122
+ default: 'grid'
123
+ },
124
+ {
125
+ id: 'ftItemPerSlide',
126
+ type: 'input:number',
127
+ min: 1,
128
+ hide: true,
129
+ default: 1
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ id: 'style',
135
+ controls: [
136
+ {
137
+ type: 'select',
138
+ label: 'Spacing',
139
+ id: 'ftSpacing',
140
+ options: postPurchaseSpacing,
141
+ default: 'xtight'
142
+ },
143
+ {
144
+ id: 'ftNavigation',
145
+ label: 'Border',
146
+ type: 'segment',
147
+ options: [
148
+ {
149
+ label: 'Yes',
150
+ value: 'display'
151
+ },
152
+ {
153
+ label: 'No',
154
+ value: 'none'
155
+ }
156
+ ],
157
+ default: 'none'
158
+ },
159
+ {
160
+ id: 'ftBorder',
161
+ label: 'Border',
162
+ type: 'segment',
163
+ options: [
164
+ {
165
+ label: 'Yes',
166
+ value: 'display'
167
+ },
168
+ {
169
+ label: 'No',
170
+ value: 'none'
171
+ }
172
+ ],
173
+ default: 'none'
174
+ },
175
+ {
176
+ id: 'ftAspectRatio',
177
+ type: 'select',
178
+ default: '1',
179
+ options: [
180
+ {
181
+ label: 'Square',
182
+ value: '1',
183
+ icon: 'gp-image-shape-square'
184
+ },
185
+ {
186
+ label: 'Vertical',
187
+ value: '3/4',
188
+ icon: 'gp-image-shape-vertical'
189
+ },
190
+ {
191
+ label: 'Horizontal',
192
+ value: '4/3',
193
+ icon: 'gp-image-shape-horizontal'
194
+ },
195
+ {
196
+ label: 'Original',
197
+ value: 'auto'
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ id: 'ftWidth',
203
+ type: 'input:unit',
204
+ label: 'Width',
205
+ min: 0,
206
+ units: [
207
+ 'px',
208
+ '%'
209
+ ],
210
+ devices: {
211
+ desktop: {
212
+ default: '100%'
213
+ },
214
+ tablet: {
215
+ default: '100%'
216
+ },
217
+ mobile: {
218
+ default: '100%'
219
+ }
220
+ }
221
+ },
222
+ {
223
+ id: 'ftObjectFit',
224
+ type: 'layout-segment',
225
+ iconViewBox: '0 0 66 48',
226
+ enableItemBackground: true,
227
+ enableTooltip: true,
228
+ label: 'Image scale',
229
+ options: [
230
+ {
231
+ label: 'Fill image',
232
+ value: 'cover',
233
+ type: 'image'
234
+ },
235
+ {
236
+ label: 'Fit image',
237
+ value: 'contain',
238
+ type: 'image'
239
+ }
240
+ ],
241
+ default: 'cover'
242
+ },
243
+ {
244
+ id: 'ilAspectRatio',
245
+ type: 'select',
246
+ default: '1',
247
+ options: [
248
+ {
249
+ label: 'Square',
250
+ value: '1',
251
+ icon: 'gp-image-shape-square'
252
+ },
253
+ {
254
+ label: 'Vertical',
255
+ value: '3/4',
256
+ icon: 'gp-image-shape-vertical'
257
+ },
258
+ {
259
+ label: 'Horizontal',
260
+ value: '4/3',
261
+ icon: 'gp-image-shape-horizontal'
262
+ },
263
+ {
264
+ label: 'Original',
265
+ value: 'auto'
266
+ }
267
+ ]
268
+ },
269
+ {
270
+ id: 'ilObjectFit',
271
+ type: 'layout-segment',
272
+ iconViewBox: '0 0 66 48',
273
+ enableItemBackground: true,
274
+ enableTooltip: true,
275
+ label: 'Image scale',
276
+ options: [
277
+ {
278
+ label: 'Fill image',
279
+ value: 'cover',
280
+ type: 'image'
281
+ },
282
+ {
283
+ label: 'Fit image',
284
+ value: 'contain',
285
+ type: 'image'
286
+ }
287
+ ],
288
+ default: 'cover'
289
+ },
290
+ {
291
+ id: 'ilBorder',
292
+ label: 'Active border',
293
+ type: 'segment',
294
+ default: 'display',
295
+ options: [
296
+ {
297
+ label: 'Yes',
298
+ value: 'display'
299
+ },
300
+ {
301
+ label: 'No',
302
+ value: 'none'
303
+ }
304
+ ]
305
+ },
306
+ {
307
+ id: 'ilNavigation',
308
+ label: 'Navigation',
309
+ type: 'segment',
310
+ default: 'display',
311
+ options: [
312
+ {
313
+ label: 'Yes',
314
+ value: 'display'
315
+ },
316
+ {
317
+ label: 'No',
318
+ value: 'none'
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ type: 'select',
324
+ label: 'Spacing',
325
+ id: 'ilSpacing',
326
+ options: postPurchaseSpacing,
327
+ default: 'xtight'
328
+ },
329
+ {
330
+ id: 'ilItemPerSlide',
331
+ type: 'input:number',
332
+ min: 1,
333
+ hide: true,
334
+ default: 5
335
+ },
336
+ {
337
+ id: 'ilNumberPerRow',
338
+ type: 'input:number',
339
+ label: 'Item per row',
340
+ hide: true,
341
+ default: 5
342
+ },
343
+ {
344
+ id: 'align',
345
+ label: 'Alignment',
346
+ type: 'segment',
347
+ options: [
348
+ {
349
+ label: 'Left',
350
+ value: 'left',
351
+ type: 'align',
352
+ tooltip: 'Align left'
353
+ },
354
+ {
355
+ label: 'Center',
356
+ value: 'center',
357
+ type: 'align',
358
+ tooltip: 'Align center'
359
+ },
360
+ {
361
+ label: 'Right',
362
+ value: 'right',
363
+ type: 'align',
364
+ tooltip: 'Align right'
365
+ }
366
+ ],
367
+ default: 'left'
368
+ }
369
+ ]
370
+ }
371
+ ];
372
+
373
+ export { SettingV2 };
@@ -0,0 +1,40 @@
1
+ import { productLayoutUI } from './ProductImageLayoutSetting.js';
2
+ import { productFeatureImageUI } from './ProductFeatureImage.js';
3
+ import { productGalleryImageUI } from './ProductGalleryImage.js';
4
+
5
+ const SettingUIV1 = [
6
+ {
7
+ type: 'group',
8
+ label: {
9
+ en: 'Layout'
10
+ },
11
+ controls: productLayoutUI
12
+ },
13
+ {
14
+ type: 'group',
15
+ label: {
16
+ en: 'Featured image'
17
+ },
18
+ condition: "layoutType !== 'one-col' && layoutType !== 'two-col'",
19
+ controls: productFeatureImageUI
20
+ },
21
+ {
22
+ type: 'group',
23
+ label: {
24
+ en: 'Image list'
25
+ },
26
+ condition: "layoutType !== 'only-feature'",
27
+ controls: productGalleryImageUI
28
+ },
29
+ {
30
+ type: 'control',
31
+ setting: {
32
+ id: 'align'
33
+ },
34
+ label: {
35
+ en: 'Align'
36
+ }
37
+ }
38
+ ];
39
+
40
+ export { SettingUIV1 };