@visactor/vseed 0.1.36 → 0.1.37

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 (87) hide show
  1. package/dist/cjs/index.cjs +2 -2
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/builder.d.ts +36 -0
  4. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +3 -1
  5. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
  6. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +3 -1
  7. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
  8. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +2 -1
  9. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  10. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -1
  11. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  12. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +2 -1
  13. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  14. package/dist/esm/pipeline/spec/chart/pipeline/column.js +2 -1
  15. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  16. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -1
  17. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  18. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +2 -1
  19. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  20. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +9 -1
  21. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  22. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.d.ts +2 -0
  23. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.js +14 -0
  24. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.js.map +1 -0
  25. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.d.ts +2 -0
  26. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.js +14 -0
  27. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.js.map +1 -0
  28. package/dist/esm/pipeline/spec/chart/pipes/barWidth/index.d.ts +2 -0
  29. package/dist/esm/pipeline/spec/chart/pipes/barWidth/index.js +2 -0
  30. package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
  31. package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
  32. package/dist/esm/pipeline/spec/chart/pipes/label/label.js +2 -1
  33. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  34. package/dist/esm/theme/common/annotaion.d.ts +3 -0
  35. package/dist/esm/theme/common/annotaion.js +33 -49
  36. package/dist/esm/theme/common/annotaion.js.map +1 -1
  37. package/dist/esm/theme/common/label.d.ts +18 -0
  38. package/dist/esm/theme/common/label.js +9 -1
  39. package/dist/esm/theme/common/label.js.map +1 -1
  40. package/dist/esm/theme/dark/dark.js +2 -2
  41. package/dist/esm/theme/dark/dark.js.map +1 -1
  42. package/dist/esm/theme/light/light.js +2 -2
  43. package/dist/esm/theme/light/light.js.map +1 -1
  44. package/dist/esm/types/advancedVSeed.d.ts +12 -0
  45. package/dist/esm/types/chartType/bar/bar.d.ts +5 -1
  46. package/dist/esm/types/chartType/bar/zBar.d.ts +1 -0
  47. package/dist/esm/types/chartType/bar/zBar.js +2 -1
  48. package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
  49. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +9 -1
  50. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +2 -0
  51. package/dist/esm/types/chartType/barParallel/zBarParallel.js +3 -1
  52. package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
  53. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +5 -1
  54. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +1 -0
  55. package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
  56. package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
  57. package/dist/esm/types/chartType/column/column.d.ts +5 -1
  58. package/dist/esm/types/chartType/column/zColumn.d.ts +1 -0
  59. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  60. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  61. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +9 -1
  62. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +2 -0
  63. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +3 -1
  64. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
  65. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +5 -1
  66. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +1 -0
  67. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
  68. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
  69. package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +9 -1
  70. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +2 -0
  71. package/dist/esm/types/chartType/dualAxis/zDualAxis.js +3 -1
  72. package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
  73. package/dist/esm/types/properties/config/barWidth/index.d.ts +5 -0
  74. package/dist/esm/types/properties/config/barWidth/index.js +6 -0
  75. package/dist/esm/types/properties/config/barWidth/index.js.map +1 -0
  76. package/dist/esm/types/properties/config/column.d.ts +6 -0
  77. package/dist/esm/types/properties/config/column.js +3 -0
  78. package/dist/esm/types/properties/config/column.js.map +1 -1
  79. package/dist/esm/types/properties/config/config.d.ts +6 -0
  80. package/dist/esm/types/properties/config/index.d.ts +1 -0
  81. package/dist/esm/types/properties/config/index.js +1 -0
  82. package/dist/esm/types/properties/config/label/label.d.ts +4 -0
  83. package/dist/esm/types/properties/theme/customTheme.d.ts +12 -0
  84. package/dist/esm/types/zVseed.d.ts +10 -0
  85. package/dist/umd/index.js +104 -55
  86. package/dist/umd/index.js.map +1 -1
  87. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XLinearAxis, YBandAxis, MeasureTree, Sort, SortLegend, BarMaxWidth } from '../../properties';
3
3
  /**
4
4
  * @description 百分比条形图,适用于横向展示各类别占比关系的场景,X轴以百分比形式展示数据占比
5
5
  * 适用场景:
@@ -87,6 +87,10 @@ export interface BarPercent {
87
87
  * @default 8
88
88
  */
89
89
  stackCornerRadius?: StackCornerRadius;
