@visactor/vseed 0.0.11 → 0.0.12

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 (54) hide show
  1. package/dist/builder/builder/builder.d.ts +4336 -477
  2. package/dist/builder/register/theme.d.ts +4 -1
  3. package/dist/dataSelector/selector.d.ts +1 -1
  4. package/dist/index.cjs +907 -174
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.js +877 -174
  7. package/dist/index.js.map +1 -1
  8. package/dist/pipeline/advanced/pipes/config/config.d.ts +3 -3
  9. package/dist/pipeline/constant.d.ts +2 -0
  10. package/dist/pipeline/spec/pipes/crosshair/horizontalCrosshairRect.d.ts +2 -0
  11. package/dist/pipeline/spec/pipes/crosshair/index.d.ts +3 -0
  12. package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairLine.d.ts +2 -0
  13. package/dist/pipeline/spec/pipes/crosshair/verticalCrosshairRect.d.ts +2 -0
  14. package/dist/pipeline/spec/pipes/index.d.ts +1 -0
  15. package/dist/pipeline/spec/pipes/markStyle/areaStyle.d.ts +2 -0
  16. package/dist/pipeline/spec/pipes/markStyle/index.d.ts +3 -0
  17. package/dist/pipeline/spec/pipes/markStyle/lineStyle.d.ts +2 -0
  18. package/dist/pipeline/spec/pipes/markStyle/pointStyle.d.ts +2 -0
  19. package/dist/pipeline/spec/pipes/stack/index.d.ts +1 -0
  20. package/dist/pipeline/spec/pipes/stack/stackCornerRadius.d.ts +2 -0
  21. package/dist/pipeline/utils/chatType.d.ts +16 -16
  22. package/dist/pipeline/utils/format/createFormatter.d.ts +2 -0
  23. package/dist/pipeline/utils/format/createNumFormatter.d.ts +2 -0
  24. package/dist/pipeline/utils/format/index.d.ts +2 -0
  25. package/dist/pipeline/utils/index.d.ts +4 -2
  26. package/dist/pipeline/utils/measures/findMeasureById.d.ts +2 -0
  27. package/dist/pipeline/utils/measures/index.d.ts +1 -0
  28. package/dist/types/advancedVSeed.d.ts +2441 -320
  29. package/dist/types/chartType/area/area.d.ts +33 -1
  30. package/dist/types/chartType/areaPercent/areaPercent.d.ts +36 -4
  31. package/dist/types/chartType/bar/bar.d.ts +13 -2
  32. package/dist/types/chartType/barParallel/barParallel.d.ts +13 -2
  33. package/dist/types/chartType/barPercent/barPercent.d.ts +13 -2
  34. package/dist/types/chartType/column/column.d.ts +13 -2
  35. package/dist/types/chartType/columnParallel/columnParallel.d.ts +13 -2
  36. package/dist/types/chartType/columnPercent/columnPercent.d.ts +13 -2
  37. package/dist/types/chartType/line/line.d.ts +27 -4
  38. package/dist/types/properties/config/config.d.ts +105 -36
  39. package/dist/types/properties/config/crosshair.d.ts +17 -0
  40. package/dist/types/properties/config/index.d.ts +2 -0
  41. package/dist/types/properties/config/stackCornerRadius.d.ts +3 -0
  42. package/dist/types/properties/markStyle/areaStyle.d.ts +129 -0
  43. package/dist/types/properties/markStyle/index.d.ts +3 -0
  44. package/dist/types/properties/markStyle/lineStyle.d.ts +160 -0
  45. package/dist/types/properties/markStyle/markStyle.d.ts +543 -2
  46. package/dist/types/properties/markStyle/pointStyle.d.ts +168 -0
  47. package/dist/types/properties/measures/format/formatter.d.ts +1 -0
  48. package/dist/types/properties/measures/format/index.d.ts +2 -0
  49. package/dist/types/properties/measures/format/numFormat.d.ts +20 -0
  50. package/dist/types/properties/measures/index.d.ts +2 -2
  51. package/dist/types/properties/measures/measures.d.ts +40 -40
  52. package/dist/types/properties/theme/customTheme.d.ts +3094 -72
  53. package/dist/types/vseed.d.ts +20 -20
  54. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, Measures, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine } from '../../properties';
