@visactor/vseed 0.0.33 → 0.0.35
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/buildAdvanced.d.ts +1 -1
- package/dist/builder/builder/buildSpec.d.ts +1 -1
- package/dist/builder/builder/builder.d.ts +2794 -4887
- package/dist/builder/register/chartType/dualAxis.d.ts +1 -0
- package/dist/builder/register/chartType/index.d.ts +12 -11
- package/dist/dataReshape/constant.d.ts +3 -1
- package/dist/index.cjs +1362 -202
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1289 -156
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/pipeline/dualAxis.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/config/dualAxis.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/config/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingAreaRange.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/init/autoDualMeasures.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D2M.d.ts +8 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D2M.d.ts +8 -0
- package/dist/pipeline/spec/chart/pipeline/dualAxis.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/axes/yLinearPrimary.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/axes/yLinearSecondary.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/dataset/datasetDualAxis.d.ts +3 -0
- package/dist/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/dual/dualChartType.d.ts +3 -0
- package/dist/pipeline/spec/chart/pipes/dual/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/init/initDualAxis.d.ts +3 -0
- package/dist/pipeline/spec/chart/pipes/label/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/label/labelDualAxis.d.ts +3 -0
- package/dist/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +3 -0
- package/dist/pipeline/utils/chatType.d.ts +2 -2
- package/dist/pipeline/utils/measures/depth.d.ts +8 -0
- package/dist/pipeline/utils/measures/index.d.ts +1 -0
- package/dist/types/advancedVSeed.d.ts +491 -14
- package/dist/types/builder/builder.d.ts +16 -15
- package/dist/types/chartType/area/area.d.ts +0 -1494
- package/dist/types/chartType/area/index.d.ts +2 -1
- package/dist/types/chartType/area/zArea.d.ts +1494 -0
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +0 -1494
- package/dist/types/chartType/areaPercent/index.d.ts +2 -1
- package/dist/types/chartType/areaPercent/zAreaPercent.d.ts +1494 -0
- package/dist/types/chartType/areaRange/areaRange.d.ts +0 -1433
- package/dist/types/chartType/areaRange/index.d.ts +2 -1
- package/dist/types/chartType/areaRange/zAreaRange.d.ts +1433 -0
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +123 -23
- package/dist/types/chartType/dualAxis/index.d.ts +1 -0
- package/dist/types/chartType/dualAxis/zDualAxis.d.ts +1955 -0
- package/dist/types/chartType/index.d.ts +1 -1
- package/dist/types/properties/chartType/dualChartType.d.ts +18 -0
- package/dist/types/properties/chartType/index.d.ts +2 -0
- package/dist/types/properties/config/config.d.ts +477 -7
- package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +7 -0
- package/dist/types/properties/measures/dualMeasures.d.ts +8 -0
- package/dist/types/properties/measures/index.d.ts +4 -1
- package/dist/types/properties/measures/measures.d.ts +0 -107
- package/dist/types/properties/measures/zDualMeasures.d.ts +287 -0
- package/dist/types/properties/measures/zMeasures.d.ts +108 -0
- package/dist/types/properties/theme/customTheme.d.ts +484 -14
- package/dist/types/vseed.d.ts +1953 -0
- package/dist/umd/index.js +1282 -140
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
@@ -1,4 +1,3 @@
|
|
1
|
-
import { z } from 'zod';
|
2
1
|
import type { NumFormat } from './format/numFormat';
|
3
2
|
export type Measure = {
|
4
3
|
/**
|
@@ -42,109 +41,3 @@ export type MeasureGroup = {
|
|
42
41
|
};
|
43
42
|
export type Measures = Measure[];
|
44
43
|
export type MeasureTree = (Measure | MeasureGroup)[];
|
45
|
-
export declare const zMeasure: z.ZodObject<{
|
46
|
-
id: z.ZodString;
|
47
|
-
alias: z.ZodOptional<z.ZodString>;
|
48
|
-
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
49
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
50
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
51
|
-
number: "number";
|
52
|
-
percent: "percent";
|
53
|
-
permille: "permille";
|
54
|
-
scientific: "scientific";
|
55
|
-
}>>>;
|
56
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
57
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
58
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
59
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
60
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
61
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
62
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
63
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
64
|
-
morePrecision: "morePrecision";
|
65
|
-
lessPrecision: "lessPrecision";
|
66
|
-
}>>>;
|
67
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
68
|
-
floor: "floor";
|
69
|
-
ceil: "ceil";
|
70
|
-
expand: "expand";
|
71
|
-
trunc: "trunc";
|
72
|
-
halfCeil: "halfCeil";
|
73
|
-
halfFloor: "halfFloor";
|
74
|
-
halfExpand: "halfExpand";
|
75
|
-
halfTrunc: "halfTrunc";
|
76
|
-
halfEven: "halfEven";
|
77
|
-
}>>>;
|
78
|
-
}, z.core.$strip>>>;
|
79
|
-
}, z.core.$strip>;
|
80
|
-
export declare const zMeasureGroup: z.ZodType<MeasureGroup>;
|
81
|
-
export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
82
|
-
id: z.ZodString;
|
83
|
-
alias: z.ZodOptional<z.ZodString>;
|
84
|
-
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
85
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
86
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
87
|
-
number: "number";
|
88
|
-
percent: "percent";
|
89
|
-
permille: "permille";
|
90
|
-
scientific: "scientific";
|
91
|
-
}>>>;
|
92
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
93
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
94
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
95
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
96
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
97
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
98
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
99
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
100
|
-
morePrecision: "morePrecision";
|
101
|
-
lessPrecision: "lessPrecision";
|
102
|
-
}>>>;
|
103
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
104
|
-
floor: "floor";
|
105
|
-
ceil: "ceil";
|
106
|
-
expand: "expand";
|
107
|
-
trunc: "trunc";
|
108
|
-
halfCeil: "halfCeil";
|
109
|
-
halfFloor: "halfFloor";
|
110
|
-
halfExpand: "halfExpand";
|
111
|
-
halfTrunc: "halfTrunc";
|
112
|
-
halfEven: "halfEven";
|
113
|
-
}>>>;
|
114
|
-
}, z.core.$strip>>>;
|
115
|
-
}, z.core.$strip>>;
|
116
|
-
export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup, unknown, z.core.$ZodTypeInternals<MeasureGroup, unknown>>, z.ZodObject<{
|
117
|
-
id: z.ZodString;
|
118
|
-
alias: z.ZodOptional<z.ZodString>;
|
119
|
-
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
120
|
-
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
121
|
-
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
122
|
-
number: "number";
|
123
|
-
percent: "percent";
|
124
|
-
permille: "permille";
|
125
|
-
scientific: "scientific";
|
126
|
-
}>>>;
|
127
|
-
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
128
|
-
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
129
|
-
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
130
|
-
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
131
|
-
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
132
|
-
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
133
|
-
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
134
|
-
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
135
|
-
morePrecision: "morePrecision";
|
136
|
-
lessPrecision: "lessPrecision";
|
137
|
-
}>>>;
|
138
|
-
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
139
|
-
floor: "floor";
|
140
|
-
ceil: "ceil";
|
141
|
-
expand: "expand";
|
142
|
-
trunc: "trunc";
|
143
|
-
halfCeil: "halfCeil";
|
144
|
-
halfFloor: "halfFloor";
|
145
|
-
halfExpand: "halfExpand";
|
146
|
-
halfTrunc: "halfTrunc";
|
147
|
-
halfEven: "halfEven";
|
148
|
-
}>>>;
|
149
|
-
}, z.core.$strip>>>;
|
150
|
-
}, z.core.$strip>]>>;
|
@@ -0,0 +1,287 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const zDualMeasure: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
primaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
5
|
+
id: z.ZodString;
|
6
|
+
alias: z.ZodOptional<z.ZodString>;
|
7
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
8
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
9
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
10
|
+
number: "number";
|
11
|
+
percent: "percent";
|
12
|
+
permille: "permille";
|
13
|
+
scientific: "scientific";
|
14
|
+
}>>>;
|
15
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
16
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
17
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
18
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
19
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
20
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
21
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
22
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
23
|
+
morePrecision: "morePrecision";
|
24
|
+
lessPrecision: "lessPrecision";
|
25
|
+
}>>>;
|
26
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
27
|
+
floor: "floor";
|
28
|
+
ceil: "ceil";
|
29
|
+
expand: "expand";
|
30
|
+
trunc: "trunc";
|
31
|
+
halfCeil: "halfCeil";
|
32
|
+
halfFloor: "halfFloor";
|
33
|
+
halfExpand: "halfExpand";
|
34
|
+
halfTrunc: "halfTrunc";
|
35
|
+
halfEven: "halfEven";
|
36
|
+
}>>>;
|
37
|
+
}, z.core.$strip>>>;
|
38
|
+
}, z.core.$strip>>, z.ZodObject<{
|
39
|
+
id: z.ZodString;
|
40
|
+
alias: z.ZodOptional<z.ZodString>;
|
41
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
42
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
43
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
44
|
+
number: "number";
|
45
|
+
percent: "percent";
|
46
|
+
permille: "permille";
|
47
|
+
scientific: "scientific";
|
48
|
+
}>>>;
|
49
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
50
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
51
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
52
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
53
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
54
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
55
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
56
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
57
|
+
morePrecision: "morePrecision";
|
58
|
+
lessPrecision: "lessPrecision";
|
59
|
+
}>>>;
|
60
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
61
|
+
floor: "floor";
|
62
|
+
ceil: "ceil";
|
63
|
+
expand: "expand";
|
64
|
+
trunc: "trunc";
|
65
|
+
halfCeil: "halfCeil";
|
66
|
+
halfFloor: "halfFloor";
|
67
|
+
halfExpand: "halfExpand";
|
68
|
+
halfTrunc: "halfTrunc";
|
69
|
+
halfEven: "halfEven";
|
70
|
+
}>>>;
|
71
|
+
}, z.core.$strip>>>;
|
72
|
+
}, z.core.$strip>]>>;
|
73
|
+
primaryAlias: z.ZodOptional<z.ZodString>;
|
74
|
+
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
75
|
+
id: z.ZodString;
|
76
|
+
alias: z.ZodOptional<z.ZodString>;
|
77
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
78
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
79
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
80
|
+
number: "number";
|
81
|
+
percent: "percent";
|
82
|
+
permille: "permille";
|
83
|
+
scientific: "scientific";
|
84
|
+
}>>>;
|
85
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
86
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
87
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
88
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
89
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
90
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
91
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
92
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
93
|
+
morePrecision: "morePrecision";
|
94
|
+
lessPrecision: "lessPrecision";
|
95
|
+
}>>>;
|
96
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
97
|
+
floor: "floor";
|
98
|
+
ceil: "ceil";
|
99
|
+
expand: "expand";
|
100
|
+
trunc: "trunc";
|
101
|
+
halfCeil: "halfCeil";
|
102
|
+
halfFloor: "halfFloor";
|
103
|
+
halfExpand: "halfExpand";
|
104
|
+
halfTrunc: "halfTrunc";
|
105
|
+
halfEven: "halfEven";
|
106
|
+
}>>>;
|
107
|
+
}, z.core.$strip>>>;
|
108
|
+
}, z.core.$strip>>, z.ZodObject<{
|
109
|
+
id: z.ZodString;
|
110
|
+
alias: z.ZodOptional<z.ZodString>;
|
111
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
112
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
113
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
114
|
+
number: "number";
|
115
|
+
percent: "percent";
|
116
|
+
permille: "permille";
|
117
|
+
scientific: "scientific";
|
118
|
+
}>>>;
|
119
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
120
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
121
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
122
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
123
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
124
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
125
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
126
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
127
|
+
morePrecision: "morePrecision";
|
128
|
+
lessPrecision: "lessPrecision";
|
129
|
+
}>>>;
|
130
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
131
|
+
floor: "floor";
|
132
|
+
ceil: "ceil";
|
133
|
+
expand: "expand";
|
134
|
+
trunc: "trunc";
|
135
|
+
halfCeil: "halfCeil";
|
136
|
+
halfFloor: "halfFloor";
|
137
|
+
halfExpand: "halfExpand";
|
138
|
+
halfTrunc: "halfTrunc";
|
139
|
+
halfEven: "halfEven";
|
140
|
+
}>>>;
|
141
|
+
}, z.core.$strip>>>;
|
142
|
+
}, z.core.$strip>]>>;
|
143
|
+
secondaryAlias: z.ZodOptional<z.ZodString>;
|
144
|
+
}, z.core.$strip>;
|
145
|
+
export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
|
146
|
+
id: z.ZodString;
|
147
|
+
primaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
148
|
+
id: z.ZodString;
|
149
|
+
alias: z.ZodOptional<z.ZodString>;
|
150
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
151
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
152
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
153
|
+
number: "number";
|
154
|
+
percent: "percent";
|
155
|
+
permille: "permille";
|
156
|
+
scientific: "scientific";
|
157
|
+
}>>>;
|
158
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
159
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
160
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
161
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
162
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
163
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
164
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
165
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
166
|
+
morePrecision: "morePrecision";
|
167
|
+
lessPrecision: "lessPrecision";
|
168
|
+
}>>>;
|
169
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
170
|
+
floor: "floor";
|
171
|
+
ceil: "ceil";
|
172
|
+
expand: "expand";
|
173
|
+
trunc: "trunc";
|
174
|
+
halfCeil: "halfCeil";
|
175
|
+
halfFloor: "halfFloor";
|
176
|
+
halfExpand: "halfExpand";
|
177
|
+
halfTrunc: "halfTrunc";
|
178
|
+
halfEven: "halfEven";
|
179
|
+
}>>>;
|
180
|
+
}, z.core.$strip>>>;
|
181
|
+
}, z.core.$strip>>, z.ZodObject<{
|
182
|
+
id: z.ZodString;
|
183
|
+
alias: z.ZodOptional<z.ZodString>;
|
184
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
185
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
186
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
187
|
+
number: "number";
|
188
|
+
percent: "percent";
|
189
|
+
permille: "permille";
|
190
|
+
scientific: "scientific";
|
191
|
+
}>>>;
|
192
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
193
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
194
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
195
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
196
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
197
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
198
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
199
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
200
|
+
morePrecision: "morePrecision";
|
201
|
+
lessPrecision: "lessPrecision";
|
202
|
+
}>>>;
|
203
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
204
|
+
floor: "floor";
|
205
|
+
ceil: "ceil";
|
206
|
+
expand: "expand";
|
207
|
+
trunc: "trunc";
|
208
|
+
halfCeil: "halfCeil";
|
209
|
+
halfFloor: "halfFloor";
|
210
|
+
halfExpand: "halfExpand";
|
211
|
+
halfTrunc: "halfTrunc";
|
212
|
+
halfEven: "halfEven";
|
213
|
+
}>>>;
|
214
|
+
}, z.core.$strip>>>;
|
215
|
+
}, z.core.$strip>]>>;
|
216
|
+
primaryAlias: z.ZodOptional<z.ZodString>;
|
217
|
+
secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
218
|
+
id: z.ZodString;
|
219
|
+
alias: z.ZodOptional<z.ZodString>;
|
220
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
221
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
222
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
223
|
+
number: "number";
|
224
|
+
percent: "percent";
|
225
|
+
permille: "permille";
|
226
|
+
scientific: "scientific";
|
227
|
+
}>>>;
|
228
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
229
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
230
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
231
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
232
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
233
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
234
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
235
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
236
|
+
morePrecision: "morePrecision";
|
237
|
+
lessPrecision: "lessPrecision";
|
238
|
+
}>>>;
|
239
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
240
|
+
floor: "floor";
|
241
|
+
ceil: "ceil";
|
242
|
+
expand: "expand";
|
243
|
+
trunc: "trunc";
|
244
|
+
halfCeil: "halfCeil";
|
245
|
+
halfFloor: "halfFloor";
|
246
|
+
halfExpand: "halfExpand";
|
247
|
+
halfTrunc: "halfTrunc";
|
248
|
+
halfEven: "halfEven";
|
249
|
+
}>>>;
|
250
|
+
}, z.core.$strip>>>;
|
251
|
+
}, z.core.$strip>>, z.ZodObject<{
|
252
|
+
id: z.ZodString;
|
253
|
+
alias: z.ZodOptional<z.ZodString>;
|
254
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
255
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
256
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
257
|
+
number: "number";
|
258
|
+
percent: "percent";
|
259
|
+
permille: "permille";
|
260
|
+
scientific: "scientific";
|
261
|
+
}>>>;
|
262
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
263
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
264
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
265
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
266
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
267
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
268
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
269
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
270
|
+
morePrecision: "morePrecision";
|
271
|
+
lessPrecision: "lessPrecision";
|
272
|
+
}>>>;
|
273
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
274
|
+
floor: "floor";
|
275
|
+
ceil: "ceil";
|
276
|
+
expand: "expand";
|
277
|
+
trunc: "trunc";
|
278
|
+
halfCeil: "halfCeil";
|
279
|
+
halfFloor: "halfFloor";
|
280
|
+
halfExpand: "halfExpand";
|
281
|
+
halfTrunc: "halfTrunc";
|
282
|
+
halfEven: "halfEven";
|
283
|
+
}>>>;
|
284
|
+
}, z.core.$strip>>>;
|
285
|
+
}, z.core.$strip>]>>;
|
286
|
+
secondaryAlias: z.ZodOptional<z.ZodString>;
|
287
|
+
}, z.core.$strip>>;
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
import type { MeasureGroup } from './measures';
|
3
|
+
export declare const zMeasure: z.ZodObject<{
|
4
|
+
id: z.ZodString;
|
5
|
+
alias: z.ZodOptional<z.ZodString>;
|
6
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
7
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
8
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
9
|
+
number: "number";
|
10
|
+
percent: "percent";
|
11
|
+
permille: "permille";
|
12
|
+
scientific: "scientific";
|
13
|
+
}>>>;
|
14
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
15
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
16
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
17
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
18
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
19
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
20
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
21
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
22
|
+
morePrecision: "morePrecision";
|
23
|
+
lessPrecision: "lessPrecision";
|
24
|
+
}>>>;
|
25
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
26
|
+
floor: "floor";
|
27
|
+
ceil: "ceil";
|
28
|
+
expand: "expand";
|
29
|
+
trunc: "trunc";
|
30
|
+
halfCeil: "halfCeil";
|
31
|
+
halfFloor: "halfFloor";
|
32
|
+
halfExpand: "halfExpand";
|
33
|
+
halfTrunc: "halfTrunc";
|
34
|
+
halfEven: "halfEven";
|
35
|
+
}>>>;
|
36
|
+
}, z.core.$strip>>>;
|
37
|
+
}, z.core.$strip>;
|
38
|
+
export declare const zMeasureGroup: z.ZodType<MeasureGroup>;
|
39
|
+
export declare const zMeasures: z.ZodArray<z.ZodObject<{
|
40
|
+
id: z.ZodString;
|
41
|
+
alias: z.ZodOptional<z.ZodString>;
|
42
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
43
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
44
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
45
|
+
number: "number";
|
46
|
+
percent: "percent";
|
47
|
+
permille: "permille";
|
48
|
+
scientific: "scientific";
|
49
|
+
}>>>;
|
50
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
51
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
52
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
53
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
54
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
55
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
56
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
57
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
58
|
+
morePrecision: "morePrecision";
|
59
|
+
lessPrecision: "lessPrecision";
|
60
|
+
}>>>;
|
61
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
62
|
+
floor: "floor";
|
63
|
+
ceil: "ceil";
|
64
|
+
expand: "expand";
|
65
|
+
trunc: "trunc";
|
66
|
+
halfCeil: "halfCeil";
|
67
|
+
halfFloor: "halfFloor";
|
68
|
+
halfExpand: "halfExpand";
|
69
|
+
halfTrunc: "halfTrunc";
|
70
|
+
halfEven: "halfEven";
|
71
|
+
}>>>;
|
72
|
+
}, z.core.$strip>>>;
|
73
|
+
}, z.core.$strip>>;
|
74
|
+
export declare const zMeasureTree: z.ZodArray<z.ZodUnion<[z.ZodType<MeasureGroup, unknown, z.core.$ZodTypeInternals<MeasureGroup, unknown>>, z.ZodObject<{
|
75
|
+
id: z.ZodString;
|
76
|
+
alias: z.ZodOptional<z.ZodString>;
|
77
|
+
autoFormat: z.ZodDefault<z.ZodBoolean>;
|
78
|
+
format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
79
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
80
|
+
number: "number";
|
81
|
+
percent: "percent";
|
82
|
+
permille: "permille";
|
83
|
+
scientific: "scientific";
|
84
|
+
}>>>;
|
85
|
+
ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
86
|
+
symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
87
|
+
thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
88
|
+
prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
89
|
+
suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
90
|
+
fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
91
|
+
significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
92
|
+
roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
93
|
+
morePrecision: "morePrecision";
|
94
|
+
lessPrecision: "lessPrecision";
|
95
|
+
}>>>;
|
96
|
+
roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
97
|
+
floor: "floor";
|
98
|
+
ceil: "ceil";
|
99
|
+
expand: "expand";
|
100
|
+
trunc: "trunc";
|
101
|
+
halfCeil: "halfCeil";
|
102
|
+
halfFloor: "halfFloor";
|
103
|
+
halfExpand: "halfExpand";
|
104
|
+
halfTrunc: "halfTrunc";
|
105
|
+
halfEven: "halfEven";
|
106
|
+
}>>>;
|
107
|
+
}, z.core.$strip>>>;
|
108
|
+
}, z.core.$strip>]>>;
|