@visactor/vseed 0.0.18 → 0.0.20
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/builder/builder/advanced/colorItems.d.ts +2 -0
- package/dist/builder/builder/advanced/index.d.ts +1 -0
- package/dist/builder/builder/build.d.ts +0 -1
- package/dist/builder/builder/buildAdvanced.d.ts +0 -1
- package/dist/builder/builder/buildSpec.d.ts +0 -1
- package/dist/builder/builder/builder.d.ts +5367 -5355
- package/dist/builder/builder/index.d.ts +0 -1
- package/dist/builder/index.d.ts +0 -1
- package/dist/builder/register/all.d.ts +0 -1
- package/dist/builder/register/chartType.d.ts +2 -1
- package/dist/builder/register/index.d.ts +1 -2
- package/dist/builder/register/theme.d.ts +0 -1
- package/dist/dataReshape/constant.d.ts +0 -1
- package/dist/dataReshape/dataReshapeFor1D1M.d.ts +0 -1
- package/dist/dataReshape/dataReshapeFor1D2M.d.ts +0 -1
- package/dist/dataReshape/dataReshapeFor2D1M.d.ts +0 -1
- package/dist/dataReshape/foldMeasures.d.ts +3 -4
- package/dist/dataReshape/index.d.ts +0 -1
- package/dist/dataReshape/unfoldDimensions.d.ts +0 -1
- package/dist/dataSelector/index.d.ts +0 -1
- package/dist/dataSelector/selector.d.ts +0 -1
- package/dist/i18n/i18n.d.ts +0 -1
- package/dist/i18n/index.d.ts +0 -1
- package/dist/index.cjs +1234 -701
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1173 -757
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipeline/area.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/areaPercent.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/bar.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/barParallel.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/barPercent.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/column.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/columnParallel.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/columnPercent.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/donut.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/funnel.d.ts +2 -0
- package/dist/pipeline/advanced/{pipeline → chart/pipeline}/index.d.ts +0 -1
- package/dist/pipeline/advanced/chart/pipeline/line.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/pie.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/rose.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/roseParallel.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/scatter.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/annotation/annotation.d.ts +2 -0
- package/dist/pipeline/advanced/{pipes → chart/pipes}/annotation/index.d.ts +0 -1
- package/dist/pipeline/advanced/{pipes → chart/pipes}/config/config.d.ts +1 -2
- package/dist/pipeline/advanced/chart/pipes/config/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingFunnel.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingPie.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingRose.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingXY.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingYX.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingYY.d.ts +2 -0
- package/dist/pipeline/advanced/{pipes → chart/pipes}/encoding/index.d.ts +1 -1
- package/dist/pipeline/advanced/{pipes → chart/pipes}/index.d.ts +0 -3
- package/dist/pipeline/advanced/chart/pipes/init/autoDimensions.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/init/autoMeasures.d.ts +2 -0
- package/dist/pipeline/advanced/{pipes → chart/pipes}/init/index.d.ts +0 -1
- package/dist/pipeline/advanced/chart/pipes/init/initAdvancedVSeed.d.ts +2 -0
- package/dist/pipeline/advanced/{pipes → chart/pipes}/markStyle/index.d.ts +0 -1
- package/dist/pipeline/advanced/chart/pipes/markStyle/markStyle.d.ts +2 -0
- package/dist/pipeline/advanced/{pipes → chart/pipes}/pivot/index.d.ts +0 -1
- package/dist/pipeline/advanced/{pipes → chart/pipes}/pivot/pivotAdapter.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/index.d.ts +0 -1
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/pivotReshapeTo1D1M.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/pivotReshapeTo1D2M.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/pivotReshapeTo2D1M.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/reshapeTo1D1M.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/reshapeTo1D2M.d.ts +1 -2
- package/dist/pipeline/advanced/{pipes → chart/pipes}/reshape/reshapeTo2D1M.d.ts +1 -2
- package/dist/pipeline/advanced/chart/pipes/theme/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/theme/theme.d.ts +2 -0
- package/dist/pipeline/advanced/index.d.ts +2 -2
- package/dist/pipeline/advanced/table/index.d.ts +1 -0
- package/dist/pipeline/advanced/table/pipeline/index.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipeline/pivotTable.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipeline/table.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/index.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/init/autoDimensions.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/init/autoMeasures.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/init/autoPivotDimensions.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/init/autoPivotMeasures.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/init/index.d.ts +5 -0
- package/dist/pipeline/advanced/table/pipes/init/initAdvancedVSeed.d.ts +2 -0
- package/dist/pipeline/advanced/table/pipes/records/index.d.ts +1 -0
- package/dist/pipeline/advanced/table/pipes/records/records.d.ts +2 -0
- package/dist/pipeline/index.d.ts +0 -1
- package/dist/pipeline/spec/chart/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/area.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/areaPercent.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/bar.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/barParallel.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/barPercent.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/column.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/columnParallel.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/columnPercent.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/donut.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/funnel.d.ts +2 -0
- package/dist/pipeline/spec/{pipeline → chart/pipeline}/index.d.ts +0 -1
- package/dist/pipeline/spec/chart/pipeline/line.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/pie.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/rose.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/roseParallel.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/scatter.d.ts +2 -0
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/annotationArea.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/annotationAreaBand.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/annotationHorizontalLine.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/annotationPoint.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/annotationVerticalLine.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/annotation/utils.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/a.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/angle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/radius.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/xBand.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/xLinear.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/yBand.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/axes/yLinear.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/backgroundColor/background.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/backgroundColor/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/color/color.d.ts +0 -1
- package/dist/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/crosshair/horizontalCrosshairLine.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/crosshair/horizontalCrosshairRect.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/crosshair/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/crosshair/verticalCrosshairLine.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/crosshair/verticalCrosshairRect.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/dataset/dataset.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/dataset/datasetPivot.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/dataset/index.d.ts +0 -1
- package/dist/pipeline/spec/chart/pipes/index.d.ts +14 -0
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/area.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/bar.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/barParallel.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/column.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/columnParallel.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/donut.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/funnel.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/index.d.ts +1 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/line.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/pie.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/pivot.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/rose.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/roseParallel.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/init/scatter.d.ts +0 -1
- package/dist/pipeline/spec/chart/pipes/label/index.d.ts +1 -0
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/label/label.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/legend/discreteLegend.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/legend/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/legend/pivotDiscreteLegend.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/areaStyle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/barStyle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/lineStyle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/pointState.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/markStyle/pointStyle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/percent/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/percent/percent.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/pivotAdapter.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/pivotColumnDimensions.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/pivotGridStyle.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/pivotIndicators.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/pivotChart/pivotRowDimensions.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/stack/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/stack/stack.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/stack/stackCornerRadius.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/tooltip/index.d.ts +0 -1
- package/dist/pipeline/spec/{pipes/vchart → chart/pipes}/tooltip/tooltip.d.ts +0 -1
- package/dist/pipeline/spec/index.d.ts +2 -2
- package/dist/pipeline/spec/table/index.d.ts +1 -0
- package/dist/pipeline/spec/table/pipeline/index.d.ts +2 -0
- package/dist/pipeline/spec/table/pipeline/pivotTable.d.ts +2 -0
- package/dist/pipeline/spec/table/pipeline/table.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/columns/index.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/columns/measuresToColumns.d.ts +3 -0
- package/dist/pipeline/spec/table/pipes/columns/pivotColumns.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/index.d.ts +4 -0
- package/dist/pipeline/spec/table/pipes/indicators/index.d.ts +1 -0
- package/dist/pipeline/spec/table/pipes/indicators/pivotIndicators.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/init/index.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/init/pivotTable.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/init/table.d.ts +2 -0
- package/dist/pipeline/spec/table/pipes/rows/index.d.ts +1 -0
- package/dist/pipeline/spec/table/pipes/rows/pivotRows.d.ts +2 -0
- package/dist/pipeline/utils/chatType.d.ts +6 -40
- package/dist/pipeline/{constant.d.ts → utils/constant.d.ts} +0 -1
- package/dist/pipeline/utils/dimensions/find.d.ts +4 -0
- package/dist/pipeline/utils/dimensions/index.d.ts +1 -0
- package/dist/pipeline/utils/format/createFormatter.d.ts +0 -1
- package/dist/pipeline/utils/format/createNumFormatter.d.ts +1 -2
- package/dist/pipeline/utils/format/index.d.ts +0 -1
- package/dist/pipeline/utils/index.d.ts +2 -1
- package/dist/pipeline/utils/measures/find.d.ts +4 -0
- package/dist/pipeline/utils/measures/index.d.ts +1 -2
- package/dist/pipeline/utils/pipeline.d.ts +0 -1
- package/dist/pipeline/utils/tree/index.d.ts +1 -0
- package/dist/pipeline/utils/tree/traverse.d.ts +11 -0
- package/dist/theme/dark.d.ts +0 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/light.d.ts +0 -1
- package/dist/types/advancedVSeed.d.ts +2531 -1942
- package/dist/types/builder/builder.d.ts +1 -1
- package/dist/types/builder/index.d.ts +0 -1
- package/dist/types/builder/spec.d.ts +0 -1
- package/dist/types/chartType/area/area.d.ts +43 -22
- package/dist/types/chartType/area/index.d.ts +0 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +43 -22
- package/dist/types/chartType/areaPercent/index.d.ts +0 -1
- package/dist/types/chartType/bar/bar.d.ts +43 -22
- package/dist/types/chartType/bar/index.d.ts +0 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts +43 -22
- package/dist/types/chartType/barParallel/index.d.ts +0 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts +43 -22
- package/dist/types/chartType/barPercent/index.d.ts +0 -1
- package/dist/types/chartType/column/column.d.ts +43 -22
- package/dist/types/chartType/column/index.d.ts +0 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +43 -22
- package/dist/types/chartType/columnParallel/index.d.ts +0 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +43 -22
- package/dist/types/chartType/columnPercent/index.d.ts +0 -1
- package/dist/types/chartType/donut/donut.d.ts +41 -22
- package/dist/types/chartType/donut/index.d.ts +0 -1
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +3 -4
- package/dist/types/chartType/dualAxis/index.d.ts +0 -1
- package/dist/types/chartType/funnel/funnel.d.ts +41 -22
- package/dist/types/chartType/funnel/index.d.ts +0 -1
- package/dist/types/chartType/index.d.ts +3 -4
- package/dist/types/chartType/line/index.d.ts +0 -1
- package/dist/types/chartType/line/line.d.ts +43 -22
- package/dist/types/chartType/pie/index.d.ts +0 -1
- package/dist/types/chartType/pie/pie.d.ts +41 -22
- package/dist/types/chartType/pivotTable/index.d.ts +1 -2
- package/dist/types/chartType/pivotTable/pivotTable.d.ts +58 -4
- package/dist/types/chartType/rose/index.d.ts +0 -1
- package/dist/types/chartType/rose/rose.d.ts +38 -19
- package/dist/types/chartType/roseParallel/index.d.ts +0 -1
- package/dist/types/chartType/roseParallel/roseParallel.d.ts +38 -19
- package/dist/types/chartType/scatter/index.d.ts +0 -1
- package/dist/types/chartType/scatter/scatter.d.ts +45 -22
- package/dist/types/chartType/table/index.d.ts +1 -2
- package/dist/types/chartType/table/table.d.ts +98 -5
- package/dist/types/dataSelector/index.d.ts +0 -1
- package/dist/types/dataSelector/selector.d.ts +0 -1
- package/dist/types/i18n/i18n.d.ts +0 -1
- package/dist/types/i18n/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/pipeline/advancedVSeed/advancedVSeed.d.ts +0 -1
- package/dist/types/pipeline/advancedVSeed/index.d.ts +0 -1
- package/dist/types/pipeline/index.d.ts +0 -1
- package/dist/types/pipeline/pipeline.d.ts +0 -1
- package/dist/types/pipeline/spec/index.d.ts +0 -1
- package/dist/types/pipeline/spec/spec.d.ts +0 -1
- package/dist/types/properties/annotation/annotation.d.ts +0 -1
- package/dist/types/properties/annotation/annotationArea.d.ts +0 -1
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +0 -1
- package/dist/types/properties/annotation/annotationPoint.d.ts +0 -1
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts +0 -1
- package/dist/types/properties/annotation/index.d.ts +0 -1
- package/dist/types/properties/chartType/chartType.d.ts +0 -1
- package/dist/types/properties/chartType/index.d.ts +0 -1
- package/dist/types/properties/config/{axis.d.ts → axes/axis.d.ts} +12 -1
- package/dist/types/properties/config/{bandAxis.d.ts → axes/bandAxis.d.ts} +2 -3
- package/dist/types/properties/config/axes/index.d.ts +3 -0
- package/dist/types/properties/config/{linearAxis.d.ts → axes/linearAxis.d.ts} +4 -1
- package/dist/types/properties/{baseConfig → config/backgroundColor}/backgroundColor.d.ts +0 -1
- package/dist/types/properties/config/backgroundColor/index.d.ts +1 -0
- package/dist/types/properties/{baseConfig → config/color}/color.d.ts +0 -1
- package/dist/types/properties/config/color/index.d.ts +1 -0
- package/dist/types/properties/config/config.d.ts +3029 -7
- package/dist/types/properties/config/{crosshair.d.ts → crosshair/crosshair.d.ts} +0 -1
- package/dist/types/properties/config/crosshair/index.d.ts +1 -0
- package/dist/types/properties/config/index.d.ts +6 -4
- package/dist/types/properties/config/label/index.d.ts +1 -0
- package/dist/types/properties/{baseConfig → config/label}/label.d.ts +0 -1
- package/dist/types/properties/config/legend/index.d.ts +1 -0
- package/dist/types/properties/{baseConfig → config/legend}/legend.d.ts +0 -1
- package/dist/types/properties/config/stackCornerRadius/index.d.ts +1 -0
- package/dist/types/properties/config/{stackCornerRadius.d.ts → stackCornerRadius/stackCornerRadius.d.ts} +0 -1
- package/dist/types/properties/config/tooltip/index.d.ts +1 -0
- package/dist/types/properties/{baseConfig → config/tooltip}/tooltip.d.ts +0 -1
- package/dist/types/properties/dataset/dataset.d.ts +0 -1
- package/dist/types/properties/dataset/index.d.ts +0 -1
- package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +0 -1
- package/dist/types/properties/datasetReshapeInfo/index.d.ts +0 -1
- package/dist/types/properties/dimensions/dimensions.d.ts +48 -7
- package/dist/types/properties/dimensions/index.d.ts +1 -3
- package/dist/types/properties/encoding/encoding.d.ts +0 -1
- package/dist/types/properties/encoding/index.d.ts +0 -1
- package/dist/types/properties/index.d.ts +0 -2
- package/dist/types/properties/markStyle/areaStyle.d.ts +0 -1
- package/dist/types/properties/markStyle/barStyle.d.ts +0 -1
- package/dist/types/properties/markStyle/index.d.ts +0 -1
- package/dist/types/properties/markStyle/lineStyle.d.ts +0 -1
- package/dist/types/properties/markStyle/markStyle.d.ts +0 -1
- package/dist/types/properties/markStyle/pointStyle.d.ts +0 -1
- package/dist/types/properties/measures/format/formatter.d.ts +0 -1
- package/dist/types/properties/measures/format/index.d.ts +0 -1
- package/dist/types/properties/measures/format/numFormat.d.ts +99 -7
- package/dist/types/properties/measures/index.d.ts +0 -1
- package/dist/types/properties/measures/measures.d.ts +143 -32
- package/dist/types/properties/theme/customTheme.d.ts +2349 -3226
- package/dist/types/properties/theme/index.d.ts +0 -1
- package/dist/types/properties/theme/theme.d.ts +0 -1
- package/dist/types/vseed.d.ts +736 -271
- package/dist/umd/index.js +10010 -6159
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -1
- package/dist/builder/builder/build.d.ts.map +0 -1
- package/dist/builder/builder/buildAdvanced.d.ts.map +0 -1
- package/dist/builder/builder/buildSpec.d.ts.map +0 -1
- package/dist/builder/builder/builder.d.ts.map +0 -1
- package/dist/builder/builder/index.d.ts.map +0 -1
- package/dist/builder/index.d.ts.map +0 -1
- package/dist/builder/register/all.d.ts.map +0 -1
- package/dist/builder/register/chartType.d.ts.map +0 -1
- package/dist/builder/register/index.d.ts.map +0 -1
- package/dist/builder/register/theme.d.ts.map +0 -1
- package/dist/dataReshape/constant.d.ts.map +0 -1
- package/dist/dataReshape/dataReshapeFor1D1M.d.ts.map +0 -1
- package/dist/dataReshape/dataReshapeFor1D2M.d.ts.map +0 -1
- package/dist/dataReshape/dataReshapeFor2D1M.d.ts.map +0 -1
- package/dist/dataReshape/foldMeasures.d.ts.map +0 -1
- package/dist/dataReshape/index.d.ts.map +0 -1
- package/dist/dataReshape/unfoldDimensions.d.ts.map +0 -1
- package/dist/dataSelector/index.d.ts.map +0 -1
- package/dist/dataSelector/selector.d.ts.map +0 -1
- package/dist/i18n/i18n.d.ts.map +0 -1
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/area.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/area.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/bar.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/bar.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/column.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/column.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/donut.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/donut.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/funnel.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/funnel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/line.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/line.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/pie.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/pie.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/rose.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/rose.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/scatter.d.ts +0 -3
- package/dist/pipeline/advanced/pipeline/scatter.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/annotation/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/baseConfig/baseConfig.d.ts +0 -4
- package/dist/pipeline/advanced/pipes/baseConfig/baseConfig.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/baseConfig/index.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/baseConfig/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/config/config.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/config/index.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/config/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingYY.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/encoding/encodingYY.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/i18n/index.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/i18n/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/i18n/locale.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/i18n/locale.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/init/autoDimensions.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/init/autoDimensions.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/init/autoMeasures.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/init/autoMeasures.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/init/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/init/utils.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/init/utils.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/markStyle/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/markStyle/markStyle.d.ts +0 -3
- package/dist/pipeline/advanced/pipes/markStyle/markStyle.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/pivot/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/pivot/pivotAdapter.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D1M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D2M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo2D1M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D2M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/theme/index.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/theme/index.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/theme/theme.d.ts +0 -4
- package/dist/pipeline/advanced/pipes/theme/theme.d.ts.map +0 -1
- package/dist/pipeline/constant.d.ts.map +0 -1
- package/dist/pipeline/index.d.ts.map +0 -1
- package/dist/pipeline/spec/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/area.d.ts +0 -2
- package/dist/pipeline/spec/pipeline/area.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts +0 -2
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/bar.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/bar.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/barParallel.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/barParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/barPercent.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/barPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/column.d.ts +0 -2
- package/dist/pipeline/spec/pipeline/column.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/donut.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/donut.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/funnel.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/funnel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/line.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/line.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/pie.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/pie.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/rose.d.ts +0 -2
- package/dist/pipeline/spec/pipeline/rose.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/scatter.d.ts +0 -3
- package/dist/pipeline/spec/pipeline/scatter.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/index.d.ts +0 -15
- package/dist/pipeline/spec/pipes/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationArea.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationAreaBand.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationHorizontalLine.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationPoint.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationVerticalLine.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/utils.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/a.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/angle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/radius.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/xBand.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/xLinear.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/yBand.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/yLinear.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/background.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/color/color.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/color/index.d.ts +0 -2
- package/dist/pipeline/spec/pipes/vchart/color/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairLine.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairRect.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairLine.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairRect.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/dataset.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/datasetPivot.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/area.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/bar.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/barParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/column.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/columnParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/donut.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/funnel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/line.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/pie.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/pivot.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/rose.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/roseParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/scatter.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/label/index.d.ts +0 -2
- package/dist/pipeline/spec/pipes/vchart/label/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/label/label.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/discreteLegend.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/pivotDiscreteLegend.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/areaStyle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/barStyle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/lineStyle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointState.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointStyle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/percent/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/percent/percent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotAdapter.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotColumnDimensions.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotGridStyle.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotIndicators.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotRowDimensions.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/stack.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/stackCornerRadius.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/tooltip/index.d.ts.map +0 -1
- package/dist/pipeline/spec/pipes/vchart/tooltip/tooltip.d.ts.map +0 -1
- package/dist/pipeline/utils/chatType.d.ts.map +0 -1
- package/dist/pipeline/utils/format/createFormatter.d.ts.map +0 -1
- package/dist/pipeline/utils/format/createNumFormatter.d.ts.map +0 -1
- package/dist/pipeline/utils/format/index.d.ts.map +0 -1
- package/dist/pipeline/utils/index.d.ts.map +0 -1
- package/dist/pipeline/utils/measures/findMeasureById.d.ts +0 -4
- package/dist/pipeline/utils/measures/findMeasureById.d.ts.map +0 -1
- package/dist/pipeline/utils/measures/index.d.ts.map +0 -1
- package/dist/pipeline/utils/pipeline.d.ts.map +0 -1
- package/dist/theme/dark.d.ts.map +0 -1
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/light.d.ts.map +0 -1
- package/dist/types/advancedVSeed.d.ts.map +0 -1
- package/dist/types/builder/builder.d.ts.map +0 -1
- package/dist/types/builder/index.d.ts.map +0 -1
- package/dist/types/builder/spec.d.ts.map +0 -1
- package/dist/types/chartType/area/area.d.ts.map +0 -1
- package/dist/types/chartType/area/index.d.ts.map +0 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts.map +0 -1
- package/dist/types/chartType/areaPercent/index.d.ts.map +0 -1
- package/dist/types/chartType/bar/bar.d.ts.map +0 -1
- package/dist/types/chartType/bar/index.d.ts.map +0 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts.map +0 -1
- package/dist/types/chartType/barParallel/index.d.ts.map +0 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts.map +0 -1
- package/dist/types/chartType/barPercent/index.d.ts.map +0 -1
- package/dist/types/chartType/column/column.d.ts.map +0 -1
- package/dist/types/chartType/column/index.d.ts.map +0 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts.map +0 -1
- package/dist/types/chartType/columnParallel/index.d.ts.map +0 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts.map +0 -1
- package/dist/types/chartType/columnPercent/index.d.ts.map +0 -1
- package/dist/types/chartType/donut/donut.d.ts.map +0 -1
- package/dist/types/chartType/donut/index.d.ts.map +0 -1
- package/dist/types/chartType/dualAxis/dualAxis.d.ts.map +0 -1
- package/dist/types/chartType/dualAxis/index.d.ts.map +0 -1
- package/dist/types/chartType/funnel/funnel.d.ts.map +0 -1
- package/dist/types/chartType/funnel/index.d.ts.map +0 -1
- package/dist/types/chartType/index.d.ts.map +0 -1
- package/dist/types/chartType/line/index.d.ts.map +0 -1
- package/dist/types/chartType/line/line.d.ts.map +0 -1
- package/dist/types/chartType/pie/index.d.ts.map +0 -1
- package/dist/types/chartType/pie/pie.d.ts.map +0 -1
- package/dist/types/chartType/pivotTable/index.d.ts.map +0 -1
- package/dist/types/chartType/pivotTable/pivotTable.d.ts.map +0 -1
- package/dist/types/chartType/rose/index.d.ts.map +0 -1
- package/dist/types/chartType/rose/rose.d.ts.map +0 -1
- package/dist/types/chartType/roseParallel/index.d.ts.map +0 -1
- package/dist/types/chartType/roseParallel/roseParallel.d.ts.map +0 -1
- package/dist/types/chartType/scatter/index.d.ts.map +0 -1
- package/dist/types/chartType/scatter/scatter.d.ts.map +0 -1
- package/dist/types/chartType/table/index.d.ts.map +0 -1
- package/dist/types/chartType/table/table.d.ts.map +0 -1
- package/dist/types/dataSelector/index.d.ts.map +0 -1
- package/dist/types/dataSelector/selector.d.ts.map +0 -1
- package/dist/types/i18n/i18n.d.ts.map +0 -1
- package/dist/types/i18n/index.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/pipeline/advancedVSeed/advancedVSeed.d.ts.map +0 -1
- package/dist/types/pipeline/advancedVSeed/index.d.ts.map +0 -1
- package/dist/types/pipeline/index.d.ts.map +0 -1
- package/dist/types/pipeline/pipeline.d.ts.map +0 -1
- package/dist/types/pipeline/spec/index.d.ts.map +0 -1
- package/dist/types/pipeline/spec/spec.d.ts.map +0 -1
- package/dist/types/properties/annotation/annotation.d.ts.map +0 -1
- package/dist/types/properties/annotation/annotationArea.d.ts.map +0 -1
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts.map +0 -1
- package/dist/types/properties/annotation/annotationPoint.d.ts.map +0 -1
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts.map +0 -1
- package/dist/types/properties/annotation/index.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/backgroundColor.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/baseConfig.d.ts +0 -147
- package/dist/types/properties/baseConfig/baseConfig.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/color.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/index.d.ts +0 -13
- package/dist/types/properties/baseConfig/index.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/label.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/legend.d.ts.map +0 -1
- package/dist/types/properties/baseConfig/tooltip.d.ts.map +0 -1
- package/dist/types/properties/chartType/chartType.d.ts.map +0 -1
- package/dist/types/properties/chartType/index.d.ts.map +0 -1
- package/dist/types/properties/config/axis.d.ts.map +0 -1
- package/dist/types/properties/config/bandAxis.d.ts.map +0 -1
- package/dist/types/properties/config/config.d.ts.map +0 -1
- package/dist/types/properties/config/crosshair.d.ts.map +0 -1
- package/dist/types/properties/config/index.d.ts.map +0 -1
- package/dist/types/properties/config/linearAxis.d.ts.map +0 -1
- package/dist/types/properties/config/stackCornerRadius.d.ts.map +0 -1
- package/dist/types/properties/dataset/dataset.d.ts.map +0 -1
- package/dist/types/properties/dataset/index.d.ts.map +0 -1
- package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts.map +0 -1
- package/dist/types/properties/datasetReshapeInfo/index.d.ts.map +0 -1
- package/dist/types/properties/dimensions/dimensions.d.ts.map +0 -1
- package/dist/types/properties/dimensions/index.d.ts.map +0 -1
- package/dist/types/properties/encoding/encoding.d.ts.map +0 -1
- package/dist/types/properties/encoding/index.d.ts.map +0 -1
- package/dist/types/properties/index.d.ts.map +0 -1
- package/dist/types/properties/markStyle/areaStyle.d.ts.map +0 -1
- package/dist/types/properties/markStyle/barStyle.d.ts.map +0 -1
- package/dist/types/properties/markStyle/index.d.ts.map +0 -1
- package/dist/types/properties/markStyle/lineStyle.d.ts.map +0 -1
- package/dist/types/properties/markStyle/markStyle.d.ts.map +0 -1
- package/dist/types/properties/markStyle/pointStyle.d.ts.map +0 -1
- package/dist/types/properties/measures/format/formatter.d.ts.map +0 -1
- package/dist/types/properties/measures/format/index.d.ts.map +0 -1
- package/dist/types/properties/measures/format/numFormat.d.ts.map +0 -1
- package/dist/types/properties/measures/index.d.ts.map +0 -1
- package/dist/types/properties/measures/measures.d.ts.map +0 -1
- package/dist/types/properties/theme/customTheme.d.ts.map +0 -1
- package/dist/types/properties/theme/index.d.ts.map +0 -1
- package/dist/types/properties/theme/theme.d.ts.map +0 -1
- package/dist/types/vseed.d.ts.map +0 -1
- package/dist/umd/999.js +0 -3574
- package/dist/umd/999.js.map +0 -1
package/dist/index.cjs
CHANGED
@@ -30,24 +30,32 @@ __webpack_require__.d(__webpack_exports__, {
|
|
30
30
|
pieAdvancedPipeline: ()=>pieAdvancedPipeline,
|
31
31
|
execPipeline: ()=>execPipeline,
|
32
32
|
areaSpecPipeline: ()=>areaSpecPipeline,
|
33
|
+
isTable: ()=>isTable,
|
33
34
|
zDonut: ()=>zDonut,
|
35
|
+
zRoseConfig: ()=>zRoseConfig,
|
34
36
|
findFirstMeasure: ()=>findFirstMeasure,
|
35
37
|
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
36
38
|
zCrosshairRect: ()=>zCrosshairRect,
|
37
39
|
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
38
40
|
intl: ()=>intl,
|
39
41
|
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
42
|
+
zColumnConfig: ()=>zColumnConfig,
|
40
43
|
zAnnotation: ()=>zAnnotation,
|
44
|
+
pivotTableAdvancedPipeline: ()=>pivotTableAdvancedPipeline,
|
41
45
|
zYBandAxis: ()=>zYBandAxis,
|
42
46
|
dataReshapeFor1D2M: ()=>dataReshapeFor1D2M,
|
43
47
|
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
44
48
|
zMarkStyle: ()=>zMarkStyle,
|
45
|
-
|
49
|
+
registerFunnel: ()=>registerFunnel,
|
46
50
|
Separator: ()=>Separator,
|
51
|
+
zYLinearAxis: ()=>zYLinearAxis,
|
47
52
|
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
48
53
|
zLabel: ()=>zLabel,
|
49
54
|
registerColumn: ()=>registerColumn,
|
55
|
+
findAllMeasures: ()=>findAllMeasures,
|
50
56
|
funnelSpecPipeline: ()=>funnelSpecPipeline,
|
57
|
+
preorderTraverse: ()=>preorderTraverse,
|
58
|
+
zDimensionTree: ()=>zDimensionTree,
|
51
59
|
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
52
60
|
zLineStyle: ()=>zLineStyle,
|
53
61
|
dataReshapeFor1D1M: ()=>dataReshapeFor1D1M,
|
@@ -57,14 +65,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
57
65
|
UnfoldDimensionGroupId: ()=>UnfoldDimensionGroupId,
|
58
66
|
zNumFormat: ()=>zNumFormat,
|
59
67
|
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
68
|
+
findAllDimensions: ()=>findAllDimensions,
|
69
|
+
findDimensionById: ()=>findDimensionById,
|
60
70
|
zArea: ()=>zArea,
|
61
71
|
zColumnParallel: ()=>zColumnParallel,
|
62
72
|
zDimensions: ()=>zDimensions,
|
63
73
|
zLegend: ()=>zLegend,
|
64
74
|
FoldMeasureId: ()=>FoldMeasureId,
|
65
|
-
|
75
|
+
zColumnParallelConfig: ()=>zColumnParallelConfig,
|
66
76
|
donutSpecPipeline: ()=>donutSpecPipeline,
|
67
77
|
registerAreaPercent: ()=>registerAreaPercent,
|
78
|
+
zTheme: ()=>zTheme,
|
68
79
|
zBarPercent: ()=>zBarPercent,
|
69
80
|
zDatum: ()=>zDatum,
|
70
81
|
barAdvancedPipeline: ()=>barAdvancedPipeline,
|
@@ -73,32 +84,46 @@ __webpack_require__.d(__webpack_exports__, {
|
|
73
84
|
zCrosshairLine: ()=>zCrosshairLine,
|
74
85
|
registerBarPercent: ()=>registerBarPercent,
|
75
86
|
roseSpecPipeline: ()=>roseSpecPipeline,
|
87
|
+
zPivotTable: ()=>zPivotTable,
|
76
88
|
registerLightTheme: ()=>registerLightTheme,
|
77
89
|
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
78
90
|
zBarParallel: ()=>zBarParallel,
|
91
|
+
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
79
92
|
zChartType: ()=>zChartType,
|
93
|
+
tableAdvancedPipeline: ()=>tableAdvancedPipeline,
|
80
94
|
registerDarkTheme: ()=>registerDarkTheme,
|
81
|
-
|
95
|
+
registerPivotTable: ()=>registerPivotTable,
|
82
96
|
pieSpecPipeline: ()=>pieSpecPipeline,
|
83
|
-
|
97
|
+
zMeasureTree: ()=>zMeasureTree,
|
84
98
|
barSpecPipeline: ()=>barSpecPipeline,
|
99
|
+
zStackCornerRadius: ()=>zStackCornerRadius,
|
100
|
+
registerRose: ()=>registerRose,
|
85
101
|
zRose: ()=>zRose,
|
86
102
|
unfoldDimensions: ()=>unfoldDimensions,
|
87
103
|
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
104
|
+
registerTable: ()=>registerTable,
|
88
105
|
autoFormatter: ()=>autoFormatter,
|
106
|
+
findFirstDimension: ()=>findFirstDimension,
|
89
107
|
Builder: ()=>Builder,
|
90
|
-
registerBar: ()=>registerBar,
|
91
108
|
registerAll: ()=>registerAll,
|
109
|
+
registerBar: ()=>registerBar,
|
92
110
|
isVChart: ()=>isVChart,
|
111
|
+
zPieConfig: ()=>zPieConfig,
|
112
|
+
zTable: ()=>zTable,
|
93
113
|
registerLine: ()=>registerLine,
|
94
114
|
registerCustomTheme: ()=>registerCustomTheme,
|
95
115
|
zColor: ()=>zColor,
|
116
|
+
registerRoseParallel: ()=>registerRoseParallel,
|
117
|
+
registerDonut: ()=>registerDonut,
|
118
|
+
zDonutConfig: ()=>zDonutConfig,
|
96
119
|
zMeasureGroup: ()=>zMeasureGroup,
|
97
120
|
zUnfoldInfo: ()=>zUnfoldInfo,
|
121
|
+
zFunnelConfig: ()=>zFunnelConfig,
|
98
122
|
zMeasures: ()=>zMeasures,
|
99
123
|
FoldMeasureName: ()=>FoldMeasureName,
|
100
124
|
darkTheme: ()=>darkTheme,
|
101
125
|
createNumFormatter: ()=>createNumFormatter,
|
126
|
+
zAreaConfig: ()=>zAreaConfig,
|
102
127
|
zAxis: ()=>zAxis,
|
103
128
|
isVTable: ()=>isVTable,
|
104
129
|
zLine: ()=>zLine,
|
@@ -117,69 +142,87 @@ __webpack_require__.d(__webpack_exports__, {
|
|
117
142
|
registerColumnParallel: ()=>registerColumnParallel,
|
118
143
|
zDimension: ()=>zDimension,
|
119
144
|
isPivotChart: ()=>isPivotChart,
|
145
|
+
zDualAxisConfig: ()=>zDualAxisConfig,
|
120
146
|
zColumn: ()=>zColumn,
|
121
147
|
zCustomTheme: ()=>zCustomTheme,
|
148
|
+
zLineConfig: ()=>zLineConfig,
|
122
149
|
zXBandAxis: ()=>zXBandAxis,
|
150
|
+
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
123
151
|
findMeasureById: ()=>findMeasureById,
|
124
152
|
zVSeed: ()=>zVSeed,
|
125
153
|
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
126
154
|
zBackgroundColor: ()=>zBackgroundColor,
|
155
|
+
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
127
156
|
registerBarParallel: ()=>registerBarParallel,
|
128
157
|
zMeasure: ()=>zMeasure,
|
129
158
|
zLocale: ()=>zLocale,
|
159
|
+
pivotTableSpecPipeline: ()=>pivotTableSpecPipeline,
|
160
|
+
registerScatter: ()=>registerScatter,
|
130
161
|
zEncoding: ()=>zEncoding,
|
131
162
|
autoNumFormatter: ()=>autoNumFormatter,
|
132
163
|
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
133
|
-
|
164
|
+
tableSpecPipeline: ()=>tableSpecPipeline,
|
134
165
|
zConfig: ()=>zConfig,
|
166
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
135
167
|
zBarStyle: ()=>zBarStyle,
|
168
|
+
zXLinearAxis: ()=>zXLinearAxis,
|
136
169
|
zAreaPercent: ()=>zAreaPercent,
|
137
170
|
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
138
171
|
zColumnPercent: ()=>zColumnPercent,
|
139
172
|
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
140
173
|
zScatter: ()=>zScatter,
|
141
174
|
foldMeasures: ()=>foldMeasures,
|
142
|
-
zFunnel: ()=>zFunnel,
|
143
175
|
dataReshapeFor2D1M: ()=>dataReshapeFor2D1M,
|
144
|
-
|
176
|
+
isPivotTable: ()=>isPivotTable,
|
177
|
+
registerPie: ()=>registerPie,
|
178
|
+
zFunnel: ()=>zFunnel,
|
179
|
+
zScatterConfig: ()=>zScatterConfig,
|
180
|
+
zBarParallelConfig: ()=>zBarParallelConfig,
|
145
181
|
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
146
182
|
FoldMeasureValue: ()=>FoldMeasureValue,
|
183
|
+
zBarPercentConfig: ()=>zBarPercentConfig,
|
147
184
|
barPercentSpecPipeline: ()=>barPercentSpecPipeline,
|
148
185
|
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
149
186
|
lineSpecPipeline: ()=>lineSpecPipeline,
|
187
|
+
zTooltip: ()=>zTooltip,
|
150
188
|
createFormatter: ()=>createFormatter,
|
151
|
-
|
189
|
+
zDimensionGroup: ()=>zDimensionGroup,
|
152
190
|
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
153
191
|
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
154
192
|
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
155
|
-
barParallelSpecPipeline: ()=>barParallelSpecPipeline
|
193
|
+
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
194
|
+
zBarConfig: ()=>zBarConfig
|
156
195
|
});
|
157
196
|
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
158
197
|
const { vseed } = context;
|
159
|
-
const { chartType } = vseed;
|
198
|
+
const { chartType, locale } = vseed;
|
160
199
|
return {
|
161
200
|
...advancedVSeed,
|
162
|
-
chartType
|
201
|
+
chartType,
|
202
|
+
locale: locale || 'zh-CN'
|
163
203
|
};
|
164
204
|
};
|
165
205
|
const execPipeline = (pipeline, context, initialValue = {})=>{
|
166
206
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
167
207
|
return result;
|
168
208
|
};
|
169
|
-
const
|
209
|
+
const isTable = (vseed)=>'table' === vseed.chartType;
|
210
|
+
const isPivotTable = (vseed)=>'pivotTable' === vseed.chartType;
|
211
|
+
const isVTable = (vseed)=>[
|
170
212
|
'table',
|
171
213
|
'pivotTable'
|
172
|
-
].includes(chartType);
|
173
|
-
const isVChart = (
|
214
|
+
].includes(vseed.chartType);
|
215
|
+
const isVChart = (vseed)=>!isVTable(vseed);
|
174
216
|
const isPivotChart = (vseed)=>{
|
175
|
-
|
217
|
+
if (isVTable(vseed)) return false;
|
218
|
+
const { measures = [], dimensions = [] } = vseed;
|
176
219
|
const hasRowOrColumnDimension = dimensions && dimensions.some((dimension)=>'rowDimension' === dimension.location || 'columnDimension' === dimension.location);
|
177
220
|
const hasMeasureGroup = measures && measures.find((measure)=>measure && measure.children);
|
178
221
|
return hasRowOrColumnDimension || hasMeasureGroup;
|
179
222
|
};
|
180
223
|
const external_remeda_namespaceObject = require("remeda");
|
181
224
|
var i18n_namespaceObject = JSON.parse('{"指标名称":{"en-US":"MeasureName","zh-CN":"指标名称"},"指标Id":{"en-US":"MeasureId","zh-CN":"指标Id"},"指标值":{"en-US":"MeasureValue","zh-CN":"指标值"}}');
|
182
|
-
class
|
225
|
+
class i18n_Intl {
|
183
226
|
static instance;
|
184
227
|
translateMap = i18n_namespaceObject;
|
185
228
|
locale = 'zh-CN';
|
@@ -198,14 +241,34 @@ class Intl {
|
|
198
241
|
};
|
199
242
|
getLocale = ()=>this.locale;
|
200
243
|
static getInstance() {
|
201
|
-
if (!
|
202
|
-
return
|
244
|
+
if (!i18n_Intl.instance) i18n_Intl.instance = new i18n_Intl();
|
245
|
+
return i18n_Intl.instance;
|
203
246
|
}
|
204
247
|
}
|
205
|
-
const intl =
|
248
|
+
const intl = i18n_Intl.getInstance();
|
206
249
|
const i18n = intl.i18n;
|
207
|
-
const createNumFormatter = (format)=>{
|
208
|
-
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true,
|
250
|
+
const createNumFormatter = (format, locale = intl.getLocale())=>{
|
251
|
+
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true, prefix = '', suffix = '', fractionDigits = 2, significantDigits, roundingMode = 'halfExpand', roundingPriority = 'auto' } = format || {};
|
252
|
+
const numFormatterOptions = {
|
253
|
+
style: 'decimal',
|
254
|
+
notation: 'scientific' === type ? 'scientific' : 'standard',
|
255
|
+
roundingMode,
|
256
|
+
roundingPriority
|
257
|
+
};
|
258
|
+
console.log('debug roundingMode', roundingMode);
|
259
|
+
if ((0, external_remeda_namespaceObject.isNumber)(fractionDigits)) {
|
260
|
+
if (fractionDigits >= 0) {
|
261
|
+
numFormatterOptions.minimumFractionDigits = fractionDigits;
|
262
|
+
numFormatterOptions.maximumFractionDigits = fractionDigits;
|
263
|
+
}
|
264
|
+
}
|
265
|
+
if ((0, external_remeda_namespaceObject.isNumber)(significantDigits) && significantDigits > 0) {
|
266
|
+
if (significantDigits > 0) {
|
267
|
+
numFormatterOptions.minimumSignificantDigits = significantDigits;
|
268
|
+
numFormatterOptions.maximumSignificantDigits = significantDigits;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
const numFormatter = new Intl.NumberFormat(locale, numFormatterOptions);
|
209
272
|
return (value)=>{
|
210
273
|
let num = Number(value);
|
211
274
|
let typeSymbol = '';
|
@@ -217,9 +280,7 @@ const createNumFormatter = (format)=>{
|
|
217
280
|
num *= 1000;
|
218
281
|
typeSymbol = "\u2030";
|
219
282
|
} else if ('number' === type) num /= ratio || 1;
|
220
|
-
|
221
|
-
num = Math[round](num * multiplier) / multiplier;
|
222
|
-
let numStr = num.toFixed(decimalPlaces);
|
283
|
+
let numStr = numFormatter.format(num);
|
223
284
|
if (thousandSeparator) {
|
224
285
|
const parts = numStr.split('.');
|
225
286
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
@@ -232,105 +293,105 @@ const autoNumFormatter = (value, locale = intl.getLocale())=>{
|
|
232
293
|
if (null == value) return String(value);
|
233
294
|
const num = Number(value);
|
234
295
|
if (Number.isNaN(num)) return String(value);
|
235
|
-
const
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
};
|
244
|
-
|
245
|
-
type: 'number',
|
246
|
-
decimalPlaces: countDecimalPlaces(num),
|
247
|
-
round: 'round',
|
248
|
-
thousandSeparator: true
|
249
|
-
};
|
250
|
-
const rules = NUMBER_FORMAT_RULES[locale] || NUMBER_FORMAT_RULES['default'];
|
251
|
-
for (const rule of rules)if (num >= rule.threshold) {
|
252
|
-
numFormat.ratio = rule.ratio;
|
253
|
-
numFormat.symbol = rule.symbol;
|
254
|
-
break;
|
255
|
-
}
|
256
|
-
return createNumFormatter(numFormat)(value);
|
257
|
-
};
|
258
|
-
const NUMBER_FORMAT_RULES = {
|
259
|
-
'zh-CN': [
|
260
|
-
{
|
261
|
-
threshold: 100000000,
|
262
|
-
ratio: 100000000,
|
263
|
-
symbol: "\u4EBF"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
threshold: 10000,
|
267
|
-
ratio: 10000,
|
268
|
-
symbol: "\u4E07"
|
269
|
-
}
|
270
|
-
],
|
271
|
-
'en-US': [
|
272
|
-
{
|
273
|
-
threshold: 1000000000,
|
274
|
-
ratio: 1000000000,
|
275
|
-
symbol: 'B'
|
276
|
-
},
|
277
|
-
{
|
278
|
-
threshold: 1000000,
|
279
|
-
ratio: 1000000,
|
280
|
-
symbol: 'M'
|
281
|
-
},
|
282
|
-
{
|
283
|
-
threshold: 1000,
|
284
|
-
ratio: 1000,
|
285
|
-
symbol: 'K'
|
286
|
-
}
|
287
|
-
],
|
288
|
-
default: [
|
289
|
-
{
|
290
|
-
threshold: 1000000000,
|
291
|
-
ratio: 1000000000,
|
292
|
-
symbol: 'B'
|
293
|
-
},
|
294
|
-
{
|
295
|
-
threshold: 1000000,
|
296
|
-
ratio: 1000000,
|
297
|
-
symbol: 'M'
|
298
|
-
},
|
299
|
-
{
|
300
|
-
threshold: 1000,
|
301
|
-
ratio: 1000,
|
302
|
-
symbol: 'K'
|
303
|
-
}
|
304
|
-
]
|
296
|
+
const numFormatterOptions = {
|
297
|
+
style: 'decimal',
|
298
|
+
notation: 'compact'
|
299
|
+
};
|
300
|
+
numFormatterOptions.minimumFractionDigits = 0;
|
301
|
+
numFormatterOptions.maximumFractionDigits = 2;
|
302
|
+
const numFormatter = new Intl.NumberFormat(locale, {
|
303
|
+
...numFormatterOptions
|
304
|
+
});
|
305
|
+
return numFormatter.format(Number(value));
|
305
306
|
};
|
306
307
|
const createFormatter = (format)=>createNumFormatter(format);
|
307
308
|
const autoFormatter = (value, locale)=>autoNumFormatter(value, locale);
|
308
|
-
const
|
309
|
-
if (!
|
309
|
+
const preorderTraverse = (tree, callback)=>{
|
310
|
+
if (!tree || 0 === tree.length) return;
|
310
311
|
const stack = [
|
311
|
-
...
|
312
|
-
];
|
312
|
+
...tree
|
313
|
+
].reverse();
|
313
314
|
while(stack.length > 0){
|
314
|
-
const
|
315
|
-
|
316
|
-
if (
|
317
|
-
if ('children' in
|
315
|
+
const node = stack.pop();
|
316
|
+
const stop = callback(node);
|
317
|
+
if (true === stop) return;
|
318
|
+
if (!('children' in node)) continue;
|
319
|
+
const children = node.children;
|
320
|
+
if (children && children.length > 0) for(let i = children.length - 1; i >= 0; i--){
|
321
|
+
const child = children[i];
|
322
|
+
stack.push(child);
|
323
|
+
}
|
318
324
|
}
|
319
325
|
};
|
320
|
-
const
|
326
|
+
const findMeasureById = (measures = [], id)=>{
|
321
327
|
if (!measures) return;
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
if ('children' in current && current.children) {
|
330
|
-
const children = (current.children || []).reverse();
|
331
|
-
stack.push(...children);
|
328
|
+
let result;
|
329
|
+
preorderTraverse(measures, (node)=>{
|
330
|
+
if (!('children' in node)) {
|
331
|
+
if (node.id === id) {
|
332
|
+
result = node;
|
333
|
+
return true;
|
334
|
+
}
|
332
335
|
}
|
333
|
-
|
336
|
+
return false;
|
337
|
+
});
|
338
|
+
return result;
|
339
|
+
};
|
340
|
+
const findFirstMeasure = (measures = [])=>{
|
341
|
+
if (!measures) return;
|
342
|
+
let result;
|
343
|
+
preorderTraverse(measures, (node)=>{
|
344
|
+
if (!('children' in node)) {
|
345
|
+
result = node;
|
346
|
+
return true;
|
347
|
+
}
|
348
|
+
return false;
|
349
|
+
});
|
350
|
+
return result;
|
351
|
+
};
|
352
|
+
const findAllMeasures = (measures = [])=>{
|
353
|
+
if (!measures) return [];
|
354
|
+
const result = [];
|
355
|
+
preorderTraverse(measures, (node)=>{
|
356
|
+
if (!('children' in node)) result.push(node);
|
357
|
+
return false;
|
358
|
+
});
|
359
|
+
return result;
|
360
|
+
};
|
361
|
+
const findDimensionById = (dimensions = [], id)=>{
|
362
|
+
if (!dimensions) return;
|
363
|
+
let result;
|
364
|
+
preorderTraverse(dimensions, (node)=>{
|
365
|
+
if (!('children' in node)) {
|
366
|
+
if (node.id === id) {
|
367
|
+
result = node;
|
368
|
+
return true;
|
369
|
+
}
|
370
|
+
}
|
371
|
+
return false;
|
372
|
+
});
|
373
|
+
return result;
|
374
|
+
};
|
375
|
+
const findFirstDimension = (dimensions = [])=>{
|
376
|
+
if (!dimensions) return;
|
377
|
+
let result;
|
378
|
+
preorderTraverse(dimensions, (node)=>{
|
379
|
+
if (!('children' in node)) {
|
380
|
+
result = node;
|
381
|
+
return true;
|
382
|
+
}
|
383
|
+
return false;
|
384
|
+
});
|
385
|
+
return result;
|
386
|
+
};
|
387
|
+
const findAllDimensions = (dimensions = [])=>{
|
388
|
+
if (!dimensions) return [];
|
389
|
+
const result = [];
|
390
|
+
preorderTraverse(dimensions, (node)=>{
|
391
|
+
if (!('children' in node)) result.push(node);
|
392
|
+
return false;
|
393
|
+
});
|
394
|
+
return result;
|
334
395
|
};
|
335
396
|
const autoMeasures = (advancedVSeed, context)=>{
|
336
397
|
const result = {
|
@@ -409,7 +470,7 @@ const autoDimensions = (advancedVSeed, context)=>{
|
|
409
470
|
};
|
410
471
|
const { vseed } = context;
|
411
472
|
const { dimensions, dataset } = vseed;
|
412
|
-
const
|
473
|
+
const measures = findAllMeasures(advancedVSeed.measures);
|
413
474
|
if (!dataset) throw new Error('dataset is required');
|
414
475
|
if (0 === dataset.length) return result;
|
415
476
|
if (dimensions) {
|
@@ -462,7 +523,10 @@ const unfoldDimensions = (dataset, dimensions, measures, unfoldStartIndex = 0, u
|
|
462
523
|
for(let i = 0; i < dataset.length; i++){
|
463
524
|
const datum = dataset[i];
|
464
525
|
const colorName = generateDimGroupName(dimensionsToBeUnfolded, datum, dimensionsSeparator);
|
465
|
-
const colorId =
|
526
|
+
const colorId = [
|
527
|
+
colorName,
|
528
|
+
datum[foldMeasureId] || 'id'
|
529
|
+
].join(dimensionsSeparator);
|
466
530
|
datum[unfoldGroupName] = colorName;
|
467
531
|
datum[unfoldGroupId] = colorId;
|
468
532
|
colorItems.push(colorId);
|
@@ -762,7 +826,8 @@ const pivotReshapeTo1D1M = (advancedVSeed, context)=>{
|
|
762
826
|
};
|
763
827
|
const { vseed } = context;
|
764
828
|
const { dataset } = vseed;
|
765
|
-
const {
|
829
|
+
const { measures } = advancedVSeed;
|
830
|
+
const dimensions = advancedVSeed.dimensions;
|
766
831
|
if (!measures || !dimensions) return result;
|
767
832
|
const measureGroups = [];
|
768
833
|
if (measures) measures.forEach((measure)=>{
|
@@ -801,7 +866,8 @@ const pivotReshapeTo1D2M = (advancedVSeed, context)=>{
|
|
801
866
|
};
|
802
867
|
const { vseed } = context;
|
803
868
|
const { dataset } = vseed;
|
804
|
-
const {
|
869
|
+
const { measures } = advancedVSeed;
|
870
|
+
const dimensions = advancedVSeed.dimensions;
|
805
871
|
if (!measures || !dimensions) return result;
|
806
872
|
const measureGroups = [];
|
807
873
|
if (measures) measures.forEach((measure)=>{
|
@@ -840,7 +906,8 @@ const pivotReshapeTo2D1M = (advancedVSeed, context)=>{
|
|
840
906
|
};
|
841
907
|
const { vseed } = context;
|
842
908
|
const { dataset } = vseed;
|
843
|
-
const {
|
909
|
+
const { measures } = advancedVSeed;
|
910
|
+
const dimensions = advancedVSeed.dimensions;
|
844
911
|
if (!measures || !dimensions) return result;
|
845
912
|
const measureGroups = [];
|
846
913
|
if (measures) measures.forEach((measure)=>{
|
@@ -945,6 +1012,42 @@ const encodingYX = (advancedVSeed)=>{
|
|
945
1012
|
encoding
|
946
1013
|
};
|
947
1014
|
};
|
1015
|
+
const encodingYY = (advancedVSeed)=>{
|
1016
|
+
const result = {
|
1017
|
+
...advancedVSeed
|
1018
|
+
};
|
1019
|
+
const { datasetReshapeInfo, measures } = advancedVSeed;
|
1020
|
+
if (!datasetReshapeInfo || !measures) return result;
|
1021
|
+
const firstMeasure = findFirstMeasure(measures);
|
1022
|
+
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
1023
|
+
const { foldInfo, unfoldInfo } = cur;
|
1024
|
+
const x = [
|
1025
|
+
firstMeasure?.id
|
1026
|
+
];
|
1027
|
+
const y = [
|
1028
|
+
foldInfo.measureValue
|
1029
|
+
];
|
1030
|
+
const group = [
|
1031
|
+
unfoldInfo.groupId
|
1032
|
+
];
|
1033
|
+
const color = [
|
1034
|
+
unfoldInfo.groupId
|
1035
|
+
];
|
1036
|
+
return [
|
1037
|
+
...prev,
|
1038
|
+
{
|
1039
|
+
x,
|
1040
|
+
y,
|
1041
|
+
group,
|
1042
|
+
color
|
1043
|
+
}
|
1044
|
+
];
|
1045
|
+
}, []);
|
1046
|
+
return {
|
1047
|
+
...result,
|
1048
|
+
encoding
|
1049
|
+
};
|
1050
|
+
};
|
948
1051
|
const encodingRose = (advancedVSeed)=>{
|
949
1052
|
const result = {
|
950
1053
|
...advancedVSeed
|
@@ -1048,8 +1151,9 @@ const encodingFunnel = (advancedVSeed)=>{
|
|
1048
1151
|
encoding
|
1049
1152
|
};
|
1050
1153
|
};
|
1051
|
-
const
|
1154
|
+
const lineConfig = (advancedVSeed, context)=>{
|
1052
1155
|
const { vseed } = context;
|
1156
|
+
const { chartType } = vseed;
|
1053
1157
|
const result = {
|
1054
1158
|
...advancedVSeed
|
1055
1159
|
};
|
@@ -1058,22 +1162,7 @@ const vchartBaseConfig = (advancedVSeed, context)=>{
|
|
1058
1162
|
'color',
|
1059
1163
|
'label',
|
1060
1164
|
'legend',
|
1061
|
-
'tooltip'
|
1062
|
-
]);
|
1063
|
-
result.baseConfig = {
|
1064
|
-
vchart: {
|
1065
|
-
...config
|
1066
|
-
}
|
1067
|
-
};
|
1068
|
-
return result;
|
1069
|
-
};
|
1070
|
-
const lineConfig = (advancedVSeed, context)=>{
|
1071
|
-
const { vseed } = context;
|
1072
|
-
const { chartType } = vseed;
|
1073
|
-
const result = {
|
1074
|
-
...advancedVSeed
|
1075
|
-
};
|
1076
|
-
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1165
|
+
'tooltip',
|
1077
1166
|
'xAxis',
|
1078
1167
|
'yAxis',
|
1079
1168
|
'crosshairLine'
|
@@ -1093,6 +1182,11 @@ const columnConfig = (advancedVSeed, context)=>{
|
|
1093
1182
|
...advancedVSeed
|
1094
1183
|
};
|
1095
1184
|
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1185
|
+
'backgroundColor',
|
1186
|
+
'color',
|
1187
|
+
'label',
|
1188
|
+
'legend',
|
1189
|
+
'tooltip',
|
1096
1190
|
'xAxis',
|
1097
1191
|
'yAxis',
|
1098
1192
|
'crosshairRect',
|
@@ -1112,7 +1206,13 @@ const pieConfig = (advancedVSeed, context)=>{
|
|
1112
1206
|
const result = {
|
1113
1207
|
...advancedVSeed
|
1114
1208
|
};
|
1115
|
-
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1209
|
+
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1210
|
+
'backgroundColor',
|
1211
|
+
'color',
|
1212
|
+
'label',
|
1213
|
+
'legend',
|
1214
|
+
'tooltip'
|
1215
|
+
]);
|
1116
1216
|
result.config = {
|
1117
1217
|
...result.config || {},
|
1118
1218
|
[chartType]: {
|
@@ -1133,21 +1233,13 @@ const donutConfig = pieConfig;
|
|
1133
1233
|
const roseConfig = pieConfig;
|
1134
1234
|
const roseParallelConfig = pieConfig;
|
1135
1235
|
const funnelConfig = pieConfig;
|
1136
|
-
const
|
1236
|
+
const theme_theme = (advancedVSeed, context)=>{
|
1137
1237
|
const { customTheme, vseed } = context;
|
1138
1238
|
const { theme = 'light', chartType } = vseed;
|
1139
1239
|
const result = {
|
1140
1240
|
...advancedVSeed
|
1141
1241
|
};
|
1142
1242
|
if (!customTheme || !customTheme[theme]) return result;
|
1143
|
-
const baseConfigVChartTheme = customTheme?.[theme].baseConfig?.vchart;
|
1144
|
-
if (baseConfigVChartTheme) {
|
1145
|
-
const baseConfigVChart = result.baseConfig?.vchart || {};
|
1146
|
-
const mergedConfig = (0, external_remeda_namespaceObject.mergeDeep)(baseConfigVChartTheme, (0, external_remeda_namespaceObject.clone)(baseConfigVChart));
|
1147
|
-
result.baseConfig = {
|
1148
|
-
vchart: mergedConfig
|
1149
|
-
};
|
1150
|
-
}
|
1151
1243
|
const chartConfigTheme = customTheme?.[theme].config?.[chartType];
|
1152
1244
|
if (chartConfigTheme) {
|
1153
1245
|
const chartConfig = result.config?.[chartType] || {};
|
@@ -1156,6 +1248,12 @@ const vchartTheme = (advancedVSeed, context)=>{
|
|
1156
1248
|
[chartType]: mergedConfig
|
1157
1249
|
};
|
1158
1250
|
}
|
1251
|
+
const chartCustomTheme = customTheme?.[theme]?.config?.[chartType];
|
1252
|
+
result.customTheme = {
|
1253
|
+
config: {
|
1254
|
+
[chartType]: chartCustomTheme
|
1255
|
+
}
|
1256
|
+
};
|
1159
1257
|
return result;
|
1160
1258
|
};
|
1161
1259
|
const pivotAdapter = (pipeline, pivotPipeline)=>(advancedVSeed, context)=>{
|
@@ -1190,17 +1288,8 @@ const annotation_annotation = (advancedVSeed, context)=>{
|
|
1190
1288
|
annotation
|
1191
1289
|
};
|
1192
1290
|
};
|
1193
|
-
const locale_locale = (advancedVSeed, context)=>{
|
1194
|
-
const { vseed } = context;
|
1195
|
-
const { locale } = vseed;
|
1196
|
-
return {
|
1197
|
-
...advancedVSeed,
|
1198
|
-
locale: locale || 'zh-CN'
|
1199
|
-
};
|
1200
|
-
};
|
1201
1291
|
const lineAdvancedPipeline = [
|
1202
1292
|
initAdvancedVSeed,
|
1203
|
-
locale_locale,
|
1204
1293
|
autoMeasures,
|
1205
1294
|
autoDimensions,
|
1206
1295
|
pivotAdapter([
|
@@ -1209,15 +1298,13 @@ const lineAdvancedPipeline = [
|
|
1209
1298
|
pivotReshapeTo2D1M
|
1210
1299
|
]),
|
1211
1300
|
encodingXY,
|
1212
|
-
vchartBaseConfig,
|
1213
1301
|
lineConfig,
|
1214
|
-
|
1302
|
+
theme_theme,
|
1215
1303
|
markStyle_markStyle,
|
1216
1304
|
annotation_annotation
|
1217
1305
|
];
|
1218
1306
|
const barAdvancedPipeline = [
|
1219
1307
|
initAdvancedVSeed,
|
1220
|
-
locale_locale,
|
1221
1308
|
autoMeasures,
|
1222
1309
|
autoDimensions,
|
1223
1310
|
pivotAdapter([
|
@@ -1227,14 +1314,12 @@ const barAdvancedPipeline = [
|
|
1227
1314
|
]),
|
1228
1315
|
encodingYX,
|
1229
1316
|
barConfig,
|
1230
|
-
|
1231
|
-
vchartTheme,
|
1317
|
+
theme_theme,
|
1232
1318
|
markStyle_markStyle,
|
1233
1319
|
annotation_annotation
|
1234
1320
|
];
|
1235
1321
|
const barParallelAdvancedPipeline = [
|
1236
1322
|
initAdvancedVSeed,
|
1237
|
-
locale_locale,
|
1238
1323
|
autoMeasures,
|
1239
1324
|
autoDimensions,
|
1240
1325
|
pivotAdapter([
|
@@ -1244,14 +1329,12 @@ const barParallelAdvancedPipeline = [
|
|
1244
1329
|
]),
|
1245
1330
|
encodingYX,
|
1246
1331
|
barParallelConfig,
|
1247
|
-
|
1248
|
-
vchartTheme,
|
1332
|
+
theme_theme,
|
1249
1333
|
markStyle_markStyle,
|
1250
1334
|
annotation_annotation
|
1251
1335
|
];
|
1252
1336
|
const barPercentAdvancedPipeline = [
|
1253
1337
|
initAdvancedVSeed,
|
1254
|
-
locale_locale,
|
1255
1338
|
autoMeasures,
|
1256
1339
|
autoDimensions,
|
1257
1340
|
pivotAdapter([
|
@@ -1261,14 +1344,12 @@ const barPercentAdvancedPipeline = [
|
|
1261
1344
|
]),
|
1262
1345
|
encodingYX,
|
1263
1346
|
barPercentConfig,
|
1264
|
-
|
1265
|
-
vchartTheme,
|
1347
|
+
theme_theme,
|
1266
1348
|
markStyle_markStyle,
|
1267
1349
|
annotation_annotation
|
1268
1350
|
];
|
1269
1351
|
const columnAdvancedPipeline = [
|
1270
1352
|
initAdvancedVSeed,
|
1271
|
-
locale_locale,
|
1272
1353
|
autoMeasures,
|
1273
1354
|
autoDimensions,
|
1274
1355
|
pivotAdapter([
|
@@ -1278,14 +1359,12 @@ const columnAdvancedPipeline = [
|
|
1278
1359
|
]),
|
1279
1360
|
encodingXY,
|
1280
1361
|
columnConfig,
|
1281
|
-
|
1282
|
-
vchartTheme,
|
1362
|
+
theme_theme,
|
1283
1363
|
markStyle_markStyle,
|
1284
1364
|
annotation_annotation
|
1285
1365
|
];
|
1286
1366
|
const columnParallelAdvancedPipeline = [
|
1287
1367
|
initAdvancedVSeed,
|
1288
|
-
locale_locale,
|
1289
1368
|
autoMeasures,
|
1290
1369
|
autoDimensions,
|
1291
1370
|
pivotAdapter([
|
@@ -1295,14 +1374,12 @@ const columnParallelAdvancedPipeline = [
|
|
1295
1374
|
]),
|
1296
1375
|
encodingXY,
|
1297
1376
|
columnParallelConfig,
|
1298
|
-
|
1299
|
-
vchartTheme,
|
1377
|
+
theme_theme,
|
1300
1378
|
markStyle_markStyle,
|
1301
1379
|
annotation_annotation
|
1302
1380
|
];
|
1303
1381
|
const columnPercentAdvancedPipeline = [
|
1304
1382
|
initAdvancedVSeed,
|
1305
|
-
locale_locale,
|
1306
1383
|
autoMeasures,
|
1307
1384
|
autoDimensions,
|
1308
1385
|
pivotAdapter([
|
@@ -1312,14 +1389,12 @@ const columnPercentAdvancedPipeline = [
|
|
1312
1389
|
]),
|
1313
1390
|
encodingXY,
|
1314
1391
|
columnPercentConfig,
|
1315
|
-
|
1316
|
-
vchartTheme,
|
1392
|
+
theme_theme,
|
1317
1393
|
markStyle_markStyle,
|
1318
1394
|
annotation_annotation
|
1319
1395
|
];
|
1320
1396
|
const areaAdvancedPipeline = [
|
1321
1397
|
initAdvancedVSeed,
|
1322
|
-
locale_locale,
|
1323
1398
|
autoMeasures,
|
1324
1399
|
autoDimensions,
|
1325
1400
|
pivotAdapter([
|
@@ -1329,14 +1404,12 @@ const areaAdvancedPipeline = [
|
|
1329
1404
|
]),
|
1330
1405
|
encodingXY,
|
1331
1406
|
areaConfig,
|
1332
|
-
|
1333
|
-
vchartTheme,
|
1407
|
+
theme_theme,
|
1334
1408
|
markStyle_markStyle,
|
1335
1409
|
annotation_annotation
|
1336
1410
|
];
|
1337
1411
|
const areaPercentAdvancedPipeline = [
|
1338
1412
|
initAdvancedVSeed,
|
1339
|
-
locale_locale,
|
1340
1413
|
autoMeasures,
|
1341
1414
|
autoDimensions,
|
1342
1415
|
pivotAdapter([
|
@@ -1346,14 +1419,12 @@ const areaPercentAdvancedPipeline = [
|
|
1346
1419
|
]),
|
1347
1420
|
encodingXY,
|
1348
1421
|
areaPercentConfig,
|
1349
|
-
|
1350
|
-
vchartTheme,
|
1422
|
+
theme_theme,
|
1351
1423
|
markStyle_markStyle,
|
1352
1424
|
annotation_annotation
|
1353
1425
|
];
|
1354
1426
|
const pieAdvancedPipeline = [
|
1355
1427
|
initAdvancedVSeed,
|
1356
|
-
locale_locale,
|
1357
1428
|
autoMeasures,
|
1358
1429
|
autoDimensions,
|
1359
1430
|
pivotAdapter([
|
@@ -1363,13 +1434,11 @@ const pieAdvancedPipeline = [
|
|
1363
1434
|
]),
|
1364
1435
|
encodingPie,
|
1365
1436
|
pieConfig,
|
1366
|
-
|
1367
|
-
vchartTheme,
|
1437
|
+
theme_theme,
|
1368
1438
|
annotation_annotation
|
1369
1439
|
];
|
1370
1440
|
const donutAdvancedPipeline = [
|
1371
1441
|
initAdvancedVSeed,
|
1372
|
-
locale_locale,
|
1373
1442
|
autoMeasures,
|
1374
1443
|
autoDimensions,
|
1375
1444
|
pivotAdapter([
|
@@ -1379,13 +1448,11 @@ const donutAdvancedPipeline = [
|
|
1379
1448
|
]),
|
1380
1449
|
encodingPie,
|
1381
1450
|
donutConfig,
|
1382
|
-
|
1383
|
-
vchartTheme,
|
1451
|
+
theme_theme,
|
1384
1452
|
annotation_annotation
|
1385
1453
|
];
|
1386
1454
|
const roseAdvancedPipeline = [
|
1387
1455
|
initAdvancedVSeed,
|
1388
|
-
locale_locale,
|
1389
1456
|
autoMeasures,
|
1390
1457
|
autoDimensions,
|
1391
1458
|
pivotAdapter([
|
@@ -1395,14 +1462,12 @@ const roseAdvancedPipeline = [
|
|
1395
1462
|
]),
|
1396
1463
|
encodingRose,
|
1397
1464
|
roseConfig,
|
1398
|
-
|
1399
|
-
vchartTheme,
|
1465
|
+
theme_theme,
|
1400
1466
|
markStyle_markStyle,
|
1401
1467
|
annotation_annotation
|
1402
1468
|
];
|
1403
1469
|
const roseParallelAdvancedPipeline = [
|
1404
1470
|
initAdvancedVSeed,
|
1405
|
-
locale_locale,
|
1406
1471
|
autoMeasures,
|
1407
1472
|
autoDimensions,
|
1408
1473
|
pivotAdapter([
|
@@ -1412,14 +1477,12 @@ const roseParallelAdvancedPipeline = [
|
|
1412
1477
|
]),
|
1413
1478
|
encodingRose,
|
1414
1479
|
roseParallelConfig,
|
1415
|
-
|
1416
|
-
vchartTheme,
|
1480
|
+
theme_theme,
|
1417
1481
|
markStyle_markStyle,
|
1418
1482
|
annotation_annotation
|
1419
1483
|
];
|
1420
1484
|
const funnelAdvancedPipeline = [
|
1421
1485
|
initAdvancedVSeed,
|
1422
|
-
locale_locale,
|
1423
1486
|
autoMeasures,
|
1424
1487
|
autoDimensions,
|
1425
1488
|
pivotAdapter([
|
@@ -1429,49 +1492,11 @@ const funnelAdvancedPipeline = [
|
|
1429
1492
|
]),
|
1430
1493
|
encodingFunnel,
|
1431
1494
|
funnelConfig,
|
1432
|
-
|
1433
|
-
vchartTheme,
|
1495
|
+
theme_theme,
|
1434
1496
|
annotation_annotation
|
1435
1497
|
];
|
1436
|
-
const encodingYY = (advancedVSeed)=>{
|
1437
|
-
const result = {
|
1438
|
-
...advancedVSeed
|
1439
|
-
};
|
1440
|
-
const { datasetReshapeInfo, measures } = advancedVSeed;
|
1441
|
-
if (!datasetReshapeInfo || !measures) return result;
|
1442
|
-
const firstMeasure = findFirstMeasure(measures);
|
1443
|
-
const encoding = datasetReshapeInfo.reduce((prev, cur)=>{
|
1444
|
-
const { foldInfo, unfoldInfo } = cur;
|
1445
|
-
const x = [
|
1446
|
-
firstMeasure?.id
|
1447
|
-
];
|
1448
|
-
const y = [
|
1449
|
-
foldInfo.measureValue
|
1450
|
-
];
|
1451
|
-
const group = [
|
1452
|
-
unfoldInfo.groupId
|
1453
|
-
];
|
1454
|
-
const color = [
|
1455
|
-
unfoldInfo.groupId
|
1456
|
-
];
|
1457
|
-
return [
|
1458
|
-
...prev,
|
1459
|
-
{
|
1460
|
-
x,
|
1461
|
-
y,
|
1462
|
-
group,
|
1463
|
-
color
|
1464
|
-
}
|
1465
|
-
];
|
1466
|
-
}, []);
|
1467
|
-
return {
|
1468
|
-
...result,
|
1469
|
-
encoding
|
1470
|
-
};
|
1471
|
-
};
|
1472
1498
|
const scatterAdvancedPipeline = [
|
1473
1499
|
initAdvancedVSeed,
|
1474
|
-
locale_locale,
|
1475
1500
|
autoMeasures,
|
1476
1501
|
autoDimensions,
|
1477
1502
|
pivotAdapter([
|
@@ -1480,65 +1505,216 @@ const scatterAdvancedPipeline = [
|
|
1480
1505
|
pivotReshapeTo1D2M
|
1481
1506
|
]),
|
1482
1507
|
encodingYY,
|
1483
|
-
vchartBaseConfig,
|
1484
1508
|
scatterConfig,
|
1485
|
-
|
1509
|
+
theme_theme,
|
1486
1510
|
markStyle_markStyle,
|
1487
1511
|
annotation_annotation
|
1488
1512
|
];
|
1489
|
-
const
|
1490
|
-
const { advancedVSeed } = context;
|
1491
|
-
const { encoding } = advancedVSeed;
|
1492
|
-
const angle = encoding[0]?.angle?.[0];
|
1493
|
-
const x = encoding[0]?.x?.[0];
|
1494
|
-
const group = encoding[0]?.group?.[0];
|
1495
|
-
const fields = {};
|
1496
|
-
if (angle) fields[angle] = {
|
1497
|
-
sortIndex: 0
|
1498
|
-
};
|
1499
|
-
if (x) fields[x] = {
|
1500
|
-
sortIndex: 0
|
1501
|
-
};
|
1502
|
-
if (group) fields[group] = {
|
1503
|
-
sortIndex: 1
|
1504
|
-
};
|
1505
|
-
return {
|
1506
|
-
...spec,
|
1507
|
-
data: {
|
1508
|
-
values: advancedVSeed.dataset,
|
1509
|
-
fields: fields
|
1510
|
-
}
|
1511
|
-
};
|
1512
|
-
};
|
1513
|
-
const datasetPivot = (spec, context)=>{
|
1513
|
+
const autoMeasures_autoMeasures = (advancedVSeed, context)=>{
|
1514
1514
|
const result = {
|
1515
|
-
...
|
1516
|
-
};
|
1517
|
-
const { advancedVSeed } = context;
|
1518
|
-
const { dataset, datasetReshapeInfo } = advancedVSeed;
|
1519
|
-
const records = dataset.reduce((pre, cur, index)=>{
|
1520
|
-
const id = datasetReshapeInfo[index].id;
|
1521
|
-
pre[id] = cur;
|
1522
|
-
return pre;
|
1523
|
-
}, {});
|
1524
|
-
return {
|
1525
|
-
...result,
|
1526
|
-
records: records
|
1515
|
+
...advancedVSeed
|
1527
1516
|
};
|
1517
|
+
const { vseed } = context;
|
1518
|
+
const { measures, dataset } = vseed;
|
1519
|
+
if (!dataset) throw new Error('dataset is required');
|
1520
|
+
if (0 === dataset.length) return result;
|
1521
|
+
if (measures && measures.length > 0) {
|
1522
|
+
result.measures = measures;
|
1523
|
+
return result;
|
1524
|
+
}
|
1525
|
+
const top100dataset = dataset.slice(0, 100);
|
1526
|
+
const sample = top100dataset.reduce((prev, cur)=>({
|
1527
|
+
...prev,
|
1528
|
+
...cur
|
1529
|
+
}), {});
|
1530
|
+
result.measures = Object.keys(sample).filter((key)=>top100dataset.some((item)=>'number' == typeof item[key]) && ![
|
1531
|
+
'',
|
1532
|
+
null,
|
1533
|
+
void 0
|
1534
|
+
].includes(key)).map((measure)=>({
|
1535
|
+
id: measure,
|
1536
|
+
alias: measure
|
1537
|
+
}));
|
1538
|
+
return result;
|
1528
1539
|
};
|
1529
|
-
const
|
1530
|
-
...spec,
|
1531
|
-
data: {
|
1532
|
-
id: 'placeholderDataId'
|
1533
|
-
}
|
1534
|
-
});
|
1535
|
-
const initColumn = (spec, context)=>{
|
1540
|
+
const autoDimensions_autoDimensions = (advancedVSeed, context)=>{
|
1536
1541
|
const result = {
|
1537
|
-
...
|
1542
|
+
...advancedVSeed
|
1538
1543
|
};
|
1539
|
-
const {
|
1540
|
-
const {
|
1541
|
-
|
1544
|
+
const { vseed } = context;
|
1545
|
+
const { dimensions, dataset } = vseed;
|
1546
|
+
const measures = findAllMeasures(advancedVSeed.measures);
|
1547
|
+
if (!dataset) throw new Error('dataset is required');
|
1548
|
+
if (0 === dataset.length) return result;
|
1549
|
+
if (dimensions && dimensions.length > 0) {
|
1550
|
+
result.dimensions = dimensions;
|
1551
|
+
return result;
|
1552
|
+
}
|
1553
|
+
const top100dataset = dataset.slice(0, 100);
|
1554
|
+
const sample = top100dataset.reduce((prev, cur)=>({
|
1555
|
+
...prev,
|
1556
|
+
...cur
|
1557
|
+
}), {});
|
1558
|
+
result.dimensions = Object.keys(sample).filter((key)=>top100dataset.some((item)=>'string' == typeof item[key]) && ![
|
1559
|
+
'',
|
1560
|
+
null,
|
1561
|
+
void 0
|
1562
|
+
].includes(key) && !measures.some((measure)=>measure.id === key)).map((dim)=>({
|
1563
|
+
id: dim,
|
1564
|
+
alias: dim,
|
1565
|
+
location: 'dimension'
|
1566
|
+
}));
|
1567
|
+
return result;
|
1568
|
+
};
|
1569
|
+
const autoPivotDimensions = (advancedVSeed, context)=>{
|
1570
|
+
const result = {
|
1571
|
+
...advancedVSeed
|
1572
|
+
};
|
1573
|
+
const { vseed } = context;
|
1574
|
+
const { dimensions, dataset } = vseed;
|
1575
|
+
const measures = findAllMeasures(advancedVSeed.measures);
|
1576
|
+
if (!dataset) throw new Error('dataset is required');
|
1577
|
+
if (0 === dataset.length) return result;
|
1578
|
+
if (dimensions && dimensions.length > 0) {
|
1579
|
+
const newDimensions = findAllDimensions(dimensions);
|
1580
|
+
result.dimensions = newDimensions.map((item, index)=>{
|
1581
|
+
if ('rowDimension' === item.location || 'columnDimension' === item.location) return item;
|
1582
|
+
return {
|
1583
|
+
...item,
|
1584
|
+
location: index % 2 === 0 ? 'columnDimension' : 'rowDimension'
|
1585
|
+
};
|
1586
|
+
});
|
1587
|
+
return result;
|
1588
|
+
}
|
1589
|
+
const top100dataset = dataset.slice(0, 100);
|
1590
|
+
const sample = top100dataset.reduce((prev, cur)=>({
|
1591
|
+
...prev,
|
1592
|
+
...cur
|
1593
|
+
}), {});
|
1594
|
+
let i = 0;
|
1595
|
+
result.dimensions = Object.keys(sample).filter((key)=>top100dataset.some((item)=>'string' == typeof item[key]) && ![
|
1596
|
+
'',
|
1597
|
+
null,
|
1598
|
+
void 0
|
1599
|
+
].includes(key) && !measures.some((measure)=>measure.id === key)).map((dim)=>({
|
1600
|
+
id: dim,
|
1601
|
+
alias: dim,
|
1602
|
+
location: i++ % 2 === 0 ? 'columnDimension' : 'rowDimension'
|
1603
|
+
}));
|
1604
|
+
return result;
|
1605
|
+
};
|
1606
|
+
const autoPivotMeasures = (advancedVSeed, context)=>{
|
1607
|
+
const result = {
|
1608
|
+
...advancedVSeed
|
1609
|
+
};
|
1610
|
+
const { vseed } = context;
|
1611
|
+
const { dataset } = vseed;
|
1612
|
+
const measures = findAllMeasures(vseed.measures);
|
1613
|
+
if (!dataset) throw new Error('dataset is required');
|
1614
|
+
if (0 === dataset.length) return result;
|
1615
|
+
if (measures && measures.length > 0) {
|
1616
|
+
result.measures = findAllMeasures(measures);
|
1617
|
+
return result;
|
1618
|
+
}
|
1619
|
+
const top100dataset = dataset.slice(0, 100);
|
1620
|
+
const sample = top100dataset.reduce((prev, cur)=>({
|
1621
|
+
...prev,
|
1622
|
+
...cur
|
1623
|
+
}), {});
|
1624
|
+
result.measures = Object.keys(sample).filter((key)=>top100dataset.some((item)=>'number' == typeof item[key]) && ![
|
1625
|
+
'',
|
1626
|
+
null,
|
1627
|
+
void 0
|
1628
|
+
].includes(key)).map((measure)=>({
|
1629
|
+
id: measure,
|
1630
|
+
alias: measure
|
1631
|
+
}));
|
1632
|
+
return result;
|
1633
|
+
};
|
1634
|
+
const initAdvancedVSeed_initAdvancedVSeed = (advancedVSeed, context)=>{
|
1635
|
+
const { vseed } = context;
|
1636
|
+
const { chartType, locale } = vseed;
|
1637
|
+
return {
|
1638
|
+
...advancedVSeed,
|
1639
|
+
chartType,
|
1640
|
+
locale: locale || 'zh-CN'
|
1641
|
+
};
|
1642
|
+
};
|
1643
|
+
const records_records = (advancedVSeed, context)=>{
|
1644
|
+
const { vseed } = context;
|
1645
|
+
const { dataset } = vseed;
|
1646
|
+
return {
|
1647
|
+
...advancedVSeed,
|
1648
|
+
dataset
|
1649
|
+
};
|
1650
|
+
};
|
1651
|
+
const pivotTableAdvancedPipeline = [
|
1652
|
+
initAdvancedVSeed_initAdvancedVSeed,
|
1653
|
+
autoPivotMeasures,
|
1654
|
+
autoPivotDimensions,
|
1655
|
+
records_records,
|
1656
|
+
theme_theme
|
1657
|
+
];
|
1658
|
+
const tableAdvancedPipeline = [
|
1659
|
+
initAdvancedVSeed_initAdvancedVSeed,
|
1660
|
+
autoMeasures_autoMeasures,
|
1661
|
+
autoDimensions_autoDimensions,
|
1662
|
+
records_records,
|
1663
|
+
theme_theme
|
1664
|
+
];
|
1665
|
+
const dataset_dataset = (spec, context)=>{
|
1666
|
+
const { advancedVSeed } = context;
|
1667
|
+
const { encoding } = advancedVSeed;
|
1668
|
+
const angle = encoding[0]?.angle?.[0];
|
1669
|
+
const x = encoding[0]?.x?.[0];
|
1670
|
+
const group = encoding[0]?.group?.[0];
|
1671
|
+
const fields = {};
|
1672
|
+
if (angle) fields[angle] = {
|
1673
|
+
sortIndex: 0
|
1674
|
+
};
|
1675
|
+
if (x) fields[x] = {
|
1676
|
+
sortIndex: 0
|
1677
|
+
};
|
1678
|
+
if (group) fields[group] = {
|
1679
|
+
sortIndex: 1
|
1680
|
+
};
|
1681
|
+
return {
|
1682
|
+
...spec,
|
1683
|
+
data: {
|
1684
|
+
values: advancedVSeed.dataset,
|
1685
|
+
fields: fields
|
1686
|
+
}
|
1687
|
+
};
|
1688
|
+
};
|
1689
|
+
const datasetPivot = (spec, context)=>{
|
1690
|
+
const result = {
|
1691
|
+
...spec
|
1692
|
+
};
|
1693
|
+
const { advancedVSeed } = context;
|
1694
|
+
const { dataset, datasetReshapeInfo } = advancedVSeed;
|
1695
|
+
const records = dataset.reduce((pre, cur, index)=>{
|
1696
|
+
const id = datasetReshapeInfo[index].id;
|
1697
|
+
pre[id] = cur;
|
1698
|
+
return pre;
|
1699
|
+
}, {});
|
1700
|
+
return {
|
1701
|
+
...result,
|
1702
|
+
records: records
|
1703
|
+
};
|
1704
|
+
};
|
1705
|
+
const datasetPivotPlaceholder = (spec)=>({
|
1706
|
+
...spec,
|
1707
|
+
data: {
|
1708
|
+
id: 'placeholderDataId'
|
1709
|
+
}
|
1710
|
+
});
|
1711
|
+
const initColumn = (spec, context)=>{
|
1712
|
+
const result = {
|
1713
|
+
...spec
|
1714
|
+
};
|
1715
|
+
const { advancedVSeed } = context;
|
1716
|
+
const { encoding } = advancedVSeed;
|
1717
|
+
if (!encoding[0].y || !encoding[0].x || !encoding[0].group) return result;
|
1542
1718
|
result.type = 'bar';
|
1543
1719
|
result.direction = 'vertical';
|
1544
1720
|
result.xField = encoding[0].x[0];
|
@@ -1863,6 +2039,27 @@ const initFunnel = (spec, context)=>{
|
|
1863
2039
|
result.animation = true;
|
1864
2040
|
return result;
|
1865
2041
|
};
|
2042
|
+
const initScatter = (spec, context)=>{
|
2043
|
+
const result = {
|
2044
|
+
...spec
|
2045
|
+
};
|
2046
|
+
const { advancedVSeed } = context;
|
2047
|
+
const { encoding } = advancedVSeed;
|
2048
|
+
if (!encoding[0].y || !encoding[0].x || !encoding[0].group) return result;
|
2049
|
+
result.type = 'scatter';
|
2050
|
+
result.direction = 'vertical';
|
2051
|
+
result.xField = encoding[0].x[0];
|
2052
|
+
result.yField = encoding[0].y[0];
|
2053
|
+
result.seriesField = encoding[0].group[0];
|
2054
|
+
result.padding = 0;
|
2055
|
+
result.region = [
|
2056
|
+
{
|
2057
|
+
clip: true
|
2058
|
+
}
|
2059
|
+
];
|
2060
|
+
result.animation = true;
|
2061
|
+
return result;
|
2062
|
+
};
|
1866
2063
|
const xBand = (spec, context)=>{
|
1867
2064
|
const result = {
|
1868
2065
|
...spec
|
@@ -1979,13 +2176,14 @@ const xLinear = (spec, context)=>{
|
|
1979
2176
|
];
|
1980
2177
|
return result;
|
1981
2178
|
}
|
1982
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
2179
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
1983
2180
|
const linearAxis = {
|
1984
2181
|
visible,
|
1985
|
-
type: 'linear',
|
2182
|
+
type: log ? 'log' : 'linear',
|
2183
|
+
base: logBase,
|
1986
2184
|
orient: 'bottom',
|
1987
2185
|
nice,
|
1988
|
-
zero,
|
2186
|
+
zero: log ? false : zero,
|
1989
2187
|
inverse,
|
1990
2188
|
max,
|
1991
2189
|
min,
|
@@ -2155,13 +2353,14 @@ const yLinear = (spec, context)=>{
|
|
2155
2353
|
];
|
2156
2354
|
return result;
|
2157
2355
|
}
|
2158
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
2356
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
2159
2357
|
const linearAxis = {
|
2160
2358
|
visible,
|
2161
|
-
type: 'linear',
|
2359
|
+
type: log ? 'log' : 'linear',
|
2360
|
+
base: logBase,
|
2162
2361
|
orient: 'left',
|
2163
2362
|
nice,
|
2164
|
-
zero,
|
2363
|
+
zero: log ? false : zero,
|
2165
2364
|
inverse,
|
2166
2365
|
max,
|
2167
2366
|
min,
|
@@ -2317,25 +2516,22 @@ const background_backgroundColor = (spec, context)=>{
|
|
2317
2516
|
...spec
|
2318
2517
|
};
|
2319
2518
|
const { advancedVSeed } = context;
|
2320
|
-
const {
|
2321
|
-
|
2322
|
-
const { backgroundColor } = baseConfig
|
2519
|
+
const { chartType } = advancedVSeed;
|
2520
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2521
|
+
const { backgroundColor } = baseConfig;
|
2323
2522
|
return {
|
2324
2523
|
...result,
|
2325
2524
|
background: backgroundColor
|
2326
2525
|
};
|
2327
2526
|
};
|
2328
|
-
const defaultTooltip = {
|
2329
|
-
enable: true
|
2330
|
-
};
|
2331
2527
|
const tooltip_tooltip = (spec, context)=>{
|
2332
2528
|
const result = {
|
2333
2529
|
...spec
|
2334
2530
|
};
|
2335
2531
|
const { advancedVSeed } = context;
|
2336
|
-
const { measures, datasetReshapeInfo } = advancedVSeed;
|
2337
|
-
const baseConfig = advancedVSeed.
|
2338
|
-
const { tooltip
|
2532
|
+
const { measures, datasetReshapeInfo, chartType } = advancedVSeed;
|
2533
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2534
|
+
const { tooltip } = baseConfig;
|
2339
2535
|
const { enable } = tooltip;
|
2340
2536
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2341
2537
|
const { groupName } = datasetReshapeInfo[0].unfoldInfo;
|
@@ -2397,7 +2593,8 @@ const label_label = (spec, context)=>{
|
|
2397
2593
|
};
|
2398
2594
|
const { advancedVSeed } = context;
|
2399
2595
|
const { measures, datasetReshapeInfo, locale } = advancedVSeed;
|
2400
|
-
const
|
2596
|
+
const { chartType } = advancedVSeed;
|
2597
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2401
2598
|
if (!baseConfig || !baseConfig.label) return result;
|
2402
2599
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2403
2600
|
const { label } = baseConfig;
|
@@ -2429,9 +2626,9 @@ const discreteLegend = (spec, context)=>{
|
|
2429
2626
|
...spec
|
2430
2627
|
};
|
2431
2628
|
const { advancedVSeed } = context;
|
2432
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2629
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2433
2630
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2434
|
-
const baseConfig = advancedVSeed.
|
2631
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2435
2632
|
if (!baseConfig || !baseConfig.legend) return result;
|
2436
2633
|
const { legend } = baseConfig;
|
2437
2634
|
const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize, border, shapeType = 'rectRound' } = legend || {};
|
@@ -2528,7 +2725,8 @@ const pivotDiscreteLegend = (spec, context)=>{
|
|
2528
2725
|
...spec
|
2529
2726
|
};
|
2530
2727
|
const { advancedVSeed } = context;
|
2531
|
-
const
|
2728
|
+
const { chartType } = advancedVSeed;
|
2729
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2532
2730
|
if (!baseConfig || !baseConfig.legend) return result;
|
2533
2731
|
const { datasetReshapeInfo } = advancedVSeed;
|
2534
2732
|
const colorItems = (0, external_remeda_namespaceObject.unique)(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
@@ -2637,9 +2835,9 @@ const color_color = (spec, context)=>{
|
|
2637
2835
|
...spec
|
2638
2836
|
};
|
2639
2837
|
const { advancedVSeed } = context;
|
2640
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2838
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2641
2839
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2642
|
-
const baseConfig = advancedVSeed.
|
2840
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2643
2841
|
if (!baseConfig || !baseConfig.color) return result;
|
2644
2842
|
const { color } = baseConfig;
|
2645
2843
|
const { colorScheme, colorMapping } = color;
|
@@ -2857,7 +3055,7 @@ const pivotColumnDimensions = (spec, context)=>{
|
|
2857
3055
|
...spec
|
2858
3056
|
};
|
2859
3057
|
const { advancedVSeed } = context;
|
2860
|
-
const
|
3058
|
+
const dimensions = advancedVSeed.dimensions;
|
2861
3059
|
if (!dimensions) return result;
|
2862
3060
|
const columnDimensions = dimensions.filter((dim)=>'columnDimension' === dim.location);
|
2863
3061
|
const columns = columnDimensions.map((dim)=>({
|
@@ -2874,7 +3072,7 @@ const pivotRowDimensions = (spec, context)=>{
|
|
2874
3072
|
...spec
|
2875
3073
|
};
|
2876
3074
|
const { advancedVSeed } = context;
|
2877
|
-
const
|
3075
|
+
const dimensions = advancedVSeed.dimensions;
|
2878
3076
|
if (!dimensions) return result;
|
2879
3077
|
const rowDimensions = dimensions.filter((dim)=>'rowDimension' === dim.location);
|
2880
3078
|
const rows = rowDimensions.map((dim)=>({
|
@@ -3041,8 +3239,7 @@ const pointStyle_pointStyle = (spec, context)=>{
|
|
3041
3239
|
const { markStyle } = advancedVSeed;
|
3042
3240
|
const { pointStyle } = markStyle;
|
3043
3241
|
const result = {
|
3044
|
-
...spec
|
3045
|
-
point: {}
|
3242
|
+
...spec
|
3046
3243
|
};
|
3047
3244
|
if (!pointStyle) return result;
|
3048
3245
|
const pointStyles = Array.isArray(pointStyle) ? pointStyle : [
|
@@ -3095,6 +3292,7 @@ const pointStateDimensionHover = (spec)=>{
|
|
3095
3292
|
point: {
|
3096
3293
|
...point,
|
3097
3294
|
state: {
|
3295
|
+
...point.state || {},
|
3098
3296
|
dimension_hover: {
|
3099
3297
|
scaleX: 1.4,
|
3100
3298
|
scaleY: 1.4
|
@@ -3113,6 +3311,7 @@ const pointStateHover = (spec, context)=>{
|
|
3113
3311
|
point: {
|
3114
3312
|
...point,
|
3115
3313
|
state: {
|
3314
|
+
...point.state || {},
|
3116
3315
|
hover: {
|
3117
3316
|
scaleX: 1.4,
|
3118
3317
|
scaleY: 1.4,
|
@@ -4510,27 +4709,6 @@ const pivotFunnel = [
|
|
4510
4709
|
const funnelSpecPipeline = [
|
4511
4710
|
pivotAdapter_pivotAdapter(funnel, pivotFunnel)
|
4512
4711
|
];
|
4513
|
-
const initScatter = (spec, context)=>{
|
4514
|
-
const result = {
|
4515
|
-
...spec
|
4516
|
-
};
|
4517
|
-
const { advancedVSeed } = context;
|
4518
|
-
const { encoding } = advancedVSeed;
|
4519
|
-
if (!encoding[0].y || !encoding[0].x || !encoding[0].group) return result;
|
4520
|
-
result.type = 'scatter';
|
4521
|
-
result.direction = 'vertical';
|
4522
|
-
result.xField = encoding[0].x[0];
|
4523
|
-
result.yField = encoding[0].y[0];
|
4524
|
-
result.seriesField = encoding[0].group[0];
|
4525
|
-
result.padding = 0;
|
4526
|
-
result.region = [
|
4527
|
-
{
|
4528
|
-
clip: true
|
4529
|
-
}
|
4530
|
-
];
|
4531
|
-
result.animation = true;
|
4532
|
-
return result;
|
4533
|
-
};
|
4534
4712
|
const scatter = [
|
4535
4713
|
initScatter,
|
4536
4714
|
color_color,
|
@@ -4580,6 +4758,128 @@ const pivotScatter = [
|
|
4580
4758
|
const scatterSpecPipeline = [
|
4581
4759
|
pivotAdapter_pivotAdapter(scatter, pivotScatter)
|
4582
4760
|
];
|
4761
|
+
const initTable = (spec, context)=>{
|
4762
|
+
const { advancedVSeed } = context;
|
4763
|
+
const { dataset } = advancedVSeed;
|
4764
|
+
return {
|
4765
|
+
...spec,
|
4766
|
+
records: dataset,
|
4767
|
+
widthMode: 'standard',
|
4768
|
+
heightMode: 'autoHeight',
|
4769
|
+
autoWrapText: true,
|
4770
|
+
columnResizeMode: 'all',
|
4771
|
+
showHeader: true
|
4772
|
+
};
|
4773
|
+
};
|
4774
|
+
const measureTreeToColumns = (spec, context)=>{
|
4775
|
+
const { advancedVSeed } = context;
|
4776
|
+
const measures = advancedVSeed.measures;
|
4777
|
+
const result = {
|
4778
|
+
...spec
|
4779
|
+
};
|
4780
|
+
const columns = treeTreeToColumns(measures);
|
4781
|
+
return {
|
4782
|
+
...result,
|
4783
|
+
columns: [
|
4784
|
+
...result.columns || [],
|
4785
|
+
...columns
|
4786
|
+
]
|
4787
|
+
};
|
4788
|
+
};
|
4789
|
+
const dimensionTreeToColumns = (spec, context)=>{
|
4790
|
+
const { advancedVSeed } = context;
|
4791
|
+
const dimensions = advancedVSeed.dimensions;
|
4792
|
+
const result = {
|
4793
|
+
...spec
|
4794
|
+
};
|
4795
|
+
const columns = treeTreeToColumns(dimensions);
|
4796
|
+
return {
|
4797
|
+
...result,
|
4798
|
+
columns: [
|
4799
|
+
...result.columns || [],
|
4800
|
+
...columns
|
4801
|
+
]
|
4802
|
+
};
|
4803
|
+
};
|
4804
|
+
const treeTreeToColumns = (tree = [])=>{
|
4805
|
+
const result = tree.map((item)=>{
|
4806
|
+
const field = item.id;
|
4807
|
+
const title = item.alias ?? item.id;
|
4808
|
+
if ('children' in item && Array.isArray(item.children)) return {
|
4809
|
+
field,
|
4810
|
+
title,
|
4811
|
+
columns: treeTreeToColumns(item.children)
|
4812
|
+
};
|
4813
|
+
return {
|
4814
|
+
field,
|
4815
|
+
title
|
4816
|
+
};
|
4817
|
+
});
|
4818
|
+
return result || [];
|
4819
|
+
};
|
4820
|
+
const tableSpecPipeline = [
|
4821
|
+
initTable,
|
4822
|
+
dimensionTreeToColumns,
|
4823
|
+
measureTreeToColumns
|
4824
|
+
];
|
4825
|
+
const initPivotTable = (spec, context)=>{
|
4826
|
+
const { advancedVSeed } = context;
|
4827
|
+
const { dataset } = advancedVSeed;
|
4828
|
+
return {
|
4829
|
+
...spec,
|
4830
|
+
records: dataset,
|
4831
|
+
widthMode: 'standard',
|
4832
|
+
heightMode: 'autoHeight',
|
4833
|
+
autoWrapText: true,
|
4834
|
+
columnResizeMode: 'all'
|
4835
|
+
};
|
4836
|
+
};
|
4837
|
+
const pivotColumns = (spec, context)=>{
|
4838
|
+
const { advancedVSeed } = context;
|
4839
|
+
const dimensions = advancedVSeed.dimensions;
|
4840
|
+
const columns = dimensions.filter((item)=>'columnDimension' === item['location']);
|
4841
|
+
return {
|
4842
|
+
...spec,
|
4843
|
+
columns: columns.map((item)=>({
|
4844
|
+
dimensionKey: item.id,
|
4845
|
+
title: item.alias || item.id,
|
4846
|
+
width: 'auto'
|
4847
|
+
}))
|
4848
|
+
};
|
4849
|
+
};
|
4850
|
+
const pivotRows = (spec, context)=>{
|
4851
|
+
const { advancedVSeed } = context;
|
4852
|
+
const dimensions = advancedVSeed.dimensions;
|
4853
|
+
const rows = dimensions.filter((item)=>'rowDimension' === item['location']);
|
4854
|
+
return {
|
4855
|
+
...spec,
|
4856
|
+
rows: rows.map((item)=>({
|
4857
|
+
dimensionKey: item.id,
|
4858
|
+
title: item.alias || item.id,
|
4859
|
+
width: 'auto'
|
4860
|
+
}))
|
4861
|
+
};
|
4862
|
+
};
|
4863
|
+
const pivotIndicators_pivotIndicators = (spec, context)=>{
|
4864
|
+
const { advancedVSeed } = context;
|
4865
|
+
const measures = advancedVSeed.measures;
|
4866
|
+
return {
|
4867
|
+
...spec,
|
4868
|
+
indicatorsAsCol: true,
|
4869
|
+
indicators: measures.map((item)=>({
|
4870
|
+
cellType: 'text',
|
4871
|
+
indicatorKey: item.id,
|
4872
|
+
title: item.alias || item.id,
|
4873
|
+
width: 'auto'
|
4874
|
+
}))
|
4875
|
+
};
|
4876
|
+
};
|
4877
|
+
const pivotTableSpecPipeline = [
|
4878
|
+
initPivotTable,
|
4879
|
+
pivotColumns,
|
4880
|
+
pivotRows,
|
4881
|
+
pivotIndicators_pivotIndicators
|
4882
|
+
];
|
4583
4883
|
const buildAdvanced = (builder)=>{
|
4584
4884
|
const { chartType } = builder.vseed;
|
4585
4885
|
if (!chartType) throw new Error('chartType is nil in buildAdvanced');
|
@@ -4620,6 +4920,17 @@ const build = (builder)=>{
|
|
4620
4920
|
builder.spec = spec;
|
4621
4921
|
return spec;
|
4622
4922
|
};
|
4923
|
+
const getColorItems = (builder)=>{
|
4924
|
+
const advancedVSeed = builder.advancedVSeed;
|
4925
|
+
if (!advancedVSeed) return [];
|
4926
|
+
const { datasetReshapeInfo } = advancedVSeed;
|
4927
|
+
const colorItems = (0, external_remeda_namespaceObject.unique)(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
4928
|
+
const colorIdMap = datasetReshapeInfo.reduce((prev, cur)=>({
|
4929
|
+
...prev,
|
4930
|
+
...cur.unfoldInfo.colorIdMap
|
4931
|
+
}), {});
|
4932
|
+
return colorItems.map((d)=>colorIdMap[d]);
|
4933
|
+
};
|
4623
4934
|
class Builder {
|
4624
4935
|
_vseed;
|
4625
4936
|
_advancedVSeed = null;
|
@@ -4635,6 +4946,7 @@ class Builder {
|
|
4635
4946
|
getSpecPipeline = (chartType)=>Builder._specPipelineMap[chartType];
|
4636
4947
|
getTheme = (themeKey)=>Builder._themeMap[themeKey];
|
4637
4948
|
getThemeMap = ()=>Builder._themeMap;
|
4949
|
+
getColorItems = ()=>getColorItems(this);
|
4638
4950
|
get vseed() {
|
4639
4951
|
return this._vseed;
|
4640
4952
|
}
|
@@ -4718,6 +5030,14 @@ const registerScatter = ()=>{
|
|
4718
5030
|
Builder._advancedPipelineMap.scatter = scatterAdvancedPipeline;
|
4719
5031
|
Builder._specPipelineMap.scatter = scatterSpecPipeline;
|
4720
5032
|
};
|
5033
|
+
const registerTable = ()=>{
|
5034
|
+
Builder._advancedPipelineMap.table = tableAdvancedPipeline;
|
5035
|
+
Builder._specPipelineMap.table = tableSpecPipeline;
|
5036
|
+
};
|
5037
|
+
const registerPivotTable = ()=>{
|
5038
|
+
Builder._advancedPipelineMap.pivotTable = pivotTableAdvancedPipeline;
|
5039
|
+
Builder._specPipelineMap.pivotTable = pivotTableSpecPipeline;
|
5040
|
+
};
|
4721
5041
|
const lightTheme = ()=>{
|
4722
5042
|
const linearAxis = {
|
4723
5043
|
nice: true,
|
@@ -4823,52 +5143,49 @@ const lightTheme = ()=>{
|
|
4823
5143
|
labelColor: '#ffffff',
|
4824
5144
|
labelBackgroundColor: '#364159'
|
4825
5145
|
};
|
5146
|
+
const baseConfig = {
|
5147
|
+
backgroundColor: 'transparent',
|
5148
|
+
color: {
|
5149
|
+
colorScheme: [
|
5150
|
+
'#8D72F6',
|
5151
|
+
'#5766EC',
|
5152
|
+
'#66A3FE',
|
5153
|
+
'#51D5E6',
|
5154
|
+
'#4EC0B3',
|
5155
|
+
'#F9DF90',
|
5156
|
+
'#F9AD71',
|
5157
|
+
'#ED8888',
|
5158
|
+
'#E9A0C3',
|
5159
|
+
'#D77DD3'
|
5160
|
+
]
|
5161
|
+
},
|
5162
|
+
label: {
|
5163
|
+
enable: true
|
5164
|
+
},
|
5165
|
+
tooltip: {
|
5166
|
+
enable: true
|
5167
|
+
},
|
5168
|
+
legend: {
|
5169
|
+
enable: true,
|
5170
|
+
border: true,
|
5171
|
+
maxSize: 1,
|
5172
|
+
shapeType: 'rectRound',
|
5173
|
+
position: 'rt',
|
5174
|
+
labelFontColor: '#646A73',
|
5175
|
+
labelFontSize: 12,
|
5176
|
+
labelFontWeight: 400
|
5177
|
+
}
|
5178
|
+
};
|
4826
5179
|
return {
|
4827
|
-
baseConfig: {
|
4828
|
-
vtable: {
|
4829
|
-
backgroundColor: 'transparent'
|
4830
|
-
},
|
4831
|
-
vchart: {
|
4832
|
-
backgroundColor: 'transparent',
|
4833
|
-
color: {
|
4834
|
-
colorScheme: [
|
4835
|
-
'#8D72F6',
|
4836
|
-
'#5766EC',
|
4837
|
-
'#66A3FE',
|
4838
|
-
'#51D5E6',
|
4839
|
-
'#4EC0B3',
|
4840
|
-
'#F9DF90',
|
4841
|
-
'#F9AD71',
|
4842
|
-
'#ED8888',
|
4843
|
-
'#E9A0C3',
|
4844
|
-
'#D77DD3'
|
4845
|
-
]
|
4846
|
-
},
|
4847
|
-
label: {
|
4848
|
-
enable: true
|
4849
|
-
},
|
4850
|
-
tooltip: {
|
4851
|
-
enable: true
|
4852
|
-
},
|
4853
|
-
legend: {
|
4854
|
-
enable: true,
|
4855
|
-
border: true,
|
4856
|
-
maxSize: 1,
|
4857
|
-
shapeType: 'rectRound',
|
4858
|
-
position: 'rt',
|
4859
|
-
labelFontColor: '#646A73',
|
4860
|
-
labelFontSize: 12,
|
4861
|
-
labelFontWeight: 400
|
4862
|
-
}
|
4863
|
-
}
|
4864
|
-
},
|
4865
5180
|
config: {
|
4866
5181
|
line: {
|
5182
|
+
...baseConfig,
|
4867
5183
|
xAxis: bandAxis,
|
4868
5184
|
yAxis: linearAxis,
|
4869
5185
|
crosshairLine
|
4870
5186
|
},
|
4871
5187
|
column: {
|
5188
|
+
...baseConfig,
|
4872
5189
|
xAxis: bandAxis,
|
4873
5190
|
yAxis: linearAxis,
|
4874
5191
|
crosshairRect,
|
@@ -4880,6 +5197,7 @@ const lightTheme = ()=>{
|
|
4880
5197
|
]
|
4881
5198
|
},
|
4882
5199
|
columnParallel: {
|
5200
|
+
...baseConfig,
|
4883
5201
|
xAxis: bandAxis,
|
4884
5202
|
yAxis: linearAxis,
|
4885
5203
|
crosshairRect,
|
@@ -4891,6 +5209,7 @@ const lightTheme = ()=>{
|
|
4891
5209
|
]
|
4892
5210
|
},
|
4893
5211
|
columnPercent: {
|
5212
|
+
...baseConfig,
|
4894
5213
|
xAxis: bandAxis,
|
4895
5214
|
yAxis: linearAxis,
|
4896
5215
|
crosshairRect,
|
@@ -4902,6 +5221,7 @@ const lightTheme = ()=>{
|
|
4902
5221
|
]
|
4903
5222
|
},
|
4904
5223
|
bar: {
|
5224
|
+
...baseConfig,
|
4905
5225
|
xAxis: linearAxis,
|
4906
5226
|
yAxis: barBandAxis,
|
4907
5227
|
crosshairRect,
|
@@ -4913,6 +5233,7 @@ const lightTheme = ()=>{
|
|
4913
5233
|
]
|
4914
5234
|
},
|
4915
5235
|
barParallel: {
|
5236
|
+
...baseConfig,
|
4916
5237
|
xAxis: linearAxis,
|
4917
5238
|
yAxis: barBandAxis,
|
4918
5239
|
crosshairRect,
|
@@ -4924,6 +5245,7 @@ const lightTheme = ()=>{
|
|
4924
5245
|
]
|
4925
5246
|
},
|
4926
5247
|
barPercent: {
|
5248
|
+
...baseConfig,
|
4927
5249
|
xAxis: linearAxis,
|
4928
5250
|
yAxis: barBandAxis,
|
4929
5251
|
crosshairRect,
|
@@ -4935,16 +5257,19 @@ const lightTheme = ()=>{
|
|
4935
5257
|
]
|
4936
5258
|
},
|
4937
5259
|
area: {
|
5260
|
+
...baseConfig,
|
4938
5261
|
xAxis: bandAxis,
|
4939
5262
|
yAxis: linearAxis,
|
4940
5263
|
crosshairLine
|
4941
5264
|
},
|
4942
5265
|
areaPercent: {
|
5266
|
+
...baseConfig,
|
4943
5267
|
xAxis: bandAxis,
|
4944
5268
|
yAxis: linearAxis,
|
4945
5269
|
crosshairLine
|
4946
5270
|
},
|
4947
5271
|
scatter: {
|
5272
|
+
...baseConfig,
|
4948
5273
|
xAxis: {
|
4949
5274
|
...linearAxis,
|
4950
5275
|
line: {
|
@@ -4960,6 +5285,35 @@ const lightTheme = ()=>{
|
|
4960
5285
|
}
|
4961
5286
|
},
|
4962
5287
|
crosshairLine
|
5288
|
+
},
|
5289
|
+
pie: {
|
5290
|
+
...baseConfig
|
5291
|
+
},
|
5292
|
+
donut: {
|
5293
|
+
...baseConfig
|
5294
|
+
},
|
5295
|
+
rose: {
|
5296
|
+
...baseConfig
|
5297
|
+
},
|
5298
|
+
roseParallel: {
|
5299
|
+
...baseConfig
|
5300
|
+
},
|
5301
|
+
funnel: {
|
5302
|
+
...baseConfig,
|
5303
|
+
color: {
|
5304
|
+
colorScheme: [
|
5305
|
+
'#5766EC',
|
5306
|
+
'#6372F0',
|
5307
|
+
'#7080F4',
|
5308
|
+
'#7C8CFA',
|
5309
|
+
'#8998FF',
|
5310
|
+
'#95A3FF',
|
5311
|
+
'#A0AEFF',
|
5312
|
+
'#ACB9FF',
|
5313
|
+
'#B7C4FF',
|
5314
|
+
'#C2CEFF'
|
5315
|
+
]
|
5316
|
+
}
|
4963
5317
|
}
|
4964
5318
|
}
|
4965
5319
|
};
|
@@ -5068,52 +5422,49 @@ const darkTheme = ()=>{
|
|
5068
5422
|
labelColor: '#4B4F54',
|
5069
5423
|
labelBackgroundColor: '#ffffff'
|
5070
5424
|
};
|
5071
|
-
|
5072
|
-
|
5073
|
-
|
5074
|
-
|
5075
|
-
|
5076
|
-
|
5077
|
-
|
5078
|
-
|
5079
|
-
|
5080
|
-
|
5081
|
-
|
5082
|
-
|
5083
|
-
|
5084
|
-
|
5085
|
-
|
5086
|
-
'#003A8C',
|
5087
|
-
'#B08AE2',
|
5088
|
-
'#FF6341',
|
5089
|
-
'#98DD62'
|
5090
|
-
]
|
5091
|
-
},
|
5092
|
-
label: {
|
5093
|
-
enable: true
|
5094
|
-
},
|
5095
|
-
tooltip: {
|
5096
|
-
enable: true
|
5097
|
-
},
|
5098
|
-
legend: {
|
5099
|
-
enable: true,
|
5100
|
-
border: true,
|
5101
|
-
maxSize: 1,
|
5102
|
-
position: 'rt',
|
5103
|
-
shapeType: 'rectRound',
|
5104
|
-
labelFontColor: '#FDFDFD',
|
5105
|
-
labelFontSize: 12,
|
5106
|
-
labelFontWeight: 400
|
5107
|
-
}
|
5108
|
-
}
|
5425
|
+
const baseConfig = {
|
5426
|
+
backgroundColor: 'transparent',
|
5427
|
+
color: {
|
5428
|
+
colorScheme: [
|
5429
|
+
'#2E62F1',
|
5430
|
+
'#4DC36A',
|
5431
|
+
'#FF8406',
|
5432
|
+
'#FFCC00',
|
5433
|
+
'#4F44CF',
|
5434
|
+
'#5AC8FA',
|
5435
|
+
'#003A8C',
|
5436
|
+
'#B08AE2',
|
5437
|
+
'#FF6341',
|
5438
|
+
'#98DD62'
|
5439
|
+
]
|
5109
5440
|
},
|
5441
|
+
label: {
|
5442
|
+
enable: true
|
5443
|
+
},
|
5444
|
+
tooltip: {
|
5445
|
+
enable: true
|
5446
|
+
},
|
5447
|
+
legend: {
|
5448
|
+
enable: true,
|
5449
|
+
border: true,
|
5450
|
+
maxSize: 1,
|
5451
|
+
position: 'rt',
|
5452
|
+
shapeType: 'rectRound',
|
5453
|
+
labelFontColor: '#FDFDFD',
|
5454
|
+
labelFontSize: 12,
|
5455
|
+
labelFontWeight: 400
|
5456
|
+
}
|
5457
|
+
};
|
5458
|
+
return {
|
5110
5459
|
config: {
|
5111
5460
|
line: {
|
5461
|
+
...baseConfig,
|
5112
5462
|
xAxis: bandAxis,
|
5113
5463
|
yAxis: linearAxis,
|
5114
5464
|
crosshairLine: crosshairLine
|
5115
5465
|
},
|
5116
5466
|
column: {
|
5467
|
+
...baseConfig,
|
5117
5468
|
xAxis: bandAxis,
|
5118
5469
|
yAxis: linearAxis,
|
5119
5470
|
crosshairRect: crosshairRect,
|
@@ -5125,6 +5476,7 @@ const darkTheme = ()=>{
|
|
5125
5476
|
]
|
5126
5477
|
},
|
5127
5478
|
columnParallel: {
|
5479
|
+
...baseConfig,
|
5128
5480
|
xAxis: bandAxis,
|
5129
5481
|
yAxis: linearAxis,
|
5130
5482
|
crosshairRect: crosshairRect,
|
@@ -5136,6 +5488,7 @@ const darkTheme = ()=>{
|
|
5136
5488
|
]
|
5137
5489
|
},
|
5138
5490
|
columnPercent: {
|
5491
|
+
...baseConfig,
|
5139
5492
|
xAxis: bandAxis,
|
5140
5493
|
yAxis: linearAxis,
|
5141
5494
|
crosshairRect: crosshairRect,
|
@@ -5147,6 +5500,7 @@ const darkTheme = ()=>{
|
|
5147
5500
|
]
|
5148
5501
|
},
|
5149
5502
|
bar: {
|
5503
|
+
...baseConfig,
|
5150
5504
|
xAxis: linearAxis,
|
5151
5505
|
yAxis: barBandAxis,
|
5152
5506
|
crosshairRect: crosshairRect,
|
@@ -5158,6 +5512,7 @@ const darkTheme = ()=>{
|
|
5158
5512
|
]
|
5159
5513
|
},
|
5160
5514
|
barParallel: {
|
5515
|
+
...baseConfig,
|
5161
5516
|
xAxis: linearAxis,
|
5162
5517
|
yAxis: barBandAxis,
|
5163
5518
|
crosshairRect: crosshairRect,
|
@@ -5169,6 +5524,7 @@ const darkTheme = ()=>{
|
|
5169
5524
|
]
|
5170
5525
|
},
|
5171
5526
|
barPercent: {
|
5527
|
+
...baseConfig,
|
5172
5528
|
xAxis: linearAxis,
|
5173
5529
|
yAxis: barBandAxis,
|
5174
5530
|
crosshairRect: crosshairRect,
|
@@ -5180,16 +5536,19 @@ const darkTheme = ()=>{
|
|
5180
5536
|
]
|
5181
5537
|
},
|
5182
5538
|
area: {
|
5539
|
+
...baseConfig,
|
5183
5540
|
xAxis: bandAxis,
|
5184
5541
|
yAxis: linearAxis,
|
5185
5542
|
crosshairLine: crosshairLine
|
5186
5543
|
},
|
5187
5544
|
areaPercent: {
|
5545
|
+
...baseConfig,
|
5188
5546
|
xAxis: bandAxis,
|
5189
5547
|
yAxis: linearAxis,
|
5190
5548
|
crosshairLine: crosshairLine
|
5191
5549
|
},
|
5192
5550
|
scatter: {
|
5551
|
+
...baseConfig,
|
5193
5552
|
xAxis: {
|
5194
5553
|
...linearAxis,
|
5195
5554
|
line: {
|
@@ -5205,6 +5564,35 @@ const darkTheme = ()=>{
|
|
5205
5564
|
}
|
5206
5565
|
},
|
5207
5566
|
crosshairLine
|
5567
|
+
},
|
5568
|
+
pie: {
|
5569
|
+
...baseConfig
|
5570
|
+
},
|
5571
|
+
donut: {
|
5572
|
+
...baseConfig
|
5573
|
+
},
|
5574
|
+
rose: {
|
5575
|
+
...baseConfig
|
5576
|
+
},
|
5577
|
+
roseParallel: {
|
5578
|
+
...baseConfig
|
5579
|
+
},
|
5580
|
+
funnel: {
|
5581
|
+
...baseConfig,
|
5582
|
+
color: {
|
5583
|
+
colorScheme: [
|
5584
|
+
'#2E62F1',
|
5585
|
+
'#3A6EF6',
|
5586
|
+
'#4780FA',
|
5587
|
+
'#548CFE',
|
5588
|
+
'#6198FF',
|
5589
|
+
'#6FA3FF',
|
5590
|
+
'#7CACFF',
|
5591
|
+
'#88B7FF',
|
5592
|
+
'#94C2FF',
|
5593
|
+
'#A0CEFF'
|
5594
|
+
]
|
5595
|
+
}
|
5208
5596
|
}
|
5209
5597
|
}
|
5210
5598
|
};
|
@@ -5238,6 +5626,8 @@ const registerAll = ()=>{
|
|
5238
5626
|
registerRoseParallel();
|
5239
5627
|
registerFunnel();
|
5240
5628
|
registerScatter();
|
5629
|
+
registerTable();
|
5630
|
+
registerPivotTable();
|
5241
5631
|
registerLightTheme();
|
5242
5632
|
registerDarkTheme();
|
5243
5633
|
};
|
@@ -5267,48 +5657,66 @@ const zDataset = external_zod_namespaceObject.z.array(zDatum);
|
|
5267
5657
|
const zDimension = external_zod_namespaceObject.z.object({
|
5268
5658
|
id: external_zod_namespaceObject.z.string(),
|
5269
5659
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5270
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5271
5660
|
location: external_zod_namespaceObject.z["enum"]([
|
5272
5661
|
'dimension',
|
5273
5662
|
'rowDimension',
|
5274
5663
|
'columnDimension'
|
5275
5664
|
]).default('dimension').optional()
|
5276
5665
|
});
|
5277
|
-
const
|
5666
|
+
const zDimensionGroup = external_zod_namespaceObject.z.object({
|
5667
|
+
id: external_zod_namespaceObject.z.string(),
|
5668
|
+
alias: external_zod_namespaceObject.z.string().optional(),
|
5669
|
+
get children () {
|
5670
|
+
return external_zod_namespaceObject.z.array(zDimensionGroup.or(zDimension)).optional();
|
5671
|
+
}
|
5672
|
+
});
|
5673
|
+
const zDimensions = external_zod_namespaceObject.z.array(zDimension);
|
5674
|
+
const zDimensionTree = external_zod_namespaceObject.z.array(zDimensionGroup.or(zDimension));
|
5278
5675
|
const zNumFormat = external_zod_namespaceObject.z.object({
|
5279
5676
|
type: external_zod_namespaceObject.z["enum"]([
|
5280
5677
|
'number',
|
5281
5678
|
'percent',
|
5282
|
-
'permille'
|
5679
|
+
'permille',
|
5680
|
+
'scientific'
|
5283
5681
|
]).default('number').optional(),
|
5284
5682
|
ratio: external_zod_namespaceObject.z.number().default(1).optional(),
|
5285
5683
|
symbol: external_zod_namespaceObject.z.string().default('').optional(),
|
5286
5684
|
thousandSeparator: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5287
|
-
decimalPlaces: external_zod_namespaceObject.z.number().default(2).optional(),
|
5288
|
-
round: external_zod_namespaceObject.z["enum"]([
|
5289
|
-
'round',
|
5290
|
-
'floor',
|
5291
|
-
'ceil'
|
5292
|
-
]).default('round').optional(),
|
5293
5685
|
prefix: external_zod_namespaceObject.z.string().default('').optional(),
|
5294
|
-
suffix: external_zod_namespaceObject.z.string().default('').optional()
|
5686
|
+
suffix: external_zod_namespaceObject.z.string().default('').optional(),
|
5687
|
+
fractionDigits: external_zod_namespaceObject.z.number().default(2).optional(),
|
5688
|
+
significantDigits: external_zod_namespaceObject.z.number().default(0).optional(),
|
5689
|
+
roundingPriority: external_zod_namespaceObject.z["enum"]([
|
5690
|
+
'morePrecision',
|
5691
|
+
'lessPrecision'
|
5692
|
+
]).default('morePrecision').optional(),
|
5693
|
+
roundingMode: external_zod_namespaceObject.z["enum"]([
|
5694
|
+
'floor',
|
5695
|
+
'ceil',
|
5696
|
+
'halfEven',
|
5697
|
+
'expand',
|
5698
|
+
'trunc',
|
5699
|
+
'halfFloor',
|
5700
|
+
'halfCeil',
|
5701
|
+
'halfExpand',
|
5702
|
+
'halfTrunc'
|
5703
|
+
]).default('halfCeil').optional()
|
5295
5704
|
}).optional();
|
5296
5705
|
const zMeasure = external_zod_namespaceObject.z.object({
|
5297
5706
|
id: external_zod_namespaceObject.z.string(),
|
5298
5707
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5299
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5300
5708
|
autoFormat: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5301
5709
|
format: zNumFormat["default"]({}).optional()
|
5302
5710
|
});
|
5303
5711
|
const zMeasureGroup = external_zod_namespaceObject.z.object({
|
5304
5712
|
id: external_zod_namespaceObject.z.string(),
|
5305
5713
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5306
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5307
5714
|
get children () {
|
5308
5715
|
return external_zod_namespaceObject.z.array(zMeasureGroup.or(zMeasure)).optional();
|
5309
5716
|
}
|
5310
5717
|
});
|
5311
|
-
const zMeasures = external_zod_namespaceObject.z.array(
|
5718
|
+
const zMeasures = external_zod_namespaceObject.z.array(zMeasure);
|
5719
|
+
const zMeasureTree = external_zod_namespaceObject.z.array(zMeasureGroup.or(zMeasure));
|
5312
5720
|
const zFoldInfo = external_zod_namespaceObject.z.object({
|
5313
5721
|
foldMap: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.string().or(external_zod_namespaceObject.z.undefined())),
|
5314
5722
|
measureId: external_zod_namespaceObject.z.string(),
|
@@ -5336,15 +5744,117 @@ const zEncoding = external_zod_namespaceObject.z.array(external_zod_namespaceObj
|
|
5336
5744
|
tooltip: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5337
5745
|
size: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional()
|
5338
5746
|
}));
|
5339
|
-
const
|
5340
|
-
|
5341
|
-
|
5747
|
+
const zXBandAxis = external_zod_namespaceObject.z.object({
|
5748
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5749
|
+
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5750
|
+
labelAutoHideGap: external_zod_namespaceObject.z.number().default(0).optional(),
|
5751
|
+
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5752
|
+
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5753
|
+
0,
|
5754
|
+
-45,
|
5755
|
+
-90
|
5756
|
+
]).optional(),
|
5757
|
+
labelAutoLimit: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5758
|
+
labelAutoLimitLength: external_zod_namespaceObject.z.number().default(100).optional(),
|
5759
|
+
label: external_zod_namespaceObject.z.object({
|
5760
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5761
|
+
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5762
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5763
|
+
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5764
|
+
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5765
|
+
}).optional(),
|
5766
|
+
line: external_zod_namespaceObject.z.object({
|
5767
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5768
|
+
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5769
|
+
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5770
|
+
}).optional(),
|
5771
|
+
tick: external_zod_namespaceObject.z.object({
|
5772
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5773
|
+
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5774
|
+
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5775
|
+
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5776
|
+
}).optional(),
|
5777
|
+
title: external_zod_namespaceObject.z.object({
|
5778
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5779
|
+
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5780
|
+
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5781
|
+
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5782
|
+
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5783
|
+
}).optional(),
|
5784
|
+
grid: external_zod_namespaceObject.z.object({
|
5785
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5786
|
+
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5787
|
+
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5788
|
+
}).optional()
|
5342
5789
|
});
|
5790
|
+
const zYBandAxis = zXBandAxis;
|
5791
|
+
const zXLinearAxis = external_zod_namespaceObject.z.object({
|
5792
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5793
|
+
min: external_zod_namespaceObject.z.number().optional(),
|
5794
|
+
max: external_zod_namespaceObject.z.number().optional(),
|
5795
|
+
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5796
|
+
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5797
|
+
log: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5798
|
+
logBase: external_zod_namespaceObject.z.number().default(10).optional(),
|
5799
|
+
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5800
|
+
label: external_zod_namespaceObject.z.object({
|
5801
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5802
|
+
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5803
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5804
|
+
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5805
|
+
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5806
|
+
}).optional(),
|
5807
|
+
line: external_zod_namespaceObject.z.object({
|
5808
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5809
|
+
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5810
|
+
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5811
|
+
}).optional(),
|
5812
|
+
tick: external_zod_namespaceObject.z.object({
|
5813
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5814
|
+
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5815
|
+
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5816
|
+
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5817
|
+
}).optional(),
|
5818
|
+
title: external_zod_namespaceObject.z.object({
|
5819
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5820
|
+
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5821
|
+
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5822
|
+
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5823
|
+
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5824
|
+
}).optional(),
|
5825
|
+
grid: external_zod_namespaceObject.z.object({
|
5826
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5827
|
+
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5828
|
+
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5829
|
+
}).optional()
|
5830
|
+
});
|
5831
|
+
const zYLinearAxis = zXLinearAxis;
|
5832
|
+
const zCrosshairLine = external_zod_namespaceObject.z.object({
|
5833
|
+
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5834
|
+
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5835
|
+
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5836
|
+
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5837
|
+
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5838
|
+
});
|
5839
|
+
const zCrosshairRect = external_zod_namespaceObject.z.object({
|
5840
|
+
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5841
|
+
rectColor: external_zod_namespaceObject.z.string().optional(),
|
5842
|
+
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5843
|
+
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5844
|
+
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5845
|
+
});
|
5846
|
+
const zStackCornerRadius = external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())).default([
|
5847
|
+
3,
|
5848
|
+
3,
|
5849
|
+
0,
|
5850
|
+
0
|
5851
|
+
]);
|
5852
|
+
const zBackgroundColor = external_zod_namespaceObject.z.string().default('transparent').optional();
|
5343
5853
|
const zColor = external_zod_namespaceObject.z.object({
|
5344
5854
|
colorScheme: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5345
5855
|
colorMapping: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.string()).optional()
|
5346
5856
|
});
|
5347
|
-
const
|
5857
|
+
const zLabel = external_zod_namespaceObject.z.object({
|
5348
5858
|
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5349
5859
|
});
|
5350
5860
|
const zLegend = external_zod_namespaceObject.z.object({
|
@@ -5401,72 +5911,127 @@ const zLegend = external_zod_namespaceObject.z.object({
|
|
5401
5911
|
labelFontColor: external_zod_namespaceObject.z.string().default('#fff').optional(),
|
5402
5912
|
labelFontWeight: external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.string()).default(400).optional()
|
5403
5913
|
});
|
5404
|
-
const
|
5405
|
-
|
5914
|
+
const zTooltip = external_zod_namespaceObject.z.object({
|
5915
|
+
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5916
|
+
});
|
5917
|
+
const zLineConfig = external_zod_namespaceObject.z.object({
|
5918
|
+
backgroundColor: zBackgroundColor.optional(),
|
5919
|
+
label: zLabel.optional(),
|
5920
|
+
color: zColor.optional(),
|
5921
|
+
tooltip: zTooltip.optional(),
|
5922
|
+
legend: zLegend.optional(),
|
5923
|
+
xAxis: zXBandAxis.optional(),
|
5924
|
+
yAxis: zYLinearAxis.optional(),
|
5925
|
+
crosshairLine: zCrosshairLine.optional()
|
5926
|
+
});
|
5927
|
+
const zColumnConfig = external_zod_namespaceObject.z.object({
|
5928
|
+
backgroundColor: zBackgroundColor.optional(),
|
5929
|
+
label: zLabel.optional(),
|
5930
|
+
color: zColor.optional(),
|
5931
|
+
tooltip: zTooltip.optional(),
|
5932
|
+
legend: zLegend.optional(),
|
5933
|
+
xAxis: zXBandAxis.optional(),
|
5934
|
+
yAxis: zYLinearAxis.optional(),
|
5935
|
+
crosshairRect: zCrosshairRect.optional(),
|
5936
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5937
|
+
});
|
5938
|
+
const zColumnParallelConfig = zColumnConfig;
|
5939
|
+
const zColumnPercentConfig = zColumnConfig;
|
5940
|
+
const zBarConfig = external_zod_namespaceObject.z.object({
|
5941
|
+
backgroundColor: zBackgroundColor.optional(),
|
5942
|
+
label: zLabel.optional(),
|
5943
|
+
color: zColor.optional(),
|
5944
|
+
tooltip: zTooltip.optional(),
|
5945
|
+
legend: zLegend.optional(),
|
5946
|
+
xAxis: zXLinearAxis.optional(),
|
5947
|
+
yAxis: zYBandAxis.optional(),
|
5948
|
+
crosshairRect: zCrosshairRect.optional(),
|
5949
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5950
|
+
});
|
5951
|
+
const zBarParallelConfig = zBarConfig;
|
5952
|
+
const zBarPercentConfig = zBarConfig;
|
5953
|
+
const zAreaConfig = external_zod_namespaceObject.z.object({
|
5954
|
+
backgroundColor: zBackgroundColor.optional(),
|
5955
|
+
label: zLabel.optional(),
|
5956
|
+
color: zColor.optional(),
|
5957
|
+
tooltip: zTooltip.optional(),
|
5958
|
+
legend: zLegend.optional(),
|
5959
|
+
xAxis: zXBandAxis.optional(),
|
5960
|
+
yAxis: zYLinearAxis.optional(),
|
5961
|
+
crosshairLine: zCrosshairLine.optional()
|
5962
|
+
});
|
5963
|
+
const zAreaPercentConfig = zAreaConfig;
|
5964
|
+
const zRoseConfig = external_zod_namespaceObject.z.object({
|
5965
|
+
backgroundColor: zBackgroundColor.optional(),
|
5966
|
+
label: zLabel.optional(),
|
5967
|
+
color: zColor.optional(),
|
5968
|
+
tooltip: zTooltip.optional(),
|
5969
|
+
legend: zLegend.optional()
|
5970
|
+
});
|
5971
|
+
const zRoseParallelConfig = zRoseConfig;
|
5972
|
+
const zPieConfig = external_zod_namespaceObject.z.object({
|
5973
|
+
backgroundColor: zBackgroundColor.optional(),
|
5406
5974
|
label: zLabel.optional(),
|
5407
5975
|
color: zColor.optional(),
|
5408
5976
|
tooltip: zTooltip.optional(),
|
5409
5977
|
legend: zLegend.optional()
|
5410
5978
|
});
|
5411
|
-
const
|
5412
|
-
|
5979
|
+
const zDonutConfig = zPieConfig;
|
5980
|
+
const zDualAxisConfig = external_zod_namespaceObject.z.object({
|
5981
|
+
backgroundColor: zBackgroundColor.optional(),
|
5982
|
+
label: zLabel.optional(),
|
5983
|
+
color: zColor.optional(),
|
5984
|
+
tooltip: zTooltip.optional(),
|
5985
|
+
legend: zLegend.optional()
|
5413
5986
|
});
|
5414
|
-
const
|
5415
|
-
|
5416
|
-
|
5987
|
+
const zScatterConfig = external_zod_namespaceObject.z.object({
|
5988
|
+
backgroundColor: zBackgroundColor.optional(),
|
5989
|
+
label: zLabel.optional(),
|
5990
|
+
color: zColor.optional(),
|
5991
|
+
tooltip: zTooltip.optional(),
|
5992
|
+
legend: zLegend.optional(),
|
5993
|
+
xAxis: zXLinearAxis.optional(),
|
5994
|
+
yAxis: zYLinearAxis.optional(),
|
5995
|
+
crosshairLine: zCrosshairLine.optional()
|
5417
5996
|
});
|
5418
|
-
const
|
5419
|
-
|
5420
|
-
|
5421
|
-
|
5422
|
-
|
5423
|
-
|
5424
|
-
|
5425
|
-
|
5426
|
-
|
5427
|
-
|
5428
|
-
|
5429
|
-
|
5430
|
-
|
5431
|
-
|
5432
|
-
|
5433
|
-
|
5434
|
-
|
5435
|
-
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5439
|
-
|
5440
|
-
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5445
|
-
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5446
|
-
}).optional(),
|
5447
|
-
tick: external_zod_namespaceObject.z.object({
|
5448
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5449
|
-
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5450
|
-
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5451
|
-
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5452
|
-
}).optional(),
|
5453
|
-
title: external_zod_namespaceObject.z.object({
|
5454
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5455
|
-
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5456
|
-
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5457
|
-
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5458
|
-
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5459
|
-
}).optional(),
|
5460
|
-
grid: external_zod_namespaceObject.z.object({
|
5461
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5462
|
-
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5463
|
-
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5464
|
-
}).optional()
|
5997
|
+
const zFunnelConfig = external_zod_namespaceObject.z.object({
|
5998
|
+
backgroundColor: zBackgroundColor.optional(),
|
5999
|
+
color: zColor.optional(),
|
6000
|
+
tooltip: zTooltip.optional(),
|
6001
|
+
label: zLabel.optional(),
|
6002
|
+
legend: zLegend.optional()
|
6003
|
+
});
|
6004
|
+
const zConfig = external_zod_namespaceObject.z.object({
|
6005
|
+
table: external_zod_namespaceObject.z.object({}).optional(),
|
6006
|
+
pivotTable: external_zod_namespaceObject.z.object({}).optional(),
|
6007
|
+
line: zLineConfig.optional(),
|
6008
|
+
column: zColumnConfig.optional(),
|
6009
|
+
columnParallel: zColumnParallelConfig.optional(),
|
6010
|
+
columnPercent: zColumnPercentConfig.optional(),
|
6011
|
+
bar: zBarConfig.optional(),
|
6012
|
+
barParallel: zBarParallelConfig.optional(),
|
6013
|
+
barPercent: zBarPercentConfig.optional(),
|
6014
|
+
area: zAreaConfig.optional(),
|
6015
|
+
areaPercent: zAreaPercentConfig.optional(),
|
6016
|
+
rose: zRoseConfig.optional(),
|
6017
|
+
roseParallel: zRoseParallelConfig.optional(),
|
6018
|
+
pie: zPieConfig.optional(),
|
6019
|
+
donut: zDonutConfig.optional(),
|
6020
|
+
dualAxis: zDualAxisConfig.optional(),
|
6021
|
+
scatter: zScatterConfig.optional(),
|
6022
|
+
funnel: zFunnelConfig.optional()
|
5465
6023
|
});
|
5466
|
-
const
|
6024
|
+
const zAxis = external_zod_namespaceObject.z.object({
|
5467
6025
|
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
6026
|
+
min: external_zod_namespaceObject.z.number().optional(),
|
6027
|
+
max: external_zod_namespaceObject.z.number().optional(),
|
6028
|
+
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
6029
|
+
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
6030
|
+
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
6031
|
+
log: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
6032
|
+
logBase: external_zod_namespaceObject.z.number().default(10).optional(),
|
5468
6033
|
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5469
|
-
labelAutoHideGap: external_zod_namespaceObject.z.number().default(
|
6034
|
+
labelAutoHideGap: external_zod_namespaceObject.z.number().default(4).optional(),
|
5470
6035
|
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5471
6036
|
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5472
6037
|
0,
|
@@ -5506,132 +6071,11 @@ const zXBandAxis = external_zod_namespaceObject.z.object({
|
|
5506
6071
|
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5507
6072
|
}).optional()
|
5508
6073
|
});
|
5509
|
-
const
|
5510
|
-
|
5511
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5512
|
-
min: external_zod_namespaceObject.z.number().optional(),
|
5513
|
-
max: external_zod_namespaceObject.z.number().optional(),
|
5514
|
-
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5515
|
-
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5516
|
-
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5517
|
-
label: external_zod_namespaceObject.z.object({
|
5518
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5519
|
-
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5520
|
-
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5521
|
-
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5522
|
-
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5523
|
-
}).optional(),
|
5524
|
-
line: external_zod_namespaceObject.z.object({
|
5525
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5526
|
-
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5527
|
-
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5528
|
-
}).optional(),
|
5529
|
-
tick: external_zod_namespaceObject.z.object({
|
5530
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5531
|
-
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5532
|
-
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5533
|
-
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5534
|
-
}).optional(),
|
5535
|
-
title: external_zod_namespaceObject.z.object({
|
5536
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5537
|
-
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5538
|
-
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5539
|
-
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5540
|
-
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5541
|
-
}).optional(),
|
5542
|
-
grid: external_zod_namespaceObject.z.object({
|
5543
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5544
|
-
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5545
|
-
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5546
|
-
}).optional()
|
5547
|
-
});
|
5548
|
-
const zYLinearAxis = zXLinearAxis;
|
5549
|
-
const zCrosshairLine = external_zod_namespaceObject.z.object({
|
5550
|
-
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5551
|
-
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5552
|
-
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5553
|
-
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5554
|
-
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5555
|
-
});
|
5556
|
-
const zCrosshairRect = external_zod_namespaceObject.z.object({
|
5557
|
-
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5558
|
-
rectColor: external_zod_namespaceObject.z.string().optional(),
|
5559
|
-
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5560
|
-
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5561
|
-
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5562
|
-
});
|
5563
|
-
const zStackCornerRadius = external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())).default([
|
5564
|
-
3,
|
5565
|
-
3,
|
5566
|
-
0,
|
5567
|
-
0
|
5568
|
-
]);
|
5569
|
-
const zConfig = external_zod_namespaceObject.z.object({
|
5570
|
-
table: external_zod_namespaceObject.z.object({}).optional(),
|
5571
|
-
pivotTable: external_zod_namespaceObject.z.object({}).optional(),
|
5572
|
-
line: external_zod_namespaceObject.z.object({
|
5573
|
-
xAxis: zXBandAxis.optional(),
|
5574
|
-
yAxis: zYLinearAxis.optional(),
|
5575
|
-
crosshairLine: zCrosshairLine.optional()
|
5576
|
-
}).optional(),
|
5577
|
-
column: external_zod_namespaceObject.z.object({
|
5578
|
-
xAxis: zXBandAxis.optional(),
|
5579
|
-
yAxis: zYLinearAxis.optional(),
|
5580
|
-
crosshairRect: zCrosshairRect.optional(),
|
5581
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5582
|
-
}).optional(),
|
5583
|
-
columnParallel: external_zod_namespaceObject.z.object({
|
5584
|
-
xAxis: zXBandAxis.optional(),
|
5585
|
-
yAxis: zYLinearAxis.optional(),
|
5586
|
-
crosshairRect: zCrosshairRect.optional(),
|
5587
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5588
|
-
}).optional(),
|
5589
|
-
columnPercent: external_zod_namespaceObject.z.object({
|
5590
|
-
xAxis: zXBandAxis.optional(),
|
5591
|
-
yAxis: zYLinearAxis.optional(),
|
5592
|
-
crosshairRect: zCrosshairRect.optional(),
|
5593
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5594
|
-
}).optional(),
|
5595
|
-
bar: external_zod_namespaceObject.z.object({
|
5596
|
-
xAxis: zXLinearAxis.optional(),
|
5597
|
-
yAxis: zYBandAxis.optional(),
|
5598
|
-
crosshairRect: zCrosshairRect.optional(),
|
5599
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5600
|
-
}).optional(),
|
5601
|
-
barParallel: external_zod_namespaceObject.z.object({
|
5602
|
-
xAxis: zXLinearAxis.optional(),
|
5603
|
-
yAxis: zYBandAxis.optional(),
|
5604
|
-
crosshairRect: zCrosshairRect.optional(),
|
5605
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5606
|
-
}).optional(),
|
5607
|
-
barPercent: external_zod_namespaceObject.z.object({
|
5608
|
-
xAxis: zXLinearAxis.optional(),
|
5609
|
-
yAxis: zYBandAxis.optional(),
|
5610
|
-
crosshairRect: zCrosshairRect.optional(),
|
5611
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5612
|
-
}).optional(),
|
5613
|
-
area: external_zod_namespaceObject.z.object({
|
5614
|
-
xAxis: zXBandAxis.optional(),
|
5615
|
-
yAxis: zYLinearAxis.optional(),
|
5616
|
-
crosshairLine: zCrosshairLine.optional()
|
5617
|
-
}).optional(),
|
5618
|
-
areaPercent: external_zod_namespaceObject.z.object({
|
5619
|
-
xAxis: zXBandAxis.optional(),
|
5620
|
-
yAxis: zYLinearAxis.optional(),
|
5621
|
-
crosshairLine: zCrosshairLine.optional()
|
5622
|
-
}).optional(),
|
5623
|
-
rose: external_zod_namespaceObject.z.object({}).optional(),
|
5624
|
-
roseParallel: external_zod_namespaceObject.z.object({}).optional(),
|
5625
|
-
pie: external_zod_namespaceObject.z.object({}).optional(),
|
5626
|
-
donut: external_zod_namespaceObject.z.object({}).optional(),
|
5627
|
-
dualAxis: external_zod_namespaceObject.z.object({}).optional(),
|
5628
|
-
scatter: external_zod_namespaceObject.z.object({
|
5629
|
-
xAxis: zXLinearAxis.optional(),
|
5630
|
-
yAxis: zYLinearAxis.optional(),
|
5631
|
-
crosshairLine: zCrosshairLine.optional()
|
5632
|
-
}).optional(),
|
5633
|
-
funnel: external_zod_namespaceObject.z.object({}).optional()
|
6074
|
+
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
6075
|
+
config: zConfig.optional()
|
5634
6076
|
});
|
6077
|
+
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
6078
|
+
const zTheme = external_zod_namespaceObject.z.string();
|
5635
6079
|
const zSelector = external_zod_namespaceObject.z.union([
|
5636
6080
|
external_zod_namespaceObject.z.string(),
|
5637
6081
|
external_zod_namespaceObject.z.number(),
|
@@ -5687,6 +6131,74 @@ const zSelector = external_zod_namespaceObject.z.union([
|
|
5687
6131
|
})
|
5688
6132
|
]);
|
5689
6133
|
const zSelectors = external_zod_namespaceObject.z.array(zSelector);
|
6134
|
+
const zBarStyle = external_zod_namespaceObject.z.object({
|
6135
|
+
selector: external_zod_namespaceObject.z.union([
|
6136
|
+
zSelector,
|
6137
|
+
zSelectors
|
6138
|
+
]).optional(),
|
6139
|
+
barColor: external_zod_namespaceObject.z.string().optional(),
|
6140
|
+
barColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
6141
|
+
barBorderColor: external_zod_namespaceObject.z.string().optional(),
|
6142
|
+
barBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
6143
|
+
barBorderStyle: external_zod_namespaceObject.z.union([
|
6144
|
+
external_zod_namespaceObject.z.literal('solid'),
|
6145
|
+
external_zod_namespaceObject.z.literal('dashed'),
|
6146
|
+
external_zod_namespaceObject.z.literal('dotted')
|
6147
|
+
]).optional(),
|
6148
|
+
barRadius: external_zod_namespaceObject.z.union([
|
6149
|
+
external_zod_namespaceObject.z.number(),
|
6150
|
+
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())
|
6151
|
+
]).optional()
|
6152
|
+
});
|
6153
|
+
const zPointStyle = external_zod_namespaceObject.z.object({
|
6154
|
+
selector: external_zod_namespaceObject.z.union([
|
6155
|
+
zSelector,
|
6156
|
+
zSelectors
|
6157
|
+
]).optional(),
|
6158
|
+
pointSize: external_zod_namespaceObject.z.number().optional(),
|
6159
|
+
pointColor: external_zod_namespaceObject.z.string().optional(),
|
6160
|
+
pointColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
6161
|
+
pointBorderColor: external_zod_namespaceObject.z.string().optional(),
|
6162
|
+
pointBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
6163
|
+
pointBorderStyle: external_zod_namespaceObject.z.union([
|
6164
|
+
external_zod_namespaceObject.z["enum"]([
|
6165
|
+
'solid',
|
6166
|
+
'dashed',
|
6167
|
+
'dotted'
|
6168
|
+
])
|
6169
|
+
]).optional()
|
6170
|
+
});
|
6171
|
+
const zLineStyle = external_zod_namespaceObject.z.object({
|
6172
|
+
selector: external_zod_namespaceObject.z.union([
|
6173
|
+
zSelector,
|
6174
|
+
zSelectors
|
6175
|
+
]).optional(),
|
6176
|
+
lineSmooth: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
6177
|
+
lineColor: external_zod_namespaceObject.z.string().optional(),
|
6178
|
+
lineColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
6179
|
+
lineWidth: external_zod_namespaceObject.z.number().optional(),
|
6180
|
+
lineStyle: external_zod_namespaceObject.z.union([
|
6181
|
+
external_zod_namespaceObject.z["enum"]([
|
6182
|
+
'solid',
|
6183
|
+
'dashed',
|
6184
|
+
'dotted'
|
6185
|
+
])
|
6186
|
+
]).optional()
|
6187
|
+
});
|
6188
|
+
const zAreaStyle = external_zod_namespaceObject.z.object({
|
6189
|
+
selector: external_zod_namespaceObject.z.union([
|
6190
|
+
zSelector,
|
6191
|
+
zSelectors
|
6192
|
+
]).optional(),
|
6193
|
+
areaColor: external_zod_namespaceObject.z.string().optional(),
|
6194
|
+
areaColorOpacity: external_zod_namespaceObject.z.number().optional()
|
6195
|
+
});
|
6196
|
+
const zMarkStyle = external_zod_namespaceObject.z.object({
|
6197
|
+
barStyle: zBarStyle.or(external_zod_namespaceObject.z.array(zBarStyle)).optional(),
|
6198
|
+
pointStyle: zPointStyle.or(external_zod_namespaceObject.z.array(zPointStyle)).optional(),
|
6199
|
+
lineStyle: zLineStyle.or(external_zod_namespaceObject.z.array(zLineStyle)).optional(),
|
6200
|
+
areaStyle: zAreaStyle.or(external_zod_namespaceObject.z.array(zAreaStyle)).optional()
|
6201
|
+
});
|
5690
6202
|
const zAnnotationPoint = external_zod_namespaceObject.z.object({
|
5691
6203
|
selector: external_zod_namespaceObject.z.union([
|
5692
6204
|
zSelector,
|
@@ -5863,91 +6375,33 @@ const zAnnotation = external_zod_namespaceObject.z.object({
|
|
5863
6375
|
annotationHorizontalLine: zAnnotationHorizontalLine.or(external_zod_namespaceObject.z.array(zAnnotationHorizontalLine)).optional(),
|
5864
6376
|
annotationArea: zAnnotationArea.or(external_zod_namespaceObject.z.array(zAnnotationArea)).optional()
|
5865
6377
|
});
|
5866
|
-
const zBarStyle = external_zod_namespaceObject.z.object({
|
5867
|
-
selector: external_zod_namespaceObject.z.union([
|
5868
|
-
zSelector,
|
5869
|
-
zSelectors
|
5870
|
-
]).optional(),
|
5871
|
-
barColor: external_zod_namespaceObject.z.string().optional(),
|
5872
|
-
barColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5873
|
-
barBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5874
|
-
barBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5875
|
-
barBorderStyle: external_zod_namespaceObject.z.union([
|
5876
|
-
external_zod_namespaceObject.z.literal('solid'),
|
5877
|
-
external_zod_namespaceObject.z.literal('dashed'),
|
5878
|
-
external_zod_namespaceObject.z.literal('dotted')
|
5879
|
-
]).optional(),
|
5880
|
-
barRadius: external_zod_namespaceObject.z.union([
|
5881
|
-
external_zod_namespaceObject.z.number(),
|
5882
|
-
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())
|
5883
|
-
]).optional()
|
5884
|
-
});
|
5885
|
-
const zPointStyle = external_zod_namespaceObject.z.object({
|
5886
|
-
selector: external_zod_namespaceObject.z.union([
|
5887
|
-
zSelector,
|
5888
|
-
zSelectors
|
5889
|
-
]).optional(),
|
5890
|
-
pointSize: external_zod_namespaceObject.z.number().optional(),
|
5891
|
-
pointColor: external_zod_namespaceObject.z.string().optional(),
|
5892
|
-
pointColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5893
|
-
pointBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5894
|
-
pointBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5895
|
-
pointBorderStyle: external_zod_namespaceObject.z.union([
|
5896
|
-
external_zod_namespaceObject.z["enum"]([
|
5897
|
-
'solid',
|
5898
|
-
'dashed',
|
5899
|
-
'dotted'
|
5900
|
-
])
|
5901
|
-
]).optional()
|
5902
|
-
});
|
5903
|
-
const zLineStyle = external_zod_namespaceObject.z.object({
|
5904
|
-
selector: external_zod_namespaceObject.z.union([
|
5905
|
-
zSelector,
|
5906
|
-
zSelectors
|
5907
|
-
]).optional(),
|
5908
|
-
lineSmooth: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5909
|
-
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5910
|
-
lineColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5911
|
-
lineWidth: external_zod_namespaceObject.z.number().optional(),
|
5912
|
-
lineStyle: external_zod_namespaceObject.z.union([
|
5913
|
-
external_zod_namespaceObject.z["enum"]([
|
5914
|
-
'solid',
|
5915
|
-
'dashed',
|
5916
|
-
'dotted'
|
5917
|
-
])
|
5918
|
-
]).optional()
|
5919
|
-
});
|
5920
|
-
const zAreaStyle = external_zod_namespaceObject.z.object({
|
5921
|
-
selector: external_zod_namespaceObject.z.union([
|
5922
|
-
zSelector,
|
5923
|
-
zSelectors
|
5924
|
-
]).optional(),
|
5925
|
-
areaColor: external_zod_namespaceObject.z.string().optional(),
|
5926
|
-
areaColorOpacity: external_zod_namespaceObject.z.number().optional()
|
5927
|
-
});
|
5928
|
-
const zMarkStyle = external_zod_namespaceObject.z.object({
|
5929
|
-
barStyle: zBarStyle.or(external_zod_namespaceObject.z.array(zBarStyle)).optional(),
|
5930
|
-
pointStyle: zPointStyle.or(external_zod_namespaceObject.z.array(zPointStyle)).optional(),
|
5931
|
-
lineStyle: zLineStyle.or(external_zod_namespaceObject.z.array(zLineStyle)).optional(),
|
5932
|
-
areaStyle: zAreaStyle.or(external_zod_namespaceObject.z.array(zAreaStyle)).optional()
|
5933
|
-
});
|
5934
|
-
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
5935
|
-
baseConfig: zBaseConfig.optional(),
|
5936
|
-
config: zConfig.optional(),
|
5937
|
-
annotation: zAnnotation.optional(),
|
5938
|
-
markStyle: zMarkStyle.optional()
|
5939
|
-
});
|
5940
|
-
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
5941
|
-
const zTheme = external_zod_namespaceObject.z.string();
|
5942
6378
|
const zLocale = external_zod_namespaceObject.z["enum"]([
|
5943
6379
|
'zh-CN',
|
5944
6380
|
'en-US'
|
5945
6381
|
]).default('zh-CN');
|
6382
|
+
const zTable = external_zod_namespaceObject.z.object({
|
6383
|
+
chartType: external_zod_namespaceObject.z.literal('table'),
|
6384
|
+
dataset: zDataset.optional(),
|
6385
|
+
dimensions: zDimensions.optional(),
|
6386
|
+
measures: zMeasureTree.optional(),
|
6387
|
+
backgroundColor: zBackgroundColor.optional(),
|
6388
|
+
theme: zTheme.optional(),
|
6389
|
+
locale: zLocale.optional()
|
6390
|
+
});
|
6391
|
+
const zPivotTable = external_zod_namespaceObject.z.object({
|
6392
|
+
chartType: external_zod_namespaceObject.z.literal('pivotTable'),
|
6393
|
+
dataset: zDataset.optional(),
|
6394
|
+
dimensions: zDimensions.optional(),
|
6395
|
+
measures: zMeasures.optional(),
|
6396
|
+
backgroundColor: zBackgroundColor.optional(),
|
6397
|
+
theme: zTheme.optional(),
|
6398
|
+
locale: zLocale.optional()
|
6399
|
+
});
|
5946
6400
|
const zLine = external_zod_namespaceObject.z.object({
|
5947
6401
|
chartType: external_zod_namespaceObject.z.literal('line'),
|
5948
6402
|
dataset: zDataset.optional(),
|
5949
6403
|
dimensions: zDimensions.optional(),
|
5950
|
-
measures:
|
6404
|
+
measures: zMeasureTree.optional(),
|
5951
6405
|
backgroundColor: zBackgroundColor.optional(),
|
5952
6406
|
color: zColor.optional(),
|
5953
6407
|
label: zLabel.optional(),
|
@@ -5969,7 +6423,7 @@ const zColumn = external_zod_namespaceObject.z.object({
|
|
5969
6423
|
chartType: external_zod_namespaceObject.z.literal('column'),
|
5970
6424
|
dataset: zDataset.optional(),
|
5971
6425
|
dimensions: zDimensions.optional(),
|
5972
|
-
measures:
|
6426
|
+
measures: zMeasureTree.optional(),
|
5973
6427
|
backgroundColor: zBackgroundColor.optional(),
|
5974
6428
|
color: zColor.optional(),
|
5975
6429
|
label: zLabel.optional(),
|
@@ -5991,7 +6445,7 @@ const zColumnParallel = external_zod_namespaceObject.z.object({
|
|
5991
6445
|
chartType: external_zod_namespaceObject.z.literal('columnParallel'),
|
5992
6446
|
dataset: zDataset.optional(),
|
5993
6447
|
dimensions: zDimensions.optional(),
|
5994
|
-
measures:
|
6448
|
+
measures: zMeasureTree.optional(),
|
5995
6449
|
backgroundColor: zBackgroundColor.optional(),
|
5996
6450
|
color: zColor.optional(),
|
5997
6451
|
label: zLabel.optional(),
|
@@ -6013,7 +6467,7 @@ const zColumnPercent = external_zod_namespaceObject.z.object({
|
|
6013
6467
|
chartType: external_zod_namespaceObject.z.literal('columnPercent'),
|
6014
6468
|
dataset: zDataset.optional(),
|
6015
6469
|
dimensions: zDimensions.optional(),
|
6016
|
-
measures:
|
6470
|
+
measures: zMeasureTree.optional(),
|
6017
6471
|
backgroundColor: zBackgroundColor.optional(),
|
6018
6472
|
color: zColor.optional(),
|
6019
6473
|
label: zLabel.optional(),
|
@@ -6035,7 +6489,7 @@ const zBar = external_zod_namespaceObject.z.object({
|
|
6035
6489
|
chartType: external_zod_namespaceObject.z.literal('bar'),
|
6036
6490
|
dataset: zDataset.optional(),
|
6037
6491
|
dimensions: zDimensions.optional(),
|
6038
|
-
measures:
|
6492
|
+
measures: zMeasureTree.optional(),
|
6039
6493
|
backgroundColor: zBackgroundColor.optional(),
|
6040
6494
|
color: zColor.optional(),
|
6041
6495
|
label: zLabel.optional(),
|
@@ -6057,7 +6511,7 @@ const zBarParallel = external_zod_namespaceObject.z.object({
|
|
6057
6511
|
chartType: external_zod_namespaceObject.z.literal('barParallel'),
|
6058
6512
|
dataset: zDataset.optional(),
|
6059
6513
|
dimensions: zDimensions.optional(),
|
6060
|
-
measures:
|
6514
|
+
measures: zMeasureTree.optional(),
|
6061
6515
|
backgroundColor: zBackgroundColor.optional(),
|
6062
6516
|
color: zColor.optional(),
|
6063
6517
|
label: zLabel.optional(),
|
@@ -6079,7 +6533,7 @@ const zBarPercent = external_zod_namespaceObject.z.object({
|
|
6079
6533
|
chartType: external_zod_namespaceObject.z.literal('barPercent'),
|
6080
6534
|
dataset: zDataset.optional(),
|
6081
6535
|
dimensions: zDimensions.optional(),
|
6082
|
-
measures:
|
6536
|
+
measures: zMeasureTree.optional(),
|
6083
6537
|
backgroundColor: zBackgroundColor.optional(),
|
6084
6538
|
color: zColor.optional(),
|
6085
6539
|
label: zLabel.optional(),
|
@@ -6101,7 +6555,7 @@ const zArea = external_zod_namespaceObject.z.object({
|
|
6101
6555
|
chartType: external_zod_namespaceObject.z.literal('area'),
|
6102
6556
|
dataset: zDataset.optional(),
|
6103
6557
|
dimensions: zDimensions.optional(),
|
6104
|
-
measures:
|
6558
|
+
measures: zMeasureTree.optional(),
|
6105
6559
|
backgroundColor: zBackgroundColor.optional(),
|
6106
6560
|
color: zColor.optional(),
|
6107
6561
|
label: zLabel.optional(),
|
@@ -6124,7 +6578,7 @@ const zAreaPercent = external_zod_namespaceObject.z.object({
|
|
6124
6578
|
chartType: external_zod_namespaceObject.z.literal('areaPercent'),
|
6125
6579
|
dataset: zDataset.optional(),
|
6126
6580
|
dimensions: zDimensions.optional(),
|
6127
|
-
measures:
|
6581
|
+
measures: zMeasureTree.optional(),
|
6128
6582
|
backgroundColor: zBackgroundColor.optional(),
|
6129
6583
|
color: zColor.optional(),
|
6130
6584
|
label: zLabel.optional(),
|
@@ -6147,7 +6601,7 @@ const zRose = external_zod_namespaceObject.z.object({
|
|
6147
6601
|
chartType: external_zod_namespaceObject.z.literal('rose'),
|
6148
6602
|
dataset: zDataset.optional(),
|
6149
6603
|
dimensions: zDimensions.optional(),
|
6150
|
-
measures:
|
6604
|
+
measures: zMeasureTree.optional(),
|
6151
6605
|
backgroundColor: zBackgroundColor.optional(),
|
6152
6606
|
color: zColor.optional(),
|
6153
6607
|
label: zLabel.optional(),
|
@@ -6160,7 +6614,7 @@ const zRoseParallel = external_zod_namespaceObject.z.object({
|
|
6160
6614
|
chartType: external_zod_namespaceObject.z.literal('roseParallel'),
|
6161
6615
|
dataset: zDataset.optional(),
|
6162
6616
|
dimensions: zDimensions.optional(),
|
6163
|
-
measures:
|
6617
|
+
measures: zMeasureTree.optional(),
|
6164
6618
|
backgroundColor: zBackgroundColor.optional(),
|
6165
6619
|
color: zColor.optional(),
|
6166
6620
|
label: zLabel.optional(),
|
@@ -6173,7 +6627,7 @@ const zPie = external_zod_namespaceObject.z.object({
|
|
6173
6627
|
chartType: external_zod_namespaceObject.z.literal('pie'),
|
6174
6628
|
dataset: zDataset.optional(),
|
6175
6629
|
dimensions: zDimensions.optional(),
|
6176
|
-
measures:
|
6630
|
+
measures: zMeasureTree.optional(),
|
6177
6631
|
backgroundColor: zBackgroundColor.optional(),
|
6178
6632
|
color: zColor.optional(),
|
6179
6633
|
label: zLabel.optional(),
|
@@ -6186,7 +6640,7 @@ const zDonut = external_zod_namespaceObject.z.object({
|
|
6186
6640
|
chartType: external_zod_namespaceObject.z.literal('donut'),
|
6187
6641
|
dataset: zDataset.optional(),
|
6188
6642
|
dimensions: zDimensions.optional(),
|
6189
|
-
measures:
|
6643
|
+
measures: zMeasureTree.optional(),
|
6190
6644
|
backgroundColor: zBackgroundColor.optional(),
|
6191
6645
|
color: zColor.optional(),
|
6192
6646
|
label: zLabel.optional(),
|
@@ -6199,7 +6653,7 @@ const zScatter = external_zod_namespaceObject.z.object({
|
|
6199
6653
|
chartType: external_zod_namespaceObject.z.literal('scatter'),
|
6200
6654
|
dataset: zDataset.optional(),
|
6201
6655
|
dimensions: zDimensions.optional(),
|
6202
|
-
measures:
|
6656
|
+
measures: zMeasureTree.optional(),
|
6203
6657
|
backgroundColor: zBackgroundColor.optional(),
|
6204
6658
|
color: zColor.optional(),
|
6205
6659
|
label: zLabel.optional(),
|
@@ -6220,7 +6674,7 @@ const zFunnel = external_zod_namespaceObject.z.object({
|
|
6220
6674
|
chartType: external_zod_namespaceObject.z.literal('funnel'),
|
6221
6675
|
dataset: zDataset.optional(),
|
6222
6676
|
dimensions: zDimensions.optional(),
|
6223
|
-
measures:
|
6677
|
+
measures: zMeasureTree.optional(),
|
6224
6678
|
backgroundColor: zBackgroundColor.optional(),
|
6225
6679
|
color: zColor.optional(),
|
6226
6680
|
label: zLabel.optional(),
|
@@ -6230,6 +6684,8 @@ const zFunnel = external_zod_namespaceObject.z.object({
|
|
6230
6684
|
locale: zLocale.optional()
|
6231
6685
|
});
|
6232
6686
|
const zVSeed = external_zod_namespaceObject.z.discriminatedUnion('chartType', [
|
6687
|
+
zTable,
|
6688
|
+
zPivotTable,
|
6233
6689
|
zLine,
|
6234
6690
|
zColumn,
|
6235
6691
|
zColumnParallel,
|
@@ -6250,14 +6706,13 @@ const zAdvancedVSeed = external_zod_namespaceObject.z.object({
|
|
6250
6706
|
chartType: zChartType,
|
6251
6707
|
dataset: zDataset,
|
6252
6708
|
datasetReshapeInfo: zDatasetReshapeInfo,
|
6253
|
-
dimensions:
|
6254
|
-
measures:
|
6709
|
+
dimensions: zDimensionTree,
|
6710
|
+
measures: zMeasureTree,
|
6255
6711
|
encoding: zEncoding,
|
6256
|
-
baseConfig: zBaseConfig,
|
6257
6712
|
config: zConfig,
|
6258
6713
|
theme: zTheme,
|
6259
6714
|
markStyle: zMarkStyle,
|
6260
|
-
customTheme:
|
6715
|
+
customTheme: zCustomThemeConfig,
|
6261
6716
|
annotation: zAnnotation,
|
6262
6717
|
locale: zLocale
|
6263
6718
|
});
|
@@ -6296,6 +6751,10 @@ exports.dataReshapeFor2D1M = __webpack_exports__.dataReshapeFor2D1M;
|
|
6296
6751
|
exports.donutAdvancedPipeline = __webpack_exports__.donutAdvancedPipeline;
|
6297
6752
|
exports.donutSpecPipeline = __webpack_exports__.donutSpecPipeline;
|
6298
6753
|
exports.execPipeline = __webpack_exports__.execPipeline;
|
6754
|
+
exports.findAllDimensions = __webpack_exports__.findAllDimensions;
|
6755
|
+
exports.findAllMeasures = __webpack_exports__.findAllMeasures;
|
6756
|
+
exports.findDimensionById = __webpack_exports__.findDimensionById;
|
6757
|
+
exports.findFirstDimension = __webpack_exports__.findFirstDimension;
|
6299
6758
|
exports.findFirstMeasure = __webpack_exports__.findFirstMeasure;
|
6300
6759
|
exports.findMeasureById = __webpack_exports__.findMeasureById;
|
6301
6760
|
exports.foldMeasures = __webpack_exports__.foldMeasures;
|
@@ -6304,6 +6763,8 @@ exports.funnelSpecPipeline = __webpack_exports__.funnelSpecPipeline;
|
|
6304
6763
|
exports.i18n = __webpack_exports__.i18n;
|
6305
6764
|
exports.intl = __webpack_exports__.intl;
|
6306
6765
|
exports.isPivotChart = __webpack_exports__.isPivotChart;
|
6766
|
+
exports.isPivotTable = __webpack_exports__.isPivotTable;
|
6767
|
+
exports.isTable = __webpack_exports__.isTable;
|
6307
6768
|
exports.isVChart = __webpack_exports__.isVChart;
|
6308
6769
|
exports.isVTable = __webpack_exports__.isVTable;
|
6309
6770
|
exports.lightTheme = __webpack_exports__.lightTheme;
|
@@ -6311,6 +6772,9 @@ exports.lineAdvancedPipeline = __webpack_exports__.lineAdvancedPipeline;
|
|
6311
6772
|
exports.lineSpecPipeline = __webpack_exports__.lineSpecPipeline;
|
6312
6773
|
exports.pieAdvancedPipeline = __webpack_exports__.pieAdvancedPipeline;
|
6313
6774
|
exports.pieSpecPipeline = __webpack_exports__.pieSpecPipeline;
|
6775
|
+
exports.pivotTableAdvancedPipeline = __webpack_exports__.pivotTableAdvancedPipeline;
|
6776
|
+
exports.pivotTableSpecPipeline = __webpack_exports__.pivotTableSpecPipeline;
|
6777
|
+
exports.preorderTraverse = __webpack_exports__.preorderTraverse;
|
6314
6778
|
exports.registerAll = __webpack_exports__.registerAll;
|
6315
6779
|
exports.registerArea = __webpack_exports__.registerArea;
|
6316
6780
|
exports.registerAreaPercent = __webpack_exports__.registerAreaPercent;
|
@@ -6322,14 +6786,24 @@ exports.registerColumnParallel = __webpack_exports__.registerColumnParallel;
|
|
6322
6786
|
exports.registerColumnPercent = __webpack_exports__.registerColumnPercent;
|
6323
6787
|
exports.registerCustomTheme = __webpack_exports__.registerCustomTheme;
|
6324
6788
|
exports.registerDarkTheme = __webpack_exports__.registerDarkTheme;
|
6789
|
+
exports.registerDonut = __webpack_exports__.registerDonut;
|
6790
|
+
exports.registerFunnel = __webpack_exports__.registerFunnel;
|
6325
6791
|
exports.registerLightTheme = __webpack_exports__.registerLightTheme;
|
6326
6792
|
exports.registerLine = __webpack_exports__.registerLine;
|
6793
|
+
exports.registerPie = __webpack_exports__.registerPie;
|
6794
|
+
exports.registerPivotTable = __webpack_exports__.registerPivotTable;
|
6795
|
+
exports.registerRose = __webpack_exports__.registerRose;
|
6796
|
+
exports.registerRoseParallel = __webpack_exports__.registerRoseParallel;
|
6797
|
+
exports.registerScatter = __webpack_exports__.registerScatter;
|
6798
|
+
exports.registerTable = __webpack_exports__.registerTable;
|
6327
6799
|
exports.roseAdvancedPipeline = __webpack_exports__.roseAdvancedPipeline;
|
6328
6800
|
exports.roseParallelAdvancedPipeline = __webpack_exports__.roseParallelAdvancedPipeline;
|
6329
6801
|
exports.roseParallelSpecPipeline = __webpack_exports__.roseParallelSpecPipeline;
|
6330
6802
|
exports.roseSpecPipeline = __webpack_exports__.roseSpecPipeline;
|
6331
6803
|
exports.scatterAdvancedPipeline = __webpack_exports__.scatterAdvancedPipeline;
|
6332
6804
|
exports.scatterSpecPipeline = __webpack_exports__.scatterSpecPipeline;
|
6805
|
+
exports.tableAdvancedPipeline = __webpack_exports__.tableAdvancedPipeline;
|
6806
|
+
exports.tableSpecPipeline = __webpack_exports__.tableSpecPipeline;
|
6333
6807
|
exports.unfoldDimensions = __webpack_exports__.unfoldDimensions;
|
6334
6808
|
exports.zAdvancedVSeed = __webpack_exports__.zAdvancedVSeed;
|
6335
6809
|
exports.zAnnotation = __webpack_exports__.zAnnotation;
|
@@ -6338,20 +6812,27 @@ exports.zAnnotationHorizontalLine = __webpack_exports__.zAnnotationHorizontalLin
|
|
6338
6812
|
exports.zAnnotationPoint = __webpack_exports__.zAnnotationPoint;
|
6339
6813
|
exports.zAnnotationVerticalLine = __webpack_exports__.zAnnotationVerticalLine;
|
6340
6814
|
exports.zArea = __webpack_exports__.zArea;
|
6815
|
+
exports.zAreaConfig = __webpack_exports__.zAreaConfig;
|
6341
6816
|
exports.zAreaPercent = __webpack_exports__.zAreaPercent;
|
6817
|
+
exports.zAreaPercentConfig = __webpack_exports__.zAreaPercentConfig;
|
6342
6818
|
exports.zAreaStyle = __webpack_exports__.zAreaStyle;
|
6343
6819
|
exports.zAxis = __webpack_exports__.zAxis;
|
6344
6820
|
exports.zBackgroundColor = __webpack_exports__.zBackgroundColor;
|
6345
6821
|
exports.zBar = __webpack_exports__.zBar;
|
6822
|
+
exports.zBarConfig = __webpack_exports__.zBarConfig;
|
6346
6823
|
exports.zBarParallel = __webpack_exports__.zBarParallel;
|
6824
|
+
exports.zBarParallelConfig = __webpack_exports__.zBarParallelConfig;
|
6347
6825
|
exports.zBarPercent = __webpack_exports__.zBarPercent;
|
6826
|
+
exports.zBarPercentConfig = __webpack_exports__.zBarPercentConfig;
|
6348
6827
|
exports.zBarStyle = __webpack_exports__.zBarStyle;
|
6349
|
-
exports.zBaseConfig = __webpack_exports__.zBaseConfig;
|
6350
6828
|
exports.zChartType = __webpack_exports__.zChartType;
|
6351
6829
|
exports.zColor = __webpack_exports__.zColor;
|
6352
6830
|
exports.zColumn = __webpack_exports__.zColumn;
|
6831
|
+
exports.zColumnConfig = __webpack_exports__.zColumnConfig;
|
6353
6832
|
exports.zColumnParallel = __webpack_exports__.zColumnParallel;
|
6833
|
+
exports.zColumnParallelConfig = __webpack_exports__.zColumnParallelConfig;
|
6354
6834
|
exports.zColumnPercent = __webpack_exports__.zColumnPercent;
|
6835
|
+
exports.zColumnPercentConfig = __webpack_exports__.zColumnPercentConfig;
|
6355
6836
|
exports.zConfig = __webpack_exports__.zConfig;
|
6356
6837
|
exports.zCrosshairLine = __webpack_exports__.zCrosshairLine;
|
6357
6838
|
exports.zCrosshairRect = __webpack_exports__.zCrosshairRect;
|
@@ -6361,27 +6842,40 @@ exports.zDataset = __webpack_exports__.zDataset;
|
|
6361
6842
|
exports.zDatasetReshapeInfo = __webpack_exports__.zDatasetReshapeInfo;
|
6362
6843
|
exports.zDatum = __webpack_exports__.zDatum;
|
6363
6844
|
exports.zDimension = __webpack_exports__.zDimension;
|
6845
|
+
exports.zDimensionGroup = __webpack_exports__.zDimensionGroup;
|
6846
|
+
exports.zDimensionTree = __webpack_exports__.zDimensionTree;
|
6364
6847
|
exports.zDimensions = __webpack_exports__.zDimensions;
|
6365
6848
|
exports.zDonut = __webpack_exports__.zDonut;
|
6849
|
+
exports.zDonutConfig = __webpack_exports__.zDonutConfig;
|
6850
|
+
exports.zDualAxisConfig = __webpack_exports__.zDualAxisConfig;
|
6366
6851
|
exports.zEncoding = __webpack_exports__.zEncoding;
|
6367
6852
|
exports.zFoldInfo = __webpack_exports__.zFoldInfo;
|
6368
6853
|
exports.zFunnel = __webpack_exports__.zFunnel;
|
6854
|
+
exports.zFunnelConfig = __webpack_exports__.zFunnelConfig;
|
6369
6855
|
exports.zLabel = __webpack_exports__.zLabel;
|
6370
6856
|
exports.zLegend = __webpack_exports__.zLegend;
|
6371
6857
|
exports.zLine = __webpack_exports__.zLine;
|
6858
|
+
exports.zLineConfig = __webpack_exports__.zLineConfig;
|
6372
6859
|
exports.zLineStyle = __webpack_exports__.zLineStyle;
|
6373
6860
|
exports.zLocale = __webpack_exports__.zLocale;
|
6374
6861
|
exports.zMarkStyle = __webpack_exports__.zMarkStyle;
|
6375
6862
|
exports.zMeasure = __webpack_exports__.zMeasure;
|
6376
6863
|
exports.zMeasureGroup = __webpack_exports__.zMeasureGroup;
|
6864
|
+
exports.zMeasureTree = __webpack_exports__.zMeasureTree;
|
6377
6865
|
exports.zMeasures = __webpack_exports__.zMeasures;
|
6378
6866
|
exports.zNumFormat = __webpack_exports__.zNumFormat;
|
6379
6867
|
exports.zPie = __webpack_exports__.zPie;
|
6868
|
+
exports.zPieConfig = __webpack_exports__.zPieConfig;
|
6869
|
+
exports.zPivotTable = __webpack_exports__.zPivotTable;
|
6380
6870
|
exports.zPointStyle = __webpack_exports__.zPointStyle;
|
6381
6871
|
exports.zRose = __webpack_exports__.zRose;
|
6872
|
+
exports.zRoseConfig = __webpack_exports__.zRoseConfig;
|
6382
6873
|
exports.zRoseParallel = __webpack_exports__.zRoseParallel;
|
6874
|
+
exports.zRoseParallelConfig = __webpack_exports__.zRoseParallelConfig;
|
6383
6875
|
exports.zScatter = __webpack_exports__.zScatter;
|
6876
|
+
exports.zScatterConfig = __webpack_exports__.zScatterConfig;
|
6384
6877
|
exports.zStackCornerRadius = __webpack_exports__.zStackCornerRadius;
|
6878
|
+
exports.zTable = __webpack_exports__.zTable;
|
6385
6879
|
exports.zTheme = __webpack_exports__.zTheme;
|
6386
6880
|
exports.zTooltip = __webpack_exports__.zTooltip;
|
6387
6881
|
exports.zUnfoldInfo = __webpack_exports__.zUnfoldInfo;
|
@@ -6426,6 +6920,10 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6426
6920
|
"donutAdvancedPipeline",
|
6427
6921
|
"donutSpecPipeline",
|
6428
6922
|
"execPipeline",
|
6923
|
+
"findAllDimensions",
|
6924
|
+
"findAllMeasures",
|
6925
|
+
"findDimensionById",
|
6926
|
+
"findFirstDimension",
|
6429
6927
|
"findFirstMeasure",
|
6430
6928
|
"findMeasureById",
|
6431
6929
|
"foldMeasures",
|
@@ -6434,6 +6932,8 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6434
6932
|
"i18n",
|
6435
6933
|
"intl",
|
6436
6934
|
"isPivotChart",
|
6935
|
+
"isPivotTable",
|
6936
|
+
"isTable",
|
6437
6937
|
"isVChart",
|
6438
6938
|
"isVTable",
|
6439
6939
|
"lightTheme",
|
@@ -6441,6 +6941,9 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6441
6941
|
"lineSpecPipeline",
|
6442
6942
|
"pieAdvancedPipeline",
|
6443
6943
|
"pieSpecPipeline",
|
6944
|
+
"pivotTableAdvancedPipeline",
|
6945
|
+
"pivotTableSpecPipeline",
|
6946
|
+
"preorderTraverse",
|
6444
6947
|
"registerAll",
|
6445
6948
|
"registerArea",
|
6446
6949
|
"registerAreaPercent",
|
@@ -6452,14 +6955,24 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6452
6955
|
"registerColumnPercent",
|
6453
6956
|
"registerCustomTheme",
|
6454
6957
|
"registerDarkTheme",
|
6958
|
+
"registerDonut",
|
6959
|
+
"registerFunnel",
|
6455
6960
|
"registerLightTheme",
|
6456
6961
|
"registerLine",
|
6962
|
+
"registerPie",
|
6963
|
+
"registerPivotTable",
|
6964
|
+
"registerRose",
|
6965
|
+
"registerRoseParallel",
|
6966
|
+
"registerScatter",
|
6967
|
+
"registerTable",
|
6457
6968
|
"roseAdvancedPipeline",
|
6458
6969
|
"roseParallelAdvancedPipeline",
|
6459
6970
|
"roseParallelSpecPipeline",
|
6460
6971
|
"roseSpecPipeline",
|
6461
6972
|
"scatterAdvancedPipeline",
|
6462
6973
|
"scatterSpecPipeline",
|
6974
|
+
"tableAdvancedPipeline",
|
6975
|
+
"tableSpecPipeline",
|
6463
6976
|
"unfoldDimensions",
|
6464
6977
|
"zAdvancedVSeed",
|
6465
6978
|
"zAnnotation",
|
@@ -6468,20 +6981,27 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6468
6981
|
"zAnnotationPoint",
|
6469
6982
|
"zAnnotationVerticalLine",
|
6470
6983
|
"zArea",
|
6984
|
+
"zAreaConfig",
|
6471
6985
|
"zAreaPercent",
|
6986
|
+
"zAreaPercentConfig",
|
6472
6987
|
"zAreaStyle",
|
6473
6988
|
"zAxis",
|
6474
6989
|
"zBackgroundColor",
|
6475
6990
|
"zBar",
|
6991
|
+
"zBarConfig",
|
6476
6992
|
"zBarParallel",
|
6993
|
+
"zBarParallelConfig",
|
6477
6994
|
"zBarPercent",
|
6995
|
+
"zBarPercentConfig",
|
6478
6996
|
"zBarStyle",
|
6479
|
-
"zBaseConfig",
|
6480
6997
|
"zChartType",
|
6481
6998
|
"zColor",
|
6482
6999
|
"zColumn",
|
7000
|
+
"zColumnConfig",
|
6483
7001
|
"zColumnParallel",
|
7002
|
+
"zColumnParallelConfig",
|
6484
7003
|
"zColumnPercent",
|
7004
|
+
"zColumnPercentConfig",
|
6485
7005
|
"zConfig",
|
6486
7006
|
"zCrosshairLine",
|
6487
7007
|
"zCrosshairRect",
|
@@ -6491,27 +7011,40 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6491
7011
|
"zDatasetReshapeInfo",
|
6492
7012
|
"zDatum",
|
6493
7013
|
"zDimension",
|
7014
|
+
"zDimensionGroup",
|
7015
|
+
"zDimensionTree",
|
6494
7016
|
"zDimensions",
|
6495
7017
|
"zDonut",
|
7018
|
+
"zDonutConfig",
|
7019
|
+
"zDualAxisConfig",
|
6496
7020
|
"zEncoding",
|
6497
7021
|
"zFoldInfo",
|
6498
7022
|
"zFunnel",
|
7023
|
+
"zFunnelConfig",
|
6499
7024
|
"zLabel",
|
6500
7025
|
"zLegend",
|
6501
7026
|
"zLine",
|
7027
|
+
"zLineConfig",
|
6502
7028
|
"zLineStyle",
|
6503
7029
|
"zLocale",
|
6504
7030
|
"zMarkStyle",
|
6505
7031
|
"zMeasure",
|
6506
7032
|
"zMeasureGroup",
|
7033
|
+
"zMeasureTree",
|
6507
7034
|
"zMeasures",
|
6508
7035
|
"zNumFormat",
|
6509
7036
|
"zPie",
|
7037
|
+
"zPieConfig",
|
7038
|
+
"zPivotTable",
|
6510
7039
|
"zPointStyle",
|
6511
7040
|
"zRose",
|
7041
|
+
"zRoseConfig",
|
6512
7042
|
"zRoseParallel",
|
7043
|
+
"zRoseParallelConfig",
|
6513
7044
|
"zScatter",
|
7045
|
+
"zScatterConfig",
|
6514
7046
|
"zStackCornerRadius",
|
7047
|
+
"zTable",
|
6515
7048
|
"zTheme",
|
6516
7049
|
"zTooltip",
|
6517
7050
|
"zUnfoldInfo",
|