2
2
  /**
3
3
  * 面积图类型定义
4
4
  * @description 面积图, 适用于展示数据随时间变化的趋势及累积关系, 通过填充区域增强数据对比. X轴为类目轴(分类数据), Y轴为数值轴(连续数据).
@@ -79,6 +79,11 @@ export interface Area {
79
79
  * @description 数值轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
80
80
  */
81
81
  yAxis?: YLinearAxis;
82
+ /**
83
+ * 垂直提示线
84
+ * @description 鼠标移动到图表上时, 显示的垂直提示线
85
+ */
86
+ crosshairLine?: CrosshairLine;
82
87
  /**
83
88
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
84
89
  * @default light 默认为亮色主题
@@ -88,6 +93,33 @@ export interface Area {
88
93
  * @example 'customThemeName'
89
94
  */
90
95
  theme?: Theme;
96
+ /**
97
+ * 点图元样式
98
+ * @description 点图元样式配置, 用于定义图表的点图元样式, 包括点图元的颜色, 边框等.
99
+ * 支持全局样式或条件样式配置
100
+ * 数据筛选器
101
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
102
+ * 若未配置selector, 则样式全局生效.
103
+ */
104
+ pointStyle?: PointStyle | PointStyle[];
105
+ /**
106
+ * 线图元样式
107
+ * @description 线图元样式配置, 用于定义图表的线图元样式, 包括线图元的颜色, 透明度, 曲线等.
108
+ * 支持全局样式或条件样式配置
109
+ * 数据筛选器
110
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
111
+ * 若未配置selector, 则样式全局生效.
112
+ */
113
+ lineStyle?: LineStyle | LineStyle[];
114
+ /**
115
+ * 面积图元样式
116
+ * @description 面积图元样式配置, 用于定义图表的面积图元样式, 包括面积图元的颜色, 透明度, 边框等.
117
+ * 支持全局样式或条件样式配置
118
+ * 数据筛选器
119
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
120
+ * 若未配置selector, 则样式全局生效.
121
+ */
122
+ areaStyle?: AreaStyle | AreaStyle[];
91
123
  /**
92
124
  * 标注点
93
125
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, Measures, PointStyle, Theme, Tooltip, XBandAxis, YLinearAxis, CrosshairLine } from '../../properties';
2
2
  /**
3
3
  * 百分比面积图类型定义
4
4
  * @description 百分比面积图,适用于展示多类别占比随时间变化的趋势,Y轴以百分比形式展示占比关系
@@ -78,6 +78,11 @@ export interface AreaPercent {
78
78
  * @description 数值轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YLinearAxis;
81
+ /**
82
+ * 垂直提示线
83
+ * @description 鼠标移动到图表上时, 显示的垂直提示线
84
+ */
85
+ crosshairLine?: CrosshairLine;
81
86
  /**
82
87
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
88
  * @default light 默认为亮色主题
@@ -87,6 +92,33 @@ export interface AreaPercent {
87
92
  * @example 'customThemeName'
88
93
  */
89
94
  theme?: Theme;
95
+ /**
96
+ * 点图元样式
97
+ * @description 点图元样式配置, 用于定义图表的点图元样式, 包括点图元的颜色, 边框等.
98
+ * 支持全局样式或条件样式配置
99
+ * 数据筛选器
100
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
101
+ * 若未配置selector, 则样式全局生效.
102
+ */
103
+ pointStyle?: PointStyle | PointStyle[];
104
+ /**
105
+ * 线图元样式
106
+ * @description 线图元样式配置, 用于定义图表的线图元样式, 包括线图元的颜色, 透明度, 曲线等.
107
+ * 支持全局样式或条件样式配置
108
+ * 数据筛选器
109
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
110
+ * 若未配置selector, 则样式全局生效.
111
+ */
112
+ lineStyle?: LineStyle | LineStyle[];
113
+ /**
114
+ * 面积图元样式
115
+ * @description 面积图元样式配置, 用于定义图表的面积图元样式, 包括面积图元的颜色, 透明度, 边框等.
116
+ * 支持全局样式或条件样式配置
117
+ * 数据筛选器
118
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
119
+ * 若未配置selector, 则样式全局生效.
120
+ */
121
+ areaStyle?: AreaStyle | AreaStyle[];
90
122
  /**
91
123
  * 标注点
92
124
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -103,8 +135,8 @@ export interface AreaPercent {
103
135
  */
