@antelopejs/interface-dms 0.15.1-next.1020.g0c3c63d → 0.16.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/base/activity-feed.d.ts +38 -137
  3. package/dist/base/banner.d.ts +34 -60
  4. package/dist/base/block-registry/helpers.d.ts +5 -5
  5. package/dist/base/block-registry/helpers.js.map +1 -1
  6. package/dist/base/block-registry/internal/describe.d.ts +3 -3
  7. package/dist/base/block-registry/internal/describe.js +120 -126
  8. package/dist/base/block-registry/internal/describe.js.map +1 -1
  9. package/dist/base/block-registry/internal/ui.d.ts +6 -4
  10. package/dist/base/block-registry/internal/ui.js +6 -2
  11. package/dist/base/block-registry/internal/ui.js.map +1 -1
  12. package/dist/base/block-registry/registry.d.ts +2 -2
  13. package/dist/base/block-registry/registry.js.map +1 -1
  14. package/dist/base/block-registry/types.d.ts +4 -4
  15. package/dist/base/card.d.ts +24 -46
  16. package/dist/base/chart-card.d.ts +10 -39
  17. package/dist/base/chart-schemas.d.ts +404 -2542
  18. package/dist/base/code-block.d.ts +12 -22
  19. package/dist/base/data-types/default/address.d.ts +1 -19
  20. package/dist/base/data-types/default/choices.d.ts +1 -1
  21. package/dist/base/data-types/default/files.d.ts +6 -30
  22. package/dist/base/data-types/default/numbers.d.ts +5 -17
  23. package/dist/base/data-types/default/numbers.js.map +1 -1
  24. package/dist/base/data-types/default/strings.d.ts +1 -1
  25. package/dist/base/data-types/field-types.d.ts +7 -17
  26. package/dist/base/display.d.ts +42 -48
  27. package/dist/base/empty-state.d.ts +48 -70
  28. package/dist/base/export-jobs.d.ts +3 -3
  29. package/dist/base/form-block-schema.d.ts +56 -510
  30. package/dist/base/form-block-schema.js +1 -1
  31. package/dist/base/form-block-schema.js.map +1 -1
  32. package/dist/base/form-schema.d.ts +0 -1
  33. package/dist/base/form-schema.js +0 -1
  34. package/dist/base/form-schema.js.map +1 -1
  35. package/dist/base/form-types.d.ts +2 -2
  36. package/dist/base/grid.d.ts +2 -12
  37. package/dist/base/guard.d.ts +55 -132
  38. package/dist/base/internal/composed-text.d.ts +3 -3
  39. package/dist/base/internal/composed-text.js +1 -1
  40. package/dist/base/internal/composed-text.js.map +1 -1
  41. package/dist/base/internal/display.d.ts +1 -1
  42. package/dist/base/internal/display.js.map +1 -1
  43. package/dist/base/internal/export-jobs.d.ts +2 -2
  44. package/dist/base/internal/export-jobs.js.map +1 -1
  45. package/dist/base/internal/form-schema-components.d.ts +11 -0
  46. package/dist/base/internal/form-schema-components.js +82 -2
  47. package/dist/base/internal/form-schema-components.js.map +1 -1
  48. package/dist/base/internal/form-schema-validation.d.ts +3 -5
  49. package/dist/base/internal/form-schema-validation.js +1 -1
  50. package/dist/base/internal/form-schema-validation.js.map +1 -1
  51. package/dist/base/key-value-list.d.ts +25 -92
  52. package/dist/base/kpi-card.d.ts +15 -49
  53. package/dist/base/live-toggle.d.ts +15 -16
  54. package/dist/base/meter.d.ts +56 -92
  55. package/dist/base/nav-card-grid.d.ts +29 -92
  56. package/dist/base/page-toolbar.d.ts +6 -10
  57. package/dist/base/period-selector.d.ts +95 -44
  58. package/dist/base/period-selector.js +2 -2
  59. package/dist/base/period-selector.js.map +1 -1
  60. package/dist/base/placeholder.d.ts +1 -9
  61. package/dist/base/resource-form-schema.d.ts +10 -25
  62. package/dist/base/resource-form-schema.js +1 -1
  63. package/dist/base/resource-form-schema.js.map +1 -1
  64. package/dist/base/section.d.ts +7 -25
  65. package/dist/base/stack.d.ts +31 -37
  66. package/dist/base/stat-group.d.ts +37 -84
  67. package/dist/base/tab.d.ts +19 -124
  68. package/dist/base/table-view/internal/meta-helpers.js +23 -1
  69. package/dist/base/table-view/internal/meta-helpers.js.map +1 -1
  70. package/dist/base/table-view/internal/row-actions-schema.d.ts +42 -258
  71. package/dist/base/table-view/schema.d.ts +135 -1222
  72. package/dist/base/table-view/schema.js +3 -3
  73. package/dist/base/table-view/schema.js.map +1 -1
  74. package/dist/base/top-list-card.d.ts +37 -151
  75. package/dist/invite-extensions/internal/types.d.ts +3 -4
  76. package/dist/invite-extensions/types.d.ts +2 -2
  77. package/docs/1.core/6.invites.md +1 -1
  78. package/docs/3.base/1.introduction.md +1 -1
  79. package/docs/3.base/9.helpers.md +1 -1
  80. package/package.json +3 -4
@@ -6,2993 +6,855 @@ import { HttpMethod } from "./types/http";
6
6
  export declare const ChartLineSchema: z.ZodObject<{
7
7
  title: z.ZodOptional<z.ZodString>;
8
8
  description: z.ZodOptional<z.ZodString>;
9
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
9
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
10
10
  height: z.ZodOptional<z.ZodString>;
11
11
  width: z.ZodOptional<z.ZodNumber>;
12
12
  showTooltip: z.ZodDefault<z.ZodBoolean>;
13
13
  showLegend: z.ZodDefault<z.ZodBoolean>;
14
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
14
+ legendPosition: z.ZodOptional<z.ZodEnum<{
15
+ bottom: "bottom";
16
+ top: "top";
17
+ }>>;
15
18
  fetchUrl: z.ZodOptional<z.ZodString>;
16
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
19
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
17
20
  periodScope: z.ZodOptional<z.ZodString>;
18
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
21
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
19
22
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
23
  key: z.ZodString;
21
24
  value: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- key: string;
24
- value: string;
25
- }, {
26
- key: string;
27
- value: string;
28
- }>, "many">>;
25
+ }, z.core.$strip>>>;
29
26
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
27
  key: z.ZodString;
31
28
  value: z.ZodString;
32
- }, "strip", z.ZodTypeAny, {
33
- key: string;
34
- value: string;
35
- }, {
36
- key: string;
37
- value: string;
38
- }>, "many">>;
29
+ }, z.core.$strip>>>;
39
30
  showGrid: z.ZodDefault<z.ZodBoolean>;
40
31
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
41
32
  name: z.ZodString;
42
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
43
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
33
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
34
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
44
35
  y: z.ZodNullable<z.ZodNumber>;
45
36
  label: z.ZodOptional<z.ZodString>;
46
- }, "strip", z.ZodTypeAny, {
47
- x: string | number | Date;
48
- y: number | null;
49
- label?: string | undefined;
50
- }, {
51
- x: string | number | Date;
52
- y: number | null;
53
- label?: string | undefined;
54
- }>, z.ZodObject<{
55
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
56
39
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
57
- }, "strip", z.ZodTypeAny, {
58
- x: string | number | Date;
59
- y: [number, number];
60
- }, {
61
- x: string | number | Date;
62
- y: [number, number];
63
- }>, z.ZodObject<{
64
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
65
42
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
66
- }, "strip", z.ZodTypeAny, {
67
- x: string | number | Date;
68
- y: [number, number, number, number];
69
- }, {
70
- x: string | number | Date;
71
- y: [number, number, number, number];
72
- }>]>, "many">;
73
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
74
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
75
- }, "strip", z.ZodTypeAny, {
76
- name: string;
77
- data: (number | {
78
- x: string | number | Date;
79
- y: number | null;
80
- label?: string | undefined;
81
- } | {
82
- x: string | number | Date;
83
- y: [number, number];
84
- } | {
85
- x: string | number | Date;
86
- y: [number, number, number, number];
87
- })[];
88
- type?: ChartType | undefined;
89
- color?: ChartColorValue | undefined;
90
- }, {
91
- name: string;
92
- data: (number | {
93
- x: string | number | Date;
94
- y: number | null;
95
- label?: string | undefined;
96
- } | {
97
- x: string | number | Date;
98
- y: [number, number];
99
- } | {
100
- x: string | number | Date;
101
- y: [number, number, number, number];
102
- })[];
103
- type?: ChartType | undefined;
104
- color?: ChartColorValue | undefined;
105
- }>, "many">>;
43
+ }, z.core.$strip>]>>;
44
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
45
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
46
+ }, z.core.$strip>>>;
106
47
  yRange: z.ZodOptional<z.ZodObject<{
107
48
  min: z.ZodNumber;
108
49
  max: z.ZodNumber;
109
- }, "strip", z.ZodTypeAny, {
110
- min: number;
111
- max: number;
112
- }, {
113
- min: number;
114
- max: number;
50
+ }, z.core.$strip>>;
51
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
52
+ dashed: "dashed";
53
+ dimmed: "dimmed";
54
+ solid: "solid";
115
55
  }>>;
116
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
117
56
  smooth: z.ZodDefault<z.ZodBoolean>;
118
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
57
+ curve: z.ZodOptional<z.ZodEnum<{
58
+ smooth: "smooth";
59
+ stepline: "stepline";
60
+ straight: "straight";
61
+ }>>;
119
62
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
120
63
  y: z.ZodNumber;
121
64
  y2: z.ZodOptional<z.ZodNumber>;
122
65
  label: z.ZodOptional<z.ZodString>;
123
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
66
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
124
67
  dashed: z.ZodOptional<z.ZodBoolean>;
125
- }, "strip", z.ZodTypeAny, {
126
- y: number;
127
- y2?: number | undefined;
128
- label?: string | undefined;
129
- color?: ChartColorValue | undefined;
130
- dashed?: boolean | undefined;
131
- }, {
132
- y: number;
133
- y2?: number | undefined;
134
- label?: string | undefined;
135
- color?: ChartColorValue | undefined;
136
- dashed?: boolean | undefined;
137
- }>, "many">>;
68
+ }, z.core.$strip>>>;
138
69
  syncGroup: z.ZodOptional<z.ZodString>;
139
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
70
+ xaxisType: z.ZodOptional<z.ZodEnum<{
71
+ category: "category";
72
+ datetime: "datetime";
73
+ numeric: "numeric";
74
+ }>>;
140
75
  xAxis: z.ZodOptional<z.ZodObject<{
141
76
  tickAmount: z.ZodOptional<z.ZodNumber>;
142
77
  rotate: z.ZodOptional<z.ZodNumber>;
143
78
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
144
79
  datetimeFormat: z.ZodOptional<z.ZodString>;
145
- }, "strip", z.ZodTypeAny, {
146
- tickAmount?: number | undefined;
147
- rotate?: number | undefined;
148
- hideOverlappingLabels?: boolean | undefined;
149
- datetimeFormat?: string | undefined;
150
- }, {
151
- tickAmount?: number | undefined;
152
- rotate?: number | undefined;
153
- hideOverlappingLabels?: boolean | undefined;
154
- datetimeFormat?: string | undefined;
155
- }>>;
80
+ }, z.core.$strip>>;
156
81
  strokeWidth: z.ZodOptional<z.ZodNumber>;
157
- }, "strip", z.ZodTypeAny, {
158
- title?: string | undefined;
159
- description?: string | undefined;
160
- color?: ChartColorValue[] | ChartColorValue | undefined;
161
- height?: string | undefined;
162
- width?: number | undefined;
163
- showTooltip: boolean;
164
- showLegend: boolean;
165
- legendPosition?: "bottom" | "top" | undefined;
166
- fetchUrl?: string | undefined;
167
- fetchUrlMethod?: HttpMethod | undefined;
168
- periodScope?: string | undefined;
169
- realtimeTopic?: string | string[] | undefined;
170
- rawOptions?: {
171
- key: string;
172
- value: string;
173
- }[] | undefined;
174
- rawCss?: {
175
- key: string;
176
- value: string;
177
- }[] | undefined;
178
- showGrid: boolean;
179
- staticDataset?: {
180
- name: string;
181
- data: (number | {
182
- x: string | number | Date;
183
- y: number | null;
184
- label?: string | undefined;
185
- } | {
186
- x: string | number | Date;
187
- y: [number, number];
188
- } | {
189
- x: string | number | Date;
190
- y: [number, number, number, number];
191
- })[];
192
- type?: ChartType | undefined;
193
- color?: ChartColorValue | undefined;
194
- }[] | undefined;
195
- yRange?: {
196
- min: number;
197
- max: number;
198
- } | undefined;
199
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
200
- smooth: boolean;
201
- curve?: "smooth" | "stepline" | "straight" | undefined;
202
- annotations?: {
203
- y: number;
204
- y2?: number | undefined;
205
- label?: string | undefined;
206
- color?: ChartColorValue | undefined;
207
- dashed?: boolean | undefined;
208
- }[] | undefined;
209
- syncGroup?: string | undefined;
210
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
211
- xAxis?: {
212
- tickAmount?: number | undefined;
213
- rotate?: number | undefined;
214
- hideOverlappingLabels?: boolean | undefined;
215
- datetimeFormat?: string | undefined;
216
- } | undefined;
217
- strokeWidth?: number | undefined;
218
- }, {
219
- title?: string | undefined;
220
- description?: string | undefined;
221
- color?: ChartColorValue[] | ChartColorValue | undefined;
222
- height?: string | undefined;
223
- width?: number | undefined;
224
- showTooltip?: boolean | undefined;
225
- showLegend?: boolean | undefined;
226
- legendPosition?: "bottom" | "top" | undefined;
227
- fetchUrl?: string | undefined;
228
- fetchUrlMethod?: HttpMethod | undefined;
229
- periodScope?: string | undefined;
230
- realtimeTopic?: string | string[] | undefined;
231
- rawOptions?: {
232
- key: string;
233
- value: string;
234
- }[] | undefined;
235
- rawCss?: {
236
- key: string;
237
- value: string;
238
- }[] | undefined;
239
- showGrid?: boolean | undefined;
240
- staticDataset?: {
241
- name: string;
242
- data: (number | {
243
- x: string | number | Date;
244
- y: number | null;
245
- label?: string | undefined;
246
- } | {
247
- x: string | number | Date;
248
- y: [number, number];
249
- } | {
250
- x: string | number | Date;
251
- y: [number, number, number, number];
252
- })[];
253
- type?: ChartType | undefined;
254
- color?: ChartColorValue | undefined;
255
- }[] | undefined;
256
- yRange?: {
257
- min: number;
258
- max: number;
259
- } | undefined;
260
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
261
- smooth?: boolean | undefined;
262
- curve?: "smooth" | "stepline" | "straight" | undefined;
263
- annotations?: {
264
- y: number;
265
- y2?: number | undefined;
266
- label?: string | undefined;
267
- color?: ChartColorValue | undefined;
268
- dashed?: boolean | undefined;
269
- }[] | undefined;
270
- syncGroup?: string | undefined;
271
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
272
- xAxis?: {
273
- tickAmount?: number | undefined;
274
- rotate?: number | undefined;
275
- hideOverlappingLabels?: boolean | undefined;
276
- datetimeFormat?: string | undefined;
277
- } | undefined;
278
- strokeWidth?: number | undefined;
279
- }>;
82
+ }, z.core.$strip>;
280
83
  /** The options `ChartArea` accepts; the factory supplies `type`. */