90
+ /**
91
+ * @description 矩形的最大高度,可以是像素值或者百分比字符串
92
+ */
93
+ barMaxWidth?: BarMaxWidth;
90
94
  /**
91
95
  * @description Y轴排序配置, 支持根据维度或指标排序, 以及自定义排序顺序
92
96
  * @example
@@ -338,6 +338,7 @@ export declare const zBarPercent: z.ZodObject<{
338
338
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
339
  }, z.core.$strip>>>;
340
340
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
341
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
341
342
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
343
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
343
344
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXLinearAxis, zYBandAxis } from "../../properties/index.js";
4
4
  const zBarPercent = z.object({
5
5
  chartType: z.literal('barPercent'),
6
6
  dataset: zDataset.nullish(),
@@ -16,6 +16,7 @@ const zBarPercent = z.object({
16
16
  yAxis: zYBandAxis.nullish(),
17
17
  crosshairRect: zCrosshairRect.nullish(),
18
18
  stackCornerRadius: zStackCornerRadius.nullish(),
19
+ barMaxWidth: zBarMaxWidth.nullish(),
19
20
  theme: zTheme.nullish(),
20
21
  barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
21
22
  annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/barPercent/zBarPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/barPercent/zBarPercent.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYBandAxis,\n} from '../../properties'\n\nexport const zBarPercent = z.object({\n chartType: z.literal('barPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zBarPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYBandAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUf,EAAE,KAAK,CAACgB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth } from '../../properties';
3
3
  /**
4
4
  * @description 柱状图,适用于纵向数据对比场景,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),柱子纵向排列
5
5
  * 适用场景:
@@ -119,6 +119,10 @@ export interface Column {
119
119
  * @default 8
120
120
  */
121
121
  stackCornerRadius?: StackCornerRadius;
122
+ /**
123
+ * @description 柱子的最大宽度,可以是像素值或者百分比字符串
124
+ */
125
+ barMaxWidth?: BarMaxWidth;
122
126
  /**
123
127
  * @description 矩形图元样式, 柱状图样式配置, 用于定义图表的柱状图样式, 包括柱状图的颜色, 边框, 圆角等.
124
128
  * 支持全局样式或条件样式配置
@@ -338,6 +338,7 @@ export declare const zColumn: z.ZodObject<{
338
338
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
339
  }, z.core.$strip>>>;
340
340
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
341
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
341
342
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
343
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
343
344
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zColumn = z.object({
5
5
  chartType: z.literal('column'),
6
6
  dataset: zDataset.nullish(),
@@ -16,6 +16,7 @@ const zColumn = z.object({
16
16
  yAxis: zYLinearAxis.nullish(),
17
17
  crosshairRect: zCrosshairRect.nullish(),
18
18
  stackCornerRadius: zStackCornerRadius.nullish(),
19
+ barMaxWidth: zBarMaxWidth.nullish(),
19
20
  theme: zTheme.nullish(),
20
21
  barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
21
22
  annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/column/zColumn.js","sources":["webpack://@visactor/vseed/./src/types/chartType/column/zColumn.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumn = z.object({\n chartType: z.literal('column'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumn","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUf,EAAE,KAAK,CAACgB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, SortLegend, Sort } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, SortLegend, Sort, BarMaxWidth, BarGapInGroup } from '../../properties';
3
3
  /**
4
4
  * @description 并列柱状图,适用于多指标并行对比场景,多个柱子并列排列展示不同指标值
5
5
  * 适用场景:
@@ -86,6 +86,14 @@ export interface ColumnParallel {
86
86
  * @default 8
87
87
  */
88
88
  stackCornerRadius?: StackCornerRadius;
