@visactor/vseed 0.1.51 → 0.2.0

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 (129) 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 +334 -0
  4. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
  5. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
  6. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
  7. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
  8. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
  9. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
  10. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
  11. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
  12. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
  13. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
  14. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +2 -1
  15. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
  16. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
  17. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
  18. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
  19. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
  20. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
  21. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
  22. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +6 -5
  23. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
  24. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +15 -13
  25. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  26. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +3 -1
  27. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  28. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
  29. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
  30. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
  31. package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
  32. package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
  33. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +1 -1
  34. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
  35. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +1 -1
  36. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
  37. package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
  38. package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
  39. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
  40. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
  41. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
  42. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
  43. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
  44. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
  45. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
  46. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
  47. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
  48. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
  49. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
  50. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
  51. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
  52. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
  53. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
  54. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
  55. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
  56. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
  57. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
  58. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
  59. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
  60. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
  61. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
  62. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
  63. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +18 -20
  64. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -1
  65. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
  66. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
  67. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +1 -1
  68. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  69. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +2 -2
  70. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
  71. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +5 -3
  72. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
  73. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
  74. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
  75. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
  76. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +1 -0
  77. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
  78. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +6 -1
  79. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
  80. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +8 -3
  81. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
  83. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
  84. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
  85. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
  86. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
  87. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
  88. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
  89. package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
  90. package/dist/esm/pipeline/utils/measures/find.js +13 -1
  91. package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
  92. package/dist/esm/theme/common/axes.js +4 -4
  93. package/dist/esm/theme/common/axes.js.map +1 -1
  94. package/dist/esm/theme/common/boxPlot.d.ts +5 -0
  95. package/dist/esm/theme/common/boxPlot.js +15 -0
  96. package/dist/esm/theme/common/boxPlot.js.map +1 -0
  97. package/dist/esm/theme/common/crosshair.js +4 -4
  98. package/dist/esm/theme/common/crosshair.js.map +1 -1
  99. package/dist/esm/theme/common/table.js +2 -0
  100. package/dist/esm/theme/common/table.js.map +1 -1
  101. package/dist/esm/theme/dark/dark.js +4 -1
  102. package/dist/esm/theme/dark/dark.js.map +1 -1
  103. package/dist/esm/theme/light/light.js +4 -1
  104. package/dist/esm/theme/light/light.js.map +1 -1
  105. package/dist/esm/types/advancedVSeed.d.ts +358 -0
  106. package/dist/esm/types/chartType/boxplot/boxplot.d.ts +9 -1
  107. package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +316 -0
  108. package/dist/esm/types/chartType/boxplot/zBoxplot.js +3 -1
  109. package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
  110. package/dist/esm/types/properties/config/boxplot.d.ts +21 -0
  111. package/dist/esm/types/properties/config/boxplot.js +8 -1
  112. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  113. package/dist/esm/types/properties/config/config.d.ts +21 -0
  114. package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
  115. package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
  116. package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
  117. package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
  118. package/dist/esm/types/properties/markStyle/index.js +2 -0
  119. package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
  120. package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
  121. package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
  122. package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
  123. package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
  124. package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
  125. package/dist/esm/types/properties/theme/customTheme.d.ts +42 -0
  126. package/dist/esm/types/zVseed.d.ts +316 -0
  127. package/dist/umd/index.js +330 -99
  128. package/dist/umd/index.js.map +1 -1
  129. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig, YBandAxis } from 'src/types'\nimport {\n getLightColor,\n getLightCrosshairLine,\n getLightCrosshairRect,\n getLightLabel,\n getLightLegend,\n getLightPivotChartGridConfig,\n getLightTableConfig,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightFunnelTransformTheme } from '../common/funnelTransform'\nimport { getLightHeatmapCellTheme } from '../common/heatmapCell'\nimport { getLightRegressionLine } from '../common/regressionLine'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const linearAxis = getLightLinearAxis()\n const bandAxis: YBandAxis = getLightBandAxis()\n const barBandAxis: YBandAxis = {\n ...bandAxis,\n labelAutoHide: false,\n labelAutoHideGap: 1,\n labelAutoLimit: false,\n labelAutoLimitLength: undefined,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n }\n\n const crosshairLine = getLightCrosshairLine()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n }\n const tableConfig = getLightTableConfig()\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n column: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n columnParallel: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n columnPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n bar: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barParallel: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barPercent: {\n ...baseConfig,\n xAxis: {\n ...linearAxis,\n },\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n area: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n areaPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n scatter: {\n ...baseConfig,\n crosshairLine,\n sizeRange: [8, 24],\n xAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n yAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n label: {\n ...baseConfig.label,\n showValue: false,\n showValuePercent: false,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n dualAxis: {\n ...baseConfig,\n xAxis: bandAxis,\n primaryYAxis: linearAxis,\n secondaryYAxis: { ...linearAxis, grid: { visible: false } },\n dualChartType: {\n primary: 'column',\n secondary: 'line',\n },\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n // polar\n pie: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n donut: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n radar: {\n ...baseConfig,\n pivotGrid: getLightPivotChartGridConfig(),\n },\n rose: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n roseParallel: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n // other\n funnel: {\n ...baseConfig,\n\n transform: getLightFunnelTransformTheme(),\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n heatmap: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n labelColorSmartInvert: true,\n },\n cell: getLightHeatmapCellTheme(),\n pivotGrid: getLightPivotChartGridConfig(),\n },\n histogram: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n },\n boxPlot: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n },\n }\n}\n"],"names":["lightTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","barBandAxis","undefined","crosshairLine","getLightCrosshairLine","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","tableConfig","getLightTableConfig","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine","getLightFunnelTransformTheme","getLightHeatmapCellTheme"],"mappings":";;;;;;;AAiBO,MAAMA,aAAa;IACxB,MAAMC,aAAaC;IACnB,MAAMC,WAAsBC;IAC5B,MAAMC,cAAyB;QAC7B,GAAGF,QAAQ;QACX,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsBG;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;IAC1C;IAEA,MAAMC,gBAAgBC;IACtB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;IACX;IACA,MAAMC,cAAcC;IAEpB,OAAO;QACL,QAAQ;YAEN,OAAOD;YACP,YAAYA;YAEZ,MAAM;gBACJ,GAAGL,UAAU;gBACb,OAAOR;gBACP,OAAOF;gBACPM;gBAEA,WAAWW;gBACX,YAAYC;YACd;YACA,QAAQ;gBACN,GAAGR,UAAU;gBACb,OAAOR;gBACP,OAAOF;gBACPQ;gBACA,mBAAmB;oBAAC;oBAAG;oBAAG;oBAAG;iBAAE;gBAC/B,WAAWS;gBACX,YAAYC;gBAEZ,gBAAgBC;YAClB;YACA,gBAAg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B;YACA,SAAS;gBACP,GAAGT,UAAU;gBACb,OAAOV;gBACP,OAAOA;gBACPQ;gBACA,WAAWS;gBACX,YAAYC;YACd;QACF;IACF;AACF"}
1
+ {"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig, YBandAxis } from 'src/types'\nimport {\n getLightColor,\n getLightCrosshairLine,\n getLightCrosshairRect,\n getLightLabel,\n getLightLegend,\n getLightPivotChartGridConfig,\n getLightTableConfig,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightFunnelTransformTheme } from '../common/funnelTransform'\nimport { getLightHeatmapCellTheme } from '../common/heatmapCell'\nimport { getLightRegressionLine } from '../common/regressionLine'\nimport { getLightBoxPlotStyle, getLightOutlierStyle } from '../common/boxPlot'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const linearAxis = getLightLinearAxis()\n const bandAxis: YBandAxis = getLightBandAxis()\n const barBandAxis: YBandAxis = {\n ...bandAxis,\n labelAutoHide: false,\n labelAutoHideGap: 1,\n labelAutoLimit: false,\n labelAutoLimitLength: undefined,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n }\n\n const crosshairLine = getLightCrosshairLine()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n }\n const tableConfig = getLightTableConfig()\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n column: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n columnParallel: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n columnPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n bar: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barParallel: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barPercent: {\n ...baseConfig,\n xAxis: {\n ...linearAxis,\n },\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n area: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n areaPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n scatter: {\n ...baseConfig,\n crosshairLine,\n sizeRange: [8, 24],\n xAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n yAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n label: {\n ...baseConfig.label,\n showValue: false,\n showValuePercent: false,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n dualAxis: {\n ...baseConfig,\n xAxis: bandAxis,\n primaryYAxis: linearAxis,\n secondaryYAxis: { ...linearAxis, grid: { visible: false } },\n dualChartType: {\n primary: 'column',\n secondary: 'line',\n },\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n // polar\n pie: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n donut: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n radar: {\n ...baseConfig,\n pivotGrid: getLightPivotChartGridConfig(),\n },\n rose: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n pivotGrid: getLightPivotChartGridConfig(),\n },\n roseParallel: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n // other\n funnel: {\n ...baseConfig,\n\n transform: getLightFunnelTransformTheme(),\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n heatmap: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n labelColorSmartInvert: true,\n },\n cell: getLightHeatmapCellTheme(),\n pivotGrid: getLightPivotChartGridConfig(),\n },\n histogram: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n },\n boxPlot: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n boxPlotStyle: getLightBoxPlotStyle(),\n outlierStyle: getLightOutlierStyle(),\n },\n },\n }\n}\n"],"names":["lightTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","barBandAxis","undefined","crosshairLine","getLightCrosshairLine","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","tableConfig","getLightTableConfig","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine","getLightFunnelTransformTheme","getLightHeatmapCellTheme","getLightBoxPlotStyle","getLightOutlierStyle"],"mappings":";;;;;;;;AAkBO,MAAMA,aAAa;IACxB,MAAMC,aAAaC;IACnB,MAAMC,WAAsBC;IAC5B,MAAMC,cAAyB;QAC7B,GAAGF,QAAQ;QACX,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsBG;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;IAC1C;IAEA,MAAMC,gBAAgBC;IACtB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;IACX;IACA,MAAMC,cAAcC;IAEpB,OAAO;QACL,QAAQ;YAEN,OAAOD;YACP,YAAYA;YAEZ,MAAM;gBACJ,GAAGL,UAAU;gBACb,OAAOR;gBACP,OAAOF;gBACPM;gBAEA,WAAWW;gBACX,YAAYC;YACd;YACA,QAAQ;gBACN,GAAGR,UAAU;gBACb,OAAOR;gBACP,OAAOF;gBACPQ;gBACA,mBAAmB;oBAAC;oBAAG;oBAAG;oBAAG;iBAAE;gBAC/B,WAAWS;gBACX,YAAYC;gBAEZ,gBAAgBC;YAClB;YACA,gBAAgB;gBACd,GAAGT,UAAU;gBACb,OAAOR;gBACP,OAAOF;gBACPQ;gBACA,mBAAmB;oBAAC;oBAAG;oBAAG;oBAAG;iBAAE;gBAC/B,WAAWS;gBAC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B;QACF;IACF;AACF"}
@@ -7439,6 +7439,27 @@ export declare const zAdvancedVSeed: z.ZodObject<{
7439
7439
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7440
7440
  showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7441
7441
  }, z.core.$strip>>>;
7442
+ boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7443
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7444
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7445
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7446
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7447
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7448
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7449
+ }, z.core.$strip>>>;
7450
+ outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7451
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
7452
+ pointSize: z.ZodOptional<z.ZodNumber>;
7453
+ pointColor: z.ZodOptional<z.ZodString>;
7454
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
7455
+ pointBorderColor: z.ZodOptional<z.ZodString>;
7456
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
7457
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
7458
+ solid: "solid";
7459
+ dashed: "dashed";
7460
+ dotted: "dotted";
7461
+ }>>;
7462
+ }, z.core.$strip>>>;
7442
7463
  }, z.core.$strip>>>;