281
84
  export declare const ChartAreaSchema: z.ZodObject<{
282
85
  title: z.ZodOptional<z.ZodString>;
283
86
  description: z.ZodOptional<z.ZodString>;
284
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
87
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
285
88
  height: z.ZodOptional<z.ZodString>;
286
89
  width: z.ZodOptional<z.ZodNumber>;
287
90
  showTooltip: z.ZodDefault<z.ZodBoolean>;
288
91
  showLegend: z.ZodDefault<z.ZodBoolean>;
289
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
92
+ legendPosition: z.ZodOptional<z.ZodEnum<{
93
+ bottom: "bottom";
94
+ top: "top";
95
+ }>>;
290
96
  fetchUrl: z.ZodOptional<z.ZodString>;
291
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
97
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
292
98
  periodScope: z.ZodOptional<z.ZodString>;
293
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
99
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
294
100
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
101
  key: z.ZodString;
296
102
  value: z.ZodString;
297
- }, "strip", z.ZodTypeAny, {
298
- key: string;
299
- value: string;
300
- }, {
301
- key: string;
302
- value: string;
303
- }>, "many">>;
103
+ }, z.core.$strip>>>;
304
104
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
305
105
  key: z.ZodString;
306
106
  value: z.ZodString;
307
- }, "strip", z.ZodTypeAny, {
308
- key: string;
309
- value: string;
310
- }, {
311
- key: string;
312
- value: string;
313
- }>, "many">>;
107
+ }, z.core.$strip>>>;
314
108
  showGrid: z.ZodDefault<z.ZodBoolean>;
315
109
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
316
110
  name: z.ZodString;
317
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
318
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
111
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
112
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
319
113
  y: z.ZodNullable<z.ZodNumber>;
320
114
  label: z.ZodOptional<z.ZodString>;
321
- }, "strip", z.ZodTypeAny, {
322
- x: string | number | Date;
323
- y: number | null;
324
- label?: string | undefined;
325
- }, {
326
- x: string | number | Date;
327
- y: number | null;
328
- label?: string | undefined;
329
- }>, z.ZodObject<{
330
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
331
117
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
332
- }, "strip", z.ZodTypeAny, {
333
- x: string | number | Date;
334
- y: [number, number];
335
- }, {
336
- x: string | number | Date;
337
- y: [number, number];
338
- }>, z.ZodObject<{
339
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
118
+ }, z.core.$strip>, z.ZodObject<{
119
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
340
120
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
341
- }, "strip", z.ZodTypeAny, {
342
- x: string | number | Date;
343
- y: [number, number, number, number];
344
- }, {
345
- x: string | number | Date;
346
- y: [number, number, number, number];
347
- }>]>, "many">;
348
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
349
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
350
- }, "strip", z.ZodTypeAny, {
351
- name: string;
352
- data: (number | {
353
- x: string | number | Date;
354
- y: number | null;
355
- label?: string | undefined;
356
- } | {
357
- x: string | number | Date;
358
- y: [number, number];
359
- } | {
360
- x: string | number | Date;
361
- y: [number, number, number, number];
362
- })[];
363
- type?: ChartType | undefined;
364
- color?: ChartColorValue | undefined;
365
- }, {
366
- name: string;
367
- data: (number | {
368
- x: string | number | Date;
369
- y: number | null;
370
- label?: string | undefined;
371
- } | {
372
- x: string | number | Date;
373
- y: [number, number];
374
- } | {
375
- x: string | number | Date;
376
- y: [number, number, number, number];
377
- })[];
378
- type?: ChartType | undefined;
379
- color?: ChartColorValue | undefined;
380
- }>, "many">>;
121
+ }, z.core.$strip>]>>;
122
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
123
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
124
+ }, z.core.$strip>>>;
381
125
  yRange: z.ZodOptional<z.ZodObject<{
382
126
  min: z.ZodNumber;
383
127
  max: z.ZodNumber;
384
- }, "strip", z.ZodTypeAny, {
385
- min: number;
386
- max: number;
387
- }, {
388
- min: number;
389
- max: number;
128
+ }, z.core.$strip>>;
129
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
130
+ dashed: "dashed";
131
+ dimmed: "dimmed";
132
+ solid: "solid";
390
133
  }>>;
391
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
392
134
  smooth: z.ZodDefault<z.ZodBoolean>;
393
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
135
+ curve: z.ZodOptional<z.ZodEnum<{
136
+ smooth: "smooth";
137
+ stepline: "stepline";
138
+ straight: "straight";
139
+ }>>;
394
140
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
141
  y: z.ZodNumber;
396
142
  y2: z.ZodOptional<z.ZodNumber>;
397
143
  label: z.ZodOptional<z.ZodString>;
398
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
144
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
399
145
  dashed: z.ZodOptional<z.ZodBoolean>;
400
- }, "strip", z.ZodTypeAny, {
401
- y: number;
402
- y2?: number | undefined;
403
- label?: string | undefined;
404
- color?: ChartColorValue | undefined;
405
- dashed?: boolean | undefined;
406
- }, {
407
- y: number;
408
- y2?: number | undefined;
409
- label?: string | undefined;
410
- color?: ChartColorValue | undefined;
411
- dashed?: boolean | undefined;
412
- }>, "many">>;
146
+ }, z.core.$strip>>>;
413
147
  syncGroup: z.ZodOptional<z.ZodString>;
414
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
148
+ xaxisType: z.ZodOptional<z.ZodEnum<{
149
+ category: "category";
150
+ datetime: "datetime";
151
+ numeric: "numeric";
152
+ }>>;
415
153
  xAxis: z.ZodOptional<z.ZodObject<{
416
154
  tickAmount: z.ZodOptional<z.ZodNumber>;
417
155
  rotate: z.ZodOptional<z.ZodNumber>;
418
156
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
419
157
  datetimeFormat: z.ZodOptional<z.ZodString>;
420
- }, "strip", z.ZodTypeAny, {
421
- tickAmount?: number | undefined;
422
- rotate?: number | undefined;
423
- hideOverlappingLabels?: boolean | undefined;
424
- datetimeFormat?: string | undefined;
425
- }, {
426
- tickAmount?: number | undefined;
427
- rotate?: number | undefined;
428
- hideOverlappingLabels?: boolean | undefined;
429
- datetimeFormat?: string | undefined;
430
- }>>;
158
+ }, z.core.$strip>>;
431
159
  fillOpacity: z.ZodOptional<z.ZodNumber>;
432
160
  stacked: z.ZodOptional<z.ZodBoolean>;
433
- }, "strip", z.ZodTypeAny, {
434
- title?: string | undefined;
435
- description?: string | undefined;
436
- color?: ChartColorValue[] | ChartColorValue | undefined;
437
- height?: string | undefined;
438
- width?: number | undefined;
439
- showTooltip: boolean;
440
- showLegend: boolean;
441
- legendPosition?: "bottom" | "top" | undefined;
442
- fetchUrl?: string | undefined;
443
- fetchUrlMethod?: HttpMethod | undefined;
444
- periodScope?: string | undefined;
445
- realtimeTopic?: string | string[] | undefined;
446
- rawOptions?: {
447
- key: string;
448
- value: string;
449
- }[] | undefined;
450
- rawCss?: {
451
- key: string;
452
- value: string;
453
- }[] | undefined;
454
- showGrid: boolean;
455
- staticDataset?: {
456
- name: string;
457
- data: (number | {
458
- x: string | number | Date;
459
- y: number | null;
460
- label?: string | undefined;
461
- } | {
462
- x: string | number | Date;
463
- y: [number, number];
464
- } | {
465
- x: string | number | Date;
466
- y: [number, number, number, number];
467
- })[];
468
- type?: ChartType | undefined;
469
- color?: ChartColorValue | undefined;
470
- }[] | undefined;
471
- yRange?: {
472
- min: number;
473
- max: number;
474
- } | undefined;
475
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
476
- smooth: boolean;
477
- curve?: "smooth" | "stepline" | "straight" | undefined;
478
- annotations?: {
479
- y: number;
480
- y2?: number | undefined;
481
- label?: string | undefined;
482
- color?: ChartColorValue | undefined;
483
- dashed?: boolean | undefined;
484
- }[] | undefined;
485
- syncGroup?: string | undefined;
486
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
487
- xAxis?: {
488
- tickAmount?: number | undefined;
489
- rotate?: number | undefined;
490
- hideOverlappingLabels?: boolean | undefined;
491
- datetimeFormat?: string | undefined;
492
- } | undefined;
493
- fillOpacity?: number | undefined;
494
- stacked?: boolean | undefined;
495
- }, {
496
- title?: string | undefined;
497
- description?: string | undefined;
498
- color?: ChartColorValue[] | ChartColorValue | undefined;
499
- height?: string | undefined;
500
- width?: number | undefined;
501
- showTooltip?: boolean | undefined;
502
- showLegend?: boolean | undefined;
503
- legendPosition?: "bottom" | "top" | undefined;
504
- fetchUrl?: string | undefined;
505
- fetchUrlMethod?: HttpMethod | undefined;
506
- periodScope?: string | undefined;
507
- realtimeTopic?: string | string[] | undefined;
508
- rawOptions?: {
509
- key: string;
510
- value: string;
511
- }[] | undefined;
512
- rawCss?: {
513
- key: string;
514
- value: string;
515
- }[] | undefined;
516
- showGrid?: boolean | undefined;
517
- staticDataset?: {
518
- name: string;
519
- data: (number | {
520
- x: string | number | Date;
521
- y: number | null;
522
- label?: string | undefined;
523
- } | {
524
- x: string | number | Date;
525
- y: [number, number];
526
- } | {
527
- x: string | number | Date;
528
- y: [number, number, number, number];
529
- })[];
530
- type?: ChartType | undefined;
531
- color?: ChartColorValue | undefined;
532
- }[] | undefined;
533
- yRange?: {
534
- min: number;
535
- max: number;
536
- } | undefined;
537
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
538
- smooth?: boolean | undefined;
539
- curve?: "smooth" | "stepline" | "straight" | undefined;
540
- annotations?: {
541
- y: number;
542
- y2?: number | undefined;
543
- label?: string | undefined;
544
- color?: ChartColorValue | undefined;
545
- dashed?: boolean | undefined;
546
- }[] | undefined;
547
- syncGroup?: string | undefined;
548
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
549
- xAxis?: {
550
- tickAmount?: number | undefined;
551
- rotate?: number | undefined;
552
- hideOverlappingLabels?: boolean | undefined;
553
- datetimeFormat?: string | undefined;
554
- } | undefined;
555
- fillOpacity?: number | undefined;
556
- stacked?: boolean | undefined;
557
- }>;
161
+ }, z.core.$strip>;
558
162
  /** The options `ChartRangeArea` accepts; the factory supplies `type`. */
559
163
  export declare const ChartRangeAreaSchema: z.ZodObject<{
560
164
  title: z.ZodOptional<z.ZodString>;
561
165
  description: z.ZodOptional<z.ZodString>;
562
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
166
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
563
167
  height: z.ZodOptional<z.ZodString>;
564
168
  width: z.ZodOptional<z.ZodNumber>;
565
169
  showTooltip: z.ZodDefault<z.ZodBoolean>;
566
170
  showLegend: z.ZodDefault<z.ZodBoolean>;
567
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
171
+ legendPosition: z.ZodOptional<z.ZodEnum<{
172
+ bottom: "bottom";
173
+ top: "top";
174
+ }>>;
568
175
  fetchUrl: z.ZodOptional<z.ZodString>;
569
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
176
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
570
177
  periodScope: z.ZodOptional<z.ZodString>;
571
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
178
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
572
179
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
573
180
  key: z.ZodString;
574
181
  value: z.ZodString;
575
- }, "strip", z.ZodTypeAny, {
576
- key: string;
577
- value: string;
578
- }, {
579
- key: string;
580
- value: string;
581
- }>, "many">>;
182
+ }, z.core.$strip>>>;
582
183
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
583
184
  key: z.ZodString;
584
185
  value: z.ZodString;
585
- }, "strip", z.ZodTypeAny, {
586
- key: string;
587
- value: string;
588
- }, {
589
- key: string;
590
- value: string;
591
- }>, "many">>;
186
+ }, z.core.$strip>>>;
592
187
  showGrid: z.ZodDefault<z.ZodBoolean>;
593
188
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
594
189
  name: z.ZodString;
595
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
596
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
190
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
191
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
597
192
  y: z.ZodNullable<z.ZodNumber>;
598
193
  label: z.ZodOptional<z.ZodString>;
599
- }, "strip", z.ZodTypeAny, {
600
- x: string | number | Date;
601
- y: number | null;
602
- label?: string | undefined;
603
- }, {
604
- x: string | number | Date;
605
- y: number | null;
606
- label?: string | undefined;
607
- }>, z.ZodObject<{
608
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
194
+ }, z.core.$strip>, z.ZodObject<{
195
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
609
196
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
610
- }, "strip", z.ZodTypeAny, {
611
- x: string | number | Date;
612
- y: [number, number];
613
- }, {
614
- x: string | number | Date;
615
- y: [number, number];
616
- }>, z.ZodObject<{
617
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
618
199
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
619
- }, "strip", z.ZodTypeAny, {
620
- x: string | number | Date;
621
- y: [number, number, number, number];
622
- }, {
623
- x: string | number | Date;
624
- y: [number, number, number, number];
625
- }>]>, "many">;
626
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
627
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
628
- }, "strip", z.ZodTypeAny, {
629
- name: string;
630
- data: (number | {
631
- x: string | number | Date;
632
- y: number | null;
633
- label?: string | undefined;
634
- } | {
635
- x: string | number | Date;
636
- y: [number, number];
637
- } | {
638
- x: string | number | Date;
639
- y: [number, number, number, number];
640
- })[];
641
- type?: ChartType | undefined;
642
- color?: ChartColorValue | undefined;
643
- }, {
644
- name: string;
645
- data: (number | {
646
- x: string | number | Date;
647
- y: number | null;
648
- label?: string | undefined;
649
- } | {
650
- x: string | number | Date;
651
- y: [number, number];
652
- } | {
653
- x: string | number | Date;
654
- y: [number, number, number, number];
655
- })[];
656
- type?: ChartType | undefined;
657
- color?: ChartColorValue | undefined;
658
- }>, "many">>;
200
+ }, z.core.$strip>]>>;
201
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
202
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
203
+ }, z.core.$strip>>>;
659
204
  yRange: z.ZodOptional<z.ZodObject<{
660
205
  min: z.ZodNumber;
661
206
  max: z.ZodNumber;
662
- }, "strip", z.ZodTypeAny, {
663
- min: number;
664
- max: number;
665
- }, {
666
- min: number;
667
- max: number;
207
+ }, z.core.$strip>>;
208
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
209
+ dashed: "dashed";
210
+ dimmed: "dimmed";
211
+ solid: "solid";
668
212
  }>>;
669
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
670
213
  smooth: z.ZodDefault<z.ZodBoolean>;
671
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
214
+ curve: z.ZodOptional<z.ZodEnum<{
215
+ smooth: "smooth";
216
+ stepline: "stepline";
217
+ straight: "straight";
218
+ }>>;
672
219
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
220
  y: z.ZodNumber;
674
221
  y2: z.ZodOptional<z.ZodNumber>;
675
222
  label: z.ZodOptional<z.ZodString>;
676
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
223
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
677
224
  dashed: z.ZodOptional<z.ZodBoolean>;
678
- }, "strip", z.ZodTypeAny, {
679
- y: number;
680
- y2?: number | undefined;
681
- label?: string | undefined;
682
- color?: ChartColorValue | undefined;
683
- dashed?: boolean | undefined;
684
- }, {
685
- y: number;
686
- y2?: number | undefined;
687
- label?: string | undefined;
688
- color?: ChartColorValue | undefined;
689
- dashed?: boolean | undefined;
690
- }>, "many">>;
225
+ }, z.core.$strip>>>;
691
226
  syncGroup: z.ZodOptional<z.ZodString>;
