@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
@@ -59,6 +59,19 @@ export declare const zScatter: 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
|
scatterMeasures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
64
77
|
id: z.ZodString;
|
@@ -96,6 +109,19 @@ export declare const zScatter: z.ZodObject<{
|
|
96
109
|
halfEven: "halfEven";
|
97
110
|
}>>>;
|
98
111
|
}, z.core.$strip>>>;
|
112
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
113
|
+
primaryYAxis: "primaryYAxis";
|
114
|
+
secondaryYAxis: "secondaryYAxis";
|
115
|
+
xAxis: "xAxis";
|
116
|
+
yAxis: "yAxis";
|
117
|
+
angle: "angle";
|
118
|
+
radius: "radius";
|
119
|
+
size: "size";
|
120
|
+
color: "color";
|
121
|
+
label: "label";
|
122
|
+
tooltip: "tooltip";
|
123
|
+
}>>;
|
124
|
+
parentId: z.ZodOptional<z.ZodString>;
|
99
125
|
}, z.core.$strip>>, z.ZodObject<{
|
100
126
|
id: z.ZodString;
|
101
127
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -130,6 +156,19 @@ export declare const zScatter: z.ZodObject<{
|
|
130
156
|
halfEven: "halfEven";
|
131
157
|
}>>>;
|
132
158
|
}, z.core.$strip>>>;
|
159
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
160
|
+
primaryYAxis: "primaryYAxis";
|
161
|
+
secondaryYAxis: "secondaryYAxis";
|
162
|
+
xAxis: "xAxis";
|
163
|
+
yAxis: "yAxis";
|
164
|
+
angle: "angle";
|
165
|
+
radius: "radius";
|
166
|
+
size: "size";
|
167
|
+
color: "color";
|
168
|
+
label: "label";
|
169
|
+
tooltip: "tooltip";
|
170
|
+
}>>;
|
171
|
+
parentId: z.ZodOptional<z.ZodString>;
|
133
172
|
}, z.core.$strip>]>>;
|
134
173
|
yMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
135
174
|
id: z.ZodString;
|
@@ -165,6 +204,19 @@ export declare const zScatter: z.ZodObject<{
|
|
165
204
|
halfEven: "halfEven";
|
166
205
|
}>>>;
|
167
206
|
}, z.core.$strip>>>;
|
207
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
208
|
+
primaryYAxis: "primaryYAxis";
|
209
|
+
secondaryYAxis: "secondaryYAxis";
|
210
|
+
xAxis: "xAxis";
|
211
|
+
yAxis: "yAxis";
|
212
|
+
angle: "angle";
|
213
|
+
radius: "radius";
|
214
|
+
size: "size";
|
215
|
+
color: "color";
|
216
|
+
label: "label";
|
217
|
+
tooltip: "tooltip";
|
218
|
+
}>>;
|
219
|
+
parentId: z.ZodOptional<z.ZodString>;
|
168
220
|
}, z.core.$strip>>, z.ZodObject<{
|
169
221
|
id: z.ZodString;
|
170
222
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -199,6 +251,19 @@ export declare const zScatter: z.ZodObject<{
|
|
199
251
|
halfEven: "halfEven";
|
200
252
|
}>>>;
|
201
253
|
}, z.core.$strip>>>;
|
254
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
255
|
+
primaryYAxis: "primaryYAxis";
|
256
|
+
secondaryYAxis: "secondaryYAxis";
|
257
|
+
xAxis: "xAxis";
|
258
|
+
yAxis: "yAxis";
|
259
|
+
angle: "angle";
|
260
|
+
radius: "radius";
|
261
|
+
size: "size";
|
262
|
+
color: "color";
|
263
|
+
label: "label";
|
264
|
+
tooltip: "tooltip";
|
265
|
+
}>>;
|
266
|
+
parentId: z.ZodOptional<z.ZodString>;
|
202
267
|
}, z.core.$strip>]>>;
|
203
268
|
}, z.core.$strip>>>>;
|
204
269
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
@@ -45,6 +45,19 @@ export declare const zTable: 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>>;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export type {
|
2
|
-
export { zEncoding
|
1
|
+
export type { Encoding } from './encoding';
|
2
|
+
export { zEncoding } from './zEncoding';
|
@@ -13,17 +13,3 @@ export declare const zEncoding: z.ZodObject<{
|
|
13
13
|
column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
14
14
|
group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
15
15
|
}, z.core.$strip>;
|
16
|
-
export declare const zEncodings: z.ZodArray<z.ZodObject<{
|
17
|
-
x: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
18
|
-
y: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
19
|
-
angle: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
20
|
-
radius: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
21
|
-
detail: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
22
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
23
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
24
|
-
tooltip: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
25
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
26
|
-
row: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
27
|
-
column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
28
|
-
group: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
29
|
-
}, z.core.$strip>>;
|
@@ -26,6 +26,25 @@ export type Measure = {
|
|
26
26
|
* @description 指标的数值格式化, 会自动应用于label、tooltip
|
27
27
|
*/
|
28
28
|
format?: NumFormat;
|
29
|
+
/**
|
30
|
+
* @description 指标映射的通道
|
31
|
+
* - primaryYAxis: 指标映射的主y轴, 仅用于双轴图
|
32
|
+
* - secondaryYAxis: 指标映射的次y轴, 仅用于双轴图
|
33
|
+
* - xAxis: 指标映射的x轴, 适用于条形图、散点图
|
34
|
+
* - yAxis: 指标映射的y轴, 适用于柱状图、折线图、面积图、散点图
|
35
|
+
* - angle: 指标映射的角度, 适用于饼图、环形图、雷达图
|
36
|
+
* - radius: 指标映射的半径, 适用于玫瑰图
|
37
|
+
* - size: 指标映射的大小, 适用于漏斗图、散点图
|
38
|
+
* - color: 指标映射的颜色, 适用于所有图表
|
39
|
+
* - label: 指标映射的标签, 适用于所有图表
|
40
|
+
* - tooltip: 指标映射的提示, 适用于所有图表
|
41
|
+
*/
|
42
|
+
encoding?: 'primaryYAxis' | 'secondaryYAxis' | 'xAxis' | 'yAxis' | 'angle' | 'radius' | 'size' | 'color' | 'label' | 'tooltip';
|
43
|
+
/**
|
44
|
+
* @description 以扁平的指标配置形式, 构建树形指标组, parentId指向父级指标组的id, 用于构建指标树
|
45
|
+
* @tip 指标树的配置存在两种形式, 方式一是直接配置带children的指标树, 方式二是配置parentId的扁平指标列表, 两种方式不能同时配置
|
46
|
+
*/
|
47
|
+
parentId?: string;
|
29
48
|
};
|
30
49
|
export type MeasureGroup = {
|
31
50
|
/**
|
@@ -35,6 +35,19 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
35
35
|
halfEven: "halfEven";
|
36
36
|
}>>>;
|
37
37
|
}, z.core.$strip>>>;
|
38
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
39
|
+
primaryYAxis: "primaryYAxis";
|
40
|
+
secondaryYAxis: "secondaryYAxis";
|
41
|
+
xAxis: "xAxis";
|
42
|
+
yAxis: "yAxis";
|
43
|
+
angle: "angle";
|
44
|
+
radius: "radius";
|
45
|
+
size: "size";
|
46
|
+
color: "color";
|
47
|
+
label: "label";
|
48
|
+
tooltip: "tooltip";
|
49
|
+
}>>;
|
50
|
+
parentId: z.ZodOptional<z.ZodString>;
|
38
51
|
}, z.core.$strip>>, z.ZodObject<{
|
39
52
|
id: z.ZodString;
|
40
53
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -69,6 +82,19 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
69
82
|
halfEven: "halfEven";
|
70
83
|
}>>>;
|
71
84
|
}, z.core.$strip>>>;
|
85
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
86
|
+
primaryYAxis: "primaryYAxis";
|
87
|
+
secondaryYAxis: "secondaryYAxis";
|
88
|
+
xAxis: "xAxis";
|
89
|
+
yAxis: "yAxis";
|
90
|
+
angle: "angle";
|
91
|
+
radius: "radius";
|
92
|
+
size: "size";
|
93
|
+
color: "color";
|
94
|
+
label: "label";
|
95
|
+
tooltip: "tooltip";
|
96
|
+
}>>;
|
97
|
+
parentId: z.ZodOptional<z.ZodString>;
|
72
98
|
}, z.core.$strip>]>>;
|
73
99
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
74
100
|
id: z.ZodString;
|
@@ -104,6 +130,19 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
104
130
|
halfEven: "halfEven";
|
105
131
|
}>>>;
|
106
132
|
}, z.core.$strip>>>;
|
133
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
134
|
+
primaryYAxis: "primaryYAxis";
|
135
|
+
secondaryYAxis: "secondaryYAxis";
|
136
|
+
xAxis: "xAxis";
|
137
|
+
yAxis: "yAxis";
|
138
|
+
angle: "angle";
|
139
|
+
radius: "radius";
|
140
|
+
size: "size";
|
141
|
+
color: "color";
|
142
|
+
label: "label";
|
143
|
+
tooltip: "tooltip";
|
144
|
+
}>>;
|
145
|
+
parentId: z.ZodOptional<z.ZodString>;
|
107
146
|
}, z.core.$strip>>, z.ZodObject<{
|
108
147
|
id: z.ZodString;
|
109
148
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -138,6 +177,19 @@ export declare const zDualMeasure: z.ZodObject<{
|
|
138
177
|
halfEven: "halfEven";
|
139
178
|
}>>>;
|
140
179
|
}, z.core.$strip>>>;
|
180
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
181
|
+
primaryYAxis: "primaryYAxis";
|
182
|
+
secondaryYAxis: "secondaryYAxis";
|
183
|
+
xAxis: "xAxis";
|
184
|
+
yAxis: "yAxis";
|
185
|
+
angle: "angle";
|
186
|
+
radius: "radius";
|
187
|
+
size: "size";
|
188
|
+
color: "color";
|
189
|
+
label: "label";
|
190
|
+
tooltip: "tooltip";
|
191
|
+
}>>;
|
192
|
+
parentId: z.ZodOptional<z.ZodString>;
|
141
193
|
}, z.core.$strip>]>>;
|
142
194
|
}, z.core.$strip>;
|
143
195
|
export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
@@ -176,6 +228,19 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
176
228
|
halfEven: "halfEven";
|
177
229
|
}>>>;
|
178
230
|
}, z.core.$strip>>>;
|
231
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
232
|
+
primaryYAxis: "primaryYAxis";
|
233
|
+
secondaryYAxis: "secondaryYAxis";
|
234
|
+
xAxis: "xAxis";
|
235
|
+
yAxis: "yAxis";
|
236
|
+
angle: "angle";
|
237
|
+
radius: "radius";
|
238
|
+
size: "size";
|
239
|
+
color: "color";
|
240
|
+
label: "label";
|
241
|
+
tooltip: "tooltip";
|
242
|
+
}>>;
|
243
|
+
parentId: z.ZodOptional<z.ZodString>;
|
179
244
|
}, z.core.$strip>>, z.ZodObject<{
|
180
245
|
id: z.ZodString;
|
181
246
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -210,6 +275,19 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
210
275
|
halfEven: "halfEven";
|
211
276
|
}>>>;
|
212
277
|
}, z.core.$strip>>>;
|
278
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
279
|
+
primaryYAxis: "primaryYAxis";
|
280
|
+
secondaryYAxis: "secondaryYAxis";
|
281
|
+
xAxis: "xAxis";
|
282
|
+
yAxis: "yAxis";
|
283
|
+
angle: "angle";
|
284
|
+
radius: "radius";
|
285
|
+
size: "size";
|
286
|
+
color: "color";
|
287
|
+
label: "label";
|
288
|
+
tooltip: "tooltip";
|
289
|
+
}>>;
|
290
|
+
parentId: z.ZodOptional<z.ZodString>;
|
213
291
|
}, z.core.$strip>]>>;
|
214
292
|
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
215
293
|
id: z.ZodString;
|
@@ -245,6 +323,19 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
245
323
|
halfEven: "halfEven";
|
246
324
|
}>>>;
|
247
325
|
}, z.core.$strip>>>;
|
326
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
327
|
+
primaryYAxis: "primaryYAxis";
|
328
|
+
secondaryYAxis: "secondaryYAxis";
|
329
|
+
xAxis: "xAxis";
|
330
|
+
yAxis: "yAxis";
|
331
|
+
angle: "angle";
|
332
|
+
radius: "radius";
|
333
|
+
size: "size";
|
334
|
+
color: "color";
|
335
|
+
label: "label";
|
336
|
+
tooltip: "tooltip";
|
337
|
+
}>>;
|
338
|
+
parentId: z.ZodOptional<z.ZodString>;
|
248
339
|
}, z.core.$strip>>, z.ZodObject<{
|
249
340
|
id: z.ZodString;
|
250
341
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -279,5 +370,18 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
|
279
370
|
halfEven: "halfEven";
|
280
371
|
}>>>;
|
281
372
|
}, z.core.$strip>>>;
|
373
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
374
|
+
primaryYAxis: "primaryYAxis";
|
375
|
+
secondaryYAxis: "secondaryYAxis";
|
376
|
+
xAxis: "xAxis";
|
377
|
+
yAxis: "yAxis";
|
378
|
+
angle: "angle";
|
379
|
+
radius: "radius";
|
380
|
+
size: "size";
|
381
|
+
color: "color";
|
382
|
+
label: "label";
|
383
|
+
tooltip: "tooltip";
|
384
|
+
}>>;
|
385
|
+
parentId: z.ZodOptional<z.ZodString>;
|
282
386
|
}, z.core.$strip>]>>;
|
283
387
|
}, z.core.$strip>>;
|
@@ -34,6 +34,19 @@ export declare const zMeasure: z.ZodObject<{
|
|
34
34
|
halfEven: "halfEven";
|
35
35
|
}>>>;
|
36
36
|
}, z.core.$strip>>>;
|
37
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
38
|
+
primaryYAxis: "primaryYAxis";
|
39
|
+
secondaryYAxis: "secondaryYAxis";
|
40
|
+
xAxis: "xAxis";
|
41
|
+
yAxis: "yAxis";
|
42
|
+
angle: "angle";
|
43
|
+
radius: "radius";
|
44
|
+
size: "size";
|
45
|
+
color: "color";
|
46
|
+
label: "label";
|
47
|
+
tooltip: "tooltip";
|
48
|
+
}>>;
|
49
|
+
parentId: z.ZodOptional<z.ZodString>;
|
37
50
|
}, z.core.$strip>;
|
38
51
|
export declare const zMeasureGroup: z.ZodType<MeasureGroup>;
|
39
52
|
export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
@@ -70,6 +83,19 @@ export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
|
70
83
|
halfEven: "halfEven";
|
71
84
|
}>>>;
|
72
85
|
}, z.core.$strip>>>;
|
86
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
87
|
+
primaryYAxis: "primaryYAxis";
|
88
|
+
secondaryYAxis: "secondaryYAxis";
|
89
|
+
xAxis: "xAxis";
|
90
|
+
yAxis: "yAxis";
|
91
|
+
angle: "angle";
|
92
|
+
radius: "radius";
|
93
|
+
size: "size";
|
94
|
+
color: "color";
|
95
|
+
label: "label";
|
96
|
+
tooltip: "tooltip";
|
97
|
+
}>>;
|
98
|
+
parentId: z.ZodOptional<z.ZodString>;
|
73
99
|
}, z.core.$strip>>;
|
74
100
|
export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup, unknown, z.core.$ZodTypeInternals<MeasureGroup, unknown>>, z.ZodObject<{
|
75
101
|
id: z.ZodString;
|
@@ -105,4 +131,17 @@ export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup
|
|
105
131
|
halfEven: "halfEven";
|
106
132
|
}>>>;
|
107
133
|
}, z.core.$strip>>>;
|
134
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
135
|
+
primaryYAxis: "primaryYAxis";
|
136
|
+
secondaryYAxis: "secondaryYAxis";
|
137
|
+
xAxis: "xAxis";
|
138
|
+
yAxis: "yAxis";
|
139
|
+
angle: "angle";
|
140
|
+
radius: "radius";
|
141
|
+
size: "size";
|
142
|
+
color: "color";
|
143
|
+
label: "label";
|
144
|
+
tooltip: "tooltip";
|
145
|
+
}>>;
|
146
|
+
parentId: z.ZodOptional<z.ZodString>;
|
108
147
|
}, z.core.$strip>]>>;
|
@@ -35,6 +35,19 @@ export declare const zScatterMeasure: z.ZodObject<{
|
|
35
35
|
halfEven: "halfEven";
|
36
36
|
}>>>;
|
37
37
|
}, z.core.$strip>>>;
|
38
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
39
|
+
primaryYAxis: "primaryYAxis";
|
40
|
+
secondaryYAxis: "secondaryYAxis";
|
41
|
+
xAxis: "xAxis";
|
42
|
+
yAxis: "yAxis";
|
43
|
+
angle: "angle";
|
44
|
+
radius: "radius";
|
45
|
+
size: "size";
|
46
|
+
color: "color";
|
47
|
+
label: "label";
|
48
|
+
tooltip: "tooltip";
|
49
|
+
}>>;
|
50
|
+
parentId: z.ZodOptional<z.ZodString>;
|
38
51
|
}, z.core.$strip>>, z.ZodObject<{
|
39
52
|
id: z.ZodString;
|
40
53
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -69,6 +82,19 @@ export declare const zScatterMeasure: z.ZodObject<{
|
|
69
82
|
halfEven: "halfEven";
|
70
83
|
}>>>;
|
71
84
|
}, z.core.$strip>>>;
|
85
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
86
|
+
primaryYAxis: "primaryYAxis";
|
87
|
+
secondaryYAxis: "secondaryYAxis";
|
88
|
+
xAxis: "xAxis";
|
89
|
+
yAxis: "yAxis";
|
90
|
+
angle: "angle";
|
91
|
+
radius: "radius";
|
92
|
+
size: "size";
|
93
|
+
color: "color";
|
94
|
+
label: "label";
|
95
|
+
tooltip: "tooltip";
|
96
|
+
}>>;
|
97
|
+
parentId: z.ZodOptional<z.ZodString>;
|
72
98
|
}, z.core.$strip>]>>;
|
73
99
|
yMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
74
100
|
id: z.ZodString;
|
@@ -104,6 +130,19 @@ export declare const zScatterMeasure: z.ZodObject<{
|
|
104
130
|
halfEven: "halfEven";
|
105
131
|
}>>>;
|
106
132
|
}, z.core.$strip>>>;
|
133
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
134
|
+
primaryYAxis: "primaryYAxis";
|
135
|
+
secondaryYAxis: "secondaryYAxis";
|
136
|
+
xAxis: "xAxis";
|
137
|
+
yAxis: "yAxis";
|
138
|
+
angle: "angle";
|
139
|
+
radius: "radius";
|
140
|
+
size: "size";
|
141
|
+
color: "color";
|
142
|
+
label: "label";
|
143
|
+
tooltip: "tooltip";
|
144
|
+
}>>;
|
145
|
+
parentId: z.ZodOptional<z.ZodString>;
|
107
146
|
}, z.core.$strip>>, z.ZodObject<{
|
108
147
|
id: z.ZodString;
|
109
148
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -138,6 +177,19 @@ export declare const zScatterMeasure: z.ZodObject<{
|
|
138
177
|
halfEven: "halfEven";
|
139
178
|
}>>>;
|
140
179
|
}, z.core.$strip>>>;
|
180
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
181
|
+
primaryYAxis: "primaryYAxis";
|
182
|
+
secondaryYAxis: "secondaryYAxis";
|
183
|
+
xAxis: "xAxis";
|
184
|
+
yAxis: "yAxis";
|
185
|
+
angle: "angle";
|
186
|
+
radius: "radius";
|
187
|
+
size: "size";
|
188
|
+
color: "color";
|
189
|
+
label: "label";
|
190
|
+
tooltip: "tooltip";
|
191
|
+
}>>;
|
192
|
+
parentId: z.ZodOptional<z.ZodString>;
|
141
193
|
}, z.core.$strip>]>>;
|
142
194
|
}, z.core.$strip>;
|
143
195
|
export declare const zScatterMeasures: z.ZodArray<z.ZodObject<{
|
@@ -176,6 +228,19 @@ export declare const zScatterMeasures: z.ZodArray<z.ZodObject<{
|
|
176
228
|
halfEven: "halfEven";
|
177
229
|
}>>>;
|
178
230
|
}, z.core.$strip>>>;
|
231
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
232
|
+
primaryYAxis: "primaryYAxis";
|
233
|
+
secondaryYAxis: "secondaryYAxis";
|
234
|
+
xAxis: "xAxis";
|
235
|
+
yAxis: "yAxis";
|
236
|
+
angle: "angle";
|
237
|
+
radius: "radius";
|
238
|
+
size: "size";
|
239
|
+
color: "color";
|
240
|
+
label: "label";
|
241
|
+
tooltip: "tooltip";
|
242
|
+
}>>;
|
243
|
+
parentId: z.ZodOptional<z.ZodString>;
|
179
244
|
}, z.core.$strip>>, z.ZodObject<{
|
180
245
|
id: z.ZodString;
|
181
246
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -210,6 +275,19 @@ export declare const zScatterMeasures: z.ZodArray<z.ZodObject<{
|
|
210
275
|
halfEven: "halfEven";
|
211
276
|
}>>>;
|
212
277
|
}, z.core.$strip>>>;
|
278
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
279
|
+
primaryYAxis: "primaryYAxis";
|
280
|
+
secondaryYAxis: "secondaryYAxis";
|
281
|
+
xAxis: "xAxis";
|
282
|
+
yAxis: "yAxis";
|
283
|
+
angle: "angle";
|
284
|
+
radius: "radius";
|
285
|
+
size: "size";
|
286
|
+
color: "color";
|
287
|
+
label: "label";
|
288
|
+
tooltip: "tooltip";
|
289
|
+
}>>;
|
290
|
+
parentId: z.ZodOptional<z.ZodString>;
|
213
291
|
}, z.core.$strip>]>>;
|
214
292
|
yMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
215
293
|
id: z.ZodString;
|
@@ -245,6 +323,19 @@ export declare const zScatterMeasures: z.ZodArray<z.ZodObject<{
|
|
245
323
|
halfEven: "halfEven";
|
246
324
|
}>>>;
|
247
325
|
}, z.core.$strip>>>;
|
326
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
327
|
+
primaryYAxis: "primaryYAxis";
|
328
|
+
secondaryYAxis: "secondaryYAxis";
|
329
|
+
xAxis: "xAxis";
|
330
|
+
yAxis: "yAxis";
|
331
|
+
angle: "angle";
|
332
|
+
radius: "radius";
|
333
|
+
size: "size";
|
334
|
+
color: "color";
|
335
|
+
label: "label";
|
336
|
+
tooltip: "tooltip";
|
337
|
+
}>>;
|
338
|
+
parentId: z.ZodOptional<z.ZodString>;
|
248
339
|
}, z.core.$strip>>, z.ZodObject<{
|
249
340
|
id: z.ZodString;
|
250
341
|
alias: z.ZodOptional<z.ZodString>;
|
@@ -279,5 +370,18 @@ export declare const zScatterMeasures: z.ZodArray<z.ZodObject<{
|
|
279
370
|
halfEven: "halfEven";
|
280
371
|
}>>>;
|
281
372
|
}, z.core.$strip>>>;
|
373
|
+
encoding: z.ZodOptional<z.ZodEnum<{
|
374
|
+
primaryYAxis: "primaryYAxis";
|
375
|
+
secondaryYAxis: "secondaryYAxis";
|
376
|
+
xAxis: "xAxis";
|
377
|
+
yAxis: "yAxis";
|
378
|
+
angle: "angle";
|
379
|
+
radius: "radius";
|
380
|
+
size: "size";
|
381
|
+
color: "color";
|
382
|
+
label: "label";
|
383
|
+
tooltip: "tooltip";
|
384
|
+
}>>;
|
385
|
+
parentId: z.ZodOptional<z.ZodString>;
|
282
386
|
}, z.core.$strip>]>>;
|
283
387
|
}, z.core.$strip>>;
|