7443
7464
  histogram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
7444
7465
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
@@ -8635,6 +8656,322 @@ export declare const zAdvancedVSeed: z.ZodObject<{
8635
8656
  areaColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8636
8657
  areaColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8637
8658
  }, z.core.$strip>>]>>>;
8659
+ boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8660
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8661
+ field: z.ZodString;
8662
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8663
+ "=": "=";
8664
+ "==": "==";
8665
+ "!=": "!=";
8666
+ ">": ">";
8667
+ "<": "<";
8668
+ ">=": ">=";
8669
+ "<=": "<=";
8670
+ between: "between";
8671
+ }>>>;
8672
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8673
+ "=": "=";
8674
+ "==": "==";
8675
+ "!=": "!=";
8676
+ ">": ">";
8677
+ "<": "<";
8678
+ ">=": ">=";
8679
+ "<=": "<=";
8680
+ between: "between";
8681
+ }>>>;
8682
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8683
+ }, z.core.$strip>, z.ZodObject<{
8684
+ field: z.ZodString;
8685
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8686
+ in: "in";
8687
+ "not in": "not in";
8688
+ }>>>;
8689
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8690
+ in: "in";
8691
+ "not in": "not in";
8692
+ }>>>;
8693
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8694
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8695
+ field: z.ZodString;
8696
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8697
+ "=": "=";
8698
+ "==": "==";
8699
+ "!=": "!=";
8700
+ ">": ">";
8701
+ "<": "<";
8702
+ ">=": ">=";
8703
+ "<=": "<=";
8704
+ between: "between";
8705
+ }>>>;
8706
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8707
+ "=": "=";
8708
+ "==": "==";
8709
+ "!=": "!=";
8710
+ ">": ">";
8711
+ "<": "<";
8712
+ ">=": ">=";
8713
+ "<=": "<=";
8714
+ between: "between";
8715
+ }>>>;
8716
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8717
+ }, z.core.$strip>, z.ZodObject<{
8718
+ field: z.ZodString;
8719
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8720
+ in: "in";
8721
+ "not in": "not in";
8722
+ }>>>;
8723
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8724
+ in: "in";
8725
+ "not in": "not in";
8726
+ }>>>;
8727
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8728
+ }, z.core.$strip>]>>]>>>;
8729
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8730
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8731
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8732
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8733
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8734
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8735
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
8736
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8737
+ field: z.ZodString;
8738
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8739
+ "=": "=";
8740
+ "==": "==";
8741
+ "!=": "!=";
8742
+ ">": ">";
8743
+ "<": "<";
8744
+ ">=": ">=";
8745
+ "<=": "<=";
8746
+ between: "between";
8747
+ }>>>;
8748
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8749
+ "=": "=";
8750
+ "==": "==";
8751
+ "!=": "!=";
8752
+ ">": ">";
8753
+ "<": "<";
8754
+ ">=": ">=";
8755
+ "<=": "<=";
8756
+ between: "between";
8757
+ }>>>;
8758
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8759
+ }, z.core.$strip>, z.ZodObject<{
8760
+ field: z.ZodString;
8761
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8762
+ in: "in";
8763
+ "not in": "not in";
8764
+ }>>>;
8765
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8766
+ in: "in";
8767
+ "not in": "not in";
8768
+ }>>>;
8769
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8770
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8771
+ field: z.ZodString;
8772
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8773
+ "=": "=";
8774
+ "==": "==";
8775
+ "!=": "!=";
8776
+ ">": ">";
8777
+ "<": "<";
8778
+ ">=": ">=";
8779
+ "<=": "<=";
8780
+ between: "between";
8781
+ }>>>;
8782
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8783
+ "=": "=";
8784
+ "==": "==";
8785
+ "!=": "!=";
8786
+ ">": ">";
8787
+ "<": "<";
8788
+ ">=": ">=";
8789
+ "<=": "<=";
8790
+ between: "between";
8791
+ }>>>;
8792
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8793
+ }, z.core.$strip>, z.ZodObject<{
8794
+ field: z.ZodString;
8795
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8796
+ in: "in";
8797
+ "not in": "not in";
8798
+ }>>>;
8799
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8800
+ in: "in";
8801
+ "not in": "not in";
8802
+ }>>>;
8803
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8804
+ }, z.core.$strip>]>>]>>>;
8805
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8806
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8807
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8808
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8809
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8810
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8811
+ }, z.core.$strip>>]>>>;
8812
+ outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
8813
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8814
+ field: z.ZodString;
8815
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8816
+ "=": "=";
8817
+ "==": "==";
8818
+ "!=": "!=";
8819
+ ">": ">";
8820
+ "<": "<";
8821
+ ">=": ">=";
8822
+ "<=": "<=";
8823
+ between: "between";
8824
+ }>>>;
8825
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8826
+ "=": "=";
8827
+ "==": "==";
8828
+ "!=": "!=";
8829
+ ">": ">";
8830
+ "<": "<";
8831
+ ">=": ">=";
8832
+ "<=": "<=";
8833
+ between: "between";
8834
+ }>>>;
8835
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8836
+ }, z.core.$strip>, z.ZodObject<{
8837
+ field: z.ZodString;
8838
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8839
+ in: "in";
8840
+ "not in": "not in";
8841
+ }>>>;
8842
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8843
+ in: "in";
8844
+ "not in": "not in";
8845
+ }>>>;
8846
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8847
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8848
+ field: z.ZodString;
8849
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8850
+ "=": "=";
8851
+ "==": "==";
8852
+ "!=": "!=";
8853
+ ">": ">";
8854
+ "<": "<";
8855
+ ">=": ">=";
8856
+ "<=": "<=";
8857
+ between: "between";
8858
+ }>>>;
8859
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8860
+ "=": "=";
8861
+ "==": "==";
8862
+ "!=": "!=";
8863
+ ">": ">";
8864
+ "<": "<";
8865
+ ">=": ">=";
8866
+ "<=": "<=";
8867
+ between: "between";
8868
+ }>>>;
8869
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8870
+ }, z.core.$strip>, z.ZodObject<{
8871
+ field: z.ZodString;
8872
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8873
+ in: "in";
8874
+ "not in": "not in";
8875
+ }>>>;
8876
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8877
+ in: "in";
8878
+ "not in": "not in";
8879
+ }>>>;
8880
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8881
+ }, z.core.$strip>]>>]>>;
8882
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
8883
+ pointSize: z.ZodOptional<z.ZodNumber>;
8884
+ pointColor: z.ZodOptional<z.ZodString>;
8885
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
8886
+ pointBorderColor: z.ZodOptional<z.ZodString>;
8887
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
8888
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
8889
+ solid: "solid";
8890
+ dashed: "dashed";
8891
+ dotted: "dotted";
8892
+ }>>;
8893
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
8894
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8895
+ field: z.ZodString;
8896
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8897
+ "=": "=";
8898
+ "==": "==";
8899
+ "!=": "!=";
8900
+ ">": ">";
8901
+ "<": "<";
8902
+ ">=": ">=";
8903
+ "<=": "<=";
8904
+ between: "between";
8905
+ }>>>;
8906
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8907
+ "=": "=";
8908
+ "==": "==";
8909
+ "!=": "!=";
8910
+ ">": ">";
8911
+ "<": "<";
8912
+ ">=": ">=";
8913
+ "<=": "<=";
8914
+ between: "between";
8915
+ }>>>;
8916
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8917
+ }, z.core.$strip>, z.ZodObject<{
8918
+ field: z.ZodString;
8919
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8920
+ in: "in";
8921
+ "not in": "not in";
8922
+ }>>>;
8923
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8924
+ in: "in";
8925
+ "not in": "not in";
8926
+ }>>>;
8927
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8928
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
8929
+ field: z.ZodString;
8930
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8931
+ "=": "=";
8932
+ "==": "==";
8933
+ "!=": "!=";
8934
+ ">": ">";
8935
+ "<": "<";
8936
+ ">=": ">=";
8937
+ "<=": "<=";
8938
+ between: "between";
8939
+ }>>>;
8940
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8941
+ "=": "=";
8942
+ "==": "==";
8943
+ "!=": "!=";
8944
+ ">": ">";
8945
+ "<": "<";
8946
+ ">=": ">=";
8947
+ "<=": "<=";
8948
+ between: "between";
8949
+ }>>>;
8950
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8951
+ }, z.core.$strip>, z.ZodObject<{
8952
+ field: z.ZodString;
8953
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8954
+ in: "in";
8955
+ "not in": "not in";
8956
+ }>>>;
8957
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8958
+ in: "in";
8959
+ "not in": "not in";
8960
+ }>>>;
8961
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
8962
+ }, z.core.$strip>]>>]>>;
8963
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
8964
+ pointSize: z.ZodOptional<z.ZodNumber>;
8965
+ pointColor: z.ZodOptional<z.ZodString>;
8966
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
8967
+ pointBorderColor: z.ZodOptional<z.ZodString>;
8968
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
8969
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
8970
+ solid: "solid";
8971
+ dashed: "dashed";
8972
+ dotted: "dotted";
8973
+ }>>;
8974
+ }, z.core.$strip>>]>>>;
8638
8975
  }, z.core.$strip>;