89
+ /**
90
+ * @description 柱子的最大宽度,可以是像素值或者百分比字符串
91
+ */
92
+ barMaxWidth?: BarMaxWidth;
93
+ /**
94
+ * @description 同一分类下,柱子之间的距离,可以是像素值或者百分比字符串
95
+ */
96
+ barGapInGroup?: BarGapInGroup;
89
97
  /**
90
98
  * @description X轴排序配置, 支持根据维度或指标排序, 以及自定义排序顺序
91
99
  * @example
@@ -338,6 +338,8 @@ export declare const zColumnParallel: z.ZodObject<{
338
338
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
339
  }, z.core.$strip>>>;
340
340
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
341
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
342
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
341
343
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
344
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
343
345
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zColumnParallel = z.object({
5
5
  chartType: z.literal('columnParallel'),
6
6
  dataset: zDataset.nullish(),
@@ -16,6 +16,8 @@ const zColumnParallel = z.object({
16
16
  yAxis: zYLinearAxis.nullish(),
17
17
  crosshairRect: zCrosshairRect.nullish(),
18
18
  stackCornerRadius: zStackCornerRadius.nullish(),
19
+ barMaxWidth: zBarMaxWidth.nullish(),
20
+ barGapInGroup: zBarGapInGroup.nullish(),
19
21
  theme: zTheme.nullish(),
20
22
  barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
21
23
  annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAwBO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/columnParallel/zColumnParallel.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnParallel/zColumnParallel.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zColumnParallel = z.object({\n chartType: z.literal('columnParallel'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnParallel","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,UAAUhB,EAAE,KAAK,CAACiB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBjB,EAAE,KAAK,CAACkB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBlB,EAAE,KAAK,CAACmB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BnB,EAAE,KAAK,CAACoB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBpB,EAAE,KAAK,CAACqB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, StackCornerRadius, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, BarMaxWidth } from '../../properties';
3
3
  /**
4
4
  * @description 百分比柱状图,适用于展示各类别占比关系的场景,Y轴以百分比形式展示数据占比
5
5
  * 适用场景:
@@ -90,6 +90,10 @@ export interface ColumnPercent {
90
90
  * @description 并列柱状图 堆叠圆角
91
91
  */
92
92
  stackCornerRadius?: StackCornerRadius;
93
+ /**
94
+ * @description 柱子的最大宽度,可以是像素值或者百分比字符串
95
+ */
96
+ barMaxWidth?: BarMaxWidth;
93
97
  /**
94
98
  * @description X轴排序配置, 支持根据维度或指标排序, 以及自定义排序顺序
95
99
  * @example
@@ -338,6 +338,7 @@ export declare const zColumnPercent: z.ZodObject<{
338
338
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
339
  }, z.core.$strip>>>;
340
340
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
341
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
341
342
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
343
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
343
344
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  import { zLocale } from "../../i18n/index.js";
2
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
2
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zBackgroundColor, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zEncoding, zLabel, zLegend, zMeasureTree, zStackCornerRadius, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
3
  import { z } from "zod";
4
4
  const zColumnPercent = z.object({
5
5
  chartType: z.literal('columnPercent'),
@@ -16,6 +16,7 @@ const zColumnPercent = z.object({
16
16
  yAxis: zYLinearAxis.nullish(),
17
17
  crosshairRect: zCrosshairRect.nullish(),
18
18
  stackCornerRadius: zStackCornerRadius.nullish(),
19
+ barMaxWidth: zBarMaxWidth.nullish(),
19
20
  theme: zTheme.nullish(),
20
21
  barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
21
22
  annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AAyBO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,OAAOC,OAAO,OAAO;IACrB,UAAUd,EAAE,KAAK,CAACe,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBf,EAAE,KAAK,CAACgB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBhB,EAAE,KAAK,CAACiB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BjB,EAAE,KAAK,CAACkB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBlB,EAAE,KAAK,CAACmB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/columnPercent/zColumnPercent.js","sources":["webpack://@visactor/vseed/./src/types/chartType/columnPercent/zColumnPercent.ts"],"sourcesContent":["import { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zMeasureTree,\n zStackCornerRadius,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from '../../properties'\n\nimport { z } from 'zod'\n\nexport const zColumnPercent = z.object({\n chartType: z.literal('columnPercent'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n theme: zTheme.nullish(),\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zColumnPercent","z","zDataset","zEncoding","zDimensions","zMeasureTree","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zTheme","zBarStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA0BO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,UAAUC,UAAU,OAAO;IAC3B,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,OAAOC,OAAO,OAAO;IACrB,UAAUf,EAAE,KAAK,CAACgB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,iBAAiBhB,EAAE,KAAK,CAACiB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBjB,EAAE,KAAK,CAACkB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BlB,EAAE,KAAK,CAACmB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBnB,EAAE,KAAK,CAACoB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IACpE,QAAQC,QAAQ,OAAO;AACzB"}
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, BarStyle, Color, CrosshairRect, Dataset, Dimensions, DualChartType, DualMeasures, Label, Legend, LineStyle, MeasureTree, PointStyle, Sort, SortLegend, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, AreaStyle, BackgroundColor, BarGapInGroup, BarMaxWidth, BarStyle, Color, CrosshairRect, Dataset, Dimensions, DualChartType, DualMeasures, Label, Legend, LineStyle, MeasureTree, PointStyle, Sort, SortLegend, Theme, Tooltip, XBandAxis, YLinearAxis } from '../../properties';
3
3
  /**
4
4
  * @description 双轴图,适用于展示两个不同量级或不同单位指标的对比关系,包含主坐标轴和次坐标轴
5
5
  * 适用场景:
@@ -208,6 +208,14 @@ export interface DualAxis {
208
208
  * @example 'customThemeName'
209
209
  */
