@visactor/vseed 0.1.45 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +86 -14
- package/dist/esm/dataReshape/constant.d.ts +2 -2
- package/dist/esm/dataReshape/constant.js +3 -3
- package/dist/esm/dataReshape/constant.js.map +1 -1
- package/dist/esm/i18n/i18n.js +2 -2
- package/dist/esm/i18n/i18n.js.map +1 -1
- package/dist/esm/i18n/i18nData.d.ts +2 -0
- package/dist/esm/i18n/i18nData.js +41 -5
- package/dist/esm/i18n/i18nData.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/area.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/areaPercent.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/bar.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barParallel.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/barPercent.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/boxplot.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnParallel.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/columnPercent.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/dualAxis.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/funnel.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/heatmap.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/radar.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/rose.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/roseParallel.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/index.d.ts +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/index.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.js +14 -0
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/pickDimensionsForReshape.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/measures/index.d.ts +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/index.js +2 -2
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.js +14 -0
- package/dist/esm/pipeline/advanced/chart/pipes/measures/pickMeasuresForReshape.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +8 -6
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +5 -3
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithScatterEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithBoxplotEncoding.js +8 -6
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +3 -5
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithScatterEncoding.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithScatterEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/histogramCrosshair.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/histogramCrosshair.js +27 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/histogramCrosshair.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js +3 -3
- package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/boxLegend.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/boxLegend.js +15 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/boxLegend.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +3 -4
- package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +31 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +14 -5
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js +6 -4
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/utils/histogram.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/utils/histogram.js +12 -0
- package/dist/esm/pipeline/spec/chart/utils/histogram.js.map +1 -0
- package/dist/esm/pipeline/utils/measures/delete.d.ts +2 -2
- package/dist/esm/pipeline/utils/measures/delete.js +7 -3
- package/dist/esm/pipeline/utils/measures/delete.js.map +1 -1
- package/dist/esm/pipeline/utils/tree/traverse.d.ts +1 -0
- package/dist/esm/pipeline/utils/tree/traverse.js +12 -1
- package/dist/esm/pipeline/utils/tree/traverse.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +116 -3
- package/dist/esm/types/advancedVSeed.js +2 -0
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/area/zArea.d.ts +12 -3
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +12 -3
- package/dist/esm/types/chartType/bar/zBar.d.ts +12 -3
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +12 -3
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +12 -3
- package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +12 -3
- package/dist/esm/types/chartType/column/zColumn.d.ts +12 -3
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +12 -3
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +12 -3
- package/dist/esm/types/chartType/donut/zDonut.d.ts +12 -3
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +42 -15
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +12 -3
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +12 -3
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +12 -3
- package/dist/esm/types/chartType/line/zLine.d.ts +12 -3
- package/dist/esm/types/chartType/pie/zPie.d.ts +12 -3
- package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +12 -3
- package/dist/esm/types/chartType/radar/zRadar.d.ts +12 -3
- package/dist/esm/types/chartType/rose/zRose.d.ts +12 -3
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +12 -3
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +42 -15
- package/dist/esm/types/chartType/table/zTable.d.ts +12 -3
- package/dist/esm/types/properties/measures/zDualMeasures.d.ts +60 -24
- package/dist/esm/types/properties/measures/zMeasures.d.ts +36 -9
- package/dist/esm/types/properties/measures/zMeasures.js +13 -4
- package/dist/esm/types/properties/measures/zMeasures.js.map +1 -1
- package/dist/esm/types/properties/measures/zScatterMeasures.d.ts +60 -24
- package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +5 -0
- package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +5 -0
- package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +5 -0
- package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +5 -0
- package/dist/esm/types/zVseed.d.ts +324 -90
- package/dist/umd/index.js +273 -144
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/deleteTooltipAndLabelDimensions.d.ts +0 -2
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/deleteTooltipAndLabelDimensions.js +0 -12
- package/dist/esm/pipeline/advanced/chart/pipes/dimensions/deleteTooltipAndLabelDimensions.js.map +0 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/deleteEncodingForMeasure.d.ts +0 -2
- package/dist/esm/pipeline/advanced/chart/pipes/measures/deleteEncodingForMeasure.js +0 -12
- package/dist/esm/pipeline/advanced/chart/pipes/measures/deleteEncodingForMeasure.js.map +0 -1
|
@@ -43,8 +43,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
43
43
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
|
44
44
|
id: z.ZodString;
|
|
45
45
|
alias: z.ZodOptional<z.ZodString>;
|
|
46
|
-
autoFormat: z.
|
|
47
|
-
numFormat: z.
|
|
46
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
48
48
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
49
49
|
number: "number";
|
|
50
50
|
percent: "percent";
|
|
@@ -74,7 +74,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
74
74
|
halfEven: "halfEven";
|
|
75
75
|
}>>>;
|
|
76
76
|
}, z.core.$strip>>>;
|
|
77
|
-
format: z.
|
|
77
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
78
78
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
79
79
|
number: "number";
|
|
80
80
|
percent: "percent";
|
|
@@ -106,6 +106,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
106
106
|
}, z.core.$strip>>>;
|
|
107
107
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
108
108
|
column: "column";
|
|
109
|
+
value: "value";
|
|
109
110
|
xAxis: "xAxis";
|
|
110
111
|
yAxis: "yAxis";
|
|
111
112
|
angle: "angle";
|
|
@@ -117,13 +118,21 @@ export declare const zScatter: z.ZodObject<{
|
|
|
117
118
|
secondaryYAxis: "secondaryYAxis";
|
|
118
119
|
radius: "radius";
|
|
119
120
|
size: "size";
|
|
121
|
+
q1: "q1";
|
|
122
|
+
median: "median";
|
|
123
|
+
q3: "q3";
|
|
124
|
+
min: "min";
|
|
125
|
+
max: "max";
|
|
126
|
+
outliers: "outliers";
|
|
127
|
+
x0: "x0";
|
|
128
|
+
x1: "x1";
|
|
120
129
|
}>>;
|
|
121
130
|
parentId: z.ZodOptional<z.ZodString>;
|
|
122
131
|
}, z.core.$strip>]>>>>;
|
|
123
132
|
scatterMeasures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
124
133
|
id: z.ZodString;
|
|
125
134
|
xMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
126
|
-
format: z.
|
|
135
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
127
136
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
128
137
|
number: "number";
|
|
129
138
|
percent: "percent";
|
|
@@ -155,8 +164,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
155
164
|
}, z.core.$strip>>>;
|
|
156
165
|
id: z.ZodString;
|
|
157
166
|
alias: z.ZodOptional<z.ZodString>;
|
|
158
|
-
autoFormat: z.
|
|
159
|
-
numFormat: z.
|
|
167
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
160
169
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
161
170
|
number: "number";
|
|
162
171
|
percent: "percent";
|
|
@@ -189,8 +198,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
189
198
|
}, z.core.$strip>>, z.ZodObject<{
|
|
190
199
|
id: z.ZodString;
|
|
191
200
|
alias: z.ZodOptional<z.ZodString>;
|
|
192
|
-
autoFormat: z.
|
|
193
|
-
numFormat: z.
|
|
201
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
194
203
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
195
204
|
number: "number";
|
|
196
205
|
percent: "percent";
|
|
@@ -220,7 +229,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
220
229
|
halfEven: "halfEven";
|
|
221
230
|
}>>>;
|
|
222
231
|
}, z.core.$strip>>>;
|
|
223
|
-
format: z.
|
|
232
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
224
233
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
225
234
|
number: "number";
|
|
226
235
|
percent: "percent";
|
|
@@ -252,6 +261,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
252
261
|
}, z.core.$strip>>>;
|
|
253
262
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
254
263
|
column: "column";
|
|
264
|
+
value: "value";
|
|
255
265
|
xAxis: "xAxis";
|
|
256
266
|
yAxis: "yAxis";
|
|
257
267
|
angle: "angle";
|
|
@@ -263,11 +273,19 @@ export declare const zScatter: z.ZodObject<{
|
|
|
263
273
|
secondaryYAxis: "secondaryYAxis";
|
|
264
274
|
radius: "radius";
|
|
265
275
|
size: "size";
|
|
276
|
+
q1: "q1";
|
|
277
|
+
median: "median";
|
|
278
|
+
q3: "q3";
|
|
279
|
+
min: "min";
|
|
280
|
+
max: "max";
|
|
281
|
+
outliers: "outliers";
|
|
282
|
+
x0: "x0";
|
|
283
|
+
x1: "x1";
|
|
266
284
|
}>>;
|
|
267
285
|
parentId: z.ZodOptional<z.ZodString>;
|
|
268
286
|
}, z.core.$strip>]>>;
|
|
269
287
|
yMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
270
|
-
format: z.
|
|
288
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
271
289
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
272
290
|
number: "number";
|
|
273
291
|
percent: "percent";
|
|
@@ -299,8 +317,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
299
317
|
}, z.core.$strip>>>;
|
|
300
318
|
id: z.ZodString;
|
|
301
319
|
alias: z.ZodOptional<z.ZodString>;
|
|
302
|
-
autoFormat: z.
|
|
303
|
-
numFormat: z.
|
|
320
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
304
322
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
305
323
|
number: "number";
|
|
306
324
|
percent: "percent";
|
|
@@ -333,8 +351,8 @@ export declare const zScatter: z.ZodObject<{
|
|
|
333
351
|
}, z.core.$strip>>, z.ZodObject<{
|
|
334
352
|
id: z.ZodString;
|
|
335
353
|
alias: z.ZodOptional<z.ZodString>;
|
|
336
|
-
autoFormat: z.
|
|
337
|
-
numFormat: z.
|
|
354
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
355
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
338
356
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
339
357
|
number: "number";
|
|
340
358
|
percent: "percent";
|
|
@@ -364,7 +382,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
364
382
|
halfEven: "halfEven";
|
|
365
383
|
}>>>;
|
|
366
384
|
}, z.core.$strip>>>;
|
|
367
|
-
format: z.
|
|
385
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
368
386
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
369
387
|
number: "number";
|
|
370
388
|
percent: "percent";
|
|
@@ -396,6 +414,7 @@ export declare const zScatter: z.ZodObject<{
|
|
|
396
414
|
}, z.core.$strip>>>;
|
|
397
415
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
398
416
|
column: "column";
|
|
417
|
+
value: "value";
|
|
399
418
|
xAxis: "xAxis";
|
|
400
419
|
yAxis: "yAxis";
|
|
401
420
|
angle: "angle";
|
|
@@ -407,6 +426,14 @@ export declare const zScatter: z.ZodObject<{
|
|
|
407
426
|
secondaryYAxis: "secondaryYAxis";
|
|
408
427
|
radius: "radius";
|
|
409
428
|
size: "size";
|
|
429
|
+
q1: "q1";
|
|
430
|
+
median: "median";
|
|
431
|
+
q3: "q3";
|
|
432
|
+
min: "min";
|
|
433
|
+
max: "max";
|
|
434
|
+
outliers: "outliers";
|
|
435
|
+
x0: "x0";
|
|
436
|
+
x1: "x1";
|
|
410
437
|
}>>;
|
|
411
438
|
parentId: z.ZodOptional<z.ZodString>;
|
|
412
439
|
}, z.core.$strip>]>>;
|
|
@@ -20,8 +20,8 @@ export declare const zTable: z.ZodObject<{
|
|
|
20
20
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
alias: z.ZodOptional<z.ZodString>;
|
|
23
|
-
autoFormat: z.
|
|
24
|
-
numFormat: z.
|
|
23
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
25
25
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
26
26
|
number: "number";
|
|
27
27
|
percent: "percent";
|
|
@@ -51,7 +51,7 @@ export declare const zTable: z.ZodObject<{
|
|
|
51
51
|
halfEven: "halfEven";
|
|
52
52
|
}>>>;
|
|
53
53
|
}, z.core.$strip>>>;
|
|
54
|
-
format: z.
|
|
54
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
55
55
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
56
56
|
number: "number";
|
|
57
57
|
percent: "percent";
|
|
@@ -83,6 +83,7 @@ export declare const zTable: z.ZodObject<{
|
|
|
83
83
|
}, z.core.$strip>>>;
|
|
84
84
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
85
85
|
column: "column";
|
|
86
|
+
value: "value";
|
|
86
87
|
xAxis: "xAxis";
|
|
87
88
|
yAxis: "yAxis";
|
|
88
89
|
angle: "angle";
|
|
@@ -94,6 +95,14 @@ export declare const zTable: z.ZodObject<{
|
|
|
94
95
|
secondaryYAxis: "secondaryYAxis";
|
|
95
96
|
radius: "radius";
|
|
96
97
|
size: "size";
|
|
98
|
+
q1: "q1";
|
|
99
|
+
median: "median";
|
|
100
|
+
q3: "q3";
|
|
101
|
+
min: "min";
|
|
102
|
+
max: "max";
|
|
103
|
+
outliers: "outliers";
|
|
104
|
+
x0: "x0";
|
|
105
|
+
x1: "x1";
|
|
97
106
|
}>>;
|
|
98
107
|
parentId: z.ZodOptional<z.ZodString>;
|
|
99
108
|
}, z.core.$strip>]>>>>;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const zDualMeasure: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
primaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
5
|
-
format: z.
|
|
5
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
6
6
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
7
|
number: "number";
|
|
8
8
|
percent: "percent";
|
|
@@ -34,8 +34,8 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>>>;
|
|
35
35
|
id: z.ZodString;
|
|
36
36
|
alias: z.ZodOptional<z.ZodString>;
|
|
37
|
-
autoFormat: z.
|
|
38
|
-
numFormat: z.
|
|
37
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
39
39
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
40
40
|
number: "number";
|
|
41
41
|
percent: "percent";
|
|
@@ -66,7 +66,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
66
66
|
}>>>;
|
|
67
67
|
}, z.core.$strip>>>;
|
|
68
68
|
}, z.core.$strip>>, z.ZodObject<{
|
|
69
|
-
format: z.
|
|
69
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
70
70
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
71
71
|
number: "number";
|
|
72
72
|
percent: "percent";
|
|
@@ -98,8 +98,8 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
98
98
|
}, z.core.$strip>>>;
|
|
99
99
|
id: z.ZodString;
|
|
100
100
|
alias: z.ZodOptional<z.ZodString>;
|
|
101
|
-
autoFormat: z.
|
|
102
|
-
numFormat: z.
|
|
101
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
103
103
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
104
104
|
number: "number";
|
|
105
105
|
percent: "percent";
|
|
@@ -133,8 +133,8 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
133
133
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
134
134
|
id: z.ZodString;
|
|
135
135
|
alias: z.ZodOptional<z.ZodString>;
|
|
136
|
-
autoFormat: z.
|
|
137
|
-
numFormat: z.
|
|
136
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
138
138
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
139
139
|
number: "number";
|
|
140
140
|
percent: "percent";
|
|
@@ -164,7 +164,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
164
164
|
halfEven: "halfEven";
|
|
165
165
|
}>>>;
|
|
166
166
|
}, z.core.$strip>>>;
|
|
167
|
-
format: z.
|
|
167
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
168
168
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
169
169
|
number: "number";
|
|
170
170
|
percent: "percent";
|
|
@@ -196,6 +196,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
196
196
|
}, z.core.$strip>>>;
|
|
197
197
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
198
198
|
column: "column";
|
|
199
|
+
value: "value";
|
|
199
200
|
xAxis: "xAxis";
|
|
200
201
|
yAxis: "yAxis";
|
|
201
202
|
angle: "angle";
|
|
@@ -207,13 +208,21 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
207
208
|
secondaryYAxis: "secondaryYAxis";
|
|
208
209
|
radius: "radius";
|
|
209
210
|
size: "size";
|
|
211
|
+
q1: "q1";
|
|
212
|
+
median: "median";
|
|
213
|
+
q3: "q3";
|
|
214
|
+
min: "min";
|
|
215
|
+
max: "max";
|
|
216
|
+
outliers: "outliers";
|
|
217
|
+
x0: "x0";
|
|
218
|
+
x1: "x1";
|
|
210
219
|
}>>;
|
|
211
220
|
parentId: z.ZodOptional<z.ZodString>;
|
|
212
221
|
}, z.core.$strip>>, z.ZodObject<{
|
|
213
222
|
id: z.ZodString;
|
|
214
223
|
alias: z.ZodOptional<z.ZodString>;
|
|
215
|
-
autoFormat: z.
|
|
216
|
-
numFormat: z.
|
|
224
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
217
226
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
218
227
|
number: "number";
|
|
219
228
|
percent: "percent";
|
|
@@ -243,7 +252,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
243
252
|
halfEven: "halfEven";
|
|
244
253
|
}>>>;
|
|
245
254
|
}, z.core.$strip>>>;
|
|
246
|
-
format: z.
|
|
255
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
247
256
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
248
257
|
number: "number";
|
|
249
258
|
percent: "percent";
|
|
@@ -275,6 +284,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
275
284
|
}, z.core.$strip>>>;
|
|
276
285
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
277
286
|
column: "column";
|
|
287
|
+
value: "value";
|
|
278
288
|
xAxis: "xAxis";
|
|
279
289
|
yAxis: "yAxis";
|
|
280
290
|
angle: "angle";
|
|
@@ -286,6 +296,14 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
286
296
|
secondaryYAxis: "secondaryYAxis";
|
|
287
297
|
radius: "radius";
|
|
288
298
|
size: "size";
|
|
299
|
+
q1: "q1";
|
|
300
|
+
median: "median";
|
|
301
|
+
q3: "q3";
|
|
302
|
+
min: "min";
|
|
303
|
+
max: "max";
|
|
304
|
+
outliers: "outliers";
|
|
305
|
+
x0: "x0";
|
|
306
|
+
x1: "x1";
|
|
289
307
|
}>>;
|
|
290
308
|
parentId: z.ZodOptional<z.ZodString>;
|
|
291
309
|
}, z.core.$strip>]>>;
|
|
@@ -293,7 +311,7 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
|
293
311
|
export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
294
312
|
id: z.ZodString;
|
|
295
313
|
primaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
296
|
-
format: z.
|
|
314
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
297
315
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
298
316
|
number: "number";
|
|
299
317
|
percent: "percent";
|
|
@@ -325,8 +343,8 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
325
343
|
}, z.core.$strip>>>;
|
|
326
344
|
id: z.ZodString;
|
|
327
345
|
alias: z.ZodOptional<z.ZodString>;
|
|
328
|
-
autoFormat: z.
|
|
329
|
-
numFormat: z.
|
|
346
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
347
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
330
348
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
331
349
|
number: "number";
|
|
332
350
|
percent: "percent";
|
|
@@ -357,7 +375,7 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
357
375
|
}>>>;
|
|
358
376
|
}, z.core.$strip>>>;
|
|
359
377
|
}, z.core.$strip>>, z.ZodObject<{
|
|
360
|
-
format: z.
|
|
378
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
361
379
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
362
380
|
number: "number";
|
|
363
381
|
percent: "percent";
|
|
@@ -389,8 +407,8 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
389
407
|
}, z.core.$strip>>>;
|
|
390
408
|
id: z.ZodString;
|
|
391
409
|
alias: z.ZodOptional<z.ZodString>;
|
|
392
|
-
autoFormat: z.
|
|
393
|
-
numFormat: z.
|
|
410
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
411
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
394
412
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
395
413
|
number: "number";
|
|
396
414
|
percent: "percent";
|
|
@@ -424,8 +442,8 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
424
442
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
425
443
|
id: z.ZodString;
|
|
426
444
|
alias: z.ZodOptional<z.ZodString>;
|
|
427
|
-
autoFormat: z.
|
|
428
|
-
numFormat: z.
|
|
445
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
446
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
429
447
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
430
448
|
number: "number";
|
|
431
449
|
percent: "percent";
|
|
@@ -455,7 +473,7 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
455
473
|
halfEven: "halfEven";
|
|
456
474
|
}>>>;
|
|
457
475
|
}, z.core.$strip>>>;
|
|
458
|
-
format: z.
|
|
476
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
459
477
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
460
478
|
number: "number";
|
|
461
479
|
percent: "percent";
|
|
@@ -487,6 +505,7 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
487
505
|
}, z.core.$strip>>>;
|
|
488
506
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
489
507
|
column: "column";
|
|
508
|
+
value: "value";
|
|
490
509
|
xAxis: "xAxis";
|
|
491
510
|
yAxis: "yAxis";
|
|
492
511
|
angle: "angle";
|
|
@@ -498,13 +517,21 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
498
517
|
secondaryYAxis: "secondaryYAxis";
|
|
499
518
|
radius: "radius";
|
|
500
519
|
size: "size";
|
|
520
|
+
q1: "q1";
|
|
521
|
+
median: "median";
|
|
522
|
+
q3: "q3";
|
|
523
|
+
min: "min";
|
|
524
|
+
max: "max";
|
|
525
|
+
outliers: "outliers";
|
|
526
|
+
x0: "x0";
|
|
527
|
+
x1: "x1";
|
|
501
528
|
}>>;
|
|
502
529
|
parentId: z.ZodOptional<z.ZodString>;
|
|
503
530
|
}, z.core.$strip>>, z.ZodObject<{
|
|
504
531
|
id: z.ZodString;
|
|
505
532
|
alias: z.ZodOptional<z.ZodString>;
|
|
506
|
-
autoFormat: z.
|
|
507
|
-
numFormat: z.
|
|
533
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
508
535
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
509
536
|
number: "number";
|
|
510
537
|
percent: "percent";
|
|
@@ -534,7 +561,7 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
534
561
|
halfEven: "halfEven";
|
|
535
562
|
}>>>;
|
|
536
563
|
}, z.core.$strip>>>;
|
|
537
|
-
format: z.
|
|
564
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
538
565
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
539
566
|
number: "number";
|
|
540
567
|
percent: "percent";
|
|
@@ -566,6 +593,7 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
566
593
|
}, z.core.$strip>>>;
|
|
567
594
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
568
595
|
column: "column";
|
|
596
|
+
value: "value";
|
|
569
597
|
xAxis: "xAxis";
|
|
570
598
|
yAxis: "yAxis";
|
|
571
599
|
angle: "angle";
|
|
@@ -577,6 +605,14 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
|
577
605
|
secondaryYAxis: "secondaryYAxis";
|
|
578
606
|
radius: "radius";
|
|
579
607
|
size: "size";
|
|
608
|
+
q1: "q1";
|
|
609
|
+
median: "median";
|
|
610
|
+
q3: "q3";
|
|
611
|
+
min: "min";
|
|
612
|
+
max: "max";
|
|
613
|
+
outliers: "outliers";
|
|
614
|
+
x0: "x0";
|
|
615
|
+
x1: "x1";
|
|
580
616
|
}>>;
|
|
581
617
|
parentId: z.ZodOptional<z.ZodString>;
|
|
582
618
|
}, z.core.$strip>]>>;
|
|
@@ -3,8 +3,8 @@ import type { MeasureGroup } from './measures';
|
|
|
3
3
|
export declare const zMeasure: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
alias: z.ZodOptional<z.ZodString>;
|
|
6
|
-
autoFormat: z.
|
|
7
|
-
numFormat: z.
|
|
6
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
8
8
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
9
9
|
number: "number";
|
|
10
10
|
percent: "percent";
|
|
@@ -34,7 +34,7 @@ export declare const zMeasure: z.ZodObject<{
|
|
|
34
34
|
halfEven: "halfEven";
|
|
35
35
|
}>>>;
|
|
36
36
|
}, z.core.$strip>>>;
|
|
37
|
-
format: z.
|
|
37
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
38
38
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
39
39
|
number: "number";
|
|
40
40
|
percent: "percent";
|
|
@@ -66,6 +66,7 @@ export declare const zMeasure: z.ZodObject<{
|
|
|
66
66
|
}, z.core.$strip>>>;
|
|
67
67
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
68
68
|
column: "column";
|
|
69
|
+
value: "value";
|
|
69
70
|
xAxis: "xAxis";
|
|
70
71
|
yAxis: "yAxis";
|
|
71
72
|
angle: "angle";
|
|
@@ -77,6 +78,14 @@ export declare const zMeasure: z.ZodObject<{
|
|
|
77
78
|
secondaryYAxis: "secondaryYAxis";
|
|
78
79
|
radius: "radius";
|
|
79
80
|
size: "size";
|
|
81
|
+
q1: "q1";
|
|
82
|
+
median: "median";
|
|
83
|
+
q3: "q3";
|
|
84
|
+
min: "min";
|
|
85
|
+
max: "max";
|
|
86
|
+
outliers: "outliers";
|
|
87
|
+
x0: "x0";
|
|
88
|
+
x1: "x1";
|
|
80
89
|
}>>;
|
|
81
90
|
parentId: z.ZodOptional<z.ZodString>;
|
|
82
91
|
}, z.core.$strip>;
|
|
@@ -84,8 +93,8 @@ export declare const zMeasureGroup: z.ZodType<MeasureGroup>;
|
|
|
84
93
|
export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
|
85
94
|
id: z.ZodString;
|
|
86
95
|
alias: z.ZodOptional<z.ZodString>;
|
|
87
|
-
autoFormat: z.
|
|
88
|
-
numFormat: z.
|
|
96
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
89
98
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
90
99
|
number: "number";
|
|
91
100
|
percent: "percent";
|
|
@@ -115,7 +124,7 @@ export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
|
|
115
124
|
halfEven: "halfEven";
|
|
116
125
|
}>>>;
|
|
117
126
|
}, z.core.$strip>>>;
|
|
118
|
-
format: z.
|
|
127
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
119
128
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
120
129
|
number: "number";
|
|
121
130
|
percent: "percent";
|
|
@@ -147,6 +156,7 @@ export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
|
|
147
156
|
}, z.core.$strip>>>;
|
|
148
157
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
149
158
|
column: "column";
|
|
159
|
+
value: "value";
|
|
150
160
|
xAxis: "xAxis";
|
|
151
161
|
yAxis: "yAxis";
|
|
152
162
|
angle: "angle";
|
|
@@ -158,14 +168,22 @@ export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
|
|
158
168
|
secondaryYAxis: "secondaryYAxis";
|
|
159
169
|
radius: "radius";
|
|
160
170
|
size: "size";
|
|
171
|
+
q1: "q1";
|
|
172
|
+
median: "median";
|
|
173
|
+
q3: "q3";
|
|
174
|
+
min: "min";
|
|
175
|
+
max: "max";
|
|
176
|
+
outliers: "outliers";
|
|
177
|
+
x0: "x0";
|
|
178
|
+
x1: "x1";
|
|
161
179
|
}>>;
|
|
162
180
|
parentId: z.ZodOptional<z.ZodString>;
|
|
163
181
|
}, z.core.$strip>>;
|
|
164
182
|
export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup, unknown, z.core.$ZodTypeInternals<MeasureGroup, unknown>>, z.ZodObject<{
|
|
165
183
|
id: z.ZodString;
|
|
166
184
|
alias: z.ZodOptional<z.ZodString>;
|
|
167
|
-
autoFormat: z.
|
|
168
|
-
numFormat: z.
|
|
185
|
+
autoFormat: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
169
187
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
170
188
|
number: "number";
|
|
171
189
|
percent: "percent";
|
|
@@ -195,7 +213,7 @@ export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup
|
|
|
195
213
|
halfEven: "halfEven";
|
|
196
214
|
}>>>;
|
|
197
215
|
}, z.core.$strip>>>;
|
|
198
|
-
format: z.
|
|
216
|
+
format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
199
217
|
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
200
218
|
number: "number";
|
|
201
219
|
percent: "percent";
|
|
@@ -227,6 +245,7 @@ export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup
|
|
|
227
245
|
}, z.core.$strip>>>;
|
|
228
246
|
encoding: z.ZodOptional<z.ZodEnum<{
|
|
229
247
|
column: "column";
|
|
248
|
+
value: "value";
|
|
230
249
|
xAxis: "xAxis";
|
|
231
250
|
yAxis: "yAxis";
|
|
232
251
|
angle: "angle";
|
|
@@ -238,6 +257,14 @@ export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup
|
|
|
238
257
|
secondaryYAxis: "secondaryYAxis";
|
|
239
258
|
radius: "radius";
|
|
240
259
|
size: "size";
|
|
260
|
+
q1: "q1";
|
|
261
|
+
median: "median";
|
|
262
|
+
q3: "q3";
|
|
263
|
+
min: "min";
|
|
264
|
+
max: "max";
|
|
265
|
+
outliers: "outliers";
|
|
266
|
+
x0: "x0";
|
|
267
|
+
x1: "x1";
|
|
241
268
|
}>>;
|
|
242
269
|
parentId: z.ZodOptional<z.ZodString>;
|
|
243
270
|
}, z.core.$strip>]>>;
|
|
@@ -3,9 +3,9 @@ import { zNumFormat } from "../format/numFormat.js";
|
|
|
3
3
|
const zMeasure = z.object({
|
|
4
4
|
id: z.string(),
|
|
5
5
|
alias: z.string().optional(),
|
|
6
|
-
autoFormat: z.boolean().
|
|
7
|
-
numFormat: zNumFormat
|
|
8
|
-
format: zNumFormat
|
|
6
|
+
autoFormat: z.boolean().optional(),
|
|
7
|
+
numFormat: zNumFormat.optional(),
|
|
8
|
+
format: zNumFormat.optional(),
|
|
9
9
|
encoding: z["enum"]([
|
|
10
10
|
'primaryYAxis',
|
|
11
11
|
'secondaryYAxis',
|
|
@@ -18,7 +18,16 @@ const zMeasure = z.object({
|
|
|
18
18
|
'label',
|
|
19
19
|
'tooltip',
|
|
20
20
|
'detail',
|
|
21
|
-
'column'
|
|
21
|
+
'column',
|
|
22
|
+
'value',
|
|
23
|
+
'q1',
|
|
24
|
+
'q3',
|
|
25
|
+
'min',
|
|
26
|
+
'max',
|
|
27
|
+
'median',
|
|
28
|
+
'outliers',
|
|
29
|
+
'x0',
|
|
30
|
+
'x1'
|
|
22
31
|
]).optional(),
|
|
23
32
|
parentId: z.string().optional()
|
|
24
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/measures/zMeasures.js","sources":["webpack://@visactor/vseed/./src/types/properties/measures/zMeasures.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zNumFormat } from '../format/numFormat'\nimport type { MeasureGroup } from './measures'\n\nexport const zMeasure = z.object({\n id: z.string(),\n alias: z.string().optional(),\n autoFormat: z.boolean().
|
|
1
|
+
{"version":3,"file":"types/properties/measures/zMeasures.js","sources":["webpack://@visactor/vseed/./src/types/properties/measures/zMeasures.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zNumFormat } from '../format/numFormat'\nimport type { MeasureGroup } from './measures'\n\nexport const zMeasure = z.object({\n id: z.string(),\n alias: z.string().optional(),\n autoFormat: z.boolean().optional(),\n numFormat: zNumFormat.optional(),\n format: zNumFormat.optional(),\n encoding: z\n .enum([\n 'primaryYAxis',\n 'secondaryYAxis',\n 'xAxis',\n 'yAxis',\n 'angle',\n 'radius',\n 'size',\n 'color',\n 'label',\n 'tooltip',\n 'detail',\n 'column',\n 'value',\n 'q1',\n 'q3',\n 'min',\n 'max',\n 'median',\n 'outliers',\n 'x0',\n 'x1',\n ])\n .optional(),\n parentId: z.string().optional(),\n})\n\nexport const zMeasureGroup: z.ZodType<MeasureGroup> = z.object({\n id: z.string(),\n alias: z.string().optional(),\n get children() {\n return z.array(zMeasureGroup.or(zMeasure)).optional()\n },\n})\n\nexport const zMeasures = z.array(zMeasure)\nexport const zMeasureTree = z.array(zMeasureGroup.or(zMeasure))\n"],"names":["zMeasure","z","zNumFormat","zMeasureGroup","zMeasures","zMeasureTree"],"mappings":";;AAIO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,IAAIA,EAAE,MAAM;IACZ,OAAOA,EAAE,MAAM,GAAG,QAAQ;IAC1B,YAAYA,EAAE,OAAO,GAAG,QAAQ;IAChC,WAAWC,WAAW,QAAQ;IAC9B,QAAQA,WAAW,QAAQ;IAC3B,UAAUD,CAAC,CAADA,OACH,CAAC;QACJ;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;KACD,EACA,QAAQ;IACX,UAAUA,EAAE,MAAM,GAAG,QAAQ;AAC/B;AAEO,MAAME,gBAAyCF,EAAE,MAAM,CAAC;IAC7D,IAAIA,EAAE,MAAM;IACZ,OAAOA,EAAE,MAAM,GAAG,QAAQ;IAC1B,IAAI,YAAW;QACb,OAAOA,EAAE,KAAK,CAACE,cAAc,EAAE,CAACH,WAAW,QAAQ;IACrD;AACF;AAEO,MAAMI,YAAYH,EAAE,KAAK,CAACD;AAC1B,MAAMK,eAAeJ,EAAE,KAAK,CAACE,cAAc,EAAE,CAACH"}
|