@visactor/vchart 2.0.4-alpha.4 → 2.0.4-alpha.5
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.es.js +5 -5
- package/build/index.js +5 -5
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/compile/compiler.js +4 -4
- package/cjs/compile/compiler.js.map +1 -1
- package/cjs/constant/attribute.js +2 -1
- package/cjs/constant/label.js +1 -2
- package/cjs/constant/waterfall.js +2 -1
- package/cjs/constant/word-cloud.js +1 -1
- package/cjs/core/expression-function.js +1 -2
- 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.js +1 -1
- package/esm/compile/compiler.js +4 -4
- package/esm/compile/compiler.js.map +1 -1
- package/esm/constant/attribute.js +2 -1
- package/esm/constant/label.js +1 -2
- package/esm/constant/waterfall.js +2 -1
- package/esm/constant/word-cloud.js +1 -1
- package/esm/core/expression-function.js +1 -2
- 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.js +1 -1
- package/package.json +3 -3
package/build/index.es.js
CHANGED
|
@@ -50238,7 +50238,7 @@ class Compiler {
|
|
|
50238
50238
|
(_b = (_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.getEvent()) === null || _b === void 0 ? void 0 : _b.emit(ChartEvent.afterRender, { chart: this._compileChart });
|
|
50239
50239
|
};
|
|
50240
50240
|
this._handleAfterNextRender = () => {
|
|
50241
|
-
var _a, _b, _c;
|
|
50241
|
+
var _a, _b, _c, _d;
|
|
50242
50242
|
if (this._stage && !this._option.disableDirtyBounds) {
|
|
50243
50243
|
this._stage.enableDirtyBounds();
|
|
50244
50244
|
}
|
|
@@ -50248,7 +50248,7 @@ class Compiler {
|
|
|
50248
50248
|
vchart: (_b = this._compileChart.getOption()) === null || _b === void 0 ? void 0 : _b.globalInstance
|
|
50249
50249
|
});
|
|
50250
50250
|
}
|
|
50251
|
-
(_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw(this._compileChart.getOption().globalInstance);
|
|
50251
|
+
(_d = (_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw) === null || _d === void 0 ? void 0 : _d.call(_c, this._compileChart.getOption().globalInstance);
|
|
50252
50252
|
};
|
|
50253
50253
|
this.handleProgressiveFrame = () => {
|
|
50254
50254
|
if (this._progressiveMarks.length) {
|
|
@@ -50398,7 +50398,7 @@ class Compiler {
|
|
|
50398
50398
|
});
|
|
50399
50399
|
}
|
|
50400
50400
|
_doRender(immediately) {
|
|
50401
|
-
var _a;
|
|
50401
|
+
var _a, _b;
|
|
50402
50402
|
if (this._stage) {
|
|
50403
50403
|
this._rootMarks.forEach(g => {
|
|
50404
50404
|
traverseGroupMark(g, m => {
|
|
@@ -50415,7 +50415,7 @@ class Compiler {
|
|
|
50415
50415
|
this._stage.afterNextRender(this._handleAfterNextRender);
|
|
50416
50416
|
if (immediately) {
|
|
50417
50417
|
this._stage.render();
|
|
50418
|
-
(_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw(this._compileChart.getOption().globalInstance);
|
|
50418
|
+
(_b = (_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw) === null || _b === void 0 ? void 0 : _b.call(_a, this._compileChart.getOption().globalInstance);
|
|
50419
50419
|
}
|
|
50420
50420
|
}
|
|
50421
50421
|
}
|
|
@@ -56921,7 +56921,7 @@ const lookup = (data, opt) => {
|
|
|
56921
56921
|
});
|
|
56922
56922
|
};
|
|
56923
56923
|
|
|
56924
|
-
const version = "2.0.4-alpha.
|
|
56924
|
+
const version = "2.0.4-alpha.5";
|
|
56925
56925
|
|
|
56926
56926
|
const addVChartProperty = (data, op) => {
|
|
56927
56927
|
const context = op.beforeCall();
|
package/build/index.js
CHANGED
|
@@ -50244,7 +50244,7 @@
|
|
|
50244
50244
|
(_b = (_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.getEvent()) === null || _b === void 0 ? void 0 : _b.emit(exports.ChartEvent.afterRender, { chart: this._compileChart });
|
|
50245
50245
|
};
|
|
50246
50246
|
this._handleAfterNextRender = () => {
|
|
50247
|
-
var _a, _b, _c;
|
|
50247
|
+
var _a, _b, _c, _d;
|
|
50248
50248
|
if (this._stage && !this._option.disableDirtyBounds) {
|
|
50249
50249
|
this._stage.enableDirtyBounds();
|
|
50250
50250
|
}
|
|
@@ -50254,7 +50254,7 @@
|
|
|
50254
50254
|
vchart: (_b = this._compileChart.getOption()) === null || _b === void 0 ? void 0 : _b.globalInstance
|
|
50255
50255
|
});
|
|
50256
50256
|
}
|
|
50257
|
-
(_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw(this._compileChart.getOption().globalInstance);
|
|
50257
|
+
(_d = (_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw) === null || _d === void 0 ? void 0 : _d.call(_c, this._compileChart.getOption().globalInstance);
|
|
50258
50258
|
};
|
|
50259
50259
|
this.handleProgressiveFrame = () => {
|
|
50260
50260
|
if (this._progressiveMarks.length) {
|
|
@@ -50404,7 +50404,7 @@
|
|
|
50404
50404
|
});
|
|
50405
50405
|
}
|
|
50406
50406
|
_doRender(immediately) {
|
|
50407
|
-
var _a;
|
|
50407
|
+
var _a, _b;
|
|
50408
50408
|
if (this._stage) {
|
|
50409
50409
|
this._rootMarks.forEach(g => {
|
|
50410
50410
|
traverseGroupMark(g, m => {
|
|
@@ -50421,7 +50421,7 @@
|
|
|
50421
50421
|
this._stage.afterNextRender(this._handleAfterNextRender);
|
|
50422
50422
|
if (immediately) {
|
|
50423
50423
|
this._stage.render();
|
|
50424
|
-
(_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw(this._compileChart.getOption().globalInstance);
|
|
50424
|
+
(_b = (_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw) === null || _b === void 0 ? void 0 : _b.call(_a, this._compileChart.getOption().globalInstance);
|
|
50425
50425
|
}
|
|
50426
50426
|
}
|
|
50427
50427
|
}
|
|
@@ -56927,7 +56927,7 @@
|
|
|
56927
56927
|
});
|
|
56928
56928
|
};
|
|
56929
56929
|
|
|
56930
|
-
const version = "2.0.4-alpha.
|
|
56930
|
+
const version = "2.0.4-alpha.5";
|
|
56931
56931
|
|
|
56932
56932
|
const addVChartProperty = (data, op) => {
|
|
56933
56933
|
const context = op.beforeCall();
|