692
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
227
+ xaxisType: z.ZodOptional<z.ZodEnum<{
228
+ category: "category";
229
+ datetime: "datetime";
230
+ numeric: "numeric";
231
+ }>>;
693
232
  xAxis: z.ZodOptional<z.ZodObject<{
694
233
  tickAmount: z.ZodOptional<z.ZodNumber>;
695
234
  rotate: z.ZodOptional<z.ZodNumber>;
696
235
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
697
236
  datetimeFormat: z.ZodOptional<z.ZodString>;
698
- }, "strip", z.ZodTypeAny, {
699
- tickAmount?: number | undefined;
700
- rotate?: number | undefined;
701
- hideOverlappingLabels?: boolean | undefined;
702
- datetimeFormat?: string | undefined;
703
- }, {
704
- tickAmount?: number | undefined;
705
- rotate?: number | undefined;
706
- hideOverlappingLabels?: boolean | undefined;
707
- datetimeFormat?: string | undefined;
708
- }>>;
237
+ }, z.core.$strip>>;
709
238
  fillOpacity: z.ZodOptional<z.ZodNumber>;
710
- }, "strip", z.ZodTypeAny, {
711
- title?: string | undefined;
712
- description?: string | undefined;
713
- color?: ChartColorValue[] | ChartColorValue | undefined;
714
- height?: string | undefined;
715
- width?: number | undefined;
716
- showTooltip: boolean;
717
- showLegend: boolean;
718
- legendPosition?: "bottom" | "top" | undefined;
719
- fetchUrl?: string | undefined;
720
- fetchUrlMethod?: HttpMethod | undefined;
721
- periodScope?: string | undefined;
722
- realtimeTopic?: string | string[] | undefined;
723
- rawOptions?: {
724
- key: string;
725
- value: string;
726
- }[] | undefined;
727
- rawCss?: {
728
- key: string;
729
- value: string;
730
- }[] | undefined;
731
- showGrid: boolean;
732
- staticDataset?: {
733
- name: string;
734
- data: (number | {
735
- x: string | number | Date;
736
- y: number | null;
737
- label?: string | undefined;
738
- } | {
739
- x: string | number | Date;
740
- y: [number, number];
741
- } | {
742
- x: string | number | Date;
743
- y: [number, number, number, number];
744
- })[];
745
- type?: ChartType | undefined;
746
- color?: ChartColorValue | undefined;
747
- }[] | undefined;
748
- yRange?: {
749
- min: number;
750
- max: number;
751
- } | undefined;
752
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
753
- smooth: boolean;
754
- curve?: "smooth" | "stepline" | "straight" | undefined;
755
- annotations?: {
756
- y: number;
757
- y2?: number | undefined;
758
- label?: string | undefined;
759
- color?: ChartColorValue | undefined;
760
- dashed?: boolean | undefined;
761
- }[] | undefined;
762
- syncGroup?: string | undefined;
763
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
764
- xAxis?: {
765
- tickAmount?: number | undefined;
766
- rotate?: number | undefined;
767
- hideOverlappingLabels?: boolean | undefined;
768
- datetimeFormat?: string | undefined;
769
- } | undefined;
770
- fillOpacity?: number | undefined;
771
- }, {
772
- title?: string | undefined;
773
- description?: string | undefined;
774
- color?: ChartColorValue[] | ChartColorValue | undefined;
775
- height?: string | undefined;
776
- width?: number | undefined;
777
- showTooltip?: boolean | undefined;
778
- showLegend?: boolean | undefined;
779
- legendPosition?: "bottom" | "top" | undefined;
780
- fetchUrl?: string | undefined;
781
- fetchUrlMethod?: HttpMethod | undefined;
782
- periodScope?: string | undefined;
783
- realtimeTopic?: string | string[] | undefined;
784
- rawOptions?: {
785
- key: string;
786
- value: string;
787
- }[] | undefined;
788
- rawCss?: {
789
- key: string;
790
- value: string;
791
- }[] | undefined;
792
- showGrid?: boolean | undefined;
793
- staticDataset?: {
794
- name: string;
795
- data: (number | {
796
- x: string | number | Date;
797
- y: number | null;
798
- label?: string | undefined;
799
- } | {
800
- x: string | number | Date;
801
- y: [number, number];
802
- } | {
803
- x: string | number | Date;
804
- y: [number, number, number, number];
805
- })[];
806
- type?: ChartType | undefined;
807
- color?: ChartColorValue | undefined;
808
- }[] | undefined;
809
- yRange?: {
810
- min: number;
811
- max: number;
812
- } | undefined;
813
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
814
- smooth?: boolean | undefined;
815
- curve?: "smooth" | "stepline" | "straight" | undefined;
816
- annotations?: {
817
- y: number;
818
- y2?: number | undefined;
819
- label?: string | undefined;
820
- color?: ChartColorValue | undefined;
821
- dashed?: boolean | undefined;
822
- }[] | undefined;
823
- syncGroup?: string | undefined;
824
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
825
- xAxis?: {
826
- tickAmount?: number | undefined;
827
- rotate?: number | undefined;
828
- hideOverlappingLabels?: boolean | undefined;
829
- datetimeFormat?: string | undefined;
830
- } | undefined;
831
- fillOpacity?: number | undefined;
832
- }>;
239
+ }, z.core.$strip>;
833
240
  /** The options `ChartBar` accepts; the factory supplies `type`. */
834
241
  export declare const ChartBarSchema: z.ZodObject<{
835
242
  title: z.ZodOptional<z.ZodString>;
836
243
  description: z.ZodOptional<z.ZodString>;
837
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
244
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
838
245
  height: z.ZodOptional<z.ZodString>;
839
246
  width: z.ZodOptional<z.ZodNumber>;
840
247
  showTooltip: z.ZodDefault<z.ZodBoolean>;
841
248
  showLegend: z.ZodDefault<z.ZodBoolean>;
842
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
249
+ legendPosition: z.ZodOptional<z.ZodEnum<{
250
+ bottom: "bottom";
251
+ top: "top";
252
+ }>>;
843
253
  fetchUrl: z.ZodOptional<z.ZodString>;
844
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
254
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
845
255
  periodScope: z.ZodOptional<z.ZodString>;
846
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
256
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
847
257
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
848
258
  key: z.ZodString;
849
259
  value: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
851
- key: string;
852
- value: string;
853
- }, {
854
- key: string;
855
- value: string;
856
- }>, "many">>;
260
+ }, z.core.$strip>>>;
857
261
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
858
262
  key: z.ZodString;
859
263
  value: z.ZodString;
860
- }, "strip", z.ZodTypeAny, {
861
- key: string;
862
- value: string;
863
- }, {
864
- key: string;
865
- value: string;
866
- }>, "many">>;
264
+ }, z.core.$strip>>>;
867
265
  showGrid: z.ZodDefault<z.ZodBoolean>;
868
266
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
869
267
  name: z.ZodString;
870
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
871
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
268
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
269
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
872
270
  y: z.ZodNullable<z.ZodNumber>;
873
271
  label: z.ZodOptional<z.ZodString>;
874
- }, "strip", z.ZodTypeAny, {
875
- x: string | number | Date;
876
- y: number | null;
877
- label?: string | undefined;
878
- }, {
879
- x: string | number | Date;
880
- y: number | null;
881
- label?: string | undefined;
882
- }>, z.ZodObject<{
883
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
272
+ }, z.core.$strip>, z.ZodObject<{
273
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
884
274
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
885
- }, "strip", z.ZodTypeAny, {
886
- x: string | number | Date;
887
- y: [number, number];
888
- }, {
889
- x: string | number | Date;
890
- y: [number, number];
891
- }>, z.ZodObject<{
892
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
275
+ }, z.core.$strip>, z.ZodObject<{
276
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
893
277
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
894
- }, "strip", z.ZodTypeAny, {
895
- x: string | number | Date;
896
- y: [number, number, number, number];
897
- }, {
898
- x: string | number | Date;
899
- y: [number, number, number, number];
900
- }>]>, "many">;
901
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
902
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
903
- }, "strip", z.ZodTypeAny, {
904
- name: string;
905
- data: (number | {
906
- x: string | number | Date;
907
- y: number | null;
908
- label?: string | undefined;
909
- } | {
910
- x: string | number | Date;
911
- y: [number, number];
912
- } | {
913
- x: string | number | Date;
914
- y: [number, number, number, number];
915
- })[];
916
- type?: ChartType | undefined;
917
- color?: ChartColorValue | undefined;
918
- }, {
919
- name: string;
920
- data: (number | {
921
- x: string | number | Date;
922
- y: number | null;
923
- label?: string | undefined;
924
- } | {
925
- x: string | number | Date;
926
- y: [number, number];
927
- } | {
928
- x: string | number | Date;
929
- y: [number, number, number, number];
930
- })[];
931
- type?: ChartType | undefined;
932
- color?: ChartColorValue | undefined;
933
- }>, "many">>;
278
+ }, z.core.$strip>]>>;
279
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
280
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
281
+ }, z.core.$strip>>>;
934
282
  yRange: z.ZodOptional<z.ZodObject<{
935
283
  min: z.ZodNumber;
936
284
  max: z.ZodNumber;
937
- }, "strip", z.ZodTypeAny, {
938
- min: number;
939
- max: number;
940
- }, {
941
- min: number;
942
- max: number;
285
+ }, z.core.$strip>>;
286
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
287
+ dashed: "dashed";
288
+ dimmed: "dimmed";
289
+ solid: "solid";
943
290
  }>>;
944
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
945
291
  smooth: z.ZodDefault<z.ZodBoolean>;
946
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
292
+ curve: z.ZodOptional<z.ZodEnum<{
293
+ smooth: "smooth";
294
+ stepline: "stepline";
295
+ straight: "straight";
296
+ }>>;
947
297
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
948
298
  y: z.ZodNumber;
949
299
  y2: z.ZodOptional<z.ZodNumber>;
950
300
  label: z.ZodOptional<z.ZodString>;
951
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
301
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
952
302
  dashed: z.ZodOptional<z.ZodBoolean>;
953
- }, "strip", z.ZodTypeAny, {
954
- y: number;
955
- y2?: number | undefined;
956
- label?: string | undefined;
957
- color?: ChartColorValue | undefined;
958
- dashed?: boolean | undefined;
959
- }, {
960
- y: number;
961
- y2?: number | undefined;
962
- label?: string | undefined;
963
- color?: ChartColorValue | undefined;
964
- dashed?: boolean | undefined;
965
- }>, "many">>;
303
+ }, z.core.$strip>>>;
966
304
  syncGroup: z.ZodOptional<z.ZodString>;
967
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
305
+ xaxisType: z.ZodOptional<z.ZodEnum<{
306
+ category: "category";
307
+ datetime: "datetime";
308
+ numeric: "numeric";
309
+ }>>;
968
310
  xAxis: z.ZodOptional<z.ZodObject<{
969
311
  tickAmount: z.ZodOptional<z.ZodNumber>;
970
312
  rotate: z.ZodOptional<z.ZodNumber>;
971
313
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
972
314
  datetimeFormat: z.ZodOptional<z.ZodString>;
973
- }, "strip", z.ZodTypeAny, {
974
- tickAmount?: number | undefined;
975
- rotate?: number | undefined;
976
- hideOverlappingLabels?: boolean | undefined;
977
- datetimeFormat?: string | undefined;
978
- }, {
979
- tickAmount?: number | undefined;
980
- rotate?: number | undefined;
981
- hideOverlappingLabels?: boolean | undefined;
982
- datetimeFormat?: string | undefined;
983
- }>>;
315
+ }, z.core.$strip>>;
984
316
  stacked: z.ZodOptional<z.ZodBoolean>;
985
317
  barWidth: z.ZodOptional<z.ZodNumber>;
986
318
  roundedCorners: z.ZodDefault<z.ZodBoolean>;
987
- orientation: z.ZodOptional<z.ZodNativeEnum<typeof AxeOrientation>>;
988
- }, "strip", z.ZodTypeAny, {
989
- title?: string | undefined;
990
- description?: string | undefined;
991
- color?: ChartColorValue[] | ChartColorValue | undefined;
992
- height?: string | undefined;
993
- width?: number | undefined;
994
- showTooltip: boolean;
995
- showLegend: boolean;
996
- legendPosition?: "bottom" | "top" | undefined;
997
- fetchUrl?: string | undefined;
998
- fetchUrlMethod?: HttpMethod | undefined;
999
- periodScope?: string | undefined;
1000
- realtimeTopic?: string | string[] | undefined;
1001
- rawOptions?: {
1002
- key: string;
1003
- value: string;
1004
- }[] | undefined;
1005
- rawCss?: {
1006
- key: string;
1007
- value: string;
1008
- }[] | undefined;
1009
- showGrid: boolean;
1010
- staticDataset?: {
1011
- name: string;
1012
- data: (number | {
1013
- x: string | number | Date;
1014
- y: number | null;
1015
- label?: string | undefined;
1016
- } | {
1017
- x: string | number | Date;
1018
- y: [number, number];
1019
- } | {
1020
- x: string | number | Date;
1021
- y: [number, number, number, number];
1022
- })[];
1023
- type?: ChartType | undefined;
1024
- color?: ChartColorValue | undefined;
1025
- }[] | undefined;
1026
- yRange?: {
1027
- min: number;
1028
- max: number;
1029
- } | undefined;
1030
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1031
- smooth: boolean;
1032
- curve?: "smooth" | "stepline" | "straight" | undefined;
1033
- annotations?: {
1034
- y: number;
1035
- y2?: number | undefined;
1036
- label?: string | undefined;
1037
- color?: ChartColorValue | undefined;
1038
- dashed?: boolean | undefined;
1039
- }[] | undefined;
1040
- syncGroup?: string | undefined;
1041
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1042
- xAxis?: {
1043
- tickAmount?: number | undefined;
1044
- rotate?: number | undefined;
1045
- hideOverlappingLabels?: boolean | undefined;
1046
- datetimeFormat?: string | undefined;
1047
- } | undefined;
1048
- stacked?: boolean | undefined;
1049
- barWidth?: number | undefined;
1050
- roundedCorners: boolean;
1051
- orientation?: AxeOrientation | undefined;
1052
- }, {
1053
- title?: string | undefined;
1054
- description?: string | undefined;
1055
- color?: ChartColorValue[] | ChartColorValue | undefined;
1056
- height?: string | undefined;
1057
- width?: number | undefined;
1058
- showTooltip?: boolean | undefined;
1059
- showLegend?: boolean | undefined;
1060
- legendPosition?: "bottom" | "top" | undefined;
1061
- fetchUrl?: string | undefined;
1062
- fetchUrlMethod?: HttpMethod | undefined;
1063
- periodScope?: string | undefined;
1064
- realtimeTopic?: string | string[] | undefined;
1065
- rawOptions?: {
1066
- key: string;
1067
- value: string;
1068
- }[] | undefined;
1069
- rawCss?: {
1070
- key: string;
1071
- value: string;
1072
- }[] | undefined;
1073
- showGrid?: boolean | undefined;
1074
- staticDataset?: {
1075
- name: string;
1076
- data: (number | {
1077
- x: string | number | Date;
1078
- y: number | null;
1079
- label?: string | undefined;
1080
- } | {
1081
- x: string | number | Date;
1082
- y: [number, number];
1083
- } | {
1084
- x: string | number | Date;
1085
- y: [number, number, number, number];
1086
- })[];
1087
- type?: ChartType | undefined;
1088
- color?: ChartColorValue | undefined;
1089
- }[] | undefined;
1090
- yRange?: {
1091
- min: number;
1092
- max: number;
1093
- } | undefined;
1094
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1095
- smooth?: boolean | undefined;
1096
- curve?: "smooth" | "stepline" | "straight" | undefined;
1097
- annotations?: {
1098
- y: number;
1099
- y2?: number | undefined;
1100
- label?: string | undefined;
1101
- color?: ChartColorValue | undefined;
1102
- dashed?: boolean | undefined;
1103
- }[] | undefined;
1104
- syncGroup?: string | undefined;
1105
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1106
- xAxis?: {
1107
- tickAmount?: number | undefined;
1108
- rotate?: number | undefined;
1109
- hideOverlappingLabels?: boolean | undefined;
1110
- datetimeFormat?: string | undefined;
1111
- } | undefined;
1112
- stacked?: boolean | undefined;
1113
- barWidth?: number | undefined;
1114
- roundedCorners?: boolean | undefined;
1115
- orientation?: AxeOrientation | undefined;
1116
- }>;
319
+ orientation: z.ZodOptional<z.ZodEnum<typeof AxeOrientation>>;
320
+ }, z.core.$strip>;
1117
321
  /** The options `ChartColumn` accepts; the factory supplies `type`. */