104
136
  annotationHorizontalLine?: AnnotationHorizontalLine | AnnotationHorizontalLine[];
105
137
  /**
106
- * 标注区域
107
- * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
108
- */
138
+ * 标注区域
139
+ * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
140
+ */
109
141
  annotationArea?: AnnotationArea | AnnotationArea[];
110
142
  }
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
2
2
  /**
3
3
  * 条形图类型定义
4
4
  * @description 条形图,适用于横向数据对比场景,Y轴为类目轴(分类数据),X轴为数值轴(连续数据),柱子横向排列
@@ -78,6 +78,17 @@ export interface Bar {
78
78
  * @description 类目轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YBandAxis;
81
+ /**
82
+ * 水平提示框
83
+ * @description 水平提示框配置, 用于定义图表的水平提示框, 包括水平提示框的颜色、标签样式等.
84
+ */
85
+ crosshairRect?: CrosshairRect;
86
+ /**
87
+ * 条形图 堆叠圆角
88
+ * @description 条形图 堆叠圆角
89
+ * @default 8
90
+ */
91
+ stackCornerRadius?: StackCornerRadius;
81
92
  /**
82
93
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
94
  * @default light 默认为亮色主题
@@ -95,7 +106,7 @@ export interface Bar {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
2
2
  /**
3
3
  * 并列条形图类型定义
4
4
  * @description 并列条形图,适用于多指标横向并行对比场景,多个条形平行排列展示不同指标值
@@ -78,6 +78,17 @@ export interface BarParallel {
78
78
  * @description 类目轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YBandAxis;
81
+ /**
82
+ * 水平提示框
83
+ * @description 水平提示框配置, 用于定义图表的水平提示框, 包括水平提示框的颜色、标签样式等.
84
+ */
85
+ crosshairRect?: CrosshairRect;
86
+ /**
87
+ * 条形图 堆叠圆角
88
+ * @description 条形图 堆叠圆角
89
+ * @default 8
90
+ */
91
+ stackCornerRadius?: StackCornerRadius;
81
92
  /**
82
93
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
94
  * @default light 默认为亮色主题
@@ -95,7 +106,7 @@ export interface BarParallel {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis } from '../../properties';
2
2
  /**
3
3
  * 百分比条形图类型定义
4
4
  * @description 百分比条形图,适用于横向展示各类别占比关系的场景,X轴以百分比形式展示数据占比
@@ -78,6 +78,17 @@ export interface BarPercent {
78
78
  * @description 类目轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YBandAxis;
81
+ /**
82
+ * 水平提示框
83
+ * @description 水平提示框配置, 用于定义图表的水平提示框, 包括水平提示框的颜色、标签样式等.
84
+ */
85
+ crosshairRect?: CrosshairRect;
86
+ /**
87
+ * 条形图 堆叠圆角
88
+ * @description 条形图 堆叠圆角
89
+ * @default 8
90
+ */
91
+ stackCornerRadius?: StackCornerRadius;
81
92
  /**
82
93
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
94
  * @default light 默认为亮色主题
@@ -95,7 +106,7 @@ export interface BarPercent {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
2
2
  /**
3
3
  * 柱状图类型定义
4
4
  * @description 柱状图,适用于纵向数据对比场景,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),柱子纵向排列
@@ -87,6 +87,17 @@ export interface Column {
87
87
  * @example 'customThemeName'
88
88
  */
89
89
  theme?: Theme;