210
210
  theme?: Theme;
211
+ /**
212
+ * @description 柱子的最大宽度,可以是像素值或者百分比字符串
213
+ */
214
+ barMaxWidth?: BarMaxWidth;
215
+ /**
216
+ * @description 同一分类下,柱子之间的距离,可以是像素值或者百分比字符串
217
+ */
218
+ barGapInGroup?: BarGapInGroup;
211
219
  /**
212
220
  * 矩形图元样式
213
221
  * @description 条形图样式配置, 用于定义图表的条形图样式, 包括条形图的颜色, 边框, 圆角等.
@@ -874,6 +874,8 @@ export declare const zDualAxis: z.ZodObject<{
874
874
  customOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny>>>;
875
875
  }, z.core.$strip>>>;
876
876
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
878
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
877
879
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
878
880
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
879
881
  field: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import { zLocale } from "../../i18n/index.js";
3
- import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zDualChartType, zDualMeasures, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zSort, zSortLegend, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
3
+ import { zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zAreaStyle, zBackgroundColor, zBarGapInGroup, zBarMaxWidth, zBarStyle, zColor, zCrosshairRect, zDataset, zDimensions, zDualChartType, zDualMeasures, zLabel, zLegend, zLineStyle, zMeasureTree, zPointStyle, zSort, zSortLegend, zTheme, zTooltip, zXBandAxis, zYLinearAxis } from "../../properties/index.js";
4
4
  const zDualAxis = z.object({
5
5
  chartType: z.literal('dualAxis'),
6
6
  dataset: zDataset.nullish(),
@@ -21,6 +21,8 @@ const zDualAxis = z.object({
21
21
  sort: zSort.nullish(),
22
22
  sortLegend: zSortLegend.nullish(),
23
23
  theme: zTheme.nullish(),
24
+ barMaxWidth: zBarMaxWidth.nullish(),
25
+ barGapInGroup: zBarGapInGroup.nullish(),
24
26
  barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),
25
27
  pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),
26
28
  lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/dualAxis/zDualAxis.js","sources":["webpack://@visactor/vseed/./src/types/chartType/dualAxis/zDualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from 'src/types/i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zDualChartType,\n zDualMeasures,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from 'src/types/properties'\n\nexport const zDualAxis = z.object({\n chartType: z.literal('dualAxis'),\n\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n dualMeasures: zDualMeasures.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n\n primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n xAxis: zXBandAxis.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n\n crosshairRect: zCrosshairRect.nullish(),\n sort: zSort.nullish(),\n sortLegend: zSortLegend.nullish(),\n theme: zTheme.nullish(),\n\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).nullish(),\n\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n\n locale: zLocale.nullish(),\n})\n"],"names":["zDualAxis","z","zDataset","zDimensions","zMeasureTree","zDualMeasures","zDualChartType","zYLinearAxis","zXBandAxis","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zCrosshairRect","zSort","zSortLegend","zTheme","zBarStyle","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA6BO,MAAMA,YAAYC,EAAE,MAAM,CAAC;IAChC,WAAWA,EAAE,OAAO,CAAC;IAErB,SAASC,SAAS,OAAO;IACzB,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,cAAcC,cAAc,OAAO;IAEnC,eAAeJ,EAAE,KAAK,CAACK,gBAAgB,EAAE,CAACA,gBAAgB,OAAO;IACjE,YAAYL,EAAE,KAAK,CAACA,EAAE,OAAO,IAAI,EAAE,CAACA,EAAE,OAAO,IAAI,OAAO;IAExD,cAAcA,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC5D,gBAAgBN,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC9D,OAAOC,WAAW,OAAO;IAEzB,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IAEzB,eAAeC,eAAe,OAAO;IACrC,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,OAAOC,OAAO,OAAO;IAErB,UAAUhB,EAAE,KAAK,CAACiB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,YAAYjB,EAAE,KAAK,CAACkB,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWlB,EAAE,KAAK,CAACmB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWnB,EAAE,KAAK,CAACoB,YAAY,EAAE,CAACA,YAAY,OAAO;IAErD,iBAAiBpB,EAAE,KAAK,CAACqB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBrB,EAAE,KAAK,CAACsB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BtB,EAAE,KAAK,CAACuB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBvB,EAAE,KAAK,CAACwB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IAEpE,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/dualAxis/zDualAxis.js","sources":["webpack://@visactor/vseed/./src/types/chartType/dualAxis/zDualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from 'src/types/i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zBarGapInGroup,\n zBarMaxWidth,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zDualChartType,\n zDualMeasures,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from 'src/types/properties'\n\nexport const zDualAxis = z.object({\n chartType: z.literal('dualAxis'),\n\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n dualMeasures: zDualMeasures.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n\n primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n xAxis: zXBandAxis.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n\n crosshairRect: zCrosshairRect.nullish(),\n sort: zSort.nullish(),\n sortLegend: zSortLegend.nullish(),\n theme: zTheme.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.nullish(),\n\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).nullish(),\n\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n\n locale: zLocale.nullish(),\n})\n"],"names":["zDualAxis","z","zDataset","zDimensions","zMeasureTree","zDualMeasures","zDualChartType","zYLinearAxis","zXBandAxis","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zCrosshairRect","zSort","zSortLegend","zTheme","zBarMaxWidth","zBarGapInGroup","zBarStyle","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA+BO,MAAMA,YAAYC,EAAE,MAAM,CAAC;IAChC,WAAWA,EAAE,OAAO,CAAC;IAErB,SAASC,SAAS,OAAO;IACzB,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,cAAcC,cAAc,OAAO;IAEnC,eAAeJ,EAAE,KAAK,CAACK,gBAAgB,EAAE,CAACA,gBAAgB,OAAO;IACjE,YAAYL,EAAE,KAAK,CAACA,EAAE,OAAO,IAAI,EAAE,CAACA,EAAE,OAAO,IAAI,OAAO;IAExD,cAAcA,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC5D,gBAAgBN,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC9D,OAAOC,WAAW,OAAO;IAEzB,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IAEzB,eAAeC,eAAe,OAAO;IACrC,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,OAAOC,OAAO,OAAO;IACrB,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IAErC,UAAUlB,EAAE,KAAK,CAACmB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,YAAYnB,EAAE,KAAK,CAACoB,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWpB,EAAE,KAAK,CAACqB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWrB,EAAE,KAAK,CAACsB,YAAY,EAAE,CAACA,YAAY,OAAO;IAErD,iBAAiBtB,EAAE,KAAK,CAACuB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBvB,EAAE,KAAK,CAACwB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BxB,EAAE,KAAK,CAACyB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBzB,EAAE,KAAK,CAAC0B,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IAEpE,QAAQC,QAAQ,OAAO;AACzB"}
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const zBarMaxWidth: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
3
+ export type BarMaxWidth = z.infer<typeof zBarMaxWidth>;
4
+ export declare const zBarGapInGroup: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
5
+ export type BarGapInGroup = z.infer<typeof zBarGapInGroup>;
@@ -0,0 +1,6 @@
1
+ import { z } from "zod";
2
+ const zBarMaxWidth = z.number().or(z.string());
3
+ const zBarGapInGroup = z.number().or(z.string());
4
+ export { zBarGapInGroup, zBarMaxWidth };
5
+
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types/properties/config/barWidth/index.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/barWidth/index.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zBarMaxWidth = z.number().or(z.string())\n\nexport type BarMaxWidth = z.infer<typeof zBarMaxWidth>\n\nexport const zBarGapInGroup = z.number().or(z.string())\n\nexport type BarGapInGroup = z.infer<typeof zBarGapInGroup>\n"],"names":["zBarMaxWidth","z","zBarGapInGroup"],"mappings":";AAEO,MAAMA,eAAeC,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,MAAM;AAI3C,MAAMC,iBAAiBD,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,MAAM"}
@@ -227,6 +227,8 @@ export declare const zColumnConfig: z.ZodObject<{
227
227
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
228
  }, z.core.$strip>>>;
229
229
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
230
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
231
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
230
232
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
231
233
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
234
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -549,6 +551,8 @@ export declare const zColumnParallelConfig: z.ZodObject<{
549
551
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
550
552
  }, z.core.$strip>>>;
551
553
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
554
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
555
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
552
556
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
553
557
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
554
558
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -871,6 +875,8 @@ export declare const zColumnPercentConfig: z.ZodObject<{
871
875
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
876
  }, z.core.$strip>>>;
873
877
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
878
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
879
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
874
880
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
875
881
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
882
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9,6 +9,7 @@ import { zLegend } from "./legend/legend.js";
9
9
  import { zTooltip } from "./tooltip/tooltip.js";
10
10
  import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
11
11
  import { zPivotChartGridConfig } from "./pivotGrid/index.js";
12
+ import { zBarGapInGroup, zBarMaxWidth } from "./barWidth/index.js";
12
13
  const zColumnConfig = z.object({
13
14
  backgroundColor: zBackgroundColor.nullish(),
14
15
  label: zLabel.nullish(),
@@ -19,6 +20,8 @@ const zColumnConfig = z.object({
19
20
  yAxis: zYLinearAxis.nullish(),
20
21
  crosshairRect: zCrosshairRect.nullish(),
21
22
  stackCornerRadius: zStackCornerRadius.nullish(),
23
+ barMaxWidth: zBarMaxWidth.nullish(),
24
+ barGapInGroup: zBarGapInGroup.nullish(),
22
25
  pivotGrid: zPivotChartGridConfig.nullish(),
23
26
  annotation: zAnnotationConfig.nullish()
24
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/config/column.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/column.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\n\nexport const zColumnConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n})\nexport const zColumnParallelConfig = zColumnConfig\nexport const zColumnPercentConfig = zColumnConfig\n\nexport type ColumnConfig = z.infer<typeof zColumnConfig>\nexport type ColumnParallelConfig = z.infer<typeof zColumnParallelConfig>\nexport type ColumnPercentConfig = z.infer<typeof zColumnPercentConfig>\n"],"names":["zColumnConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zColumnParallelConfig","zColumnPercentConfig"],"mappings":";;;;;;;;;;;AAYO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;AACvC;AACO,MAAMC,wBAAwBb;AAC9B,MAAMc,uBAAuBd"}
1
+ {"version":3,"file":"types/properties/config/column.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/column.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\nimport { zStackCornerRadius } from './stackCornerRadius/stackCornerRadius'\nimport { zBackgroundColor } from './backgroundColor/backgroundColor'\nimport { zColor } from './color/color'\nimport { zLabel } from './label'\nimport { zLegend } from './legend/legend'\nimport { zTooltip } from './tooltip/tooltip'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zBarGapInGroup, zBarMaxWidth } from './barWidth'\n\nexport const zColumnConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n xAxis: zXBandAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n stackCornerRadius: zStackCornerRadius.nullish(),\n barMaxWidth: zBarMaxWidth.nullish(),\n barGapInGroup: zBarGapInGroup.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n})\nexport const zColumnParallelConfig = zColumnConfig\nexport const zColumnPercentConfig = zColumnConfig\n\nexport type ColumnConfig = z.infer<typeof zColumnConfig>\nexport type ColumnParallelConfig = z.infer<typeof zColumnParallelConfig>\nexport type ColumnPercentConfig = z.infer<typeof zColumnPercentConfig>\n"],"names":["zColumnConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zBarMaxWidth","zBarGapInGroup","zPivotChartGridConfig","zAnnotationConfig","zColumnParallelConfig","zColumnPercentConfig"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,WAAW,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,mBAAmBC,mBAAmB,OAAO;IAC7C,aAAaC,aAAa,OAAO;IACjC,eAAeC,eAAe,OAAO;IACrC,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;AACvC;AACO,MAAMC,wBAAwBf;AAC9B,MAAMgB,uBAAuBhB"}
@@ -583,6 +583,8 @@ export declare const zConfig: z.ZodObject<{
583
583
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
584
  }, z.core.$strip>>>;
585
585
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
586
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
587
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
586
588
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
587
589
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
590
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -905,6 +907,8 @@ export declare const zConfig: z.ZodObject<{
905
907
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
908
  }, z.core.$strip>>>;
907
909
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
910
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
911
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
908
912
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
909
913
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
914
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1227,6 +1231,8 @@ export declare const zConfig: z.ZodObject<{
1227
1231
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1228
1232
  }, z.core.$strip>>>;
1229
1233
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
1234
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1235
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1230
1236
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1231
1237
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
1238
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9,6 +9,7 @@ export * from './label';
9
9
  export * from './legend';
10
10
  export * from './pivotGrid';
11
11
  export * from './stackCornerRadius';
12
+ export * from './barWidth';
12
13
  export * from './tooltip';
13
14
  export * from './area';
14
15
  export * from './bar';
@@ -9,6 +9,7 @@ export * from "./label/index.js";
9
9
  export * from "./legend/index.js";
10
10
  export * from "./pivotGrid/index.js";
11
11
  export * from "./stackCornerRadius/index.js";
12
+ export * from "./barWidth/index.js";
12
13
  export * from "./tooltip/index.js";
13
14
  export * from "./area.js";
14
15
  export * from "./bar.js";
@@ -46,6 +46,10 @@ export type Label = {
46
46
  * @description 标签背景色
47
47
  */
