@visactor/vchart 1.13.18 → 1.13.19-alpha.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/build/es5/index.js +1 -1
- package/build/index.es.js +3 -3
- package/build/index.js +3 -3
- package/build/index.min.js +1 -1
- package/build/tsconfig.tsbuildinfo +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/core/expression-function.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/event/event-dispatcher.js +1 -1
- package/cjs/event/event.js +1 -2
- package/cjs/event/index.js +1 -1
- package/cjs/event/interface.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/core/expression-function.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/event/event-dispatcher.js +1 -1
- package/esm/event/event.js +1 -2
- package/esm/event/index.js +1 -1
- package/esm/event/interface.js +1 -1
- package/package.json +7 -7
package/build/index.es.js
CHANGED
|
@@ -37773,7 +37773,7 @@ class LabelBase extends AbstractComponent {
|
|
|
37773
37773
|
const text = result[i],
|
|
37774
37774
|
bounds = text.AABBBounds,
|
|
37775
37775
|
range = boundToRange(bmpTool, bounds, !0);
|
|
37776
|
-
if (canPlace(bmpTool, bitmap, bounds, clampForce, overlapPadding)) bitmap.setRange(range);else {
|
|
37776
|
+
if (canPlace(bmpTool, bitmap, bounds, clampForce || hideOnOverflow, overlapPadding)) bitmap.setRange(range);else {
|
|
37777
37777
|
if (hideOnOverflow) {
|
|
37778
37778
|
if (this._processHideOnOverflow(text, bmpTool)) continue;
|
|
37779
37779
|
} else if (clampForce && this._processClampForce(text, bmpTool, bitmap, overlapPadding)) continue;
|
|
@@ -37837,7 +37837,7 @@ class LabelBase extends AbstractComponent {
|
|
|
37837
37837
|
const text = labels[i],
|
|
37838
37838
|
baseMark = this.getRelatedGraphic(text.attribute);
|
|
37839
37839
|
if (text.update(), !this.isMarkInsideRect(baseMark, bmpTool)) continue;
|
|
37840
|
-
if (canPlace(bmpTool, bitmap, text.AABBBounds, clampForce, overlapPadding)) {
|
|
37840
|
+
if (canPlace(bmpTool, bitmap, text.AABBBounds, clampForce || hideOnOverflow, overlapPadding)) {
|
|
37841
37841
|
if (!checkBounds) {
|
|
37842
37842
|
bitmap.setRange(boundToRange(bmpTool, text.AABBBounds, !0)), result.push(text);
|
|
37843
37843
|
continue;
|
|
@@ -64255,7 +64255,7 @@ const registerVChartCore = () => {
|
|
|
64255
64255
|
};
|
|
64256
64256
|
registerVChartCore();
|
|
64257
64257
|
|
|
64258
|
-
const version = "1.13.
|
|
64258
|
+
const version = "1.13.19-alpha.0";
|
|
64259
64259
|
|
|
64260
64260
|
const addVChartProperty = (data, op) => {
|
|
64261
64261
|
const context = op.beforeCall();
|
package/build/index.js
CHANGED
|
@@ -37779,7 +37779,7 @@
|
|
|
37779
37779
|
const text = result[i],
|
|
37780
37780
|
bounds = text.AABBBounds,
|
|
37781
37781
|
range = boundToRange(bmpTool, bounds, !0);
|
|
37782
|
-
if (canPlace(bmpTool, bitmap, bounds, clampForce, overlapPadding)) bitmap.setRange(range);else {
|
|
37782
|
+
if (canPlace(bmpTool, bitmap, bounds, clampForce || hideOnOverflow, overlapPadding)) bitmap.setRange(range);else {
|
|
37783
37783
|
if (hideOnOverflow) {
|
|
37784
37784
|
if (this._processHideOnOverflow(text, bmpTool)) continue;
|
|
37785
37785
|
} else if (clampForce && this._processClampForce(text, bmpTool, bitmap, overlapPadding)) continue;
|
|
@@ -37843,7 +37843,7 @@
|
|
|
37843
37843
|
const text = labels[i],
|
|
37844
37844
|
baseMark = this.getRelatedGraphic(text.attribute);
|
|
37845
37845
|
if (text.update(), !this.isMarkInsideRect(baseMark, bmpTool)) continue;
|
|
37846
|
-
if (canPlace(bmpTool, bitmap, text.AABBBounds, clampForce, overlapPadding)) {
|
|
37846
|
+
if (canPlace(bmpTool, bitmap, text.AABBBounds, clampForce || hideOnOverflow, overlapPadding)) {
|
|
37847
37847
|
if (!checkBounds) {
|
|
37848
37848
|
bitmap.setRange(boundToRange(bmpTool, text.AABBBounds, !0)), result.push(text);
|
|
37849
37849
|
continue;
|
|
@@ -64261,7 +64261,7 @@ C0.3-1.4,0.3-1.4,0.3-1.4z;`;
|
|
|
64261
64261
|
};
|
|
64262
64262
|
registerVChartCore();
|
|
64263
64263
|
|
|
64264
|
-
const version = "1.13.
|
|
64264
|
+
const version = "1.13.19-alpha.0";
|
|
64265
64265
|
|
|
64266
64266
|
const addVChartProperty = (data, op) => {
|
|
64267
64267
|
const context = op.beforeCall();
|