@gem-sdk/components 2.0.0-dev.462 → 2.0.0-dev.464
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/article/setting/configs/ArticleAuthor/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleCategory/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleContent/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleDate/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleExcerpt/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleImage/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleImage/uiV2.js +2 -6
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +10 -0
- package/dist/cjs/article/setting/configs/ArticleTag/uiV2.js +25 -0
- package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleTitle/uiV2.js +37 -27
- package/dist/esm/article/setting/configs/ArticleAuthor/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleCategory/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleContent/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleDate/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleExcerpt/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleImage/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleImage/uiV2.js +2 -6
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +10 -0
- package/dist/esm/article/setting/configs/ArticleTag/uiV2.js +25 -0
- package/dist/esm/article/setting/configs/ArticleTitle/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleTitle/uiV2.js +37 -27
- package/package.json +4 -4
|
@@ -59,6 +59,16 @@ const uiV2 = [
|
|
|
59
59
|
groupType: 'style',
|
|
60
60
|
controlType: 'style'
|
|
61
61
|
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
action: {
|
|
65
|
+
controlId: 'color',
|
|
66
|
+
valueFromField: 'attrs.color',
|
|
67
|
+
groupType: 'style',
|
|
68
|
+
controlType: 'style',
|
|
69
|
+
removeDevice: true,
|
|
70
|
+
state: 'normal'
|
|
71
|
+
}
|
|
62
72
|
}
|
|
63
73
|
],
|
|
64
74
|
options: {
|
|
@@ -39,6 +39,16 @@ const uiV2 = [
|
|
|
39
39
|
groupType: 'style',
|
|
40
40
|
controlType: 'style'
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
action: {
|
|
45
|
+
controlId: 'color',
|
|
46
|
+
valueFromField: 'attrs.color',
|
|
47
|
+
groupType: 'style',
|
|
48
|
+
controlType: 'style',
|
|
49
|
+
removeDevice: true,
|
|
50
|
+
state: 'normal'
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
],
|
|
44
54
|
options: {
|
|
@@ -39,6 +39,16 @@ const uiV2 = [
|
|
|
39
39
|
groupType: 'style',
|
|
40
40
|
controlType: 'style'
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
action: {
|
|
45
|
+
controlId: 'color',
|
|
46
|
+
valueFromField: 'attrs.color',
|
|
47
|
+
groupType: 'style',
|
|
48
|
+
controlType: 'style',
|
|
49
|
+
removeDevice: true,
|
|
50
|
+
state: 'normal'
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
],
|
|
44
54
|
options: {
|
|
@@ -34,6 +34,16 @@ const uiV2 = [
|
|
|
34
34
|
groupType: 'style',
|
|
35
35
|
controlType: 'style'
|
|
36
36
|
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
action: {
|
|
40
|
+
controlId: 'color',
|
|
41
|
+
valueFromField: 'attrs.color',
|
|
42
|
+
groupType: 'style',
|
|
43
|
+
controlType: 'style',
|
|
44
|
+
removeDevice: true,
|
|
45
|
+
state: 'normal'
|
|
46
|
+
}
|
|
37
47
|
}
|
|
38
48
|
],
|
|
39
49
|
options: {
|
|
@@ -39,6 +39,16 @@ const uiV2 = [
|
|
|
39
39
|
groupType: 'style',
|
|
40
40
|
controlType: 'style'
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
action: {
|
|
45
|
+
controlId: 'color',
|
|
46
|
+
valueFromField: 'attrs.color',
|
|
47
|
+
groupType: 'style',
|
|
48
|
+
controlType: 'style',
|
|
49
|
+
removeDevice: true,
|
|
50
|
+
state: 'normal'
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
],
|
|
44
54
|
options: {
|
|
@@ -145,7 +145,7 @@ const uiV2 = [
|
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
type: 'control',
|
|
148
|
-
conditionDisplay: "linkArticle === 'scroll-to'",
|
|
148
|
+
conditionDisplay: "linkArticle === 'scroll-to' && enableLink == true",
|
|
149
149
|
layout: 'vertical',
|
|
150
150
|
setting: {
|
|
151
151
|
id: 'customURL'
|
|
@@ -180,11 +180,7 @@ const uiV2 = [
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
label: {
|
|
183
|
-
en: '
|
|
184
|
-
},
|
|
185
|
-
messageConfig: {
|
|
186
|
-
type: 'info',
|
|
187
|
-
message: 'You can optimize image size with our partnered app'
|
|
183
|
+
en: 'Quality'
|
|
188
184
|
},
|
|
189
185
|
controls: [
|
|
190
186
|
{
|
|
@@ -397,6 +397,16 @@ const uiV2 = [
|
|
|
397
397
|
groupType: 'style',
|
|
398
398
|
controlType: 'style'
|
|
399
399
|
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
action: {
|
|
403
|
+
controlId: 'textColorTextState',
|
|
404
|
+
valueFromField: 'attrs.color',
|
|
405
|
+
groupType: 'style',
|
|
406
|
+
controlType: 'style',
|
|
407
|
+
removeDevice: true,
|
|
408
|
+
state: 'normal'
|
|
409
|
+
}
|
|
400
410
|
}
|
|
401
411
|
],
|
|
402
412
|
options: {
|
|
@@ -39,12 +39,37 @@ const uiV2 = [
|
|
|
39
39
|
groupType: 'style',
|
|
40
40
|
controlType: 'style'
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
action: {
|
|
45
|
+
controlId: 'color',
|
|
46
|
+
valueFromField: 'attrs.color',
|
|
47
|
+
groupType: 'style',
|
|
48
|
+
controlType: 'style',
|
|
49
|
+
removeDevice: true,
|
|
50
|
+
state: 'normal'
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
],
|
|
44
54
|
options: {
|
|
45
55
|
noRecordHistory: true
|
|
46
56
|
}
|
|
47
57
|
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
label: {
|
|
61
|
+
en: 'SEO'
|
|
62
|
+
},
|
|
63
|
+
controls: [
|
|
64
|
+
{
|
|
65
|
+
label: {
|
|
66
|
+
en: 'HTML tag'
|
|
67
|
+
},
|
|
68
|
+
setting: {
|
|
69
|
+
id: 'htmlTag'
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
]
|
|
48
73
|
}
|
|
49
74
|
]
|
|
50
75
|
}
|
|
@@ -39,6 +39,16 @@ const uiV2 = [
|
|
|
39
39
|
groupType: 'style',
|
|
40
40
|
controlType: 'style'
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
action: {
|
|
45
|
+
controlId: 'color',
|
|
46
|
+
valueFromField: 'attrs.color',
|
|
47
|
+
groupType: 'style',
|
|
48
|
+
controlType: 'style',
|
|
49
|
+
removeDevice: true,
|
|
50
|
+
state: 'normal'
|
|
51
|
+
}
|
|
42
52
|
}
|
|
43
53
|
],
|
|
44
54
|
options: {
|
|
@@ -64,32 +74,6 @@ const uiV2 = [
|
|
|
64
74
|
}
|
|
65
75
|
]
|
|
66
76
|
},
|
|
67
|
-
{
|
|
68
|
-
label: {
|
|
69
|
-
en: 'Display option'
|
|
70
|
-
},
|
|
71
|
-
controls: [
|
|
72
|
-
{
|
|
73
|
-
id: 'hasLineClamp',
|
|
74
|
-
label: {
|
|
75
|
-
en: 'Max lines'
|
|
76
|
-
},
|
|
77
|
-
setting: {
|
|
78
|
-
id: 'hasLineClamp'
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
id: 'lineClamp',
|
|
83
|
-
label: {
|
|
84
|
-
en: 'Number of lines'
|
|
85
|
-
},
|
|
86
|
-
conditionDisplay: 'hasLineClamp === true',
|
|
87
|
-
setting: {
|
|
88
|
-
id: 'lineClamp'
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
77
|
{
|
|
94
78
|
controls: [
|
|
95
79
|
{
|
|
@@ -115,7 +99,7 @@ const uiV2 = [
|
|
|
115
99
|
},
|
|
116
100
|
{
|
|
117
101
|
type: 'control',
|
|
118
|
-
conditionDisplay: "linkArticle === 'scroll-to'",
|
|
102
|
+
conditionDisplay: "linkArticle === 'scroll-to' && enableLink == true",
|
|
119
103
|
layout: 'vertical',
|
|
120
104
|
setting: {
|
|
121
105
|
id: 'customURL'
|
|
@@ -132,6 +116,32 @@ const uiV2 = [
|
|
|
132
116
|
}
|
|
133
117
|
]
|
|
134
118
|
},
|
|
119
|
+
{
|
|
120
|
+
label: {
|
|
121
|
+
en: 'Display option'
|
|
122
|
+
},
|
|
123
|
+
controls: [
|
|
124
|
+
{
|
|
125
|
+
id: 'hasLineClamp',
|
|
126
|
+
label: {
|
|
127
|
+
en: 'Max lines'
|
|
128
|
+
},
|
|
129
|
+
setting: {
|
|
130
|
+
id: 'hasLineClamp'
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: 'lineClamp',
|
|
135
|
+
label: {
|
|
136
|
+
en: 'Number of lines'
|
|
137
|
+
},
|
|
138
|
+
conditionDisplay: 'hasLineClamp === true',
|
|
139
|
+
setting: {
|
|
140
|
+
id: 'lineClamp'
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
135
145
|
{
|
|
136
146
|
label: {
|
|
137
147
|
en: 'SEO'
|
|
@@ -57,6 +57,16 @@ const uiV2 = [
|
|
|
57
57
|
groupType: 'style',
|
|
58
58
|
controlType: 'style'
|
|
59
59
|
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
action: {
|
|
63
|
+
controlId: 'color',
|
|
64
|
+
valueFromField: 'attrs.color',
|
|
65
|
+
groupType: 'style',
|
|
66
|
+
controlType: 'style',
|
|
67
|
+
removeDevice: true,
|
|
68
|
+
state: 'normal'
|
|
69
|
+
}
|
|
60
70
|
}
|
|
61
71
|
],
|
|
62
72
|
options: {
|
|
@@ -37,6 +37,16 @@ const uiV2 = [
|
|
|
37
37
|
groupType: 'style',
|
|
38
38
|
controlType: 'style'
|
|
39
39
|
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
action: {
|
|
43
|
+
controlId: 'color',
|
|
44
|
+
valueFromField: 'attrs.color',
|
|
45
|
+
groupType: 'style',
|
|
46
|
+
controlType: 'style',
|
|
47
|
+
removeDevice: true,
|
|
48
|
+
state: 'normal'
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
],
|
|
42
52
|
options: {
|
|
@@ -37,6 +37,16 @@ const uiV2 = [
|
|
|
37
37
|
groupType: 'style',
|
|
38
38
|
controlType: 'style'
|
|
39
39
|
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
action: {
|
|
43
|
+
controlId: 'color',
|
|
44
|
+
valueFromField: 'attrs.color',
|
|
45
|
+
groupType: 'style',
|
|
46
|
+
controlType: 'style',
|
|
47
|
+
removeDevice: true,
|
|
48
|
+
state: 'normal'
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
],
|
|
42
52
|
options: {
|
|
@@ -32,6 +32,16 @@ const uiV2 = [
|
|
|
32
32
|
groupType: 'style',
|
|
33
33
|
controlType: 'style'
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
action: {
|
|
38
|
+
controlId: 'color',
|
|
39
|
+
valueFromField: 'attrs.color',
|
|
40
|
+
groupType: 'style',
|
|
41
|
+
controlType: 'style',
|
|
42
|
+
removeDevice: true,
|
|
43
|
+
state: 'normal'
|
|
44
|
+
}
|
|
35
45
|
}
|
|
36
46
|
],
|
|
37
47
|
options: {
|
|
@@ -37,6 +37,16 @@ const uiV2 = [
|
|
|
37
37
|
groupType: 'style',
|
|
38
38
|
controlType: 'style'
|
|
39
39
|
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
action: {
|
|
43
|
+
controlId: 'color',
|
|
44
|
+
valueFromField: 'attrs.color',
|
|
45
|
+
groupType: 'style',
|
|
46
|
+
controlType: 'style',
|
|
47
|
+
removeDevice: true,
|
|
48
|
+
state: 'normal'
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
],
|
|
42
52
|
options: {
|
|
@@ -143,7 +143,7 @@ const uiV2 = [
|
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
type: 'control',
|
|
146
|
-
conditionDisplay: "linkArticle === 'scroll-to'",
|
|
146
|
+
conditionDisplay: "linkArticle === 'scroll-to' && enableLink == true",
|
|
147
147
|
layout: 'vertical',
|
|
148
148
|
setting: {
|
|
149
149
|
id: 'customURL'
|
|
@@ -178,11 +178,7 @@ const uiV2 = [
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
label: {
|
|
181
|
-
en: '
|
|
182
|
-
},
|
|
183
|
-
messageConfig: {
|
|
184
|
-
type: 'info',
|
|
185
|
-
message: 'You can optimize image size with our partnered app'
|
|
181
|
+
en: 'Quality'
|
|
186
182
|
},
|
|
187
183
|
controls: [
|
|
188
184
|
{
|
|
@@ -395,6 +395,16 @@ const uiV2 = [
|
|
|
395
395
|
groupType: 'style',
|
|
396
396
|
controlType: 'style'
|
|
397
397
|
}
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
action: {
|
|
401
|
+
controlId: 'textColorTextState',
|
|
402
|
+
valueFromField: 'attrs.color',
|
|
403
|
+
groupType: 'style',
|
|
404
|
+
controlType: 'style',
|
|
405
|
+
removeDevice: true,
|
|
406
|
+
state: 'normal'
|
|
407
|
+
}
|
|
398
408
|
}
|
|
399
409
|
],
|
|
400
410
|
options: {
|
|
@@ -37,12 +37,37 @@ const uiV2 = [
|
|
|
37
37
|
groupType: 'style',
|
|
38
38
|
controlType: 'style'
|
|
39
39
|
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
action: {
|
|
43
|
+
controlId: 'color',
|
|
44
|
+
valueFromField: 'attrs.color',
|
|
45
|
+
groupType: 'style',
|
|
46
|
+
controlType: 'style',
|
|
47
|
+
removeDevice: true,
|
|
48
|
+
state: 'normal'
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
],
|
|
42
52
|
options: {
|
|
43
53
|
noRecordHistory: true
|
|
44
54
|
}
|
|
45
55
|
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
label: {
|
|
59
|
+
en: 'SEO'
|
|
60
|
+
},
|
|
61
|
+
controls: [
|
|
62
|
+
{
|
|
63
|
+
label: {
|
|
64
|
+
en: 'HTML tag'
|
|
65
|
+
},
|
|
66
|
+
setting: {
|
|
67
|
+
id: 'htmlTag'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
]
|
|
46
71
|
}
|
|
47
72
|
]
|
|
48
73
|
}
|
|
@@ -37,6 +37,16 @@ const uiV2 = [
|
|
|
37
37
|
groupType: 'style',
|
|
38
38
|
controlType: 'style'
|
|
39
39
|
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
action: {
|
|
43
|
+
controlId: 'color',
|
|
44
|
+
valueFromField: 'attrs.color',
|
|
45
|
+
groupType: 'style',
|
|
46
|
+
controlType: 'style',
|
|
47
|
+
removeDevice: true,
|
|
48
|
+
state: 'normal'
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
],
|
|
42
52
|
options: {
|
|
@@ -62,32 +72,6 @@ const uiV2 = [
|
|
|
62
72
|
}
|
|
63
73
|
]
|
|
64
74
|
},
|
|
65
|
-
{
|
|
66
|
-
label: {
|
|
67
|
-
en: 'Display option'
|
|
68
|
-
},
|
|
69
|
-
controls: [
|
|
70
|
-
{
|
|
71
|
-
id: 'hasLineClamp',
|
|
72
|
-
label: {
|
|
73
|
-
en: 'Max lines'
|
|
74
|
-
},
|
|
75
|
-
setting: {
|
|
76
|
-
id: 'hasLineClamp'
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
id: 'lineClamp',
|
|
81
|
-
label: {
|
|
82
|
-
en: 'Number of lines'
|
|
83
|
-
},
|
|
84
|
-
conditionDisplay: 'hasLineClamp === true',
|
|
85
|
-
setting: {
|
|
86
|
-
id: 'lineClamp'
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
75
|
{
|
|
92
76
|
controls: [
|
|
93
77
|
{
|
|
@@ -113,7 +97,7 @@ const uiV2 = [
|
|
|
113
97
|
},
|
|
114
98
|
{
|
|
115
99
|
type: 'control',
|
|
116
|
-
conditionDisplay: "linkArticle === 'scroll-to'",
|
|
100
|
+
conditionDisplay: "linkArticle === 'scroll-to' && enableLink == true",
|
|
117
101
|
layout: 'vertical',
|
|
118
102
|
setting: {
|
|
119
103
|
id: 'customURL'
|
|
@@ -130,6 +114,32 @@ const uiV2 = [
|
|
|
130
114
|
}
|
|
131
115
|
]
|
|
132
116
|
},
|
|
117
|
+
{
|
|
118
|
+
label: {
|
|
119
|
+
en: 'Display option'
|
|
120
|
+
},
|
|
121
|
+
controls: [
|
|
122
|
+
{
|
|
123
|
+
id: 'hasLineClamp',
|
|
124
|
+
label: {
|
|
125
|
+
en: 'Max lines'
|
|
126
|
+
},
|
|
127
|
+
setting: {
|
|
128
|
+
id: 'hasLineClamp'
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
id: 'lineClamp',
|
|
133
|
+
label: {
|
|
134
|
+
en: 'Number of lines'
|
|
135
|
+
},
|
|
136
|
+
conditionDisplay: 'hasLineClamp === true',
|
|
137
|
+
setting: {
|
|
138
|
+
id: 'lineClamp'
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
133
143
|
{
|
|
134
144
|
label: {
|
|
135
145
|
en: 'SEO'
|
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.464",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
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.
|
|
27
|
-
"@gem-sdk/styles": "2.0.0-dev.
|
|
28
|
-
"@gem-sdk/system": "2.0.0-dev.
|
|
26
|
+
"@gem-sdk/core": "2.0.0-dev.464",
|
|
27
|
+
"@gem-sdk/styles": "2.0.0-dev.464",
|
|
28
|
+
"@gem-sdk/system": "2.0.0-dev.464",
|
|
29
29
|
"@types/react-transition-group": "^4.4.5"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|