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