48
48
  labelBackgroundColor?: string;
49
+ /**
50
+ * @description 标签描边颜色
51
+ */
52
+ labelStroke?: string;
49
53
  /**
50
54
  * @description 标签字体颜色
51
55
  */
@@ -583,6 +583,8 @@ export declare const zCustomThemeConfig: z.ZodObject<{
583
583
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
584
  }, z.core.$strip>>>;
585
585
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
586
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
587
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
586
588
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
587
589
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
590
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -905,6 +907,8 @@ export declare const zCustomThemeConfig: z.ZodObject<{
905
907
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
908
  }, z.core.$strip>>>;
907
909
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
910
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
911
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
908
912
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
909
913
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
910
914
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1227,6 +1231,8 @@ export declare const zCustomThemeConfig: z.ZodObject<{
1227
1231
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1228
1232
  }, z.core.$strip>>>;
1229
1233
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
1234
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1235
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1230
1236
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1231
1237
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
1238
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5279,6 +5285,8 @@ export declare const zCustomTheme: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.Zod
5279
5285
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5280
5286
  }, z.core.$strip>>>;
5281
5287
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
5288
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5289
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5282
5290
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5283
5291
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5284
5292
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5601,6 +5609,8 @@ export declare const zCustomTheme: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.Zod
5601
5609
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5602
5610
  }, z.core.$strip>>>;
