@seed-ship/mcp-ui-spec 5.0.1 → 5.0.2
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/CHANGELOG.md +18 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -1
- package/dist/schemas.cjs +12 -3
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.ts +2131 -53
- package/dist/schemas.js +12 -3
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +58 -0
- package/package.json +2 -2
package/dist/schemas.d.ts
CHANGED
|
@@ -1,76 +1,2154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zod validation schemas for component registry
|
|
3
|
+
*/
|
|
1
4
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
5
|
export declare const GridPositionSchema: z.ZodObject<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
colStart: z.ZodNumber;
|
|
7
|
+
colSpan: z.ZodNumber;
|
|
8
|
+
rowStart: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
colStart: number;
|
|
12
|
+
colSpan: number;
|
|
13
|
+
rowStart?: number | undefined;
|
|
14
|
+
rowSpan?: number | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
colStart: number;
|
|
17
|
+
colSpan: number;
|
|
18
|
+
rowStart?: number | undefined;
|
|
19
|
+
rowSpan?: number | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const ComponentTypeSchema: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
|
|
22
|
+
export declare const FormFieldOptionSchema: z.ZodObject<{
|
|
23
|
+
label: z.ZodString;
|
|
24
|
+
value: z.ZodString;
|
|
25
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
value: string;
|
|
28
|
+
label: string;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
value: string;
|
|
32
|
+
label: string;
|
|
33
|
+
disabled?: boolean | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const FormFieldTypeSchema: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
|
|
36
|
+
export declare const ShowWhenOperatorSchema: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
|
|
37
|
+
export declare const ShowWhenConditionSchema: z.ZodObject<{
|
|
38
|
+
field: z.ZodString;
|
|
39
|
+
operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
|
|
40
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
field: string;
|
|
43
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
44
|
+
value?: any;
|
|
45
|
+
}, {
|
|
46
|
+
field: string;
|
|
47
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
48
|
+
value?: any;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const PrefillSourceSchema: z.ZodEnum<["user", "detected", "inferred", "default"]>;
|
|
51
|
+
export declare const FormFieldSchema: z.ZodObject<{
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
type: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
|
|
54
|
+
label: z.ZodOptional<z.ZodString>;
|
|
55
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
56
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
57
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
60
|
+
prefill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
61
|
+
displayHint: z.ZodOptional<z.ZodString>;
|
|
62
|
+
source: z.ZodOptional<z.ZodEnum<["user", "detected", "inferred", "default"]>>;
|
|
63
|
+
muted: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
prefillMode: z.ZodOptional<z.ZodEnum<["exact", "resolve"]>>;
|
|
65
|
+
valueFormat: z.ZodOptional<z.ZodString>;
|
|
66
|
+
valueFormatHint: z.ZodOptional<z.ZodString>;
|
|
67
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
70
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
minDate: z.ZodOptional<z.ZodString>;
|
|
74
|
+
maxDate: z.ZodOptional<z.ZodString>;
|
|
75
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
76
|
+
label: z.ZodString;
|
|
77
|
+
value: z.ZodString;
|
|
78
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
value: string;
|
|
81
|
+
label: string;
|
|
82
|
+
disabled?: boolean | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
value: string;
|
|
85
|
+
label: string;
|
|
86
|
+
disabled?: boolean | undefined;
|
|
87
|
+
}>, "many">>;
|
|
88
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
apiUrl: z.ZodOptional<z.ZodString>;
|
|
90
|
+
searchParam: z.ZodOptional<z.ZodString>;
|
|
91
|
+
labelField: z.ZodOptional<z.ZodString>;
|
|
92
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
93
|
+
extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
94
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
debounceMs: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
dependsOn: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
field: z.ZodString;
|
|
98
|
+
apiUrl: z.ZodString;
|
|
99
|
+
labelField: z.ZodString;
|
|
100
|
+
valueField: z.ZodString;
|
|
101
|
+
extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
field: string;
|
|
104
|
+
apiUrl: string;
|
|
105
|
+
labelField: string;
|
|
106
|
+
valueField: string;
|
|
107
|
+
extraParams?: Record<string, string> | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
field: string;
|
|
110
|
+
apiUrl: string;
|
|
111
|
+
labelField: string;
|
|
112
|
+
valueField: string;
|
|
113
|
+
extraParams?: Record<string, string> | undefined;
|
|
114
|
+
}>>;
|
|
115
|
+
fieldStatus: z.ZodOptional<z.ZodEnum<["required", "optional", "unsupported", "unknown"]>>;
|
|
116
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
117
|
+
checkboxLabel: z.ZodOptional<z.ZodString>;
|
|
118
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
showWhen: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
field: z.ZodString;
|
|
121
|
+
operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
|
|
122
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
field: string;
|
|
125
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
126
|
+
value?: any;
|
|
127
|
+
}, {
|
|
128
|
+
field: string;
|
|
129
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
130
|
+
value?: any;
|
|
131
|
+
}>>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
134
|
+
name: string;
|
|
135
|
+
options?: {
|
|
136
|
+
value: string;
|
|
137
|
+
label: string;
|
|
138
|
+
disabled?: boolean | undefined;
|
|
139
|
+
}[] | undefined;
|
|
140
|
+
label?: string | undefined;
|
|
141
|
+
disabled?: boolean | undefined;
|
|
142
|
+
placeholder?: string | undefined;
|
|
143
|
+
helpText?: string | undefined;
|
|
144
|
+
required?: boolean | undefined;
|
|
145
|
+
defaultValue?: any;
|
|
146
|
+
prefill?: string | string[] | undefined;
|
|
147
|
+
displayHint?: string | undefined;
|
|
148
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
149
|
+
muted?: boolean | undefined;
|
|
150
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
151
|
+
valueFormat?: string | undefined;
|
|
152
|
+
valueFormatHint?: string | undefined;
|
|
153
|
+
minLength?: number | undefined;
|
|
154
|
+
maxLength?: number | undefined;
|
|
155
|
+
pattern?: string | undefined;
|
|
156
|
+
min?: number | undefined;
|
|
157
|
+
max?: number | undefined;
|
|
158
|
+
step?: number | undefined;
|
|
159
|
+
minDate?: string | undefined;
|
|
160
|
+
maxDate?: string | undefined;
|
|
161
|
+
multiple?: boolean | undefined;
|
|
162
|
+
apiUrl?: string | undefined;
|
|
163
|
+
searchParam?: string | undefined;
|
|
164
|
+
labelField?: string | undefined;
|
|
165
|
+
valueField?: string | undefined;
|
|
166
|
+
extraParams?: Record<string, string> | undefined;
|
|
167
|
+
minChars?: number | undefined;
|
|
168
|
+
debounceMs?: number | undefined;
|
|
169
|
+
dependsOn?: {
|
|
170
|
+
field: string;
|
|
171
|
+
apiUrl: string;
|
|
172
|
+
labelField: string;
|
|
173
|
+
valueField: string;
|
|
174
|
+
extraParams?: Record<string, string> | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
177
|
+
statusReason?: string | undefined;
|
|
178
|
+
checkboxLabel?: string | undefined;
|
|
179
|
+
rows?: number | undefined;
|
|
180
|
+
showWhen?: {
|
|
181
|
+
field: string;
|
|
182
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
183
|
+
value?: any;
|
|
184
|
+
} | undefined;
|
|
185
|
+
}, {
|
|
186
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
187
|
+
name: string;
|
|
188
|
+
options?: {
|
|
189
|
+
value: string;
|
|
190
|
+
label: string;
|
|
191
|
+
disabled?: boolean | undefined;
|
|
192
|
+
}[] | undefined;
|
|
193
|
+
label?: string | undefined;
|
|
194
|
+
disabled?: boolean | undefined;
|
|
195
|
+
placeholder?: string | undefined;
|
|
196
|
+
helpText?: string | undefined;
|
|
197
|
+
required?: boolean | undefined;
|
|
198
|
+
defaultValue?: any;
|
|
199
|
+
prefill?: string | string[] | undefined;
|
|
200
|
+
displayHint?: string | undefined;
|
|
201
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
202
|
+
muted?: boolean | undefined;
|
|
203
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
204
|
+
valueFormat?: string | undefined;
|
|
205
|
+
valueFormatHint?: string | undefined;
|
|
206
|
+
minLength?: number | undefined;
|
|
207
|
+
maxLength?: number | undefined;
|
|
208
|
+
pattern?: string | undefined;
|
|
209
|
+
min?: number | undefined;
|
|
210
|
+
max?: number | undefined;
|
|
211
|
+
step?: number | undefined;
|
|
212
|
+
minDate?: string | undefined;
|
|
213
|
+
maxDate?: string | undefined;
|
|
214
|
+
multiple?: boolean | undefined;
|
|
215
|
+
apiUrl?: string | undefined;
|
|
216
|
+
searchParam?: string | undefined;
|
|
217
|
+
labelField?: string | undefined;
|
|
218
|
+
valueField?: string | undefined;
|
|
219
|
+
extraParams?: Record<string, string> | undefined;
|
|
220
|
+
minChars?: number | undefined;
|
|
221
|
+
debounceMs?: number | undefined;
|
|
222
|
+
dependsOn?: {
|
|
223
|
+
field: string;
|
|
224
|
+
apiUrl: string;
|
|
225
|
+
labelField: string;
|
|
226
|
+
valueField: string;
|
|
227
|
+
extraParams?: Record<string, string> | undefined;
|
|
228
|
+
} | undefined;
|
|
229
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
230
|
+
statusReason?: string | undefined;
|
|
231
|
+
checkboxLabel?: string | undefined;
|
|
232
|
+
rows?: number | undefined;
|
|
233
|
+
showWhen?: {
|
|
234
|
+
field: string;
|
|
235
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
236
|
+
value?: any;
|
|
237
|
+
} | undefined;
|
|
238
|
+
}>;
|
|
239
|
+
export declare const FormSubmitActionSchema: z.ZodObject<{
|
|
240
|
+
toolName: z.ZodString;
|
|
241
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
242
|
+
}, "strip", z.ZodTypeAny, {
|
|
243
|
+
toolName: string;
|
|
244
|
+
params?: Record<string, unknown> | undefined;
|
|
245
|
+
}, {
|
|
246
|
+
toolName: string;
|
|
247
|
+
params?: Record<string, unknown> | undefined;
|
|
248
|
+
}>;
|
|
249
|
+
export declare const FormComponentParamsSchema: z.ZodObject<{
|
|
250
|
+
title: z.ZodOptional<z.ZodString>;
|
|
251
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
252
|
+
name: z.ZodString;
|
|
253
|
+
type: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
|
|
254
|
+
label: z.ZodOptional<z.ZodString>;
|
|
255
|
+
placeholder: z.ZodOptional<z.ZodString>;
|
|
256
|
+
helpText: z.ZodOptional<z.ZodString>;
|
|
257
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
260
|
+
prefill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
261
|
+
displayHint: z.ZodOptional<z.ZodString>;
|
|
262
|
+
source: z.ZodOptional<z.ZodEnum<["user", "detected", "inferred", "default"]>>;
|
|
263
|
+
muted: z.ZodOptional<z.ZodBoolean>;
|
|
264
|
+
prefillMode: z.ZodOptional<z.ZodEnum<["exact", "resolve"]>>;
|
|
265
|
+
valueFormat: z.ZodOptional<z.ZodString>;
|
|
266
|
+
valueFormatHint: z.ZodOptional<z.ZodString>;
|
|
267
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
268
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
269
|
+
pattern: z.ZodOptional<z.ZodString>;
|
|
270
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
273
|
+
minDate: z.ZodOptional<z.ZodString>;
|
|
274
|
+
maxDate: z.ZodOptional<z.ZodString>;
|
|
275
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
276
|
+
label: z.ZodString;
|
|
277
|
+
value: z.ZodString;
|
|
278
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
value: string;
|
|
281
|
+
label: string;
|
|
282
|
+
disabled?: boolean | undefined;
|
|
283
|
+
}, {
|
|
284
|
+
value: string;
|
|
285
|
+
label: string;
|
|
286
|
+
disabled?: boolean | undefined;
|
|
287
|
+
}>, "many">>;
|
|
288
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
+
apiUrl: z.ZodOptional<z.ZodString>;
|
|
290
|
+
searchParam: z.ZodOptional<z.ZodString>;
|
|
291
|
+
labelField: z.ZodOptional<z.ZodString>;
|
|
292
|
+
valueField: z.ZodOptional<z.ZodString>;
|
|
293
|
+
extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
294
|
+
minChars: z.ZodOptional<z.ZodNumber>;
|
|
295
|
+
debounceMs: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
dependsOn: z.ZodOptional<z.ZodObject<{
|
|
297
|
+
field: z.ZodString;
|
|
298
|
+
apiUrl: z.ZodString;
|
|
299
|
+
labelField: z.ZodString;
|
|
300
|
+
valueField: z.ZodString;
|
|
301
|
+
extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
field: string;
|
|
304
|
+
apiUrl: string;
|
|
305
|
+
labelField: string;
|
|
306
|
+
valueField: string;
|
|
307
|
+
extraParams?: Record<string, string> | undefined;
|
|
308
|
+
}, {
|
|
309
|
+
field: string;
|
|
310
|
+
apiUrl: string;
|
|
311
|
+
labelField: string;
|
|
312
|
+
valueField: string;
|
|
313
|
+
extraParams?: Record<string, string> | undefined;
|
|
314
|
+
}>>;
|
|
315
|
+
fieldStatus: z.ZodOptional<z.ZodEnum<["required", "optional", "unsupported", "unknown"]>>;
|
|
316
|
+
statusReason: z.ZodOptional<z.ZodString>;
|
|
317
|
+
checkboxLabel: z.ZodOptional<z.ZodString>;
|
|
318
|
+
rows: z.ZodOptional<z.ZodNumber>;
|
|
319
|
+
showWhen: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
field: z.ZodString;
|
|
321
|
+
operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
|
|
322
|
+
value: z.ZodOptional<z.ZodAny>;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
field: string;
|
|
325
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
326
|
+
value?: any;
|
|
327
|
+
}, {
|
|
328
|
+
field: string;
|
|
329
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
330
|
+
value?: any;
|
|
331
|
+
}>>;
|
|
332
|
+
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
334
|
+
name: string;
|
|
335
|
+
options?: {
|
|
336
|
+
value: string;
|
|
337
|
+
label: string;
|
|
338
|
+
disabled?: boolean | undefined;
|
|
339
|
+
}[] | undefined;
|
|
340
|
+
label?: string | undefined;
|
|
341
|
+
disabled?: boolean | undefined;
|
|
342
|
+
placeholder?: string | undefined;
|
|
343
|
+
helpText?: string | undefined;
|
|
344
|
+
required?: boolean | undefined;
|
|
345
|
+
defaultValue?: any;
|
|
346
|
+
prefill?: string | string[] | undefined;
|
|
347
|
+
displayHint?: string | undefined;
|
|
348
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
349
|
+
muted?: boolean | undefined;
|
|
350
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
351
|
+
valueFormat?: string | undefined;
|
|
352
|
+
valueFormatHint?: string | undefined;
|
|
353
|
+
minLength?: number | undefined;
|
|
354
|
+
maxLength?: number | undefined;
|
|
355
|
+
pattern?: string | undefined;
|
|
356
|
+
min?: number | undefined;
|
|
357
|
+
max?: number | undefined;
|
|
358
|
+
step?: number | undefined;
|
|
359
|
+
minDate?: string | undefined;
|
|
360
|
+
maxDate?: string | undefined;
|
|
361
|
+
multiple?: boolean | undefined;
|
|
362
|
+
apiUrl?: string | undefined;
|
|
363
|
+
searchParam?: string | undefined;
|
|
364
|
+
labelField?: string | undefined;
|
|
365
|
+
valueField?: string | undefined;
|
|
366
|
+
extraParams?: Record<string, string> | undefined;
|
|
367
|
+
minChars?: number | undefined;
|
|
368
|
+
debounceMs?: number | undefined;
|
|
369
|
+
dependsOn?: {
|
|
370
|
+
field: string;
|
|
371
|
+
apiUrl: string;
|
|
372
|
+
labelField: string;
|
|
373
|
+
valueField: string;
|
|
374
|
+
extraParams?: Record<string, string> | undefined;
|
|
375
|
+
} | undefined;
|
|
376
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
377
|
+
statusReason?: string | undefined;
|
|
378
|
+
checkboxLabel?: string | undefined;
|
|
379
|
+
rows?: number | undefined;
|
|
380
|
+
showWhen?: {
|
|
381
|
+
field: string;
|
|
382
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
383
|
+
value?: any;
|
|
384
|
+
} | undefined;
|
|
385
|
+
}, {
|
|
386
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
387
|
+
name: string;
|
|
388
|
+
options?: {
|
|
389
|
+
value: string;
|
|
390
|
+
label: string;
|
|
391
|
+
disabled?: boolean | undefined;
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
label?: string | undefined;
|
|
394
|
+
disabled?: boolean | undefined;
|
|
395
|
+
placeholder?: string | undefined;
|
|
396
|
+
helpText?: string | undefined;
|
|
397
|
+
required?: boolean | undefined;
|
|
398
|
+
defaultValue?: any;
|
|
399
|
+
prefill?: string | string[] | undefined;
|
|
400
|
+
displayHint?: string | undefined;
|
|
401
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
402
|
+
muted?: boolean | undefined;
|
|
403
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
404
|
+
valueFormat?: string | undefined;
|
|
405
|
+
valueFormatHint?: string | undefined;
|
|
406
|
+
minLength?: number | undefined;
|
|
407
|
+
maxLength?: number | undefined;
|
|
408
|
+
pattern?: string | undefined;
|
|
409
|
+
min?: number | undefined;
|
|
410
|
+
max?: number | undefined;
|
|
411
|
+
step?: number | undefined;
|
|
412
|
+
minDate?: string | undefined;
|
|
413
|
+
maxDate?: string | undefined;
|
|
414
|
+
multiple?: boolean | undefined;
|
|
415
|
+
apiUrl?: string | undefined;
|
|
416
|
+
searchParam?: string | undefined;
|
|
417
|
+
labelField?: string | undefined;
|
|
418
|
+
valueField?: string | undefined;
|
|
419
|
+
extraParams?: Record<string, string> | undefined;
|
|
420
|
+
minChars?: number | undefined;
|
|
421
|
+
debounceMs?: number | undefined;
|
|
422
|
+
dependsOn?: {
|
|
423
|
+
field: string;
|
|
424
|
+
apiUrl: string;
|
|
425
|
+
labelField: string;
|
|
426
|
+
valueField: string;
|
|
427
|
+
extraParams?: Record<string, string> | undefined;
|
|
428
|
+
} | undefined;
|
|
429
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
430
|
+
statusReason?: string | undefined;
|
|
431
|
+
checkboxLabel?: string | undefined;
|
|
432
|
+
rows?: number | undefined;
|
|
433
|
+
showWhen?: {
|
|
434
|
+
field: string;
|
|
435
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
436
|
+
value?: any;
|
|
437
|
+
} | undefined;
|
|
438
|
+
}>, "many">;
|
|
439
|
+
submitLabel: z.ZodOptional<z.ZodString>;
|
|
440
|
+
showReset: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
submitAction: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
toolName: z.ZodString;
|
|
443
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
toolName: string;
|
|
446
|
+
params?: Record<string, unknown> | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
toolName: string;
|
|
449
|
+
params?: Record<string, unknown> | undefined;
|
|
450
|
+
}>>;
|
|
451
|
+
persistKey: z.ZodOptional<z.ZodString>;
|
|
452
|
+
excludeFromPersistence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
453
|
+
persistExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
454
|
+
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "inline"]>>;
|
|
455
|
+
autoSubmitDelay: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
|
+
fields: {
|
|
458
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
459
|
+
name: string;
|
|
460
|
+
options?: {
|
|
461
|
+
value: string;
|
|
462
|
+
label: string;
|
|
463
|
+
disabled?: boolean | undefined;
|
|
464
|
+
}[] | undefined;
|
|
465
|
+
label?: string | undefined;
|
|
466
|
+
disabled?: boolean | undefined;
|
|
467
|
+
placeholder?: string | undefined;
|
|
468
|
+
helpText?: string | undefined;
|
|
469
|
+
required?: boolean | undefined;
|
|
470
|
+
defaultValue?: any;
|
|
471
|
+
prefill?: string | string[] | undefined;
|
|
472
|
+
displayHint?: string | undefined;
|
|
473
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
474
|
+
muted?: boolean | undefined;
|
|
475
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
476
|
+
valueFormat?: string | undefined;
|
|
477
|
+
valueFormatHint?: string | undefined;
|
|
478
|
+
minLength?: number | undefined;
|
|
479
|
+
maxLength?: number | undefined;
|
|
480
|
+
pattern?: string | undefined;
|
|
481
|
+
min?: number | undefined;
|
|
482
|
+
max?: number | undefined;
|
|
483
|
+
step?: number | undefined;
|
|
484
|
+
minDate?: string | undefined;
|
|
485
|
+
maxDate?: string | undefined;
|
|
486
|
+
multiple?: boolean | undefined;
|
|
487
|
+
apiUrl?: string | undefined;
|
|
488
|
+
searchParam?: string | undefined;
|
|
489
|
+
labelField?: string | undefined;
|
|
490
|
+
valueField?: string | undefined;
|
|
491
|
+
extraParams?: Record<string, string> | undefined;
|
|
492
|
+
minChars?: number | undefined;
|
|
493
|
+
debounceMs?: number | undefined;
|
|
494
|
+
dependsOn?: {
|
|
495
|
+
field: string;
|
|
496
|
+
apiUrl: string;
|
|
497
|
+
labelField: string;
|
|
498
|
+
valueField: string;
|
|
499
|
+
extraParams?: Record<string, string> | undefined;
|
|
500
|
+
} | undefined;
|
|
501
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
502
|
+
statusReason?: string | undefined;
|
|
503
|
+
checkboxLabel?: string | undefined;
|
|
504
|
+
rows?: number | undefined;
|
|
505
|
+
showWhen?: {
|
|
506
|
+
field: string;
|
|
507
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
508
|
+
value?: any;
|
|
509
|
+
} | undefined;
|
|
510
|
+
}[];
|
|
511
|
+
title?: string | undefined;
|
|
512
|
+
submitLabel?: string | undefined;
|
|
513
|
+
showReset?: boolean | undefined;
|
|
514
|
+
submitAction?: {
|
|
515
|
+
toolName: string;
|
|
516
|
+
params?: Record<string, unknown> | undefined;
|
|
517
|
+
} | undefined;
|
|
518
|
+
persistKey?: string | undefined;
|
|
519
|
+
excludeFromPersistence?: string[] | undefined;
|
|
520
|
+
persistExpiresIn?: number | undefined;
|
|
521
|
+
layout?: "vertical" | "horizontal" | "inline" | undefined;
|
|
522
|
+
autoSubmitDelay?: number | undefined;
|
|
523
|
+
}, {
|
|
524
|
+
fields: {
|
|
525
|
+
type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
|
|
526
|
+
name: string;
|
|
527
|
+
options?: {
|
|
528
|
+
value: string;
|
|
529
|
+
label: string;
|
|
530
|
+
disabled?: boolean | undefined;
|
|
531
|
+
}[] | undefined;
|
|
532
|
+
label?: string | undefined;
|
|
533
|
+
disabled?: boolean | undefined;
|
|
534
|
+
placeholder?: string | undefined;
|
|
535
|
+
helpText?: string | undefined;
|
|
536
|
+
required?: boolean | undefined;
|
|
537
|
+
defaultValue?: any;
|
|
538
|
+
prefill?: string | string[] | undefined;
|
|
539
|
+
displayHint?: string | undefined;
|
|
540
|
+
source?: "user" | "detected" | "inferred" | "default" | undefined;
|
|
541
|
+
muted?: boolean | undefined;
|
|
542
|
+
prefillMode?: "exact" | "resolve" | undefined;
|
|
543
|
+
valueFormat?: string | undefined;
|
|
544
|
+
valueFormatHint?: string | undefined;
|
|
545
|
+
minLength?: number | undefined;
|
|
546
|
+
maxLength?: number | undefined;
|
|
547
|
+
pattern?: string | undefined;
|
|
548
|
+
min?: number | undefined;
|
|
549
|
+
max?: number | undefined;
|
|
550
|
+
step?: number | undefined;
|
|
551
|
+
minDate?: string | undefined;
|
|
552
|
+
maxDate?: string | undefined;
|
|
553
|
+
multiple?: boolean | undefined;
|
|
554
|
+
apiUrl?: string | undefined;
|
|
555
|
+
searchParam?: string | undefined;
|
|
556
|
+
labelField?: string | undefined;
|
|
557
|
+
valueField?: string | undefined;
|
|
558
|
+
extraParams?: Record<string, string> | undefined;
|
|
559
|
+
minChars?: number | undefined;
|
|
560
|
+
debounceMs?: number | undefined;
|
|
561
|
+
dependsOn?: {
|
|
562
|
+
field: string;
|
|
563
|
+
apiUrl: string;
|
|
564
|
+
labelField: string;
|
|
565
|
+
valueField: string;
|
|
566
|
+
extraParams?: Record<string, string> | undefined;
|
|
567
|
+
} | undefined;
|
|
568
|
+
fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
|
|
569
|
+
statusReason?: string | undefined;
|
|
570
|
+
checkboxLabel?: string | undefined;
|
|
571
|
+
rows?: number | undefined;
|
|
572
|
+
showWhen?: {
|
|
573
|
+
field: string;
|
|
574
|
+
operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
|
|
575
|
+
value?: any;
|
|
576
|
+
} | undefined;
|
|
577
|
+
}[];
|
|
578
|
+
title?: string | undefined;
|
|
579
|
+
submitLabel?: string | undefined;
|
|
580
|
+
showReset?: boolean | undefined;
|
|
581
|
+
submitAction?: {
|
|
582
|
+
toolName: string;
|
|
583
|
+
params?: Record<string, unknown> | undefined;
|
|
584
|
+
} | undefined;
|
|
585
|
+
persistKey?: string | undefined;
|
|
586
|
+
excludeFromPersistence?: string[] | undefined;
|
|
587
|
+
persistExpiresIn?: number | undefined;
|
|
588
|
+
layout?: "vertical" | "horizontal" | "inline" | undefined;
|
|
589
|
+
autoSubmitDelay?: number | undefined;
|
|
590
|
+
}>;
|
|
591
|
+
export declare const ModalSizeSchema: z.ZodEnum<["sm", "md", "lg", "xl", "full"]>;
|
|
592
|
+
export declare const ModalComponentParamsSchema: z.ZodObject<{
|
|
593
|
+
title: z.ZodOptional<z.ZodString>;
|
|
594
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
|
|
595
|
+
showClose: z.ZodOptional<z.ZodBoolean>;
|
|
596
|
+
closeOnEscape: z.ZodOptional<z.ZodBoolean>;
|
|
597
|
+
closeOnBackdrop: z.ZodOptional<z.ZodBoolean>;
|
|
598
|
+
maxHeight: z.ZodOptional<z.ZodString>;
|
|
599
|
+
}, "strip", z.ZodTypeAny, {
|
|
600
|
+
title?: string | undefined;
|
|
601
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
602
|
+
showClose?: boolean | undefined;
|
|
603
|
+
closeOnEscape?: boolean | undefined;
|
|
604
|
+
closeOnBackdrop?: boolean | undefined;
|
|
605
|
+
maxHeight?: string | undefined;
|
|
606
|
+
}, {
|
|
607
|
+
title?: string | undefined;
|
|
608
|
+
size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
|
|
609
|
+
showClose?: boolean | undefined;
|
|
610
|
+
closeOnEscape?: boolean | undefined;
|
|
611
|
+
closeOnBackdrop?: boolean | undefined;
|
|
612
|
+
maxHeight?: string | undefined;
|
|
613
|
+
}>;
|
|
614
|
+
export declare const ActionGroupLayoutSchema: z.ZodEnum<["horizontal", "vertical", "space-between", "end", "center"]>;
|
|
615
|
+
export declare const ActionGroupGapSchema: z.ZodEnum<["none", "sm", "md", "lg"]>;
|
|
616
|
+
export declare const ActionParamsSchema: z.ZodObject<{
|
|
617
|
+
label: z.ZodString;
|
|
618
|
+
type: z.ZodOptional<z.ZodEnum<["button", "link"]>>;
|
|
619
|
+
action: z.ZodOptional<z.ZodEnum<["tool-call", "link", "submit"]>>;
|
|
620
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
621
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
622
|
+
url: z.ZodOptional<z.ZodString>;
|
|
623
|
+
variant: z.ZodOptional<z.ZodEnum<["primary", "secondary", "outline", "ghost", "danger"]>>;
|
|
624
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
625
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
626
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
627
|
+
}, "strip", z.ZodTypeAny, {
|
|
628
|
+
label: string;
|
|
629
|
+
params?: Record<string, unknown> | undefined;
|
|
630
|
+
type?: "link" | "button" | undefined;
|
|
631
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
632
|
+
disabled?: boolean | undefined;
|
|
633
|
+
toolName?: string | undefined;
|
|
634
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
635
|
+
url?: string | undefined;
|
|
636
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
637
|
+
icon?: string | undefined;
|
|
638
|
+
}, {
|
|
639
|
+
label: string;
|
|
640
|
+
params?: Record<string, unknown> | undefined;
|
|
641
|
+
type?: "link" | "button" | undefined;
|
|
642
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
643
|
+
disabled?: boolean | undefined;
|
|
644
|
+
toolName?: string | undefined;
|
|
645
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
646
|
+
url?: string | undefined;
|
|
647
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
648
|
+
icon?: string | undefined;
|
|
649
|
+
}>;
|
|
650
|
+
export declare const ActionGroupParamsSchema: z.ZodObject<{
|
|
651
|
+
actions: z.ZodArray<z.ZodObject<{
|
|
652
|
+
label: z.ZodString;
|
|
653
|
+
type: z.ZodOptional<z.ZodEnum<["button", "link"]>>;
|
|
654
|
+
action: z.ZodOptional<z.ZodEnum<["tool-call", "link", "submit"]>>;
|
|
655
|
+
toolName: z.ZodOptional<z.ZodString>;
|
|
656
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
657
|
+
url: z.ZodOptional<z.ZodString>;
|
|
658
|
+
variant: z.ZodOptional<z.ZodEnum<["primary", "secondary", "outline", "ghost", "danger"]>>;
|
|
659
|
+
size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
|
|
660
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
661
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
label: string;
|
|
664
|
+
params?: Record<string, unknown> | undefined;
|
|
665
|
+
type?: "link" | "button" | undefined;
|
|
666
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
667
|
+
disabled?: boolean | undefined;
|
|
668
|
+
toolName?: string | undefined;
|
|
669
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
670
|
+
url?: string | undefined;
|
|
671
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
672
|
+
icon?: string | undefined;
|
|
673
|
+
}, {
|
|
674
|
+
label: string;
|
|
675
|
+
params?: Record<string, unknown> | undefined;
|
|
676
|
+
type?: "link" | "button" | undefined;
|
|
677
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
678
|
+
disabled?: boolean | undefined;
|
|
679
|
+
toolName?: string | undefined;
|
|
680
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
681
|
+
url?: string | undefined;
|
|
682
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
683
|
+
icon?: string | undefined;
|
|
684
|
+
}>, "many">;
|
|
685
|
+
layout: z.ZodOptional<z.ZodEnum<["horizontal", "vertical", "space-between", "end", "center"]>>;
|
|
686
|
+
gap: z.ZodOptional<z.ZodEnum<["none", "sm", "md", "lg"]>>;
|
|
687
|
+
fullWidth: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
+
label: z.ZodOptional<z.ZodString>;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
actions: {
|
|
691
|
+
label: string;
|
|
692
|
+
params?: Record<string, unknown> | undefined;
|
|
693
|
+
type?: "link" | "button" | undefined;
|
|
694
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
695
|
+
disabled?: boolean | undefined;
|
|
696
|
+
toolName?: string | undefined;
|
|
697
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
698
|
+
url?: string | undefined;
|
|
699
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
700
|
+
icon?: string | undefined;
|
|
701
|
+
}[];
|
|
702
|
+
label?: string | undefined;
|
|
703
|
+
layout?: "vertical" | "horizontal" | "space-between" | "end" | "center" | undefined;
|
|
704
|
+
gap?: "sm" | "md" | "lg" | "none" | undefined;
|
|
705
|
+
fullWidth?: boolean | undefined;
|
|
706
|
+
}, {
|
|
707
|
+
actions: {
|
|
708
|
+
label: string;
|
|
709
|
+
params?: Record<string, unknown> | undefined;
|
|
710
|
+
type?: "link" | "button" | undefined;
|
|
711
|
+
action?: "link" | "tool-call" | "submit" | undefined;
|
|
712
|
+
disabled?: boolean | undefined;
|
|
713
|
+
toolName?: string | undefined;
|
|
714
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
715
|
+
url?: string | undefined;
|
|
716
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
|
|
717
|
+
icon?: string | undefined;
|
|
718
|
+
}[];
|
|
719
|
+
label?: string | undefined;
|
|
720
|
+
layout?: "vertical" | "horizontal" | "space-between" | "end" | "center" | undefined;
|
|
721
|
+
gap?: "sm" | "md" | "lg" | "none" | undefined;
|
|
722
|
+
fullWidth?: boolean | undefined;
|
|
723
|
+
}>;
|
|
724
|
+
export declare const GalleryImageSchema: z.ZodObject<{
|
|
725
|
+
url: z.ZodString;
|
|
726
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
727
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
728
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
729
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
730
|
+
sizes: z.ZodOptional<z.ZodString>;
|
|
731
|
+
}, "strip", z.ZodTypeAny, {
|
|
732
|
+
url: string;
|
|
733
|
+
thumbnail?: string | undefined;
|
|
734
|
+
alt?: string | undefined;
|
|
735
|
+
caption?: string | undefined;
|
|
736
|
+
srcset?: string | undefined;
|
|
737
|
+
sizes?: string | undefined;
|
|
738
|
+
}, {
|
|
739
|
+
url: string;
|
|
740
|
+
thumbnail?: string | undefined;
|
|
741
|
+
alt?: string | undefined;
|
|
742
|
+
caption?: string | undefined;
|
|
743
|
+
srcset?: string | undefined;
|
|
744
|
+
sizes?: string | undefined;
|
|
745
|
+
}>;
|
|
746
|
+
export declare const ImageGalleryColumnsSchema: z.ZodType<2 | 3 | 4 | 5>;
|
|
747
|
+
export declare const ImageGalleryGapSchema: z.ZodEnum<["none", "sm", "md", "lg"]>;
|
|
748
|
+
export declare const ImageGalleryAspectRatioSchema: z.ZodEnum<["1:1", "16:9", "4:3", "auto"]>;
|
|
749
|
+
export declare const ImageGalleryParamsSchema: z.ZodObject<{
|
|
750
|
+
title: z.ZodOptional<z.ZodString>;
|
|
751
|
+
images: z.ZodArray<z.ZodObject<{
|
|
752
|
+
url: z.ZodString;
|
|
753
|
+
thumbnail: z.ZodOptional<z.ZodString>;
|
|
754
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
755
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
756
|
+
srcset: z.ZodOptional<z.ZodString>;
|
|
757
|
+
sizes: z.ZodOptional<z.ZodString>;
|
|
758
|
+
}, "strip", z.ZodTypeAny, {
|
|
759
|
+
url: string;
|
|
760
|
+
thumbnail?: string | undefined;
|
|
761
|
+
alt?: string | undefined;
|
|
762
|
+
caption?: string | undefined;
|
|
763
|
+
srcset?: string | undefined;
|
|
764
|
+
sizes?: string | undefined;
|
|
765
|
+
}, {
|
|
766
|
+
url: string;
|
|
767
|
+
thumbnail?: string | undefined;
|
|
768
|
+
alt?: string | undefined;
|
|
769
|
+
caption?: string | undefined;
|
|
770
|
+
srcset?: string | undefined;
|
|
771
|
+
sizes?: string | undefined;
|
|
772
|
+
}>, "many">;
|
|
773
|
+
columns: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
|
|
774
|
+
gap: z.ZodOptional<z.ZodEnum<["none", "sm", "md", "lg"]>>;
|
|
775
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "4:3", "auto"]>>;
|
|
776
|
+
lightbox: z.ZodOptional<z.ZodBoolean>;
|
|
777
|
+
showCaptions: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
+
}, "strip", z.ZodTypeAny, {
|
|
779
|
+
images: {
|
|
780
|
+
url: string;
|
|
781
|
+
thumbnail?: string | undefined;
|
|
782
|
+
alt?: string | undefined;
|
|
783
|
+
caption?: string | undefined;
|
|
784
|
+
srcset?: string | undefined;
|
|
785
|
+
sizes?: string | undefined;
|
|
786
|
+
}[];
|
|
787
|
+
title?: string | undefined;
|
|
788
|
+
gap?: "sm" | "md" | "lg" | "none" | undefined;
|
|
789
|
+
columns?: 2 | 4 | 3 | 5 | undefined;
|
|
790
|
+
aspectRatio?: "1:1" | "16:9" | "4:3" | "auto" | undefined;
|
|
791
|
+
lightbox?: boolean | undefined;
|
|
792
|
+
showCaptions?: boolean | undefined;
|
|
793
|
+
}, {
|
|
794
|
+
images: {
|
|
795
|
+
url: string;
|
|
796
|
+
thumbnail?: string | undefined;
|
|
797
|
+
alt?: string | undefined;
|
|
798
|
+
caption?: string | undefined;
|
|
799
|
+
srcset?: string | undefined;
|
|
800
|
+
sizes?: string | undefined;
|
|
801
|
+
}[];
|
|
802
|
+
title?: string | undefined;
|
|
803
|
+
gap?: "sm" | "md" | "lg" | "none" | undefined;
|
|
804
|
+
columns?: 2 | 4 | 3 | 5 | undefined;
|
|
805
|
+
aspectRatio?: "1:1" | "16:9" | "4:3" | "auto" | undefined;
|
|
806
|
+
lightbox?: boolean | undefined;
|
|
807
|
+
showCaptions?: boolean | undefined;
|
|
808
|
+
}>;
|
|
809
|
+
export declare const VideoAspectRatioSchema: z.ZodEnum<["16:9", "4:3", "1:1", "21:9"]>;
|
|
810
|
+
export declare const VideoComponentParamsSchema: z.ZodObject<{
|
|
811
|
+
url: z.ZodString;
|
|
812
|
+
title: z.ZodOptional<z.ZodString>;
|
|
813
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
814
|
+
poster: z.ZodOptional<z.ZodString>;
|
|
815
|
+
aspectRatio: z.ZodOptional<z.ZodEnum<["16:9", "4:3", "1:1", "21:9"]>>;
|
|
816
|
+
autoplay: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
+
controls: z.ZodOptional<z.ZodBoolean>;
|
|
818
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
819
|
+
muted: z.ZodOptional<z.ZodBoolean>;
|
|
820
|
+
startTime: z.ZodOptional<z.ZodNumber>;
|
|
821
|
+
}, "strip", z.ZodTypeAny, {
|
|
822
|
+
url: string;
|
|
823
|
+
muted?: boolean | undefined;
|
|
824
|
+
title?: string | undefined;
|
|
825
|
+
caption?: string | undefined;
|
|
826
|
+
aspectRatio?: "1:1" | "16:9" | "4:3" | "21:9" | undefined;
|
|
827
|
+
poster?: string | undefined;
|
|
828
|
+
autoplay?: boolean | undefined;
|
|
829
|
+
controls?: boolean | undefined;
|
|
830
|
+
loop?: boolean | undefined;
|
|
831
|
+
startTime?: number | undefined;
|
|
832
|
+
}, {
|
|
833
|
+
url: string;
|
|
834
|
+
muted?: boolean | undefined;
|
|
835
|
+
title?: string | undefined;
|
|
836
|
+
caption?: string | undefined;
|
|
837
|
+
aspectRatio?: "1:1" | "16:9" | "4:3" | "21:9" | undefined;
|
|
838
|
+
poster?: string | undefined;
|
|
839
|
+
autoplay?: boolean | undefined;
|
|
840
|
+
controls?: boolean | undefined;
|
|
841
|
+
loop?: boolean | undefined;
|
|
842
|
+
startTime?: number | undefined;
|
|
843
|
+
}>;
|
|
844
|
+
export declare const CodeComponentParamsSchema: z.ZodObject<{
|
|
845
|
+
code: z.ZodString;
|
|
846
|
+
language: z.ZodOptional<z.ZodString>;
|
|
847
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
848
|
+
showLineNumbers: z.ZodOptional<z.ZodBoolean>;
|
|
849
|
+
startLine: z.ZodOptional<z.ZodNumber>;
|
|
850
|
+
highlightLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
851
|
+
maxHeight: z.ZodOptional<z.ZodString>;
|
|
852
|
+
theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
|
|
853
|
+
}, "strip", z.ZodTypeAny, {
|
|
854
|
+
code: string;
|
|
855
|
+
maxHeight?: string | undefined;
|
|
856
|
+
language?: string | undefined;
|
|
857
|
+
filename?: string | undefined;
|
|
858
|
+
showLineNumbers?: boolean | undefined;
|
|
859
|
+
startLine?: number | undefined;
|
|
860
|
+
highlightLines?: number[] | undefined;
|
|
861
|
+
theme?: "light" | "dark" | undefined;
|
|
862
|
+
}, {
|
|
863
|
+
code: string;
|
|
864
|
+
maxHeight?: string | undefined;
|
|
865
|
+
language?: string | undefined;
|
|
866
|
+
filename?: string | undefined;
|
|
867
|
+
showLineNumbers?: boolean | undefined;
|
|
868
|
+
startLine?: number | undefined;
|
|
869
|
+
highlightLines?: number[] | undefined;
|
|
870
|
+
theme?: "light" | "dark" | undefined;
|
|
871
|
+
}>;
|
|
872
|
+
export declare const LatLngObjectSchema: z.ZodObject<{
|
|
873
|
+
lat: z.ZodNumber;
|
|
874
|
+
lng: z.ZodNumber;
|
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
|
876
|
+
lat: number;
|
|
877
|
+
lng: number;
|
|
878
|
+
}, {
|
|
879
|
+
lat: number;
|
|
880
|
+
lng: number;
|
|
881
|
+
}>;
|
|
882
|
+
export declare const LatLngTupleSchema: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
883
|
+
export declare const LatLngPointSchema: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
884
|
+
lat: z.ZodNumber;
|
|
885
|
+
lng: z.ZodNumber;
|
|
886
|
+
}, "strip", z.ZodTypeAny, {
|
|
887
|
+
lat: number;
|
|
888
|
+
lng: number;
|
|
889
|
+
}, {
|
|
890
|
+
lat: number;
|
|
891
|
+
lng: number;
|
|
892
|
+
}>]>;
|
|
893
|
+
export declare const MapMarkerSchema: z.ZodObject<{
|
|
894
|
+
position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
895
|
+
lat: z.ZodNumber;
|
|
896
|
+
lng: z.ZodNumber;
|
|
897
|
+
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
lat: number;
|
|
899
|
+
lng: number;
|
|
900
|
+
}, {
|
|
901
|
+
lat: number;
|
|
902
|
+
lng: number;
|
|
903
|
+
}>]>;
|
|
904
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
905
|
+
popup: z.ZodOptional<z.ZodString>;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
position: {
|
|
908
|
+
lat: number;
|
|
909
|
+
lng: number;
|
|
910
|
+
} | [number, number];
|
|
911
|
+
tooltip?: string | undefined;
|
|
912
|
+
popup?: string | undefined;
|
|
913
|
+
}, {
|
|
914
|
+
position: {
|
|
915
|
+
lat: number;
|
|
916
|
+
lng: number;
|
|
917
|
+
} | [number, number];
|
|
918
|
+
tooltip?: string | undefined;
|
|
919
|
+
popup?: string | undefined;
|
|
920
|
+
}>;
|
|
921
|
+
export declare const MapComponentParamsSchema: z.ZodObject<{
|
|
922
|
+
center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
923
|
+
lat: z.ZodNumber;
|
|
924
|
+
lng: z.ZodNumber;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
lat: number;
|
|
927
|
+
lng: number;
|
|
928
|
+
}, {
|
|
929
|
+
lat: number;
|
|
930
|
+
lng: number;
|
|
931
|
+
}>]>>;
|
|
932
|
+
zoom: z.ZodOptional<z.ZodNumber>;
|
|
933
|
+
markers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
934
|
+
position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
|
|
935
|
+
lat: z.ZodNumber;
|
|
936
|
+
lng: z.ZodNumber;
|
|
937
|
+
}, "strip", z.ZodTypeAny, {
|
|
938
|
+
lat: number;
|
|
939
|
+
lng: number;
|
|
940
|
+
}, {
|
|
941
|
+
lat: number;
|
|
942
|
+
lng: number;
|
|
943
|
+
}>]>;
|
|
944
|
+
tooltip: z.ZodOptional<z.ZodString>;
|
|
945
|
+
popup: z.ZodOptional<z.ZodString>;
|
|
946
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
position: {
|
|
948
|
+
lat: number;
|
|
949
|
+
lng: number;
|
|
950
|
+
} | [number, number];
|
|
951
|
+
tooltip?: string | undefined;
|
|
952
|
+
popup?: string | undefined;
|
|
953
|
+
}, {
|
|
954
|
+
position: {
|
|
955
|
+
lat: number;
|
|
956
|
+
lng: number;
|
|
957
|
+
} | [number, number];
|
|
958
|
+
tooltip?: string | undefined;
|
|
959
|
+
popup?: string | undefined;
|
|
960
|
+
}>, "many">>;
|
|
961
|
+
height: z.ZodOptional<z.ZodString>;
|
|
962
|
+
fitBounds: z.ZodOptional<z.ZodBoolean>;
|
|
963
|
+
zoomControl: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
+
scrollWheelZoom: z.ZodOptional<z.ZodBoolean>;
|
|
965
|
+
tileLayer: z.ZodOptional<z.ZodString>;
|
|
966
|
+
attribution: z.ZodOptional<z.ZodString>;
|
|
967
|
+
}, "strip", z.ZodTypeAny, {
|
|
968
|
+
center?: {
|
|
969
|
+
lat: number;
|
|
970
|
+
lng: number;
|
|
971
|
+
} | [number, number] | undefined;
|
|
972
|
+
zoom?: number | undefined;
|
|
973
|
+
markers?: {
|
|
974
|
+
position: {
|
|
975
|
+
lat: number;
|
|
976
|
+
lng: number;
|
|
977
|
+
} | [number, number];
|
|
978
|
+
tooltip?: string | undefined;
|
|
979
|
+
popup?: string | undefined;
|
|
980
|
+
}[] | undefined;
|
|
981
|
+
height?: string | undefined;
|
|
982
|
+
fitBounds?: boolean | undefined;
|
|
983
|
+
zoomControl?: boolean | undefined;
|
|
984
|
+
scrollWheelZoom?: boolean | undefined;
|
|
985
|
+
tileLayer?: string | undefined;
|
|
986
|
+
attribution?: string | undefined;
|
|
987
|
+
}, {
|
|
988
|
+
center?: {
|
|
989
|
+
lat: number;
|
|
990
|
+
lng: number;
|
|
991
|
+
} | [number, number] | undefined;
|
|
992
|
+
zoom?: number | undefined;
|
|
993
|
+
markers?: {
|
|
994
|
+
position: {
|
|
995
|
+
lat: number;
|
|
996
|
+
lng: number;
|
|
997
|
+
} | [number, number];
|
|
998
|
+
tooltip?: string | undefined;
|
|
999
|
+
popup?: string | undefined;
|
|
1000
|
+
}[] | undefined;
|
|
1001
|
+
height?: string | undefined;
|
|
1002
|
+
fitBounds?: boolean | undefined;
|
|
1003
|
+
zoomControl?: boolean | undefined;
|
|
1004
|
+
scrollWheelZoom?: boolean | undefined;
|
|
1005
|
+
tileLayer?: string | undefined;
|
|
1006
|
+
attribution?: string | undefined;
|
|
1007
|
+
}>;
|
|
1008
|
+
export declare const ChartTypeSchema: z.ZodEnum<["bar", "line", "pie", "doughnut", "radar", "scatter", "bubble", "polarArea"]>;
|
|
1009
|
+
export declare const ChartDatasetSchema: z.ZodObject<{
|
|
1010
|
+
label: z.ZodString;
|
|
1011
|
+
data: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodObject<{
|
|
1012
|
+
x: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1013
|
+
y: z.ZodNumber;
|
|
1014
|
+
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
x: string | number;
|
|
1016
|
+
y: number;
|
|
1017
|
+
}, {
|
|
1018
|
+
x: string | number;
|
|
1019
|
+
y: number;
|
|
1020
|
+
}>, "many">]>;
|
|
1021
|
+
backgroundColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1022
|
+
borderColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1023
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
1024
|
+
fill: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
1025
|
+
tension: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
+
}, "strip", z.ZodTypeAny, {
|
|
1027
|
+
label: string;
|
|
1028
|
+
data: number[] | {
|
|
1029
|
+
x: string | number;
|
|
1030
|
+
y: number;
|
|
1031
|
+
}[];
|
|
1032
|
+
fill?: string | boolean | undefined;
|
|
1033
|
+
backgroundColor?: string | string[] | undefined;
|
|
1034
|
+
borderColor?: string | string[] | undefined;
|
|
1035
|
+
borderWidth?: number | undefined;
|
|
1036
|
+
tension?: number | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
label: string;
|
|
1039
|
+
data: number[] | {
|
|
1040
|
+
x: string | number;
|
|
1041
|
+
y: number;
|
|
1042
|
+
}[];
|
|
1043
|
+
fill?: string | boolean | undefined;
|
|
1044
|
+
backgroundColor?: string | string[] | undefined;
|
|
1045
|
+
borderColor?: string | string[] | undefined;
|
|
1046
|
+
borderWidth?: number | undefined;
|
|
1047
|
+
tension?: number | undefined;
|
|
1048
|
+
}>;
|
|
1049
|
+
export declare const ChartTimeAxisSchema: z.ZodObject<{
|
|
1050
|
+
parser: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
unit: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
|
|
1052
|
+
tooltipFormat: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
}, "strip", z.ZodTypeAny, {
|
|
1056
|
+
min?: string | undefined;
|
|
1057
|
+
max?: string | undefined;
|
|
1058
|
+
parser?: string | undefined;
|
|
1059
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1060
|
+
tooltipFormat?: string | undefined;
|
|
1061
|
+
}, {
|
|
1062
|
+
min?: string | undefined;
|
|
1063
|
+
max?: string | undefined;
|
|
1064
|
+
parser?: string | undefined;
|
|
1065
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1066
|
+
tooltipFormat?: string | undefined;
|
|
1067
|
+
}>;
|
|
1068
|
+
export declare const ChartComponentParamsSchema: z.ZodObject<{
|
|
1069
|
+
type: z.ZodEnum<["bar", "line", "pie", "doughnut", "radar", "scatter", "bubble", "polarArea"]>;
|
|
1070
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
data: z.ZodObject<{
|
|
1072
|
+
labels: z.ZodArray<z.ZodString, "many">;
|
|
1073
|
+
datasets: z.ZodArray<z.ZodObject<{
|
|
1074
|
+
label: z.ZodString;
|
|
1075
|
+
data: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodObject<{
|
|
1076
|
+
x: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1077
|
+
y: z.ZodNumber;
|
|
1078
|
+
}, "strip", z.ZodTypeAny, {
|
|
1079
|
+
x: string | number;
|
|
1080
|
+
y: number;
|
|
1081
|
+
}, {
|
|
1082
|
+
x: string | number;
|
|
1083
|
+
y: number;
|
|
1084
|
+
}>, "many">]>;
|
|
1085
|
+
backgroundColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1086
|
+
borderColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1087
|
+
borderWidth: z.ZodOptional<z.ZodNumber>;
|
|
1088
|
+
fill: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
|
|
1089
|
+
tension: z.ZodOptional<z.ZodNumber>;
|
|
1090
|
+
}, "strip", z.ZodTypeAny, {
|
|
1091
|
+
label: string;
|
|
1092
|
+
data: number[] | {
|
|
1093
|
+
x: string | number;
|
|
1094
|
+
y: number;
|
|
1095
|
+
}[];
|
|
1096
|
+
fill?: string | boolean | undefined;
|
|
1097
|
+
backgroundColor?: string | string[] | undefined;
|
|
1098
|
+
borderColor?: string | string[] | undefined;
|
|
1099
|
+
borderWidth?: number | undefined;
|
|
1100
|
+
tension?: number | undefined;
|
|
1101
|
+
}, {
|
|
1102
|
+
label: string;
|
|
1103
|
+
data: number[] | {
|
|
1104
|
+
x: string | number;
|
|
1105
|
+
y: number;
|
|
1106
|
+
}[];
|
|
1107
|
+
fill?: string | boolean | undefined;
|
|
1108
|
+
backgroundColor?: string | string[] | undefined;
|
|
1109
|
+
borderColor?: string | string[] | undefined;
|
|
1110
|
+
borderWidth?: number | undefined;
|
|
1111
|
+
tension?: number | undefined;
|
|
1112
|
+
}>, "many">;
|
|
1113
|
+
}, "strip", z.ZodTypeAny, {
|
|
1114
|
+
labels: string[];
|
|
1115
|
+
datasets: {
|
|
1116
|
+
label: string;
|
|
1117
|
+
data: number[] | {
|
|
1118
|
+
x: string | number;
|
|
1119
|
+
y: number;
|
|
1120
|
+
}[];
|
|
1121
|
+
fill?: string | boolean | undefined;
|
|
1122
|
+
backgroundColor?: string | string[] | undefined;
|
|
1123
|
+
borderColor?: string | string[] | undefined;
|
|
1124
|
+
borderWidth?: number | undefined;
|
|
1125
|
+
tension?: number | undefined;
|
|
1126
|
+
}[];
|
|
1127
|
+
}, {
|
|
1128
|
+
labels: string[];
|
|
1129
|
+
datasets: {
|
|
1130
|
+
label: string;
|
|
1131
|
+
data: number[] | {
|
|
1132
|
+
x: string | number;
|
|
1133
|
+
y: number;
|
|
1134
|
+
}[];
|
|
1135
|
+
fill?: string | boolean | undefined;
|
|
1136
|
+
backgroundColor?: string | string[] | undefined;
|
|
1137
|
+
borderColor?: string | string[] | undefined;
|
|
1138
|
+
borderWidth?: number | undefined;
|
|
1139
|
+
tension?: number | undefined;
|
|
1140
|
+
}[];
|
|
1141
|
+
}>;
|
|
1142
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
1143
|
+
responsive: z.ZodOptional<z.ZodBoolean>;
|
|
1144
|
+
maintainAspectRatio: z.ZodOptional<z.ZodBoolean>;
|
|
1145
|
+
tension: z.ZodOptional<z.ZodNumber>;
|
|
1146
|
+
scales: z.ZodOptional<z.ZodUnknown>;
|
|
1147
|
+
plugins: z.ZodOptional<z.ZodUnknown>;
|
|
1148
|
+
}, "strip", z.ZodTypeAny, {
|
|
1149
|
+
tension?: number | undefined;
|
|
1150
|
+
responsive?: boolean | undefined;
|
|
1151
|
+
maintainAspectRatio?: boolean | undefined;
|
|
1152
|
+
scales?: unknown;
|
|
1153
|
+
plugins?: unknown;
|
|
1154
|
+
}, {
|
|
1155
|
+
tension?: number | undefined;
|
|
1156
|
+
responsive?: boolean | undefined;
|
|
1157
|
+
maintainAspectRatio?: boolean | undefined;
|
|
1158
|
+
scales?: unknown;
|
|
1159
|
+
plugins?: unknown;
|
|
1160
|
+
}>>;
|
|
1161
|
+
renderer: z.ZodOptional<z.ZodEnum<["native", "iframe", "auto"]>>;
|
|
1162
|
+
exportable: z.ZodOptional<z.ZodBoolean>;
|
|
1163
|
+
timeAxis: z.ZodOptional<z.ZodObject<{
|
|
1164
|
+
parser: z.ZodOptional<z.ZodString>;
|
|
1165
|
+
unit: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
|
|
1166
|
+
tooltipFormat: z.ZodOptional<z.ZodString>;
|
|
1167
|
+
min: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
max: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
}, "strip", z.ZodTypeAny, {
|
|
1170
|
+
min?: string | undefined;
|
|
1171
|
+
max?: string | undefined;
|
|
1172
|
+
parser?: string | undefined;
|
|
1173
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1174
|
+
tooltipFormat?: string | undefined;
|
|
1175
|
+
}, {
|
|
1176
|
+
min?: string | undefined;
|
|
1177
|
+
max?: string | undefined;
|
|
1178
|
+
parser?: string | undefined;
|
|
1179
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1180
|
+
tooltipFormat?: string | undefined;
|
|
1181
|
+
}>>;
|
|
1182
|
+
height: z.ZodOptional<z.ZodString>;
|
|
1183
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1184
|
+
}, "strip", z.ZodTypeAny, {
|
|
1185
|
+
type: "bar" | "line" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
|
|
1186
|
+
data: {
|
|
1187
|
+
labels: string[];
|
|
1188
|
+
datasets: {
|
|
1189
|
+
label: string;
|
|
1190
|
+
data: number[] | {
|
|
1191
|
+
x: string | number;
|
|
1192
|
+
y: number;
|
|
1193
|
+
}[];
|
|
1194
|
+
fill?: string | boolean | undefined;
|
|
1195
|
+
backgroundColor?: string | string[] | undefined;
|
|
1196
|
+
borderColor?: string | string[] | undefined;
|
|
1197
|
+
borderWidth?: number | undefined;
|
|
1198
|
+
tension?: number | undefined;
|
|
1199
|
+
}[];
|
|
1200
|
+
};
|
|
1201
|
+
options?: {
|
|
1202
|
+
tension?: number | undefined;
|
|
1203
|
+
responsive?: boolean | undefined;
|
|
1204
|
+
maintainAspectRatio?: boolean | undefined;
|
|
1205
|
+
scales?: unknown;
|
|
1206
|
+
plugins?: unknown;
|
|
1207
|
+
} | undefined;
|
|
1208
|
+
title?: string | undefined;
|
|
1209
|
+
height?: string | undefined;
|
|
1210
|
+
renderer?: "iframe" | "auto" | "native" | undefined;
|
|
1211
|
+
exportable?: boolean | undefined;
|
|
1212
|
+
timeAxis?: {
|
|
1213
|
+
min?: string | undefined;
|
|
1214
|
+
max?: string | undefined;
|
|
1215
|
+
parser?: string | undefined;
|
|
1216
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1217
|
+
tooltipFormat?: string | undefined;
|
|
1218
|
+
} | undefined;
|
|
1219
|
+
className?: string | undefined;
|
|
1220
|
+
}, {
|
|
1221
|
+
type: "bar" | "line" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
|
|
1222
|
+
data: {
|
|
1223
|
+
labels: string[];
|
|
1224
|
+
datasets: {
|
|
1225
|
+
label: string;
|
|
1226
|
+
data: number[] | {
|
|
1227
|
+
x: string | number;
|
|
1228
|
+
y: number;
|
|
1229
|
+
}[];
|
|
1230
|
+
fill?: string | boolean | undefined;
|
|
1231
|
+
backgroundColor?: string | string[] | undefined;
|
|
1232
|
+
borderColor?: string | string[] | undefined;
|
|
1233
|
+
borderWidth?: number | undefined;
|
|
1234
|
+
tension?: number | undefined;
|
|
1235
|
+
}[];
|
|
1236
|
+
};
|
|
1237
|
+
options?: {
|
|
1238
|
+
tension?: number | undefined;
|
|
1239
|
+
responsive?: boolean | undefined;
|
|
1240
|
+
maintainAspectRatio?: boolean | undefined;
|
|
1241
|
+
scales?: unknown;
|
|
1242
|
+
plugins?: unknown;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
title?: string | undefined;
|
|
1245
|
+
height?: string | undefined;
|
|
1246
|
+
renderer?: "iframe" | "auto" | "native" | undefined;
|
|
1247
|
+
exportable?: boolean | undefined;
|
|
1248
|
+
timeAxis?: {
|
|
1249
|
+
min?: string | undefined;
|
|
1250
|
+
max?: string | undefined;
|
|
1251
|
+
parser?: string | undefined;
|
|
1252
|
+
unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
|
|
1253
|
+
tooltipFormat?: string | undefined;
|
|
1254
|
+
} | undefined;
|
|
1255
|
+
className?: string | undefined;
|
|
1256
|
+
}>;
|
|
1257
|
+
export declare const TableColumnSchema: z.ZodObject<{
|
|
1258
|
+
key: z.ZodString;
|
|
1259
|
+
label: z.ZodString;
|
|
1260
|
+
sortable: z.ZodOptional<z.ZodBoolean>;
|
|
1261
|
+
width: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
}, "strip", z.ZodTypeAny, {
|
|
1263
|
+
label: string;
|
|
1264
|
+
key: string;
|
|
1265
|
+
sortable?: boolean | undefined;
|
|
1266
|
+
width?: string | undefined;
|
|
1267
|
+
}, {
|
|
1268
|
+
label: string;
|
|
1269
|
+
key: string;
|
|
1270
|
+
sortable?: boolean | undefined;
|
|
1271
|
+
width?: string | undefined;
|
|
1272
|
+
}>;
|
|
1273
|
+
export declare const TablePaginationSchema: z.ZodObject<{
|
|
1274
|
+
currentPage: z.ZodNumber;
|
|
1275
|
+
pageSize: z.ZodNumber;
|
|
1276
|
+
totalRows: z.ZodNumber;
|
|
1277
|
+
}, "strip", z.ZodTypeAny, {
|
|
1278
|
+
currentPage: number;
|
|
1279
|
+
pageSize: number;
|
|
1280
|
+
totalRows: number;
|
|
1281
|
+
}, {
|
|
1282
|
+
currentPage: number;
|
|
1283
|
+
pageSize: number;
|
|
1284
|
+
totalRows: number;
|
|
1285
|
+
}>;
|
|
1286
|
+
export declare const TableVirtualizeOptionsSchema: z.ZodObject<{
|
|
1287
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1288
|
+
rowHeight: z.ZodOptional<z.ZodNumber>;
|
|
1289
|
+
overscan: z.ZodOptional<z.ZodNumber>;
|
|
1290
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
|
1292
|
+
enabled?: boolean | undefined;
|
|
1293
|
+
rowHeight?: number | undefined;
|
|
1294
|
+
overscan?: number | undefined;
|
|
1295
|
+
threshold?: number | undefined;
|
|
1296
|
+
}, {
|
|
1297
|
+
enabled?: boolean | undefined;
|
|
1298
|
+
rowHeight?: number | undefined;
|
|
1299
|
+
overscan?: number | undefined;
|
|
1300
|
+
threshold?: number | undefined;
|
|
1301
|
+
}>;
|
|
1302
|
+
export declare const TableExportableSchema: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1303
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodEnum<["csv", "tsv", "json"]>, "many">>;
|
|
1304
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
}, "strip", z.ZodTypeAny, {
|
|
1306
|
+
filename?: string | undefined;
|
|
1307
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1308
|
+
}, {
|
|
1309
|
+
filename?: string | undefined;
|
|
1310
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1311
|
+
}>]>;
|
|
1312
|
+
export declare const TableComponentParamsSchema: z.ZodObject<{
|
|
1313
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1315
|
+
key: z.ZodString;
|
|
1316
|
+
label: z.ZodString;
|
|
1317
|
+
sortable: z.ZodOptional<z.ZodBoolean>;
|
|
1318
|
+
width: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
label: string;
|
|
1321
|
+
key: string;
|
|
1322
|
+
sortable?: boolean | undefined;
|
|
1323
|
+
width?: string | undefined;
|
|
1324
|
+
}, {
|
|
1325
|
+
label: string;
|
|
1326
|
+
key: string;
|
|
1327
|
+
sortable?: boolean | undefined;
|
|
1328
|
+
width?: string | undefined;
|
|
1329
|
+
}>, "many">;
|
|
1330
|
+
rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
1331
|
+
pagination: z.ZodOptional<z.ZodObject<{
|
|
1332
|
+
currentPage: z.ZodNumber;
|
|
1333
|
+
pageSize: z.ZodNumber;
|
|
1334
|
+
totalRows: z.ZodNumber;
|
|
1335
|
+
}, "strip", z.ZodTypeAny, {
|
|
1336
|
+
currentPage: number;
|
|
1337
|
+
pageSize: number;
|
|
1338
|
+
totalRows: number;
|
|
1339
|
+
}, {
|
|
1340
|
+
currentPage: number;
|
|
1341
|
+
pageSize: number;
|
|
1342
|
+
totalRows: number;
|
|
1343
|
+
}>>;
|
|
1344
|
+
virtualize: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1345
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1346
|
+
rowHeight: z.ZodOptional<z.ZodNumber>;
|
|
1347
|
+
overscan: z.ZodOptional<z.ZodNumber>;
|
|
1348
|
+
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1349
|
+
}, "strip", z.ZodTypeAny, {
|
|
1350
|
+
enabled?: boolean | undefined;
|
|
1351
|
+
rowHeight?: number | undefined;
|
|
1352
|
+
overscan?: number | undefined;
|
|
1353
|
+
threshold?: number | undefined;
|
|
1354
|
+
}, {
|
|
1355
|
+
enabled?: boolean | undefined;
|
|
1356
|
+
rowHeight?: number | undefined;
|
|
1357
|
+
overscan?: number | undefined;
|
|
1358
|
+
threshold?: number | undefined;
|
|
1359
|
+
}>]>>;
|
|
1360
|
+
exportable: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
|
|
1361
|
+
formats: z.ZodOptional<z.ZodArray<z.ZodEnum<["csv", "tsv", "json"]>, "many">>;
|
|
1362
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
}, "strip", z.ZodTypeAny, {
|
|
1364
|
+
filename?: string | undefined;
|
|
1365
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1366
|
+
}, {
|
|
1367
|
+
filename?: string | undefined;
|
|
1368
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1369
|
+
}>]>>;
|
|
1370
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1371
|
+
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
rows: Record<string, unknown>[];
|
|
1373
|
+
columns: {
|
|
1374
|
+
label: string;
|
|
1375
|
+
key: string;
|
|
1376
|
+
sortable?: boolean | undefined;
|
|
1377
|
+
width?: string | undefined;
|
|
1378
|
+
}[];
|
|
1379
|
+
title?: string | undefined;
|
|
1380
|
+
exportable?: boolean | {
|
|
1381
|
+
filename?: string | undefined;
|
|
1382
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1383
|
+
} | undefined;
|
|
1384
|
+
className?: string | undefined;
|
|
1385
|
+
pagination?: {
|
|
1386
|
+
currentPage: number;
|
|
1387
|
+
pageSize: number;
|
|
1388
|
+
totalRows: number;
|
|
1389
|
+
} | undefined;
|
|
1390
|
+
virtualize?: boolean | {
|
|
1391
|
+
enabled?: boolean | undefined;
|
|
1392
|
+
rowHeight?: number | undefined;
|
|
1393
|
+
overscan?: number | undefined;
|
|
1394
|
+
threshold?: number | undefined;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
}, {
|
|
1397
|
+
rows: Record<string, unknown>[];
|
|
1398
|
+
columns: {
|
|
1399
|
+
label: string;
|
|
1400
|
+
key: string;
|
|
1401
|
+
sortable?: boolean | undefined;
|
|
1402
|
+
width?: string | undefined;
|
|
1403
|
+
}[];
|
|
1404
|
+
title?: string | undefined;
|
|
1405
|
+
exportable?: boolean | {
|
|
1406
|
+
filename?: string | undefined;
|
|
1407
|
+
formats?: ("csv" | "tsv" | "json")[] | undefined;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
className?: string | undefined;
|
|
1410
|
+
pagination?: {
|
|
1411
|
+
currentPage: number;
|
|
1412
|
+
pageSize: number;
|
|
1413
|
+
totalRows: number;
|
|
1414
|
+
} | undefined;
|
|
1415
|
+
virtualize?: boolean | {
|
|
1416
|
+
enabled?: boolean | undefined;
|
|
1417
|
+
rowHeight?: number | undefined;
|
|
1418
|
+
overscan?: number | undefined;
|
|
1419
|
+
threshold?: number | undefined;
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
}>;
|
|
1422
|
+
export declare const MetricTrendSchema: z.ZodObject<{
|
|
1423
|
+
value: z.ZodNumber;
|
|
1424
|
+
direction: z.ZodEnum<["up", "down", "neutral"]>;
|
|
1425
|
+
}, "strip", z.ZodTypeAny, {
|
|
1426
|
+
value: number;
|
|
1427
|
+
direction: "up" | "down" | "neutral";
|
|
1428
|
+
}, {
|
|
1429
|
+
value: number;
|
|
1430
|
+
direction: "up" | "down" | "neutral";
|
|
1431
|
+
}>;
|
|
1432
|
+
export declare const MetricComponentParamsSchema: z.ZodObject<{
|
|
1433
|
+
title: z.ZodString;
|
|
1434
|
+
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
1435
|
+
unit: z.ZodOptional<z.ZodString>;
|
|
1436
|
+
trend: z.ZodOptional<z.ZodObject<{
|
|
1437
|
+
value: z.ZodNumber;
|
|
1438
|
+
direction: z.ZodEnum<["up", "down", "neutral"]>;
|
|
1439
|
+
}, "strip", z.ZodTypeAny, {
|
|
1440
|
+
value: number;
|
|
1441
|
+
direction: "up" | "down" | "neutral";
|
|
1442
|
+
}, {
|
|
1443
|
+
value: number;
|
|
1444
|
+
direction: "up" | "down" | "neutral";
|
|
1445
|
+
}>>;
|
|
1446
|
+
subtitle: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1448
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1449
|
+
}, "strip", z.ZodTypeAny, {
|
|
1450
|
+
value: string | number;
|
|
1451
|
+
title: string;
|
|
1452
|
+
icon?: string | undefined;
|
|
1453
|
+
unit?: string | undefined;
|
|
1454
|
+
className?: string | undefined;
|
|
1455
|
+
trend?: {
|
|
1456
|
+
value: number;
|
|
1457
|
+
direction: "up" | "down" | "neutral";
|
|
1458
|
+
} | undefined;
|
|
1459
|
+
subtitle?: string | undefined;
|
|
1460
|
+
}, {
|
|
1461
|
+
value: string | number;
|
|
1462
|
+
title: string;
|
|
1463
|
+
icon?: string | undefined;
|
|
1464
|
+
unit?: string | undefined;
|
|
1465
|
+
className?: string | undefined;
|
|
1466
|
+
trend?: {
|
|
1467
|
+
value: number;
|
|
1468
|
+
direction: "up" | "down" | "neutral";
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
subtitle?: string | undefined;
|
|
1471
|
+
}>;
|
|
1472
|
+
export declare const TextComponentParamsSchema: z.ZodObject<{
|
|
1473
|
+
content: z.ZodString;
|
|
1474
|
+
markdown: z.ZodOptional<z.ZodBoolean>;
|
|
1475
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
}, "strip", z.ZodTypeAny, {
|
|
1477
|
+
content: string;
|
|
1478
|
+
className?: string | undefined;
|
|
1479
|
+
markdown?: boolean | undefined;
|
|
1480
|
+
}, {
|
|
1481
|
+
content: string;
|
|
1482
|
+
className?: string | undefined;
|
|
1483
|
+
markdown?: boolean | undefined;
|
|
1484
|
+
}>;
|
|
1485
|
+
export declare const IframeComponentParamsSchema: z.ZodObject<{
|
|
1486
|
+
url: z.ZodString;
|
|
1487
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1488
|
+
height: z.ZodOptional<z.ZodString>;
|
|
1489
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
}, "strip", z.ZodTypeAny, {
|
|
1491
|
+
url: string;
|
|
1492
|
+
title?: string | undefined;
|
|
1493
|
+
height?: string | undefined;
|
|
1494
|
+
className?: string | undefined;
|
|
1495
|
+
}, {
|
|
1496
|
+
url: string;
|
|
1497
|
+
title?: string | undefined;
|
|
1498
|
+
height?: string | undefined;
|
|
1499
|
+
className?: string | undefined;
|
|
1500
|
+
}>;
|
|
1501
|
+
export declare const ImageComponentParamsSchema: z.ZodObject<{
|
|
1502
|
+
url: z.ZodString;
|
|
1503
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
}, "strip", z.ZodTypeAny, {
|
|
1507
|
+
url: string;
|
|
1508
|
+
alt?: string | undefined;
|
|
1509
|
+
caption?: string | undefined;
|
|
1510
|
+
className?: string | undefined;
|
|
1511
|
+
}, {
|
|
1512
|
+
url: string;
|
|
1513
|
+
alt?: string | undefined;
|
|
1514
|
+
caption?: string | undefined;
|
|
1515
|
+
className?: string | undefined;
|
|
1516
|
+
}>;
|
|
1517
|
+
export declare const LinkComponentParamsSchema: z.ZodObject<{
|
|
1518
|
+
url: z.ZodString;
|
|
1519
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1522
|
+
}, "strip", z.ZodTypeAny, {
|
|
1523
|
+
url: string;
|
|
1524
|
+
label?: string | undefined;
|
|
1525
|
+
className?: string | undefined;
|
|
1526
|
+
description?: string | undefined;
|
|
1527
|
+
}, {
|
|
1528
|
+
url: string;
|
|
1529
|
+
label?: string | undefined;
|
|
1530
|
+
className?: string | undefined;
|
|
1531
|
+
description?: string | undefined;
|
|
1532
|
+
}>;
|
|
1533
|
+
export declare const CarouselComponentParamsSchema: z.ZodObject<{
|
|
1534
|
+
items: z.ZodArray<z.ZodUnknown, "many">;
|
|
1535
|
+
height: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1537
|
+
}, "strip", z.ZodTypeAny, {
|
|
1538
|
+
items: unknown[];
|
|
1539
|
+
height?: string | undefined;
|
|
1540
|
+
className?: string | undefined;
|
|
1541
|
+
}, {
|
|
1542
|
+
items: unknown[];
|
|
1543
|
+
height?: string | undefined;
|
|
1544
|
+
className?: string | undefined;
|
|
1545
|
+
}>;
|
|
1546
|
+
export declare const ArtifactComponentParamsSchema: z.ZodObject<{
|
|
1547
|
+
url: z.ZodString;
|
|
1548
|
+
filename: z.ZodString;
|
|
1549
|
+
mimeType: z.ZodString;
|
|
1550
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1551
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1552
|
+
}, "strip", z.ZodTypeAny, {
|
|
1553
|
+
url: string;
|
|
1554
|
+
filename: string;
|
|
1555
|
+
mimeType: string;
|
|
1556
|
+
size?: number | undefined;
|
|
1557
|
+
description?: string | undefined;
|
|
1558
|
+
}, {
|
|
1559
|
+
url: string;
|
|
1560
|
+
filename: string;
|
|
1561
|
+
mimeType: string;
|
|
1562
|
+
size?: number | undefined;
|
|
1563
|
+
description?: string | undefined;
|
|
1564
|
+
}>;
|
|
1565
|
+
export declare const SandboxFlagSchema: z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>;
|
|
13
1566
|
export declare const SecurityConstraintsSchema: z.ZodObject<{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1567
|
+
requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1568
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1569
|
+
maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1570
|
+
sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
|
|
1571
|
+
}, "strip", z.ZodTypeAny, {
|
|
1572
|
+
requiresAuth?: boolean | undefined;
|
|
1573
|
+
allowedDomains?: string[] | undefined;
|
|
1574
|
+
maxIframeDepth?: number | undefined;
|
|
1575
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1576
|
+
}, {
|
|
1577
|
+
requiresAuth?: boolean | undefined;
|
|
1578
|
+
allowedDomains?: string[] | undefined;
|
|
1579
|
+
maxIframeDepth?: number | undefined;
|
|
1580
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
18
1581
|
}>;
|
|
19
|
-
|
|
20
1582
|
export declare const PerformanceConstraintsSchema: z.ZodObject<{
|
|
21
|
-
|
|
22
|
-
|
|
1583
|
+
maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1584
|
+
maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1585
|
+
}, "strip", z.ZodTypeAny, {
|
|
1586
|
+
maxRenderTime?: number | undefined;
|
|
1587
|
+
maxDataSize?: number | undefined;
|
|
1588
|
+
}, {
|
|
1589
|
+
maxRenderTime?: number | undefined;
|
|
1590
|
+
maxDataSize?: number | undefined;
|
|
23
1591
|
}>;
|
|
24
|
-
|
|
25
1592
|
export declare const ComponentSchemaSchema: z.ZodObject<{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1593
|
+
type: z.ZodLiteral<"object">;
|
|
1594
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1595
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1596
|
+
additionalProperties: z.ZodOptional<z.ZodBoolean>;
|
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
|
1598
|
+
type: "object";
|
|
1599
|
+
properties: Record<string, unknown>;
|
|
1600
|
+
required?: string[] | undefined;
|
|
1601
|
+
additionalProperties?: boolean | undefined;
|
|
1602
|
+
}, {
|
|
1603
|
+
type: "object";
|
|
1604
|
+
properties: Record<string, unknown>;
|
|
1605
|
+
required?: string[] | undefined;
|
|
1606
|
+
additionalProperties?: boolean | undefined;
|
|
30
1607
|
}>;
|
|
31
|
-
|
|
32
1608
|
export declare const ComponentExampleSchema: z.ZodObject<{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1609
|
+
name: z.ZodString;
|
|
1610
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1612
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
1613
|
+
colStart: z.ZodNumber;
|
|
1614
|
+
colSpan: z.ZodNumber;
|
|
1615
|
+
rowStart: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1617
|
+
}, "strip", z.ZodTypeAny, {
|
|
1618
|
+
colStart: number;
|
|
1619
|
+
colSpan: number;
|
|
1620
|
+
rowStart?: number | undefined;
|
|
1621
|
+
rowSpan?: number | undefined;
|
|
1622
|
+
}, {
|
|
1623
|
+
colStart: number;
|
|
1624
|
+
colSpan: number;
|
|
1625
|
+
rowStart?: number | undefined;
|
|
1626
|
+
rowSpan?: number | undefined;
|
|
1627
|
+
}>>;
|
|
1628
|
+
}, "strip", z.ZodTypeAny, {
|
|
1629
|
+
params: Record<string, unknown>;
|
|
1630
|
+
name: string;
|
|
1631
|
+
position?: {
|
|
1632
|
+
colStart: number;
|
|
1633
|
+
colSpan: number;
|
|
1634
|
+
rowStart?: number | undefined;
|
|
1635
|
+
rowSpan?: number | undefined;
|
|
1636
|
+
} | undefined;
|
|
1637
|
+
description?: string | undefined;
|
|
1638
|
+
}, {
|
|
1639
|
+
params: Record<string, unknown>;
|
|
1640
|
+
name: string;
|
|
1641
|
+
position?: {
|
|
1642
|
+
colStart: number;
|
|
1643
|
+
colSpan: number;
|
|
1644
|
+
rowStart?: number | undefined;
|
|
1645
|
+
rowSpan?: number | undefined;
|
|
1646
|
+
} | undefined;
|
|
1647
|
+
description?: string | undefined;
|
|
37
1648
|
}>;
|
|
38
|
-
|
|
39
1649
|
export declare const ComponentSchema: z.ZodObject<{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1650
|
+
id: z.ZodString;
|
|
1651
|
+
type: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
|
|
1652
|
+
name: z.ZodString;
|
|
1653
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
schema: z.ZodObject<{
|
|
1655
|
+
type: z.ZodLiteral<"object">;
|
|
1656
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1657
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1658
|
+
additionalProperties: z.ZodOptional<z.ZodBoolean>;
|
|
1659
|
+
}, "strip", z.ZodTypeAny, {
|
|
1660
|
+
type: "object";
|
|
1661
|
+
properties: Record<string, unknown>;
|
|
1662
|
+
required?: string[] | undefined;
|
|
1663
|
+
additionalProperties?: boolean | undefined;
|
|
1664
|
+
}, {
|
|
1665
|
+
type: "object";
|
|
1666
|
+
properties: Record<string, unknown>;
|
|
1667
|
+
required?: string[] | undefined;
|
|
1668
|
+
additionalProperties?: boolean | undefined;
|
|
1669
|
+
}>;
|
|
1670
|
+
examples: z.ZodArray<z.ZodObject<{
|
|
1671
|
+
name: z.ZodString;
|
|
1672
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1674
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
1675
|
+
colStart: z.ZodNumber;
|
|
1676
|
+
colSpan: z.ZodNumber;
|
|
1677
|
+
rowStart: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
+
rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1679
|
+
}, "strip", z.ZodTypeAny, {
|
|
1680
|
+
colStart: number;
|
|
1681
|
+
colSpan: number;
|
|
1682
|
+
rowStart?: number | undefined;
|
|
1683
|
+
rowSpan?: number | undefined;
|
|
1684
|
+
}, {
|
|
1685
|
+
colStart: number;
|
|
1686
|
+
colSpan: number;
|
|
1687
|
+
rowStart?: number | undefined;
|
|
1688
|
+
rowSpan?: number | undefined;
|
|
1689
|
+
}>>;
|
|
1690
|
+
}, "strip", z.ZodTypeAny, {
|
|
1691
|
+
params: Record<string, unknown>;
|
|
1692
|
+
name: string;
|
|
1693
|
+
position?: {
|
|
1694
|
+
colStart: number;
|
|
1695
|
+
colSpan: number;
|
|
1696
|
+
rowStart?: number | undefined;
|
|
1697
|
+
rowSpan?: number | undefined;
|
|
1698
|
+
} | undefined;
|
|
1699
|
+
description?: string | undefined;
|
|
1700
|
+
}, {
|
|
1701
|
+
params: Record<string, unknown>;
|
|
1702
|
+
name: string;
|
|
1703
|
+
position?: {
|
|
1704
|
+
colStart: number;
|
|
1705
|
+
colSpan: number;
|
|
1706
|
+
rowStart?: number | undefined;
|
|
1707
|
+
rowSpan?: number | undefined;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
description?: string | undefined;
|
|
1710
|
+
}>, "many">;
|
|
1711
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
1712
|
+
requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1713
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1714
|
+
maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1715
|
+
sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
|
|
1716
|
+
}, "strip", z.ZodTypeAny, {
|
|
1717
|
+
requiresAuth?: boolean | undefined;
|
|
1718
|
+
allowedDomains?: string[] | undefined;
|
|
1719
|
+
maxIframeDepth?: number | undefined;
|
|
1720
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
requiresAuth?: boolean | undefined;
|
|
1723
|
+
allowedDomains?: string[] | undefined;
|
|
1724
|
+
maxIframeDepth?: number | undefined;
|
|
1725
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1726
|
+
}>>;
|
|
1727
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
1728
|
+
maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1729
|
+
maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1730
|
+
}, "strip", z.ZodTypeAny, {
|
|
1731
|
+
maxRenderTime?: number | undefined;
|
|
1732
|
+
maxDataSize?: number | undefined;
|
|
1733
|
+
}, {
|
|
1734
|
+
maxRenderTime?: number | undefined;
|
|
1735
|
+
maxDataSize?: number | undefined;
|
|
1736
|
+
}>>;
|
|
1737
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1738
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
deprecated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1740
|
+
deprecationMessage: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
}, "strip", z.ZodTypeAny, {
|
|
1742
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
1743
|
+
name: string;
|
|
1744
|
+
id: string;
|
|
1745
|
+
schema: {
|
|
1746
|
+
type: "object";
|
|
1747
|
+
properties: Record<string, unknown>;
|
|
1748
|
+
required?: string[] | undefined;
|
|
1749
|
+
additionalProperties?: boolean | undefined;
|
|
1750
|
+
};
|
|
1751
|
+
examples: {
|
|
1752
|
+
params: Record<string, unknown>;
|
|
1753
|
+
name: string;
|
|
1754
|
+
position?: {
|
|
1755
|
+
colStart: number;
|
|
1756
|
+
colSpan: number;
|
|
1757
|
+
rowStart?: number | undefined;
|
|
1758
|
+
rowSpan?: number | undefined;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
description?: string | undefined;
|
|
1761
|
+
}[];
|
|
1762
|
+
tags?: string[] | undefined;
|
|
1763
|
+
description?: string | undefined;
|
|
1764
|
+
security?: {
|
|
1765
|
+
requiresAuth?: boolean | undefined;
|
|
1766
|
+
allowedDomains?: string[] | undefined;
|
|
1767
|
+
maxIframeDepth?: number | undefined;
|
|
1768
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1769
|
+
} | undefined;
|
|
1770
|
+
performance?: {
|
|
1771
|
+
maxRenderTime?: number | undefined;
|
|
1772
|
+
maxDataSize?: number | undefined;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
version?: string | undefined;
|
|
1775
|
+
deprecated?: boolean | undefined;
|
|
1776
|
+
deprecationMessage?: string | undefined;
|
|
1777
|
+
}, {
|
|
1778
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
1779
|
+
name: string;
|
|
1780
|
+
id: string;
|
|
1781
|
+
schema: {
|
|
1782
|
+
type: "object";
|
|
1783
|
+
properties: Record<string, unknown>;
|
|
1784
|
+
required?: string[] | undefined;
|
|
1785
|
+
additionalProperties?: boolean | undefined;
|
|
1786
|
+
};
|
|
1787
|
+
examples: {
|
|
1788
|
+
params: Record<string, unknown>;
|
|
1789
|
+
name: string;
|
|
1790
|
+
position?: {
|
|
1791
|
+
colStart: number;
|
|
1792
|
+
colSpan: number;
|
|
1793
|
+
rowStart?: number | undefined;
|
|
1794
|
+
rowSpan?: number | undefined;
|
|
1795
|
+
} | undefined;
|
|
1796
|
+
description?: string | undefined;
|
|
1797
|
+
}[];
|
|
1798
|
+
tags?: string[] | undefined;
|
|
1799
|
+
description?: string | undefined;
|
|
1800
|
+
security?: {
|
|
1801
|
+
requiresAuth?: boolean | undefined;
|
|
1802
|
+
allowedDomains?: string[] | undefined;
|
|
1803
|
+
maxIframeDepth?: number | undefined;
|
|
1804
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1805
|
+
} | undefined;
|
|
1806
|
+
performance?: {
|
|
1807
|
+
maxRenderTime?: number | undefined;
|
|
1808
|
+
maxDataSize?: number | undefined;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
version?: string | undefined;
|
|
1811
|
+
deprecated?: boolean | undefined;
|
|
1812
|
+
deprecationMessage?: string | undefined;
|
|
1813
|
+
}>;
|
|
54
1814
|
export declare const RegistryMetadataSchema: z.ZodObject<{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
1815
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1818
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
1819
|
+
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
name?: string | undefined;
|
|
1821
|
+
description?: string | undefined;
|
|
1822
|
+
author?: string | undefined;
|
|
1823
|
+
repository?: string | undefined;
|
|
1824
|
+
}, {
|
|
1825
|
+
name?: string | undefined;
|
|
1826
|
+
description?: string | undefined;
|
|
1827
|
+
author?: string | undefined;
|
|
1828
|
+
repository?: string | undefined;
|
|
59
1829
|
}>;
|
|
60
|
-
|
|
61
1830
|
export declare const ComponentRegistrySchema: z.ZodObject<{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
1831
|
+
version: z.ZodLiteral<"1.0.0">;
|
|
1832
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1833
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1834
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1835
|
+
author: z.ZodOptional<z.ZodString>;
|
|
1836
|
+
repository: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
}, "strip", z.ZodTypeAny, {
|
|
1838
|
+
name?: string | undefined;
|
|
1839
|
+
description?: string | undefined;
|
|
1840
|
+
author?: string | undefined;
|
|
1841
|
+
repository?: string | undefined;
|
|
1842
|
+
}, {
|
|
1843
|
+
name?: string | undefined;
|
|
1844
|
+
description?: string | undefined;
|
|
1845
|
+
author?: string | undefined;
|
|
1846
|
+
repository?: string | undefined;
|
|
1847
|
+
}>>;
|
|
1848
|
+
components: z.ZodArray<z.ZodObject<{
|
|
1849
|
+
id: z.ZodString;
|
|
1850
|
+
type: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
|
|
1851
|
+
name: z.ZodString;
|
|
1852
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1853
|
+
schema: z.ZodObject<{
|
|
1854
|
+
type: z.ZodLiteral<"object">;
|
|
1855
|
+
required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1856
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1857
|
+
additionalProperties: z.ZodOptional<z.ZodBoolean>;
|
|
1858
|
+
}, "strip", z.ZodTypeAny, {
|
|
1859
|
+
type: "object";
|
|
1860
|
+
properties: Record<string, unknown>;
|
|
1861
|
+
required?: string[] | undefined;
|
|
1862
|
+
additionalProperties?: boolean | undefined;
|
|
1863
|
+
}, {
|
|
1864
|
+
type: "object";
|
|
1865
|
+
properties: Record<string, unknown>;
|
|
1866
|
+
required?: string[] | undefined;
|
|
1867
|
+
additionalProperties?: boolean | undefined;
|
|
1868
|
+
}>;
|
|
1869
|
+
examples: z.ZodArray<z.ZodObject<{
|
|
1870
|
+
name: z.ZodString;
|
|
1871
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1872
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1873
|
+
position: z.ZodOptional<z.ZodObject<{
|
|
1874
|
+
colStart: z.ZodNumber;
|
|
1875
|
+
colSpan: z.ZodNumber;
|
|
1876
|
+
rowStart: z.ZodOptional<z.ZodNumber>;
|
|
1877
|
+
rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1878
|
+
}, "strip", z.ZodTypeAny, {
|
|
1879
|
+
colStart: number;
|
|
1880
|
+
colSpan: number;
|
|
1881
|
+
rowStart?: number | undefined;
|
|
1882
|
+
rowSpan?: number | undefined;
|
|
1883
|
+
}, {
|
|
1884
|
+
colStart: number;
|
|
1885
|
+
colSpan: number;
|
|
1886
|
+
rowStart?: number | undefined;
|
|
1887
|
+
rowSpan?: number | undefined;
|
|
1888
|
+
}>>;
|
|
1889
|
+
}, "strip", z.ZodTypeAny, {
|
|
1890
|
+
params: Record<string, unknown>;
|
|
1891
|
+
name: string;
|
|
1892
|
+
position?: {
|
|
1893
|
+
colStart: number;
|
|
1894
|
+
colSpan: number;
|
|
1895
|
+
rowStart?: number | undefined;
|
|
1896
|
+
rowSpan?: number | undefined;
|
|
1897
|
+
} | undefined;
|
|
1898
|
+
description?: string | undefined;
|
|
1899
|
+
}, {
|
|
1900
|
+
params: Record<string, unknown>;
|
|
1901
|
+
name: string;
|
|
1902
|
+
position?: {
|
|
1903
|
+
colStart: number;
|
|
1904
|
+
colSpan: number;
|
|
1905
|
+
rowStart?: number | undefined;
|
|
1906
|
+
rowSpan?: number | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
description?: string | undefined;
|
|
1909
|
+
}>, "many">;
|
|
1910
|
+
security: z.ZodOptional<z.ZodObject<{
|
|
1911
|
+
requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1912
|
+
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1913
|
+
maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1914
|
+
sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
|
|
1915
|
+
}, "strip", z.ZodTypeAny, {
|
|
1916
|
+
requiresAuth?: boolean | undefined;
|
|
1917
|
+
allowedDomains?: string[] | undefined;
|
|
1918
|
+
maxIframeDepth?: number | undefined;
|
|
1919
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1920
|
+
}, {
|
|
1921
|
+
requiresAuth?: boolean | undefined;
|
|
1922
|
+
allowedDomains?: string[] | undefined;
|
|
1923
|
+
maxIframeDepth?: number | undefined;
|
|
1924
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1925
|
+
}>>;
|
|
1926
|
+
performance: z.ZodOptional<z.ZodObject<{
|
|
1927
|
+
maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1928
|
+
maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1929
|
+
}, "strip", z.ZodTypeAny, {
|
|
1930
|
+
maxRenderTime?: number | undefined;
|
|
1931
|
+
maxDataSize?: number | undefined;
|
|
1932
|
+
}, {
|
|
1933
|
+
maxRenderTime?: number | undefined;
|
|
1934
|
+
maxDataSize?: number | undefined;
|
|
1935
|
+
}>>;
|
|
1936
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1937
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1938
|
+
deprecated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1939
|
+
deprecationMessage: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
}, "strip", z.ZodTypeAny, {
|
|
1941
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
1942
|
+
name: string;
|
|
1943
|
+
id: string;
|
|
1944
|
+
schema: {
|
|
1945
|
+
type: "object";
|
|
1946
|
+
properties: Record<string, unknown>;
|
|
1947
|
+
required?: string[] | undefined;
|
|
1948
|
+
additionalProperties?: boolean | undefined;
|
|
1949
|
+
};
|
|
1950
|
+
examples: {
|
|
1951
|
+
params: Record<string, unknown>;
|
|
1952
|
+
name: string;
|
|
1953
|
+
position?: {
|
|
1954
|
+
colStart: number;
|
|
1955
|
+
colSpan: number;
|
|
1956
|
+
rowStart?: number | undefined;
|
|
1957
|
+
rowSpan?: number | undefined;
|
|
1958
|
+
} | undefined;
|
|
1959
|
+
description?: string | undefined;
|
|
1960
|
+
}[];
|
|
1961
|
+
tags?: string[] | undefined;
|
|
1962
|
+
description?: string | undefined;
|
|
1963
|
+
security?: {
|
|
1964
|
+
requiresAuth?: boolean | undefined;
|
|
1965
|
+
allowedDomains?: string[] | undefined;
|
|
1966
|
+
maxIframeDepth?: number | undefined;
|
|
1967
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
1968
|
+
} | undefined;
|
|
1969
|
+
performance?: {
|
|
1970
|
+
maxRenderTime?: number | undefined;
|
|
1971
|
+
maxDataSize?: number | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
version?: string | undefined;
|
|
1974
|
+
deprecated?: boolean | undefined;
|
|
1975
|
+
deprecationMessage?: string | undefined;
|
|
1976
|
+
}, {
|
|
1977
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
1978
|
+
name: string;
|
|
1979
|
+
id: string;
|
|
1980
|
+
schema: {
|
|
1981
|
+
type: "object";
|
|
1982
|
+
properties: Record<string, unknown>;
|
|
1983
|
+
required?: string[] | undefined;
|
|
1984
|
+
additionalProperties?: boolean | undefined;
|
|
1985
|
+
};
|
|
1986
|
+
examples: {
|
|
1987
|
+
params: Record<string, unknown>;
|
|
1988
|
+
name: string;
|
|
1989
|
+
position?: {
|
|
1990
|
+
colStart: number;
|
|
1991
|
+
colSpan: number;
|
|
1992
|
+
rowStart?: number | undefined;
|
|
1993
|
+
rowSpan?: number | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
description?: string | undefined;
|
|
1996
|
+
}[];
|
|
1997
|
+
tags?: string[] | undefined;
|
|
1998
|
+
description?: string | undefined;
|
|
1999
|
+
security?: {
|
|
2000
|
+
requiresAuth?: boolean | undefined;
|
|
2001
|
+
allowedDomains?: string[] | undefined;
|
|
2002
|
+
maxIframeDepth?: number | undefined;
|
|
2003
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
2004
|
+
} | undefined;
|
|
2005
|
+
performance?: {
|
|
2006
|
+
maxRenderTime?: number | undefined;
|
|
2007
|
+
maxDataSize?: number | undefined;
|
|
2008
|
+
} | undefined;
|
|
2009
|
+
version?: string | undefined;
|
|
2010
|
+
deprecated?: boolean | undefined;
|
|
2011
|
+
deprecationMessage?: string | undefined;
|
|
2012
|
+
}>, "many">;
|
|
2013
|
+
}, "strip", z.ZodTypeAny, {
|
|
2014
|
+
version: "1.0.0";
|
|
2015
|
+
components: {
|
|
2016
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
2017
|
+
name: string;
|
|
2018
|
+
id: string;
|
|
2019
|
+
schema: {
|
|
2020
|
+
type: "object";
|
|
2021
|
+
properties: Record<string, unknown>;
|
|
2022
|
+
required?: string[] | undefined;
|
|
2023
|
+
additionalProperties?: boolean | undefined;
|
|
2024
|
+
};
|
|
2025
|
+
examples: {
|
|
2026
|
+
params: Record<string, unknown>;
|
|
2027
|
+
name: string;
|
|
2028
|
+
position?: {
|
|
2029
|
+
colStart: number;
|
|
2030
|
+
colSpan: number;
|
|
2031
|
+
rowStart?: number | undefined;
|
|
2032
|
+
rowSpan?: number | undefined;
|
|
2033
|
+
} | undefined;
|
|
2034
|
+
description?: string | undefined;
|
|
2035
|
+
}[];
|
|
2036
|
+
tags?: string[] | undefined;
|
|
2037
|
+
description?: string | undefined;
|
|
2038
|
+
security?: {
|
|
2039
|
+
requiresAuth?: boolean | undefined;
|
|
2040
|
+
allowedDomains?: string[] | undefined;
|
|
2041
|
+
maxIframeDepth?: number | undefined;
|
|
2042
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
2043
|
+
} | undefined;
|
|
2044
|
+
performance?: {
|
|
2045
|
+
maxRenderTime?: number | undefined;
|
|
2046
|
+
maxDataSize?: number | undefined;
|
|
2047
|
+
} | undefined;
|
|
2048
|
+
version?: string | undefined;
|
|
2049
|
+
deprecated?: boolean | undefined;
|
|
2050
|
+
deprecationMessage?: string | undefined;
|
|
2051
|
+
}[];
|
|
2052
|
+
metadata?: {
|
|
2053
|
+
name?: string | undefined;
|
|
2054
|
+
description?: string | undefined;
|
|
2055
|
+
author?: string | undefined;
|
|
2056
|
+
repository?: string | undefined;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
}, {
|
|
2059
|
+
version: "1.0.0";
|
|
2060
|
+
components: {
|
|
2061
|
+
type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
|
|
2062
|
+
name: string;
|
|
2063
|
+
id: string;
|
|
2064
|
+
schema: {
|
|
2065
|
+
type: "object";
|
|
2066
|
+
properties: Record<string, unknown>;
|
|
2067
|
+
required?: string[] | undefined;
|
|
2068
|
+
additionalProperties?: boolean | undefined;
|
|
2069
|
+
};
|
|
2070
|
+
examples: {
|
|
2071
|
+
params: Record<string, unknown>;
|
|
2072
|
+
name: string;
|
|
2073
|
+
position?: {
|
|
2074
|
+
colStart: number;
|
|
2075
|
+
colSpan: number;
|
|
2076
|
+
rowStart?: number | undefined;
|
|
2077
|
+
rowSpan?: number | undefined;
|
|
2078
|
+
} | undefined;
|
|
2079
|
+
description?: string | undefined;
|
|
2080
|
+
}[];
|
|
2081
|
+
tags?: string[] | undefined;
|
|
2082
|
+
description?: string | undefined;
|
|
2083
|
+
security?: {
|
|
2084
|
+
requiresAuth?: boolean | undefined;
|
|
2085
|
+
allowedDomains?: string[] | undefined;
|
|
2086
|
+
maxIframeDepth?: number | undefined;
|
|
2087
|
+
sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
|
|
2088
|
+
} | undefined;
|
|
2089
|
+
performance?: {
|
|
2090
|
+
maxRenderTime?: number | undefined;
|
|
2091
|
+
maxDataSize?: number | undefined;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
version?: string | undefined;
|
|
2094
|
+
deprecated?: boolean | undefined;
|
|
2095
|
+
deprecationMessage?: string | undefined;
|
|
2096
|
+
}[];
|
|
2097
|
+
metadata?: {
|
|
2098
|
+
name?: string | undefined;
|
|
2099
|
+
description?: string | undefined;
|
|
2100
|
+
author?: string | undefined;
|
|
2101
|
+
repository?: string | undefined;
|
|
2102
|
+
} | undefined;
|
|
65
2103
|
}>;
|
|
66
|
-
|
|
67
2104
|
export type ComponentRegistry = z.infer<typeof ComponentRegistrySchema>;
|
|
68
2105
|
export type Component = z.infer<typeof ComponentSchema>;
|
|
69
2106
|
export type ComponentExample = z.infer<typeof ComponentExampleSchema>;
|
|
70
|
-
export type ComponentSchema = z.infer<typeof ComponentSchemaSchema>;
|
|
71
2107
|
export type GridPosition = z.infer<typeof GridPositionSchema>;
|
|
72
2108
|
export type SecurityConstraints = z.infer<typeof SecurityConstraintsSchema>;
|
|
73
2109
|
export type PerformanceConstraints = z.infer<typeof PerformanceConstraintsSchema>;
|
|
74
2110
|
export type ComponentType = z.infer<typeof ComponentTypeSchema>;
|
|
75
2111
|
export type SandboxFlag = z.infer<typeof SandboxFlagSchema>;
|
|
76
|
-
export type
|
|
2112
|
+
export type FormFieldOption = z.infer<typeof FormFieldOptionSchema>;
|
|
2113
|
+
export type FormFieldType = z.infer<typeof FormFieldTypeSchema>;
|
|
2114
|
+
export type FormField = z.infer<typeof FormFieldSchema>;
|
|
2115
|
+
export type FormSubmitAction = z.infer<typeof FormSubmitActionSchema>;
|
|
2116
|
+
export type FormComponentParams = z.infer<typeof FormComponentParamsSchema>;
|
|
2117
|
+
export type PrefillSource = z.infer<typeof PrefillSourceSchema>;
|
|
2118
|
+
export type ShowWhenOperator = z.infer<typeof ShowWhenOperatorSchema>;
|
|
2119
|
+
export type ShowWhenCondition = z.infer<typeof ShowWhenConditionSchema>;
|
|
2120
|
+
export type ModalSize = z.infer<typeof ModalSizeSchema>;
|
|
2121
|
+
export type ModalComponentParams = z.infer<typeof ModalComponentParamsSchema>;
|
|
2122
|
+
export type ActionGroupLayout = z.infer<typeof ActionGroupLayoutSchema>;
|
|
2123
|
+
export type ActionGroupGap = z.infer<typeof ActionGroupGapSchema>;
|
|
2124
|
+
export type ActionParams = z.infer<typeof ActionParamsSchema>;
|
|
2125
|
+
export type ActionGroupParams = z.infer<typeof ActionGroupParamsSchema>;
|
|
2126
|
+
export type GalleryImage = z.infer<typeof GalleryImageSchema>;
|
|
2127
|
+
export type ImageGalleryGap = z.infer<typeof ImageGalleryGapSchema>;
|
|
2128
|
+
export type ImageGalleryAspectRatio = z.infer<typeof ImageGalleryAspectRatioSchema>;
|
|
2129
|
+
export type ImageGalleryParams = z.infer<typeof ImageGalleryParamsSchema>;
|
|
2130
|
+
export type VideoAspectRatio = z.infer<typeof VideoAspectRatioSchema>;
|
|
2131
|
+
export type VideoComponentParams = z.infer<typeof VideoComponentParamsSchema>;
|
|
2132
|
+
export type CodeComponentParams = z.infer<typeof CodeComponentParamsSchema>;
|
|
2133
|
+
export type LatLngObject = z.infer<typeof LatLngObjectSchema>;
|
|
2134
|
+
export type LatLngTuple = z.infer<typeof LatLngTupleSchema>;
|
|
2135
|
+
export type LatLngPoint = z.infer<typeof LatLngPointSchema>;
|
|
2136
|
+
export type MapMarker = z.infer<typeof MapMarkerSchema>;
|
|
2137
|
+
export type MapComponentParams = z.infer<typeof MapComponentParamsSchema>;
|
|
2138
|
+
export type ChartType = z.infer<typeof ChartTypeSchema>;
|
|
2139
|
+
export type ChartDataset = z.infer<typeof ChartDatasetSchema>;
|
|
2140
|
+
export type ChartTimeAxis = z.infer<typeof ChartTimeAxisSchema>;
|
|
2141
|
+
export type ChartComponentParams = z.infer<typeof ChartComponentParamsSchema>;
|
|
2142
|
+
export type TableColumn = z.infer<typeof TableColumnSchema>;
|
|
2143
|
+
export type TablePagination = z.infer<typeof TablePaginationSchema>;
|
|
2144
|
+
export type TableVirtualizeOptions = z.infer<typeof TableVirtualizeOptionsSchema>;
|
|
2145
|
+
export type TableExportable = z.infer<typeof TableExportableSchema>;
|
|
2146
|
+
export type TableComponentParams = z.infer<typeof TableComponentParamsSchema>;
|
|
2147
|
+
export type MetricTrend = z.infer<typeof MetricTrendSchema>;
|
|
2148
|
+
export type MetricComponentParams = z.infer<typeof MetricComponentParamsSchema>;
|
|
2149
|
+
export type TextComponentParams = z.infer<typeof TextComponentParamsSchema>;
|
|
2150
|
+
export type IframeComponentParams = z.infer<typeof IframeComponentParamsSchema>;
|
|
2151
|
+
export type ImageComponentParams = z.infer<typeof ImageComponentParamsSchema>;
|
|
2152
|
+
export type LinkComponentParams = z.infer<typeof LinkComponentParamsSchema>;
|
|
2153
|
+
export type CarouselComponentParams = z.infer<typeof CarouselComponentParamsSchema>;
|
|
2154
|
+
export type ArtifactComponentParams = z.infer<typeof ArtifactComponentParamsSchema>;
|