@copilotkit/shared 1.87.0 → 1.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generative-ui/standard/chart.d.cts +4 -4
- package/dist/generative-ui/standard/chart.d.mts +4 -4
- package/dist/generative-ui/standard/composites.d.cts +18 -18
- package/dist/generative-ui/standard/composites.d.mts +18 -18
- package/dist/generative-ui/standard/data.d.cts +42 -42
- package/dist/generative-ui/standard/data.d.mts +42 -42
- package/dist/generative-ui/standard/declarations.d.cts +284 -284
- package/dist/generative-ui/standard/declarations.d.mts +284 -284
- package/dist/generative-ui/standard/feedback.d.cts +8 -8
- package/dist/generative-ui/standard/feedback.d.mts +8 -8
- package/dist/generative-ui/standard/inputs.d.cts +188 -188
- package/dist/generative-ui/standard/inputs.d.mts +188 -188
- package/dist/generative-ui/standard/layout.d.cts +224 -224
- package/dist/generative-ui/standard/layout.d.mts +224 -224
- package/dist/generative-ui/standard/map.d.cts +6 -6
- package/dist/generative-ui/standard/map.d.mts +6 -6
- package/dist/generative-ui/standard/media.d.cts +36 -36
- package/dist/generative-ui/standard/media.d.mts +36 -36
- package/dist/generative-ui/standard/text.d.cts +28 -28
- package/dist/generative-ui/standard/text.d.mts +28 -28
- package/dist/index.umd.js +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +2 -2
- package/src/utils/__tests__/conditions.test.ts +2 -2
|
@@ -77,8 +77,9 @@ declare const chartSchema: z.ZodObject<{
|
|
|
77
77
|
color?: string | undefined;
|
|
78
78
|
})[] | undefined;
|
|
79
79
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
80
|
+
height?: number | undefined;
|
|
81
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
80
82
|
stacked?: boolean | undefined;
|
|
81
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
82
83
|
yAxis?: {
|
|
83
84
|
label?: string | undefined;
|
|
84
85
|
min?: number | undefined;
|
|
@@ -94,7 +95,6 @@ declare const chartSchema: z.ZodObject<{
|
|
|
94
95
|
cornerRadius?: number | undefined;
|
|
95
96
|
paddingAngle?: number | undefined;
|
|
96
97
|
showLabelLines?: boolean | undefined;
|
|
97
|
-
height?: number | undefined;
|
|
98
98
|
showLegend?: boolean | undefined;
|
|
99
99
|
showGrid?: boolean | undefined;
|
|
100
100
|
showTooltip?: boolean | undefined;
|
|
@@ -111,8 +111,9 @@ declare const chartSchema: z.ZodObject<{
|
|
|
111
111
|
color?: string | undefined;
|
|
112
112
|
})[] | undefined;
|
|
113
113
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
114
|
+
height?: number | undefined;
|
|
115
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
114
116
|
stacked?: boolean | undefined;
|
|
115
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
116
117
|
yAxis?: {
|
|
117
118
|
label?: string | undefined;
|
|
118
119
|
min?: number | undefined;
|
|
@@ -128,7 +129,6 @@ declare const chartSchema: z.ZodObject<{
|
|
|
128
129
|
cornerRadius?: number | undefined;
|
|
129
130
|
paddingAngle?: number | undefined;
|
|
130
131
|
showLabelLines?: boolean | undefined;
|
|
131
|
-
height?: number | undefined;
|
|
132
132
|
showLegend?: boolean | undefined;
|
|
133
133
|
showGrid?: boolean | undefined;
|
|
134
134
|
showTooltip?: boolean | undefined;
|
|
@@ -77,8 +77,9 @@ declare const chartSchema: z.ZodObject<{
|
|
|
77
77
|
color?: string | undefined;
|
|
78
78
|
})[] | undefined;
|
|
79
79
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
80
|
+
height?: number | undefined;
|
|
81
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
80
82
|
stacked?: boolean | undefined;
|
|
81
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
82
83
|
yAxis?: {
|
|
83
84
|
label?: string | undefined;
|
|
84
85
|
min?: number | undefined;
|
|
@@ -94,7 +95,6 @@ declare const chartSchema: z.ZodObject<{
|
|
|
94
95
|
cornerRadius?: number | undefined;
|
|
95
96
|
paddingAngle?: number | undefined;
|
|
96
97
|
showLabelLines?: boolean | undefined;
|
|
97
|
-
height?: number | undefined;
|
|
98
98
|
showLegend?: boolean | undefined;
|
|
99
99
|
showGrid?: boolean | undefined;
|
|
100
100
|
showTooltip?: boolean | undefined;
|
|
@@ -111,8 +111,9 @@ declare const chartSchema: z.ZodObject<{
|
|
|
111
111
|
color?: string | undefined;
|
|
112
112
|
})[] | undefined;
|
|
113
113
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
114
|
+
height?: number | undefined;
|
|
115
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
114
116
|
stacked?: boolean | undefined;
|
|
115
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
116
117
|
yAxis?: {
|
|
117
118
|
label?: string | undefined;
|
|
118
119
|
min?: number | undefined;
|
|
@@ -128,7 +129,6 @@ declare const chartSchema: z.ZodObject<{
|
|
|
128
129
|
cornerRadius?: number | undefined;
|
|
129
130
|
paddingAngle?: number | undefined;
|
|
130
131
|
showLabelLines?: boolean | undefined;
|
|
131
|
-
height?: number | undefined;
|
|
132
132
|
showLegend?: boolean | undefined;
|
|
133
133
|
showGrid?: boolean | undefined;
|
|
134
134
|
showTooltip?: boolean | undefined;
|
|
@@ -94,11 +94,11 @@ declare const cardAction: z.ZodObject<{
|
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
label: string;
|
|
96
96
|
href?: string | undefined;
|
|
97
|
-
variant?: "
|
|
97
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
label: string;
|
|
100
100
|
href?: string | undefined;
|
|
101
|
-
variant?: "
|
|
101
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
102
102
|
}>;
|
|
103
103
|
declare const entityCardSchema: z.ZodObject<{
|
|
104
104
|
title: z.ZodString;
|
|
@@ -127,11 +127,11 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
label: string;
|
|
129
129
|
href?: string | undefined;
|
|
130
|
-
variant?: "
|
|
130
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
label: string;
|
|
133
133
|
href?: string | undefined;
|
|
134
|
-
variant?: "
|
|
134
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
135
135
|
}>, "many">>;
|
|
136
136
|
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
137
137
|
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -142,10 +142,10 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
142
142
|
actions?: {
|
|
143
143
|
label: string;
|
|
144
144
|
href?: string | undefined;
|
|
145
|
-
variant?: "
|
|
145
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
146
146
|
}[] | undefined;
|
|
147
147
|
width?: string | number | undefined;
|
|
148
|
-
layout?: "
|
|
148
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
149
149
|
image?: string | undefined;
|
|
150
150
|
subtitle?: string | undefined;
|
|
151
151
|
imageAspectRatio?: string | undefined;
|
|
@@ -163,10 +163,10 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
163
163
|
actions?: {
|
|
164
164
|
label: string;
|
|
165
165
|
href?: string | undefined;
|
|
166
|
-
variant?: "
|
|
166
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
width?: string | number | undefined;
|
|
169
|
-
layout?: "
|
|
169
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
170
170
|
image?: string | undefined;
|
|
171
171
|
subtitle?: string | undefined;
|
|
172
172
|
imageAspectRatio?: string | undefined;
|
|
@@ -231,8 +231,8 @@ declare const imageGridSchema: z.ZodObject<{
|
|
|
231
231
|
caption?: string | undefined;
|
|
232
232
|
}[] | undefined;
|
|
233
233
|
gap?: string | number | undefined;
|
|
234
|
-
layout?: "grid" | "bento" | undefined;
|
|
235
234
|
aspectRatio?: string | undefined;
|
|
235
|
+
layout?: "grid" | "bento" | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
columns?: number | undefined;
|
|
238
238
|
images?: {
|
|
@@ -242,8 +242,8 @@ declare const imageGridSchema: z.ZodObject<{
|
|
|
242
242
|
caption?: string | undefined;
|
|
243
243
|
}[] | undefined;
|
|
244
244
|
gap?: string | number | undefined;
|
|
245
|
-
layout?: "grid" | "bento" | undefined;
|
|
246
245
|
aspectRatio?: string | undefined;
|
|
246
|
+
layout?: "grid" | "bento" | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
/**
|
|
249
249
|
* The standard composite components, without their framework components.
|
|
@@ -379,11 +379,11 @@ declare const compositeDeclarations: {
|
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
380
|
label: string;
|
|
381
381
|
href?: string | undefined;
|
|
382
|
-
variant?: "
|
|
382
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
383
383
|
}, {
|
|
384
384
|
label: string;
|
|
385
385
|
href?: string | undefined;
|
|
386
|
-
variant?: "
|
|
386
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
387
387
|
}>, "many">>;
|
|
388
388
|
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
389
389
|
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -394,10 +394,10 @@ declare const compositeDeclarations: {
|
|
|
394
394
|
actions?: {
|
|
395
395
|
label: string;
|
|
396
396
|
href?: string | undefined;
|
|
397
|
-
variant?: "
|
|
397
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
398
398
|
}[] | undefined;
|
|
399
399
|
width?: string | number | undefined;
|
|
400
|
-
layout?: "
|
|
400
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
401
401
|
image?: string | undefined;
|
|
402
402
|
subtitle?: string | undefined;
|
|
403
403
|
imageAspectRatio?: string | undefined;
|
|
@@ -415,10 +415,10 @@ declare const compositeDeclarations: {
|
|
|
415
415
|
actions?: {
|
|
416
416
|
label: string;
|
|
417
417
|
href?: string | undefined;
|
|
418
|
-
variant?: "
|
|
418
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
width?: string | number | undefined;
|
|
421
|
-
layout?: "
|
|
421
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
422
422
|
image?: string | undefined;
|
|
423
423
|
subtitle?: string | undefined;
|
|
424
424
|
imageAspectRatio?: string | undefined;
|
|
@@ -479,8 +479,8 @@ declare const compositeDeclarations: {
|
|
|
479
479
|
caption?: string | undefined;
|
|
480
480
|
}[] | undefined;
|
|
481
481
|
gap?: string | number | undefined;
|
|
482
|
-
layout?: "grid" | "bento" | undefined;
|
|
483
482
|
aspectRatio?: string | undefined;
|
|
483
|
+
layout?: "grid" | "bento" | undefined;
|
|
484
484
|
}, {
|
|
485
485
|
columns?: number | undefined;
|
|
486
486
|
images?: {
|
|
@@ -490,8 +490,8 @@ declare const compositeDeclarations: {
|
|
|
490
490
|
caption?: string | undefined;
|
|
491
491
|
}[] | undefined;
|
|
492
492
|
gap?: string | number | undefined;
|
|
493
|
-
layout?: "grid" | "bento" | undefined;
|
|
494
493
|
aspectRatio?: string | undefined;
|
|
494
|
+
layout?: "grid" | "bento" | undefined;
|
|
495
495
|
}>;
|
|
496
496
|
};
|
|
497
497
|
};
|
|
@@ -94,11 +94,11 @@ declare const cardAction: z.ZodObject<{
|
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
label: string;
|
|
96
96
|
href?: string | undefined;
|
|
97
|
-
variant?: "
|
|
97
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
label: string;
|
|
100
100
|
href?: string | undefined;
|
|
101
|
-
variant?: "
|
|
101
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
102
102
|
}>;
|
|
103
103
|
declare const entityCardSchema: z.ZodObject<{
|
|
104
104
|
title: z.ZodString;
|
|
@@ -127,11 +127,11 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
label: string;
|
|
129
129
|
href?: string | undefined;
|
|
130
|
-
variant?: "
|
|
130
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
label: string;
|
|
133
133
|
href?: string | undefined;
|
|
134
|
-
variant?: "
|
|
134
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
135
135
|
}>, "many">>;
|
|
136
136
|
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
137
137
|
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -142,10 +142,10 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
142
142
|
actions?: {
|
|
143
143
|
label: string;
|
|
144
144
|
href?: string | undefined;
|
|
145
|
-
variant?: "
|
|
145
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
146
146
|
}[] | undefined;
|
|
147
147
|
width?: string | number | undefined;
|
|
148
|
-
layout?: "
|
|
148
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
149
149
|
image?: string | undefined;
|
|
150
150
|
subtitle?: string | undefined;
|
|
151
151
|
imageAspectRatio?: string | undefined;
|
|
@@ -163,10 +163,10 @@ declare const entityCardSchema: z.ZodObject<{
|
|
|
163
163
|
actions?: {
|
|
164
164
|
label: string;
|
|
165
165
|
href?: string | undefined;
|
|
166
|
-
variant?: "
|
|
166
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
167
167
|
}[] | undefined;
|
|
168
168
|
width?: string | number | undefined;
|
|
169
|
-
layout?: "
|
|
169
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
170
170
|
image?: string | undefined;
|
|
171
171
|
subtitle?: string | undefined;
|
|
172
172
|
imageAspectRatio?: string | undefined;
|
|
@@ -231,8 +231,8 @@ declare const imageGridSchema: z.ZodObject<{
|
|
|
231
231
|
caption?: string | undefined;
|
|
232
232
|
}[] | undefined;
|
|
233
233
|
gap?: string | number | undefined;
|
|
234
|
-
layout?: "grid" | "bento" | undefined;
|
|
235
234
|
aspectRatio?: string | undefined;
|
|
235
|
+
layout?: "grid" | "bento" | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
columns?: number | undefined;
|
|
238
238
|
images?: {
|
|
@@ -242,8 +242,8 @@ declare const imageGridSchema: z.ZodObject<{
|
|
|
242
242
|
caption?: string | undefined;
|
|
243
243
|
}[] | undefined;
|
|
244
244
|
gap?: string | number | undefined;
|
|
245
|
-
layout?: "grid" | "bento" | undefined;
|
|
246
245
|
aspectRatio?: string | undefined;
|
|
246
|
+
layout?: "grid" | "bento" | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
/**
|
|
249
249
|
* The standard composite components, without their framework components.
|
|
@@ -379,11 +379,11 @@ declare const compositeDeclarations: {
|
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
380
|
label: string;
|
|
381
381
|
href?: string | undefined;
|
|
382
|
-
variant?: "
|
|
382
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
383
383
|
}, {
|
|
384
384
|
label: string;
|
|
385
385
|
href?: string | undefined;
|
|
386
|
-
variant?: "
|
|
386
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
387
387
|
}>, "many">>;
|
|
388
388
|
layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
389
389
|
width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
|
|
@@ -394,10 +394,10 @@ declare const compositeDeclarations: {
|
|
|
394
394
|
actions?: {
|
|
395
395
|
label: string;
|
|
396
396
|
href?: string | undefined;
|
|
397
|
-
variant?: "
|
|
397
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
398
398
|
}[] | undefined;
|
|
399
399
|
width?: string | number | undefined;
|
|
400
|
-
layout?: "
|
|
400
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
401
401
|
image?: string | undefined;
|
|
402
402
|
subtitle?: string | undefined;
|
|
403
403
|
imageAspectRatio?: string | undefined;
|
|
@@ -415,10 +415,10 @@ declare const compositeDeclarations: {
|
|
|
415
415
|
actions?: {
|
|
416
416
|
label: string;
|
|
417
417
|
href?: string | undefined;
|
|
418
|
-
variant?: "
|
|
418
|
+
variant?: "outline" | "soft" | "solid" | "ghost" | undefined;
|
|
419
419
|
}[] | undefined;
|
|
420
420
|
width?: string | number | undefined;
|
|
421
|
-
layout?: "
|
|
421
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
422
422
|
image?: string | undefined;
|
|
423
423
|
subtitle?: string | undefined;
|
|
424
424
|
imageAspectRatio?: string | undefined;
|
|
@@ -479,8 +479,8 @@ declare const compositeDeclarations: {
|
|
|
479
479
|
caption?: string | undefined;
|
|
480
480
|
}[] | undefined;
|
|
481
481
|
gap?: string | number | undefined;
|
|
482
|
-
layout?: "grid" | "bento" | undefined;
|
|
483
482
|
aspectRatio?: string | undefined;
|
|
483
|
+
layout?: "grid" | "bento" | undefined;
|
|
484
484
|
}, {
|
|
485
485
|
columns?: number | undefined;
|
|
486
486
|
images?: {
|
|
@@ -490,8 +490,8 @@ declare const compositeDeclarations: {
|
|
|
490
490
|
caption?: string | undefined;
|
|
491
491
|
}[] | undefined;
|
|
492
492
|
gap?: string | number | undefined;
|
|
493
|
-
layout?: "grid" | "bento" | undefined;
|
|
494
493
|
aspectRatio?: string | undefined;
|
|
494
|
+
layout?: "grid" | "bento" | undefined;
|
|
495
495
|
}>;
|
|
496
496
|
};
|
|
497
497
|
};
|
|
@@ -135,21 +135,21 @@ declare const tableCellSchema: z.ZodObject<{
|
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
text?: string | number | undefined;
|
|
137
137
|
align?: "start" | "center" | "end" | undefined;
|
|
138
|
+
padding?: string | number | undefined;
|
|
138
139
|
width?: string | number | undefined;
|
|
140
|
+
rowSpan?: number | undefined;
|
|
139
141
|
header?: boolean | undefined;
|
|
140
142
|
vAlign?: "start" | "center" | "end" | undefined;
|
|
141
143
|
colSpan?: number | undefined;
|
|
142
|
-
rowSpan?: number | undefined;
|
|
143
|
-
padding?: string | number | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
text?: string | number | undefined;
|
|
146
146
|
align?: "start" | "center" | "end" | undefined;
|
|
147
|
+
padding?: string | number | undefined;
|
|
147
148
|
width?: string | number | undefined;
|
|
149
|
+
rowSpan?: number | undefined;
|
|
148
150
|
header?: boolean | undefined;
|
|
149
151
|
vAlign?: "start" | "center" | "end" | undefined;
|
|
150
152
|
colSpan?: number | undefined;
|
|
151
|
-
rowSpan?: number | undefined;
|
|
152
|
-
padding?: string | number | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
declare const listItemValue: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
155
155
|
label: z.ZodString;
|
|
@@ -159,13 +159,13 @@ declare const listItemValue: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
label: string;
|
|
161
161
|
description?: string | undefined;
|
|
162
|
-
value?: string | number | undefined;
|
|
163
162
|
icon?: string | undefined;
|
|
163
|
+
value?: string | number | undefined;
|
|
164
164
|
}, {
|
|
165
165
|
label: string;
|
|
166
166
|
description?: string | undefined;
|
|
167
|
-
value?: string | number | undefined;
|
|
168
167
|
icon?: string | undefined;
|
|
168
|
+
value?: string | number | undefined;
|
|
169
169
|
}>]>;
|
|
170
170
|
type ListItemValue = z.output<typeof listItemValue>;
|
|
171
171
|
declare const LIST_MARKERS: readonly ["bullet", "number", "rich", "none"];
|
|
@@ -179,13 +179,13 @@ declare const listSchema: z.ZodObject<{
|
|
|
179
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
180
|
label: string;
|
|
181
181
|
description?: string | undefined;
|
|
182
|
-
value?: string | number | undefined;
|
|
183
182
|
icon?: string | undefined;
|
|
183
|
+
value?: string | number | undefined;
|
|
184
184
|
}, {
|
|
185
185
|
label: string;
|
|
186
186
|
description?: string | undefined;
|
|
187
|
-
value?: string | number | undefined;
|
|
188
187
|
icon?: string | undefined;
|
|
188
|
+
value?: string | number | undefined;
|
|
189
189
|
}>]>, "many">>;
|
|
190
190
|
direction: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
191
191
|
align: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
@@ -200,30 +200,30 @@ declare const listSchema: z.ZodObject<{
|
|
|
200
200
|
items?: (string | {
|
|
201
201
|
label: string;
|
|
202
202
|
description?: string | undefined;
|
|
203
|
-
value?: string | number | undefined;
|
|
204
203
|
icon?: string | undefined;
|
|
204
|
+
value?: string | number | undefined;
|
|
205
205
|
})[] | undefined;
|
|
206
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
206
207
|
align?: "start" | "center" | "end" | "stretch" | undefined;
|
|
207
|
-
|
|
208
|
+
gap?: string | number | undefined;
|
|
208
209
|
weight?: number | undefined;
|
|
209
210
|
marker?: "number" | "none" | "bullet" | "rich" | undefined;
|
|
210
211
|
connector?: "none" | "solid" | undefined;
|
|
211
|
-
gap?: string | number | undefined;
|
|
212
212
|
maxMarkerSize?: number | undefined;
|
|
213
213
|
}, {
|
|
214
214
|
start?: number | undefined;
|
|
215
215
|
items?: (string | {
|
|
216
216
|
label: string;
|
|
217
217
|
description?: string | undefined;
|
|
218
|
-
value?: string | number | undefined;
|
|
219
218
|
icon?: string | undefined;
|
|
219
|
+
value?: string | number | undefined;
|
|
220
220
|
})[] | undefined;
|
|
221
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
221
222
|
align?: "start" | "center" | "end" | "stretch" | undefined;
|
|
222
|
-
|
|
223
|
+
gap?: string | number | undefined;
|
|
223
224
|
weight?: number | undefined;
|
|
224
225
|
marker?: "number" | "none" | "bullet" | "rich" | undefined;
|
|
225
226
|
connector?: "none" | "solid" | undefined;
|
|
226
|
-
gap?: string | number | undefined;
|
|
227
227
|
maxMarkerSize?: number | undefined;
|
|
228
228
|
}>;
|
|
229
229
|
declare const listItemSchema: z.ZodObject<{
|
|
@@ -237,19 +237,19 @@ declare const listItemSchema: z.ZodObject<{
|
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
description?: string | undefined;
|
|
239
239
|
label?: string | undefined;
|
|
240
|
-
value?: string | number | undefined;
|
|
241
240
|
icon?: string | undefined;
|
|
241
|
+
value?: string | number | undefined;
|
|
242
|
+
disabled?: boolean | undefined;
|
|
242
243
|
marker?: string | undefined;
|
|
243
244
|
markerSize?: number | undefined;
|
|
244
|
-
disabled?: boolean | undefined;
|
|
245
245
|
}, {
|
|
246
246
|
description?: string | undefined;
|
|
247
247
|
label?: string | undefined;
|
|
248
|
-
value?: string | number | undefined;
|
|
249
248
|
icon?: string | undefined;
|
|
249
|
+
value?: string | number | undefined;
|
|
250
|
+
disabled?: boolean | undefined;
|
|
250
251
|
marker?: string | undefined;
|
|
251
252
|
markerSize?: number | undefined;
|
|
252
|
-
disabled?: boolean | undefined;
|
|
253
253
|
}>;
|
|
254
254
|
declare const listSelection: z.ZodObject<{
|
|
255
255
|
index: z.ZodNumber;
|
|
@@ -407,21 +407,21 @@ declare const dataDeclarations: {
|
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
408
|
text?: string | number | undefined;
|
|
409
409
|
align?: "start" | "center" | "end" | undefined;
|
|
410
|
+
padding?: string | number | undefined;
|
|
410
411
|
width?: string | number | undefined;
|
|
412
|
+
rowSpan?: number | undefined;
|
|
411
413
|
header?: boolean | undefined;
|
|
412
414
|
vAlign?: "start" | "center" | "end" | undefined;
|
|
413
415
|
colSpan?: number | undefined;
|
|
414
|
-
rowSpan?: number | undefined;
|
|
415
|
-
padding?: string | number | undefined;
|
|
416
416
|
}, {
|
|
417
417
|
text?: string | number | undefined;
|
|
418
418
|
align?: "start" | "center" | "end" | undefined;
|
|
419
|
+
padding?: string | number | undefined;
|
|
419
420
|
width?: string | number | undefined;
|
|
421
|
+
rowSpan?: number | undefined;
|
|
420
422
|
header?: boolean | undefined;
|
|
421
423
|
vAlign?: "start" | "center" | "end" | undefined;
|
|
422
424
|
colSpan?: number | undefined;
|
|
423
|
-
rowSpan?: number | undefined;
|
|
424
|
-
padding?: string | number | undefined;
|
|
425
425
|
}>;
|
|
426
426
|
slots: {
|
|
427
427
|
readonly children: "multiple";
|
|
@@ -438,13 +438,13 @@ declare const dataDeclarations: {
|
|
|
438
438
|
}, "strip", z.ZodTypeAny, {
|
|
439
439
|
label: string;
|
|
440
440
|
description?: string | undefined;
|
|
441
|
-
value?: string | number | undefined;
|
|
442
441
|
icon?: string | undefined;
|
|
442
|
+
value?: string | number | undefined;
|
|
443
443
|
}, {
|
|
444
444
|
label: string;
|
|
445
445
|
description?: string | undefined;
|
|
446
|
-
value?: string | number | undefined;
|
|
447
446
|
icon?: string | undefined;
|
|
447
|
+
value?: string | number | undefined;
|
|
448
448
|
}>]>, "many">>;
|
|
449
449
|
direction: z.ZodOptional<z.ZodEnum<["vertical", "horizontal"]>>;
|
|
450
450
|
align: z.ZodOptional<z.ZodEnum<["start", "center", "end", "stretch"]>>;
|
|
@@ -459,30 +459,30 @@ declare const dataDeclarations: {
|
|
|
459
459
|
items?: (string | {
|
|
460
460
|
label: string;
|
|
461
461
|
description?: string | undefined;
|
|
462
|
-
value?: string | number | undefined;
|
|
463
462
|
icon?: string | undefined;
|
|
463
|
+
value?: string | number | undefined;
|
|
464
464
|
})[] | undefined;
|
|
465
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
465
466
|
align?: "start" | "center" | "end" | "stretch" | undefined;
|
|
466
|
-
|
|
467
|
+
gap?: string | number | undefined;
|
|
467
468
|
weight?: number | undefined;
|
|
468
469
|
marker?: "number" | "none" | "bullet" | "rich" | undefined;
|
|
469
470
|
connector?: "none" | "solid" | undefined;
|
|
470
|
-
gap?: string | number | undefined;
|
|
471
471
|
maxMarkerSize?: number | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
start?: number | undefined;
|
|
474
474
|
items?: (string | {
|
|
475
475
|
label: string;
|
|
476
476
|
description?: string | undefined;
|
|
477
|
-
value?: string | number | undefined;
|
|
478
477
|
icon?: string | undefined;
|
|
478
|
+
value?: string | number | undefined;
|
|
479
479
|
})[] | undefined;
|
|
480
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
480
481
|
align?: "start" | "center" | "end" | "stretch" | undefined;
|
|
481
|
-
|
|
482
|
+
gap?: string | number | undefined;
|
|
482
483
|
weight?: number | undefined;
|
|
483
484
|
marker?: "number" | "none" | "bullet" | "rich" | undefined;
|
|
484
485
|
connector?: "none" | "solid" | undefined;
|
|
485
|
-
gap?: string | number | undefined;
|
|
486
486
|
maxMarkerSize?: number | undefined;
|
|
487
487
|
}>;
|
|
488
488
|
events: {
|
|
@@ -520,19 +520,19 @@ declare const dataDeclarations: {
|
|
|
520
520
|
}, "strip", z.ZodTypeAny, {
|
|
521
521
|
description?: string | undefined;
|
|
522
522
|
label?: string | undefined;
|
|
523
|
-
value?: string | number | undefined;
|
|
524
523
|
icon?: string | undefined;
|
|
524
|
+
value?: string | number | undefined;
|
|
525
|
+
disabled?: boolean | undefined;
|
|
525
526
|
marker?: string | undefined;
|
|
526
527
|
markerSize?: number | undefined;
|
|
527
|
-
disabled?: boolean | undefined;
|
|
528
528
|
}, {
|
|
529
529
|
description?: string | undefined;
|
|
530
530
|
label?: string | undefined;
|
|
531
|
-
value?: string | number | undefined;
|
|
532
531
|
icon?: string | undefined;
|
|
532
|
+
value?: string | number | undefined;
|
|
533
|
+
disabled?: boolean | undefined;
|
|
533
534
|
marker?: string | undefined;
|
|
534
535
|
markerSize?: number | undefined;
|
|
535
|
-
disabled?: boolean | undefined;
|
|
536
536
|
}>;
|
|
537
537
|
events: {
|
|
538
538
|
action: {
|
|
@@ -608,8 +608,9 @@ declare const dataDeclarations: {
|
|
|
608
608
|
color?: string | undefined;
|
|
609
609
|
})[] | undefined;
|
|
610
610
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
611
|
+
height?: number | undefined;
|
|
612
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
611
613
|
stacked?: boolean | undefined;
|
|
612
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
613
614
|
yAxis?: {
|
|
614
615
|
label?: string | undefined;
|
|
615
616
|
min?: number | undefined;
|
|
@@ -625,7 +626,6 @@ declare const dataDeclarations: {
|
|
|
625
626
|
cornerRadius?: number | undefined;
|
|
626
627
|
paddingAngle?: number | undefined;
|
|
627
628
|
showLabelLines?: boolean | undefined;
|
|
628
|
-
height?: number | undefined;
|
|
629
629
|
showLegend?: boolean | undefined;
|
|
630
630
|
showGrid?: boolean | undefined;
|
|
631
631
|
showTooltip?: boolean | undefined;
|
|
@@ -642,8 +642,9 @@ declare const dataDeclarations: {
|
|
|
642
642
|
color?: string | undefined;
|
|
643
643
|
})[] | undefined;
|
|
644
644
|
chartType?: "bar" | "line" | "area" | "scatter" | "pie" | "donut" | undefined;
|
|
645
|
+
height?: number | undefined;
|
|
646
|
+
layout?: "horizontal" | "vertical" | undefined;
|
|
645
647
|
stacked?: boolean | undefined;
|
|
646
|
-
layout?: "vertical" | "horizontal" | undefined;
|
|
647
648
|
yAxis?: {
|
|
648
649
|
label?: string | undefined;
|
|
649
650
|
min?: number | undefined;
|
|
@@ -659,7 +660,6 @@ declare const dataDeclarations: {
|
|
|
659
660
|
cornerRadius?: number | undefined;
|
|
660
661
|
paddingAngle?: number | undefined;
|
|
661
662
|
showLabelLines?: boolean | undefined;
|
|
662
|
-
height?: number | undefined;
|
|
663
663
|
showLegend?: boolean | undefined;
|
|
664
664
|
showGrid?: boolean | undefined;
|
|
665
665
|
showTooltip?: boolean | undefined;
|
|
@@ -681,14 +681,14 @@ declare const dataDeclarations: {
|
|
|
681
681
|
label: string;
|
|
682
682
|
lat: number;
|
|
683
683
|
lng: number;
|
|
684
|
-
icon?: string | undefined;
|
|
685
684
|
category?: string | undefined;
|
|
685
|
+
icon?: string | undefined;
|
|
686
686
|
}, {
|
|
687
687
|
label: string;
|
|
688
688
|
lat: number;
|
|
689
689
|
lng: number;
|
|
690
|
-
icon?: string | undefined;
|
|
691
690
|
category?: string | undefined;
|
|
691
|
+
icon?: string | undefined;
|
|
692
692
|
}>, "many">>;
|
|
693
693
|
route: z.ZodOptional<z.ZodBoolean>;
|
|
694
694
|
selected: z.ZodOptional<z.ZodString>;
|
|
@@ -713,8 +713,8 @@ declare const dataDeclarations: {
|
|
|
713
713
|
label: string;
|
|
714
714
|
lat: number;
|
|
715
715
|
lng: number;
|
|
716
|
-
icon?: string | undefined;
|
|
717
716
|
category?: string | undefined;
|
|
717
|
+
icon?: string | undefined;
|
|
718
718
|
}[] | undefined;
|
|
719
719
|
selected?: string | undefined;
|
|
720
720
|
route?: boolean | undefined;
|
|
@@ -729,8 +729,8 @@ declare const dataDeclarations: {
|
|
|
729
729
|
label: string;
|
|
730
730
|
lat: number;
|
|
731
731
|
lng: number;
|
|
732
|
-
icon?: string | undefined;
|
|
733
732
|
category?: string | undefined;
|
|
733
|
+
icon?: string | undefined;
|
|
734
734
|
}[] | undefined;
|
|
735
735
|
selected?: string | undefined;
|
|
736
736
|
route?: boolean | undefined;
|