1118
322
  export declare const ChartColumnSchema: z.ZodObject<{
1119
323
  title: z.ZodOptional<z.ZodString>;
1120
324
  description: z.ZodOptional<z.ZodString>;
1121
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
325
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
1122
326
  height: z.ZodOptional<z.ZodString>;
1123
327
  width: z.ZodOptional<z.ZodNumber>;
1124
328
  showTooltip: z.ZodDefault<z.ZodBoolean>;
1125
329
  showLegend: z.ZodDefault<z.ZodBoolean>;
1126
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
330
+ legendPosition: z.ZodOptional<z.ZodEnum<{
331
+ bottom: "bottom";
332
+ top: "top";
333
+ }>>;
1127
334
  fetchUrl: z.ZodOptional<z.ZodString>;
1128
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
335
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
1129
336
  periodScope: z.ZodOptional<z.ZodString>;
1130
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
337
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1131
338
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1132
339
  key: z.ZodString;
1133
340
  value: z.ZodString;
1134
- }, "strip", z.ZodTypeAny, {
1135
- key: string;
1136
- value: string;
1137
- }, {
1138
- key: string;
1139
- value: string;
1140
- }>, "many">>;
341
+ }, z.core.$strip>>>;
1141
342
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
1142
343
  key: z.ZodString;
1143
344
  value: z.ZodString;
1144
- }, "strip", z.ZodTypeAny, {
1145
- key: string;
1146
- value: string;
1147
- }, {
1148
- key: string;
1149
- value: string;
1150
- }>, "many">>;
345
+ }, z.core.$strip>>>;
1151
346
  showGrid: z.ZodDefault<z.ZodBoolean>;
1152
347
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
1153
348
  name: z.ZodString;
1154
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1155
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
349
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
350
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1156
351
  y: z.ZodNullable<z.ZodNumber>;
1157
352
  label: z.ZodOptional<z.ZodString>;
1158
- }, "strip", z.ZodTypeAny, {
1159
- x: string | number | Date;
1160
- y: number | null;
1161
- label?: string | undefined;
1162
- }, {
1163
- x: string | number | Date;
1164
- y: number | null;
1165
- label?: string | undefined;
1166
- }>, z.ZodObject<{
1167
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
353
+ }, z.core.$strip>, z.ZodObject<{
354
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1168
355
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1169
- }, "strip", z.ZodTypeAny, {
1170
- x: string | number | Date;
1171
- y: [number, number];
1172
- }, {
1173
- x: string | number | Date;
1174
- y: [number, number];
1175
- }>, z.ZodObject<{
1176
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
356
+ }, z.core.$strip>, z.ZodObject<{
357
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1177
358
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1178
- }, "strip", z.ZodTypeAny, {
1179
- x: string | number | Date;
1180
- y: [number, number, number, number];
1181
- }, {
1182
- x: string | number | Date;
1183
- y: [number, number, number, number];
1184
- }>]>, "many">;
1185
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
1186
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
1187
- }, "strip", z.ZodTypeAny, {
1188
- name: string;
1189
- data: (number | {
1190
- x: string | number | Date;
1191
- y: number | null;
1192
- label?: string | undefined;
1193
- } | {
1194
- x: string | number | Date;
1195
- y: [number, number];
1196
- } | {
1197
- x: string | number | Date;
1198
- y: [number, number, number, number];
1199
- })[];
1200
- type?: ChartType | undefined;
1201
- color?: ChartColorValue | undefined;
1202
- }, {
1203
- name: string;
1204
- data: (number | {
1205
- x: string | number | Date;
1206
- y: number | null;
1207
- label?: string | undefined;
1208
- } | {
1209
- x: string | number | Date;
1210
- y: [number, number];
1211
- } | {
1212
- x: string | number | Date;
1213
- y: [number, number, number, number];
1214
- })[];
1215
- type?: ChartType | undefined;
1216
- color?: ChartColorValue | undefined;
1217
- }>, "many">>;
359
+ }, z.core.$strip>]>>;
360
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
361
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
362
+ }, z.core.$strip>>>;
1218
363
  yRange: z.ZodOptional<z.ZodObject<{
1219
364
  min: z.ZodNumber;
1220
365
  max: z.ZodNumber;
1221
- }, "strip", z.ZodTypeAny, {
1222
- min: number;
1223
- max: number;
1224
- }, {
1225
- min: number;
1226
- max: number;
366
+ }, z.core.$strip>>;
367
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
368
+ dashed: "dashed";
369
+ dimmed: "dimmed";
370
+ solid: "solid";
1227
371
  }>>;
1228
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
1229
372
  smooth: z.ZodDefault<z.ZodBoolean>;
1230
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
373
+ curve: z.ZodOptional<z.ZodEnum<{
374
+ smooth: "smooth";
375
+ stepline: "stepline";
376
+ straight: "straight";
377
+ }>>;
1231
378
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1232
379
  y: z.ZodNumber;
1233
380
  y2: z.ZodOptional<z.ZodNumber>;
1234
381
  label: z.ZodOptional<z.ZodString>;
1235
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
382
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
1236
383
  dashed: z.ZodOptional<z.ZodBoolean>;
1237
- }, "strip", z.ZodTypeAny, {
1238
- y: number;
1239
- y2?: number | undefined;
1240
- label?: string | undefined;
1241
- color?: ChartColorValue | undefined;
1242
- dashed?: boolean | undefined;
1243
- }, {
1244
- y: number;
1245
- y2?: number | undefined;
1246
- label?: string | undefined;
1247
- color?: ChartColorValue | undefined;
1248
- dashed?: boolean | undefined;
1249
- }>, "many">>;
384
+ }, z.core.$strip>>>;
1250
385
  syncGroup: z.ZodOptional<z.ZodString>;
1251
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
386
+ xaxisType: z.ZodOptional<z.ZodEnum<{
387
+ category: "category";
388
+ datetime: "datetime";
389
+ numeric: "numeric";
390
+ }>>;
1252
391
  xAxis: z.ZodOptional<z.ZodObject<{
1253
392
  tickAmount: z.ZodOptional<z.ZodNumber>;
1254
393
  rotate: z.ZodOptional<z.ZodNumber>;
1255
394
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
1256
395
  datetimeFormat: z.ZodOptional<z.ZodString>;
1257
- }, "strip", z.ZodTypeAny, {
1258
- tickAmount?: number | undefined;
1259
- rotate?: number | undefined;
1260
- hideOverlappingLabels?: boolean | undefined;
1261
- datetimeFormat?: string | undefined;
1262
- }, {
1263
- tickAmount?: number | undefined;
1264
- rotate?: number | undefined;
1265
- hideOverlappingLabels?: boolean | undefined;
1266
- datetimeFormat?: string | undefined;
1267
- }>>;
396
+ }, z.core.$strip>>;
1268
397
  stacked: z.ZodOptional<z.ZodBoolean>;
1269
398
  columnWidth: z.ZodOptional<z.ZodNumber>;
1270
399
  roundedCorners: z.ZodDefault<z.ZodBoolean>;
1271
- }, "strip", z.ZodTypeAny, {
1272
- title?: string | undefined;
1273
- description?: string | undefined;
1274
- color?: ChartColorValue[] | ChartColorValue | undefined;
1275
- height?: string | undefined;
1276
- width?: number | undefined;
1277
- showTooltip: boolean;
1278
- showLegend: boolean;
1279
- legendPosition?: "bottom" | "top" | undefined;
1280
- fetchUrl?: string | undefined;
1281
- fetchUrlMethod?: HttpMethod | undefined;
1282
- periodScope?: string | undefined;
1283
- realtimeTopic?: string | string[] | undefined;
1284
- rawOptions?: {
1285
- key: string;
1286
- value: string;
1287
- }[] | undefined;
1288
- rawCss?: {
1289
- key: string;
1290
- value: string;
1291
- }[] | undefined;
1292
- showGrid: boolean;
1293
- staticDataset?: {
1294
- name: string;
1295
- data: (number | {
1296
- x: string | number | Date;
1297
- y: number | null;
1298
- label?: string | undefined;
1299
- } | {
1300
- x: string | number | Date;
1301
- y: [number, number];
1302
- } | {
1303
- x: string | number | Date;
1304
- y: [number, number, number, number];
1305
- })[];
1306
- type?: ChartType | undefined;
1307
- color?: ChartColorValue | undefined;
1308
- }[] | undefined;
1309
- yRange?: {
1310
- min: number;
1311
- max: number;
1312
- } | undefined;
1313
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1314
- smooth: boolean;
1315
- curve?: "smooth" | "stepline" | "straight" | undefined;
1316
- annotations?: {
1317
- y: number;
1318
- y2?: number | undefined;
1319
- label?: string | undefined;
1320
- color?: ChartColorValue | undefined;
1321
- dashed?: boolean | undefined;
1322
- }[] | undefined;
1323
- syncGroup?: string | undefined;
1324
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1325
- xAxis?: {
1326
- tickAmount?: number | undefined;
1327
- rotate?: number | undefined;
1328
- hideOverlappingLabels?: boolean | undefined;
1329
- datetimeFormat?: string | undefined;
1330
- } | undefined;
1331
- stacked?: boolean | undefined;
1332
- columnWidth?: number | undefined;
1333
- roundedCorners: boolean;
1334
- }, {
1335
- title?: string | undefined;
1336
- description?: string | undefined;
1337
- color?: ChartColorValue[] | ChartColorValue | undefined;
1338
- height?: string | undefined;
1339
- width?: number | undefined;
1340
- showTooltip?: boolean | undefined;
1341
- showLegend?: boolean | undefined;
1342
- legendPosition?: "bottom" | "top" | undefined;
1343
- fetchUrl?: string | undefined;
1344
- fetchUrlMethod?: HttpMethod | undefined;
1345
- periodScope?: string | undefined;
1346
- realtimeTopic?: string | string[] | undefined;
1347
- rawOptions?: {
1348
- key: string;
1349
- value: string;
1350
- }[] | undefined;
1351
- rawCss?: {
1352
- key: string;
1353
- value: string;
1354
- }[] | undefined;
1355
- showGrid?: boolean | undefined;
1356
- staticDataset?: {
1357
- name: string;
1358
- data: (number | {
1359
- x: string | number | Date;
1360
- y: number | null;
1361
- label?: string | undefined;
1362
- } | {
1363
- x: string | number | Date;
1364
- y: [number, number];
1365
- } | {
1366
- x: string | number | Date;
1367
- y: [number, number, number, number];
1368
- })[];
1369
- type?: ChartType | undefined;
1370
- color?: ChartColorValue | undefined;
1371
- }[] | undefined;
1372
- yRange?: {
1373
- min: number;
1374
- max: number;
1375
- } | undefined;
1376
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1377
- smooth?: boolean | undefined;
1378
- curve?: "smooth" | "stepline" | "straight" | undefined;
1379
- annotations?: {
1380
- y: number;
1381
- y2?: number | undefined;
1382
- label?: string | undefined;
1383
- color?: ChartColorValue | undefined;
1384
- dashed?: boolean | undefined;
1385
- }[] | undefined;
1386
- syncGroup?: string | undefined;
1387
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1388
- xAxis?: {
1389
- tickAmount?: number | undefined;
1390
- rotate?: number | undefined;
1391
- hideOverlappingLabels?: boolean | undefined;
1392
- datetimeFormat?: string | undefined;
1393
- } | undefined;
1394
- stacked?: boolean | undefined;
1395
- columnWidth?: number | undefined;
1396
- roundedCorners?: boolean | undefined;
1397
- }>;
400
+ }, z.core.$strip>;
1398
401
  /** The options `ChartScatter` accepts; the factory supplies `type`. */
1399
402
  export declare const ChartScatterSchema: z.ZodObject<{
1400
403
  title: z.ZodOptional<z.ZodString>;
1401
404
  description: z.ZodOptional<z.ZodString>;
1402
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
405
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
1403
406
  height: z.ZodOptional<z.ZodString>;
1404
407
  width: z.ZodOptional<z.ZodNumber>;
1405
408
  showTooltip: z.ZodDefault<z.ZodBoolean>;
1406
409
  showLegend: z.ZodDefault<z.ZodBoolean>;
1407
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
410
+ legendPosition: z.ZodOptional<z.ZodEnum<{
411
+ bottom: "bottom";
412
+ top: "top";
413
+ }>>;
1408
414
  fetchUrl: z.ZodOptional<z.ZodString>;
1409
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
415
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
1410
416
  periodScope: z.ZodOptional<z.ZodString>;
1411
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
417
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1412
418
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1413
419
  key: z.ZodString;
1414
420
  value: z.ZodString;
1415
- }, "strip", z.ZodTypeAny, {
1416
- key: string;
1417
- value: string;
1418
- }, {
1419
- key: string;
1420
- value: string;
1421
- }>, "many">>;
421
+ }, z.core.$strip>>>;
1422
422
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
1423
423
  key: z.ZodString;
1424
424
  value: z.ZodString;
1425
- }, "strip", z.ZodTypeAny, {
1426
- key: string;
1427
- value: string;
1428
- }, {
1429
- key: string;
1430
- value: string;
1431
- }>, "many">>;
425
+ }, z.core.$strip>>>;
1432
426
  showGrid: z.ZodDefault<z.ZodBoolean>;
1433
427
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
1434
428
  name: z.ZodString;
1435
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1436
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
429
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
430
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1437
431
  y: z.ZodNullable<z.ZodNumber>;
1438
432
  label: z.ZodOptional<z.ZodString>;
1439
- }, "strip", z.ZodTypeAny, {
1440
- x: string | number | Date;
1441
- y: number | null;
1442
- label?: string | undefined;
1443
- }, {
1444
- x: string | number | Date;
1445
- y: number | null;
1446
- label?: string | undefined;
1447
- }>, z.ZodObject<{
1448
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
433
+ }, z.core.$strip>, z.ZodObject<{
434
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1449
435
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1450
- }, "strip", z.ZodTypeAny, {
1451
- x: string | number | Date;
1452
- y: [number, number];
1453
- }, {
1454
- x: string | number | Date;
1455
- y: [number, number];
1456
- }>, z.ZodObject<{
1457
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1458
438
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1459
- }, "strip", z.ZodTypeAny, {
1460
- x: string | number | Date;
1461
- y: [number, number, number, number];
1462
- }, {
1463
- x: string | number | Date;
1464
- y: [number, number, number, number];
1465
- }>]>, "many">;
1466
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
1467
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
1468
- }, "strip", z.ZodTypeAny, {
1469
- name: string;
1470
- data: (number | {
1471
- x: string | number | Date;
1472
- y: number | null;
1473
- label?: string | undefined;
1474
- } | {
1475
- x: string | number | Date;
1476
- y: [number, number];
1477
- } | {
1478
- x: string | number | Date;
1479
- y: [number, number, number, number];
1480
- })[];
1481
- type?: ChartType | undefined;
1482
- color?: ChartColorValue | undefined;
1483
- }, {
1484
- name: string;
1485
- data: (number | {
1486
- x: string | number | Date;
1487
- y: number | null;
1488
- label?: string | undefined;
1489
- } | {
1490
- x: string | number | Date;
1491
- y: [number, number];
1492
- } | {
1493
- x: string | number | Date;
1494
- y: [number, number, number, number];
1495
- })[];
1496
- type?: ChartType | undefined;
1497
- color?: ChartColorValue | undefined;
1498
- }>, "many">>;
439
+ }, z.core.$strip>]>>;
440
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
441
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
442
+ }, z.core.$strip>>>;
1499
443
  yRange: z.ZodOptional<z.ZodObject<{
1500
444
  min: z.ZodNumber;
1501
445
  max: z.ZodNumber;
1502
- }, "strip", z.ZodTypeAny, {
1503
- min: number;
1504
- max: number;
1505
- }, {
1506
- min: number;
1507
- max: number;
446
+ }, z.core.$strip>>;
447
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
448
+ dashed: "dashed";
449
+ dimmed: "dimmed";
450
+ solid: "solid";
1508
451
  }>>;
