@visactor/vchart 2.0.11-alpha.3 → 2.0.11-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es5/index.js +1 -1
- package/build/index.es.js +3 -3
- package/build/index.js +3 -3
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -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/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/package.json +8 -8
package/build/index.es.js
CHANGED
|
@@ -43428,7 +43428,7 @@ class LabelBase extends AnimateComponent {
|
|
|
43428
43428
|
} = this.attribute;
|
|
43429
43429
|
for (let i = 0; i < texts.length; i++) {
|
|
43430
43430
|
const text = texts[i];
|
|
43431
|
-
if (!text) return;
|
|
43431
|
+
if (!text) return [];
|
|
43432
43432
|
const textData = text.attribute,
|
|
43433
43433
|
baseMark = this.getRelatedGraphic(textData);
|
|
43434
43434
|
if (!baseMark) continue;
|
|
@@ -44085,7 +44085,7 @@ class ArcLabel extends LabelBase {
|
|
|
44085
44085
|
}
|
|
44086
44086
|
_layout(texts) {
|
|
44087
44087
|
var _a, _b, _c;
|
|
44088
|
-
if (!texts || !texts.length) return;
|
|
44088
|
+
if (!texts || !texts.length) return [];
|
|
44089
44089
|
const labels = super._layout(texts),
|
|
44090
44090
|
textBoundsArray = labels.map(label => this.getGraphicBounds(label)),
|
|
44091
44091
|
ellipsisLabelAttribute = Object.assign(Object.assign({}, this.attribute.textStyle), {
|
|
@@ -61532,7 +61532,7 @@ const lookup = (data, opt) => {
|
|
|
61532
61532
|
});
|
|
61533
61533
|
};
|
|
61534
61534
|
|
|
61535
|
-
const version = "2.0.11-alpha.
|
|
61535
|
+
const version = "2.0.11-alpha.4";
|
|
61536
61536
|
|
|
61537
61537
|
const addVChartProperty = (data, op) => {
|
|
61538
61538
|
const context = op.beforeCall();
|
package/build/index.js
CHANGED
|
@@ -43434,7 +43434,7 @@
|
|
|
43434
43434
|
} = this.attribute;
|
|
43435
43435
|
for (let i = 0; i < texts.length; i++) {
|
|
43436
43436
|
const text = texts[i];
|
|
43437
|
-
if (!text) return;
|
|
43437
|
+
if (!text) return [];
|
|
43438
43438
|
const textData = text.attribute,
|
|
43439
43439
|
baseMark = this.getRelatedGraphic(textData);
|
|
43440
43440
|
if (!baseMark) continue;
|
|
@@ -44091,7 +44091,7 @@
|
|
|
44091
44091
|
}
|
|
44092
44092
|
_layout(texts) {
|
|
44093
44093
|
var _a, _b, _c;
|
|
44094
|
-
if (!texts || !texts.length) return;
|
|
44094
|
+
if (!texts || !texts.length) return [];
|
|
44095
44095
|
const labels = super._layout(texts),
|
|
44096
44096
|
textBoundsArray = labels.map(label => this.getGraphicBounds(label)),
|
|
44097
44097
|
ellipsisLabelAttribute = Object.assign(Object.assign({}, this.attribute.textStyle), {
|
|
@@ -61538,7 +61538,7 @@
|
|
|
61538
61538
|
});
|
|
61539
61539
|
};
|
|
61540
61540
|
|
|
61541
|
-
const version = "2.0.11-alpha.
|
|
61541
|
+
const version = "2.0.11-alpha.4";
|
|
61542
61542
|
|
|
61543
61543
|
const addVChartProperty = (data, op) => {
|
|
61544
61544
|
const context = op.beforeCall();
|