@visactor/vseed 0.1.50 → 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.
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/buildAdvanced.js +1 -1
- package/dist/esm/builder/builder/buildAdvanced.js.map +1 -1
- package/dist/esm/builder/builder/buildSpec.js +1 -1
- package/dist/esm/builder/builder/buildSpec.js.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +817 -1
- package/dist/esm/builder/builder/builder.js +5 -1
- package/dist/esm/builder/builder/builder.js.map +1 -1
- package/dist/esm/dataSelector/selector.d.ts +5 -0
- package/dist/esm/dataSelector/selector.js +92 -50
- package/dist/esm/dataSelector/selector.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
- package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
- package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/area.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +8 -6
- package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +19 -16
- package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +6 -3
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +94 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +12 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +12 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js +3 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js +3 -0
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
- package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +47 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +16 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +18 -12
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +9 -5
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +14 -6
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +69 -32
- package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
- package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +8 -8
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
- package/dist/esm/pipeline/utils/measures/find.js +13 -1
- package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
- package/dist/esm/theme/common/axes.js +4 -4
- package/dist/esm/theme/common/axes.js.map +1 -1
- package/dist/esm/theme/common/boxPlot.d.ts +5 -0
- package/dist/esm/theme/common/boxPlot.js +15 -0
- package/dist/esm/theme/common/boxPlot.js.map +1 -0
- package/dist/esm/theme/common/crosshair.js +4 -4
- package/dist/esm/theme/common/crosshair.js.map +1 -1
- package/dist/esm/theme/common/table.js +2 -0
- package/dist/esm/theme/common/table.js.map +1 -1
- package/dist/esm/theme/dark/dark.js +4 -1
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/light/light.js +4 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/types/advancedVSeed.d.ts +533 -0
- package/dist/esm/types/advancedVSeed.js +1 -0
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/area/area.d.ts +6 -1
- package/dist/esm/types/chartType/area/zArea.d.ts +5 -0
- package/dist/esm/types/chartType/area/zArea.js +2 -1
- package/dist/esm/types/chartType/area/zArea.js.map +1 -1
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +6 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -0
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -1
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
- package/dist/esm/types/chartType/bar/bar.d.ts +6 -1
- package/dist/esm/types/chartType/bar/zBar.d.ts +5 -0
- package/dist/esm/types/chartType/bar/zBar.js +2 -1
- package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +6 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -0
- package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
- package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +6 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -0
- package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
- package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
- package/dist/esm/types/chartType/boxplot/boxplot.d.ts +14 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +321 -0
- package/dist/esm/types/chartType/boxplot/zBoxplot.js +4 -1
- package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
- package/dist/esm/types/chartType/column/column.d.ts +6 -1
- package/dist/esm/types/chartType/column/zColumn.d.ts +5 -0
- package/dist/esm/types/chartType/column/zColumn.js +2 -1
- package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +6 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -0
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +6 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -0
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
- package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +6 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -0
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js +2 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
- package/dist/esm/types/chartType/histogram/histogram.d.ts +6 -1
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +5 -0
- package/dist/esm/types/chartType/histogram/zHistogram.js +2 -1
- package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
- package/dist/esm/types/chartType/line/line.d.ts +6 -1
- package/dist/esm/types/chartType/line/zLine.d.ts +5 -0
- package/dist/esm/types/chartType/line/zLine.js +2 -1
- package/dist/esm/types/chartType/line/zLine.js.map +1 -1
- package/dist/esm/types/chartType/scatter/scatter.d.ts +6 -1
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -0
- package/dist/esm/types/chartType/scatter/zScatter.js +2 -1
- package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/properties/config/area.d.ts +10 -0
- package/dist/esm/types/properties/config/area.js +3 -1
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/bar.d.ts +15 -0
- package/dist/esm/types/properties/config/bar.js +3 -1
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/boxplot.d.ts +26 -0
- package/dist/esm/types/properties/config/boxplot.js +10 -1
- package/dist/esm/types/properties/config/boxplot.js.map +1 -1
- package/dist/esm/types/properties/config/column.d.ts +15 -0
- package/dist/esm/types/properties/config/column.js +3 -1
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +86 -0
- package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.d.ts +23 -0
- package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js +9 -0
- package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js.map +1 -0
- package/dist/esm/types/properties/config/dimensionLinkage/index.d.ts +1 -0
- package/dist/esm/types/properties/config/dimensionLinkage/index.js +1 -0
- package/dist/esm/types/properties/config/dualAxis.d.ts +5 -0
- package/dist/esm/types/properties/config/dualAxis.js +3 -1
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
- package/dist/esm/types/properties/config/histogram.d.ts +5 -0
- package/dist/esm/types/properties/config/histogram.js +3 -1
- package/dist/esm/types/properties/config/histogram.js.map +1 -1
- package/dist/esm/types/properties/config/index.d.ts +1 -0
- package/dist/esm/types/properties/config/index.js +1 -0
- package/dist/esm/types/properties/config/label/pieLabel.d.ts +2 -2
- package/dist/esm/types/properties/config/line.d.ts +5 -0
- package/dist/esm/types/properties/config/line.js +3 -1
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.d.ts +5 -0
- package/dist/esm/types/properties/config/scatter.js +3 -1
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
- package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
- package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
- package/dist/esm/types/properties/markStyle/index.js +2 -0
- package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
- package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
- package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
- package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
- package/dist/esm/types/properties/regressionLine/ecdfRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +2 -2
- package/dist/esm/types/properties/theme/customTheme.d.ts +172 -0
- package/dist/esm/types/zVseed.d.ts +381 -0
- package/dist/umd/index.js +845 -279
- package/dist/umd/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -445,6 +445,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
445
445
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
446
446
|
}, z.core.$strip>>>;
|
|
447
447
|
}, z.core.$strip>>>;
|
|
448
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
449
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
450
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
451
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
452
|
+
}, z.core.$strip>>>;
|
|
448
453
|
}, z.core.$strip>>>;
|
|
449
454
|
column: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
450
455
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -860,6 +865,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
860
865
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
861
866
|
}, z.core.$strip>>>;
|
|
862
867
|
}, z.core.$strip>>>;
|
|
868
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
869
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
870
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
871
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
872
|
+
}, z.core.$strip>>>;
|
|
863
873
|
regressionLine: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
864
874
|
ecdfRegressionLine: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
865
875
|
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1417,6 +1427,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
1417
1427
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
1418
1428
|
}, z.core.$strip>>>;
|
|
1419
1429
|
}, z.core.$strip>>>;
|
|
1430
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1431
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1432
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1433
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1434
|
+
}, z.core.$strip>>>;
|
|
1420
1435
|
}, z.core.$strip>>>;
|
|
1421
1436
|
columnPercent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1422
1437
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -1832,6 +1847,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
1832
1847
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
1833
1848
|
}, z.core.$strip>>>;
|
|
1834
1849
|
}, z.core.$strip>>>;
|
|
1850
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1851
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1852
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1853
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1854
|
+
}, z.core.$strip>>>;
|
|
1835
1855
|
}, z.core.$strip>>>;
|
|
1836
1856
|
bar: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1837
1857
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -2245,6 +2265,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
2245
2265
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
2246
2266
|
}, z.core.$strip>>>;
|
|
2247
2267
|
}, z.core.$strip>>>;
|
|
2268
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2269
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2270
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2271
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2272
|
+
}, z.core.$strip>>>;
|
|
2248
2273
|
}, z.core.$strip>>>;
|
|
2249
2274
|
barParallel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2250
2275
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -2658,6 +2683,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
2658
2683
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
2659
2684
|
}, z.core.$strip>>>;
|
|
2660
2685
|
}, z.core.$strip>>>;
|
|
2686
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2687
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2688
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2689
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2690
|
+
}, z.core.$strip>>>;
|
|
2661
2691
|
}, z.core.$strip>>>;
|
|
2662
2692
|
barPercent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2663
2693
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -3071,6 +3101,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
3071
3101
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
3072
3102
|
}, z.core.$strip>>>;
|
|
3073
3103
|
}, z.core.$strip>>>;
|
|
3104
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3105
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3106
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3107
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3108
|
+
}, z.core.$strip>>>;
|
|
3074
3109
|
}, z.core.$strip>>>;
|
|
3075
3110
|
area: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3076
3111
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -3484,6 +3519,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
3484
3519
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
3485
3520
|
}, z.core.$strip>>>;
|
|
3486
3521
|
}, z.core.$strip>>>;
|
|
3522
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3523
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3524
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3525
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3526
|
+
}, z.core.$strip>>>;
|
|
3487
3527
|
}, z.core.$strip>>>;
|
|
3488
3528
|
areaPercent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3489
3529
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -3897,6 +3937,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
3897
3937
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
3898
3938
|
}, z.core.$strip>>>;
|
|
3899
3939
|
}, z.core.$strip>>>;
|
|
3940
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3941
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3942
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3943
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3944
|
+
}, z.core.$strip>>>;
|
|
3900
3945
|
}, z.core.$strip>>>;
|
|
3901
3946
|
scatter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3902
3947
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -4485,6 +4530,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
4485
4530
|
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4486
4531
|
}, z.core.$strip>>]>>>;
|
|
4487
4532
|
}, z.core.$strip>>>;
|
|
4533
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4534
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4535
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4536
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4537
|
+
}, z.core.$strip>>>;
|
|
4488
4538
|
}, z.core.$strip>>>;
|
|
4489
4539
|
dualAxis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4490
4540
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -5140,6 +5190,11 @@ export declare const zConfig: z.ZodObject<{
|
|
|
5140
5190
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
5141
5191
|
}, z.core.$strip>>>;
|
|
5142
5192
|
}, z.core.$strip>>>;
|
|
5193
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5194
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5195
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5196
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5197
|
+
}, z.core.$strip>>>;
|
|
5143
5198
|
}, z.core.$strip>>>;
|
|
5144
5199
|
rose: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5145
5200
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -7033,6 +7088,32 @@ export declare const zConfig: z.ZodObject<{
|
|
|
7033
7088
|
}, z.core.$strip>>>;
|
|
7034
7089
|
}, z.core.$strip>>>;
|
|
7035
7090
|
whiskers: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>>;
|
|
7091
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7092
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7093
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7094
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7095
|
+
}, z.core.$strip>>>;
|
|
7096
|
+
boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7097
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7098
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7099
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7100
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7101
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7102
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7103
|
+
}, z.core.$strip>>>;
|
|
7104
|
+
outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7105
|
+
pointVisible: z.ZodOptional<z.ZodBoolean>;
|
|
7106
|
+
pointSize: z.ZodOptional<z.ZodNumber>;
|
|
7107
|
+
pointColor: z.ZodOptional<z.ZodString>;
|
|
7108
|
+
pointColorOpacity: z.ZodOptional<z.ZodNumber>;
|
|
7109
|
+
pointBorderColor: z.ZodOptional<z.ZodString>;
|
|
7110
|
+
pointBorderWidth: z.ZodOptional<z.ZodNumber>;
|
|
7111
|
+
pointBorderStyle: z.ZodOptional<z.ZodEnum<{
|
|
7112
|
+
solid: "solid";
|
|
7113
|
+
dashed: "dashed";
|
|
7114
|
+
dotted: "dotted";
|
|
7115
|
+
}>>;
|
|
7116
|
+
}, z.core.$strip>>>;
|
|
7036
7117
|
}, z.core.$strip>>>;
|
|
7037
7118
|
histogram: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7038
7119
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
|
|
@@ -7591,5 +7672,10 @@ export declare const zConfig: z.ZodObject<{
|
|
|
7591
7672
|
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7592
7673
|
}, z.core.$strip>>]>>>;
|
|
7593
7674
|
}, z.core.$strip>>>;
|
|
7675
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7676
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7677
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7678
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7679
|
+
}, z.core.$strip>>>;
|
|
7594
7680
|
}, z.core.$strip>>>;
|
|
7595
7681
|
}, z.core.$strip>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const zDimensionLinkage: z.ZodObject<{
|
|
3
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
/**
|
|
8
|
+
* 透视图表维度联动配置
|
|
9
|
+
*/
|
|
10
|
+
export type DimensionLinkage = {
|
|
11
|
+
/**
|
|
12
|
+
* 是否开启透视图表维度联动
|
|
13
|
+
*/
|
|
14
|
+
enable: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 是否显示所有维度对应子图表的Tooltip提示信息
|
|
17
|
+
*/
|
|
18
|
+
showTooltip?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 是否显示crosshair 对应的标签
|
|
21
|
+
*/
|
|
22
|
+
showLabel?: boolean;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types/properties/config/dimensionLinkage/dimensionLinkage.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/dimensionLinkage/dimensionLinkage.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zDimensionLinkage = z.object({\n enable: z.boolean().nullish(),\n showTooltip: z.boolean().nullish(),\n showLabel: z.boolean().nullish(),\n})\n\n/**\n * 透视图表维度联动配置\n */\nexport type DimensionLinkage = {\n /**\n * 是否开启透视图表维度联动\n */\n enable: boolean\n /**\n * 是否显示所有维度对应子图表的Tooltip提示信息\n */\n showTooltip?: boolean\n /**\n * 是否显示crosshair 对应的标签\n */\n showLabel?: boolean\n}\n"],"names":["zDimensionLinkage","z"],"mappings":";AAEO,MAAMA,oBAAoBC,EAAE,MAAM,CAAC;IACxC,QAAQA,EAAE,OAAO,GAAG,OAAO;IAC3B,aAAaA,EAAE,OAAO,GAAG,OAAO;IAChC,WAAWA,EAAE,OAAO,GAAG,OAAO;AAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dimensionLinkage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./dimensionLinkage.js";
|
|
@@ -653,5 +653,10 @@ export declare const zDualAxisConfig: z.ZodObject<{
|
|
|
653
653
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
654
654
|
}, z.core.$strip>>>;
|
|
655
655
|
}, z.core.$strip>>>;
|
|
656
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
657
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
658
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
659
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
660
|
+
}, z.core.$strip>>>;
|
|
656
661
|
}, z.core.$strip>;
|
|
657
662
|
export type DualAxisConfig = z.infer<typeof zDualAxisConfig>;
|
|
@@ -9,6 +9,7 @@ import { zTooltip } from "./tooltip/tooltip.js";
|
|
|
9
9
|
import { zDualChartType } from "../chartType/index.js";
|
|
10
10
|
import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
|
|
11
11
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
12
|
+
import { zDimensionLinkage } from "./dimensionLinkage/dimensionLinkage.js";
|
|
12
13
|
const zDualAxisConfig = z.object({
|
|
13
14
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14
15
|
label: zLabel.nullish(),
|
|
@@ -22,7 +23,8 @@ const zDualAxisConfig = z.object({
|
|
|
22
23
|
xAxis: zXBandAxis.nullish(),
|
|
23
24
|
crosshairRect: zCrosshairRect.nullish(),
|
|
24
25
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
25
|
-
annotation: zAnnotationConfig.nullish()
|
|
26
|
+
annotation: zAnnotationConfig.nullish(),
|
|
27
|
+
dimensionLinkage: zDimensionLinkage.nullish()
|
|
26
28
|
});
|
|
27
29
|
export { zDualAxisConfig };
|
|
28
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/dualAxis.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/dualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\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 { zDualChartType } from '../chartType'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\n\nexport const zDualAxisConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n\n xAxis: zXBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n})\n\nexport type DualAxisConfig = z.infer<typeof zDualAxisConfig>\n"],"names":["zDualAxisConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zDualChartType","zYLinearAxis","zXBandAxis","zCrosshairRect","zPivotChartGridConfig","zAnnotationConfig"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/dualAxis.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/dualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairRect } from './crosshair'\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 { zDualChartType } from '../chartType'\nimport { zAnnotationConfig } from './annotation/zAnnotaion'\nimport { zPivotChartGridConfig } from './pivotGrid'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\n\nexport const zDualAxisConfig = z.object({\n backgroundColor: zBackgroundColor.nullish(),\n label: zLabel.nullish(),\n color: zColor.nullish(),\n tooltip: zTooltip.nullish(),\n legend: zLegend.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n\n xAxis: zXBandAxis.nullish(),\n crosshairRect: zCrosshairRect.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n})\n\nexport type DualAxisConfig = z.infer<typeof zDualAxisConfig>\n"],"names":["zDualAxisConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zDualChartType","zYLinearAxis","zXBandAxis","zCrosshairRect","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,kBAAkBC,EAAE,MAAM,CAAC;IACtC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,eAAeL,EAAE,KAAK,CAACM,gBAAgB,EAAE,CAACA,gBAAgB,OAAO;IACjE,YAAYN,EAAE,KAAK,CAACA,EAAE,OAAO,IAAI,EAAE,CAACA,EAAE,OAAO,IAAI,OAAO;IACxD,cAAcA,EAAE,KAAK,CAACO,cAAc,EAAE,CAACA,cAAc,OAAO;IAC5D,gBAAgBP,EAAE,KAAK,CAACO,cAAc,EAAE,CAACA,cAAc,OAAO;IAE9D,OAAOC,WAAW,OAAO;IACzB,eAAeC,eAAe,OAAO;IACrC,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IAErC,kBAAkBC,kBAAkB,OAAO;AAC7C"}
|
|
@@ -556,5 +556,10 @@ export declare const zHistogramConfig: z.ZodObject<{
|
|
|
556
556
|
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
557
557
|
}, z.core.$strip>>]>>>;
|
|
558
558
|
}, z.core.$strip>>>;
|
|
559
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
560
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
561
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
562
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
563
|
+
}, z.core.$strip>>>;
|
|
559
564
|
}, z.core.$strip>;
|
|
560
565
|
export type HistogramConfig = z.infer<typeof zHistogramConfig>;
|
|
@@ -10,6 +10,7 @@ import { zTooltip } from "./tooltip/tooltip.js";
|
|
|
10
10
|
import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
|
|
11
11
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
12
12
|
import { zRegressionLine } from "../regressionLine/index.js";
|
|
13
|
+
import { zDimensionLinkage } from "./dimensionLinkage/dimensionLinkage.js";
|
|
13
14
|
const zHistogramConfig = z.object({
|
|
14
15
|
backgroundColor: zBackgroundColor.nullish(),
|
|
15
16
|
label: zLabel.nullish(),
|
|
@@ -25,7 +26,8 @@ const zHistogramConfig = z.object({
|
|
|
25
26
|
binCount: z.number().positive().nullish(),
|
|
26
27
|
binStep: z.number().positive().nullish(),
|
|
27
28
|
binValueType: z.literal('count').or(z.literal('percentage')).nullish(),
|
|
28
|
-
regressionLine: zRegressionLine.nullish()
|
|
29
|
+
regressionLine: zRegressionLine.nullish(),
|
|
30
|
+
dimensionLinkage: zDimensionLinkage.nullish()
|
|
29
31
|
});
|
|
30
32
|
export { zHistogramConfig };
|
|
31
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/histogram.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/histogram.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 { zRegressionLine } from '../regressionLine'\n\nexport const zHistogramConfig = 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 binCount: z.number().positive().nullish(),\n binStep: z.number().positive().nullish(),\n binValueType: z.literal('count').or(z.literal('percentage')).nullish(),\n regressionLine: zRegressionLine.nullish(),\n})\n\nexport type HistogramConfig = z.infer<typeof zHistogramConfig>\n"],"names":["zHistogramConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/histogram.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/histogram.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 { zRegressionLine } from '../regressionLine'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\n\nexport const zHistogramConfig = 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 binCount: z.number().positive().nullish(),\n binStep: z.number().positive().nullish(),\n binValueType: z.literal('count').or(z.literal('percentage')).nullish(),\n regressionLine: zRegressionLine.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n})\n\nexport type HistogramConfig = z.infer<typeof zHistogramConfig>\n"],"names":["zHistogramConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairRect","zStackCornerRadius","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine","zDimensionLinkage"],"mappings":";;;;;;;;;;;;;AAcO,MAAMA,mBAAmBC,EAAE,MAAM,CAAC;IACvC,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;IACrC,UAAUX,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACvC,SAASA,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO;IACtC,cAAcA,EAAE,OAAO,CAAC,SAAS,EAAE,CAACA,EAAE,OAAO,CAAC,eAAe,OAAO;IACpE,gBAAgBY,gBAAgB,OAAO;IAEvC,kBAAkBC,kBAAkB,OAAO;AAC7C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Label } from './label';
|
|
2
|
-
export
|
|
2
|
+
export type PieLabel = Label & {
|
|
3
3
|
/**
|
|
4
4
|
* @description 标签布局方式, 仅对饼图、环形图生效且`labelPosition`为`outside`时生效
|
|
5
5
|
* - arc: 按弧形为标签布局
|
|
@@ -7,4 +7,4 @@ export interface PieLabel extends Label {
|
|
|
7
7
|
* - edge: 标签两端对齐, 通过引导线连接扇形图元与标签, 并且贴近图表两端边缘
|
|
8
8
|
*/
|
|
9
9
|
labelLayout?: 'arc' | 'labelLine' | 'edge';
|
|
10
|
-
}
|
|
10
|
+
};
|
|
@@ -411,5 +411,10 @@ export declare const zLineConfig: z.ZodObject<{
|
|
|
411
411
|
outerPadding: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
412
412
|
}, z.core.$strip>>>;
|
|
413
413
|
}, z.core.$strip>>>;
|
|
414
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
415
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
416
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
417
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
418
|
+
}, z.core.$strip>>>;
|
|
414
419
|
}, z.core.$strip>;
|
|
415
420
|
export type LineConfig = z.infer<typeof zLineConfig>;
|
|
@@ -8,6 +8,7 @@ import { zLegend } from "./legend/legend.js";
|
|
|
8
8
|
import { zTooltip } from "./tooltip/tooltip.js";
|
|
9
9
|
import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
|
|
10
10
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
11
|
+
import { zDimensionLinkage } from "./dimensionLinkage/index.js";
|
|
11
12
|
const zLineConfig = z.object({
|
|
12
13
|
backgroundColor: zBackgroundColor.nullish(),
|
|
13
14
|
label: zLabel.nullish(),
|
|
@@ -18,7 +19,8 @@ const zLineConfig = z.object({
|
|
|
18
19
|
yAxis: zYLinearAxis.nullish(),
|
|
19
20
|
crosshairLine: zCrosshairLine.nullish(),
|
|
20
21
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
21
|
-
annotation: zAnnotationConfig.nullish()
|
|
22
|
+
annotation: zAnnotationConfig.nullish(),
|
|
23
|
+
dimensionLinkage: zDimensionLinkage.nullish()
|
|
22
24
|
});
|
|
23
25
|
export { zLineConfig };
|
|
24
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/line.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/line.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\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 zLineConfig = 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 crosshairLine: zCrosshairLine.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n})\n\nexport type LineConfig = z.infer<typeof zLineConfig>\n"],"names":["zLineConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/line.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/line.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXBandAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\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 { zDimensionLinkage } from './dimensionLinkage'\n\nexport const zLineConfig = 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 crosshairLine: zCrosshairLine.nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n})\n\nexport type LineConfig = z.infer<typeof zLineConfig>\n"],"names":["zLineConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXBandAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zDimensionLinkage"],"mappings":";;;;;;;;;;;AAYO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,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,WAAWC,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IAErC,kBAAkBC,kBAAkB,OAAO;AAC7C"}
|
|
@@ -586,5 +586,10 @@ export declare const zScatterConfig: z.ZodObject<{
|
|
|
586
586
|
confidenceIntervalOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
587
587
|
}, z.core.$strip>>]>>>;
|
|
588
588
|
}, z.core.$strip>>>;
|
|
589
|
+
dimensionLinkage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
590
|
+
enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
591
|
+
showTooltip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
592
|
+
showLabel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
593
|
+
}, z.core.$strip>>>;
|
|
589
594
|
}, z.core.$strip>;
|
|
590
595
|
export type ScatterConfig = z.infer<typeof zScatterConfig>;
|
|
@@ -9,6 +9,7 @@ import { zTooltip } from "./tooltip/tooltip.js";
|
|
|
9
9
|
import { zAnnotationConfig } from "./annotation/zAnnotaion.js";
|
|
10
10
|
import { zPivotChartGridConfig } from "./pivotGrid/index.js";
|
|
11
11
|
import { zRegressionLine } from "../regressionLine/zRegressionLine.js";
|
|
12
|
+
import { zDimensionLinkage } from "./dimensionLinkage/dimensionLinkage.js";
|
|
12
13
|
const zScatterConfig = z.object({
|
|
13
14
|
backgroundColor: zBackgroundColor.nullish(),
|
|
14
15
|
label: zLabel.nullish(),
|
|
@@ -22,7 +23,8 @@ const zScatterConfig = z.object({
|
|
|
22
23
|
sizeRange: z.number().or(z.array(z.number())).nullish(),
|
|
23
24
|
pivotGrid: zPivotChartGridConfig.nullish(),
|
|
24
25
|
annotation: zAnnotationConfig.nullish(),
|
|
25
|
-
regressionLine: zRegressionLine.nullish()
|
|
26
|
+
regressionLine: zRegressionLine.nullish(),
|
|
27
|
+
dimensionLinkage: zDimensionLinkage.nullish()
|
|
26
28
|
});
|
|
27
29
|
export { zScatterConfig };
|
|
28
30
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/config/scatter.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/scatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXLinearAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\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 { zRegressionLine } from '../regressionLine/zRegressionLine'\n\nexport const zScatterConfig = 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: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n regressionLine: zRegressionLine.nullish(),\n})\n\nexport type ScatterConfig = z.infer<typeof zScatterConfig>\n"],"names":["zScatterConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXLinearAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/config/scatter.js","sources":["webpack://@visactor/vseed/./src/types/properties/config/scatter.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zXLinearAxis, zYLinearAxis } from './axes'\nimport { zCrosshairLine } from './crosshair'\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 { zRegressionLine } from '../regressionLine/zRegressionLine'\nimport { zDimensionLinkage } from './dimensionLinkage/dimensionLinkage'\n\nexport const zScatterConfig = 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: zXLinearAxis.nullish(),\n yAxis: zYLinearAxis.nullish(),\n crosshairLine: zCrosshairLine.nullish(),\n size: z.number().or(z.array(z.number())).nullish(),\n sizeRange: z.number().or(z.array(z.number())).nullish(),\n pivotGrid: zPivotChartGridConfig.nullish(),\n annotation: zAnnotationConfig.nullish(),\n regressionLine: zRegressionLine.nullish(),\n\n dimensionLinkage: zDimensionLinkage.nullish(),\n})\n\nexport type ScatterConfig = z.infer<typeof zScatterConfig>\n"],"names":["zScatterConfig","z","zBackgroundColor","zLabel","zColor","zTooltip","zLegend","zXLinearAxis","zYLinearAxis","zCrosshairLine","zPivotChartGridConfig","zAnnotationConfig","zRegressionLine","zDimensionLinkage"],"mappings":";;;;;;;;;;;;AAaO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,SAASC,SAAS,OAAO;IACzB,QAAQC,QAAQ,OAAO;IAEvB,OAAOC,aAAa,OAAO;IAC3B,OAAOC,aAAa,OAAO;IAC3B,eAAeC,eAAe,OAAO;IACrC,MAAMR,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,WAAWS,sBAAsB,OAAO;IACxC,YAAYC,kBAAkB,OAAO;IACrC,gBAAgBC,gBAAgB,OAAO;IAEvC,kBAAkBC,kBAAkB,OAAO;AAC7C"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { type Selector, type Selectors } from '../../dataSelector';
|
|
3
|
+
export type BoxPlotStyle = {
|
|
4
|
+
/**
|
|
5
|
+
* 数据选择器
|
|
6
|
+
* @description
|
|
7
|
+
* 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
|
|
8
|
+
* 若未配置selector, 则样式全局生效.
|
|
9
|
+
* @type {Selector | Selectors}
|
|
10
|
+
* @example 数值选择器
|
|
11
|
+
* selector = "tool"
|
|
12
|
+
* selector = ["tool", "book"]
|
|
13
|
+
* selector = 100
|
|
14
|
+
* selector = [100, 200]
|
|
15
|
+
* @example 局部数据选择器
|
|
16
|
+
* selector = { profit: 100 }
|
|
17
|
+
* selector = [{ profit: 100 }, { profit: 200 }]
|
|
18
|
+
* @example 条件维度选择器
|
|
19
|
+
* selector = {
|
|
20
|
+
* field: 'category',
|
|
21
|
+
* operator: 'in',
|
|
22
|
+
* value: 'tool'
|
|
23
|
+
* }
|
|
24
|
+
* selector = {
|
|
25
|
+
* field: 'category',
|
|
26
|
+
* operator: 'not in',
|
|
27
|
+
* value: 'book'
|
|
28
|
+
* }
|
|
29
|
+
* @example 条件指标选择器
|
|
30
|
+
* selector = {
|
|
31
|
+
* field: 'profit',
|
|
32
|
+
* operator: '>=',
|
|
33
|
+
* value: 100
|
|
34
|
+
* }
|
|
35
|
+
* selector = {
|
|
36
|
+
* field: 'profit',
|
|
37
|
+
* operator: 'between'
|
|
38
|
+
* value: [100, 300]
|
|
39
|
+
* }
|
|
40
|
+
*/
|
|
41
|
+
selector?: Selector | Selectors;
|
|
42
|
+
/**
|
|
43
|
+
* @description boxPlot图元是否可见
|
|
44
|
+
*/
|
|
45
|
+
boxVisible?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @description boxPlot图元颜色
|
|
48
|
+
* @type {string}
|
|
49
|
+
*/
|
|
50
|
+
boxColor?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @description boxPlot图元颜色透明度
|
|
53
|
+
* @type {number}
|
|
54
|
+
*/
|
|
55
|
+
boxColorOpacity?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @description boxPlot图元边框颜色
|
|
58
|
+
* @type {string}
|
|
59
|
+
*/
|
|
60
|
+
boxBorderColor?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @description boxPlot图元边框宽度
|
|
63
|
+
* @type {number}
|
|
64
|
+
*/
|
|
65
|
+
boxBorderWidth?: number;
|
|
66
|
+
/**
|
|
67
|
+
* @description boxPlot图元边框透明度
|
|
68
|
+
* @type {number}
|
|
69
|
+
*/
|
|
70
|
+
boxBorderOpacity?: number;
|
|
71
|
+
};
|
|
72
|
+
export declare const zBoxPlotStyle: z.ZodObject<{
|
|
73
|
+
selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
74
|
+
field: z.ZodString;
|
|
75
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
76
|
+
"=": "=";
|
|
77
|
+
"==": "==";
|
|
78
|
+
"!=": "!=";
|
|
79
|
+
">": ">";
|
|
80
|
+
"<": "<";
|
|
81
|
+
">=": ">=";
|
|
82
|
+
"<=": "<=";
|
|
83
|
+
between: "between";
|
|
84
|
+
}>>>;
|
|
85
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
86
|
+
"=": "=";
|
|
87
|
+
"==": "==";
|
|
88
|
+
"!=": "!=";
|
|
89
|
+
">": ">";
|
|
90
|
+
"<": "<";
|
|
91
|
+
">=": ">=";
|
|
92
|
+
"<=": "<=";
|
|
93
|
+
between: "between";
|
|
94
|
+
}>>>;
|
|
95
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
96
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
+
field: z.ZodString;
|
|
98
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
99
|
+
in: "in";
|
|
100
|
+
"not in": "not in";
|
|
101
|
+
}>>>;
|
|
102
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
103
|
+
in: "in";
|
|
104
|
+
"not in": "not in";
|
|
105
|
+
}>>>;
|
|
106
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
107
|
+
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
108
|
+
field: z.ZodString;
|
|
109
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
110
|
+
"=": "=";
|
|
111
|
+
"==": "==";
|
|
112
|
+
"!=": "!=";
|
|
113
|
+
">": ">";
|
|
114
|
+
"<": "<";
|
|
115
|
+
">=": ">=";
|
|
116
|
+
"<=": "<=";
|
|
117
|
+
between: "between";
|
|
118
|
+
}>>>;
|
|
119
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
120
|
+
"=": "=";
|
|
121
|
+
"==": "==";
|
|
122
|
+
"!=": "!=";
|
|
123
|
+
">": ">";
|
|
124
|
+
"<": "<";
|
|
125
|
+
">=": ">=";
|
|
126
|
+
"<=": "<=";
|
|
127
|
+
between: "between";
|
|
128
|
+
}>>>;
|
|
129
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
field: z.ZodString;
|
|
132
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
133
|
+
in: "in";
|
|
134
|
+
"not in": "not in";
|
|
135
|
+
}>>>;
|
|
136
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
137
|
+
in: "in";
|
|
138
|
+
"not in": "not in";
|
|
139
|
+
}>>>;
|
|
140
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
141
|
+
}, z.core.$strip>]>>]>>>;
|
|
142
|
+
boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
143
|
+
boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
145
|
+
boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
147
|
+
boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
148
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { zSelector, zSelectors } from "../../dataSelector/index.js";
|
|
3
|
+
const zBoxPlotStyle = z.object({
|
|
4
|
+
selector: zSelector.or(zSelectors).nullish(),
|
|
5
|
+
boxVisible: z.boolean().nullish(),
|
|
6
|
+
boxColor: z.string().nullish(),
|
|
7
|
+
boxColorOpacity: z.number().min(0).max(1).nullish(),
|
|
8
|
+
boxBorderColor: z.string().nullish(),
|
|
9
|
+
boxBorderWidth: z.number().min(0).nullish(),
|
|
10
|
+
boxBorderOpacity: z.number().min(0).max(1).nullish()
|
|
11
|
+
});
|
|
12
|
+
export { zBoxPlotStyle };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=boxPlotStyle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types/properties/markStyle/boxPlotStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/boxPlotStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zSelector, zSelectors, type Selector, type Selectors } from '../../dataSelector'\n\nexport type BoxPlotStyle = {\n /**\n * 数据选择器\n * @description\n * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力\n * 若未配置selector, 则样式全局生效.\n * @type {Selector | Selectors}\n * @example 数值选择器\n * selector = \"tool\"\n * selector = [\"tool\", \"book\"]\n * selector = 100\n * selector = [100, 200]\n * @example 局部数据选择器\n * selector = { profit: 100 }\n * selector = [{ profit: 100 }, { profit: 200 }]\n * @example 条件维度选择器\n * selector = {\n * field: 'category',\n * operator: 'in',\n * value: 'tool'\n * }\n * selector = {\n * field: 'category',\n * operator: 'not in',\n * value: 'book'\n * }\n * @example 条件指标选择器\n * selector = {\n * field: 'profit',\n * operator: '>=',\n * value: 100\n * }\n * selector = {\n * field: 'profit',\n * operator: 'between'\n * value: [100, 300]\n * }\n */\n selector?: Selector | Selectors\n\n /**\n * @description boxPlot图元是否可见\n */\n boxVisible?: boolean\n /**\n * @description boxPlot图元颜色\n * @type {string}\n */\n boxColor?: string\n /**\n * @description boxPlot图元颜色透明度\n * @type {number}\n */\n boxColorOpacity?: number\n /**\n * @description boxPlot图元边框颜色\n * @type {string}\n */\n boxBorderColor?: string\n /**\n * @description boxPlot图元边框宽度\n * @type {number}\n */\n boxBorderWidth?: number\n /**\n * @description boxPlot图元边框透明度\n * @type {number}\n */\n boxBorderOpacity?: number\n}\n\nexport const zBoxPlotStyle = z.object({\n selector: zSelector.or(zSelectors).nullish(),\n boxVisible: z.boolean().nullish(),\n boxColor: z.string().nullish(),\n boxColorOpacity: z.number().min(0).max(1).nullish(),\n boxBorderColor: z.string().nullish(),\n boxBorderWidth: z.number().min(0).nullish(),\n boxBorderOpacity: z.number().min(0).max(1).nullish(),\n})\n"],"names":["zBoxPlotStyle","z","zSelector","zSelectors"],"mappings":";;AA0EO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,UAAUC,UAAU,EAAE,CAACC,YAAY,OAAO;IAC1C,YAAYF,EAAE,OAAO,GAAG,OAAO;IAC/B,UAAUA,EAAE,MAAM,GAAG,OAAO;IAC5B,iBAAiBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,OAAO;IACjD,gBAAgBA,EAAE,MAAM,GAAG,OAAO;IAClC,gBAAgBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,OAAO;IACzC,kBAAkBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,OAAO;AACpD"}
|