@visactor/vseed 0.0.17 → 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 +5973 -6047
- 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 +872 -725
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +706 -655
- 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 +2503 -1941
- 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 +450 -28
- package/dist/types/chartType/area/index.d.ts +0 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +450 -28
- package/dist/types/chartType/areaPercent/index.d.ts +0 -1
- package/dist/types/chartType/bar/bar.d.ts +450 -28
- package/dist/types/chartType/bar/index.d.ts +0 -1
- package/dist/types/chartType/barParallel/barParallel.d.ts +450 -28
- package/dist/types/chartType/barParallel/index.d.ts +0 -1
- package/dist/types/chartType/barPercent/barPercent.d.ts +450 -28
- package/dist/types/chartType/barPercent/index.d.ts +0 -1
- package/dist/types/chartType/column/column.d.ts +450 -28
- package/dist/types/chartType/column/index.d.ts +0 -1
- package/dist/types/chartType/columnParallel/columnParallel.d.ts +450 -28
- package/dist/types/chartType/columnParallel/index.d.ts +0 -1
- package/dist/types/chartType/columnPercent/columnPercent.d.ts +450 -28
- package/dist/types/chartType/columnPercent/index.d.ts +0 -1
- package/dist/types/chartType/donut/donut.d.ts +36 -16
- 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 +36 -16
- 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 +450 -28
- package/dist/types/chartType/pie/index.d.ts +0 -1
- package/dist/types/chartType/pie/pie.d.ts +36 -16
- 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 +36 -16
- package/dist/types/chartType/roseParallel/index.d.ts +0 -1
- package/dist/types/chartType/roseParallel/roseParallel.d.ts +36 -16
- package/dist/types/chartType/scatter/index.d.ts +0 -1
- package/dist/types/chartType/scatter/scatter.d.ts +452 -28
- 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 +3 -4
- 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 -9
- package/dist/types/properties/annotation/annotationArea.d.ts +0 -1
- package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +0 -3
- package/dist/types/properties/annotation/annotationPoint.d.ts +0 -1
- package/dist/types/properties/annotation/annotationVerticalLine.d.ts +0 -3
- 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} +13 -2
- 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 +4 -5
- 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 -3242
- 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 +5541 -1205
- package/dist/umd/index.js +798 -715
- 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/index.cjs
CHANGED
@@ -24,118 +24,150 @@ var __webpack_require__ = {};
|
|
24
24
|
var __webpack_exports__ = {};
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
27
|
-
registerBar: ()=>registerBar,
|
28
|
-
isVChart: ()=>isVChart,
|
29
27
|
funnelAdvancedPipeline: ()=>funnelAdvancedPipeline,
|
30
|
-
|
31
|
-
|
28
|
+
zPie: ()=>zPie,
|
29
|
+
zBar: ()=>zBar,
|
32
30
|
pieAdvancedPipeline: ()=>pieAdvancedPipeline,
|
33
31
|
execPipeline: ()=>execPipeline,
|
34
32
|
areaSpecPipeline: ()=>areaSpecPipeline,
|
35
|
-
|
36
|
-
|
37
|
-
zBaseConfig: ()=>zBaseConfig,
|
38
|
-
zColor: ()=>zColor,
|
33
|
+
zDonut: ()=>zDonut,
|
34
|
+
zRoseConfig: ()=>zRoseConfig,
|
39
35
|
findFirstMeasure: ()=>findFirstMeasure,
|
40
36
|
scatterAdvancedPipeline: ()=>scatterAdvancedPipeline,
|
37
|
+
zCrosshairRect: ()=>zCrosshairRect,
|
38
|
+
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
39
|
+
intl: ()=>intl,
|
40
|
+
columnPercentAdvancedPipeline: ()=>columnPercentAdvancedPipeline,
|
41
|
+
zColumnConfig: ()=>zColumnConfig,
|
42
|
+
zAnnotation: ()=>zAnnotation,
|
43
|
+
zYBandAxis: ()=>zYBandAxis,
|
44
|
+
dataReshapeFor1D2M: ()=>dataReshapeFor1D2M,
|
45
|
+
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
46
|
+
zMarkStyle: ()=>zMarkStyle,
|
47
|
+
zYLinearAxis: ()=>zYLinearAxis,
|
48
|
+
Separator: ()=>Separator,
|
49
|
+
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
50
|
+
zLabel: ()=>zLabel,
|
51
|
+
registerColumn: ()=>registerColumn,
|
52
|
+
funnelSpecPipeline: ()=>funnelSpecPipeline,
|
53
|
+
roseParallelSpecPipeline: ()=>roseParallelSpecPipeline,
|
54
|
+
zLineStyle: ()=>zLineStyle,
|
55
|
+
dataReshapeFor1D1M: ()=>dataReshapeFor1D1M,
|
56
|
+
registerArea: ()=>registerArea,
|
57
|
+
zRoseParallel: ()=>zRoseParallel,
|
58
|
+
zDataset: ()=>zDataset,
|
59
|
+
UnfoldDimensionGroupId: ()=>UnfoldDimensionGroupId,
|
60
|
+
zNumFormat: ()=>zNumFormat,
|
61
|
+
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
62
|
+
zArea: ()=>zArea,
|
63
|
+
zColumnParallel: ()=>zColumnParallel,
|
64
|
+
zDimensions: ()=>zDimensions,
|
65
|
+
zLegend: ()=>zLegend,
|
66
|
+
FoldMeasureId: ()=>FoldMeasureId,
|
67
|
+
zColumnParallelConfig: ()=>zColumnParallelConfig,
|
68
|
+
donutSpecPipeline: ()=>donutSpecPipeline,
|
69
|
+
registerAreaPercent: ()=>registerAreaPercent,
|
70
|
+
zTheme: ()=>zTheme,
|
71
|
+
zBarPercent: ()=>zBarPercent,
|
72
|
+
zDatum: ()=>zDatum,
|
73
|
+
barAdvancedPipeline: ()=>barAdvancedPipeline,
|
74
|
+
zCustomThemeConfig: ()=>zCustomThemeConfig,
|
75
|
+
registerColumnPercent: ()=>registerColumnPercent,
|
76
|
+
zCrosshairLine: ()=>zCrosshairLine,
|
77
|
+
registerBarPercent: ()=>registerBarPercent,
|
78
|
+
roseSpecPipeline: ()=>roseSpecPipeline,
|
79
|
+
registerLightTheme: ()=>registerLightTheme,
|
80
|
+
roseAdvancedPipeline: ()=>roseAdvancedPipeline,
|
81
|
+
zBarParallel: ()=>zBarParallel,
|
82
|
+
zChartType: ()=>zChartType,
|
83
|
+
registerDarkTheme: ()=>registerDarkTheme,
|
84
|
+
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
85
|
+
pieSpecPipeline: ()=>pieSpecPipeline,
|
86
|
+
zStackCornerRadius: ()=>zStackCornerRadius,
|
87
|
+
barSpecPipeline: ()=>barSpecPipeline,
|
88
|
+
zRose: ()=>zRose,
|
89
|
+
unfoldDimensions: ()=>unfoldDimensions,
|
90
|
+
roseParallelAdvancedPipeline: ()=>roseParallelAdvancedPipeline,
|
91
|
+
zPieConfig: ()=>zPieConfig,
|
92
|
+
autoFormatter: ()=>autoFormatter,
|
93
|
+
Builder: ()=>Builder,
|
94
|
+
registerBar: ()=>registerBar,
|
95
|
+
registerAll: ()=>registerAll,
|
96
|
+
isVChart: ()=>isVChart,
|
97
|
+
registerLine: ()=>registerLine,
|
98
|
+
registerCustomTheme: ()=>registerCustomTheme,
|
99
|
+
zColor: ()=>zColor,
|
41
100
|
zMeasureGroup: ()=>zMeasureGroup,
|
42
|
-
|
101
|
+
zDonutConfig: ()=>zDonutConfig,
|
43
102
|
zUnfoldInfo: ()=>zUnfoldInfo,
|
44
|
-
|
103
|
+
zFunnelConfig: ()=>zFunnelConfig,
|
104
|
+
zMeasures: ()=>zMeasures,
|
45
105
|
FoldMeasureName: ()=>FoldMeasureName,
|
46
|
-
intl: ()=>intl,
|
47
106
|
darkTheme: ()=>darkTheme,
|
48
107
|
createNumFormatter: ()=>createNumFormatter,
|
49
|
-
|
50
|
-
scatterSpecPipeline: ()=>scatterSpecPipeline,
|
51
|
-
isVTable: ()=>isVTable,
|
52
|
-
zAnnotation: ()=>zAnnotation,
|
108
|
+
zAreaConfig: ()=>zAreaConfig,
|
53
109
|
zAxis: ()=>zAxis,
|
54
|
-
|
110
|
+
isVTable: ()=>isVTable,
|
111
|
+
zLine: ()=>zLine,
|
55
112
|
columnSpecPipeline: ()=>columnSpecPipeline,
|
56
113
|
UnfoldDimensionGroup: ()=>UnfoldDimensionGroup,
|
57
114
|
zDatasetReshapeInfo: ()=>zDatasetReshapeInfo,
|
58
115
|
zFoldInfo: ()=>zFoldInfo,
|
59
|
-
zStackCornerRadius: ()=>zStackCornerRadius,
|
60
116
|
zAreaStyle: ()=>zAreaStyle,
|
61
117
|
ORIGINAL_DATA: ()=>ORIGINAL_DATA,
|
62
|
-
dataReshapeFor1D2M: ()=>dataReshapeFor1D2M,
|
63
118
|
zAnnotationArea: ()=>zAnnotationArea,
|
64
|
-
zAnnotationHorizontalLine: ()=>zAnnotationHorizontalLine,
|
65
|
-
zMarkStyle: ()=>zMarkStyle,
|
66
|
-
Separator: ()=>Separator,
|
67
|
-
zTooltip: ()=>zTooltip,
|
68
|
-
columnAdvancedPipeline: ()=>columnAdvancedPipeline,
|
69
119
|
columnParallelSpecPipeline: ()=>columnParallelSpecPipeline,
|
70
|
-
zLabel: ()=>zLabel,
|
71
120
|
i18n: ()=>i18n,
|
72
|
-
|
121
|
+
zPointStyle: ()=>zPointStyle,
|
73
122
|
zAnnotationPoint: ()=>zAnnotationPoint,
|
74
123
|
lightTheme: ()=>lightTheme,
|
75
124
|
registerColumnParallel: ()=>registerColumnParallel,
|
76
125
|
zDimension: ()=>zDimension,
|
77
|
-
funnelSpecPipeline: ()=>funnelSpecPipeline,
|
78
|
-
zPointStyle: ()=>zPointStyle,
|
79
|
-
zYBandAxis: ()=>zYBandAxis,
|
80
|
-
zYLinearAxis: ()=>zYLinearAxis,
|
81
126
|
isPivotChart: ()=>isPivotChart,
|
127
|
+
zDualAxisConfig: ()=>zDualAxisConfig,
|
128
|
+
zColumn: ()=>zColumn,
|
82
129
|
zCustomTheme: ()=>zCustomTheme,
|
83
|
-
|
84
|
-
zLineStyle: ()=>zLineStyle,
|
130
|
+
zLineConfig: ()=>zLineConfig,
|
85
131
|
zXBandAxis: ()=>zXBandAxis,
|
86
|
-
|
87
|
-
registerArea: ()=>registerArea,
|
132
|
+
zColumnPercentConfig: ()=>zColumnPercentConfig,
|
88
133
|
findMeasureById: ()=>findMeasureById,
|
89
|
-
zDataset: ()=>zDataset,
|
90
|
-
UnfoldDimensionGroupId: ()=>UnfoldDimensionGroupId,
|
91
|
-
zNumFormat: ()=>zNumFormat,
|
92
|
-
barPercentAdvancedPipeline: ()=>barPercentAdvancedPipeline,
|
93
|
-
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
94
134
|
zVSeed: ()=>zVSeed,
|
135
|
+
areaPercentAdvancedPipeline: ()=>areaPercentAdvancedPipeline,
|
95
136
|
zBackgroundColor: ()=>zBackgroundColor,
|
137
|
+
zAreaPercentConfig: ()=>zAreaPercentConfig,
|
96
138
|
registerBarParallel: ()=>registerBarParallel,
|
97
139
|
zMeasure: ()=>zMeasure,
|
98
|
-
|
99
|
-
zLegend: ()=>zLegend,
|
100
|
-
FoldMeasureId: ()=>FoldMeasureId,
|
101
|
-
zTheme: ()=>zTheme,
|
102
|
-
donutSpecPipeline: ()=>donutSpecPipeline,
|
103
|
-
registerAreaPercent: ()=>registerAreaPercent,
|
140
|
+
zLocale: ()=>zLocale,
|
104
141
|
zEncoding: ()=>zEncoding,
|
105
142
|
autoNumFormatter: ()=>autoNumFormatter,
|
143
|
+
zAdvancedVSeed: ()=>zAdvancedVSeed,
|
106
144
|
zXLinearAxis: ()=>zXLinearAxis,
|
107
145
|
zConfig: ()=>zConfig,
|
108
|
-
|
146
|
+
zRoseParallelConfig: ()=>zRoseParallelConfig,
|
109
147
|
zBarStyle: ()=>zBarStyle,
|
110
|
-
|
111
|
-
zCustomThemeConfig: ()=>zCustomThemeConfig,
|
148
|
+
zAreaPercent: ()=>zAreaPercent,
|
112
149
|
columnParallelAdvancedPipeline: ()=>columnParallelAdvancedPipeline,
|
113
|
-
|
150
|
+
zColumnPercent: ()=>zColumnPercent,
|
114
151
|
donutAdvancedPipeline: ()=>donutAdvancedPipeline,
|
115
|
-
|
152
|
+
zScatter: ()=>zScatter,
|
116
153
|
foldMeasures: ()=>foldMeasures,
|
117
154
|
dataReshapeFor2D1M: ()=>dataReshapeFor2D1M,
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
zAnnotationVerticalLine: ()=>zAnnotationVerticalLine,
|
155
|
+
zFunnel: ()=>zFunnel,
|
156
|
+
zScatterConfig: ()=>zScatterConfig,
|
157
|
+
zTooltip: ()=>zTooltip,
|
158
|
+
zBarParallelConfig: ()=>zBarParallelConfig,
|
123
159
|
barParallelAdvancedPipeline: ()=>barParallelAdvancedPipeline,
|
124
160
|
FoldMeasureValue: ()=>FoldMeasureValue,
|
161
|
+
zBarPercentConfig: ()=>zBarPercentConfig,
|
125
162
|
barPercentSpecPipeline: ()=>barPercentSpecPipeline,
|
126
163
|
lineAdvancedPipeline: ()=>lineAdvancedPipeline,
|
127
|
-
pieSpecPipeline: ()=>pieSpecPipeline,
|
128
|
-
barSpecPipeline: ()=>barSpecPipeline,
|
129
164
|
lineSpecPipeline: ()=>lineSpecPipeline,
|
130
|
-
zChartType: ()=>zChartType,
|
131
165
|
createFormatter: ()=>createFormatter,
|
132
|
-
unfoldDimensions: ()=>unfoldDimensions,
|
133
166
|
columnPercentSpecPipeline: ()=>columnPercentSpecPipeline,
|
134
167
|
areaAdvancedPipeline: ()=>areaAdvancedPipeline,
|
135
|
-
Builder: ()=>Builder,
|
136
|
-
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
137
168
|
areaPercentSpecPipeline: ()=>areaPercentSpecPipeline,
|
138
|
-
|
169
|
+
barParallelSpecPipeline: ()=>barParallelSpecPipeline,
|
170
|
+
zBarConfig: ()=>zBarConfig
|
139
171
|
});
|
140
172
|
const initAdvancedVSeed = (advancedVSeed, context)=>{
|
141
173
|
const { vseed } = context;
|
@@ -149,11 +181,11 @@ const execPipeline = (pipeline, context, initialValue = {})=>{
|
|
149
181
|
const result = pipeline.reduce((prev, cur)=>cur(prev, context), initialValue);
|
150
182
|
return result;
|
151
183
|
};
|
152
|
-
const isVTable = (
|
184
|
+
const isVTable = (vseed)=>[
|
153
185
|
'table',
|
154
186
|
'pivotTable'
|
155
|
-
].includes(chartType);
|
156
|
-
const isVChart = (
|
187
|
+
].includes(vseed.chartType);
|
188
|
+
const isVChart = (vseed)=>!isVTable(vseed);
|
157
189
|
const isPivotChart = (vseed)=>{
|
158
190
|
const { measures, dimensions } = vseed;
|
159
191
|
const hasRowOrColumnDimension = dimensions && dimensions.some((dimension)=>'rowDimension' === dimension.location || 'columnDimension' === dimension.location);
|
@@ -162,7 +194,7 @@ const isPivotChart = (vseed)=>{
|
|
162
194
|
};
|
163
195
|
const external_remeda_namespaceObject = require("remeda");
|
164
196
|
var i18n_namespaceObject = JSON.parse('{"指标名称":{"en-US":"MeasureName","zh-CN":"指标名称"},"指标Id":{"en-US":"MeasureId","zh-CN":"指标Id"},"指标值":{"en-US":"MeasureValue","zh-CN":"指标值"}}');
|
165
|
-
class
|
197
|
+
class i18n_Intl {
|
166
198
|
static instance;
|
167
199
|
translateMap = i18n_namespaceObject;
|
168
200
|
locale = 'zh-CN';
|
@@ -181,14 +213,34 @@ class Intl {
|
|
181
213
|
};
|
182
214
|
getLocale = ()=>this.locale;
|
183
215
|
static getInstance() {
|
184
|
-
if (!
|
185
|
-
return
|
216
|
+
if (!i18n_Intl.instance) i18n_Intl.instance = new i18n_Intl();
|
217
|
+
return i18n_Intl.instance;
|
186
218
|
}
|
187
219
|
}
|
188
|
-
const intl =
|
220
|
+
const intl = i18n_Intl.getInstance();
|
189
221
|
const i18n = intl.i18n;
|
190
|
-
const createNumFormatter = (format)=>{
|
191
|
-
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);
|
192
244
|
return (value)=>{
|
193
245
|
let num = Number(value);
|
194
246
|
let typeSymbol = '';
|
@@ -200,9 +252,7 @@ const createNumFormatter = (format)=>{
|
|
200
252
|
num *= 1000;
|
201
253
|
typeSymbol = "\u2030";
|
202
254
|
} else if ('number' === type) num /= ratio || 1;
|
203
|
-
|
204
|
-
num = Math[round](num * multiplier) / multiplier;
|
205
|
-
let numStr = num.toFixed(decimalPlaces);
|
255
|
+
let numStr = numFormatter.format(num);
|
206
256
|
if (thousandSeparator) {
|
207
257
|
const parts = numStr.split('.');
|
208
258
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
@@ -215,80 +265,20 @@ const autoNumFormatter = (value, locale = intl.getLocale())=>{
|
|
215
265
|
if (null == value) return String(value);
|
216
266
|
const num = Number(value);
|
217
267
|
if (Number.isNaN(num)) return String(value);
|
218
|
-
const
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
};
|
227
|
-
|
228
|
-
type: 'number',
|
229
|
-
decimalPlaces: countDecimalPlaces(num),
|
230
|
-
round: 'round',
|
231
|
-
thousandSeparator: true
|
232
|
-
};
|
233
|
-
const rules = NUMBER_FORMAT_RULES[locale] || NUMBER_FORMAT_RULES['default'];
|
234
|
-
for (const rule of rules)if (num >= rule.threshold) {
|
235
|
-
numFormat.ratio = rule.ratio;
|
236
|
-
numFormat.symbol = rule.symbol;
|
237
|
-
break;
|
238
|
-
}
|
239
|
-
return createNumFormatter(numFormat)(value);
|
240
|
-
};
|
241
|
-
const NUMBER_FORMAT_RULES = {
|
242
|
-
'zh-CN': [
|
243
|
-
{
|
244
|
-
threshold: 100000000,
|
245
|
-
ratio: 100000000,
|
246
|
-
symbol: "\u4EBF"
|
247
|
-
},
|
248
|
-
{
|
249
|
-
threshold: 10000,
|
250
|
-
ratio: 10000,
|
251
|
-
symbol: "\u4E07"
|
252
|
-
}
|
253
|
-
],
|
254
|
-
'en-US': [
|
255
|
-
{
|
256
|
-
threshold: 1000000000,
|
257
|
-
ratio: 1000000000,
|
258
|
-
symbol: 'B'
|
259
|
-
},
|
260
|
-
{
|
261
|
-
threshold: 1000000,
|
262
|
-
ratio: 1000000,
|
263
|
-
symbol: 'M'
|
264
|
-
},
|
265
|
-
{
|
266
|
-
threshold: 1000,
|
267
|
-
ratio: 1000,
|
268
|
-
symbol: 'K'
|
269
|
-
}
|
270
|
-
],
|
271
|
-
default: [
|
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
|
-
]
|
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));
|
288
278
|
};
|
289
279
|
const createFormatter = (format)=>createNumFormatter(format);
|
290
280
|
const autoFormatter = (value, locale)=>autoNumFormatter(value, locale);
|
291
|
-
const findMeasureById = (measures, id)=>{
|
281
|
+
const findMeasureById = (measures = [], id)=>{
|
292
282
|
if (!measures) return;
|
293
283
|
const stack = [
|
294
284
|
...measures
|
@@ -300,7 +290,7 @@ const findMeasureById = (measures, id)=>{
|
|
300
290
|
if ('children' in current && current.children) stack.push(...current.children);
|
301
291
|
}
|
302
292
|
};
|
303
|
-
const findFirstMeasure = (measures)=>{
|
293
|
+
const findFirstMeasure = (measures = [])=>{
|
304
294
|
if (!measures) return;
|
305
295
|
const stack = [
|
306
296
|
...measures
|
@@ -532,14 +522,17 @@ const dataReshapeFor2D1M = (dataset, dimensions, measures, options)=>{
|
|
532
522
|
};
|
533
523
|
}
|
534
524
|
{
|
535
|
-
const
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
525
|
+
const onlyOneMeasure = 1 === measures.length;
|
526
|
+
const onlyOneDimension = 1 === dimensions.length;
|
527
|
+
const dims = [
|
528
|
+
...dimensions
|
529
|
+
];
|
530
|
+
if (!onlyOneMeasure || onlyOneDimension) dims.push({
|
531
|
+
id: foldMeasureName,
|
532
|
+
alias: i18n`指标名称`,
|
533
|
+
location: 'dimension'
|
534
|
+
});
|
535
|
+
const { dataset: finalDataset, unfoldInfo } = unfoldDimensions(foldedDataset, dims, [
|
543
536
|
{
|
544
537
|
id: foldMeasureValue,
|
545
538
|
alias: i18n`指标值`
|
@@ -591,14 +584,17 @@ const dataReshapeFor1D1M = (dataset, dimensions, measures, options)=>{
|
|
591
584
|
};
|
592
585
|
}
|
593
586
|
{
|
594
|
-
const
|
587
|
+
const dims = 1 === measures.length ? [
|
588
|
+
...dimensions
|
589
|
+
] : [
|
595
590
|
...dimensions,
|
596
591
|
{
|
597
592
|
id: foldMeasureName,
|
598
593
|
alias: i18n`指标名称`,
|
599
594
|
location: 'dimension'
|
600
595
|
}
|
601
|
-
]
|
596
|
+
];
|
597
|
+
const { dataset: finalDataset, unfoldInfo } = unfoldDimensions(foldedDataset, dims, [
|
602
598
|
{
|
603
599
|
id: foldMeasureValue,
|
604
600
|
alias: i18n`指标值`
|
@@ -1025,8 +1021,9 @@ const encodingFunnel = (advancedVSeed)=>{
|
|
1025
1021
|
encoding
|
1026
1022
|
};
|
1027
1023
|
};
|
1028
|
-
const
|
1024
|
+
const lineConfig = (advancedVSeed, context)=>{
|
1029
1025
|
const { vseed } = context;
|
1026
|
+
const { chartType } = vseed;
|
1030
1027
|
const result = {
|
1031
1028
|
...advancedVSeed
|
1032
1029
|
};
|
@@ -1035,22 +1032,7 @@ const vchartBaseConfig = (advancedVSeed, context)=>{
|
|
1035
1032
|
'color',
|
1036
1033
|
'label',
|
1037
1034
|
'legend',
|
1038
|
-
'tooltip'
|
1039
|
-
]);
|
1040
|
-
result.baseConfig = {
|
1041
|
-
vchart: {
|
1042
|
-
...config
|
1043
|
-
}
|
1044
|
-
};
|
1045
|
-
return result;
|
1046
|
-
};
|
1047
|
-
const lineConfig = (advancedVSeed, context)=>{
|
1048
|
-
const { vseed } = context;
|
1049
|
-
const { chartType } = vseed;
|
1050
|
-
const result = {
|
1051
|
-
...advancedVSeed
|
1052
|
-
};
|
1053
|
-
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1035
|
+
'tooltip',
|
1054
1036
|
'xAxis',
|
1055
1037
|
'yAxis',
|
1056
1038
|
'crosshairLine'
|
@@ -1070,6 +1052,11 @@ const columnConfig = (advancedVSeed, context)=>{
|
|
1070
1052
|
...advancedVSeed
|
1071
1053
|
};
|
1072
1054
|
const config = (0, external_remeda_namespaceObject.pick)(vseed, [
|
1055
|
+
'backgroundColor',
|
1056
|
+
'color',
|
1057
|
+
'label',
|
1058
|
+
'legend',
|
1059
|
+
'tooltip',
|
1073
1060
|
'xAxis',
|
1074
1061
|
'yAxis',
|
1075
1062
|
'crosshairRect',
|
@@ -1089,7 +1076,13 @@ const pieConfig = (advancedVSeed, context)=>{
|
|
1089
1076
|
const result = {
|
1090
1077
|
...advancedVSeed
|
1091
1078
|
};
|
1092
|
-
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
|
+
]);
|
1093
1086
|
result.config = {
|
1094
1087
|
...result.config || {},
|
1095
1088
|
[chartType]: {
|
@@ -1110,21 +1103,13 @@ const donutConfig = pieConfig;
|
|
1110
1103
|
const roseConfig = pieConfig;
|
1111
1104
|
const roseParallelConfig = pieConfig;
|
1112
1105
|
const funnelConfig = pieConfig;
|
1113
|
-
const
|
1106
|
+
const theme_theme = (advancedVSeed, context)=>{
|
1114
1107
|
const { customTheme, vseed } = context;
|
1115
1108
|
const { theme = 'light', chartType } = vseed;
|
1116
1109
|
const result = {
|
1117
1110
|
...advancedVSeed
|
1118
1111
|
};
|
1119
1112
|
if (!customTheme || !customTheme[theme]) return result;
|
1120
|
-
const baseConfigVChartTheme = customTheme?.[theme].baseConfig?.vchart;
|
1121
|
-
if (baseConfigVChartTheme) {
|
1122
|
-
const baseConfigVChart = result.baseConfig?.vchart || {};
|
1123
|
-
const mergedConfig = (0, external_remeda_namespaceObject.mergeDeep)(baseConfigVChartTheme, (0, external_remeda_namespaceObject.clone)(baseConfigVChart));
|
1124
|
-
result.baseConfig = {
|
1125
|
-
vchart: mergedConfig
|
1126
|
-
};
|
1127
|
-
}
|
1128
1113
|
const chartConfigTheme = customTheme?.[theme].config?.[chartType];
|
1129
1114
|
if (chartConfigTheme) {
|
1130
1115
|
const chartConfig = result.config?.[chartType] || {};
|
@@ -1133,6 +1118,12 @@ const vchartTheme = (advancedVSeed, context)=>{
|
|
1133
1118
|
[chartType]: mergedConfig
|
1134
1119
|
};
|
1135
1120
|
}
|
1121
|
+
const chartCustomTheme = customTheme?.[theme]?.config?.[chartType];
|
1122
|
+
result.customTheme = {
|
1123
|
+
config: {
|
1124
|
+
[chartType]: chartCustomTheme
|
1125
|
+
}
|
1126
|
+
};
|
1136
1127
|
return result;
|
1137
1128
|
};
|
1138
1129
|
const pivotAdapter = (pipeline, pivotPipeline)=>(advancedVSeed, context)=>{
|
@@ -1186,9 +1177,8 @@ const lineAdvancedPipeline = [
|
|
1186
1177
|
pivotReshapeTo2D1M
|
1187
1178
|
]),
|
1188
1179
|
encodingXY,
|
1189
|
-
vchartBaseConfig,
|
1190
1180
|
lineConfig,
|
1191
|
-
|
1181
|
+
theme_theme,
|
1192
1182
|
markStyle_markStyle,
|
1193
1183
|
annotation_annotation
|
1194
1184
|
];
|
@@ -1204,8 +1194,7 @@ const barAdvancedPipeline = [
|
|
1204
1194
|
]),
|
1205
1195
|
encodingYX,
|
1206
1196
|
barConfig,
|
1207
|
-
|
1208
|
-
vchartTheme,
|
1197
|
+
theme_theme,
|
1209
1198
|
markStyle_markStyle,
|
1210
1199
|
annotation_annotation
|
1211
1200
|
];
|
@@ -1221,8 +1210,7 @@ const barParallelAdvancedPipeline = [
|
|
1221
1210
|
]),
|
1222
1211
|
encodingYX,
|
1223
1212
|
barParallelConfig,
|
1224
|
-
|
1225
|
-
vchartTheme,
|
1213
|
+
theme_theme,
|
1226
1214
|
markStyle_markStyle,
|
1227
1215
|
annotation_annotation
|
1228
1216
|
];
|
@@ -1238,8 +1226,7 @@ const barPercentAdvancedPipeline = [
|
|
1238
1226
|
]),
|
1239
1227
|
encodingYX,
|
1240
1228
|
barPercentConfig,
|
1241
|
-
|
1242
|
-
vchartTheme,
|
1229
|
+
theme_theme,
|
1243
1230
|
markStyle_markStyle,
|
1244
1231
|
annotation_annotation
|
1245
1232
|
];
|
@@ -1255,8 +1242,7 @@ const columnAdvancedPipeline = [
|
|
1255
1242
|
]),
|
1256
1243
|
encodingXY,
|
1257
1244
|
columnConfig,
|
1258
|
-
|
1259
|
-
vchartTheme,
|
1245
|
+
theme_theme,
|
1260
1246
|
markStyle_markStyle,
|
1261
1247
|
annotation_annotation
|
1262
1248
|
];
|
@@ -1272,8 +1258,7 @@ const columnParallelAdvancedPipeline = [
|
|
1272
1258
|
]),
|
1273
1259
|
encodingXY,
|
1274
1260
|
columnParallelConfig,
|
1275
|
-
|
1276
|
-
vchartTheme,
|
1261
|
+
theme_theme,
|
1277
1262
|
markStyle_markStyle,
|
1278
1263
|
annotation_annotation
|
1279
1264
|
];
|
@@ -1289,8 +1274,7 @@ const columnPercentAdvancedPipeline = [
|
|
1289
1274
|
]),
|
1290
1275
|
encodingXY,
|
1291
1276
|
columnPercentConfig,
|
1292
|
-
|
1293
|
-
vchartTheme,
|
1277
|
+
theme_theme,
|
1294
1278
|
markStyle_markStyle,
|
1295
1279
|
annotation_annotation
|
1296
1280
|
];
|
@@ -1306,8 +1290,7 @@ const areaAdvancedPipeline = [
|
|
1306
1290
|
]),
|
1307
1291
|
encodingXY,
|
1308
1292
|
areaConfig,
|
1309
|
-
|
1310
|
-
vchartTheme,
|
1293
|
+
theme_theme,
|
1311
1294
|
markStyle_markStyle,
|
1312
1295
|
annotation_annotation
|
1313
1296
|
];
|
@@ -1323,8 +1306,7 @@ const areaPercentAdvancedPipeline = [
|
|
1323
1306
|
]),
|
1324
1307
|
encodingXY,
|
1325
1308
|
areaPercentConfig,
|
1326
|
-
|
1327
|
-
vchartTheme,
|
1309
|
+
theme_theme,
|
1328
1310
|
markStyle_markStyle,
|
1329
1311
|
annotation_annotation
|
1330
1312
|
];
|
@@ -1340,8 +1322,7 @@ const pieAdvancedPipeline = [
|
|
1340
1322
|
]),
|
1341
1323
|
encodingPie,
|
1342
1324
|
pieConfig,
|
1343
|
-
|
1344
|
-
vchartTheme,
|
1325
|
+
theme_theme,
|
1345
1326
|
annotation_annotation
|
1346
1327
|
];
|
1347
1328
|
const donutAdvancedPipeline = [
|
@@ -1356,8 +1337,7 @@ const donutAdvancedPipeline = [
|
|
1356
1337
|
]),
|
1357
1338
|
encodingPie,
|
1358
1339
|
donutConfig,
|
1359
|
-
|
1360
|
-
vchartTheme,
|
1340
|
+
theme_theme,
|
1361
1341
|
annotation_annotation
|
1362
1342
|
];
|
1363
1343
|
const roseAdvancedPipeline = [
|
@@ -1372,8 +1352,7 @@ const roseAdvancedPipeline = [
|
|
1372
1352
|
]),
|
1373
1353
|
encodingRose,
|
1374
1354
|
roseConfig,
|
1375
|
-
|
1376
|
-
vchartTheme,
|
1355
|
+
theme_theme,
|
1377
1356
|
markStyle_markStyle,
|
1378
1357
|
annotation_annotation
|
1379
1358
|
];
|
@@ -1389,8 +1368,7 @@ const roseParallelAdvancedPipeline = [
|
|
1389
1368
|
]),
|
1390
1369
|
encodingRose,
|
1391
1370
|
roseParallelConfig,
|
1392
|
-
|
1393
|
-
vchartTheme,
|
1371
|
+
theme_theme,
|
1394
1372
|
markStyle_markStyle,
|
1395
1373
|
annotation_annotation
|
1396
1374
|
];
|
@@ -1406,8 +1384,7 @@ const funnelAdvancedPipeline = [
|
|
1406
1384
|
]),
|
1407
1385
|
encodingFunnel,
|
1408
1386
|
funnelConfig,
|
1409
|
-
|
1410
|
-
vchartTheme,
|
1387
|
+
theme_theme,
|
1411
1388
|
annotation_annotation
|
1412
1389
|
];
|
1413
1390
|
const encodingYY = (advancedVSeed)=>{
|
@@ -1457,9 +1434,8 @@ const scatterAdvancedPipeline = [
|
|
1457
1434
|
pivotReshapeTo1D2M
|
1458
1435
|
]),
|
1459
1436
|
encodingYY,
|
1460
|
-
vchartBaseConfig,
|
1461
1437
|
scatterConfig,
|
1462
|
-
|
1438
|
+
theme_theme,
|
1463
1439
|
markStyle_markStyle,
|
1464
1440
|
annotation_annotation
|
1465
1441
|
];
|
@@ -1665,7 +1641,8 @@ const initPie = (spec, context)=>{
|
|
1665
1641
|
result.pie = {
|
1666
1642
|
style: {
|
1667
1643
|
stroke: '#ffffff',
|
1668
|
-
lineWidth: 1
|
1644
|
+
lineWidth: 1,
|
1645
|
+
centerOffset: 0
|
1669
1646
|
},
|
1670
1647
|
state: {
|
1671
1648
|
hover: {
|
@@ -1955,13 +1932,14 @@ const xLinear = (spec, context)=>{
|
|
1955
1932
|
];
|
1956
1933
|
return result;
|
1957
1934
|
}
|
1958
|
-
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;
|
1959
1936
|
const linearAxis = {
|
1960
1937
|
visible,
|
1961
|
-
type: 'linear',
|
1938
|
+
type: log ? 'log' : 'linear',
|
1939
|
+
base: logBase,
|
1962
1940
|
orient: 'bottom',
|
1963
1941
|
nice,
|
1964
|
-
zero,
|
1942
|
+
zero: log ? false : zero,
|
1965
1943
|
inverse,
|
1966
1944
|
max,
|
1967
1945
|
min,
|
@@ -2131,13 +2109,14 @@ const yLinear = (spec, context)=>{
|
|
2131
2109
|
];
|
2132
2110
|
return result;
|
2133
2111
|
}
|
2134
|
-
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;
|
2135
2113
|
const linearAxis = {
|
2136
2114
|
visible,
|
2137
|
-
type: 'linear',
|
2115
|
+
type: log ? 'log' : 'linear',
|
2116
|
+
base: logBase,
|
2138
2117
|
orient: 'left',
|
2139
2118
|
nice,
|
2140
|
-
zero,
|
2119
|
+
zero: log ? false : zero,
|
2141
2120
|
inverse,
|
2142
2121
|
max,
|
2143
2122
|
min,
|
@@ -2293,25 +2272,22 @@ const background_backgroundColor = (spec, context)=>{
|
|
2293
2272
|
...spec
|
2294
2273
|
};
|
2295
2274
|
const { advancedVSeed } = context;
|
2296
|
-
const {
|
2297
|
-
|
2298
|
-
const { backgroundColor } = baseConfig
|
2275
|
+
const { chartType } = advancedVSeed;
|
2276
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2277
|
+
const { backgroundColor } = baseConfig;
|
2299
2278
|
return {
|
2300
2279
|
...result,
|
2301
2280
|
background: backgroundColor
|
2302
2281
|
};
|
2303
2282
|
};
|
2304
|
-
const defaultTooltip = {
|
2305
|
-
enable: true
|
2306
|
-
};
|
2307
2283
|
const tooltip_tooltip = (spec, context)=>{
|
2308
2284
|
const result = {
|
2309
2285
|
...spec
|
2310
2286
|
};
|
2311
2287
|
const { advancedVSeed } = context;
|
2312
|
-
const { measures, datasetReshapeInfo } = advancedVSeed;
|
2313
|
-
const baseConfig = advancedVSeed.
|
2314
|
-
const { tooltip
|
2288
|
+
const { measures, datasetReshapeInfo, chartType } = advancedVSeed;
|
2289
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2290
|
+
const { tooltip } = baseConfig;
|
2315
2291
|
const { enable } = tooltip;
|
2316
2292
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2317
2293
|
const { groupName } = datasetReshapeInfo[0].unfoldInfo;
|
@@ -2373,7 +2349,8 @@ const label_label = (spec, context)=>{
|
|
2373
2349
|
};
|
2374
2350
|
const { advancedVSeed } = context;
|
2375
2351
|
const { measures, datasetReshapeInfo, locale } = advancedVSeed;
|
2376
|
-
const
|
2352
|
+
const { chartType } = advancedVSeed;
|
2353
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2377
2354
|
if (!baseConfig || !baseConfig.label) return result;
|
2378
2355
|
const { measureId, measureValue } = datasetReshapeInfo[0].foldInfo;
|
2379
2356
|
const { label } = baseConfig;
|
@@ -2405,9 +2382,9 @@ const discreteLegend = (spec, context)=>{
|
|
2405
2382
|
...spec
|
2406
2383
|
};
|
2407
2384
|
const { advancedVSeed } = context;
|
2408
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2385
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2409
2386
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2410
|
-
const baseConfig = advancedVSeed.
|
2387
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2411
2388
|
if (!baseConfig || !baseConfig.legend) return result;
|
2412
2389
|
const { legend } = baseConfig;
|
2413
2390
|
const { enable, position = 'bottom', labelFontColor, labelFontSize = 12, labelFontWeight, maxSize, border, shapeType = 'rectRound' } = legend || {};
|
@@ -2504,7 +2481,8 @@ const pivotDiscreteLegend = (spec, context)=>{
|
|
2504
2481
|
...spec
|
2505
2482
|
};
|
2506
2483
|
const { advancedVSeed } = context;
|
2507
|
-
const
|
2484
|
+
const { chartType } = advancedVSeed;
|
2485
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2508
2486
|
if (!baseConfig || !baseConfig.legend) return result;
|
2509
2487
|
const { datasetReshapeInfo } = advancedVSeed;
|
2510
2488
|
const colorItems = (0, external_remeda_namespaceObject.unique)(datasetReshapeInfo.flatMap((d)=>d.unfoldInfo.colorItems));
|
@@ -2613,9 +2591,9 @@ const color_color = (spec, context)=>{
|
|
2613
2591
|
...spec
|
2614
2592
|
};
|
2615
2593
|
const { advancedVSeed } = context;
|
2616
|
-
const { datasetReshapeInfo } = advancedVSeed;
|
2594
|
+
const { datasetReshapeInfo, chartType } = advancedVSeed;
|
2617
2595
|
const { unfoldInfo } = datasetReshapeInfo[0];
|
2618
|
-
const baseConfig = advancedVSeed.
|
2596
|
+
const baseConfig = advancedVSeed.config[chartType];
|
2619
2597
|
if (!baseConfig || !baseConfig.color) return result;
|
2620
2598
|
const { color } = baseConfig;
|
2621
2599
|
const { colorScheme, colorMapping } = color;
|
@@ -3017,8 +2995,7 @@ const pointStyle_pointStyle = (spec, context)=>{
|
|
3017
2995
|
const { markStyle } = advancedVSeed;
|
3018
2996
|
const { pointStyle } = markStyle;
|
3019
2997
|
const result = {
|
3020
|
-
...spec
|
3021
|
-
point: {}
|
2998
|
+
...spec
|
3022
2999
|
};
|
3023
3000
|
if (!pointStyle) return result;
|
3024
3001
|
const pointStyles = Array.isArray(pointStyle) ? pointStyle : [
|
@@ -3071,6 +3048,7 @@ const pointStateDimensionHover = (spec)=>{
|
|
3071
3048
|
point: {
|
3072
3049
|
...point,
|
3073
3050
|
state: {
|
3051
|
+
...point.state || {},
|
3074
3052
|
dimension_hover: {
|
3075
3053
|
scaleX: 1.4,
|
3076
3054
|
scaleY: 1.4
|
@@ -3089,6 +3067,7 @@ const pointStateHover = (spec, context)=>{
|
|
3089
3067
|
point: {
|
3090
3068
|
...point,
|
3091
3069
|
state: {
|
3070
|
+
...point.state || {},
|
3092
3071
|
hover: {
|
3093
3072
|
scaleX: 1.4,
|
3094
3073
|
scaleY: 1.4,
|
@@ -3283,7 +3262,7 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
|
|
3283
3262
|
insideEnd: 'insideEndTop'
|
3284
3263
|
};
|
3285
3264
|
const markLine = annotationVerticalLineList.flatMap((annotationVerticalLine)=>{
|
3286
|
-
const { selector: selectorPoint, xValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'right', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true,
|
3265
|
+
const { selector: selectorPoint, xValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'right', textBaseline = 'top', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1 } = annotationVerticalLine;
|
3287
3266
|
const dataset = advancedVSeed.dataset.flat();
|
3288
3267
|
const generateOneMarkLine = (x)=>({
|
3289
3268
|
x: x,
|
@@ -3291,8 +3270,6 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
|
|
3291
3270
|
line: {
|
3292
3271
|
visible: lineVisible,
|
3293
3272
|
style: {
|
3294
|
-
offsetX,
|
3295
|
-
offsetY,
|
3296
3273
|
stroke: lineColor,
|
3297
3274
|
lineStyle: lineStyle,
|
3298
3275
|
lineWidth: lineWidth,
|
@@ -3311,8 +3288,6 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
|
|
3311
3288
|
text: text,
|
3312
3289
|
position: positionMap[textPosition],
|
3313
3290
|
style: {
|
3314
|
-
offsetX,
|
3315
|
-
offsetY,
|
3316
3291
|
visible: true,
|
3317
3292
|
textAlign: textAlign,
|
3318
3293
|
textBaseline: textBaseline,
|
@@ -3324,8 +3299,6 @@ const annotationVerticalLine_annotationVerticalLine = (spec, context)=>{
|
|
3324
3299
|
visible: backgroundVisible,
|
3325
3300
|
padding: backgroundPadding,
|
3326
3301
|
style: {
|
3327
|
-
offsetX,
|
3328
|
-
offsetY,
|
3329
3302
|
cornerRadius: backgroundBorderRadius ?? 4,
|
3330
3303
|
fill: backgroundColor,
|
3331
3304
|
stroke: backgroundBorderColor,
|
@@ -3380,7 +3353,7 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
|
|
3380
3353
|
insideEnd: 'insideEndTop'
|
3381
3354
|
};
|
3382
3355
|
const markLine = annotationVerticalLineList.flatMap((annotationVerticalLine)=>{
|
3383
|
-
const { selector: selectorPoint, yValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'bottom', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true,
|
3356
|
+
const { selector: selectorPoint, yValue, text = '', textPosition = 'insideEnd', textColor = '#ffffff', textFontSize = 12, textFontWeight = 400, textAlign = 'center', textBaseline = 'bottom', backgroundBorderColor, backgroundBorderRadius = 4, backgroundBorderWidth = 1, backgroundColor = '#212121', backgroundPadding = 2, backgroundVisible = true, lineColor = '#212121', lineStyle = 'dashed', lineVisible = true, lineWidth = 1 } = annotationVerticalLine;
|
3384
3357
|
const dataset = advancedVSeed.dataset.flat();
|
3385
3358
|
const generateOneMarkLine = (y)=>({
|
3386
3359
|
y,
|
@@ -3388,8 +3361,6 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
|
|
3388
3361
|
line: {
|
3389
3362
|
visible: lineVisible,
|
3390
3363
|
style: {
|
3391
|
-
offsetX,
|
3392
|
-
offsetY,
|
3393
3364
|
stroke: lineColor,
|
3394
3365
|
lineStyle: lineStyle,
|
3395
3366
|
lineWidth: lineWidth,
|
@@ -3408,8 +3379,6 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
|
|
3408
3379
|
text: text,
|
3409
3380
|
position: positionMap[textPosition],
|
3410
3381
|
style: {
|
3411
|
-
offsetX,
|
3412
|
-
offsetY,
|
3413
3382
|
visible: true,
|
3414
3383
|
textAlign: textAlign,
|
3415
3384
|
textBaseline: textBaseline,
|
@@ -3421,8 +3390,6 @@ const annotationHorizontalLine_annotationHorizontalLine = (spec, context)=>{
|
|
3421
3390
|
visible: backgroundVisible,
|
3422
3391
|
padding: backgroundPadding,
|
3423
3392
|
style: {
|
3424
|
-
offsetX,
|
3425
|
-
offsetY,
|
3426
3393
|
cornerRadius: backgroundBorderRadius ?? 4,
|
3427
3394
|
fill: backgroundColor,
|
3428
3395
|
stroke: backgroundBorderColor,
|
@@ -4811,52 +4778,49 @@ const lightTheme = ()=>{
|
|
4811
4778
|
labelColor: '#ffffff',
|
4812
4779
|
labelBackgroundColor: '#364159'
|
4813
4780
|
};
|
4814
|
-
|
4815
|
-
|
4816
|
-
|
4817
|
-
|
4818
|
-
|
4819
|
-
|
4820
|
-
|
4821
|
-
|
4822
|
-
|
4823
|
-
|
4824
|
-
|
4825
|
-
|
4826
|
-
|
4827
|
-
|
4828
|
-
|
4829
|
-
|
4830
|
-
|
4831
|
-
|
4832
|
-
|
4833
|
-
|
4834
|
-
|
4835
|
-
label: {
|
4836
|
-
enable: true
|
4837
|
-
},
|
4838
|
-
tooltip: {
|
4839
|
-
enable: true
|
4840
|
-
},
|
4841
|
-
legend: {
|
4842
|
-
enable: true,
|
4843
|
-
border: true,
|
4844
|
-
maxSize: 1,
|
4845
|
-
shapeType: 'rectRound',
|
4846
|
-
position: 'rt',
|
4847
|
-
labelFontColor: '#646A73',
|
4848
|
-
labelFontSize: 12,
|
4849
|
-
labelFontWeight: 400
|
4850
|
-
}
|
4851
|
-
}
|
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
|
4852
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 {
|
4853
4815
|
config: {
|
4854
4816
|
line: {
|
4817
|
+
...baseConfig,
|
4855
4818
|
xAxis: bandAxis,
|
4856
4819
|
yAxis: linearAxis,
|
4857
4820
|
crosshairLine
|
4858
4821
|
},
|
4859
4822
|
column: {
|
4823
|
+
...baseConfig,
|
4860
4824
|
xAxis: bandAxis,
|
4861
4825
|
yAxis: linearAxis,
|
4862
4826
|
crosshairRect,
|
@@ -4868,6 +4832,7 @@ const lightTheme = ()=>{
|
|
4868
4832
|
]
|
4869
4833
|
},
|
4870
4834
|
columnParallel: {
|
4835
|
+
...baseConfig,
|
4871
4836
|
xAxis: bandAxis,
|
4872
4837
|
yAxis: linearAxis,
|
4873
4838
|
crosshairRect,
|
@@ -4879,6 +4844,7 @@ const lightTheme = ()=>{
|
|
4879
4844
|
]
|
4880
4845
|
},
|
4881
4846
|
columnPercent: {
|
4847
|
+
...baseConfig,
|
4882
4848
|
xAxis: bandAxis,
|
4883
4849
|
yAxis: linearAxis,
|
4884
4850
|
crosshairRect,
|
@@ -4890,6 +4856,7 @@ const lightTheme = ()=>{
|
|
4890
4856
|
]
|
4891
4857
|
},
|
4892
4858
|
bar: {
|
4859
|
+
...baseConfig,
|
4893
4860
|
xAxis: linearAxis,
|
4894
4861
|
yAxis: barBandAxis,
|
4895
4862
|
crosshairRect,
|
@@ -4901,6 +4868,7 @@ const lightTheme = ()=>{
|
|
4901
4868
|
]
|
4902
4869
|
},
|
4903
4870
|
barParallel: {
|
4871
|
+
...baseConfig,
|
4904
4872
|
xAxis: linearAxis,
|
4905
4873
|
yAxis: barBandAxis,
|
4906
4874
|
crosshairRect,
|
@@ -4912,6 +4880,7 @@ const lightTheme = ()=>{
|
|
4912
4880
|
]
|
4913
4881
|
},
|
4914
4882
|
barPercent: {
|
4883
|
+
...baseConfig,
|
4915
4884
|
xAxis: linearAxis,
|
4916
4885
|
yAxis: barBandAxis,
|
4917
4886
|
crosshairRect,
|
@@ -4923,16 +4892,19 @@ const lightTheme = ()=>{
|
|
4923
4892
|
]
|
4924
4893
|
},
|
4925
4894
|
area: {
|
4895
|
+
...baseConfig,
|
4926
4896
|
xAxis: bandAxis,
|
4927
4897
|
yAxis: linearAxis,
|
4928
4898
|
crosshairLine
|
4929
4899
|
},
|
4930
4900
|
areaPercent: {
|
4901
|
+
...baseConfig,
|
4931
4902
|
xAxis: bandAxis,
|
4932
4903
|
yAxis: linearAxis,
|
4933
4904
|
crosshairLine
|
4934
4905
|
},
|
4935
4906
|
scatter: {
|
4907
|
+
...baseConfig,
|
4936
4908
|
xAxis: {
|
4937
4909
|
...linearAxis,
|
4938
4910
|
line: {
|
@@ -4948,6 +4920,35 @@ const lightTheme = ()=>{
|
|
4948
4920
|
}
|
4949
4921
|
},
|
4950
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
|
+
}
|
4951
4952
|
}
|
4952
4953
|
}
|
4953
4954
|
};
|
@@ -5056,52 +5057,49 @@ const darkTheme = ()=>{
|
|
5056
5057
|
labelColor: '#4B4F54',
|
5057
5058
|
labelBackgroundColor: '#ffffff'
|
5058
5059
|
};
|
5059
|
-
|
5060
|
-
|
5061
|
-
|
5062
|
-
|
5063
|
-
|
5064
|
-
|
5065
|
-
|
5066
|
-
|
5067
|
-
|
5068
|
-
|
5069
|
-
|
5070
|
-
|
5071
|
-
|
5072
|
-
|
5073
|
-
|
5074
|
-
'#003A8C',
|
5075
|
-
'#B08AE2',
|
5076
|
-
'#FF6341',
|
5077
|
-
'#98DD62'
|
5078
|
-
]
|
5079
|
-
},
|
5080
|
-
label: {
|
5081
|
-
enable: true
|
5082
|
-
},
|
5083
|
-
tooltip: {
|
5084
|
-
enable: true
|
5085
|
-
},
|
5086
|
-
legend: {
|
5087
|
-
enable: true,
|
5088
|
-
border: true,
|
5089
|
-
maxSize: 1,
|
5090
|
-
position: 'rt',
|
5091
|
-
shapeType: 'rectRound',
|
5092
|
-
labelFontColor: '#FDFDFD',
|
5093
|
-
labelFontSize: 12,
|
5094
|
-
labelFontWeight: 400
|
5095
|
-
}
|
5096
|
-
}
|
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
|
+
]
|
5097
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 {
|
5098
5094
|
config: {
|
5099
5095
|
line: {
|
5096
|
+
...baseConfig,
|
5100
5097
|
xAxis: bandAxis,
|
5101
5098
|
yAxis: linearAxis,
|
5102
5099
|
crosshairLine: crosshairLine
|
5103
5100
|
},
|
5104
5101
|
column: {
|
5102
|
+
...baseConfig,
|
5105
5103
|
xAxis: bandAxis,
|
5106
5104
|
yAxis: linearAxis,
|
5107
5105
|
crosshairRect: crosshairRect,
|
@@ -5113,6 +5111,7 @@ const darkTheme = ()=>{
|
|
5113
5111
|
]
|
5114
5112
|
},
|
5115
5113
|
columnParallel: {
|
5114
|
+
...baseConfig,
|
5116
5115
|
xAxis: bandAxis,
|
5117
5116
|
yAxis: linearAxis,
|
5118
5117
|
crosshairRect: crosshairRect,
|
@@ -5124,6 +5123,7 @@ const darkTheme = ()=>{
|
|
5124
5123
|
]
|
5125
5124
|
},
|
5126
5125
|
columnPercent: {
|
5126
|
+
...baseConfig,
|
5127
5127
|
xAxis: bandAxis,
|
5128
5128
|
yAxis: linearAxis,
|
5129
5129
|
crosshairRect: crosshairRect,
|
@@ -5135,6 +5135,7 @@ const darkTheme = ()=>{
|
|
5135
5135
|
]
|
5136
5136
|
},
|
5137
5137
|
bar: {
|
5138
|
+
...baseConfig,
|
5138
5139
|
xAxis: linearAxis,
|
5139
5140
|
yAxis: barBandAxis,
|
5140
5141
|
crosshairRect: crosshairRect,
|
@@ -5146,6 +5147,7 @@ const darkTheme = ()=>{
|
|
5146
5147
|
]
|
5147
5148
|
},
|
5148
5149
|
barParallel: {
|
5150
|
+
...baseConfig,
|
5149
5151
|
xAxis: linearAxis,
|
5150
5152
|
yAxis: barBandAxis,
|
5151
5153
|
crosshairRect: crosshairRect,
|
@@ -5157,6 +5159,7 @@ const darkTheme = ()=>{
|
|
5157
5159
|
]
|
5158
5160
|
},
|
5159
5161
|
barPercent: {
|
5162
|
+
...baseConfig,
|
5160
5163
|
xAxis: linearAxis,
|
5161
5164
|
yAxis: barBandAxis,
|
5162
5165
|
crosshairRect: crosshairRect,
|
@@ -5168,16 +5171,19 @@ const darkTheme = ()=>{
|
|
5168
5171
|
]
|
5169
5172
|
},
|
5170
5173
|
area: {
|
5174
|
+
...baseConfig,
|
5171
5175
|
xAxis: bandAxis,
|
5172
5176
|
yAxis: linearAxis,
|
5173
5177
|
crosshairLine: crosshairLine
|
5174
5178
|
},
|
5175
5179
|
areaPercent: {
|
5180
|
+
...baseConfig,
|
5176
5181
|
xAxis: bandAxis,
|
5177
5182
|
yAxis: linearAxis,
|
5178
5183
|
crosshairLine: crosshairLine
|
5179
5184
|
},
|
5180
5185
|
scatter: {
|
5186
|
+
...baseConfig,
|
5181
5187
|
xAxis: {
|
5182
5188
|
...linearAxis,
|
5183
5189
|
line: {
|
@@ -5193,14 +5199,43 @@ const darkTheme = ()=>{
|
|
5193
5199
|
}
|
5194
5200
|
},
|
5195
5201
|
crosshairLine
|
5196
|
-
}
|
5197
|
-
|
5198
|
-
|
5199
|
-
}
|
5200
|
-
|
5201
|
-
|
5202
|
-
|
5203
|
-
|
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
|
+
}
|
5231
|
+
}
|
5232
|
+
}
|
5233
|
+
};
|
5234
|
+
};
|
5235
|
+
const registerCustomTheme = (key, themeConfig)=>{
|
5236
|
+
const customTheme = 'function' == typeof themeConfig ? themeConfig({
|
5237
|
+
lightTheme: lightTheme(),
|
5238
|
+
darkTheme: darkTheme()
|
5204
5239
|
}) : themeConfig;
|
5205
5240
|
Builder._themeMap[key] = customTheme;
|
5206
5241
|
};
|
@@ -5260,38 +5295,48 @@ const zDimension = external_zod_namespaceObject.z.object({
|
|
5260
5295
|
'dimension',
|
5261
5296
|
'rowDimension',
|
5262
5297
|
'columnDimension'
|
5263
|
-
])
|
5298
|
+
]).default('dimension').optional()
|
5264
5299
|
});
|
5265
5300
|
const zDimensions = external_zod_namespaceObject.z.array(zDimension).optional();
|
5266
5301
|
const zNumFormat = external_zod_namespaceObject.z.object({
|
5267
5302
|
type: external_zod_namespaceObject.z["enum"]([
|
5268
5303
|
'number',
|
5269
5304
|
'percent',
|
5270
|
-
'permille'
|
5305
|
+
'permille',
|
5306
|
+
'scientific'
|
5271
5307
|
]).default('number').optional(),
|
5272
5308
|
ratio: external_zod_namespaceObject.z.number().default(1).optional(),
|
5273
5309
|
symbol: external_zod_namespaceObject.z.string().default('').optional(),
|
5274
5310
|
thousandSeparator: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5275
|
-
decimalPlaces: external_zod_namespaceObject.z.number().default(2).optional(),
|
5276
|
-
round: external_zod_namespaceObject.z["enum"]([
|
5277
|
-
'round',
|
5278
|
-
'floor',
|
5279
|
-
'ceil'
|
5280
|
-
]).default('round').optional(),
|
5281
5311
|
prefix: external_zod_namespaceObject.z.string().default('').optional(),
|
5282
|
-
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()
|
5283
5330
|
}).optional();
|
5284
5331
|
const zMeasure = external_zod_namespaceObject.z.object({
|
5285
5332
|
id: external_zod_namespaceObject.z.string(),
|
5286
5333
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5287
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5288
5334
|
autoFormat: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5289
5335
|
format: zNumFormat["default"]({}).optional()
|
5290
5336
|
});
|
5291
5337
|
const zMeasureGroup = external_zod_namespaceObject.z.object({
|
5292
5338
|
id: external_zod_namespaceObject.z.string(),
|
5293
5339
|
alias: external_zod_namespaceObject.z.string().optional(),
|
5294
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5295
5340
|
get children () {
|
5296
5341
|
return external_zod_namespaceObject.z.array(zMeasureGroup.or(zMeasure)).optional();
|
5297
5342
|
}
|
@@ -5324,15 +5369,117 @@ const zEncoding = external_zod_namespaceObject.z.array(external_zod_namespaceObj
|
|
5324
5369
|
tooltip: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5325
5370
|
size: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional()
|
5326
5371
|
}));
|
5327
|
-
const
|
5328
|
-
|
5329
|
-
|
5372
|
+
const zXBandAxis = external_zod_namespaceObject.z.object({
|
5373
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5374
|
+
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5375
|
+
labelAutoHideGap: external_zod_namespaceObject.z.number().default(0).optional(),
|
5376
|
+
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5377
|
+
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5378
|
+
0,
|
5379
|
+
-45,
|
5380
|
+
-90
|
5381
|
+
]).optional(),
|
5382
|
+
labelAutoLimit: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5383
|
+
labelAutoLimitLength: external_zod_namespaceObject.z.number().default(100).optional(),
|
5384
|
+
label: external_zod_namespaceObject.z.object({
|
5385
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5386
|
+
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5387
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5388
|
+
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5389
|
+
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5390
|
+
}).optional(),
|
5391
|
+
line: external_zod_namespaceObject.z.object({
|
5392
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5393
|
+
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5394
|
+
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5395
|
+
}).optional(),
|
5396
|
+
tick: external_zod_namespaceObject.z.object({
|
5397
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5398
|
+
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5399
|
+
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5400
|
+
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5401
|
+
}).optional(),
|
5402
|
+
title: external_zod_namespaceObject.z.object({
|
5403
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5404
|
+
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5405
|
+
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5406
|
+
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5407
|
+
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5408
|
+
}).optional(),
|
5409
|
+
grid: external_zod_namespaceObject.z.object({
|
5410
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5411
|
+
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5412
|
+
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5413
|
+
}).optional()
|
5330
5414
|
});
|
5415
|
+
const zYBandAxis = zXBandAxis;
|
5416
|
+
const zXLinearAxis = external_zod_namespaceObject.z.object({
|
5417
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5418
|
+
min: external_zod_namespaceObject.z.number().optional(),
|
5419
|
+
max: external_zod_namespaceObject.z.number().optional(),
|
5420
|
+
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
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(),
|
5424
|
+
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5425
|
+
label: external_zod_namespaceObject.z.object({
|
5426
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5427
|
+
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5428
|
+
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5429
|
+
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5430
|
+
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5431
|
+
}).optional(),
|
5432
|
+
line: external_zod_namespaceObject.z.object({
|
5433
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5434
|
+
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5435
|
+
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5436
|
+
}).optional(),
|
5437
|
+
tick: external_zod_namespaceObject.z.object({
|
5438
|
+
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5439
|
+
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5440
|
+
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5441
|
+
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5442
|
+
}).optional(),
|
5443
|
+
title: external_zod_namespaceObject.z.object({
|
5444
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5445
|
+
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5446
|
+
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5447
|
+
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5448
|
+
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5449
|
+
}).optional(),
|
5450
|
+
grid: external_zod_namespaceObject.z.object({
|
5451
|
+
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5452
|
+
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5453
|
+
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5454
|
+
}).optional()
|
5455
|
+
});
|
5456
|
+
const zYLinearAxis = zXLinearAxis;
|
5457
|
+
const zCrosshairLine = external_zod_namespaceObject.z.object({
|
5458
|
+
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5459
|
+
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5460
|
+
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5461
|
+
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5462
|
+
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5463
|
+
});
|
5464
|
+
const zCrosshairRect = external_zod_namespaceObject.z.object({
|
5465
|
+
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5466
|
+
rectColor: external_zod_namespaceObject.z.string().optional(),
|
5467
|
+
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5468
|
+
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5469
|
+
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5470
|
+
});
|
5471
|
+
const zStackCornerRadius = external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())).default([
|
5472
|
+
3,
|
5473
|
+
3,
|
5474
|
+
0,
|
5475
|
+
0
|
5476
|
+
]);
|
5477
|
+
const zBackgroundColor = external_zod_namespaceObject.z.string().default('transparent').optional();
|
5331
5478
|
const zColor = external_zod_namespaceObject.z.object({
|
5332
5479
|
colorScheme: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.string()).optional(),
|
5333
5480
|
colorMapping: external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), external_zod_namespaceObject.z.string()).optional()
|
5334
5481
|
});
|
5335
|
-
const
|
5482
|
+
const zLabel = external_zod_namespaceObject.z.object({
|
5336
5483
|
enable: external_zod_namespaceObject.z.boolean().default(true).optional()
|
5337
5484
|
});
|
5338
5485
|
const zLegend = external_zod_namespaceObject.z.object({
|
@@ -5389,19 +5536,115 @@ const zLegend = external_zod_namespaceObject.z.object({
|
|
5389
5536
|
labelFontColor: external_zod_namespaceObject.z.string().default('#fff').optional(),
|
5390
5537
|
labelFontWeight: external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.string()).default(400).optional()
|
5391
5538
|
});
|
5392
|
-
const
|
5393
|
-
|
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(),
|
5394
5591
|
label: zLabel.optional(),
|
5395
5592
|
color: zColor.optional(),
|
5396
5593
|
tooltip: zTooltip.optional(),
|
5397
5594
|
legend: zLegend.optional()
|
5398
5595
|
});
|
5399
|
-
const
|
5400
|
-
|
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()
|
5401
5603
|
});
|
5402
|
-
const
|
5403
|
-
|
5404
|
-
|
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()
|
5405
5648
|
});
|
5406
5649
|
const zAxis = external_zod_namespaceObject.z.object({
|
5407
5650
|
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
@@ -5410,6 +5653,8 @@ const zAxis = external_zod_namespaceObject.z.object({
|
|
5410
5653
|
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5411
5654
|
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5412
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(),
|
5413
5658
|
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5414
5659
|
labelAutoHideGap: external_zod_namespaceObject.z.number().default(4).optional(),
|
5415
5660
|
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
@@ -5451,175 +5696,11 @@ const zAxis = external_zod_namespaceObject.z.object({
|
|
5451
5696
|
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5452
5697
|
}).optional()
|
5453
5698
|
});
|
5454
|
-
const
|
5455
|
-
|
5456
|
-
labelAutoHide: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5457
|
-
labelAutoHideGap: external_zod_namespaceObject.z.number().default(0).optional(),
|
5458
|
-
labelAutoRotate: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5459
|
-
labelAutoRotateAngleRange: external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number()).default([
|
5460
|
-
0,
|
5461
|
-
-45,
|
5462
|
-
-90
|
5463
|
-
]).optional(),
|
5464
|
-
labelAutoLimit: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5465
|
-
labelAutoLimitLength: external_zod_namespaceObject.z.number().default(100).optional(),
|
5466
|
-
label: external_zod_namespaceObject.z.object({
|
5467
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5468
|
-
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5469
|
-
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5470
|
-
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5471
|
-
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5472
|
-
}).optional(),
|
5473
|
-
line: external_zod_namespaceObject.z.object({
|
5474
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5475
|
-
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5476
|
-
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5477
|
-
}).optional(),
|
5478
|
-
tick: external_zod_namespaceObject.z.object({
|
5479
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5480
|
-
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5481
|
-
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5482
|
-
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5483
|
-
}).optional(),
|
5484
|
-
title: external_zod_namespaceObject.z.object({
|
5485
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5486
|
-
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5487
|
-
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5488
|
-
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5489
|
-
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5490
|
-
}).optional(),
|
5491
|
-
grid: external_zod_namespaceObject.z.object({
|
5492
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5493
|
-
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5494
|
-
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5495
|
-
}).optional()
|
5496
|
-
});
|
5497
|
-
const zYBandAxis = zXBandAxis;
|
5498
|
-
const zXLinearAxis = external_zod_namespaceObject.z.object({
|
5499
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5500
|
-
min: external_zod_namespaceObject.z.number().optional(),
|
5501
|
-
max: external_zod_namespaceObject.z.number().optional(),
|
5502
|
-
nice: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5503
|
-
zero: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5504
|
-
inverse: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5505
|
-
label: external_zod_namespaceObject.z.object({
|
5506
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5507
|
-
labelColor: external_zod_namespaceObject.z.string().default('#797B85').optional(),
|
5508
|
-
labelFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5509
|
-
labelFontWeight: external_zod_namespaceObject.z.number().default(400).optional(),
|
5510
|
-
labelAngle: external_zod_namespaceObject.z.number().default(0).optional()
|
5511
|
-
}).optional(),
|
5512
|
-
line: external_zod_namespaceObject.z.object({
|
5513
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5514
|
-
lineColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5515
|
-
lineWidth: external_zod_namespaceObject.z.number().default(1).optional()
|
5516
|
-
}).optional(),
|
5517
|
-
tick: external_zod_namespaceObject.z.object({
|
5518
|
-
visible: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5519
|
-
tickInside: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5520
|
-
tickColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.30)').optional(),
|
5521
|
-
tickSize: external_zod_namespaceObject.z.number().default(4).optional()
|
5522
|
-
}).optional(),
|
5523
|
-
title: external_zod_namespaceObject.z.object({
|
5524
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5525
|
-
titleText: external_zod_namespaceObject.z.string().default('').optional(),
|
5526
|
-
titleColor: external_zod_namespaceObject.z.string().default('#646A73').optional(),
|
5527
|
-
titleFontSize: external_zod_namespaceObject.z.number().default(12).optional(),
|
5528
|
-
titleFontWeight: external_zod_namespaceObject.z.number().default(400).optional()
|
5529
|
-
}).optional(),
|
5530
|
-
grid: external_zod_namespaceObject.z.object({
|
5531
|
-
visible: external_zod_namespaceObject.z.boolean().default(false).optional(),
|
5532
|
-
gridColor: external_zod_namespaceObject.z.string().default('rgba(54, 65, 89, 0.15)').optional(),
|
5533
|
-
gridWidth: external_zod_namespaceObject.z.number().default(0.5).optional()
|
5534
|
-
}).optional()
|
5535
|
-
});
|
5536
|
-
const zYLinearAxis = zXLinearAxis;
|
5537
|
-
const zCrosshairLine = external_zod_namespaceObject.z.object({
|
5538
|
-
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5539
|
-
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5540
|
-
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5541
|
-
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5542
|
-
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5543
|
-
});
|
5544
|
-
const zCrosshairRect = external_zod_namespaceObject.z.object({
|
5545
|
-
visible: external_zod_namespaceObject.z.boolean().optional(),
|
5546
|
-
rectColor: external_zod_namespaceObject.z.string().optional(),
|
5547
|
-
labelColor: external_zod_namespaceObject.z.string().optional(),
|
5548
|
-
labelVisible: external_zod_namespaceObject.z.boolean().optional(),
|
5549
|
-
labelBackgroundColor: external_zod_namespaceObject.z.string().optional()
|
5550
|
-
});
|
5551
|
-
const zStackCornerRadius = external_zod_namespaceObject.z.number().or(external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())).default([
|
5552
|
-
3,
|
5553
|
-
3,
|
5554
|
-
0,
|
5555
|
-
0
|
5556
|
-
]);
|
5557
|
-
const zConfig = external_zod_namespaceObject.z.object({
|
5558
|
-
table: external_zod_namespaceObject.z.object({}).optional(),
|
5559
|
-
pivotTable: external_zod_namespaceObject.z.object({}).optional(),
|
5560
|
-
line: external_zod_namespaceObject.z.object({
|
5561
|
-
xAxis: zXBandAxis.optional(),
|
5562
|
-
yAxis: zYLinearAxis.optional(),
|
5563
|
-
crosshairLine: zCrosshairLine.optional()
|
5564
|
-
}).optional(),
|
5565
|
-
column: external_zod_namespaceObject.z.object({
|
5566
|
-
xAxis: zXBandAxis.optional(),
|
5567
|
-
yAxis: zYLinearAxis.optional(),
|
5568
|
-
crosshairRect: zCrosshairRect.optional(),
|
5569
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5570
|
-
}).optional(),
|
5571
|
-
columnParallel: external_zod_namespaceObject.z.object({
|
5572
|
-
xAxis: zXBandAxis.optional(),
|
5573
|
-
yAxis: zYLinearAxis.optional(),
|
5574
|
-
crosshairRect: zCrosshairRect.optional(),
|
5575
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5576
|
-
}).optional(),
|
5577
|
-
columnPercent: external_zod_namespaceObject.z.object({
|
5578
|
-
xAxis: zXBandAxis.optional(),
|
5579
|
-
yAxis: zYLinearAxis.optional(),
|
5580
|
-
crosshairRect: zCrosshairRect.optional(),
|
5581
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5582
|
-
}).optional(),
|
5583
|
-
bar: external_zod_namespaceObject.z.object({
|
5584
|
-
xAxis: zXLinearAxis.optional(),
|
5585
|
-
yAxis: zYBandAxis.optional(),
|
5586
|
-
crosshairRect: zCrosshairRect.optional(),
|
5587
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5588
|
-
}).optional(),
|
5589
|
-
barParallel: external_zod_namespaceObject.z.object({
|
5590
|
-
xAxis: zXLinearAxis.optional(),
|
5591
|
-
yAxis: zYBandAxis.optional(),
|
5592
|
-
crosshairRect: zCrosshairRect.optional(),
|
5593
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5594
|
-
}).optional(),
|
5595
|
-
barPercent: external_zod_namespaceObject.z.object({
|
5596
|
-
xAxis: zXLinearAxis.optional(),
|
5597
|
-
yAxis: zYBandAxis.optional(),
|
5598
|
-
crosshairRect: zCrosshairRect.optional(),
|
5599
|
-
stackCornerRadius: zStackCornerRadius.optional()
|
5600
|
-
}).optional(),
|
5601
|
-
area: external_zod_namespaceObject.z.object({
|
5602
|
-
xAxis: zXBandAxis.optional(),
|
5603
|
-
yAxis: zYLinearAxis.optional(),
|
5604
|
-
crosshairLine: zCrosshairLine.optional()
|
5605
|
-
}).optional(),
|
5606
|
-
areaPercent: external_zod_namespaceObject.z.object({
|
5607
|
-
xAxis: zXBandAxis.optional(),
|
5608
|
-
yAxis: zYLinearAxis.optional(),
|
5609
|
-
crosshairLine: zCrosshairLine.optional()
|
5610
|
-
}).optional(),
|
5611
|
-
rose: external_zod_namespaceObject.z.object({}).optional(),
|
5612
|
-
roseParallel: external_zod_namespaceObject.z.object({}).optional(),
|
5613
|
-
pie: external_zod_namespaceObject.z.object({}).optional(),
|
5614
|
-
donut: external_zod_namespaceObject.z.object({}).optional(),
|
5615
|
-
dualAxis: external_zod_namespaceObject.z.object({}).optional(),
|
5616
|
-
scatter: external_zod_namespaceObject.z.object({
|
5617
|
-
xAxis: zXLinearAxis.optional(),
|
5618
|
-
yAxis: zYLinearAxis.optional(),
|
5619
|
-
crosshairLine: zCrosshairLine.optional()
|
5620
|
-
}).optional(),
|
5621
|
-
funnel: external_zod_namespaceObject.z.object({}).optional()
|
5699
|
+
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
5700
|
+
config: zConfig.optional()
|
5622
5701
|
});
|
5702
|
+
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
5703
|
+
const zTheme = external_zod_namespaceObject.z.string();
|
5623
5704
|
const zSelector = external_zod_namespaceObject.z.union([
|
5624
5705
|
external_zod_namespaceObject.z.string(),
|
5625
5706
|
external_zod_namespaceObject.z.number(),
|
@@ -5653,28 +5734,96 @@ const zSelector = external_zod_namespaceObject.z.union([
|
|
5653
5734
|
external_zod_namespaceObject.z.number()
|
5654
5735
|
]))
|
5655
5736
|
])
|
5656
|
-
}),
|
5657
|
-
external_zod_namespaceObject.z.object({
|
5658
|
-
field: external_zod_namespaceObject.z.string(),
|
5659
|
-
operator: external_zod_namespaceObject.z["enum"]([
|
5660
|
-
'in',
|
5661
|
-
'not in'
|
5662
|
-
]).optional(),
|
5663
|
-
op: external_zod_namespaceObject.z["enum"]([
|
5664
|
-
'in',
|
5665
|
-
'not in'
|
5666
|
-
]).optional(),
|
5667
|
-
value: external_zod_namespaceObject.z.union([
|
5668
|
-
external_zod_namespaceObject.z.string(),
|
5669
|
-
external_zod_namespaceObject.z.number(),
|
5670
|
-
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.union([
|
5671
|
-
external_zod_namespaceObject.z.string(),
|
5672
|
-
external_zod_namespaceObject.z.number()
|
5673
|
-
]))
|
5737
|
+
}),
|
5738
|
+
external_zod_namespaceObject.z.object({
|
5739
|
+
field: external_zod_namespaceObject.z.string(),
|
5740
|
+
operator: external_zod_namespaceObject.z["enum"]([
|
5741
|
+
'in',
|
5742
|
+
'not in'
|
5743
|
+
]).optional(),
|
5744
|
+
op: external_zod_namespaceObject.z["enum"]([
|
5745
|
+
'in',
|
5746
|
+
'not in'
|
5747
|
+
]).optional(),
|
5748
|
+
value: external_zod_namespaceObject.z.union([
|
5749
|
+
external_zod_namespaceObject.z.string(),
|
5750
|
+
external_zod_namespaceObject.z.number(),
|
5751
|
+
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.union([
|
5752
|
+
external_zod_namespaceObject.z.string(),
|
5753
|
+
external_zod_namespaceObject.z.number()
|
5754
|
+
]))
|
5755
|
+
])
|
5756
|
+
})
|
5757
|
+
]);
|
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'
|
5674
5810
|
])
|
5675
|
-
|
5676
|
-
|
5677
|
-
const
|
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
|
+
});
|
5678
5827
|
const zAnnotationPoint = external_zod_namespaceObject.z.object({
|
5679
5828
|
selector: external_zod_namespaceObject.z.union([
|
5680
5829
|
zSelector,
|
@@ -5751,9 +5900,7 @@ const zAnnotationVerticalLine = external_zod_namespaceObject.z.object({
|
|
5751
5900
|
backgroundBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5752
5901
|
backgroundBorderWidth: external_zod_namespaceObject.z.number().default(1).optional(),
|
5753
5902
|
backgroundBorderRadius: external_zod_namespaceObject.z.number().default(4).optional(),
|
5754
|
-
backgroundPadding: external_zod_namespaceObject.z.number().optional()
|
5755
|
-
offsetY: external_zod_namespaceObject.z.number().default(0).optional(),
|
5756
|
-
offsetX: external_zod_namespaceObject.z.number().default(0).optional()
|
5903
|
+
backgroundPadding: external_zod_namespaceObject.z.number().optional()
|
5757
5904
|
});
|
5758
5905
|
const zAnnotationHorizontalLine = external_zod_namespaceObject.z.object({
|
5759
5906
|
selector: external_zod_namespaceObject.z.union([
|
@@ -5803,9 +5950,7 @@ const zAnnotationHorizontalLine = external_zod_namespaceObject.z.object({
|
|
5803
5950
|
backgroundBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5804
5951
|
backgroundBorderWidth: external_zod_namespaceObject.z.number().default(1).optional(),
|
5805
5952
|
backgroundBorderRadius: external_zod_namespaceObject.z.number().default(4).optional(),
|
5806
|
-
backgroundPadding: external_zod_namespaceObject.z.number().optional()
|
5807
|
-
offsetY: external_zod_namespaceObject.z.number().default(0).optional(),
|
5808
|
-
offsetX: external_zod_namespaceObject.z.number().default(0).optional()
|
5953
|
+
backgroundPadding: external_zod_namespaceObject.z.number().optional()
|
5809
5954
|
});
|
5810
5955
|
const zAnnotationArea = external_zod_namespaceObject.z.object({
|
5811
5956
|
selector: external_zod_namespaceObject.z.union([
|
@@ -5855,110 +6000,12 @@ const zAnnotation = external_zod_namespaceObject.z.object({
|
|
5855
6000
|
annotationHorizontalLine: zAnnotationHorizontalLine.or(external_zod_namespaceObject.z.array(zAnnotationHorizontalLine)).optional(),
|
5856
6001
|
annotationArea: zAnnotationArea.or(external_zod_namespaceObject.z.array(zAnnotationArea)).optional()
|
5857
6002
|
});
|
5858
|
-
const zBarStyle = external_zod_namespaceObject.z.object({
|
5859
|
-
selector: external_zod_namespaceObject.z.union([
|
5860
|
-
zSelector,
|
5861
|
-
zSelectors
|
5862
|
-
]).optional(),
|
5863
|
-
barColor: external_zod_namespaceObject.z.string().optional(),
|
5864
|
-
barColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5865
|
-
barBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5866
|
-
barBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5867
|
-
barBorderStyle: external_zod_namespaceObject.z.union([
|
5868
|
-
external_zod_namespaceObject.z.literal('solid'),
|
5869
|
-
external_zod_namespaceObject.z.literal('dashed'),
|
5870
|
-
external_zod_namespaceObject.z.literal('dotted')
|
5871
|
-
]).optional(),
|
5872
|
-
barRadius: external_zod_namespaceObject.z.union([
|
5873
|
-
external_zod_namespaceObject.z.number(),
|
5874
|
-
external_zod_namespaceObject.z.array(external_zod_namespaceObject.z.number())
|
5875
|
-
]).optional()
|
5876
|
-
});
|
5877
|
-
const zPointStyle = external_zod_namespaceObject.z.object({
|
5878
|
-
selector: external_zod_namespaceObject.z.union([
|
5879
|
-
zSelector,
|
5880
|
-
zSelectors
|
5881
|
-
]).optional(),
|
5882
|
-
pointSize: external_zod_namespaceObject.z.number().optional(),
|
5883
|
-
pointColor: external_zod_namespaceObject.z.string().optional(),
|
5884
|
-
pointColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5885
|
-
pointBorderColor: external_zod_namespaceObject.z.string().optional(),
|
5886
|
-
pointBorderWidth: external_zod_namespaceObject.z.number().optional(),
|
5887
|
-
pointBorderStyle: external_zod_namespaceObject.z.union([
|
5888
|
-
external_zod_namespaceObject.z["enum"]([
|
5889
|
-
'solid',
|
5890
|
-
'dashed',
|
5891
|
-
'dotted'
|
5892
|
-
])
|
5893
|
-
]).optional()
|
5894
|
-
});
|
5895
|
-
const zLineStyle = external_zod_namespaceObject.z.object({
|
5896
|
-
selector: external_zod_namespaceObject.z.union([
|
5897
|
-
zSelector,
|
5898
|
-
zSelectors
|
5899
|
-
]).optional(),
|
5900
|
-
lineSmooth: external_zod_namespaceObject.z.boolean().default(true).optional(),
|
5901
|
-
lineColor: external_zod_namespaceObject.z.string().optional(),
|
5902
|
-
lineColorOpacity: external_zod_namespaceObject.z.number().optional(),
|
5903
|
-
lineWidth: external_zod_namespaceObject.z.number().optional(),
|
5904
|
-
lineStyle: external_zod_namespaceObject.z.union([
|
5905
|
-
external_zod_namespaceObject.z["enum"]([
|
5906
|
-
'solid',
|
5907
|
-
'dashed',
|
5908
|
-
'dotted'
|
5909
|
-
])
|
5910
|
-
]).optional()
|
5911
|
-
});
|
5912
|
-
const zAreaStyle = external_zod_namespaceObject.z.object({
|
5913
|
-
selector: external_zod_namespaceObject.z.union([
|
5914
|
-
zSelector,
|
5915
|
-
zSelectors
|
5916
|
-
]).optional(),
|
5917
|
-
areaColor: external_zod_namespaceObject.z.string().optional(),
|
5918
|
-
areaColorOpacity: external_zod_namespaceObject.z.number().optional()
|
5919
|
-
});
|
5920
|
-
const zMarkStyle = external_zod_namespaceObject.z.object({
|
5921
|
-
barStyle: zBarStyle.or(external_zod_namespaceObject.z.array(zBarStyle)).optional(),
|
5922
|
-
pointStyle: zPointStyle.or(external_zod_namespaceObject.z.array(zPointStyle)).optional(),
|
5923
|
-
lineStyle: zLineStyle.or(external_zod_namespaceObject.z.array(zLineStyle)).optional(),
|
5924
|
-
areaStyle: zAreaStyle.or(external_zod_namespaceObject.z.array(zAreaStyle)).optional()
|
5925
|
-
});
|
5926
|
-
const zCustomThemeConfig = external_zod_namespaceObject.z.object({
|
5927
|
-
baseConfig: zBaseConfig.optional(),
|
5928
|
-
config: zConfig.optional(),
|
5929
|
-
annotation: zAnnotation.optional(),
|
5930
|
-
markStyle: zMarkStyle.optional()
|
5931
|
-
});
|
5932
|
-
const zCustomTheme = external_zod_namespaceObject.z.record(external_zod_namespaceObject.z.string(), zCustomThemeConfig).optional();
|
5933
|
-
const zTheme = external_zod_namespaceObject.z.string();
|
5934
6003
|
const zLocale = external_zod_namespaceObject.z["enum"]([
|
5935
6004
|
'zh-CN',
|
5936
6005
|
'en-US'
|
5937
6006
|
]).default('zh-CN');
|
5938
|
-
const
|
5939
|
-
chartType: external_zod_namespaceObject.z.literal('
|
5940
|
-
dataset: zDataset.optional(),
|
5941
|
-
dimensions: zDimensions.optional(),
|
5942
|
-
measures: zMeasures.optional(),
|
5943
|
-
backgroundColor: zBackgroundColor.optional(),
|
5944
|
-
color: zColor.optional(),
|
5945
|
-
label: zLabel.optional(),
|
5946
|
-
legend: zLegend.optional(),
|
5947
|
-
tooltip: zTooltip.optional(),
|
5948
|
-
xAxis: zXLinearAxis.optional(),
|
5949
|
-
yAxis: zYBandAxis.optional(),
|
5950
|
-
crosshairRect: zCrosshairRect.optional(),
|
5951
|
-
stackCornerRadius: zStackCornerRadius.optional(),
|
5952
|
-
theme: zTheme.optional(),
|
5953
|
-
barStyle: zBarStyle.optional(),
|
5954
|
-
annotationPoint: zAnnotationPoint.optional(),
|
5955
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
5956
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
5957
|
-
annotationArea: zAnnotationArea.optional(),
|
5958
|
-
locale: zLocale.optional()
|
5959
|
-
});
|
5960
|
-
const zBarParallel = external_zod_namespaceObject.z.object({
|
5961
|
-
chartType: external_zod_namespaceObject.z.literal('barParallel'),
|
6007
|
+
const zLine = external_zod_namespaceObject.z.object({
|
6008
|
+
chartType: external_zod_namespaceObject.z.literal('line'),
|
5962
6009
|
dataset: zDataset.optional(),
|
5963
6010
|
dimensions: zDimensions.optional(),
|
5964
6011
|
measures: zMeasures.optional(),
|
@@ -5967,16 +6014,16 @@ const zBarParallel = external_zod_namespaceObject.z.object({
|
|
5967
6014
|
label: zLabel.optional(),
|
5968
6015
|
legend: zLegend.optional(),
|
5969
6016
|
tooltip: zTooltip.optional(),
|
5970
|
-
xAxis:
|
5971
|
-
yAxis:
|
5972
|
-
|
5973
|
-
stackCornerRadius: zStackCornerRadius.optional(),
|
6017
|
+
xAxis: zXBandAxis.optional(),
|
6018
|
+
yAxis: zYLinearAxis.optional(),
|
6019
|
+
crosshairLine: zCrosshairLine.optional(),
|
5974
6020
|
theme: zTheme.optional(),
|
5975
|
-
|
5976
|
-
|
5977
|
-
|
5978
|
-
|
5979
|
-
|
6021
|
+
pointStyle: zPointStyle.optional(),
|
6022
|
+
lineStyle: zLineStyle.optional(),
|
6023
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6024
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6025
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6026
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
5980
6027
|
locale: zLocale.optional()
|
5981
6028
|
});
|
5982
6029
|
const zColumn = external_zod_namespaceObject.z.object({
|
@@ -5995,10 +6042,10 @@ const zColumn = external_zod_namespaceObject.z.object({
|
|
5995
6042
|
stackCornerRadius: zStackCornerRadius.optional(),
|
5996
6043
|
theme: zTheme.optional(),
|
5997
6044
|
barStyle: zBarStyle.optional(),
|
5998
|
-
annotationPoint: zAnnotationPoint.optional(),
|
5999
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6000
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6001
|
-
annotationArea: zAnnotationArea.optional(),
|
6045
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6046
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6047
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6048
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6002
6049
|
locale: zLocale.optional()
|
6003
6050
|
});
|
6004
6051
|
const zColumnParallel = external_zod_namespaceObject.z.object({
|
@@ -6017,10 +6064,10 @@ const zColumnParallel = external_zod_namespaceObject.z.object({
|
|
6017
6064
|
stackCornerRadius: zStackCornerRadius.optional(),
|
6018
6065
|
theme: zTheme.optional(),
|
6019
6066
|
barStyle: zBarStyle.optional(),
|
6020
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6021
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6022
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6023
|
-
annotationArea: zAnnotationArea.optional(),
|
6067
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6068
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6069
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6070
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6024
6071
|
locale: zLocale.optional()
|
6025
6072
|
});
|
6026
6073
|
const zColumnPercent = external_zod_namespaceObject.z.object({
|
@@ -6039,14 +6086,14 @@ const zColumnPercent = external_zod_namespaceObject.z.object({
|
|
6039
6086
|
stackCornerRadius: zStackCornerRadius.optional(),
|
6040
6087
|
theme: zTheme.optional(),
|
6041
6088
|
barStyle: zBarStyle.optional(),
|
6042
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6043
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6044
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6045
|
-
annotationArea: zAnnotationArea.optional(),
|
6089
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6090
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6091
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6092
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6046
6093
|
locale: zLocale.optional()
|
6047
6094
|
});
|
6048
|
-
const
|
6049
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6095
|
+
const zBar = external_zod_namespaceObject.z.object({
|
6096
|
+
chartType: external_zod_namespaceObject.z.literal('bar'),
|
6050
6097
|
dataset: zDataset.optional(),
|
6051
6098
|
dimensions: zDimensions.optional(),
|
6052
6099
|
measures: zMeasures.optional(),
|
@@ -6055,20 +6102,20 @@ const zLine = external_zod_namespaceObject.z.object({
|
|
6055
6102
|
label: zLabel.optional(),
|
6056
6103
|
legend: zLegend.optional(),
|
6057
6104
|
tooltip: zTooltip.optional(),
|
6058
|
-
xAxis:
|
6059
|
-
yAxis:
|
6060
|
-
|
6105
|
+
xAxis: zXLinearAxis.optional(),
|
6106
|
+
yAxis: zYBandAxis.optional(),
|
6107
|
+
crosshairRect: zCrosshairRect.optional(),
|
6108
|
+
stackCornerRadius: zStackCornerRadius.optional(),
|
6061
6109
|
theme: zTheme.optional(),
|
6062
|
-
|
6063
|
-
|
6064
|
-
|
6065
|
-
|
6066
|
-
|
6067
|
-
annotationArea: zAnnotationArea.optional(),
|
6110
|
+
barStyle: zBarStyle.optional(),
|
6111
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6112
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6113
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6114
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6068
6115
|
locale: zLocale.optional()
|
6069
6116
|
});
|
6070
|
-
const
|
6071
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6117
|
+
const zBarParallel = external_zod_namespaceObject.z.object({
|
6118
|
+
chartType: external_zod_namespaceObject.z.literal('barParallel'),
|
6072
6119
|
dataset: zDataset.optional(),
|
6073
6120
|
dimensions: zDimensions.optional(),
|
6074
6121
|
measures: zMeasures.optional(),
|
@@ -6077,7 +6124,16 @@ const zRose = external_zod_namespaceObject.z.object({
|
|
6077
6124
|
label: zLabel.optional(),
|
6078
6125
|
legend: zLegend.optional(),
|
6079
6126
|
tooltip: zTooltip.optional(),
|
6127
|
+
xAxis: zXLinearAxis.optional(),
|
6128
|
+
yAxis: zYBandAxis.optional(),
|
6129
|
+
crosshairRect: zCrosshairRect.optional(),
|
6130
|
+
stackCornerRadius: zStackCornerRadius.optional(),
|
6080
6131
|
theme: zTheme.optional(),
|
6132
|
+
barStyle: zBarStyle.optional(),
|
6133
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6134
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6135
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6136
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6081
6137
|
locale: zLocale.optional()
|
6082
6138
|
});
|
6083
6139
|
const zBarPercent = external_zod_namespaceObject.z.object({
|
@@ -6096,14 +6152,14 @@ const zBarPercent = external_zod_namespaceObject.z.object({
|
|
6096
6152
|
stackCornerRadius: zStackCornerRadius.optional(),
|
6097
6153
|
theme: zTheme.optional(),
|
6098
6154
|
barStyle: zBarStyle.optional(),
|
6099
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6100
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6101
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6102
|
-
annotationArea: zAnnotationArea.optional(),
|
6155
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6156
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6157
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6158
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6103
6159
|
locale: zLocale.optional()
|
6104
6160
|
});
|
6105
|
-
const
|
6106
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6161
|
+
const zArea = external_zod_namespaceObject.z.object({
|
6162
|
+
chartType: external_zod_namespaceObject.z.literal('area'),
|
6107
6163
|
dataset: zDataset.optional(),
|
6108
6164
|
dimensions: zDimensions.optional(),
|
6109
6165
|
measures: zMeasures.optional(),
|
@@ -6112,11 +6168,21 @@ const zPie = external_zod_namespaceObject.z.object({
|
|
6112
6168
|
label: zLabel.optional(),
|
6113
6169
|
legend: zLegend.optional(),
|
6114
6170
|
tooltip: zTooltip.optional(),
|
6171
|
+
xAxis: zXBandAxis.optional(),
|
6172
|
+
yAxis: zYLinearAxis.optional(),
|
6173
|
+
crosshairLine: zCrosshairLine.optional(),
|
6115
6174
|
theme: zTheme.optional(),
|
6175
|
+
pointStyle: zPointStyle.optional(),
|
6176
|
+
lineStyle: zLineStyle.optional(),
|
6177
|
+
areaStyle: zAreaStyle.optional(),
|
6178
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6179
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6180
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6181
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6116
6182
|
locale: zLocale.optional()
|
6117
6183
|
});
|
6118
|
-
const
|
6119
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6184
|
+
const zAreaPercent = external_zod_namespaceObject.z.object({
|
6185
|
+
chartType: external_zod_namespaceObject.z.literal('areaPercent'),
|
6120
6186
|
dataset: zDataset.optional(),
|
6121
6187
|
dimensions: zDimensions.optional(),
|
6122
6188
|
measures: zMeasures.optional(),
|
@@ -6125,11 +6191,21 @@ const zDonut = external_zod_namespaceObject.z.object({
|
|
6125
6191
|
label: zLabel.optional(),
|
6126
6192
|
legend: zLegend.optional(),
|
6127
6193
|
tooltip: zTooltip.optional(),
|
6194
|
+
xAxis: zXBandAxis.optional(),
|
6195
|
+
yAxis: zYLinearAxis.optional(),
|
6196
|
+
crosshairLine: zCrosshairLine.optional(),
|
6128
6197
|
theme: zTheme.optional(),
|
6198
|
+
pointStyle: zPointStyle.optional(),
|
6199
|
+
lineStyle: zLineStyle.optional(),
|
6200
|
+
areaStyle: zAreaStyle.optional(),
|
6201
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6202
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6203
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6204
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6129
6205
|
locale: zLocale.optional()
|
6130
6206
|
});
|
6131
|
-
const
|
6132
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6207
|
+
const zRose = external_zod_namespaceObject.z.object({
|
6208
|
+
chartType: external_zod_namespaceObject.z.literal('rose'),
|
6133
6209
|
dataset: zDataset.optional(),
|
6134
6210
|
dimensions: zDimensions.optional(),
|
6135
6211
|
measures: zMeasures.optional(),
|
@@ -6138,21 +6214,11 @@ const zArea = external_zod_namespaceObject.z.object({
|
|
6138
6214
|
label: zLabel.optional(),
|
6139
6215
|
legend: zLegend.optional(),
|
6140
6216
|
tooltip: zTooltip.optional(),
|
6141
|
-
xAxis: zXBandAxis.optional(),
|
6142
|
-
yAxis: zYLinearAxis.optional(),
|
6143
|
-
crosshairLine: zCrosshairLine.optional(),
|
6144
6217
|
theme: zTheme.optional(),
|
6145
|
-
pointStyle: zPointStyle.optional(),
|
6146
|
-
lineStyle: zLineStyle.optional(),
|
6147
|
-
areaStyle: zAreaStyle.optional(),
|
6148
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6149
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6150
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6151
|
-
annotationArea: zAnnotationArea.optional(),
|
6152
6218
|
locale: zLocale.optional()
|
6153
6219
|
});
|
6154
|
-
const
|
6155
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6220
|
+
const zRoseParallel = external_zod_namespaceObject.z.object({
|
6221
|
+
chartType: external_zod_namespaceObject.z.literal('roseParallel'),
|
6156
6222
|
dataset: zDataset.optional(),
|
6157
6223
|
dimensions: zDimensions.optional(),
|
6158
6224
|
measures: zMeasures.optional(),
|
@@ -6161,21 +6227,24 @@ const zAreaPercent = external_zod_namespaceObject.z.object({
|
|
6161
6227
|
label: zLabel.optional(),
|
6162
6228
|
legend: zLegend.optional(),
|
6163
6229
|
tooltip: zTooltip.optional(),
|
6164
|
-
xAxis: zXBandAxis.optional(),
|
6165
|
-
yAxis: zYLinearAxis.optional(),
|
6166
|
-
crosshairLine: zCrosshairLine.optional(),
|
6167
6230
|
theme: zTheme.optional(),
|
6168
|
-
pointStyle: zPointStyle.optional(),
|
6169
|
-
lineStyle: zLineStyle.optional(),
|
6170
|
-
areaStyle: zAreaStyle.optional(),
|
6171
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6172
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6173
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6174
|
-
annotationArea: zAnnotationArea.optional(),
|
6175
6231
|
locale: zLocale.optional()
|
6176
6232
|
});
|
6177
|
-
const
|
6178
|
-
chartType: external_zod_namespaceObject.z.literal('
|
6233
|
+
const zPie = external_zod_namespaceObject.z.object({
|
6234
|
+
chartType: external_zod_namespaceObject.z.literal('pie'),
|
6235
|
+
dataset: zDataset.optional(),
|
6236
|
+
dimensions: zDimensions.optional(),
|
6237
|
+
measures: zMeasures.optional(),
|
6238
|
+
backgroundColor: zBackgroundColor.optional(),
|
6239
|
+
color: zColor.optional(),
|
6240
|
+
label: zLabel.optional(),
|
6241
|
+
legend: zLegend.optional(),
|
6242
|
+
tooltip: zTooltip.optional(),
|
6243
|
+
theme: zTheme.optional(),
|
6244
|
+
locale: zLocale.optional()
|
6245
|
+
});
|
6246
|
+
const zDonut = external_zod_namespaceObject.z.object({
|
6247
|
+
chartType: external_zod_namespaceObject.z.literal('donut'),
|
6179
6248
|
dataset: zDataset.optional(),
|
6180
6249
|
dimensions: zDimensions.optional(),
|
6181
6250
|
measures: zMeasures.optional(),
|
@@ -6202,10 +6271,10 @@ const zScatter = external_zod_namespaceObject.z.object({
|
|
6202
6271
|
crosshairLine: zCrosshairLine.optional(),
|
6203
6272
|
theme: zTheme.optional(),
|
6204
6273
|
pointStyle: zPointStyle.optional(),
|
6205
|
-
annotationPoint: zAnnotationPoint.optional(),
|
6206
|
-
annotationVerticalLine: zAnnotationVerticalLine.optional(),
|
6207
|
-
annotationHorizontalLine: zAnnotationHorizontalLine.optional(),
|
6208
|
-
annotationArea: zAnnotationArea.optional(),
|
6274
|
+
annotationPoint: external_zod_namespaceObject.z.array(zAnnotationPoint).or(zAnnotationPoint).optional(),
|
6275
|
+
annotationVerticalLine: external_zod_namespaceObject.z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).optional(),
|
6276
|
+
annotationHorizontalLine: external_zod_namespaceObject.z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).optional(),
|
6277
|
+
annotationArea: external_zod_namespaceObject.z.array(zAnnotationArea).or(zAnnotationArea).optional(),
|
6209
6278
|
locale: zLocale.optional()
|
6210
6279
|
});
|
6211
6280
|
const zFunnel = external_zod_namespaceObject.z.object({
|
@@ -6238,6 +6307,20 @@ const zVSeed = external_zod_namespaceObject.z.discriminatedUnion('chartType', [
|
|
6238
6307
|
zDonut,
|
6239
6308
|
zFunnel
|
6240
6309
|
]);
|
6310
|
+
const zAdvancedVSeed = external_zod_namespaceObject.z.object({
|
6311
|
+
chartType: zChartType,
|
6312
|
+
dataset: zDataset,
|
6313
|
+
datasetReshapeInfo: zDatasetReshapeInfo,
|
6314
|
+
dimensions: zDimensions,
|
6315
|
+
measures: zMeasures,
|
6316
|
+
encoding: zEncoding,
|
6317
|
+
config: zConfig,
|
6318
|
+
theme: zTheme,
|
6319
|
+
markStyle: zMarkStyle,
|
6320
|
+
customTheme: zCustomThemeConfig,
|
6321
|
+
annotation: zAnnotation,
|
6322
|
+
locale: zLocale
|
6323
|
+
});
|
6241
6324
|
exports.Builder = __webpack_exports__.Builder;
|
6242
6325
|
exports.FoldMeasureId = __webpack_exports__.FoldMeasureId;
|
6243
6326
|
exports.FoldMeasureName = __webpack_exports__.FoldMeasureName;
|
@@ -6308,18 +6391,34 @@ exports.roseSpecPipeline = __webpack_exports__.roseSpecPipeline;
|
|
6308
6391
|
exports.scatterAdvancedPipeline = __webpack_exports__.scatterAdvancedPipeline;
|
6309
6392
|
exports.scatterSpecPipeline = __webpack_exports__.scatterSpecPipeline;
|
6310
6393
|
exports.unfoldDimensions = __webpack_exports__.unfoldDimensions;
|
6394
|
+
exports.zAdvancedVSeed = __webpack_exports__.zAdvancedVSeed;
|
6311
6395
|
exports.zAnnotation = __webpack_exports__.zAnnotation;
|
6312
6396
|
exports.zAnnotationArea = __webpack_exports__.zAnnotationArea;
|
6313
6397
|
exports.zAnnotationHorizontalLine = __webpack_exports__.zAnnotationHorizontalLine;
|
6314
6398
|
exports.zAnnotationPoint = __webpack_exports__.zAnnotationPoint;
|
6315
6399
|
exports.zAnnotationVerticalLine = __webpack_exports__.zAnnotationVerticalLine;
|
6400
|
+
exports.zArea = __webpack_exports__.zArea;
|
6401
|
+
exports.zAreaConfig = __webpack_exports__.zAreaConfig;
|
6402
|
+
exports.zAreaPercent = __webpack_exports__.zAreaPercent;
|
6403
|
+
exports.zAreaPercentConfig = __webpack_exports__.zAreaPercentConfig;
|
6316
6404
|
exports.zAreaStyle = __webpack_exports__.zAreaStyle;
|
6317
6405
|
exports.zAxis = __webpack_exports__.zAxis;
|
6318
6406
|
exports.zBackgroundColor = __webpack_exports__.zBackgroundColor;
|
6407
|
+
exports.zBar = __webpack_exports__.zBar;
|
6408
|
+
exports.zBarConfig = __webpack_exports__.zBarConfig;
|
6409
|
+
exports.zBarParallel = __webpack_exports__.zBarParallel;
|
6410
|
+
exports.zBarParallelConfig = __webpack_exports__.zBarParallelConfig;
|
6411
|
+
exports.zBarPercent = __webpack_exports__.zBarPercent;
|
6412
|
+
exports.zBarPercentConfig = __webpack_exports__.zBarPercentConfig;
|
6319
6413
|
exports.zBarStyle = __webpack_exports__.zBarStyle;
|
6320
|
-
exports.zBaseConfig = __webpack_exports__.zBaseConfig;
|
6321
6414
|
exports.zChartType = __webpack_exports__.zChartType;
|
6322
6415
|
exports.zColor = __webpack_exports__.zColor;
|
6416
|
+
exports.zColumn = __webpack_exports__.zColumn;
|
6417
|
+
exports.zColumnConfig = __webpack_exports__.zColumnConfig;
|
6418
|
+
exports.zColumnParallel = __webpack_exports__.zColumnParallel;
|
6419
|
+
exports.zColumnParallelConfig = __webpack_exports__.zColumnParallelConfig;
|
6420
|
+
exports.zColumnPercent = __webpack_exports__.zColumnPercent;
|
6421
|
+
exports.zColumnPercentConfig = __webpack_exports__.zColumnPercentConfig;
|
6323
6422
|
exports.zConfig = __webpack_exports__.zConfig;
|
6324
6423
|
exports.zCrosshairLine = __webpack_exports__.zCrosshairLine;
|
6325
6424
|
exports.zCrosshairRect = __webpack_exports__.zCrosshairRect;
|
@@ -6330,17 +6429,33 @@ exports.zDatasetReshapeInfo = __webpack_exports__.zDatasetReshapeInfo;
|
|
6330
6429
|
exports.zDatum = __webpack_exports__.zDatum;
|
6331
6430
|
exports.zDimension = __webpack_exports__.zDimension;
|
6332
6431
|
exports.zDimensions = __webpack_exports__.zDimensions;
|
6432
|
+
exports.zDonut = __webpack_exports__.zDonut;
|
6433
|
+
exports.zDonutConfig = __webpack_exports__.zDonutConfig;
|
6434
|
+
exports.zDualAxisConfig = __webpack_exports__.zDualAxisConfig;
|
6333
6435
|
exports.zEncoding = __webpack_exports__.zEncoding;
|
6334
6436
|
exports.zFoldInfo = __webpack_exports__.zFoldInfo;
|
6437
|
+
exports.zFunnel = __webpack_exports__.zFunnel;
|
6438
|
+
exports.zFunnelConfig = __webpack_exports__.zFunnelConfig;
|
6335
6439
|
exports.zLabel = __webpack_exports__.zLabel;
|
6336
6440
|
exports.zLegend = __webpack_exports__.zLegend;
|
6441
|
+
exports.zLine = __webpack_exports__.zLine;
|
6442
|
+
exports.zLineConfig = __webpack_exports__.zLineConfig;
|
6337
6443
|
exports.zLineStyle = __webpack_exports__.zLineStyle;
|
6444
|
+
exports.zLocale = __webpack_exports__.zLocale;
|
6338
6445
|
exports.zMarkStyle = __webpack_exports__.zMarkStyle;
|
6339
6446
|
exports.zMeasure = __webpack_exports__.zMeasure;
|
6340
6447
|
exports.zMeasureGroup = __webpack_exports__.zMeasureGroup;
|
6341
6448
|
exports.zMeasures = __webpack_exports__.zMeasures;
|
6342
6449
|
exports.zNumFormat = __webpack_exports__.zNumFormat;
|
6450
|
+
exports.zPie = __webpack_exports__.zPie;
|
6451
|
+
exports.zPieConfig = __webpack_exports__.zPieConfig;
|
6343
6452
|
exports.zPointStyle = __webpack_exports__.zPointStyle;
|
6453
|
+
exports.zRose = __webpack_exports__.zRose;
|
6454
|
+
exports.zRoseConfig = __webpack_exports__.zRoseConfig;
|
6455
|
+
exports.zRoseParallel = __webpack_exports__.zRoseParallel;
|
6456
|
+
exports.zRoseParallelConfig = __webpack_exports__.zRoseParallelConfig;
|
6457
|
+
exports.zScatter = __webpack_exports__.zScatter;
|
6458
|
+
exports.zScatterConfig = __webpack_exports__.zScatterConfig;
|
6344
6459
|
exports.zStackCornerRadius = __webpack_exports__.zStackCornerRadius;
|
6345
6460
|
exports.zTheme = __webpack_exports__.zTheme;
|
6346
6461
|
exports.zTooltip = __webpack_exports__.zTooltip;
|
@@ -6421,18 +6536,34 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6421
6536
|
"scatterAdvancedPipeline",
|
6422
6537
|
"scatterSpecPipeline",
|
6423
6538
|
"unfoldDimensions",
|
6539
|
+
"zAdvancedVSeed",
|
6424
6540
|
"zAnnotation",
|
6425
6541
|
"zAnnotationArea",
|
6426
6542
|
"zAnnotationHorizontalLine",
|
6427
6543
|
"zAnnotationPoint",
|
6428
6544
|
"zAnnotationVerticalLine",
|
6545
|
+
"zArea",
|
6546
|
+
"zAreaConfig",
|
6547
|
+
"zAreaPercent",
|
6548
|
+
"zAreaPercentConfig",
|
6429
6549
|
"zAreaStyle",
|
6430
6550
|
"zAxis",
|
6431
6551
|
"zBackgroundColor",
|
6552
|
+
"zBar",
|
6553
|
+
"zBarConfig",
|
6554
|
+
"zBarParallel",
|
6555
|
+
"zBarParallelConfig",
|
6556
|
+
"zBarPercent",
|
6557
|
+
"zBarPercentConfig",
|
6432
6558
|
"zBarStyle",
|
6433
|
-
"zBaseConfig",
|
6434
6559
|
"zChartType",
|
6435
6560
|
"zColor",
|
6561
|
+
"zColumn",
|
6562
|
+
"zColumnConfig",
|
6563
|
+
"zColumnParallel",
|
6564
|
+
"zColumnParallelConfig",
|
6565
|
+
"zColumnPercent",
|
6566
|
+
"zColumnPercentConfig",
|
6436
6567
|
"zConfig",
|
6437
6568
|
"zCrosshairLine",
|
6438
6569
|
"zCrosshairRect",
|
@@ -6443,17 +6574,33 @@ for(var __webpack_i__ in __webpack_exports__)if (-1 === [
|
|
6443
6574
|
"zDatum",
|
6444
6575
|
"zDimension",
|
6445
6576
|
"zDimensions",
|
6577
|
+
"zDonut",
|
6578
|
+
"zDonutConfig",
|
6579
|
+
"zDualAxisConfig",
|
6446
6580
|
"zEncoding",
|
6447
6581
|
"zFoldInfo",
|
6582
|
+
"zFunnel",
|
6583
|
+
"zFunnelConfig",
|
6448
6584
|
"zLabel",
|
6449
6585
|
"zLegend",
|
6586
|
+
"zLine",
|
6587
|
+
"zLineConfig",
|
6450
6588
|
"zLineStyle",
|
6589
|
+
"zLocale",
|
6451
6590
|
"zMarkStyle",
|
6452
6591
|
"zMeasure",
|
6453
6592
|
"zMeasureGroup",
|
6454
6593
|
"zMeasures",
|
6455
6594
|
"zNumFormat",
|
6595
|
+
"zPie",
|
6596
|
+
"zPieConfig",
|
6456
6597
|
"zPointStyle",
|
6598
|
+
"zRose",
|
6599
|
+
"zRoseConfig",
|
6600
|
+
"zRoseParallel",
|
6601
|
+
"zRoseParallelConfig",
|
6602
|
+
"zScatter",
|
6603
|
+
"zScatterConfig",
|
6457
6604
|
"zStackCornerRadius",
|
6458
6605
|
"zTheme",
|
6459
6606
|
"zTooltip",
|