90
+ /**
91
+ * 垂直提示框
92
+ * @description 垂直提示框配置, 用于定义图表的垂直提示框, 包括垂直提示框的颜色、标签样式等.
93
+ */
94
+ crosshairRect?: CrosshairRect;
95
+ /**
96
+ * 柱状图 堆叠圆角
97
+ * @description 条形图 堆叠圆角
98
+ * @default 8
99
+ */
100
+ stackCornerRadius?: StackCornerRadius;
90
101
  /**
91
102
  * 矩形图元样式
92
103
  * @description 条形图样式配置, 用于定义图表的条形图样式, 包括条形图的颜色, 边框, 圆角等.
@@ -95,7 +106,7 @@ export interface Column {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
2
2
  /**
3
3
  * 并列柱状图类型定义
4
4
  * @description 并列柱状图,适用于多指标并行对比场景,多个柱子并列排列展示不同指标值
@@ -78,6 +78,17 @@ export interface ColumnParallel {
78
78
  * @description 数值轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YLinearAxis;
81
+ /**
82
+ * 垂直提示框
83
+ * @description 垂直提示框配置, 用于定义图表的垂直提示框, 包括垂直提示框的颜色、标签样式等.
84
+ */
85
+ crosshairRect?: CrosshairRect;
86
+ /**
87
+ * 柱状图 堆叠圆角
88
+ * @description 条形图 堆叠圆角
89
+ * @default 8
90
+ */
91
+ stackCornerRadius?: StackCornerRadius;
81
92
  /**
82
93
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
94
  * @default light 默认为亮色主题
@@ -95,7 +106,7 @@ export interface ColumnParallel {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Measures, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
2
2
  /**
3
3
  * 百分比柱状图类型定义
4
4
  * @description 百分比柱状图,适用于展示各类别占比关系的场景,Y轴以百分比形式展示数据占比
@@ -78,6 +78,17 @@ export interface ColumnPercent {
78
78
  * @description 数值轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YLinearAxis;
81
+ /**
82
+ * 垂直提示框
83
+ * @description 垂直提示框配置, 用于定义图表的垂直提示框, 包括垂直提示框的颜色、标签样式等.
84
+ */
85
+ crosshairRect?: CrosshairRect;
86
+ /**
87
+ * 柱状图 堆叠圆角
88
+ * @description 条形图 堆叠圆角
89
+ * @default 8
90
+ */
91
+ stackCornerRadius?: StackCornerRadius;
81
92
  /**
82
93
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
94
  * @default light 默认为亮色主题
@@ -95,7 +106,7 @@ export interface ColumnPercent {
95
106
  * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
96
107
  * 若未配置selector, 则样式全局生效.
97
108
  */
98
- barStyle?: BarStyle;
109
+ barStyle?: BarStyle | BarStyle[];
99
110
  /**
100
111
  * 标注点
101
112
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -1,4 +1,4 @@
1
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, Measures, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
1
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, Dataset, Dimensions, Label, Legend, LineStyle, Measures, PointStyle, Theme, Tooltip, CrosshairLine, XBandAxis, YLinearAxis } from '../../properties';
2
2
  /**
3
3
  * 折线图类型定义
4
4
  * @description 折线图,适用于展示数据随时间或有序类别变化的趋势,通过线段连接数据点形成趋势线
@@ -78,6 +78,11 @@ export interface Line {
78
78
  * @description 数值轴, y轴配置, 用于定义图表的y轴, 包括y轴的位置, 格式, 样式等.
79
79
  */
80
80
  yAxis?: YLinearAxis;
81
+ /**
82
+ * 垂直提示线
83
+ * @description 鼠标移动到图表上时, 显示的垂直提示线
84
+ */
85
+ crosshairLine?: CrosshairLine;
81
86
  /**
82
87
  * 图表的主题, 主题是优先级较低的功能配置, 包含所有图表类型共用的通用配置, 与单类图表类型共用的图表配置
83
88
  * @default light 默认为亮色主题
@@ -87,6 +92,24 @@ export interface Line {
87
92
  * @example 'customThemeName'
88
93
  */
89
94
  theme?: Theme;
95
+ /**
96
+ * 点图元样式
97
+ * @description 点图元样式配置, 用于定义图表的点图元样式, 包括点图元的颜色, 边框等.
98
+ * 支持全局样式或条件样式配置
99
+ * 数据筛选器
100
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
101
+ * 若未配置selector, 则样式全局生效.
102
+ */
103
+ pointStyle?: PointStyle | PointStyle[];
104
+ /**
105
+ * 线图元样式
106
+ * @description 线图元样式配置, 用于定义图表的线图元样式, 包括线图元的颜色, 透明度, 曲线等.
107
+ * 支持全局样式或条件样式配置
108
+ * 数据筛选器
109
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
110
+ * 若未配置selector, 则样式全局生效.
111
+ */
112
+ lineStyle?: LineStyle | LineStyle[];
90
113
  /**
91
114
  * 标注点
92
115
  * @description 标注点配置, 根据选择的数据, 定义图表的标注点, 包括标注点的位置, 格式, 样式等.
@@ -103,8 +126,8 @@ export interface Line {
103
126
  */
104
127
  annotationHorizontalLine?: AnnotationHorizontalLine | AnnotationHorizontalLine[];