5603
5611
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
5612
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5613
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5604
5614
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5605
5615
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5606
5616
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5923,6 +5933,8 @@ export declare const zCustomTheme: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.Zod
5923
5933
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5924
5934
  }, z.core.$strip>>>;
5925
5935
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
5936
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5937
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
5926
5938
  pivotGrid: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5927
5939
  borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5928
5940
  bodyFontColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2070,6 +2070,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
2070
2070
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2071
2071
  }, z.core.$strip>>>;
2072
2072
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
2073
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2073
2074
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2074
2075
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
2075
2076
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -3383,6 +3384,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
3383
3384
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3384
3385
  }, z.core.$strip>>>;
3385
3386
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
3387
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3388
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
3386
3389
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3387
3390
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
3388
3391
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -4696,6 +4699,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
4696
4699
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4697
4700
  }, z.core.$strip>>>;
4698
4701
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
4702
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
4699
4703
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4700
4704
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
4701
4705
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -6009,6 +6013,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
6009
6013
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6010
6014
  }, z.core.$strip>>>;
6011
6015
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
6016
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
6012
6017
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6013
6018
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
6014
6019
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -7322,6 +7327,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
7322
7327
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7323
7328
  }, z.core.$strip>>>;
7324
7329
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
7330
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
7331
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
7325
7332
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7326
7333
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
7327
7334
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -8635,6 +8642,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
8635
8642
  labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8636
8643
  }, z.core.$strip>>>;
8637
8644
  stackCornerRadius: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
8645
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
8638
8646
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8639
8647
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
8640
8648
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
@@ -15387,6 +15395,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15387
15395
  customOrder: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodAny>>>;
15388
15396
  }, z.core.$strip>>>;
15389
15397
  theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15398
+ barMaxWidth: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
15399
+ barGapInGroup: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
15390
15400
  barStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
15391
15401
  selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
15392
15402
  field: z.ZodString;