@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.cjs
CHANGED
@@ -31,12 +31,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
31
31
|
execPipeline: ()=>execPipeline,
|
32
32
|
areaSpecPipeline: ()=>areaSpecPipeline,
|
33
33
|
zDonut: ()=>zDonut,
|
34
|
+
zRoseConfig: ()=>zRoseConfig,
|
34
35
|
findFirstMeasure: ()=>findFirstMeasure,
|
35
36
|
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
36
37
|
zCrosshairRect: ()=>zCrosshairRect,
|
37
38
|
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
38
39
|
intl: ()=>intl,
|
39
40
|
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
41
|
+
zColumnConfig: ()=>zColumnConfig,
|
40
42
|
zAnnotation: ()=>zAnnotation,
|
41
43
|
zYBandAxis: ()=>zYBandAxis,
|
42
44
|
dataReshapeFor1D2M: ()=>dataReshapeFor1D2M,
|
@@ -62,9 +64,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
62
64
|
zDimensions: ()=>zDimensions,
|
63
65
|
zLegend: ()=>zLegend,
|
64
66
|
FoldMeasureId: ()=>FoldMeasureId,
|
65
|
-
|
67
|
+
zColumnParallelConfig: ()=>zColumnParallelConfig,
|
66
68
|
donutSpecPipeline: ()=>donutSpecPipeline,
|
67
69
|
registerAreaPercent: ()=>registerAreaPercent,
|
70
|
+
zTheme: ()=>zTheme,
|
68
71
|
zBarPercent: ()=>zBarPercent,
|
69
72
|
zDatum: ()=>zDatum,
|
70
73
|
barAdvancedPipeline: ()=>barAdvancedPipeline,
|
@@ -85,6 +88,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
85
88
|
zRose: ()=>zRose,
|
86
89
|
unfoldDimensions: ()=>unfoldDimensions,
|
87
90
|
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
91
|
+
zPieConfig: ()=>zPieConfig,
|
88
92
|
autoFormatter: ()=>autoFormatter,
|
89
93
|
Builder: ()=>Builder,
|
90
94
|
registerBar: ()=>registerBar,
|
@@ -94,11 +98,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
94
98
|
registerCustomTheme: ()=>registerCustomTheme,
|
95
99
|
zColor: ()=>zColor,
|
96
100
|
zMeasureGroup: ()=>zMeasureGroup,
|
101
|
+
zDonutConfig: ()=>zDonutConfig,
|
97
102
|
zUnfoldInfo: ()=>zUnfoldInfo,
|
103
|
+
zFunnelConfig: ()=>zFunnelConfig,
|
98
104
|
zMeasures: ()=>zMeasures,
|
99
105
|
FoldMeasureName: ()=>FoldMeasureName,
|
100
106
|
darkTheme: ()=>darkTheme,
|
101
107
|
createNumFormatter: ()=>createNumFormatter,
|
108
|
+
zAreaConfig: ()=>zAreaConfig,
|
102
109
|
zAxis: ()=>zAxis,
|
103
110
|
isVTable: ()=>isVTable,
|
104
111
|
zLine: ()=>zLine,
|
@@ -117,13 +124,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
117
124
|
registerColumnParallel: ()=>registerColumnParallel,
|
118
125
|
zDimension: ()=>zDimension,
|
119
126
|
isPivotChart: ()=>isPivotChart,
|
127
|
+
zDualAxisConfig: ()=>zDualAxisConfig,
|
120
128
|
zColumn: ()=>zColumn,
|
121
129
|
zCustomTheme: ()=>zCustomTheme,
|
130
|
+
zLineConfig: ()=>zLineConfig,
|
122
131
|
zXBandAxis: ()=>zXBandAxis,
|
132
|
+
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
123
133
|
findMeasureById: ()=>findMeasureById,
|
124
134
|
zVSeed: ()=>zVSeed,
|
125
135
|
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
126
136
|
zBackgroundColor: ()=>zBackgroundColor,
|
137
|
+
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
127
138
|
registerBarParallel: ()=>registerBarParallel,
|
128
139
|
zMeasure: ()=>zMeasure,
|
129
140
|
zLocale: ()=>zLocale,
|
@@ -132,6 +143,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
132
143
|
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
133
144
|
zXLinearAxis: ()=>zXLinearAxis,
|
134
145
|
zConfig: ()=>zConfig,
|
146
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
135
147
|
zBarStyle: ()=>zBarStyle,
|
136
148
|
zAreaPercent: ()=>zAreaPercent,
|
137
149
|
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
@@ -139,20 +151,23 @@ __webpack_require__.d(__webpack_exports__, {
|
|
139
151
|
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
140
152
|
zScatter: ()=>zScatter,
|
141
153
|
foldMeasures: ()=>foldMeasures,
|
142
|
-
zFunnel: ()=>zFunnel,
|
143
154
|
dataReshapeFor2D1M: ()=>dataReshapeFor2D1M,
|
155
|
+
zFunnel: ()=>zFunnel,
|
156
|
+
zScatterConfig: ()=>zScatterConfig,
|
144
157
|
zTooltip: ()=>zTooltip,
|
158
|
+
zBarParallelConfig: ()=>zBarParallelConfig,
|
145
159
|
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
146
160
|
FoldMeasureValue: ()=>FoldMeasureValue,
|
161
|
+
zBarPercentConfig: ()=>zBarPercentConfig,
|
147
162
|
barPercentSpecPipeline: ()=>barPercentSpecPipeline,
|
148
163
|
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
149
164
|
lineSpecPipeline: ()=>lineSpecPipeline,
|
150
165
|
createFormatter: ()=>createFormatter,
|
151
|
-
zBaseConfig: ()=>zBaseConfig,
|
152
166
|
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
153
167
|
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
154
168
|
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
155
|
-
barParallelSpecPipeline: ()=>barParallelSpecPipeline
|
169
|
+
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
170
|
+
zBarConfig: ()=>zBarConfig
|
156
171
|
});
|
157
172
|
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
158
173
|
const { vseed } = context;
|
@@ -166,11 +181,11 @@ const execPipeline = (pipeline, context, initialValue = {})=>{
|
|
166
181
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
167
182
|
return result;
|
168
183
|
};
|
169
|
-
const isVTable = (
|
184
|
+
const isVTable = (vseed)=>[
|
170
185
|
'table',
|
171
186
|
'pivotTable'
|
172
|
-
].includes(chartType);
|
173
|
-
const isVChart = (
|
187
|
+
].includes(vseed.chartType);
|
188
|
+
const isVChart = (vseed)=>!isVTable(vseed);
|
174
189
|
const isPivotChart = (vseed)=>{
|
175
190
|
const { measures, dimensions } = vseed;
|
176
191
|
const hasRowOrColumnDimension = dimensions && dimensions.some((dimension)=>'rowDimension' === dimension.location || 'columnDimension' === dimension.location);
|
@@ -179,7 +194,7 @@ const isPivotChart = (vseed)=>{
|
|
179
194
|
};
|
180
195
|
const external_remeda_namespaceObject = require("remeda");
|
181
196
|
var i18n_namespaceObject = JSON.parse('{"指标名称":{"en-US":"MeasureName","zh-CN":"指标名称"},"指标Id":{"en-US":"MeasureId","zh-CN":"指标Id"},"指标值":{"en-US":"MeasureValue","zh-CN":"指标值"}}');
|
182
|
-
class
|
197
|
+
class i18n_Intl {
|
183
198
|
static instance;
|
184
199
|
translateMap = i18n_namespaceObject;
|
185
200
|
locale = 'zh-CN';
|
@@ -198,14 +213,34 @@ class Intl {
|
|
198
213
|
};
|
199
214
|
getLocale = ()=>this.locale;
|
200
215
|
static getInstance() {
|
201
|
-
if (!
|
202
|
-
return
|
216
|
+
if (!i18n_Intl.instance) i18n_Intl.instance = new i18n_Intl();
|
217
|
+
return i18n_Intl.instance;
|
203
218
|
}
|
204
219
|
}
|
205
|
-
const intl =
|
220
|
+
const intl = i18n_Intl.getInstance();
|
206
221
|
const i18n = intl.i18n;
|
207
|
-
const createNumFormatter = (format)=>{
|
208
|
-
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true,
|
222
|
+
const createNumFormatter = (format, locale = intl.getLocale())=>{
|
223
|
+
const { type = 'number', ratio = 1, symbol = '', thousandSeparator = true, prefix = '', suffix = '', fractionDigits = 2, significantDigits, roundingMode = 'halfExpand', roundingPriority = 'auto' } = format || {};
|
224
|
+
const numFormatterOptions = {
|
225
|
+
style: 'decimal',
|
226
|
+
notation: 'scientific' === type ? 'scientific' : 'standard',
|
227
|
+
roundingMode,
|
228
|
+
roundingPriority
|
229
|
+
};
|
230
|
+
console.log('debug roundingMode', roundingMode);
|
231
|
+
if ((0, external_remeda_namespaceObject.isNumber)(fractionDigits)) {
|
232
|
+
if (fractionDigits >= 0) {
|
233
|
+
numFormatterOptions.minimumFractionDigits = fractionDigits;
|
234
|
+
numFormatterOptions.maximumFractionDigits = fractionDigits;
|
235
|
+
}
|
236
|
+
}
|
237
|
+
if ((0, external_remeda_namespaceObject.isNumber)(significantDigits) && significantDigits > 0) {
|
238
|
+
if (significantDigits > 0) {
|
239
|
+
numFormatterOptions.minimumSignificantDigits = significantDigits;
|
240
|
+
numFormatterOptions.maximumSignificantDigits = significantDigits;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
const numFormatter = new Intl.NumberFormat(locale, numFormatterOptions);
|
209
244
|
return (value)=>{
|
210
245
|
let num = Number(value);
|
211
246
|
let typeSymbol = '';
|
@@ -217,9 +252,7 @@ const createNumFormatter = (format)=>{
|
|
217
252
|
num *= 1000;
|
218
253
|
typeSymbol = "\u2030";
|
219
254
|
} else if ('number' === type) num /= ratio || 1;
|
220
|
-
|
221
|
-
num = Math[round](num * multiplier) / multiplier;
|
222
|
-
let numStr = num.toFixed(decimalPlaces);
|
255
|
+
let numStr = numFormatter.format(num);
|
223
256
|
if (thousandSeparator) {
|
224
257
|
const parts = numStr.split('.');
|
225
258
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
@@ -232,80 +265,20 @@ const autoNumFormatter = (value, locale = intl.getLocale())=>{
|
|
232
265
|
if (null == value) return String(value);
|
233
266
|
const num = Number(value);
|
234
267
|
if (Number.isNaN(num)) return String(value);
|
235
|
-
const
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
};
|
244
|
-
|
245
|
-
type: 'number',
|
246
|
-
decimalPlaces: countDecimalPlaces(num),
|
247
|
-
round: 'round',
|
248
|
-
thousandSeparator: true
|
249
|
-
};
|
250
|
-
const rules = NUMBER_FORMAT_RULES[locale] || NUMBER_FORMAT_RULES['default'];
|
251
|
-
for (const rule of rules)if (num >= rule.threshold) {
|
252
|
-
numFormat.ratio = rule.ratio;
|
253
|
-
numFormat.symbol = rule.symbol;
|
254
|
-
break;
|
255
|
-
}
|
256
|
-
return createNumFormatter(numFormat)(value);
|
257
|
-
};
|
258
|
-
const NUMBER_FORMAT_RULES = {
|
259
|
-
'zh-CN': [
|
260
|
-
{
|
261
|
-
threshold: 100000000,
|
262
|
-
ratio: 100000000,
|
263
|
-
symbol: "\u4EBF"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
threshold: 10000,
|
267
|
-
ratio: 10000,
|
268
|
-
symbol: "\u4E07"
|
269
|
-
}
|
270
|
-
],
|
271
|
-
'en-US': [
|
272
|
-
{
|
273
|
-
threshold: 1000000000,
|
274
|
-
ratio: 1000000000,
|
275
|
-
symbol: 'B'
|
276
|
-
},
|
277
|
-
{
|
278
|
-
threshold: 1000000,
|
279
|
-
ratio: 1000000,
|
280
|
-
symbol: 'M'
|
281
|
-
},
|
282
|
-
{
|
283
|
-
threshold: 1000,
|
284
|
-
ratio: 1000,
|
285
|
-
symbol: 'K'
|
286
|
-
}
|
287
|
-
],
|
288
|
-
default: [
|
289
|
-
{
|
290
|
-
threshold: 1000000000,
|
291
|
-
ratio: 1000000000,
|
292
|
-
symbol: 'B'
|
293
|
-
},
|
294
|
-
{
|
295
|
-
threshold: 1000000,
|
296
|
-
ratio: 1000000,
|
297
|
-
symbol: 'M'
|
298
|
-
},
|
299
|
-
{
|
300
|
-
threshold: 1000,
|
301
|
-
ratio: 1000,
|
302
|
-
symbol: 'K'
|
303
|
-
}
|
304
|
-
]
|
268
|
+
const numFormatterOptions = {
|
269
|
+
style: 'decimal',
|
270
|
+
notation: 'compact'
|
271
|
+
};
|
272
|
+
numFormatterOptions.minimumFractionDigits = 0;
|
273
|
+
numFormatterOptions.maximumFractionDigits = 2;
|
274
|
+
const numFormatter = new Intl.NumberFormat(locale, {
|
275
|
+
...numFormatterOptions
|
276
|
+
});
|
277
|
+
return numFormatter.format(Number(value));
|
305
278
|
};
|
306
279
|
const createFormatter = (format)=>createNumFormatter(format);
|
307
280
|
const autoFormatter = (value, locale)=>autoNumFormatter(value, locale);
|
308
|
-
const findMeasureById = (measures, id)=>{
|
281
|
+
const findMeasureById = (measures = [], id)=>{
|
309
282
|
if (!measures) return;
|
310
283
|
const stack = [
|
311
284
|
...measures
|
@@ -317,7 +290,7 @@ const findMeasureById = (measures, id)=>{
|
|
317
290
|
if ('children' in current && current.children) stack.push(...current.children);
|
318
291
|
}
|
319
292
|
};
|
320
|
-
const findFirstMeasure = (measures)=>{
|
293
|
+
const findFirstMeasure = (measures = [])=>{
|
321
294
|
if (!measures) return;
|
322
295
|
const stack = [
|
323
296
|
...measures
|
@@ -1048,8 +1021,9 @@ const encodingFunnel = (advancedVSeed)=>{
|
|
1048
1021
|
encoding
|
1049
1022
|
};
|
1050
1023
|
};
|
1051
|
-
const
|
1024
|
+
const lineConfig = (advancedVSeed, context)=>{
|
1052
1025
|
const { vseed } = context;
|
1026
|
+
const { chartType } = vseed;
|
1053
1027
|
const result = {
|
1054
1028
|
...advancedVSeed
|
1055
1029
|
};
|
@@ -1058,22 +1032,7 @@ const vchartBaseConfig = (advancedVSeed, context)=>{
|
|
1058
1032
|
'color',
|
1059
1033
|
'label',
|
1060
1034
|
'legend',
|
1061
|
-
'tooltip'
|
1062
|
-
]);
|
1063
|
-
result.baseConfig = {
|
1064
|
-
vchart: {
|
1065
|
-
...config
|
1066
|
-
}
|
1067
|
-
};
|
1068
|
-
return result;
|
1069
|
-
};
|
1070
|
-
const lineConfig = (advancedVSeed, context)=>{
|
1071
|
-
const { vseed } = context;
|
1072
|
-
const { chartType } = vseed;
|
1073
|
-
const result = {
|
1074
|
-
...advancedVSeed
|
1075
|
-
};
|
1076
|
-
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1035
|
+
'tooltip',
|
1077
1036
|
'xAxis',
|
1078
1037
|
'yAxis',
|
1079
1038
|
'crosshairLine'
|
@@ -1093,6 +1052,11 @@ const columnConfig = (advancedVSeed, context)=>{
|
|
1093
1052
|
...advancedVSeed
|
1094
1053
|
};
|
1095
1054
|
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1055
|
+
'backgroundColor',
|
1056
|
+
'color',
|
1057
|
+
'label',
|
1058
|
+
'legend',
|
1059
|
+
'tooltip',
|
1096
1060
|
'xAxis',
|
1097
1061
|
'yAxis',
|
1098
1062
|
'crosshairRect',
|
@@ -1112,7 +1076,13 @@ const pieConfig = (advancedVSeed, context)=>{
|
|
1112
1076
|
const result = {
|
1113
1077
|
...advancedVSeed
|
1114
1078
|
};
|
1115
|
-
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1079
|
+
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1080
|
+
'backgroundColor',
|
1081
|
+
'color',
|
1082
|
+
'label',
|
1083
|
+
'legend',
|
1084
|
+
'tooltip'
|
1085
|
+
]);
|
1116
1086
|
result.config = {
|
1117
1087
|
...result.config || {},
|
1118
1088
|
[chartType]: {
|
@@ -1133,21 +1103,13 @@ const donutConfig = pieConfig;
|
|
1133
1103
|
const roseConfig = pieConfig;
|
1134
1104
|
const roseParallelConfig = pieConfig;
|
1135
1105
|
const funnelConfig = pieConfig;
|
1136
|
-
const
|
1106
|
+
const theme_theme = (advancedVSeed, context)=>{
|
1137
1107
|
const { customTheme, vseed } = context;
|
1138
1108
|
const { theme = 'light', chartType } = vseed;
|
1139
1109
|
const result = {
|
1140
1110
|
...advancedVSeed
|
1141
1111
|
};
|
1142
1112
|
if (!customTheme || !customTheme[theme]) return result;
|
1143
|
-
const baseConfigVChartTheme = customTheme?.[theme].baseConfig?.vchart;
|
1144
|
-
if (baseConfigVChartTheme) {
|
1145
|
-
const baseConfigVChart = result.baseConfig?.vchart || {};
|
1146
|
-
const mergedConfig = (0, external_remeda_namespaceObject.mergeDeep)(baseConfigVChartTheme, (0, external_remeda_namespaceObject.clone)(baseConfigVChart));
|
1147
|
-
result.baseConfig = {
|
1148
|
-
vchart: mergedConfig
|
1149
|
-
};
|
1150
|
-
}
|
1151
1113
|
const chartConfigTheme = customTheme?.[theme].config?.[chartType];
|
1152
1114
|
if (chartConfigTheme) {
|
1153
1115
|
const chartConfig = result.config?.[chartType] || {};
|
@@ -1156,6 +1118,12 @@ const vchartTheme = (advancedVSeed, context)=>{
|
|
1156
1118
|
[chartType]: mergedConfig
|
1157
1119
|
};
|
1158
1120
|
}
|
1121
|
+
const chartCustomTheme = customTheme?.[theme]?.config?.[chartType];
|
1122
|
+
result.customTheme = {
|
1123
|
+
config: {
|
1124
|
+
[chartType]: chartCustomTheme
|
1125
|
+
}
|
1126
|
+
};
|
1159
1127
|
return result;
|
1160
1128
|
};
|
1161
1129
|
const pivotAdapter = (pipeline, pivotPipeline)=>(advancedVSeed, context)=>{
|
@@ -1209,9 +1177,8 @@ const lineAdvancedPipeline = [
|
|
1209
1177
|
pivotReshapeTo2D1M
|
1210
1178
|
]),
|
1211
1179
|
encodingXY,
|
1212
|
-
vchartBaseConfig,
|
1213
1180
|
lineConfig,
|
1214
|
-
|
1181
|
+
theme_theme,
|
1215
1182
|
markStyle_markStyle,
|
1216
1183
|
annotation_annotation
|
1217
1184
|
];
|
@@ -1227,8 +1194,7 @@ const barAdvancedPipeline = [
|
|
1227
1194
|
]),
|
1228
1195
|
encodingYX,
|
1229
1196
|
barConfig,
|
1230
|
-
|
1231
|
-
vchartTheme,
|
1197
|
+
theme_theme,
|
1232
1198
|
markStyle_markStyle,
|
1233
1199
|
annotation_annotation
|
1234
1200
|
];
|
@@ -1244,8 +1210,7 @@ const barParallelAdvancedPipeline = [
|
|
1244
1210
|
]),
|
1245
1211
|
encodingYX,
|
1246
1212
|
barParallelConfig,
|
1247
|
-
|
1248
|
-
vchartTheme,
|
1213
|
+
theme_theme,
|
1249
1214
|
markStyle_markStyle,
|
1250
1215
|
annotation_annotation
|
1251
1216
|
];
|
@@ -1261,8 +1226,7 @@ const barPercentAdvancedPipeline = [
|
|
1261
1226
|
]),
|
1262
1227
|
encodingYX,
|
1263
1228
|
barPercentConfig,
|
1264
|
-
|
1265
|
-
vchartTheme,
|
1229
|
+
theme_theme,
|
1266
1230
|
markStyle_markStyle,
|
1267
1231
|
annotation_annotation
|
1268
1232
|
];
|
@@ -1278,8 +1242,7 @@ const columnAdvancedPipeline = [
|
|
1278
1242
|
]),
|
1279
1243
|
encodingXY,
|
1280
1244
|
columnConfig,
|
1281
|
-
|
1282
|
-
vchartTheme,
|
1245
|
+
theme_theme,
|
1283
1246
|
markStyle_markStyle,
|
1284
1247
|
annotation_annotation
|
1285
1248
|
];
|
@@ -1295,8 +1258,7 @@ const columnParallelAdvancedPipeline = [
|
|
1295
1258
|
]),
|
1296
1259
|
encodingXY,
|
1297
1260
|
columnParallelConfig,
|
1298
|
-
|
1299
|
-
vchartTheme,
|
1261
|
+
theme_theme,
|
1300
1262
|
markStyle_markStyle,
|
1301
1263
|
annotation_annotation
|
1302
1264
|
];
|
@@ -1312,8 +1274,7 @@ const columnPercentAdvancedPipeline = [
|
|
1312
1274
|
]),
|
1313
1275
|
encodingXY,
|
1314
1276
|
columnPercentConfig,
|
1315
|
-
|
1316
|
-
vchartTheme,
|
1277
|
+
theme_theme,
|
1317
1278
|
markStyle_markStyle,
|
1318
1279
|
annotation_annotation
|
1319
1280
|
];
|
@@ -1329,8 +1290,7 @@ const areaAdvancedPipeline = [
|
|
1329
1290
|
]),
|
1330
1291
|
encodingXY,
|
1331
1292
|
areaConfig,
|
1332
|
-
|
1333
|
-
vchartTheme,
|
1293
|
+
theme_theme,
|
1334
1294
|
markStyle_markStyle,
|
1335
1295
|
annotation_annotation
|
1336
1296
|
];
|
@@ -1346,8 +1306,7 @@ const areaPercentAdvancedPipeline = [
|
|
1346
1306
|
]),
|
1347
1307
|
encodingXY,
|
1348
1308
|
areaPercentConfig,
|
1349
|
-
|
1350
|
-
vchartTheme,
|
1309
|
+
theme_theme,
|
1351
1310
|
markStyle_markStyle,
|
1352
1311
|
annotation_annotation
|
1353
1312
|
];
|
@@ -1363,8 +1322,7 @@ const pieAdvancedPipeline = [
|
|
1363
1322
|
]),
|
1364
1323
|
encodingPie,
|
1365
1324
|
pieConfig,
|
1366
|
-
|
1367
|
-
vchartTheme,
|
1325
|
+
theme_theme,
|
1368
1326
|
annotation_annotation
|
1369
1327
|
];
|
1370
1328
|
const donutAdvancedPipeline = [
|
@@ -1379,8 +1337,7 @@ const donutAdvancedPipeline = [
|
|
1379
1337
|
]),
|
1380
1338
|
encodingPie,
|
1381
1339
|
donutConfig,
|
1382
|
-
|
1383
|
-
vchartTheme,
|
1340
|
+
theme_theme,
|
1384
1341
|
annotation_annotation
|
1385
1342
|
];
|
1386
1343
|
const roseAdvancedPipeline = [
|
@@ -1395,8 +1352,7 @@ const roseAdvancedPipeline = [
|
|
1395
1352
|
]),
|
1396
1353
|
encodingRose,
|
1397
1354
|
roseConfig,
|
1398
|
-
|
1399
|
-
vchartTheme,
|
1355
|
+
theme_theme,
|
1400
1356
|
markStyle_markStyle,
|
1401
1357
|
annotation_annotation
|
1402
1358
|
];
|
@@ -1412,8 +1368,7 @@ const roseParallelAdvancedPipeline = [
|
|
1412
1368
|
]),
|
1413
1369
|
encodingRose,
|
1414
1370
|
roseParallelConfig,
|
1415
|
-
|
1416
|
-
vchartTheme,
|
1371
|
+
theme_theme,
|
1417
1372
|
markStyle_markStyle,
|
1418
1373
|
annotation_annotation
|
1419
1374
|
];
|
@@ -1429,8 +1384,7 @@ const funnelAdvancedPipeline = [
|
|
1429
1384
|
]),
|
1430
1385
|
encodingFunnel,
|
1431
1386
|
funnelConfig,
|
1432
|
-
|
1433
|
-
vchartTheme,
|
1387
|
+
theme_theme,
|
1434
1388
|
annotation_annotation
|
1435
1389
|
];
|
1436
1390
|
const encodingYY = (advancedVSeed)=>{
|
@@ -1480,9 +1434,8 @@ const scatterAdvancedPipeline = [
|
|
1480
1434
|
pivotReshapeTo1D2M
|
1481
1435
|
]),
|
1482
1436
|
encodingYY,
|
1483
|
-
vchartBaseConfig,
|
1484
1437
|
scatterConfig,
|
1485
|
-
|
1438
|
+
theme_theme,
|
1486
1439
|
markStyle_markStyle,
|
1487
1440
|
annotation_annotation
|
1488
1441
|
];
|
@@ -1979,13 +1932,14 @@ const xLinear = (spec, context)=>{
|
|
1979
1932
|
];
|
1980
1933
|
return result;
|
1981
1934
|
}
|
1982
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
1935
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
1983
1936
|
const linearAxis = {
|
1984
1937
|
visible,
|
1985
|
-
type: 'linear',
|
1938
|
+
type: log ? 'log' : 'linear',
|
1939
|
+
base: logBase,
|
1986
1940
|
orient: 'bottom',
|
1987
1941
|
nice,
|
1988
|
-
zero,
|
1942
|
+
zero: log ? false : zero,
|
1989
1943
|
inverse,
|
1990
1944
|
max,
|
1991
1945
|
min,
|
@@ -2155,13 +2109,14 @@ const yLinear = (spec, context)=>{
|
|
2155
2109
|
];
|
2156
2110
|
return result;
|
2157
2111
|
}
|
2158
|
-
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min } = config;
|
2112
|
+
const { visible = true, label, tick, title, grid, line, zero, nice, inverse, max, min, log, logBase = 10 } = config;
|
2159
2113
|
const linearAxis = {
|
2160
2114
|
visible,
|
2161
|
-
type: 'linear',
|
2115
|
+
type: log ? 'log' : 'linear',
|
2116
|
+
base: logBase,
|
2162
2117
|
orient: 'left',
|
2163
2118
|
nice,
|
2164
|
-
zero,
|
2119
|
+
zero: log ? false : zero,
|
2165
2120
|
inverse,
|
2166
2121
|
max,
|
2167
2122
|
min,
|
@@ -2317,25 +2272,22 @@ const background_backgroundColor = (spec, context)=>{
|
|
2317
2272
|
...spec
|
2318
2273
|
};
|
2319
2274
|
const { advancedVSeed } = context;
|
2320
|
-
const {
|
2321
|
-
|
2322
|
-
const { backgroundColor } = baseConfig
|
2275
|
+
const { chartType } = advancedVSeed;
|
2276
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2277
|
+
const { backgroundColor } = baseConfig;
|
2323
2278
|
return {
|
2324
2279
|
...result,
|
2325
2280
|
background: backgroundColor
|
2326
2281
|
};
|
2327
2282
|
};
|
2328
|
-
const defaultTooltip = {
|
2329
|
-
enable: true
|
2330
|
-
};
|
2331
2283
|
const tooltip_tooltip = (spec, context)=>{
|
2332
2284
|
const result = {
|
2333
2285
|
...spec
|
2334
2286
|
};
|
2335
2287
|
const { advancedVSeed } = context;
|
2336
|
-
const { measures, datasetReshapeInfo } = advancedVSeed;
|
2337
|
-
const baseConfig = advancedVSeed.
|
2338
|
-
const { tooltip
|
2288
|
+
const { measures, datasetReshapeInfo, chartType } = advancedVSeed;
|
2289
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2290
|
+
const { tooltip } = baseConfig;
|
2339
2291
|
const { enable } = tooltip;
|
2340
2292
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2341
2293
|
const { groupName } = datasetReshapeInfo[0].unfoldInfo;
|
@@ -2397,7 +2349,8 @@ const label_label = (spec, context)=>{
|
|
2397
2349
|
};
|
2398
2350
|
const { advancedVSeed } = context;
|
2399
2351
|
const { measures, datasetReshapeInfo, locale } = advancedVSeed;
|
2400
|
-
const
|
2352
|
+
const { chartType } = advancedVSeed;
|
2353
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2401
2354
|
if (!baseConfig || !baseConfig.label) return result;
|
2402
2355
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2403
2356
|
const { label } = baseConfig;
|
@@ -2429,9 +2382,9 @@ const discreteLegend = (spec, context)=>{
|
|
2429
2382
|
...spec
|
2430
2383
|
};
|
2431
2384
|
const { advancedVSeed } = context;
|
2432
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2385
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2433
2386
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2434
|
-
const baseConfig = advancedVSeed.
|
2387
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2435
2388
|
if (!baseConfig || !baseConfig.legend) return result;
|
2436
2389
|
const { legend } = baseConfig;
|
2437
2390
|
const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize, border, shapeType = 'rectRound' } = legend || {};
|
@@ -2528,7 +2481,8 @@ const pivotDiscreteLegend = (spec, context)=>{
|
|
2528
2481
|
...spec
|
2529
2482
|
};
|
2530
2483
|
const { advancedVSeed } = context;
|
2531
|
-
const
|
2484
|
+
const { chartType } = advancedVSeed;
|
2485
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2532
2486
|
if (!baseConfig || !baseConfig.legend) return result;
|
2533
2487
|
const { datasetReshapeInfo } = advancedVSeed;
|
2534
2488
|
const colorItems = (0, external_remeda_namespaceObject.unique)(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
@@ -2637,9 +2591,9 @@ const color_color = (spec, context)=>{
|
|
2637
2591
|
...spec
|
2638
2592
|
};
|
2639
2593
|
const { advancedVSeed } = context;
|
2640
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2594
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2641
2595
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2642
|
-
const baseConfig = advancedVSeed.
|
2596
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2643
2597
|
if (!baseConfig || !baseConfig.color) return result;
|
2644
2598
|
const { color } = baseConfig;
|
2645
2599
|
const { colorScheme, colorMapping } = color;
|
@@ -3041,8 +2995,7 @@ const pointStyle_pointStyle = (spec, context)=>{
|
|
3041
2995
|
const { markStyle } = advancedVSeed;
|
3042
2996
|
const { pointStyle } = markStyle;
|
3043
2997
|
const result = {
|
3044
|
-
...spec
|
3045
|
-
point: {}
|
2998
|
+
...spec
|
3046
2999
|
};
|
3047
3000
|
if (!pointStyle) return result;
|
3048
3001
|
const pointStyles = Array.isArray(pointStyle) ? pointStyle : [
|
@@ -3095,6 +3048,7 @@ const pointStateDimensionHover = (spec)=>{
|
|
3095
3048
|
point: {
|
3096
3049
|
...point,
|
3097
3050
|
state: {
|
3051
|
+
...point.state || {},
|
3098
3052
|
dimension_hover: {
|
3099
3053
|
scaleX: 1.4,
|
3100
3054
|
scaleY: 1.4
|
@@ -3113,6 +3067,7 @@ const pointStateHover = (spec, context)=>{
|
|
3113
3067
|
point: {
|
3114
3068
|
...point,
|
3115
3069
|
state: {
|
3070
|
+
...point.state || {},
|
3116
3071
|
hover: {
|
3117
3072
|
scaleX: 1.4,
|
3118
3073
|
scaleY: 1.4,
|
@@ -4823,52 +4778,49 @@ const lightTheme = ()=>{
|
|
4823
4778
|
labelColor: '#ffffff',
|
4824
4779
|
labelBackgroundColor: '#364159'
|
4825
4780
|
};
|
4826
|
-
|
4827
|
-
|
4828
|
-
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4835
|
-
|
4836
|
-
|
4837
|
-
|
4838
|
-
|
4839
|
-
|
4840
|
-
|
4841
|
-
|
4842
|
-
|
4843
|
-
|
4844
|
-
|
4845
|
-
|
4846
|
-
|
4847
|
-
label: {
|
4848
|
-
enable: true
|
4849
|
-
},
|
4850
|
-
tooltip: {
|
4851
|
-
enable: true
|
4852
|
-
},
|
4853
|
-
legend: {
|
4854
|
-
enable: true,
|
4855
|
-
border: true,
|
4856
|
-
maxSize: 1,
|
4857
|
-
shapeType: 'rectRound',
|
4858
|
-
position: 'rt',
|
4859
|
-
labelFontColor: '#646A73',
|
4860
|
-
labelFontSize: 12,
|
4861
|
-
labelFontWeight: 400
|
4862
|
-
}
|
4863
|
-
}
|
4781
|
+
const baseConfig = {
|
4782
|
+
backgroundColor: 'transparent',
|
4783
|
+
color: {
|
4784
|
+
colorScheme: [
|
4785
|
+
'#8D72F6',
|
4786
|
+
'#5766EC',
|
4787
|
+
'#66A3FE',
|
4788
|
+
'#51D5E6',
|
4789
|
+
'#4EC0B3',
|
4790
|
+
'#F9DF90',
|
4791
|
+
'#F9AD71',
|
4792
|
+
'#ED8888',
|
4793
|
+
'#E9A0C3',
|
4794
|
+
'#D77DD3'
|
4795
|
+
]
|
4796
|
+
},
|
4797
|
+
label: {
|
4798
|
+
enable: true
|
4799
|
+
},
|
4800
|
+
tooltip: {
|
4801
|
+
enable: true
|
4864
4802
|
},
|
4803
|
+
legend: {
|
4804
|
+
enable: true,
|
4805
|
+
border: true,
|
4806
|
+
maxSize: 1,
|
4807
|
+
shapeType: 'rectRound',
|
4808
|
+
position: 'rt',
|
4809
|
+
labelFontColor: '#646A73',
|
4810
|
+
labelFontSize: 12,
|
4811
|
+
labelFontWeight: 400
|
4812
|
+
}
|
4813
|
+
};
|
4814
|
+
return {
|
4865
4815
|
config: {
|
4866
4816
|
line: {
|
4817
|
+
...baseConfig,
|
4867
4818
|
xAxis: bandAxis,
|
4868
4819
|
yAxis: linearAxis,
|
4869
4820
|
crosshairLine
|
4870
4821
|
},
|
4871
4822
|
column: {
|
4823
|
+
...baseConfig,
|
4872
4824
|
xAxis: bandAxis,
|
4873
4825
|
yAxis: linearAxis,
|
4874
4826
|
crosshairRect,
|
@@ -4880,6 +4832,7 @@ const lightTheme = ()=>{
|
|
4880
4832
|
]
|
4881
4833
|
},
|
4882
4834
|
columnParallel: {
|
4835
|
+
...baseConfig,
|
4883
4836
|
xAxis: bandAxis,
|
4884
4837
|
yAxis: linearAxis,
|
4885
4838
|
crosshairRect,
|
@@ -4891,6 +4844,7 @@ const lightTheme = ()=>{
|
|
4891
4844
|
]
|
4892
4845
|
},
|
4893
4846
|
columnPercent: {
|
4847
|
+
...baseConfig,
|
4894
4848
|
xAxis: bandAxis,
|
4895
4849
|
yAxis: linearAxis,
|
4896
4850
|
crosshairRect,
|
@@ -4902,6 +4856,7 @@ const lightTheme = ()=>{
|
|
4902
4856
|
]
|
4903
4857
|
},
|
4904
4858
|
bar: {
|
4859
|
+
...baseConfig,
|
4905
4860
|
xAxis: linearAxis,
|
4906
4861
|
yAxis: barBandAxis,
|
4907
4862
|
crosshairRect,
|
@@ -4913,6 +4868,7 @@ const lightTheme = ()=>{
|
|
4913
4868
|
]
|
4914
4869
|
},
|
4915
4870
|
barParallel: {
|
4871
|
+
...baseConfig,
|
4916
4872
|
xAxis: linearAxis,
|
4917
4873
|
yAxis: barBandAxis,
|
4918
4874
|
crosshairRect,
|
@@ -4924,6 +4880,7 @@ const lightTheme = ()=>{
|
|
4924
4880
|
]
|
4925
4881
|
},
|
4926
4882
|
barPercent: {
|
4883
|
+
...baseConfig,
|
4927
4884
|
xAxis: linearAxis,
|
4928
4885
|
yAxis: barBandAxis,
|
4929
4886
|
crosshairRect,
|
@@ -4935,16 +4892,19 @@ const lightTheme = ()=>{
|
|
4935
4892
|
]
|
4936
4893
|
},
|
4937
4894
|
area: {
|
4895
|
+
...baseConfig,
|
4938
4896
|
xAxis: bandAxis,
|
4939
4897
|
yAxis: linearAxis,
|
4940
4898
|
crosshairLine
|
4941
4899
|
},
|
4942
4900
|
areaPercent: {
|
4901
|
+
...baseConfig,
|
4943
4902
|
xAxis: bandAxis,
|
4944
4903
|
yAxis: linearAxis,
|
4945
4904
|
crosshairLine
|
4946
4905
|
},
|
4947
4906
|
scatter: {
|
4907
|
+
...baseConfig,
|
4948
4908
|
xAxis: {
|
4949
4909
|
...linearAxis,
|
4950
4910
|
line: {
|
@@ -4960,6 +4920,35 @@ const lightTheme = ()=>{
|
|
4960
4920
|
}
|
4961
4921
|
},
|
4962
4922
|
crosshairLine
|
4923
|
+
},
|
4924
|
+
pie: {
|
4925
|
+
...baseConfig
|
4926
|
+
},
|
4927
|
+
donut: {
|
4928
|
+
...baseConfig
|
4929
|
+
},
|
4930
|
+
rose: {
|
4931
|
+
...baseConfig
|
4932
|
+
},
|
4933
|
+
roseParallel: {
|
4934
|
+
...baseConfig
|
4935
|
+
},
|
4936
|
+
funnel: {
|
4937
|
+
...baseConfig,
|
4938
|
+
color: {
|
4939
|
+
colorScheme: [
|
4940
|
+
'#5766EC',
|
4941
|
+
'#6372F0',
|
4942
|
+
'#7080F4',
|
4943
|
+
'#7C8CFA',
|
4944
|
+
'#8998FF',
|
4945
|
+
'#95A3FF',
|
4946
|
+
'#A0AEFF',
|
4947
|
+
'#ACB9FF',
|
4948
|
+
'#B7C4FF',
|
4949
|
+
'#C2CEFF'
|
4950
|
+
]
|
4951
|
+
}
|
4963
4952
|
}
|
4964
4953
|
}
|
4965
4954
|
};
|
@@ -5068,52 +5057,49 @@ const darkTheme = ()=>{
|
|
5068
5057
|
labelColor: '#4B4F54',
|
5069
5058
|
labelBackgroundColor: '#ffffff'
|
5070
5059
|
};
|
5071
|
-
|
5072
|
-
|
5073
|
-
|
5074
|
-
|
5075
|
-
|
5076
|
-
|
5077
|
-
|
5078
|
-
|
5079
|
-
|
5080
|
-
|
5081
|
-
|
5082
|
-
|
5083
|
-
|
5084
|
-
|
5085
|
-
|
5086
|
-
'#003A8C',
|
5087
|
-
'#B08AE2',
|
5088
|
-
'#FF6341',
|
5089
|
-
'#98DD62'
|
5090
|
-
]
|
5091
|
-
},
|
5092
|
-
label: {
|
5093
|
-
enable: true
|
5094
|
-
},
|
5095
|
-
tooltip: {
|
5096
|
-
enable: true
|
5097
|
-
},
|
5098
|
-
legend: {
|
5099
|
-
enable: true,
|
5100
|
-
border: true,
|
5101
|
-
maxSize: 1,
|
5102
|
-
position: 'rt',
|
5103
|
-
shapeType: 'rectRound',
|
5104
|
-
labelFontColor: '#FDFDFD',
|
5105
|
-
labelFontSize: 12,
|
5106
|
-
labelFontWeight: 400
|
5107
|
-
}
|
5108
|
-
}
|
5060
|
+
const baseConfig = {
|
5061
|
+
backgroundColor: 'transparent',
|
5062
|
+
color: {
|
5063
|
+
colorScheme: [
|
5064
|
+
'#2E62F1',
|
5065
|
+
'#4DC36A',
|
5066
|
+
'#FF8406',
|
5067
|
+
'#FFCC00',
|
5068
|
+
'#4F44CF',
|
5069
|
+
'#5AC8FA',
|
5070
|
+
'#003A8C',
|
5071
|
+
'#B08AE2',
|
5072
|
+
'#FF6341',
|
5073
|
+
'#98DD62'
|
5074
|
+
]
|
5109
5075
|
},
|
5076
|
+
label: {
|
5077
|
+
enable: true
|
5078
|
+
},
|
5079
|
+
tooltip: {
|
5080
|
+
enable: true
|
5081
|
+
},
|
5082
|
+
legend: {
|
5083
|
+
enable: true,
|
5084
|
+
border: true,
|
5085
|
+
maxSize: 1,
|
5086
|
+
position: 'rt',
|
5087
|
+
shapeType: 'rectRound',
|
5088
|
+
labelFontColor: '#FDFDFD',
|
5089
|
+
labelFontSize: 12,
|
5090
|
+
labelFontWeight: 400
|
5091
|
+
}
|
5092
|
+
};
|
5093
|
+
return {
|
5110
5094
|
config: {
|
5111
5095
|
line: {
|
5096
|
+
...baseConfig,
|
5112
5097
|
xAxis: bandAxis,
|
5113
5098
|
yAxis: linearAxis,
|
5114
5099
|
crosshairLine: crosshairLine
|
5115
5100
|
},
|
5116
5101
|
column: {
|
5102
|
+
...baseConfig,
|
5117
5103
|
xAxis: bandAxis,
|
5118
5104
|
yAxis: linearAxis,
|
5119
5105
|
crosshairRect: crosshairRect,
|
@@ -5125,6 +5111,7 @@ const darkTheme = ()=>{
|
|
5125
5111
|
]
|
5126
5112
|
},
|
5127
5113
|
columnParallel: {
|
5114
|
+
...baseConfig,
|
5128
5115
|
xAxis: bandAxis,
|
5129
5116
|
yAxis: linearAxis,
|
5130
5117
|
crosshairRect: crosshairRect,
|
@@ -5136,6 +5123,7 @@ const darkTheme = ()=>{
|
|
5136
5123
|
]
|
5137
5124
|
},
|
5138
5125
|
columnPercent: {
|
5126
|
+
...baseConfig,
|
5139
5127
|
xAxis: bandAxis,
|
5140
5128
|
yAxis: linearAxis,
|
5141
5129
|
crosshairRect: crosshairRect,
|
@@ -5147,6 +5135,7 @@ const darkTheme = ()=>{
|
|
5147
5135
|
]
|
5148
5136
|
},
|
5149
5137
|
bar: {
|
5138
|
+
...baseConfig,
|
5150
5139
|
xAxis: linearAxis,
|
5151
5140
|
yAxis: barBandAxis,
|
5152
5141
|
crosshairRect: crosshairRect,
|
@@ -5158,6 +5147,7 @@ const darkTheme = ()=>{
|
|
5158
5147
|
]
|
5159
5148
|
},
|
5160
5149
|
barParallel: {
|
5150
|
+
...baseConfig,
|
5161
5151
|
xAxis: linearAxis,
|
5162
5152
|
yAxis: barBandAxis,
|
5163
5153
|
crosshairRect: crosshairRect,
|
@@ -5169,6 +5159,7 @@ const darkTheme = ()=>{
|
|
5169
5159
|
]
|
5170
5160
|
},
|
5171
5161
|
barPercent: {
|
5162
|
+
...baseConfig,
|
5172
5163
|
xAxis: linearAxis,
|
5173
5164
|
yAxis: barBandAxis,
|
5174
5165
|
crosshairRect: crosshairRect,
|
@@ -5180,16 +5171,19 @@ const darkTheme = ()=>{
|
|
5180
5171
|
]
|
5181
5172
|
},
|
5182
5173
|
area: {
|
5174
|
+
...baseConfig,
|
5183
5175
|
xAxis: bandAxis,
|
5184
5176
|
yAxis: linearAxis,
|
5185
5177
|
crosshairLine: crosshairLine
|
5186
5178
|
},
|
5187
5179
|
areaPercent: {
|
5180
|
+
...baseConfig,
|
5188
5181
|
xAxis: bandAxis,
|
5189
5182
|
yAxis: linearAxis,
|
5190
5183
|
crosshairLine: crosshairLine
|
5191
5184
|
},
|
5192
5185
|
scatter: {
|
5186
|
+
...baseConfig,
|
5193
5187
|
xAxis: {
|
5194
5188
|
...linearAxis,
|
5195
5189
|
line: {
|
@@ -5205,6 +5199,35 @@ const darkTheme = ()=>{
|
|
5205
5199
|
}
|
5206
5200
|
},
|
5207
5201
|
crosshairLine
|
5202
|
+
},
|
5203
|
+
pie: {
|
5204
|
+
...baseConfig
|
5205
|
+
},
|
5206
|
+
donut: {
|
5207
|
+
...baseConfig
|
5208
|
+
},
|
5209
|
+
rose: {
|
5210
|
+
...baseConfig
|
5211
|
+
},
|
5212
|
+
roseParallel: {
|
5213
|
+
...baseConfig
|
5214
|
+
},
|
5215
|
+
funnel: {
|
5216
|
+
...baseConfig,
|
5217
|
+
color: {
|
5218
|
+
colorScheme: [
|
5219
|
+
'#2E62F1',
|
5220
|
+
'#3A6EF6',
|
5221
|
+
'#4780FA',
|
5222
|
+
'#548CFE',
|
5223
|
+
'#6198FF',
|
5224
|
+
'#6FA3FF',
|
5225
|
+
'#7CACFF',
|
5226
|
+
'#88B7FF',
|
5227
|
+
'#94C2FF',
|
5228
|
+
'#A0CEFF'
|
5229
|
+
]
|
5230
|
+
}
|
5208
5231
|
}
|
5209
5232
|
}
|
5210
5233
|
};
|
@@ -5279,31 +5302,41 @@ const zNumFormat = external_zod_namespaceObject.z.object({
|
|
5279
5302
|
type: external_zod_namespaceObject.z["enum"]([
|
5280
5303
|
'number',
|
5281
5304
|
'percent',
|
5282
|
-
'permille'
|
5305
|
+
'permille',
|
5306
|
+
'scientific'
|
5283
5307
|
]).default('number').optional(),
|
5284
5308
|
ratio: external_zod_namespaceObject.z.number().default(1).optional(),
|
5285
5309
|
symbol: external_zod_namespaceObject.z.string().default('').optional(),
|
5286
5310
|
thousandSeparator: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5287
|
-
decimalPlaces: external_zod_namespaceObject.z.number().default(2).optional(),
|
5288
|
-
round: external_zod_namespaceObject.z["enum"]([
|
5289
|
-
'round',
|
5290
|
-
'floor',
|
5291
|
-
'ceil'
|
5292
|
-
]).default('round').optional(),
|
5293
5311
|
prefix: external_zod_namespaceObject.z.string().default('').optional(),
|
5294
|
-
suffix: external_zod_namespaceObject.z.string().default('').optional()
|
5312
|
+
suffix: external_zod_namespaceObject.z.string().default('').optional(),
|
5313
|
+
fractionDigits: external_zod_namespaceObject.z.number().default(2).optional(),
|
5314
|
+
significantDigits: external_zod_namespaceObject.z.number().default(0).optional(),
|
5315
|
+
roundingPriority: external_zod_namespaceObject.z["enum"]([
|
5316
|
+
'morePrecision',
|
5317
|
+
'lessPrecision'
|
5318
|
+
]).default('morePrecision').optional(),
|
5319
|
+
roundingMode: external_zod_namespaceObject.z["enum"]([
|
5320
|
+
'floor',
|
5321
|
+
'ceil',
|
5322
|
+
'halfEven',
|
5323
|
+
'expand',
|
5324
|
+
'trunc',
|
5325
|
+
'halfFloor',
|
5326
|
+
'halfCeil',
|
5327
|
+
'halfExpand',
|
5328
|
+
'halfTrunc'
|
5329
|
+
]).default('halfCeil').optional()
|
5295
5330
|
}).optional();
|
5296
5331
|
const zMeasure = external_zod_namespaceObject.z.object({
|
5297
5332
|
id: external_zod_namespaceObject.z.string(),
|
5298
5333
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5299
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5300
5334
|
autoFormat: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5301
5335
|
format: zNumFormat["default"]({}).optional()
|
5302
5336
|
});
|
5303
5337
|
const zMeasureGroup = external_zod_namespaceObject.z.object({
|
5304
5338
|
id: external_zod_namespaceObject.z.string(),
|
5305
5339
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5306
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5307
5340
|
get children () {
|
5308
5341
|
return external_zod_namespaceObject.z.array(zMeasureGroup.or(zMeasure)).optional();
|
5309
5342
|
}
|
@@ -5336,133 +5369,6 @@ const zEncoding = external_zod_namespaceObject.z.array(external_zod_namespaceObj
|
|
5336
5369
|
tooltip: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5337
5370
|
size: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional()
|
5338
5371
|
}));
|
5339
|
-
const zBackgroundColor = external_zod_namespaceObject.z.string().default('transparent').optional();
|
5340
|
-
const zLabel = external_zod_namespaceObject.z.object({
|
5341
|
-
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5342
|
-
});
|
5343
|
-
const zColor = external_zod_namespaceObject.z.object({
|
5344
|
-
colorScheme: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5345
|
-
colorMapping: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.string()).optional()
|
5346
|
-
});
|
5347
|
-
const zTooltip = external_zod_namespaceObject.z.object({
|
5348
|
-
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5349
|
-
});
|
5350
|
-
const zLegend = external_zod_namespaceObject.z.object({
|
5351
|
-
enable: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5352
|
-
border: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5353
|
-
maxSize: external_zod_namespaceObject.z.number().default(1).optional(),
|
5354
|
-
shapeType: external_zod_namespaceObject.z["enum"]([
|
5355
|
-
'circle',
|
5356
|
-
'cross',
|
5357
|
-
'diamond',
|
5358
|
-
'square',
|
5359
|
-
'arrow',
|
5360
|
-
'arrow2Left',
|
5361
|
-
'arrow2Right',
|
5362
|
-
'wedge',
|
5363
|
-
'thinTriangle',
|
5364
|
-
'triangle',
|
5365
|
-
'triangleUp',
|
5366
|
-
'triangleDown',
|
5367
|
-
'triangleRight',
|
5368
|
-
'triangleLeft',
|
5369
|
-
'stroke',
|
5370
|
-
'star',
|
5371
|
-
'wye',
|
5372
|
-
'rect',
|
5373
|
-
'arrowLeft',
|
5374
|
-
'arrowRight',
|
5375
|
-
'rectRound',
|
5376
|
-
'roundLine'
|
5377
|
-
]).default('rectRound').optional(),
|
5378
|
-
position: external_zod_namespaceObject.z["enum"]([
|
5379
|
-
'left',
|
5380
|
-
'leftTop',
|
5381
|
-
'leftBottom',
|
5382
|
-
'lt',
|
5383
|
-
'lb',
|
5384
|
-
'top',
|
5385
|
-
'topLeft',
|
5386
|
-
'topRight',
|
5387
|
-
'tl',
|
5388
|
-
'tr',
|
5389
|
-
'right',
|
5390
|
-
'rightTop',
|
5391
|
-
'rightBottom',
|
5392
|
-
'rt',
|
5393
|
-
'rb',
|
5394
|
-
'bottom',
|
5395
|
-
'bottomLeft',
|
5396
|
-
'bottomRight',
|
5397
|
-
'bl',
|
5398
|
-
'br'
|
5399
|
-
]).default('bottom').optional(),
|
5400
|
-
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5401
|
-
labelFontColor: external_zod_namespaceObject.z.string().default('#fff').optional(),
|
5402
|
-
labelFontWeight: external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.string()).default(400).optional()
|
5403
|
-
});
|
5404
|
-
const zVChartBaseConfig = external_zod_namespaceObject.z.object({
|
5405
|
-
backgroundColor: zBackgroundColor,
|
5406
|
-
label: zLabel.optional(),
|
5407
|
-
color: zColor.optional(),
|
5408
|
-
tooltip: zTooltip.optional(),
|
5409
|
-
legend: zLegend.optional()
|
5410
|
-
});
|
5411
|
-
const zVTableBaseConfig = external_zod_namespaceObject.z.object({
|
5412
|
-
backgroundColor: zBackgroundColor
|
5413
|
-
});
|
5414
|
-
const zBaseConfig = external_zod_namespaceObject.z.object({
|
5415
|
-
vchart: zVChartBaseConfig.optional(),
|
5416
|
-
vtable: zVTableBaseConfig.optional()
|
5417
|
-
});
|
5418
|
-
const zAxis = external_zod_namespaceObject.z.object({
|
5419
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5420
|
-
min: external_zod_namespaceObject.z.number().optional(),
|
5421
|
-
max: external_zod_namespaceObject.z.number().optional(),
|
5422
|
-
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5423
|
-
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5424
|
-
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5425
|
-
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5426
|
-
labelAutoHideGap: external_zod_namespaceObject.z.number().default(4).optional(),
|
5427
|
-
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5428
|
-
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5429
|
-
0,
|
5430
|
-
-45,
|
5431
|
-
-90
|
5432
|
-
]).optional(),
|
5433
|
-
labelAutoLimit: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5434
|
-
labelAutoLimitLength: external_zod_namespaceObject.z.number().default(100).optional(),
|
5435
|
-
label: external_zod_namespaceObject.z.object({
|
5436
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5437
|
-
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5438
|
-
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5439
|
-
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5440
|
-
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5441
|
-
}).optional(),
|
5442
|
-
line: external_zod_namespaceObject.z.object({
|
5443
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5444
|
-
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5445
|
-
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5446
|
-
}).optional(),
|
5447
|
-
tick: external_zod_namespaceObject.z.object({
|
5448
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5449
|
-
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5450
|
-
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5451
|
-
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5452
|
-
}).optional(),
|
5453
|
-
title: external_zod_namespaceObject.z.object({
|
5454
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5455
|
-
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5456
|
-
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5457
|
-
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5458
|
-
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5459
|
-
}).optional(),
|
5460
|
-
grid: external_zod_namespaceObject.z.object({
|
5461
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5462
|
-
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5463
|
-
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5464
|
-
}).optional()
|
5465
|
-
});
|
5466
5372
|
const zXBandAxis = external_zod_namespaceObject.z.object({
|
5467
5373
|
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5468
5374
|
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
@@ -5513,6 +5419,8 @@ const zXLinearAxis = external_zod_namespaceObject.z.object({
|
|
5513
5419
|
max: external_zod_namespaceObject.z.number().optional(),
|
5514
5420
|
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5515
5421
|
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5422
|
+
log: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5423
|
+
logBase: external_zod_namespaceObject.z.number().default(10).optional(),
|
5516
5424
|
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5517
5425
|
label: external_zod_namespaceObject.z.object({
|
5518
5426
|
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
@@ -5566,72 +5474,233 @@ const zStackCornerRadius = external_zod_namespaceObject.z.number().or(external_z
|
|
5566
5474
|
0,
|
5567
5475
|
0
|
5568
5476
|
]);
|
5569
|
-
const
|
5570
|
-
|
5571
|
-
|
5572
|
-
|
5573
|
-
|
5574
|
-
|
5575
|
-
|
5576
|
-
|
5577
|
-
|
5578
|
-
|
5579
|
-
|
5580
|
-
|
5581
|
-
|
5582
|
-
|
5583
|
-
|
5584
|
-
|
5585
|
-
|
5586
|
-
|
5587
|
-
|
5588
|
-
|
5589
|
-
|
5590
|
-
|
5591
|
-
|
5592
|
-
|
5593
|
-
|
5594
|
-
|
5595
|
-
|
5596
|
-
|
5597
|
-
|
5598
|
-
|
5599
|
-
|
5600
|
-
|
5601
|
-
|
5602
|
-
|
5603
|
-
|
5604
|
-
|
5605
|
-
|
5606
|
-
|
5607
|
-
|
5608
|
-
|
5609
|
-
|
5610
|
-
|
5611
|
-
|
5477
|
+
const zBackgroundColor = external_zod_namespaceObject.z.string().default('transparent').optional();
|
5478
|
+
const zColor = external_zod_namespaceObject.z.object({
|
5479
|
+
colorScheme: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5480
|
+
colorMapping: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.string()).optional()
|
5481
|
+
});
|
5482
|
+
const zLabel = external_zod_namespaceObject.z.object({
|
5483
|
+
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5484
|
+
});
|
5485
|
+
const zLegend = external_zod_namespaceObject.z.object({
|
5486
|
+
enable: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5487
|
+
border: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5488
|
+
maxSize: external_zod_namespaceObject.z.number().default(1).optional(),
|
5489
|
+
shapeType: external_zod_namespaceObject.z["enum"]([
|
5490
|
+
'circle',
|
5491
|
+
'cross',
|
5492
|
+
'diamond',
|
5493
|
+
'square',
|
5494
|
+
'arrow',
|
5495
|
+
'arrow2Left',
|
5496
|
+
'arrow2Right',
|
5497
|
+
'wedge',
|
5498
|
+
'thinTriangle',
|
5499
|
+
'triangle',
|
5500
|
+
'triangleUp',
|
5501
|
+
'triangleDown',
|
5502
|
+
'triangleRight',
|
5503
|
+
'triangleLeft',
|
5504
|
+
'stroke',
|
5505
|
+
'star',
|
5506
|
+
'wye',
|
5507
|
+
'rect',
|
5508
|
+
'arrowLeft',
|
5509
|
+
'arrowRight',
|
5510
|
+
'rectRound',
|
5511
|
+
'roundLine'
|
5512
|
+
]).default('rectRound').optional(),
|
5513
|
+
position: external_zod_namespaceObject.z["enum"]([
|
5514
|
+
'left',
|
5515
|
+
'leftTop',
|
5516
|
+
'leftBottom',
|
5517
|
+
'lt',
|
5518
|
+
'lb',
|
5519
|
+
'top',
|
5520
|
+
'topLeft',
|
5521
|
+
'topRight',
|
5522
|
+
'tl',
|
5523
|
+
'tr',
|
5524
|
+
'right',
|
5525
|
+
'rightTop',
|
5526
|
+
'rightBottom',
|
5527
|
+
'rt',
|
5528
|
+
'rb',
|
5529
|
+
'bottom',
|
5530
|
+
'bottomLeft',
|
5531
|
+
'bottomRight',
|
5532
|
+
'bl',
|
5533
|
+
'br'
|
5534
|
+
]).default('bottom').optional(),
|
5535
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5536
|
+
labelFontColor: external_zod_namespaceObject.z.string().default('#fff').optional(),
|
5537
|
+
labelFontWeight: external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.string()).default(400).optional()
|
5538
|
+
});
|
5539
|
+
const zTooltip = external_zod_namespaceObject.z.object({
|
5540
|
+
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5541
|
+
});
|
5542
|
+
const zLineConfig = external_zod_namespaceObject.z.object({
|
5543
|
+
backgroundColor: zBackgroundColor.optional(),
|
5544
|
+
label: zLabel.optional(),
|
5545
|
+
color: zColor.optional(),
|
5546
|
+
tooltip: zTooltip.optional(),
|
5547
|
+
legend: zLegend.optional(),
|
5548
|
+
xAxis: zXBandAxis.optional(),
|
5549
|
+
yAxis: zYLinearAxis.optional(),
|
5550
|
+
crosshairLine: zCrosshairLine.optional()
|
5551
|
+
});
|
5552
|
+
const zColumnConfig = external_zod_namespaceObject.z.object({
|
5553
|
+
backgroundColor: zBackgroundColor.optional(),
|
5554
|
+
label: zLabel.optional(),
|
5555
|
+
color: zColor.optional(),
|
5556
|
+
tooltip: zTooltip.optional(),
|
5557
|
+
legend: zLegend.optional(),
|
5558
|
+
xAxis: zXBandAxis.optional(),
|
5559
|
+
yAxis: zYLinearAxis.optional(),
|
5560
|
+
crosshairRect: zCrosshairRect.optional(),
|
5561
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5562
|
+
});
|
5563
|
+
const zColumnParallelConfig = zColumnConfig;
|
5564
|
+
const zColumnPercentConfig = zColumnConfig;
|
5565
|
+
const zBarConfig = external_zod_namespaceObject.z.object({
|
5566
|
+
backgroundColor: zBackgroundColor.optional(),
|
5567
|
+
label: zLabel.optional(),
|
5568
|
+
color: zColor.optional(),
|
5569
|
+
tooltip: zTooltip.optional(),
|
5570
|
+
legend: zLegend.optional(),
|
5571
|
+
xAxis: zXLinearAxis.optional(),
|
5572
|
+
yAxis: zYBandAxis.optional(),
|
5573
|
+
crosshairRect: zCrosshairRect.optional(),
|
5574
|
+
stackCornerRadius: zStackCornerRadius.optional()
|
5575
|
+
});
|
5576
|
+
const zBarParallelConfig = zBarConfig;
|
5577
|
+
const zBarPercentConfig = zBarConfig;
|
5578
|
+
const zAreaConfig = external_zod_namespaceObject.z.object({
|
5579
|
+
backgroundColor: zBackgroundColor.optional(),
|
5580
|
+
label: zLabel.optional(),
|
5581
|
+
color: zColor.optional(),
|
5582
|
+
tooltip: zTooltip.optional(),
|
5583
|
+
legend: zLegend.optional(),
|
5584
|
+
xAxis: zXBandAxis.optional(),
|
5585
|
+
yAxis: zYLinearAxis.optional(),
|
5586
|
+
crosshairLine: zCrosshairLine.optional()
|
5587
|
+
});
|
5588
|
+
const zAreaPercentConfig = zAreaConfig;
|
5589
|
+
const zRoseConfig = external_zod_namespaceObject.z.object({
|
5590
|
+
backgroundColor: zBackgroundColor.optional(),
|
5591
|
+
label: zLabel.optional(),
|
5592
|
+
color: zColor.optional(),
|
5593
|
+
tooltip: zTooltip.optional(),
|
5594
|
+
legend: zLegend.optional()
|
5595
|
+
});
|
5596
|
+
const zRoseParallelConfig = zRoseConfig;
|
5597
|
+
const zPieConfig = external_zod_namespaceObject.z.object({
|
5598
|
+
backgroundColor: zBackgroundColor.optional(),
|
5599
|
+
label: zLabel.optional(),
|
5600
|
+
color: zColor.optional(),
|
5601
|
+
tooltip: zTooltip.optional(),
|
5602
|
+
legend: zLegend.optional()
|
5603
|
+
});
|
5604
|
+
const zDonutConfig = zPieConfig;
|
5605
|
+
const zDualAxisConfig = external_zod_namespaceObject.z.object({
|
5606
|
+
backgroundColor: zBackgroundColor.optional(),
|
5607
|
+
label: zLabel.optional(),
|
5608
|
+
color: zColor.optional(),
|
5609
|
+
tooltip: zTooltip.optional(),
|
5610
|
+
legend: zLegend.optional()
|
5611
|
+
});
|
5612
|
+
const zScatterConfig = external_zod_namespaceObject.z.object({
|
5613
|
+
backgroundColor: zBackgroundColor.optional(),
|
5614
|
+
label: zLabel.optional(),
|
5615
|
+
color: zColor.optional(),
|
5616
|
+
tooltip: zTooltip.optional(),
|
5617
|
+
legend: zLegend.optional(),
|
5618
|
+
xAxis: zXLinearAxis.optional(),
|
5619
|
+
yAxis: zYLinearAxis.optional(),
|
5620
|
+
crosshairLine: zCrosshairLine.optional()
|
5621
|
+
});
|
5622
|
+
const zFunnelConfig = external_zod_namespaceObject.z.object({
|
5623
|
+
backgroundColor: zBackgroundColor.optional(),
|
5624
|
+
color: zColor.optional(),
|
5625
|
+
tooltip: zTooltip.optional(),
|
5626
|
+
label: zLabel.optional(),
|
5627
|
+
legend: zLegend.optional()
|
5628
|
+
});
|
5629
|
+
const zConfig = external_zod_namespaceObject.z.object({
|
5630
|
+
table: external_zod_namespaceObject.z.object({}).optional(),
|
5631
|
+
pivotTable: external_zod_namespaceObject.z.object({}).optional(),
|
5632
|
+
line: zLineConfig.optional(),
|
5633
|
+
column: zColumnConfig.optional(),
|
5634
|
+
columnParallel: zColumnParallelConfig.optional(),
|
5635
|
+
columnPercent: zColumnPercentConfig.optional(),
|
5636
|
+
bar: zBarConfig.optional(),
|
5637
|
+
barParallel: zBarParallelConfig.optional(),
|
5638
|
+
barPercent: zBarPercentConfig.optional(),
|
5639
|
+
area: zAreaConfig.optional(),
|
5640
|
+
areaPercent: zAreaPercentConfig.optional(),
|
5641
|
+
rose: zRoseConfig.optional(),
|
5642
|
+
roseParallel: zRoseParallelConfig.optional(),
|
5643
|
+
pie: zPieConfig.optional(),
|
5644
|
+
donut: zDonutConfig.optional(),
|
5645
|
+
dualAxis: zDualAxisConfig.optional(),
|
5646
|
+
scatter: zScatterConfig.optional(),
|
5647
|
+
funnel: zFunnelConfig.optional()
|
5648
|
+
});
|
5649
|
+
const zAxis = external_zod_namespaceObject.z.object({
|
5650
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5651
|
+
min: external_zod_namespaceObject.z.number().optional(),
|
5652
|
+
max: external_zod_namespaceObject.z.number().optional(),
|
5653
|
+
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5654
|
+
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5655
|
+
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5656
|
+
log: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5657
|
+
logBase: external_zod_namespaceObject.z.number().default(10).optional(),
|
5658
|
+
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5659
|
+
labelAutoHideGap: external_zod_namespaceObject.z.number().default(4).optional(),
|
5660
|
+
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5661
|
+
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5662
|
+
0,
|
5663
|
+
-45,
|
5664
|
+
-90
|
5665
|
+
]).optional(),
|
5666
|
+
labelAutoLimit: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5667
|
+
labelAutoLimitLength: external_zod_namespaceObject.z.number().default(100).optional(),
|
5668
|
+
label: external_zod_namespaceObject.z.object({
|
5669
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5670
|
+
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5671
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5672
|
+
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5673
|
+
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5612
5674
|
}).optional(),
|
5613
|
-
|
5614
|
-
|
5615
|
-
|
5616
|
-
|
5675
|
+
line: external_zod_namespaceObject.z.object({
|
5676
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5677
|
+
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5678
|
+
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5617
5679
|
}).optional(),
|
5618
|
-
|
5619
|
-
|
5620
|
-
|
5621
|
-
|
5680
|
+
tick: external_zod_namespaceObject.z.object({
|
5681
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5682
|
+
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5683
|
+
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5684
|
+
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5622
5685
|
}).optional(),
|
5623
|
-
|
5624
|
-
|
5625
|
-
|
5626
|
-
|
5627
|
-
|
5628
|
-
|
5629
|
-
xAxis: zXLinearAxis.optional(),
|
5630
|
-
yAxis: zYLinearAxis.optional(),
|
5631
|
-
crosshairLine: zCrosshairLine.optional()
|
5686
|
+
title: external_zod_namespaceObject.z.object({
|
5687
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5688
|
+
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5689
|
+
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5690
|
+
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5691
|
+
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5632
5692
|
}).optional(),
|
5633
|
-
|
5693
|
+
grid: external_zod_namespaceObject.z.object({
|
5694
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5695
|
+
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5696
|
+
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5697
|
+
}).optional()
|
5698
|
+
});
|
5699
|
+
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
5700
|
+
config: zConfig.optional()
|
5634
5701
|
});
|
5702
|
+
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
5703
|
+
const zTheme = external_zod_namespaceObject.z.string();
|
5635
5704
|
const zSelector = external_zod_namespaceObject.z.union([
|
5636
5705
|
external_zod_namespaceObject.z.string(),
|
5637
5706
|
external_zod_namespaceObject.z.number(),
|
@@ -5687,6 +5756,74 @@ const zSelector = external_zod_namespaceObject.z.union([
|
|
5687
5756
|
})
|
5688
5757
|
]);
|
5689
5758
|
const zSelectors = external_zod_namespaceObject.z.array(zSelector);
|
5759
|
+
const zBarStyle = external_zod_namespaceObject.z.object({
|
5760
|
+
selector: external_zod_namespaceObject.z.union([
|
5761
|
+
zSelector,
|
5762
|
+
zSelectors
|
5763
|
+
]).optional(),
|
5764
|
+
barColor: external_zod_namespaceObject.z.string().optional(),
|
5765
|
+
barColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5766
|
+
barBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5767
|
+
barBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5768
|
+
barBorderStyle: external_zod_namespaceObject.z.union([
|
5769
|
+
external_zod_namespaceObject.z.literal('solid'),
|
5770
|
+
external_zod_namespaceObject.z.literal('dashed'),
|
5771
|
+
external_zod_namespaceObject.z.literal('dotted')
|
5772
|
+
]).optional(),
|
5773
|
+
barRadius: external_zod_namespaceObject.z.union([
|
5774
|
+
external_zod_namespaceObject.z.number(),
|
5775
|
+
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())
|
5776
|
+
]).optional()
|
5777
|
+
});
|
5778
|
+
const zPointStyle = external_zod_namespaceObject.z.object({
|
5779
|
+
selector: external_zod_namespaceObject.z.union([
|
5780
|
+
zSelector,
|
5781
|
+
zSelectors
|
5782
|
+
]).optional(),
|
5783
|
+
pointSize: external_zod_namespaceObject.z.number().optional(),
|
5784
|
+
pointColor: external_zod_namespaceObject.z.string().optional(),
|
5785
|
+
pointColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5786
|
+
pointBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5787
|
+
pointBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5788
|
+
pointBorderStyle: external_zod_namespaceObject.z.union([
|
5789
|
+
external_zod_namespaceObject.z["enum"]([
|
5790
|
+
'solid',
|
5791
|
+
'dashed',
|
5792
|
+
'dotted'
|
5793
|
+
])
|
5794
|
+
]).optional()
|
5795
|
+
});
|
5796
|
+
const zLineStyle = external_zod_namespaceObject.z.object({
|
5797
|
+
selector: external_zod_namespaceObject.z.union([
|
5798
|
+
zSelector,
|
5799
|
+
zSelectors
|
5800
|
+
]).optional(),
|
5801
|
+
lineSmooth: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5802
|
+
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5803
|
+
lineColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5804
|
+
lineWidth: external_zod_namespaceObject.z.number().optional(),
|
5805
|
+
lineStyle: external_zod_namespaceObject.z.union([
|
5806
|
+
external_zod_namespaceObject.z["enum"]([
|
5807
|
+
'solid',
|
5808
|
+
'dashed',
|
5809
|
+
'dotted'
|
5810
|
+
])
|
5811
|
+
]).optional()
|
5812
|
+
});
|
5813
|
+
const zAreaStyle = external_zod_namespaceObject.z.object({
|
5814
|
+
selector: external_zod_namespaceObject.z.union([
|
5815
|
+
zSelector,
|
5816
|
+
zSelectors
|
5817
|
+
]).optional(),
|
5818
|
+
areaColor: external_zod_namespaceObject.z.string().optional(),
|
5819
|
+
areaColorOpacity: external_zod_namespaceObject.z.number().optional()
|
5820
|
+
});
|
5821
|
+
const zMarkStyle = external_zod_namespaceObject.z.object({
|
5822
|
+
barStyle: zBarStyle.or(external_zod_namespaceObject.z.array(zBarStyle)).optional(),
|
5823
|
+
pointStyle: zPointStyle.or(external_zod_namespaceObject.z.array(zPointStyle)).optional(),
|
5824
|
+
lineStyle: zLineStyle.or(external_zod_namespaceObject.z.array(zLineStyle)).optional(),
|
5825
|
+
areaStyle: zAreaStyle.or(external_zod_namespaceObject.z.array(zAreaStyle)).optional()
|
5826
|
+
});
|
5690
5827
|
const zAnnotationPoint = external_zod_namespaceObject.z.object({
|
5691
5828
|
selector: external_zod_namespaceObject.z.union([
|
5692
5829
|
zSelector,
|
@@ -5863,82 +6000,6 @@ const zAnnotation = external_zod_namespaceObject.z.object({
|
|
5863
6000
|
annotationHorizontalLine: zAnnotationHorizontalLine.or(external_zod_namespaceObject.z.array(zAnnotationHorizontalLine)).optional(),
|
5864
6001
|
annotationArea: zAnnotationArea.or(external_zod_namespaceObject.z.array(zAnnotationArea)).optional()
|
5865
6002
|
});
|
5866
|
-
const zBarStyle = external_zod_namespaceObject.z.object({
|
5867
|
-
selector: external_zod_namespaceObject.z.union([
|
5868
|
-
zSelector,
|
5869
|
-
zSelectors
|
5870
|
-
]).optional(),
|
5871
|
-
barColor: external_zod_namespaceObject.z.string().optional(),
|
5872
|
-
barColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5873
|
-
barBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5874
|
-
barBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5875
|
-
barBorderStyle: external_zod_namespaceObject.z.union([
|
5876
|
-
external_zod_namespaceObject.z.literal('solid'),
|
5877
|
-
external_zod_namespaceObject.z.literal('dashed'),
|
5878
|
-
external_zod_namespaceObject.z.literal('dotted')
|
5879
|
-
]).optional(),
|
5880
|
-
barRadius: external_zod_namespaceObject.z.union([
|
5881
|
-
external_zod_namespaceObject.z.number(),
|
5882
|
-
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())
|
5883
|
-
]).optional()
|
5884
|
-
});
|
5885
|
-
const zPointStyle = external_zod_namespaceObject.z.object({
|
5886
|
-
selector: external_zod_namespaceObject.z.union([
|
5887
|
-
zSelector,
|
5888
|
-
zSelectors
|
5889
|
-
]).optional(),
|
5890
|
-
pointSize: external_zod_namespaceObject.z.number().optional(),
|
5891
|
-
pointColor: external_zod_namespaceObject.z.string().optional(),
|
5892
|
-
pointColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5893
|
-
pointBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5894
|
-
pointBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5895
|
-
pointBorderStyle: external_zod_namespaceObject.z.union([
|
5896
|
-
external_zod_namespaceObject.z["enum"]([
|
5897
|
-
'solid',
|
5898
|
-
'dashed',
|
5899
|
-
'dotted'
|
5900
|
-
])
|
5901
|
-
]).optional()
|
5902
|
-
});
|
5903
|
-
const zLineStyle = external_zod_namespaceObject.z.object({
|
5904
|
-
selector: external_zod_namespaceObject.z.union([
|
5905
|
-
zSelector,
|
5906
|
-
zSelectors
|
5907
|
-
]).optional(),
|
5908
|
-
lineSmooth: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5909
|
-
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5910
|
-
lineColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5911
|
-
lineWidth: external_zod_namespaceObject.z.number().optional(),
|
5912
|
-
lineStyle: external_zod_namespaceObject.z.union([
|
5913
|
-
external_zod_namespaceObject.z["enum"]([
|
5914
|
-
'solid',
|
5915
|
-
'dashed',
|
5916
|
-
'dotted'
|
5917
|
-
])
|
5918
|
-
]).optional()
|
5919
|
-
});
|
5920
|
-
const zAreaStyle = external_zod_namespaceObject.z.object({
|
5921
|
-
selector: external_zod_namespaceObject.z.union([
|
5922
|
-
zSelector,
|
5923
|
-
zSelectors
|
5924
|
-
]).optional(),
|
5925
|
-
areaColor: external_zod_namespaceObject.z.string().optional(),
|
5926
|
-
areaColorOpacity: external_zod_namespaceObject.z.number().optional()
|
5927
|
-
});
|
5928
|
-
const zMarkStyle = external_zod_namespaceObject.z.object({
|
5929
|
-
barStyle: zBarStyle.or(external_zod_namespaceObject.z.array(zBarStyle)).optional(),
|
5930
|
-
pointStyle: zPointStyle.or(external_zod_namespaceObject.z.array(zPointStyle)).optional(),
|
5931
|
-
lineStyle: zLineStyle.or(external_zod_namespaceObject.z.array(zLineStyle)).optional(),
|
5932
|
-
areaStyle: zAreaStyle.or(external_zod_namespaceObject.z.array(zAreaStyle)).optional()
|
5933
|
-
});
|
5934
|
-
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
5935
|
-
baseConfig: zBaseConfig.optional(),
|
5936
|
-
config: zConfig.optional(),
|
5937
|
-
annotation: zAnnotation.optional(),
|
5938
|
-
markStyle: zMarkStyle.optional()
|
5939
|
-
});
|
5940
|
-
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
5941
|
-
const zTheme = external_zod_namespaceObject.z.string();
|
5942
6003
|
const zLocale = external_zod_namespaceObject.z["enum"]([
|
5943
6004
|
'zh-CN',
|
5944
6005
|
'en-US'
|
@@ -6253,11 +6314,10 @@ const zAdvancedVSeed = external_zod_namespaceObject.z.object({
|
|
6253
6314
|
dimensions: zDimensions,
|
6254
6315
|
measures: zMeasures,
|
6255
6316
|
encoding: zEncoding,
|
6256
|
-
baseConfig: zBaseConfig,
|
6257
6317
|
config: zConfig,
|
6258
6318
|
theme: zTheme,
|
6259
6319
|
markStyle: zMarkStyle,
|
6260
|
-
customTheme:
|
6320
|
+
customTheme: zCustomThemeConfig,
|
6261
6321
|
annotation: zAnnotation,
|
6262
6322
|
locale: zLocale
|
6263
6323
|
});
|
@@ -6338,20 +6398,27 @@ exports.zAnnotationHorizontalLine = __webpack_exports__.zAnnotationHorizontalLin
|
|
6338
6398
|
exports.zAnnotationPoint = __webpack_exports__.zAnnotationPoint;
|
6339
6399
|
exports.zAnnotationVerticalLine = __webpack_exports__.zAnnotationVerticalLine;
|
6340
6400
|
exports.zArea = __webpack_exports__.zArea;
|
6401
|
+
exports.zAreaConfig = __webpack_exports__.zAreaConfig;
|
6341
6402
|
exports.zAreaPercent = __webpack_exports__.zAreaPercent;
|
6403
|
+
exports.zAreaPercentConfig = __webpack_exports__.zAreaPercentConfig;
|
6342
6404
|
exports.zAreaStyle = __webpack_exports__.zAreaStyle;
|
6343
6405
|
exports.zAxis = __webpack_exports__.zAxis;
|
6344
6406
|
exports.zBackgroundColor = __webpack_exports__.zBackgroundColor;
|
6345
6407
|
exports.zBar = __webpack_exports__.zBar;
|
6408
|
+
exports.zBarConfig = __webpack_exports__.zBarConfig;
|
6346
6409
|
exports.zBarParallel = __webpack_exports__.zBarParallel;
|
6410
|
+
exports.zBarParallelConfig = __webpack_exports__.zBarParallelConfig;
|
6347
6411
|
exports.zBarPercent = __webpack_exports__.zBarPercent;
|
6412
|
+
exports.zBarPercentConfig = __webpack_exports__.zBarPercentConfig;
|
6348
6413
|
exports.zBarStyle = __webpack_exports__.zBarStyle;
|
6349
|
-
exports.zBaseConfig = __webpack_exports__.zBaseConfig;
|
6350
6414
|
exports.zChartType = __webpack_exports__.zChartType;
|
6351
6415
|
exports.zColor = __webpack_exports__.zColor;
|
6352
6416
|
exports.zColumn = __webpack_exports__.zColumn;
|
6417
|
+
exports.zColumnConfig = __webpack_exports__.zColumnConfig;
|
6353
6418
|
exports.zColumnParallel = __webpack_exports__.zColumnParallel;
|
6419
|
+
exports.zColumnParallelConfig = __webpack_exports__.zColumnParallelConfig;
|
6354
6420
|
exports.zColumnPercent = __webpack_exports__.zColumnPercent;
|
6421
|
+
exports.zColumnPercentConfig = __webpack_exports__.zColumnPercentConfig;
|
6355
6422
|
exports.zConfig = __webpack_exports__.zConfig;
|
6356
6423
|
exports.zCrosshairLine = __webpack_exports__.zCrosshairLine;
|
6357
6424
|
exports.zCrosshairRect = __webpack_exports__.zCrosshairRect;
|
@@ -6363,12 +6430,16 @@ exports.zDatum = __webpack_exports__.zDatum;
|
|
6363
6430
|
exports.zDimension = __webpack_exports__.zDimension;
|
6364
6431
|
exports.zDimensions = __webpack_exports__.zDimensions;
|
6365
6432
|
exports.zDonut = __webpack_exports__.zDonut;
|
6433
|
+
exports.zDonutConfig = __webpack_exports__.zDonutConfig;
|
6434
|
+
exports.zDualAxisConfig = __webpack_exports__.zDualAxisConfig;
|
6366
6435
|
exports.zEncoding = __webpack_exports__.zEncoding;
|
6367
6436
|
exports.zFoldInfo = __webpack_exports__.zFoldInfo;
|
6368
6437
|
exports.zFunnel = __webpack_exports__.zFunnel;
|
6438
|
+
exports.zFunnelConfig = __webpack_exports__.zFunnelConfig;
|
6369
6439
|
exports.zLabel = __webpack_exports__.zLabel;
|
6370
6440
|
exports.zLegend = __webpack_exports__.zLegend;
|
6371
6441
|
exports.zLine = __webpack_exports__.zLine;
|
6442
|
+
exports.zLineConfig = __webpack_exports__.zLineConfig;
|
6372
6443
|
exports.zLineStyle = __webpack_exports__.zLineStyle;
|
6373
6444
|
exports.zLocale = __webpack_exports__.zLocale;
|
6374
6445
|
exports.zMarkStyle = __webpack_exports__.zMarkStyle;
|
@@ -6377,10 +6448,14 @@ exports.zMeasureGroup = __webpack_exports__.zMeasureGroup;
|
|
6377
6448
|
exports.zMeasures = __webpack_exports__.zMeasures;
|
6378
6449
|
exports.zNumFormat = __webpack_exports__.zNumFormat;
|
6379
6450
|
exports.zPie = __webpack_exports__.zPie;
|
6451
|
+
exports.zPieConfig = __webpack_exports__.zPieConfig;
|
6380
6452
|
exports.zPointStyle = __webpack_exports__.zPointStyle;
|
6381
6453
|
exports.zRose = __webpack_exports__.zRose;
|
6454
|
+
exports.zRoseConfig = __webpack_exports__.zRoseConfig;
|
6382
6455
|
exports.zRoseParallel = __webpack_exports__.zRoseParallel;
|
6456
|
+
exports.zRoseParallelConfig = __webpack_exports__.zRoseParallelConfig;
|
6383
6457
|
exports.zScatter = __webpack_exports__.zScatter;
|
6458
|
+
exports.zScatterConfig = __webpack_exports__.zScatterConfig;
|
6384
6459
|
exports.zStackCornerRadius = __webpack_exports__.zStackCornerRadius;
|
6385
6460
|
exports.zTheme = __webpack_exports__.zTheme;
|
6386
6461
|
exports.zTooltip = __webpack_exports__.zTooltip;
|
@@ -6468,20 +6543,27 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6468
6543
|
"zAnnotationPoint",
|
6469
6544
|
"zAnnotationVerticalLine",
|
6470
6545
|
"zArea",
|
6546
|
+
"zAreaConfig",
|
6471
6547
|
"zAreaPercent",
|
6548
|
+
"zAreaPercentConfig",
|
6472
6549
|
"zAreaStyle",
|
6473
6550
|
"zAxis",
|
6474
6551
|
"zBackgroundColor",
|
6475
6552
|
"zBar",
|
6553
|
+
"zBarConfig",
|
6476
6554
|
"zBarParallel",
|
6555
|
+
"zBarParallelConfig",
|
6477
6556
|
"zBarPercent",
|
6557
|
+
"zBarPercentConfig",
|
6478
6558
|
"zBarStyle",
|
6479
|
-
"zBaseConfig",
|
6480
6559
|
"zChartType",
|
6481
6560
|
"zColor",
|
6482
6561
|
"zColumn",
|
6562
|
+
"zColumnConfig",
|
6483
6563
|
"zColumnParallel",
|
6564
|
+
"zColumnParallelConfig",
|
6484
6565
|
"zColumnPercent",
|
6566
|
+
"zColumnPercentConfig",
|
6485
6567
|
"zConfig",
|
6486
6568
|
"zCrosshairLine",
|
6487
6569
|
"zCrosshairRect",
|
@@ -6493,12 +6575,16 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6493
6575
|
"zDimension",
|
6494
6576
|
"zDimensions",
|
6495
6577
|
"zDonut",
|
6578
|
+
"zDonutConfig",
|
6579
|
+
"zDualAxisConfig",
|
6496
6580
|
"zEncoding",
|
6497
6581
|
"zFoldInfo",
|
6498
6582
|
"zFunnel",
|
6583
|
+
"zFunnelConfig",
|
6499
6584
|
"zLabel",
|
6500
6585
|
"zLegend",
|
6501
6586
|
"zLine",
|
6587
|
+
"zLineConfig",
|
6502
6588
|
"zLineStyle",
|
6503
6589
|
"zLocale",
|
6504
6590
|
"zMarkStyle",
|
@@ -6507,10 +6593,14 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6507
6593
|
"zMeasures",
|
6508
6594
|
"zNumFormat",
|
6509
6595
|
"zPie",
|
6596
|
+
"zPieConfig",
|
6510
6597
|
"zPointStyle",
|
6511
6598
|
"zRose",
|
6599
|
+
"zRoseConfig",
|
6512
6600
|
"zRoseParallel",
|
6601
|
+
"zRoseParallelConfig",
|
6513
6602
|
"zScatter",
|
6603
|
+
"zScatterConfig",
|
6514
6604
|
"zStackCornerRadius",
|
6515
6605
|
"zTheme",
|
6516
6606
|
"zTooltip",
|