@webstudio-is/sdk 0.0.0-c1d6247 → 0.0.0-ca00e2a
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 +40 -36
- package/lib/index.js +788 -378
- package/lib/runtime.js +17 -1
- package/lib/types/__generated__/normalize.css.d.ts +2 -2
- package/lib/types/core-metas.d.ts +371 -89
- package/lib/types/css.d.ts +31 -0
- package/lib/types/css.test.d.ts +1 -0
- package/lib/types/expression.d.ts +7 -5
- package/lib/types/index.d.ts +3 -1
- package/lib/types/instances-utils.d.ts +3 -0
- package/lib/types/runtime.d.ts +5 -0
- package/lib/types/schema/animation-schema.d.ts +53844 -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 +11162 -995
- package/lib/types/schema/data-sources.d.ts +18 -18
- package/lib/types/schema/deployment.d.ts +4 -4
- package/lib/types/schema/instances.d.ts +14 -217
- package/lib/types/schema/pages.d.ts +147 -146
- package/lib/types/schema/prop-meta.d.ts +105 -39
- package/lib/types/schema/props.d.ts +36858 -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 +23143 -783
- package/package.json +10 -9
- package/lib/types/schema/embed-template.d.ts +0 -2250
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { WsComponentMeta } from "./schema/component-meta";
|
|
2
|
+
import type { Instance } from "./schema/instances";
|
|
2
3
|
export declare const rootComponent = "ws:root";
|
|
4
|
+
export declare const elementComponent = "ws:element";
|
|
3
5
|
export declare const portalComponent = "Slot";
|
|
4
6
|
export declare const collectionComponent = "ws:collection";
|
|
5
7
|
export declare const descendantComponent = "ws:descendant";
|
|
@@ -8,6 +10,7 @@ export declare const blockTemplateComponent = "ws:block-template";
|
|
|
8
10
|
export declare const blockTemplateMeta: WsComponentMeta;
|
|
9
11
|
export declare const coreMetas: {
|
|
10
12
|
"ws:root": WsComponentMeta;
|
|
13
|
+
"ws:element": WsComponentMeta;
|
|
11
14
|
"ws:collection": WsComponentMeta;
|
|
12
15
|
"ws:descendant": WsComponentMeta;
|
|
13
16
|
"ws:block": WsComponentMeta;
|
|
@@ -16,733 +19,1012 @@ export declare const coreMetas: {
|
|
|
16
19
|
export declare const corePropsMetas: {
|
|
17
20
|
"ws:root": {
|
|
18
21
|
props: Record<string, {
|
|
22
|
+
options: string[];
|
|
23
|
+
type: "string";
|
|
24
|
+
required: boolean;
|
|
25
|
+
control: "tag";
|
|
26
|
+
label?: string | undefined;
|
|
27
|
+
defaultValue?: undefined;
|
|
28
|
+
description?: string | undefined;
|
|
29
|
+
} | {
|
|
19
30
|
type: "number";
|
|
20
31
|
required: boolean;
|
|
21
32
|
control: "number";
|
|
22
|
-
defaultValue?: number | undefined;
|
|
23
33
|
label?: string | undefined;
|
|
34
|
+
defaultValue?: number | undefined;
|
|
24
35
|
description?: string | undefined;
|
|
25
36
|
} | {
|
|
26
37
|
type: "number";
|
|
27
38
|
required: boolean;
|
|
28
39
|
control: "range";
|
|
29
|
-
defaultValue?: number | undefined;
|
|
30
40
|
label?: string | undefined;
|
|
41
|
+
defaultValue?: number | undefined;
|
|
31
42
|
description?: string | undefined;
|
|
32
43
|
} | {
|
|
33
44
|
type: "string";
|
|
34
45
|
required: boolean;
|
|
35
46
|
control: "text";
|
|
47
|
+
label?: string | undefined;
|
|
36
48
|
defaultValue?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
37
50
|
rows?: number | undefined;
|
|
51
|
+
} | {
|
|
52
|
+
type: "resource";
|
|
53
|
+
required: boolean;
|
|
54
|
+
control: "resource";
|
|
38
55
|
label?: string | undefined;
|
|
56
|
+
defaultValue?: string | undefined;
|
|
39
57
|
description?: string | undefined;
|
|
40
58
|
} | {
|
|
41
59
|
type: "string";
|
|
42
60
|
required: boolean;
|
|
43
61
|
control: "code";
|
|
44
62
|
language: "html" | "markdown";
|
|
45
|
-
defaultValue?: string | undefined;
|
|
46
63
|
label?: string | undefined;
|
|
64
|
+
defaultValue?: string | undefined;
|
|
47
65
|
description?: string | undefined;
|
|
48
66
|
} | {
|
|
49
67
|
type: "string";
|
|
50
68
|
required: boolean;
|
|
51
69
|
control: "codetext";
|
|
52
|
-
defaultValue?: string | undefined;
|
|
53
70
|
label?: string | undefined;
|
|
71
|
+
defaultValue?: string | undefined;
|
|
54
72
|
description?: string | undefined;
|
|
55
73
|
} | {
|
|
56
74
|
type: "string";
|
|
57
75
|
required: boolean;
|
|
58
76
|
control: "color";
|
|
59
|
-
defaultValue?: string | undefined;
|
|
60
77
|
label?: string | undefined;
|
|
78
|
+
defaultValue?: string | undefined;
|
|
61
79
|
description?: string | undefined;
|
|
62
80
|
} | {
|
|
63
81
|
type: "boolean";
|
|
64
82
|
required: boolean;
|
|
65
83
|
control: "boolean";
|
|
66
|
-
defaultValue?: boolean | undefined;
|
|
67
84
|
label?: string | undefined;
|
|
85
|
+
defaultValue?: boolean | undefined;
|
|
68
86
|
description?: string | undefined;
|
|
69
87
|
} | {
|
|
70
88
|
options: string[];
|
|
71
89
|
type: "string";
|
|
72
90
|
required: boolean;
|
|
73
91
|
control: "radio";
|
|
74
|
-
defaultValue?: string | undefined;
|
|
75
92
|
label?: string | undefined;
|
|
93
|
+
defaultValue?: string | undefined;
|
|
76
94
|
description?: string | undefined;
|
|
77
95
|
} | {
|
|
78
96
|
options: string[];
|
|
79
97
|
type: "string";
|
|
80
98
|
required: boolean;
|
|
81
99
|
control: "inline-radio";
|
|
82
|
-
defaultValue?: string | undefined;
|
|
83
100
|
label?: string | undefined;
|
|
101
|
+
defaultValue?: string | undefined;
|
|
84
102
|
description?: string | undefined;
|
|
85
103
|
} | {
|
|
86
104
|
options: string[];
|
|
87
105
|
type: "string";
|
|
88
106
|
required: boolean;
|
|
89
107
|
control: "select";
|
|
90
|
-
defaultValue?: string | undefined;
|
|
91
108
|
label?: string | undefined;
|
|
109
|
+
defaultValue?: string | undefined;
|
|
92
110
|
description?: string | undefined;
|
|
93
111
|
} | {
|
|
94
112
|
options: string[];
|
|
95
113
|
type: "string[]";
|
|
96
114
|
required: boolean;
|
|
97
115
|
control: "check";
|
|
98
|
-
defaultValue?: string[] | undefined;
|
|
99
116
|
label?: string | undefined;
|
|
117
|
+
defaultValue?: string[] | undefined;
|
|
100
118
|
description?: string | undefined;
|
|
101
119
|
} | {
|
|
102
120
|
options: string[];
|
|
103
121
|
type: "string[]";
|
|
104
122
|
required: boolean;
|
|
105
123
|
control: "inline-check";
|
|
106
|
-
defaultValue?: string[] | undefined;
|
|
107
124
|
label?: string | undefined;
|
|
125
|
+
defaultValue?: string[] | undefined;
|
|
108
126
|
description?: string | undefined;
|
|
109
127
|
} | {
|
|
110
128
|
options: string[];
|
|
111
129
|
type: "string[]";
|
|
112
130
|
required: boolean;
|
|
113
131
|
control: "multi-select";
|
|
114
|
-
defaultValue?: string[] | undefined;
|
|
115
132
|
label?: string | undefined;
|
|
133
|
+
defaultValue?: string[] | undefined;
|
|
116
134
|
description?: string | undefined;
|
|
117
135
|
} | {
|
|
118
136
|
type: "string";
|
|
119
137
|
required: boolean;
|
|
120
138
|
control: "file";
|
|
139
|
+
label?: string | undefined;
|
|
121
140
|
defaultValue?: string | undefined;
|
|
141
|
+
description?: string | undefined;
|
|
122
142
|
accept?: string | undefined;
|
|
143
|
+
} | {
|
|
144
|
+
type: "string";
|
|
145
|
+
required: boolean;
|
|
146
|
+
control: "url";
|
|
123
147
|
label?: string | undefined;
|
|
148
|
+
defaultValue?: string | undefined;
|
|
149
|
+
description?: string | undefined;
|
|
150
|
+
} | {
|
|
151
|
+
type: "json";
|
|
152
|
+
required: boolean;
|
|
153
|
+
control: "json";
|
|
154
|
+
label?: string | undefined;
|
|
155
|
+
defaultValue?: unknown;
|
|
124
156
|
description?: string | undefined;
|
|
125
157
|
} | {
|
|
126
158
|
type: "string";
|
|
127
159
|
required: boolean;
|
|
128
|
-
control: "
|
|
160
|
+
control: "date";
|
|
161
|
+
label?: string | undefined;
|
|
162
|
+
defaultValue?: string | undefined;
|
|
163
|
+
description?: string | undefined;
|
|
164
|
+
} | {
|
|
165
|
+
type: "action";
|
|
166
|
+
required: boolean;
|
|
167
|
+
control: "action";
|
|
168
|
+
label?: string | undefined;
|
|
169
|
+
defaultValue?: undefined;
|
|
170
|
+
description?: string | undefined;
|
|
171
|
+
} | {
|
|
172
|
+
type: "string";
|
|
173
|
+
required: boolean;
|
|
174
|
+
control: "textContent";
|
|
175
|
+
label?: string | undefined;
|
|
176
|
+
defaultValue?: string | undefined;
|
|
177
|
+
description?: string | undefined;
|
|
178
|
+
} | {
|
|
179
|
+
type: "animationAction";
|
|
180
|
+
required: boolean;
|
|
181
|
+
control: "animationAction";
|
|
182
|
+
label?: string | undefined;
|
|
183
|
+
defaultValue?: undefined;
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
initialProps?: string[] | undefined;
|
|
187
|
+
};
|
|
188
|
+
"ws:element": {
|
|
189
|
+
props: Record<string, {
|
|
190
|
+
options: string[];
|
|
191
|
+
type: "string";
|
|
192
|
+
required: boolean;
|
|
193
|
+
control: "tag";
|
|
194
|
+
label?: string | undefined;
|
|
195
|
+
defaultValue?: undefined;
|
|
196
|
+
description?: string | undefined;
|
|
197
|
+
} | {
|
|
198
|
+
type: "number";
|
|
199
|
+
required: boolean;
|
|
200
|
+
control: "number";
|
|
201
|
+
label?: string | undefined;
|
|
202
|
+
defaultValue?: number | undefined;
|
|
203
|
+
description?: string | undefined;
|
|
204
|
+
} | {
|
|
205
|
+
type: "number";
|
|
206
|
+
required: boolean;
|
|
207
|
+
control: "range";
|
|
208
|
+
label?: string | undefined;
|
|
209
|
+
defaultValue?: number | undefined;
|
|
210
|
+
description?: string | undefined;
|
|
211
|
+
} | {
|
|
212
|
+
type: "string";
|
|
213
|
+
required: boolean;
|
|
214
|
+
control: "text";
|
|
215
|
+
label?: string | undefined;
|
|
216
|
+
defaultValue?: string | undefined;
|
|
217
|
+
description?: string | undefined;
|
|
218
|
+
rows?: number | undefined;
|
|
219
|
+
} | {
|
|
220
|
+
type: "resource";
|
|
221
|
+
required: boolean;
|
|
222
|
+
control: "resource";
|
|
223
|
+
label?: string | undefined;
|
|
224
|
+
defaultValue?: string | undefined;
|
|
225
|
+
description?: string | undefined;
|
|
226
|
+
} | {
|
|
227
|
+
type: "string";
|
|
228
|
+
required: boolean;
|
|
229
|
+
control: "code";
|
|
230
|
+
language: "html" | "markdown";
|
|
231
|
+
label?: string | undefined;
|
|
232
|
+
defaultValue?: string | undefined;
|
|
233
|
+
description?: string | undefined;
|
|
234
|
+
} | {
|
|
235
|
+
type: "string";
|
|
236
|
+
required: boolean;
|
|
237
|
+
control: "codetext";
|
|
238
|
+
label?: string | undefined;
|
|
239
|
+
defaultValue?: string | undefined;
|
|
240
|
+
description?: string | undefined;
|
|
241
|
+
} | {
|
|
242
|
+
type: "string";
|
|
243
|
+
required: boolean;
|
|
244
|
+
control: "color";
|
|
245
|
+
label?: string | undefined;
|
|
246
|
+
defaultValue?: string | undefined;
|
|
247
|
+
description?: string | undefined;
|
|
248
|
+
} | {
|
|
249
|
+
type: "boolean";
|
|
250
|
+
required: boolean;
|
|
251
|
+
control: "boolean";
|
|
252
|
+
label?: string | undefined;
|
|
253
|
+
defaultValue?: boolean | undefined;
|
|
254
|
+
description?: string | undefined;
|
|
255
|
+
} | {
|
|
256
|
+
options: string[];
|
|
257
|
+
type: "string";
|
|
258
|
+
required: boolean;
|
|
259
|
+
control: "radio";
|
|
260
|
+
label?: string | undefined;
|
|
261
|
+
defaultValue?: string | undefined;
|
|
262
|
+
description?: string | undefined;
|
|
263
|
+
} | {
|
|
264
|
+
options: string[];
|
|
265
|
+
type: "string";
|
|
266
|
+
required: boolean;
|
|
267
|
+
control: "inline-radio";
|
|
268
|
+
label?: string | undefined;
|
|
269
|
+
defaultValue?: string | undefined;
|
|
270
|
+
description?: string | undefined;
|
|
271
|
+
} | {
|
|
272
|
+
options: string[];
|
|
273
|
+
type: "string";
|
|
274
|
+
required: boolean;
|
|
275
|
+
control: "select";
|
|
276
|
+
label?: string | undefined;
|
|
129
277
|
defaultValue?: string | undefined;
|
|
278
|
+
description?: string | undefined;
|
|
279
|
+
} | {
|
|
280
|
+
options: string[];
|
|
281
|
+
type: "string[]";
|
|
282
|
+
required: boolean;
|
|
283
|
+
control: "check";
|
|
130
284
|
label?: string | undefined;
|
|
285
|
+
defaultValue?: string[] | undefined;
|
|
286
|
+
description?: string | undefined;
|
|
287
|
+
} | {
|
|
288
|
+
options: string[];
|
|
289
|
+
type: "string[]";
|
|
290
|
+
required: boolean;
|
|
291
|
+
control: "inline-check";
|
|
292
|
+
label?: string | undefined;
|
|
293
|
+
defaultValue?: string[] | undefined;
|
|
294
|
+
description?: string | undefined;
|
|
295
|
+
} | {
|
|
296
|
+
options: string[];
|
|
297
|
+
type: "string[]";
|
|
298
|
+
required: boolean;
|
|
299
|
+
control: "multi-select";
|
|
300
|
+
label?: string | undefined;
|
|
301
|
+
defaultValue?: string[] | undefined;
|
|
302
|
+
description?: string | undefined;
|
|
303
|
+
} | {
|
|
304
|
+
type: "string";
|
|
305
|
+
required: boolean;
|
|
306
|
+
control: "file";
|
|
307
|
+
label?: string | undefined;
|
|
308
|
+
defaultValue?: string | undefined;
|
|
309
|
+
description?: string | undefined;
|
|
310
|
+
accept?: string | undefined;
|
|
311
|
+
} | {
|
|
312
|
+
type: "string";
|
|
313
|
+
required: boolean;
|
|
314
|
+
control: "url";
|
|
315
|
+
label?: string | undefined;
|
|
316
|
+
defaultValue?: string | undefined;
|
|
131
317
|
description?: string | undefined;
|
|
132
318
|
} | {
|
|
133
319
|
type: "json";
|
|
134
320
|
required: boolean;
|
|
135
321
|
control: "json";
|
|
136
|
-
defaultValue?: unknown;
|
|
137
322
|
label?: string | undefined;
|
|
323
|
+
defaultValue?: unknown;
|
|
138
324
|
description?: string | undefined;
|
|
139
325
|
} | {
|
|
140
326
|
type: "string";
|
|
141
327
|
required: boolean;
|
|
142
328
|
control: "date";
|
|
143
|
-
defaultValue?: string | undefined;
|
|
144
329
|
label?: string | undefined;
|
|
330
|
+
defaultValue?: string | undefined;
|
|
145
331
|
description?: string | undefined;
|
|
146
332
|
} | {
|
|
147
333
|
type: "action";
|
|
148
334
|
required: boolean;
|
|
149
335
|
control: "action";
|
|
150
|
-
defaultValue?: undefined;
|
|
151
336
|
label?: string | undefined;
|
|
337
|
+
defaultValue?: undefined;
|
|
152
338
|
description?: string | undefined;
|
|
153
339
|
} | {
|
|
154
340
|
type: "string";
|
|
155
341
|
required: boolean;
|
|
156
342
|
control: "textContent";
|
|
343
|
+
label?: string | undefined;
|
|
157
344
|
defaultValue?: string | undefined;
|
|
345
|
+
description?: string | undefined;
|
|
346
|
+
} | {
|
|
347
|
+
type: "animationAction";
|
|
348
|
+
required: boolean;
|
|
349
|
+
control: "animationAction";
|
|
158
350
|
label?: string | undefined;
|
|
351
|
+
defaultValue?: undefined;
|
|
159
352
|
description?: string | undefined;
|
|
160
353
|
}>;
|
|
161
354
|
initialProps?: string[] | undefined;
|
|
162
355
|
};
|
|
163
356
|
"ws:collection": {
|
|
164
357
|
props: Record<string, {
|
|
358
|
+
options: string[];
|
|
359
|
+
type: "string";
|
|
360
|
+
required: boolean;
|
|
361
|
+
control: "tag";
|
|
362
|
+
label?: string | undefined;
|
|
363
|
+
defaultValue?: undefined;
|
|
364
|
+
description?: string | undefined;
|
|
365
|
+
} | {
|
|
165
366
|
type: "number";
|
|
166
367
|
required: boolean;
|
|
167
368
|
control: "number";
|
|
168
|
-
defaultValue?: number | undefined;
|
|
169
369
|
label?: string | undefined;
|
|
370
|
+
defaultValue?: number | undefined;
|
|
170
371
|
description?: string | undefined;
|
|
171
372
|
} | {
|
|
172
373
|
type: "number";
|
|
173
374
|
required: boolean;
|
|
174
375
|
control: "range";
|
|
175
|
-
defaultValue?: number | undefined;
|
|
176
376
|
label?: string | undefined;
|
|
377
|
+
defaultValue?: number | undefined;
|
|
177
378
|
description?: string | undefined;
|
|
178
379
|
} | {
|
|
179
380
|
type: "string";
|
|
180
381
|
required: boolean;
|
|
181
382
|
control: "text";
|
|
383
|
+
label?: string | undefined;
|
|
182
384
|
defaultValue?: string | undefined;
|
|
385
|
+
description?: string | undefined;
|
|
183
386
|
rows?: number | undefined;
|
|
387
|
+
} | {
|
|
388
|
+
type: "resource";
|
|
389
|
+
required: boolean;
|
|
390
|
+
control: "resource";
|
|
184
391
|
label?: string | undefined;
|
|
392
|
+
defaultValue?: string | undefined;
|
|
185
393
|
description?: string | undefined;
|
|
186
394
|
} | {
|
|
187
395
|
type: "string";
|
|
188
396
|
required: boolean;
|
|
189
397
|
control: "code";
|
|
190
398
|
language: "html" | "markdown";
|
|
191
|
-
defaultValue?: string | undefined;
|
|
192
399
|
label?: string | undefined;
|
|
400
|
+
defaultValue?: string | undefined;
|
|
193
401
|
description?: string | undefined;
|
|
194
402
|
} | {
|
|
195
403
|
type: "string";
|
|
196
404
|
required: boolean;
|
|
197
405
|
control: "codetext";
|
|
198
|
-
defaultValue?: string | undefined;
|
|
199
406
|
label?: string | undefined;
|
|
407
|
+
defaultValue?: string | undefined;
|
|
200
408
|
description?: string | undefined;
|
|
201
409
|
} | {
|
|
202
410
|
type: "string";
|
|
203
411
|
required: boolean;
|
|
204
412
|
control: "color";
|
|
205
|
-
defaultValue?: string | undefined;
|
|
206
413
|
label?: string | undefined;
|
|
414
|
+
defaultValue?: string | undefined;
|
|
207
415
|
description?: string | undefined;
|
|
208
416
|
} | {
|
|
209
417
|
type: "boolean";
|
|
210
418
|
required: boolean;
|
|
211
419
|
control: "boolean";
|
|
212
|
-
defaultValue?: boolean | undefined;
|
|
213
420
|
label?: string | undefined;
|
|
421
|
+
defaultValue?: boolean | undefined;
|
|
214
422
|
description?: string | undefined;
|
|
215
423
|
} | {
|
|
216
424
|
options: string[];
|
|
217
425
|
type: "string";
|
|
218
426
|
required: boolean;
|
|
219
427
|
control: "radio";
|
|
220
|
-
defaultValue?: string | undefined;
|
|
221
428
|
label?: string | undefined;
|
|
429
|
+
defaultValue?: string | undefined;
|
|
222
430
|
description?: string | undefined;
|
|
223
431
|
} | {
|
|
224
432
|
options: string[];
|
|
225
433
|
type: "string";
|
|
226
434
|
required: boolean;
|
|
227
435
|
control: "inline-radio";
|
|
228
|
-
defaultValue?: string | undefined;
|
|
229
436
|
label?: string | undefined;
|
|
437
|
+
defaultValue?: string | undefined;
|
|
230
438
|
description?: string | undefined;
|
|
231
439
|
} | {
|
|
232
440
|
options: string[];
|
|
233
441
|
type: "string";
|
|
234
442
|
required: boolean;
|
|
235
443
|
control: "select";
|
|
236
|
-
defaultValue?: string | undefined;
|
|
237
444
|
label?: string | undefined;
|
|
445
|
+
defaultValue?: string | undefined;
|
|
238
446
|
description?: string | undefined;
|
|
239
447
|
} | {
|
|
240
448
|
options: string[];
|
|
241
449
|
type: "string[]";
|
|
242
450
|
required: boolean;
|
|
243
451
|
control: "check";
|
|
244
|
-
defaultValue?: string[] | undefined;
|
|
245
452
|
label?: string | undefined;
|
|
453
|
+
defaultValue?: string[] | undefined;
|
|
246
454
|
description?: string | undefined;
|
|
247
455
|
} | {
|
|
248
456
|
options: string[];
|
|
249
457
|
type: "string[]";
|
|
250
458
|
required: boolean;
|
|
251
459
|
control: "inline-check";
|
|
252
|
-
defaultValue?: string[] | undefined;
|
|
253
460
|
label?: string | undefined;
|
|
461
|
+
defaultValue?: string[] | undefined;
|
|
254
462
|
description?: string | undefined;
|
|
255
463
|
} | {
|
|
256
464
|
options: string[];
|
|
257
465
|
type: "string[]";
|
|
258
466
|
required: boolean;
|
|
259
467
|
control: "multi-select";
|
|
260
|
-
defaultValue?: string[] | undefined;
|
|
261
468
|
label?: string | undefined;
|
|
469
|
+
defaultValue?: string[] | undefined;
|
|
262
470
|
description?: string | undefined;
|
|
263
471
|
} | {
|
|
264
472
|
type: "string";
|
|
265
473
|
required: boolean;
|
|
266
474
|
control: "file";
|
|
267
|
-
defaultValue?: string | undefined;
|
|
268
|
-
accept?: string | undefined;
|
|
269
475
|
label?: string | undefined;
|
|
476
|
+
defaultValue?: string | undefined;
|
|
270
477
|
description?: string | undefined;
|
|
478
|
+
accept?: string | undefined;
|
|
271
479
|
} | {
|
|
272
480
|
type: "string";
|
|
273
481
|
required: boolean;
|
|
274
482
|
control: "url";
|
|
275
|
-
defaultValue?: string | undefined;
|
|
276
483
|
label?: string | undefined;
|
|
484
|
+
defaultValue?: string | undefined;
|
|
277
485
|
description?: string | undefined;
|
|
278
486
|
} | {
|
|
279
487
|
type: "json";
|
|
280
488
|
required: boolean;
|
|
281
489
|
control: "json";
|
|
282
|
-
defaultValue?: unknown;
|
|
283
490
|
label?: string | undefined;
|
|
491
|
+
defaultValue?: unknown;
|
|
284
492
|
description?: string | undefined;
|
|
285
493
|
} | {
|
|
286
494
|
type: "string";
|
|
287
495
|
required: boolean;
|
|
288
496
|
control: "date";
|
|
289
|
-
defaultValue?: string | undefined;
|
|
290
497
|
label?: string | undefined;
|
|
498
|
+
defaultValue?: string | undefined;
|
|
291
499
|
description?: string | undefined;
|
|
292
500
|
} | {
|
|
293
501
|
type: "action";
|
|
294
502
|
required: boolean;
|
|
295
503
|
control: "action";
|
|
296
|
-
defaultValue?: undefined;
|
|
297
504
|
label?: string | undefined;
|
|
505
|
+
defaultValue?: undefined;
|
|
298
506
|
description?: string | undefined;
|
|
299
507
|
} | {
|
|
300
508
|
type: "string";
|
|
301
509
|
required: boolean;
|
|
302
510
|
control: "textContent";
|
|
511
|
+
label?: string | undefined;
|
|
303
512
|
defaultValue?: string | undefined;
|
|
513
|
+
description?: string | undefined;
|
|
514
|
+
} | {
|
|
515
|
+
type: "animationAction";
|
|
516
|
+
required: boolean;
|
|
517
|
+
control: "animationAction";
|
|
304
518
|
label?: string | undefined;
|
|
519
|
+
defaultValue?: undefined;
|
|
305
520
|
description?: string | undefined;
|
|
306
521
|
}>;
|
|
307
522
|
initialProps?: string[] | undefined;
|
|
308
523
|
};
|
|
309
524
|
"ws:descendant": {
|
|
310
525
|
props: Record<string, {
|
|
526
|
+
options: string[];
|
|
527
|
+
type: "string";
|
|
528
|
+
required: boolean;
|
|
529
|
+
control: "tag";
|
|
530
|
+
label?: string | undefined;
|
|
531
|
+
defaultValue?: undefined;
|
|
532
|
+
description?: string | undefined;
|
|
533
|
+
} | {
|
|
311
534
|
type: "number";
|
|
312
535
|
required: boolean;
|
|
313
536
|
control: "number";
|
|
314
|
-
defaultValue?: number | undefined;
|
|
315
537
|
label?: string | undefined;
|
|
538
|
+
defaultValue?: number | undefined;
|
|
316
539
|
description?: string | undefined;
|
|
317
540
|
} | {
|
|
318
541
|
type: "number";
|
|
319
542
|
required: boolean;
|
|
320
543
|
control: "range";
|
|
321
|
-
defaultValue?: number | undefined;
|
|
322
544
|
label?: string | undefined;
|
|
545
|
+
defaultValue?: number | undefined;
|
|
323
546
|
description?: string | undefined;
|
|
324
547
|
} | {
|
|
325
548
|
type: "string";
|
|
326
549
|
required: boolean;
|
|
327
550
|
control: "text";
|
|
551
|
+
label?: string | undefined;
|
|
328
552
|
defaultValue?: string | undefined;
|
|
553
|
+
description?: string | undefined;
|
|
329
554
|
rows?: number | undefined;
|
|
555
|
+
} | {
|
|
556
|
+
type: "resource";
|
|
557
|
+
required: boolean;
|
|
558
|
+
control: "resource";
|
|
330
559
|
label?: string | undefined;
|
|
560
|
+
defaultValue?: string | undefined;
|
|
331
561
|
description?: string | undefined;
|
|
332
562
|
} | {
|
|
333
563
|
type: "string";
|
|
334
564
|
required: boolean;
|
|
335
565
|
control: "code";
|
|
336
566
|
language: "html" | "markdown";
|
|
337
|
-
defaultValue?: string | undefined;
|
|
338
567
|
label?: string | undefined;
|
|
568
|
+
defaultValue?: string | undefined;
|
|
339
569
|
description?: string | undefined;
|
|
340
570
|
} | {
|
|
341
571
|
type: "string";
|
|
342
572
|
required: boolean;
|
|
343
573
|
control: "codetext";
|
|
344
|
-
defaultValue?: string | undefined;
|
|
345
574
|
label?: string | undefined;
|
|
575
|
+
defaultValue?: string | undefined;
|
|
346
576
|
description?: string | undefined;
|
|
347
577
|
} | {
|
|
348
578
|
type: "string";
|
|
349
579
|
required: boolean;
|
|
350
580
|
control: "color";
|
|
351
|
-
defaultValue?: string | undefined;
|
|
352
581
|
label?: string | undefined;
|
|
582
|
+
defaultValue?: string | undefined;
|
|
353
583
|
description?: string | undefined;
|
|
354
584
|
} | {
|
|
355
585
|
type: "boolean";
|
|
356
586
|
required: boolean;
|
|
357
587
|
control: "boolean";
|
|
358
|
-
defaultValue?: boolean | undefined;
|
|
359
588
|
label?: string | undefined;
|
|
589
|
+
defaultValue?: boolean | undefined;
|
|
360
590
|
description?: string | undefined;
|
|
361
591
|
} | {
|
|
362
592
|
options: string[];
|
|
363
593
|
type: "string";
|
|
364
594
|
required: boolean;
|
|
365
595
|
control: "radio";
|
|
366
|
-
defaultValue?: string | undefined;
|
|
367
596
|
label?: string | undefined;
|
|
597
|
+
defaultValue?: string | undefined;
|
|
368
598
|
description?: string | undefined;
|
|
369
599
|
} | {
|
|
370
600
|
options: string[];
|
|
371
601
|
type: "string";
|
|
372
602
|
required: boolean;
|
|
373
603
|
control: "inline-radio";
|
|
374
|
-
defaultValue?: string | undefined;
|
|
375
604
|
label?: string | undefined;
|
|
605
|
+
defaultValue?: string | undefined;
|
|
376
606
|
description?: string | undefined;
|
|
377
607
|
} | {
|
|
378
608
|
options: string[];
|
|
379
609
|
type: "string";
|
|
380
610
|
required: boolean;
|
|
381
611
|
control: "select";
|
|
382
|
-
defaultValue?: string | undefined;
|
|
383
612
|
label?: string | undefined;
|
|
613
|
+
defaultValue?: string | undefined;
|
|
384
614
|
description?: string | undefined;
|
|
385
615
|
} | {
|
|
386
616
|
options: string[];
|
|
387
617
|
type: "string[]";
|
|
388
618
|
required: boolean;
|
|
389
619
|
control: "check";
|
|
390
|
-
defaultValue?: string[] | undefined;
|
|
391
620
|
label?: string | undefined;
|
|
621
|
+
defaultValue?: string[] | undefined;
|
|
392
622
|
description?: string | undefined;
|
|
393
623
|
} | {
|
|
394
624
|
options: string[];
|
|
395
625
|
type: "string[]";
|
|
396
626
|
required: boolean;
|
|
397
627
|
control: "inline-check";
|
|
398
|
-
defaultValue?: string[] | undefined;
|
|
399
628
|
label?: string | undefined;
|
|
629
|
+
defaultValue?: string[] | undefined;
|
|
400
630
|
description?: string | undefined;
|
|
401
631
|
} | {
|
|
402
632
|
options: string[];
|
|
403
633
|
type: "string[]";
|
|
404
634
|
required: boolean;
|
|
405
635
|
control: "multi-select";
|
|
406
|
-
defaultValue?: string[] | undefined;
|
|
407
636
|
label?: string | undefined;
|
|
637
|
+
defaultValue?: string[] | undefined;
|
|
408
638
|
description?: string | undefined;
|
|
409
639
|
} | {
|
|
410
640
|
type: "string";
|
|
411
641
|
required: boolean;
|
|
412
642
|
control: "file";
|
|
413
|
-
defaultValue?: string | undefined;
|
|
414
|
-
accept?: string | undefined;
|
|
415
643
|
label?: string | undefined;
|
|
644
|
+
defaultValue?: string | undefined;
|
|
416
645
|
description?: string | undefined;
|
|
646
|
+
accept?: string | undefined;
|
|
417
647
|
} | {
|
|
418
648
|
type: "string";
|
|
419
649
|
required: boolean;
|
|
420
650
|
control: "url";
|
|
421
|
-
defaultValue?: string | undefined;
|
|
422
651
|
label?: string | undefined;
|
|
652
|
+
defaultValue?: string | undefined;
|
|
423
653
|
description?: string | undefined;
|
|
424
654
|
} | {
|
|
425
655
|
type: "json";
|
|
426
656
|
required: boolean;
|
|
427
657
|
control: "json";
|
|
428
|
-
defaultValue?: unknown;
|
|
429
658
|
label?: string | undefined;
|
|
659
|
+
defaultValue?: unknown;
|
|
430
660
|
description?: string | undefined;
|
|
431
661
|
} | {
|
|
432
662
|
type: "string";
|
|
433
663
|
required: boolean;
|
|
434
664
|
control: "date";
|
|
435
|
-
defaultValue?: string | undefined;
|
|
436
665
|
label?: string | undefined;
|
|
666
|
+
defaultValue?: string | undefined;
|
|
437
667
|
description?: string | undefined;
|
|
438
668
|
} | {
|
|
439
669
|
type: "action";
|
|
440
670
|
required: boolean;
|
|
441
671
|
control: "action";
|
|
442
|
-
defaultValue?: undefined;
|
|
443
672
|
label?: string | undefined;
|
|
673
|
+
defaultValue?: undefined;
|
|
444
674
|
description?: string | undefined;
|
|
445
675
|
} | {
|
|
446
676
|
type: "string";
|
|
447
677
|
required: boolean;
|
|
448
678
|
control: "textContent";
|
|
679
|
+
label?: string | undefined;
|
|
449
680
|
defaultValue?: string | undefined;
|
|
681
|
+
description?: string | undefined;
|
|
682
|
+
} | {
|
|
683
|
+
type: "animationAction";
|
|
684
|
+
required: boolean;
|
|
685
|
+
control: "animationAction";
|
|
450
686
|
label?: string | undefined;
|
|
687
|
+
defaultValue?: undefined;
|
|
451
688
|
description?: string | undefined;
|
|
452
689
|
}>;
|
|
453
690
|
initialProps?: string[] | undefined;
|
|
454
691
|
};
|
|
455
692
|
"ws:block": {
|
|
456
693
|
props: Record<string, {
|
|
694
|
+
options: string[];
|
|
695
|
+
type: "string";
|
|
696
|
+
required: boolean;
|
|
697
|
+
control: "tag";
|
|
698
|
+
label?: string | undefined;
|
|
699
|
+
defaultValue?: undefined;
|
|
700
|
+
description?: string | undefined;
|
|
701
|
+
} | {
|
|
457
702
|
type: "number";
|
|
458
703
|
required: boolean;
|
|
459
704
|
control: "number";
|
|
460
|
-
defaultValue?: number | undefined;
|
|
461
705
|
label?: string | undefined;
|
|
706
|
+
defaultValue?: number | undefined;
|
|
462
707
|
description?: string | undefined;
|
|
463
708
|
} | {
|
|
464
709
|
type: "number";
|
|
465
710
|
required: boolean;
|
|
466
711
|
control: "range";
|
|
467
|
-
defaultValue?: number | undefined;
|
|
468
712
|
label?: string | undefined;
|
|
713
|
+
defaultValue?: number | undefined;
|
|
469
714
|
description?: string | undefined;
|
|
470
715
|
} | {
|
|
471
716
|
type: "string";
|
|
472
717
|
required: boolean;
|
|
473
718
|
control: "text";
|
|
719
|
+
label?: string | undefined;
|
|
474
720
|
defaultValue?: string | undefined;
|
|
721
|
+
description?: string | undefined;
|
|
475
722
|
rows?: number | undefined;
|
|
723
|
+
} | {
|
|
724
|
+
type: "resource";
|
|
725
|
+
required: boolean;
|
|
726
|
+
control: "resource";
|
|
476
727
|
label?: string | undefined;
|
|
728
|
+
defaultValue?: string | undefined;
|
|
477
729
|
description?: string | undefined;
|
|
478
730
|
} | {
|
|
479
731
|
type: "string";
|
|
480
732
|
required: boolean;
|
|
481
733
|
control: "code";
|
|
482
734
|
language: "html" | "markdown";
|
|
483
|
-
defaultValue?: string | undefined;
|
|
484
735
|
label?: string | undefined;
|
|
736
|
+
defaultValue?: string | undefined;
|
|
485
737
|
description?: string | undefined;
|
|
486
738
|
} | {
|
|
487
739
|
type: "string";
|
|
488
740
|
required: boolean;
|
|
489
741
|
control: "codetext";
|
|
490
|
-
defaultValue?: string | undefined;
|
|
491
742
|
label?: string | undefined;
|
|
743
|
+
defaultValue?: string | undefined;
|
|
492
744
|
description?: string | undefined;
|
|
493
745
|
} | {
|
|
494
746
|
type: "string";
|
|
495
747
|
required: boolean;
|
|
496
748
|
control: "color";
|
|
497
|
-
defaultValue?: string | undefined;
|
|
498
749
|
label?: string | undefined;
|
|
750
|
+
defaultValue?: string | undefined;
|
|
499
751
|
description?: string | undefined;
|
|
500
752
|
} | {
|
|
501
753
|
type: "boolean";
|
|
502
754
|
required: boolean;
|
|
503
755
|
control: "boolean";
|
|
504
|
-
defaultValue?: boolean | undefined;
|
|
505
756
|
label?: string | undefined;
|
|
757
|
+
defaultValue?: boolean | undefined;
|
|
506
758
|
description?: string | undefined;
|
|
507
759
|
} | {
|
|
508
760
|
options: string[];
|
|
509
761
|
type: "string";
|
|
510
762
|
required: boolean;
|
|
511
763
|
control: "radio";
|
|
512
|
-
defaultValue?: string | undefined;
|
|
513
764
|
label?: string | undefined;
|
|
765
|
+
defaultValue?: string | undefined;
|
|
514
766
|
description?: string | undefined;
|
|
515
767
|
} | {
|
|
516
768
|
options: string[];
|
|
517
769
|
type: "string";
|
|
518
770
|
required: boolean;
|
|
519
771
|
control: "inline-radio";
|
|
520
|
-
defaultValue?: string | undefined;
|
|
521
772
|
label?: string | undefined;
|
|
773
|
+
defaultValue?: string | undefined;
|
|
522
774
|
description?: string | undefined;
|
|
523
775
|
} | {
|
|
524
776
|
options: string[];
|
|
525
777
|
type: "string";
|
|
526
778
|
required: boolean;
|
|
527
779
|
control: "select";
|
|
528
|
-
defaultValue?: string | undefined;
|
|
529
780
|
label?: string | undefined;
|
|
781
|
+
defaultValue?: string | undefined;
|
|
530
782
|
description?: string | undefined;
|
|
531
783
|
} | {
|
|
532
784
|
options: string[];
|
|
533
785
|
type: "string[]";
|
|
534
786
|
required: boolean;
|
|
535
787
|
control: "check";
|
|
536
|
-
defaultValue?: string[] | undefined;
|
|
537
788
|
label?: string | undefined;
|
|
789
|
+
defaultValue?: string[] | undefined;
|
|
538
790
|
description?: string | undefined;
|
|
539
791
|
} | {
|
|
540
792
|
options: string[];
|
|
541
793
|
type: "string[]";
|
|
542
794
|
required: boolean;
|
|
543
795
|
control: "inline-check";
|
|
544
|
-
defaultValue?: string[] | undefined;
|
|
545
796
|
label?: string | undefined;
|
|
797
|
+
defaultValue?: string[] | undefined;
|
|
546
798
|
description?: string | undefined;
|
|
547
799
|
} | {
|
|
548
800
|
options: string[];
|
|
549
801
|
type: "string[]";
|
|
550
802
|
required: boolean;
|
|
551
803
|
control: "multi-select";
|
|
552
|
-
defaultValue?: string[] | undefined;
|
|
553
804
|
label?: string | undefined;
|
|
805
|
+
defaultValue?: string[] | undefined;
|
|
554
806
|
description?: string | undefined;
|
|
555
807
|
} | {
|
|
556
808
|
type: "string";
|
|
557
809
|
required: boolean;
|
|
558
810
|
control: "file";
|
|
559
|
-
defaultValue?: string | undefined;
|
|
560
|
-
accept?: string | undefined;
|
|
561
811
|
label?: string | undefined;
|
|
812
|
+
defaultValue?: string | undefined;
|
|
562
813
|
description?: string | undefined;
|
|
814
|
+
accept?: string | undefined;
|
|
563
815
|
} | {
|
|
564
816
|
type: "string";
|
|
565
817
|
required: boolean;
|
|
566
818
|
control: "url";
|
|
567
|
-
defaultValue?: string | undefined;
|
|
568
819
|
label?: string | undefined;
|
|
820
|
+
defaultValue?: string | undefined;
|
|
569
821
|
description?: string | undefined;
|
|
570
822
|
} | {
|
|
571
823
|
type: "json";
|
|
572
824
|
required: boolean;
|
|
573
825
|
control: "json";
|
|
574
|
-
defaultValue?: unknown;
|
|
575
826
|
label?: string | undefined;
|
|
827
|
+
defaultValue?: unknown;
|
|
576
828
|
description?: string | undefined;
|
|
577
829
|
} | {
|
|
578
830
|
type: "string";
|
|
579
831
|
required: boolean;
|
|
580
832
|
control: "date";
|
|
581
|
-
defaultValue?: string | undefined;
|
|
582
833
|
label?: string | undefined;
|
|
834
|
+
defaultValue?: string | undefined;
|
|
583
835
|
description?: string | undefined;
|
|
584
836
|
} | {
|
|
585
837
|
type: "action";
|
|
586
838
|
required: boolean;
|
|
587
839
|
control: "action";
|
|
588
|
-
defaultValue?: undefined;
|
|
589
840
|
label?: string | undefined;
|
|
841
|
+
defaultValue?: undefined;
|
|
590
842
|
description?: string | undefined;
|
|
591
843
|
} | {
|
|
592
844
|
type: "string";
|
|
593
845
|
required: boolean;
|
|
594
846
|
control: "textContent";
|
|
847
|
+
label?: string | undefined;
|
|
595
848
|
defaultValue?: string | undefined;
|
|
849
|
+
description?: string | undefined;
|
|
850
|
+
} | {
|
|
851
|
+
type: "animationAction";
|
|
852
|
+
required: boolean;
|
|
853
|
+
control: "animationAction";
|
|
596
854
|
label?: string | undefined;
|
|
855
|
+
defaultValue?: undefined;
|
|
597
856
|
description?: string | undefined;
|
|
598
857
|
}>;
|
|
599
858
|
initialProps?: string[] | undefined;
|
|
600
859
|
};
|
|
601
860
|
"ws:block-template": {
|
|
602
861
|
props: Record<string, {
|
|
862
|
+
options: string[];
|
|
863
|
+
type: "string";
|
|
864
|
+
required: boolean;
|
|
865
|
+
control: "tag";
|
|
866
|
+
label?: string | undefined;
|
|
867
|
+
defaultValue?: undefined;
|
|
868
|
+
description?: string | undefined;
|
|
869
|
+
} | {
|
|
603
870
|
type: "number";
|
|
604
871
|
required: boolean;
|
|
605
872
|
control: "number";
|
|
606
|
-
defaultValue?: number | undefined;
|
|
607
873
|
label?: string | undefined;
|
|
874
|
+
defaultValue?: number | undefined;
|
|
608
875
|
description?: string | undefined;
|
|
609
876
|
} | {
|
|
610
877
|
type: "number";
|
|
611
878
|
required: boolean;
|
|
612
879
|
control: "range";
|
|
613
|
-
defaultValue?: number | undefined;
|
|
614
880
|
label?: string | undefined;
|
|
881
|
+
defaultValue?: number | undefined;
|
|
615
882
|
description?: string | undefined;
|
|
616
883
|
} | {
|
|
617
884
|
type: "string";
|
|
618
885
|
required: boolean;
|
|
619
886
|
control: "text";
|
|
887
|
+
label?: string | undefined;
|
|
620
888
|
defaultValue?: string | undefined;
|
|
889
|
+
description?: string | undefined;
|
|
621
890
|
rows?: number | undefined;
|
|
891
|
+
} | {
|
|
892
|
+
type: "resource";
|
|
893
|
+
required: boolean;
|
|
894
|
+
control: "resource";
|
|
622
895
|
label?: string | undefined;
|
|
896
|
+
defaultValue?: string | undefined;
|
|
623
897
|
description?: string | undefined;
|
|
624
898
|
} | {
|
|
625
899
|
type: "string";
|
|
626
900
|
required: boolean;
|
|
627
901
|
control: "code";
|
|
628
902
|
language: "html" | "markdown";
|
|
629
|
-
defaultValue?: string | undefined;
|
|
630
903
|
label?: string | undefined;
|
|
904
|
+
defaultValue?: string | undefined;
|
|
631
905
|
description?: string | undefined;
|
|
632
906
|
} | {
|
|
633
907
|
type: "string";
|
|
634
908
|
required: boolean;
|
|
635
909
|
control: "codetext";
|
|
636
|
-
defaultValue?: string | undefined;
|
|
637
910
|
label?: string | undefined;
|
|
911
|
+
defaultValue?: string | undefined;
|
|
638
912
|
description?: string | undefined;
|
|
639
913
|
} | {
|
|
640
914
|
type: "string";
|
|
641
915
|
required: boolean;
|
|
642
916
|
control: "color";
|
|
643
|
-
defaultValue?: string | undefined;
|
|
644
917
|
label?: string | undefined;
|
|
918
|
+
defaultValue?: string | undefined;
|
|
645
919
|
description?: string | undefined;
|
|
646
920
|
} | {
|
|
647
921
|
type: "boolean";
|
|
648
922
|
required: boolean;
|
|
649
923
|
control: "boolean";
|
|
650
|
-
defaultValue?: boolean | undefined;
|
|
651
924
|
label?: string | undefined;
|
|
925
|
+
defaultValue?: boolean | undefined;
|
|
652
926
|
description?: string | undefined;
|
|
653
927
|
} | {
|
|
654
928
|
options: string[];
|
|
655
929
|
type: "string";
|
|
656
930
|
required: boolean;
|
|
657
931
|
control: "radio";
|
|
658
|
-
defaultValue?: string | undefined;
|
|
659
932
|
label?: string | undefined;
|
|
933
|
+
defaultValue?: string | undefined;
|
|
660
934
|
description?: string | undefined;
|
|
661
935
|
} | {
|
|
662
936
|
options: string[];
|
|
663
937
|
type: "string";
|
|
664
938
|
required: boolean;
|
|
665
939
|
control: "inline-radio";
|
|
666
|
-
defaultValue?: string | undefined;
|
|
667
940
|
label?: string | undefined;
|
|
941
|
+
defaultValue?: string | undefined;
|
|
668
942
|
description?: string | undefined;
|
|
669
943
|
} | {
|
|
670
944
|
options: string[];
|
|
671
945
|
type: "string";
|
|
672
946
|
required: boolean;
|
|
673
947
|
control: "select";
|
|
674
|
-
defaultValue?: string | undefined;
|
|
675
948
|
label?: string | undefined;
|
|
949
|
+
defaultValue?: string | undefined;
|
|
676
950
|
description?: string | undefined;
|
|
677
951
|
} | {
|
|
678
952
|
options: string[];
|
|
679
953
|
type: "string[]";
|
|
680
954
|
required: boolean;
|
|
681
955
|
control: "check";
|
|
682
|
-
defaultValue?: string[] | undefined;
|
|
683
956
|
label?: string | undefined;
|
|
957
|
+
defaultValue?: string[] | undefined;
|
|
684
958
|
description?: string | undefined;
|
|
685
959
|
} | {
|
|
686
960
|
options: string[];
|
|
687
961
|
type: "string[]";
|
|
688
962
|
required: boolean;
|
|
689
963
|
control: "inline-check";
|
|
690
|
-
defaultValue?: string[] | undefined;
|
|
691
964
|
label?: string | undefined;
|
|
965
|
+
defaultValue?: string[] | undefined;
|
|
692
966
|
description?: string | undefined;
|
|
693
967
|
} | {
|
|
694
968
|
options: string[];
|
|
695
969
|
type: "string[]";
|
|
696
970
|
required: boolean;
|
|
697
971
|
control: "multi-select";
|
|
698
|
-
defaultValue?: string[] | undefined;
|
|
699
972
|
label?: string | undefined;
|
|
973
|
+
defaultValue?: string[] | undefined;
|
|
700
974
|
description?: string | undefined;
|
|
701
975
|
} | {
|
|
702
976
|
type: "string";
|
|
703
977
|
required: boolean;
|
|
704
978
|
control: "file";
|
|
705
|
-
defaultValue?: string | undefined;
|
|
706
|
-
accept?: string | undefined;
|
|
707
979
|
label?: string | undefined;
|
|
980
|
+
defaultValue?: string | undefined;
|
|
708
981
|
description?: string | undefined;
|
|
982
|
+
accept?: string | undefined;
|
|
709
983
|
} | {
|
|
710
984
|
type: "string";
|
|
711
985
|
required: boolean;
|
|
712
986
|
control: "url";
|
|
713
|
-
defaultValue?: string | undefined;
|
|
714
987
|
label?: string | undefined;
|
|
988
|
+
defaultValue?: string | undefined;
|
|
715
989
|
description?: string | undefined;
|
|
716
990
|
} | {
|
|
717
991
|
type: "json";
|
|
718
992
|
required: boolean;
|
|
719
993
|
control: "json";
|
|
720
|
-
defaultValue?: unknown;
|
|
721
994
|
label?: string | undefined;
|
|
995
|
+
defaultValue?: unknown;
|
|
722
996
|
description?: string | undefined;
|
|
723
997
|
} | {
|
|
724
998
|
type: "string";
|
|
725
999
|
required: boolean;
|
|
726
1000
|
control: "date";
|
|
727
|
-
defaultValue?: string | undefined;
|
|
728
1001
|
label?: string | undefined;
|
|
1002
|
+
defaultValue?: string | undefined;
|
|
729
1003
|
description?: string | undefined;
|
|
730
1004
|
} | {
|
|
731
1005
|
type: "action";
|
|
732
1006
|
required: boolean;
|
|
733
1007
|
control: "action";
|
|
734
|
-
defaultValue?: undefined;
|
|
735
1008
|
label?: string | undefined;
|
|
1009
|
+
defaultValue?: undefined;
|
|
736
1010
|
description?: string | undefined;
|
|
737
1011
|
} | {
|
|
738
1012
|
type: "string";
|
|
739
1013
|
required: boolean;
|
|
740
1014
|
control: "textContent";
|
|
1015
|
+
label?: string | undefined;
|
|
741
1016
|
defaultValue?: string | undefined;
|
|
1017
|
+
description?: string | undefined;
|
|
1018
|
+
} | {
|
|
1019
|
+
type: "animationAction";
|
|
1020
|
+
required: boolean;
|
|
1021
|
+
control: "animationAction";
|
|
742
1022
|
label?: string | undefined;
|
|
1023
|
+
defaultValue?: undefined;
|
|
743
1024
|
description?: string | undefined;
|
|
744
1025
|
}>;
|
|
745
1026
|
initialProps?: string[] | undefined;
|
|
746
1027
|
};
|
|
747
1028
|
};
|
|
748
|
-
export declare const isCoreComponent: (component:
|
|
1029
|
+
export declare const isCoreComponent: (component: Instance["component"]) => component is "ws:root" | "ws:element" | "ws:collection" | "ws:descendant" | "ws:block" | "ws:block-template";
|
|
1030
|
+
export declare const isComponentDetachable: (component: Instance["component"]) => boolean;
|