1509
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
1510
452
  smooth: z.ZodDefault<z.ZodBoolean>;
1511
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
453
+ curve: z.ZodOptional<z.ZodEnum<{
454
+ smooth: "smooth";
455
+ stepline: "stepline";
456
+ straight: "straight";
457
+ }>>;
1512
458
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1513
459
  y: z.ZodNumber;
1514
460
  y2: z.ZodOptional<z.ZodNumber>;
1515
461
  label: z.ZodOptional<z.ZodString>;
1516
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
462
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
1517
463
  dashed: z.ZodOptional<z.ZodBoolean>;
1518
- }, "strip", z.ZodTypeAny, {
1519
- y: number;
1520
- y2?: number | undefined;
1521
- label?: string | undefined;
1522
- color?: ChartColorValue | undefined;
1523
- dashed?: boolean | undefined;
1524
- }, {
1525
- y: number;
1526
- y2?: number | undefined;
1527
- label?: string | undefined;
1528
- color?: ChartColorValue | undefined;
1529
- dashed?: boolean | undefined;
1530
- }>, "many">>;
464
+ }, z.core.$strip>>>;
1531
465
  syncGroup: z.ZodOptional<z.ZodString>;
1532
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
466
+ xaxisType: z.ZodOptional<z.ZodEnum<{
467
+ category: "category";
468
+ datetime: "datetime";
469
+ numeric: "numeric";
470
+ }>>;
1533
471
  xAxis: z.ZodOptional<z.ZodObject<{
1534
472
  tickAmount: z.ZodOptional<z.ZodNumber>;
1535
473
  rotate: z.ZodOptional<z.ZodNumber>;
1536
474
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
1537
475
  datetimeFormat: z.ZodOptional<z.ZodString>;
1538
- }, "strip", z.ZodTypeAny, {
1539
- tickAmount?: number | undefined;
1540
- rotate?: number | undefined;
1541
- hideOverlappingLabels?: boolean | undefined;
1542
- datetimeFormat?: string | undefined;
1543
- }, {
1544
- tickAmount?: number | undefined;
1545
- rotate?: number | undefined;
1546
- hideOverlappingLabels?: boolean | undefined;
1547
- datetimeFormat?: string | undefined;
1548
- }>>;
476
+ }, z.core.$strip>>;
1549
477
  pointSize: z.ZodOptional<z.ZodNumber>;
1550
478
  showLabels: z.ZodOptional<z.ZodBoolean>;
1551
- }, "strip", z.ZodTypeAny, {
1552
- title?: string | undefined;
1553
- description?: string | undefined;
1554
- color?: ChartColorValue[] | ChartColorValue | undefined;
1555
- height?: string | undefined;
1556
- width?: number | undefined;
1557
- showTooltip: boolean;
1558
- showLegend: boolean;
1559
- legendPosition?: "bottom" | "top" | undefined;
1560
- fetchUrl?: string | undefined;
1561
- fetchUrlMethod?: HttpMethod | undefined;
1562
- periodScope?: string | undefined;
1563
- realtimeTopic?: string | string[] | undefined;
1564
- rawOptions?: {
1565
- key: string;
1566
- value: string;
1567
- }[] | undefined;
1568
- rawCss?: {
1569
- key: string;
1570
- value: string;
1571
- }[] | undefined;
1572
- showGrid: boolean;
1573
- staticDataset?: {
1574
- name: string;
1575
- data: (number | {
1576
- x: string | number | Date;
1577
- y: number | null;
1578
- label?: string | undefined;
1579
- } | {
1580
- x: string | number | Date;
1581
- y: [number, number];
1582
- } | {
1583
- x: string | number | Date;
1584
- y: [number, number, number, number];
1585
- })[];
1586
- type?: ChartType | undefined;
1587
- color?: ChartColorValue | undefined;
1588
- }[] | undefined;
1589
- yRange?: {
1590
- min: number;
1591
- max: number;
1592
- } | undefined;
1593
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1594
- smooth: boolean;
1595
- curve?: "smooth" | "stepline" | "straight" | undefined;
1596
- annotations?: {
1597
- y: number;
1598
- y2?: number | undefined;
1599
- label?: string | undefined;
1600
- color?: ChartColorValue | undefined;
1601
- dashed?: boolean | undefined;
1602
- }[] | undefined;
1603
- syncGroup?: string | undefined;
1604
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1605
- xAxis?: {
1606
- tickAmount?: number | undefined;
1607
- rotate?: number | undefined;
1608
- hideOverlappingLabels?: boolean | undefined;
1609
- datetimeFormat?: string | undefined;
1610
- } | undefined;
1611
- pointSize?: number | undefined;
1612
- showLabels?: boolean | undefined;
1613
- }, {
1614
- title?: string | undefined;
1615
- description?: string | undefined;
1616
- color?: ChartColorValue[] | ChartColorValue | undefined;
1617
- height?: string | undefined;
1618
- width?: number | undefined;
1619
- showTooltip?: boolean | undefined;
1620
- showLegend?: boolean | undefined;
1621
- legendPosition?: "bottom" | "top" | undefined;
1622
- fetchUrl?: string | undefined;
1623
- fetchUrlMethod?: HttpMethod | undefined;
1624
- periodScope?: string | undefined;
1625
- realtimeTopic?: string | string[] | undefined;
1626
- rawOptions?: {
1627
- key: string;
1628
- value: string;
1629
- }[] | undefined;
1630
- rawCss?: {
1631
- key: string;
1632
- value: string;
1633
- }[] | undefined;
1634
- showGrid?: boolean | undefined;
1635
- staticDataset?: {
1636
- name: string;
1637
- data: (number | {
1638
- x: string | number | Date;
1639
- y: number | null;
1640
- label?: string | undefined;
1641
- } | {
1642
- x: string | number | Date;
1643
- y: [number, number];
1644
- } | {
1645
- x: string | number | Date;
1646
- y: [number, number, number, number];
1647
- })[];
1648
- type?: ChartType | undefined;
1649
- color?: ChartColorValue | undefined;
1650
- }[] | undefined;
1651
- yRange?: {
1652
- min: number;
1653
- max: number;
1654
- } | undefined;
1655
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1656
- smooth?: boolean | undefined;
1657
- curve?: "smooth" | "stepline" | "straight" | undefined;
1658
- annotations?: {
1659
- y: number;
1660
- y2?: number | undefined;
1661
- label?: string | undefined;
1662
- color?: ChartColorValue | undefined;
1663
- dashed?: boolean | undefined;
1664
- }[] | undefined;
1665
- syncGroup?: string | undefined;
1666
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1667
- xAxis?: {
1668
- tickAmount?: number | undefined;
1669
- rotate?: number | undefined;
1670
- hideOverlappingLabels?: boolean | undefined;
1671
- datetimeFormat?: string | undefined;
1672
- } | undefined;
1673
- pointSize?: number | undefined;
1674
- showLabels?: boolean | undefined;
1675
- }>;
479
+ }, z.core.$strip>;
1676
480
  /** The options `ChartMixed` accepts; the factory supplies `type`. */
1677
481
  export declare const ChartMixedSchema: z.ZodObject<{
1678
482
  title: z.ZodOptional<z.ZodString>;
1679
483
  description: z.ZodOptional<z.ZodString>;
1680
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
484
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
1681
485
  height: z.ZodOptional<z.ZodString>;
1682
486
  width: z.ZodOptional<z.ZodNumber>;
1683
487
  showTooltip: z.ZodDefault<z.ZodBoolean>;
1684
488
  showLegend: z.ZodDefault<z.ZodBoolean>;
1685
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
489
+ legendPosition: z.ZodOptional<z.ZodEnum<{
490
+ bottom: "bottom";
491
+ top: "top";
492
+ }>>;
1686
493
  fetchUrl: z.ZodOptional<z.ZodString>;
1687
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
494
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
1688
495
  periodScope: z.ZodOptional<z.ZodString>;
1689
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
496
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1690
497
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1691
498
  key: z.ZodString;
1692
499
  value: z.ZodString;
1693
- }, "strip", z.ZodTypeAny, {
1694
- key: string;
1695
- value: string;
1696
- }, {
1697
- key: string;
1698
- value: string;
1699
- }>, "many">>;
500
+ }, z.core.$strip>>>;
1700
501
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
1701
502
  key: z.ZodString;
1702
503
  value: z.ZodString;
1703
- }, "strip", z.ZodTypeAny, {
1704
- key: string;
1705
- value: string;
1706
- }, {
1707
- key: string;
1708
- value: string;
1709
- }>, "many">>;
504
+ }, z.core.$strip>>>;
1710
505
  showGrid: z.ZodDefault<z.ZodBoolean>;
1711
506
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
1712
507
  name: z.ZodString;
1713
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1714
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
508
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
509
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1715
510
  y: z.ZodNullable<z.ZodNumber>;
1716
511
  label: z.ZodOptional<z.ZodString>;
1717
- }, "strip", z.ZodTypeAny, {
1718
- x: string | number | Date;
1719
- y: number | null;
1720
- label?: string | undefined;
1721
- }, {
1722
- x: string | number | Date;
1723
- y: number | null;
1724
- label?: string | undefined;
1725
- }>, z.ZodObject<{
1726
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
512
+ }, z.core.$strip>, z.ZodObject<{
513
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1727
514
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1728
- }, "strip", z.ZodTypeAny, {
1729
- x: string | number | Date;
1730
- y: [number, number];
1731
- }, {
1732
- x: string | number | Date;
1733
- y: [number, number];
1734
- }>, z.ZodObject<{
1735
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
515
+ }, z.core.$strip>, z.ZodObject<{
516
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
1736
517
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
1737
- }, "strip", z.ZodTypeAny, {
1738
- x: string | number | Date;
1739
- y: [number, number, number, number];
1740
- }, {
1741
- x: string | number | Date;
1742
- y: [number, number, number, number];
1743
- }>]>, "many">;
1744
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
1745
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
1746
- }, "strip", z.ZodTypeAny, {
1747
- name: string;
1748
- data: (number | {
1749
- x: string | number | Date;
1750
- y: number | null;
1751
- label?: string | undefined;
1752
- } | {
1753
- x: string | number | Date;
1754
- y: [number, number];
1755
- } | {
1756
- x: string | number | Date;
1757
- y: [number, number, number, number];
1758
- })[];
1759
- type?: ChartType | undefined;
1760
- color?: ChartColorValue | undefined;
1761
- }, {
1762
- name: string;
1763
- data: (number | {
1764
- x: string | number | Date;
1765
- y: number | null;
1766
- label?: string | undefined;
1767
- } | {
1768
- x: string | number | Date;
1769
- y: [number, number];
1770
- } | {
1771
- x: string | number | Date;
1772
- y: [number, number, number, number];
1773
- })[];
1774
- type?: ChartType | undefined;
1775
- color?: ChartColorValue | undefined;
1776
- }>, "many">>;
518
+ }, z.core.$strip>]>>;
519
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
520
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
521
+ }, z.core.$strip>>>;
1777
522
  yRange: z.ZodOptional<z.ZodObject<{
1778
523
  min: z.ZodNumber;
1779
524
  max: z.ZodNumber;
1780
- }, "strip", z.ZodTypeAny, {
1781
- min: number;
1782
- max: number;
1783
- }, {
1784
- min: number;
1785
- max: number;
525
+ }, z.core.$strip>>;
526
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
527
+ dashed: "dashed";
528
+ dimmed: "dimmed";
529
+ solid: "solid";
1786
530
  }>>;
1787
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
1788
531
  smooth: z.ZodDefault<z.ZodBoolean>;
1789
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
532
+ curve: z.ZodOptional<z.ZodEnum<{
533
+ smooth: "smooth";
534
+ stepline: "stepline";
535
+ straight: "straight";
536
+ }>>;
1790
537
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1791
538
  y: z.ZodNumber;
1792
539
  y2: z.ZodOptional<z.ZodNumber>;
1793
540
  label: z.ZodOptional<z.ZodString>;
1794
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
541
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
1795
542
  dashed: z.ZodOptional<z.ZodBoolean>;
1796
- }, "strip", z.ZodTypeAny, {
1797
- y: number;
1798
- y2?: number | undefined;
1799
- label?: string | undefined;
1800
- color?: ChartColorValue | undefined;
1801
- dashed?: boolean | undefined;
1802
- }, {
1803
- y: number;
1804
- y2?: number | undefined;
1805
- label?: string | undefined;
1806
- color?: ChartColorValue | undefined;
1807
- dashed?: boolean | undefined;
1808
- }>, "many">>;
543
+ }, z.core.$strip>>>;
1809
544
  syncGroup: z.ZodOptional<z.ZodString>;
1810
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
545
+ xaxisType: z.ZodOptional<z.ZodEnum<{
546
+ category: "category";
547
+ datetime: "datetime";
548
+ numeric: "numeric";
549
+ }>>;
1811
550
  xAxis: z.ZodOptional<z.ZodObject<{
1812
551
  tickAmount: z.ZodOptional<z.ZodNumber>;
1813
552
  rotate: z.ZodOptional<z.ZodNumber>;
1814
553
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
1815
554
  datetimeFormat: z.ZodOptional<z.ZodString>;
1816
- }, "strip", z.ZodTypeAny, {
1817
- tickAmount?: number | undefined;
1818
- rotate?: number | undefined;
1819
- hideOverlappingLabels?: boolean | undefined;
1820
- datetimeFormat?: string | undefined;
1821
- }, {
1822
- tickAmount?: number | undefined;
1823
- rotate?: number | undefined;
1824
- hideOverlappingLabels?: boolean | undefined;
1825
- datetimeFormat?: string | undefined;
1826
- }>>;
555
+ }, z.core.$strip>>;
1827
556
  seriesDefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1828
557
  name: z.ZodString;
