@visactor/vseed 0.3.14 → 0.4.0
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 +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/builder/builder.d.ts +3551 -25203
- package/dist/esm/builder/register/all.js +7 -1
- package/dist/esm/builder/register/all.js.map +1 -1
- package/dist/esm/builder/register/chartType/circlePacking.d.ts +5 -0
- package/dist/esm/builder/register/chartType/circlePacking.js +9 -0
- package/dist/esm/builder/register/chartType/circlePacking.js.map +1 -0
- package/dist/esm/builder/register/chartType/index.d.ts +6 -0
- package/dist/esm/builder/register/chartType/index.js +7 -1
- package/dist/esm/builder/register/chartType/raceBar.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceBar.js +9 -0
- package/dist/esm/builder/register/chartType/raceBar.js.map +1 -0
- package/dist/esm/builder/register/chartType/raceColumn.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceColumn.js +9 -0
- package/dist/esm/builder/register/chartType/raceColumn.js.map +1 -0
- package/dist/esm/builder/register/chartType/raceScatter.d.ts +5 -0
- package/dist/esm/builder/register/chartType/raceScatter.js +9 -0
- package/dist/esm/builder/register/chartType/raceScatter.js.map +1 -0
- package/dist/esm/builder/register/chartType/sunburst.d.ts +5 -0
- package/dist/esm/builder/register/chartType/sunburst.js +9 -0
- package/dist/esm/builder/register/chartType/sunburst.js.map +1 -0
- package/dist/esm/builder/register/chartType/treeMap.d.ts +5 -0
- package/dist/esm/builder/register/chartType/treeMap.js +9 -0
- package/dist/esm/builder/register/chartType/treeMap.js.map +1 -0
- package/dist/esm/dataReshape/constant.d.ts +2 -0
- package/dist/esm/dataReshape/constant.js +3 -1
- package/dist/esm/dataReshape/constant.js.map +1 -1
- package/dist/esm/dataReshape/unfoldDimensions.js +8 -2
- package/dist/esm/dataReshape/unfoldDimensions.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js +33 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/circlePacking.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +6 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/index.js +7 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js +36 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceBar.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js +37 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceColumn.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js +31 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js +1 -3
- package/dist/esm/pipeline/advanced/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js +33 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/sunburst.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js +33 -0
- package/dist/esm/pipeline/advanced/chart/pipeline/treeMap.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js +27 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/circlePacking.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +4 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js +27 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/sunburst.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js +27 -0
- package/dist/esm/pipeline/advanced/chart/pipes/config/treeMap.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js +75 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/hierarchy.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +4 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +5 -1
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js +81 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceBar.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js +81 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceColumn.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.d.ts +3 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js +83 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/advanced/chart/pipes/encoding/rose.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/index.js +3 -1
- package/dist/esm/pipeline/spec/chart/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/index.js +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/area.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js +34 -0
- package/dist/esm/pipeline/spec/chart/pipeline/circlePacking.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/column.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +6 -0
- package/dist/esm/pipeline/spec/chart/pipeline/index.js +7 -1
- package/dist/esm/pipeline/spec/chart/pipeline/line.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceBar.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceColumn.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js +31 -0
- package/dist/esm/pipeline/spec/chart/pipeline/raceScatter.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +2 -2
- package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipeline/sunburst.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js +34 -0
- package/dist/esm/pipeline/spec/chart/pipeline/sunburst.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/treeMap.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js +37 -0
- package/dist/esm/pipeline/spec/chart/pipeline/treeMap.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js +6 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/bandAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js +6 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/linearAxisStyle.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +5 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +5 -2
- package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js +114 -0
- package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/dataset/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js +36 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/index.d.ts +3 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/index.js +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js +44 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +4 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/index.js +5 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js +23 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelCirclePacking.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js +26 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelSunburst.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js +31 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapGroup.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js +68 -0
- package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/index.d.ts +4 -1
- package/dist/esm/pipeline/spec/chart/pipes/player/index.js +4 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js +11 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/isPlayer.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js +200 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerXY.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js +183 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYX.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js +177 -0
- package/dist/esm/pipeline/spec/chart/pipes/player/playerYY.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -1
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js +84 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchy.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.d.ts +2 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js +93 -0
- package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipTreeMap.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.d.ts +3 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.js +7 -0
- package/dist/esm/pipeline/spec/chart/utils/condition.js.map +1 -0
- package/dist/esm/pipeline/spec/chart/utils/index.d.ts +1 -0
- package/dist/esm/pipeline/spec/chart/utils/index.js +1 -0
- package/dist/esm/pipeline/utils/chatType.d.ts +1 -1
- package/dist/esm/pipeline/utils/chatType.js +4 -1
- package/dist/esm/pipeline/utils/chatType.js.map +1 -1
- package/dist/esm/pipeline/utils/constant.d.ts +3 -0
- package/dist/esm/pipeline/utils/constant.js +3 -0
- package/dist/esm/pipeline/utils/constant.js.map +1 -1
- package/dist/esm/theme/common/player.js +2 -0
- package/dist/esm/theme/common/player.js.map +1 -1
- package/dist/esm/theme/dark/area.d.ts +156 -0
- package/dist/esm/theme/dark/area.js +29 -0
- package/dist/esm/theme/dark/area.js.map +1 -0
- package/dist/esm/theme/dark/bar.d.ts +238 -0
- package/dist/esm/theme/dark/bar.js +49 -0
- package/dist/esm/theme/dark/bar.js.map +1 -0
- package/dist/esm/theme/dark/boxPlot.d.ts +80 -0
- package/dist/esm/theme/dark/boxPlot.js +31 -0
- package/dist/esm/theme/dark/boxPlot.js.map +1 -0
- package/dist/esm/theme/dark/column.d.ts +411 -0
- package/dist/esm/theme/dark/column.js +64 -0
- package/dist/esm/theme/dark/column.js.map +1 -0
- package/dist/esm/theme/dark/dark.js +42 -283
- package/dist/esm/theme/dark/dark.js.map +1 -1
- package/dist/esm/theme/dark/dualAxis.d.ts +122 -0
- package/dist/esm/theme/dark/dualAxis.js +34 -0
- package/dist/esm/theme/dark/dualAxis.js.map +1 -0
- package/dist/esm/theme/dark/funnel.d.ts +64 -0
- package/dist/esm/theme/dark/funnel.js +22 -0
- package/dist/esm/theme/dark/funnel.js.map +1 -0
- package/dist/esm/theme/dark/heatmap.d.ts +66 -0
- package/dist/esm/theme/dark/heatmap.js +30 -0
- package/dist/esm/theme/dark/heatmap.js.map +1 -0
- package/dist/esm/theme/dark/hierarchy.d.ts +189 -0
- package/dist/esm/theme/dark/hierarchy.js +21 -0
- package/dist/esm/theme/dark/hierarchy.js.map +1 -0
- package/dist/esm/theme/dark/histogram.d.ts +252 -0
- package/dist/esm/theme/dark/histogram.js +29 -0
- package/dist/esm/theme/dark/histogram.js.map +1 -0
- package/dist/esm/theme/dark/line.d.ts +78 -0
- package/dist/esm/theme/dark/line.js +28 -0
- package/dist/esm/theme/dark/line.js.map +1 -0
- package/dist/esm/theme/dark/pie.d.ts +130 -0
- package/dist/esm/theme/dark/pie.js +26 -0
- package/dist/esm/theme/dark/pie.js.map +1 -0
- package/dist/esm/theme/dark/race.d.ts +717 -0
- package/dist/esm/theme/dark/race.js +138 -0
- package/dist/esm/theme/dark/race.js.map +1 -0
- package/dist/esm/theme/dark/radar.d.ts +63 -0
- package/dist/esm/theme/dark/radar.js +19 -0
- package/dist/esm/theme/dark/radar.js.map +1 -0
- package/dist/esm/theme/dark/rose.d.ts +128 -0
- package/dist/esm/theme/dark/rose.js +25 -0
- package/dist/esm/theme/dark/rose.js.map +1 -0
- package/dist/esm/theme/dark/scatter.d.ts +345 -0
- package/dist/esm/theme/dark/scatter.js +50 -0
- package/dist/esm/theme/dark/scatter.js.map +1 -0
- package/dist/esm/theme/light/area.d.ts +156 -0
- package/dist/esm/theme/light/area.js +29 -0
- package/dist/esm/theme/light/area.js.map +1 -0
- package/dist/esm/theme/light/bar.d.ts +238 -0
- package/dist/esm/theme/light/bar.js +49 -0
- package/dist/esm/theme/light/bar.js.map +1 -0
- package/dist/esm/theme/light/boxPlot.d.ts +80 -0
- package/dist/esm/theme/light/boxPlot.js +30 -0
- package/dist/esm/theme/light/boxPlot.js.map +1 -0
- package/dist/esm/theme/light/column.d.ts +411 -0
- package/dist/esm/theme/light/column.js +64 -0
- package/dist/esm/theme/light/column.js.map +1 -0
- package/dist/esm/theme/light/dualAxis.d.ts +122 -0
- package/dist/esm/theme/light/dualAxis.js +34 -0
- package/dist/esm/theme/light/dualAxis.js.map +1 -0
- package/dist/esm/theme/light/funnel.d.ts +64 -0
- package/dist/esm/theme/light/funnel.js +22 -0
- package/dist/esm/theme/light/funnel.js.map +1 -0
- package/dist/esm/theme/light/heatmap.d.ts +66 -0
- package/dist/esm/theme/light/heatmap.js +30 -0
- package/dist/esm/theme/light/heatmap.js.map +1 -0
- package/dist/esm/theme/light/hierarchy.d.ts +189 -0
- package/dist/esm/theme/light/hierarchy.js +21 -0
- package/dist/esm/theme/light/hierarchy.js.map +1 -0
- package/dist/esm/theme/light/histogram.d.ts +252 -0
- package/dist/esm/theme/light/histogram.js +29 -0
- package/dist/esm/theme/light/histogram.js.map +1 -0
- package/dist/esm/theme/light/light.js +42 -288
- package/dist/esm/theme/light/light.js.map +1 -1
- package/dist/esm/theme/light/line.d.ts +78 -0
- package/dist/esm/theme/light/line.js +28 -0
- package/dist/esm/theme/light/line.js.map +1 -0
- package/dist/esm/theme/light/pie.d.ts +130 -0
- package/dist/esm/theme/light/pie.js +26 -0
- package/dist/esm/theme/light/pie.js.map +1 -0
- package/dist/esm/theme/light/race.d.ts +899 -0
- package/dist/esm/theme/light/race.js +172 -0
- package/dist/esm/theme/light/race.js.map +1 -0
- package/dist/esm/theme/light/radar.d.ts +63 -0
- package/dist/esm/theme/light/radar.js +19 -0
- package/dist/esm/theme/light/radar.js.map +1 -0
- package/dist/esm/theme/light/rose.d.ts +128 -0
- package/dist/esm/theme/light/rose.js +25 -0
- package/dist/esm/theme/light/rose.js.map +1 -0
- package/dist/esm/theme/light/scatter.d.ts +345 -0
- package/dist/esm/theme/light/scatter.js +50 -0
- package/dist/esm/theme/light/scatter.js.map +1 -0
- package/dist/esm/types/advancedVSeed.d.ts +35 -18880
- package/dist/esm/types/advancedVSeed.js.map +1 -1
- package/dist/esm/types/chartType/area/area.d.ts +1 -5
- package/dist/esm/types/chartType/area/zArea.d.ts +13 -2
- package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +1 -5
- package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +13 -2
- package/dist/esm/types/chartType/bar/bar.d.ts +1 -5
- package/dist/esm/types/chartType/bar/zBar.d.ts +13 -2
- package/dist/esm/types/chartType/barParallel/barParallel.d.ts +1 -5
- package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +13 -2
- package/dist/esm/types/chartType/barPercent/barPercent.d.ts +1 -5
- package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +13 -2
- package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +13 -2
- package/dist/esm/types/chartType/circlePacking/circlePacking.d.ts +85 -0
- package/dist/esm/types/chartType/circlePacking/circlePacking.js +0 -0
- package/dist/esm/types/chartType/circlePacking/index.d.ts +2 -0
- package/dist/esm/types/chartType/circlePacking/index.js +1 -0
- package/dist/esm/types/chartType/circlePacking/zCirclePacking.d.ts +263 -0
- package/dist/esm/types/chartType/circlePacking/zCirclePacking.js +19 -0
- package/dist/esm/types/chartType/circlePacking/zCirclePacking.js.map +1 -0
- package/dist/esm/types/chartType/column/column.d.ts +1 -5
- package/dist/esm/types/chartType/column/zColumn.d.ts +13 -3
- package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +1 -5
- package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +13 -3
- package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +1 -5
- package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +13 -2
- package/dist/esm/types/chartType/donut/donut.d.ts +1 -5
- package/dist/esm/types/chartType/donut/zDonut.d.ts +4 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +26 -4
- package/dist/esm/types/chartType/funnel/funnel.d.ts +1 -5
- package/dist/esm/types/chartType/funnel/zFunnel.d.ts +4 -1
- package/dist/esm/types/chartType/heatmap/heatmap.d.ts +1 -6
- package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +2 -0
- package/dist/esm/types/chartType/histogram/zHistogram.d.ts +14 -3
- package/dist/esm/types/chartType/index.d.ts +6 -0
- package/dist/esm/types/chartType/index.js +6 -0
- package/dist/esm/types/chartType/line/line.d.ts +1 -5
- package/dist/esm/types/chartType/line/zLine.d.ts +13 -2
- package/dist/esm/types/chartType/pie/pie.d.ts +1 -5
- package/dist/esm/types/chartType/pie/zPie.d.ts +4 -1
- package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +2 -0
- package/dist/esm/types/chartType/raceBar/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceBar/index.js +1 -0
- package/dist/esm/types/chartType/raceBar/raceBar.d.ts +117 -0
- package/dist/esm/types/chartType/raceBar/raceBar.js +0 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +1227 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.js +36 -0
- package/dist/esm/types/chartType/raceBar/zRaceBar.js.map +1 -0
- package/dist/esm/types/chartType/raceColumn/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceColumn/index.js +1 -0
- package/dist/esm/types/chartType/raceColumn/raceColumn.d.ts +31 -0
- package/dist/esm/types/chartType/raceColumn/raceColumn.js +0 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +1227 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.js +36 -0
- package/dist/esm/types/chartType/raceColumn/zRaceColumn.js.map +1 -0
- package/dist/esm/types/chartType/raceScatter/index.d.ts +2 -0
- package/dist/esm/types/chartType/raceScatter/index.js +1 -0
- package/dist/esm/types/chartType/raceScatter/raceScatter.d.ts +41 -0
- package/dist/esm/types/chartType/raceScatter/raceScatter.js +0 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +1428 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.js +35 -0
- package/dist/esm/types/chartType/raceScatter/zRaceScatter.js.map +1 -0
- package/dist/esm/types/chartType/radar/radar.d.ts +1 -5
- package/dist/esm/types/chartType/radar/zRadar.d.ts +4 -1
- package/dist/esm/types/chartType/rose/rose.d.ts +1 -6
- package/dist/esm/types/chartType/rose/zRose.d.ts +4 -1
- package/dist/esm/types/chartType/roseParallel/roseParallel.d.ts +1 -6
- package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +4 -1
- package/dist/esm/types/chartType/scatter/scatter.d.ts +1 -5
- package/dist/esm/types/chartType/scatter/zScatter.d.ts +14 -3
- package/dist/esm/types/chartType/sunburst/index.d.ts +2 -0
- package/dist/esm/types/chartType/sunburst/index.js +1 -0
- package/dist/esm/types/chartType/sunburst/sunburst.d.ts +86 -0
- package/dist/esm/types/chartType/sunburst/sunburst.js +0 -0
- package/dist/esm/types/chartType/sunburst/zSunburst.d.ts +263 -0
- package/dist/esm/types/chartType/sunburst/zSunburst.js +19 -0
- package/dist/esm/types/chartType/sunburst/zSunburst.js.map +1 -0
- package/dist/esm/types/chartType/table/zTable.d.ts +2 -0
- package/dist/esm/types/chartType/treeMap/index.d.ts +2 -0
- package/dist/esm/types/chartType/treeMap/index.js +1 -0
- package/dist/esm/types/chartType/treeMap/treeMap.d.ts +85 -0
- package/dist/esm/types/chartType/treeMap/treeMap.js +0 -0
- package/dist/esm/types/chartType/treeMap/zTreeMap.d.ts +263 -0
- package/dist/esm/types/chartType/treeMap/zTreeMap.js +19 -0
- package/dist/esm/types/chartType/treeMap/zTreeMap.js.map +1 -0
- package/dist/esm/types/properties/chartType/chartType.d.ts +7 -1
- package/dist/esm/types/properties/chartType/chartType.js +7 -0
- package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
- package/dist/esm/types/properties/config/annotation/index.d.ts +1 -1
- package/dist/esm/types/properties/config/annotation/index.js +1 -1
- package/dist/esm/types/properties/config/annotation/{zAnnotaion.js → zAnnotation.js} +1 -1
- package/dist/esm/types/properties/config/annotation/zAnnotation.js.map +1 -0
- package/dist/esm/types/properties/config/area.d.ts +18 -40
- package/dist/esm/types/properties/config/area.js +1 -3
- package/dist/esm/types/properties/config/area.js.map +1 -1
- package/dist/esm/types/properties/config/axes/bandAxis.d.ts +26 -0
- package/dist/esm/types/properties/config/axes/linearAxis.d.ts +30 -4
- package/dist/esm/types/properties/config/axes/zBandAxis.d.ts +8 -0
- package/dist/esm/types/properties/config/axes/zBandAxis.js +4 -0
- package/dist/esm/types/properties/config/axes/zBandAxis.js.map +1 -1
- package/dist/esm/types/properties/config/axes/zLinearAxis.d.ts +10 -2
- package/dist/esm/types/properties/config/axes/zLinearAxis.js +5 -1
- package/dist/esm/types/properties/config/axes/zLinearAxis.js.map +1 -1
- package/dist/esm/types/properties/config/bar.d.ts +27 -60
- package/dist/esm/types/properties/config/bar.js +1 -3
- package/dist/esm/types/properties/config/bar.js.map +1 -1
- package/dist/esm/types/properties/config/boxplot.d.ts +9 -1
- package/dist/esm/types/properties/config/boxplot.js +1 -1
- package/dist/esm/types/properties/config/boxplot.js.map +1 -1
- package/dist/esm/types/properties/config/circlePacking.d.ts +211 -0
- package/dist/esm/types/properties/config/circlePacking.js +18 -0
- package/dist/esm/types/properties/config/circlePacking.js.map +1 -0
- package/dist/esm/types/properties/config/column.d.ts +27 -60
- package/dist/esm/types/properties/config/column.js +1 -3
- package/dist/esm/types/properties/config/column.js.map +1 -1
- package/dist/esm/types/properties/config/config.d.ts +2565 -383
- package/dist/esm/types/properties/config/config.js +10 -0
- package/dist/esm/types/properties/config/config.js.map +1 -1
- package/dist/esm/types/properties/config/dualAxis.d.ts +24 -4
- package/dist/esm/types/properties/config/dualAxis.js +1 -1
- package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
- package/dist/esm/types/properties/config/funnel.d.ts +0 -19
- package/dist/esm/types/properties/config/funnel.js +0 -2
- package/dist/esm/types/properties/config/funnel.js.map +1 -1
- package/dist/esm/types/properties/config/heatmap.d.ts +8 -19
- package/dist/esm/types/properties/config/heatmap.js +0 -2
- package/dist/esm/types/properties/config/heatmap.js.map +1 -1
- package/dist/esm/types/properties/config/histogram.d.ts +9 -1
- package/dist/esm/types/properties/config/histogram.js +1 -1
- package/dist/esm/types/properties/config/histogram.js.map +1 -1
- package/dist/esm/types/properties/config/index.d.ts +3 -0
- package/dist/esm/types/properties/config/index.js +3 -0
- package/dist/esm/types/properties/config/line.d.ts +9 -20
- package/dist/esm/types/properties/config/line.js +2 -4
- package/dist/esm/types/properties/config/line.js.map +1 -1
- package/dist/esm/types/properties/config/pie.d.ts +0 -57
- package/dist/esm/types/properties/config/pie.js +0 -2
- package/dist/esm/types/properties/config/pie.js.map +1 -1
- package/dist/esm/types/properties/config/player/player.d.ts +2 -2
- package/dist/esm/types/properties/config/player/zPlayer.d.ts +0 -1
- package/dist/esm/types/properties/config/player/zPlayer.js +0 -1
- package/dist/esm/types/properties/config/player/zPlayer.js.map +1 -1
- package/dist/esm/types/properties/config/race.d.ts +1758 -0
- package/dist/esm/types/properties/config/race.js +18 -0
- package/dist/esm/types/properties/config/race.js.map +1 -0
- package/dist/esm/types/properties/config/rose.d.ts +0 -38
- package/dist/esm/types/properties/config/rose.js +0 -2
- package/dist/esm/types/properties/config/rose.js.map +1 -1
- package/dist/esm/types/properties/config/scatter.d.ts +10 -21
- package/dist/esm/types/properties/config/scatter.js +1 -3
- package/dist/esm/types/properties/config/scatter.js.map +1 -1
- package/dist/esm/types/properties/config/sunburst.d.ts +211 -0
- package/dist/esm/types/properties/config/sunburst.js +18 -0
- package/dist/esm/types/properties/config/sunburst.js.map +1 -0
- package/dist/esm/types/properties/config/treeMap.d.ts +211 -0
- package/dist/esm/types/properties/config/treeMap.js +18 -0
- package/dist/esm/types/properties/config/treeMap.js.map +1 -0
- package/dist/esm/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +2 -0
- package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.d.ts +4 -0
- package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js +2 -0
- package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js.map +1 -1
- package/dist/esm/types/properties/dimensions/hierarchyDimension.d.ts +11 -0
- package/dist/esm/types/properties/dimensions/hierarchyDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/index.d.ts +4 -0
- package/dist/esm/types/properties/dimensions/raceBarDimension.d.ts +17 -0
- package/dist/esm/types/properties/dimensions/raceBarDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/raceColumnDimension.d.ts +20 -0
- package/dist/esm/types/properties/dimensions/raceColumnDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/raceScatterDimension.d.ts +14 -0
- package/dist/esm/types/properties/dimensions/raceScatterDimension.js +0 -0
- package/dist/esm/types/properties/dimensions/zDimensions.d.ts +6 -0
- package/dist/esm/types/properties/dimensions/zDimensions.js +2 -11
- package/dist/esm/types/properties/dimensions/zDimensions.js.map +1 -1
- package/dist/esm/types/properties/encoding/dimensionEncoding.d.ts +1 -1
- package/dist/esm/types/properties/encoding/encoding.d.ts +11 -4
- package/dist/esm/types/properties/encoding/zDimensionEncoding.d.ts +4 -0
- package/dist/esm/types/properties/encoding/zDimensionEncoding.js +6 -2
- package/dist/esm/types/properties/encoding/zDimensionEncoding.js.map +1 -1
- package/dist/esm/types/properties/encoding/zEncoding.d.ts +4 -2
- package/dist/esm/types/properties/encoding/zEncoding.js +4 -2
- package/dist/esm/types/properties/encoding/zEncoding.js.map +1 -1
- package/dist/esm/types/properties/measures/hierarchyMeasures.d.ts +4 -0
- package/dist/esm/types/properties/measures/hierarchyMeasures.js +0 -0
- package/dist/esm/types/properties/measures/index.d.ts +2 -0
- package/dist/esm/types/properties/measures/raceBarMeasure.d.ts +12 -0
- package/dist/esm/types/properties/measures/raceBarMeasure.js +0 -0
- package/dist/esm/types/properties/theme/customTheme.d.ts +7184 -2820
- package/dist/esm/types/vseed.d.ts +2 -2
- package/dist/esm/types/zVseed.d.ts +5007 -172
- package/dist/esm/types/zVseed.js +7 -1
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +5931 -3479
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.d.ts +0 -2
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js +0 -88
- package/dist/esm/pipeline/spec/chart/pipes/player/playerAdapter.js.map +0 -1
- package/dist/esm/types/properties/config/annotation/zAnnotaion.js.map +0 -1
- /package/dist/esm/types/properties/config/annotation/{zAnnotaion.d.ts → zAnnotation.d.ts} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { getLightBrushConfig, getLightColor, getLightCrosshairRect, getLightLabel, getLightLegend, getLightPivotChartGridConfig } from "../common/index.js";
|
|
2
|
+
import { getLightTooltip } from "../common/tooltip.js";
|
|
3
|
+
import { getLightAnnotation } from "../common/annotaion.js";
|
|
4
|
+
import { getLightLinearAxis } from "../common/axes.js";
|
|
5
|
+
import { getLightRegressionLine } from "../common/regressionLine.js";
|
|
6
|
+
const getHistogramTheme = ()=>{
|
|
7
|
+
const linearAxis = getLightLinearAxis();
|
|
8
|
+
const crosshairRect = getLightCrosshairRect();
|
|
9
|
+
const baseConfig = {
|
|
10
|
+
backgroundColor: 'transparent',
|
|
11
|
+
color: getLightColor(),
|
|
12
|
+
label: getLightLabel(),
|
|
13
|
+
legend: getLightLegend(),
|
|
14
|
+
tooltip: getLightTooltip(),
|
|
15
|
+
brush: getLightBrushConfig()
|
|
16
|
+
};
|
|
17
|
+
return {
|
|
18
|
+
...baseConfig,
|
|
19
|
+
xAxis: linearAxis,
|
|
20
|
+
yAxis: linearAxis,
|
|
21
|
+
crosshairRect,
|
|
22
|
+
pivotGrid: getLightPivotChartGridConfig(),
|
|
23
|
+
annotation: getLightAnnotation(),
|
|
24
|
+
regressionLine: getLightRegressionLine()
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export { getHistogramTheme };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=histogram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme/light/histogram.js","sources":["webpack://@visactor/vseed/./src/theme/light/histogram.ts"],"sourcesContent":["import {\n getLightColor,\n getLightLabel,\n getLightLegend,\n getLightBrushConfig,\n getLightPivotChartGridConfig,\n getLightCrosshairRect,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightLinearAxis } from '../common/axes'\nimport { getLightRegressionLine } from '../common/regressionLine'\n\nexport const getHistogramTheme = () => {\n const linearAxis = getLightLinearAxis()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n\n return {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n }\n}\n"],"names":["getHistogramTheme","linearAxis","getLightLinearAxis","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine"],"mappings":";;;;;AAaO,MAAMA,oBAAoB;IAC/B,MAAMC,aAAaC;IACnB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;QACT,OAAOC;IACT;IAEA,OAAO;QACL,GAAGL,UAAU;QACb,OAAOJ;QACP,OAAOA;QACPE;QACA,WAAWQ;QACX,YAAYC;QACZ,gBAAgBC;IAClB;AACF"}
|
|
@@ -1,297 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { getLightTableConfig } from "../common/index.js";
|
|
2
|
+
import { getLineTheme } from "./line.js";
|
|
3
|
+
import { getColumnParallelTheme, getColumnPercentTheme, getColumnTheme } from "./column.js";
|
|
4
|
+
import { getBarParallelTheme, getBarPercentTheme, getBarTheme } from "./bar.js";
|
|
5
|
+
import { getAreaPercentTheme, getAreaTheme } from "./area.js";
|
|
6
|
+
import { getScatterTheme } from "./scatter.js";
|
|
7
|
+
import { getDualAxisTheme } from "./dualAxis.js";
|
|
8
|
+
import { getDonutTheme, getPieTheme } from "./pie.js";
|
|
9
|
+
import { getRadarTheme } from "./radar.js";
|
|
10
|
+
import { getRoseParallelTheme, getRoseTheme } from "./rose.js";
|
|
11
|
+
import { getFunnelTheme } from "./funnel.js";
|
|
12
|
+
import { getHeatmapTheme } from "./heatmap.js";
|
|
13
|
+
import { getHistogramTheme } from "./histogram.js";
|
|
14
|
+
import { getBoxPlotTheme } from "./boxPlot.js";
|
|
15
|
+
import { getCirclePackingTheme, getSunburstTheme, getTreeMapTheme } from "./hierarchy.js";
|
|
16
|
+
import { getRaceBarTheme, getRaceColumnTheme, getRaceScatterTheme } from "./race.js";
|
|
9
17
|
const lightTheme = ()=>{
|
|
10
|
-
const linearAxis = getLightLinearAxis();
|
|
11
|
-
const bandAxis = getLightBandAxis();
|
|
12
|
-
const barBandAxis = {
|
|
13
|
-
...bandAxis,
|
|
14
|
-
labelAutoHide: false,
|
|
15
|
-
labelAutoHideGap: 1,
|
|
16
|
-
labelAutoLimit: false,
|
|
17
|
-
labelAutoLimitLength: void 0,
|
|
18
|
-
labelAutoRotate: false,
|
|
19
|
-
labelAutoRotateAngleRange: [
|
|
20
|
-
0,
|
|
21
|
-
-45,
|
|
22
|
-
-90
|
|
23
|
-
]
|
|
24
|
-
};
|
|
25
|
-
const crosshairLine = getLightCrosshairLine();
|
|
26
|
-
const crosshairRect = getLightCrosshairRect();
|
|
27
|
-
const baseConfig = {
|
|
28
|
-
backgroundColor: 'transparent',
|
|
29
|
-
color: getLightColor(),
|
|
30
|
-
label: getLightLabel(),
|
|
31
|
-
legend: getLightLegend(),
|
|
32
|
-
tooltip: getLightTooltip(),
|
|
33
|
-
brush: getLightBrushConfig()
|
|
34
|
-
};
|
|
35
18
|
const tableConfig = getLightTableConfig();
|
|
36
|
-
const player = getLightPlayer();
|
|
37
19
|
return {
|
|
38
20
|
config: {
|
|
39
21
|
table: tableConfig,
|
|
40
22
|
pivotTable: tableConfig,
|
|
41
|
-
line:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
...baseConfig,
|
|
68
|
-
xAxis: bandAxis,
|
|
69
|
-
yAxis: linearAxis,
|
|
70
|
-
crosshairRect,
|
|
71
|
-
player,
|
|
72
|
-
stackCornerRadius: [
|
|
73
|
-
4,
|
|
74
|
-
4,
|
|
75
|
-
0,
|
|
76
|
-
0
|
|
77
|
-
],
|
|
78
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
79
|
-
annotation: getLightAnnotation()
|
|
80
|
-
},
|
|
81
|
-
columnPercent: {
|
|
82
|
-
...baseConfig,
|
|
83
|
-
xAxis: bandAxis,
|
|
84
|
-
yAxis: {
|
|
85
|
-
...linearAxis
|
|
86
|
-
},
|
|
87
|
-
player,
|
|
88
|
-
crosshairRect,
|
|
89
|
-
stackCornerRadius: [
|
|
90
|
-
4,
|
|
91
|
-
4,
|
|
92
|
-
0,
|
|
93
|
-
0
|
|
94
|
-
],
|
|
95
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
96
|
-
annotation: getLightAnnotation()
|
|
97
|
-
},
|
|
98
|
-
bar: {
|
|
99
|
-
...baseConfig,
|
|
100
|
-
xAxis: linearAxis,
|
|
101
|
-
yAxis: barBandAxis,
|
|
102
|
-
crosshairRect,
|
|
103
|
-
player,
|
|
104
|
-
stackCornerRadius: [
|
|
105
|
-
0,
|
|
106
|
-
4,
|
|
107
|
-
4,
|
|
108
|
-
0
|
|
109
|
-
],
|
|
110
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
111
|
-
annotation: getLightAnnotation()
|
|
112
|
-
},
|
|
113
|
-
barParallel: {
|
|
114
|
-
...baseConfig,
|
|
115
|
-
xAxis: linearAxis,
|
|
116
|
-
yAxis: barBandAxis,
|
|
117
|
-
crosshairRect,
|
|
118
|
-
stackCornerRadius: [
|
|
119
|
-
0,
|
|
120
|
-
4,
|
|
121
|
-
4,
|
|
122
|
-
0
|
|
123
|
-
],
|
|
124
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
125
|
-
annotation: getLightAnnotation()
|
|
126
|
-
},
|
|
127
|
-
barPercent: {
|
|
128
|
-
...baseConfig,
|
|
129
|
-
xAxis: {
|
|
130
|
-
...linearAxis
|
|
131
|
-
},
|
|
132
|
-
yAxis: barBandAxis,
|
|
133
|
-
crosshairRect,
|
|
134
|
-
player,
|
|
135
|
-
stackCornerRadius: [
|
|
136
|
-
0,
|
|
137
|
-
4,
|
|
138
|
-
4,
|
|
139
|
-
0
|
|
140
|
-
],
|
|
141
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
142
|
-
annotation: getLightAnnotation()
|
|
143
|
-
},
|
|
144
|
-
area: {
|
|
145
|
-
...baseConfig,
|
|
146
|
-
xAxis: bandAxis,
|
|
147
|
-
yAxis: linearAxis,
|
|
148
|
-
crosshairLine,
|
|
149
|
-
player,
|
|
150
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
151
|
-
annotation: getLightAnnotation()
|
|
152
|
-
},
|
|
153
|
-
areaPercent: {
|
|
154
|
-
...baseConfig,
|
|
155
|
-
xAxis: bandAxis,
|
|
156
|
-
yAxis: {
|
|
157
|
-
...linearAxis
|
|
158
|
-
},
|
|
159
|
-
player,
|
|
160
|
-
crosshairLine,
|
|
161
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
162
|
-
annotation: getLightAnnotation()
|
|
163
|
-
},
|
|
164
|
-
scatter: {
|
|
165
|
-
...baseConfig,
|
|
166
|
-
crosshairLine,
|
|
167
|
-
sizeRange: [
|
|
168
|
-
8,
|
|
169
|
-
24
|
|
170
|
-
],
|
|
171
|
-
xAxis: {
|
|
172
|
-
...linearAxis,
|
|
173
|
-
line: {
|
|
174
|
-
...linearAxis.line,
|
|
175
|
-
visible: true
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
yAxis: {
|
|
179
|
-
...linearAxis,
|
|
180
|
-
line: {
|
|
181
|
-
...linearAxis.line,
|
|
182
|
-
visible: true
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
label: {
|
|
186
|
-
...baseConfig.label,
|
|
187
|
-
showValue: false,
|
|
188
|
-
showValuePercent: false
|
|
189
|
-
},
|
|
190
|
-
player,
|
|
191
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
192
|
-
annotation: getLightAnnotation(),
|
|
193
|
-
regressionLine: getLightRegressionLine()
|
|
194
|
-
},
|
|
195
|
-
dualAxis: {
|
|
196
|
-
...baseConfig,
|
|
197
|
-
xAxis: bandAxis,
|
|
198
|
-
primaryYAxis: linearAxis,
|
|
199
|
-
secondaryYAxis: {
|
|
200
|
-
...linearAxis,
|
|
201
|
-
grid: {
|
|
202
|
-
visible: false
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
crosshairRect,
|
|
206
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
207
|
-
annotation: getLightAnnotation()
|
|
208
|
-
},
|
|
209
|
-
pie: {
|
|
210
|
-
...baseConfig,
|
|
211
|
-
label: {
|
|
212
|
-
...baseConfig.label,
|
|
213
|
-
showValuePercent: true,
|
|
214
|
-
labelLayout: 'arc',
|
|
215
|
-
showDimension: true
|
|
216
|
-
},
|
|
217
|
-
player,
|
|
218
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
219
|
-
},
|
|
220
|
-
donut: {
|
|
221
|
-
...baseConfig,
|
|
222
|
-
label: {
|
|
223
|
-
...baseConfig.label,
|
|
224
|
-
showValuePercent: true,
|
|
225
|
-
labelLayout: 'arc',
|
|
226
|
-
showDimension: true
|
|
227
|
-
},
|
|
228
|
-
player,
|
|
229
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
230
|
-
},
|
|
231
|
-
radar: {
|
|
232
|
-
...baseConfig,
|
|
233
|
-
player,
|
|
234
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
235
|
-
},
|
|
236
|
-
rose: {
|
|
237
|
-
...baseConfig,
|
|
238
|
-
label: {
|
|
239
|
-
...baseConfig.label,
|
|
240
|
-
showValuePercent: true,
|
|
241
|
-
showDimension: true
|
|
242
|
-
},
|
|
243
|
-
player,
|
|
244
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
245
|
-
},
|
|
246
|
-
roseParallel: {
|
|
247
|
-
...baseConfig,
|
|
248
|
-
label: {
|
|
249
|
-
...baseConfig.label,
|
|
250
|
-
showValuePercent: true,
|
|
251
|
-
showDimension: true
|
|
252
|
-
},
|
|
253
|
-
player,
|
|
254
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
255
|
-
},
|
|
256
|
-
funnel: {
|
|
257
|
-
...baseConfig,
|
|
258
|
-
label: getFunnelLightLabel(),
|
|
259
|
-
transform: getLightFunnelTransformTheme(),
|
|
260
|
-
player,
|
|
261
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
262
|
-
},
|
|
263
|
-
heatmap: {
|
|
264
|
-
...baseConfig,
|
|
265
|
-
legend: getLightColorLegend(),
|
|
266
|
-
xAxis: bandAxis,
|
|
267
|
-
yAxis: bandAxis,
|
|
268
|
-
label: {
|
|
269
|
-
...baseConfig.label,
|
|
270
|
-
labelColorSmartInvert: true
|
|
271
|
-
},
|
|
272
|
-
player,
|
|
273
|
-
cell: getLightHeatmapCellTheme(),
|
|
274
|
-
pivotGrid: getLightPivotChartGridConfig()
|
|
275
|
-
},
|
|
276
|
-
histogram: {
|
|
277
|
-
...baseConfig,
|
|
278
|
-
xAxis: linearAxis,
|
|
279
|
-
yAxis: linearAxis,
|
|
280
|
-
crosshairRect,
|
|
281
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
282
|
-
annotation: getLightAnnotation(),
|
|
283
|
-
regressionLine: getLightRegressionLine()
|
|
284
|
-
},
|
|
285
|
-
boxPlot: {
|
|
286
|
-
...baseConfig,
|
|
287
|
-
xAxis: linearAxis,
|
|
288
|
-
yAxis: linearAxis,
|
|
289
|
-
crosshairRect,
|
|
290
|
-
pivotGrid: getLightPivotChartGridConfig(),
|
|
291
|
-
annotation: getLightAnnotation(),
|
|
292
|
-
boxPlotStyle: getLightBoxPlotStyle(),
|
|
293
|
-
outlierStyle: getLightOutlierStyle()
|
|
294
|
-
}
|
|
23
|
+
line: getLineTheme(),
|
|
24
|
+
column: getColumnTheme(),
|
|
25
|
+
columnParallel: getColumnParallelTheme(),
|
|
26
|
+
columnPercent: getColumnPercentTheme(),
|
|
27
|
+
bar: getBarTheme(),
|
|
28
|
+
barParallel: getBarParallelTheme(),
|
|
29
|
+
barPercent: getBarPercentTheme(),
|
|
30
|
+
area: getAreaTheme(),
|
|
31
|
+
areaPercent: getAreaPercentTheme(),
|
|
32
|
+
scatter: getScatterTheme(),
|
|
33
|
+
dualAxis: getDualAxisTheme(),
|
|
34
|
+
pie: getPieTheme(),
|
|
35
|
+
donut: getDonutTheme(),
|
|
36
|
+
radar: getRadarTheme(),
|
|
37
|
+
rose: getRoseTheme(),
|
|
38
|
+
roseParallel: getRoseParallelTheme(),
|
|
39
|
+
funnel: getFunnelTheme(),
|
|
40
|
+
heatmap: getHeatmapTheme(),
|
|
41
|
+
histogram: getHistogramTheme(),
|
|
42
|
+
boxPlot: getBoxPlotTheme(),
|
|
43
|
+
treeMap: getTreeMapTheme(),
|
|
44
|
+
sunburst: getSunburstTheme(),
|
|
45
|
+
circlePacking: getCirclePackingTheme(),
|
|
46
|
+
raceBar: getRaceBarTheme(),
|
|
47
|
+
raceColumn: getRaceColumnTheme(),
|
|
48
|
+
raceScatter: getRaceScatterTheme()
|
|
295
49
|
}
|
|
296
50
|
};
|
|
297
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig, Player, YBandAxis } from 'src/types'\nimport {\n getFunnelLightLabel,\n getLightColor,\n getLightColorLegend,\n getLightCrosshairLine,\n getLightCrosshairRect,\n getLightBrushConfig,\n getLightLabel,\n getLightLegend,\n getLightPivotChartGridConfig,\n getLightTableConfig,\n getLightPlayer,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightFunnelTransformTheme } from '../common/funnelTransform'\nimport { getLightHeatmapCellTheme } from '../common/heatmapCell'\nimport { getLightRegressionLine } from '../common/regressionLine'\nimport { getLightBoxPlotStyle, getLightOutlierStyle } from '../common/boxPlot'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const linearAxis = getLightLinearAxis()\n const bandAxis: YBandAxis = getLightBandAxis()\n const barBandAxis: YBandAxis = {\n ...bandAxis,\n labelAutoHide: false,\n labelAutoHideGap: 1,\n labelAutoLimit: false,\n labelAutoLimitLength: undefined,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n }\n\n const crosshairLine = getLightCrosshairLine()\n const crosshairRect = getLightCrosshairRect()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n const tableConfig = getLightTableConfig()\n const player = getLightPlayer() as Player\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n player,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n column: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n columnParallel: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n columnPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n player,\n\n crosshairRect,\n stackCornerRadius: [4, 4, 0, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n bar: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barParallel: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: barBandAxis,\n crosshairRect,\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n barPercent: {\n ...baseConfig,\n xAxis: {\n ...linearAxis,\n },\n yAxis: barBandAxis,\n crosshairRect,\n player,\n\n stackCornerRadius: [0, 4, 4, 0],\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n area: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n areaPercent: {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: {\n ...linearAxis,\n },\n player,\n\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n scatter: {\n ...baseConfig,\n crosshairLine,\n sizeRange: [8, 24],\n xAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n yAxis: {\n ...linearAxis,\n line: {\n ...linearAxis.line,\n visible: true,\n },\n },\n label: {\n ...baseConfig.label,\n showValue: false,\n showValuePercent: false,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n regressionLine: getLightRegressionLine(),\n },\n dualAxis: {\n ...baseConfig,\n xAxis: bandAxis,\n primaryYAxis: linearAxis,\n secondaryYAxis: { ...linearAxis, grid: { visible: false } },\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n },\n // polar\n pie: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n donut: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n labelLayout: 'arc',\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n radar: {\n ...baseConfig,\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n rose: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n roseParallel: {\n ...baseConfig,\n label: {\n ...baseConfig.label,\n showValuePercent: true,\n showDimension: true,\n },\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n // other\n funnel: {\n ...baseConfig,\n label: getFunnelLightLabel(),\n transform: getLightFunnelTransformTheme(),\n player,\n\n pivotGrid: getLightPivotChartGridConfig(),\n },\n heatmap: {\n ...baseConfig,\n legend: getLightColorLegend(),\n xAxis: bandAxis,\n yAxis: bandAxis,\n label: {\n ...baseConfig.label,\n labelColorSmartInvert: true,\n },\n player,\n\n cell: getLightHeatmapCellTheme(),\n pivotGrid: getLightPivotChartGridConfig(),\n },\n histogram: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n regressionLine: getLightRegressionLine(),\n },\n boxPlot: {\n ...baseConfig,\n xAxis: linearAxis,\n yAxis: linearAxis,\n crosshairRect,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n\n boxPlotStyle: getLightBoxPlotStyle(),\n outlierStyle: getLightOutlierStyle(),\n },\n },\n }\n}\n"],"names":["lightTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","barBandAxis","undefined","crosshairLine","getLightCrosshairLine","crosshairRect","getLightCrosshairRect","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","tableConfig","getLightTableConfig","player","getLightPlayer","getLightPivotChartGridConfig","getLightAnnotation","getLightRegressionLine","getFunnelLightLabel","getLightFunnelTransformTheme","getLightColorLegend","getLightHeatmapCellTheme","getLightBoxPlotStyle","getLightOutlierStyle"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"theme/light/light.js","sources":["webpack://@visactor/vseed/./src/theme/light/light.ts"],"sourcesContent":["import type { CustomThemeConfig } from 'src/types'\nimport { getLightTableConfig } from '../common'\n\nimport { getLineTheme } from './line'\nimport { getColumnTheme, getColumnParallelTheme, getColumnPercentTheme } from './column'\nimport { getBarTheme, getBarParallelTheme, getBarPercentTheme } from './bar'\nimport { getAreaTheme, getAreaPercentTheme } from './area'\nimport { getScatterTheme } from './scatter'\nimport { getDualAxisTheme } from './dualAxis'\nimport { getPieTheme, getDonutTheme } from './pie'\nimport { getRadarTheme } from './radar'\nimport { getRoseTheme, getRoseParallelTheme } from './rose'\nimport { getFunnelTheme } from './funnel'\nimport { getHeatmapTheme } from './heatmap'\nimport { getHistogramTheme } from './histogram'\nimport { getBoxPlotTheme } from './boxPlot'\nimport { getTreeMapTheme, getSunburstTheme, getCirclePackingTheme } from './hierarchy'\nimport { getRaceBarTheme, getRaceColumnTheme, getRaceScatterTheme } from './race'\n\nexport const lightTheme = (): CustomThemeConfig => {\n const tableConfig = getLightTableConfig()\n\n return {\n config: {\n // table\n table: tableConfig,\n pivotTable: tableConfig,\n // cartesian\n line: getLineTheme(),\n column: getColumnTheme(),\n columnParallel: getColumnParallelTheme(),\n columnPercent: getColumnPercentTheme(),\n bar: getBarTheme(),\n barParallel: getBarParallelTheme(),\n barPercent: getBarPercentTheme(),\n area: getAreaTheme(),\n areaPercent: getAreaPercentTheme(),\n scatter: getScatterTheme(),\n dualAxis: getDualAxisTheme(),\n // polar\n pie: getPieTheme(),\n donut: getDonutTheme(),\n radar: getRadarTheme(),\n rose: getRoseTheme(),\n roseParallel: getRoseParallelTheme(),\n // other\n funnel: getFunnelTheme(),\n heatmap: getHeatmapTheme(),\n histogram: getHistogramTheme(),\n boxPlot: getBoxPlotTheme(),\n\n // hierarchy\n treeMap: getTreeMapTheme(),\n sunburst: getSunburstTheme(),\n circlePacking: getCirclePackingTheme(),\n\n // race\n raceBar: getRaceBarTheme(),\n raceColumn: getRaceColumnTheme(),\n raceScatter: getRaceScatterTheme(),\n },\n }\n}\n"],"names":["lightTheme","tableConfig","getLightTableConfig","getLineTheme","getColumnTheme","getColumnParallelTheme","getColumnPercentTheme","getBarTheme","getBarParallelTheme","getBarPercentTheme","getAreaTheme","getAreaPercentTheme","getScatterTheme","getDualAxisTheme","getPieTheme","getDonutTheme","getRadarTheme","getRoseTheme","getRoseParallelTheme","getFunnelTheme","getHeatmapTheme","getHistogramTheme","getBoxPlotTheme","getTreeMapTheme","getSunburstTheme","getCirclePackingTheme","getRaceBarTheme","getRaceColumnTheme","getRaceScatterTheme"],"mappings":";;;;;;;;;;;;;;;;AAmBO,MAAMA,aAAa;IACxB,MAAMC,cAAcC;IAEpB,OAAO;QACL,QAAQ;YAEN,OAAOD;YACP,YAAYA;YAEZ,MAAME;YACN,QAAQC;YACR,gBAAgBC;YAChB,eAAeC;YACf,KAAKC;YACL,aAAaC;YACb,YAAYC;YACZ,MAAMC;YACN,aAAaC;YACb,SAASC;YACT,UAAUC;YAEV,KAAKC;YACL,OAAOC;YACP,OAAOC;YACP,MAAMC;YACN,cAAcC;YAEd,QAAQC;YACR,SAASC;YACT,WAAWC;YACX,SAASC;YAGT,SAASC;YACT,UAAUC;YACV,eAAeC;YAGf,SAASC;YACT,YAAYC;YACZ,aAAaC;QACf;IACF;AACF"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare const getLineTheme: () => {
|
|
2
|
+
xAxis: import("../..").YBandAxis;
|
|
3
|
+
yAxis: import("../..").YLinearAxis;
|
|
4
|
+
crosshairLine: {
|
|
5
|
+
visible: boolean;
|
|
6
|
+
labelVisible: boolean;
|
|
7
|
+
labelColor: string;
|
|
8
|
+
labelBackgroundColor: string;
|
|
9
|
+
lineColor: string;
|
|
10
|
+
};
|
|
11
|
+
pivotGrid: {
|
|
12
|
+
borderColor?: string | null | undefined;
|
|
13
|
+
bodyFontColor?: string | null | undefined;
|
|
14
|
+
headerFontColor?: string | null | undefined;
|
|
15
|
+
headerBackgroundColor?: string | null | undefined;
|
|
16
|
+
hoverHeaderBackgroundColor?: string | null | undefined;
|
|
17
|
+
hoverHeaderInlineBackgroundColor?: string | null | undefined;
|
|
18
|
+
outlineBorderLineWidth?: number | null | undefined;
|
|
19
|
+
frameCornerRadius?: number | null | undefined;
|
|
20
|
+
minChartWidth?: number | null | undefined;
|
|
21
|
+
minChartHeight?: number | null | undefined;
|
|
22
|
+
titleFontColor?: string | null | undefined;
|
|
23
|
+
titleFontSize?: number | null | undefined;
|
|
24
|
+
titleFontWeight?: string | null | undefined;
|
|
25
|
+
chartGridColor?: string | null | undefined;
|
|
26
|
+
axisLabelColor?: string | null | undefined;
|
|
27
|
+
};
|
|
28
|
+
annotation: {
|
|
29
|
+
annotationPoint: import("../..").AnnotationPointConfig;
|
|
30
|
+
annotationHorizontalLine: import("../..").AnnotationHorizontalLineConfig;
|
|
31
|
+
annotationVerticalLine: import("../..").AnnotationHorizontalLineConfig;
|
|
32
|
+
annotationArea: import("../..").AnnotationAreaConfig;
|
|
33
|
+
};
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
color: {
|
|
36
|
+
linearColorScheme: string[];
|
|
37
|
+
colorScheme: string[];
|
|
38
|
+
positiveColor: string;
|
|
39
|
+
negativeColor: string;
|
|
40
|
+
};
|
|
41
|
+
label: {
|
|
42
|
+
labelStroke: string;
|
|
43
|
+
enable: boolean;
|
|
44
|
+
wrap: boolean;
|
|
45
|
+
showValue: boolean;
|
|
46
|
+
showValuePercent: boolean;
|
|
47
|
+
labelColorSmartInvert: boolean;
|
|
48
|
+
labelOverlap: boolean;
|
|
49
|
+
};
|
|
50
|
+
legend: import("../..").Legend;
|
|
51
|
+
tooltip: {
|
|
52
|
+
enable?: boolean | null | undefined;
|
|
53
|
+
borderColor?: string | null | undefined;
|
|
54
|
+
borderWidth?: number | null | undefined;
|
|
55
|
+
borderRadius?: number | null | undefined;
|
|
56
|
+
padding?: number | number[] | null | undefined;
|
|
57
|
+
backgroundColor?: string | null | undefined;
|
|
58
|
+
lineHeight?: number | null | undefined;
|
|
59
|
+
fontSize?: number | null | undefined;
|
|
60
|
+
lineSpace?: number | null | undefined;
|
|
61
|
+
keyColor?: string | null | undefined;
|
|
62
|
+
valueColor?: string | null | undefined;
|
|
63
|
+
titleColor?: string | null | undefined;
|
|
64
|
+
};
|
|
65
|
+
brush: {
|
|
66
|
+
enable: boolean;
|
|
67
|
+
inBrushStyle?: {
|
|
68
|
+
opacity?: number | undefined;
|
|
69
|
+
stroke?: string | undefined;
|
|
70
|
+
lineWidth?: number | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
outOfBrushStyle?: {
|
|
73
|
+
opacity?: number | undefined;
|
|
74
|
+
stroke?: string | undefined;
|
|
75
|
+
lineWidth?: number | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { getLightBrushConfig, getLightColor, getLightCrosshairLine, getLightLabel, getLightLegend, getLightPivotChartGridConfig } from "../common/index.js";
|
|
2
|
+
import { getLightTooltip } from "../common/tooltip.js";
|
|
3
|
+
import { getLightAnnotation } from "../common/annotaion.js";
|
|
4
|
+
import { getLightBandAxis, getLightLinearAxis } from "../common/axes.js";
|
|
5
|
+
const getLineTheme = ()=>{
|
|
6
|
+
const linearAxis = getLightLinearAxis();
|
|
7
|
+
const bandAxis = getLightBandAxis();
|
|
8
|
+
const crosshairLine = getLightCrosshairLine();
|
|
9
|
+
const baseConfig = {
|
|
10
|
+
backgroundColor: 'transparent',
|
|
11
|
+
color: getLightColor(),
|
|
12
|
+
label: getLightLabel(),
|
|
13
|
+
legend: getLightLegend(),
|
|
14
|
+
tooltip: getLightTooltip(),
|
|
15
|
+
brush: getLightBrushConfig()
|
|
16
|
+
};
|
|
17
|
+
return {
|
|
18
|
+
...baseConfig,
|
|
19
|
+
xAxis: bandAxis,
|
|
20
|
+
yAxis: linearAxis,
|
|
21
|
+
crosshairLine,
|
|
22
|
+
pivotGrid: getLightPivotChartGridConfig(),
|
|
23
|
+
annotation: getLightAnnotation()
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { getLineTheme };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=line.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme/light/line.js","sources":["webpack://@visactor/vseed/./src/theme/light/line.ts"],"sourcesContent":["import {\n getLightColor,\n getLightLabel,\n getLightLegend,\n getLightBrushConfig,\n getLightPivotChartGridConfig,\n getLightCrosshairLine,\n} from '../common'\nimport { getLightTooltip } from '../common/tooltip'\nimport { getLightAnnotation } from '../common/annotaion'\nimport { getLightBandAxis, getLightLinearAxis } from '../common/axes'\n\nexport const getLineTheme = () => {\n const linearAxis = getLightLinearAxis()\n const bandAxis = getLightBandAxis()\n const crosshairLine = getLightCrosshairLine()\n\n const baseConfig = {\n backgroundColor: 'transparent',\n color: getLightColor(),\n label: getLightLabel(),\n legend: getLightLegend(),\n tooltip: getLightTooltip(),\n brush: getLightBrushConfig(),\n }\n\n return {\n ...baseConfig,\n xAxis: bandAxis,\n yAxis: linearAxis,\n crosshairLine,\n pivotGrid: getLightPivotChartGridConfig(),\n annotation: getLightAnnotation(),\n }\n}\n"],"names":["getLineTheme","linearAxis","getLightLinearAxis","bandAxis","getLightBandAxis","crosshairLine","getLightCrosshairLine","baseConfig","getLightColor","getLightLabel","getLightLegend","getLightTooltip","getLightBrushConfig","getLightPivotChartGridConfig","getLightAnnotation"],"mappings":";;;;AAYO,MAAMA,eAAe;IAC1B,MAAMC,aAAaC;IACnB,MAAMC,WAAWC;IACjB,MAAMC,gBAAgBC;IAEtB,MAAMC,aAAa;QACjB,iBAAiB;QACjB,OAAOC;QACP,OAAOC;QACP,QAAQC;QACR,SAASC;QACT,OAAOC;IACT;IAEA,OAAO;QACL,GAAGL,UAAU;QACb,OAAOJ;QACP,OAAOF;QACPI;QACA,WAAWQ;QACX,YAAYC;IACd;AACF"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export declare const getPieTheme: () => {
|
|
2
|
+
label: {
|
|
3
|
+
showValuePercent: boolean;
|
|
4
|
+
labelLayout: "arc";
|
|
5
|
+
showDimension: boolean;
|
|
6
|
+
labelStroke: string;
|
|
7
|
+
enable: boolean;
|
|
8
|
+
wrap: boolean;
|
|
9
|
+
showValue: boolean;
|
|
10
|
+
labelColorSmartInvert: boolean;
|
|
11
|
+
labelOverlap: boolean;
|
|
12
|
+
};
|
|
13
|
+
pivotGrid: {
|
|
14
|
+
borderColor?: string | null | undefined;
|
|
15
|
+
bodyFontColor?: string | null | undefined;
|
|
16
|
+
headerFontColor?: string | null | undefined;
|
|
17
|
+
headerBackgroundColor?: string | null | undefined;
|
|
18
|
+
hoverHeaderBackgroundColor?: string | null | undefined;
|
|
19
|
+
hoverHeaderInlineBackgroundColor?: string | null | undefined;
|
|
20
|
+
outlineBorderLineWidth?: number | null | undefined;
|
|
21
|
+
frameCornerRadius?: number | null | undefined;
|
|
22
|
+
minChartWidth?: number | null | undefined;
|
|
23
|
+
minChartHeight?: number | null | undefined;
|
|
24
|
+
titleFontColor?: string | null | undefined;
|
|
25
|
+
titleFontSize?: number | null | undefined;
|
|
26
|
+
titleFontWeight?: string | null | undefined;
|
|
27
|
+
chartGridColor?: string | null | undefined;
|
|
28
|
+
axisLabelColor?: string | null | undefined;
|
|
29
|
+
};
|
|
30
|
+
backgroundColor: string;
|
|
31
|
+
color: {
|
|
32
|
+
linearColorScheme: string[];
|
|
33
|
+
colorScheme: string[];
|
|
34
|
+
positiveColor: string;
|
|
35
|
+
negativeColor: string;
|
|
36
|
+
};
|
|
37
|
+
legend: import("../..").Legend;
|
|
38
|
+
tooltip: {
|
|
39
|
+
enable?: boolean | null | undefined;
|
|
40
|
+
borderColor?: string | null | undefined;
|
|
41
|
+
borderWidth?: number | null | undefined;
|
|
42
|
+
borderRadius?: number | null | undefined;
|
|
43
|
+
padding?: number | number[] | null | undefined;
|
|
44
|
+
backgroundColor?: string | null | undefined;
|
|
45
|
+
lineHeight?: number | null | undefined;
|
|
46
|
+
fontSize?: number | null | undefined;
|
|
47
|
+
lineSpace?: number | null | undefined;
|
|
48
|
+
keyColor?: string | null | undefined;
|
|
49
|
+
valueColor?: string | null | undefined;
|
|
50
|
+
titleColor?: string | null | undefined;
|
|
51
|
+
};
|
|
52
|
+
brush: {
|
|
53
|
+
enable: boolean;
|
|
54
|
+
inBrushStyle?: {
|
|
55
|
+
opacity?: number | undefined;
|
|
56
|
+
stroke?: string | undefined;
|
|
57
|
+
lineWidth?: number | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
outOfBrushStyle?: {
|
|
60
|
+
opacity?: number | undefined;
|
|
61
|
+
stroke?: string | undefined;
|
|
62
|
+
lineWidth?: number | undefined;
|
|
63
|
+
} | undefined;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export declare const getDonutTheme: () => {
|
|
67
|
+
label: {
|
|
68
|
+
showValuePercent: boolean;
|
|
69
|
+
labelLayout: "arc";
|
|
70
|
+
showDimension: boolean;
|
|
71
|
+
labelStroke: string;
|
|
72
|
+
enable: boolean;
|
|
73
|
+
wrap: boolean;
|
|
74
|
+
showValue: boolean;
|
|
75
|
+
labelColorSmartInvert: boolean;
|
|
76
|
+
labelOverlap: boolean;
|
|
77
|
+
};
|
|
78
|
+
pivotGrid: {
|
|
79
|
+
borderColor?: string | null | undefined;
|
|
80
|
+
bodyFontColor?: string | null | undefined;
|
|
81
|
+
headerFontColor?: string | null | undefined;
|
|
82
|
+
headerBackgroundColor?: string | null | undefined;
|
|
83
|
+
hoverHeaderBackgroundColor?: string | null | undefined;
|
|
84
|
+
hoverHeaderInlineBackgroundColor?: string | null | undefined;
|
|
85
|
+
outlineBorderLineWidth?: number | null | undefined;
|
|
86
|
+
frameCornerRadius?: number | null | undefined;
|
|
87
|
+
minChartWidth?: number | null | undefined;
|
|
88
|
+
minChartHeight?: number | null | undefined;
|
|
89
|
+
titleFontColor?: string | null | undefined;
|
|
90
|
+
titleFontSize?: number | null | undefined;
|
|
91
|
+
titleFontWeight?: string | null | undefined;
|
|
92
|
+
chartGridColor?: string | null | undefined;
|
|
93
|
+
axisLabelColor?: string | null | undefined;
|
|
94
|
+
};
|
|
95
|
+
backgroundColor: string;
|
|
96
|
+
color: {
|
|
97
|
+
linearColorScheme: string[];
|
|
98
|
+
colorScheme: string[];
|
|
99
|
+
positiveColor: string;
|
|
100
|
+
negativeColor: string;
|
|
101
|
+
};
|
|
102
|
+
legend: import("../..").Legend;
|
|
103
|
+
tooltip: {
|
|
104
|
+
enable?: boolean | null | undefined;
|
|
105
|
+
borderColor?: string | null | undefined;
|
|
106
|
+
borderWidth?: number | null | undefined;
|
|
107
|
+
borderRadius?: number | null | undefined;
|
|
108
|
+
padding?: number | number[] | null | undefined;
|
|
109
|
+
backgroundColor?: string | null | undefined;
|
|
110
|
+
lineHeight?: number | null | undefined;
|
|
111
|
+
fontSize?: number | null | undefined;
|
|
112
|
+
lineSpace?: number | null | undefined;
|
|
113
|
+
keyColor?: string | null | undefined;
|
|
114
|
+
valueColor?: string | null | undefined;
|
|
115
|
+
titleColor?: string | null | undefined;
|
|
116
|
+
};
|
|
117
|
+
brush: {
|
|
118
|
+
enable: boolean;
|
|
119
|
+
inBrushStyle?: {
|
|
120
|
+
opacity?: number | undefined;
|
|
121
|
+
stroke?: string | undefined;
|
|
122
|
+
lineWidth?: number | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
outOfBrushStyle?: {
|
|
125
|
+
opacity?: number | undefined;
|
|
126
|
+
stroke?: string | undefined;
|
|
127
|
+
lineWidth?: number | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
};
|
|
130
|
+
};
|