@webstudio-is/sdk 0.274.5 → 0.276.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/core-templates.js +1 -1
- package/lib/index.js +510 -18
- package/lib/runtime.js +290 -2
- package/lib/schema-org.js +5703 -0
- package/lib/schema.js +33 -8
- package/lib/types/core-metas.d.ts +1 -1
- package/lib/types/index.d.ts +2 -0
- package/lib/types/input-json-schema.d.ts +15 -0
- package/lib/types/json-ld-utils.d.ts +3 -0
- package/lib/types/json-ld.d.ts +31 -0
- package/lib/types/runtime.d.ts +1 -0
- package/lib/types/schema/animation-schema.d.ts +1768 -50560
- package/lib/types/schema/assets.d.ts +126 -479
- package/lib/types/schema/breakpoints.d.ts +6 -54
- package/lib/types/schema/component-meta.d.ts +464 -11361
- 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 +109 -1211
- package/lib/types/schema/prop-meta.d.ts +48 -435
- package/lib/types/schema/props.d.ts +937 -35745
- 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 +804 -5240
- package/lib/types/schema/webstudio.d.ts +1259 -23420
- package/lib/types/scope.d.ts +3 -1
- package/package.json +20 -11
|
@@ -1,593 +1,206 @@
|
|
|
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
|
+
label: z.ZodOptional<z.ZodString>;
|
|
4
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5
|
+
required: z.ZodBoolean;
|
|
6
|
+
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
3
7
|
control: z.ZodLiteral<"tag">;
|
|
4
8
|
type: z.ZodLiteral<"string">;
|
|
5
9
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
6
|
-
options: z.ZodArray<z.ZodString
|
|
10
|
+
options: z.ZodArray<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7
12
|
label: z.ZodOptional<z.ZodString>;
|
|
8
13
|
description: z.ZodOptional<z.ZodString>;
|
|
9
14
|
required: z.ZodBoolean;
|
|
10
15
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
30
16
|
control: z.ZodLiteral<"number">;
|
|
31
17
|
type: z.ZodLiteral<"number">;
|
|
32
18
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
20
|
label: z.ZodOptional<z.ZodString>;
|
|
34
21
|
description: z.ZodOptional<z.ZodString>;
|
|
35
22
|
required: z.ZodBoolean;
|
|
36
23
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
54
24
|
control: z.ZodLiteral<"range">;
|
|
55
25
|
type: z.ZodLiteral<"number">;
|
|
56
26
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
28
|
label: z.ZodOptional<z.ZodString>;
|
|
58
29
|
description: z.ZodOptional<z.ZodString>;
|
|
59
30
|
required: z.ZodBoolean;
|
|
60
31
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
78
32
|
control: z.ZodLiteral<"text">;
|
|
79
33
|
type: z.ZodLiteral<"string">;
|
|
80
34
|
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
35
|
rows: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
86
37
|
label: z.ZodOptional<z.ZodString>;
|
|
87
38
|
description: z.ZodOptional<z.ZodString>;
|
|
88
39
|
required: z.ZodBoolean;
|
|
89
40
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
109
41
|
control: z.ZodLiteral<"resource">;
|
|
110
42
|
type: z.ZodLiteral<"resource">;
|
|
111
43
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
112
45
|
label: z.ZodOptional<z.ZodString>;
|
|
113
46
|
description: z.ZodOptional<z.ZodString>;
|
|
114
47
|
required: z.ZodBoolean;
|
|
115
48
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
133
49
|
control: z.ZodLiteral<"code">;
|
|
134
50
|
type: z.ZodLiteral<"string">;
|
|
135
|
-
language: z.ZodUnion<[z.ZodLiteral<"html">, z.ZodLiteral<"markdown">]>;
|
|
51
|
+
language: z.ZodUnion<readonly [z.ZodLiteral<"html">, z.ZodLiteral<"json">, z.ZodLiteral<"markdown">]>;
|
|
136
52
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
54
|
label: z.ZodOptional<z.ZodString>;
|
|
138
55
|
description: z.ZodOptional<z.ZodString>;
|
|
139
56
|
required: z.ZodBoolean;
|
|
140
57
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
160
58
|
control: z.ZodLiteral<"codetext">;
|
|
161
59
|
type: z.ZodLiteral<"string">;
|
|
162
60
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
+
label: z.ZodOptional<z.ZodString>;
|
|
63
|
+
description: z.ZodOptional<z.ZodString>;
|
|
64
|
+
required: z.ZodBoolean;
|
|
65
|
+
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
control: z.ZodLiteral<"json-code">;
|
|
67
|
+
type: z.ZodLiteral<"string">;
|
|
68
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
163
70
|
label: z.ZodOptional<z.ZodString>;
|
|
164
71
|
description: z.ZodOptional<z.ZodString>;
|
|
165
72
|
required: z.ZodBoolean;
|
|
166
73
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
184
74
|
control: z.ZodLiteral<"color">;
|
|
185
75
|
type: z.ZodLiteral<"string">;
|
|
186
76
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
187
78
|
label: z.ZodOptional<z.ZodString>;
|
|
188
79
|
description: z.ZodOptional<z.ZodString>;
|
|
189
80
|
required: z.ZodBoolean;
|
|
190
81
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
208
82
|
control: z.ZodLiteral<"boolean">;
|
|
209
83
|
type: z.ZodLiteral<"boolean">;
|
|
210
84
|
defaultValue: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
211
86
|
label: z.ZodOptional<z.ZodString>;
|
|
212
87
|
description: z.ZodOptional<z.ZodString>;
|
|
213
88
|
required: z.ZodBoolean;
|
|
214
89
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
215
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
232
90
|
control: z.ZodLiteral<"radio">;
|
|
233
91
|
type: z.ZodLiteral<"string">;
|
|
234
92
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
235
|
-
options: z.ZodArray<z.ZodString
|
|
93
|
+
options: z.ZodArray<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
236
95
|
label: z.ZodOptional<z.ZodString>;
|
|
237
96
|
description: z.ZodOptional<z.ZodString>;
|
|
238
97
|
required: z.ZodBoolean;
|
|
239
98
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
259
99
|
control: z.ZodLiteral<"inline-radio">;
|
|
260
100
|
type: z.ZodLiteral<"string">;
|
|
261
101
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
262
|
-
options: z.ZodArray<z.ZodString
|
|
102
|
+
options: z.ZodArray<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
263
104
|
label: z.ZodOptional<z.ZodString>;
|
|
264
105
|
description: z.ZodOptional<z.ZodString>;
|
|
265
106
|
required: z.ZodBoolean;
|
|
266
107
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
267
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
286
108
|
control: z.ZodLiteral<"select">;
|
|
287
109
|
type: z.ZodLiteral<"string">;
|
|
288
110
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
289
|
-
options: z.ZodArray<z.ZodString
|
|
111
|
+
options: z.ZodArray<z.ZodString>;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
290
113
|
label: z.ZodOptional<z.ZodString>;
|
|
291
114
|
description: z.ZodOptional<z.ZodString>;
|
|
292
115
|
required: z.ZodBoolean;
|
|
293
116
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
313
117
|
control: z.ZodLiteral<"timeZone">;
|
|
314
118
|
type: z.ZodLiteral<"string">;
|
|
315
119
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
316
|
-
options: z.ZodArray<z.ZodString
|
|
120
|
+
options: z.ZodArray<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
317
122
|
label: z.ZodOptional<z.ZodString>;
|
|
318
123
|
description: z.ZodOptional<z.ZodString>;
|
|
319
124
|
required: z.ZodBoolean;
|
|
320
125
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
340
126
|
control: z.ZodLiteral<"multi-select">;
|
|
341
127
|
type: z.ZodLiteral<"string[]">;
|
|
342
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
343
|
-
options: z.ZodArray<z.ZodString
|
|
128
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
|
+
options: z.ZodArray<z.ZodString>;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
131
|
label: z.ZodOptional<z.ZodString>;
|
|
345
132
|
description: z.ZodOptional<z.ZodString>;
|
|
346
133
|
required: z.ZodBoolean;
|
|
347
134
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
367
135
|
control: z.ZodLiteral<"check">;
|
|
368
136
|
type: z.ZodLiteral<"string[]">;
|
|
369
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
370
|
-
options: z.ZodArray<z.ZodString
|
|
137
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
+
options: z.ZodArray<z.ZodString>;
|
|
139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
140
|
label: z.ZodOptional<z.ZodString>;
|
|
372
141
|
description: z.ZodOptional<z.ZodString>;
|
|
373
142
|
required: z.ZodBoolean;
|
|
374
143
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
375
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
394
144
|
control: z.ZodLiteral<"inline-check">;
|
|
395
145
|
type: z.ZodLiteral<"string[]">;
|
|
396
|
-
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString
|
|
397
|
-
options: z.ZodArray<z.ZodString
|
|
146
|
+
defaultValue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
+
options: z.ZodArray<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
398
149
|
label: z.ZodOptional<z.ZodString>;
|
|
399
150
|
description: z.ZodOptional<z.ZodString>;
|
|
400
151
|
required: z.ZodBoolean;
|
|
401
152
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
402
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
421
153
|
control: z.ZodLiteral<"file">;
|
|
422
154
|
type: z.ZodLiteral<"string">;
|
|
423
155
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
424
|
-
/** https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept */
|
|
425
156
|
accept: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
426
158
|
label: z.ZodOptional<z.ZodString>;
|
|
427
159
|
description: z.ZodOptional<z.ZodString>;
|
|
428
160
|
required: z.ZodBoolean;
|
|
429
161
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
430
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
449
162
|
control: z.ZodLiteral<"url">;
|
|
450
163
|
type: z.ZodLiteral<"string">;
|
|
451
164
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
166
|
label: z.ZodOptional<z.ZodString>;
|
|
453
167
|
description: z.ZodOptional<z.ZodString>;
|
|
454
168
|
required: z.ZodBoolean;
|
|
455
169
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
456
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
473
170
|
control: z.ZodLiteral<"json">;
|
|
474
171
|
type: z.ZodLiteral<"json">;
|
|
475
172
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
476
174
|
label: z.ZodOptional<z.ZodString>;
|
|
477
175
|
description: z.ZodOptional<z.ZodString>;
|
|
478
176
|
required: z.ZodBoolean;
|
|
479
177
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
480
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
497
178
|
control: z.ZodLiteral<"date">;
|
|
498
179
|
type: z.ZodLiteral<"string">;
|
|
499
180
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
500
182
|
label: z.ZodOptional<z.ZodString>;
|
|
501
183
|
description: z.ZodOptional<z.ZodString>;
|
|
502
184
|
required: z.ZodBoolean;
|
|
503
185
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
521
186
|
control: z.ZodLiteral<"action">;
|
|
522
187
|
type: z.ZodLiteral<"action">;
|
|
523
188
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
524
190
|
label: z.ZodOptional<z.ZodString>;
|
|
525
191
|
description: z.ZodOptional<z.ZodString>;
|
|
526
192
|
required: z.ZodBoolean;
|
|
527
193
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
545
194
|
control: z.ZodLiteral<"textContent">;
|
|
546
195
|
type: z.ZodLiteral<"string">;
|
|
547
196
|
defaultValue: z.ZodOptional<z.ZodString>;
|
|
197
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
548
198
|
label: z.ZodOptional<z.ZodString>;
|
|
549
199
|
description: z.ZodOptional<z.ZodString>;
|
|
550
200
|
required: z.ZodBoolean;
|
|
551
201
|
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
-
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
569
202
|
control: z.ZodLiteral<"animationAction">;
|
|
570
203
|
type: z.ZodLiteral<"animationAction">;
|
|
571
204
|
defaultValue: z.ZodOptional<z.ZodUndefined>;
|
|
572
|
-
|
|
573
|
-
description: z.ZodOptional<z.ZodString>;
|
|
574
|
-
required: z.ZodBoolean;
|
|
575
|
-
contentMode: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
-
}, "strip", z.ZodTypeAny, {
|
|
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
|
-
}>]>;
|
|
205
|
+
}, z.core.$strip>]>;
|
|
593
206
|
export type PropMeta = z.infer<typeof propMeta>;
|