@visactor/vseed 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +646 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/buildSpec.d.ts +1 -2
- package/dist/esm/builder/builder/buildSpec.js.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +54 -14290
- package/dist/esm/builder/builder/builder.js +10 -0
- package/dist/esm/builder/builder/builder.js.map +1 -1
- package/dist/esm/builder/builder/prepare.d.ts +12 -0
- package/dist/esm/builder/builder/prepare.js +269 -0
- package/dist/esm/builder/builder/prepare.js.map +1 -0
- package/dist/esm/builder/register/all.js +4 -1
- package/dist/esm/builder/register/all.js.map +1 -1
- package/dist/esm/builder/register/chartType/index.d.ts +3 -0
- package/dist/esm/builder/register/chartType/index.js +4 -1
- package/dist/esm/builder/register/chartType/raceDonut.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceDonut.js +9 -0
- package/dist/esm/builder/register/chartType/raceDonut.js.map +1 -0
- package/dist/esm/builder/register/chartType/raceLine.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceLine.js +9 -0
- package/dist/esm/builder/register/chartType/raceLine.js.map +1 -0
- package/dist/esm/builder/register/chartType/racePie.d.ts +5 -0
- package/dist/esm/builder/register/chartType/racePie.js +9 -0
- package/dist/esm/builder/register/chartType/racePie.js.map +1 -0
- package/dist/esm/dataReshape/constant.d.ts +1 -0
- package/dist/esm/dataReshape/constant.js +2 -1
- package/dist/esm/dataReshape/constant.js.map +1 -1
- package/dist/esm/dataSelector/selector.d.ts +71 -2
- package/dist/esm/dataSelector/selector.js +96 -32
- package/dist/esm/dataSelector/selector.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/index.js +4 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/raceDonut.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceDonut.js +33 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceDonut.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceLine.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceLine.js +36 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceLine.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/racePie.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/racePie.js +33 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/racePie.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js +2 -1
- package/dist/esm/pipeline/advanced/chart/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +4 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js +0 -3
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js +0 -3
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceDonut.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceDonut.js +74 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceDonut.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceLine.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceLine.js +89 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceLine.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/racePie.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/racePie.js +74 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/racePie.js.map +1 -0
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasures.js +2 -1
- package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasures.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +3 -0
- package/dist/esm/pipeline/spec/chart/pipeline/index.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/raceDonut.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceDonut.js +21 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceDonut.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceLine.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceLine.js +25 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/racePie.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/racePie.js +21 -0
- package/dist/esm/pipeline/spec/chart/pipeline/racePie.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js +10 -4
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.d.ts +8 -2
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js +13 -4
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointCommon.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +8 -4
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js +10 -4
- package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +9 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +7 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/boxLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.js +5 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.js +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/index.d.ts +5 -3
- package/dist/esm/pipeline/spec/chart/pipes/player/index.js +5 -3
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.d.ts +2 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js +8 -7
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerXY.d.ts → playerBar.d.ts} +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerYX.js → playerBar.js} +6 -7
- package/dist/esm/pipeline/spec/chart/pipes/player/playerBar.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerColumn.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerXY.js → playerColumn.js} +6 -7
- package/dist/esm/pipeline/spec/chart/pipes/player/playerColumn.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerYX.d.ts → playerLine.d.ts} +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerLine.js +144 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerLine.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerYY.d.ts → playerPie.d.ts} +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerPie.js +174 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerPie.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerScatter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/{playerYY.js → playerScatter.js} +7 -7
- package/dist/esm/pipeline/spec/chart/pipes/player/playerScatter.js.map +1 -0
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.d.ts +4 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.js +12 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js +6 -3
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js +7 -3
- package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.js.map +1 -1
- package/dist/esm/pipeline/utils/index.d.ts +1 -0
- package/dist/esm/pipeline/utils/index.js +1 -0
- package/dist/esm/pipeline/utils/sandbox/builtin-utils.d.ts +6 -0
- package/dist/esm/pipeline/utils/sandbox/builtin-utils.js +337 -0
- package/dist/esm/pipeline/utils/sandbox/builtin-utils.js.map +1 -0
- package/dist/esm/pipeline/utils/sandbox/execute.d.ts +73 -0
- package/dist/esm/pipeline/utils/sandbox/execute.js +716 -0
- package/dist/esm/pipeline/utils/sandbox/execute.js.map +1 -0
- package/dist/esm/pipeline/utils/sandbox/index.d.ts +7 -0
- package/dist/esm/pipeline/utils/sandbox/index.js +3 -0
- package/dist/esm/theme/dark/dark.js +10 -5
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/dark/raceLine.d.ts +182 -0
- package/dist/esm/theme/dark/raceLine.js +39 -0
- package/dist/esm/theme/dark/raceLine.js.map +1 -0
- package/dist/esm/theme/dark/racePie.d.ts +157 -0
- package/dist/esm/theme/dark/racePie.js +18 -0
- package/dist/esm/theme/dark/racePie.js.map +1 -0
- package/dist/esm/theme/light/light.js +6 -1
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/theme/light/raceLine.d.ts +182 -0
- package/dist/esm/theme/light/raceLine.js +39 -0
- package/dist/esm/theme/light/raceLine.js.map +1 -0
- package/dist/esm/theme/light/racePie.d.ts +157 -0
- package/dist/esm/theme/light/racePie.js +18 -0
- package/dist/esm/theme/light/racePie.js.map +1 -0
- package/dist/esm/types/builder/builder.d.ts +1 -0
- package/dist/esm/types/builder/builder.js.map +1 -1
- package/dist/esm/types/chartType/area/zArea.d.ts +682 -18
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +682 -18
- package/dist/esm/types/chartType/bar/zBar.d.ts +362 -10
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +362 -10
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +362 -10
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +210 -14
- package/dist/esm/types/chartType/circlePacking/zCirclePacking.d.ts +2 -2
- package/dist/esm/types/chartType/column/zColumn.d.ts +363 -10
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +363 -10
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +362 -10
- package/dist/esm/types/chartType/donut/zDonut.d.ts +2 -2
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +842 -22
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +2 -2
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +2 -2
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +362 -10
- package/dist/esm/types/chartType/index.d.ts +7 -0
- package/dist/esm/types/chartType/index.js +3 -0
- package/dist/esm/types/chartType/line/zLine.d.ts +522 -14
- package/dist/esm/types/chartType/pie/zPie.d.ts +2 -2
- package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +241 -4
- package/dist/esm/types/chartType/pivotTable/zPivotTable.js +1 -1
- package/dist/esm/types/chartType/pivotTable/zPivotTable.js.map +1 -1
- package/dist/esm/types/chartType/raceBar/raceBar.d.ts +2 -2
- package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +363 -10
- package/dist/esm/types/chartType/raceColumn/raceColumn.d.ts +106 -3
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +363 -10
- package/dist/esm/types/chartType/raceDonut/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceDonut/index.js +1 -0
- package/dist/esm/types/chartType/raceDonut/raceDonut.d.ts +75 -0
- package/dist/esm/types/chartType/raceDonut/zRaceDonut.d.ts +387 -0
- package/dist/esm/types/chartType/raceDonut/zRaceDonut.js +23 -0
- package/dist/esm/types/chartType/raceDonut/zRaceDonut.js.map +1 -0
- package/dist/esm/types/chartType/raceLine/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceLine/index.js +1 -0
- package/dist/esm/types/chartType/raceLine/raceLine.d.ts +122 -0
- package/dist/esm/types/chartType/raceLine/raceLine.js +0 -0
- package/dist/esm/types/chartType/raceLine/zRaceLine.d.ts +1904 -0
- package/dist/esm/types/chartType/raceLine/zRaceLine.js +35 -0
- package/dist/esm/types/chartType/raceLine/zRaceLine.js.map +1 -0
- package/dist/esm/types/chartType/racePie/index.d.ts +2 -0
- package/dist/esm/types/chartType/racePie/index.js +1 -0
- package/dist/esm/types/chartType/racePie/racePie.d.ts +75 -0
- package/dist/esm/types/chartType/racePie/racePie.js +0 -0
- package/dist/esm/types/chartType/racePie/zRacePie.d.ts +387 -0
- package/dist/esm/types/chartType/racePie/zRacePie.js +23 -0
- package/dist/esm/types/chartType/racePie/zRacePie.js.map +1 -0
- package/dist/esm/types/chartType/raceScatter/raceScatter.d.ts +84 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +363 -10
- package/dist/esm/types/chartType/radar/zRadar.d.ts +2 -2
- package/dist/esm/types/chartType/rose/zRose.d.ts +2 -2
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +2 -2
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +362 -10
- package/dist/esm/types/chartType/sunburst/sunburst.d.ts +1 -1
- package/dist/esm/types/chartType/sunburst/zSunburst.d.ts +2 -2
- package/dist/esm/types/chartType/table/zTable.d.ts +241 -4
- package/dist/esm/types/chartType/table/zTable.js +1 -1
- package/dist/esm/types/chartType/table/zTable.js.map +1 -1
- package/dist/esm/types/chartType/treeMap/zTreeMap.d.ts +2 -2
- package/dist/esm/types/dataSelector/selector.d.ts +594 -3
- package/dist/esm/types/dataSelector/selector.js +58 -2
- package/dist/esm/types/dataSelector/selector.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotation.d.ts +200 -4
- package/dist/esm/types/properties/annotation/annotationHorizontalLine.d.ts +12 -0
- package/dist/esm/types/properties/annotation/annotationPoint.d.ts +19 -0
- package/dist/esm/types/properties/annotation/annotationVerticalLine.d.ts +12 -0
- package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.d.ts +10 -0
- package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.js +2 -0
- package/dist/esm/types/properties/annotation/zAnnotationHorizontalLine.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationPoint.d.ts +80 -2
- package/dist/esm/types/properties/annotation/zAnnotationPoint.js +2 -1
- package/dist/esm/types/properties/annotation/zAnnotationPoint.js.map +1 -1
- package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.d.ts +10 -0
- package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.js +2 -0
- package/dist/esm/types/properties/annotation/zAnnotationVerticalLine.js.map +1 -1
- package/dist/esm/types/properties/cellStyle/bodyCellStyle.d.ts +105 -2
- package/dist/esm/types/properties/cellStyle/bodyCellStyle.js +2 -1
- package/dist/esm/types/properties/cellStyle/bodyCellStyle.js.map +1 -1
- package/dist/esm/types/properties/cellStyle/cellStyle.d.ts +83 -2
- package/dist/esm/types/properties/chartType/chartType.d.ts +4 -1
- package/dist/esm/types/properties/chartType/chartType.js +3 -0
- package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
- package/dist/esm/types/properties/config/annotation/zAnnotation.d.ts +156 -0
- package/dist/esm/types/properties/config/area.d.ts +160 -4
- package/dist/esm/types/properties/config/bar.d.ts +240 -6
- package/dist/esm/types/properties/config/boxplot.d.ts +80 -2
- package/dist/esm/types/properties/config/circlePacking.d.ts +2 -2
- package/dist/esm/types/properties/config/column.d.ts +240 -6
- package/dist/esm/types/properties/config/config.d.ts +3576 -96
- package/dist/esm/types/properties/config/config.js +4 -1
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/dualAxis.d.ts +80 -2
- package/dist/esm/types/properties/config/funnel.d.ts +2 -2
- package/dist/esm/types/properties/config/heatmap.d.ts +2 -2
- package/dist/esm/types/properties/config/histogram.d.ts +80 -2
- package/dist/esm/types/properties/config/label/zLabel.d.ts +2 -2
- package/dist/esm/types/properties/config/label/zPieLabel.d.ts +2 -2
- package/dist/esm/types/properties/config/line.d.ts +80 -2
- package/dist/esm/types/properties/config/pie.d.ts +6 -6
- package/dist/esm/types/properties/config/player/player.d.ts +2 -2
- package/dist/esm/types/properties/config/player/zPlayer.d.ts +1 -0
- package/dist/esm/types/properties/config/player/zPlayer.js +1 -0
- package/dist/esm/types/properties/config/player/zPlayer.js.map +1 -1
- package/dist/esm/types/properties/config/race.d.ts +2519 -50
- package/dist/esm/types/properties/config/race.js +10 -3
- package/dist/esm/types/properties/config/race.js.map +1 -1
- package/dist/esm/types/properties/config/rose.d.ts +4 -4
- package/dist/esm/types/properties/config/scatter.d.ts +80 -2
- package/dist/esm/types/properties/config/sunburst.d.ts +2 -2
- package/dist/esm/types/properties/config/treeMap.d.ts +2 -2
- package/dist/esm/types/properties/dimensions/index.d.ts +3 -0
- package/dist/esm/types/properties/dimensions/raceDonutDimension.d.ts +14 -0
- package/dist/esm/types/properties/dimensions/raceDonutDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/raceLineDimension.d.ts +15 -0
- package/dist/esm/types/properties/dimensions/raceLineDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/racePieDimension.d.ts +14 -0
- package/dist/esm/types/properties/dimensions/racePieDimension.js +0 -0
- package/dist/esm/types/properties/markStyle/areaStyle.d.ts +19 -0
- package/dist/esm/types/properties/markStyle/barStyle.d.ts +99 -2
- package/dist/esm/types/properties/markStyle/barStyle.js +2 -1
- package/dist/esm/types/properties/markStyle/barStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +2 -2
- package/dist/esm/types/properties/markStyle/lineStyle.d.ts +99 -2
- package/dist/esm/types/properties/markStyle/lineStyle.js +2 -1
- package/dist/esm/types/properties/markStyle/lineStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/markStyle.d.ts +648 -24
- package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +2 -2
- package/dist/esm/types/properties/markStyle/pointStyle.d.ts +99 -2
- package/dist/esm/types/properties/markStyle/pointStyle.js +2 -1
- package/dist/esm/types/properties/markStyle/pointStyle.js.map +1 -1
- package/dist/esm/types/properties/markStyle/zAreaStyle.d.ts +80 -2
- package/dist/esm/types/properties/markStyle/zAreaStyle.js +2 -1
- package/dist/esm/types/properties/markStyle/zAreaStyle.js.map +1 -1
- package/dist/esm/types/properties/measures/hierarchyMeasure.d.ts +10 -0
- package/dist/esm/types/properties/measures/hierarchyMeasure.js +0 -0
- package/dist/esm/types/properties/measures/index.d.ts +4 -1
- package/dist/esm/types/properties/measures/raceDonutMeasure.d.ts +2 -0
- package/dist/esm/types/properties/measures/raceDonutMeasure.js +0 -0
- package/dist/esm/types/properties/measures/raceLineMeasure.d.ts +2 -0
- package/dist/esm/types/properties/measures/raceLineMeasure.js +0 -0
- package/dist/esm/types/properties/measures/racePieMeasure.d.ts +2 -0
- package/dist/esm/types/properties/measures/racePieMeasure.js +0 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +9495 -2535
- package/dist/esm/types/sandbox.d.ts +19 -0
- package/dist/esm/types/sandbox.js +0 -0
- package/dist/esm/types/vseed.d.ts +2 -2
- package/dist/esm/types/zVseed.d.ts +4 -25058
- package/dist/esm/types/zVseed.js +7 -4
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +4310 -1922
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js.map +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js.map +0 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js.map +0 -1
- package/dist/esm/types/properties/measures/hierarchyMeasures.d.ts +0 -4
- /package/dist/esm/types/{properties/measures/hierarchyMeasures.js → chartType/raceDonut/raceDonut.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/annotation/zAnnotationPoint.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/zAnnotationPoint.ts"],"sourcesContent":["import { zSelector, zSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationPoint = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('center').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('middle').nullish(),\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundPadding: z.number().nullish(),\n\n offsetY: z.number().default(0).nullish(),\n offsetX: z.number().default(0).nullish(),\n})\n"],"names":["zAnnotationPoint","z","zSelector","zSelectors"],"mappings":";;AAGO,MAAMA,mBAAmBC,EAAE,MAAM,CAAC;IACvC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,
|
|
1
|
+
{"version":3,"file":"types/properties/annotation/zAnnotationPoint.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/zAnnotationPoint.ts"],"sourcesContent":["import { zChartDynamicFilter, zSelector, zSelectors } from '../../dataSelector'\nimport { z } from 'zod'\n\nexport const zAnnotationPoint = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n dynamicFilter: zChartDynamicFilter.optional(),\n text: z.string().or(z.array(z.string())).nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('center').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('middle').nullish(),\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundPadding: z.number().nullish(),\n\n offsetY: z.number().default(0).nullish(),\n offsetX: z.number().default(0).nullish(),\n})\n"],"names":["zAnnotationPoint","z","zSelector","zSelectors","zChartDynamicFilter"],"mappings":";;AAGO,MAAMA,mBAAmBC,EAAE,MAAM,CAAC;IACvC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,eAAeC,oBAAoB,QAAQ;IAC3C,MAAMH,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,UAAU,OAAO;IACxE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,UAAU,OAAO;IAC3E,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO;IAC7C,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,uBAAuBA,EAAE,MAAM,GAAG,OAAO;IAEzC,SAASA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACtC,SAASA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;AACxC"}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const zAnnotationVerticalLine: z.ZodObject<{
|
|
3
3
|
xValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
|
|
4
|
+
dynamicFilter: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
type: z.ZodLiteral<"value">;
|
|
6
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
code: z.ZodString;
|
|
8
|
+
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
9
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
success: z.ZodBoolean;
|
|
11
|
+
data: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
4
14
|
text: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
5
15
|
textPosition: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
|
|
6
16
|
outsideStart: "outsideStart";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { zValueDynamicFilter } from "../../dataSelector/index.js";
|
|
2
3
|
const zAnnotationVerticalLine = z.object({
|
|
3
4
|
xValue: z.union([
|
|
4
5
|
z.number(),
|
|
@@ -8,6 +9,7 @@ const zAnnotationVerticalLine = z.object({
|
|
|
8
9
|
z.string()
|
|
9
10
|
]))
|
|
10
11
|
]).nullish(),
|
|
12
|
+
dynamicFilter: zValueDynamicFilter.optional(),
|
|
11
13
|
text: z.string().or(z.array(z.string())).nullish(),
|
|
12
14
|
textPosition: z["enum"]([
|
|
13
15
|
'outsideStart',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/annotation/zAnnotationVerticalLine.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/zAnnotationVerticalLine.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zAnnotationVerticalLine = z.object({\n xValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n})\n"],"names":["zAnnotationVerticalLine","z"],"mappings":"
|
|
1
|
+
{"version":3,"file":"types/properties/annotation/zAnnotationVerticalLine.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/zAnnotationVerticalLine.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zValueDynamicFilter } from '../../dataSelector'\n\nexport const zAnnotationVerticalLine = z.object({\n xValue: z.union([z.number(), z.string(), z.array(z.union([z.number(), z.string()]))]).nullish(),\n dynamicFilter: zValueDynamicFilter.optional(),\n text: z.string().or(z.array(z.string())).nullish(),\n textPosition: z\n .enum(['outsideStart', 'outsideEnd', 'outsideMiddle', 'insideStart', 'insideMiddle', 'insideEnd'])\n .default('insideEnd')\n .nullish(),\n textColor: z.string().default('#ffffff').nullish(),\n textFontSize: z.number().default(12).nullish(),\n textFontWeight: z.number().default(400).nullish(),\n textAlign: z.enum(['left', 'right', 'center']).default('right').nullish(),\n textBaseline: z.enum(['top', 'middle', 'bottom']).default('top').nullish(),\n\n textBackgroundVisible: z.boolean().default(true).nullish(),\n textBackgroundColor: z.string().default('#212121').nullish(),\n textBackgroundBorderColor: z.string().default('#212121').nullish(),\n textBackgroundBorderRadius: z.number().default(4).nullish(),\n textBackgroundBorderWidth: z.number().default(1).nullish(),\n textBackgroundPadding: z.number().default(2).nullish(),\n\n lineVisible: z.boolean().default(true).nullish(),\n lineColor: z.string().default('#212121').nullish(),\n lineWidth: z.number().default(1).nullish(),\n lineStyle: z\n .union([z.literal('solid'), z.literal('dashed'), z.literal('dotted')])\n .default('dashed')\n .nullish(),\n})\n"],"names":["zAnnotationVerticalLine","z","zValueDynamicFilter"],"mappings":";;AAGO,MAAMA,0BAA0BC,EAAE,MAAM,CAAC;IAC9C,QAAQA,EAAE,KAAK,CAAC;QAACA,EAAE,MAAM;QAAIA,EAAE,MAAM;QAAIA,EAAE,KAAK,CAACA,EAAE,KAAK,CAAC;YAACA,EAAE,MAAM;YAAIA,EAAE,MAAM;SAAG;KAAG,EAAE,OAAO;IAC7F,eAAeC,oBAAoB,QAAQ;IAC3C,MAAMD,EAAE,MAAM,GAAG,EAAE,CAACA,EAAE,KAAK,CAACA,EAAE,MAAM,KAAK,OAAO;IAChD,cAAcA,CAAC,CAADA,OACP,CAAC;QAAC;QAAgB;QAAc;QAAiB;QAAe;QAAgB;KAAY,EAChG,OAAO,CAAC,aACR,OAAO;IACV,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,cAAcA,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,OAAO;IAC5C,gBAAgBA,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,OAAO;IAC/C,WAAWA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAQ;QAAS;KAAS,EAAE,OAAO,CAAC,SAAS,OAAO;IACvE,cAAcA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;QAAU;KAAS,EAAE,OAAO,CAAC,OAAO,OAAO;IAExE,uBAAuBA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IACxD,qBAAqBA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAC1D,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChE,4BAA4BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACzD,2BAA2BA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxD,uBAAuBA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IAEpD,aAAaA,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,OAAO;IAC9C,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,OAAO;IAChD,WAAWA,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,OAAO;IACxC,WAAWA,EAAAA,KACH,CAAC;QAACA,EAAE,OAAO,CAAC;QAAUA,EAAE,OAAO,CAAC;QAAWA,EAAE,OAAO,CAAC;KAAU,EACpE,OAAO,CAAC,UACR,OAAO;AACZ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { TableDynamicFilter } from '../../dataSelector';
|
|
2
3
|
import { type Selector, type Selectors } from '../../dataSelector';
|
|
3
4
|
export type BodyCellStyle = {
|
|
4
5
|
/**
|
|
@@ -6,6 +7,9 @@ export type BodyCellStyle = {
|
|
|
6
7
|
* @description
|
|
7
8
|
* 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
|
|
8
9
|
* 若未配置selector, 则样式全局生效.
|
|
10
|
+
*
|
|
11
|
+
* 注意: selector 和 dynamicFilter 不能同时使用,dynamicFilter 优先级更高
|
|
12
|
+
*
|
|
9
13
|
* @type {Selector | Selectors}
|
|
10
14
|
* @example 数值选择器
|
|
11
15
|
* selector = "tool"
|
|
@@ -39,6 +43,24 @@ export type BodyCellStyle = {
|
|
|
39
43
|
* }
|
|
40
44
|
*/
|
|
41
45
|
selector?: Selector | Selectors;
|
|
46
|
+
/**
|
|
47
|
+
* 动态筛选器(代码驱动)
|
|
48
|
+
* @description
|
|
49
|
+
* 通过 AI 生成的 JavaScript 代码实现复杂数据筛选逻辑
|
|
50
|
+
* 适用于 Top N、统计分析、复杂条件等静态 selector 难以表达的场景
|
|
51
|
+
*
|
|
52
|
+
* 核心能力:
|
|
53
|
+
* - 支持任意复杂的数据筛选条件
|
|
54
|
+
* - 使用 内置工具函数 进行数据操作
|
|
55
|
+
* - 在浏览器环境中安全执行(Web Worker 沙箱)
|
|
56
|
+
*
|
|
57
|
+
* 环境要求: 仅支持浏览器环境,Node.js 环境将使用 fallback
|
|
58
|
+
*
|
|
59
|
+
* 注意: selector 和 dynamicFilter 不能同时使用,dynamicFilter 优先级更高
|
|
60
|
+
*
|
|
61
|
+
* @type {TableDynamicFilter}
|
|
62
|
+
*/
|
|
63
|
+
dynamicFilter?: TableDynamicFilter;
|
|
42
64
|
/**
|
|
43
65
|
* 单元格背景色
|
|
44
66
|
*/
|
|
@@ -95,7 +117,7 @@ export declare const zBodyCellStyle: z.ZodObject<{
|
|
|
95
117
|
"not in": "not in";
|
|
96
118
|
}>>>;
|
|
97
119
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
98
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
120
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
99
121
|
field: z.ZodString;
|
|
100
122
|
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
101
123
|
"=": "=";
|
|
@@ -129,7 +151,88 @@ export declare const zBodyCellStyle: z.ZodObject<{
|
|
|
129
151
|
"not in": "not in";
|
|
130
152
|
}>>>;
|
|
131
153
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
132
|
-
}, z.core.$strip>]>>]>>>;
|
|
154
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>>;
|
|
155
|
+
dynamicFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"row-with-field">;
|
|
157
|
+
description: z.ZodOptional<z.ZodString>;
|
|
158
|
+
code: z.ZodString;
|
|
159
|
+
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
160
|
+
field: z.ZodString;
|
|
161
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
162
|
+
"=": "=";
|
|
163
|
+
"==": "==";
|
|
164
|
+
"!=": "!=";
|
|
165
|
+
">": ">";
|
|
166
|
+
"<": "<";
|
|
167
|
+
">=": ">=";
|
|
168
|
+
"<=": "<=";
|
|
169
|
+
between: "between";
|
|
170
|
+
}>>>;
|
|
171
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
172
|
+
"=": "=";
|
|
173
|
+
"==": "==";
|
|
174
|
+
"!=": "!=";
|
|
175
|
+
">": ">";
|
|
176
|
+
"<": "<";
|
|
177
|
+
">=": ">=";
|
|
178
|
+
"<=": "<=";
|
|
179
|
+
between: "between";
|
|
180
|
+
}>>>;
|
|
181
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
field: z.ZodString;
|
|
184
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
185
|
+
in: "in";
|
|
186
|
+
"not in": "not in";
|
|
187
|
+
}>>>;
|
|
188
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
189
|
+
in: "in";
|
|
190
|
+
"not in": "not in";
|
|
191
|
+
}>>>;
|
|
192
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
193
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
194
|
+
field: z.ZodString;
|
|
195
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
196
|
+
"=": "=";
|
|
197
|
+
"==": "==";
|
|
198
|
+
"!=": "!=";
|
|
199
|
+
">": ">";
|
|
200
|
+
"<": "<";
|
|
201
|
+
">=": ">=";
|
|
202
|
+
"<=": "<=";
|
|
203
|
+
between: "between";
|
|
204
|
+
}>>>;
|
|
205
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
206
|
+
"=": "=";
|
|
207
|
+
"==": "==";
|
|
208
|
+
"!=": "!=";
|
|
209
|
+
">": ">";
|
|
210
|
+
"<": "<";
|
|
211
|
+
">=": ">=";
|
|
212
|
+
"<=": "<=";
|
|
213
|
+
between: "between";
|
|
214
|
+
}>>>;
|
|
215
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
|
+
field: z.ZodString;
|
|
218
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
219
|
+
in: "in";
|
|
220
|
+
"not in": "not in";
|
|
221
|
+
}>>>;
|
|
222
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
223
|
+
in: "in";
|
|
224
|
+
"not in": "not in";
|
|
225
|
+
}>>>;
|
|
226
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
227
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>;
|
|
228
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
success: z.ZodBoolean;
|
|
230
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
__row_index: z.ZodNumber;
|
|
232
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
233
|
+
}, z.core.$strip>>>;
|
|
234
|
+
}, z.core.$strip>>;
|
|
235
|
+
}, z.core.$strip>>>;
|
|
133
236
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
237
|
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
238
|
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { zSelector, zSelectors } from "../../dataSelector/index.js";
|
|
2
|
+
import { zSelector, zSelectors, zTableDynamicFilter } from "../../dataSelector/index.js";
|
|
3
3
|
const zBodyCellStyle = z.object({
|
|
4
4
|
selector: z.union([
|
|
5
5
|
zSelector,
|
|
6
6
|
zSelectors
|
|
7
7
|
]).nullish(),
|
|
8
|
+
dynamicFilter: zTableDynamicFilter.nullish(),
|
|
8
9
|
backgroundColor: z.string().nullish(),
|
|
9
10
|
textColor: z.string().nullish(),
|
|
10
11
|
textFontSize: z.number().nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/cellStyle/bodyCellStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/cellStyle/bodyCellStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zSelector, zSelectors, type Selector, type Selectors } from '../../dataSelector'\n\nexport type BodyCellStyle = {\n /**\n * 数据选择器\n * @description\n * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力\n * 若未配置selector, 则样式全局生效.\n * @type {Selector | Selectors}\n * @example 数值选择器\n * selector = \"tool\"\n * selector = [\"tool\", \"book\"]\n * selector = 100\n * selector = [100, 200]\n * @example 局部数据选择器\n * selector = { profit: 100 }\n * selector = [{ profit: 100 }, { profit: 200 }]\n * @example 条件维度选择器\n * selector = {\n * field: 'category',\n * operator: 'in',\n * value: 'tool'\n * }\n * selector = {\n * field: 'category',\n * operator: 'not in',\n * value: 'book'\n * }\n * @example 条件指标选择器\n * selector = {\n * field: 'profit',\n * operator: '>=',\n * value: 100\n * }\n * selector = {\n * field: 'profit',\n * operator: 'between'\n * value: [100, 300]\n * }\n */\n selector?: Selector | Selectors\n /**\n * 单元格背景色\n */\n backgroundColor?: string\n /**\n * 单元格文字颜色\n */\n textColor?: string\n /**\n * 单元格文字大小\n */\n textFontSize?: number\n /**\n * 单元格边框颜色\n */\n borderColor?: string\n /**\n * 单元格边框线宽\n */\n borderLineWidth?: number\n}\n\nexport const zBodyCellStyle = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n backgroundColor: z.string().nullish(),\n textColor: z.string().nullish(),\n textFontSize: z.number().nullish(),\n borderColor: z.string().nullish(),\n borderLineWidth: z.number().nullish(),\n})\n"],"names":["zBodyCellStyle","z","zSelector","zSelectors"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"types/properties/cellStyle/bodyCellStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/cellStyle/bodyCellStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport type { TableDynamicFilter } from '../../dataSelector'\nimport { zSelector, zSelectors, zTableDynamicFilter, type Selector, type Selectors } from '../../dataSelector'\n\nexport type BodyCellStyle = {\n /**\n * 数据选择器\n * @description\n * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力\n * 若未配置selector, 则样式全局生效.\n *\n * 注意: selector 和 dynamicFilter 不能同时使用,dynamicFilter 优先级更高\n *\n * @type {Selector | Selectors}\n * @example 数值选择器\n * selector = \"tool\"\n * selector = [\"tool\", \"book\"]\n * selector = 100\n * selector = [100, 200]\n * @example 局部数据选择器\n * selector = { profit: 100 }\n * selector = [{ profit: 100 }, { profit: 200 }]\n * @example 条件维度选择器\n * selector = {\n * field: 'category',\n * operator: 'in',\n * value: 'tool'\n * }\n * selector = {\n * field: 'category',\n * operator: 'not in',\n * value: 'book'\n * }\n * @example 条件指标选择器\n * selector = {\n * field: 'profit',\n * operator: '>=',\n * value: 100\n * }\n * selector = {\n * field: 'profit',\n * operator: 'between'\n * value: [100, 300]\n * }\n */\n selector?: Selector | Selectors\n /**\n * 动态筛选器(代码驱动)\n * @description\n * 通过 AI 生成的 JavaScript 代码实现复杂数据筛选逻辑\n * 适用于 Top N、统计分析、复杂条件等静态 selector 难以表达的场景\n *\n * 核心能力:\n * - 支持任意复杂的数据筛选条件\n * - 使用 内置工具函数 进行数据操作\n * - 在浏览器环境中安全执行(Web Worker 沙箱)\n *\n * 环境要求: 仅支持浏览器环境,Node.js 环境将使用 fallback\n *\n * 注意: selector 和 dynamicFilter 不能同时使用,dynamicFilter 优先级更高\n *\n * @type {TableDynamicFilter}\n */\n dynamicFilter?: TableDynamicFilter\n /**\n * 单元格背景色\n */\n backgroundColor?: string\n /**\n * 单元格文字颜色\n */\n textColor?: string\n /**\n * 单元格文字大小\n */\n textFontSize?: number\n /**\n * 单元格边框颜色\n */\n borderColor?: string\n /**\n * 单元格边框线宽\n */\n borderLineWidth?: number\n}\n\nexport const zBodyCellStyle = z.object({\n selector: z.union([zSelector, zSelectors]).nullish(),\n dynamicFilter: zTableDynamicFilter.nullish(),\n backgroundColor: z.string().nullish(),\n textColor: z.string().nullish(),\n textFontSize: z.number().nullish(),\n borderColor: z.string().nullish(),\n borderLineWidth: z.number().nullish(),\n})\n"],"names":["zBodyCellStyle","z","zSelector","zSelectors","zTableDynamicFilter"],"mappings":";;AAsFO,MAAMA,iBAAiBC,EAAE,MAAM,CAAC;IACrC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,OAAO;IAClD,eAAeC,oBAAoB,OAAO;IAC1C,iBAAiBH,EAAE,MAAM,GAAG,OAAO;IACnC,WAAWA,EAAE,MAAM,GAAG,OAAO;IAC7B,cAAcA,EAAE,MAAM,GAAG,OAAO;IAChC,aAAaA,EAAE,MAAM,GAAG,OAAO;IAC/B,iBAAiBA,EAAE,MAAM,GAAG,OAAO;AACrC"}
|
|
@@ -35,7 +35,7 @@ export declare const zCellStyle: z.ZodObject<{
|
|
|
35
35
|
"not in": "not in";
|
|
36
36
|
}>>>;
|
|
37
37
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
38
|
-
}, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
38
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
39
39
|
field: z.ZodString;
|
|
40
40
|
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
41
41
|
"=": "=";
|
|
@@ -69,7 +69,88 @@ export declare const zCellStyle: z.ZodObject<{
|
|
|
69
69
|
"not in": "not in";
|
|
70
70
|
}>>>;
|
|
71
71
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
72
|
-
}, z.core.$strip>]>>]>>>;
|
|
72
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>>;
|
|
73
|
+
dynamicFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"row-with-field">;
|
|
75
|
+
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
code: z.ZodString;
|
|
77
|
+
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
78
|
+
field: z.ZodString;
|
|
79
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
80
|
+
"=": "=";
|
|
81
|
+
"==": "==";
|
|
82
|
+
"!=": "!=";
|
|
83
|
+
">": ">";
|
|
84
|
+
"<": "<";
|
|
85
|
+
">=": ">=";
|
|
86
|
+
"<=": "<=";
|
|
87
|
+
between: "between";
|
|
88
|
+
}>>>;
|
|
89
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
90
|
+
"=": "=";
|
|
91
|
+
"==": "==";
|
|
92
|
+
"!=": "!=";
|
|
93
|
+
">": ">";
|
|
94
|
+
"<": "<";
|
|
95
|
+
">=": ">=";
|
|
96
|
+
"<=": "<=";
|
|
97
|
+
between: "between";
|
|
98
|
+
}>>>;
|
|
99
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
+
field: z.ZodString;
|
|
102
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
103
|
+
in: "in";
|
|
104
|
+
"not in": "not in";
|
|
105
|
+
}>>>;
|
|
106
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
107
|
+
in: "in";
|
|
108
|
+
"not in": "not in";
|
|
109
|
+
}>>>;
|
|
110
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
111
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
112
|
+
field: z.ZodString;
|
|
113
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
114
|
+
"=": "=";
|
|
115
|
+
"==": "==";
|
|
116
|
+
"!=": "!=";
|
|
117
|
+
">": ">";
|
|
118
|
+
"<": "<";
|
|
119
|
+
">=": ">=";
|
|
120
|
+
"<=": "<=";
|
|
121
|
+
between: "between";
|
|
122
|
+
}>>>;
|
|
123
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
124
|
+
"=": "=";
|
|
125
|
+
"==": "==";
|
|
126
|
+
"!=": "!=";
|
|
127
|
+
">": ">";
|
|
128
|
+
"<": "<";
|
|
129
|
+
">=": ">=";
|
|
130
|
+
"<=": "<=";
|
|
131
|
+
between: "between";
|
|
132
|
+
}>>>;
|
|
133
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
field: z.ZodString;
|
|
136
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
137
|
+
in: "in";
|
|
138
|
+
"not in": "not in";
|
|
139
|
+
}>>>;
|
|
140
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
141
|
+
in: "in";
|
|
142
|
+
"not in": "not in";
|
|
143
|
+
}>>>;
|
|
144
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
145
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>;
|
|
146
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
success: z.ZodBoolean;
|
|
148
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
149
|
+
__row_index: z.ZodNumber;
|
|
150
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
|
|
151
|
+
}, z.core.$strip>>>;
|
|
152
|
+
}, z.core.$strip>>;
|
|
153
|
+
}, z.core.$strip>>>;
|
|
73
154
|
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74
155
|
textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75
156
|
textFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'scatter' | 'dualAxis' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'radar' | 'raceBar' | 'raceColumn' | 'raceScatter' | 'treeMap' | 'sunburst' | 'circlePacking' | 'heatmap' | 'funnel' | 'boxPlot' | 'histogram';
|
|
2
|
+
export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'scatter' | 'dualAxis' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'radar' | 'raceBar' | 'raceColumn' | 'raceScatter' | 'raceLine' | 'racePie' | 'raceDonut' | 'treeMap' | 'sunburst' | 'circlePacking' | 'heatmap' | 'funnel' | 'boxPlot' | 'histogram';
|
|
3
3
|
export declare const zChartType: z.ZodEnum<{
|
|
4
4
|
table: "table";
|
|
5
5
|
pivotTable: "pivotTable";
|
|
@@ -22,6 +22,9 @@ export declare const zChartType: z.ZodEnum<{
|
|
|
22
22
|
raceBar: "raceBar";
|
|
23
23
|
raceColumn: "raceColumn";
|
|
24
24
|
raceScatter: "raceScatter";
|
|
25
|
+
raceLine: "raceLine";
|
|
26
|
+
racePie: "racePie";
|
|
27
|
+
raceDonut: "raceDonut";
|
|
25
28
|
treeMap: "treeMap";
|
|
26
29
|
sunburst: "sunburst";
|
|
27
30
|
circlePacking: "circlePacking";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types/properties/chartType/chartType.js","sources":["webpack://@visactor/vseed/./src/types/properties/chartType/chartType.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport type ChartType =\n | 'table'\n | 'pivotTable'\n // cartesian\n | 'line'\n | 'column'\n | 'columnPercent'\n | 'columnParallel'\n | 'bar'\n | 'barPercent'\n | 'barParallel'\n | 'area'\n | 'areaPercent'\n | 'scatter'\n | 'dualAxis'\n // polar\n | 'rose'\n | 'roseParallel'\n | 'pie'\n | 'donut'\n | 'radar'\n // race\n | 'raceBar'\n | 'raceColumn'\n | 'raceScatter'\n // hierarchy\n | 'treeMap'\n | 'sunburst'\n | 'circlePacking'\n // other\n | 'heatmap'\n | 'funnel'\n | 'boxPlot'\n | 'histogram'\n\nexport const zChartType = z.enum([\n 'table',\n 'pivotTable',\n // cartesian\n 'line',\n 'column',\n 'columnPercent',\n 'columnParallel',\n 'bar',\n 'barPercent',\n 'barParallel',\n 'raceBar',\n 'area',\n 'areaPercent',\n 'scatter',\n 'dualAxis',\n // polar\n 'rose',\n 'roseParallel',\n 'pie',\n 'donut',\n 'radar',\n // race\n 'raceBar',\n 'raceColumn',\n 'raceScatter',\n // hierarchy\n 'treeMap',\n 'sunburst',\n 'circlePacking',\n // other\n 'funnel',\n 'heatmap',\n 'boxPlot',\n 'histogram',\n])\n"],"names":["zChartType","z"],"mappings":";
|
|
1
|
+
{"version":3,"file":"types/properties/chartType/chartType.js","sources":["webpack://@visactor/vseed/./src/types/properties/chartType/chartType.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport type ChartType =\n | 'table'\n | 'pivotTable'\n // cartesian\n | 'line'\n | 'column'\n | 'columnPercent'\n | 'columnParallel'\n | 'bar'\n | 'barPercent'\n | 'barParallel'\n | 'area'\n | 'areaPercent'\n | 'scatter'\n | 'dualAxis'\n // polar\n | 'rose'\n | 'roseParallel'\n | 'pie'\n | 'donut'\n | 'radar'\n // race\n | 'raceBar'\n | 'raceColumn'\n | 'raceScatter'\n | 'raceLine'\n | 'racePie'\n | 'raceDonut'\n // hierarchy\n | 'treeMap'\n | 'sunburst'\n | 'circlePacking'\n // other\n | 'heatmap'\n | 'funnel'\n | 'boxPlot'\n | 'histogram'\n\nexport const zChartType = z.enum([\n 'table',\n 'pivotTable',\n // cartesian\n 'line',\n 'column',\n 'columnPercent',\n 'columnParallel',\n 'bar',\n 'barPercent',\n 'barParallel',\n 'raceBar',\n 'area',\n 'areaPercent',\n 'scatter',\n 'dualAxis',\n // polar\n 'rose',\n 'roseParallel',\n 'pie',\n 'donut',\n 'radar',\n // race\n 'raceBar',\n 'raceColumn',\n 'raceScatter',\n 'raceLine',\n 'racePie',\n 'raceDonut',\n // hierarchy\n 'treeMap',\n 'sunburst',\n 'circlePacking',\n // other\n 'funnel',\n 'heatmap',\n 'boxPlot',\n 'histogram',\n])\n"],"names":["zChartType","z"],"mappings":";AAwCO,MAAMA,aAAaC,CAAC,CAADA,OAAM,CAAC;IAC/B;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IAEA;IACA;IACA;IACA;CACD"}
|
|
@@ -1,5 +1,83 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const zAnnotationPointConfig: z.ZodObject<{
|
|
3
|
+
dynamicFilter: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"row-with-field">;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
code: z.ZodString;
|
|
7
|
+
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
8
|
+
field: z.ZodString;
|
|
9
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10
|
+
"=": "=";
|
|
11
|
+
"==": "==";
|
|
12
|
+
"!=": "!=";
|
|
13
|
+
">": ">";
|
|
14
|
+
"<": "<";
|
|
15
|
+
">=": ">=";
|
|
16
|
+
"<=": "<=";
|
|
17
|
+
between: "between";
|
|
18
|
+
}>>>;
|
|
19
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20
|
+
"=": "=";
|
|
21
|
+
"==": "==";
|
|
22
|
+
"!=": "!=";
|
|
23
|
+
">": ">";
|
|
24
|
+
"<": "<";
|
|
25
|
+
">=": ">=";
|
|
26
|
+
"<=": "<=";
|
|
27
|
+
between: "between";
|
|
28
|
+
}>>>;
|
|
29
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
field: z.ZodString;
|
|
32
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
33
|
+
in: "in";
|
|
34
|
+
"not in": "not in";
|
|
35
|
+
}>>>;
|
|
36
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
37
|
+
in: "in";
|
|
38
|
+
"not in": "not in";
|
|
39
|
+
}>>>;
|
|
40
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
41
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
42
|
+
field: z.ZodString;
|
|
43
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
44
|
+
"=": "=";
|
|
45
|
+
"==": "==";
|
|
46
|
+
"!=": "!=";
|
|
47
|
+
">": ">";
|
|
48
|
+
"<": "<";
|
|
49
|
+
">=": ">=";
|
|
50
|
+
"<=": "<=";
|
|
51
|
+
between: "between";
|
|
52
|
+
}>>>;
|
|
53
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
54
|
+
"=": "=";
|
|
55
|
+
"==": "==";
|
|
56
|
+
"!=": "!=";
|
|
57
|
+
">": ">";
|
|
58
|
+
"<": "<";
|
|
59
|
+
">=": ">=";
|
|
60
|
+
"<=": "<=";
|
|
61
|
+
between: "between";
|
|
62
|
+
}>>>;
|
|
63
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
64
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
65
|
+
field: z.ZodString;
|
|
66
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
67
|
+
in: "in";
|
|
68
|
+
"not in": "not in";
|
|
69
|
+
}>>>;
|
|
70
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
71
|
+
in: "in";
|
|
72
|
+
"not in": "not in";
|
|
73
|
+
}>>>;
|
|
74
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
75
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>;
|
|
76
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
success: z.ZodBoolean;
|
|
78
|
+
data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
}, z.core.$strip>>>;
|
|
3
81
|
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>;
|
|
4
82
|
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
5
83
|
textFontWeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
@@ -84,6 +162,84 @@ export declare const zAnnotationAreaConfig: z.ZodObject<{
|
|
|
84
162
|
}, z.core.$strip>;
|
|
85
163
|
export declare const zAnnotationConfig: z.ZodObject<{
|
|
86
164
|
annotationPoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
165
|
+
dynamicFilter: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
166
|
+
type: z.ZodLiteral<"row-with-field">;
|
|
167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
168
|
+
code: z.ZodString;
|
|
169
|
+
fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
170
|
+
field: z.ZodString;
|
|
171
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
172
|
+
"=": "=";
|
|
173
|
+
"==": "==";
|
|
174
|
+
"!=": "!=";
|
|
175
|
+
">": ">";
|
|
176
|
+
"<": "<";
|
|
177
|
+
">=": ">=";
|
|
178
|
+
"<=": "<=";
|
|
179
|
+
between: "between";
|
|
180
|
+
}>>>;
|
|
181
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
182
|
+
"=": "=";
|
|
183
|
+
"==": "==";
|
|
184
|
+
"!=": "!=";
|
|
185
|
+
">": ">";
|
|
186
|
+
"<": "<";
|
|
187
|
+
">=": ">=";
|
|
188
|
+
"<=": "<=";
|
|
189
|
+
between: "between";
|
|
190
|
+
}>>>;
|
|
191
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
193
|
+
field: z.ZodString;
|
|
194
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
195
|
+
in: "in";
|
|
196
|
+
"not in": "not in";
|
|
197
|
+
}>>>;
|
|
198
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
199
|
+
in: "in";
|
|
200
|
+
"not in": "not in";
|
|
201
|
+
}>>>;
|
|
202
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
203
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
|
|
204
|
+
field: z.ZodString;
|
|
205
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
206
|
+
"=": "=";
|
|
207
|
+
"==": "==";
|
|
208
|
+
"!=": "!=";
|
|
209
|
+
">": ">";
|
|
210
|
+
"<": "<";
|
|
211
|
+
">=": ">=";
|
|
212
|
+
"<=": "<=";
|
|
213
|
+
between: "between";
|
|
214
|
+
}>>>;
|
|
215
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
216
|
+
"=": "=";
|
|
217
|
+
"==": "==";
|
|
218
|
+
"!=": "!=";
|
|
219
|
+
">": ">";
|
|
220
|
+
"<": "<";
|
|
221
|
+
">=": ">=";
|
|
222
|
+
"<=": "<=";
|
|
223
|
+
between: "between";
|
|
224
|
+
}>>>;
|
|
225
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
+
field: z.ZodString;
|
|
228
|
+
operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
229
|
+
in: "in";
|
|
230
|
+
"not in": "not in";
|
|
231
|
+
}>>>;
|
|
232
|
+
op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
233
|
+
in: "in";
|
|
234
|
+
"not in": "not in";
|
|
235
|
+
}>>>;
|
|
236
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
237
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>;
|
|
238
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
success: z.ZodBoolean;
|
|
240
|
+
data: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
}, z.core.$strip>>>;
|
|
87
243
|
textColor: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>;
|
|
88
244
|
textFontSize: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|
|
89
245
|
textFontWeight: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>>;
|