8639
8976
  cellStyle: z.ZodObject<{
8640
8977
  bodyCellStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -15808,6 +16145,27 @@ export declare const zAdvancedVSeed: z.ZodObject<{
15808
16145
  showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15809
16146
  showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15810
16147
  }, z.core.$strip>>>;
16148
+ boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16149
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16150
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16151
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16152
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16153
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16154
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16155
+ }, z.core.$strip>>>;
16156
+ outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16157
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
16158
+ pointSize: z.ZodOptional<z.ZodNumber>;
16159
+ pointColor: z.ZodOptional<z.ZodString>;
16160
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
16161
+ pointBorderColor: z.ZodOptional<z.ZodString>;
16162
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
16163
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
16164
+ solid: "solid";
16165
+ dashed: "dashed";
16166
+ dotted: "dotted";
16167
+ }>>;
16168
+ }, z.core.$strip>>>;
15811
16169
  }, z.core.$strip>>>;
15812
16170
  histogram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15813
16171
  backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from '../../i18n';
2
- import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, Color, CrosshairRect, Dataset, Dimensions, Label, Legend, Theme, Tooltip, XBandAxis, YLinearAxis, MeasureTree, Sort, SortLegend, WhiskersConfig, DimensionLinkage } from '../../properties';
2
+ import type { AnnotationArea, AnnotationHorizontalLine, AnnotationPoint, AnnotationVerticalLine, BackgroundColor, BoxPlotStyle, Color, CrosshairRect, Dataset, DimensionLinkage, Dimensions, Label, Legend, MeasureTree, OutlierStyle, Sort, SortLegend, Theme, Tooltip, WhiskersConfig, XBandAxis, YLinearAxis } from '../../properties';
3
3
  /**
4
4
  * @description 箱线图,适用于展示数据分布情况,X轴为类目轴(分类数据),Y轴为数值轴(连续数据),箱体纵向排列
5
5
  * 适用场景:
@@ -113,6 +113,14 @@ export interface Boxplot {
113
113
  * @description 垂直提示框配置, 用于定义图表的垂直提示框, 包括垂直提示框的颜色、标签样式等.
114
114
  */
115
115
  crosshairRect?: CrosshairRect;
116
+ /**
117
+ * @description 箱线图箱体的样式配置,支持全局或选择器粒度生效
118
+ */
119
+ boxPlotStyle?: BoxPlotStyle | BoxPlotStyle[];
120
+ /**
121
+ * @description 异常点的样式配置,支持全局或选择器粒度生效
122
+ */
123
+ outlierStyle?: OutlierStyle | OutlierStyle[];
116
124
  /**
117
125
  * @description 直方图的须长配置,支持标量值和长度为2 的数组
118
126
  * 当值为标量的时候,使用 whiskers * IQR 来计算上界值和下界值