@gem-sdk/components 2.0.0-dev.546 → 2.0.0-dev.548
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/accordion/setting/configs/settings.js +2 -1
- package/dist/cjs/accordion/setting/configs/uiV2.js +2 -2
- package/dist/cjs/marquee/setting/configs/presets.js +10 -11
- package/dist/cjs/marquee/setting/configs/settingsV2.js +4 -10
- package/dist/cjs/video/setting/configs/uiV2.js +48 -4
- package/dist/esm/accordion/setting/configs/settings.js +2 -1
- package/dist/esm/accordion/setting/configs/uiV2.js +2 -2
- package/dist/esm/marquee/setting/configs/presets.js +10 -11
- package/dist/esm/marquee/setting/configs/settingsV2.js +4 -10
- package/dist/esm/video/setting/configs/uiV2.js +48 -4
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ const SettingUIV2 = [
|
|
|
8
8
|
controls: [
|
|
9
9
|
{
|
|
10
10
|
label: {
|
|
11
|
-
en: '
|
|
11
|
+
en: 'Item'
|
|
12
12
|
},
|
|
13
13
|
setting: {
|
|
14
14
|
id: 'childItem'
|
|
@@ -301,7 +301,7 @@ const SettingUIV2 = [
|
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
label: {
|
|
304
|
-
en: '
|
|
304
|
+
en: 'Align'
|
|
305
305
|
},
|
|
306
306
|
setting: {
|
|
307
307
|
id: 'alignment'
|
|
@@ -91,27 +91,26 @@ const MarqueePresets = [
|
|
|
91
91
|
desktop: `
|
|
92
92
|
<svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
93
93
|
<g clip-path="url(#clip0_10250_27631)">
|
|
94
|
-
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"
|
|
95
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"
|
|
96
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"
|
|
97
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"
|
|
98
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"
|
|
94
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"></path>
|
|
95
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"></path>
|
|
96
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"></path>
|
|
97
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"></path>
|
|
98
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"></path>
|
|
99
99
|
</g>
|
|
100
100
|
<defs>
|
|
101
101
|
<linearGradient id="paint0_linear_10250_27631" x1="-0.190476" y1="40" x2="36" y2="40" gradientUnits="userSpaceOnUse">
|
|
102
|
-
<stop stop-color="#212121"
|
|
103
|
-
<stop offset="0.563469" stop-color="#757575"
|
|
102
|
+
<stop stop-color="#212121"></stop>
|
|
103
|
+
<stop offset="0.563469" stop-color="#757575"></stop>
|
|
104
104
|
</linearGradient>
|
|
105
105
|
<linearGradient id="paint1_linear_10250_27631" x1="95.8095" y1="40" x2="132" y2="40" gradientUnits="userSpaceOnUse">
|
|
106
|
-
<stop offset="0.254589" stop-color="#757575"
|
|
107
|
-
<stop offset="0.835918" stop-color="#212121"
|
|
106
|
+
<stop offset="0.254589" stop-color="#757575"></stop>
|
|
107
|
+
<stop offset="0.835918" stop-color="#212121"></stop>
|
|
108
108
|
</linearGradient>
|
|
109
109
|
<clipPath id="clip0_10250_27631">
|
|
110
|
-
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"
|
|
110
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"></path>
|
|
111
111
|
</clipPath>
|
|
112
112
|
</defs>
|
|
113
113
|
</svg>
|
|
114
|
-
|
|
115
114
|
`
|
|
116
115
|
},
|
|
117
116
|
components: [
|
|
@@ -70,8 +70,8 @@ const MarqueeSettingsV2 = [
|
|
|
70
70
|
id: 'iconSeparatorSvg',
|
|
71
71
|
label: 'iconSeparatorSvg',
|
|
72
72
|
type: 'icon',
|
|
73
|
-
default: `<svg height="
|
|
74
|
-
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="
|
|
73
|
+
default: `<svg height="20px" width="20px" data-name="dot-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817731477504360">
|
|
74
|
+
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M128,80a48,48,0,1,0,48,48A48,48,0,0,0,128,80Zm0,60a12,12,0,1,1,12-12A12,12,0,0,1,128,140Z"></path></svg>`
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
id: 'stopOnHover',
|
|
@@ -134,13 +134,7 @@ const MarqueeSettingsV2 = [
|
|
|
134
134
|
type: 'input:stepper',
|
|
135
135
|
devices: {
|
|
136
136
|
desktop: {
|
|
137
|
-
default:
|
|
138
|
-
},
|
|
139
|
-
tablet: {
|
|
140
|
-
default: 24
|
|
141
|
-
},
|
|
142
|
-
mobile: {
|
|
143
|
-
default: 24
|
|
137
|
+
default: 16
|
|
144
138
|
}
|
|
145
139
|
}
|
|
146
140
|
},
|
|
@@ -148,7 +142,7 @@ const MarqueeSettingsV2 = [
|
|
|
148
142
|
id: 'iconSeparatorColor',
|
|
149
143
|
label: 'iconSeparatorColor',
|
|
150
144
|
type: 'color-picker-v2',
|
|
151
|
-
default: '
|
|
145
|
+
default: 'text-2'
|
|
152
146
|
},
|
|
153
147
|
{
|
|
154
148
|
id: 'itemSpacing',
|
|
@@ -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
|
]
|
|
@@ -6,7 +6,7 @@ const SettingUIV2 = [
|
|
|
6
6
|
controls: [
|
|
7
7
|
{
|
|
8
8
|
label: {
|
|
9
|
-
en: '
|
|
9
|
+
en: 'Item'
|
|
10
10
|
},
|
|
11
11
|
setting: {
|
|
12
12
|
id: 'childItem'
|
|
@@ -299,7 +299,7 @@ const SettingUIV2 = [
|
|
|
299
299
|
},
|
|
300
300
|
{
|
|
301
301
|
label: {
|
|
302
|
-
en: '
|
|
302
|
+
en: 'Align'
|
|
303
303
|
},
|
|
304
304
|
setting: {
|
|
305
305
|
id: 'alignment'
|
|
@@ -89,27 +89,26 @@ const MarqueePresets = [
|
|
|
89
89
|
desktop: `
|
|
90
90
|
<svg width="126" height="80" viewBox="0 0 126 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
91
91
|
<g clip-path="url(#clip0_10250_27631)">
|
|
92
|
-
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"
|
|
93
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"
|
|
94
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"
|
|
95
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"
|
|
96
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"
|
|
92
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="#212121"></path>
|
|
93
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="#757575"></path>
|
|
94
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.145174 28C-1.03957 28 -2 28.9604 -2 30.1452V49.8548C-2 51.0396 -1.03957 52 0.145173 52H33.8548C35.0396 52 36 51.0396 36 49.8548V30.1452C36 28.9604 35.0396 28 33.8548 28H0.145174ZM19.4204 37.493C19.2399 37.2145 18.9431 37.05 18.6263 37.05C18.3094 37.05 18.0086 37.2145 17.8321 37.493L14.3426 42.8761L13.2797 41.4797C13.0952 41.2392 12.8184 41.1 12.5296 41.1C12.2408 41.1 11.9601 41.2392 11.7796 41.4797L9.21258 44.8547C8.97995 45.1584 8.93583 45.5761 9.09626 45.9262C9.2567 46.2764 9.59362 46.5 9.96263 46.5H23.4394C23.7964 46.5 24.1253 46.2933 24.2897 45.96C24.4542 45.6267 24.4341 45.2259 24.2336 44.918L19.4204 37.493ZM10.9253 37.05C11.4359 37.05 11.9256 36.8366 12.2866 36.4569C12.6477 36.0771 12.8505 35.5621 12.8505 35.025C12.8505 34.4879 12.6477 33.9729 12.2866 33.5931C11.9256 33.2134 11.4359 33 10.9253 33C10.4146 33 9.92495 33.2134 9.56389 33.5931C9.20284 33.9729 9 34.4879 9 35.025C9 35.5621 9.20284 36.0771 9.56389 36.4569C9.92495 36.8366 10.4146 37.05 10.9253 37.05Z" fill="url(#paint0_linear_10250_27631)"></path>
|
|
95
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M48.1452 28C46.9604 28 46 28.9604 46 30.1452V49.8548C46 51.0396 46.9604 52 48.1452 52H81.8548C83.0396 52 84 51.0396 84 49.8548V30.1452C84 28.9604 83.0396 28 81.8548 28H48.1452ZM67.4204 37.493C67.2399 37.2145 66.9431 37.05 66.6263 37.05C66.3094 37.05 66.0086 37.2145 65.8321 37.493L62.3426 42.8761L61.2797 41.4797C61.0952 41.2392 60.8184 41.1 60.5296 41.1C60.2408 41.1 59.9601 41.2392 59.7796 41.4797L57.2126 44.8547C56.9799 45.1584 56.9358 45.5761 57.0963 45.9262C57.2567 46.2764 57.5936 46.5 57.9626 46.5H71.4394C71.7964 46.5 72.1253 46.2933 72.2897 45.96C72.4542 45.6267 72.4341 45.2259 72.2336 44.918L67.4204 37.493ZM58.9253 37.05C59.4359 37.05 59.9256 36.8366 60.2866 36.4569C60.6477 36.0771 60.8505 35.5621 60.8505 35.025C60.8505 34.4879 60.6477 33.9729 60.2866 33.5931C59.9256 33.2134 59.4359 33 58.9253 33C58.4146 33 57.9249 33.2134 57.5639 33.5931C57.2028 33.9729 57 34.4879 57 35.025C57 35.5621 57.2028 36.0771 57.5639 36.4569C57.9249 36.8366 58.4146 37.05 58.9253 37.05Z" fill="#757575"></path>
|
|
96
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M96.1452 28C94.9604 28 94 28.9604 94 30.1452V49.8548C94 51.0396 94.9604 52 96.1452 52H129.855C131.04 52 132 51.0396 132 49.8548V30.1452C132 28.9604 131.04 28 129.855 28H96.1452ZM115.42 37.493C115.24 37.2145 114.943 37.05 114.626 37.05C114.309 37.05 114.009 37.2145 113.832 37.493L110.343 42.8761L109.28 41.4797C109.095 41.2392 108.818 41.1 108.53 41.1C108.241 41.1 107.96 41.2392 107.78 41.4797L105.213 44.8547C104.98 45.1584 104.936 45.5761 105.096 45.9262C105.257 46.2764 105.594 46.5 105.963 46.5H119.439C119.796 46.5 120.125 46.2933 120.29 45.96C120.454 45.6267 120.434 45.2259 120.234 44.918L115.42 37.493ZM106.925 37.05C107.436 37.05 107.926 36.8366 108.287 36.4569C108.648 36.0771 108.851 35.5621 108.851 35.025C108.851 34.4879 108.648 33.9729 108.287 33.5931C107.926 33.2134 107.436 33 106.925 33C106.415 33 105.925 33.2134 105.564 33.5931C105.203 33.9729 105 34.4879 105 35.025C105 35.5621 105.203 36.0771 105.564 36.4569C105.925 36.8366 106.415 37.05 106.925 37.05Z" fill="url(#paint1_linear_10250_27631)"></path>
|
|
97
97
|
</g>
|
|
98
98
|
<defs>
|
|
99
99
|
<linearGradient id="paint0_linear_10250_27631" x1="-0.190476" y1="40" x2="36" y2="40" gradientUnits="userSpaceOnUse">
|
|
100
|
-
<stop stop-color="#212121"
|
|
101
|
-
<stop offset="0.563469" stop-color="#757575"
|
|
100
|
+
<stop stop-color="#212121"></stop>
|
|
101
|
+
<stop offset="0.563469" stop-color="#757575"></stop>
|
|
102
102
|
</linearGradient>
|
|
103
103
|
<linearGradient id="paint1_linear_10250_27631" x1="95.8095" y1="40" x2="132" y2="40" gradientUnits="userSpaceOnUse">
|
|
104
|
-
<stop offset="0.254589" stop-color="#757575"
|
|
105
|
-
<stop offset="0.835918" stop-color="#212121"
|
|
104
|
+
<stop offset="0.254589" stop-color="#757575"></stop>
|
|
105
|
+
<stop offset="0.835918" stop-color="#212121"></stop>
|
|
106
106
|
</linearGradient>
|
|
107
107
|
<clipPath id="clip0_10250_27631">
|
|
108
|
-
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"
|
|
108
|
+
<path d="M0 3C0 1.34315 1.34315 0 3 0H123C124.657 0 126 1.34315 126 3V77C126 78.6569 124.657 80 123 80H3C1.34315 80 0 78.6569 0 77V3Z" fill="white"></path>
|
|
109
109
|
</clipPath>
|
|
110
110
|
</defs>
|
|
111
111
|
</svg>
|
|
112
|
-
|
|
113
112
|
`
|
|
114
113
|
},
|
|
115
114
|
components: [
|
|
@@ -68,8 +68,8 @@ const MarqueeSettingsV2 = [
|
|
|
68
68
|
id: 'iconSeparatorSvg',
|
|
69
69
|
label: 'iconSeparatorSvg',
|
|
70
70
|
type: 'icon',
|
|
71
|
-
default: `<svg height="
|
|
72
|
-
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="
|
|
71
|
+
default: `<svg height="20px" width="20px" data-name="dot-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817731477504360">
|
|
72
|
+
<path fill="currentColor" strokelinecap="round" strokelinejoin="round" d="M128,80a48,48,0,1,0,48,48A48,48,0,0,0,128,80Zm0,60a12,12,0,1,1,12-12A12,12,0,0,1,128,140Z"></path></svg>`
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
id: 'stopOnHover',
|
|
@@ -132,13 +132,7 @@ const MarqueeSettingsV2 = [
|
|
|
132
132
|
type: 'input:stepper',
|
|
133
133
|
devices: {
|
|
134
134
|
desktop: {
|
|
135
|
-
default:
|
|
136
|
-
},
|
|
137
|
-
tablet: {
|
|
138
|
-
default: 24
|
|
139
|
-
},
|
|
140
|
-
mobile: {
|
|
141
|
-
default: 24
|
|
135
|
+
default: 16
|
|
142
136
|
}
|
|
143
137
|
}
|
|
144
138
|
},
|
|
@@ -146,7 +140,7 @@ const MarqueeSettingsV2 = [
|
|
|
146
140
|
id: 'iconSeparatorColor',
|
|
147
141
|
label: 'iconSeparatorColor',
|
|
148
142
|
type: 'color-picker-v2',
|
|
149
|
-
default: '
|
|
143
|
+
default: 'text-2'
|
|
150
144
|
},
|
|
151
145
|
{
|
|
152
146
|
id: 'itemSpacing',
|
|
@@ -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
|
]
|