@visactor/vseed 0.2.1 → 0.2.2

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 (74) hide show
  1. package/dist/cjs/index.cjs +2 -2
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/register/all.js +2 -2
  4. package/dist/esm/builder/register/all.js.map +1 -1
  5. package/dist/esm/builder/register/chartType/boxplot.d.ts +1 -1
  6. package/dist/esm/builder/register/chartType/boxplot.js +2 -2
  7. package/dist/esm/builder/register/chartType/boxplot.js.map +1 -1
  8. package/dist/esm/builder/register/chartType/index.d.ts +1 -1
  9. package/dist/esm/builder/register/chartType/index.js +2 -2
  10. package/dist/esm/index.d.ts +1 -1
  11. package/dist/esm/index.js +2 -2
  12. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +17 -0
  13. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
  14. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -3
  15. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  16. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js +3 -76
  17. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
  18. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.d.ts +6 -0
  19. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js +95 -0
  20. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js.map +1 -0
  21. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +16 -84
  22. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -1
  23. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.d.ts +2 -0
  24. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.js +23 -0
  25. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfHistogram.js.map +1 -0
  26. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
  27. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -1
  28. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js +8 -7
  29. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
  30. package/dist/esm/pipeline/spec/chart/utils/histogram.d.ts +1 -0
  31. package/dist/esm/pipeline/spec/chart/utils/histogram.js +6 -2
  32. package/dist/esm/pipeline/spec/chart/utils/histogram.js.map +1 -1
  33. package/dist/esm/types/chartType/area/area.d.ts +2 -2
  34. package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +3 -5
  35. package/dist/esm/types/chartType/bar/bar.d.ts +3 -3
  36. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +3 -3
  37. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +3 -3
  38. package/dist/esm/types/chartType/{boxplot/boxplot.d.ts → boxPlot/boxPlot.d.ts} +6 -6
  39. package/dist/esm/types/chartType/boxPlot/index.d.ts +2 -0
  40. package/dist/esm/types/chartType/boxPlot/index.js +1 -0
  41. package/dist/esm/types/chartType/{boxplot/zBoxplot.d.ts → boxPlot/zBoxPlot.d.ts} +1 -1
  42. package/dist/esm/types/chartType/{boxplot/zBoxplot.js → boxPlot/zBoxPlot.js} +3 -3
  43. package/dist/esm/types/chartType/{boxplot/zBoxplot.js.map → boxPlot/zBoxPlot.js.map} +1 -1
  44. package/dist/esm/types/chartType/column/column.d.ts +4 -4
  45. package/dist/esm/types/chartType/column/zColumn.d.ts +2 -2
  46. package/dist/esm/types/chartType/column/zColumn.js +1 -1
  47. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  48. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +3 -5
  49. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +3 -3
  50. package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +3 -3
  51. package/dist/esm/types/chartType/histogram/histogram.d.ts +6 -6
  52. package/dist/esm/types/chartType/index.d.ts +1 -1
  53. package/dist/esm/types/chartType/index.js +1 -1
  54. package/dist/esm/types/chartType/line/line.d.ts +3 -5
  55. package/dist/esm/types/chartType/pivotTable/pivotTable.d.ts +1 -1
  56. package/dist/esm/types/chartType/scatter/scatter.d.ts +7 -7
  57. package/dist/esm/types/chartType/scatter/zScatter.d.ts +8 -8
  58. package/dist/esm/types/chartType/scatter/zScatter.js +4 -4
  59. package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
  60. package/dist/esm/types/chartType/table/table.d.ts +1 -1
  61. package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +4 -0
  62. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +4 -0
  63. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +4 -0
  64. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +4 -0
  65. package/dist/esm/types/vseed.d.ts +2 -2
  66. package/dist/esm/types/zVseed.d.ts +10 -10
  67. package/dist/esm/types/zVseed.js +2 -2
  68. package/dist/esm/types/zVseed.js.map +1 -1
  69. package/dist/umd/index.js +170 -135
  70. package/dist/umd/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/dist/esm/types/chartType/boxplot/index.d.ts +0 -2
  73. package/dist/esm/types/chartType/boxplot/index.js +0 -1
  74. /package/dist/esm/types/chartType/{boxplot/boxplot.js → boxPlot/boxPlot.js} +0 -0
