@gem-sdk/components 2.0.0-dev.253 → 2.0.0-dev.254

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.
@@ -2,6 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var presets = require('../config/presets.js');
6
+ var uiV1 = require('../config/uiV1.js');
7
+ var uiV2 = require('../config/uiV2.js');
8
+ var setting = require('../config/setting.js');
9
+
5
10
  const config = {
6
11
  tag: 'FileUpload',
7
12
  label: 'Product File Upload',
@@ -13,922 +18,9 @@ const config = {
13
18
  <path d="M24.1021 28.5H25.0708V33.7969C25.0708 34.3437 24.9419 34.832 24.6841 35.2617C24.4289 35.6888 24.0682 36.026 23.6021 36.2734C23.1359 36.5182 22.589 36.6406 21.9614 36.6406C21.3338 36.6406 20.7869 36.5182 20.3208 36.2734C19.8547 36.026 19.4927 35.6888 19.2349 35.2617C18.9797 34.832 18.8521 34.3437 18.8521 33.7969V28.5H19.8208V33.7188C19.8208 34.1094 19.9067 34.457 20.0786 34.7617C20.2505 35.0638 20.4953 35.3021 20.813 35.4766C21.1333 35.6484 21.5161 35.7344 21.9614 35.7344C22.4067 35.7344 22.7896 35.6484 23.1099 35.4766C23.4302 35.3021 23.675 35.0638 23.8442 34.7617C24.0161 34.457 24.1021 34.1094 24.1021 33.7188V28.5ZM26.8804 38.75V30.5H27.771V31.4531H27.8804C27.9481 31.349 28.0418 31.2161 28.1616 31.0547C28.284 30.8906 28.4585 30.7448 28.6851 30.6172C28.9142 30.487 29.2241 30.4219 29.6147 30.4219C30.12 30.4219 30.5653 30.5482 30.9507 30.8008C31.3361 31.0534 31.6369 31.4115 31.853 31.875C32.0692 32.3385 32.1772 32.8854 32.1772 33.5156C32.1772 34.151 32.0692 34.7018 31.853 35.168C31.6369 35.6315 31.3374 35.9909 30.9546 36.2461C30.5718 36.4987 30.1304 36.625 29.6304 36.625C29.245 36.625 28.9364 36.5612 28.7046 36.4336C28.4728 36.3034 28.2944 36.1562 28.1694 35.9922C28.0444 35.8255 27.9481 35.6875 27.8804 35.5781H27.8022V38.75H26.8804ZM27.7866 33.5C27.7866 33.9531 27.853 34.3529 27.9858 34.6992C28.1187 35.043 28.3127 35.3125 28.5679 35.5078C28.8231 35.7005 29.1356 35.7969 29.5054 35.7969C29.8908 35.7969 30.2124 35.6953 30.4702 35.4922C30.7306 35.2865 30.9259 35.0104 31.0562 34.6641C31.189 34.3151 31.2554 33.9271 31.2554 33.5C31.2554 33.0781 31.1903 32.6979 31.0601 32.3594C30.9325 32.0182 30.7384 31.7487 30.478 31.5508C30.2202 31.3503 29.896 31.25 29.5054 31.25C29.1304 31.25 28.8153 31.3451 28.5601 31.5352C28.3049 31.7227 28.1121 31.9857 27.9819 32.3242C27.8517 32.6602 27.7866 33.0521 27.7866 33.5ZM34.5054 28.5V36.5H33.5835V28.5H34.5054ZM38.6313 36.625C38.0897 36.625 37.6144 36.4961 37.2056 36.2383C36.7993 35.9805 36.4816 35.6198 36.2524 35.1562C36.0259 34.6927 35.9126 34.151 35.9126 33.5312C35.9126 32.9062 36.0259 32.3607 36.2524 31.8945C36.4816 31.4284 36.7993 31.0664 37.2056 30.8086C37.6144 30.5508 38.0897 30.4219 38.6313 30.4219C39.173 30.4219 39.647 30.5508 40.0532 30.8086C40.4621 31.0664 40.7798 31.4284 41.0063 31.8945C41.2355 32.3607 41.3501 32.9062 41.3501 33.5312C41.3501 34.151 41.2355 34.6927 41.0063 35.1562C40.7798 35.6198 40.4621 35.9805 40.0532 36.2383C39.647 36.4961 39.173 36.625 38.6313 36.625ZM38.6313 35.7969C39.0428 35.7969 39.3813 35.6914 39.647 35.4805C39.9126 35.2695 40.1092 34.9922 40.2368 34.6484C40.3644 34.3047 40.4282 33.9323 40.4282 33.5312C40.4282 33.1302 40.3644 32.7565 40.2368 32.4102C40.1092 32.0638 39.9126 31.7839 39.647 31.5703C39.3813 31.3568 39.0428 31.25 38.6313 31.25C38.2199 31.25 37.8813 31.3568 37.6157 31.5703C37.3501 31.7839 37.1535 32.0638 37.0259 32.4102C36.8983 32.7565 36.8345 33.1302 36.8345 33.5312C36.8345 33.9323 36.8983 34.3047 37.0259 34.6484C37.1535 34.9922 37.3501 35.2695 37.6157 35.4805C37.8813 35.6914 38.2199 35.7969 38.6313 35.7969ZM44.5229 36.6406C44.1427 36.6406 43.7977 36.569 43.4878 36.4258C43.1779 36.2799 42.9318 36.0703 42.7495 35.7969C42.5672 35.5208 42.4761 35.1875 42.4761 34.7969C42.4761 34.4531 42.5438 34.1745 42.6792 33.9609C42.8146 33.7448 42.9956 33.5755 43.2222 33.4531C43.4487 33.3307 43.6987 33.2396 43.9722 33.1797C44.2482 33.1172 44.5256 33.0677 44.8042 33.0313C45.1688 32.9844 45.4644 32.9492 45.6909 32.9258C45.9201 32.8997 46.0868 32.8568 46.1909 32.7969C46.2977 32.737 46.3511 32.6328 46.3511 32.4844V32.4531C46.3511 32.0677 46.2456 31.7682 46.0347 31.5547C45.8263 31.3411 45.5099 31.2344 45.0854 31.2344C44.6453 31.2344 44.3003 31.3307 44.0503 31.5234C43.8003 31.7161 43.6245 31.9219 43.5229 32.1406L42.6479 31.8281C42.8042 31.4635 43.0125 31.1797 43.2729 30.9766C43.536 30.7708 43.8224 30.6276 44.1323 30.5469C44.4448 30.4635 44.7521 30.4219 45.0542 30.4219C45.2469 30.4219 45.4683 30.4453 45.7183 30.4922C45.9709 30.5365 46.2144 30.6289 46.4487 30.7695C46.6857 30.9102 46.8823 31.1224 47.0386 31.4062C47.1948 31.6901 47.2729 32.0703 47.2729 32.5469V36.5H46.3511V35.6875H46.3042C46.2417 35.8177 46.1375 35.957 45.9917 36.1055C45.8459 36.2539 45.6519 36.3802 45.4097 36.4844C45.1675 36.5885 44.8719 36.6406 44.5229 36.6406ZM44.6636 35.8125C45.0282 35.8125 45.3354 35.7409 45.5854 35.5977C45.8381 35.4544 46.0282 35.2695 46.1558 35.043C46.286 34.8164 46.3511 34.5781 46.3511 34.3281V33.4844C46.312 33.5312 46.2261 33.5742 46.0933 33.6133C45.9631 33.6497 45.812 33.6823 45.6401 33.7109C45.4709 33.737 45.3055 33.7604 45.144 33.7812C44.9852 33.7995 44.8563 33.8151 44.7573 33.8281C44.5177 33.8594 44.2938 33.9102 44.0854 33.9805C43.8797 34.0482 43.7131 34.151 43.5854 34.2891C43.4604 34.4245 43.3979 34.6094 43.3979 34.8437C43.3979 35.1641 43.5164 35.4062 43.7534 35.5703C43.993 35.7318 44.2964 35.8125 44.6636 35.8125ZM51.2212 36.625C50.7212 36.625 50.2798 36.4987 49.897 36.2461C49.5142 35.9909 49.2147 35.6315 48.9985 35.168C48.7824 34.7018 48.6743 34.151 48.6743 33.5156C48.6743 32.8854 48.7824 32.3385 48.9985 31.875C49.2147 31.4115 49.5155 31.0534 49.9009 30.8008C50.2863 30.5482 50.7316 30.4219 51.2368 30.4219C51.6274 30.4219 51.936 30.487 52.1626 30.6172C52.3918 30.7448 52.5662 30.8906 52.686 31.0547C52.8084 31.2161 52.9035 31.349 52.9712 31.4531H53.0493V28.5H53.9712V36.5H53.0806V35.5781H52.9712C52.9035 35.6875 52.8071 35.8255 52.6821 35.9922C52.5571 36.1562 52.3787 36.3034 52.147 36.4336C51.9152 36.5612 51.6066 36.625 51.2212 36.625ZM51.3462 35.7969C51.716 35.7969 52.0285 35.7005 52.2837 35.5078C52.5389 35.3125 52.7329 35.043 52.8657 34.6992C52.9985 34.3529 53.0649 33.9531 53.0649 33.5C53.0649 33.0521 52.9998 32.6602 52.8696 32.3242C52.7394 31.9857 52.5467 31.7227 52.2915 31.5352C52.0363 31.3451 51.7212 31.25 51.3462 31.25C50.9556 31.25 50.63 31.3503 50.3696 31.5508C50.1118 31.7487 49.9178 32.0182 49.7876 32.3594C49.66 32.6979 49.5962 33.0781 49.5962 33.5C49.5962 33.9271 49.6613 34.3151 49.7915 34.6641C49.9243 35.0104 50.1196 35.2865 50.3774 35.4922C50.6379 35.6953 50.9608 35.7969 51.3462 35.7969ZM59.0063 36.5V28.5H63.8032V29.3594H59.9751V32.0625H63.4438V32.9219H59.9751V36.5H59.0063ZM65.3374 36.5V30.5H66.2593V36.5H65.3374ZM65.8062 29.5C65.6265 29.5 65.4715 29.4388 65.3413 29.3164C65.2137 29.194 65.1499 29.0469 65.1499 28.875C65.1499 28.7031 65.2137 28.556 65.3413 28.4336C65.4715 28.3112 65.6265 28.25 65.8062 28.25C65.9858 28.25 66.1395 28.3112 66.2671 28.4336C66.3973 28.556 66.4624 28.7031 66.4624 28.875C66.4624 29.0469 66.3973 29.194 66.2671 29.3164C66.1395 29.4388 65.9858 29.5 65.8062 29.5ZM68.8696 28.5V36.5H67.9478V28.5H68.8696ZM73.0737 36.625C72.4956 36.625 71.9969 36.4974 71.5776 36.2422C71.161 35.9844 70.8394 35.625 70.6128 35.1641C70.3888 34.7005 70.2769 34.1615 70.2769 33.5469C70.2769 32.9323 70.3888 32.3906 70.6128 31.9219C70.8394 31.4505 71.1545 31.0833 71.5581 30.8203C71.9644 30.5547 72.4383 30.4219 72.98 30.4219C73.2925 30.4219 73.6011 30.474 73.9058 30.5781C74.2104 30.6823 74.4878 30.8516 74.7378 31.0859C74.9878 31.3177 75.187 31.625 75.3354 32.0078C75.4839 32.3906 75.5581 32.862 75.5581 33.4219V33.8125H70.9331V33.0156H74.6206C74.6206 32.6771 74.5529 32.375 74.4175 32.1094C74.2847 31.8437 74.0946 31.6341 73.8472 31.4805C73.6024 31.3268 73.3133 31.25 72.98 31.25C72.6128 31.25 72.2951 31.3411 72.0269 31.5234C71.7612 31.7031 71.5568 31.9375 71.4136 32.2266C71.2703 32.5156 71.1987 32.8255 71.1987 33.1562V33.6875C71.1987 34.1406 71.2769 34.5247 71.4331 34.8398C71.592 35.1523 71.812 35.3906 72.0933 35.5547C72.3745 35.7161 72.7013 35.7969 73.0737 35.7969C73.3159 35.7969 73.5347 35.763 73.73 35.6953C73.9279 35.625 74.0985 35.5208 74.2417 35.3828C74.3849 35.2422 74.4956 35.0677 74.5737 34.8594L75.4644 35.1094C75.3706 35.4115 75.2131 35.6771 74.9917 35.9062C74.7703 36.1328 74.4969 36.3099 74.1714 36.4375C73.8459 36.5625 73.48 36.625 73.0737 36.625Z" fill="#F9F9F9"/>
14
19
  </svg>
15
20
  `,
16
- settings: [
17
- {
18
- id: 'setting',
19
- controls: [
20
- {
21
- id: 'textContent',
22
- type: 'textarea',
23
- default: 'Click or drop your image to upload (Max $max_size)'
24
- },
25
- {
26
- id: 'translate',
27
- type: 'input',
28
- default: 'textContent'
29
- },
30
- {
31
- id: 'layout',
32
- type: 'group',
33
- controls: [
34
- {
35
- id: 'fileUploadLayout',
36
- label: 'Layout',
37
- type: 'layout-segment',
38
- iconViewBox: '0 0 120 72',
39
- enableItemBackground: true,
40
- enableTooltip: false,
41
- default: 'vertical',
42
- options: [
43
- {
44
- label: 'File upload layout vertical',
45
- value: 'vertical',
46
- type: 'file-upload-layout'
47
- },
48
- {
49
- label: 'File upload layout horizontal',
50
- value: 'horizontal',
51
- type: 'file-upload-layout'
52
- }
53
- ]
54
- },
55
- {
56
- id: 'arrangeContent',
57
- label: 'Arrange content',
58
- type: 'segment',
59
- default: 'center',
60
- options: [
61
- {
62
- label: 'Left',
63
- value: 'start',
64
- type: 'align-v',
65
- icon: `<svg width="42" height="28" viewBox="0 0 42 28" fill="none" xmlns="http://www.w3.org/2000/svg">
66
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11.8867 22.375C11.8867 22.7202 12.1665 23 12.5117 23C12.8569 23 13.1367 22.7202 13.1367 22.375L13.1367 18.7683C13.3322 18.8374 13.5426 18.875 13.7617 18.875L21.2617 18.875C22.2973 18.875 23.1367 18.0355 23.1367 17L23.1367 11.5C23.1367 10.4645 22.2973 9.625 21.2617 9.625L13.7617 9.625C13.5426 9.625 13.3322 9.6626 13.1367 9.7317L13.1367 6.12408C13.1367 5.77891 12.8569 5.49908 12.5117 5.49908C12.1665 5.49908 11.8867 5.77891 11.8867 6.12408L11.8867 22.375ZM13.7617 17.625C13.4166 17.625 13.1367 17.3452 13.1367 17L13.1367 11.5C13.1367 11.1548 13.4166 10.875 13.7617 10.875L21.2617 10.875C21.6069 10.875 21.8867 11.1548 21.8867 11.5L21.8867 17C21.8867 17.3452 21.6069 17.625 21.2617 17.625L13.7617 17.625Z" fill="currentColor"/>
67
- </svg>
68
- `
69
- },
70
- {
71
- label: 'Center',
72
- value: 'center',
73
- type: 'align-v',
74
- icon: `<svg width="42" height="28" viewBox="0 0 42 28" fill="none" xmlns="http://www.w3.org/2000/svg">
75
- <path d="M0.333496 6C0.333496 2.68629 3.01979 0 6.3335 0H35.6668C38.9805 0 41.6668 2.68629 41.6668 6V22C41.6668 25.3137 38.9805 28 35.6668 28H6.33349C3.01978 28 0.333496 25.3137 0.333496 22V6Z" />
76
- <path fill-rule="evenodd" clip-rule="evenodd" d="M15.4937 16.7258C15.4937 17.7614 16.3331 18.6008 17.3687 18.6008L20.4937 18.6008L20.4937 22.1844C20.4937 22.5296 20.7735 22.8094 21.1187 22.8094C21.4638 22.8094 21.7437 22.5296 21.7437 22.1844L21.7437 18.6008L24.8687 18.6008C25.9042 18.6008 26.7437 17.7614 26.7437 16.7258L26.7437 11.2258C26.7437 10.1903 25.9042 9.35083 24.8687 9.35083L21.7437 9.35083L21.7437 5.81549C21.7437 5.47031 21.4638 5.19049 21.1187 5.19049C20.7735 5.19049 20.4937 5.47031 20.4937 5.81549L20.4937 9.35083L17.3687 9.35083C16.3331 9.35083 15.4937 10.1903 15.4937 11.2258L15.4937 16.7258ZM17.3687 17.3508C17.0235 17.3508 16.7437 17.071 16.7437 16.7258L16.7437 11.2258C16.7437 10.8807 17.0235 10.6008 17.3687 10.6008L24.8687 10.6008C25.2138 10.6008 25.4937 10.8807 25.4937 11.2258L25.4937 16.7258C25.4937 17.071 25.2138 17.3508 24.8687 17.3508L17.3687 17.3508Z" fill="currentColor"/>
77
- </svg>
78
- `
79
- },
80
- {
81
- label: 'Right',
82
- value: 'end',
83
- icon: `<svg width="42" height="28" viewBox="0 0 42 28" fill="none" xmlns="http://www.w3.org/2000/svg">
84
- <path fill-rule="evenodd" clip-rule="evenodd" d="M18.8628 17C18.8628 18.0355 19.7023 18.875 20.7378 18.875L28.2378 18.875C28.457 18.875 28.6673 18.8374 28.8628 18.7683L28.8628 22.375C28.8628 22.7202 29.1426 23 29.4878 23C29.833 23 30.1128 22.7202 30.1128 22.375L30.1128 6.12408C30.1128 5.77891 29.833 5.49908 29.4878 5.49908C29.1426 5.49908 28.8628 5.77891 28.8628 6.12408L28.8628 9.7317C28.6673 9.6626 28.457 9.625 28.2378 9.625L20.7378 9.625C19.7023 9.625 18.8628 10.4645 18.8628 11.5L18.8628 17ZM20.7378 17.625C20.3926 17.625 20.1128 17.3452 20.1128 17L20.1128 11.5C20.1128 11.1548 20.3926 10.875 20.7378 10.875L28.2378 10.875C28.583 10.875 28.8628 11.1548 28.8628 11.5L28.8628 17C28.8628 17.3452 28.583 17.625 28.2378 17.625L20.7378 17.625Z" fill="currentColor"/>
85
- </svg>
86
- `,
87
- type: 'align-v'
88
- }
89
- ]
90
- },
91
- {
92
- id: 'positionVertical',
93
- type: 'layout-segment',
94
- iconViewBox: '0 0 66 48',
95
- enableItemBackground: true,
96
- enableTooltip: true,
97
- label: 'Position',
98
- default: 'center',
99
- options: [
100
- {
101
- label: 'Align center',
102
- value: 'center',
103
- type: 'file-upload-position-vertical'
104
- },
105
- {
106
- label: 'Align left',
107
- value: 'start',
108
- type: 'file-upload-position-vertical'
109
- }
110
- ]
111
- },
112
- {
113
- id: 'positionHorizontal',
114
- type: 'layout-segment',
115
- iconViewBox: '0 0 66 48',
116
- enableItemBackground: true,
117
- enableTooltip: true,
118
- label: 'Position',
119
- default: 'center',
120
- options: [
121
- {
122
- label: 'Align center',
123
- value: 'center',
124
- type: 'file-upload-position-horizontal'
125
- },
126
- {
127
- label: 'Align start',
128
- value: 'start',
129
- type: 'file-upload-position-horizontal'
130
- }
131
- ]
132
- }
133
- ]
134
- },
135
- {
136
- id: 'optionSetting',
137
- type: 'group',
138
- controls: [
139
- {
140
- id: 'isRequired',
141
- label: 'Required',
142
- type: 'toggle',
143
- default: false
144
- },
145
- {
146
- id: 'isShowPreviewImage',
147
- label: 'Click image to preview',
148
- type: 'toggle',
149
- default: false
150
- },
151
- {
152
- id: 'numberOfFiles',
153
- type: 'segment',
154
- label: 'Number of files',
155
- default: 'multiple',
156
- options: [
157
- {
158
- label: 'Single',
159
- value: 'single'
160
- },
161
- {
162
- label: 'Multiple',
163
- value: 'multiple'
164
- }
165
- ]
166
- }
167
- ]
168
- },
169
- {
170
- id: 'iconGroup',
171
- type: 'group',
172
- label: 'Icon',
173
- controls: [
174
- {
175
- id: 'iconVisible',
176
- label: 'Icon Visible',
177
- type: 'toggle',
178
- default: true
179
- },
180
- {
181
- id: 'iconSvg',
182
- label: 'SVG Icon',
183
- type: 'icon',
184
- hideLabel: true,
185
- default: `<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
186
- <path d="M17.8125 11.25V16.25C17.8125 16.4986 17.7137 16.7371 17.5379 16.9129C17.3621 17.0887 17.1236 17.1875 16.875 17.1875H3.125C2.87636 17.1875 2.6379 17.0887 2.46209 16.9129C2.28627 16.7371 2.1875 16.4986 2.1875 16.25V11.25C2.1875 11.0014 2.28627 10.7629 2.46209 10.5871C2.6379 10.4113 2.87636 10.3125 3.125 10.3125C3.37364 10.3125 3.6121 10.4113 3.78791 10.5871C3.96373 10.7629 4.0625 11.0014 4.0625 11.25V15.3125H15.9375V11.25C15.9375 11.0014 16.0363 10.7629 16.2121 10.5871C16.3879 10.4113 16.6264 10.3125 16.875 10.3125C17.1236 10.3125 17.3621 10.4113 17.5379 10.5871C17.7137 10.7629 17.8125 11.0014 17.8125 11.25ZM7.53828 6.28829L9.0625 4.76563V11.25C9.0625 11.4986 9.16127 11.7371 9.33709 11.9129C9.5129 12.0887 9.75136 12.1875 10 12.1875C10.2486 12.1875 10.4871 12.0887 10.6629 11.9129C10.8387 11.7371 10.9375 11.4986 10.9375 11.25V4.76563L12.4617 6.29063C12.5489 6.37784 12.6525 6.44701 12.7664 6.49421C12.8803 6.5414 13.0025 6.5657 13.1258 6.5657C13.2491 6.5657 13.3712 6.5414 13.4852 6.49421C13.5991 6.44701 13.7026 6.37784 13.7898 6.29063C13.877 6.20343 13.9462 6.0999 13.9934 5.98596C14.0406 5.87202 14.0649 5.7499 14.0649 5.62657C14.0649 5.50324 14.0406 5.38112 13.9934 5.26718C13.9462 5.15324 13.877 5.04971 13.7898 4.96251L10.6648 1.83751C10.5777 1.75011 10.4743 1.68076 10.3603 1.63344C10.2463 1.58612 10.1242 1.56177 10.0008 1.56177C9.87739 1.56177 9.75522 1.58612 9.64126 1.63344C9.52731 1.68076 9.42382 1.75011 9.33672 1.83751L6.21172 4.96251C6.12451 5.04971 6.05534 5.15324 6.00814 5.26718C5.96095 5.38112 5.93665 5.50324 5.93665 5.62657C5.93665 5.87564 6.0356 6.11451 6.21172 6.29063C6.38784 6.46675 6.62671 6.5657 6.87578 6.5657C7.12485 6.5657 7.36372 6.46675 7.53984 6.29063L7.53828 6.28829Z" fill="currentColor"/>
187
- </svg>
188
- `
189
- },
190
- {
191
- id: 'iconSize',
192
- type: 'input:number',
193
- label: 'Icon Width',
194
- devices: {
195
- desktop: {
196
- default: 20
197
- },
198
- tablet: {
199
- default: 20
200
- },
201
- mobile: {
202
- default: 20
203
- }
204
- },
205
- min: 0
206
- },
207
- {
208
- id: 'iconAlignVertical',
209
- label: 'Icon Alignment',
210
- type: 'segment',
211
- options: [
212
- {
213
- label: 'Above',
214
- value: 'above'
215
- },
216
- {
217
- label: 'Below',
218
- value: 'below'
219
- }
220
- ],
221
- default: 'above'
222
- },
223
- {
224
- id: 'iconAlignHorizontal',
225
- label: 'Icon Alignment',
226
- type: 'segment',
227
- options: [
228
- {
229
- label: 'Left',
230
- value: 'left'
231
- },
232
- {
233
- label: 'Right',
234
- value: 'right'
235
- }
236
- ],
237
- default: 'left'
238
- }
239
- ]
240
- },
241
- {
242
- id: 'contentWidth',
243
- type: 'dropdown:input',
244
- label: 'Width',
245
- inputType: 'number',
246
- units: [
247
- 'px',
248
- '%'
249
- ],
250
- hideUnit: false,
251
- devices: {
252
- desktop: {
253
- default: '100%'
254
- }
255
- },
256
- displayOptions: [
257
- {
258
- label: 'Full',
259
- value: '100%',
260
- showValue: true
261
- }
262
- ]
263
- },
264
- {
265
- id: 'paddingSize',
266
- type: 'size-setting',
267
- devices: {
268
- desktop: {
269
- default: {
270
- padding: {
271
- type: 'large',
272
- top: '12px',
273
- bottom: '12px',
274
- left: '32px',
275
- right: '32px'
276
- }
277
- }
278
- }
279
- },
280
- hiddenSettings: [
281
- 'shape',
282
- 'gap',
283
- 'width',
284
- 'height'
285
- ],
286
- hiddenShowMore: true
287
- },
288
- {
289
- id: 'size',
290
- type: 'size-setting',
291
- devices: {
292
- desktop: {
293
- default: {
294
- width: '100%',
295
- height: 'Auto',
296
- padding: {
297
- type: 'large',
298
- top: '12px',
299
- bottom: '12px',
300
- left: '32px',
301
- right: '32px'
302
- }
303
- }
304
- }
305
- },
306
- settingConfig: {
307
- width: {
308
- displayOptions: [
309
- 'full',
310
- 'auto',
311
- 'small',
312
- 'large',
313
- 'medium'
314
- ]
315
- },
316
- height: {
317
- displayOptions: [
318
- 'auto',
319
- 'small',
320
- 'large',
321
- 'medium'
322
- ]
323
- }
324
- },
325
- hiddenShowMore: true,
326
- hiddenSettings: [
327
- 'shape',
328
- 'gap',
329
- 'padding'
330
- ]
331
- }
332
- ]
333
- },
334
- {
335
- id: 'style',
336
- controls: [
337
- {
338
- id: 'behavior-state',
339
- type: 'behavior-state',
340
- controls: [
341
- {
342
- id: 'backgroundColor',
343
- type: 'colorpicker',
344
- label: 'Background Color',
345
- default: {
346
- normal: 'bg-3'
347
- },
348
- state: {
349
- hover: true,
350
- normal: true
351
- }
352
- },
353
- {
354
- id: 'textColor',
355
- type: 'colorpicker',
356
- label: 'Text Color',
357
- default: {
358
- normal: 'text-1'
359
- },
360
- state: {
361
- hover: true,
362
- normal: true
363
- }
364
- },
365
- {
366
- id: 'borderBtn',
367
- type: 'border',
368
- label: 'Border Style',
369
- default: {
370
- normal: {
371
- border: 'dashed',
372
- isCustom: true,
373
- position: 'all',
374
- borderWidth: '1px',
375
- width: '1px 1px 1px 1px',
376
- color: '#BBBBBB'
377
- }
378
- },
379
- state: {
380
- hover: true,
381
- normal: true
382
- }
383
- },
384
- {
385
- id: 'hasBoxShadowBtn',
386
- type: 'toggle',
387
- label: 'Enable Button Shadow',
388
- default: {
389
- normal: false,
390
- hover: false
391
- },
392
- state: {
393
- normal: true,
394
- hover: true
395
- }
396
- },
397
- {
398
- id: 'boxShadowBtn',
399
- type: 'boxShadow',
400
- label: 'Shadow Style',
401
- hideOnState: {
402
- normal: true,
403
- hover: true
404
- },
405
- default: {
406
- normal: {
407
- type: 'shadow-1',
408
- distance: '4px',
409
- blur: '12px',
410
- spread: '0px',
411
- color: 'rgba(0, 0, 0, 0.20)',
412
- angle: 90
413
- }
414
- },
415
- state: {
416
- normal: true,
417
- hover: true
418
- }
419
- },
420
- {
421
- id: 'roundedBtn',
422
- type: 'radius-preset',
423
- label: 'Border Radius',
424
- default: {
425
- normal: {
426
- radiusType: 'custom',
427
- btlr: '3px',
428
- btrr: '3px',
429
- bblr: '3px',
430
- bbrr: '3px'
431
- }
432
- },
433
- state: {
434
- hover: true,
435
- normal: true
436
- }
437
- }
438
- ]
439
- },
440
- {
441
- id: 'typo',
442
- type: 'typography-v2',
443
- default: {
444
- type: 'paragraph-1'
445
- },
446
- hiddenSetting: {
447
- color: true
448
- },
449
- ignoreReRender: true
450
- },
451
- {
452
- id: 'spacing',
453
- label: 'Spacing Icon',
454
- type: 'input:unit',
455
- units: [
456
- 'px'
457
- ],
458
- placeholder: 'Auto',
459
- devices: {
460
- desktop: {
461
- default: '8px'
462
- }
463
- }
464
- },
465
- {
466
- id: 'align',
467
- label: 'Alignment',
468
- type: 'segment',
469
- options: [
470
- {
471
- label: 'Left',
472
- value: 'left',
473
- type: 'align',
474
- tooltip: 'Align left'
475
- },
476
- {
477
- label: 'Center',
478
- value: 'center',
479
- type: 'align',
480
- tooltip: 'Align center'
481
- },
482
- {
483
- label: 'Right',
484
- value: 'right',
485
- type: 'align',
486
- tooltip: 'Align right'
487
- }
488
- ],
489
- devices: {
490
- desktop: {
491
- default: 'center'
492
- }
493
- }
494
- },
495
- {
496
- id: 'textAlign',
497
- label: 'Alignment',
498
- type: 'segment',
499
- options: [
500
- {
501
- label: 'Left',
502
- value: 'left',
503
- type: 'text',
504
- tooltip: 'Align left'
505
- },
506
- {
507
- label: 'Center',
508
- value: 'center',
509
- type: 'text',
510
- tooltip: 'Align center'
511
- },
512
- {
513
- label: 'Right',
514
- value: 'right',
515
- type: 'text',
516
- tooltip: 'Align right'
517
- },
518
- {
519
- label: 'Justify',
520
- value: 'justify',
521
- type: 'text',
522
- tooltip: 'Align justify'
523
- }
524
- ],
525
- devices: {
526
- desktop: {
527
- default: 'left'
528
- }
529
- }
530
- }
531
- ]
532
- }
533
- ],
534
- ui: [
535
- {
536
- type: 'group',
537
- label: {
538
- en: 'Layout'
539
- },
540
- controls: [
541
- {
542
- type: 'control',
543
- setting: {
544
- id: 'fileUploadLayout'
545
- },
546
- layout: 'vertical'
547
- },
548
- {
549
- type: 'control',
550
- label: {
551
- en: 'Arrange content'
552
- },
553
- setting: {
554
- id: 'arrangeContent'
555
- }
556
- },
557
- {
558
- type: 'control',
559
- label: {
560
- en: 'Icon position'
561
- },
562
- setting: {
563
- id: 'positionVertical'
564
- },
565
- isMoreSetting: true,
566
- condition: "fileUploadLayout === 'vertical'"
567
- },
568
- {
569
- type: 'control',
570
- label: {
571
- en: 'Icon position'
572
- },
573
- setting: {
574
- id: 'positionHorizontal'
575
- },
576
- isMoreSetting: true,
577
- condition: "fileUploadLayout !== 'vertical'"
578
- }
579
- ]
580
- },
581
- {
582
- type: 'group',
583
- label: {
584
- en: 'Upload setting'
585
- },
586
- controls: [
587
- {
588
- type: 'control',
589
- label: {
590
- en: 'Required'
591
- },
592
- setting: {
593
- id: 'isRequired'
594
- }
595
- },
596
- {
597
- type: 'control',
598
- label: {
599
- en: 'Click image to preview'
600
- },
601
- setting: {
602
- id: 'isShowPreviewImage'
603
- }
604
- },
605
- {
606
- type: 'control',
607
- label: {
608
- en: 'Number of files'
609
- },
610
- setting: {
611
- id: 'numberOfFiles'
612
- }
613
- }
614
- ]
615
- },
616
- {
617
- type: 'group',
618
- controls: [
619
- {
620
- type: 'control',
621
- label: {
622
- en: 'Icon'
623
- },
624
- setting: {
625
- id: 'iconVisible'
626
- },
627
- options: {
628
- label: 'large'
629
- }
630
- },
631
- {
632
- type: 'control',
633
- label: {
634
- en: 'Choose icon'
635
- },
636
- setting: {
637
- id: 'iconSvg'
638
- },
639
- condition: 'iconVisible === true'
640
- },
641
- {
642
- type: 'control',
643
- label: {
644
- en: 'Size'
645
- },
646
- setting: {
647
- id: 'iconSize'
648
- },
649
- condition: 'iconVisible === true'
650
- },
651
- {
652
- type: 'control',
653
- label: {
654
- en: 'Position'
655
- },
656
- setting: {
657
- id: 'iconAlignVertical'
658
- },
659
- condition: 'iconVisible === true && fileUploadLayout === "vertical"'
660
- },
661
- {
662
- type: 'control',
663
- label: {
664
- en: 'Position'
665
- },
666
- setting: {
667
- id: 'iconAlignHorizontal'
668
- },
669
- condition: 'iconVisible === true && fileUploadLayout === "horizontal"'
670
- }
671
- ]
672
- },
673
- {
674
- type: 'group',
675
- label: {
676
- en: 'Size'
677
- },
678
- controls: [
679
- {
680
- type: 'control',
681
- setting: {
682
- id: 'size'
683
- }
684
- },
685
- {
686
- type: 'control',
687
- setting: {
688
- id: 'paddingSize'
689
- },
690
- layout: 'vertical',
691
- isMoreSetting: true
692
- },
693
- {
694
- type: 'control',
695
- label: {
696
- en: 'Content width'
697
- },
698
- setting: {
699
- id: 'contentWidth'
700
- },
701
- isMoreSetting: true
702
- }
703
- ]
704
- },
705
- {
706
- type: 'group',
707
- label: {
708
- en: 'States'
709
- },
710
- options: {
711
- labelSpacing: 'small'
712
- },
713
- controls: [
714
- {
715
- type: 'tab',
716
- controls: [
717
- {
718
- type: 'group',
719
- label: {
720
- en: 'Normal'
721
- },
722
- controls: [
723
- {
724
- type: 'control',
725
- label: {
726
- en: 'Background color'
727
- },
728
- setting: {
729
- id: 'backgroundColor',
730
- state: 'normal'
731
- }
732
- },
733
- {
734
- type: 'control',
735
- label: {
736
- en: 'Text color'
737
- },
738
- setting: {
739
- id: 'textColor',
740
- state: 'normal'
741
- }
742
- },
743
- {
744
- type: 'control',
745
- options: {
746
- labelPosition: 'start'
747
- },
748
- label: {
749
- en: 'Border'
750
- },
751
- setting: {
752
- id: 'borderBtn',
753
- state: 'normal'
754
- }
755
- },
756
- {
757
- type: 'control',
758
- label: {
759
- en: 'Corner'
760
- },
761
- setting: {
762
- id: 'roundedBtn',
763
- state: 'normal'
764
- }
765
- },
766
- {
767
- type: 'control',
768
- label: {
769
- en: 'Shadow'
770
- },
771
- setting: {
772
- id: 'hasBoxShadowBtn',
773
- state: 'normal'
774
- }
775
- },
776
- {
777
- type: 'control',
778
- label: {
779
- en: ''
780
- },
781
- condition: 'hasBoxShadowBtn.normal == true',
782
- layout: 'vertical',
783
- setting: {
784
- id: 'boxShadowBtn',
785
- state: 'normal'
786
- }
787
- }
788
- ]
789
- },
790
- {
791
- type: 'group',
792
- label: {
793
- en: 'Hover'
794
- },
795
- controls: [
796
- {
797
- type: 'control',
798
- label: {
799
- en: 'Background color'
800
- },
801
- setting: {
802
- id: 'backgroundColor',
803
- state: 'hover'
804
- }
805
- },
806
- {
807
- type: 'control',
808
- label: {
809
- en: 'Text color'
810
- },
811
- setting: {
812
- id: 'textColor',
813
- state: 'hover'
814
- }
815
- },
816
- {
817
- type: 'control',
818
- options: {
819
- labelPosition: 'start'
820
- },
821
- label: {
822
- en: 'Border'
823
- },
824
- setting: {
825
- id: 'borderBtn',
826
- state: 'hover'
827
- }
828
- },
829
- {
830
- type: 'control',
831
- label: {
832
- en: 'Corner'
833
- },
834
- setting: {
835
- id: 'roundedBtn',
836
- state: 'hover'
837
- }
838
- },
839
- {
840
- type: 'control',
841
- label: {
842
- en: 'Shadow'
843
- },
844
- setting: {
845
- id: 'hasBoxShadowBtn',
846
- state: 'hover'
847
- }
848
- },
849
- {
850
- type: 'control',
851
- label: {
852
- en: ''
853
- },
854
- layout: 'vertical',
855
- condition: 'hasBoxShadowBtn.hover == true',
856
- setting: {
857
- id: 'boxShadowBtn',
858
- state: 'hover'
859
- }
860
- }
861
- ]
862
- }
863
- ]
864
- }
865
- ]
866
- },
867
- {
868
- type: 'group',
869
- label: {
870
- en: 'Text'
871
- },
872
- controls: [
873
- {
874
- type: 'control',
875
- label: {
876
- en: 'Content'
877
- },
878
- layout: 'horizontal',
879
- setting: {
880
- id: 'textContent'
881
- }
882
- },
883
- {
884
- type: 'control',
885
- setting: {
886
- id: 'typo'
887
- },
888
- layout: 'vertical'
889
- }
890
- ]
891
- },
892
- {
893
- type: 'group',
894
- label: {
895
- en: 'Spacing'
896
- },
897
- controls: [
898
- {
899
- type: 'control',
900
- label: {
901
- en: 'Icon & text'
902
- },
903
- setting: {
904
- id: 'spacing'
905
- }
906
- }
907
- ]
908
- },
909
- {
910
- type: 'control',
911
- label: {
912
- en: 'Text align'
913
- },
914
- setting: {
915
- id: 'textAlign'
916
- }
917
- },
918
- {
919
- type: 'control',
920
- label: {
921
- en: 'Align'
922
- },
923
- condition: `size.width !== '100%'`,
924
- options: {
925
- label: 'large'
926
- },
927
- setting: {
928
- id: 'align'
929
- }
930
- }
931
- ],
21
+ settings: setting.Settings,
22
+ ui: uiV1.SettingUIV1,
23
+ uiV2: uiV2.SettingUIV2,
932
24
  editorConfigs: {
933
25
  placeholder: {
934
26
  flowTag: [
@@ -936,29 +28,7 @@ const config = {
936
28
  ]
937
29
  }
938
30
  },
939
- presets: [
940
- {
941
- id: 'product-file-upload',
942
- name: {
943
- en: 'Product File Upload'
944
- },
945
- icon: {
946
- desktop: `
947
- <svg width="94" height="48" viewBox="0 0 94 48" fill="none" xmlns="http://www.w3.org/2000/svg">
948
- <rect x="0.625" y="0.625" width="92.75" height="46.75" rx="2.375" stroke="#474747" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round" stroke-dasharray="10 10"/>
949
- <path d="M47 19.5C46.7929 19.5 46.625 19.3321 46.625 19.125L46.625 12.565L45.022 14.2543C44.8795 14.4046 44.6421 14.4108 44.4919 14.2682C44.3416 14.1257 44.3354 13.8883 44.478 13.7381L46.7248 11.3703C46.7933 11.2963 46.8912 11.25 47 11.25C47.1087 11.25 47.2066 11.2963 47.2751 11.3702L49.522 13.7381C49.6646 13.8883 49.6584 14.1257 49.5081 14.2682C49.3579 14.4108 49.1205 14.4046 48.978 14.2543L47.375 12.565L47.375 19.125C47.375 19.3321 47.2071 19.5 47 19.5Z" fill="#F9F9F9"/>
950
- <path d="M42.125 18.75C42.3321 18.75 42.5 18.9179 42.5 19.125L42.5 20.625C42.5 20.8321 42.6679 21 42.875 21H51.125C51.3321 21 51.5 20.8321 51.5 20.625L51.5 19.125C51.5 18.9179 51.6679 18.75 51.875 18.75C52.0821 18.75 52.25 18.9179 52.25 19.125L52.25 20.625C52.25 21.2464 51.7462 21.75 51.125 21.75H42.875C42.2537 21.75 41.75 21.2464 41.75 20.625L41.75 19.125C41.75 18.9179 41.9179 18.75 42.125 18.75Z" fill="#F9F9F9"/>
951
- <path d="M24.1021 28.5H25.0708V33.7969C25.0708 34.3437 24.9419 34.832 24.6841 35.2617C24.4289 35.6888 24.0682 36.026 23.6021 36.2734C23.1359 36.5182 22.589 36.6406 21.9614 36.6406C21.3338 36.6406 20.7869 36.5182 20.3208 36.2734C19.8547 36.026 19.4927 35.6888 19.2349 35.2617C18.9797 34.832 18.8521 34.3437 18.8521 33.7969V28.5H19.8208V33.7188C19.8208 34.1094 19.9067 34.457 20.0786 34.7617C20.2505 35.0638 20.4953 35.3021 20.813 35.4766C21.1333 35.6484 21.5161 35.7344 21.9614 35.7344C22.4067 35.7344 22.7896 35.6484 23.1099 35.4766C23.4302 35.3021 23.675 35.0638 23.8442 34.7617C24.0161 34.457 24.1021 34.1094 24.1021 33.7188V28.5ZM26.8804 38.75V30.5H27.771V31.4531H27.8804C27.9481 31.349 28.0418 31.2161 28.1616 31.0547C28.284 30.8906 28.4585 30.7448 28.6851 30.6172C28.9142 30.487 29.2241 30.4219 29.6147 30.4219C30.12 30.4219 30.5653 30.5482 30.9507 30.8008C31.3361 31.0534 31.6369 31.4115 31.853 31.875C32.0692 32.3385 32.1772 32.8854 32.1772 33.5156C32.1772 34.151 32.0692 34.7018 31.853 35.168C31.6369 35.6315 31.3374 35.9909 30.9546 36.2461C30.5718 36.4987 30.1304 36.625 29.6304 36.625C29.245 36.625 28.9364 36.5612 28.7046 36.4336C28.4728 36.3034 28.2944 36.1562 28.1694 35.9922C28.0444 35.8255 27.9481 35.6875 27.8804 35.5781H27.8022V38.75H26.8804ZM27.7866 33.5C27.7866 33.9531 27.853 34.3529 27.9858 34.6992C28.1187 35.043 28.3127 35.3125 28.5679 35.5078C28.8231 35.7005 29.1356 35.7969 29.5054 35.7969C29.8908 35.7969 30.2124 35.6953 30.4702 35.4922C30.7306 35.2865 30.9259 35.0104 31.0562 34.6641C31.189 34.3151 31.2554 33.9271 31.2554 33.5C31.2554 33.0781 31.1903 32.6979 31.0601 32.3594C30.9325 32.0182 30.7384 31.7487 30.478 31.5508C30.2202 31.3503 29.896 31.25 29.5054 31.25C29.1304 31.25 28.8153 31.3451 28.5601 31.5352C28.3049 31.7227 28.1121 31.9857 27.9819 32.3242C27.8517 32.6602 27.7866 33.0521 27.7866 33.5ZM34.5054 28.5V36.5H33.5835V28.5H34.5054ZM38.6313 36.625C38.0897 36.625 37.6144 36.4961 37.2056 36.2383C36.7993 35.9805 36.4816 35.6198 36.2524 35.1562C36.0259 34.6927 35.9126 34.151 35.9126 33.5312C35.9126 32.9062 36.0259 32.3607 36.2524 31.8945C36.4816 31.4284 36.7993 31.0664 37.2056 30.8086C37.6144 30.5508 38.0897 30.4219 38.6313 30.4219C39.173 30.4219 39.647 30.5508 40.0532 30.8086C40.4621 31.0664 40.7798 31.4284 41.0063 31.8945C41.2355 32.3607 41.3501 32.9062 41.3501 33.5312C41.3501 34.151 41.2355 34.6927 41.0063 35.1562C40.7798 35.6198 40.4621 35.9805 40.0532 36.2383C39.647 36.4961 39.173 36.625 38.6313 36.625ZM38.6313 35.7969C39.0428 35.7969 39.3813 35.6914 39.647 35.4805C39.9126 35.2695 40.1092 34.9922 40.2368 34.6484C40.3644 34.3047 40.4282 33.9323 40.4282 33.5312C40.4282 33.1302 40.3644 32.7565 40.2368 32.4102C40.1092 32.0638 39.9126 31.7839 39.647 31.5703C39.3813 31.3568 39.0428 31.25 38.6313 31.25C38.2199 31.25 37.8813 31.3568 37.6157 31.5703C37.3501 31.7839 37.1535 32.0638 37.0259 32.4102C36.8983 32.7565 36.8345 33.1302 36.8345 33.5312C36.8345 33.9323 36.8983 34.3047 37.0259 34.6484C37.1535 34.9922 37.3501 35.2695 37.6157 35.4805C37.8813 35.6914 38.2199 35.7969 38.6313 35.7969ZM44.5229 36.6406C44.1427 36.6406 43.7977 36.569 43.4878 36.4258C43.1779 36.2799 42.9318 36.0703 42.7495 35.7969C42.5672 35.5208 42.4761 35.1875 42.4761 34.7969C42.4761 34.4531 42.5438 34.1745 42.6792 33.9609C42.8146 33.7448 42.9956 33.5755 43.2222 33.4531C43.4487 33.3307 43.6987 33.2396 43.9722 33.1797C44.2482 33.1172 44.5256 33.0677 44.8042 33.0313C45.1688 32.9844 45.4644 32.9492 45.6909 32.9258C45.9201 32.8997 46.0868 32.8568 46.1909 32.7969C46.2977 32.737 46.3511 32.6328 46.3511 32.4844V32.4531C46.3511 32.0677 46.2456 31.7682 46.0347 31.5547C45.8263 31.3411 45.5099 31.2344 45.0854 31.2344C44.6453 31.2344 44.3003 31.3307 44.0503 31.5234C43.8003 31.7161 43.6245 31.9219 43.5229 32.1406L42.6479 31.8281C42.8042 31.4635 43.0125 31.1797 43.2729 30.9766C43.536 30.7708 43.8224 30.6276 44.1323 30.5469C44.4448 30.4635 44.7521 30.4219 45.0542 30.4219C45.2469 30.4219 45.4683 30.4453 45.7183 30.4922C45.9709 30.5365 46.2144 30.6289 46.4487 30.7695C46.6857 30.9102 46.8823 31.1224 47.0386 31.4062C47.1948 31.6901 47.2729 32.0703 47.2729 32.5469V36.5H46.3511V35.6875H46.3042C46.2417 35.8177 46.1375 35.957 45.9917 36.1055C45.8459 36.2539 45.6519 36.3802 45.4097 36.4844C45.1675 36.5885 44.8719 36.6406 44.5229 36.6406ZM44.6636 35.8125C45.0282 35.8125 45.3354 35.7409 45.5854 35.5977C45.8381 35.4544 46.0282 35.2695 46.1558 35.043C46.286 34.8164 46.3511 34.5781 46.3511 34.3281V33.4844C46.312 33.5312 46.2261 33.5742 46.0933 33.6133C45.9631 33.6497 45.812 33.6823 45.6401 33.7109C45.4709 33.737 45.3055 33.7604 45.144 33.7812C44.9852 33.7995 44.8563 33.8151 44.7573 33.8281C44.5177 33.8594 44.2938 33.9102 44.0854 33.9805C43.8797 34.0482 43.7131 34.151 43.5854 34.2891C43.4604 34.4245 43.3979 34.6094 43.3979 34.8437C43.3979 35.1641 43.5164 35.4062 43.7534 35.5703C43.993 35.7318 44.2964 35.8125 44.6636 35.8125ZM51.2212 36.625C50.7212 36.625 50.2798 36.4987 49.897 36.2461C49.5142 35.9909 49.2147 35.6315 48.9985 35.168C48.7824 34.7018 48.6743 34.151 48.6743 33.5156C48.6743 32.8854 48.7824 32.3385 48.9985 31.875C49.2147 31.4115 49.5155 31.0534 49.9009 30.8008C50.2863 30.5482 50.7316 30.4219 51.2368 30.4219C51.6274 30.4219 51.936 30.487 52.1626 30.6172C52.3918 30.7448 52.5662 30.8906 52.686 31.0547C52.8084 31.2161 52.9035 31.349 52.9712 31.4531H53.0493V28.5H53.9712V36.5H53.0806V35.5781H52.9712C52.9035 35.6875 52.8071 35.8255 52.6821 35.9922C52.5571 36.1562 52.3787 36.3034 52.147 36.4336C51.9152 36.5612 51.6066 36.625 51.2212 36.625ZM51.3462 35.7969C51.716 35.7969 52.0285 35.7005 52.2837 35.5078C52.5389 35.3125 52.7329 35.043 52.8657 34.6992C52.9985 34.3529 53.0649 33.9531 53.0649 33.5C53.0649 33.0521 52.9998 32.6602 52.8696 32.3242C52.7394 31.9857 52.5467 31.7227 52.2915 31.5352C52.0363 31.3451 51.7212 31.25 51.3462 31.25C50.9556 31.25 50.63 31.3503 50.3696 31.5508C50.1118 31.7487 49.9178 32.0182 49.7876 32.3594C49.66 32.6979 49.5962 33.0781 49.5962 33.5C49.5962 33.9271 49.6613 34.3151 49.7915 34.6641C49.9243 35.0104 50.1196 35.2865 50.3774 35.4922C50.6379 35.6953 50.9608 35.7969 51.3462 35.7969ZM59.0063 36.5V28.5H63.8032V29.3594H59.9751V32.0625H63.4438V32.9219H59.9751V36.5H59.0063ZM65.3374 36.5V30.5H66.2593V36.5H65.3374ZM65.8062 29.5C65.6265 29.5 65.4715 29.4388 65.3413 29.3164C65.2137 29.194 65.1499 29.0469 65.1499 28.875C65.1499 28.7031 65.2137 28.556 65.3413 28.4336C65.4715 28.3112 65.6265 28.25 65.8062 28.25C65.9858 28.25 66.1395 28.3112 66.2671 28.4336C66.3973 28.556 66.4624 28.7031 66.4624 28.875C66.4624 29.0469 66.3973 29.194 66.2671 29.3164C66.1395 29.4388 65.9858 29.5 65.8062 29.5ZM68.8696 28.5V36.5H67.9478V28.5H68.8696ZM73.0737 36.625C72.4956 36.625 71.9969 36.4974 71.5776 36.2422C71.161 35.9844 70.8394 35.625 70.6128 35.1641C70.3888 34.7005 70.2769 34.1615 70.2769 33.5469C70.2769 32.9323 70.3888 32.3906 70.6128 31.9219C70.8394 31.4505 71.1545 31.0833 71.5581 30.8203C71.9644 30.5547 72.4383 30.4219 72.98 30.4219C73.2925 30.4219 73.6011 30.474 73.9058 30.5781C74.2104 30.6823 74.4878 30.8516 74.7378 31.0859C74.9878 31.3177 75.187 31.625 75.3354 32.0078C75.4839 32.3906 75.5581 32.862 75.5581 33.4219V33.8125H70.9331V33.0156H74.6206C74.6206 32.6771 74.5529 32.375 74.4175 32.1094C74.2847 31.8437 74.0946 31.6341 73.8472 31.4805C73.6024 31.3268 73.3133 31.25 72.98 31.25C72.6128 31.25 72.2951 31.3411 72.0269 31.5234C71.7612 31.7031 71.5568 31.9375 71.4136 32.2266C71.2703 32.5156 71.1987 32.8255 71.1987 33.1562V33.6875C71.1987 34.1406 71.2769 34.5247 71.4331 34.8398C71.592 35.1523 71.812 35.3906 72.0933 35.5547C72.3745 35.7161 72.7013 35.7969 73.0737 35.7969C73.3159 35.7969 73.5347 35.763 73.73 35.6953C73.9279 35.625 74.0985 35.5208 74.2417 35.3828C74.3849 35.2422 74.4956 35.0677 74.5737 34.8594L75.4644 35.1094C75.3706 35.4115 75.2131 35.6771 74.9917 35.9062C74.7703 36.1328 74.4969 36.3099 74.1714 36.4375C73.8459 36.5625 73.48 36.625 73.0737 36.625Z" fill="#F9F9F9"/>
952
- </svg>
953
- `
954
- },
955
- components: [
956
- {
957
- tag: 'FileUpload'
958
- }
959
- ]
960
- }
961
- ]
31
+ presets: presets.SettingPresets
962
32
  };
963
33
 
964
34
  exports.default = config;