@visactor/vseed 0.0.18 → 0.0.19
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/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 +4990 -5000
- 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 +0 -1
- package/dist/builder/register/index.d.ts +0 -1
- 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 +0 -1
- 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 +612 -522
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +570 -525
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/area.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/bar.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/column.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/donut.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/funnel.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/line.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/pie.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/rose.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts +0 -1
- package/dist/pipeline/advanced/pipeline/scatter.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/annotation/annotation.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/annotation/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/config/config.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/config/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingYY.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/i18n/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/i18n/locale.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/index.d.ts +0 -2
- package/dist/pipeline/advanced/pipes/init/autoDimensions.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/init/autoMeasures.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/init/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/init/utils.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/markStyle/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/markStyle/markStyle.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/pivot/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/pivot/pivotAdapter.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/index.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D1M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo1D2M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/pivotReshapeTo2D1M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D2M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts +0 -1
- package/dist/pipeline/advanced/pipes/theme/index.d.ts +1 -2
- package/dist/pipeline/advanced/pipes/theme/theme.d.ts +1 -3
- package/dist/pipeline/constant.d.ts +0 -1
- package/dist/pipeline/index.d.ts +0 -1
- package/dist/pipeline/spec/index.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/area.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/bar.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/barParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/barPercent.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/column.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/donut.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/funnel.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/index.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/line.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/pie.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/rose.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipeline/scatter.d.ts +0 -1
- package/dist/pipeline/spec/pipes/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationArea.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationAreaBand.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationHorizontalLine.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationPoint.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/annotationVerticalLine.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/annotation/utils.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/a.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/angle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/radius.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/xBand.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/xLinear.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/yBand.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/axes/yLinear.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/background.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/backgroundColor/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/color/color.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/color/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairLine.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/horizontalCrosshairRect.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairLine.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/crosshair/verticalCrosshairRect.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/dataset.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/datasetPivot.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/dataset/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/area.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/bar.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/barParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/column.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/columnParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/donut.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/funnel.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/line.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/pie.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/pivot.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/rose.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/roseParallel.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/init/scatter.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/label/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/label/label.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/discreteLegend.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/legend/pivotDiscreteLegend.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/areaStyle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/barStyle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/lineStyle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointState.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/markStyle/pointStyle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/percent/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/percent/percent.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotAdapter.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotColumnDimensions.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotGridStyle.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotIndicators.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/pivotChart/pivotRowDimensions.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/stack.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/stack/stackCornerRadius.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/tooltip/index.d.ts +0 -1
- package/dist/pipeline/spec/pipes/vchart/tooltip/tooltip.d.ts +0 -1
- package/dist/pipeline/utils/chatType.d.ts +4 -40
- 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 +0 -1
- package/dist/pipeline/utils/measures/findMeasureById.d.ts +2 -3
- package/dist/pipeline/utils/measures/index.d.ts +0 -1
- package/dist/pipeline/utils/pipeline.d.ts +0 -1
- 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 +2517 -1939
- package/dist/types/builder/builder.d.ts +0 -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 +36 -14
- package/dist/types/chartType/area/index.d.ts +0 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +36 -14
- package/dist/types/chartType/areaPercent/index.d.ts +0 -1
- package/dist/types/chartType/bar/bar.d.ts +36 -14
- package/dist/types/chartType/bar/index.d.ts +0 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts +36 -14
- package/dist/types/chartType/barParallel/index.d.ts +0 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts +36 -14
- package/dist/types/chartType/barPercent/index.d.ts +0 -1
- package/dist/types/chartType/column/column.d.ts +36 -14
- package/dist/types/chartType/column/index.d.ts +0 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +36 -14
- package/dist/types/chartType/columnParallel/index.d.ts +0 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +36 -14
- package/dist/types/chartType/columnPercent/index.d.ts +0 -1
- package/dist/types/chartType/donut/donut.d.ts +34 -14
- package/dist/types/chartType/donut/index.d.ts +0 -1
- package/dist/types/chartType/dualAxis/dualAxis.d.ts +0 -1
- package/dist/types/chartType/dualAxis/index.d.ts +0 -1
- package/dist/types/chartType/funnel/funnel.d.ts +34 -14
- package/dist/types/chartType/funnel/index.d.ts +0 -1
- package/dist/types/chartType/index.d.ts +0 -1
- package/dist/types/chartType/line/index.d.ts +0 -1
- package/dist/types/chartType/line/line.d.ts +36 -14
- package/dist/types/chartType/pie/index.d.ts +0 -1
- package/dist/types/chartType/pie/pie.d.ts +34 -14
- package/dist/types/chartType/pivotTable/index.d.ts +0 -1
- package/dist/types/chartType/pivotTable/pivotTable.d.ts +0 -1
- package/dist/types/chartType/rose/index.d.ts +0 -1
- package/dist/types/chartType/rose/rose.d.ts +34 -14
- package/dist/types/chartType/roseParallel/index.d.ts +0 -1
- package/dist/types/chartType/roseParallel/roseParallel.d.ts +34 -14
- package/dist/types/chartType/scatter/index.d.ts +0 -1
- package/dist/types/chartType/scatter/scatter.d.ts +38 -14
- package/dist/types/chartType/table/index.d.ts +0 -1
- package/dist/types/chartType/table/table.d.ts +0 -1
- 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 +0 -1
- package/dist/types/properties/dimensions/index.d.ts +0 -1
- 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 +105 -30
- 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 +532 -196
- package/dist/umd/index.js +9624 -6168
- 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.map +0 -1
- package/dist/pipeline/advanced/pipeline/areaPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/bar.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/barParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/barPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/column.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/columnParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/columnPercent.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/donut.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/pipeline/advanced/pipeline/pie.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/rose.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/roseParallel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipeline/scatter.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingFunnel.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingPie.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingRose.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingXY.d.ts.map +0 -1
- package/dist/pipeline/advanced/pipes/encoding/encodingYX.d.ts.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.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.map +0 -1
- 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.map +0 -1
- package/dist/pipeline/spec/pipeline/areaPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/bar.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/barParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/barPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/column.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/columnParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/columnPercent.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/donut.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/pipeline/spec/pipeline/pie.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/rose.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/roseParallel.d.ts.map +0 -1
- package/dist/pipeline/spec/pipeline/scatter.d.ts.map +0 -1
- 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.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.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.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.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { clone
|
1
|
+
import { clone, groupBy, isArray, isEmpty, isNullish, isNumber, isString, mergeDeep, omit, pick, unique } from "remeda";
|
2
2
|
import { z } from "zod";
|
3
3
|
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
4
4
|
const { vseed } = context;
|
@@ -12,11 +12,11 @@ const execPipeline = (pipeline, context, initialValue = {})=>{
|
|
12
12
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
13
13
|
return result;
|
14
14
|
};
|
15
|
-
const isVTable = (
|
15
|
+
const isVTable = (vseed)=>[
|
16
16
|
'table',
|
17
17
|
'pivotTable'
|
18
|
-
].includes(chartType);
|
19
|
-
const isVChart = (
|
18
|
+
].includes(vseed.chartType);
|
19
|
+
const isVChart = (vseed)=>!isVTable(vseed);
|
20
20
|
const isPivotChart = (vseed)=>{
|
21
21
|
const { measures, dimensions } = vseed;
|
22
22
|
const hasRowOrColumnDimension = dimensions && dimensions.some((dimension)=>'rowDimension' === dimension.location || 'columnDimension' === dimension.location);
|
@@ -24,7 +24,7 @@ const isPivotChart = (vseed)=>{
|
|
24
24
|
return hasRowOrColumnDimension || hasMeasureGroup;
|
25
25
|
};
|
26
26
|
var i18n_namespaceObject = JSON.parse('{"指标名称":{"en-US":"MeasureName","zh-CN":"指标名称"},"指标Id":{"en-US":"MeasureId","zh-CN":"指标Id"},"指标值":{"en-US":"MeasureValue","zh-CN":"指标值"}}');
|
27
|
-
class
|
27
|
+
class i18n_Intl {
|
28
28
|
static instance;
|
29
29
|
translateMap = i18n_namespaceObject;
|
30
30
|
locale = 'zh-CN';
|
@@ -43,14 +43,34 @@ class Intl {
|
|
43
43
|
};
|
44
44
|
getLocale = ()=>this.locale;
|
45
45
|
static getInstance() {
|
46
|
-
if (!
|
47
|
-
return
|
46
|
+
if (!i18n_Intl.instance) i18n_Intl.instance = new i18n_Intl();
|
47
|
+
return i18n_Intl.instance;
|
48
48
|
}
|
49
49
|
}
|
50
|
-
const intl =
|
50
|
+
const intl = i18n_Intl.getInstance();
|
51
51
|
const i18n = intl.i18n;
|
52
|
-
const createNumFormatter = (format)=>{
|
53
|
-
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true,
|
52
|
+
const createNumFormatter = (format, locale = intl.getLocale())=>{
|
53
|
+
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true, prefix = '', suffix = '', fractionDigits = 2, significantDigits, roundingMode = 'halfExpand', roundingPriority = 'auto' } = format || {};
|
54
|
+
const numFormatterOptions = {
|
55
|
+
style: 'decimal',
|
56
|
+
notation: 'scientific' === type ? 'scientific' : 'standard',
|
57
|
+
roundingMode,
|
58
|
+
roundingPriority
|
59
|
+
};
|
60
|
+
console.log('debug roundingMode', roundingMode);
|
61
|
+
if (isNumber(fractionDigits)) {
|
62
|
+
if (fractionDigits >= 0) {
|
63
|
+
numFormatterOptions.minimumFractionDigits = fractionDigits;
|
64
|
+
numFormatterOptions.maximumFractionDigits = fractionDigits;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
if (isNumber(significantDigits) && significantDigits > 0) {
|
68
|
+
if (significantDigits > 0) {
|
69
|
+
numFormatterOptions.minimumSignificantDigits = significantDigits;
|
70
|
+
numFormatterOptions.maximumSignificantDigits = significantDigits;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
const numFormatter = new Intl.NumberFormat(locale, numFormatterOptions);
|
54
74
|
return (value)=>{
|
55
75
|
let num = Number(value);
|
56
76
|
let typeSymbol = '';
|
@@ -62,9 +82,7 @@ const createNumFormatter = (format)=>{
|
|
62
82
|
num *= 1000;
|
63
83
|
typeSymbol = "\u2030";
|
64
84
|
} else if ('number' === type) num /= ratio || 1;
|
65
|
-
|
66
|
-
num = Math[round](num * multiplier) / multiplier;
|
67
|
-
let numStr = num.toFixed(decimalPlaces);
|
85
|
+
let numStr = numFormatter.format(num);
|
68
86
|
if (thousandSeparator) {
|
69
87
|
const parts = numStr.split('.');
|
70
88
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
@@ -77,80 +95,20 @@ const autoNumFormatter = (value, locale = intl.getLocale())=>{
|
|
77
95
|
if (null == value) return String(value);
|
78
96
|
const num = Number(value);
|
79
97
|
if (Number.isNaN(num)) return String(value);
|
80
|
-
const
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
};
|
89
|
-
|
90
|
-
type: 'number',
|
91
|
-
decimalPlaces: countDecimalPlaces(num),
|
92
|
-
round: 'round',
|
93
|
-
thousandSeparator: true
|
94
|
-
};
|
95
|
-
const rules = NUMBER_FORMAT_RULES[locale] || NUMBER_FORMAT_RULES['default'];
|
96
|
-
for (const rule of rules)if (num >= rule.threshold) {
|
97
|
-
numFormat.ratio = rule.ratio;
|
98
|
-
numFormat.symbol = rule.symbol;
|
99
|
-
break;
|
100
|
-
}
|
101
|
-
return createNumFormatter(numFormat)(value);
|
102
|
-
};
|
103
|
-
const NUMBER_FORMAT_RULES = {
|
104
|
-
'zh-CN': [
|
105
|
-
{
|
106
|
-
threshold: 100000000,
|
107
|
-
ratio: 100000000,
|
108
|
-
symbol: "\u4EBF"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
threshold: 10000,
|
112
|
-
ratio: 10000,
|
113
|
-
symbol: "\u4E07"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
'en-US': [
|
117
|
-
{
|
118
|
-
threshold: 1000000000,
|
119
|
-
ratio: 1000000000,
|
120
|
-
symbol: 'B'
|
121
|
-
},
|
122
|
-
{
|
123
|
-
threshold: 1000000,
|
124
|
-
ratio: 1000000,
|
125
|
-
symbol: 'M'
|
126
|
-
},
|
127
|
-
{
|
128
|
-
threshold: 1000,
|
129
|
-
ratio: 1000,
|
130
|
-
symbol: 'K'
|
131
|
-
}
|
132
|
-
],
|
133
|
-
default: [
|
134
|
-
{
|
135
|
-
threshold: 1000000000,
|
136
|
-
ratio: 1000000000,
|
137
|
-
symbol: 'B'
|
138
|
-
},
|
139
|
-
{
|
140
|
-
threshold: 1000000,
|
141
|
-
ratio: 1000000,
|
142
|
-
symbol: 'M'
|
143
|
-
},
|
144
|
-
{
|
145
|
-
threshold: 1000,
|
146
|
-
ratio: 1000,
|
147
|
-
symbol: 'K'
|
148
|
-
}
|
149
|
-
]
|
98
|
+
const numFormatterOptions = {
|
99
|
+
style: 'decimal',
|
100
|
+
notation: 'compact'
|
101
|
+
};
|
102
|
+
numFormatterOptions.minimumFractionDigits = 0;
|
103
|
+
numFormatterOptions.maximumFractionDigits = 2;
|
104
|
+
const numFormatter = new Intl.NumberFormat(locale, {
|
105
|
+
...numFormatterOptions
|
106
|
+
});
|
107
|
+
return numFormatter.format(Number(value));
|
150
108
|
};
|
151
109
|
const createFormatter = (format)=>createNumFormatter(format);
|
152
110
|
const autoFormatter = (value, locale)=>autoNumFormatter(value, locale);
|
153
|
-
const findMeasureById = (measures, id)=>{
|
111
|
+
const findMeasureById = (measures = [], id)=>{
|
154
112
|
if (!measures) return;
|
155
113
|
const stack = [
|
156
114
|
...measures
|
@@ -162,7 +120,7 @@ const findMeasureById = (measures, id)=>{
|
|
162
120
|
if ('children' in current && current.children) stack.push(...current.children);
|
163
121
|
}
|
164
122
|
};
|
165
|
-
const findFirstMeasure = (measures)=>{
|
123
|
+
const findFirstMeasure = (measures = [])=>{
|
166
124
|
if (!measures) return;
|
167
125
|
const stack = [
|
168
126
|
...measures
|
@@ -893,32 +851,18 @@ const encodingFunnel = (advancedVSeed)=>{
|
|
893
851
|
encoding
|
894
852
|
};
|
895
853
|
};
|
896
|
-
const
|
854
|
+
const lineConfig = (advancedVSeed, context)=>{
|
897
855
|
const { vseed } = context;
|
856
|
+
const { chartType } = vseed;
|
898
857
|
const result = {
|
899
858
|
...advancedVSeed
|
900
859
|
};
|
901
|
-
const config =
|
860
|
+
const config = pick(vseed, [
|
902
861
|
'backgroundColor',
|
903
862
|
'color',
|
904
863
|
'label',
|
905
864
|
'legend',
|
906
|
-
'tooltip'
|
907
|
-
]);
|
908
|
-
result.baseConfig = {
|
909
|
-
vchart: {
|
910
|
-
...config
|
911
|
-
}
|
912
|
-
};
|
913
|
-
return result;
|
914
|
-
};
|
915
|
-
const lineConfig = (advancedVSeed, context)=>{
|
916
|
-
const { vseed } = context;
|
917
|
-
const { chartType } = vseed;
|
918
|
-
const result = {
|
919
|
-
...advancedVSeed
|
920
|
-
};
|
921
|
-
const config = external_remeda_pick(vseed, [
|
865
|
+
'tooltip',
|
922
866
|
'xAxis',
|
923
867
|
'yAxis',
|
924
868
|
'crosshairLine'
|
@@ -937,7 +881,12 @@ const columnConfig = (advancedVSeed, context)=>{
|
|
937
881
|
const result = {
|
938
882
|
...advancedVSeed
|
939
883
|
};
|
940
|
-
const config =
|
884
|
+
const config = pick(vseed, [
|
885
|
+
'backgroundColor',
|
886
|
+
'color',
|
887
|
+
'label',
|
888
|
+
'legend',
|
889
|
+
'tooltip',
|
941
890
|
'xAxis',
|
942
891
|
'yAxis',
|
943
892
|
'crosshairRect',
|
@@ -957,7 +906,13 @@ const pieConfig = (advancedVSeed, context)=>{
|
|
957
906
|
const result = {
|
958
907
|
...advancedVSeed
|
959
908
|
};
|
960
|
-
const config =
|
909
|
+
const config = pick(vseed, [
|
910
|
+
'backgroundColor',
|
911
|
+
'color',
|
912
|
+
'label',
|
913
|
+
'legend',
|
914
|
+
'tooltip'
|
915
|
+
]);
|
961
916
|
result.config = {
|
962
917
|
...result.config || {},
|
963
918
|
[chartType]: {
|
@@ -978,29 +933,27 @@ const donutConfig = pieConfig;
|
|
978
933
|
const roseConfig = pieConfig;
|
979
934
|
const roseParallelConfig = pieConfig;
|
980
935
|
const funnelConfig = pieConfig;
|
981
|
-
const
|
936
|
+
const theme_theme = (advancedVSeed, context)=>{
|
982
937
|
const { customTheme, vseed } = context;
|
983
938
|
const { theme = 'light', chartType } = vseed;
|
984
939
|
const result = {
|
985
940
|
...advancedVSeed
|
986
941
|
};
|
987
942
|
if (!customTheme || !customTheme[theme]) return result;
|
988
|
-
const baseConfigVChartTheme = customTheme?.[theme].baseConfig?.vchart;
|
989
|
-
if (baseConfigVChartTheme) {
|
990
|
-
const baseConfigVChart = result.baseConfig?.vchart || {};
|
991
|
-
const mergedConfig = external_remeda_mergeDeep(baseConfigVChartTheme, external_remeda_clone(baseConfigVChart));
|
992
|
-
result.baseConfig = {
|
993
|
-
vchart: mergedConfig
|
994
|
-
};
|
995
|
-
}
|
996
943
|
const chartConfigTheme = customTheme?.[theme].config?.[chartType];
|
997
944
|
if (chartConfigTheme) {
|
998
945
|
const chartConfig = result.config?.[chartType] || {};
|
999
|
-
const mergedConfig =
|
946
|
+
const mergedConfig = mergeDeep(chartConfigTheme, clone(chartConfig));
|
1000
947
|
result.config = {
|
1001
948
|
[chartType]: mergedConfig
|
1002
949
|
};
|
1003
950
|
}
|
951
|
+
const chartCustomTheme = customTheme?.[theme]?.config?.[chartType];
|
952
|
+
result.customTheme = {
|
953
|
+
config: {
|
954
|
+
[chartType]: chartCustomTheme
|
955
|
+
}
|
956
|
+
};
|
1004
957
|
return result;
|
1005
958
|
};
|
1006
959
|
const pivotAdapter = (pipeline, pivotPipeline)=>(advancedVSeed, context)=>{
|
@@ -1011,7 +964,7 @@ const pivotAdapter = (pipeline, pivotPipeline)=>(advancedVSeed, context)=>{
|
|
1011
964
|
};
|
1012
965
|
const markStyle_markStyle = (advancedVSeed, context)=>{
|
1013
966
|
const { vseed } = context;
|
1014
|
-
const markStyle =
|
967
|
+
const markStyle = pick(vseed, [
|
1015
968
|
'barStyle',
|
1016
969
|
'pointStyle',
|
1017
970
|
'lineStyle',
|
@@ -1024,7 +977,7 @@ const markStyle_markStyle = (advancedVSeed, context)=>{
|
|
1024
977
|
};
|
1025
978
|
const annotation_annotation = (advancedVSeed, context)=>{
|
1026
979
|
const { vseed } = context;
|
1027
|
-
const annotation =
|
980
|
+
const annotation = pick(vseed, [
|
1028
981
|
'annotationPoint',
|
1029
982
|
'annotationHorizontalLine',
|
1030
983
|
'annotationVerticalLine',
|
@@ -1054,9 +1007,8 @@ const lineAdvancedPipeline = [
|
|
1054
1007
|
pivotReshapeTo2D1M
|
1055
1008
|
]),
|
1056
1009
|
encodingXY,
|
1057
|
-
vchartBaseConfig,
|
1058
1010
|
lineConfig,
|
1059
|
-
|
1011
|
+
theme_theme,
|
1060
1012
|
markStyle_markStyle,
|
1061
1013
|
annotation_annotation
|
1062
1014
|
];
|
@@ -1072,8 +1024,7 @@ const barAdvancedPipeline = [
|
|
1072
1024
|
]),
|
1073
1025
|
encodingYX,
|
1074
1026
|
barConfig,
|
1075
|
-
|
1076
|
-
vchartTheme,
|
1027
|
+
theme_theme,
|
1077
1028
|
markStyle_markStyle,
|
1078
1029
|
annotation_annotation
|
1079
1030
|
];
|
@@ -1089,8 +1040,7 @@ const barParallelAdvancedPipeline = [
|
|
1089
1040
|
]),
|
1090
1041
|
encodingYX,
|
1091
1042
|
barParallelConfig,
|
1092
|
-
|
1093
|
-
vchartTheme,
|
1043
|
+
theme_theme,
|
1094
1044
|
markStyle_markStyle,
|
1095
1045
|
annotation_annotation
|
1096
1046
|
];
|
@@ -1106,8 +1056,7 @@ const barPercentAdvancedPipeline = [
|
|
1106
1056
|
]),
|
1107
1057
|
encodingYX,
|
1108
1058
|
barPercentConfig,
|
1109
|
-
|
1110
|
-
vchartTheme,
|
1059
|
+
theme_theme,
|
1111
1060
|
markStyle_markStyle,
|
1112
1061
|
annotation_annotation
|
1113
1062
|
];
|
@@ -1123,8 +1072,7 @@ const columnAdvancedPipeline = [
|
|
1123
1072
|
]),
|
1124
1073
|
encodingXY,
|
1125
1074
|
columnConfig,
|
1126
|
-
|
1127
|
-
vchartTheme,
|
1075
|
+
theme_theme,
|
1128
1076
|
markStyle_markStyle,
|
1129
1077
|
annotation_annotation
|
1130
1078
|
];
|
@@ -1140,8 +1088,7 @@ const columnParallelAdvancedPipeline = [
|
|
1140
1088
|
]),
|
1141
1089
|
encodingXY,
|
1142
1090
|
columnParallelConfig,
|
1143
|
-
|
1144
|
-
vchartTheme,
|
1091
|
+
theme_theme,
|
1145
1092
|
markStyle_markStyle,
|
1146
1093
|
annotation_annotation
|
1147
1094
|
];
|
@@ -1157,8 +1104,7 @@ const columnPercentAdvancedPipeline = [
|
|
1157
1104
|
]),
|
1158
1105
|
encodingXY,
|
1159
1106
|
columnPercentConfig,
|
1160
|
-
|
1161
|
-
vchartTheme,
|
1107
|
+
theme_theme,
|
1162
1108
|
markStyle_markStyle,
|
1163
1109
|
annotation_annotation
|
1164
1110
|
];
|
@@ -1174,8 +1120,7 @@ const areaAdvancedPipeline = [
|
|
1174
1120
|
]),
|
1175
1121
|
encodingXY,
|
1176
1122
|
areaConfig,
|
1177
|
-
|
1178
|
-
vchartTheme,
|
1123
|
+
theme_theme,
|
1179
1124
|
markStyle_markStyle,
|
1180
1125
|
annotation_annotation
|
1181
1126
|
];
|
@@ -1191,8 +1136,7 @@ const areaPercentAdvancedPipeline = [
|
|
1191
1136
|
]),
|
1192
1137
|
encodingXY,
|
1193
1138
|
areaPercentConfig,
|
1194
|
-
|
1195
|
-
vchartTheme,
|
1139
|
+
theme_theme,
|
1196
1140
|
markStyle_markStyle,
|
1197
1141
|
annotation_annotation
|
1198
1142
|
];
|
@@ -1208,8 +1152,7 @@ const pieAdvancedPipeline = [
|
|
1208
1152
|
]),
|
1209
1153
|
encodingPie,
|
1210
1154
|
pieConfig,
|
1211
|
-
|
1212
|
-
vchartTheme,
|
1155
|
+
theme_theme,
|
1213
1156
|
annotation_annotation
|
1214
1157
|
];
|
1215
1158
|
const donutAdvancedPipeline = [
|
@@ -1224,8 +1167,7 @@ const donutAdvancedPipeline = [
|
|
1224
1167
|
]),
|
1225
1168
|
encodingPie,
|
1226
1169
|
donutConfig,
|
1227
|
-
|
1228
|
-
vchartTheme,
|
1170
|
+
theme_theme,
|
1229
1171
|
annotation_annotation
|
1230
1172
|
];
|
1231
1173
|
const roseAdvancedPipeline = [
|
@@ -1240,8 +1182,7 @@ const roseAdvancedPipeline = [
|
|
1240
1182
|
]),
|
1241
1183
|
encodingRose,
|
1242
1184
|
roseConfig,
|
1243
|
-
|
1244
|
-
vchartTheme,
|
1185
|
+
theme_theme,
|
1245
1186
|
markStyle_markStyle,
|
1246
1187
|
annotation_annotation
|
1247
1188
|
];
|
@@ -1257,8 +1198,7 @@ const roseParallelAdvancedPipeline = [
|
|
1257
1198
|
]),
|
1258
1199
|
encodingRose,
|
1259
1200
|
roseParallelConfig,
|
1260
|
-
|
1261
|
-
vchartTheme,
|
1201
|
+
theme_theme,
|
1262
1202
|
markStyle_markStyle,
|
1263
1203
|
annotation_annotation
|
1264
1204
|
];
|
@@ -1274,8 +1214,7 @@ const funnelAdvancedPipeline = [
|
|
1274
1214
|
]),
|
1275
1215
|
encodingFunnel,
|
1276
1216
|
funnelConfig,
|
1277
|
-
|
1278
|
-
vchartTheme,
|
1217
|
+
theme_theme,
|
1279
1218
|
annotation_annotation
|
1280
1219
|
];
|
1281
1220
|
const encodingYY = (advancedVSeed)=>{
|
@@ -1325,9 +1264,8 @@ const scatterAdvancedPipeline = [
|
|
1325
1264
|
pivotReshapeTo1D2M
|
1326
1265
|
]),
|
1327
1266
|
encodingYY,
|
1328
|
-
vchartBaseConfig,
|
1329
1267
|
scatterConfig,
|
1330
|
-
|
1268
|
+
theme_theme,
|
1331
1269
|
markStyle_markStyle,
|
1332
1270
|
annotation_annotation
|
1333
1271
|
];
|
@@ -1824,13 +1762,14 @@ const xLinear = (spec, context)=>{
|
|
1824
1762
|
];
|
1825
1763
|
return result;
|
1826
1764
|
}
|
1827
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
1765
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
1828
1766
|
const linearAxis = {
|
1829
1767
|
visible,
|
1830
|
-
type: 'linear',
|
1768
|
+
type: log ? 'log' : 'linear',
|
1769
|
+
base: logBase,
|
1831
1770
|
orient: 'bottom',
|
1832
1771
|
nice,
|
1833
|
-
zero,
|
1772
|
+
zero: log ? false : zero,
|
1834
1773
|
inverse,
|
1835
1774
|
max,
|
1836
1775
|
min,
|
@@ -2000,13 +1939,14 @@ const yLinear = (spec, context)=>{
|
|
2000
1939
|
];
|
2001
1940
|
return result;
|
2002
1941
|
}
|
2003
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
1942
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
2004
1943
|
const linearAxis = {
|
2005
1944
|
visible,
|
2006
|
-
type: 'linear',
|
1945
|
+
type: log ? 'log' : 'linear',
|
1946
|
+
base: logBase,
|
2007
1947
|
orient: 'left',
|
2008
1948
|
nice,
|
2009
|
-
zero,
|
1949
|
+
zero: log ? false : zero,
|
2010
1950
|
inverse,
|
2011
1951
|
max,
|
2012
1952
|
min,
|
@@ -2162,25 +2102,22 @@ const background_backgroundColor = (spec, context)=>{
|
|
2162
2102
|
...spec
|
2163
2103
|
};
|
2164
2104
|
const { advancedVSeed } = context;
|
2165
|
-
const {
|
2166
|
-
|
2167
|
-
const { backgroundColor } = baseConfig
|
2105
|
+
const { chartType } = advancedVSeed;
|
2106
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2107
|
+
const { backgroundColor } = baseConfig;
|
2168
2108
|
return {
|
2169
2109
|
...result,
|
2170
2110
|
background: backgroundColor
|
2171
2111
|
};
|
2172
2112
|
};
|
2173
|
-
const defaultTooltip = {
|
2174
|
-
enable: true
|
2175
|
-
};
|
2176
2113
|
const tooltip_tooltip = (spec, context)=>{
|
2177
2114
|
const result = {
|
2178
2115
|
...spec
|
2179
2116
|
};
|
2180
2117
|
const { advancedVSeed } = context;
|
2181
|
-
const { measures, datasetReshapeInfo } = advancedVSeed;
|
2182
|
-
const baseConfig = advancedVSeed.
|
2183
|
-
const { tooltip
|
2118
|
+
const { measures, datasetReshapeInfo, chartType } = advancedVSeed;
|
2119
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2120
|
+
const { tooltip } = baseConfig;
|
2184
2121
|
const { enable } = tooltip;
|
2185
2122
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2186
2123
|
const { groupName } = datasetReshapeInfo[0].unfoldInfo;
|
@@ -2242,7 +2179,8 @@ const label_label = (spec, context)=>{
|
|
2242
2179
|
};
|
2243
2180
|
const { advancedVSeed } = context;
|
2244
2181
|
const { measures, datasetReshapeInfo, locale } = advancedVSeed;
|
2245
|
-
const
|
2182
|
+
const { chartType } = advancedVSeed;
|
2183
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2246
2184
|
if (!baseConfig || !baseConfig.label) return result;
|
2247
2185
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2248
2186
|
const { label } = baseConfig;
|
@@ -2274,9 +2212,9 @@ const discreteLegend = (spec, context)=>{
|
|
2274
2212
|
...spec
|
2275
2213
|
};
|
2276
2214
|
const { advancedVSeed } = context;
|
2277
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2215
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2278
2216
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2279
|
-
const baseConfig = advancedVSeed.
|
2217
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2280
2218
|
if (!baseConfig || !baseConfig.legend) return result;
|
2281
2219
|
const { legend } = baseConfig;
|
2282
2220
|
const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize, border, shapeType = 'rectRound' } = legend || {};
|
@@ -2373,7 +2311,8 @@ const pivotDiscreteLegend = (spec, context)=>{
|
|
2373
2311
|
...spec
|
2374
2312
|
};
|
2375
2313
|
const { advancedVSeed } = context;
|
2376
|
-
const
|
2314
|
+
const { chartType } = advancedVSeed;
|
2315
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2377
2316
|
if (!baseConfig || !baseConfig.legend) return result;
|
2378
2317
|
const { datasetReshapeInfo } = advancedVSeed;
|
2379
2318
|
const colorItems = unique(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
@@ -2482,9 +2421,9 @@ const color_color = (spec, context)=>{
|
|
2482
2421
|
...spec
|
2483
2422
|
};
|
2484
2423
|
const { advancedVSeed } = context;
|
2485
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2424
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2486
2425
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2487
|
-
const baseConfig = advancedVSeed.
|
2426
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2488
2427
|
if (!baseConfig || !baseConfig.color) return result;
|
2489
2428
|
const { color } = baseConfig;
|
2490
2429
|
const { colorScheme, colorMapping } = color;
|
@@ -2886,8 +2825,7 @@ const pointStyle_pointStyle = (spec, context)=>{
|
|
2886
2825
|
const { markStyle } = advancedVSeed;
|
2887
2826
|
const { pointStyle } = markStyle;
|
2888
2827
|
const result = {
|
2889
|
-
...spec
|
2890
|
-
point: {}
|
2828
|
+
...spec
|
2891
2829
|
};
|
2892
2830
|
if (!pointStyle) return result;
|
2893
2831
|
const pointStyles = Array.isArray(pointStyle) ? pointStyle : [
|
@@ -2940,6 +2878,7 @@ const pointStateDimensionHover = (spec)=>{
|
|
2940
2878
|
point: {
|
2941
2879
|
...point,
|
2942
2880
|
state: {
|
2881
|
+
...point.state || {},
|
2943
2882
|
dimension_hover: {
|
2944
2883
|
scaleX: 1.4,
|
2945
2884
|
scaleY: 1.4
|
@@ -2958,6 +2897,7 @@ const pointStateHover = (spec, context)=>{
|
|
2958
2897
|
point: {
|
2959
2898
|
...point,
|
2960
2899
|
state: {
|
2900
|
+
...point.state || {},
|
2961
2901
|
hover: {
|
2962
2902
|
scaleX: 1.4,
|
2963
2903
|
scaleY: 1.4,
|
@@ -4667,52 +4607,49 @@ const darkTheme = ()=>{
|
|
4667
4607
|
labelColor: '#4B4F54',
|
4668
4608
|
labelBackgroundColor: '#ffffff'
|
4669
4609
|
};
|
4670
|
-
|
4671
|
-
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
|
4677
|
-
|
4678
|
-
|
4679
|
-
|
4680
|
-
|
4681
|
-
|
4682
|
-
|
4683
|
-
|
4684
|
-
|
4685
|
-
|
4686
|
-
|
4687
|
-
|
4688
|
-
|
4689
|
-
|
4690
|
-
|
4691
|
-
label: {
|
4692
|
-
enable: true
|
4693
|
-
},
|
4694
|
-
tooltip: {
|
4695
|
-
enable: true
|
4696
|
-
},
|
4697
|
-
legend: {
|
4698
|
-
enable: true,
|
4699
|
-
border: true,
|
4700
|
-
maxSize: 1,
|
4701
|
-
position: 'rt',
|
4702
|
-
shapeType: 'rectRound',
|
4703
|
-
labelFontColor: '#FDFDFD',
|
4704
|
-
labelFontSize: 12,
|
4705
|
-
labelFontWeight: 400
|
4706
|
-
}
|
4707
|
-
}
|
4610
|
+
const baseConfig = {
|
4611
|
+
backgroundColor: 'transparent',
|
4612
|
+
color: {
|
4613
|
+
colorScheme: [
|
4614
|
+
'#2E62F1',
|
4615
|
+
'#4DC36A',
|
4616
|
+
'#FF8406',
|
4617
|
+
'#FFCC00',
|
4618
|
+
'#4F44CF',
|
4619
|
+
'#5AC8FA',
|
4620
|
+
'#003A8C',
|
4621
|
+
'#B08AE2',
|
4622
|
+
'#FF6341',
|
4623
|
+
'#98DD62'
|
4624
|
+
]
|
4625
|
+
},
|
4626
|
+
label: {
|
4627
|
+
enable: true
|
4628
|
+
},
|
4629
|
+
tooltip: {
|
4630
|
+
enable: true
|
4708
4631
|
},
|
4632
|
+
legend: {
|
4633
|
+
enable: true,
|
4634
|
+
border: true,
|
4635
|
+
maxSize: 1,
|
4636
|
+
position: 'rt',
|
4637
|
+
shapeType: 'rectRound',
|
4638
|
+
labelFontColor: '#FDFDFD',
|
4639
|
+
labelFontSize: 12,
|
4640
|
+
labelFontWeight: 400
|
4641
|
+
}
|
4642
|
+
};
|
4643
|
+
return {
|
4709
4644
|
config: {
|
4710
4645
|
line: {
|
4646
|
+
...baseConfig,
|
4711
4647
|
xAxis: bandAxis,
|
4712
4648
|
yAxis: linearAxis,
|
4713
4649
|
crosshairLine: crosshairLine
|
4714
4650
|
},
|
4715
4651
|
column: {
|
4652
|
+
...baseConfig,
|
4716
4653
|
xAxis: bandAxis,
|
4717
4654
|
yAxis: linearAxis,
|
4718
4655
|
crosshairRect: crosshairRect,
|
@@ -4724,6 +4661,7 @@ const darkTheme = ()=>{
|
|
4724
4661
|
]
|
4725
4662
|
},
|
4726
4663
|
columnParallel: {
|
4664
|
+
...baseConfig,
|
4727
4665
|
xAxis: bandAxis,
|
4728
4666
|
yAxis: linearAxis,
|
4729
4667
|
crosshairRect: crosshairRect,
|
@@ -4735,6 +4673,7 @@ const darkTheme = ()=>{
|
|
4735
4673
|
]
|
4736
4674
|
},
|
4737
4675
|
columnPercent: {
|
4676
|
+
...baseConfig,
|
4738
4677
|
xAxis: bandAxis,
|
4739
4678
|
yAxis: linearAxis,
|
4740
4679
|
crosshairRect: crosshairRect,
|
@@ -4746,6 +4685,7 @@ const darkTheme = ()=>{
|
|
4746
4685
|
]
|
4747
4686
|
},
|
4748
4687
|
bar: {
|
4688
|
+
...baseConfig,
|
4749
4689
|
xAxis: linearAxis,
|
4750
4690
|
yAxis: barBandAxis,
|
4751
4691
|
crosshairRect: crosshairRect,
|
@@ -4757,6 +4697,7 @@ const darkTheme = ()=>{
|
|
4757
4697
|
]
|
4758
4698
|
},
|
4759
4699
|
barParallel: {
|
4700
|
+
...baseConfig,
|
4760
4701
|
xAxis: linearAxis,
|
4761
4702
|
yAxis: barBandAxis,
|
4762
4703
|
crosshairRect: crosshairRect,
|
@@ -4768,6 +4709,7 @@ const darkTheme = ()=>{
|
|
4768
4709
|
]
|
4769
4710
|
},
|
4770
4711
|
barPercent: {
|
4712
|
+
...baseConfig,
|
4771
4713
|
xAxis: linearAxis,
|
4772
4714
|
yAxis: barBandAxis,
|
4773
4715
|
crosshairRect: crosshairRect,
|
@@ -4779,16 +4721,19 @@ const darkTheme = ()=>{
|
|
4779
4721
|
]
|
4780
4722
|
},
|
4781
4723
|
area: {
|
4724
|
+
...baseConfig,
|
4782
4725
|
xAxis: bandAxis,
|
4783
4726
|
yAxis: linearAxis,
|
4784
4727
|
crosshairLine: crosshairLine
|
4785
4728
|
},
|
4786
4729
|
areaPercent: {
|
4730
|
+
...baseConfig,
|
4787
4731
|
xAxis: bandAxis,
|
4788
4732
|
yAxis: linearAxis,
|
4789
4733
|
crosshairLine: crosshairLine
|
4790
4734
|
},
|
4791
4735
|
scatter: {
|
4736
|
+
...baseConfig,
|
4792
4737
|
xAxis: {
|
4793
4738
|
...linearAxis,
|
4794
4739
|
line: {
|
@@ -4804,6 +4749,35 @@ const darkTheme = ()=>{
|
|
4804
4749
|
}
|
4805
4750
|
},
|
4806
4751
|
crosshairLine
|
4752
|
+
},
|
4753
|
+
pie: {
|
4754
|
+
...baseConfig
|
4755
|
+
},
|
4756
|
+
donut: {
|
4757
|
+
...baseConfig
|
4758
|
+
},
|
4759
|
+
rose: {
|
4760
|
+
...baseConfig
|
4761
|
+
},
|
4762
|
+
roseParallel: {
|
4763
|
+
...baseConfig
|
4764
|
+
},
|
4765
|
+
funnel: {
|
4766
|
+
...baseConfig,
|
4767
|
+
color: {
|
4768
|
+
colorScheme: [
|
4769
|
+
'#2E62F1',
|
4770
|
+
'#3A6EF6',
|
4771
|
+
'#4780FA',
|
4772
|
+
'#548CFE',
|
4773
|
+
'#6198FF',
|
4774
|
+
'#6FA3FF',
|
4775
|
+
'#7CACFF',
|
4776
|
+
'#88B7FF',
|
4777
|
+
'#94C2FF',
|
4778
|
+
'#A0CEFF'
|
4779
|
+
]
|
4780
|
+
}
|
4807
4781
|
}
|
4808
4782
|
}
|
4809
4783
|
};
|
@@ -4913,52 +4887,49 @@ const lightTheme = ()=>{
|
|
4913
4887
|
labelColor: '#ffffff',
|
4914
4888
|
labelBackgroundColor: '#364159'
|
4915
4889
|
};
|
4916
|
-
|
4917
|
-
|
4918
|
-
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4922
|
-
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
'#D77DD3'
|
4935
|
-
]
|
4936
|
-
},
|
4937
|
-
label: {
|
4938
|
-
enable: true
|
4939
|
-
},
|
4940
|
-
tooltip: {
|
4941
|
-
enable: true
|
4942
|
-
},
|
4943
|
-
legend: {
|
4944
|
-
enable: true,
|
4945
|
-
border: true,
|
4946
|
-
maxSize: 1,
|
4947
|
-
shapeType: 'rectRound',
|
4948
|
-
position: 'rt',
|
4949
|
-
labelFontColor: '#646A73',
|
4950
|
-
labelFontSize: 12,
|
4951
|
-
labelFontWeight: 400
|
4952
|
-
}
|
4953
|
-
}
|
4890
|
+
const baseConfig = {
|
4891
|
+
backgroundColor: 'transparent',
|
4892
|
+
color: {
|
4893
|
+
colorScheme: [
|
4894
|
+
'#8D72F6',
|
4895
|
+
'#5766EC',
|
4896
|
+
'#66A3FE',
|
4897
|
+
'#51D5E6',
|
4898
|
+
'#4EC0B3',
|
4899
|
+
'#F9DF90',
|
4900
|
+
'#F9AD71',
|
4901
|
+
'#ED8888',
|
4902
|
+
'#E9A0C3',
|
4903
|
+
'#D77DD3'
|
4904
|
+
]
|
4905
|
+
},
|
4906
|
+
label: {
|
4907
|
+
enable: true
|
4954
4908
|
},
|
4909
|
+
tooltip: {
|
4910
|
+
enable: true
|
4911
|
+
},
|
4912
|
+
legend: {
|
4913
|
+
enable: true,
|
4914
|
+
border: true,
|
4915
|
+
maxSize: 1,
|
4916
|
+
shapeType: 'rectRound',
|
4917
|
+
position: 'rt',
|
4918
|
+
labelFontColor: '#646A73',
|
4919
|
+
labelFontSize: 12,
|
4920
|
+
labelFontWeight: 400
|
4921
|
+
}
|
4922
|
+
};
|
4923
|
+
return {
|
4955
4924
|
config: {
|
4956
4925
|
line: {
|
4926
|
+
...baseConfig,
|
4957
4927
|
xAxis: bandAxis,
|
4958
4928
|
yAxis: linearAxis,
|
4959
4929
|
crosshairLine
|
4960
4930
|
},
|
4961
4931
|
column: {
|
4932
|
+
...baseConfig,
|
4962
4933
|
xAxis: bandAxis,
|
4963
4934
|
yAxis: linearAxis,
|
4964
4935
|
crosshairRect,
|
@@ -4970,6 +4941,7 @@ const lightTheme = ()=>{
|
|
4970
4941
|
]
|
4971
4942
|
},
|
4972
4943
|
columnParallel: {
|
4944
|
+
...baseConfig,
|
4973
4945
|
xAxis: bandAxis,
|
4974
4946
|
yAxis: linearAxis,
|
4975
4947
|
crosshairRect,
|
@@ -4981,6 +4953,7 @@ const lightTheme = ()=>{
|
|
4981
4953
|
]
|
4982
4954
|
},
|
4983
4955
|
columnPercent: {
|
4956
|
+
...baseConfig,
|
4984
4957
|
xAxis: bandAxis,
|
4985
4958
|
yAxis: linearAxis,
|
4986
4959
|
crosshairRect,
|
@@ -4992,6 +4965,7 @@ const lightTheme = ()=>{
|
|
4992
4965
|
]
|
4993
4966
|
},
|
4994
4967
|
bar: {
|
4968
|
+
...baseConfig,
|
4995
4969
|
xAxis: linearAxis,
|
4996
4970
|
yAxis: barBandAxis,
|
4997
4971
|
crosshairRect,
|
@@ -5003,6 +4977,7 @@ const lightTheme = ()=>{
|
|
5003
4977
|
]
|
5004
4978
|
},
|
5005
4979
|
barParallel: {
|
4980
|
+
...baseConfig,
|
5006
4981
|
xAxis: linearAxis,
|
5007
4982
|
yAxis: barBandAxis,
|
5008
4983
|
crosshairRect,
|
@@ -5014,6 +4989,7 @@ const lightTheme = ()=>{
|
|
5014
4989
|
]
|
5015
4990
|
},
|
5016
4991
|
barPercent: {
|
4992
|
+
...baseConfig,
|
5017
4993
|
xAxis: linearAxis,
|
5018
4994
|
yAxis: barBandAxis,
|
5019
4995
|
crosshairRect,
|
@@ -5025,16 +5001,19 @@ const lightTheme = ()=>{
|
|
5025
5001
|
]
|
5026
5002
|
},
|
5027
5003
|
area: {
|
5004
|
+
...baseConfig,
|
5028
5005
|
xAxis: bandAxis,
|
5029
5006
|
yAxis: linearAxis,
|
5030
5007
|
crosshairLine
|
5031
5008
|
},
|
5032
5009
|
areaPercent: {
|
5010
|
+
...baseConfig,
|
5033
5011
|
xAxis: bandAxis,
|
5034
5012
|
yAxis: linearAxis,
|
5035
5013
|
crosshairLine
|
5036
5014
|
},
|
5037
5015
|
scatter: {
|
5016
|
+
...baseConfig,
|
5038
5017
|
xAxis: {
|
5039
5018
|
...linearAxis,
|
5040
5019
|
line: {
|
@@ -5050,6 +5029,35 @@ const lightTheme = ()=>{
|
|
5050
5029
|
}
|
5051
5030
|
},
|
5052
5031
|
crosshairLine
|
5032
|
+
},
|
5033
|
+
pie: {
|
5034
|
+
...baseConfig
|
5035
|
+
},
|
5036
|
+
donut: {
|
5037
|
+
...baseConfig
|
5038
|
+
},
|
5039
|
+
rose: {
|
5040
|
+
...baseConfig
|
5041
|
+
},
|
5042
|
+
roseParallel: {
|
5043
|
+
...baseConfig
|
5044
|
+
},
|
5045
|
+
funnel: {
|
5046
|
+
...baseConfig,
|
5047
|
+
color: {
|
5048
|
+
colorScheme: [
|
5049
|
+
'#5766EC',
|
5050
|
+
'#6372F0',
|
5051
|
+
'#7080F4',
|
5052
|
+
'#7C8CFA',
|
5053
|
+
'#8998FF',
|
5054
|
+
'#95A3FF',
|
5055
|
+
'#A0AEFF',
|
5056
|
+
'#ACB9FF',
|
5057
|
+
'#B7C4FF',
|
5058
|
+
'#C2CEFF'
|
5059
|
+
]
|
5060
|
+
}
|
5053
5061
|
}
|
5054
5062
|
}
|
5055
5063
|
};
|
@@ -5123,31 +5131,41 @@ const zNumFormat = z.object({
|
|
5123
5131
|
type: z["enum"]([
|
5124
5132
|
'number',
|
5125
5133
|
'percent',
|
5126
|
-
'permille'
|
5134
|
+
'permille',
|
5135
|
+
'scientific'
|
5127
5136
|
]).default('number').optional(),
|
5128
5137
|
ratio: z.number().default(1).optional(),
|
5129
5138
|
symbol: z.string().default('').optional(),
|
5130
5139
|
thousandSeparator: z.boolean().default(false).optional(),
|
5131
|
-
decimalPlaces: z.number().default(2).optional(),
|
5132
|
-
round: z["enum"]([
|
5133
|
-
'round',
|
5134
|
-
'floor',
|
5135
|
-
'ceil'
|
5136
|
-
]).default('round').optional(),
|
5137
5140
|
prefix: z.string().default('').optional(),
|
5138
|
-
suffix: z.string().default('').optional()
|
5141
|
+
suffix: z.string().default('').optional(),
|
5142
|
+
fractionDigits: z.number().default(2).optional(),
|
5143
|
+
significantDigits: z.number().default(0).optional(),
|
5144
|
+
roundingPriority: z["enum"]([
|
5145
|
+
'morePrecision',
|
5146
|
+
'lessPrecision'
|
5147
|
+
]).default('morePrecision').optional(),
|
5148
|
+
roundingMode: z["enum"]([
|
5149
|
+
'floor',
|
5150
|
+
'ceil',
|
5151
|
+
'halfEven',
|
5152
|
+
'expand',
|
5153
|
+
'trunc',
|
5154
|
+
'halfFloor',
|
5155
|
+
'halfCeil',
|
5156
|
+
'halfExpand',
|
5157
|
+
'halfTrunc'
|
5158
|
+
]).default('halfCeil').optional()
|
5139
5159
|
}).optional();
|
5140
5160
|
const zMeasure = z.object({
|
5141
5161
|
id: z.string(),
|
5142
5162
|
alias: z.string().optional(),
|
5143
|
-
visible: z.boolean().default(true).optional(),
|
5144
5163
|
autoFormat: z.boolean().default(true).optional(),
|
5145
5164
|
format: zNumFormat["default"]({}).optional()
|
5146
5165
|
});
|
5147
5166
|
const zMeasureGroup = z.object({
|
5148
5167
|
id: z.string(),
|
5149
5168
|
alias: z.string().optional(),
|
5150
|
-
visible: z.boolean().default(true).optional(),
|
5151
5169
|
get children () {
|
5152
5170
|
return z.array(zMeasureGroup.or(zMeasure)).optional();
|
5153
5171
|
}
|
@@ -5180,133 +5198,6 @@ const zEncoding = z.array(z.object({
|
|
5180
5198
|
tooltip: z.array(z.string()).optional(),
|
5181
5199
|
size: z.array(z.string()).optional()
|
5182
5200
|
}));
|
5183
|
-
const zBackgroundColor = z.string().default('transparent').optional();
|
5184
|
-
const zLabel = z.object({
|
5185
|
-
enable: z.boolean().default(true).optional()
|
5186
|
-
});
|
5187
|
-
const zColor = z.object({
|
5188
|
-
colorScheme: z.array(z.string()).optional(),
|
5189
|
-
colorMapping: z.record(z.string(), z.string()).optional()
|
5190
|
-
});
|
5191
|
-
const zTooltip = z.object({
|
5192
|
-
enable: z.boolean().default(true).optional()
|
5193
|
-
});
|
5194
|
-
const zLegend = z.object({
|
5195
|
-
enable: z.boolean().default(true).optional(),
|
5196
|
-
border: z.boolean().default(true).optional(),
|
5197
|
-
maxSize: z.number().default(1).optional(),
|
5198
|
-
shapeType: z["enum"]([
|
5199
|
-
'circle',
|
5200
|
-
'cross',
|
5201
|
-
'diamond',
|
5202
|
-
'square',
|
5203
|
-
'arrow',
|
5204
|
-
'arrow2Left',
|
5205
|
-
'arrow2Right',
|
5206
|
-
'wedge',
|
5207
|
-
'thinTriangle',
|
5208
|
-
'triangle',
|
5209
|
-
'triangleUp',
|
5210
|
-
'triangleDown',
|
5211
|
-
'triangleRight',
|
5212
|
-
'triangleLeft',
|
5213
|
-
'stroke',
|
5214
|
-
'star',
|
5215
|
-
'wye',
|
5216
|
-
'rect',
|
5217
|
-
'arrowLeft',
|
5218
|
-
'arrowRight',
|
5219
|
-
'rectRound',
|
5220
|
-
'roundLine'
|
5221
|
-
]).default('rectRound').optional(),
|
5222
|
-
position: z["enum"]([
|
5223
|
-
'left',
|
5224
|
-
'leftTop',
|
5225
|
-
'leftBottom',
|
5226
|
-
'lt',
|
5227
|
-
'lb',
|
5228
|
-
'top',
|
5229
|
-
'topLeft',
|
5230
|
-
'topRight',
|
5231
|
-
'tl',
|
5232
|
-
'tr',
|
5233
|
-
'right',
|
5234
|
-
'rightTop',
|
5235
|
-
'rightBottom',
|
5236
|
-
'rt',
|
5237
|
-
'rb',
|
5238
|
-
'bottom',
|
5239
|
-
'bottomLeft',
|
5240
|
-
'bottomRight',
|
5241
|
-
'bl',
|
5242
|
-
'br'
|
5243
|
-
]).default('bottom').optional(),
|
5244
|
-
labelFontSize: z.number().default(12).optional(),
|
5245
|
-
labelFontColor: z.string().default('#fff').optional(),
|
5246
|
-
labelFontWeight: z.number().or(z.string()).default(400).optional()
|
5247
|
-
});
|
5248
|
-
const zVChartBaseConfig = z.object({
|
5249
|
-
backgroundColor: zBackgroundColor,
|
5250
|
-
label: zLabel.optional(),
|
5251
|
-
color: zColor.optional(),
|
5252
|
-
tooltip: zTooltip.optional(),
|
5253
|
-
legend: zLegend.optional()
|
5254
|
-
});
|
5255
|
-
const zVTableBaseConfig = z.object({
|
5256
|
-
backgroundColor: zBackgroundColor
|
5257
|
-
});
|
5258
|
-
const zBaseConfig = z.object({
|
5259
|
-
vchart: zVChartBaseConfig.optional(),
|
5260
|
-
vtable: zVTableBaseConfig.optional()
|
5261
|
-
});
|
5262
|
-
const zAxis = z.object({
|
5263
|
-
visible: z.boolean().default(true).optional(),
|
5264
|
-
min: z.number().optional(),
|
5265
|
-
max: z.number().optional(),
|
5266
|
-
nice: z.boolean().default(true).optional(),
|
5267
|
-
zero: z.boolean().default(true).optional(),
|
5268
|
-
inverse: z.boolean().default(false).optional(),
|
5269
|
-
labelAutoHide: z.boolean().default(true).optional(),
|
5270
|
-
labelAutoHideGap: z.number().default(4).optional(),
|
5271
|
-
labelAutoRotate: z.boolean().default(true).optional(),
|
5272
|
-
labelAutoRotateAngleRange: z.array(z.number()).default([
|
5273
|
-
0,
|
5274
|
-
-45,
|
5275
|
-
-90
|
5276
|
-
]).optional(),
|
5277
|
-
labelAutoLimit: z.boolean().default(true).optional(),
|
5278
|
-
labelAutoLimitLength: z.number().default(100).optional(),
|
5279
|
-
label: z.object({
|
5280
|
-
visible: z.boolean().default(true).optional(),
|
5281
|
-
labelColor: z.string().default('#797B85').optional(),
|
5282
|
-
labelFontSize: z.number().default(12).optional(),
|
5283
|
-
labelFontWeight: z.number().default(400).optional(),
|
5284
|
-
labelAngle: z.number().default(0).optional()
|
5285
|
-
}).optional(),
|
5286
|
-
line: z.object({
|
5287
|
-
visible: z.boolean().default(true).optional(),
|
5288
|
-
lineColor: z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5289
|
-
lineWidth: z.number().default(1).optional()
|
5290
|
-
}).optional(),
|
5291
|
-
tick: z.object({
|
5292
|
-
visible: z.boolean().default(true).optional(),
|
5293
|
-
tickInside: z.boolean().default(false).optional(),
|
5294
|
-
tickColor: z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5295
|
-
tickSize: z.number().default(4).optional()
|
5296
|
-
}).optional(),
|
5297
|
-
title: z.object({
|
5298
|
-
visible: z.boolean().default(false).optional(),
|
5299
|
-
titleText: z.string().default('').optional(),
|
5300
|
-
titleColor: z.string().default('#646A73').optional(),
|
5301
|
-
titleFontSize: z.number().default(12).optional(),
|
5302
|
-
titleFontWeight: z.number().default(400).optional()
|
5303
|
-
}).optional(),
|
5304
|
-
grid: z.object({
|
5305
|
-
visible: z.boolean().default(false).optional(),
|
5306
|
-
gridColor: z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5307
|
-
gridWidth: z.number().default(0.5).optional()
|
5308
|
-
}).optional()
|
5309
|
-
});
|
5310
5201
|
const zXBandAxis = z.object({
|
5311
5202
|
visible: z.boolean().default(true).optional(),
|
5312
5203
|
labelAutoHide: z.boolean().default(true).optional(),
|
@@ -5357,6 +5248,8 @@ const zXLinearAxis = z.object({
|
|
5357
5248
|
max: z.number().optional(),
|
5358
5249
|
nice: z.boolean().default(true).optional(),
|
5359
5250
|
zero: z.boolean().default(true).optional(),
|
5251
|
+
log: z.boolean().default(false).optional(),
|
5252
|
+
logBase: z.number().default(10).optional(),
|
5360
5253
|
inverse: z.boolean().default(false).optional(),
|
5361
5254
|
label: z.object({
|
5362
5255
|
visible: z.boolean().default(true).optional(),
|
@@ -5410,72 +5303,233 @@ const zStackCornerRadius = z.number().or(z.array(z.number())).default([
|
|
5410
5303
|
0,
|
5411
5304
|
0
|
5412
5305
|
]);
|
5413
|
-
const
|
5414
|
-
|
5415
|
-
|
5416
|
-
|
5417
|
-
|
5418
|
-
|
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
|
-
|
5445
|
-
|
5446
|
-
|
5447
|
-
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
5451
|
-
|
5452
|
-
|
5453
|
-
|
5454
|
-
|
5455
|
-
|
5456
|
-
|
5457
|
-
|
5458
|
-
|
5459
|
-
|
5460
|
-
|
5461
|
-
|
5462
|
-
|
5463
|
-
|
5464
|
-
|
5465
|
-
|
5306
|
+
const zBackgroundColor = z.string().default('transparent').optional();
|
5307
|
+
const zColor = z.object({
|
5308
|
+
colorScheme: z.array(z.string()).optional(),
|
5309
|
+
colorMapping: z.record(z.string(), z.string()).optional()
|
5310
|
+
});
|
5311
|
+
const zLabel = z.object({
|
5312
|
+
enable: z.boolean().default(true).optional()
|
5313
|
+
});
|
5314
|
+
const zLegend = z.object({
|
5315
|
+
enable: z.boolean().default(true).optional(),
|
5316
|
+
border: z.boolean().default(true).optional(),
|
5317
|
+
maxSize: z.number().default(1).optional(),
|
5318
|
+
shapeType: z["enum"]([
|
5319
|
+
'circle',
|
5320
|
+
'cross',
|
5321
|
+
'diamond',
|
5322
|
+
'square',
|
5323
|
+
'arrow',
|
5324
|
+
'arrow2Left',
|
5325
|
+
'arrow2Right',
|
5326
|
+
'wedge',
|
5327
|
+
'thinTriangle',
|
5328
|
+
'triangle',
|
5329
|
+
'triangleUp',
|
5330
|
+
'triangleDown',
|
5331
|
+
'triangleRight',
|
5332
|
+
'triangleLeft',
|
5333
|
+
'stroke',
|
5334
|
+
'star',
|
5335
|
+
'wye',
|
5336
|
+
'rect',
|
5337
|
+
'arrowLeft',
|
5338
|
+
'arrowRight',
|
5339
|
+
'rectRound',
|
5340
|
+
'roundLine'
|
5341
|
+
]).default('rectRound').optional(),
|
5342
|
+
position: z["enum"]([
|
5343
|
+
'left',
|
5344
|
+
'leftTop',
|
5345
|
+
'leftBottom',
|
5346
|
+
'lt',
|
5347
|
+
'lb',
|
5348
|
+
'top',
|
5349
|
+
'topLeft',
|
5350
|
+
'topRight',
|
5351
|
+
'tl',
|
5352
|
+
'tr',
|
5353
|
+
'right',
|
5354
|
+
'rightTop',
|
5355
|
+
'rightBottom',
|
5356
|
+
'rt',
|
5357
|
+
'rb',
|
5358
|
+
'bottom',
|
5359
|
+
'bottomLeft',
|
5360
|
+
'bottomRight',
|
5361
|
+
'bl',
|
5362
|
+
'br'
|
5363
|
+
]).default('bottom').optional(),
|
5364
|
+
labelFontSize: z.number().default(12).optional(),
|
5365
|
+
labelFontColor: z.string().default('#fff').optional(),
|
5366
|
+
labelFontWeight: z.number().or(z.string()).default(400).optional()
|
5367
|
+
});
|
5368
|
+
const zTooltip = z.object({
|
5369
|
+
enable: z.boolean().default(true).optional()
|
5370
|
+
});
|
5371
|
+
const zLineConfig = z.object({
|
5372
|
+
backgroundColor: zBackgroundColor.optional(),
|
5373
|
+
label: zLabel.optional(),
|
5374
|
+
color: zColor.optional(),
|
5375
|
+
tooltip: zTooltip.optional(),
|
5376
|
+
legend: zLegend.optional(),
|
5377
|
+
xAxis: zXBandAxis.optional(),
|
5378
|
+
yAxis: zYLinearAxis.optional(),
|
5379
|
+
crosshairLine: zCrosshairLine.optional()
|
5380
|
+
});
|
5381
|
+
const zColumnConfig = z.object({
|
5382
|
+
backgroundColor: zBackgroundColor.optional(),
|
5383
|
+
label: zLabel.optional(),
|
5384
|
+
color: zColor.optional(),
|
5385
|
+
tooltip: zTooltip.optional(),
|
5386
|
+
legend: zLegend.optional(),
|
5387
|
+
xAxis: zXBandAxis.optional(),
|
5388
|
+
yAxis: zYLinearAxis.optional(),
|
5389
|
+
crosshairRect: zCrosshairRect.optional(),
|
5390
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5391
|
+
});
|
5392
|
+
const zColumnParallelConfig = zColumnConfig;
|
5393
|
+
const zColumnPercentConfig = zColumnConfig;
|
5394
|
+
const zBarConfig = z.object({
|
5395
|
+
backgroundColor: zBackgroundColor.optional(),
|
5396
|
+
label: zLabel.optional(),
|
5397
|
+
color: zColor.optional(),
|
5398
|
+
tooltip: zTooltip.optional(),
|
5399
|
+
legend: zLegend.optional(),
|
5400
|
+
xAxis: zXLinearAxis.optional(),
|
5401
|
+
yAxis: zYBandAxis.optional(),
|
5402
|
+
crosshairRect: zCrosshairRect.optional(),
|
5403
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5404
|
+
});
|
5405
|
+
const zBarParallelConfig = zBarConfig;
|
5406
|
+
const zBarPercentConfig = zBarConfig;
|
5407
|
+
const zAreaConfig = z.object({
|
5408
|
+
backgroundColor: zBackgroundColor.optional(),
|
5409
|
+
label: zLabel.optional(),
|
5410
|
+
color: zColor.optional(),
|
5411
|
+
tooltip: zTooltip.optional(),
|
5412
|
+
legend: zLegend.optional(),
|
5413
|
+
xAxis: zXBandAxis.optional(),
|
5414
|
+
yAxis: zYLinearAxis.optional(),
|
5415
|
+
crosshairLine: zCrosshairLine.optional()
|
5416
|
+
});
|
5417
|
+
const zAreaPercentConfig = zAreaConfig;
|
5418
|
+
const zRoseConfig = z.object({
|
5419
|
+
backgroundColor: zBackgroundColor.optional(),
|
5420
|
+
label: zLabel.optional(),
|
5421
|
+
color: zColor.optional(),
|
5422
|
+
tooltip: zTooltip.optional(),
|
5423
|
+
legend: zLegend.optional()
|
5424
|
+
});
|
5425
|
+
const zRoseParallelConfig = zRoseConfig;
|
5426
|
+
const zPieConfig = z.object({
|
5427
|
+
backgroundColor: zBackgroundColor.optional(),
|
5428
|
+
label: zLabel.optional(),
|
5429
|
+
color: zColor.optional(),
|
5430
|
+
tooltip: zTooltip.optional(),
|
5431
|
+
legend: zLegend.optional()
|
5432
|
+
});
|
5433
|
+
const zDonutConfig = zPieConfig;
|
5434
|
+
const zDualAxisConfig = z.object({
|
5435
|
+
backgroundColor: zBackgroundColor.optional(),
|
5436
|
+
label: zLabel.optional(),
|
5437
|
+
color: zColor.optional(),
|
5438
|
+
tooltip: zTooltip.optional(),
|
5439
|
+
legend: zLegend.optional()
|
5440
|
+
});
|
5441
|
+
const zScatterConfig = z.object({
|
5442
|
+
backgroundColor: zBackgroundColor.optional(),
|
5443
|
+
label: zLabel.optional(),
|
5444
|
+
color: zColor.optional(),
|
5445
|
+
tooltip: zTooltip.optional(),
|
5446
|
+
legend: zLegend.optional(),
|
5447
|
+
xAxis: zXLinearAxis.optional(),
|
5448
|
+
yAxis: zYLinearAxis.optional(),
|
5449
|
+
crosshairLine: zCrosshairLine.optional()
|
5450
|
+
});
|
5451
|
+
const zFunnelConfig = z.object({
|
5452
|
+
backgroundColor: zBackgroundColor.optional(),
|
5453
|
+
color: zColor.optional(),
|
5454
|
+
tooltip: zTooltip.optional(),
|
5455
|
+
label: zLabel.optional(),
|
5456
|
+
legend: zLegend.optional()
|
5457
|
+
});
|
5458
|
+
const zConfig = z.object({
|
5459
|
+
table: z.object({}).optional(),
|
5460
|
+
pivotTable: z.object({}).optional(),
|
5461
|
+
line: zLineConfig.optional(),
|
5462
|
+
column: zColumnConfig.optional(),
|
5463
|
+
columnParallel: zColumnParallelConfig.optional(),
|
5464
|
+
columnPercent: zColumnPercentConfig.optional(),
|
5465
|
+
bar: zBarConfig.optional(),
|
5466
|
+
barParallel: zBarParallelConfig.optional(),
|
5467
|
+
barPercent: zBarPercentConfig.optional(),
|
5468
|
+
area: zAreaConfig.optional(),
|
5469
|
+
areaPercent: zAreaPercentConfig.optional(),
|
5470
|
+
rose: zRoseConfig.optional(),
|
5471
|
+
roseParallel: zRoseParallelConfig.optional(),
|
5472
|
+
pie: zPieConfig.optional(),
|
5473
|
+
donut: zDonutConfig.optional(),
|
5474
|
+
dualAxis: zDualAxisConfig.optional(),
|
5475
|
+
scatter: zScatterConfig.optional(),
|
5476
|
+
funnel: zFunnelConfig.optional()
|
5477
|
+
});
|
5478
|
+
const zAxis = z.object({
|
5479
|
+
visible: z.boolean().default(true).optional(),
|
5480
|
+
min: z.number().optional(),
|
5481
|
+
max: z.number().optional(),
|
5482
|
+
nice: z.boolean().default(true).optional(),
|
5483
|
+
zero: z.boolean().default(true).optional(),
|
5484
|
+
inverse: z.boolean().default(false).optional(),
|
5485
|
+
log: z.boolean().default(false).optional(),
|
5486
|
+
logBase: z.number().default(10).optional(),
|
5487
|
+
labelAutoHide: z.boolean().default(true).optional(),
|
5488
|
+
labelAutoHideGap: z.number().default(4).optional(),
|
5489
|
+
labelAutoRotate: z.boolean().default(true).optional(),
|
5490
|
+
labelAutoRotateAngleRange: z.array(z.number()).default([
|
5491
|
+
0,
|
5492
|
+
-45,
|
5493
|
+
-90
|
5494
|
+
]).optional(),
|
5495
|
+
labelAutoLimit: z.boolean().default(true).optional(),
|
5496
|
+
labelAutoLimitLength: z.number().default(100).optional(),
|
5497
|
+
label: z.object({
|
5498
|
+
visible: z.boolean().default(true).optional(),
|
5499
|
+
labelColor: z.string().default('#797B85').optional(),
|
5500
|
+
labelFontSize: z.number().default(12).optional(),
|
5501
|
+
labelFontWeight: z.number().default(400).optional(),
|
5502
|
+
labelAngle: z.number().default(0).optional()
|
5503
|
+
}).optional(),
|
5504
|
+
line: z.object({
|
5505
|
+
visible: z.boolean().default(true).optional(),
|
5506
|
+
lineColor: z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5507
|
+
lineWidth: z.number().default(1).optional()
|
5466
5508
|
}).optional(),
|
5467
|
-
|
5468
|
-
|
5469
|
-
|
5470
|
-
|
5471
|
-
|
5472
|
-
scatter: z.object({
|
5473
|
-
xAxis: zXLinearAxis.optional(),
|
5474
|
-
yAxis: zYLinearAxis.optional(),
|
5475
|
-
crosshairLine: zCrosshairLine.optional()
|
5509
|
+
tick: z.object({
|
5510
|
+
visible: z.boolean().default(true).optional(),
|
5511
|
+
tickInside: z.boolean().default(false).optional(),
|
5512
|
+
tickColor: z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5513
|
+
tickSize: z.number().default(4).optional()
|
5476
5514
|
}).optional(),
|
5477
|
-
|
5515
|
+
title: z.object({
|
5516
|
+
visible: z.boolean().default(false).optional(),
|
5517
|
+
titleText: z.string().default('').optional(),
|
5518
|
+
titleColor: z.string().default('#646A73').optional(),
|
5519
|
+
titleFontSize: z.number().default(12).optional(),
|
5520
|
+
titleFontWeight: z.number().default(400).optional()
|
5521
|
+
}).optional(),
|
5522
|
+
grid: z.object({
|
5523
|
+
visible: z.boolean().default(false).optional(),
|
5524
|
+
gridColor: z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5525
|
+
gridWidth: z.number().default(0.5).optional()
|
5526
|
+
}).optional()
|
5478
5527
|
});
|
5528
|
+
const zCustomThemeConfig = z.object({
|
5529
|
+
config: zConfig.optional()
|
5530
|
+
});
|
5531
|
+
const zCustomTheme = z.record(z.string(), zCustomThemeConfig).optional();
|
5532
|
+
const zTheme = z.string();
|
5479
5533
|
const zSelector = z.union([
|
5480
5534
|
z.string(),
|
5481
5535
|
z.number(),
|
@@ -5531,6 +5585,74 @@ const zSelector = z.union([
|
|
5531
5585
|
})
|
5532
5586
|
]);
|
5533
5587
|
const zSelectors = z.array(zSelector);
|
5588
|
+
const zBarStyle = z.object({
|
5589
|
+
selector: z.union([
|
5590
|
+
zSelector,
|
5591
|
+
zSelectors
|
5592
|
+
]).optional(),
|
5593
|
+
barColor: z.string().optional(),
|
5594
|
+
barColorOpacity: z.number().optional(),
|
5595
|
+
barBorderColor: z.string().optional(),
|
5596
|
+
barBorderWidth: z.number().optional(),
|
5597
|
+
barBorderStyle: z.union([
|
5598
|
+
z.literal('solid'),
|
5599
|
+
z.literal('dashed'),
|
5600
|
+
z.literal('dotted')
|
5601
|
+
]).optional(),
|
5602
|
+
barRadius: z.union([
|
5603
|
+
z.number(),
|
5604
|
+
z.array(z.number())
|
5605
|
+
]).optional()
|
5606
|
+
});
|
5607
|
+
const zPointStyle = z.object({
|
5608
|
+
selector: z.union([
|
5609
|
+
zSelector,
|
5610
|
+
zSelectors
|
5611
|
+
]).optional(),
|
5612
|
+
pointSize: z.number().optional(),
|
5613
|
+
pointColor: z.string().optional(),
|
5614
|
+
pointColorOpacity: z.number().optional(),
|
5615
|
+
pointBorderColor: z.string().optional(),
|
5616
|
+
pointBorderWidth: z.number().optional(),
|
5617
|
+
pointBorderStyle: z.union([
|
5618
|
+
z["enum"]([
|
5619
|
+
'solid',
|
5620
|
+
'dashed',
|
5621
|
+
'dotted'
|
5622
|
+
])
|
5623
|
+
]).optional()
|
5624
|
+
});
|
5625
|
+
const zLineStyle = z.object({
|
5626
|
+
selector: z.union([
|
5627
|
+
zSelector,
|
5628
|
+
zSelectors
|
5629
|
+
]).optional(),
|
5630
|
+
lineSmooth: z.boolean().default(true).optional(),
|
5631
|
+
lineColor: z.string().optional(),
|
5632
|
+
lineColorOpacity: z.number().optional(),
|
5633
|
+
lineWidth: z.number().optional(),
|
5634
|
+
lineStyle: z.union([
|
5635
|
+
z["enum"]([
|
5636
|
+
'solid',
|
5637
|
+
'dashed',
|
5638
|
+
'dotted'
|
5639
|
+
])
|
5640
|
+
]).optional()
|
5641
|
+
});
|
5642
|
+
const zAreaStyle = z.object({
|
5643
|
+
selector: z.union([
|
5644
|
+
zSelector,
|
5645
|
+
zSelectors
|
5646
|
+
]).optional(),
|
5647
|
+
areaColor: z.string().optional(),
|
5648
|
+
areaColorOpacity: z.number().optional()
|
5649
|
+
});
|
5650
|
+
const zMarkStyle = z.object({
|
5651
|
+
barStyle: zBarStyle.or(z.array(zBarStyle)).optional(),
|
5652
|
+
pointStyle: zPointStyle.or(z.array(zPointStyle)).optional(),
|
5653
|
+
lineStyle: zLineStyle.or(z.array(zLineStyle)).optional(),
|
5654
|
+
areaStyle: zAreaStyle.or(z.array(zAreaStyle)).optional()
|
5655
|
+
});
|
5534
5656
|
const zAnnotationPoint = z.object({
|
5535
5657
|
selector: z.union([
|
5536
5658
|
zSelector,
|
@@ -5707,82 +5829,6 @@ const zAnnotation = z.object({
|
|
5707
5829
|
annotationHorizontalLine: zAnnotationHorizontalLine.or(z.array(zAnnotationHorizontalLine)).optional(),
|
5708
5830
|
annotationArea: zAnnotationArea.or(z.array(zAnnotationArea)).optional()
|
5709
5831
|
});
|
5710
|
-
const zBarStyle = z.object({
|
5711
|
-
selector: z.union([
|
5712
|
-
zSelector,
|
5713
|
-
zSelectors
|
5714
|
-
]).optional(),
|
5715
|
-
barColor: z.string().optional(),
|
5716
|
-
barColorOpacity: z.number().optional(),
|
5717
|
-
barBorderColor: z.string().optional(),
|
5718
|
-
barBorderWidth: z.number().optional(),
|
5719
|
-
barBorderStyle: z.union([
|
5720
|
-
z.literal('solid'),
|
5721
|
-
z.literal('dashed'),
|
5722
|
-
z.literal('dotted')
|
5723
|
-
]).optional(),
|
5724
|
-
barRadius: z.union([
|
5725
|
-
z.number(),
|
5726
|
-
z.array(z.number())
|
5727
|
-
]).optional()
|
5728
|
-
});
|
5729
|
-
const zPointStyle = z.object({
|
5730
|
-
selector: z.union([
|
5731
|
-
zSelector,
|
5732
|
-
zSelectors
|
5733
|
-
]).optional(),
|
5734
|
-
pointSize: z.number().optional(),
|
5735
|
-
pointColor: z.string().optional(),
|
5736
|
-
pointColorOpacity: z.number().optional(),
|
5737
|
-
pointBorderColor: z.string().optional(),
|
5738
|
-
pointBorderWidth: z.number().optional(),
|
5739
|
-
pointBorderStyle: z.union([
|
5740
|
-
z["enum"]([
|
5741
|
-
'solid',
|
5742
|
-
'dashed',
|
5743
|
-
'dotted'
|
5744
|
-
])
|
5745
|
-
]).optional()
|
5746
|
-
});
|
5747
|
-
const zLineStyle = z.object({
|
5748
|
-
selector: z.union([
|
5749
|
-
zSelector,
|
5750
|
-
zSelectors
|
5751
|
-
]).optional(),
|
5752
|
-
lineSmooth: z.boolean().default(true).optional(),
|
5753
|
-
lineColor: z.string().optional(),
|
5754
|
-
lineColorOpacity: z.number().optional(),
|
5755
|
-
lineWidth: z.number().optional(),
|
5756
|
-
lineStyle: z.union([
|
5757
|
-
z["enum"]([
|
5758
|
-
'solid',
|
5759
|
-
'dashed',
|
5760
|
-
'dotted'
|
5761
|
-
])
|
5762
|
-
]).optional()
|
5763
|
-
});
|
5764
|
-
const zAreaStyle = z.object({
|
5765
|
-
selector: z.union([
|
5766
|
-
zSelector,
|
5767
|
-
zSelectors
|
5768
|
-
]).optional(),
|
5769
|
-
areaColor: z.string().optional(),
|
5770
|
-
areaColorOpacity: z.number().optional()
|
5771
|
-
});
|
5772
|
-
const zMarkStyle = z.object({
|
5773
|
-
barStyle: zBarStyle.or(z.array(zBarStyle)).optional(),
|
5774
|
-
pointStyle: zPointStyle.or(z.array(zPointStyle)).optional(),
|
5775
|
-
lineStyle: zLineStyle.or(z.array(zLineStyle)).optional(),
|
5776
|
-
areaStyle: zAreaStyle.or(z.array(zAreaStyle)).optional()
|
5777
|
-
});
|
5778
|
-
const zCustomThemeConfig = z.object({
|
5779
|
-
baseConfig: zBaseConfig.optional(),
|
5780
|
-
config: zConfig.optional(),
|
5781
|
-
annotation: zAnnotation.optional(),
|
5782
|
-
markStyle: zMarkStyle.optional()
|
5783
|
-
});
|
5784
|
-
const zCustomTheme = z.record(z.string(), zCustomThemeConfig).optional();
|
5785
|
-
const zTheme = z.string();
|
5786
5832
|
const zLocale = z["enum"]([
|
5787
5833
|
'zh-CN',
|
5788
5834
|
'en-US'
|
@@ -6097,14 +6143,13 @@ const zAdvancedVSeed = z.object({
|
|
6097
6143
|
dimensions: zDimensions,
|
6098
6144
|
measures: zMeasures,
|
6099
6145
|
encoding: zEncoding,
|
6100
|
-
baseConfig: zBaseConfig,
|
6101
6146
|
config: zConfig,
|
6102
6147
|
theme: zTheme,
|
6103
6148
|
markStyle: zMarkStyle,
|
6104
|
-
customTheme:
|
6149
|
+
customTheme: zCustomThemeConfig,
|
6105
6150
|
annotation: zAnnotation,
|
6106
6151
|
locale: zLocale
|
6107
6152
|
});
|
6108
|
-
export { Builder, FoldMeasureId, FoldMeasureName, FoldMeasureValue, ORIGINAL_DATA, Separator, UnfoldDimensionGroup, UnfoldDimensionGroupId, areaAdvancedPipeline, areaPercentAdvancedPipeline, areaPercentSpecPipeline, areaSpecPipeline, autoFormatter, autoNumFormatter, barAdvancedPipeline, barParallelAdvancedPipeline, barParallelSpecPipeline, barPercentAdvancedPipeline, barPercentSpecPipeline, barSpecPipeline, columnAdvancedPipeline, columnParallelAdvancedPipeline, columnParallelSpecPipeline, columnPercentAdvancedPipeline, columnPercentSpecPipeline, columnSpecPipeline, createFormatter, createNumFormatter, darkTheme, dataReshapeFor1D1M, dataReshapeFor1D2M, dataReshapeFor2D1M, donutAdvancedPipeline, donutSpecPipeline, execPipeline, findFirstMeasure, findMeasureById, foldMeasures, funnelAdvancedPipeline, funnelSpecPipeline, i18n, intl, isPivotChart, isVChart, isVTable, lightTheme, lineAdvancedPipeline, lineSpecPipeline, pieAdvancedPipeline, pieSpecPipeline, registerAll, registerArea, registerAreaPercent, registerBar, registerBarParallel, registerBarPercent, registerColumn, registerColumnParallel, registerColumnPercent, registerCustomTheme, registerDarkTheme, registerLightTheme, registerLine, roseAdvancedPipeline, roseParallelAdvancedPipeline, roseParallelSpecPipeline, roseSpecPipeline, scatterAdvancedPipeline, scatterSpecPipeline, unfoldDimensions, zAdvancedVSeed, zAnnotation, zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zArea, zAreaPercent, zAreaStyle, zAxis, zBackgroundColor, zBar, zBarParallel, zBarPercent,
|
6153
|
+
export { Builder, FoldMeasureId, FoldMeasureName, FoldMeasureValue, ORIGINAL_DATA, Separator, UnfoldDimensionGroup, UnfoldDimensionGroupId, areaAdvancedPipeline, areaPercentAdvancedPipeline, areaPercentSpecPipeline, areaSpecPipeline, autoFormatter, autoNumFormatter, barAdvancedPipeline, barParallelAdvancedPipeline, barParallelSpecPipeline, barPercentAdvancedPipeline, barPercentSpecPipeline, barSpecPipeline, columnAdvancedPipeline, columnParallelAdvancedPipeline, columnParallelSpecPipeline, columnPercentAdvancedPipeline, columnPercentSpecPipeline, columnSpecPipeline, createFormatter, createNumFormatter, darkTheme, dataReshapeFor1D1M, dataReshapeFor1D2M, dataReshapeFor2D1M, donutAdvancedPipeline, donutSpecPipeline, execPipeline, findFirstMeasure, findMeasureById, foldMeasures, funnelAdvancedPipeline, funnelSpecPipeline, i18n, intl, isPivotChart, isVChart, isVTable, lightTheme, lineAdvancedPipeline, lineSpecPipeline, pieAdvancedPipeline, pieSpecPipeline, registerAll, registerArea, registerAreaPercent, registerBar, registerBarParallel, registerBarPercent, registerColumn, registerColumnParallel, registerColumnPercent, registerCustomTheme, registerDarkTheme, registerLightTheme, registerLine, roseAdvancedPipeline, roseParallelAdvancedPipeline, roseParallelSpecPipeline, roseSpecPipeline, scatterAdvancedPipeline, scatterSpecPipeline, unfoldDimensions, zAdvancedVSeed, zAnnotation, zAnnotationArea, zAnnotationHorizontalLine, zAnnotationPoint, zAnnotationVerticalLine, zArea, zAreaConfig, zAreaPercent, zAreaPercentConfig, zAreaStyle, zAxis, zBackgroundColor, zBar, zBarConfig, zBarParallel, zBarParallelConfig, zBarPercent, zBarPercentConfig, zBarStyle, zChartType, zColor, zColumn, zColumnConfig, zColumnParallel, zColumnParallelConfig, zColumnPercent, zColumnPercentConfig, zConfig, zCrosshairLine, zCrosshairRect, zCustomTheme, zCustomThemeConfig, zDataset, zDatasetReshapeInfo, zDatum, zDimension, zDimensions, zDonut, zDonutConfig, zDualAxisConfig, zEncoding, zFoldInfo, zFunnel, zFunnelConfig, zLabel, zLegend, zLine, zLineConfig, zLineStyle, zLocale, zMarkStyle, zMeasure, zMeasureGroup, zMeasures, zNumFormat, zPie, zPieConfig, zPointStyle, zRose, zRoseConfig, zRoseParallel, zRoseParallelConfig, zScatter, zScatterConfig, zStackCornerRadius, zTheme, zTooltip, zUnfoldInfo, zVSeed, zXBandAxis, zXLinearAxis, zYBandAxis, zYLinearAxis };
|
6109
6154
|
|
6110
6155
|
//# sourceMappingURL=index.js.map
|