@visactor/vseed 0.0.22 → 0.0.24

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.
Files changed (55) hide show
  1. package/dist/builder/builder/builder.d.ts +2168 -926
  2. package/dist/builder/register/chartType.d.ts +3 -0
  3. package/dist/builder/register/custom.d.ts +3 -0
  4. package/dist/builder/register/index.d.ts +1 -0
  5. package/dist/dataReshape/dataReshapeFor1D.d.ts +19 -0
  6. package/dist/dataReshape/dataReshapeFor2D1M0Name.d.ts +19 -0
  7. package/dist/dataReshape/index.d.ts +2 -0
  8. package/dist/dataReshape/unfoldZeroDimensions.d.ts +10 -0
  9. package/dist/index.cjs +1104 -149
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +1032 -134
  12. package/dist/index.js.map +1 -1
  13. package/dist/pipeline/advanced/chart/pipeline/areaRange.d.ts +2 -0
  14. package/dist/pipeline/advanced/chart/pipeline/heatmap.d.ts +2 -0
  15. package/dist/pipeline/advanced/chart/pipeline/index.d.ts +3 -0
  16. package/dist/pipeline/advanced/chart/pipeline/radar.d.ts +2 -0
  17. package/dist/pipeline/advanced/chart/pipes/config/config.d.ts +2 -0
  18. package/dist/pipeline/advanced/chart/pipes/encoding/encodingAR.d.ts +2 -0
  19. package/dist/pipeline/advanced/chart/pipes/encoding/encodingXYY.d.ts +2 -0
  20. package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +2 -0
  21. package/dist/pipeline/advanced/chart/pipes/init/autoMeasuresBy2M1Group.d.ts +8 -0
  22. package/dist/pipeline/advanced/chart/pipes/init/index.d.ts +1 -0
  23. package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +5 -1
  24. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo1D.d.ts +8 -0
  25. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D1M0Name.d.ts +8 -0
  26. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo1D.d.ts +8 -0
  27. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D1M0Name.d.ts +8 -0
  28. package/dist/pipeline/spec/chart/pipeline/areaRange.d.ts +1 -0
  29. package/dist/pipeline/spec/chart/pipeline/heatmap.d.ts +2 -0
  30. package/dist/pipeline/spec/chart/pipeline/index.d.ts +4 -1
  31. package/dist/pipeline/spec/chart/pipeline/radar.d.ts +2 -0
  32. package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
  33. package/dist/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -0
  34. package/dist/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -0
  35. package/dist/pipeline/spec/chart/pipes/index.d.ts +1 -0
  36. package/dist/pipeline/spec/chart/pipes/init/areaRange.d.ts +4 -0
  37. package/dist/pipeline/spec/chart/pipes/init/index.d.ts +4 -2
  38. package/dist/pipeline/spec/chart/pipes/{axes/a.d.ts → init/radar.d.ts} +1 -1
  39. package/dist/pipeline/spec/chart/pipes/series/index.d.ts +1 -0
  40. package/dist/pipeline/spec/chart/pipes/series/series.d.ts +2 -0
  41. package/dist/types/advancedVSeed.d.ts +763 -186
  42. package/dist/types/chartType/areaRange/areaRange.d.ts +1337 -0
  43. package/dist/types/chartType/areaRange/index.d.ts +1 -0
  44. package/dist/types/chartType/heatmap/heatmap.d.ts +207 -0
  45. package/dist/types/chartType/heatmap/index.d.ts +1 -0
  46. package/dist/types/chartType/index.d.ts +5 -2
  47. package/dist/types/chartType/radar/index.d.ts +1 -0
  48. package/dist/types/chartType/radar/radar.d.ts +207 -0
  49. package/dist/types/properties/chartType/chartType.d.ts +12 -6
  50. package/dist/types/properties/config/config.d.ts +843 -255
  51. package/dist/types/properties/theme/customTheme.d.ts +788 -214
  52. package/dist/types/vseed.d.ts +2051 -628
  53. package/dist/umd/index.js +1066 -149
  54. package/dist/umd/index.js.map +1 -1
  55. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './areaRange';
