@visactor/vseed 0.1.2 → 0.1.4
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/builder/builder/builder.d.ts +6 -28
- package/dist/dataReshape/dataReshapeByEncoding.d.ts +1 -0
- package/dist/dataReshape/foldMeasures.d.ts +6 -5
- package/dist/index.cjs +844 -609
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +857 -619
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/pipes/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/init/index.d.ts +1 -3
- package/dist/pipeline/advanced/chart/pipes/init/utils.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/{init/autoMeasures.d.ts → measures/buildMeasures.d.ts} +1 -1
- package/dist/pipeline/advanced/chart/pipes/measures/buildMeasuresForDualAxis.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/measures/buildMeasuresForScatter.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/measures/index.d.ts +4 -0
- package/dist/pipeline/advanced/chart/pipes/measures/utils.d.ts +28 -0
- package/dist/pipeline/spec/chart/pipes/color/colorAdapter.d.ts +2 -1
- package/dist/pipeline/spec/chart/pipes/color/index.d.ts +2 -1
- package/dist/pipeline/spec/chart/pipes/color/linearColorForDualAxis.d.ts +2 -0
- package/dist/pipeline/utils/chatType.d.ts +1 -1
- package/dist/types/advancedVSeed.d.ts +24 -14
- package/dist/types/chartType/area/zArea.d.ts +24 -0
- package/dist/types/chartType/areaPercent/zAreaPercent.d.ts +24 -0
- package/dist/types/chartType/bar/zBar.d.ts +24 -0
- package/dist/types/chartType/barParallel/zBarParallel.d.ts +24 -0
- package/dist/types/chartType/barPercent/zBarPercent.d.ts +24 -0
- package/dist/types/chartType/column/zColumn.d.ts +24 -0
- package/dist/types/chartType/columnParallel/zColumnParallel.d.ts +24 -0
- package/dist/types/chartType/columnPercent/zColumnPercent.d.ts +24 -0
- package/dist/types/chartType/donut/zDonut.d.ts +24 -0
- package/dist/types/chartType/dualAxis/zDualAxis.d.ts +76 -0
- package/dist/types/chartType/funnel/zFunnel.d.ts +24 -0
- package/dist/types/chartType/heatmap/zHeatmap.d.ts +24 -0
- package/dist/types/chartType/line/line.d.ts +0 -1
- package/dist/types/chartType/line/zLine.d.ts +24 -0
- package/dist/types/chartType/pie/zPie.d.ts +24 -0
- package/dist/types/chartType/pivotTable/zPivotTable.d.ts +24 -0
- package/dist/types/chartType/radar/zRadar.d.ts +24 -0
- package/dist/types/chartType/rose/zRose.d.ts +24 -0
- package/dist/types/chartType/roseParallel/zRoseParallel.d.ts +24 -0
- package/dist/types/chartType/scatter/zScatter.d.ts +76 -0
- package/dist/types/chartType/table/zTable.d.ts +24 -0
- package/dist/types/properties/dimensions/dimensions.d.ts +16 -0
- package/dist/types/properties/dimensions/zDimensions.d.ts +33 -0
- package/dist/types/properties/encoding/encoding.d.ts +0 -1
- package/dist/types/properties/encoding/index.d.ts +2 -2
- package/dist/types/properties/encoding/zEncoding.d.ts +0 -14
- package/dist/types/properties/measures/dualMeasures.d.ts +1 -0
- package/dist/types/properties/measures/measures.d.ts +19 -0
- package/dist/types/properties/measures/scatterMeasures.d.ts +1 -0
- package/dist/types/properties/measures/zDualMeasures.d.ts +104 -0
- package/dist/types/properties/measures/zMeasures.d.ts +39 -0
- package/dist/types/properties/measures/zScatterMeasures.d.ts +104 -0
- package/dist/types/zVseed.d.ts +584 -0
- package/dist/umd/index.js +858 -607
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/pipeline/advanced/chart/pipes/init/autoDualMeasures.d.ts +0 -2
- package/dist/pipeline/advanced/chart/pipes/init/autoScatterMeasures.d.ts +0 -2
@@ -1,5 +1,3 @@
|
|
1
1
|
export { initAdvancedVSeed } from './initAdvancedVSeed';
|
2
|
-
export { autoMeasures } from './autoMeasures';
|
3
2
|
export { autoDimensions } from './autoDimensions';
|
4
|
-
export {
|
5
|
-
export { autoScatterMeasures } from './autoScatterMeasures';
|
3
|
+
export { getBasicDimensions } from './utils';
|
package/dist/pipeline/advanced/chart/pipes/{init/autoMeasures.d.ts → measures/buildMeasures.d.ts}
RENAMED
@@ -1,2 +1,2 @@
|
|
1
1
|
import type { AdvancedPipe } from '../../../../../types';
|
2
|
-
export declare const
|
2
|
+
export declare const buildMeasures: AdvancedPipe;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import type { Dataset, Measures, VSeed } from '../../../../../types';
|
2
|
+
/**
|
3
|
+
* @description 获取指标, 无指标时, 自动生成指标
|
4
|
+
* @param vseed vseed
|
5
|
+
* @returns 指标
|
6
|
+
*/
|
7
|
+
export declare const getBasicMeasures: (vseed: VSeed) => Measures;
|
8
|
+
/**
|
9
|
+
* @description 自动根据数据集生成指标
|
10
|
+
* @param dataset 数据集
|
11
|
+
* @returns
|
12
|
+
*/
|
13
|
+
export declare const generateMeasuresByDataset: (dataset: Dataset) => {
|
14
|
+
id: string;
|
15
|
+
alias: string;
|
16
|
+
}[];
|
17
|
+
/**
|
18
|
+
* @description 检查是否为指标树, 指标树深度大于1. 如果存在一个指标为组, 即有children配置, 则认为是指标树.
|
19
|
+
* @param vseed vseed
|
20
|
+
* @returns
|
21
|
+
*/
|
22
|
+
export declare const isMeasureTreeWithChildren: (vseed: VSeed) => boolean;
|
23
|
+
/**
|
24
|
+
* @description 检查是否为指标树, 指标树存在parentId. 如果存在一个指标有parentId, 则认为是指标树.
|
25
|
+
* @param vseed vseed
|
26
|
+
* @returns
|
27
|
+
*/
|
28
|
+
export declare const isMeasureTreeWithParentId: (vseed: VSeed) => boolean;
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import type { AdvancedVSeed, SpecPipe } from '../../../../../types';
|
2
2
|
export declare const colorAdapter: (ordinalPipe: SpecPipe, linearPipe: SpecPipe) => SpecPipe;
|
3
|
-
export declare const isLinearColor: (advancedVSeed:
|
3
|
+
export declare const isLinearColor: <T extends AdvancedVSeed>(advancedVSeed: T) => boolean;
|
4
|
+
export declare const getColorMeasureId: <T extends AdvancedVSeed>(advancedVSeed: T) => string | undefined;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export { color } from './color';
|
2
|
-
export { colorAdapter } from './colorAdapter';
|
2
|
+
export { colorAdapter, isLinearColor, getColorMeasureId } from './colorAdapter';
|
3
3
|
export { linearColor } from './linearColor';
|
4
|
+
export { linearColorForDualAxis } from './linearColorForDualAxis';
|
4
5
|
export { colorBarStyleFill } from './colorBarStyleFill';
|
5
6
|
export { colorLineStyleFill } from './colorLineStyleFill';
|
6
7
|
export { colorPointStyleFill } from './colorPointStyleFill';
|
@@ -3,4 +3,4 @@ export declare const isTable: (vseed: VSeed) => vseed is import("../../types").T
|
|
3
3
|
export declare const isPivotTable: (vseed: VSeed) => vseed is import("../../types").PivotTable;
|
4
4
|
export declare const isVTable: (vseed: VSeed) => boolean;
|
5
5
|
export declare const isVChart: (vseed: VSeed) => boolean;
|
6
|
-
export declare const isPivotChart: (vseed: VSeed) => boolean;
|
6
|
+
export declare const isPivotChart: (vseed: VSeed) => boolean | undefined;
|
@@ -61,6 +61,17 @@ export declare const zAdvancedVSeed: z.ZodObject<{
|
|
61
61
|
rowDimension: "rowDimension";
|
62
62
|
columnDimension: "columnDimension";
|
63
63
|
}>>;
|
64
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
65
|
+
column: "column";
|
66
|
+
xAxis: "xAxis";
|
67
|
+
yAxis: "yAxis";
|
68
|
+
angle: "angle";
|
69
|
+
color: "color";
|
70
|
+
detail: "detail";
|
71
|
+
tooltip: "tooltip";
|
72
|
+
label: "label";
|
73
|
+
row: "row";
|
74
|
+
}>>;
|
64
75
|
}, z.core.$strip>]>>;
|
65
76
|
measures: z.ZodArray<z.ZodUnion<[z.ZodType<import("./properties").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("./properties").MeasureGroup, unknown>>, z.ZodObject<{
|
66
77
|
id: z.ZodString;
|
@@ -96,6 +107,19 @@ export declare const zAdvancedVSeed: z.ZodObject<{
|
|
96
107
|
halfEven: "halfEven";
|
97
108
|
}>>>;
|
98
109
|
}, z.core.$strip>>>;
|
110
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
111
|
+
xAxis: "xAxis";
|
112
|
+
yAxis: "yAxis";
|
113
|
+
angle: "angle";
|
114
|
+
color: "color";
|
115
|
+
tooltip: "tooltip";
|
116
|
+
label: "label";
|
117
|
+
primaryYAxis: "primaryYAxis";
|
118
|
+
secondaryYAxis: "secondaryYAxis";
|
119
|
+
radius: "radius";
|
120
|
+
size: "size";
|
121
|
+
}>>;
|
122
|
+
parentId: z.ZodOptional<z.ZodString>;
|
99
123
|
}, z.core.$strip>]>>;
|
100
124
|
encoding: z.ZodObject<{
|
101
125
|
x: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
@@ -111,20 +135,6 @@ export declare const zAdvancedVSeed: z.ZodObject<{
|
|
111
135
|
column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
112
136
|
group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
113
137
|
}, z.core.$strip>;
|
114
|
-
encodings: z.ZodArray<z.ZodObject<{
|
115
|
-
x: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
116
|
-
y: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
117
|
-
angle: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
118
|
-
radius: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
119
|
-
detail: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
120
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
121
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
122
|
-
tooltip: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
123
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
124
|
-
row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
125
|
-
column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
126
|
-
group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
127
|
-
}, z.core.$strip>>;
|
128
138
|
config: z.ZodObject<{
|
129
139
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
130
140
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
@@ -24,6 +24,17 @@ export declare const zArea: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zArea: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zAreaPercent: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zAreaPercent: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zBar: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zBar: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zBarParallel: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zBarParallel: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zBarPercent: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zBarPercent: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zColumn: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zColumn: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zColumnParallel: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zColumnParallel: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zColumnPercent: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zColumnPercent: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zDonut: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zDonut: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -10,6 +10,17 @@ export declare const zDualAxis: z.ZodObject<{
|
|
10
10
|
rowDimension: "rowDimension";
|
11
11
|
columnDimension: "columnDimension";
|
12
12
|
}>>;
|
13
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
14
|
+
column: "column";
|
15
|
+
xAxis: "xAxis";
|
16
|
+
yAxis: "yAxis";
|
17
|
+
angle: "angle";
|
18
|
+
color: "color";
|
19
|
+
detail: "detail";
|
20
|
+
tooltip: "tooltip";
|
21
|
+
label: "label";
|
22
|
+
row: "row";
|
23
|
+
}>>;
|
13
24
|
}, z.core.$strip>>>>;
|
14
25
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../../properties").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../../properties").MeasureGroup, unknown>>, z.ZodObject<{
|
15
26
|
id: z.ZodString;
|
@@ -45,6 +56,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
45
56
|
halfEven: "halfEven";
|
46
57
|
}>>>;
|
47
58
|
}, z.core.$strip>>>;
|
59
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
60
|
+
xAxis: "xAxis";
|
61
|
+
yAxis: "yAxis";
|
62
|
+
angle: "angle";
|
63
|
+
color: "color";
|
64
|
+
tooltip: "tooltip";
|
65
|
+
label: "label";
|
66
|
+
primaryYAxis: "primaryYAxis";
|
67
|
+
secondaryYAxis: "secondaryYAxis";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
}>>;
|
71
|
+
parentId: z.ZodOptional<z.ZodString>;
|
48
72
|
}, z.core.$strip>]>>>>;
|
49
73
|
dualMeasures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
50
74
|
id: z.ZodString;
|
@@ -82,6 +106,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
82
106
|
halfEven: "halfEven";
|
83
107
|
}>>>;
|
84
108
|
}, z.core.$strip>>>;
|
109
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
110
|
+
xAxis: "xAxis";
|
111
|
+
yAxis: "yAxis";
|
112
|
+
angle: "angle";
|
113
|
+
color: "color";
|
114
|
+
tooltip: "tooltip";
|
115
|
+
label: "label";
|
116
|
+
primaryYAxis: "primaryYAxis";
|
117
|
+
secondaryYAxis: "secondaryYAxis";
|
118
|
+
radius: "radius";
|
119
|
+
size: "size";
|
120
|
+
}>>;
|
121
|
+
parentId: z.ZodOptional<z.ZodString>;
|
85
122
|
}, z.core.$strip>>, z.ZodObject<{
|
86
123
|
id: z.ZodString;
|
87
124
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -116,6 +153,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
116
153
|
halfEven: "halfEven";
|
117
154
|
}>>>;
|
118
155
|
}, z.core.$strip>>>;
|
156
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
157
|
+
xAxis: "xAxis";
|
158
|
+
yAxis: "yAxis";
|
159
|
+
angle: "angle";
|
160
|
+
color: "color";
|
161
|
+
tooltip: "tooltip";
|
162
|
+
label: "label";
|
163
|
+
primaryYAxis: "primaryYAxis";
|
164
|
+
secondaryYAxis: "secondaryYAxis";
|
165
|
+
radius: "radius";
|
166
|
+
size: "size";
|
167
|
+
}>>;
|
168
|
+
parentId: z.ZodOptional<z.ZodString>;
|
119
169
|
}, z.core.$strip>]>>;
|
120
170
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
121
171
|
id: z.ZodString;
|
@@ -151,6 +201,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
151
201
|
halfEven: "halfEven";
|
152
202
|
}>>>;
|
153
203
|
}, z.core.$strip>>>;
|
204
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
205
|
+
xAxis: "xAxis";
|
206
|
+
yAxis: "yAxis";
|
207
|
+
angle: "angle";
|
208
|
+
color: "color";
|
209
|
+
tooltip: "tooltip";
|
210
|
+
label: "label";
|
211
|
+
primaryYAxis: "primaryYAxis";
|
212
|
+
secondaryYAxis: "secondaryYAxis";
|
213
|
+
radius: "radius";
|
214
|
+
size: "size";
|
215
|
+
}>>;
|
216
|
+
parentId: z.ZodOptional<z.ZodString>;
|
154
217
|
}, z.core.$strip>>, z.ZodObject<{
|
155
218
|
id: z.ZodString;
|
156
219
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -185,6 +248,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
185
248
|
halfEven: "halfEven";
|
186
249
|
}>>>;
|
187
250
|
}, z.core.$strip>>>;
|
251
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
252
|
+
xAxis: "xAxis";
|
253
|
+
yAxis: "yAxis";
|
254
|
+
angle: "angle";
|
255
|
+
color: "color";
|
256
|
+
tooltip: "tooltip";
|
257
|
+
label: "label";
|
258
|
+
primaryYAxis: "primaryYAxis";
|
259
|
+
secondaryYAxis: "secondaryYAxis";
|
260
|
+
radius: "radius";
|
261
|
+
size: "size";
|
262
|
+
}>>;
|
263
|
+
parentId: z.ZodOptional<z.ZodString>;
|
188
264
|
}, z.core.$strip>]>>;
|
189
265
|
}, z.core.$strip>>>>;
|
190
266
|
dualChartType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -24,6 +24,17 @@ export declare const zFunnel: z.ZodObject<{
|
|
24
24
|
rowDimension: "rowDimension";
|
25
25
|
columnDimension: "columnDimension";
|
26
26
|
}>>;
|
27
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
28
|
+
column: "column";
|
29
|
+
xAxis: "xAxis";
|
30
|
+
yAxis: "yAxis";
|
31
|
+
angle: "angle";
|
32
|
+
color: "color";
|
33
|
+
detail: "detail";
|
34
|
+
tooltip: "tooltip";
|
35
|
+
label: "label";
|
36
|
+
row: "row";
|
37
|
+
}>>;
|
27
38
|
}, z.core.$strip>>>>;
|
28
39
|
measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
|
29
40
|
id: z.ZodString;
|
@@ -59,6 +70,19 @@ export declare const zFunnel: z.ZodObject<{
|
|
59
70
|
halfEven: "halfEven";
|
60
71
|
}>>>;
|
61
72
|
}, z.core.$strip>>>;
|
73
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
74
|
+
xAxis: "xAxis";
|
75
|
+
yAxis: "yAxis";
|
76
|
+
angle: "angle";
|
77
|
+
color: "color";
|
78
|
+
tooltip: "tooltip";
|
79
|
+
label: "label";
|
80
|
+
primaryYAxis: "primaryYAxis";
|
81
|
+
secondaryYAxis: "secondaryYAxis";
|
82
|
+
radius: "radius";
|
83
|
+
size: "size";
|
84
|
+
}>>;
|
85
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
86
|
}, z.core.$strip>]>>>>;
|
63
87
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
88
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|