@gem-sdk/components 2.0.0-dev.546 → 2.0.0-dev.547
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const SettingUIV2 = [
|
|
4
4
|
{
|
|
5
5
|
label: {
|
|
6
|
-
en: 'Video'
|
|
6
|
+
en: 'Video source'
|
|
7
7
|
},
|
|
8
8
|
controls: [
|
|
9
9
|
{
|
|
@@ -16,7 +16,7 @@ const SettingUIV2 = [
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
label: {
|
|
19
|
-
en: '
|
|
19
|
+
en: 'Video link'
|
|
20
20
|
},
|
|
21
21
|
conditionDisplay: "type === 'youtube'",
|
|
22
22
|
setting: {
|
|
@@ -25,7 +25,7 @@ const SettingUIV2 = [
|
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
label: {
|
|
28
|
-
en: '
|
|
28
|
+
en: 'Video link'
|
|
29
29
|
},
|
|
30
30
|
conditionDisplay: "type === 'vimeo'",
|
|
31
31
|
setting: {
|
|
@@ -34,7 +34,7 @@ const SettingUIV2 = [
|
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
label: {
|
|
37
|
-
en: '
|
|
37
|
+
en: 'Video link'
|
|
38
38
|
},
|
|
39
39
|
conditionDisplay: "type === 'html5'",
|
|
40
40
|
setting: {
|
|
@@ -202,6 +202,50 @@ const SettingUIV2 = [
|
|
|
202
202
|
setting: {
|
|
203
203
|
id: 'boxShadow',
|
|
204
204
|
state: 'normal'
|
|
205
|
+
},
|
|
206
|
+
options: {
|
|
207
|
+
updateFields: [
|
|
208
|
+
{
|
|
209
|
+
field: 'normal.enable',
|
|
210
|
+
settingId: 'hasBoxShadow',
|
|
211
|
+
state: 'normal'
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
controlChangeTrigger: {
|
|
216
|
+
settings: [
|
|
217
|
+
{
|
|
218
|
+
condition: `boxShadow.normal.enable === true`,
|
|
219
|
+
source: [
|
|
220
|
+
'boxShadow',
|
|
221
|
+
'hasBoxShadow'
|
|
222
|
+
],
|
|
223
|
+
action: {
|
|
224
|
+
controlId: 'hasBoxShadow',
|
|
225
|
+
groupType: 'advanced',
|
|
226
|
+
controlType: 'advanced',
|
|
227
|
+
state: 'normal',
|
|
228
|
+
newValue: true
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
condition: `boxShadow.normal.enable === false`,
|
|
233
|
+
source: [
|
|
234
|
+
'boxShadow',
|
|
235
|
+
'hasBoxShadow'
|
|
236
|
+
],
|
|
237
|
+
action: {
|
|
238
|
+
controlId: 'hasBoxShadow',
|
|
239
|
+
groupType: 'advanced',
|
|
240
|
+
controlType: 'advanced',
|
|
241
|
+
state: 'normal',
|
|
242
|
+
newValue: false
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
options: {
|
|
247
|
+
noRecordHistory: true
|
|
248
|
+
}
|
|
205
249
|
}
|
|
206
250
|
}
|
|
207
251
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const SettingUIV2 = [
|
|
2
2
|
{
|
|
3
3
|
label: {
|
|
4
|
-
en: 'Video'
|
|
4
|
+
en: 'Video source'
|
|
5
5
|
},
|
|
6
6
|
controls: [
|
|
7
7
|
{
|
|
@@ -14,7 +14,7 @@ const SettingUIV2 = [
|
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
label: {
|
|
17
|
-
en: '
|
|
17
|
+
en: 'Video link'
|
|
18
18
|
},
|
|
19
19
|
conditionDisplay: "type === 'youtube'",
|
|
20
20
|
setting: {
|
|
@@ -23,7 +23,7 @@ const SettingUIV2 = [
|
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
label: {
|
|
26
|
-
en: '
|
|
26
|
+
en: 'Video link'
|
|
27
27
|
},
|
|
28
28
|
conditionDisplay: "type === 'vimeo'",
|
|
29
29
|
setting: {
|
|
@@ -32,7 +32,7 @@ const SettingUIV2 = [
|
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
label: {
|
|
35
|
-
en: '
|
|
35
|
+
en: 'Video link'
|
|
36
36
|
},
|
|
37
37
|
conditionDisplay: "type === 'html5'",
|
|
38
38
|
setting: {
|
|
@@ -200,6 +200,50 @@ const SettingUIV2 = [
|
|
|
200
200
|
setting: {
|
|
201
201
|
id: 'boxShadow',
|
|
202
202
|
state: 'normal'
|
|
203
|
+
},
|
|
204
|
+
options: {
|
|
205
|
+
updateFields: [
|
|
206
|
+
{
|
|
207
|
+
field: 'normal.enable',
|
|
208
|
+
settingId: 'hasBoxShadow',
|
|
209
|
+
state: 'normal'
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
controlChangeTrigger: {
|
|
214
|
+
settings: [
|
|
215
|
+
{
|
|
216
|
+
condition: `boxShadow.normal.enable === true`,
|
|
217
|
+
source: [
|
|
218
|
+
'boxShadow',
|
|
219
|
+
'hasBoxShadow'
|
|
220
|
+
],
|
|
221
|
+
action: {
|
|
222
|
+
controlId: 'hasBoxShadow',
|
|
223
|
+
groupType: 'advanced',
|
|
224
|
+
controlType: 'advanced',
|
|
225
|
+
state: 'normal',
|
|
226
|
+
newValue: true
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
condition: `boxShadow.normal.enable === false`,
|
|
231
|
+
source: [
|
|
232
|
+
'boxShadow',
|
|
233
|
+
'hasBoxShadow'
|
|
234
|
+
],
|
|
235
|
+
action: {
|
|
236
|
+
controlId: 'hasBoxShadow',
|
|
237
|
+
groupType: 'advanced',
|
|
238
|
+
controlType: 'advanced',
|
|
239
|
+
state: 'normal',
|
|
240
|
+
newValue: false
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
options: {
|
|
245
|
+
noRecordHistory: true
|
|
246
|
+
}
|
|
203
247
|
}
|
|
204
248
|
}
|
|
205
249
|
]
|