@@ -0,0 +1,207 @@
1
+ import { z } from 'zod';
2
+ import { type Locale } from '../../i18n';
3
+ import type { MeasureTree } from '../../properties';
4
+ import { type BackgroundColor, type Color, type Dataset, type Dimensions, type Label, type Legend, type Theme, type Tooltip } from '../../properties';
5
+ /**
6
+ * 热力图类型定义
7
+ * @description 热力图,通过二维矩阵的颜色深浅展示数据的分布和强弱关系
8
+ * 适用场景:
9
+ * - 大规模二维数据的密度和强度展示
10
+ * - 分类与数值的关联分析
11
+ * - 时间序列与类别的交叉对比
12
+ * 数据要求:
13
+ * - 至少2个维度字段,用于确定热力图的行和列
14
+ * - 至少1个数值字段(度量),用于映射颜色深浅
15
+ * - 支持多个指标时,通常选择一个指标进行颜色映射
16
+ * 默认开启的功能:
17
+ * - 默认开启图例、坐标轴、数据标签、提示信息、数值缩放
18
+ */
19
+ export interface Heatmap {
20
+ /**
21
+ * 热力图
22
+ * @description 热力图,通过二维矩阵的颜色深浅展示数据的分布和强弱关系
23
+ * @type {'heatmap'}
24
+ * @example 'heatmap'
25
+ */
26
+ chartType: 'heatmap';
27
+ /**
28
+ * 数据集
29
+ * @description 符合TidyData规范的且已经聚合的数据集,用于定义图表的数据来源和结构, 用户输入的数据集并不需要进行任何处理, VSeed带有强大的数据重塑功能, 会自行进行数据重塑, 热力图的数据最终会被转换为2个维度, 1个指标.
30
+ * @type {Array<Record<string|number, any>>}
31
+ * @example [{month:'1月', value:100}, {month:'2月', value:150}, {month:'3月', value:120}]
32
+ */
33
+ dataset: Dataset;
34
+ /**
35
+ * 维度
36
+ * @description 热力图的第一个维度被映射到角度轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
37
+ * @type {Dimensions}
38
+ * @example [{id: 'category', alias: '类别'}]
39
+ */
40
+ dimensions?: Dimensions;
41
+ /**
42
+ * 指标
43
+ * @description 热力图的指标会自动合并为一个指标, 映射到半径轴, 存在多个指标时, 指标名称会与其余维度合并, 作为图例项展示.
44
+ * @type {MeasureTree}
45
+ * @example [{id: 'value', alias: '数值'}]
46
+ */
47
+ measures?: MeasureTree;
48
+ /**
49
+ * 图表的背景颜色
50
+ * @default transparent 默认为透明背景
51
+ * @description 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
52
+ */
53
+ backgroundColor?: BackgroundColor;
54
+ /**
55
+ * 颜色
56
+ * @description 颜色配置, 用于定义图表的颜色方案, 包括颜色列表, 颜色映射, 颜色渐变等.
57
+ */
58
+ color?: Color;
59
+ /**
60
+ * 标签
61
+ * @description 标签配置, 用于定义图表的数据标签, 包括数据标签的位置, 格式, 样式等.
62
+ */
63
+ label?: Label;
64
+ /**
65
+ * 图例
66
+ * @description 热力图的颜色图例配置, 用于定义图表的图例, 包括图例的位置, 格式, 样式等.
67
+ */
68
+ legend?: Legend;
69
+ /**
70
+ * 提示信息
71
+ * @description 热力图的提示信息配置, 用于定义图表的提示信息, 包括提示信息的位置, 格式, 样式等.
72
+ */
73
+ tooltip?: Tooltip;
74
+ /**
75
+ * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
76
+ * @default light 默认为亮色主题
77
+ * @description 内置light与dark两种主题, 用户可以通过Builder自定义主题
78
+ * @example 'dark'
79
+ * @example 'light'
80
+ * @example 'customThemeName'
81
+ */
82
+ theme?: Theme;
83
+ /**
84
+ * 语言
85
+ * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
86
+ * @default 'zh-CN'
87
+ */
88
+ locale?: Locale;
89
+ }
90
+ export declare const zHeatmap: z.ZodObject<{
91
+ chartType: z.ZodLiteral<"heatmap">;
92
+ dataset: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>>>;
93
+ dimensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
+ id: z.ZodString;
95
+ alias: z.ZodOptional<z.ZodString>;
96
+ location: z.ZodDefault<z.ZodEnum<{
97
+ dimension: "dimension";
98
+ rowDimension: "rowDimension";
99
+ columnDimension: "columnDimension";
100
+ }>>;
101
+ }, z.core.$strip>>>;
102
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
103
+ id: z.ZodString;
104
+ alias: z.ZodOptional<z.ZodString>;
105
+ autoFormat: z.ZodDefault<z.ZodBoolean>;
106
+ format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
107
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
108
+ number: "number";
109
+ percent: "percent";
110
+ permille: "permille";
111
+ scientific: "scientific";
112
+ }>>>;
113
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
114
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
115
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
116
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
117
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
118
+ fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
119
+ significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
120
+ roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
121
+ morePrecision: "morePrecision";
122
+ lessPrecision: "lessPrecision";
123
+ }>>>;
124
+ roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
125
+ floor: "floor";
126
+ ceil: "ceil";
127
+ expand: "expand";
128
+ trunc: "trunc";
129
+ halfCeil: "halfCeil";
130
+ halfFloor: "halfFloor";
131
+ halfExpand: "halfExpand";
132
+ halfTrunc: "halfTrunc";
133
+ halfEven: "halfEven";
134
+ }>>>;
135
+ }, z.core.$strip>>>;
136
+ }, z.core.$strip>]>>>;
137
+ backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
138
+ color: z.ZodOptional<z.ZodObject<{
139
+ colorScheme: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ colorMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
141
+ }, z.core.$strip>>;
142
+ label: z.ZodOptional<z.ZodObject<{
143
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
144
+ }, z.core.$strip>>;
145
+ legend: z.ZodOptional<z.ZodObject<{
146
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
147
+ border: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
148
+ maxSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
149
+ shapeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
150
+ circle: "circle";
151
+ cross: "cross";
152
+ diamond: "diamond";
153
+ square: "square";
154
+ arrow: "arrow";
155
+ arrow2Left: "arrow2Left";
156
+ arrow2Right: "arrow2Right";
157
+ wedge: "wedge";
158
+ thinTriangle: "thinTriangle";
159
+ triangle: "triangle";
160
+ triangleUp: "triangleUp";
161
+ triangleDown: "triangleDown";
162
+ triangleRight: "triangleRight";
163
+ triangleLeft: "triangleLeft";
164
+ stroke: "stroke";
165
+ star: "star";
166
+ wye: "wye";
167
+ rect: "rect";
168
+ arrowLeft: "arrowLeft";
169
+ arrowRight: "arrowRight";
170
+ rectRound: "rectRound";
171
+ roundLine: "roundLine";
172
+ }>>>;
173
+ position: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
174
+ left: "left";
175
+ leftTop: "leftTop";
176
+ leftBottom: "leftBottom";
177
+ lt: "lt";
178
+ lb: "lb";
179
+ top: "top";
180
+ topLeft: "topLeft";
181
+ topRight: "topRight";
182
+ tl: "tl";
183
+ tr: "tr";
184
+ right: "right";
185
+ rightTop: "rightTop";
186
+ rightBottom: "rightBottom";
187
+ rt: "rt";
188
+ rb: "rb";
189
+ bottom: "bottom";
190
+ bottomLeft: "bottomLeft";
191
+ bottomRight: "bottomRight";
192
+ bl: "bl";
193
+ br: "br";
194
+ }>>>;
195
+ labelFontSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
196
+ labelFontColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
197
+ labelFontWeight: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
198
+ }, z.core.$strip>>;
199
+ tooltip: z.ZodOptional<z.ZodObject<{
200
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
201
+ }, z.core.$strip>>;
202
+ theme: z.ZodOptional<z.ZodString>;
203
+ locale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
204
+ "zh-CN": "zh-CN";
205
+ "en-US": "en-US";
206
+ }>>>;
207
+ }, z.core.$strip>;
@@ -0,0 +1 @@
1
+ export * from './heatmap';
@@ -9,10 +9,13 @@ export * from './barParallel';
9
9
  export * from './barPercent';
