@webstudio-is/sdk 0.0.0-4f7bf18 → 0.0.0-50b8685
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/lib/__generated__/normalize.css.js +247 -151
- package/lib/core-templates.js +5 -5
- package/lib/index.js +796 -329
- package/lib/types/__generated__/normalize.css.d.ts +2 -2
- package/lib/types/core-metas.d.ts +160 -90
- package/lib/types/css.d.ts +31 -0
- package/lib/types/css.test.d.ts +1 -0
- package/lib/types/expression.d.ts +10 -3
- package/lib/types/index.d.ts +3 -0
- package/lib/types/instances-utils.d.ts +3 -0
- package/lib/types/schema/animation-schema.d.ts +52935 -0
- package/lib/types/schema/assets.d.ts +12 -84
- package/lib/types/schema/breakpoints.d.ts +8 -8
- package/lib/types/schema/component-meta.d.ts +11200 -926
- package/lib/types/schema/data-sources.d.ts +18 -18
- package/lib/types/schema/deployment.d.ts +4 -4
- package/lib/types/schema/embed-template.d.ts +3885 -881
- package/lib/types/schema/instances.d.ts +9 -0
- package/lib/types/schema/pages.d.ts +138 -138
- package/lib/types/schema/prop-meta.d.ts +81 -39
- package/lib/types/schema/props.d.ts +36166 -20
- package/lib/types/schema/resources.d.ts +4 -4
- package/lib/types/schema/styles.d.ts +4903 -1239
- package/lib/types/schema/webstudio.d.ts +22632 -691
- package/package.json +12 -11
|
@@ -19,143 +19,157 @@ export declare const corePropsMetas: {
|
|
|
19
19
|
type: "number";
|
|
20
20
|
required: boolean;
|
|
21
21
|
control: "number";
|
|
22
|
-
defaultValue?: number | undefined;
|
|
23
22
|
label?: string | undefined;
|
|
23
|
+
defaultValue?: number | undefined;
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
} | {
|
|
26
26
|
type: "number";
|
|
27
27
|
required: boolean;
|
|
28
28
|
control: "range";
|
|
29
|
-
defaultValue?: number | undefined;
|
|
30
29
|
label?: string | undefined;
|
|
30
|
+
defaultValue?: number | undefined;
|
|
31
31
|
description?: string | undefined;
|
|
32
32
|
} | {
|
|
33
33
|
type: "string";
|
|
34
34
|
required: boolean;
|
|
35
35
|
control: "text";
|
|
36
|
+
label?: string | undefined;
|
|
36
37
|
defaultValue?: string | undefined;
|
|
38
|
+
description?: string | undefined;
|
|
37
39
|
rows?: number | undefined;
|
|
40
|
+
} | {
|
|
41
|
+
type: "resource";
|
|
42
|
+
required: boolean;
|
|
43
|
+
control: "resource";
|
|
38
44
|
label?: string | undefined;
|
|
45
|
+
defaultValue?: string | undefined;
|
|
39
46
|
description?: string | undefined;
|
|
40
47
|
} | {
|
|
41
48
|
type: "string";
|
|
42
49
|
required: boolean;
|
|
43
50
|
control: "code";
|
|
44
51
|
language: "html" | "markdown";
|
|
45
|
-
defaultValue?: string | undefined;
|
|
46
52
|
label?: string | undefined;
|
|
53
|
+
defaultValue?: string | undefined;
|
|
47
54
|
description?: string | undefined;
|
|
48
55
|
} | {
|
|
49
56
|
type: "string";
|
|
50
57
|
required: boolean;
|
|
51
58
|
control: "codetext";
|
|
52
|
-
defaultValue?: string | undefined;
|
|
53
59
|
label?: string | undefined;
|
|
60
|
+
defaultValue?: string | undefined;
|
|
54
61
|
description?: string | undefined;
|
|
55
62
|
} | {
|
|
56
63
|
type: "string";
|
|
57
64
|
required: boolean;
|
|
58
65
|
control: "color";
|
|
59
|
-
defaultValue?: string | undefined;
|
|
60
66
|
label?: string | undefined;
|
|
67
|
+
defaultValue?: string | undefined;
|
|
61
68
|
description?: string | undefined;
|
|
62
69
|
} | {
|
|
63
70
|
type: "boolean";
|
|
64
71
|
required: boolean;
|
|
65
72
|
control: "boolean";
|
|
66
|
-
defaultValue?: boolean | undefined;
|
|
67
73
|
label?: string | undefined;
|
|
74
|
+
defaultValue?: boolean | undefined;
|
|
68
75
|
description?: string | undefined;
|
|
69
76
|
} | {
|
|
70
77
|
options: string[];
|
|
71
78
|
type: "string";
|
|
72
79
|
required: boolean;
|
|
73
80
|
control: "radio";
|
|
74
|
-
defaultValue?: string | undefined;
|
|
75
81
|
label?: string | undefined;
|
|
82
|
+
defaultValue?: string | undefined;
|
|
76
83
|
description?: string | undefined;
|
|
77
84
|
} | {
|
|
78
85
|
options: string[];
|
|
79
86
|
type: "string";
|
|
80
87
|
required: boolean;
|
|
81
88
|
control: "inline-radio";
|
|
82
|
-
defaultValue?: string | undefined;
|
|
83
89
|
label?: string | undefined;
|
|
90
|
+
defaultValue?: string | undefined;
|
|
84
91
|
description?: string | undefined;
|
|
85
92
|
} | {
|
|
86
93
|
options: string[];
|
|
87
94
|
type: "string";
|
|
88
95
|
required: boolean;
|
|
89
96
|
control: "select";
|
|
90
|
-
defaultValue?: string | undefined;
|
|
91
97
|
label?: string | undefined;
|
|
98
|
+
defaultValue?: string | undefined;
|
|
92
99
|
description?: string | undefined;
|
|
93
100
|
} | {
|
|
94
101
|
options: string[];
|
|
95
102
|
type: "string[]";
|
|
96
103
|
required: boolean;
|
|
97
104
|
control: "check";
|
|
98
|
-
defaultValue?: string[] | undefined;
|
|
99
105
|
label?: string | undefined;
|
|
106
|
+
defaultValue?: string[] | undefined;
|
|
100
107
|
description?: string | undefined;
|
|
101
108
|
} | {
|
|
102
109
|
options: string[];
|
|
103
110
|
type: "string[]";
|
|
104
111
|
required: boolean;
|
|
105
112
|
control: "inline-check";
|
|
106
|
-
defaultValue?: string[] | undefined;
|
|
107
113
|
label?: string | undefined;
|
|
114
|
+
defaultValue?: string[] | undefined;
|
|
108
115
|
description?: string | undefined;
|
|
109
116
|
} | {
|
|
110
117
|
options: string[];
|
|
111
118
|
type: "string[]";
|
|
112
119
|
required: boolean;
|
|
113
120
|
control: "multi-select";
|
|
114
|
-
defaultValue?: string[] | undefined;
|
|
115
121
|
label?: string | undefined;
|
|
122
|
+
defaultValue?: string[] | undefined;
|
|
116
123
|
description?: string | undefined;
|
|
117
124
|
} | {
|
|
118
125
|
type: "string";
|
|
119
126
|
required: boolean;
|
|
120
127
|
control: "file";
|
|
121
|
-
defaultValue?: string | undefined;
|
|
122
|
-
accept?: string | undefined;
|
|
123
128
|
label?: string | undefined;
|
|
129
|
+
defaultValue?: string | undefined;
|
|
124
130
|
description?: string | undefined;
|
|
131
|
+
accept?: string | undefined;
|
|
125
132
|
} | {
|
|
126
133
|
type: "string";
|
|
127
134
|
required: boolean;
|
|
128
135
|
control: "url";
|
|
129
|
-
defaultValue?: string | undefined;
|
|
130
136
|
label?: string | undefined;
|
|
137
|
+
defaultValue?: string | undefined;
|
|
131
138
|
description?: string | undefined;
|
|
132
139
|
} | {
|
|
133
140
|
type: "json";
|
|
134
141
|
required: boolean;
|
|
135
142
|
control: "json";
|
|
136
|
-
defaultValue?: unknown;
|
|
137
143
|
label?: string | undefined;
|
|
144
|
+
defaultValue?: unknown;
|
|
138
145
|
description?: string | undefined;
|
|
139
146
|
} | {
|
|
140
147
|
type: "string";
|
|
141
148
|
required: boolean;
|
|
142
149
|
control: "date";
|
|
143
|
-
defaultValue?: string | undefined;
|
|
144
150
|
label?: string | undefined;
|
|
151
|
+
defaultValue?: string | undefined;
|
|
145
152
|
description?: string | undefined;
|
|
146
153
|
} | {
|
|
147
154
|
type: "action";
|
|
148
155
|
required: boolean;
|
|
149
156
|
control: "action";
|
|
150
|
-
defaultValue?: undefined;
|
|
151
157
|
label?: string | undefined;
|
|
158
|
+
defaultValue?: undefined;
|
|
152
159
|
description?: string | undefined;
|
|
153
160
|
} | {
|
|
154
161
|
type: "string";
|
|
155
162
|
required: boolean;
|
|
156
163
|
control: "textContent";
|
|
164
|
+
label?: string | undefined;
|
|
157
165
|
defaultValue?: string | undefined;
|
|
166
|
+
description?: string | undefined;
|
|
167
|
+
} | {
|
|
168
|
+
type: "animationAction";
|
|
169
|
+
required: boolean;
|
|
170
|
+
control: "animationAction";
|
|
158
171
|
label?: string | undefined;
|
|
172
|
+
defaultValue?: undefined;
|
|
159
173
|
description?: string | undefined;
|
|
160
174
|
}>;
|
|
161
175
|
initialProps?: string[] | undefined;
|
|
@@ -165,143 +179,157 @@ export declare const corePropsMetas: {
|
|
|
165
179
|
type: "number";
|
|
166
180
|
required: boolean;
|
|
167
181
|
control: "number";
|
|
168
|
-
defaultValue?: number | undefined;
|
|
169
182
|
label?: string | undefined;
|
|
183
|
+
defaultValue?: number | undefined;
|
|
170
184
|
description?: string | undefined;
|
|
171
185
|
} | {
|
|
172
186
|
type: "number";
|
|
173
187
|
required: boolean;
|
|
174
188
|
control: "range";
|
|
175
|
-
defaultValue?: number | undefined;
|
|
176
189
|
label?: string | undefined;
|
|
190
|
+
defaultValue?: number | undefined;
|
|
177
191
|
description?: string | undefined;
|
|
178
192
|
} | {
|
|
179
193
|
type: "string";
|
|
180
194
|
required: boolean;
|
|
181
195
|
control: "text";
|
|
196
|
+
label?: string | undefined;
|
|
182
197
|
defaultValue?: string | undefined;
|
|
198
|
+
description?: string | undefined;
|
|
183
199
|
rows?: number | undefined;
|
|
200
|
+
} | {
|
|
201
|
+
type: "resource";
|
|
202
|
+
required: boolean;
|
|
203
|
+
control: "resource";
|
|
184
204
|
label?: string | undefined;
|
|
205
|
+
defaultValue?: string | undefined;
|
|
185
206
|
description?: string | undefined;
|
|
186
207
|
} | {
|
|
187
208
|
type: "string";
|
|
188
209
|
required: boolean;
|
|
189
210
|
control: "code";
|
|
190
211
|
language: "html" | "markdown";
|
|
191
|
-
defaultValue?: string | undefined;
|
|
192
212
|
label?: string | undefined;
|
|
213
|
+
defaultValue?: string | undefined;
|
|
193
214
|
description?: string | undefined;
|
|
194
215
|
} | {
|
|
195
216
|
type: "string";
|
|
196
217
|
required: boolean;
|
|
197
218
|
control: "codetext";
|
|
198
|
-
defaultValue?: string | undefined;
|
|
199
219
|
label?: string | undefined;
|
|
220
|
+
defaultValue?: string | undefined;
|
|
200
221
|
description?: string | undefined;
|
|
201
222
|
} | {
|
|
202
223
|
type: "string";
|
|
203
224
|
required: boolean;
|
|
204
225
|
control: "color";
|
|
205
|
-
defaultValue?: string | undefined;
|
|
206
226
|
label?: string | undefined;
|
|
227
|
+
defaultValue?: string | undefined;
|
|
207
228
|
description?: string | undefined;
|
|
208
229
|
} | {
|
|
209
230
|
type: "boolean";
|
|
210
231
|
required: boolean;
|
|
211
232
|
control: "boolean";
|
|
212
|
-
defaultValue?: boolean | undefined;
|
|
213
233
|
label?: string | undefined;
|
|
234
|
+
defaultValue?: boolean | undefined;
|
|
214
235
|
description?: string | undefined;
|
|
215
236
|
} | {
|
|
216
237
|
options: string[];
|
|
217
238
|
type: "string";
|
|
218
239
|
required: boolean;
|
|
219
240
|
control: "radio";
|
|
220
|
-
defaultValue?: string | undefined;
|
|
221
241
|
label?: string | undefined;
|
|
242
|
+
defaultValue?: string | undefined;
|
|
222
243
|
description?: string | undefined;
|
|
223
244
|
} | {
|
|
224
245
|
options: string[];
|
|
225
246
|
type: "string";
|
|
226
247
|
required: boolean;
|
|
227
248
|
control: "inline-radio";
|
|
228
|
-
defaultValue?: string | undefined;
|
|
229
249
|
label?: string | undefined;
|
|
250
|
+
defaultValue?: string | undefined;
|
|
230
251
|
description?: string | undefined;
|
|
231
252
|
} | {
|
|
232
253
|
options: string[];
|
|
233
254
|
type: "string";
|
|
234
255
|
required: boolean;
|
|
235
256
|
control: "select";
|
|
236
|
-
defaultValue?: string | undefined;
|
|
237
257
|
label?: string | undefined;
|
|
258
|
+
defaultValue?: string | undefined;
|
|
238
259
|
description?: string | undefined;
|
|
239
260
|
} | {
|
|
240
261
|
options: string[];
|
|
241
262
|
type: "string[]";
|
|
242
263
|
required: boolean;
|
|
243
264
|
control: "check";
|
|
244
|
-
defaultValue?: string[] | undefined;
|
|
245
265
|
label?: string | undefined;
|
|
266
|
+
defaultValue?: string[] | undefined;
|
|
246
267
|
description?: string | undefined;
|
|
247
268
|
} | {
|
|
248
269
|
options: string[];
|
|
249
270
|
type: "string[]";
|
|
250
271
|
required: boolean;
|
|
251
272
|
control: "inline-check";
|
|
252
|
-
defaultValue?: string[] | undefined;
|
|
253
273
|
label?: string | undefined;
|
|
274
|
+
defaultValue?: string[] | undefined;
|
|
254
275
|
description?: string | undefined;
|
|
255
276
|
} | {
|
|
256
277
|
options: string[];
|
|
257
278
|
type: "string[]";
|
|
258
279
|
required: boolean;
|
|
259
280
|
control: "multi-select";
|
|
260
|
-
defaultValue?: string[] | undefined;
|
|
261
281
|
label?: string | undefined;
|
|
282
|
+
defaultValue?: string[] | undefined;
|
|
262
283
|
description?: string | undefined;
|
|
263
284
|
} | {
|
|
264
285
|
type: "string";
|
|
265
286
|
required: boolean;
|
|
266
287
|
control: "file";
|
|
267
|
-
defaultValue?: string | undefined;
|
|
268
|
-
accept?: string | undefined;
|
|
269
288
|
label?: string | undefined;
|
|
289
|
+
defaultValue?: string | undefined;
|
|
270
290
|
description?: string | undefined;
|
|
291
|
+
accept?: string | undefined;
|
|
271
292
|
} | {
|
|
272
293
|
type: "string";
|
|
273
294
|
required: boolean;
|
|
274
295
|
control: "url";
|
|
275
|
-
defaultValue?: string | undefined;
|
|
276
296
|
label?: string | undefined;
|
|
297
|
+
defaultValue?: string | undefined;
|
|
277
298
|
description?: string | undefined;
|
|
278
299
|
} | {
|
|
279
300
|
type: "json";
|
|
280
301
|
required: boolean;
|
|
281
302
|
control: "json";
|
|
282
|
-
defaultValue?: unknown;
|
|
283
303
|
label?: string | undefined;
|
|
304
|
+
defaultValue?: unknown;
|
|
284
305
|
description?: string | undefined;
|
|
285
306
|
} | {
|
|
286
307
|
type: "string";
|
|
287
308
|
required: boolean;
|
|
288
309
|
control: "date";
|
|
289
|
-
defaultValue?: string | undefined;
|
|
290
310
|
label?: string | undefined;
|
|
311
|
+
defaultValue?: string | undefined;
|
|
291
312
|
description?: string | undefined;
|
|
292
313
|
} | {
|
|
293
314
|
type: "action";
|
|
294
315
|
required: boolean;
|
|
295
316
|
control: "action";
|
|
296
|
-
defaultValue?: undefined;
|
|
297
317
|
label?: string | undefined;
|
|
318
|
+
defaultValue?: undefined;
|
|
298
319
|
description?: string | undefined;
|
|
299
320
|
} | {
|
|
300
321
|
type: "string";
|
|
301
322
|
required: boolean;
|
|
302
323
|
control: "textContent";
|
|
324
|
+
label?: string | undefined;
|
|
303
325
|
defaultValue?: string | undefined;
|
|
326
|
+
description?: string | undefined;
|
|
327
|
+
} | {
|
|
328
|
+
type: "animationAction";
|
|
329
|
+
required: boolean;
|
|
330
|
+
control: "animationAction";
|
|
304
331
|
label?: string | undefined;
|
|
332
|
+
defaultValue?: undefined;
|
|
305
333
|
description?: string | undefined;
|
|
306
334
|
}>;
|
|
307
335
|
initialProps?: string[] | undefined;
|
|
@@ -311,143 +339,157 @@ export declare const corePropsMetas: {
|
|
|
311
339
|
type: "number";
|
|
312
340
|
required: boolean;
|
|
313
341
|
control: "number";
|
|
314
|
-
defaultValue?: number | undefined;
|
|
315
342
|
label?: string | undefined;
|
|
343
|
+
defaultValue?: number | undefined;
|
|
316
344
|
description?: string | undefined;
|
|
317
345
|
} | {
|
|
318
346
|
type: "number";
|
|
319
347
|
required: boolean;
|
|
320
348
|
control: "range";
|
|
321
|
-
defaultValue?: number | undefined;
|
|
322
349
|
label?: string | undefined;
|
|
350
|
+
defaultValue?: number | undefined;
|
|
323
351
|
description?: string | undefined;
|
|
324
352
|
} | {
|
|
325
353
|
type: "string";
|
|
326
354
|
required: boolean;
|
|
327
355
|
control: "text";
|
|
356
|
+
label?: string | undefined;
|
|
328
357
|
defaultValue?: string | undefined;
|
|
358
|
+
description?: string | undefined;
|
|
329
359
|
rows?: number | undefined;
|
|
360
|
+
} | {
|
|
361
|
+
type: "resource";
|
|
362
|
+
required: boolean;
|
|
363
|
+
control: "resource";
|
|
330
364
|
label?: string | undefined;
|
|
365
|
+
defaultValue?: string | undefined;
|
|
331
366
|
description?: string | undefined;
|
|
332
367
|
} | {
|
|
333
368
|
type: "string";
|
|
334
369
|
required: boolean;
|
|
335
370
|
control: "code";
|
|
336
371
|
language: "html" | "markdown";
|
|
337
|
-
defaultValue?: string | undefined;
|
|
338
372
|
label?: string | undefined;
|
|
373
|
+
defaultValue?: string | undefined;
|
|
339
374
|
description?: string | undefined;
|
|
340
375
|
} | {
|
|
341
376
|
type: "string";
|
|
342
377
|
required: boolean;
|
|
343
378
|
control: "codetext";
|
|
344
|
-
defaultValue?: string | undefined;
|
|
345
379
|
label?: string | undefined;
|
|
380
|
+
defaultValue?: string | undefined;
|
|
346
381
|
description?: string | undefined;
|
|
347
382
|
} | {
|
|
348
383
|
type: "string";
|
|
349
384
|
required: boolean;
|
|
350
385
|
control: "color";
|
|
351
|
-
defaultValue?: string | undefined;
|
|
352
386
|
label?: string | undefined;
|
|
387
|
+
defaultValue?: string | undefined;
|
|
353
388
|
description?: string | undefined;
|
|
354
389
|
} | {
|
|
355
390
|
type: "boolean";
|
|
356
391
|
required: boolean;
|
|
357
392
|
control: "boolean";
|
|
358
|
-
defaultValue?: boolean | undefined;
|
|
359
393
|
label?: string | undefined;
|
|
394
|
+
defaultValue?: boolean | undefined;
|
|
360
395
|
description?: string | undefined;
|
|
361
396
|
} | {
|
|
362
397
|
options: string[];
|
|
363
398
|
type: "string";
|
|
364
399
|
required: boolean;
|
|
365
400
|
control: "radio";
|
|
366
|
-
defaultValue?: string | undefined;
|
|
367
401
|
label?: string | undefined;
|
|
402
|
+
defaultValue?: string | undefined;
|
|
368
403
|
description?: string | undefined;
|
|
369
404
|
} | {
|
|
370
405
|
options: string[];
|
|
371
406
|
type: "string";
|
|
372
407
|
required: boolean;
|
|
373
408
|
control: "inline-radio";
|
|
374
|
-
defaultValue?: string | undefined;
|
|
375
409
|
label?: string | undefined;
|
|
410
|
+
defaultValue?: string | undefined;
|
|
376
411
|
description?: string | undefined;
|
|
377
412
|
} | {
|
|
378
413
|
options: string[];
|
|
379
414
|
type: "string";
|
|
380
415
|
required: boolean;
|
|
381
416
|
control: "select";
|
|
382
|
-
defaultValue?: string | undefined;
|
|
383
417
|
label?: string | undefined;
|
|
418
|
+
defaultValue?: string | undefined;
|
|
384
419
|
description?: string | undefined;
|
|
385
420
|
} | {
|
|
386
421
|
options: string[];
|
|
387
422
|
type: "string[]";
|
|
388
423
|
required: boolean;
|
|
389
424
|
control: "check";
|
|
390
|
-
defaultValue?: string[] | undefined;
|
|
391
425
|
label?: string | undefined;
|
|
426
|
+
defaultValue?: string[] | undefined;
|
|
392
427
|
description?: string | undefined;
|
|
393
428
|
} | {
|
|
394
429
|
options: string[];
|
|
395
430
|
type: "string[]";
|
|
396
431
|
required: boolean;
|
|
397
432
|
control: "inline-check";
|
|
398
|
-
defaultValue?: string[] | undefined;
|
|
399
433
|
label?: string | undefined;
|
|
434
|
+
defaultValue?: string[] | undefined;
|
|
400
435
|
description?: string | undefined;
|
|
401
436
|
} | {
|
|
402
437
|
options: string[];
|
|
403
438
|
type: "string[]";
|
|
404
439
|
required: boolean;
|
|
405
440
|
control: "multi-select";
|
|
406
|
-
defaultValue?: string[] | undefined;
|
|
407
441
|
label?: string | undefined;
|
|
442
|
+
defaultValue?: string[] | undefined;
|
|
408
443
|
description?: string | undefined;
|
|
409
444
|
} | {
|
|
410
445
|
type: "string";
|
|
411
446
|
required: boolean;
|
|
412
447
|
control: "file";
|
|
413
|
-
defaultValue?: string | undefined;
|
|
414
|
-
accept?: string | undefined;
|
|
415
448
|
label?: string | undefined;
|
|
449
|
+
defaultValue?: string | undefined;
|
|
416
450
|
description?: string | undefined;
|
|
451
|
+
accept?: string | undefined;
|
|
417
452
|
} | {
|
|
418
453
|
type: "string";
|
|
419
454
|
required: boolean;
|
|
420
455
|
control: "url";
|
|
421
|
-
defaultValue?: string | undefined;
|
|
422
456
|
label?: string | undefined;
|
|
457
|
+
defaultValue?: string | undefined;
|
|
423
458
|
description?: string | undefined;
|
|
424
459
|
} | {
|
|
425
460
|
type: "json";
|
|
426
461
|
required: boolean;
|
|
427
462
|
control: "json";
|
|
428
|
-
defaultValue?: unknown;
|
|
429
463
|
label?: string | undefined;
|
|
464
|
+
defaultValue?: unknown;
|
|
430
465
|
description?: string | undefined;
|
|
431
466
|
} | {
|
|
432
467
|
type: "string";
|
|
433
468
|
required: boolean;
|
|
434
469
|
control: "date";
|
|
435
|
-
defaultValue?: string | undefined;
|
|
436
470
|
label?: string | undefined;
|
|
471
|
+
defaultValue?: string | undefined;
|
|
437
472
|
description?: string | undefined;
|
|
438
473
|
} | {
|
|
439
474
|
type: "action";
|
|
440
475
|
required: boolean;
|
|
441
476
|
control: "action";
|
|
442
|
-
defaultValue?: undefined;
|
|
443
477
|
label?: string | undefined;
|
|
478
|
+
defaultValue?: undefined;
|
|
444
479
|
description?: string | undefined;
|
|
445
480
|
} | {
|
|
446
481
|
type: "string";
|
|
447
482
|
required: boolean;
|
|
448
483
|
control: "textContent";
|
|
484
|
+
label?: string | undefined;
|
|
449
485
|
defaultValue?: string | undefined;
|
|
486
|
+
description?: string | undefined;
|
|
487
|
+
} | {
|
|
488
|
+
type: "animationAction";
|
|
489
|
+
required: boolean;
|
|
490
|
+
control: "animationAction";
|
|
450
491
|
label?: string | undefined;
|
|
492
|
+
defaultValue?: undefined;
|
|
451
493
|
description?: string | undefined;
|
|
452
494
|
}>;
|
|
453
495
|
initialProps?: string[] | undefined;
|
|
@@ -457,143 +499,157 @@ export declare const corePropsMetas: {
|
|
|
457
499
|
type: "number";
|
|
458
500
|
required: boolean;
|
|
459
501
|
control: "number";
|
|
460
|
-
defaultValue?: number | undefined;
|
|
461
502
|
label?: string | undefined;
|
|
503
|
+
defaultValue?: number | undefined;
|
|
462
504
|
description?: string | undefined;
|
|
463
505
|
} | {
|
|
464
506
|
type: "number";
|
|
465
507
|
required: boolean;
|
|
466
508
|
control: "range";
|
|
467
|
-
defaultValue?: number | undefined;
|
|
468
509
|
label?: string | undefined;
|
|
510
|
+
defaultValue?: number | undefined;
|
|
469
511
|
description?: string | undefined;
|
|
470
512
|
} | {
|
|
471
513
|
type: "string";
|
|
472
514
|
required: boolean;
|
|
473
515
|
control: "text";
|
|
516
|
+
label?: string | undefined;
|
|
474
517
|
defaultValue?: string | undefined;
|
|
518
|
+
description?: string | undefined;
|
|
475
519
|
rows?: number | undefined;
|
|
520
|
+
} | {
|
|
521
|
+
type: "resource";
|
|
522
|
+
required: boolean;
|
|
523
|
+
control: "resource";
|
|
476
524
|
label?: string | undefined;
|
|
525
|
+
defaultValue?: string | undefined;
|
|
477
526
|
description?: string | undefined;
|
|
478
527
|
} | {
|
|
479
528
|
type: "string";
|
|
480
529
|
required: boolean;
|
|
481
530
|
control: "code";
|
|
482
531
|
language: "html" | "markdown";
|
|
483
|
-
defaultValue?: string | undefined;
|
|
484
532
|
label?: string | undefined;
|
|
533
|
+
defaultValue?: string | undefined;
|
|
485
534
|
description?: string | undefined;
|
|
486
535
|
} | {
|
|
487
536
|
type: "string";
|
|
488
537
|
required: boolean;
|
|
489
538
|
control: "codetext";
|
|
490
|
-
defaultValue?: string | undefined;
|
|
491
539
|
label?: string | undefined;
|
|
540
|
+
defaultValue?: string | undefined;
|
|
492
541
|
description?: string | undefined;
|
|
493
542
|
} | {
|
|
494
543
|
type: "string";
|
|
495
544
|
required: boolean;
|
|
496
545
|
control: "color";
|
|
497
|
-
defaultValue?: string | undefined;
|
|
498
546
|
label?: string | undefined;
|
|
547
|
+
defaultValue?: string | undefined;
|
|
499
548
|
description?: string | undefined;
|
|
500
549
|
} | {
|
|
501
550
|
type: "boolean";
|
|
502
551
|
required: boolean;
|
|
503
552
|
control: "boolean";
|
|
504
|
-
defaultValue?: boolean | undefined;
|
|
505
553
|
label?: string | undefined;
|
|
554
|
+
defaultValue?: boolean | undefined;
|
|
506
555
|
description?: string | undefined;
|
|
507
556
|
} | {
|
|
508
557
|
options: string[];
|
|
509
558
|
type: "string";
|
|
510
559
|
required: boolean;
|
|
511
560
|
control: "radio";
|
|
512
|
-
defaultValue?: string | undefined;
|
|
513
561
|
label?: string | undefined;
|
|
562
|
+
defaultValue?: string | undefined;
|
|
514
563
|
description?: string | undefined;
|
|
515
564
|
} | {
|
|
516
565
|
options: string[];
|
|
517
566
|
type: "string";
|
|
518
567
|
required: boolean;
|
|
519
568
|
control: "inline-radio";
|
|
520
|
-
defaultValue?: string | undefined;
|
|
521
569
|
label?: string | undefined;
|
|
570
|
+
defaultValue?: string | undefined;
|
|
522
571
|
description?: string | undefined;
|
|
523
572
|
} | {
|
|
524
573
|
options: string[];
|
|
525
574
|
type: "string";
|
|
526
575
|
required: boolean;
|
|
527
576
|
control: "select";
|
|
528
|
-
defaultValue?: string | undefined;
|
|
529
577
|
label?: string | undefined;
|
|
578
|
+
defaultValue?: string | undefined;
|
|
530
579
|
description?: string | undefined;
|
|
531
580
|
} | {
|
|
532
581
|
options: string[];
|
|
533
582
|
type: "string[]";
|
|
534
583
|
required: boolean;
|
|
535
584
|
control: "check";
|
|
536
|
-
defaultValue?: string[] | undefined;
|
|
537
585
|
label?: string | undefined;
|
|
586
|
+
defaultValue?: string[] | undefined;
|
|
538
587
|
description?: string | undefined;
|
|
539
588
|
} | {
|
|
540
589
|
options: string[];
|
|
541
590
|
type: "string[]";
|
|
542
591
|
required: boolean;
|
|
543
592
|
control: "inline-check";
|
|
544
|
-
defaultValue?: string[] | undefined;
|
|
545
593
|
label?: string | undefined;
|
|
594
|
+
defaultValue?: string[] | undefined;
|
|
546
595
|
description?: string | undefined;
|
|
547
596
|
} | {
|
|
548
597
|
options: string[];
|
|
549
598
|
type: "string[]";
|
|
550
599
|
required: boolean;
|
|
551
600
|
control: "multi-select";
|
|
552
|
-
defaultValue?: string[] | undefined;
|
|
553
601
|
label?: string | undefined;
|
|
602
|
+
defaultValue?: string[] | undefined;
|
|
554
603
|
description?: string | undefined;
|
|
555
604
|
} | {
|
|
556
605
|
type: "string";
|
|
557
606
|
required: boolean;
|
|
558
607
|
control: "file";
|
|
559
|
-
defaultValue?: string | undefined;
|
|
560
|
-
accept?: string | undefined;
|
|
561
608
|
label?: string | undefined;
|
|
609
|
+
defaultValue?: string | undefined;
|
|
562
610
|
description?: string | undefined;
|
|
611
|
+
accept?: string | undefined;
|
|
563
612
|
} | {
|
|
564
613
|
type: "string";
|
|
565
614
|
required: boolean;
|
|
566
615
|
control: "url";
|
|
567
|
-
defaultValue?: string | undefined;
|
|
568
616
|
label?: string | undefined;
|
|
617
|
+
defaultValue?: string | undefined;
|
|
569
618
|
description?: string | undefined;
|
|
570
619
|
} | {
|
|
571
620
|
type: "json";
|
|
572
621
|
required: boolean;
|
|
573
622
|
control: "json";
|
|
574
|
-
defaultValue?: unknown;
|
|
575
623
|
label?: string | undefined;
|
|
624
|
+
defaultValue?: unknown;
|
|
576
625
|
description?: string | undefined;
|
|
577
626
|
} | {
|
|
578
627
|
type: "string";
|
|
579
628
|
required: boolean;
|
|
580
629
|
control: "date";
|
|
581
|
-
defaultValue?: string | undefined;
|
|
582
630
|
label?: string | undefined;
|
|
631
|
+
defaultValue?: string | undefined;
|
|
583
632
|
description?: string | undefined;
|
|
584
633
|
} | {
|
|
585
634
|
type: "action";
|
|
586
635
|
required: boolean;
|
|
587
636
|
control: "action";
|
|
588
|
-
defaultValue?: undefined;
|
|
589
637
|
label?: string | undefined;
|
|
638
|
+
defaultValue?: undefined;
|
|
590
639
|
description?: string | undefined;
|
|
591
640
|
} | {
|
|
592
641
|
type: "string";
|
|
593
642
|
required: boolean;
|
|
594
643
|
control: "textContent";
|
|
644
|
+
label?: string | undefined;
|
|
595
645
|
defaultValue?: string | undefined;
|
|
646
|
+
description?: string | undefined;
|
|
647
|
+
} | {
|
|
648
|
+
type: "animationAction";
|
|
649
|
+
required: boolean;
|
|
650
|
+
control: "animationAction";
|
|
596
651
|
label?: string | undefined;
|
|
652
|
+
defaultValue?: undefined;
|
|
597
653
|
description?: string | undefined;
|
|
598
654
|
}>;
|
|
599
655
|
initialProps?: string[] | undefined;
|
|
@@ -603,143 +659,157 @@ export declare const corePropsMetas: {
|
|
|
603
659
|
type: "number";
|
|
604
660
|
required: boolean;
|
|
605
661
|
control: "number";
|
|
606
|
-
defaultValue?: number | undefined;
|
|
607
662
|
label?: string | undefined;
|
|
663
|
+
defaultValue?: number | undefined;
|
|
608
664
|
description?: string | undefined;
|
|
609
665
|
} | {
|
|
610
666
|
type: "number";
|
|
611
667
|
required: boolean;
|
|
612
668
|
control: "range";
|
|
613
|
-
defaultValue?: number | undefined;
|
|
614
669
|
label?: string | undefined;
|
|
670
|
+
defaultValue?: number | undefined;
|
|
615
671
|
description?: string | undefined;
|
|
616
672
|
} | {
|
|
617
673
|
type: "string";
|
|
618
674
|
required: boolean;
|
|
619
675
|
control: "text";
|
|
676
|
+
label?: string | undefined;
|
|
620
677
|
defaultValue?: string | undefined;
|
|
678
|
+
description?: string | undefined;
|
|
621
679
|
rows?: number | undefined;
|
|
680
|
+
} | {
|
|
681
|
+
type: "resource";
|
|
682
|
+
required: boolean;
|
|
683
|
+
control: "resource";
|
|
622
684
|
label?: string | undefined;
|
|
685
|
+
defaultValue?: string | undefined;
|
|
623
686
|
description?: string | undefined;
|
|
624
687
|
} | {
|
|
625
688
|
type: "string";
|
|
626
689
|
required: boolean;
|
|
627
690
|
control: "code";
|
|
628
691
|
language: "html" | "markdown";
|
|
629
|
-
defaultValue?: string | undefined;
|
|
630
692
|
label?: string | undefined;
|
|
693
|
+
defaultValue?: string | undefined;
|
|
631
694
|
description?: string | undefined;
|
|
632
695
|
} | {
|
|
633
696
|
type: "string";
|
|
634
697
|
required: boolean;
|
|
635
698
|
control: "codetext";
|
|
636
|
-
defaultValue?: string | undefined;
|
|
637
699
|
label?: string | undefined;
|
|
700
|
+
defaultValue?: string | undefined;
|
|
638
701
|
description?: string | undefined;
|
|
639
702
|
} | {
|
|
640
703
|
type: "string";
|
|
641
704
|
required: boolean;
|
|
642
705
|
control: "color";
|
|
643
|
-
defaultValue?: string | undefined;
|
|
644
706
|
label?: string | undefined;
|
|
707
|
+
defaultValue?: string | undefined;
|
|
645
708
|
description?: string | undefined;
|
|
646
709
|
} | {
|
|
647
710
|
type: "boolean";
|
|
648
711
|
required: boolean;
|
|
649
712
|
control: "boolean";
|
|
650
|
-
defaultValue?: boolean | undefined;
|
|
651
713
|
label?: string | undefined;
|
|
714
|
+
defaultValue?: boolean | undefined;
|
|
652
715
|
description?: string | undefined;
|
|
653
716
|
} | {
|
|
654
717
|
options: string[];
|
|
655
718
|
type: "string";
|
|
656
719
|
required: boolean;
|
|
657
720
|
control: "radio";
|
|
658
|
-
defaultValue?: string | undefined;
|
|
659
721
|
label?: string | undefined;
|
|
722
|
+
defaultValue?: string | undefined;
|
|
660
723
|
description?: string | undefined;
|
|
661
724
|
} | {
|
|
662
725
|
options: string[];
|
|
663
726
|
type: "string";
|
|
664
727
|
required: boolean;
|
|
665
728
|
control: "inline-radio";
|
|
666
|
-
defaultValue?: string | undefined;
|
|
667
729
|
label?: string | undefined;
|
|
730
|
+
defaultValue?: string | undefined;
|
|
668
731
|
description?: string | undefined;
|
|
669
732
|
} | {
|
|
670
733
|
options: string[];
|
|
671
734
|
type: "string";
|
|
672
735
|
required: boolean;
|
|
673
736
|
control: "select";
|
|
674
|
-
defaultValue?: string | undefined;
|
|
675
737
|
label?: string | undefined;
|
|
738
|
+
defaultValue?: string | undefined;
|
|
676
739
|
description?: string | undefined;
|
|
677
740
|
} | {
|
|
678
741
|
options: string[];
|
|
679
742
|
type: "string[]";
|
|
680
743
|
required: boolean;
|
|
681
744
|
control: "check";
|
|
682
|
-
defaultValue?: string[] | undefined;
|
|
683
745
|
label?: string | undefined;
|
|
746
|
+
defaultValue?: string[] | undefined;
|
|
684
747
|
description?: string | undefined;
|
|
685
748
|
} | {
|
|
686
749
|
options: string[];
|
|
687
750
|
type: "string[]";
|
|
688
751
|
required: boolean;
|
|
689
752
|
control: "inline-check";
|
|
690
|
-
defaultValue?: string[] | undefined;
|
|
691
753
|
label?: string | undefined;
|
|
754
|
+
defaultValue?: string[] | undefined;
|
|
692
755
|
description?: string | undefined;
|
|
693
756
|
} | {
|
|
694
757
|
options: string[];
|
|
695
758
|
type: "string[]";
|
|
696
759
|
required: boolean;
|
|
697
760
|
control: "multi-select";
|
|
698
|
-
defaultValue?: string[] | undefined;
|
|
699
761
|
label?: string | undefined;
|
|
762
|
+
defaultValue?: string[] | undefined;
|
|
700
763
|
description?: string | undefined;
|
|
701
764
|
} | {
|
|
702
765
|
type: "string";
|
|
703
766
|
required: boolean;
|
|
704
767
|
control: "file";
|
|
705
|
-
defaultValue?: string | undefined;
|
|
706
|
-
accept?: string | undefined;
|
|
707
768
|
label?: string | undefined;
|
|
769
|
+
defaultValue?: string | undefined;
|
|
708
770
|
description?: string | undefined;
|
|
771
|
+
accept?: string | undefined;
|
|
709
772
|
} | {
|
|
710
773
|
type: "string";
|
|
711
774
|
required: boolean;
|
|
712
775
|
control: "url";
|
|
713
|
-
defaultValue?: string | undefined;
|
|
714
776
|
label?: string | undefined;
|
|
777
|
+
defaultValue?: string | undefined;
|
|
715
778
|
description?: string | undefined;
|
|
716
779
|
} | {
|
|
717
780
|
type: "json";
|
|
718
781
|
required: boolean;
|
|
719
782
|
control: "json";
|
|
720
|
-
defaultValue?: unknown;
|
|
721
783
|
label?: string | undefined;
|
|
784
|
+
defaultValue?: unknown;
|
|
722
785
|
description?: string | undefined;
|
|
723
786
|
} | {
|
|
724
787
|
type: "string";
|
|
725
788
|
required: boolean;
|
|
726
789
|
control: "date";
|
|
727
|
-
defaultValue?: string | undefined;
|
|
728
790
|
label?: string | undefined;
|
|
791
|
+
defaultValue?: string | undefined;
|
|
729
792
|
description?: string | undefined;
|
|
730
793
|
} | {
|
|
731
794
|
type: "action";
|
|
732
795
|
required: boolean;
|
|
733
796
|
control: "action";
|
|
734
|
-
defaultValue?: undefined;
|
|
735
797
|
label?: string | undefined;
|
|
798
|
+
defaultValue?: undefined;
|
|
736
799
|
description?: string | undefined;
|
|
737
800
|
} | {
|
|
738
801
|
type: "string";
|
|
739
802
|
required: boolean;
|
|
740
803
|
control: "textContent";
|
|
804
|
+
label?: string | undefined;
|
|
741
805
|
defaultValue?: string | undefined;
|
|
806
|
+
description?: string | undefined;
|
|
807
|
+
} | {
|
|
808
|
+
type: "animationAction";
|
|
809
|
+
required: boolean;
|
|
810
|
+
control: "animationAction";
|
|
742
811
|
label?: string | undefined;
|
|
812
|
+
defaultValue?: undefined;
|
|
743
813
|
description?: string | undefined;
|
|
744
814
|
}>;
|
|
745
815
|
initialProps?: string[] | undefined;
|