@gem-sdk/components 2.0.0-dev.414 → 2.0.0-dev.415
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/product/setting/product-image-v2/configs/setting-v2/index.js +12 -10
- package/dist/cjs/product/setting/product-image-v2/configs/uiV2.js +26 -15
- package/dist/esm/product/setting/product-image-v2/configs/setting-v2/index.js +12 -10
- package/dist/esm/product/setting/product-image-v2/configs/uiV2.js +26 -15
- package/package.json +2 -2
|
@@ -181,25 +181,26 @@ const ProductImageSettingsV2 = [
|
|
|
181
181
|
id: 'position',
|
|
182
182
|
label: 'Layout',
|
|
183
183
|
type: 'layout-selector',
|
|
184
|
-
iconViewBox: '0 0
|
|
184
|
+
iconViewBox: '0 0 50 50',
|
|
185
185
|
enableItemBackground: true,
|
|
186
186
|
itemPerRow: 3,
|
|
187
187
|
itemSpacing: 'large',
|
|
188
|
+
enableItemOpacity: true,
|
|
188
189
|
options: [
|
|
189
190
|
{
|
|
190
|
-
label: '
|
|
191
|
+
label: 'Featured top',
|
|
191
192
|
value: 'bottom-center',
|
|
192
193
|
type: 'p-image-layout',
|
|
193
194
|
iconName: 'gp-product-image-layout-bottom'
|
|
194
195
|
},
|
|
195
196
|
{
|
|
196
|
-
label: '
|
|
197
|
+
label: 'Featured right',
|
|
197
198
|
value: 'left',
|
|
198
199
|
type: 'p-image-layout',
|
|
199
200
|
iconName: 'gp-product-image-layout-left'
|
|
200
201
|
},
|
|
201
202
|
{
|
|
202
|
-
label: '
|
|
203
|
+
label: 'Featured left',
|
|
203
204
|
value: 'right',
|
|
204
205
|
type: 'p-image-layout',
|
|
205
206
|
iconName: 'gp-product-image-layout-right'
|
|
@@ -211,31 +212,32 @@ const ProductImageSettingsV2 = [
|
|
|
211
212
|
iconName: 'gp-product-image-layout-featured-only'
|
|
212
213
|
},
|
|
213
214
|
{
|
|
214
|
-
label: '
|
|
215
|
+
label: 'Image list 2 col',
|
|
215
216
|
value: 'two-col',
|
|
216
217
|
type: 'p-image-layout',
|
|
217
218
|
iconName: 'gp-product-image-layout-two-col'
|
|
218
219
|
},
|
|
219
220
|
{
|
|
220
|
-
label: '
|
|
221
|
+
label: 'Image list 1 col',
|
|
221
222
|
value: 'one-col',
|
|
222
223
|
type: 'p-image-layout',
|
|
223
|
-
iconName: 'gp-product-image-layout-one-col'
|
|
224
|
+
iconName: 'gp-product-image-layout-one-col',
|
|
225
|
+
noPadding: 'y'
|
|
224
226
|
},
|
|
225
227
|
{
|
|
226
|
-
label: '
|
|
228
|
+
label: 'Image list inside bottom',
|
|
227
229
|
value: 'inside-bottom',
|
|
228
230
|
type: 'p-image-layout',
|
|
229
231
|
iconName: 'gp-product-image-layout-bottom-inside'
|
|
230
232
|
},
|
|
231
233
|
{
|
|
232
|
-
label: '
|
|
234
|
+
label: 'Image list inside left',
|
|
233
235
|
value: 'inside-left',
|
|
234
236
|
type: 'p-image-layout',
|
|
235
237
|
iconName: 'gp-product-image-layout-left-inside'
|
|
236
238
|
},
|
|
237
239
|
{
|
|
238
|
-
label: '
|
|
240
|
+
label: 'Image list inside right',
|
|
239
241
|
value: 'inside-right',
|
|
240
242
|
type: 'p-image-layout',
|
|
241
243
|
iconName: 'gp-product-image-layout-right-inside'
|
|
@@ -14,23 +14,34 @@ const SettingUIV2 = [
|
|
|
14
14
|
layout: 'vertical',
|
|
15
15
|
setting: {
|
|
16
16
|
id: 'position'
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
type: 'control',
|
|
21
|
-
setting: {
|
|
22
|
-
id: 'ratioLayout'
|
|
23
17
|
},
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
type: 'control',
|
|
29
|
-
setting: {
|
|
30
|
-
id: 'ratioLayoutRight'
|
|
18
|
+
options: {
|
|
19
|
+
isComboLayout: true
|
|
31
20
|
},
|
|
32
|
-
|
|
33
|
-
|
|
21
|
+
controls: [
|
|
22
|
+
{
|
|
23
|
+
label: {
|
|
24
|
+
en: 'Ratio'
|
|
25
|
+
},
|
|
26
|
+
type: 'control',
|
|
27
|
+
setting: {
|
|
28
|
+
id: 'ratioLayout'
|
|
29
|
+
},
|
|
30
|
+
layout: 'vertical',
|
|
31
|
+
conditionDisplay: 'position == "left"'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: {
|
|
35
|
+
en: 'Ratio'
|
|
36
|
+
},
|
|
37
|
+
type: 'control',
|
|
38
|
+
setting: {
|
|
39
|
+
id: 'ratioLayoutRight'
|
|
40
|
+
},
|
|
41
|
+
layout: 'vertical',
|
|
42
|
+
conditionDisplay: 'position == "right"'
|
|
43
|
+
}
|
|
44
|
+
]
|
|
34
45
|
}
|
|
35
46
|
]
|
|
36
47
|
},
|
|
@@ -179,25 +179,26 @@ const ProductImageSettingsV2 = [
|
|
|
179
179
|
id: 'position',
|
|
180
180
|
label: 'Layout',
|
|
181
181
|
type: 'layout-selector',
|
|
182
|
-
iconViewBox: '0 0
|
|
182
|
+
iconViewBox: '0 0 50 50',
|
|
183
183
|
enableItemBackground: true,
|
|
184
184
|
itemPerRow: 3,
|
|
185
185
|
itemSpacing: 'large',
|
|
186
|
+
enableItemOpacity: true,
|
|
186
187
|
options: [
|
|
187
188
|
{
|
|
188
|
-
label: '
|
|
189
|
+
label: 'Featured top',
|
|
189
190
|
value: 'bottom-center',
|
|
190
191
|
type: 'p-image-layout',
|
|
191
192
|
iconName: 'gp-product-image-layout-bottom'
|
|
192
193
|
},
|
|
193
194
|
{
|
|
194
|
-
label: '
|
|
195
|
+
label: 'Featured right',
|
|
195
196
|
value: 'left',
|
|
196
197
|
type: 'p-image-layout',
|
|
197
198
|
iconName: 'gp-product-image-layout-left'
|
|
198
199
|
},
|
|
199
200
|
{
|
|
200
|
-
label: '
|
|
201
|
+
label: 'Featured left',
|
|
201
202
|
value: 'right',
|
|
202
203
|
type: 'p-image-layout',
|
|
203
204
|
iconName: 'gp-product-image-layout-right'
|
|
@@ -209,31 +210,32 @@ const ProductImageSettingsV2 = [
|
|
|
209
210
|
iconName: 'gp-product-image-layout-featured-only'
|
|
210
211
|
},
|
|
211
212
|
{
|
|
212
|
-
label: '
|
|
213
|
+
label: 'Image list 2 col',
|
|
213
214
|
value: 'two-col',
|
|
214
215
|
type: 'p-image-layout',
|
|
215
216
|
iconName: 'gp-product-image-layout-two-col'
|
|
216
217
|
},
|
|
217
218
|
{
|
|
218
|
-
label: '
|
|
219
|
+
label: 'Image list 1 col',
|
|
219
220
|
value: 'one-col',
|
|
220
221
|
type: 'p-image-layout',
|
|
221
|
-
iconName: 'gp-product-image-layout-one-col'
|
|
222
|
+
iconName: 'gp-product-image-layout-one-col',
|
|
223
|
+
noPadding: 'y'
|
|
222
224
|
},
|
|
223
225
|
{
|
|
224
|
-
label: '
|
|
226
|
+
label: 'Image list inside bottom',
|
|
225
227
|
value: 'inside-bottom',
|
|
226
228
|
type: 'p-image-layout',
|
|
227
229
|
iconName: 'gp-product-image-layout-bottom-inside'
|
|
228
230
|
},
|
|
229
231
|
{
|
|
230
|
-
label: '
|
|
232
|
+
label: 'Image list inside left',
|
|
231
233
|
value: 'inside-left',
|
|
232
234
|
type: 'p-image-layout',
|
|
233
235
|
iconName: 'gp-product-image-layout-left-inside'
|
|
234
236
|
},
|
|
235
237
|
{
|
|
236
|
-
label: '
|
|
238
|
+
label: 'Image list inside right',
|
|
237
239
|
value: 'inside-right',
|
|
238
240
|
type: 'p-image-layout',
|
|
239
241
|
iconName: 'gp-product-image-layout-right-inside'
|
|
@@ -12,23 +12,34 @@ const SettingUIV2 = [
|
|
|
12
12
|
layout: 'vertical',
|
|
13
13
|
setting: {
|
|
14
14
|
id: 'position'
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
type: 'control',
|
|
19
|
-
setting: {
|
|
20
|
-
id: 'ratioLayout'
|
|
21
15
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: 'control',
|
|
27
|
-
setting: {
|
|
28
|
-
id: 'ratioLayoutRight'
|
|
16
|
+
options: {
|
|
17
|
+
isComboLayout: true
|
|
29
18
|
},
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
controls: [
|
|
20
|
+
{
|
|
21
|
+
label: {
|
|
22
|
+
en: 'Ratio'
|
|
23
|
+
},
|
|
24
|
+
type: 'control',
|
|
25
|
+
setting: {
|
|
26
|
+
id: 'ratioLayout'
|
|
27
|
+
},
|
|
28
|
+
layout: 'vertical',
|
|
29
|
+
conditionDisplay: 'position == "left"'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: {
|
|
33
|
+
en: 'Ratio'
|
|
34
|
+
},
|
|
35
|
+
type: 'control',
|
|
36
|
+
setting: {
|
|
37
|
+
id: 'ratioLayoutRight'
|
|
38
|
+
},
|
|
39
|
+
layout: 'vertical',
|
|
40
|
+
conditionDisplay: 'position == "right"'
|
|
41
|
+
}
|
|
42
|
+
]
|
|
32
43
|
}
|
|
33
44
|
]
|
|
34
45
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.415",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"update-img-src-3rd": "node ./scripts/update-img-src-3rd.js"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@gem-sdk/core": "2.0.0-dev.
|
|
26
|
+
"@gem-sdk/core": "2.0.0-dev.415",
|
|
27
27
|
"@gem-sdk/styles": "2.0.0-dev.381",
|
|
28
28
|
"@gem-sdk/system": "2.0.0-dev.371",
|
|
29
29
|
"@types/react-transition-group": "^4.4.5"
|