@@ -206,12 +206,12 @@ export interface Scatter {
206
206
  annotationPoint?: AnnotationPoint | AnnotationPoint[];
207
207
  /**
208
208
  * 标注垂直线
209
- * @description 标注垂直线配置, 根据选择的数据, 定义图表的标注垂直线, 包括标注垂直线的位置, 样式等.
209
+ * @description 数值标注线(包括均值线、最大值线、最小值线等),竖直方向展示,能够设置标注线的位置, 样式等,如需绘制x轴度量均值线等数值对应的标注线请使用该配置
210
210
  */
211
211
  annotationVerticalLine?: AnnotationVerticalLine | AnnotationVerticalLine[];
212
212
  /**
213
213
  * 标注水平线
214
- * @description 标注水平线配置, 根据选择的数据, 定义图表的标注水平线, 包括标注水平线的位置, 样式等.
214
+ * @description 数值标注线(包括均值线、最大值线、最小值线等),竖直方向展示,能够设置标注线的位置, 样式等,如需绘制y轴度量均值线等数值对应的标注线请使用该配置
215
215
  */
216
216
  annotationHorizontalLine?: AnnotationHorizontalLine | AnnotationHorizontalLine[];
217
217
  /**
@@ -223,24 +223,24 @@ export interface Scatter {
223
223
  * 线性回归线
224
224
  * @description 线性回归线配置, 包括线性回归线的样式等.
225
225
  */
226
- linearRegressionLine?: boolean | LinearRegressionLine | LinearRegressionLine[];
226
+ linearRegressionLine?: LinearRegressionLine | LinearRegressionLine[];
227
227
  /**
228
228
  * 局部加权回归线配置项
229
229
  * @description 局部加权回归线配置项, 包括局部加权回归线的样式等.
230
230
  */
231
- lowessRegressionLine?: boolean | LowessRegressionLine | LowessRegressionLine[];
231
+ lowessRegressionLine?: LowessRegressionLine | LowessRegressionLine[];
232
232
  /**
233
233
  * 多项式回归线
234
234
  * @description 多项式回归线配置, 包括多项式的阶数、回归线的样式等.
235
235
  */
236
- polynomialRegressionLine?: boolean | PolynomialRegressionLine | PolynomialRegressionLine[];
236
+ polynomialRegressionLine?: PolynomialRegressionLine | PolynomialRegressionLine[];
237
237
  /**
238
238
  * 逻辑回归线
239
239
  * @description 逻辑回归线配置, 包括逻辑回归线的样式等.
240
240
  */
241
- logisticRegressionLine?: boolean | LogisticRegressionLine | LogisticRegressionLine[];
241
+ logisticRegressionLine?: LogisticRegressionLine | LogisticRegressionLine[];
242
242
  /**
243
- * 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
243
+ * @description 当图表开启透视功能或者指标组合的是否,是否开启维度联动功能
244
244
  * 当hover 到某个维度值时,联动高亮其他图表中相同维度值的数据
245
245
  */
246
246
  dimensionLinkage?: DimensionLinkage;
@@ -1758,7 +1758,7 @@ export declare const zScatter: z.ZodObject<{
1758
1758
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1759
1759
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
1760
1760
  }, z.core.$strip>]>>>;
1761
- linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
1761
+ linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1762
1762
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1763
1763
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1764
1764
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1782,8 +1782,8 @@ export declare const zScatter: z.ZodObject<{
1782
1782
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1783
1783
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1784
1784
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1785
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
1786
- lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
1785
+ }, z.core.$strip>]>>>;
1786
+ lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1787
1787
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1788
1788
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1789
1789
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1807,8 +1807,8 @@ export declare const zScatter: z.ZodObject<{
1807
1807
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1808
1808
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1809
1809
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1810
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
1811
- polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
1810
+ }, z.core.$strip>]>>>;
1811
+ polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1812
1812
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1813
1813
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1814
1814
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1834,8 +1834,8 @@ export declare const zScatter: z.ZodObject<{
1834
1834
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
1835
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1836
1836
  degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1837
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
1838
- logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
1837
+ }, z.core.$strip>]>>>;
1838
+ logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
1839
1839
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1840
1840
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1841
1841
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1859,7 +1859,7 @@ export declare const zScatter: z.ZodObject<{
1859
1859
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1860
1860
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
1861
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1862
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
1862
+ }, z.core.$strip>]>>>;
1863
1863
  dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1864