10
10
  export * from './area';
11
11
  export * from './areaPercent';
12
+ export * from './areaRange';
13
+ export * from './scatter';
14
+ export type * from './dualAxis';
12
15
  export * from './rose';
13
16
  export * from './roseParallel';
14
17
  export * from './pie';
15
18
  export * from './donut';
16
- export * from './scatter';
19
+ export * from './radar';
17
20
  export * from './funnel';
18
- export type * from './dualAxis';
21
+ export * from './heatmap';
@@ -0,0 +1 @@
1
+ export * from './radar';
@@ -0,0 +1,207 @@
1
+ import { z } from 'zod';
2
+ import { type Locale } from '../../i18n';
3
+ import type { MeasureTree } from '../../properties';
4
+ import { type BackgroundColor, type Color, type Dataset, type Dimensions, type Label, type Legend, type Theme, type Tooltip } from '../../properties';
5
+ /**
6
+ * 雷达图类型定义
7
+ * @description 雷达图,适用于多维度数据的对比分析,通过多轴坐标系展示各维度的数值分布
8
+ * 适用场景:
9
+ * - 多维度数据的综合表现对比
10
+ * - 多个对象在多个指标上的性能评估
11
+ * - 分类数据的多维度特征展示
12
+ * 数据要求:
13
+ * - 至少1个数值字段(度量)
14
+ * - 第一个维度作为雷达图的各个维度轴,其他维度作为不同的系列进行对比
15
+ * - 支持多个指标分别作为不同的系列展示
16
+ * 默认开启的功能:
17
+ * - 默认开启图例、雷达坐标系、数据标签、提示信息、数值缩放
18
+ */
19
+ export interface Radar {
20
+ /**
21
+ * 雷达图
22
+ * @description 雷达图,通过多轴坐标系展示多维度数据对比关系
23
+ * @type {'radar'}
24
+ * @example 'radar'
25
+ */
26
+ chartType: 'radar';
27
+ /**
28
+ * 数据集
29
+ * @description 符合TidyData规范的且已经聚合的数据集,用于定义图表的数据来源和结构, 用户输入的数据集并不需要进行任何处理, VSeed带有强大的数据重塑功能, 会自行进行数据重塑, 玫瑰图的数据最终会被转换为2个维度, 1个指标.
30
+ * @type {Array<Record<string|number, any>>}
31
+ * @example [{month:'1月', value:100}, {month:'2月', value:150}, {month:'3月', value:120}]
32
+ */
33
+ dataset: Dataset;
34
+ /**
35
+ * 维度
36
+ * @description 雷达图的第一个维度被映射到角度轴, 其余维度会与指标名称(存在多个指标时)合并, 作为图例项展示.
37
+ * @type {Dimensions}
38
+ * @example [{id: 'category', alias: '类别'}]
39
+ */
40
+ dimensions?: Dimensions;
41
+ /**
42
+ * 指标
43
+ * @description 雷达图的指标会自动合并为一个指标, 映射到半径轴, 存在多个指标时, 指标名称会与其余维度合并, 作为图例项展示.
44
+ * @type {MeasureTree}
45
+ * @example [{id: 'value', alias: '数值'}]
46
+ */
47
+ measures?: MeasureTree;
48
+ /**
49
+ * 图表的背景颜色
50
+ * @default transparent 默认为透明背景
51
+ * @description 背景颜色可以是颜色字符串, 例如'red', 'blue', 也可以是hex, rgb或rgba'#ff0000', 'rgba(255,0,0,0.5)'
52
+ */
53
+ backgroundColor?: BackgroundColor;
54
+ /**
55
+ * 颜色
56
+ * @description 颜色配置, 用于定义图表的颜色方案, 包括颜色列表, 颜色映射, 颜色渐变等.
57
+ */
58
+ color?: Color;
59
+ /**
60
+ * 标签
61
+ * @description 标签配置, 用于定义图表的数据标签, 包括数据标签的位置, 格式, 样式等.
62
+ */
63
+ label?: Label;
64
+ /**
65
+ * 图例
66
+ * @description 图例配置, 用于定义图表的图例, 包括图例的位置, 格式, 样式等.
67
+ */
68
+ legend?: Legend;
69
+ /**
70
+ * 提示信息
71
+ * @description 提示信息配置, 用于定义图表的提示信息, 包括提示信息的位置, 格式, 样式等.
72
+ */
73
+ tooltip?: Tooltip;
74
+ /**
75
+ * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
76
+ * @default light 默认为亮色主题
77
+ * @description 内置light与dark两种主题, 用户可以通过Builder自定义主题
78
+ * @example 'dark'
79
+ * @example 'light'
80
+ * @example 'customThemeName'
81
+ */
82
+ theme?: Theme;
83
+ /**
84
+ * 语言
85
+ * @description 图表语言配置, 支持'zh-CN'与'en-US'两种语言, 另外可以调用 intl.setLocale('zh-CN') 方法设置语言
86
+ * @default 'zh-CN'
87
+ */
88
+ locale?: Locale;
89
+ }
90
+ export declare const zRadar: z.ZodObject<{
91
+ chartType: z.ZodLiteral<"radar">;
92
+ dataset: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>>>;
93
+ dimensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
+ id: z.ZodString;
95
+ alias: z.ZodOptional<z.ZodString>;
96
+ location: z.ZodDefault<z.ZodEnum<{
97
+ dimension: "dimension";
98
+ rowDimension: "rowDimension";
99
+ columnDimension: "columnDimension";
100
+ }>>;
101
+ }, z.core.$strip>>>;
102
+ measures: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<import("../..").MeasureGroup, unknown, z.core.$ZodTypeInternals<import("../..").MeasureGroup, unknown>>, z.ZodObject<{
103
+ id: z.ZodString;
104
+ alias: z.ZodOptional<z.ZodString>;
105
+ autoFormat: z.ZodDefault<z.ZodBoolean>;
106
+ format: z.ZodDefault<z.ZodOptional<z.ZodObject<{
107
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
108
+ number: "number";
109
+ percent: "percent";
110
+ permille: "permille";
111
+ scientific: "scientific";
112
+ }>>>;
113
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
114
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
115
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
116
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
117
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
118
+ fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
119
+ significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
120
+ roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
121
+ morePrecision: "morePrecision";
122
+ lessPrecision: "lessPrecision";
123
+ }>>>;
124
+ roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
125
+ floor: "floor";
126
+ ceil: "ceil";
127
+ expand: "expand";
128
+ trunc: "trunc";
129
+ halfCeil: "halfCeil";
130
+ halfFloor: "halfFloor";
131
+ halfExpand: "halfExpand";
132
+ halfTrunc: "halfTrunc";
133
+ halfEven: "halfEven";
134
+ }>>>;
135
+ }, z.core.$strip>>>;
136
+ }, z.core.$strip>]>>>;
137
+ backgroundColor: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
138
+ color: z.ZodOptional<z.ZodObject<{
139
+ colorScheme: z.ZodOptional<z.ZodArray<z.ZodString>>;
140
+ colorMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
141
+ }, z.core.$strip>>;
142
+ label: z.ZodOptional<z.ZodObject<{
143
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
144
+ }, z.core.$strip>>;
145
+ legend: z.ZodOptional<z.ZodObject<{
146
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
147
+ border: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
148
+ maxSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
149
+ shapeType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
150
+ circle: "circle";
151
+ cross: "cross";
152
+ diamond: "diamond";
153
+ square: "square";
154
+ arrow: "arrow";
155
+ arrow2Left: "arrow2Left";
156
+ arrow2Right: "arrow2Right";
157
+ wedge: "wedge";
158
+ thinTriangle: "thinTriangle";
159
+ triangle: "triangle";
160
+ triangleUp: "triangleUp";
161
+ triangleDown: "triangleDown";
162
+ triangleRight: "triangleRight";
163
+ triangleLeft: "triangleLeft";
164
+ stroke: "stroke";
165
+ star: "star";
166
+ wye: "wye";
167
+ rect: "rect";
168
+ arrowLeft: "arrowLeft";
169
+ arrowRight: "arrowRight";
170
+ rectRound: "rectRound";
171
+ roundLine: "roundLine";
172
+ }>>>;
173
+ position: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
174
+ left: "left";
175
+ leftTop: "leftTop";
176
+ leftBottom: "leftBottom";
177
+ lt: "lt";
178
+ lb: "lb";
179
+ top: "top";
180
+ topLeft: "topLeft";
181
+ topRight: "topRight";
182
+ tl: "tl";
183
+ tr: "tr";
184
+ right: "right";
185
+ rightTop: "rightTop";
186
+ rightBottom: "rightBottom";
187
+ rt: "rt";
188
+ rb: "rb";
189
+ bottom: "bottom";
190
+ bottomLeft: "bottomLeft";
191
+ bottomRight: "bottomRight";
192
+ bl: "bl";
193
+ br: "br";
194
+ }>>>;
195
+ labelFontSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
196
+ labelFontColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
197
+ labelFontWeight: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
198
+ }, z.core.$strip>>;
199
+ tooltip: z.ZodOptional<z.ZodObject<{
200
+ enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
201
+ }, z.core.$strip>>;
202
+ theme: z.ZodOptional<z.ZodString>;
203
+ locale: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
204
+ "zh-CN": "zh-CN";
205
+ "en-US": "en-US";
206
+ }>>>;
207
+ }, z.core.$strip>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'dualAxis' | 'scatter' | 'funnel';
2
+ export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'areaRange' | 'scatter' | 'dualAxis' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'radar' | 'heatmap' | 'funnel';
3
3
  export declare enum ChartTypeEnum {
4
4
  Table = "table",
5
5
  PivotTable = "pivotTable",
@@ -12,13 +12,16 @@ export declare enum ChartTypeEnum {
12
12
  BarParallel = "barParallel",
13
13
  Area = "area",
14
14
  AreaPercent = "areaPercent",
15
+ AreaRange = "areaRange",
16
+ DualAxis = "dualAxis",
17
+ Scatter = "scatter",
15
18
  Rose = "rose",
16
19
  RoseParallel = "roseParallel",
17
20
  Pie = "pie",
18
21
  Donut = "donut",
19
- DualAxis = "dualAxis",
20
- Scatter = "scatter",
21
- Funnel = "funnel"
22
+ Radar = "radar",
23
+ Funnel = "funnel",
24
+ Heatmap = "heatmap"
22
25
  }
23
26
  export declare const zChartType: z.ZodEnum<{
24
27
  table: "table";
@@ -32,11 +35,14 @@ export declare const zChartType: z.ZodEnum<{
32
35
  barParallel: "barParallel";
33
36
  area: "area";
34
37
  areaPercent: "areaPercent";
38
+ areaRange: "areaRange";
39
+ scatter: "scatter";
40
+ dualAxis: "dualAxis";
35
41
  rose: "rose";
36
42
  roseParallel: "roseParallel";
37
43
  pie: "pie";
38
44
  donut: "donut";
39
- dualAxis: "dualAxis";
40
- scatter: "scatter";
45
+ radar: "radar";
46
+ heatmap: "heatmap";
41
47
  funnel: "funnel";
42
48
  }>;