@visactor/vchart 1.12.0-alpha.4 → 1.12.0-alpha.6
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/build/es5/index.js +1 -1
- package/build/index.js +9969 -9903
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/animation/utils.d.ts +2 -2
- package/cjs/chart/area/area.d.ts +0 -1
- package/cjs/chart/area/area.js +4 -3
- package/cjs/chart/area/area.js.map +1 -1
- package/cjs/chart/bar/bar.d.ts +0 -1
- package/cjs/chart/bar/bar.js +4 -3
- package/cjs/chart/bar/bar.js.map +1 -1
- package/cjs/chart/base/base-chart.d.ts +0 -4
- package/cjs/chart/base/base-chart.js +8 -8
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/chart/common/common.d.ts +0 -1
- package/cjs/chart/common/common.js +4 -3
- package/cjs/chart/common/common.js.map +1 -1
- package/cjs/chart/histogram/base/base.d.ts +0 -1
- package/cjs/chart/histogram/base/base.js +4 -4
- package/cjs/chart/histogram/base/base.js.map +1 -1
- package/cjs/chart/line/line.d.ts +0 -1
- package/cjs/chart/line/line.js +4 -3
- package/cjs/chart/line/line.js.map +1 -1
- package/cjs/chart/mosaic/mosaic.d.ts +3 -1
- package/cjs/chart/mosaic/mosaic.js +5 -3
- package/cjs/chart/mosaic/mosaic.js.map +1 -1
- package/cjs/chart/pie/base/pie-transformer.js +4 -1
- package/cjs/chart/pie/base/pie-transformer.js.map +1 -1
- package/cjs/chart/progress/circular/circular.d.ts +0 -1
- package/cjs/chart/progress/circular/circular.js +4 -4
- package/cjs/chart/progress/circular/circular.js.map +1 -1
- package/cjs/chart/progress/linear/linear.d.ts +0 -1
- package/cjs/chart/progress/linear/linear.js +4 -4
- package/cjs/chart/progress/linear/linear.js.map +1 -1
- package/cjs/chart/radar/radar.d.ts +0 -1
- package/cjs/chart/radar/radar.js +4 -3
- package/cjs/chart/radar/radar.js.map +1 -1
- package/cjs/chart/rose/rose.d.ts +0 -1
- package/cjs/chart/rose/rose.js +4 -3
- package/cjs/chart/rose/rose.js.map +1 -1
- package/cjs/chart/scatter/scatter.d.ts +0 -1
- package/cjs/chart/scatter/scatter.js +4 -3
- package/cjs/chart/scatter/scatter.js.map +1 -1
- package/cjs/chart/sequence/sequence-transformer.d.ts +3 -0
- package/cjs/chart/sequence/sequence-transformer.js +37 -26
- package/cjs/chart/sequence/sequence-transformer.js.map +1 -1
- package/cjs/chart/stack.d.ts +7 -0
- package/cjs/chart/stack.js +13 -3
- package/cjs/chart/stack.js.map +1 -1
- package/cjs/chart/util.js +2 -1
- package/cjs/chart/util.js.map +1 -1
- package/cjs/chart/word-cloud/word-cloud-transformer.js +2 -1
- package/cjs/chart/word-cloud/word-cloud-transformer.js.map +1 -1
- package/cjs/compile/compiler.d.ts +1 -1
- package/cjs/compile/compiler.js +11 -11
- package/cjs/compile/compiler.js.map +1 -1
- package/cjs/compile/mark/compilable-mark.js.map +1 -1
- package/cjs/component/label/label.js.map +1 -1
- package/cjs/component/tooltip/interface/spec.d.ts +1 -1
- package/cjs/component/tooltip/interface/spec.js.map +1 -1
- package/cjs/component/tooltip/interface/theme.d.ts +1 -0
- package/cjs/component/tooltip/interface/theme.js.map +1 -1
- package/cjs/component/tooltip/tooltip-transformer.js +3 -0
- package/cjs/component/tooltip/tooltip-transformer.js.map +1 -1
- package/cjs/component/util.js +2 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/core/vchart.d.ts +1 -0
- package/cjs/core/vchart.js +35 -30
- package/cjs/core/vchart.js.map +1 -1
- package/cjs/index.d.ts +3 -1
- package/cjs/index.js +2 -1
- package/cjs/index.js.map +1 -1
- package/cjs/interaction/zoom/zoomable.js +1 -1
- package/cjs/interaction/zoom/zoomable.js.map +1 -1
- package/cjs/layout/layout-item.d.ts +1 -1
- package/cjs/model/base-model.d.ts +0 -1
- package/cjs/model/base-model.js +0 -6
- package/cjs/model/base-model.js.map +1 -1
- package/cjs/model/interface.d.ts +1 -1
- package/cjs/model/interface.js.map +1 -1
- package/cjs/series/base/base-series-transformer.js +3 -3
- package/cjs/series/base/base-series-transformer.js.map +1 -1
- package/cjs/series/base/base-series.d.ts +0 -1
- package/cjs/series/base/base-series.js +14 -18
- package/cjs/series/base/base-series.js.map +1 -1
- package/cjs/series/interface/theme.d.ts +1 -3
- package/cjs/series/interface/theme.js +4 -45
- package/cjs/series/interface/theme.js.map +1 -1
- package/cjs/series/interface/type.d.ts +1 -0
- package/cjs/series/interface/type.js +7 -6
- package/cjs/series/interface/type.js.map +1 -1
- package/cjs/series/pie/animation/animation.d.ts +1 -0
- package/cjs/series/pie/animation/animation.js +9 -1
- package/cjs/series/pie/animation/animation.js.map +1 -1
- package/cjs/series/pie/interface.d.ts +5 -0
- package/cjs/series/pie/interface.js.map +1 -1
- package/cjs/series/pie/pie.d.ts +2 -0
- package/cjs/series/pie/pie.js +24 -8
- package/cjs/series/pie/pie.js.map +1 -1
- package/cjs/series/polar/animation.js +6 -6
- package/cjs/series/polar/animation.js.map +1 -1
- package/cjs/series/waterfall/waterfall-transformer.js +1 -1
- package/cjs/series/waterfall/waterfall-transformer.js.map +1 -1
- package/cjs/series/waterfall/waterfall.d.ts +1 -0
- package/cjs/series/waterfall/waterfall.js +13 -13
- package/cjs/series/waterfall/waterfall.js.map +1 -1
- package/cjs/series/word-cloud/base.d.ts +11 -12
- package/cjs/series/word-cloud/base.js +92 -117
- package/cjs/series/word-cloud/base.js.map +1 -1
- package/cjs/series/word-cloud/constant.js +4 -0
- package/cjs/series/word-cloud/constant.js.map +1 -1
- package/cjs/series/word-cloud/interface.d.ts +22 -2
- package/cjs/series/word-cloud/interface.js.map +1 -1
- package/cjs/theme/builtin/common/component/axis/cartesian-axis.js +19 -1
- package/cjs/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
- package/cjs/theme/builtin/common/component/data-zoom.js +58 -75
- package/cjs/theme/builtin/common/component/data-zoom.js.map +1 -1
- package/cjs/theme/builtin/common/component/indicator.js +20 -29
- package/cjs/theme/builtin/common/component/indicator.js.map +1 -1
- package/cjs/theme/builtin/common/component/legend/color-legend.js +33 -41
- package/cjs/theme/builtin/common/component/legend/color-legend.js.map +1 -1
- package/cjs/theme/builtin/common/component/legend/continuous.js +23 -1
- package/cjs/theme/builtin/common/component/legend/continuous.js.map +1 -1
- package/cjs/theme/builtin/common/component/legend/size-legend.js +28 -53
- package/cjs/theme/builtin/common/component/legend/size-legend.js.map +1 -1
- package/cjs/theme/builtin/common/component/map-label.js +16 -1
- package/cjs/theme/builtin/common/component/map-label.js.map +1 -1
- package/cjs/theme/builtin/common/component/mark-line.js +19 -27
- package/cjs/theme/builtin/common/component/mark-line.js.map +1 -1
- package/cjs/theme/builtin/common/component/player.js +36 -6
- package/cjs/theme/builtin/common/component/player.js.map +1 -1
- package/cjs/theme/builtin/common/component/scroll-bar.js +12 -1
- package/cjs/theme/builtin/common/component/scroll-bar.js.map +1 -1
- package/cjs/theme/builtin/common/component/tooltip.js +21 -1
- package/cjs/theme/builtin/common/component/tooltip.js.map +1 -1
- package/cjs/theme/builtin/common/series/funnel.d.ts +2 -1
- package/cjs/theme/builtin/common/series/funnel.js +43 -37
- package/cjs/theme/builtin/common/series/funnel.js.map +1 -1
- package/cjs/theme/builtin/common/series/index.js +3 -3
- package/cjs/theme/builtin/common/series/index.js.map +1 -1
- package/cjs/theme/builtin/common/series/pie.js +9 -0
- package/cjs/theme/builtin/common/series/pie.js.map +1 -1
- package/cjs/theme/builtin/common/series/word-cloud.d.ts +2 -1
- package/cjs/theme/builtin/common/series/word-cloud.js +21 -1
- package/cjs/theme/builtin/common/series/word-cloud.js.map +1 -1
- package/cjs/theme/builtin/dark/color-scheme.js +2 -1
- package/cjs/theme/builtin/dark/color-scheme.js.map +1 -1
- package/cjs/theme/builtin/light/color-scheme.js +2 -1
- package/cjs/theme/builtin/light/color-scheme.js.map +1 -1
- package/cjs/util/theme/merge-theme.js +7 -12
- package/cjs/util/theme/merge-theme.js.map +1 -1
- package/cjs/vchart-simple.js +2 -2
- package/cjs/vchart-simple.js.map +1 -1
- package/esm/animation/utils.d.ts +2 -2
- package/esm/chart/area/area.d.ts +0 -1
- package/esm/chart/area/area.js +7 -2
- package/esm/chart/area/area.js.map +1 -1
- package/esm/chart/bar/bar.d.ts +0 -1
- package/esm/chart/bar/bar.js +7 -2
- package/esm/chart/bar/bar.js.map +1 -1
- package/esm/chart/base/base-chart.d.ts +0 -4
- package/esm/chart/base/base-chart.js +7 -9
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/chart/common/common.d.ts +0 -1
- package/esm/chart/common/common.js +7 -3
- package/esm/chart/common/common.js.map +1 -1
- package/esm/chart/histogram/base/base.d.ts +0 -1
- package/esm/chart/histogram/base/base.js +6 -3
- package/esm/chart/histogram/base/base.js.map +1 -1
- package/esm/chart/line/line.d.ts +0 -1
- package/esm/chart/line/line.js +7 -2
- package/esm/chart/line/line.js.map +1 -1
- package/esm/chart/mosaic/mosaic.d.ts +3 -1
- package/esm/chart/mosaic/mosaic.js +8 -1
- package/esm/chart/mosaic/mosaic.js.map +1 -1
- package/esm/chart/pie/base/pie-transformer.js +4 -1
- package/esm/chart/pie/base/pie-transformer.js.map +1 -1
- package/esm/chart/progress/circular/circular.d.ts +0 -1
- package/esm/chart/progress/circular/circular.js +7 -3
- package/esm/chart/progress/circular/circular.js.map +1 -1
- package/esm/chart/progress/linear/linear.d.ts +0 -1
- package/esm/chart/progress/linear/linear.js +7 -2
- package/esm/chart/progress/linear/linear.js.map +1 -1
- package/esm/chart/radar/radar.d.ts +0 -1
- package/esm/chart/radar/radar.js +7 -2
- package/esm/chart/radar/radar.js.map +1 -1
- package/esm/chart/rose/rose.d.ts +0 -1
- package/esm/chart/rose/rose.js +7 -2
- package/esm/chart/rose/rose.js.map +1 -1
- package/esm/chart/scatter/scatter.d.ts +0 -1
- package/esm/chart/scatter/scatter.js +6 -2
- package/esm/chart/scatter/scatter.js.map +1 -1
- package/esm/chart/sequence/sequence-transformer.d.ts +3 -0
- package/esm/chart/sequence/sequence-transformer.js +37 -26
- package/esm/chart/sequence/sequence-transformer.js.map +1 -1
- package/esm/chart/stack.d.ts +7 -0
- package/esm/chart/stack.js +13 -1
- package/esm/chart/stack.js.map +1 -1
- package/esm/chart/util.js +2 -1
- package/esm/chart/util.js.map +1 -1
- package/esm/chart/word-cloud/word-cloud-transformer.js +2 -1
- package/esm/chart/word-cloud/word-cloud-transformer.js.map +1 -1
- package/esm/compile/compiler.d.ts +1 -1
- package/esm/compile/compiler.js +11 -11
- package/esm/compile/compiler.js.map +1 -1
- package/esm/compile/mark/compilable-mark.js.map +1 -1
- package/esm/component/label/label.js.map +1 -1
- package/esm/component/tooltip/interface/spec.d.ts +1 -1
- package/esm/component/tooltip/interface/spec.js.map +1 -1
- package/esm/component/tooltip/interface/theme.d.ts +1 -0
- package/esm/component/tooltip/interface/theme.js.map +1 -1
- package/esm/component/tooltip/tooltip-transformer.js +4 -1
- package/esm/component/tooltip/tooltip-transformer.js.map +1 -1
- package/esm/component/util.js +2 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/core/vchart.d.ts +1 -0
- package/esm/core/vchart.js +35 -32
- package/esm/core/vchart.js.map +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.js +5 -1
- package/esm/index.js.map +1 -1
- package/esm/interaction/zoom/zoomable.js +1 -1
- package/esm/interaction/zoom/zoomable.js.map +1 -1
- package/esm/layout/layout-item.d.ts +1 -1
- package/esm/model/base-model.d.ts +0 -1
- package/esm/model/base-model.js +0 -6
- package/esm/model/base-model.js.map +1 -1
- package/esm/model/interface.d.ts +1 -1
- package/esm/model/interface.js.map +1 -1
- package/esm/series/base/base-series-transformer.js +3 -1
- package/esm/series/base/base-series-transformer.js.map +1 -1
- package/esm/series/base/base-series.d.ts +0 -1
- package/esm/series/base/base-series.js +12 -18
- package/esm/series/base/base-series.js.map +1 -1
- package/esm/series/interface/theme.d.ts +1 -3
- package/esm/series/interface/theme.js +0 -96
- package/esm/series/interface/theme.js.map +1 -1
- package/esm/series/interface/type.d.ts +1 -0
- package/esm/series/interface/type.js +7 -6
- package/esm/series/interface/type.js.map +1 -1
- package/esm/series/pie/animation/animation.d.ts +1 -0
- package/esm/series/pie/animation/animation.js +6 -0
- package/esm/series/pie/animation/animation.js.map +1 -1
- package/esm/series/pie/interface.d.ts +5 -0
- package/esm/series/pie/interface.js.map +1 -1
- package/esm/series/pie/pie.d.ts +2 -0
- package/esm/series/pie/pie.js +25 -9
- package/esm/series/pie/pie.js.map +1 -1
- package/esm/series/polar/animation.js +5 -6
- package/esm/series/polar/animation.js.map +1 -1
- package/esm/series/waterfall/waterfall-transformer.js +1 -1
- package/esm/series/waterfall/waterfall-transformer.js.map +1 -1
- package/esm/series/waterfall/waterfall.d.ts +1 -0
- package/esm/series/waterfall/waterfall.js +12 -12
- package/esm/series/waterfall/waterfall.js.map +1 -1
- package/esm/series/word-cloud/base.d.ts +11 -12
- package/esm/series/word-cloud/base.js +93 -122
- package/esm/series/word-cloud/base.js.map +1 -1
- package/esm/series/word-cloud/constant.js +4 -0
- package/esm/series/word-cloud/constant.js.map +1 -1
- package/esm/series/word-cloud/interface.d.ts +22 -2
- package/esm/series/word-cloud/interface.js.map +1 -1
- package/esm/theme/builtin/common/component/axis/cartesian-axis.js +16 -0
- package/esm/theme/builtin/common/component/axis/cartesian-axis.js.map +1 -1
- package/esm/theme/builtin/common/component/data-zoom.js +58 -75
- package/esm/theme/builtin/common/component/data-zoom.js.map +1 -1
- package/esm/theme/builtin/common/component/indicator.js +17 -28
- package/esm/theme/builtin/common/component/indicator.js.map +1 -1
- package/esm/theme/builtin/common/component/legend/color-legend.js +33 -41
- package/esm/theme/builtin/common/component/legend/color-legend.js.map +1 -1
- package/esm/theme/builtin/common/component/legend/continuous.js +20 -0
- package/esm/theme/builtin/common/component/legend/continuous.js.map +1 -1
- package/esm/theme/builtin/common/component/legend/size-legend.js +28 -53
- package/esm/theme/builtin/common/component/legend/size-legend.js.map +1 -1
- package/esm/theme/builtin/common/component/map-label.js +13 -0
- package/esm/theme/builtin/common/component/map-label.js.map +1 -1
- package/esm/theme/builtin/common/component/mark-line.js +16 -26
- package/esm/theme/builtin/common/component/mark-line.js.map +1 -1
- package/esm/theme/builtin/common/component/player.js +33 -5
- package/esm/theme/builtin/common/component/player.js.map +1 -1
- package/esm/theme/builtin/common/component/scroll-bar.js +9 -0
- package/esm/theme/builtin/common/component/scroll-bar.js.map +1 -1
- package/esm/theme/builtin/common/component/tooltip.js +18 -0
- package/esm/theme/builtin/common/component/tooltip.js.map +1 -1
- package/esm/theme/builtin/common/series/funnel.d.ts +2 -1
- package/esm/theme/builtin/common/series/funnel.js +43 -37
- package/esm/theme/builtin/common/series/funnel.js.map +1 -1
- package/esm/theme/builtin/common/series/index.js +2 -6
- package/esm/theme/builtin/common/series/index.js.map +1 -1
- package/esm/theme/builtin/common/series/pie.js +9 -0
- package/esm/theme/builtin/common/series/pie.js.map +1 -1
- package/esm/theme/builtin/common/series/word-cloud.d.ts +2 -1
- package/esm/theme/builtin/common/series/word-cloud.js +20 -0
- package/esm/theme/builtin/common/series/word-cloud.js.map +1 -1
- package/esm/theme/builtin/dark/color-scheme.js +2 -1
- package/esm/theme/builtin/dark/color-scheme.js.map +1 -1
- package/esm/theme/builtin/light/color-scheme.js +2 -1
- package/esm/theme/builtin/light/color-scheme.js.map +1 -1
- package/esm/util/theme/merge-theme.js +8 -13
- package/esm/util/theme/merge-theme.js.map +1 -1
- package/esm/vchart-simple.js +1 -1
- package/esm/vchart-simple.js.map +1 -1
- package/package.json +15 -15
- package/cjs/theme/builtin/common/series/funnel3d.d.ts +0 -2
- package/cjs/theme/builtin/common/series/funnel3d.js +0 -46
- package/cjs/theme/builtin/common/series/funnel3d.js.map +0 -1
- package/cjs/theme/builtin/common/series/word-cloud3d.d.ts +0 -2
- package/cjs/theme/builtin/common/series/word-cloud3d.js +0 -14
- package/cjs/theme/builtin/common/series/word-cloud3d.js.map +0 -1
- package/esm/theme/builtin/common/series/funnel3d.d.ts +0 -2
- package/esm/theme/builtin/common/series/funnel3d.js +0 -42
- package/esm/theme/builtin/common/series/funnel3d.js.map +0 -1
- package/esm/theme/builtin/common/series/word-cloud3d.d.ts +0 -2
- package/esm/theme/builtin/common/series/word-cloud3d.js +0 -10
- package/esm/theme/builtin/common/series/word-cloud3d.js.map +0 -1
|
@@ -4,51 +4,43 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.colorLegend = void 0;
|
|
6
6
|
|
|
7
|
-
const continuous_1 = require("./continuous"),
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
shadowBlur: 12,
|
|
17
|
-
shadowOffsetX: 0,
|
|
18
|
-
shadowOffsetY: 4,
|
|
19
|
-
shadowColor: {
|
|
20
|
-
type: "palette",
|
|
21
|
-
key: "shadowColor"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
exports.colorLegend = {
|
|
27
|
-
horizontal: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
|
|
28
|
-
rail: {
|
|
29
|
-
width: 200,
|
|
30
|
-
height: 8,
|
|
31
|
-
style: {
|
|
32
|
-
fill: {
|
|
33
|
-
type: "palette",
|
|
34
|
-
key: "sliderRailColor"
|
|
35
|
-
}
|
|
7
|
+
const continuous_1 = require("./continuous"), getColorLegendTheme = horizontal => {
|
|
8
|
+
const rail = {
|
|
9
|
+
width: 200,
|
|
10
|
+
height: 8,
|
|
11
|
+
style: {
|
|
12
|
+
fill: {
|
|
13
|
+
type: "palette",
|
|
14
|
+
key: "sliderRailColor"
|
|
36
15
|
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
rail:
|
|
42
|
-
|
|
43
|
-
height: 200,
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
return horizontal ? (rail.width = 200, rail.height = 8) : (rail.width = 8, rail.height = 200),
|
|
19
|
+
Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
|
|
20
|
+
rail: rail,
|
|
21
|
+
handler: {
|
|
44
22
|
style: {
|
|
45
|
-
|
|
23
|
+
symbolType: "circle",
|
|
24
|
+
lineWidth: 0,
|
|
25
|
+
outerBorder: {
|
|
26
|
+
lineWidth: 2,
|
|
27
|
+
distance: .8,
|
|
28
|
+
stroke: "#ffffff"
|
|
29
|
+
},
|
|
30
|
+
shadowBlur: 12,
|
|
31
|
+
shadowOffsetX: 0,
|
|
32
|
+
shadowOffsetY: 4,
|
|
33
|
+
shadowColor: {
|
|
46
34
|
type: "palette",
|
|
47
|
-
key: "
|
|
35
|
+
key: "shadowColor"
|
|
48
36
|
}
|
|
49
37
|
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
exports.colorLegend = {
|
|
43
|
+
horizontal: getColorLegendTheme(!0),
|
|
44
|
+
vertical: getColorLegendTheme(!1)
|
|
53
45
|
};
|
|
54
46
|
//# sourceMappingURL=color-legend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/legend/color-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/legend/color-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,mBAAmB,GAAG,CAAC,UAAoB,EAA0B,EAAE;IAC3E,MAAM,IAAI,GAAmC;QAC3C,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,CAAC;QACT,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;KACF,CAAC;IAEF,IAAI,UAAU,EAAE;QACd,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;KACjB;SAAM;QACL,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;KACnB;IAED,uCACK,4CAA+B,KAClC,IAAI,EACJ,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,UAAU,EAAE,QAAQ;gBACpB,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE;oBACX,SAAS,EAAE,CAAC;oBACZ,QAAQ,EAAE,GAAG;oBACb,MAAM,EAAE,SAAS;iBAClB;gBACD,UAAU,EAAE,EAAE;gBACd,aAAa,EAAE,CAAC;gBAChB,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE;aACrD;SACF,IACD;AACJ,CAAC,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C,UAAU,EAAE,mBAAmB,CAAC,IAAI,CAAC;IACrC,QAAQ,EAAE,mBAAmB,CAAC,KAAK,CAAC;CACrC,CAAC","file":"color-legend.js","sourcesContent":["import type { IColorLegendTheme, IContinuousLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst getColorLegendTheme = (horizontal?: boolean): IContinuousLegendTheme => {\n const rail: IContinuousLegendTheme['rail'] = {\n width: 200,\n height: 8,\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n };\n\n if (horizontal) {\n rail.width = 200;\n rail.height = 8;\n } else {\n rail.width = 8;\n rail.height = 200;\n }\n\n return {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n rail,\n handler: {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: '#ffffff'\n },\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n }\n }\n };\n};\n\nexport const colorLegend: IColorLegendTheme = {\n horizontal: getColorLegendTheme(true),\n vertical: getColorLegendTheme(false)\n};\n"]}
|
|
@@ -2,7 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.DEFAULT_CONTINUOUS_LEGEND_THEME = void 0
|
|
5
|
+
}), exports.DEFAULT_CONTINUOUS_LEGEND_THEME = void 0;
|
|
6
|
+
|
|
7
|
+
const getTextTheme = () => ({
|
|
8
|
+
style: {
|
|
9
|
+
fontSize: {
|
|
10
|
+
type: "token",
|
|
11
|
+
key: "l5FontSize"
|
|
12
|
+
},
|
|
13
|
+
lineHeight: {
|
|
14
|
+
type: "token",
|
|
15
|
+
key: "l5LineHeight"
|
|
16
|
+
},
|
|
17
|
+
fontWeight: "normal",
|
|
18
|
+
fill: {
|
|
19
|
+
type: "palette",
|
|
20
|
+
key: "secondaryFontColor",
|
|
21
|
+
default: "#89909d"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
space: 6
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
exports.DEFAULT_CONTINUOUS_LEGEND_THEME = {
|
|
6
28
|
orient: "right",
|
|
7
29
|
position: "middle",
|
|
8
30
|
padding: [ 16, 24 ],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/legend/continuous.ts"],"names":[],"mappings":";;;AAEA,MAAM,YAAY,GAAG,GAAkB,EAAE;IACvC,OAAO;QACL,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE,OAAO,EAAE,SAAS,EAAE;SACzE;QACD,KAAK,EAAE,CAAC;KACT,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,+BAA+B,GAA2B;IACrE,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC;IACjB,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QACV,SAAS,EAAE;YACT,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;YAElD,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,KAAK,EAAE,EAAE;KACV;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE,YAAY,EAAE;IACzB,OAAO,EAAE,YAAY,EAAE;IACvB,WAAW,EAAE,YAAY,EAAE;CAC5B,CAAC","file":"continuous.js","sourcesContent":["import type { IContinuousLegendTheme, TextAttribute } from '../../../../../component/legend';\n\nconst getTextTheme = (): TextAttribute => {\n return {\n style: {\n fontSize: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'secondaryFontColor', default: '#89909d' }\n },\n space: 6\n };\n};\n\nexport const DEFAULT_CONTINUOUS_LEGEND_THEME: IContinuousLegendTheme = {\n orient: 'right',\n position: 'middle',\n padding: [16, 24],\n title: {\n visible: false,\n padding: 0,\n textStyle: {\n fontSize: { type: 'token', key: 'l5FontSize' },\n lineHeight: { type: 'token', key: 'l5LineHeight' },\n\n fontWeight: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n space: 12\n },\n handler: {\n visible: true\n },\n startText: getTextTheme(),\n endText: getTextTheme(),\n handlerText: getTextTheme()\n};\n"]}
|
|
@@ -4,55 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.sizeLegend = void 0;
|
|
6
6
|
|
|
7
|
-
const continuous_1 = require("./continuous"),
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
lineWidth: 0,
|
|
11
|
-
outerBorder: {
|
|
12
|
-
lineWidth: 2,
|
|
13
|
-
distance: .8,
|
|
14
|
-
stroke: {
|
|
15
|
-
type: "palette",
|
|
16
|
-
key: "sliderTrackColor"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
fill: {
|
|
20
|
-
type: "palette",
|
|
21
|
-
key: "sliderHandleColor"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
exports.sizeLegend = {
|
|
27
|
-
horizontal: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
|
|
28
|
-
sizeBackground: {
|
|
7
|
+
const continuous_1 = require("./continuous"), getSizeLegendTheme = horizontal => {
|
|
8
|
+
const rail = {
|
|
9
|
+
style: {
|
|
29
10
|
fill: {
|
|
30
11
|
type: "palette",
|
|
31
|
-
key: "
|
|
12
|
+
key: "sliderRailColor"
|
|
32
13
|
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
type: "palette",
|
|
38
|
-
key: "sliderTrackColor",
|
|
39
|
-
a: .8
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
rail: {
|
|
44
|
-
width: 200,
|
|
45
|
-
height: 4,
|
|
46
|
-
style: {
|
|
47
|
-
fill: {
|
|
48
|
-
type: "palette",
|
|
49
|
-
key: "sliderRailColor"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
handler: handlerTheme
|
|
54
|
-
}),
|
|
55
|
-
vertical: Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
return horizontal ? (rail.width = 200, rail.height = 4) : (rail.height = 200, rail.width = 4),
|
|
17
|
+
Object.assign(Object.assign({}, continuous_1.DEFAULT_CONTINUOUS_LEGEND_THEME), {
|
|
56
18
|
sizeBackground: {
|
|
57
19
|
fill: {
|
|
58
20
|
type: "palette",
|
|
@@ -68,17 +30,30 @@ exports.sizeLegend = {
|
|
|
68
30
|
}
|
|
69
31
|
}
|
|
70
32
|
},
|
|
71
|
-
rail:
|
|
72
|
-
|
|
73
|
-
height: 200,
|
|
33
|
+
rail: rail,
|
|
34
|
+
handler: {
|
|
74
35
|
style: {
|
|
36
|
+
symbolType: "circle",
|
|
37
|
+
lineWidth: 0,
|
|
38
|
+
outerBorder: {
|
|
39
|
+
lineWidth: 2,
|
|
40
|
+
distance: .8,
|
|
41
|
+
stroke: {
|
|
42
|
+
type: "palette",
|
|
43
|
+
key: "sliderTrackColor"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
75
46
|
fill: {
|
|
76
47
|
type: "palette",
|
|
77
|
-
key: "
|
|
48
|
+
key: "sliderHandleColor"
|
|
78
49
|
}
|
|
79
50
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
exports.sizeLegend = {
|
|
56
|
+
horizontal: getSizeLegendTheme(!0),
|
|
57
|
+
vertical: getSizeLegendTheme(!1)
|
|
83
58
|
};
|
|
84
59
|
//# sourceMappingURL=size-legend.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/legend/size-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/legend/size-legend.ts"],"names":[],"mappings":";;;AACA,6CAA+D;AAE/D,MAAM,kBAAkB,GAAG,CAAC,UAAoB,EAA0B,EAAE;IAC1E,MAAM,IAAI,GAAkC;QAC1C,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;KACF,CAAC;IACF,IAAI,UAAU,EAAE;QACd,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;KACjB;SAAM;QACL,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;KAChB;IAED,uCACK,4CAA+B,KAClC,cAAc,EAAE;YACd,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;SACrD,EACD,KAAK,EAAE;YACL,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE,CAAC,EAAE,GAAG,EAAE;aAC3D;SACF,EACD,IAAI,EACJ,OAAO,EAAE;YACP,KAAK,EAAE;gBACL,UAAU,EAAE,QAAQ;gBACpB,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE;oBACX,SAAS,EAAE,CAAC;oBACZ,QAAQ,EAAE,GAAG;oBACb,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;iBACrD;gBACD,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,mBAAmB,EAAE;aAOpD;SACF,IACD;AACJ,CAAC,CAAC;AAEW,QAAA,UAAU,GAAqB;IAC1C,UAAU,EAAE,kBAAkB,CAAC,IAAI,CAAC;IACpC,QAAQ,EAAE,kBAAkB,CAAC,KAAK,CAAC;CACpC,CAAC","file":"size-legend.js","sourcesContent":["import type { IContinuousLegendSpec, ISizeLegendCommonTheme, ISizeLegendTheme } from '../../../../../component/legend';\nimport { DEFAULT_CONTINUOUS_LEGEND_THEME } from './continuous';\n\nconst getSizeLegendTheme = (horizontal?: boolean): ISizeLegendCommonTheme => {\n const rail: IContinuousLegendSpec['rail'] = {\n style: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n }\n };\n if (horizontal) {\n rail.width = 200;\n rail.height = 4;\n } else {\n rail.height = 200;\n rail.width = 4;\n }\n\n return {\n ...DEFAULT_CONTINUOUS_LEGEND_THEME,\n sizeBackground: {\n fill: { type: 'palette', key: 'dataZoomChartColor' }\n },\n track: {\n style: {\n fill: { type: 'palette', key: 'sliderTrackColor', a: 0.8 }\n }\n },\n rail,\n handler: {\n style: {\n symbolType: 'circle',\n lineWidth: 0,\n outerBorder: {\n lineWidth: 2,\n distance: 0.8,\n stroke: { type: 'palette', key: 'sliderTrackColor' }\n },\n fill: { type: 'palette', key: 'sliderHandleColor' }\n /*\n shadowBlur: 12,\n shadowOffsetX: 0,\n shadowOffsetY: 4,\n shadowColor: { type: 'palette', key: 'shadowColor' }\n */\n }\n }\n };\n};\n\nexport const sizeLegend: ISizeLegendTheme = {\n horizontal: getSizeLegendTheme(true),\n vertical: getSizeLegendTheme(false)\n};\n"]}
|
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.mapLabel = void 0
|
|
5
|
+
}), exports.mapLabel = void 0;
|
|
6
|
+
|
|
7
|
+
const getLabelTheme = () => ({
|
|
8
|
+
visible: !0,
|
|
9
|
+
style: {
|
|
10
|
+
textBaseline: "middle",
|
|
11
|
+
textAlign: "left",
|
|
12
|
+
fill: "black",
|
|
13
|
+
fontSize: {
|
|
14
|
+
type: "token",
|
|
15
|
+
key: "l6FontSize"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
exports.mapLabel = {
|
|
6
21
|
visible: !0,
|
|
7
22
|
offset: 12,
|
|
8
23
|
position: "top",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/map-label.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/map-label.ts"],"names":[],"mappings":";;;AAGA,MAAM,aAAa,GAAG,GAGpB,EAAE;IACF,OAAO;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE;YACL,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,MAAM;YACjB,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;SAC/C;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,QAAQ,GAAmB;IACtC,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,EAAE;IACV,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,aAAa,EAAE;IAC1B,UAAU,EAAE,aAAa,EAAE;IAC3B,UAAU,EAAE;QACV,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;QACjD,KAAK,EAAE;YACL,YAAY,EAAE,CAAC;YACf,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;SACf;KACF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,KAAK;QACd,KAAK,EAAE;YACL,SAAS,EAAE,CAAC;YACZ,MAAM,EAAE,KAAK;SACd;KACF;CACF,CAAC","file":"map-label.js","sourcesContent":["import type { IMapLabelTheme } from '../../../../component/map-label';\nimport type { ITextMarkSpec } from '../../../../typings/visual';\n\nconst getLabelTheme = (): {\n visible?: boolean;\n style?: ITextMarkSpec;\n} => {\n return {\n visible: true,\n style: {\n textBaseline: 'middle',\n textAlign: 'left',\n fill: 'black',\n fontSize: { type: 'token', key: 'l6FontSize' }\n }\n };\n};\n\nexport const mapLabel: IMapLabelTheme = {\n visible: true,\n offset: 12,\n position: 'top',\n space: 10,\n nameLabel: getLabelTheme(),\n valueLabel: getLabelTheme(),\n background: {\n visible: true,\n padding: { top: 4, bottom: 4, left: 6, right: 6 },\n style: {\n cornerRadius: 2,\n lineWidth: 1,\n fill: 'white',\n stroke: 'grey'\n }\n },\n leader: {\n visible: false,\n style: {\n lineWidth: 1,\n stroke: 'red'\n }\n }\n};\n"]}
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.markLine = void 0
|
|
5
|
+
}), exports.markLine = void 0;
|
|
6
|
+
|
|
7
|
+
const getSymbolTheme = visible => ({
|
|
8
|
+
visible: visible,
|
|
9
|
+
symbolType: "triangle",
|
|
10
|
+
size: 10,
|
|
11
|
+
style: {
|
|
12
|
+
fill: {
|
|
13
|
+
type: "palette",
|
|
14
|
+
key: "markLineStrokeColor"
|
|
15
|
+
},
|
|
16
|
+
stroke: null,
|
|
17
|
+
lineWidth: 0
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
exports.markLine = {
|
|
6
22
|
line: {
|
|
7
23
|
style: {
|
|
8
24
|
lineDash: [ 3, 3 ],
|
|
@@ -12,32 +28,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
12
28
|
}
|
|
13
29
|
}
|
|
14
30
|
},
|
|
15
|
-
startSymbol:
|
|
16
|
-
|
|
17
|
-
symbolType: "triangle",
|
|
18
|
-
size: 10,
|
|
19
|
-
style: {
|
|
20
|
-
fill: {
|
|
21
|
-
type: "palette",
|
|
22
|
-
key: "markLineStrokeColor"
|
|
23
|
-
},
|
|
24
|
-
stroke: null,
|
|
25
|
-
lineWidth: 0
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
endSymbol: {
|
|
29
|
-
visible: !0,
|
|
30
|
-
symbolType: "triangle",
|
|
31
|
-
size: 10,
|
|
32
|
-
style: {
|
|
33
|
-
fill: {
|
|
34
|
-
type: "palette",
|
|
35
|
-
key: "markLineStrokeColor"
|
|
36
|
-
},
|
|
37
|
-
stroke: null,
|
|
38
|
-
lineWidth: 0
|
|
39
|
-
}
|
|
40
|
-
},
|
|
31
|
+
startSymbol: getSymbolTheme(!1),
|
|
32
|
+
endSymbol: getSymbolTheme(!0),
|
|
41
33
|
label: {
|
|
42
34
|
refY: 5,
|
|
43
35
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/mark-line.ts"],"names":[],"mappings":";;;AAGA,MAAM,cAAc,GAAG,CAAC,OAAiB,EAAiB,EAAE;IAC1D,OAAO;QACL,OAAO;QACP,UAAU,EAAE,UAAU;QACtB,IAAI,EAAE,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;YACrD,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,CAAC;SACb;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YAChB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,qBAAqB,EAAE;SACxD;KACF;IACD,WAAW,EAAE,cAAc,CAAC,KAAK,CAAC;IAClC,SAAS,EAAE,cAAc,CAAC,IAAI,CAAC;IAC/B,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,KAAK,EAAE;YACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;YAC9C,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;SACnD;QACD,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,KAAK,EAAE,CAAC;gBACR,IAAI,EAAE,CAAC;aACR;YACD,KAAK,EAAE;gBACL,YAAY,EAAE,CAAC;gBACf,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,0BAA0B,EAAE;aAC3D;SACF;KACF;CACF,CAAC","file":"mark-line.js","sourcesContent":["import type { IMarkerSymbol } from '../../../../component/marker/interface';\nimport type { IMarkLineTheme } from '../../../../component/marker/mark-line/interface';\n\nconst getSymbolTheme = (visible?: boolean): IMarkerSymbol => {\n return {\n visible,\n symbolType: 'triangle',\n size: 10,\n style: {\n fill: { type: 'palette', key: 'markLineStrokeColor' },\n stroke: null,\n lineWidth: 0\n }\n };\n};\n\nexport const markLine: IMarkLineTheme = {\n line: {\n style: {\n lineDash: [3, 3],\n stroke: { type: 'palette', key: 'markLineStrokeColor' }\n }\n },\n startSymbol: getSymbolTheme(false),\n endSymbol: getSymbolTheme(true),\n label: {\n refY: 5,\n style: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n fontWeight: 'normal',\n fontStyle: 'normal',\n fill: { type: 'palette', key: 'primaryFontColor' }\n },\n labelBackground: {\n padding: {\n top: 2,\n bottom: 2,\n right: 4,\n left: 4\n },\n style: {\n cornerRadius: 3,\n fill: { type: 'palette', key: 'markLabelBackgroundColor' }\n }\n }\n }\n};\n"]}
|
|
@@ -2,7 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.player = void 0
|
|
5
|
+
}), exports.player = void 0;
|
|
6
|
+
|
|
7
|
+
const getDirectionTheme = position => ({
|
|
8
|
+
order: 0,
|
|
9
|
+
space: 10,
|
|
10
|
+
position: "start",
|
|
11
|
+
style: {
|
|
12
|
+
size: 12,
|
|
13
|
+
fill: {
|
|
14
|
+
type: "palette",
|
|
15
|
+
key: "playerControllerColor"
|
|
16
|
+
},
|
|
17
|
+
fillOpacity: .8
|
|
18
|
+
}
|
|
19
|
+
}), getPlayTheme = () => ({
|
|
20
|
+
order: 0,
|
|
21
|
+
space: 10,
|
|
22
|
+
position: "start",
|
|
23
|
+
style: {
|
|
24
|
+
size: 12,
|
|
25
|
+
fill: {
|
|
26
|
+
type: "palette",
|
|
27
|
+
key: "playerControllerColor"
|
|
28
|
+
},
|
|
29
|
+
fillOpacity: .8
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
exports.player = {
|
|
6
34
|
visible: !0,
|
|
7
35
|
position: "start",
|
|
8
36
|
padding: {
|
|
@@ -40,9 +68,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
40
68
|
controller: {
|
|
41
69
|
start: {
|
|
42
70
|
order: 0,
|
|
43
|
-
space:
|
|
71
|
+
space: 10,
|
|
72
|
+
position: "start",
|
|
44
73
|
style: {
|
|
45
|
-
size:
|
|
74
|
+
size: 12,
|
|
46
75
|
fill: {
|
|
47
76
|
type: "palette",
|
|
48
77
|
key: "playerControllerColor"
|
|
@@ -52,9 +81,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
52
81
|
},
|
|
53
82
|
pause: {
|
|
54
83
|
order: 0,
|
|
55
|
-
space:
|
|
84
|
+
space: 10,
|
|
85
|
+
position: "start",
|
|
56
86
|
style: {
|
|
57
|
-
size:
|
|
87
|
+
size: 12,
|
|
58
88
|
fill: {
|
|
59
89
|
type: "palette",
|
|
60
90
|
key: "playerControllerColor"
|
|
@@ -78,7 +108,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
78
108
|
forward: {
|
|
79
109
|
order: 0,
|
|
80
110
|
space: 10,
|
|
81
|
-
position: "
|
|
111
|
+
position: "start",
|
|
82
112
|
style: {
|
|
83
113
|
size: 12,
|
|
84
114
|
fill: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/player.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/player.ts"],"names":[],"mappings":";;;AAEA,MAAM,iBAAiB,GAAG,CAAC,QAAyB,EAAyC,EAAE;IAC7F,OAAO;QACL,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,OAAO;QACjB,KAAK,EAAE;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,WAAW,EAAE,GAAG;SACjB;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,GAAwC,EAAE;IAC7D,OAAO;QACL,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,OAAO;QACjB,KAAK,EAAE;YACL,IAAI,EAAE,EAAE;YACR,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;YACvD,WAAW,EAAE,GAAG;SACjB;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,MAAM,GAAiB;IAClC,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,OAAO;IACjB,OAAO,EAAE;QACP,GAAG,EAAE,EAAE;QACP,MAAM,EAAE,EAAE;KACX;IACD,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;QACT,UAAU,EAAE;YACV,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;YAClD,WAAW,EAAE,GAAG;SACjB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;SAClD;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,iBAAiB,EAAE;YACnD,SAAS,EAAE,CAAC;YACZ,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,uBAAuB,EAAE;SACxD;KACF;IACD,UAAU,EAAE;QACV,KAAK,EAAE,YAAY,EAAE;QACrB,KAAK,EAAE,YAAY,EAAE;QACrB,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC;QACpC,OAAO,EAAE,iBAAiB,CAAC,KAAK,CAAC;KAClC;CACF,CAAC","file":"player.js","sourcesContent":["import type { IPlayerTheme } from '../../../../component/player';\n\nconst getDirectionTheme = (position: 'start' | 'end'): IPlayerTheme['controller']['forward'] => {\n return {\n order: 0,\n space: 10,\n position: 'start',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n };\n};\n\nconst getPlayTheme = (): IPlayerTheme['controller']['pause'] => {\n return {\n order: 0,\n space: 10,\n position: 'start',\n style: {\n size: 12,\n fill: { type: 'palette', key: 'playerControllerColor' },\n fillOpacity: 0.8\n }\n };\n};\n\nexport const player: IPlayerTheme = {\n visible: true,\n position: 'start',\n padding: {\n top: 20,\n bottom: 20\n },\n slider: {\n space: 10,\n trackStyle: {\n fill: { type: 'palette', key: 'sliderTrackColor' },\n fillOpacity: 0.8\n },\n railStyle: {\n fill: { type: 'palette', key: 'sliderRailColor' }\n },\n handlerStyle: {\n size: 15,\n stroke: { type: 'palette', key: 'backgroundColor' },\n lineWidth: 2,\n fill: { type: 'palette', key: 'playerControllerColor' }\n }\n },\n controller: {\n start: getPlayTheme(),\n pause: getPlayTheme(),\n backward: getDirectionTheme('start'),\n forward: getDirectionTheme('end')\n }\n};\n"]}
|
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.scrollBar = void 0
|
|
5
|
+
}), exports.scrollBar = void 0;
|
|
6
|
+
|
|
7
|
+
const getSlider = () => ({
|
|
8
|
+
style: {
|
|
9
|
+
fill: {
|
|
10
|
+
type: "palette",
|
|
11
|
+
key: "scrollBarSliderColor"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
exports.scrollBar = {
|
|
6
17
|
horizontal: {
|
|
7
18
|
height: 10,
|
|
8
19
|
slider: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/scroll-bar.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/scroll-bar.ts"],"names":[],"mappings":";;;AAEA,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO;QACL,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;SACvD;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,SAAS,GAAoB;IACxC,UAAU,EAAE;QACV,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,SAAS,EAAE;KACpB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,SAAS,EAAE;KACpB;CACF,CAAC","file":"scroll-bar.js","sourcesContent":["import type { IScrollBarTheme } from '../../../../component/data-zoom';\n\nconst getSlider = () => {\n return {\n style: {\n fill: { type: 'palette', key: 'scrollBarSliderColor' }\n }\n };\n};\n\nexport const scrollBar: IScrollBarTheme = {\n horizontal: {\n height: 10,\n slider: getSlider()\n },\n vertical: {\n width: 10,\n slider: getSlider()\n }\n};\n"]}
|
|
@@ -2,7 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.tooltip = void 0
|
|
5
|
+
}), exports.tooltip = void 0;
|
|
6
|
+
|
|
7
|
+
const getTitleLabelTheme = () => ({
|
|
8
|
+
fontSize: {
|
|
9
|
+
type: "token",
|
|
10
|
+
key: "l4FontSize"
|
|
11
|
+
},
|
|
12
|
+
lineHeight: {
|
|
13
|
+
type: "token",
|
|
14
|
+
key: "l4LineHeight"
|
|
15
|
+
},
|
|
16
|
+
fontColor: {
|
|
17
|
+
type: "palette",
|
|
18
|
+
key: "primaryFontColor"
|
|
19
|
+
},
|
|
20
|
+
fontWeight: "bold",
|
|
21
|
+
textBaseline: "middle",
|
|
22
|
+
spacing: 0
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.tooltip = {
|
|
6
26
|
offset: {
|
|
7
27
|
x: 10,
|
|
8
28
|
y: 10
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"sources":["../src/theme/builtin/common/component/tooltip.ts"],"names":[],"mappings":";;;AAGA,MAAM,kBAAkB,GAAG,GAA0C,EAAE;IACrE,OAAO;QACL,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,kBAAkB,EAAE;QACvD,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,CAAC;KACX,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,OAAO,GAAsC;IACxD,MAAM,EAAE;QACN,CAAC,EAAE,EAAE;QACL,CAAC,EAAE,EAAE;KACN;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,GAAG,EAAE,EAAE;YACP,IAAI,EAAE,EAAE;YACR,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,EAAE;SACX;QACD,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;QACjE,MAAM,EAAE;YACN,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,sBAAsB,EAAE;YACvD,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;SACV;QACD,MAAM,EAAE;YACN,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;YACJ,IAAI,EAAE,EAAE;YACR,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE;SAC/C;KACF;IACD,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,kBAAkB,EAAE;IAChC,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;KACX;IACD,QAAQ,EAAE;QACR,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE;QAC9C,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,cAAc,EAAE;QAElD,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,oBAAoB,EAAE;QACzD,YAAY,EAAE,QAAQ;QACtB,OAAO,EAAE,EAAE;KACZ;IACD,UAAU,EAAE,kBAAkB,EAAE;CACjC,CAAC","file":"tooltip.js","sourcesContent":["import type { ITooltipTextTheme, ITooltipTheme } from '../../../../component/tooltip/interface';\nimport type { IColorKey } from '../../../color-scheme';\n\nconst getTitleLabelTheme = (): ITooltipTextTheme<string | IColorKey> => {\n return {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'primaryFontColor' },\n fontWeight: 'bold',\n textBaseline: 'middle',\n spacing: 0\n };\n};\n\nexport const tooltip: ITooltipTheme<string | IColorKey> = {\n offset: {\n x: 10,\n y: 10\n },\n panel: {\n padding: {\n top: 10,\n left: 10,\n right: 10,\n bottom: 10\n },\n backgroundColor: { type: 'palette', key: 'popupBackgroundColor' },\n border: {\n color: { type: 'palette', key: 'popupBackgroundColor' },\n width: 0,\n radius: 3\n },\n shadow: {\n x: 0,\n y: 4,\n blur: 12,\n spread: 0,\n color: { type: 'palette', key: 'shadowColor' }\n }\n },\n spaceRow: 6,\n titleLabel: getTitleLabelTheme(),\n shape: {\n size: 8,\n spacing: 6\n },\n keyLabel: {\n fontSize: { type: 'token', key: 'l4FontSize' },\n lineHeight: { type: 'token', key: 'l4LineHeight' },\n\n fontColor: { type: 'palette', key: 'secondaryFontColor' },\n textBaseline: 'middle',\n spacing: 26\n },\n valueLabel: getTitleLabelTheme()\n};\n"]}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import type { IFunnelSeriesTheme } from '../../../../series/funnel/interface';
|
|
1
|
+
import type { IFunnel3dSeriesTheme, IFunnelSeriesTheme } from '../../../../series/funnel/interface';
|
|
2
2
|
export declare const funnel: IFunnelSeriesTheme;
|
|
3
|
+
export declare const funnel3d: IFunnel3dSeriesTheme;
|