@gem-sdk/components 2.0.0-dev.622 → 2.0.0-dev.624
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.
- package/dist/cjs/builder.js +12 -6
- package/dist/cjs/collection/components/collection-paginator/common/styles.js +3 -4
- package/dist/cjs/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +2 -1
- package/dist/cjs/collection/setting/collection-paginator/configs/settings.js +2 -3
- package/dist/cjs/index.js +34 -32
- package/dist/cjs/index.liquid.js +16 -10
- package/dist/cjs/next.js +3 -1
- package/dist/cjs/product/components/ProductImagesV3/common/common.js +360 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getAttr.js +192 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getBorderActiveCss.js +26 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getClasses.js +94 -0
- package/dist/cjs/product/components/ProductImagesV3/common/getStyle.js +303 -0
- package/dist/cjs/product/components/ProductImagesV3/common/hoverAction.js +95 -0
- package/dist/cjs/product/components/ProductImagesV3/common/productFeaturedImage.js +59 -0
- package/dist/cjs/product/components/ProductImagesV3/common/productGallery.js +266 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/MediaIcon.js +63 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +36 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +109 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +139 -0
- package/dist/cjs/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +100 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +77 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +300 -0
- package/dist/cjs/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +44 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +83 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +182 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +30 -0
- package/dist/cjs/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +239 -0
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +28 -0
- package/dist/cjs/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +144 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesAttr.js +14 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesClassName.js +54 -0
- package/dist/cjs/product/components/ProductImagesV3/composables/getProductImagesStyles.js +53 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +55 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +41 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +134 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +203 -0
- package/dist/cjs/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +87 -0
- package/dist/cjs/product/components/ProductImagesV3/index.js +291 -0
- package/dist/cjs/product/components/ProductImagesV3/index.liquid.js +153 -0
- package/dist/cjs/product/index.js +6 -4
- package/dist/cjs/product/next.js +4 -0
- package/dist/cjs/product/setting/product-image-v3/ProductFeatureImage.js +252 -0
- package/dist/cjs/product/setting/product-image-v3/ProductGalleryImage.js +251 -0
- package/dist/cjs/product/setting/product-image-v3/ProductImages.js +74 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +388 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +518 -0
- package/dist/cjs/product/setting/product-image-v3/configs/setting-v2/index.js +336 -0
- package/dist/cjs/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +118 -0
- package/dist/cjs/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +119 -0
- package/dist/cjs/product/setting/product-image-v3/configs/uiV1.js +237 -0
- package/dist/cjs/product/setting/product-image-v3/configs/uiV2.js +491 -0
- package/dist/cjs/setting.js +97 -95
- package/dist/cjs/swiper-carousel/arrow/Arrow.js +52 -0
- package/dist/cjs/swiper-carousel/arrow/Arrow.liquid.js +46 -0
- package/dist/cjs/swiper-carousel/arrow/common/common.js +119 -0
- package/dist/cjs/swiper-carousel/arrow/common/getClass.js +50 -0
- package/dist/cjs/swiper-carousel/arrow/common/getStyle.js +84 -0
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.js +34 -0
- package/dist/cjs/swiper-carousel/carousel-item/SwiperItem.liquid.js +38 -0
- package/dist/cjs/swiper-carousel/carousel-item/common/getClass.js +29 -0
- package/dist/cjs/swiper-carousel/carousel-item/common/getStyle.js +79 -0
- package/dist/cjs/swiper-carousel/carousel-item/hook/useCarouseItem.js +22 -0
- package/dist/cjs/swiper-carousel/components/common/carousel.js +98 -0
- package/dist/cjs/swiper-carousel/components/const/index.js +5 -0
- package/dist/cjs/swiper-carousel/components/hooks/useTrackPreviewPause.js +34 -0
- package/dist/cjs/swiper-carousel/components/plugins/AnimationPlugin.js +42 -0
- package/dist/cjs/swiper-carousel/components/plugins/AutoPlayPlugin.js +105 -0
- package/dist/cjs/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +15 -0
- package/dist/cjs/swiper-carousel/components/plugins/MutationPlugin.js +45 -0
- package/dist/cjs/swiper-carousel/dots/Dots.js +51 -0
- package/dist/cjs/swiper-carousel/dots/Dots.liquid.js +26 -0
- package/dist/cjs/swiper-carousel/dots/common/common.js +28 -0
- package/dist/cjs/swiper-carousel/dots/common/getClass.js +40 -0
- package/dist/cjs/swiper-carousel/dots/common/getStyle.js +33 -0
- package/dist/cjs/swiper-carousel/dots/hook/useDotsSetting.js +21 -0
- package/dist/cjs/swiper-carousel/index.js +17 -0
- package/dist/cjs/swiper-carousel/next.js +22 -0
- package/dist/cjs/swiper-carousel/root/Swiper.js +128 -0
- package/dist/cjs/swiper-carousel/root/Swiper.liquid.js +104 -0
- package/dist/cjs/swiper-carousel/root/common/getAttr.js +25 -0
- package/dist/cjs/swiper-carousel/root/common/getClass.js +135 -0
- package/dist/cjs/swiper-carousel/root/common/getData.js +56 -0
- package/dist/cjs/swiper-carousel/root/common/getStyle.js +64 -0
- package/dist/cjs/swiper-carousel/root/hook/useCarousel.js +482 -0
- package/dist/cjs/swiper-carousel/setting/Swiper.js +42 -0
- package/dist/cjs/swiper-carousel/setting/SwiperItem.js +40 -0
- package/dist/cjs/swiper-carousel/setting/configs/presets.js +87 -0
- package/dist/cjs/swiper-carousel/setting/configs/settingV2.js +819 -0
- package/dist/cjs/swiper-carousel/setting/configs/uiV2.js +718 -0
- package/dist/esm/builder.js +6 -0
- package/dist/esm/collection/components/collection-paginator/common/styles.js +3 -4
- package/dist/esm/collection/components/collection-paginator/components/CollectionPaginator.liquid.js +2 -1
- package/dist/esm/collection/setting/collection-paginator/configs/settings.js +2 -3
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.liquid.js +3 -0
- package/dist/esm/next.js +3 -1
- package/dist/esm/product/components/ProductImagesV3/common/common.js +344 -0
- package/dist/esm/product/components/ProductImagesV3/common/getAttr.js +189 -0
- package/dist/esm/product/components/ProductImagesV3/common/getBorderActiveCss.js +24 -0
- package/dist/esm/product/components/ProductImagesV3/common/getClasses.js +83 -0
- package/dist/esm/product/components/ProductImagesV3/common/getStyle.js +292 -0
- package/dist/esm/product/components/ProductImagesV3/common/hoverAction.js +92 -0
- package/dist/esm/product/components/ProductImagesV3/common/productFeaturedImage.js +53 -0
- package/dist/esm/product/components/ProductImagesV3/common/productGallery.js +251 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/MediaIcon.js +59 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeatureVideo.js +32 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageCarousel.js +105 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductFeaturedImageOnly.js +135 -0
- package/dist/esm/product/components/ProductImagesV3/components/child/ProductGalleryGrid.js +96 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.js +73 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-gallery/FeatureImageWithGallery.liquid.js +296 -0
- package/dist/esm/product/components/ProductImagesV3/components/feature-only/OnlyFeatureImage.js +40 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.js +79 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-carousel/GalleryCarousel.liquid.js +178 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.js +26 -0
- package/dist/esm/product/components/ProductImagesV3/components/gallery-grid/GalleryGrid.liquid.js +235 -0
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ButtonOpenLightBox.js +24 -0
- package/dist/esm/product/components/ProductImagesV3/components/lightbox/ProductImagesLightBox.js +140 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesAttr.js +12 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesClassName.js +52 -0
- package/dist/esm/product/components/ProductImagesV3/composables/getProductImagesStyles.js +51 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useFeatureImageWithGallery.js +53 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useFilterImagesByVariant.js +39 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useGalleryCarousel.js +132 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductFeaturedImageCarousel.js +201 -0
- package/dist/esm/product/components/ProductImagesV3/hooks/useProductGalleryGrid.js +85 -0
- package/dist/esm/product/components/ProductImagesV3/index.js +287 -0
- package/dist/esm/product/components/ProductImagesV3/index.liquid.js +149 -0
- package/dist/esm/product/index.js +26 -24
- package/dist/esm/product/next.js +4 -0
- package/dist/esm/product/setting/product-image-v3/ProductFeatureImage.js +248 -0
- package/dist/esm/product/setting/product-image-v3/ProductGalleryImage.js +248 -0
- package/dist/esm/product/setting/product-image-v3/ProductImages.js +70 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductFeatureImage.js +384 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/ProductGalleryImage.js +515 -0
- package/dist/esm/product/setting/product-image-v3/configs/setting-v2/index.js +334 -0
- package/dist/esm/product/setting/product-image-v3/configs/ui/FeatureNavigation.js +116 -0
- package/dist/esm/product/setting/product-image-v3/configs/ui/ImageListNavigation.js +117 -0
- package/dist/esm/product/setting/product-image-v3/configs/uiV1.js +235 -0
- package/dist/esm/product/setting/product-image-v3/configs/uiV2.js +489 -0
- package/dist/esm/setting.js +2 -0
- package/dist/esm/swiper-carousel/arrow/Arrow.js +48 -0
- package/dist/esm/swiper-carousel/arrow/Arrow.liquid.js +42 -0
- package/dist/esm/swiper-carousel/arrow/common/common.js +111 -0
- package/dist/esm/swiper-carousel/arrow/common/getClass.js +48 -0
- package/dist/esm/swiper-carousel/arrow/common/getStyle.js +82 -0
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.js +30 -0
- package/dist/esm/swiper-carousel/carousel-item/SwiperItem.liquid.js +34 -0
- package/dist/esm/swiper-carousel/carousel-item/common/getClass.js +27 -0
- package/dist/esm/swiper-carousel/carousel-item/common/getStyle.js +77 -0
- package/dist/esm/swiper-carousel/carousel-item/hook/useCarouseItem.js +20 -0
- package/dist/esm/swiper-carousel/components/common/carousel.js +93 -0
- package/dist/esm/swiper-carousel/components/const/index.js +3 -0
- package/dist/esm/swiper-carousel/components/hooks/useTrackPreviewPause.js +30 -0
- package/dist/esm/swiper-carousel/components/plugins/AnimationPlugin.js +35 -0
- package/dist/esm/swiper-carousel/components/plugins/AutoPlayPlugin.js +103 -0
- package/dist/esm/swiper-carousel/components/plugins/FixSliderMoveBackwards.js +13 -0
- package/dist/esm/swiper-carousel/components/plugins/MutationPlugin.js +43 -0
- package/dist/esm/swiper-carousel/dots/Dots.js +47 -0
- package/dist/esm/swiper-carousel/dots/Dots.liquid.js +22 -0
- package/dist/esm/swiper-carousel/dots/common/common.js +26 -0
- package/dist/esm/swiper-carousel/dots/common/getClass.js +38 -0
- package/dist/esm/swiper-carousel/dots/common/getStyle.js +31 -0
- package/dist/esm/swiper-carousel/dots/hook/useDotsSetting.js +19 -0
- package/dist/esm/swiper-carousel/index.js +15 -0
- package/dist/esm/swiper-carousel/next.js +18 -0
- package/dist/esm/swiper-carousel/root/Swiper.js +124 -0
- package/dist/esm/swiper-carousel/root/Swiper.liquid.js +100 -0
- package/dist/esm/swiper-carousel/root/common/getAttr.js +23 -0
- package/dist/esm/swiper-carousel/root/common/getClass.js +133 -0
- package/dist/esm/swiper-carousel/root/common/getData.js +54 -0
- package/dist/esm/swiper-carousel/root/common/getStyle.js +62 -0
- package/dist/esm/swiper-carousel/root/hook/useCarousel.js +480 -0
- package/dist/esm/swiper-carousel/setting/Swiper.js +38 -0
- package/dist/esm/swiper-carousel/setting/SwiperItem.js +36 -0
- package/dist/esm/swiper-carousel/setting/configs/presets.js +85 -0
- package/dist/esm/swiper-carousel/setting/configs/settingV2.js +815 -0
- package/dist/esm/swiper-carousel/setting/configs/uiV2.js +713 -0
- package/dist/types/index.d.ts +551 -116
- package/package.json +2 -2
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { productSelectImage, productFeatureImageUI, productFeatureImageNavigationUI } from '../ProductFeatureImage.js';
|
|
2
|
+
import { productGalleryImageUI, productGalleryImageNavigationUI } from '../ProductGalleryImage.js';
|
|
3
|
+
|
|
4
|
+
const SettingUIV1 = [
|
|
5
|
+
{
|
|
6
|
+
type: 'group',
|
|
7
|
+
label: {
|
|
8
|
+
en: 'Layout'
|
|
9
|
+
},
|
|
10
|
+
controls: [
|
|
11
|
+
{
|
|
12
|
+
type: 'control',
|
|
13
|
+
layout: 'vertical',
|
|
14
|
+
setting: {
|
|
15
|
+
id: 'position'
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
type: 'control',
|
|
20
|
+
label: {
|
|
21
|
+
en: 'Ratio'
|
|
22
|
+
},
|
|
23
|
+
setting: {
|
|
24
|
+
id: 'ratioLayout'
|
|
25
|
+
},
|
|
26
|
+
layout: 'vertical',
|
|
27
|
+
condition: 'position == "left"'
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
type: 'control',
|
|
31
|
+
label: {
|
|
32
|
+
en: 'Ratio'
|
|
33
|
+
},
|
|
34
|
+
setting: {
|
|
35
|
+
id: 'ratioLayoutRight'
|
|
36
|
+
},
|
|
37
|
+
layout: 'vertical',
|
|
38
|
+
condition: 'position == "right"'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
type: 'control',
|
|
42
|
+
label: {
|
|
43
|
+
en: 'Spacing'
|
|
44
|
+
},
|
|
45
|
+
setting: {
|
|
46
|
+
id: 'spacing'
|
|
47
|
+
},
|
|
48
|
+
isMoreSetting: true,
|
|
49
|
+
condition: '["bottom-center", "left", "right", "inside-bottom", "inside-left", "inside-right"].includes(position)'
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
type: 'control',
|
|
53
|
+
label: {
|
|
54
|
+
en: 'Spacing'
|
|
55
|
+
},
|
|
56
|
+
setting: {
|
|
57
|
+
id: 'itemSpacing'
|
|
58
|
+
},
|
|
59
|
+
isMoreSetting: true,
|
|
60
|
+
condition: '["one-col", "two-col"].includes(position)'
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: 'group',
|
|
66
|
+
label: {
|
|
67
|
+
en: 'Select images to display'
|
|
68
|
+
},
|
|
69
|
+
controls: productSelectImage,
|
|
70
|
+
condition: '["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
type: 'group',
|
|
74
|
+
label: {
|
|
75
|
+
en: ''
|
|
76
|
+
},
|
|
77
|
+
controls: [
|
|
78
|
+
{
|
|
79
|
+
type: 'control',
|
|
80
|
+
label: {
|
|
81
|
+
en: 'Display images by variant'
|
|
82
|
+
},
|
|
83
|
+
setting: {
|
|
84
|
+
id: 'displayByVariant'
|
|
85
|
+
},
|
|
86
|
+
options: {
|
|
87
|
+
label: 'large',
|
|
88
|
+
styleControl: {
|
|
89
|
+
width: 'auto'
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
type: 'control',
|
|
95
|
+
label: {
|
|
96
|
+
en: 'Variant style'
|
|
97
|
+
},
|
|
98
|
+
setting: {
|
|
99
|
+
id: 'variantSelect'
|
|
100
|
+
},
|
|
101
|
+
condition: 'displayByVariant == true'
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: 'group',
|
|
107
|
+
label: {
|
|
108
|
+
en: 'Featured image'
|
|
109
|
+
},
|
|
110
|
+
controls: productFeatureImageUI,
|
|
111
|
+
condition: '["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)',
|
|
112
|
+
hiddenDivice: true
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: 'group',
|
|
116
|
+
label: {
|
|
117
|
+
en: ''
|
|
118
|
+
},
|
|
119
|
+
controls: productFeatureImageNavigationUI,
|
|
120
|
+
condition: '["bottom-center", "left", "right", "only-feature", "inside-bottom", "inside-left", "inside-right"].includes(position)'
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
type: 'group',
|
|
124
|
+
label: {
|
|
125
|
+
en: 'Dots'
|
|
126
|
+
},
|
|
127
|
+
controls: [
|
|
128
|
+
{
|
|
129
|
+
type: 'control',
|
|
130
|
+
setting: {
|
|
131
|
+
id: 'ftDotStyle'
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
condition: 'ftDotStyle !== "none"',
|
|
136
|
+
type: 'control',
|
|
137
|
+
label: {
|
|
138
|
+
en: 'Active dot color'
|
|
139
|
+
},
|
|
140
|
+
setting: {
|
|
141
|
+
id: 'ftDotActiveColor'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
condition: 'ftDotStyle !== "none"',
|
|
146
|
+
type: 'control',
|
|
147
|
+
label: {
|
|
148
|
+
en: 'Inactive dot color'
|
|
149
|
+
},
|
|
150
|
+
setting: {
|
|
151
|
+
id: 'ftDotColor'
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
condition: 'ftDotStyle !== "none"',
|
|
156
|
+
type: 'control',
|
|
157
|
+
label: {
|
|
158
|
+
en: 'Dots size'
|
|
159
|
+
},
|
|
160
|
+
setting: {
|
|
161
|
+
id: 'ftDotSize'
|
|
162
|
+
},
|
|
163
|
+
isMoreSetting: true
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
condition: 'ftDotStyle !== "none"',
|
|
167
|
+
type: 'control',
|
|
168
|
+
label: {
|
|
169
|
+
en: 'Gap to Image'
|
|
170
|
+
},
|
|
171
|
+
setting: {
|
|
172
|
+
id: 'ftDotGapToCarousel'
|
|
173
|
+
},
|
|
174
|
+
isMoreSetting: true
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
condition: 'position === "only-feature"'
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
type: 'group',
|
|
181
|
+
label: {
|
|
182
|
+
en: 'Image list'
|
|
183
|
+
},
|
|
184
|
+
controls: productGalleryImageUI,
|
|
185
|
+
condition: 'position !== "only-feature"',
|
|
186
|
+
hiddenDivice: true
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
type: 'group',
|
|
190
|
+
label: {
|
|
191
|
+
en: ''
|
|
192
|
+
},
|
|
193
|
+
controls: productGalleryImageNavigationUI,
|
|
194
|
+
condition: 'position !== "only-feature"'
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'group',
|
|
198
|
+
controls: [
|
|
199
|
+
{
|
|
200
|
+
type: 'control',
|
|
201
|
+
label: {
|
|
202
|
+
en: 'Quality'
|
|
203
|
+
},
|
|
204
|
+
options: {
|
|
205
|
+
label: 'large'
|
|
206
|
+
},
|
|
207
|
+
setting: {
|
|
208
|
+
id: 'qualityType'
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
type: 'control',
|
|
213
|
+
layout: 'horizontal',
|
|
214
|
+
label: {
|
|
215
|
+
en: ' '
|
|
216
|
+
},
|
|
217
|
+
condition: 'qualityType == "custom"',
|
|
218
|
+
setting: {
|
|
219
|
+
id: 'qualityPercent'
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
type: 'control',
|
|
226
|
+
label: {
|
|
227
|
+
en: 'Align'
|
|
228
|
+
},
|
|
229
|
+
setting: {
|
|
230
|
+
id: 'align'
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
];
|
|
234
|
+
|
|
235
|
+
export { SettingUIV1 };
|