1829
- type: z.ZodEnum<[ChartType.LINE, ChartType.AREA, ChartType.COLUMN, ChartType.RANGE_AREA]>;
1830
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
1831
- }, "strip", z.ZodTypeAny, {
1832
- name: string;
1833
- type: ChartType.LINE | ChartType.AREA | ChartType.RANGE_AREA | ChartType.COLUMN;
1834
- color?: ChartColorValue | undefined;
1835
- }, {
1836
- name: string;
1837
- type: ChartType.LINE | ChartType.AREA | ChartType.RANGE_AREA | ChartType.COLUMN;
1838
- color?: ChartColorValue | undefined;
1839
- }>, "many">>;
1840
- }, "strip", z.ZodTypeAny, {
1841
- title?: string | undefined;
1842
- description?: string | undefined;
1843
- color?: ChartColorValue[] | ChartColorValue | undefined;
1844
- height?: string | undefined;
1845
- width?: number | undefined;
1846
- showTooltip: boolean;
1847
- showLegend: boolean;
1848
- legendPosition?: "bottom" | "top" | undefined;
1849
- fetchUrl?: string | undefined;
1850
- fetchUrlMethod?: HttpMethod | undefined;
1851
- periodScope?: string | undefined;
1852
- realtimeTopic?: string | string[] | undefined;
1853
- rawOptions?: {
1854
- key: string;
1855
- value: string;
1856
- }[] | undefined;
1857
- rawCss?: {
1858
- key: string;
1859
- value: string;
1860
- }[] | undefined;
1861
- showGrid: boolean;
1862
- staticDataset?: {
1863
- name: string;
1864
- data: (number | {
1865
- x: string | number | Date;
1866
- y: number | null;
1867
- label?: string | undefined;
1868
- } | {
1869
- x: string | number | Date;
1870
- y: [number, number];
1871
- } | {
1872
- x: string | number | Date;
1873
- y: [number, number, number, number];
1874
- })[];
1875
- type?: ChartType | undefined;
1876
- color?: ChartColorValue | undefined;
1877
- }[] | undefined;
1878
- yRange?: {
1879
- min: number;
1880
- max: number;
1881
- } | undefined;
1882
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1883
- smooth: boolean;
1884
- curve?: "smooth" | "stepline" | "straight" | undefined;
1885
- annotations?: {
1886
- y: number;
1887
- y2?: number | undefined;
1888
- label?: string | undefined;
1889
- color?: ChartColorValue | undefined;
1890
- dashed?: boolean | undefined;
1891
- }[] | undefined;
1892
- syncGroup?: string | undefined;
1893
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1894
- xAxis?: {
1895
- tickAmount?: number | undefined;
1896
- rotate?: number | undefined;
1897
- hideOverlappingLabels?: boolean | undefined;
1898
- datetimeFormat?: string | undefined;
1899
- } | undefined;
1900
- seriesDefs?: {
1901
- name: string;
1902
- type: ChartType.LINE | ChartType.AREA | ChartType.RANGE_AREA | ChartType.COLUMN;
1903
- color?: ChartColorValue | undefined;
1904
- }[] | undefined;
1905
- }, {
1906
- title?: string | undefined;
1907
- description?: string | undefined;
1908
- color?: ChartColorValue[] | ChartColorValue | undefined;
1909
- height?: string | undefined;
1910
- width?: number | undefined;
1911
- showTooltip?: boolean | undefined;
1912
- showLegend?: boolean | undefined;
1913
- legendPosition?: "bottom" | "top" | undefined;
1914
- fetchUrl?: string | undefined;
1915
- fetchUrlMethod?: HttpMethod | undefined;
1916
- periodScope?: string | undefined;
1917
- realtimeTopic?: string | string[] | undefined;
1918
- rawOptions?: {
1919
- key: string;
1920
- value: string;
1921
- }[] | undefined;
1922
- rawCss?: {
1923
- key: string;
1924
- value: string;
1925
- }[] | undefined;
1926
- showGrid?: boolean | undefined;
1927
- staticDataset?: {
1928
- name: string;
1929
- data: (number | {
1930
- x: string | number | Date;
1931
- y: number | null;
1932
- label?: string | undefined;
1933
- } | {
1934
- x: string | number | Date;
1935
- y: [number, number];
1936
- } | {
1937
- x: string | number | Date;
1938
- y: [number, number, number, number];
1939
- })[];
1940
- type?: ChartType | undefined;
1941
- color?: ChartColorValue | undefined;
1942
- }[] | undefined;
1943
- yRange?: {
1944
- min: number;
1945
- max: number;
1946
- } | undefined;
1947
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
1948
- smooth?: boolean | undefined;
1949
- curve?: "smooth" | "stepline" | "straight" | undefined;
1950
- annotations?: {
1951
- y: number;
1952
- y2?: number | undefined;
1953
- label?: string | undefined;
1954
- color?: ChartColorValue | undefined;
1955
- dashed?: boolean | undefined;
1956
- }[] | undefined;
1957
- syncGroup?: string | undefined;
1958
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
1959
- xAxis?: {
1960
- tickAmount?: number | undefined;
1961
- rotate?: number | undefined;
1962
- hideOverlappingLabels?: boolean | undefined;
1963
- datetimeFormat?: string | undefined;
1964
- } | undefined;
1965
- seriesDefs?: {
1966
- name: string;
1967
- type: ChartType.LINE | ChartType.AREA | ChartType.RANGE_AREA | ChartType.COLUMN;
1968
- color?: ChartColorValue | undefined;
1969
- }[] | undefined;
1970
- }>;
558
+ type: z.ZodEnum<{
559
+ area: ChartType.AREA;
560
+ column: ChartType.COLUMN;
561
+ line: ChartType.LINE;
562
+ rangeArea: ChartType.RANGE_AREA;
563
+ }>;
564
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
565
+ }, z.core.$strip>>>;
566
+ }, z.core.$strip>;
1971
567
  /** The options `ChartRadar` accepts; the factory supplies `type`. */
1972
568
  export declare const ChartRadarSchema: z.ZodObject<{
1973
569
  title: z.ZodOptional<z.ZodString>;
1974
570
  description: z.ZodOptional<z.ZodString>;
1975
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
571
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
1976
572
  height: z.ZodOptional<z.ZodString>;
1977
573
  width: z.ZodOptional<z.ZodNumber>;
1978
574
  showTooltip: z.ZodDefault<z.ZodBoolean>;
1979
575
  showLegend: z.ZodDefault<z.ZodBoolean>;
1980
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
576
+ legendPosition: z.ZodOptional<z.ZodEnum<{
577
+ bottom: "bottom";
578
+ top: "top";
579
+ }>>;
1981
580
  fetchUrl: z.ZodOptional<z.ZodString>;
1982
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
581
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
1983
582
  periodScope: z.ZodOptional<z.ZodString>;
1984
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
583
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1985
584
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1986
585
  key: z.ZodString;
1987
586
  value: z.ZodString;
1988
- }, "strip", z.ZodTypeAny, {
1989
- key: string;
1990
- value: string;
1991
- }, {
1992
- key: string;
1993
- value: string;
1994
- }>, "many">>;
587
+ }, z.core.$strip>>>;
1995
588
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
1996
589
  key: z.ZodString;
1997
590
  value: z.ZodString;
1998
- }, "strip", z.ZodTypeAny, {
1999
- key: string;
2000
- value: string;
2001
- }, {
2002
- key: string;
2003
- value: string;
2004
- }>, "many">>;
591
+ }, z.core.$strip>>>;
2005
592
  showGrid: z.ZodDefault<z.ZodBoolean>;
2006
593
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2007
594
  name: z.ZodString;
2008
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
2009
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
595
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
596
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2010
597
  y: z.ZodNullable<z.ZodNumber>;
2011
598
  label: z.ZodOptional<z.ZodString>;
2012
- }, "strip", z.ZodTypeAny, {
2013
- x: string | number | Date;
2014
- y: number | null;
2015
- label?: string | undefined;
2016
- }, {
2017
- x: string | number | Date;
2018
- y: number | null;
2019
- label?: string | undefined;
2020
- }>, z.ZodObject<{
2021
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
599
+ }, z.core.$strip>, z.ZodObject<{
600
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2022
601
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2023
- }, "strip", z.ZodTypeAny, {
2024
- x: string | number | Date;
2025
- y: [number, number];
2026
- }, {
2027
- x: string | number | Date;
2028
- y: [number, number];
2029
- }>, z.ZodObject<{
2030
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
602
+ }, z.core.$strip>, z.ZodObject<{
603
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2031
604
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2032
- }, "strip", z.ZodTypeAny, {
2033
- x: string | number | Date;
2034
- y: [number, number, number, number];
2035
- }, {
2036
- x: string | number | Date;
2037
- y: [number, number, number, number];
2038
- }>]>, "many">;
2039
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
2040
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
2041
- }, "strip", z.ZodTypeAny, {
2042
- name: string;
2043
- data: (number | {
2044
- x: string | number | Date;
2045
- y: number | null;
2046
- label?: string | undefined;
2047
- } | {
2048
- x: string | number | Date;
2049
- y: [number, number];
2050
- } | {
2051
- x: string | number | Date;
2052
- y: [number, number, number, number];
2053
- })[];
2054
- type?: ChartType | undefined;
2055
- color?: ChartColorValue | undefined;
2056
- }, {
2057
- name: string;
2058
- data: (number | {
2059
- x: string | number | Date;
2060
- y: number | null;
2061
- label?: string | undefined;
2062
- } | {
2063
- x: string | number | Date;
2064
- y: [number, number];
2065
- } | {
2066
- x: string | number | Date;
2067
- y: [number, number, number, number];
2068
- })[];
2069
- type?: ChartType | undefined;
2070
- color?: ChartColorValue | undefined;
2071
- }>, "many">>;
605
+ }, z.core.$strip>]>>;
606
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
607
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
608
+ }, z.core.$strip>>>;
2072
609
  yRange: z.ZodOptional<z.ZodObject<{
2073
610
  min: z.ZodNumber;
2074
611
  max: z.ZodNumber;
2075
- }, "strip", z.ZodTypeAny, {
2076
- min: number;
2077
- max: number;
2078
- }, {
2079
- min: number;
2080
- max: number;
612
+ }, z.core.$strip>>;
613
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
614
+ dashed: "dashed";
615
+ dimmed: "dimmed";
616
+ solid: "solid";
2081
617
  }>>;
2082
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
2083
618
  smooth: z.ZodDefault<z.ZodBoolean>;
2084
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
619
+ curve: z.ZodOptional<z.ZodEnum<{
620
+ smooth: "smooth";
621
+ stepline: "stepline";
622
+ straight: "straight";
623
+ }>>;
2085
624
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2086
625
  y: z.ZodNumber;
2087
626
  y2: z.ZodOptional<z.ZodNumber>;
2088
627
  label: z.ZodOptional<z.ZodString>;
2089
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
628
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
2090
629
  dashed: z.ZodOptional<z.ZodBoolean>;
2091
- }, "strip", z.ZodTypeAny, {
2092
- y: number;
2093
- y2?: number | undefined;
2094
- label?: string | undefined;
2095
- color?: ChartColorValue | undefined;
2096
- dashed?: boolean | undefined;
2097
- }, {
2098
- y: number;
2099
- y2?: number | undefined;
2100
- label?: string | undefined;
2101
- color?: ChartColorValue | undefined;
2102
- dashed?: boolean | undefined;
2103
- }>, "many">>;
630
+ }, z.core.$strip>>>;
2104
631
  syncGroup: z.ZodOptional<z.ZodString>;
2105
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
632
+ xaxisType: z.ZodOptional<z.ZodEnum<{
633
+ category: "category";
634
+ datetime: "datetime";
635
+ numeric: "numeric";
636
+ }>>;
2106
637
  xAxis: z.ZodOptional<z.ZodObject<{
2107
638
  tickAmount: z.ZodOptional<z.ZodNumber>;
2108
639
  rotate: z.ZodOptional<z.ZodNumber>;
2109
640
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
2110
641
  datetimeFormat: z.ZodOptional<z.ZodString>;
2111
- }, "strip", z.ZodTypeAny, {
2112
- tickAmount?: number | undefined;
2113
- rotate?: number | undefined;
2114
- hideOverlappingLabels?: boolean | undefined;
2115
- datetimeFormat?: string | undefined;
2116
- }, {
2117
- tickAmount?: number | undefined;
2118
- rotate?: number | undefined;
2119
- hideOverlappingLabels?: boolean | undefined;
2120
- datetimeFormat?: string | undefined;
2121
- }>>;
642
+ }, z.core.$strip>>;
2122
643
  fillOpacity: z.ZodOptional<z.ZodNumber>;
2123
- }, "strip", z.ZodTypeAny, {
2124
- title?: string | undefined;
2125
- description?: string | undefined;
2126
- color?: ChartColorValue[] | ChartColorValue | undefined;
2127
- height?: string | undefined;
2128
- width?: number | undefined;
2129
- showTooltip: boolean;
2130
- showLegend: boolean;
2131
- legendPosition?: "bottom" | "top" | undefined;
2132
- fetchUrl?: string | undefined;
2133
- fetchUrlMethod?: HttpMethod | undefined;
2134
- periodScope?: string | undefined;
2135
- realtimeTopic?: string | string[] | undefined;
2136
- rawOptions?: {
2137
- key: string;
2138
- value: string;
2139
- }[] | undefined;
2140
- rawCss?: {
2141
- key: string;
2142
- value: string;
2143
- }[] | undefined;
2144
- showGrid: boolean;
2145
- staticDataset?: {
2146
- name: string;
2147
- data: (number | {
2148
- x: string | number | Date;
2149
- y: number | null;
2150
- label?: string | undefined;
2151
- } | {
2152
- x: string | number | Date;
2153
- y: [number, number];
2154
- } | {
2155
- x: string | number | Date;
2156
- y: [number, number, number, number];
2157
- })[];
2158
- type?: ChartType | undefined;
2159
- color?: ChartColorValue | undefined;
2160
- }[] | undefined;
2161
- yRange?: {
2162
- min: number;
2163
- max: number;
2164
- } | undefined;
2165
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
2166
- smooth: boolean;
2167
- curve?: "smooth" | "stepline" | "straight" | undefined;
2168
- annotations?: {
2169
- y: number;
2170
- y2?: number | undefined;
2171
- label?: string | undefined;
2172
- color?: ChartColorValue | undefined;
2173
- dashed?: boolean | undefined;
2174
- }[] | undefined;
2175
- syncGroup?: string | undefined;
2176
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
2177
- xAxis?: {
2178
- tickAmount?: number | undefined;
2179
- rotate?: number | undefined;
2180
- hideOverlappingLabels?: boolean | undefined;
2181
- datetimeFormat?: string | undefined;
2182
- } | undefined;
2183
- fillOpacity?: number | undefined;
2184
- }, {
2185
- title?: string | undefined;
2186
- description?: string | undefined;
2187
- color?: ChartColorValue[] | ChartColorValue | undefined;
2188
- height?: string | undefined;
2189
- width?: number | undefined;
2190
- showTooltip?: boolean | undefined;
2191
- showLegend?: boolean | undefined;
2192
- legendPosition?: "bottom" | "top" | undefined;
2193
- fetchUrl?: string | undefined;
2194
- fetchUrlMethod?: HttpMethod | undefined;
2195
- periodScope?: string | undefined;
2196
- realtimeTopic?: string | string[] | undefined;
2197
- rawOptions?: {
2198
- key: string;
2199
- value: string;
2200
- }[] | undefined;
2201
- rawCss?: {
2202
- key: string;
2203
- value: string;
2204
- }[] | undefined;
2205
- showGrid?: boolean | undefined;
2206
- staticDataset?: {
2207
- name: string;
2208
- data: (number | {
2209
- x: string | number | Date;
2210
- y: number | null;
2211
- label?: string | undefined;
2212
- } | {
2213
- x: string | number | Date;
2214
- y: [number, number];
2215
- } | {
2216
- x: string | number | Date;
2217
- y: [number, number, number, number];
2218
- })[];
2219
- type?: ChartType | undefined;
2220
- color?: ChartColorValue | undefined;
2221
- }[] | undefined;
2222
- yRange?: {
2223
- min: number;
2224
- max: number;
2225
- } | undefined;
2226
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
2227
- smooth?: boolean | undefined;
2228
- curve?: "smooth" | "stepline" | "straight" | undefined;
2229
- annotations?: {
2230
- y: number;
2231
- y2?: number | undefined;
2232
- label?: string | undefined;
2233
- color?: ChartColorValue | undefined;
2234
- dashed?: boolean | undefined;
2235
- }[] | undefined;
2236
- syncGroup?: string | undefined;
2237
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
2238
- xAxis?: {
2239
- tickAmount?: number | undefined;
2240
- rotate?: number | undefined;
2241
- hideOverlappingLabels?: boolean | undefined;
2242
- datetimeFormat?: string | undefined;
2243
- } | undefined;
2244
- fillOpacity?: number | undefined;
2245
- }>;
644
+ }, z.core.$strip>;
2246
645
  /** The options `ChartCandlestick` accepts; the factory supplies `type`. */
