@visactor/vseed 0.4.24 → 0.4.26
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 +2 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/annotation/annotation.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/area.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js +218 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.d.ts +42 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js +213 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationDifferenceLineCommon.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/region/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/region/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/region/regionPadding.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/region/regionPadding.js +20 -0
- package/dist/esm/pipeline/spec/chart/pipes/region/regionPadding.js.map +1 -0
- package/dist/esm/theme/common/annotaion.d.ts +6 -1
- package/dist/esm/theme/common/annotaion.js +18 -1
- package/dist/esm/theme/common/annotaion.js.map +1 -1
- package/dist/esm/theme/dark/area.d.ts +2 -0
- package/dist/esm/theme/dark/bar.d.ts +3 -0
- package/dist/esm/theme/dark/boxPlot.d.ts +1 -0
- package/dist/esm/theme/dark/column.d.ts +3 -0
- package/dist/esm/theme/dark/dualAxis.d.ts +1 -0
- package/dist/esm/theme/dark/histogram.d.ts +1 -0
- package/dist/esm/theme/dark/line.d.ts +1 -0
- package/dist/esm/theme/dark/race.d.ts +3 -0
- package/dist/esm/theme/dark/raceLine.d.ts +1 -0
- package/dist/esm/theme/dark/scatter.d.ts +1 -0
- package/dist/esm/theme/light/area.d.ts +2 -0
- package/dist/esm/theme/light/bar.d.ts +3 -0
- package/dist/esm/theme/light/boxPlot.d.ts +1 -0
- package/dist/esm/theme/light/column.d.ts +3 -0
- package/dist/esm/theme/light/dualAxis.d.ts +1 -0
- package/dist/esm/theme/light/histogram.d.ts +1 -0
- package/dist/esm/theme/light/line.d.ts +1 -0
- package/dist/esm/theme/light/race.d.ts +3 -0
- package/dist/esm/theme/light/raceLine.d.ts +1 -0
- package/dist/esm/theme/light/scatter.d.ts +1 -0
- package/dist/esm/theme/tokenTheme.js +3 -0
- package/dist/esm/theme/tokenTheme.js.map +1 -1
- package/dist/esm/types/chartType/area/area.d.ts +11 -1
- package/dist/esm/types/chartType/area/zArea.d.ts +309 -0
- package/dist/esm/types/chartType/area/zArea.js +3 -1
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +6 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +6 -0
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +11 -2
- package/dist/esm/types/chartType/bar/zBar.d.ts +309 -0
- package/dist/esm/types/chartType/bar/zBar.js +3 -1
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +10 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +309 -0
- package/dist/esm/types/chartType/barParallel/zBarParallel.js +3 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +6 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +6 -0
- package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +10 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +309 -0
- package/dist/esm/types/chartType/column/zColumn.js +3 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +10 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +309 -0
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +3 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +6 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +6 -0
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
- package/dist/esm/types/chartType/line/line.d.ts +11 -1
- package/dist/esm/types/chartType/line/zLine.d.ts +309 -0
- package/dist/esm/types/chartType/line/zLine.js +3 -1
- package/dist/esm/types/chartType/line/zLine.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotation.d.ts +303 -0
- package/dist/esm/types/properties/annotation/annotation.js +3 -1
- package/dist/esm/types/properties/annotation/annotation.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotationDifferenceLine.d.ts +51 -0
- package/dist/esm/types/properties/annotation/annotationDifferenceLine.js +0 -0
- package/dist/esm/types/properties/annotation/index.d.ts +2 -0
- package/dist/esm/types/properties/annotation/index.js +1 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.d.ts +294 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js +29 -0
- package/dist/esm/types/properties/annotation/zAnnotationDifferenceLine.js.map +1 -0
- package/dist/esm/types/properties/config/annotation/annotation.d.ts +2 -0
- package/dist/esm/types/properties/config/annotation/zAnnotation.d.ts +12 -0
- package/dist/esm/types/properties/config/annotation/zAnnotation.js +10 -2
- package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -1
- package/dist/esm/types/properties/config/area.d.ts +24 -0
- package/dist/esm/types/properties/config/area.js +2 -0
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/bar.d.ts +36 -0
- package/dist/esm/types/properties/config/bar.js +2 -0
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/boxplot.d.ts +6 -0
- package/dist/esm/types/properties/config/column.d.ts +36 -0
- package/dist/esm/types/properties/config/column.js +2 -0
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +180 -0
- package/dist/esm/types/properties/config/dualAxis.d.ts +6 -0
- package/dist/esm/types/properties/config/histogram.d.ts +6 -0
- package/dist/esm/types/properties/config/line.d.ts +12 -0
- package/dist/esm/types/properties/config/line.js +2 -0
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/race.d.ts +48 -0
- package/dist/esm/types/properties/config/scatter.d.ts +6 -0
- package/dist/esm/types/properties/index.d.ts +1 -0
- package/dist/esm/types/properties/index.js +1 -0
- package/dist/esm/types/properties/regionPadding/index.d.ts +2 -0
- package/dist/esm/types/properties/regionPadding/index.js +1 -0
- package/dist/esm/types/properties/regionPadding/regionPadding.d.ts +6 -0
- package/dist/esm/types/properties/regionPadding/regionPadding.js +0 -0
- package/dist/esm/types/properties/regionPadding/zRegionPadding.d.ts +7 -0
- package/dist/esm/types/properties/regionPadding/zRegionPadding.js +11 -0
- package/dist/esm/types/properties/regionPadding/zRegionPadding.js.map +1 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +360 -0
- package/dist/umd/index.js +560 -6
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const zDifferenceSelector: z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
3
|
+
field: z.ZodString;
|
|
4
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
"=": "=";
|
|
6
|
+
"==": "==";
|
|
7
|
+
"!=": "!=";
|
|
8
|
+
">": ">";
|
|
9
|
+
"<": "<";
|
|
10
|
+
">=": ">=";
|
|
11
|
+
"<=": "<=";
|
|
12
|
+
between: "between";
|
|
13
|
+
}>>>;
|
|
14
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
15
|
+
"=": "=";
|
|
16
|
+
"==": "==";
|
|
17
|
+
"!=": "!=";
|
|
18
|
+
">": ">";
|
|
19
|
+
"<": "<";
|
|
20
|
+
">=": ">=";
|
|
21
|
+
"<=": "<=";
|
|
22
|
+
between: "between";
|
|
23
|
+
}>>>;
|
|
24
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
field: z.ZodString;
|
|
27
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
28
|
+
in: "in";
|
|
29
|
+
"not in": "not in";
|
|
30
|
+
}>>>;
|
|
31
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
32
|
+
in: "in";
|
|
33
|
+
"not in": "not in";
|
|
34
|
+
}>>>;
|
|
35
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
36
|
+
}, z.core.$strip>]>;
|
|
37
|
+
export declare const zDifferenceSelectors: z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
38
|
+
field: z.ZodString;
|
|
39
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
40
|
+
"=": "=";
|
|
41
|
+
"==": "==";
|
|
42
|
+
"!=": "!=";
|
|
43
|
+
">": ">";
|
|
44
|
+
"<": "<";
|
|
45
|
+
">=": ">=";
|
|
46
|
+
"<=": "<=";
|
|
47
|
+
between: "between";
|
|
48
|
+
}>>>;
|
|
49
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
50
|
+
"=": "=";
|
|
51
|
+
"==": "==";
|
|
52
|
+
"!=": "!=";
|
|
53
|
+
">": ">";
|
|
54
|
+
"<": "<";
|
|
55
|
+
">=": ">=";
|
|
56
|
+
"<=": "<=";
|
|
57
|
+
between: "between";
|
|
58
|
+
}>>>;
|
|
59
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
60
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
+
field: z.ZodString;
|
|
62
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
63
|
+
in: "in";
|
|
64
|
+
"not in": "not in";
|
|
65
|
+
}>>>;
|
|
66
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
67
|
+
in: "in";
|
|
68
|
+
"not in": "not in";
|
|
69
|
+
}>>>;
|
|
70
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
71
|
+
}, z.core.$strip>]>>;
|
|
72
|
+
export declare const zDifferenceAnchor: z.ZodObject<{
|
|
73
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
74
|
+
field: z.ZodString;
|
|
75
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
76
|
+
"=": "=";
|
|
77
|
+
"==": "==";
|
|
78
|
+
"!=": "!=";
|
|
79
|
+
">": ">";
|
|
80
|
+
"<": "<";
|
|
81
|
+
">=": ">=";
|
|
82
|
+
"<=": "<=";
|
|
83
|
+
between: "between";
|
|
84
|
+
}>>>;
|
|
85
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
86
|
+
"=": "=";
|
|
87
|
+
"==": "==";
|
|
88
|
+
"!=": "!=";
|
|
89
|
+
">": ">";
|
|
90
|
+
"<": "<";
|
|
91
|
+
">=": ">=";
|
|
92
|
+
"<=": "<=";
|
|
93
|
+
between: "between";
|
|
94
|
+
}>>>;
|
|
95
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
field: z.ZodString;
|
|
98
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
99
|
+
in: "in";
|
|
100
|
+
"not in": "not in";
|
|
101
|
+
}>>>;
|
|
102
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
103
|
+
in: "in";
|
|
104
|
+
"not in": "not in";
|
|
105
|
+
}>>>;
|
|
106
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
107
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
108
|
+
field: z.ZodString;
|
|
109
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
110
|
+
"=": "=";
|
|
111
|
+
"==": "==";
|
|
112
|
+
"!=": "!=";
|
|
113
|
+
">": ">";
|
|
114
|
+
"<": "<";
|
|
115
|
+
">=": ">=";
|
|
116
|
+
"<=": "<=";
|
|
117
|
+
between: "between";
|
|
118
|
+
}>>>;
|
|
119
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
120
|
+
"=": "=";
|
|
121
|
+
"==": "==";
|
|
122
|
+
"!=": "!=";
|
|
123
|
+
">": ">";
|
|
124
|
+
"<": "<";
|
|
125
|
+
">=": ">=";
|
|
126
|
+
"<=": "<=";
|
|
127
|
+
between: "between";
|
|
128
|
+
}>>>;
|
|
129
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
field: z.ZodString;
|
|
132
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
133
|
+
in: "in";
|
|
134
|
+
"not in": "not in";
|
|
135
|
+
}>>>;
|
|
136
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
137
|
+
in: "in";
|
|
138
|
+
"not in": "not in";
|
|
139
|
+
}>>>;
|
|
140
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
141
|
+
}, z.core.$strip>]>>]>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
export declare const zAnnotationDifferenceLine: z.ZodObject<{
|
|
144
|
+
start: z.ZodObject<{
|
|
145
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
146
|
+
field: z.ZodString;
|
|
147
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
148
|
+
"=": "=";
|
|
149
|
+
"==": "==";
|
|
150
|
+
"!=": "!=";
|
|
151
|
+
">": ">";
|
|
152
|
+
"<": "<";
|
|
153
|
+
">=": ">=";
|
|
154
|
+
"<=": "<=";
|
|
155
|
+
between: "between";
|
|
156
|
+
}>>>;
|
|
157
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
158
|
+
"=": "=";
|
|
159
|
+
"==": "==";
|
|
160
|
+
"!=": "!=";
|
|
161
|
+
">": ">";
|
|
162
|
+
"<": "<";
|
|
163
|
+
">=": ">=";
|
|
164
|
+
"<=": "<=";
|
|
165
|
+
between: "between";
|
|
166
|
+
}>>>;
|
|
167
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
field: z.ZodString;
|
|
170
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
171
|
+
in: "in";
|
|
172
|
+
"not in": "not in";
|
|
173
|
+
}>>>;
|
|
174
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
175
|
+
in: "in";
|
|
176
|
+
"not in": "not in";
|
|
177
|
+
}>>>;
|
|
178
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
179
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
180
|
+
field: z.ZodString;
|
|
181
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
182
|
+
"=": "=";
|
|
183
|
+
"==": "==";
|
|
184
|
+
"!=": "!=";
|
|
185
|
+
">": ">";
|
|
186
|
+
"<": "<";
|
|
187
|
+
">=": ">=";
|
|
188
|
+
"<=": "<=";
|
|
189
|
+
between: "between";
|
|
190
|
+
}>>>;
|
|
191
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
192
|
+
"=": "=";
|
|
193
|
+
"==": "==";
|
|
194
|
+
"!=": "!=";
|
|
195
|
+
">": ">";
|
|
196
|
+
"<": "<";
|
|
197
|
+
">=": ">=";
|
|
198
|
+
"<=": "<=";
|
|
199
|
+
between: "between";
|
|
200
|
+
}>>>;
|
|
201
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
+
field: z.ZodString;
|
|
204
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
205
|
+
in: "in";
|
|
206
|
+
"not in": "not in";
|
|
207
|
+
}>>>;
|
|
208
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
209
|
+
in: "in";
|
|
210
|
+
"not in": "not in";
|
|
211
|
+
}>>>;
|
|
212
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
213
|
+
}, z.core.$strip>]>>]>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
end: z.ZodObject<{
|
|
216
|
+
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
217
|
+
field: z.ZodString;
|
|
218
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
219
|
+
"=": "=";
|
|
220
|
+
"==": "==";
|
|
221
|
+
"!=": "!=";
|
|
222
|
+
">": ">";
|
|
223
|
+
"<": "<";
|
|
224
|
+
">=": ">=";
|
|
225
|
+
"<=": "<=";
|
|
226
|
+
between: "between";
|
|
227
|
+
}>>>;
|
|
228
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
229
|
+
"=": "=";
|
|
230
|
+
"==": "==";
|
|
231
|
+
"!=": "!=";
|
|
232
|
+
">": ">";
|
|
233
|
+
"<": "<";
|
|
234
|
+
">=": ">=";
|
|
235
|
+
"<=": "<=";
|
|
236
|
+
between: "between";
|
|
237
|
+
}>>>;
|
|
238
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
field: z.ZodString;
|
|
241
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
242
|
+
in: "in";
|
|
243
|
+
"not in": "not in";
|
|
244
|
+
}>>>;
|
|
245
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
246
|
+
in: "in";
|
|
247
|
+
"not in": "not in";
|
|
248
|
+
}>>>;
|
|
249
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
250
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>, z.ZodObject<{
|
|
251
|
+
field: z.ZodString;
|
|
252
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
253
|
+
"=": "=";
|
|
254
|
+
"==": "==";
|
|
255
|
+
"!=": "!=";
|
|
256
|
+
">": ">";
|
|
257
|
+
"<": "<";
|
|
258
|
+
">=": ">=";
|
|
259
|
+
"<=": "<=";
|
|
260
|
+
between: "between";
|
|
261
|
+
}>>>;
|
|
262
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
263
|
+
"=": "=";
|
|
264
|
+
"==": "==";
|
|
265
|
+
"!=": "!=";
|
|
266
|
+
">": ">";
|
|
267
|
+
"<": "<";
|
|
268
|
+
">=": ">=";
|
|
269
|
+
"<=": "<=";
|
|
270
|
+
between: "between";
|
|
271
|
+
}>>>;
|
|
272
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
+
field: z.ZodString;
|
|
275
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
276
|
+
in: "in";
|
|
277
|
+
"not in": "not in";
|
|
278
|
+
}>>>;
|
|
279
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
280
|
+
in: "in";
|
|
281
|
+
"not in": "not in";
|
|
282
|
+
}>>>;
|
|
283
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
284
|
+
}, z.core.$strip>]>>]>;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
differenceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
287
|
+
percent: "percent";
|
|
288
|
+
absolute: "absolute";
|
|
289
|
+
}>>>;
|
|
290
|
+
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
291
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
292
|
+
textBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
293
|
+
lineColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
294
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { zDimensionSelector, zMeasureSelector, zPartialSelector } from "../../dataSelector/index.js";
|
|
3
|
+
const zDifferenceSelector = z.union([
|
|
4
|
+
zPartialSelector,
|
|
5
|
+
zMeasureSelector,
|
|
6
|
+
zDimensionSelector
|
|
7
|
+
]);
|
|
8
|
+
const zDifferenceSelectors = z.array(zDifferenceSelector);
|
|
9
|
+
const zDifferenceAnchor = z.object({
|
|
10
|
+
selector: z.union([
|
|
11
|
+
zDifferenceSelector,
|
|
12
|
+
zDifferenceSelectors
|
|
13
|
+
])
|
|
14
|
+
});
|
|
15
|
+
const zAnnotationDifferenceLine = z.object({
|
|
16
|
+
start: zDifferenceAnchor,
|
|
17
|
+
end: zDifferenceAnchor,
|
|
18
|
+
differenceType: z["enum"]([
|
|
19
|
+
'absolute',
|
|
20
|
+
'percent'
|
|
21
|
+
]).nullish(),
|
|
22
|
+
textFontSize: z.number().nullish(),
|
|
23
|
+
textColor: z.string().nullish(),
|
|
24
|
+
textBackgroundColor: z.string().nullish(),
|
|
25
|
+
lineColor: z.string().nullish()
|
|
26
|
+
});
|
|
27
|
+
export { zAnnotationDifferenceLine, zDifferenceAnchor, zDifferenceSelector, zDifferenceSelectors };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=zAnnotationDifferenceLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types/properties/annotation/zAnnotationDifferenceLine.js","sources":["../../../../../src/types/properties/annotation/zAnnotationDifferenceLine.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zDimensionSelector, zMeasureSelector, zPartialSelector } from '../../dataSelector'\n\nexport const zDifferenceSelector = z.union([zPartialSelector, zMeasureSelector, zDimensionSelector])\nexport const zDifferenceSelectors = z.array(zDifferenceSelector)\n\nexport const zDifferenceAnchor = z.object({\n selector: z.union([zDifferenceSelector, zDifferenceSelectors]),\n})\n\nexport const zAnnotationDifferenceLine = z.object({\n start: zDifferenceAnchor,\n end: zDifferenceAnchor,\n differenceType: z.enum(['absolute', 'percent']).nullish(),\n textFontSize: z.number().nullish(),\n textColor: z.string().nullish(),\n textBackgroundColor: z.string().nullish(),\n lineColor: z.string().nullish(),\n})\n"],"names":["zDifferenceSelector","z","zPartialSelector","zMeasureSelector","zDimensionSelector","zDifferenceSelectors","zDifferenceAnchor","zAnnotationDifferenceLine"],"mappings":";;AAGO,MAAMA,sBAAsBC,EAAE,KAAK,CAAC;IAACC;IAAkBC;IAAkBC;CAAmB;AAC5F,MAAMC,uBAAuBJ,EAAE,KAAK,CAACD;AAErC,MAAMM,oBAAoBL,EAAE,MAAM,CAAC;IACxC,UAAUA,EAAE,KAAK,CAAC;QAACD;QAAqBK;KAAqB;AAC/D;AAEO,MAAME,4BAA4BN,EAAE,MAAM,CAAC;IAChD,OAAOK;IACP,KAAKA;IACL,gBAAgBL,CAAC,CAADA,OAAM,CAAC;QAAC;QAAY;KAAU,EAAE,OAAO;IACvD,cAAcA,EAAE,MAAM,GAAG,OAAO;IAChC,WAAWA,EAAE,MAAM,GAAG,OAAO;IAC7B,qBAAqBA,EAAE,MAAM,GAAG,OAAO;IACvC,WAAWA,EAAE,MAAM,GAAG,OAAO;AAC/B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AnnotationArea } from '../../annotation/annotationArea';
|
|
2
|
+
import type { AnnotationDifferenceLine } from '../../annotation/annotationDifferenceLine';
|
|
2
3
|
import type { AnnotationHorizontalLine } from '../../annotation/annotationHorizontalLine';
|
|
3
4
|
import type { AnnotationPoint } from '../../annotation/annotationPoint';
|
|
4
5
|
export type AnnotationPointConfig = Pick<AnnotationPoint, 'textColor' | 'textFontSize' | 'textFontWeight' | 'textBackgroundVisible' | 'textBackgroundColor' | 'textBackgroundBorderColor' | 'textBackgroundBorderWidth' | 'textBackgroundPadding' | 'textBackgroundBorderRadius' | 'offsetX' | 'offsetY'>;
|
|
@@ -74,3 +75,4 @@ export interface AnnotationHorizontalLineConfig extends Pick<AnnotationHorizonta
|
|
|
74
75
|
}
|
|
75
76
|
export type AnnotationVerticalLineConfig = AnnotationHorizontalLineConfig;
|
|
76
77
|
export type AnnotationAreaConfig = Pick<AnnotationArea, 'areaBorderColor' | 'areaBorderRadius' | 'areaBorderWidth' | 'areaColor' | 'areaColorOpacity' | 'areaLineDash' | 'outerPadding' | 'textBackgroundBorderColor' | 'textBackgroundBorderRadius' | 'textBackgroundBorderWidth' | 'textBackgroundColor' | 'textBackgroundPadding' | 'textBackgroundVisible' | 'textColor' | 'textFontSize' | 'textFontWeight'>;
|
|
78
|
+
export type AnnotationDifferenceLineConfig = Pick<AnnotationDifferenceLine, 'lineColor' | 'textBackgroundColor' | 'textColor' | 'textFontSize'>;
|
|
@@ -167,6 +167,12 @@ export declare const zAnnotationAreaConfig: z.ZodObject<{
|
|
|
167
167
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
168
168
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
169
169
|
}, z.core.$strip>;
|
|
170
|
+
export declare const zAnnotationDifferenceLineConfig: z.ZodObject<{
|
|
171
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
172
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
173
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
174
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
175
|
+
}, z.core.$strip>;
|
|
170
176
|
export declare const zAnnotationConfig: z.ZodObject<{
|
|
171
177
|
annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
172
178
|
dynamicFilter: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -336,4 +342,10 @@ export declare const zAnnotationConfig: z.ZodObject<{
|
|
|
336
342
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
337
343
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
338
344
|
}, z.core.$strip>>>;
|
|
345
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
346
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
347
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
348
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
349
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
350
|
+
}, z.core.$strip>>>;
|
|
339
351
|
}, z.core.$strip>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { zAnnotationPoint } from "../../annotation/zAnnotationPoint.js";
|
|
3
|
+
import { zAnnotationDifferenceLine } from "../../annotation/zAnnotationDifferenceLine.js";
|
|
3
4
|
import { zAnnotationHorizontalLine } from "../../annotation/zAnnotationHorizontalLine.js";
|
|
4
5
|
import { zAnnotationArea } from "../../annotation/zAnnotationArea.js";
|
|
5
6
|
const zAnnotationPointConfig = zAnnotationPoint.omit({
|
|
@@ -47,12 +48,19 @@ const zAnnotationAreaConfig = zAnnotationArea.pick({
|
|
|
47
48
|
areaLineDash: true,
|
|
48
49
|
outerPadding: true
|
|
49
50
|
}).partial();
|
|
51
|
+
const zAnnotationDifferenceLineConfig = zAnnotationDifferenceLine.pick({
|
|
52
|
+
lineColor: true,
|
|
53
|
+
textColor: true,
|
|
54
|
+
textFontSize: true,
|
|
55
|
+
textBackgroundColor: true
|
|
56
|
+
}).partial();
|
|
50
57
|
const zAnnotationConfig = z.object({
|
|
51
58
|
annotationPoint: zAnnotationPointConfig.nullish(),
|
|
52
59
|
annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),
|
|
53
60
|
annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),
|
|
54
|
-
annotationArea: zAnnotationAreaConfig.nullish()
|
|
61
|
+
annotationArea: zAnnotationAreaConfig.nullish(),
|
|
62
|
+
annotationDifferenceLine: zAnnotationDifferenceLineConfig.nullish()
|
|
55
63
|
});
|
|
56
|
-
export { zAnnotationAreaConfig, zAnnotationConfig, zAnnotationHorizontalLineConfig, zAnnotationPointConfig, zAnnotationVerticalLineConfig };
|
|
64
|
+
export { zAnnotationAreaConfig, zAnnotationConfig, zAnnotationDifferenceLineConfig, zAnnotationHorizontalLineConfig, zAnnotationPointConfig, zAnnotationVerticalLineConfig };
|
|
57
65
|
|
|
58
66
|
//# sourceMappingURL=zAnnotation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/annotation/zAnnotation.js","sources":["../../../../../../src/types/properties/config/annotation/zAnnotation.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from '../../annotation/zAnnotationPoint'\nimport { zAnnotationHorizontalLine } from '../../annotation/zAnnotationHorizontalLine'\nimport { zAnnotationArea } from '../../annotation/zAnnotationArea'\n\nexport const zAnnotationPointConfig = zAnnotationPoint.omit({ selector: true, text: true }).partial()\n\n// Use pick to explicitly list fields we want to expose in config variants.\nexport const zAnnotationHorizontalLineConfig = zAnnotationHorizontalLine\n .pick({\n // only pick fields that exist on the runtime schema\n lineColor: true,\n lineWidth: true,\n lineVisible: true,\n lineStyle: true,\n\n textBackgroundVisible: true,\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n })\n // extend with additional config-only fields that runtime schema doesn't include\n .extend({\n endSymbolVisible: z.boolean().nullish(),\n endSymbolType: z.string().nullish(),\n endSymbolSize: z.number().nullish(),\n\n startSymbolVisible: z.boolean().nullish(),\n startSymbolType: z.string().nullish(),\n startSymbolSize: z.number().nullish(),\n })\n .partial()\n\nexport const zAnnotationVerticalLineConfig = zAnnotationHorizontalLineConfig.clone()\n\nexport const zAnnotationAreaConfig = zAnnotationArea\n .pick({\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n\n textBackgroundVisible: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n\n areaColor: true,\n areaColorOpacity: true,\n areaBorderColor: true,\n areaBorderWidth: true,\n areaBorderRadius: true,\n areaLineDash: true,\n\n outerPadding: true,\n })\n .partial()\n\nexport const zAnnotationConfig = z.object({\n annotationPoint: zAnnotationPointConfig.nullish(),\n annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),\n annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),\n annotationArea: zAnnotationAreaConfig.nullish(),\n})\n"],"names":["zAnnotationPointConfig","zAnnotationPoint","zAnnotationHorizontalLineConfig","zAnnotationHorizontalLine","z","zAnnotationVerticalLineConfig","zAnnotationAreaConfig","zAnnotationArea","zAnnotationConfig"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/annotation/zAnnotation.js","sources":["../../../../../../src/types/properties/config/annotation/zAnnotation.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from '../../annotation/zAnnotationPoint'\nimport { zAnnotationDifferenceLine } from '../../annotation/zAnnotationDifferenceLine'\nimport { zAnnotationHorizontalLine } from '../../annotation/zAnnotationHorizontalLine'\nimport { zAnnotationArea } from '../../annotation/zAnnotationArea'\n\nexport const zAnnotationPointConfig = zAnnotationPoint.omit({ selector: true, text: true }).partial()\n\n// Use pick to explicitly list fields we want to expose in config variants.\nexport const zAnnotationHorizontalLineConfig = zAnnotationHorizontalLine\n .pick({\n // only pick fields that exist on the runtime schema\n lineColor: true,\n lineWidth: true,\n lineVisible: true,\n lineStyle: true,\n\n textBackgroundVisible: true,\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n })\n // extend with additional config-only fields that runtime schema doesn't include\n .extend({\n endSymbolVisible: z.boolean().nullish(),\n endSymbolType: z.string().nullish(),\n endSymbolSize: z.number().nullish(),\n\n startSymbolVisible: z.boolean().nullish(),\n startSymbolType: z.string().nullish(),\n startSymbolSize: z.number().nullish(),\n })\n .partial()\n\nexport const zAnnotationVerticalLineConfig = zAnnotationHorizontalLineConfig.clone()\n\nexport const zAnnotationAreaConfig = zAnnotationArea\n .pick({\n textColor: true,\n textFontSize: true,\n textFontWeight: true,\n\n textBackgroundVisible: true,\n textBackgroundColor: true,\n textBackgroundBorderColor: true,\n textBackgroundBorderWidth: true,\n textBackgroundBorderRadius: true,\n textBackgroundPadding: true,\n\n areaColor: true,\n areaColorOpacity: true,\n areaBorderColor: true,\n areaBorderWidth: true,\n areaBorderRadius: true,\n areaLineDash: true,\n\n outerPadding: true,\n })\n .partial()\n\nexport const zAnnotationDifferenceLineConfig = zAnnotationDifferenceLine\n .pick({\n lineColor: true,\n textColor: true,\n textFontSize: true,\n textBackgroundColor: true,\n })\n .partial()\n\nexport const zAnnotationConfig = z.object({\n annotationPoint: zAnnotationPointConfig.nullish(),\n annotationHorizontalLine: zAnnotationHorizontalLineConfig.nullish(),\n annotationVerticalLine: zAnnotationVerticalLineConfig.nullish(),\n annotationArea: zAnnotationAreaConfig.nullish(),\n annotationDifferenceLine: zAnnotationDifferenceLineConfig.nullish(),\n})\n"],"names":["zAnnotationPointConfig","zAnnotationPoint","zAnnotationHorizontalLineConfig","zAnnotationHorizontalLine","z","zAnnotationVerticalLineConfig","zAnnotationAreaConfig","zAnnotationArea","zAnnotationDifferenceLineConfig","zAnnotationDifferenceLine","zAnnotationConfig"],"mappings":";;;;;AAMO,MAAMA,yBAAyBC,iBAAiB,IAAI,CAAC;IAAE,UAAU;IAAM,MAAM;AAAK,GAAG,OAAO;AAG5F,MAAMC,kCAAkCC,0BAAAA,IACxC,CAAC;IAEJ,WAAW;IACX,WAAW;IACX,aAAa;IACb,WAAW;IAEX,uBAAuB;IACvB,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;AACzB,GAEC,MAAM,CAAC;IACN,kBAAkBC,EAAE,OAAO,GAAG,OAAO;IACrC,eAAeA,EAAE,MAAM,GAAG,OAAO;IACjC,eAAeA,EAAE,MAAM,GAAG,OAAO;IAEjC,oBAAoBA,EAAE,OAAO,GAAG,OAAO;IACvC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;IACnC,iBAAiBA,EAAE,MAAM,GAAG,OAAO;AACrC,GACC,OAAO;AAEH,MAAMC,gCAAgCH,gCAAgC,KAAK;AAE3E,MAAMI,wBAAwBC,gBAAAA,IAC9B,CAAC;IACJ,WAAW;IACX,cAAc;IACd,gBAAgB;IAEhB,uBAAuB;IACvB,qBAAqB;IACrB,2BAA2B;IAC3B,2BAA2B;IAC3B,4BAA4B;IAC5B,uBAAuB;IAEvB,WAAW;IACX,kBAAkB;IAClB,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,cAAc;IAEd,cAAc;AAChB,GACC,OAAO;AAEH,MAAMC,kCAAkCC,0BAAAA,IACxC,CAAC;IACJ,WAAW;IACX,WAAW;IACX,cAAc;IACd,qBAAqB;AACvB,GACC,OAAO;AAEH,MAAMC,oBAAoBN,EAAE,MAAM,CAAC;IACxC,iBAAiBJ,uBAAuB,OAAO;IAC/C,0BAA0BE,gCAAgC,OAAO;IACjE,wBAAwBG,8BAA8B,OAAO;IAC7D,gBAAgBC,sBAAsB,OAAO;IAC7C,0BAA0BE,gCAAgC,OAAO;AACnE"}
|
|
@@ -279,6 +279,12 @@ export declare const zAreaConfig: z.ZodObject<{
|
|
|
279
279
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
280
280
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
281
281
|
}, z.core.$strip>>>;
|
|
282
|
+
regionPadding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
283
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
284
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
285
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
286
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
287
|
+
}, z.core.$strip>]>>>;
|
|
282
288
|
xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
289
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
284
290
|
labelAutoHide: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
@@ -595,6 +601,12 @@ export declare const zAreaConfig: z.ZodObject<{
|
|
|
595
601
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
596
602
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
597
603
|
}, z.core.$strip>>>;
|
|
604
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
605
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
606
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
607
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
608
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
609
|
+
}, z.core.$strip>>>;
|
|
598
610
|
}, z.core.$strip>>>;
|
|
599
611
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
600
612
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -895,6 +907,12 @@ export declare const zAreaPercentConfig: z.ZodObject<{
|
|
|
895
907
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
896
908
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
897
909
|
}, z.core.$strip>>>;
|
|
910
|
+
regionPadding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
911
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
912
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
913
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
914
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
915
|
+
}, z.core.$strip>]>>>;
|
|
898
916
|
xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
899
917
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
900
918
|
labelAutoHide: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
@@ -1211,6 +1229,12 @@ export declare const zAreaPercentConfig: z.ZodObject<{
|
|
|
1211
1229
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
1212
1230
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
1213
1231
|
}, z.core.$strip>>>;
|
|
1232
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1233
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1234
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1235
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1236
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1237
|
+
}, z.core.$strip>>>;
|
|
1214
1238
|
}, z.core.$strip>>>;
|
|
1215
1239
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1216
1240
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -9,6 +9,7 @@ import { zTooltip } from "./tooltip/tooltip.js";
|
|
|
9
9
|
import { zAnnotationConfig } from "./annotation/zAnnotation.js";
|
|
10
10
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
11
11
|
import { zDimensionLinkage } from "./dimensionLinkage/dimensionLinkage.js";
|
|
12
|
+
import { zRegionPadding } from "../regionPadding/index.js";
|
|
12
13
|
import { zBrushConfig } from "../brush/zBrush.js";
|
|
13
14
|
const zAreaConfig = z.object({
|
|
14
15
|
backgroundColor: zBackgroundColor.nullish(),
|
|
@@ -16,6 +17,7 @@ const zAreaConfig = z.object({
|
|
|
16
17
|
color: zColor.nullish(),
|
|
17
18
|
tooltip: zTooltip.nullish(),
|
|
18
19
|
legend: zLegend.nullish(),
|
|
20
|
+
regionPadding: zRegionPadding.nullish(),
|
|
19
21
|
xAxis: zXBandAxis.nullish(),
|
|
20
22
|
yAxis: zYLinearAxis.nullish(),
|
|
21
23
|
crosshairLine: zCrosshairLine.nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/area.js","sources":["../../../../../src/types/properties/config/area.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotation'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\n\nimport { zBrushConfig } from '../brush/zBrush'\n\nexport const zAreaConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n\n brush: zBrushConfig.nullish(),\n})\nexport const zAreaPercentConfig = zAreaConfig\n\nexport type AreaConfig = z.infer<typeof zAreaConfig>\nexport type AreaPercentConfig = z.infer<typeof zAreaPercentConfig>\n"],"names":["zAreaConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage","zBrushConfig","zAreaPercentConfig"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/area.js","sources":["../../../../../src/types/properties/config/area.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotation'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\nimport { zRegionPadding } from '../regionPadding'\n\nimport { zBrushConfig } from '../brush/zBrush'\n\nexport const zAreaConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n regionPadding: zRegionPadding.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n\n brush: zBrushConfig.nullish(),\n})\nexport const zAreaPercentConfig = zAreaConfig\n\nexport type AreaConfig = z.infer<typeof zAreaConfig>\nexport type AreaPercentConfig = z.infer<typeof zAreaPercentConfig>\n"],"names":["zAreaConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zRegionPadding","zXBandAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage","zBrushConfig","zAreaPercentConfig"],"mappings":";;;;;;;;;;;;;AAeO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IACvB,eAAeC,eAAe,OAAO;IAErC,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IAErC,kBAAkBC,kBAAkB,OAAO;IAE3C,OAAOC,aAAa,OAAO;AAC7B;AACO,MAAMC,qBAAqBf"}
|
|
@@ -279,6 +279,12 @@ export declare const zBarConfig: z.ZodObject<{
|
|
|
279
279
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
280
280
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
281
281
|
}, z.core.$strip>>>;
|
|
282
|
+
regionPadding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
283
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
284
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
285
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
286
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
287
|
+
}, z.core.$strip>]>>>;
|
|
282
288
|
xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
283
289
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
284
290
|
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -595,6 +601,12 @@ export declare const zBarConfig: z.ZodObject<{
|
|
|
595
601
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
596
602
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
597
603
|
}, z.core.$strip>>>;
|
|
604
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
605
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
606
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
607
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
608
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
609
|
+
}, z.core.$strip>>>;
|
|
598
610
|
}, z.core.$strip>>>;
|
|
599
611
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
600
612
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -895,6 +907,12 @@ export declare const zBarParallelConfig: z.ZodObject<{
|
|
|
895
907
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
896
908
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
897
909
|
}, z.core.$strip>>>;
|
|
910
|
+
regionPadding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
911
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
912
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
913
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
914
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
915
|
+
}, z.core.$strip>]>>>;
|
|
898
916
|
xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
899
917
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
900
918
|
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1211,6 +1229,12 @@ export declare const zBarParallelConfig: z.ZodObject<{
|
|
|
1211
1229
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
1212
1230
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
1213
1231
|
}, z.core.$strip>>>;
|
|
1232
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1233
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1234
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1235
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1236
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1237
|
+
}, z.core.$strip>>>;
|
|
1214
1238
|
}, z.core.$strip>>>;
|
|
1215
1239
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1216
1240
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1511,6 +1535,12 @@ export declare const zBarPercentConfig: z.ZodObject<{
|
|
|
1511
1535
|
labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
|
|
1512
1536
|
labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
|
|
1513
1537
|
}, z.core.$strip>>>;
|
|
1538
|
+
regionPadding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1539
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1540
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1541
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1542
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1543
|
+
}, z.core.$strip>]>>>;
|
|
1514
1544
|
xAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1515
1545
|
visible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
1516
1546
|
min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1827,6 +1857,12 @@ export declare const zBarPercentConfig: z.ZodObject<{
|
|
|
1827
1857
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
1828
1858
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
1829
1859
|
}, z.core.$strip>>>;
|
|
1860
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1861
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1862
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1863
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1864
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1865
|
+
}, z.core.$strip>>>;
|
|
1830
1866
|
}, z.core.$strip>>>;
|
|
1831
1867
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1832
1868
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -10,6 +10,7 @@ import { zTooltip } from "./tooltip/tooltip.js";
|
|
|
10
10
|
import { zAnnotationConfig } from "./annotation/zAnnotation.js";
|
|
11
11
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
12
12
|
import { zDimensionLinkage } from "./dimensionLinkage/dimensionLinkage.js";
|
|
13
|
+
import { zRegionPadding } from "../regionPadding/index.js";
|
|
13
14
|
import { zBrushConfig } from "../brush/zBrush.js";
|
|
14
15
|
const zBarConfig = z.object({
|
|
15
16
|
backgroundColor: zBackgroundColor.nullish(),
|
|
@@ -17,6 +18,7 @@ const zBarConfig = z.object({
|
|
|
17
18
|
color: zColor.nullish(),
|
|
18
19
|
tooltip: zTooltip.nullish(),
|
|
19
20
|
legend: zLegend.nullish(),
|
|
21
|
+
regionPadding: zRegionPadding.nullish(),
|
|
20
22
|
xAxis: zXLinearAxis.nullish(),
|
|
21
23
|
yAxis: zYBandAxis.nullish(),
|
|
22
24
|
crosshairRect: zCrosshairRect.nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/bar.js","sources":["../../../../../src/types/properties/config/bar.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zYBandAxis, zXLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotation'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\n\nimport { zBrushConfig } from '../brush/zBrush'\n\nexport const zBarConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n\n brush: zBrushConfig.nullish(),\n})\nexport const zBarParallelConfig = zBarConfig\nexport const zBarPercentConfig = zBarConfig\n\nexport type BarConfig = z.infer<typeof zBarConfig>\nexport type BarParallelConfig = z.infer<typeof zBarParallelConfig>\nexport type BarPercentConfig = z.infer<typeof zBarPercentConfig>\n"],"names":["zBarConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage","zBrushConfig","zBarParallelConfig","zBarPercentConfig"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/bar.js","sources":["../../../../../src/types/properties/config/bar.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zYBandAxis, zXLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotation'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\nimport { zRegionPadding } from '../regionPadding'\n\nimport { zBrushConfig } from '../brush/zBrush'\n\nexport const zBarConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n regionPadding: zRegionPadding.nullish(),\n\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n\n brush: zBrushConfig.nullish(),\n})\nexport const zBarParallelConfig = zBarConfig\nexport const zBarPercentConfig = zBarConfig\n\nexport type BarConfig = z.infer<typeof zBarConfig>\nexport type BarParallelConfig = z.infer<typeof zBarParallelConfig>\nexport type BarPercentConfig = z.infer<typeof zBarPercentConfig>\n"],"names":["zBarConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zRegionPadding","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage","zBrushConfig","zBarParallelConfig","zBarPercentConfig"],"mappings":";;;;;;;;;;;;;;AAgBO,MAAMA,aAAaC,EAAE,MAAM,CAAC;IACjC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IACvB,eAAeC,eAAe,OAAO;IAErC,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IAErC,kBAAkBC,kBAAkB,OAAO;IAE3C,OAAOC,aAAa,OAAO;AAC7B;AACO,MAAMC,qBAAqBhB;AAC3B,MAAMiB,oBAAoBjB"}
|
|
@@ -594,6 +594,12 @@ export declare const zBoxplotConfig: z.ZodObject<{
|
|
|
594
594
|
areaLineDash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>>;
|
|
595
595
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
596
596
|
}, z.core.$strip>>>;
|
|
597
|
+
annotationDifferenceLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
598
|
+
lineColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
599
|
+
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
600
|
+
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
601
|
+
textBackgroundColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
602
|
+
}, z.core.$strip>>>;
|
|
597
603
|
}, z.core.$strip>>>;
|
|
598
604
|
whiskers: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
|
|
599
605
|
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|