1864
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1865
1865
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -24,10 +24,10 @@ const zScatter = z.object({
24
24
  annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),
25
25
  annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),
26
26
  annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),
27
- linearRegressionLine: z.array(zLinearRegressionLine).or(zLinearRegressionLine).or(z.boolean()).nullish(),
28
- lowessRegressionLine: z.array(zLowessRegressionLine).or(zLowessRegressionLine).or(z.boolean()).nullish(),
29
- polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),
30
- logisticRegressionLine: z.array(zLogisticRegressionLine).or(zLogisticRegressionLine).or(z.boolean()).nullish(),
27
+ linearRegressionLine: z.array(zLinearRegressionLine).or(zLinearRegressionLine).nullish(),
28
+ lowessRegressionLine: z.array(zLowessRegressionLine).or(zLowessRegressionLine).nullish(),
29
+ polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),
30
+ logisticRegressionLine: z.array(zLogisticRegressionLine).or(zLogisticRegressionLine).nullish(),
31
31
  dimensionLinkage: zDimensionLinkage.nullish(),
32
32
  locale: zLocale.nullish()
33
33
  });
@@ -1 +1 @@
1
- {"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["../../../../../src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLinearRegressionLine,\n zLogisticRegressionLine,\n zLowessRegressionLine,\n zMeasureTree,\n zPointStyle,\n zPolynomialRegressionLine,\n zScatterMeasures,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zScatter = z.object({\n chartType: z.literal('scatter'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n scatterMeasures: zScatterMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).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 linearRegressionLine: z.array(zLinearRegressionLine).or(zLinearRegressionLine).or(z.boolean()).nullish(),\n lowessRegressionLine: z.array(zLowessRegressionLine).or(zLowessRegressionLine).or(z.boolean()).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).or(z.boolean()).nullish(),\n logisticRegressionLine: z.array(zLogisticRegressionLine).or(zLogisticRegressionLine).or(z.boolean()).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zScatter","z","zDataset","zEncoding","zDimensions","zMeasureTree","zScatterMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLinearRegressionLine","zLowessRegressionLine","zPolynomialRegressionLine","zLogisticRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;AA6BO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,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,iBAAiBC,iBAAiB,OAAO;IACzC,MAAMN,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,OAAOO,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYd,EAAE,KAAK,CAACe,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,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,sBAAsBnB,EAAE,KAAK,CAACoB,uBAAuB,EAAE,CAACA,uBAAuB,EAAE,CAACpB,EAAE,OAAO,IAAI,OAAO;IACtG,sBAAsBA,EAAE,KAAK,CAACqB,uBAAuB,EAAE,CAACA,uBAAuB,EAAE,CAACrB,EAAE,OAAO,IAAI,OAAO;IACtG,0BAA0BA,EAAE,KAAK,CAACsB,2BAA2B,EAAE,CAACA,2BAA2B,EAAE,CAACtB,EAAE,OAAO,IAAI,OAAO;IAClH,wBAAwBA,EAAE,KAAK,CAACuB,yBAAyB,EAAE,CAACA,yBAAyB,EAAE,CAACvB,EAAE,OAAO,IAAI,OAAO;IAC5G,kBAAkBwB,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
1
+ {"version":3,"file":"types/chartType/scatter/zScatter.js","sources":["../../../../../src/types/chartType/scatter/zScatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zBackgroundColor,\n zColor,\n zCrosshairLine,\n zDataset,\n zDimensionLinkage,\n zDimensions,\n zEncoding,\n zLabel,\n zLegend,\n zLinearRegressionLine,\n zLogisticRegressionLine,\n zLowessRegressionLine,\n zMeasureTree,\n zPointStyle,\n zPolynomialRegressionLine,\n zScatterMeasures,\n zTheme,\n zTooltip,\n zXLinearAxis,\n zYLinearAxis,\n} from '../../properties'\n\nexport const zScatter = z.object({\n chartType: z.literal('scatter'),\n dataset: zDataset.nullish(),\n encoding: zEncoding.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n scatterMeasures: zScatterMeasures.nullish(),\n backgroundColor: zBackgroundColor.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n xAxis: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n theme: zTheme.nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).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 linearRegressionLine: z.array(zLinearRegressionLine).or(zLinearRegressionLine).nullish(),\n lowessRegressionLine: z.array(zLowessRegressionLine).or(zLowessRegressionLine).nullish(),\n polynomialRegressionLine: z.array(zPolynomialRegressionLine).or(zPolynomialRegressionLine).nullish(),\n logisticRegressionLine: z.array(zLogisticRegressionLine).or(zLogisticRegressionLine).nullish(),\n dimensionLinkage: zDimensionLinkage.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zScatter","z","zDataset","zEncoding","zDimensions","zMeasureTree","zScatterMeasures","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zXLinearAxis","zYLinearAxis","zCrosshairLine","zTheme","zPointStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLinearRegressionLine","zLowessRegressionLine","zPolynomialRegressionLine","zLogisticRegressionLine","zDimensionLinkage","zLocale"],"mappings":";;;AA6BO,MAAMA,WAAWC,EAAE,MAAM,CAAC;IAC/B,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,iBAAiBC,iBAAiB,OAAO;IACzC,MAAMN,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IACrD,OAAOO,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,OAAOC,OAAO,OAAO;IACrB,YAAYd,EAAE,KAAK,CAACe,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,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,sBAAsBnB,EAAE,KAAK,CAACoB,uBAAuB,EAAE,CAACA,uBAAuB,OAAO;IACtF,sBAAsBpB,EAAE,KAAK,CAACqB,uBAAuB,EAAE,CAACA,uBAAuB,OAAO;IACtF,0BAA0BrB,EAAE,KAAK,CAACsB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,wBAAwBtB,EAAE,KAAK,CAACuB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,kBAAkBC,kBAAkB,OAAO;IAC3C,QAAQC,QAAQ,OAAO;AACzB"}
@@ -95,7 +95,7 @@ export interface Table {
95
95
  */
96
96
  selectedBackgroundColor?: string;
97
97
  /**
98
- * 设置表格正文部分单元格的特殊样式
98
+ * @description 设置表格正文部分单元格的特殊样式
99
99
  */
100
100
  bodyCellStyle?: BodyCellStyle | BodyCellStyle[];
101
101
  /**
@@ -2,6 +2,10 @@
2
2
  * @description 线性回归线配置项
3
3
  */
4
4
  export type LinearRegressionLine = {
5
+ /**
6
+ * 是否开启
7
+ */
8
+ enable?: boolean;
5
9
  /**
6
10
  * @description 回归线颜色
7
11
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -2,6 +2,10 @@
2
2
  * @description Logistic回归线配置项
3
3
  */
4
4
  export type LogisticRegressionLine = {
5
+ /**
6
+ * 是否开启
7
+ */
8
+ enable?: boolean;
5
9
  /**
6
10
  * @description 回归线颜色
7
11
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -2,6 +2,10 @@
2
2
  * @description 局部加权回归线配置项
3
3
  */
4
4
  export type LowessRegressionLine = {
5
+ /**
6
+ * 是否开启
7
+ */
8
+ enable?: boolean;
5
9
  /**
6
10
  * @description 回归线颜色
7
11
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -2,6 +2,10 @@
2
2
  * @description 多项式回归线配置
3
3
  */
4
4
  export type PolynomialRegressionLine = {
5
+ /**
6
+ * 是否开启
7
+ */
8
+ enable?: boolean;
5
9
  /**
6
10
  * @description 回归线颜色
7
11
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -1,3 +1,3 @@
1
- import type { Area, AreaPercent, Bar, BarParallel, BarPercent, Boxplot, Column, ColumnParallel, ColumnPercent, Donut, DualAxis, Funnel, Heatmap, Histogram, Line, Pie, PivotTable, Radar, Rose, RoseParallel, Scatter, Table } from './chartType';
2
- export type VSeed = Table | PivotTable | Line | Column | ColumnParallel | ColumnPercent | Bar | BarParallel | BarPercent | Area | AreaPercent | Scatter | DualAxis | Rose | RoseParallel | Pie | Donut | Radar | Funnel | Heatmap | Boxplot | Histogram;
1
+ import type { Area, AreaPercent, Bar, BarParallel, BarPercent, BoxPlot, Column, ColumnParallel, ColumnPercent, Donut, DualAxis, Funnel, Heatmap, Histogram, Line, Pie, PivotTable, Radar, Rose, RoseParallel, Scatter, Table } from './chartType';
2
+ export type VSeed = Table | PivotTable | Line | Column | ColumnParallel | ColumnPercent | Bar | BarParallel | BarPercent | Area | AreaPercent | Scatter | DualAxis | Rose | RoseParallel | Pie | Donut | Radar | Funnel | Heatmap | BoxPlot | Histogram;
3
3
  export type VSeedDSL = VSeed;
@@ -3432,7 +3432,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
3432
3432
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
3433
3433
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
3434
3434
  }, z.core.$strip>]>>>;
3435
- polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
3435
+ polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
3436
3436
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3437
3437
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
3438
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -3458,7 +3458,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
3458
3458
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3459
3459
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3460
3460
  degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3461
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
3461
+ }, z.core.$strip>]>>>;
3462
3462
  dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3463
3463
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3464
3464
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -15792,7 +15792,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15792
15792
  areaLineDash: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
15793
15793
  outerPadding: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
15794
15794
  }, z.core.$strip>]>>>;
15795
- linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
15795
+ linearRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
15796
15796
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15797
15797
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15798
15798
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -15816,8 +15816,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15816
15816
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15817
15817
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15818
15818
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15819
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
15820
- lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
15819
+ }, z.core.$strip>]>>>;
15820
+ lowessRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
15821
15821
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15822
15822
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15823
15823
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -15841,8 +15841,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15841
15841
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15842
15842
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15843
15843
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15844
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
15845
- polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
15844
+ }, z.core.$strip>]>>>;
15845
+ polynomialRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
15846
15846
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15847
15847
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15848
15848
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -15868,8 +15868,8 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15868
15868
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15869
15869
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15870
15870
  degree: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15871
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
15872
- logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodObject<{
15871
+ }, z.core.$strip>]>>>;
15872
+ logisticRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodArray<z.ZodObject<{
15873
15873
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15874
15874
  color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15875
15875
  lineWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -15893,7 +15893,7 @@ export declare const zVSeed: z.ZodDiscriminatedUnion<[z.ZodObject<{
15893
15893
  confidenceIntervalVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15894
15894
  confidenceIntervalColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15895
15895
  confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15896
- }, z.core.$strip>]>, z.ZodBoolean]>>>;
15896
+ }, z.core.$strip>]>>>;
15897
15897
  dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15898
15898
  enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15899
15899
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -11,7 +11,7 @@ import { zPie } from "./chartType/pie/index.js";
11
11
  import { zDonut } from "./chartType/donut/index.js";
12
12
  import { zArea } from "./chartType/area/index.js";
13
13
  import { zAreaPercent } from "./chartType/areaPercent/index.js";
14
- import { zBoxplot, zDualAxis, zFunnel, zHeatmap, zHistogram, zPivotTable, zRadar, zRoseParallel, zScatter, zTable } from "./chartType/index.js";
14
+ import { zBoxPlot, zDualAxis, zFunnel, zHeatmap, zHistogram, zPivotTable, zRadar, zRoseParallel, zScatter, zTable } from "./chartType/index.js";
15
15
  const zVSeed = z.discriminatedUnion('chartType', [
16
16
  zTable,
17
17
  zPivotTable,
@@ -33,7 +33,7 @@ const zVSeed = z.discriminatedUnion('chartType', [
33
33
  zRadar,
34
34
  zFunnel,
35
35
  zHeatmap,
36
- zBoxplot,
36
+ zBoxPlot,
37
37
  zHistogram
38
38
  ]);
39
39
  export { zVSeed };
@@ -1 +1 @@
1
- {"version":3,"file":"types/zVseed.js","sources":["../../../src/types/zVseed.ts"],"sourcesContent":["import { z } from 'zod'\n\nimport { zBar } from './chartType/bar'\nimport { zBarParallel } from './chartType/barParallel'\nimport { zColumn } from './chartType/column'\nimport { zColumnParallel } from './chartType/columnParallel'\nimport { zColumnPercent } from './chartType/columnPercent'\nimport { zLine } from './chartType/line'\nimport { zRose } from './chartType/rose'\nimport { zBarPercent } from './chartType/barPercent'\nimport { zPie } from './chartType/pie'\nimport { zDonut } from './chartType/donut'\nimport { zArea } from './chartType/area'\nimport { zAreaPercent } from './chartType/areaPercent'\nimport {\n zBoxplot,\n zDualAxis,\n zFunnel,\n zHeatmap,\n zHistogram,\n zPivotTable,\n zRadar,\n zRoseParallel,\n zScatter,\n zTable,\n} from './chartType'\n\nexport const zVSeed = z.discriminatedUnion('chartType', [\n zTable,\n zPivotTable,\n // cartesian\n zLine,\n zColumn,\n zColumnParallel,\n zColumnPercent,\n zBar,\n zBarParallel,\n zBarPercent,\n zArea,\n zAreaPercent,\n zScatter,\n zDualAxis,\n // polar\n zPie,\n zDonut,\n zRose,\n zRoseParallel,\n zRadar,\n // other\n zFunnel,\n zHeatmap,\n zBoxplot,\n zHistogram,\n])\n"],"names":["zVSeed","z","zTable","zPivotTable","zLine","zColumn","zColumnParallel","zColumnPercent","zBar","zBarParallel","zBarPercent","zArea","zAreaPercent","zScatter","zDualAxis","zPie","zDonut","zRose","zRoseParallel","zRadar","zFunnel","zHeatmap","zBoxplot","zHistogram"],"mappings":";;;;;;;;;;;;;;AA2BO,MAAMA,SAASC,EAAE,kBAAkB,CAAC,aAAa;IACtDC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;CACD"}
1
+ {"version":3,"file":"types/zVseed.js","sources":["../../../src/types/zVseed.ts"],"sourcesContent":["import { z } from 'zod'\n\nimport { zBar } from './chartType/bar'\nimport { zBarParallel } from './chartType/barParallel'\nimport { zColumn } from './chartType/column'\nimport { zColumnParallel } from './chartType/columnParallel'\nimport { zColumnPercent } from './chartType/columnPercent'\nimport { zLine } from './chartType/line'\nimport { zRose } from './chartType/rose'\nimport { zBarPercent } from './chartType/barPercent'\nimport { zPie } from './chartType/pie'\nimport { zDonut } from './chartType/donut'\nimport { zArea } from './chartType/area'\nimport { zAreaPercent } from './chartType/areaPercent'\nimport {\n zBoxPlot,\n zDualAxis,\n zFunnel,\n zHeatmap,\n zHistogram,\n zPivotTable,\n zRadar,\n zRoseParallel,\n zScatter,\n zTable,\n} from './chartType'\n\nexport const zVSeed = z.discriminatedUnion('chartType', [\n zTable,\n zPivotTable,\n // cartesian\n zLine,\n zColumn,\n zColumnParallel,\n zColumnPercent,\n zBar,\n zBarParallel,\n zBarPercent,\n zArea,\n zAreaPercent,\n zScatter,\n zDualAxis,\n // polar\n zPie,\n zDonut,\n zRose,\n zRoseParallel,\n zRadar,\n // other\n zFunnel,\n zHeatmap,\n zBoxPlot,\n zHistogram,\n])\n"],"names":["zVSeed","z","zTable","zPivotTable","zLine","zColumn","zColumnParallel","zColumnPercent","zBar","zBarParallel","zBarPercent","zArea","zAreaPercent","zScatter","zDualAxis","zPie","zDonut","zRose","zRoseParallel","zRadar","zFunnel","zHeatmap","zBoxPlot","zHistogram"],"mappings":";;;;;;;;;;;;;;AA2BO,MAAMA,SAASC,EAAE,kBAAkB,CAAC,aAAa;IACtDC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;CACD"}