2247
646
  export declare const ChartCandlestickSchema: z.ZodObject<{
2248
647
  title: z.ZodOptional<z.ZodString>;
2249
648
  description: z.ZodOptional<z.ZodString>;
2250
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
649
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
2251
650
  height: z.ZodOptional<z.ZodString>;
2252
651
  width: z.ZodOptional<z.ZodNumber>;
2253
652
  showTooltip: z.ZodDefault<z.ZodBoolean>;
2254
653
  showLegend: z.ZodDefault<z.ZodBoolean>;
2255
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
654
+ legendPosition: z.ZodOptional<z.ZodEnum<{
655
+ bottom: "bottom";
656
+ top: "top";
657
+ }>>;
2256
658
  fetchUrl: z.ZodOptional<z.ZodString>;
2257
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
659
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
2258
660
  periodScope: z.ZodOptional<z.ZodString>;
2259
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
661
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2260
662
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2261
663
  key: z.ZodString;
2262
664
  value: z.ZodString;
2263
- }, "strip", z.ZodTypeAny, {
2264
- key: string;
2265
- value: string;
2266
- }, {
2267
- key: string;
2268
- value: string;
2269
- }>, "many">>;
665
+ }, z.core.$strip>>>;
2270
666
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
2271
667
  key: z.ZodString;
2272
668
  value: z.ZodString;
2273
- }, "strip", z.ZodTypeAny, {
2274
- key: string;
2275
- value: string;
2276
- }, {
2277
- key: string;
2278
- value: string;
2279
- }>, "many">>;
669
+ }, z.core.$strip>>>;
2280
670
  showGrid: z.ZodDefault<z.ZodBoolean>;
2281
671
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2282
672
  name: z.ZodString;
2283
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
2284
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
673
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
674
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2285
675
  y: z.ZodNullable<z.ZodNumber>;
2286
676
  label: z.ZodOptional<z.ZodString>;
2287
- }, "strip", z.ZodTypeAny, {
2288
- x: string | number | Date;
2289
- y: number | null;
2290
- label?: string | undefined;
2291
- }, {
2292
- x: string | number | Date;
2293
- y: number | null;
2294
- label?: string | undefined;
2295
- }>, z.ZodObject<{
2296
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
677
+ }, z.core.$strip>, z.ZodObject<{
678
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2297
679
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2298
- }, "strip", z.ZodTypeAny, {
2299
- x: string | number | Date;
2300
- y: [number, number];
2301
- }, {
2302
- x: string | number | Date;
2303
- y: [number, number];
2304
- }>, z.ZodObject<{
2305
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
680
+ }, z.core.$strip>, z.ZodObject<{
681
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2306
682
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2307
- }, "strip", z.ZodTypeAny, {
2308
- x: string | number | Date;
2309
- y: [number, number, number, number];
2310
- }, {
2311
- x: string | number | Date;
2312
- y: [number, number, number, number];
2313
- }>]>, "many">;
2314
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
2315
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
2316
- }, "strip", z.ZodTypeAny, {
2317
- name: string;
2318
- data: (number | {
2319
- x: string | number | Date;
2320
- y: number | null;
2321
- label?: string | undefined;
2322
- } | {
2323
- x: string | number | Date;
2324
- y: [number, number];
2325
- } | {
2326
- x: string | number | Date;
2327
- y: [number, number, number, number];
2328
- })[];
2329
- type?: ChartType | undefined;
2330
- color?: ChartColorValue | undefined;
2331
- }, {
2332
- name: string;
2333
- data: (number | {
2334
- x: string | number | Date;
2335
- y: number | null;
2336
- label?: string | undefined;
2337
- } | {
2338
- x: string | number | Date;
2339
- y: [number, number];
2340
- } | {
2341
- x: string | number | Date;
2342
- y: [number, number, number, number];
2343
- })[];
2344
- type?: ChartType | undefined;
2345
- color?: ChartColorValue | undefined;
2346
- }>, "many">>;
683
+ }, z.core.$strip>]>>;
684
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
685
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
686
+ }, z.core.$strip>>>;
2347
687
  yRange: z.ZodOptional<z.ZodObject<{
2348
688
  min: z.ZodNumber;
2349
689
  max: z.ZodNumber;
2350
- }, "strip", z.ZodTypeAny, {
2351
- min: number;
2352
- max: number;
2353
- }, {
2354
- min: number;
2355
- max: number;
690
+ }, z.core.$strip>>;
691
+ comparisonStyle: z.ZodOptional<z.ZodEnum<{
692
+ dashed: "dashed";
693
+ dimmed: "dimmed";
694
+ solid: "solid";
2356
695
  }>>;
2357
- comparisonStyle: z.ZodOptional<z.ZodEnum<["dashed", "solid", "dimmed"]>>;
2358
696
  smooth: z.ZodDefault<z.ZodBoolean>;
2359
- curve: z.ZodOptional<z.ZodEnum<["smooth", "straight", "stepline"]>>;
697
+ curve: z.ZodOptional<z.ZodEnum<{
698
+ smooth: "smooth";
699
+ stepline: "stepline";
700
+ straight: "straight";
701
+ }>>;
2360
702
  annotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2361
703
  y: z.ZodNumber;
2362
704
  y2: z.ZodOptional<z.ZodNumber>;
2363
705
  label: z.ZodOptional<z.ZodString>;
2364
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
706
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
2365
707
  dashed: z.ZodOptional<z.ZodBoolean>;
2366
- }, "strip", z.ZodTypeAny, {
2367
- y: number;
2368
- y2?: number | undefined;
2369
- label?: string | undefined;
2370
- color?: ChartColorValue | undefined;
2371
- dashed?: boolean | undefined;
2372
- }, {
2373
- y: number;
2374
- y2?: number | undefined;
2375
- label?: string | undefined;
2376
- color?: ChartColorValue | undefined;
2377
- dashed?: boolean | undefined;
2378
- }>, "many">>;
708
+ }, z.core.$strip>>>;
2379
709
  syncGroup: z.ZodOptional<z.ZodString>;
2380
- xaxisType: z.ZodOptional<z.ZodEnum<["category", "datetime", "numeric"]>>;
710
+ xaxisType: z.ZodOptional<z.ZodEnum<{
711
+ category: "category";
712
+ datetime: "datetime";
713
+ numeric: "numeric";
714
+ }>>;
2381
715
  xAxis: z.ZodOptional<z.ZodObject<{
2382
716
  tickAmount: z.ZodOptional<z.ZodNumber>;
2383
717
  rotate: z.ZodOptional<z.ZodNumber>;
2384
718
  hideOverlappingLabels: z.ZodOptional<z.ZodBoolean>;
2385
719
  datetimeFormat: z.ZodOptional<z.ZodString>;
2386
- }, "strip", z.ZodTypeAny, {
2387
- tickAmount?: number | undefined;
2388
- rotate?: number | undefined;
2389
- hideOverlappingLabels?: boolean | undefined;
2390
- datetimeFormat?: string | undefined;
2391
- }, {
2392
- tickAmount?: number | undefined;
2393
- rotate?: number | undefined;
2394
- hideOverlappingLabels?: boolean | undefined;
2395
- datetimeFormat?: string | undefined;
2396
- }>>;
2397
- }, "strip", z.ZodTypeAny, {
2398
- title?: string | undefined;
2399
- description?: string | undefined;
2400
- color?: ChartColorValue[] | ChartColorValue | undefined;
2401
- height?: string | undefined;
2402
- width?: number | undefined;
2403
- showTooltip: boolean;
2404
- showLegend: boolean;
2405
- legendPosition?: "bottom" | "top" | undefined;
2406
- fetchUrl?: string | undefined;
2407
- fetchUrlMethod?: HttpMethod | undefined;
2408
- periodScope?: string | undefined;
2409
- realtimeTopic?: string | string[] | undefined;
2410
- rawOptions?: {
2411
- key: string;
2412
- value: string;
2413
- }[] | undefined;
2414
- rawCss?: {
2415
- key: string;
2416
- value: string;
2417
- }[] | undefined;
2418
- showGrid: boolean;
2419
- staticDataset?: {
2420
- name: string;
2421
- data: (number | {
2422
- x: string | number | Date;
2423
- y: number | null;
2424
- label?: string | undefined;
2425
- } | {
2426
- x: string | number | Date;
2427
- y: [number, number];
2428
- } | {
2429
- x: string | number | Date;
2430
- y: [number, number, number, number];
2431
- })[];
2432
- type?: ChartType | undefined;
2433
- color?: ChartColorValue | undefined;
2434
- }[] | undefined;
2435
- yRange?: {
2436
- min: number;
2437
- max: number;
2438
- } | undefined;
2439
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
2440
- smooth: boolean;
2441
- curve?: "smooth" | "stepline" | "straight" | undefined;
2442
- annotations?: {
2443
- y: number;
2444
- y2?: number | undefined;
2445
- label?: string | undefined;
2446
- color?: ChartColorValue | undefined;
2447
- dashed?: boolean | undefined;
2448
- }[] | undefined;
2449
- syncGroup?: string | undefined;
2450
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
2451
- xAxis?: {
2452
- tickAmount?: number | undefined;
2453
- rotate?: number | undefined;
2454
- hideOverlappingLabels?: boolean | undefined;
2455
- datetimeFormat?: string | undefined;
2456
- } | undefined;
2457
- }, {
2458
- title?: string | undefined;
2459
- description?: string | undefined;
2460
- color?: ChartColorValue[] | ChartColorValue | undefined;
2461
- height?: string | undefined;
2462
- width?: number | undefined;
2463
- showTooltip?: boolean | undefined;
2464
- showLegend?: boolean | undefined;
2465
- legendPosition?: "bottom" | "top" | undefined;
2466
- fetchUrl?: string | undefined;
2467
- fetchUrlMethod?: HttpMethod | undefined;
2468
- periodScope?: string | undefined;
2469
- realtimeTopic?: string | string[] | undefined;
2470
- rawOptions?: {
2471
- key: string;
2472
- value: string;
2473
- }[] | undefined;
2474
- rawCss?: {
2475
- key: string;
2476
- value: string;
2477
- }[] | undefined;
2478
- showGrid?: boolean | undefined;
2479
- staticDataset?: {
2480
- name: string;
2481
- data: (number | {
2482
- x: string | number | Date;
2483
- y: number | null;
2484
- label?: string | undefined;
2485
- } | {
2486
- x: string | number | Date;
2487
- y: [number, number];
2488
- } | {
2489
- x: string | number | Date;
2490
- y: [number, number, number, number];
2491
- })[];
2492
- type?: ChartType | undefined;
2493
- color?: ChartColorValue | undefined;
2494
- }[] | undefined;
2495
- yRange?: {
2496
- min: number;
2497
- max: number;
2498
- } | undefined;
2499
- comparisonStyle?: "dashed" | "dimmed" | "solid" | undefined;
2500
- smooth?: boolean | undefined;
2501
- curve?: "smooth" | "stepline" | "straight" | undefined;
2502
- annotations?: {
2503
- y: number;
2504
- y2?: number | undefined;
2505
- label?: string | undefined;
2506
- color?: ChartColorValue | undefined;
2507
- dashed?: boolean | undefined;
2508
- }[] | undefined;
2509
- syncGroup?: string | undefined;
2510
- xaxisType?: "category" | "datetime" | "numeric" | undefined;
2511
- xAxis?: {
2512
- tickAmount?: number | undefined;
2513
- rotate?: number | undefined;
2514
- hideOverlappingLabels?: boolean | undefined;
2515
- datetimeFormat?: string | undefined;
2516
- } | undefined;
2517
- }>;
720
+ }, z.core.$strip>>;
721
+ }, z.core.$strip>;
2518
722
  /** The options `ChartDonut` accepts; the factory supplies `type`. */
2519
723
  export declare const ChartDonutSchema: z.ZodObject<{
2520
724
  title: z.ZodOptional<z.ZodString>;
2521
725
  description: z.ZodOptional<z.ZodString>;
2522
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
726
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
2523
727
  height: z.ZodOptional<z.ZodString>;
2524
728
  width: z.ZodOptional<z.ZodNumber>;
2525
729
  showTooltip: z.ZodDefault<z.ZodBoolean>;
2526
730
  showLegend: z.ZodDefault<z.ZodBoolean>;
2527
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
731
+ legendPosition: z.ZodOptional<z.ZodEnum<{
732
+ bottom: "bottom";
733
+ top: "top";
734
+ }>>;
2528
735
  fetchUrl: z.ZodOptional<z.ZodString>;
2529
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
736
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
2530
737
  periodScope: z.ZodOptional<z.ZodString>;
2531
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
738
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2532
739
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2533
740
  key: z.ZodString;
2534
741
  value: z.ZodString;
2535
- }, "strip", z.ZodTypeAny, {
2536
- key: string;
2537
- value: string;
2538
- }, {
2539
- key: string;
2540
- value: string;
2541
- }>, "many">>;
742
+ }, z.core.$strip>>>;
2542
743
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
2543
744
  key: z.ZodString;
2544
745
  value: z.ZodString;
2545
- }, "strip", z.ZodTypeAny, {
2546
- key: string;
2547
- value: string;
2548
- }, {
2549
- key: string;
2550
- value: string;
2551
- }>, "many">>;
746
+ }, z.core.$strip>>>;
2552
747
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2553
748
  label: z.ZodString;
2554
749
  value: z.ZodNumber;
2555
- }, "strip", z.ZodTypeAny, {
2556
- label: string;
2557
- value: number;
2558
- }, {
2559
- label: string;
2560
- value: number;
2561
- }>, "many">>;
750
+ }, z.core.$strip>>>;
2562
751
  centralLabel: z.ZodOptional<z.ZodString>;
2563
752
  centralSubLabel: z.ZodOptional<z.ZodString>;
2564
753
  arcWidth: z.ZodOptional<z.ZodNumber>;
2565
- }, "strip", z.ZodTypeAny, {
2566
- title?: string | undefined;
2567
- description?: string | undefined;
2568
- color?: ChartColorValue[] | ChartColorValue | undefined;
2569
- height?: string | undefined;
2570
- width?: number | undefined;
2571
- showTooltip: boolean;
2572
- showLegend: boolean;
2573
- legendPosition?: "bottom" | "top" | undefined;
2574
- fetchUrl?: string | undefined;
2575
- fetchUrlMethod?: HttpMethod | undefined;
2576
- periodScope?: string | undefined;
2577
- realtimeTopic?: string | string[] | undefined;
2578
- rawOptions?: {
2579
- key: string;
2580
- value: string;
2581
- }[] | undefined;
2582
- rawCss?: {
2583
- key: string;
2584
- value: string;
2585
- }[] | undefined;
2586
- staticDataset?: {
2587
- label: string;
2588
- value: number;
2589
- }[] | undefined;
2590
- centralLabel?: string | undefined;
2591
- centralSubLabel?: string | undefined;
2592
- arcWidth?: number | undefined;
2593
- }, {
2594
- title?: string | undefined;
2595
- description?: string | undefined;
2596
- color?: ChartColorValue[] | ChartColorValue | undefined;
2597
- height?: string | undefined;
2598
- width?: number | undefined;
2599
- showTooltip?: boolean | undefined;
2600
- showLegend?: boolean | undefined;
2601
- legendPosition?: "bottom" | "top" | undefined;
2602
- fetchUrl?: string | undefined;
2603
- fetchUrlMethod?: HttpMethod | undefined;
2604
- periodScope?: string | undefined;
2605
- realtimeTopic?: string | string[] | undefined;
2606
- rawOptions?: {
2607
- key: string;
2608
- value: string;
2609
- }[] | undefined;
2610
- rawCss?: {
2611
- key: string;
2612
- value: string;
2613
- }[] | undefined;
2614
- staticDataset?: {
2615
- label: string;
2616
- value: number;
2617
- }[] | undefined;
2618
- centralLabel?: string | undefined;
2619
- centralSubLabel?: string | undefined;
2620
- arcWidth?: number | undefined;
2621
- }>;
754
+ }, z.core.$strip>;
2622
755
  /** The options `ChartPie` accepts; the factory supplies `type`. */
