@visactor/vseed 0.1.2 → 0.1.3
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 +4 -28
- package/dist/dataReshape/dataReshapeByEncoding.d.ts +1 -0
- package/dist/dataReshape/foldMeasures.d.ts +5 -4
- package/dist/index.cjs +335 -250
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +335 -247
- 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 +0 -3
- 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 +3 -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 +13 -14
- package/dist/types/chartType/area/zArea.d.ts +13 -0
- package/dist/types/chartType/areaPercent/zAreaPercent.d.ts +13 -0
- package/dist/types/chartType/bar/zBar.d.ts +13 -0
- package/dist/types/chartType/barParallel/zBarParallel.d.ts +13 -0
- package/dist/types/chartType/barPercent/zBarPercent.d.ts +13 -0
- package/dist/types/chartType/column/zColumn.d.ts +13 -0
- package/dist/types/chartType/columnParallel/zColumnParallel.d.ts +13 -0
- package/dist/types/chartType/columnPercent/zColumnPercent.d.ts +13 -0
- package/dist/types/chartType/donut/zDonut.d.ts +13 -0
- package/dist/types/chartType/dualAxis/zDualAxis.d.ts +65 -0
- package/dist/types/chartType/funnel/zFunnel.d.ts +13 -0
- package/dist/types/chartType/heatmap/zHeatmap.d.ts +13 -0
- package/dist/types/chartType/line/line.d.ts +0 -1
- package/dist/types/chartType/line/zLine.d.ts +13 -0
- package/dist/types/chartType/pie/zPie.d.ts +13 -0
- package/dist/types/chartType/pivotTable/zPivotTable.d.ts +13 -0
- package/dist/types/chartType/radar/zRadar.d.ts +13 -0
- package/dist/types/chartType/rose/zRose.d.ts +13 -0
- package/dist/types/chartType/roseParallel/zRoseParallel.d.ts +13 -0
- package/dist/types/chartType/scatter/zScatter.d.ts +65 -0
- package/dist/types/chartType/table/zTable.d.ts +13 -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 +364 -0
- package/dist/umd/index.js +335 -248
- 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,2 @@
|
|
1
1
|
export { initAdvancedVSeed } from './initAdvancedVSeed';
|
2
|
-
export { autoMeasures } from './autoMeasures';
|
3
2
|
export { autoDimensions } from './autoDimensions';
|
4
|
-
export { autoDualMeasures } from './autoDualMeasures';
|
5
|
-
export { autoScatterMeasures } from './autoScatterMeasures';
|
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;
|
@@ -96,6 +96,19 @@ export declare const zAdvancedVSeed: z.ZodObject<{
|
|
96
96
|
halfEven: "halfEven";
|
97
97
|
}>>>;
|
98
98
|
}, z.core.$strip>>>;
|
99
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
100
|
+
primaryYAxis: "primaryYAxis";
|
101
|
+
secondaryYAxis: "secondaryYAxis";
|
102
|
+
xAxis: "xAxis";
|
103
|
+
yAxis: "yAxis";
|
104
|
+
angle: "angle";
|
105
|
+
radius: "radius";
|
106
|
+
size: "size";
|
107
|
+
color: "color";
|
108
|
+
label: "label";
|
109
|
+
tooltip: "tooltip";
|
110
|
+
}>>;
|
111
|
+
parentId: z.ZodOptional<z.ZodString>;
|
99
112
|
}, z.core.$strip>]>>;
|
100
113
|
encoding: z.ZodObject<{
|
101
114
|
x: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
@@ -111,20 +124,6 @@ export declare const zAdvancedVSeed: z.ZodObject<{
|
|
111
124
|
column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
112
125
|
group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
113
126
|
}, 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
127
|
config: z.ZodObject<{
|
129
128
|
table: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
130
129
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
@@ -59,6 +59,19 @@ export declare const zArea: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zAreaPercent: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zBar: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zBarParallel: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zBarPercent: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zColumn: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zColumnParallel: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zColumnPercent: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zDonut: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -45,6 +45,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
45
45
|
halfEven: "halfEven";
|
46
46
|
}>>>;
|
47
47
|
}, z.core.$strip>>>;
|
48
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
49
|
+
primaryYAxis: "primaryYAxis";
|
50
|
+
secondaryYAxis: "secondaryYAxis";
|
51
|
+
xAxis: "xAxis";
|
52
|
+
yAxis: "yAxis";
|
53
|
+
angle: "angle";
|
54
|
+
radius: "radius";
|
55
|
+
size: "size";
|
56
|
+
color: "color";
|
57
|
+
label: "label";
|
58
|
+
tooltip: "tooltip";
|
59
|
+
}>>;
|
60
|
+
parentId: z.ZodOptional<z.ZodString>;
|
48
61
|
}, z.core.$strip>]>>>>;
|
49
62
|
dualMeasures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
50
63
|
id: z.ZodString;
|
@@ -82,6 +95,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
82
95
|
halfEven: "halfEven";
|
83
96
|
}>>>;
|
84
97
|
}, z.core.$strip>>>;
|
98
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
99
|
+
primaryYAxis: "primaryYAxis";
|
100
|
+
secondaryYAxis: "secondaryYAxis";
|
101
|
+
xAxis: "xAxis";
|
102
|
+
yAxis: "yAxis";
|
103
|
+
angle: "angle";
|
104
|
+
radius: "radius";
|
105
|
+
size: "size";
|
106
|
+
color: "color";
|
107
|
+
label: "label";
|
108
|
+
tooltip: "tooltip";
|
109
|
+
}>>;
|
110
|
+
parentId: z.ZodOptional<z.ZodString>;
|
85
111
|
}, z.core.$strip>>, z.ZodObject<{
|
86
112
|
id: z.ZodString;
|
87
113
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -116,6 +142,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
116
142
|
halfEven: "halfEven";
|
117
143
|
}>>>;
|
118
144
|
}, z.core.$strip>>>;
|
145
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
146
|
+
primaryYAxis: "primaryYAxis";
|
147
|
+
secondaryYAxis: "secondaryYAxis";
|
148
|
+
xAxis: "xAxis";
|
149
|
+
yAxis: "yAxis";
|
150
|
+
angle: "angle";
|
151
|
+
radius: "radius";
|
152
|
+
size: "size";
|
153
|
+
color: "color";
|
154
|
+
label: "label";
|
155
|
+
tooltip: "tooltip";
|
156
|
+
}>>;
|
157
|
+
parentId: z.ZodOptional<z.ZodString>;
|
119
158
|
}, z.core.$strip>]>>;
|
120
159
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
121
160
|
id: z.ZodString;
|
@@ -151,6 +190,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
151
190
|
halfEven: "halfEven";
|
152
191
|
}>>>;
|
153
192
|
}, z.core.$strip>>>;
|
193
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
194
|
+
primaryYAxis: "primaryYAxis";
|
195
|
+
secondaryYAxis: "secondaryYAxis";
|
196
|
+
xAxis: "xAxis";
|
197
|
+
yAxis: "yAxis";
|
198
|
+
angle: "angle";
|
199
|
+
radius: "radius";
|
200
|
+
size: "size";
|
201
|
+
color: "color";
|
202
|
+
label: "label";
|
203
|
+
tooltip: "tooltip";
|
204
|
+
}>>;
|
205
|
+
parentId: z.ZodOptional<z.ZodString>;
|
154
206
|
}, z.core.$strip>>, z.ZodObject<{
|
155
207
|
id: z.ZodString;
|
156
208
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -185,6 +237,19 @@ export declare const zDualAxis: z.ZodObject<{
|
|
185
237
|
halfEven: "halfEven";
|
186
238
|
}>>>;
|
187
239
|
}, z.core.$strip>>>;
|
240
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
241
|
+
primaryYAxis: "primaryYAxis";
|
242
|
+
secondaryYAxis: "secondaryYAxis";
|
243
|
+
xAxis: "xAxis";
|
244
|
+
yAxis: "yAxis";
|
245
|
+
angle: "angle";
|
246
|
+
radius: "radius";
|
247
|
+
size: "size";
|
248
|
+
color: "color";
|
249
|
+
label: "label";
|
250
|
+
tooltip: "tooltip";
|
251
|
+
}>>;
|
252
|
+
parentId: z.ZodOptional<z.ZodString>;
|
188
253
|
}, z.core.$strip>]>>;
|
189
254
|
}, z.core.$strip>>>>;
|
190
255
|
dualChartType: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zFunnel: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -45,6 +45,19 @@ export declare const zHeatmap: z.ZodObject<{
|
|
45
45
|
halfEven: "halfEven";
|
46
46
|
}>>>;
|
47
47
|
}, z.core.$strip>>>;
|
48
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
49
|
+
primaryYAxis: "primaryYAxis";
|
50
|
+
secondaryYAxis: "secondaryYAxis";
|
51
|
+
xAxis: "xAxis";
|
52
|
+
yAxis: "yAxis";
|
53
|
+
angle: "angle";
|
54
|
+
radius: "radius";
|
55
|
+
size: "size";
|
56
|
+
color: "color";
|
57
|
+
label: "label";
|
58
|
+
tooltip: "tooltip";
|
59
|
+
}>>;
|
60
|
+
parentId: z.ZodOptional<z.ZodString>;
|
48
61
|
}, z.core.$strip>]>>>>;
|
49
62
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
50
63
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zLine: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zPie: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -45,6 +45,19 @@ export declare const zPivotTable: z.ZodObject<{
|
|
45
45
|
halfEven: "halfEven";
|
46
46
|
}>>>;
|
47
47
|
}, z.core.$strip>>>;
|
48
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
49
|
+
primaryYAxis: "primaryYAxis";
|
50
|
+
secondaryYAxis: "secondaryYAxis";
|
51
|
+
xAxis: "xAxis";
|
52
|
+
yAxis: "yAxis";
|
53
|
+
angle: "angle";
|
54
|
+
radius: "radius";
|
55
|
+
size: "size";
|
56
|
+
color: "color";
|
57
|
+
label: "label";
|
58
|
+
tooltip: "tooltip";
|
59
|
+
}>>;
|
60
|
+
parentId: z.ZodOptional<z.ZodString>;
|
48
61
|
}, z.core.$strip>>>>;
|
49
62
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
50
63
|
borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -59,6 +59,19 @@ export declare const zRadar: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zRose: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
@@ -59,6 +59,19 @@ export declare const zRoseParallel: z.ZodObject<{
|
|
59
59
|
halfEven: "halfEven";
|
60
60
|
}>>>;
|
61
61
|
}, z.core.$strip>>>;
|
62
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
63
|
+
primaryYAxis: "primaryYAxis";
|
64
|
+
secondaryYAxis: "secondaryYAxis";
|
65
|
+
xAxis: "xAxis";
|
66
|
+
yAxis: "yAxis";
|
67
|
+
angle: "angle";
|
68
|
+
radius: "radius";
|
69
|
+
size: "size";
|
70
|
+
color: "color";
|
71
|
+
label: "label";
|
72
|
+
tooltip: "tooltip";
|
73
|
+
}>>;
|
74
|
+
parentId: z.ZodOptional<z.ZodString>;
|
62
75
|
}, z.core.$strip>]>>>>;
|
63
76
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
64
77
|
color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|