@visactor/vseed 0.0.9 → 0.0.11
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 +1035 -36
- package/dist/index.cjs +923 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +905 -63
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/annotation/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipes/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/annotation/annotationArea.d.ts +2 -0
- package/dist/pipeline/spec/pipes/annotation/annotationAreaBand.d.ts +2 -0
- package/dist/pipeline/spec/pipes/annotation/annotationHorizontalLine.d.ts +2 -0
- package/dist/pipeline/spec/pipes/annotation/annotationPoint.d.ts +2 -0
- package/dist/pipeline/spec/pipes/annotation/annotationVerticalLine.d.ts +2 -0
- package/dist/pipeline/spec/pipes/annotation/index.d.ts +5 -0
- package/dist/pipeline/spec/pipes/annotation/utils.d.ts +2 -0
- package/dist/pipeline/spec/pipes/index.d.ts +1 -0
- package/dist/types/advancedVSeed.d.ts +886 -12
- package/dist/types/builder/builder.d.ts +3 -0
- package/dist/types/chartType/area/area.d.ts +21 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +21 -1
- package/dist/types/chartType/bar/bar.d.ts +21 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts +21 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts +21 -1
- package/dist/types/chartType/column/column.d.ts +21 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +21 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +21 -1
- package/dist/types/chartType/line/line.d.ts +21 -1
- package/dist/types/dataSelector/selector.d.ts +60 -6
- package/dist/types/properties/annotation/annotation.d.ts +824 -0
- package/dist/types/properties/annotation/annotationArea.d.ts +248 -0
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +253 -0
- package/dist/types/properties/annotation/annotationPoint.d.ts +199 -0
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts +253 -0
- package/dist/types/properties/annotation/index.d.ts +5 -0
- package/dist/types/properties/index.d.ts +1 -0
- package/dist/types/properties/markStyle/barStyle.d.ts +65 -13
- package/dist/types/properties/markStyle/markStyle.d.ts +64 -12
- package/package.json +1 -1
@@ -0,0 +1,253 @@
|
|
1
|
+
import { type Selector, type Selectors } from '../../dataSelector';
|
2
|
+
import { z } from 'zod';
|
3
|
+
export type AnnotationVerticalLine = {
|
4
|
+
/**
|
5
|
+
* 依赖选择的数据, 进行数据标记.
|
6
|
+
*/
|
7
|
+
selector?: Selector | Selectors;
|
8
|
+
/**
|
9
|
+
* 固定的x值, 用于标注垂直线
|
10
|
+
* @description 类目轴在x方向, 则可输入维值, 数值轴在x方向, 则可输入具体的数值
|
11
|
+
* @default []
|
12
|
+
*/
|
13
|
+
xValue?: (number | string) | (number | string)[];
|
14
|
+
/**
|
15
|
+
* 标注的文本
|
16
|
+
* @description 标注的文本
|
17
|
+
* @default ''
|
18
|
+
* @example '标注文本'
|
19
|
+
*/
|
20
|
+
text?: string | string[];
|
21
|
+
/**
|
22
|
+
* 文本位置
|
23
|
+
* @description 标注线的标签位置(标签相对线的相对位置)。
|
24
|
+
* @default 'insideEnd'
|
25
|
+
* @example 'outsideEnd'
|
26
|
+
*/
|
27
|
+
textPosition?: 'outsideStart' | 'outsideEnd' | 'outsideMiddle' | 'insideStart' | 'insideMiddle' | 'insideEnd';
|
28
|
+
/**
|
29
|
+
* 文本颜色
|
30
|
+
* @description 文本颜色
|
31
|
+
* @default '#ffffff'
|
32
|
+
* @example 'red'
|
33
|
+
*/
|
34
|
+
textColor?: string;
|
35
|
+
/**
|
36
|
+
* 文本字体大小
|
37
|
+
* @description 文本字体大小
|
38
|
+
* @default 12
|
39
|
+
* @example 12
|
40
|
+
*/
|
41
|
+
textFontSize?: number;
|
42
|
+
/**
|
43
|
+
* 文本字体重量
|
44
|
+
* @description 文本字体重量
|
45
|
+
* @default 400
|
46
|
+
* @example 400
|
47
|
+
*/
|
48
|
+
textFontWeight?: number;
|
49
|
+
/**
|
50
|
+
* 文本对齐方式
|
51
|
+
* @description 文本对齐方式
|
52
|
+
* @default 'right'
|
53
|
+
* @example 'left'
|
54
|
+
*/
|
55
|
+
textAlign?: 'left' | 'right' | 'center';
|
56
|
+
/**
|
57
|
+
* 文本垂直对齐方式
|
58
|
+
* @description 文本垂直对齐方式
|
59
|
+
* @default 'top'
|
60
|
+
* @example 'middle'
|
61
|
+
*/
|
62
|
+
textBaseline?: 'top' | 'middle' | 'bottom';
|
63
|
+
/**
|
64
|
+
* 文本Y方向的, 偏移量
|
65
|
+
* @description 文本Y方向的, 偏移量, 支持正负
|
66
|
+
* @default 0
|
67
|
+
* @example offsetY: 10
|
68
|
+
*/
|
69
|
+
offsetY?: number;
|
70
|
+
/**
|
71
|
+
* 文本X方向的, 偏移量
|
72
|
+
* @description 文本X方向的, 偏移量, 支持正负
|
73
|
+
* @default 0
|
74
|
+
* @example offsetX: -10
|
75
|
+
*/
|
76
|
+
offsetX?: number;
|
77
|
+
/**
|
78
|
+
* 线可见
|
79
|
+
* @description 线可见
|
80
|
+
* @default true
|
81
|
+
* @example true
|
82
|
+
*/
|
83
|
+
lineVisible?: boolean;
|
84
|
+
/**
|
85
|
+
* 线颜色
|
86
|
+
* @description 线颜色
|
87
|
+
* @default 'red'
|
88
|
+
* @example 'red'
|
89
|
+
*/
|
90
|
+
lineColor?: string;
|
91
|
+
/**
|
92
|
+
* 线宽度
|
93
|
+
* @description 线宽度
|
94
|
+
* @default 2
|
95
|
+
* @example 2
|
96
|
+
*/
|
97
|
+
lineWidth?: number;
|
98
|
+
/**
|
99
|
+
* 线样式
|
100
|
+
* @description 线样式
|
101
|
+
* @default 'solid'
|
102
|
+
* @example 'solid'
|
103
|
+
*/
|
104
|
+
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
105
|
+
/**
|
106
|
+
* 背景可见
|
107
|
+
* @description 背景可见
|
108
|
+
* @default true
|
109
|
+
* @example true
|
110
|
+
*/
|
111
|
+
backgroundVisible?: boolean;
|
112
|
+
/**
|
113
|
+
* 背景颜色
|
114
|
+
* @description 背景颜色
|
115
|
+
* @default '#212121'
|
116
|
+
* @example 'red'
|
117
|
+
*/
|
118
|
+
backgroundColor?: string;
|
119
|
+
/**
|
120
|
+
* 背景边框颜色
|
121
|
+
* @description 背景边框颜色
|
122
|
+
* @default 'red'
|
123
|
+
* @example 'red'
|
124
|
+
*/
|
125
|
+
backgroundBorderColor?: string;
|
126
|
+
/**
|
127
|
+
* 背景边框宽度
|
128
|
+
* @description 背景边框宽度
|
129
|
+
* @default 1
|
130
|
+
* @example 2
|
131
|
+
*/
|
132
|
+
backgroundBorderWidth?: number;
|
133
|
+
/**
|
134
|
+
* 背景边框圆角
|
135
|
+
* @description 背景边框圆角
|
136
|
+
* @default 4
|
137
|
+
* @example 4
|
138
|
+
*/
|
139
|
+
backgroundBorderRadius?: number;
|
140
|
+
/**
|
141
|
+
* 背景内边距
|
142
|
+
* @description 背景内边距
|
143
|
+
* @default 4
|
144
|
+
* @example 4
|
145
|
+
*/
|
146
|
+
backgroundPadding?: number;
|
147
|
+
};
|
148
|
+
export declare const zAnnotationVerticalLine: z.ZodObject<{
|
149
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
150
|
+
field: z.ZodString;
|
151
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
152
|
+
"=": "=";
|
153
|
+
"==": "==";
|
154
|
+
"!=": "!=";
|
155
|
+
">": ">";
|
156
|
+
"<": "<";
|
157
|
+
">=": ">=";
|
158
|
+
"<=": "<=";
|
159
|
+
between: "between";
|
160
|
+
}>>;
|
161
|
+
op: z.ZodOptional<z.ZodEnum<{
|
162
|
+
"=": "=";
|
163
|
+
"==": "==";
|
164
|
+
"!=": "!=";
|
165
|
+
">": ">";
|
166
|
+
"<": "<";
|
167
|
+
">=": ">=";
|
168
|
+
"<=": "<=";
|
169
|
+
between: "between";
|
170
|
+
}>>;
|
171
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
172
|
+
}, z.core.$strip>, z.ZodObject<{
|
173
|
+
field: z.ZodString;
|
174
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
175
|
+
in: "in";
|
176
|
+
"not in": "not in";
|
177
|
+
}>>;
|
178
|
+
op: z.ZodOptional<z.ZodEnum<{
|
179
|
+
in: "in";
|
180
|
+
"not in": "not in";
|
181
|
+
}>>;
|
182
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
183
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
184
|
+
field: z.ZodString;
|
185
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
186
|
+
"=": "=";
|
187
|
+
"==": "==";
|
188
|
+
"!=": "!=";
|
189
|
+
">": ">";
|
190
|
+
"<": "<";
|
191
|
+
">=": ">=";
|
192
|
+
"<=": "<=";
|
193
|
+
between: "between";
|
194
|
+
}>>;
|
195
|
+
op: z.ZodOptional<z.ZodEnum<{
|
196
|
+
"=": "=";
|
197
|
+
"==": "==";
|
198
|
+
"!=": "!=";
|
199
|
+
">": ">";
|
200
|
+
"<": "<";
|
201
|
+
">=": ">=";
|
202
|
+
"<=": "<=";
|
203
|
+
between: "between";
|
204
|
+
}>>;
|
205
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
206
|
+
}, z.core.$strip>, z.ZodObject<{
|
207
|
+
field: z.ZodString;
|
208
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
209
|
+
in: "in";
|
210
|
+
"not in": "not in";
|
211
|
+
}>>;
|
212
|
+
op: z.ZodOptional<z.ZodEnum<{
|
213
|
+
in: "in";
|
214
|
+
"not in": "not in";
|
215
|
+
}>>;
|
216
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
217
|
+
}, z.core.$strip>]>>]>>;
|
218
|
+
xValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>;
|
219
|
+
text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
|
220
|
+
textPosition: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
221
|
+
outsideStart: "outsideStart";
|
222
|
+
outsideEnd: "outsideEnd";
|
223
|
+
outsideMiddle: "outsideMiddle";
|
224
|
+
insideStart: "insideStart";
|
225
|
+
insideMiddle: "insideMiddle";
|
226
|
+
insideEnd: "insideEnd";
|
227
|
+
}>>>;
|
228
|
+
textColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
229
|
+
textFontSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
230
|
+
textFontWeight: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
231
|
+
textAlign: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
232
|
+
left: "left";
|
233
|
+
right: "right";
|
234
|
+
center: "center";
|
235
|
+
}>>>;
|
236
|
+
textBaseline: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
237
|
+
top: "top";
|
238
|
+
bottom: "bottom";
|
239
|
+
middle: "middle";
|
240
|
+
}>>>;
|
241
|
+
lineVisible: z.ZodOptional<z.ZodBoolean>;
|
242
|
+
lineColor: z.ZodOptional<z.ZodString>;
|
243
|
+
lineWidth: z.ZodOptional<z.ZodNumber>;
|
244
|
+
lineStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]>>;
|
245
|
+
backgroundVisible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
246
|
+
backgroundColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
247
|
+
backgroundBorderColor: z.ZodOptional<z.ZodString>;
|
248
|
+
backgroundBorderWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
249
|
+
backgroundBorderRadius: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
250
|
+
backgroundPadding: z.ZodOptional<z.ZodNumber>;
|
251
|
+
offsetY: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
252
|
+
offsetX: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
253
|
+
}, z.core.$strip>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { type Selector, type Selectors } from '../../dataSelector';
|
2
1
|
import { z } from 'zod';
|
2
|
+
import { type Selector, type Selectors } from '../../dataSelector';
|
3
3
|
export type BarStyle = {
|
4
4
|
/**
|
5
5
|
* 数据选择器
|
@@ -88,27 +88,79 @@ export type BarStyle = {
|
|
88
88
|
barRadius?: number | number[];
|
89
89
|
};
|
90
90
|
export declare const zBarStyle: z.ZodObject<{
|
91
|
-
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
91
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
92
92
|
field: z.ZodString;
|
93
|
-
operator: z.
|
93
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
94
|
+
"=": "=";
|
95
|
+
"==": "==";
|
96
|
+
"!=": "!=";
|
97
|
+
">": ">";
|
98
|
+
"<": "<";
|
99
|
+
">=": ">=";
|
100
|
+
"<=": "<=";
|
101
|
+
between: "between";
|
102
|
+
}>>;
|
103
|
+
op: z.ZodOptional<z.ZodEnum<{
|
104
|
+
"=": "=";
|
105
|
+
"==": "==";
|
106
|
+
"!=": "!=";
|
107
|
+
">": ">";
|
108
|
+
"<": "<";
|
109
|
+
">=": ">=";
|
110
|
+
"<=": "<=";
|
111
|
+
between: "between";
|
112
|
+
}>>;
|
94
113
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
95
114
|
}, z.core.$strip>, z.ZodObject<{
|
96
115
|
field: z.ZodString;
|
97
|
-
operator: z.
|
116
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
117
|
+
in: "in";
|
118
|
+
"not in": "not in";
|
119
|
+
}>>;
|
120
|
+
op: z.ZodOptional<z.ZodEnum<{
|
121
|
+
in: "in";
|
122
|
+
"not in": "not in";
|
123
|
+
}>>;
|
98
124
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
99
125
|
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
100
126
|
field: z.ZodString;
|
101
|
-
operator: z.
|
127
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
128
|
+
"=": "=";
|
129
|
+
"==": "==";
|
130
|
+
"!=": "!=";
|
131
|
+
">": ">";
|
132
|
+
"<": "<";
|
133
|
+
">=": ">=";
|
134
|
+
"<=": "<=";
|
135
|
+
between: "between";
|
136
|
+
}>>;
|
137
|
+
op: z.ZodOptional<z.ZodEnum<{
|
138
|
+
"=": "=";
|
139
|
+
"==": "==";
|
140
|
+
"!=": "!=";
|
141
|
+
">": ">";
|
142
|
+
"<": "<";
|
143
|
+
">=": ">=";
|
144
|
+
"<=": "<=";
|
145
|
+
between: "between";
|
146
|
+
}>>;
|
102
147
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
103
148
|
}, z.core.$strip>, z.ZodObject<{
|
104
149
|
field: z.ZodString;
|
105
|
-
operator: z.
|
150
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
151
|
+
in: "in";
|
152
|
+
"not in": "not in";
|
153
|
+
}>>;
|
154
|
+
op: z.ZodOptional<z.ZodEnum<{
|
155
|
+
in: "in";
|
156
|
+
"not in": "not in";
|
157
|
+
}>>;
|
106
158
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
107
|
-
}, z.core.$strip>]>>]
|
108
|
-
barColor: z.ZodString
|
109
|
-
barColorOpacity: z.ZodNumber
|
110
|
-
barBorderColor: z.ZodString
|
111
|
-
barBorderWidth: z.ZodNumber
|
112
|
-
barBorderStyle: z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]
|
113
|
-
barRadius: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]
|
159
|
+
}, z.core.$strip>]>>]>>;
|
160
|
+
barColor: z.ZodOptional<z.ZodString>;
|
161
|
+
barColorOpacity: z.ZodOptional<z.ZodNumber>;
|
162
|
+
barBorderColor: z.ZodOptional<z.ZodString>;
|
163
|
+
barBorderWidth: z.ZodOptional<z.ZodNumber>;
|
164
|
+
barBorderStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]>>;
|
165
|
+
barRadius: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
|
114
166
|
}, z.core.$strip>;
|
@@ -1,29 +1,81 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const zMarkStyle: z.ZodObject<{
|
3
3
|
barStyle: z.ZodOptional<z.ZodObject<{
|
4
|
-
selector: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
4
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
5
5
|
field: z.ZodString;
|
6
|
-
operator: z.
|
6
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
7
|
+
"=": "=";
|
8
|
+
"==": "==";
|
9
|
+
"!=": "!=";
|
10
|
+
">": ">";
|
11
|
+
"<": "<";
|
12
|
+
">=": ">=";
|
13
|
+
"<=": "<=";
|
14
|
+
between: "between";
|
15
|
+
}>>;
|
16
|
+
op: z.ZodOptional<z.ZodEnum<{
|
17
|
+
"=": "=";
|
18
|
+
"==": "==";
|
19
|
+
"!=": "!=";
|
20
|
+
">": ">";
|
21
|
+
"<": "<";
|
22
|
+
">=": ">=";
|
23
|
+
"<=": "<=";
|
24
|
+
between: "between";
|
25
|
+
}>>;
|
7
26
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
8
27
|
}, z.core.$strip>, z.ZodObject<{
|
9
28
|
field: z.ZodString;
|
10
|
-
operator: z.
|
29
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
30
|
+
in: "in";
|
31
|
+
"not in": "not in";
|
32
|
+
}>>;
|
33
|
+
op: z.ZodOptional<z.ZodEnum<{
|
34
|
+
in: "in";
|
35
|
+
"not in": "not in";
|
36
|
+
}>>;
|
11
37
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
12
38
|
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
13
39
|
field: z.ZodString;
|
14
|
-
operator: z.
|
40
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
41
|
+
"=": "=";
|
42
|
+
"==": "==";
|
43
|
+
"!=": "!=";
|
44
|
+
">": ">";
|
45
|
+
"<": "<";
|
46
|
+
">=": ">=";
|
47
|
+
"<=": "<=";
|
48
|
+
between: "between";
|
49
|
+
}>>;
|
50
|
+
op: z.ZodOptional<z.ZodEnum<{
|
51
|
+
"=": "=";
|
52
|
+
"==": "==";
|
53
|
+
"!=": "!=";
|
54
|
+
">": ">";
|
55
|
+
"<": "<";
|
56
|
+
">=": ">=";
|
57
|
+
"<=": "<=";
|
58
|
+
between: "between";
|
59
|
+
}>>;
|
15
60
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
16
61
|
}, z.core.$strip>, z.ZodObject<{
|
17
62
|
field: z.ZodString;
|
18
|
-
operator: z.
|
63
|
+
operator: z.ZodOptional<z.ZodEnum<{
|
64
|
+
in: "in";
|
65
|
+
"not in": "not in";
|
66
|
+
}>>;
|
67
|
+
op: z.ZodOptional<z.ZodEnum<{
|
68
|
+
in: "in";
|
69
|
+
"not in": "not in";
|
70
|
+
}>>;
|
19
71
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
20
|
-
}, z.core.$strip>]>>]
|
21
|
-
barColor: z.ZodString
|
22
|
-
barColorOpacity: z.ZodNumber
|
23
|
-
barBorderColor: z.ZodString
|
24
|
-
barBorderWidth: z.ZodNumber
|
25
|
-
barBorderStyle: z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]
|
26
|
-
barRadius: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]
|
72
|
+
}, z.core.$strip>]>>]>>;
|
73
|
+
barColor: z.ZodOptional<z.ZodString>;
|
74
|
+
barColorOpacity: z.ZodOptional<z.ZodNumber>;
|
75
|
+
barBorderColor: z.ZodOptional<z.ZodString>;
|
76
|
+
barBorderWidth: z.ZodOptional<z.ZodNumber>;
|
77
|
+
barBorderStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"solid">, z.ZodLiteral<"dashed">, z.ZodLiteral<"dotted">]>>;
|
78
|
+
barRadius: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>]>>;
|
27
79
|
}, z.core.$strip>>;
|
28
80
|
}, z.core.$strip>;
|
29
81
|
export type MarkStyle = z.infer<typeof zMarkStyle>;
|