@visactor/vchart 2.1.2-alpha.6 → 2.1.2-alpha.7
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/tsconfig.tsbuildinfo +1 -1
- package/cjs/animation/animation-planner.js +1 -1
- package/cjs/animation/callback-disappear.js +1 -1
- package/cjs/animation/config.js +1 -1
- package/cjs/animation/grammar-dector.js +1 -2
- package/cjs/animation/index.js +1 -1
- package/cjs/animation/interface.js +1 -1
- package/cjs/animation/sequential-animate.js +1 -1
- package/cjs/animation/spec.js +1 -1
- package/cjs/animation/state-transition.js +1 -1
- package/cjs/animation/utils.js +1 -1
- package/cjs/chart/index.js +1 -1
- package/cjs/chart/stack.js +1 -1
- package/cjs/chart/util.js +1 -1
- package/cjs/compile/morph.js +2 -1
- package/cjs/compile/util.js +1 -2
- package/cjs/constant/layout.js +1 -1
- package/cjs/constant/marker.js +1 -1
- package/cjs/constant/polar.js +1 -1
- package/cjs/constant/scatter.js +1 -1
- package/cjs/constant/scroll-bar.js +1 -1
- package/cjs/constant/sunburst.js +1 -1
- package/cjs/constant/waterfall.js +1 -1
- package/cjs/constant/word-cloud.js +1 -1
- package/cjs/data/data-view-utils.js +2 -1
- package/cjs/event/bubble.js +1 -1
- package/cjs/event/event-dispatcher.js +1 -1
- package/cjs/event/event.js +1 -1
- package/cjs/event/index.js +1 -1
- package/cjs/event/interface.js +1 -1
- package/esm/animation/animation-planner.js +1 -1
- package/esm/animation/callback-disappear.js +1 -1
- package/esm/animation/config.js +1 -1
- package/esm/animation/grammar-dector.js +1 -2
- package/esm/animation/index.js +1 -1
- package/esm/animation/interface.js +1 -1
- package/esm/animation/sequential-animate.js +1 -1
- package/esm/animation/spec.js +1 -1
- package/esm/animation/state-transition.js +1 -1
- package/esm/animation/utils.js +1 -1
- package/esm/chart/index.js +1 -1
- package/esm/chart/stack.js +1 -1
- package/esm/chart/util.js +1 -1
- package/esm/compile/morph.js +2 -1
- package/esm/compile/util.js +1 -2
- package/esm/constant/layout.js +1 -1
- package/esm/constant/marker.js +1 -1
- package/esm/constant/polar.js +1 -1
- package/esm/constant/scatter.js +1 -1
- package/esm/constant/scroll-bar.js +1 -1
- package/esm/constant/sunburst.js +1 -1
- package/esm/constant/waterfall.js +1 -1
- package/esm/constant/word-cloud.js +1 -1
- package/esm/data/data-view-utils.js +2 -1
- package/esm/event/bubble.js +1 -1
- package/esm/event/event-dispatcher.js +1 -1
- package/esm/event/event.js +1 -1
- package/esm/event/index.js +1 -1
- package/esm/event/interface.js +1 -1
- package/package.json +8 -8
package/cjs/animation/config.js
CHANGED
package/cjs/animation/index.js
CHANGED
|
@@ -9,4 +9,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
9
9
|
AnimationStateEnum.enter = "enter", AnimationStateEnum.update = "update", AnimationStateEnum.state = "state",
|
|
10
10
|
AnimationStateEnum.exit = "exit", AnimationStateEnum.normal = "normal", AnimationStateEnum.none = "none";
|
|
11
11
|
}(AnimationStateEnum = exports.AnimationStateEnum || (exports.AnimationStateEnum = {}));
|
|
12
|
-
//# sourceMappingURL=interface.js.map
|
|
12
|
+
//# sourceMappingURL=interface.js.map
|
package/cjs/animation/spec.js
CHANGED
package/cjs/animation/utils.js
CHANGED
|
@@ -131,4 +131,4 @@ exports.animationConfig = animationConfig, exports.userAnimationConfig = userAni
|
|
|
131
131
|
exports.shouldMarkDoMorph = shouldMarkDoMorph, exports.isTimeLineAnimation = isTimeLineAnimation,
|
|
132
132
|
exports.isChannelAnimation = isChannelAnimation, exports.uniformAnimationConfig = uniformAnimationConfig,
|
|
133
133
|
exports.isAnimationEnabledForSeries = isAnimationEnabledForSeries;
|
|
134
|
-
//# sourceMappingURL=utils.js.map
|
|
134
|
+
//# sourceMappingURL=utils.js.map
|
package/cjs/chart/index.js
CHANGED
package/cjs/chart/stack.js
CHANGED
package/cjs/chart/util.js
CHANGED
|
@@ -109,4 +109,4 @@ function getTrimPaddingConfig(chartType, spec) {
|
|
|
109
109
|
exports.normalizeUpdateSpecEffects = normalizeUpdateSpecEffects, exports.isUpdateSpecResultLocalOnly = isUpdateSpecResultLocalOnly,
|
|
110
110
|
exports.isUpdateSpecResultComponentOnly = isUpdateSpecResultComponentOnly, exports.mergeUpdateResult = mergeUpdateResult,
|
|
111
111
|
exports.getTrimPaddingConfig = getTrimPaddingConfig;
|
|
112
|
-
//# sourceMappingURL=util.js.map
|
|
112
|
+
//# sourceMappingURL=util.js.map
|
package/cjs/compile/morph.js
CHANGED
package/cjs/compile/util.js
CHANGED
|
@@ -138,5 +138,4 @@ function diffMarks(prevMarks, nextMarks, runningConfig) {
|
|
|
138
138
|
|
|
139
139
|
exports.toRenderMode = toRenderMode, exports.traverseGroupMark = traverseGroupMark,
|
|
140
140
|
exports.findSimpleMarks = findSimpleMarks, exports.diffUpdateByGroup = diffUpdateByGroup,
|
|
141
|
-
exports.diffMarks = diffMarks;
|
|
142
|
-
//# sourceMappingURL=util.js.map
|
|
141
|
+
exports.diffMarks = diffMarks;
|
package/cjs/constant/layout.js
CHANGED
|
@@ -25,4 +25,4 @@ function(LayoutZIndex) {
|
|
|
25
25
|
LayoutLevel[LayoutLevel.Legend = 50] = "Legend", LayoutLevel[LayoutLevel.Title = 70] = "Title",
|
|
26
26
|
LayoutLevel[LayoutLevel.CustomMark = 70] = "CustomMark";
|
|
27
27
|
}(LayoutLevel = exports.LayoutLevel || (exports.LayoutLevel = {}));
|
|
28
|
-
//# sourceMappingURL=layout.js.map
|
|
28
|
+
//# sourceMappingURL=layout.js.map
|
package/cjs/constant/marker.js
CHANGED
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.REGRESS_TYPE = exports.AGGR_TYPE = void 0, exports.AGGR_TYPE = [ "sum", "average", "min", "max", "variance", "standardDeviation", "median" ],
|
|
6
6
|
exports.REGRESS_TYPE = [ "regression" ];
|
|
7
|
-
//# sourceMappingURL=marker.js.map
|
|
7
|
+
//# sourceMappingURL=marker.js.map
|
package/cjs/constant/polar.js
CHANGED
|
@@ -12,4 +12,4 @@ exports.ARC_K = `${base_1.PREFIX}_ARC_K`, exports.ARC_MIDDLE_ANGLE = `${base_1.P
|
|
|
12
12
|
exports.ARC_QUADRANT = `${base_1.PREFIX}_ARC_QUADRANT`, exports.ARC_RADIAN = `${base_1.PREFIX}_ARC_RADIAN`,
|
|
13
13
|
exports.POLAR_START_RADIAN = -Math.PI / 2, exports.POLAR_END_RADIAN = 3 * Math.PI / 2,
|
|
14
14
|
exports.POLAR_START_ANGLE = -90, exports.POLAR_END_ANGLE = 270, exports.POLAR_DEFAULT_RADIUS = .6;
|
|
15
|
-
//# sourceMappingURL=polar.js.map
|
|
15
|
+
//# sourceMappingURL=polar.js.map
|
package/cjs/constant/scatter.js
CHANGED
|
@@ -9,4 +9,4 @@ const vscale_1 = require("@visactor/vscale");
|
|
|
9
9
|
exports.SCATTER_DEFAULT_SIZE = 10, exports.SCATTER_DEFAULT_RANGE_SIZE = [ 10, 20 ],
|
|
10
10
|
exports.SCATTER_DEFAULT_SIZE_SCALE_TYPE = vscale_1.ScaleEnum.Linear, exports.SCATTER_DEFAULT_SHAPE = "circle",
|
|
11
11
|
exports.SCATTER_DEFAULT_SHAPE_SCALE_TYPE = vscale_1.ScaleEnum.Ordinal, exports.SCATTER_DEFAULT_RANGE_SHAPE = [ "circle", "square", "triangle", "diamond", "star" ];
|
|
12
|
-
//# sourceMappingURL=scatter.js.map
|
|
12
|
+
//# sourceMappingURL=scatter.js.map
|
package/cjs/constant/sunburst.js
CHANGED
|
@@ -10,4 +10,4 @@ exports.WORD_CLOUD_ANGLE = `${base_1.PREFIX}_WORD_CLOUD_ANGLE`, exports.WORD_CLO
|
|
|
10
10
|
exports.WORD_CLOUD_WEIGHT = `${base_1.PREFIX}_WORD_CLOUD_WEIGHT`, exports.WORDCLOUD_COLOR = `${base_1.PREFIX}_WORDCLOUD_COLOR`,
|
|
11
11
|
exports.WORDCLOUD_DATA_TOTAL = `${base_1.PREFIX}_WORDCLOUD_DATA_TOTAL`, exports.WORD_CLOUD_TEXT = `${base_1.PREFIX}_WORD_CLOUD_TEXT`,
|
|
12
12
|
exports.WORDCLOUD_SHAPE_DATA_TOTAL = `${base_1.PREFIX}_WORDCLOUD_SHAPE_DATA_TOTAL`;
|
|
13
|
-
//# sourceMappingURL=word-cloud.js.map
|
|
13
|
+
//# sourceMappingURL=word-cloud.js.map
|
|
@@ -54,4 +54,5 @@ const releaseDataViewWithDependencies = (dataView, shouldReleaseDependency) => {
|
|
|
54
54
|
collectReleaseDependencies(dataView), (0, exports.releaseDataViews)([ dataView, ...releaseDependencies ]);
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
-
exports.releaseDataViewWithDependencies = releaseDataViewWithDependencies;
|
|
57
|
+
exports.releaseDataViewWithDependencies = releaseDataViewWithDependencies;
|
|
58
|
+
//# sourceMappingURL=data-view-utils.js.map
|
package/cjs/event/bubble.js
CHANGED
package/cjs/event/event.js
CHANGED
package/cjs/event/index.js
CHANGED
package/cjs/event/interface.js
CHANGED
|
@@ -15,4 +15,4 @@ export class CallbackDisappearAnimate extends AStageAnimate {
|
|
|
15
15
|
return null === (_b = null === (_a = this.params) || void 0 === _a ? void 0 : _a.callBack) || void 0 === _b ? void 0 : _b.call(_a, stage, canvas, this.currentAnimationRatio, this.animationTime);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
//# sourceMappingURL=callback-disappear.js.map
|
|
18
|
+
//# sourceMappingURL=callback-disappear.js.map
|
package/esm/animation/config.js
CHANGED
|
@@ -182,4 +182,4 @@ export const registerPolygonAnimation = () => {
|
|
|
182
182
|
export const registerStageAnimation = () => {
|
|
183
183
|
AnimateExecutor.registerBuiltInAnimate(BuiltIn_DISAPPEAR_ANIMATE_NAME, CallbackDisappearAnimate);
|
|
184
184
|
};
|
|
185
|
-
//# sourceMappingURL=config.js.map
|
|
185
|
+
//# sourceMappingURL=config.js.map
|
package/esm/animation/index.js
CHANGED
|
@@ -7,4 +7,4 @@ export { registerSequentialAnimate } from "./sequential-animate";
|
|
|
7
7
|
export { registerPolygonAnimation, registerRectAnimation, registerArcAnimation, registerScaleInOutAnimation, DEFAULT_ANIMATION_CONFIG } from "./config";
|
|
8
8
|
|
|
9
9
|
export { animationConfig, userAnimationConfig, shouldMarkDoMorph } from "./utils";
|
|
10
|
-
//# sourceMappingURL=index.js.map
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -5,4 +5,4 @@ export var AnimationStateEnum;
|
|
|
5
5
|
AnimationStateEnum.enter = "enter", AnimationStateEnum.update = "update", AnimationStateEnum.state = "state",
|
|
6
6
|
AnimationStateEnum.exit = "exit", AnimationStateEnum.normal = "normal", AnimationStateEnum.none = "none";
|
|
7
7
|
}(AnimationStateEnum || (AnimationStateEnum = {}));
|
|
8
|
-
//# sourceMappingURL=interface.js.map
|
|
8
|
+
//# sourceMappingURL=interface.js.map
|
package/esm/animation/spec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { };
|
|
2
|
-
//# sourceMappingURL=spec.js.map
|
|
2
|
+
//# sourceMappingURL=spec.js.map
|
package/esm/animation/utils.js
CHANGED
|
@@ -125,4 +125,4 @@ export function isAnimationEnabledForSeries(series) {
|
|
|
125
125
|
config.progressiveThreshold && (animationThreshold = Math.min(animationThreshold, config.progressiveThreshold)));
|
|
126
126
|
})), !((null === (_f = null === (_e = series.getRawData()) || void 0 === _e ? void 0 : _e.latestData) || void 0 === _f ? void 0 : _f.length) >= animationThreshold);
|
|
127
127
|
}
|
|
128
|
-
//# sourceMappingURL=utils.js.map
|
|
128
|
+
//# sourceMappingURL=utils.js.map
|
package/esm/chart/index.js
CHANGED
|
@@ -69,4 +69,4 @@ export { AreaChart, BarChart, BarChartSpecTransformer, BoxPlotChart, CirclePacki
|
|
|
69
69
|
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart };
|
|
70
70
|
|
|
71
71
|
export { setDefaultCrosshairForCartesianChart } from "./util";
|
|
72
|
-
//# sourceMappingURL=index.js.map
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
package/esm/chart/stack.js
CHANGED
package/esm/chart/util.js
CHANGED
package/esm/compile/morph.js
CHANGED
package/esm/compile/util.js
CHANGED
package/esm/constant/layout.js
CHANGED
|
@@ -29,4 +29,4 @@ export var LayoutLevel;
|
|
|
29
29
|
LayoutLevel[LayoutLevel.Legend = 50] = "Legend", LayoutLevel[LayoutLevel.Title = 70] = "Title",
|
|
30
30
|
LayoutLevel[LayoutLevel.CustomMark = 70] = "CustomMark";
|
|
31
31
|
}(LayoutLevel || (LayoutLevel = {}));
|
|
32
|
-
//# sourceMappingURL=layout.js.map
|
|
32
|
+
//# sourceMappingURL=layout.js.map
|
package/esm/constant/marker.js
CHANGED
package/esm/constant/polar.js
CHANGED
package/esm/constant/scatter.js
CHANGED
|
@@ -11,4 +11,4 @@ export const SCATTER_DEFAULT_SHAPE = "circle";
|
|
|
11
11
|
export const SCATTER_DEFAULT_SHAPE_SCALE_TYPE = ScaleEnum.Ordinal;
|
|
12
12
|
|
|
13
13
|
export const SCATTER_DEFAULT_RANGE_SHAPE = [ "circle", "square", "triangle", "diamond", "star" ];
|
|
14
|
-
//# sourceMappingURL=scatter.js.map
|
|
14
|
+
//# sourceMappingURL=scatter.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const SCROLL_BAR_DEFAULT_SIZE = 12;
|
|
2
|
-
//# sourceMappingURL=scroll-bar.js.map
|
|
2
|
+
//# sourceMappingURL=scroll-bar.js.map
|
package/esm/constant/sunburst.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const SUNBURST_AUTO_VISIBLE_DEFAULT_THRESHOLD = 10;
|
|
2
|
-
//# sourceMappingURL=sunburst.js.map
|
|
2
|
+
//# sourceMappingURL=sunburst.js.map
|
|
@@ -13,4 +13,4 @@ export const WORDCLOUD_DATA_TOTAL = `${PREFIX}_WORDCLOUD_DATA_TOTAL`;
|
|
|
13
13
|
export const WORD_CLOUD_TEXT = `${PREFIX}_WORD_CLOUD_TEXT`;
|
|
14
14
|
|
|
15
15
|
export const WORDCLOUD_SHAPE_DATA_TOTAL = `${PREFIX}_WORDCLOUD_SHAPE_DATA_TOTAL`;
|
|
16
|
-
//# sourceMappingURL=word-cloud.js.map
|
|
16
|
+
//# sourceMappingURL=word-cloud.js.map
|
package/esm/event/bubble.js
CHANGED
|
@@ -211,4 +211,4 @@ export class EventDispatcher {
|
|
|
211
211
|
return eType && (interactionType = eType.split(":")[0], interactionType) && Factory.hasInteractionTrigger(interactionType);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
//# sourceMappingURL=event-dispatcher.js.map
|
|
214
|
+
//# sourceMappingURL=event-dispatcher.js.map
|
package/esm/event/event.js
CHANGED
package/esm/event/index.js
CHANGED
package/esm/event/interface.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { };
|
|
2
|
-
//# sourceMappingURL=interface.js.map
|
|
2
|
+
//# sourceMappingURL=interface.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vchart",
|
|
3
|
-
"version": "2.1.2-alpha.
|
|
3
|
+
"version": "2.1.2-alpha.7",
|
|
4
4
|
"description": "charts lib based @visactor/VGrammar",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"@size-limit/file": "9.0.0",
|
|
86
86
|
"rimraf": "3.0.2",
|
|
87
87
|
"cross-env": "^7.0.3",
|
|
88
|
+
"@internal/typescript-json-schema": "0.0.1",
|
|
88
89
|
"@internal/bundler": "0.0.1",
|
|
89
90
|
"@internal/ts-config": "0.0.1",
|
|
90
|
-
"@internal/typescript-json-schema": "0.0.1",
|
|
91
91
|
"@internal/eslint-config": "0.0.1"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
"@visactor/vdataset": "~1.0.23",
|
|
96
96
|
"@visactor/vscale": "~1.0.23",
|
|
97
97
|
"@visactor/vlayouts": "~1.0.23",
|
|
98
|
-
"@visactor/vrender": "1.1.3-alpha.
|
|
99
|
-
"@visactor/vrender-core": "1.1.3-alpha.
|
|
100
|
-
"@visactor/vrender-kits": "1.1.3-alpha.
|
|
101
|
-
"@visactor/vrender-components": "1.1.3-alpha.
|
|
102
|
-
"@visactor/vrender-animate": "1.1.3-alpha.
|
|
103
|
-
"@visactor/vutils-extension": "2.1.2-alpha.
|
|
98
|
+
"@visactor/vrender": "1.1.3-alpha.2",
|
|
99
|
+
"@visactor/vrender-core": "1.1.3-alpha.2",
|
|
100
|
+
"@visactor/vrender-kits": "1.1.3-alpha.2",
|
|
101
|
+
"@visactor/vrender-components": "1.1.3-alpha.2",
|
|
102
|
+
"@visactor/vrender-animate": "1.1.3-alpha.2",
|
|
103
|
+
"@visactor/vutils-extension": "2.1.2-alpha.7"
|
|
104
104
|
},
|
|
105
105
|
"publishConfig": {
|
|
106
106
|
"access": "public",
|