2623
756
  export declare const ChartPieSchema: z.ZodObject<{
2624
757
  title: z.ZodOptional<z.ZodString>;
2625
758
  description: z.ZodOptional<z.ZodString>;
2626
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
759
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
2627
760
  height: z.ZodOptional<z.ZodString>;
2628
761
  width: z.ZodOptional<z.ZodNumber>;
2629
762
  showTooltip: z.ZodDefault<z.ZodBoolean>;
2630
763
  showLegend: z.ZodDefault<z.ZodBoolean>;
2631
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
764
+ legendPosition: z.ZodOptional<z.ZodEnum<{
765
+ bottom: "bottom";
766
+ top: "top";
767
+ }>>;
2632
768
  fetchUrl: z.ZodOptional<z.ZodString>;
2633
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
769
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
2634
770
  periodScope: z.ZodOptional<z.ZodString>;
2635
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
771
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2636
772
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2637
773
  key: z.ZodString;
2638
774
  value: z.ZodString;
2639
- }, "strip", z.ZodTypeAny, {
2640
- key: string;
2641
- value: string;
2642
- }, {
2643
- key: string;
2644
- value: string;
2645
- }>, "many">>;
775
+ }, z.core.$strip>>>;
2646
776
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
2647
777
  key: z.ZodString;
2648
778
  value: z.ZodString;
2649
- }, "strip", z.ZodTypeAny, {
2650
- key: string;
2651
- value: string;
2652
- }, {
2653
- key: string;
2654
- value: string;
2655
- }>, "many">>;
779
+ }, z.core.$strip>>>;
2656
780
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2657
781
  label: z.ZodString;
2658
782
  value: z.ZodNumber;
2659
- }, "strip", z.ZodTypeAny, {
2660
- label: string;
2661
- value: number;
2662
- }, {
2663
- label: string;
2664
- value: number;
2665
- }>, "many">>;
2666
- }, "strip", z.ZodTypeAny, {
2667
- title?: string | undefined;
2668
- description?: string | undefined;
2669
- color?: ChartColorValue[] | ChartColorValue | undefined;
2670
- height?: string | undefined;
2671
- width?: number | undefined;
2672
- showTooltip: boolean;
2673
- showLegend: boolean;
2674
- legendPosition?: "bottom" | "top" | undefined;
2675
- fetchUrl?: string | undefined;
2676
- fetchUrlMethod?: HttpMethod | undefined;
2677
- periodScope?: string | undefined;
2678
- realtimeTopic?: string | string[] | undefined;
2679
- rawOptions?: {
2680
- key: string;
2681
- value: string;
2682
- }[] | undefined;
2683
- rawCss?: {
2684
- key: string;
2685
- value: string;
2686
- }[] | undefined;
2687
- staticDataset?: {
2688
- label: string;
2689
- value: number;
2690
- }[] | undefined;
2691
- }, {
2692
- title?: string | undefined;
2693
- description?: string | undefined;
2694
- color?: ChartColorValue[] | ChartColorValue | undefined;
2695
- height?: string | undefined;
2696
- width?: number | undefined;
2697
- showTooltip?: boolean | undefined;
2698
- showLegend?: boolean | undefined;
2699
- legendPosition?: "bottom" | "top" | undefined;
2700
- fetchUrl?: string | undefined;
2701
- fetchUrlMethod?: HttpMethod | undefined;
2702
- periodScope?: string | undefined;
2703
- realtimeTopic?: string | string[] | undefined;
2704
- rawOptions?: {
2705
- key: string;
2706
- value: string;
2707
- }[] | undefined;
2708
- rawCss?: {
2709
- key: string;
2710
- value: string;
2711
- }[] | undefined;
2712
- staticDataset?: {
2713
- label: string;
2714
- value: number;
2715
- }[] | undefined;
2716
- }>;
783
+ }, z.core.$strip>>>;
784
+ }, z.core.$strip>;
2717
785
  /** The options `ChartRadialBar` accepts; the factory supplies `type`. */
2718
786
  export declare const ChartRadialBarSchema: z.ZodObject<{
2719
787
  title: z.ZodOptional<z.ZodString>;
2720
788
  description: z.ZodOptional<z.ZodString>;
2721
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
789
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
2722
790
  height: z.ZodOptional<z.ZodString>;
2723
791
  width: z.ZodOptional<z.ZodNumber>;
2724
792
  showTooltip: z.ZodDefault<z.ZodBoolean>;
2725
793
  showLegend: z.ZodDefault<z.ZodBoolean>;
2726
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
794
+ legendPosition: z.ZodOptional<z.ZodEnum<{
795
+ bottom: "bottom";
796
+ top: "top";
797
+ }>>;
2727
798
  fetchUrl: z.ZodOptional<z.ZodString>;
2728
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
799
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
2729
800
  periodScope: z.ZodOptional<z.ZodString>;
2730
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
801
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2731
802
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2732
803
  key: z.ZodString;
2733
804
  value: z.ZodString;
2734
- }, "strip", z.ZodTypeAny, {
2735
- key: string;
2736
- value: string;
2737
- }, {
2738
- key: string;
2739
- value: string;
2740
- }>, "many">>;
805
+ }, z.core.$strip>>>;
2741
806
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
2742
807
  key: z.ZodString;
2743
808
  value: z.ZodString;
2744
- }, "strip", z.ZodTypeAny, {
2745
- key: string;
2746
- value: string;
2747
- }, {
2748
- key: string;
2749
- value: string;
2750
- }>, "many">>;
809
+ }, z.core.$strip>>>;
2751
810
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2752
811
  label: z.ZodString;
2753
812
  value: z.ZodNumber;
2754
- }, "strip", z.ZodTypeAny, {
2755
- label: string;
2756
- value: number;
2757
- }, {
2758
- label: string;
2759
- value: number;
2760
- }>, "many">>;
813
+ }, z.core.$strip>>>;
2761
814
  hollowSize: z.ZodOptional<z.ZodString>;
2762
815
  showTotal: z.ZodOptional<z.ZodBoolean>;
2763
- }, "strip", z.ZodTypeAny, {
2764
- title?: string | undefined;
2765
- description?: string | undefined;
2766
- color?: ChartColorValue[] | ChartColorValue | undefined;
2767
- height?: string | undefined;
2768
- width?: number | undefined;
2769
- showTooltip: boolean;
2770
- showLegend: boolean;
2771
- legendPosition?: "bottom" | "top" | undefined;
2772
- fetchUrl?: string | undefined;
2773
- fetchUrlMethod?: HttpMethod | undefined;
2774
- periodScope?: string | undefined;
2775
- realtimeTopic?: string | string[] | undefined;
2776
- rawOptions?: {
2777
- key: string;
2778
- value: string;
2779
- }[] | undefined;
2780
- rawCss?: {
2781
- key: string;
2782
- value: string;
2783
- }[] | undefined;
2784
- staticDataset?: {
2785
- label: string;
2786
- value: number;
2787
- }[] | undefined;
2788
- hollowSize?: string | undefined;
2789
- showTotal?: boolean | undefined;
2790
- }, {
2791
- title?: string | undefined;
2792
- description?: string | undefined;
2793
- color?: ChartColorValue[] | ChartColorValue | undefined;
2794
- height?: string | undefined;
2795
- width?: number | undefined;
2796
- showTooltip?: boolean | undefined;
2797
- showLegend?: boolean | undefined;
2798
- legendPosition?: "bottom" | "top" | undefined;
2799
- fetchUrl?: string | undefined;
2800
- fetchUrlMethod?: HttpMethod | undefined;
2801
- periodScope?: string | undefined;
2802
- realtimeTopic?: string | string[] | undefined;
2803
- rawOptions?: {
2804
- key: string;
2805
- value: string;
2806
- }[] | undefined;
2807
- rawCss?: {
2808
- key: string;
2809
- value: string;
2810
- }[] | undefined;
2811
- staticDataset?: {
2812
- label: string;
2813
- value: number;
2814
- }[] | undefined;
2815
- hollowSize?: string | undefined;
2816
- showTotal?: boolean | undefined;
2817
- }>;
816
+ }, z.core.$strip>;
2818
817
  /** The options `ChartHeatmap` accepts; the factory supplies `type`. */
2819
818
  export declare const ChartHeatmapSchema: z.ZodObject<{
2820
819
  title: z.ZodOptional<z.ZodString>;
2821
820
  description: z.ZodOptional<z.ZodString>;
2822
- color: z.ZodOptional<z.ZodUnion<[z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, z.ZodArray<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>, "many">]>>;
821
+ color: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>, z.ZodArray<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>]>>;
2823
822
  height: z.ZodOptional<z.ZodString>;
2824
823
  width: z.ZodOptional<z.ZodNumber>;
2825
824
  showTooltip: z.ZodDefault<z.ZodBoolean>;
2826
825
  showLegend: z.ZodDefault<z.ZodBoolean>;
2827
- legendPosition: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
826
+ legendPosition: z.ZodOptional<z.ZodEnum<{
827
+ bottom: "bottom";
828
+ top: "top";
829
+ }>>;
2828
830
  fetchUrl: z.ZodOptional<z.ZodString>;
2829
- fetchUrlMethod: z.ZodOptional<z.ZodNativeEnum<typeof HttpMethod>>;
831
+ fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
2830
832
  periodScope: z.ZodOptional<z.ZodString>;
2831
- realtimeTopic: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
833
+ realtimeTopic: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
2832
834
  rawOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2833
835
  key: z.ZodString;
2834
836
  value: z.ZodString;
2835
- }, "strip", z.ZodTypeAny, {
2836
- key: string;
2837
- value: string;
2838
- }, {
2839
- key: string;
2840
- value: string;
2841
- }>, "many">>;
837
+ }, z.core.$strip>>>;
2842
838
  rawCss: z.ZodOptional<z.ZodArray<z.ZodObject<{
2843
839
  key: z.ZodString;
2844
840
  value: z.ZodString;
2845
- }, "strip", z.ZodTypeAny, {
2846
- key: string;
2847
- value: string;
2848
- }, {
2849
- key: string;
2850
- value: string;
2851
- }>, "many">>;
841
+ }, z.core.$strip>>>;
2852
842
  staticDataset: z.ZodOptional<z.ZodArray<z.ZodObject<{
2853
843
  name: z.ZodString;
2854
- data: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
2855
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
844
+ data: z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
845
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2856
846
  y: z.ZodNullable<z.ZodNumber>;
2857
847
  label: z.ZodOptional<z.ZodString>;
2858
- }, "strip", z.ZodTypeAny, {
2859
- x: string | number | Date;
2860
- y: number | null;
2861
- label?: string | undefined;
2862
- }, {
2863
- x: string | number | Date;
2864
- y: number | null;
2865
- label?: string | undefined;
2866
- }>, z.ZodObject<{
2867
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
848
+ }, z.core.$strip>, z.ZodObject<{
849
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2868
850
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2869
- }, "strip", z.ZodTypeAny, {
2870
- x: string | number | Date;
2871
- y: [number, number];
2872
- }, {
2873
- x: string | number | Date;
2874
- y: [number, number];
2875
- }>, z.ZodObject<{
2876
- x: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>;
851
+ }, z.core.$strip>, z.ZodObject<{
852
+ x: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodDate]>;
2877
853
  y: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
2878
- }, "strip", z.ZodTypeAny, {
2879
- x: string | number | Date;
2880
- y: [number, number, number, number];
2881
- }, {
2882
- x: string | number | Date;
2883
- y: [number, number, number, number];
2884
- }>]>, "many">;
2885
- type: z.ZodOptional<z.ZodNativeEnum<typeof ChartType>>;
2886
- color: z.ZodOptional<z.ZodType<ChartColorValue, z.ZodTypeDef, ChartColorValue>>;
2887
- }, "strip", z.ZodTypeAny, {
2888
- name: string;
2889
- data: (number | {
2890
- x: string | number | Date;
2891
- y: number | null;
2892
- label?: string | undefined;
2893
- } | {
2894
- x: string | number | Date;
2895
- y: [number, number];
2896
- } | {
2897
- x: string | number | Date;
2898
- y: [number, number, number, number];
2899
- })[];
2900
- type?: ChartType | undefined;
2901
- color?: ChartColorValue | undefined;
2902
- }, {
2903
- name: string;
2904
- data: (number | {
2905
- x: string | number | Date;
2906
- y: number | null;
2907
- label?: string | undefined;
2908
- } | {
2909
- x: string | number | Date;
2910
- y: [number, number];
2911
- } | {
2912
- x: string | number | Date;
2913
- y: [number, number, number, number];
2914
- })[];
2915
- type?: ChartType | undefined;
2916
- color?: ChartColorValue | undefined;
2917
- }>, "many">>;
854
+ }, z.core.$strip>]>>;
855
+ type: z.ZodOptional<z.ZodEnum<typeof ChartType>>;
856
+ color: z.ZodOptional<z.ZodType<ChartColorValue, ChartColorValue, z.core.$ZodTypeInternals<ChartColorValue, ChartColorValue>>>;
857
+ }, z.core.$strip>>>;
2918
858
  shadeIntensity: z.ZodOptional<z.ZodNumber>;
2919
859
  distributed: z.ZodOptional<z.ZodBoolean>;
2920
- }, "strip", z.ZodTypeAny, {
2921
- title?: string | undefined;
2922
- description?: string | undefined;
2923
- color?: ChartColorValue[] | ChartColorValue | undefined;
2924
- height?: string | undefined;
2925
- width?: number | undefined;
2926
- showTooltip: boolean;
2927
- showLegend: boolean;
2928
- legendPosition?: "bottom" | "top" | undefined;
2929
- fetchUrl?: string | undefined;
2930
- fetchUrlMethod?: HttpMethod | undefined;
2931
- periodScope?: string | undefined;
2932
- realtimeTopic?: string | string[] | undefined;
2933
- rawOptions?: {
2934
- key: string;
2935
- value: string;
2936
- }[] | undefined;
2937
- rawCss?: {
2938
- key: string;
2939
- value: string;
2940
- }[] | undefined;
2941
- staticDataset?: {
2942
- name: string;
2943
- data: (number | {
2944
- x: string | number | Date;
2945
- y: number | null;
2946
- label?: string | undefined;
2947
- } | {
2948
- x: string | number | Date;
2949
- y: [number, number];
2950
- } | {
2951
- x: string | number | Date;
2952
- y: [number, number, number, number];
2953
- })[];
2954
- type?: ChartType | undefined;
2955
- color?: ChartColorValue | undefined;
2956
- }[] | undefined;
2957
- shadeIntensity?: number | undefined;
2958
- distributed?: boolean | undefined;
2959
- }, {
2960
- title?: string | undefined;
2961
- description?: string | undefined;
2962
- color?: ChartColorValue[] | ChartColorValue | undefined;
2963
- height?: string | undefined;
2964
- width?: number | undefined;
2965
- showTooltip?: boolean | undefined;
2966
- showLegend?: boolean | undefined;
2967
- legendPosition?: "bottom" | "top" | undefined;
2968
- fetchUrl?: string | undefined;
2969
- fetchUrlMethod?: HttpMethod | undefined;
2970
- periodScope?: string | undefined;
2971
- realtimeTopic?: string | string[] | undefined;
2972
- rawOptions?: {
2973
- key: string;
2974
- value: string;
2975
- }[] | undefined;
2976
- rawCss?: {
2977
- key: string;
2978
- value: string;
2979
- }[] | undefined;
2980
- staticDataset?: {
2981
- name: string;
2982
- data: (number | {
2983
- x: string | number | Date;
2984
- y: number | null;
2985
- label?: string | undefined;
2986
- } | {
2987
- x: string | number | Date;
2988
- y: [number, number];
2989
- } | {
2990
- x: string | number | Date;
2991
- y: [number, number, number, number];
2992
- })[];
2993
- type?: ChartType | undefined;
2994
- color?: ChartColorValue | undefined;
2995
- }[] | undefined;
2996
- shadeIntensity?: number | undefined;
2997
- distributed?: boolean | undefined;
2998
- }>;
860
+ }, z.core.$strip>;