@gem-sdk/components 2.0.0-dev.382 → 2.0.0-dev.384
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/button/setting/Button.js +1 -1
- package/dist/cjs/button/setting/configs/settings.js +14 -1
- package/dist/cjs/button/setting/configs/uiV2.js +118 -33
- package/dist/cjs/grid/row/commons/getStyle.js +8 -3
- package/dist/cjs/grid/section/setting/Section.js +4 -4
- package/dist/cjs/grid/section/setting/configs/settings.js +3 -3
- package/dist/cjs/grid/section/setting/configs/uiV2.js +9 -16
- package/dist/cjs/image/setting/configs/uiV2.js +45 -4
- package/dist/cjs/image-comparison/setting/configs/uiV2.js +44 -0
- package/dist/cjs/product/setting/dynamic-checkout/configs/settings.js +1 -1
- package/dist/cjs/product/setting/dynamic-checkout/configs/uiV2.js +118 -33
- package/dist/cjs/product/setting/product-button/configs/uiV2.js +86 -6
- package/dist/cjs/product/setting/product-view-more/configs/uiV2.js +86 -6
- package/dist/cjs/sticky/setting/configs/uiV2.js +43 -3
- package/dist/esm/button/setting/Button.js +1 -1
- package/dist/esm/button/setting/configs/settings.js +14 -1
- package/dist/esm/button/setting/configs/uiV2.js +118 -33
- package/dist/esm/grid/row/commons/getStyle.js +8 -3
- package/dist/esm/grid/section/setting/Section.js +4 -4
- package/dist/esm/grid/section/setting/configs/settings.js +3 -3
- package/dist/esm/grid/section/setting/configs/uiV2.js +9 -16
- package/dist/esm/image/setting/configs/uiV2.js +45 -4
- package/dist/esm/image-comparison/setting/configs/uiV2.js +44 -0
- package/dist/esm/product/setting/dynamic-checkout/configs/settings.js +1 -1
- package/dist/esm/product/setting/dynamic-checkout/configs/uiV2.js +118 -33
- package/dist/esm/product/setting/product-button/configs/uiV2.js +86 -6
- package/dist/esm/product/setting/product-view-more/configs/uiV2.js +86 -6
- package/dist/esm/sticky/setting/configs/uiV2.js +43 -3
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -252,6 +252,19 @@ const ButtonSettings = [
|
|
|
252
252
|
hover: true
|
|
253
253
|
}
|
|
254
254
|
},
|
|
255
|
+
{
|
|
256
|
+
id: 'hasBoxShadowBtn',
|
|
257
|
+
type: 'toggle',
|
|
258
|
+
label: 'Enable Button Shadow',
|
|
259
|
+
default: {
|
|
260
|
+
normal: false,
|
|
261
|
+
hover: false
|
|
262
|
+
},
|
|
263
|
+
state: {
|
|
264
|
+
normal: true,
|
|
265
|
+
hover: true
|
|
266
|
+
}
|
|
267
|
+
},
|
|
255
268
|
{
|
|
256
269
|
id: 'boxShadowBtnV2',
|
|
257
270
|
type: 'shadow-v2',
|
|
@@ -388,7 +401,7 @@ const ButtonSettings = [
|
|
|
388
401
|
default: {
|
|
389
402
|
type: 'paragraph-1',
|
|
390
403
|
attrs: {
|
|
391
|
-
color: 'text-
|
|
404
|
+
color: 'text-3'
|
|
392
405
|
}
|
|
393
406
|
},
|
|
394
407
|
ignoreReRender: true,
|
|
@@ -154,9 +154,49 @@ const SettingUIV2 = [
|
|
|
154
154
|
id: 'boxShadowBtnV2',
|
|
155
155
|
state: 'normal'
|
|
156
156
|
},
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
options: {
|
|
158
|
+
updateFields: [
|
|
159
|
+
{
|
|
160
|
+
field: 'enable',
|
|
161
|
+
settingId: 'hasBoxShadowBtn',
|
|
162
|
+
state: 'normal'
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
controlChangeTrigger: {
|
|
167
|
+
settings: [
|
|
168
|
+
{
|
|
169
|
+
condition: `boxShadowBtnV2.normal.enable === true`,
|
|
170
|
+
source: [
|
|
171
|
+
'boxShadowBtnV2',
|
|
172
|
+
'hasBoxShadowBtn'
|
|
173
|
+
],
|
|
174
|
+
action: {
|
|
175
|
+
controlId: 'hasBoxShadowBtn',
|
|
176
|
+
groupType: 'advanced',
|
|
177
|
+
controlType: 'advanced',
|
|
178
|
+
state: 'normal',
|
|
179
|
+
newValue: true
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
condition: `boxShadowBtnV2.normal.enable === false`,
|
|
184
|
+
source: [
|
|
185
|
+
'boxShadowBtnV2',
|
|
186
|
+
'hasBoxShadowBtn'
|
|
187
|
+
],
|
|
188
|
+
action: {
|
|
189
|
+
controlId: 'hasBoxShadowBtn',
|
|
190
|
+
groupType: 'advanced',
|
|
191
|
+
controlType: 'advanced',
|
|
192
|
+
state: 'normal',
|
|
193
|
+
newValue: false
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
options: {
|
|
198
|
+
noRecordHistory: true
|
|
199
|
+
}
|
|
160
200
|
}
|
|
161
201
|
}
|
|
162
202
|
]
|
|
@@ -290,39 +330,84 @@ const SettingUIV2 = [
|
|
|
290
330
|
id: 'textColorHover',
|
|
291
331
|
state: 'hover'
|
|
292
332
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
},
|
|
307
|
-
setting: {
|
|
308
|
-
id: 'roundedBtnV2',
|
|
309
|
-
state: 'hover'
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
label: {
|
|
314
|
-
en: 'Shadow'
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
moreSettings: {
|
|
336
|
+
type: 'collapse',
|
|
337
|
+
controls: [
|
|
338
|
+
{
|
|
339
|
+
label: {
|
|
340
|
+
en: 'Border'
|
|
341
|
+
},
|
|
342
|
+
setting: {
|
|
343
|
+
id: 'borderBtnV2',
|
|
344
|
+
state: 'hover'
|
|
345
|
+
}
|
|
315
346
|
},
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
347
|
+
{
|
|
348
|
+
label: {
|
|
349
|
+
en: 'Corner'
|
|
350
|
+
},
|
|
351
|
+
setting: {
|
|
352
|
+
id: 'roundedBtnV2',
|
|
353
|
+
state: 'hover'
|
|
354
|
+
}
|
|
319
355
|
},
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
356
|
+
{
|
|
357
|
+
label: {
|
|
358
|
+
en: 'Shadow'
|
|
359
|
+
},
|
|
360
|
+
setting: {
|
|
361
|
+
id: 'boxShadowBtnV2',
|
|
362
|
+
state: 'hover'
|
|
363
|
+
},
|
|
364
|
+
options: {
|
|
365
|
+
updateFields: [
|
|
366
|
+
{
|
|
367
|
+
field: 'enable',
|
|
368
|
+
settingId: 'hasBoxShadowBtn',
|
|
369
|
+
state: 'hover'
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
controlChangeTrigger: {
|
|
374
|
+
settings: [
|
|
375
|
+
{
|
|
376
|
+
condition: `boxShadowBtnV2.hover.enable === true`,
|
|
377
|
+
source: [
|
|
378
|
+
'boxShadowBtnV2',
|
|
379
|
+
'hasBoxShadowBtn'
|
|
380
|
+
],
|
|
381
|
+
action: {
|
|
382
|
+
controlId: 'hasBoxShadowBtn',
|
|
383
|
+
groupType: 'advanced',
|
|
384
|
+
controlType: 'advanced',
|
|
385
|
+
state: 'hover',
|
|
386
|
+
newValue: true
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
condition: `boxShadowBtnV2.hover.enable === false`,
|
|
391
|
+
source: [
|
|
392
|
+
'boxShadowBtnV2',
|
|
393
|
+
'hasBoxShadowBtn'
|
|
394
|
+
],
|
|
395
|
+
action: {
|
|
396
|
+
controlId: 'hasBoxShadowBtn',
|
|
397
|
+
groupType: 'advanced',
|
|
398
|
+
controlType: 'advanced',
|
|
399
|
+
state: 'hover',
|
|
400
|
+
newValue: false
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
options: {
|
|
405
|
+
noRecordHistory: true
|
|
406
|
+
}
|
|
407
|
+
}
|
|
323
408
|
}
|
|
324
|
-
|
|
325
|
-
|
|
409
|
+
]
|
|
410
|
+
}
|
|
326
411
|
},
|
|
327
412
|
{
|
|
328
413
|
controls: [
|
|
@@ -9,7 +9,7 @@ var helpers = require('./helpers.js');
|
|
|
9
9
|
const getRowStyle = (rowProps)=>{
|
|
10
10
|
const { children, setting, builderProps, styles, style, advanced, isNotFullWidth } = rowProps;
|
|
11
11
|
const { isSection, layout, horizontalAlign, responsive, inlineAlignment } = setting ?? {};
|
|
12
|
-
const { width, columnGap, fullWidth, background, verticalGutter, verticalGutterMobile } = styles ?? {};
|
|
12
|
+
const { width, columnGap, fullWidth, background, verticalGutter, verticalGutterMobile, enablePagePadding } = styles ?? {};
|
|
13
13
|
const innerRadius = getInnerRadius.getInnerRadiusExcludeBorder(advanced?.border, advanced?.rounded);
|
|
14
14
|
const overFlowStyle = core.makeStyleResponsive('of', {
|
|
15
15
|
desktop: innerRadius.desktop ? 'hidden' : undefined,
|
|
@@ -91,11 +91,16 @@ const getRowStyle = (rowProps)=>{
|
|
|
91
91
|
transform: 'translateY(-50%)',
|
|
92
92
|
top: '50%'
|
|
93
93
|
});
|
|
94
|
+
const sectionPagePaddingStyle = {
|
|
95
|
+
desktop: enablePagePadding?.desktop ? 'var(--g-ct-p, 15px)' : undefined,
|
|
96
|
+
tablet: enablePagePadding?.tablet ? 'var(--g-ct-p, 15px)' : undefined,
|
|
97
|
+
mobile: enablePagePadding?.mobile ? 'var(--g-ct-p, 15px)' : undefined
|
|
98
|
+
};
|
|
94
99
|
const sectionStyle = system.createStyle({
|
|
95
100
|
...wrapStyle,
|
|
96
101
|
...core.makeStyleResponsive('w', sizeStyles.wrapper),
|
|
97
|
-
...core.makeStyleResponsive('pl',
|
|
98
|
-
...core.makeStyleResponsive('pr',
|
|
102
|
+
...core.makeStyleResponsive('pl', sectionPagePaddingStyle),
|
|
103
|
+
...core.makeStyleResponsive('pr', sectionPagePaddingStyle)
|
|
99
104
|
});
|
|
100
105
|
return {
|
|
101
106
|
embedVideoStyle,
|
|
@@ -146,8 +146,8 @@ const SectionSettings = [
|
|
|
146
146
|
id: 'style',
|
|
147
147
|
controls: [
|
|
148
148
|
{
|
|
149
|
-
id: '
|
|
150
|
-
label: '
|
|
149
|
+
id: 'enablePagePadding',
|
|
150
|
+
label: 'Page padding',
|
|
151
151
|
type: 'toggle',
|
|
152
152
|
devices: {
|
|
153
153
|
desktop: {
|
|
@@ -174,7 +174,7 @@ const SectionSettings = [
|
|
|
174
174
|
isRowWith: true,
|
|
175
175
|
devices: {
|
|
176
176
|
desktop: {
|
|
177
|
-
default: '
|
|
177
|
+
default: '100%'
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
displayOptions: [
|
|
@@ -7,10 +7,7 @@ const SettingUIV2 = [
|
|
|
7
7
|
setting: {
|
|
8
8
|
id: 'layout'
|
|
9
9
|
},
|
|
10
|
-
layout: 'vertical'
|
|
11
|
-
options: {
|
|
12
|
-
fullWidth: true
|
|
13
|
-
}
|
|
10
|
+
layout: 'vertical'
|
|
14
11
|
},
|
|
15
12
|
{
|
|
16
13
|
label: {
|
|
@@ -19,9 +16,6 @@ const SettingUIV2 = [
|
|
|
19
16
|
setting: {
|
|
20
17
|
id: 'columnGap'
|
|
21
18
|
},
|
|
22
|
-
options: {
|
|
23
|
-
fullWidth: true
|
|
24
|
-
},
|
|
25
19
|
conditionDisplay: `pageType == "POST_PURCHASE"`,
|
|
26
20
|
conditionEnable: '!!layout.cols && layout.cols.length > 1'
|
|
27
21
|
}
|
|
@@ -88,17 +82,8 @@ const SettingUIV2 = [
|
|
|
88
82
|
en: 'Size'
|
|
89
83
|
},
|
|
90
84
|
controls: [
|
|
91
|
-
{
|
|
92
|
-
setting: {
|
|
93
|
-
id: 'fullWidth'
|
|
94
|
-
},
|
|
95
|
-
label: {
|
|
96
|
-
en: 'Full Width'
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
85
|
{
|
|
100
86
|
id: 'Width',
|
|
101
|
-
conditionDisplay: 'fullWidth !== true',
|
|
102
87
|
setting: {
|
|
103
88
|
id: 'width'
|
|
104
89
|
},
|
|
@@ -136,6 +121,14 @@ const SettingUIV2 = [
|
|
|
136
121
|
}
|
|
137
122
|
}
|
|
138
123
|
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
setting: {
|
|
127
|
+
id: 'enablePagePadding'
|
|
128
|
+
},
|
|
129
|
+
label: {
|
|
130
|
+
en: 'Page padding'
|
|
131
|
+
}
|
|
139
132
|
}
|
|
140
133
|
]
|
|
141
134
|
},
|
|
@@ -225,11 +225,52 @@ const SettingUIV2 = [
|
|
|
225
225
|
label: {
|
|
226
226
|
en: 'Shadow'
|
|
227
227
|
},
|
|
228
|
-
|
|
228
|
+
setting: {
|
|
229
229
|
id: 'shadow',
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
state: 'normal'
|
|
231
|
+
},
|
|
232
|
+
options: {
|
|
233
|
+
updateFields: [
|
|
234
|
+
{
|
|
235
|
+
field: 'enable',
|
|
236
|
+
settingId: 'hasActiveShadow',
|
|
237
|
+
state: 'normal'
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
controlChangeTrigger: {
|
|
242
|
+
settings: [
|
|
243
|
+
{
|
|
244
|
+
condition: `shadow.normal.enable === true`,
|
|
245
|
+
source: [
|
|
246
|
+
'shadow',
|
|
247
|
+
'hasActiveShadow'
|
|
248
|
+
],
|
|
249
|
+
action: {
|
|
250
|
+
controlId: 'hasActiveShadow',
|
|
251
|
+
groupType: 'advanced',
|
|
252
|
+
controlType: 'advanced',
|
|
253
|
+
state: 'normal',
|
|
254
|
+
newValue: true
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
condition: `shadow.normal.enable === false`,
|
|
259
|
+
source: [
|
|
260
|
+
'shadow',
|
|
261
|
+
'hasActiveShadow'
|
|
262
|
+
],
|
|
263
|
+
action: {
|
|
264
|
+
controlId: 'hasActiveShadow',
|
|
265
|
+
groupType: 'advanced',
|
|
266
|
+
controlType: 'advanced',
|
|
267
|
+
state: 'normal',
|
|
268
|
+
newValue: false
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
options: {
|
|
273
|
+
noRecordHistory: true
|
|
233
274
|
}
|
|
234
275
|
}
|
|
235
276
|
}
|
|
@@ -359,6 +359,50 @@ const SettingUIV2 = [
|
|
|
359
359
|
setting: {
|
|
360
360
|
id: 'boxShadow',
|
|
361
361
|
state: 'normal'
|
|
362
|
+
},
|
|
363
|
+
options: {
|
|
364
|
+
updateFields: [
|
|
365
|
+
{
|
|
366
|
+
field: 'enable',
|
|
367
|
+
settingId: 'hasBoxShadow',
|
|
368
|
+
state: 'normal'
|
|
369
|
+
}
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
|
+
controlChangeTrigger: {
|
|
373
|
+
settings: [
|
|
374
|
+
{
|
|
375
|
+
condition: `boxShadow.normal.enable === true`,
|
|
376
|
+
source: [
|
|
377
|
+
'boxShadow',
|
|
378
|
+
'hasBoxShadow'
|
|
379
|
+
],
|
|
380
|
+
action: {
|
|
381
|
+
controlId: 'hasBoxShadow',
|
|
382
|
+
groupType: 'advanced',
|
|
383
|
+
controlType: 'advanced',
|
|
384
|
+
state: 'normal',
|
|
385
|
+
newValue: true
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
condition: `boxShadow.normal.enable === false`,
|
|
390
|
+
source: [
|
|
391
|
+
'boxShadow',
|
|
392
|
+
'hasBoxShadow'
|
|
393
|
+
],
|
|
394
|
+
action: {
|
|
395
|
+
controlId: 'hasBoxShadow',
|
|
396
|
+
groupType: 'advanced',
|
|
397
|
+
controlType: 'advanced',
|
|
398
|
+
state: 'normal',
|
|
399
|
+
newValue: false
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
options: {
|
|
404
|
+
noRecordHistory: true
|
|
405
|
+
}
|
|
362
406
|
}
|
|
363
407
|
}
|
|
364
408
|
]
|
|
@@ -182,9 +182,49 @@ const SettingUIV2 = [
|
|
|
182
182
|
id: 'boxShadowBtnV2',
|
|
183
183
|
state: 'normal'
|
|
184
184
|
},
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
185
|
+
options: {
|
|
186
|
+
updateFields: [
|
|
187
|
+
{
|
|
188
|
+
field: 'enable',
|
|
189
|
+
settingId: 'hasBoxShadowBtn',
|
|
190
|
+
state: 'normal'
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
controlChangeTrigger: {
|
|
195
|
+
settings: [
|
|
196
|
+
{
|
|
197
|
+
condition: `boxShadowBtnV2.normal.enable === true`,
|
|
198
|
+
source: [
|
|
199
|
+
'boxShadowBtnV2',
|
|
200
|
+
'hasBoxShadowBtn'
|
|
201
|
+
],
|
|
202
|
+
action: {
|
|
203
|
+
controlId: 'hasBoxShadowBtn',
|
|
204
|
+
groupType: 'advanced',
|
|
205
|
+
controlType: 'advanced',
|
|
206
|
+
state: 'normal',
|
|
207
|
+
newValue: true
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
condition: `boxShadowBtnV2.normal.enable === false`,
|
|
212
|
+
source: [
|
|
213
|
+
'boxShadowBtnV2',
|
|
214
|
+
'hasBoxShadowBtn'
|
|
215
|
+
],
|
|
216
|
+
action: {
|
|
217
|
+
controlId: 'hasBoxShadowBtn',
|
|
218
|
+
groupType: 'advanced',
|
|
219
|
+
controlType: 'advanced',
|
|
220
|
+
state: 'normal',
|
|
221
|
+
newValue: false
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
options: {
|
|
226
|
+
noRecordHistory: true
|
|
227
|
+
}
|
|
188
228
|
}
|
|
189
229
|
}
|
|
190
230
|
]
|
|
@@ -305,39 +345,84 @@ const SettingUIV2 = [
|
|
|
305
345
|
id: 'textColorHover',
|
|
306
346
|
state: 'hover'
|
|
307
347
|
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
},
|
|
322
|
-
setting: {
|
|
323
|
-
id: 'roundedBtnV2',
|
|
324
|
-
state: 'hover'
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
label: {
|
|
329
|
-
en: 'Shadow'
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
moreSettings: {
|
|
351
|
+
type: 'collapse',
|
|
352
|
+
controls: [
|
|
353
|
+
{
|
|
354
|
+
label: {
|
|
355
|
+
en: 'Border'
|
|
356
|
+
},
|
|
357
|
+
setting: {
|
|
358
|
+
id: 'borderBtnV2',
|
|
359
|
+
state: 'hover'
|
|
360
|
+
}
|
|
330
361
|
},
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
362
|
+
{
|
|
363
|
+
label: {
|
|
364
|
+
en: 'Corner'
|
|
365
|
+
},
|
|
366
|
+
setting: {
|
|
367
|
+
id: 'roundedBtnV2',
|
|
368
|
+
state: 'hover'
|
|
369
|
+
}
|
|
334
370
|
},
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
371
|
+
{
|
|
372
|
+
label: {
|
|
373
|
+
en: 'Shadow'
|
|
374
|
+
},
|
|
375
|
+
setting: {
|
|
376
|
+
id: 'boxShadowBtnV2',
|
|
377
|
+
state: 'hover'
|
|
378
|
+
},
|
|
379
|
+
options: {
|
|
380
|
+
updateFields: [
|
|
381
|
+
{
|
|
382
|
+
field: 'enable',
|
|
383
|
+
settingId: 'hasBoxShadowBtn',
|
|
384
|
+
state: 'hover'
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
controlChangeTrigger: {
|
|
389
|
+
settings: [
|
|
390
|
+
{
|
|
391
|
+
condition: `boxShadowBtnV2.hover.enable === true`,
|
|
392
|
+
source: [
|
|
393
|
+
'boxShadowBtnV2',
|
|
394
|
+
'hasBoxShadowBtn'
|
|
395
|
+
],
|
|
396
|
+
action: {
|
|
397
|
+
controlId: 'hasBoxShadowBtn',
|
|
398
|
+
groupType: 'advanced',
|
|
399
|
+
controlType: 'advanced',
|
|
400
|
+
state: 'hover',
|
|
401
|
+
newValue: true
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
condition: `boxShadowBtnV2.hover.enable === false`,
|
|
406
|
+
source: [
|
|
407
|
+
'boxShadowBtnV2',
|
|
408
|
+
'hasBoxShadowBtn'
|
|
409
|
+
],
|
|
410
|
+
action: {
|
|
411
|
+
controlId: 'hasBoxShadowBtn',
|
|
412
|
+
groupType: 'advanced',
|
|
413
|
+
controlType: 'advanced',
|
|
414
|
+
state: 'hover',
|
|
415
|
+
newValue: false
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
options: {
|
|
420
|
+
noRecordHistory: true
|
|
421
|
+
}
|
|
422
|
+
}
|
|
338
423
|
}
|
|
339
|
-
|
|
340
|
-
|
|
424
|
+
]
|
|
425
|
+
}
|
|
341
426
|
},
|
|
342
427
|
// {
|
|
343
428
|
// label: {
|