105
128
  /**
106
- * 标注区域
107
- * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
108
- */
129
+ * 标注区域
130
+ * @description 标注区域配置, 根据选择的数据, 定义图表的标注区域, 包括标注区域的位置, 样式等.
131
+ */
109
132
  annotationArea?: AnnotationArea | AnnotationArea[];
110
133
  }
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zConfig: z.ZodObject<{
3
3
  line: z.ZodOptional<z.ZodObject<{
4
- xAxis: z.ZodObject<{
4
+ xAxis: z.ZodOptional<z.ZodObject<{
5
5
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
6
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
7
7
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -39,8 +39,8 @@ export declare const zConfig: z.ZodObject<{
39
39
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
40
40
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
41
41
  }, z.core.$strip>>;
42
- }, z.core.$strip>;
43
- yAxis: z.ZodObject<{
42
+ }, z.core.$strip>>;
43
+ yAxis: z.ZodOptional<z.ZodObject<{
44
44
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
45
45
  min: z.ZodOptional<z.ZodNumber>;
46
46
  max: z.ZodOptional<z.ZodNumber>;
@@ -77,10 +77,17 @@ export declare const zConfig: z.ZodObject<{
77
77
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
78
78
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
79
79
  }, z.core.$strip>>;
80
- }, z.core.$strip>;
80
+ }, z.core.$strip>>;
81
+ crosshairLine: z.ZodOptional<z.ZodObject<{
82
+ visible: z.ZodOptional<z.ZodBoolean>;
83
+ lineColor: z.ZodOptional<z.ZodString>;
84
+ labelColor: z.ZodOptional<z.ZodString>;
85
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
86
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
87
+ }, z.core.$strip>>;
81
88
  }, z.core.$strip>>;
82
89
  column: z.ZodOptional<z.ZodObject<{
83
- xAxis: z.ZodObject<{
90
+ xAxis: z.ZodOptional<z.ZodObject<{
84
91
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
85
92
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
86
93
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -118,8 +125,8 @@ export declare const zConfig: z.ZodObject<{
118
125
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
119
126
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
120
127
  }, z.core.$strip>>;
121
- }, z.core.$strip>;
122
- yAxis: z.ZodObject<{
128
+ }, z.core.$strip>>;
129
+ yAxis: z.ZodOptional<z.ZodObject<{
123
130
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
124
131
  min: z.ZodOptional<z.ZodNumber>;
125
132
  max: z.ZodOptional<z.ZodNumber>;
@@ -156,10 +163,18 @@ export declare const zConfig: z.ZodObject<{
156
163
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
157
164
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
158
165
  }, z.core.$strip>>;
159
- }, z.core.$strip>;
166
+ }, z.core.$strip>>;
167
+ crosshairRect: z.ZodOptional<z.ZodObject<{
168
+ visible: z.ZodOptional<z.ZodBoolean>;
169
+ rectColor: z.ZodOptional<z.ZodString>;
170
+ labelColor: z.ZodOptional<z.ZodString>;
171
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
172
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
173
+ }, z.core.$strip>>;
174
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
160
175
  }, z.core.$strip>>;
161
176
  columnParallel: z.ZodOptional<z.ZodObject<{
162
- xAxis: z.ZodObject<{
177
+ xAxis: z.ZodOptional<z.ZodObject<{
163
178
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
164
179
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
165
180
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -197,8 +212,8 @@ export declare const zConfig: z.ZodObject<{
197
212
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
198
213
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
199
214
  }, z.core.$strip>>;
200
- }, z.core.$strip>;
201
- yAxis: z.ZodObject<{
215
+ }, z.core.$strip>>;
216
+ yAxis: z.ZodOptional<z.ZodObject<{
202
217
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
203
218
  min: z.ZodOptional<z.ZodNumber>;
204
219
  max: z.ZodOptional<z.ZodNumber>;
@@ -235,10 +250,18 @@ export declare const zConfig: z.ZodObject<{
235
250
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
236
251
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
237
252
  }, z.core.$strip>>;
238
- }, z.core.$strip>;
253
+ }, z.core.$strip>>;
254
+ crosshairRect: z.ZodOptional<z.ZodObject<{
255
+ visible: z.ZodOptional<z.ZodBoolean>;
256
+ rectColor: z.ZodOptional<z.ZodString>;
257
+ labelColor: z.ZodOptional<z.ZodString>;
258
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
259
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
260
+ }, z.core.$strip>>;
261
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
239
262
  }, z.core.$strip>>;
240
263
  columnPercent: z.ZodOptional<z.ZodObject<{
241
- xAxis: z.ZodObject<{
264
+ xAxis: z.ZodOptional<z.ZodObject<{
242
265
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
243
266
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
244
267
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -276,8 +299,8 @@ export declare const zConfig: z.ZodObject<{
276
299
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
277
300
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
278
301
  }, z.core.$strip>>;
279
- }, z.core.$strip>;
280
- yAxis: z.ZodObject<{
302
+ }, z.core.$strip>>;
303
+ yAxis: z.ZodOptional<z.ZodObject<{
281
304
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
282
305
  min: z.ZodOptional<z.ZodNumber>;
283
306
  max: z.ZodOptional<z.ZodNumber>;
@@ -314,10 +337,18 @@ export declare const zConfig: z.ZodObject<{
314
337
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
315
338
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
316
339
  }, z.core.$strip>>;
317
- }, z.core.$strip>;
340
+ }, z.core.$strip>>;
341
+ crosshairRect: z.ZodOptional<z.ZodObject<{
342
+ visible: z.ZodOptional<z.ZodBoolean>;
343
+ rectColor: z.ZodOptional<z.ZodString>;
344
+ labelColor: z.ZodOptional<z.ZodString>;
345
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
346
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
347
+ }, z.core.$strip>>;
348
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
318
349
  }, z.core.$strip>>;
319
350
  bar: z.ZodOptional<z.ZodObject<{
320
- xAxis: z.ZodObject<{
351
+ xAxis: z.ZodOptional<z.ZodObject<{
321
352
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
322
353
  min: z.ZodOptional<z.ZodNumber>;
323
354
  max: z.ZodOptional<z.ZodNumber>;
@@ -354,8 +385,8 @@ export declare const zConfig: z.ZodObject<{
354
385
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
355
386
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
356
387
  }, z.core.$strip>>;
357
- }, z.core.$strip>;
358
- yAxis: z.ZodObject<{
388
+ }, z.core.$strip>>;
389
+ yAxis: z.ZodOptional<z.ZodObject<{
359
390
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
360
391
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
361
392
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -393,10 +424,18 @@ export declare const zConfig: z.ZodObject<{
393
424
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
394
425
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
395
426
  }, z.core.$strip>>;
396
- }, z.core.$strip>;
427
+ }, z.core.$strip>>;
428
+ crosshairRect: z.ZodOptional<z.ZodObject<{
429
+ visible: z.ZodOptional<z.ZodBoolean>;
430
+ rectColor: z.ZodOptional<z.ZodString>;
431
+ labelColor: z.ZodOptional<z.ZodString>;
432
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
433
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
434
+ }, z.core.$strip>>;
435
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
397
436
  }, z.core.$strip>>;
398
437
  barParallel: z.ZodOptional<z.ZodObject<{
399
- xAxis: z.ZodObject<{
438
+ xAxis: z.ZodOptional<z.ZodObject<{
400
439
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
401
440
  min: z.ZodOptional<z.ZodNumber>;
402
441
  max: z.ZodOptional<z.ZodNumber>;
@@ -433,8 +472,8 @@ export declare const zConfig: z.ZodObject<{
433
472
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
434
473
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
435
474
  }, z.core.$strip>>;
436
- }, z.core.$strip>;
437
- yAxis: z.ZodObject<{
475
+ }, z.core.$strip>>;
476
+ yAxis: z.ZodOptional<z.ZodObject<{
438
477
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
439
478
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
440
479
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -472,10 +511,18 @@ export declare const zConfig: z.ZodObject<{
472
511
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
473
512
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
474
513
  }, z.core.$strip>>;
475
- }, z.core.$strip>;
514
+ }, z.core.$strip>>;
515
+ crosshairRect: z.ZodOptional<z.ZodObject<{
516
+ visible: z.ZodOptional<z.ZodBoolean>;
517
+ rectColor: z.ZodOptional<z.ZodString>;
518
+ labelColor: z.ZodOptional<z.ZodString>;
519
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
520
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
521
+ }, z.core.$strip>>;
522
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
476
523
  }, z.core.$strip>>;
477
524
  barPercent: z.ZodOptional<z.ZodObject<{
478
- xAxis: z.ZodObject<{
525
+ xAxis: z.ZodOptional<z.ZodObject<{
479
526
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
480
527
  min: z.ZodOptional<z.ZodNumber>;
481
528
  max: z.ZodOptional<z.ZodNumber>;
@@ -512,8 +559,8 @@ export declare const zConfig: z.ZodObject<{
512
559
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
513
560
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
514
561
  }, z.core.$strip>>;
515
- }, z.core.$strip>;
516
- yAxis: z.ZodObject<{
562
+ }, z.core.$strip>>;
563
+ yAxis: z.ZodOptional<z.ZodObject<{
517
564
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
518
565
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
519
566
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -551,10 +598,18 @@ export declare const zConfig: z.ZodObject<{
551
598
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
552
599
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
553
600
  }, z.core.$strip>>;
554
- }, z.core.$strip>;
601
+ }, z.core.$strip>>;
602
+ crosshairRect: z.ZodOptional<z.ZodObject<{
603
+ visible: z.ZodOptional<z.ZodBoolean>;
604
+ rectColor: z.ZodOptional<z.ZodString>;
605
+ labelColor: z.ZodOptional<z.ZodString>;
606
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
607
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
608
+ }, z.core.$strip>>;
609
+ stackCornerRadius: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
555
610
  }, z.core.$strip>>;
556
611
  area: z.ZodOptional<z.ZodObject<{
557
- xAxis: z.ZodObject<{
612
+ xAxis: z.ZodOptional<z.ZodObject<{
558
613
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
559
614
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
560
615
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -592,8 +647,8 @@ export declare const zConfig: z.ZodObject<{
592
647
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
593
648
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
594
649
  }, z.core.$strip>>;
595
- }, z.core.$strip>;
596
- yAxis: z.ZodObject<{
650
+ }, z.core.$strip>>;
651
+ yAxis: z.ZodOptional<z.ZodObject<{
597
652
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
598
653
  min: z.ZodOptional<z.ZodNumber>;
599
654
  max: z.ZodOptional<z.ZodNumber>;
@@ -630,10 +685,17 @@ export declare const zConfig: z.ZodObject<{
630
685
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
631
686
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
632
687
  }, z.core.$strip>>;
633
- }, z.core.$strip>;
688
+ }, z.core.$strip>>;
689
+ crosshairLine: z.ZodOptional<z.ZodObject<{
690
+ visible: z.ZodOptional<z.ZodBoolean>;
691
+ lineColor: z.ZodOptional<z.ZodString>;
692
+ labelColor: z.ZodOptional<z.ZodString>;
693
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
694
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
695
+ }, z.core.$strip>>;
634
696
  }, z.core.$strip>>;
635
697
  areaPercent: z.ZodOptional<z.ZodObject<{
636
- xAxis: z.ZodObject<{
698
+ xAxis: z.ZodOptional<z.ZodObject<{
637
699
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
638
700
  labelAutoHide: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
639
701
  labelAutoHideGap: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
@@ -671,8 +733,8 @@ export declare const zConfig: z.ZodObject<{
671
733
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
672
734
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
673
735
  }, z.core.$strip>>;
674
- }, z.core.$strip>;
675
- yAxis: z.ZodObject<{
736
+ }, z.core.$strip>>;
737
+ yAxis: z.ZodOptional<z.ZodObject<{
676
738
  visible: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
677
739
  min: z.ZodOptional<z.ZodNumber>;
678
740
  max: z.ZodOptional<z.ZodNumber>;
@@ -709,7 +771,14 @@ export declare const zConfig: z.ZodObject<{
709
771
  gridColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
710
772
  gridWidth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
711
773
  }, z.core.$strip>>;
712
- }, z.core.$strip>;
774
+ }, z.core.$strip>>;
775
+ crosshairLine: z.ZodOptional<z.ZodObject<{
776
+ visible: z.ZodOptional<z.ZodBoolean>;
777
+ lineColor: z.ZodOptional<z.ZodString>;
778
+ labelColor: z.ZodOptional<z.ZodString>;
779
+ labelVisible: z.ZodOptional<z.ZodBoolean>;
780
+ labelBackgroundColor: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strip>>;
713
782
  }, z.core.$strip>>;
714
783
  pie: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
715
784
  donut: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;