@webstudio-is/sdk 0.274.5 → 0.275.0
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/index.js +206 -15
- package/lib/runtime.js +2 -1
- package/lib/schema.js +32 -8
- package/lib/types/index.d.ts +1 -0
- package/lib/types/input-json-schema.d.ts +15 -0
- package/lib/types/schema/animation-schema.d.ts +1752 -50544
- package/lib/types/schema/assets.d.ts +110 -463
- package/lib/types/schema/breakpoints.d.ts +6 -54
- package/lib/types/schema/component-meta.d.ts +452 -11357
- package/lib/types/schema/data-sources.d.ts +38 -238
- package/lib/types/schema/deployment.d.ts +20 -31
- package/lib/types/schema/instances.d.ts +34 -165
- package/lib/types/schema/pages.d.ts +107 -1211
- package/lib/types/schema/prop-meta.d.ts +36 -431
- package/lib/types/schema/props.d.ts +924 -35732
- package/lib/types/schema/resources.d.ts +15 -136
- package/lib/types/schema/style-source-selections.d.ts +4 -16
- package/lib/types/schema/style-sources.d.ts +7 -49
- package/lib/types/schema/styles.d.ts +796 -5232
- package/lib/types/schema/webstudio.d.ts +1332 -23493
- package/package.json +9 -8
|
@@ -1,32 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
2
|
+
export declare const propMeta: z.ZodUnion<readonly [z.ZodObject<{
|
|
3
3
|
control: z.ZodLiteral<"tag">;
|
|
4
4
|
type: z.ZodLiteral<"string">;
|
|
5
5
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
6
|
-
options: z.ZodArray<z.ZodString
|
|
6
|
+
options: z.ZodArray<z.ZodString>;
|
|
7
7
|
label: z.ZodOptional<z.ZodString>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
required: z.ZodBoolean;
|
|
10
10
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
},
|
|
12
|
-
options: string[];
|
|
13
|
-
type: "string";
|
|
14
|
-
required: boolean;
|
|
15
|
-
control: "tag";
|
|
16
|
-
description?: string | undefined;
|
|
17
|
-
label?: string | undefined;
|
|
18
|
-
defaultValue?: undefined;
|
|
19
|
-
contentMode?: boolean | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
options: string[];
|
|
22
|
-
type: "string";
|
|
23
|
-
required: boolean;
|
|
24
|
-
control: "tag";
|
|
25
|
-
description?: string | undefined;
|
|
26
|
-
label?: string | undefined;
|
|
27
|
-
defaultValue?: undefined;
|
|
28
|
-
contentMode?: boolean | undefined;
|
|
29
|
-
}>, z.ZodObject<{
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
12
|
control: z.ZodLiteral<"number">;
|
|
31
13
|
type: z.ZodLiteral<"number">;
|
|
32
14
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -34,23 +16,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
34
16
|
description: z.ZodOptional<z.ZodString>;
|
|
35
17
|
required: z.ZodBoolean;
|
|
36
18
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
},
|
|
38
|
-
type: "number";
|
|
39
|
-
required: boolean;
|
|
40
|
-
control: "number";
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
label?: string | undefined;
|
|
43
|
-
defaultValue?: number | undefined;
|
|
44
|
-
contentMode?: boolean | undefined;
|
|
45
|
-
}, {
|
|
46
|
-
type: "number";
|
|
47
|
-
required: boolean;
|
|
48
|
-
control: "number";
|
|
49
|
-
description?: string | undefined;
|
|
50
|
-
label?: string | undefined;
|
|
51
|
-
defaultValue?: number | undefined;
|
|
52
|
-
contentMode?: boolean | undefined;
|
|
53
|
-
}>, z.ZodObject<{
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
20
|
control: z.ZodLiteral<"range">;
|
|
55
21
|
type: z.ZodLiteral<"number">;
|
|
56
22
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -58,54 +24,16 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
58
24
|
description: z.ZodOptional<z.ZodString>;
|
|
59
25
|
required: z.ZodBoolean;
|
|
60
26
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
},
|
|
62
|
-
type: "number";
|
|
63
|
-
required: boolean;
|
|
64
|
-
control: "range";
|
|
65
|
-
description?: string | undefined;
|
|
66
|
-
label?: string | undefined;
|
|
67
|
-
defaultValue?: number | undefined;
|
|
68
|
-
contentMode?: boolean | undefined;
|
|
69
|
-
}, {
|
|
70
|
-
type: "number";
|
|
71
|
-
required: boolean;
|
|
72
|
-
control: "range";
|
|
73
|
-
description?: string | undefined;
|
|
74
|
-
label?: string | undefined;
|
|
75
|
-
defaultValue?: number | undefined;
|
|
76
|
-
contentMode?: boolean | undefined;
|
|
77
|
-
}>, z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
28
|
control: z.ZodLiteral<"text">;
|
|
79
29
|
type: z.ZodLiteral<"string">;
|
|
80
30
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
81
|
-
/**
|
|
82
|
-
* The number of rows in <textarea>. If set to 0 an <input> will be used instead.
|
|
83
|
-
* In line with Storybook team's plan: https://github.com/storybookjs/storybook/issues/21100
|
|
84
|
-
*/
|
|
85
31
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
86
32
|
label: z.ZodOptional<z.ZodString>;
|
|
87
33
|
description: z.ZodOptional<z.ZodString>;
|
|
88
34
|
required: z.ZodBoolean;
|
|
89
35
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
},
|
|
91
|
-
type: "string";
|
|
92
|
-
required: boolean;
|
|
93
|
-
control: "text";
|
|
94
|
-
description?: string | undefined;
|
|
95
|
-
label?: string | undefined;
|
|
96
|
-
defaultValue?: string | undefined;
|
|
97
|
-
contentMode?: boolean | undefined;
|
|
98
|
-
rows?: number | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
type: "string";
|
|
101
|
-
required: boolean;
|
|
102
|
-
control: "text";
|
|
103
|
-
description?: string | undefined;
|
|
104
|
-
label?: string | undefined;
|
|
105
|
-
defaultValue?: string | undefined;
|
|
106
|
-
contentMode?: boolean | undefined;
|
|
107
|
-
rows?: number | undefined;
|
|
108
|
-
}>, z.ZodObject<{
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
37
|
control: z.ZodLiteral<"resource">;
|
|
110
38
|
type: z.ZodLiteral<"resource">;
|
|
111
39
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -113,50 +41,16 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
113
41
|
description: z.ZodOptional<z.ZodString>;
|
|
114
42
|
required: z.ZodBoolean;
|
|
115
43
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
},
|
|
117
|
-
type: "resource";
|
|
118
|
-
required: boolean;
|
|
119
|
-
control: "resource";
|
|
120
|
-
description?: string | undefined;
|
|
121
|
-
label?: string | undefined;
|
|
122
|
-
defaultValue?: string | undefined;
|
|
123
|
-
contentMode?: boolean | undefined;
|
|
124
|
-
}, {
|
|
125
|
-
type: "resource";
|
|
126
|
-
required: boolean;
|
|
127
|
-
control: "resource";
|
|
128
|
-
description?: string | undefined;
|
|
129
|
-
label?: string | undefined;
|
|
130
|
-
defaultValue?: string | undefined;
|
|
131
|
-
contentMode?: boolean | undefined;
|
|
132
|
-
}>, z.ZodObject<{
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
133
45
|
control: z.ZodLiteral<"code">;
|
|
134
46
|
type: z.ZodLiteral<"string">;
|
|
135
|
-
language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
|
|
47
|
+
language: z.ZodUnion<readonly [z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
|
|
136
48
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
137
49
|
label: z.ZodOptional<z.ZodString>;
|
|
138
50
|
description: z.ZodOptional<z.ZodString>;
|
|
139
51
|
required: z.ZodBoolean;
|
|
140
52
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
},
|
|
142
|
-
type: "string";
|
|
143
|
-
required: boolean;
|
|
144
|
-
language: "html" | "markdown";
|
|
145
|
-
control: "code";
|
|
146
|
-
description?: string | undefined;
|
|
147
|
-
label?: string | undefined;
|
|
148
|
-
defaultValue?: string | undefined;
|
|
149
|
-
contentMode?: boolean | undefined;
|
|
150
|
-
}, {
|
|
151
|
-
type: "string";
|
|
152
|
-
required: boolean;
|
|
153
|
-
language: "html" | "markdown";
|
|
154
|
-
control: "code";
|
|
155
|
-
description?: string | undefined;
|
|
156
|
-
label?: string | undefined;
|
|
157
|
-
defaultValue?: string | undefined;
|
|
158
|
-
contentMode?: boolean | undefined;
|
|
159
|
-
}>, z.ZodObject<{
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
160
54
|
control: z.ZodLiteral<"codetext">;
|
|
161
55
|
type: z.ZodLiteral<"string">;
|
|
162
56
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -164,23 +58,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
164
58
|
description: z.ZodOptional<z.ZodString>;
|
|
165
59
|
required: z.ZodBoolean;
|
|
166
60
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
},
|
|
168
|
-
type: "string";
|
|
169
|
-
required: boolean;
|
|
170
|
-
control: "codetext";
|
|
171
|
-
description?: string | undefined;
|
|
172
|
-
label?: string | undefined;
|
|
173
|
-
defaultValue?: string | undefined;
|
|
174
|
-
contentMode?: boolean | undefined;
|
|
175
|
-
}, {
|
|
176
|
-
type: "string";
|
|
177
|
-
required: boolean;
|
|
178
|
-
control: "codetext";
|
|
179
|
-
description?: string | undefined;
|
|
180
|
-
label?: string | undefined;
|
|
181
|
-
defaultValue?: string | undefined;
|
|
182
|
-
contentMode?: boolean | undefined;
|
|
183
|
-
}>, z.ZodObject<{
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
184
62
|
control: z.ZodLiteral<"color">;
|
|
185
63
|
type: z.ZodLiteral<"string">;
|
|
186
64
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -188,23 +66,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
188
66
|
description: z.ZodOptional<z.ZodString>;
|
|
189
67
|
required: z.ZodBoolean;
|
|
190
68
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
-
},
|
|
192
|
-
type: "string";
|
|
193
|
-
required: boolean;
|
|
194
|
-
control: "color";
|
|
195
|
-
description?: string | undefined;
|
|
196
|
-
label?: string | undefined;
|
|
197
|
-
defaultValue?: string | undefined;
|
|
198
|
-
contentMode?: boolean | undefined;
|
|
199
|
-
}, {
|
|
200
|
-
type: "string";
|
|
201
|
-
required: boolean;
|
|
202
|
-
control: "color";
|
|
203
|
-
description?: string | undefined;
|
|
204
|
-
label?: string | undefined;
|
|
205
|
-
defaultValue?: string | undefined;
|
|
206
|
-
contentMode?: boolean | undefined;
|
|
207
|
-
}>, z.ZodObject<{
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
208
70
|
control: z.ZodLiteral<"boolean">;
|
|
209
71
|
type: z.ZodLiteral<"boolean">;
|
|
210
72
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -212,240 +74,79 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
212
74
|
description: z.ZodOptional<z.ZodString>;
|
|
213
75
|
required: z.ZodBoolean;
|
|
214
76
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
-
},
|
|
216
|
-
type: "boolean";
|
|
217
|
-
required: boolean;
|
|
218
|
-
control: "boolean";
|
|
219
|
-
description?: string | undefined;
|
|
220
|
-
label?: string | undefined;
|
|
221
|
-
defaultValue?: boolean | undefined;
|
|
222
|
-
contentMode?: boolean | undefined;
|
|
223
|
-
}, {
|
|
224
|
-
type: "boolean";
|
|
225
|
-
required: boolean;
|
|
226
|
-
control: "boolean";
|
|
227
|
-
description?: string | undefined;
|
|
228
|
-
label?: string | undefined;
|
|
229
|
-
defaultValue?: boolean | undefined;
|
|
230
|
-
contentMode?: boolean | undefined;
|
|
231
|
-
}>, z.ZodObject<{
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
232
78
|
control: z.ZodLiteral<"radio">;
|
|
233
79
|
type: z.ZodLiteral<"string">;
|
|
234
80
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
235
|
-
options: z.ZodArray<z.ZodString
|
|
81
|
+
options: z.ZodArray<z.ZodString>;
|
|
236
82
|
label: z.ZodOptional<z.ZodString>;
|
|
237
83
|
description: z.ZodOptional<z.ZodString>;
|
|
238
84
|
required: z.ZodBoolean;
|
|
239
85
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
},
|
|
241
|
-
options: string[];
|
|
242
|
-
type: "string";
|
|
243
|
-
required: boolean;
|
|
244
|
-
control: "radio";
|
|
245
|
-
description?: string | undefined;
|
|
246
|
-
label?: string | undefined;
|
|
247
|
-
defaultValue?: string | undefined;
|
|
248
|
-
contentMode?: boolean | undefined;
|
|
249
|
-
}, {
|
|
250
|
-
options: string[];
|
|
251
|
-
type: "string";
|
|
252
|
-
required: boolean;
|
|
253
|
-
control: "radio";
|
|
254
|
-
description?: string | undefined;
|
|
255
|
-
label?: string | undefined;
|
|
256
|
-
defaultValue?: string | undefined;
|
|
257
|
-
contentMode?: boolean | undefined;
|
|
258
|
-
}>, z.ZodObject<{
|
|
86
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
259
87
|
control: z.ZodLiteral<"inline-radio">;
|
|
260
88
|
type: z.ZodLiteral<"string">;
|
|
261
89
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
262
|
-
options: z.ZodArray<z.ZodString
|
|
90
|
+
options: z.ZodArray<z.ZodString>;
|
|
263
91
|
label: z.ZodOptional<z.ZodString>;
|
|
264
92
|
description: z.ZodOptional<z.ZodString>;
|
|
265
93
|
required: z.ZodBoolean;
|
|
266
94
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
-
},
|
|
268
|
-
options: string[];
|
|
269
|
-
type: "string";
|
|
270
|
-
required: boolean;
|
|
271
|
-
control: "inline-radio";
|
|
272
|
-
description?: string | undefined;
|
|
273
|
-
label?: string | undefined;
|
|
274
|
-
defaultValue?: string | undefined;
|
|
275
|
-
contentMode?: boolean | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
options: string[];
|
|
278
|
-
type: "string";
|
|
279
|
-
required: boolean;
|
|
280
|
-
control: "inline-radio";
|
|
281
|
-
description?: string | undefined;
|
|
282
|
-
label?: string | undefined;
|
|
283
|
-
defaultValue?: string | undefined;
|
|
284
|
-
contentMode?: boolean | undefined;
|
|
285
|
-
}>, z.ZodObject<{
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
286
96
|
control: z.ZodLiteral<"select">;
|
|
287
97
|
type: z.ZodLiteral<"string">;
|
|
288
98
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
289
|
-
options: z.ZodArray<z.ZodString
|
|
99
|
+
options: z.ZodArray<z.ZodString>;
|
|
290
100
|
label: z.ZodOptional<z.ZodString>;
|
|
291
101
|
description: z.ZodOptional<z.ZodString>;
|
|
292
102
|
required: z.ZodBoolean;
|
|
293
103
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
-
},
|
|
295
|
-
options: string[];
|
|
296
|
-
type: "string";
|
|
297
|
-
required: boolean;
|
|
298
|
-
control: "select";
|
|
299
|
-
description?: string | undefined;
|
|
300
|
-
label?: string | undefined;
|
|
301
|
-
defaultValue?: string | undefined;
|
|
302
|
-
contentMode?: boolean | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
options: string[];
|
|
305
|
-
type: "string";
|
|
306
|
-
required: boolean;
|
|
307
|
-
control: "select";
|
|
308
|
-
description?: string | undefined;
|
|
309
|
-
label?: string | undefined;
|
|
310
|
-
defaultValue?: string | undefined;
|
|
311
|
-
contentMode?: boolean | undefined;
|
|
312
|
-
}>, z.ZodObject<{
|
|
104
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
313
105
|
control: z.ZodLiteral<"timeZone">;
|
|
314
106
|
type: z.ZodLiteral<"string">;
|
|
315
107
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
316
|
-
options: z.ZodArray<z.ZodString
|
|
108
|
+
options: z.ZodArray<z.ZodString>;
|
|
317
109
|
label: z.ZodOptional<z.ZodString>;
|
|
318
110
|
description: z.ZodOptional<z.ZodString>;
|
|
319
111
|
required: z.ZodBoolean;
|
|
320
112
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
-
},
|
|
322
|
-
options: string[];
|
|
323
|
-
type: "string";
|
|
324
|
-
required: boolean;
|
|
325
|
-
control: "timeZone";
|
|
326
|
-
description?: string | undefined;
|
|
327
|
-
label?: string | undefined;
|
|
328
|
-
defaultValue?: string | undefined;
|
|
329
|
-
contentMode?: boolean | undefined;
|
|
330
|
-
}, {
|
|
331
|
-
options: string[];
|
|
332
|
-
type: "string";
|
|
333
|
-
required: boolean;
|
|
334
|
-
control: "timeZone";
|
|
335
|
-
description?: string | undefined;
|
|
336
|
-
label?: string | undefined;
|
|
337
|
-
defaultValue?: string | undefined;
|
|
338
|
-
contentMode?: boolean | undefined;
|
|
339
|
-
}>, z.ZodObject<{
|
|
113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
340
114
|
control: z.ZodLiteral<"multi-select">;
|
|
341
115
|
type: z.ZodLiteral<"string[]">;
|
|
342
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
343
|
-
options: z.ZodArray<z.ZodString
|
|
116
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
options: z.ZodArray<z.ZodString>;
|
|
344
118
|
label: z.ZodOptional<z.ZodString>;
|
|
345
119
|
description: z.ZodOptional<z.ZodString>;
|
|
346
120
|
required: z.ZodBoolean;
|
|
347
121
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
-
},
|
|
349
|
-
options: string[];
|
|
350
|
-
type: "string[]";
|
|
351
|
-
required: boolean;
|
|
352
|
-
control: "multi-select";
|
|
353
|
-
description?: string | undefined;
|
|
354
|
-
label?: string | undefined;
|
|
355
|
-
defaultValue?: string[] | undefined;
|
|
356
|
-
contentMode?: boolean | undefined;
|
|
357
|
-
}, {
|
|
358
|
-
options: string[];
|
|
359
|
-
type: "string[]";
|
|
360
|
-
required: boolean;
|
|
361
|
-
control: "multi-select";
|
|
362
|
-
description?: string | undefined;
|
|
363
|
-
label?: string | undefined;
|
|
364
|
-
defaultValue?: string[] | undefined;
|
|
365
|
-
contentMode?: boolean | undefined;
|
|
366
|
-
}>, z.ZodObject<{
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
367
123
|
control: z.ZodLiteral<"check">;
|
|
368
124
|
type: z.ZodLiteral<"string[]">;
|
|
369
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
370
|
-
options: z.ZodArray<z.ZodString
|
|
125
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
126
|
+
options: z.ZodArray<z.ZodString>;
|
|
371
127
|
label: z.ZodOptional<z.ZodString>;
|
|
372
128
|
description: z.ZodOptional<z.ZodString>;
|
|
373
129
|
required: z.ZodBoolean;
|
|
374
130
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
375
|
-
},
|
|
376
|
-
options: string[];
|
|
377
|
-
type: "string[]";
|
|
378
|
-
required: boolean;
|
|
379
|
-
control: "check";
|
|
380
|
-
description?: string | undefined;
|
|
381
|
-
label?: string | undefined;
|
|
382
|
-
defaultValue?: string[] | undefined;
|
|
383
|
-
contentMode?: boolean | undefined;
|
|
384
|
-
}, {
|
|
385
|
-
options: string[];
|
|
386
|
-
type: "string[]";
|
|
387
|
-
required: boolean;
|
|
388
|
-
control: "check";
|
|
389
|
-
description?: string | undefined;
|
|
390
|
-
label?: string | undefined;
|
|
391
|
-
defaultValue?: string[] | undefined;
|
|
392
|
-
contentMode?: boolean | undefined;
|
|
393
|
-
}>, z.ZodObject<{
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
132
|
control: z.ZodLiteral<"inline-check">;
|
|
395
133
|
type: z.ZodLiteral<"string[]">;
|
|
396
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
397
|
-
options: z.ZodArray<z.ZodString
|
|
134
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
|
+
options: z.ZodArray<z.ZodString>;
|
|
398
136
|
label: z.ZodOptional<z.ZodString>;
|
|
399
137
|
description: z.ZodOptional<z.ZodString>;
|
|
400
138
|
required: z.ZodBoolean;
|
|
401
139
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
-
},
|
|
403
|
-
options: string[];
|
|
404
|
-
type: "string[]";
|
|
405
|
-
required: boolean;
|
|
406
|
-
control: "inline-check";
|
|
407
|
-
description?: string | undefined;
|
|
408
|
-
label?: string | undefined;
|
|
409
|
-
defaultValue?: string[] | undefined;
|
|
410
|
-
contentMode?: boolean | undefined;
|
|
411
|
-
}, {
|
|
412
|
-
options: string[];
|
|
413
|
-
type: "string[]";
|
|
414
|
-
required: boolean;
|
|
415
|
-
control: "inline-check";
|
|
416
|
-
description?: string | undefined;
|
|
417
|
-
label?: string | undefined;
|
|
418
|
-
defaultValue?: string[] | undefined;
|
|
419
|
-
contentMode?: boolean | undefined;
|
|
420
|
-
}>, z.ZodObject<{
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
141
|
control: z.ZodLiteral<"file">;
|
|
422
142
|
type: z.ZodLiteral<"string">;
|
|
423
143
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
424
|
-
/** https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept */
|
|
425
144
|
accept: z.ZodOptional<z.ZodString>;
|
|
426
145
|
label: z.ZodOptional<z.ZodString>;
|
|
427
146
|
description: z.ZodOptional<z.ZodString>;
|
|
428
147
|
required: z.ZodBoolean;
|
|
429
148
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
-
},
|
|
431
|
-
type: "string";
|
|
432
|
-
required: boolean;
|
|
433
|
-
control: "file";
|
|
434
|
-
description?: string | undefined;
|
|
435
|
-
label?: string | undefined;
|
|
436
|
-
defaultValue?: string | undefined;
|
|
437
|
-
contentMode?: boolean | undefined;
|
|
438
|
-
accept?: string | undefined;
|
|
439
|
-
}, {
|
|
440
|
-
type: "string";
|
|
441
|
-
required: boolean;
|
|
442
|
-
control: "file";
|
|
443
|
-
description?: string | undefined;
|
|
444
|
-
label?: string | undefined;
|
|
445
|
-
defaultValue?: string | undefined;
|
|
446
|
-
contentMode?: boolean | undefined;
|
|
447
|
-
accept?: string | undefined;
|
|
448
|
-
}>, z.ZodObject<{
|
|
149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
449
150
|
control: z.ZodLiteral<"url">;
|
|
450
151
|
type: z.ZodLiteral<"string">;
|
|
451
152
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -453,23 +154,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
453
154
|
description: z.ZodOptional<z.ZodString>;
|
|
454
155
|
required: z.ZodBoolean;
|
|
455
156
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
456
|
-
},
|
|
457
|
-
type: "string";
|
|
458
|
-
required: boolean;
|
|
459
|
-
control: "url";
|
|
460
|
-
description?: string | undefined;
|
|
461
|
-
label?: string | undefined;
|
|
462
|
-
defaultValue?: string | undefined;
|
|
463
|
-
contentMode?: boolean | undefined;
|
|
464
|
-
}, {
|
|
465
|
-
type: "string";
|
|
466
|
-
required: boolean;
|
|
467
|
-
control: "url";
|
|
468
|
-
description?: string | undefined;
|
|
469
|
-
label?: string | undefined;
|
|
470
|
-
defaultValue?: string | undefined;
|
|
471
|
-
contentMode?: boolean | undefined;
|
|
472
|
-
}>, z.ZodObject<{
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
158
|
control: z.ZodLiteral<"json">;
|
|
474
159
|
type: z.ZodLiteral<"json">;
|
|
475
160
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -477,23 +162,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
477
162
|
description: z.ZodOptional<z.ZodString>;
|
|
478
163
|
required: z.ZodBoolean;
|
|
479
164
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
-
},
|
|
481
|
-
type: "json";
|
|
482
|
-
required: boolean;
|
|
483
|
-
control: "json";
|
|
484
|
-
description?: string | undefined;
|
|
485
|
-
label?: string | undefined;
|
|
486
|
-
defaultValue?: unknown;
|
|
487
|
-
contentMode?: boolean | undefined;
|
|
488
|
-
}, {
|
|
489
|
-
type: "json";
|
|
490
|
-
required: boolean;
|
|
491
|
-
control: "json";
|
|
492
|
-
description?: string | undefined;
|
|
493
|
-
label?: string | undefined;
|
|
494
|
-
defaultValue?: unknown;
|
|
495
|
-
contentMode?: boolean | undefined;
|
|
496
|
-
}>, z.ZodObject<{
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
497
166
|
control: z.ZodLiteral<"date">;
|
|
498
167
|
type: z.ZodLiteral<"string">;
|
|
499
168
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -501,23 +170,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
501
170
|
description: z.ZodOptional<z.ZodString>;
|
|
502
171
|
required: z.ZodBoolean;
|
|
503
172
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
-
},
|
|
505
|
-
type: "string";
|
|
506
|
-
required: boolean;
|
|
507
|
-
control: "date";
|
|
508
|
-
description?: string | undefined;
|
|
509
|
-
label?: string | undefined;
|
|
510
|
-
defaultValue?: string | undefined;
|
|
511
|
-
contentMode?: boolean | undefined;
|
|
512
|
-
}, {
|
|
513
|
-
type: "string";
|
|
514
|
-
required: boolean;
|
|
515
|
-
control: "date";
|
|
516
|
-
description?: string | undefined;
|
|
517
|
-
label?: string | undefined;
|
|
518
|
-
defaultValue?: string | undefined;
|
|
519
|
-
contentMode?: boolean | undefined;
|
|
520
|
-
}>, z.ZodObject<{
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
521
174
|
control: z.ZodLiteral<"action">;
|
|
522
175
|
type: z.ZodLiteral<"action">;
|
|
523
176
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
@@ -525,23 +178,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
525
178
|
description: z.ZodOptional<z.ZodString>;
|
|
526
179
|
required: z.ZodBoolean;
|
|
527
180
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
-
},
|
|
529
|
-
type: "action";
|
|
530
|
-
required: boolean;
|
|
531
|
-
control: "action";
|
|
532
|
-
description?: string | undefined;
|
|
533
|
-
label?: string | undefined;
|
|
534
|
-
defaultValue?: undefined;
|
|
535
|
-
contentMode?: boolean | undefined;
|
|
536
|
-
}, {
|
|
537
|
-
type: "action";
|
|
538
|
-
required: boolean;
|
|
539
|
-
control: "action";
|
|
540
|
-
description?: string | undefined;
|
|
541
|
-
label?: string | undefined;
|
|
542
|
-
defaultValue?: undefined;
|
|
543
|
-
contentMode?: boolean | undefined;
|
|
544
|
-
}>, z.ZodObject<{
|
|
181
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
182
|
control: z.ZodLiteral<"textContent">;
|
|
546
183
|
type: z.ZodLiteral<"string">;
|
|
547
184
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
@@ -549,23 +186,7 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
549
186
|
description: z.ZodOptional<z.ZodString>;
|
|
550
187
|
required: z.ZodBoolean;
|
|
551
188
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
-
},
|
|
553
|
-
type: "string";
|
|
554
|
-
required: boolean;
|
|
555
|
-
control: "textContent";
|
|
556
|
-
description?: string | undefined;
|
|
557
|
-
label?: string | undefined;
|
|
558
|
-
defaultValue?: string | undefined;
|
|
559
|
-
contentMode?: boolean | undefined;
|
|
560
|
-
}, {
|
|
561
|
-
type: "string";
|
|
562
|
-
required: boolean;
|
|
563
|
-
control: "textContent";
|
|
564
|
-
description?: string | undefined;
|
|
565
|
-
label?: string | undefined;
|
|
566
|
-
defaultValue?: string | undefined;
|
|
567
|
-
contentMode?: boolean | undefined;
|
|
568
|
-
}>, z.ZodObject<{
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
569
190
|
control: z.ZodLiteral<"animationAction">;
|
|
570
191
|
type: z.ZodLiteral<"animationAction">;
|
|
571
192
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
@@ -573,21 +194,5 @@ export declare const propMeta: z.ZodUnion<[z.ZodObject<{
|
|
|
573
194
|
description: z.ZodOptional<z.ZodString>;
|
|
574
195
|
required: z.ZodBoolean;
|
|
575
196
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
-
},
|
|
577
|
-
type: "animationAction";
|
|
578
|
-
required: boolean;
|
|
579
|
-
control: "animationAction";
|
|
580
|
-
description?: string | undefined;
|
|
581
|
-
label?: string | undefined;
|
|
582
|
-
defaultValue?: undefined;
|
|
583
|
-
contentMode?: boolean | undefined;
|
|
584
|
-
}, {
|
|
585
|
-
type: "animationAction";
|
|
586
|
-
required: boolean;
|
|
587
|
-
control: "animationAction";
|
|
588
|
-
description?: string | undefined;
|
|
589
|
-
label?: string | undefined;
|
|
590
|
-
defaultValue?: undefined;
|
|
591
|
-
contentMode?: boolean | undefined;
|
|
592
|
-
}>]>;
|
|
197
|
+
}, z.core.$strip>]>;
|
|
593
198
|
export type PropMeta = z.infer<typeof propMeta>;
|