Skip to content

Commit 66aeae5

Browse files
committed
release: 5.15.2
1 parent 495aa30 commit 66aeae5

59 files changed

Lines changed: 95 additions & 63 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/apexcharts.common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.esm.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
1919
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2020
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2121
/*!
22-
* ApexCharts v5.15.1
22+
* ApexCharts v5.15.2
2323
* (c) 2018-2026 ApexCharts
2424
*/
2525
class Environment {
@@ -5053,6 +5053,7 @@ class Globals {
50535053
gl.barHeight = 0;
50545054
gl.barWidth = 0;
50555055
gl.animationEnded = false;
5056+
gl.isDestroyed = false;
50565057
gl.bulkRevealScheduled = false;
50575058
gl.resizeTimer = null;
50585059
gl.selectionResizeTimer = null;
@@ -6581,6 +6582,7 @@ class Animations {
65816582
if (!w.globals.bulkRevealScheduled) {
65826583
w.globals.bulkRevealScheduled = true;
65836584
BrowserAPIs.requestAnimationFrame(() => {
6585+
if (w.globals.isDestroyed) return;
65846586
w.globals.bulkRevealScheduled = false;
65856587
this.animationCompleted(el);
65866588
});
@@ -6674,6 +6676,7 @@ class Animations {
66746676
node.setAttribute("mask", `url(#${maskId})`);
66756677
const startAt = performance.now() + (delay || 0);
66766678
const step = (now) => {
6679+
if (w.globals.isDestroyed) return;
66776680
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
66786681
const eased = easeOutCubic(t);
66796682
if (isRadial) {
@@ -6696,6 +6699,7 @@ class Animations {
66966699
node.setAttribute("stroke-dashoffset", String(len));
66976700
const startAt = performance.now() + (delay || 0);
66986701
const step = (now) => {
6702+
if (w.globals.isDestroyed) return;
66996703
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
67006704
node.setAttribute("stroke-dashoffset", String(len * (1 - easeOutCubic(t))));
67016705
if (t < 1) {
@@ -6709,6 +6713,7 @@ class Animations {
67096713
BrowserAPIs.requestAnimationFrame(step);
67106714
};
67116715
BrowserAPIs.requestAnimationFrame(() => {
6716+
if (w.globals.isDestroyed) return;
67126717
if (isFill) {
67136718
runMaskReveal();
67146719
return;
@@ -22051,6 +22056,9 @@ class Destroy {
2205122056
* @param {{ isUpdating: boolean }} opts
2205222057
*/
2205322058
clear({ isUpdating }) {
22059+
if (!isUpdating) {
22060+
this.w.globals.isDestroyed = true;
22061+
}
2205422062
if (this.ctx._zoomPanSelection) {
2205522063
this.ctx._zoomPanSelection.destroy();
2205622064
}

dist/apexcharts.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var __spreadValues = (a, b) => {
2222
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2323
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2424
/*!
25-
* ApexCharts v5.15.1
25+
* ApexCharts v5.15.2
2626
* (c) 2018-2026 ApexCharts
2727
*/
2828

@@ -5057,6 +5057,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
50575057
gl.barHeight = 0;
50585058
gl.barWidth = 0;
50595059
gl.animationEnded = false;
5060+
gl.isDestroyed = false;
50605061
gl.bulkRevealScheduled = false;
50615062
gl.resizeTimer = null;
50625063
gl.selectionResizeTimer = null;
@@ -6585,6 +6586,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
65856586
if (!w.globals.bulkRevealScheduled) {
65866587
w.globals.bulkRevealScheduled = true;
65876588
BrowserAPIs.requestAnimationFrame(() => {
6589+
if (w.globals.isDestroyed) return;
65886590
w.globals.bulkRevealScheduled = false;
65896591
this.animationCompleted(el);
65906592
});
@@ -6678,6 +6680,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
66786680
node.setAttribute("mask", `url(#${maskId})`);
66796681
const startAt = performance.now() + (delay || 0);
66806682
const step = (now) => {
6683+
if (w.globals.isDestroyed) return;
66816684
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
66826685
const eased = easeOutCubic(t);
66836686
if (isRadial) {
@@ -6700,6 +6703,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
67006703
node.setAttribute("stroke-dashoffset", String(len));
67016704
const startAt = performance.now() + (delay || 0);
67026705
const step = (now) => {
6706+
if (w.globals.isDestroyed) return;
67036707
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
67046708
node.setAttribute("stroke-dashoffset", String(len * (1 - easeOutCubic(t))));
67056709
if (t < 1) {
@@ -6713,6 +6717,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
67136717
BrowserAPIs.requestAnimationFrame(step);
67146718
};
67156719
BrowserAPIs.requestAnimationFrame(() => {
6720+
if (w.globals.isDestroyed) return;
67166721
if (isFill) {
67176722
runMaskReveal();
67186723
return;
@@ -22055,6 +22060,9 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2205522060
* @param {{ isUpdating: boolean }} opts
2205622061
*/
2205722062
clear({ isUpdating }) {
22063+
if (!isUpdating) {
22064+
this.w.globals.isDestroyed = true;
22065+
}
2205822066
if (this.ctx._zoomPanSelection) {
2205922067
this.ctx._zoomPanSelection.destroy();
2206022068
}

dist/apexcharts.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.ssr.common.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/apexcharts.ssr.esm.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var __async = (__this, __arguments, generator) => {
3939
});
4040
};
4141
/*!
42-
* ApexCharts v5.15.1
42+
* ApexCharts v5.15.2
4343
* (c) 2018-2026 ApexCharts
4444
*/
4545
class Environment {
@@ -5073,6 +5073,7 @@ class Globals {
50735073
gl.barHeight = 0;
50745074
gl.barWidth = 0;
50755075
gl.animationEnded = false;
5076+
gl.isDestroyed = false;
50765077
gl.bulkRevealScheduled = false;
50775078
gl.resizeTimer = null;
50785079
gl.selectionResizeTimer = null;
@@ -6601,6 +6602,7 @@ class Animations {
66016602
if (!w.globals.bulkRevealScheduled) {
66026603
w.globals.bulkRevealScheduled = true;
66036604
BrowserAPIs.requestAnimationFrame(() => {
6605+
if (w.globals.isDestroyed) return;
66046606
w.globals.bulkRevealScheduled = false;
66056607
this.animationCompleted(el);
66066608
});
@@ -6694,6 +6696,7 @@ class Animations {
66946696
node.setAttribute("mask", `url(#${maskId})`);
66956697
const startAt = performance.now() + (delay || 0);
66966698
const step = (now) => {
6699+
if (w.globals.isDestroyed) return;
66976700
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
66986701
const eased = easeOutCubic(t);
66996702
if (isRadial) {
@@ -6716,6 +6719,7 @@ class Animations {
67166719
node.setAttribute("stroke-dashoffset", String(len));
67176720
const startAt = performance.now() + (delay || 0);
67186721
const step = (now) => {
6722+
if (w.globals.isDestroyed) return;
67196723
const t = Math.max(0, Math.min(1, (now - startAt) / speed));
67206724
node.setAttribute("stroke-dashoffset", String(len * (1 - easeOutCubic(t))));
67216725
if (t < 1) {
@@ -6729,6 +6733,7 @@ class Animations {
67296733
BrowserAPIs.requestAnimationFrame(step);
67306734
};
67316735
BrowserAPIs.requestAnimationFrame(() => {
6736+
if (w.globals.isDestroyed) return;
67326737
if (isFill) {
67336738
runMaskReveal();
67346739
return;
@@ -22071,6 +22076,9 @@ class Destroy {
2207122076
* @param {{ isUpdating: boolean }} opts
2207222077
*/
2207322078
clear({ isUpdating }) {
22079+
if (!isUpdating) {
22080+
this.w.globals.isDestroyed = true;
22081+
}
2207422082
if (this.ctx._zoomPanSelection) {
2207522083
this.ctx._zoomPanSelection.destroy();
2207622084
}

dist/area.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/area.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
1818
};
1919
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2020
/*!
21-
* ApexCharts v5.15.1
21+
* ApexCharts v5.15.2
2222
* (c) 2018-2026 ApexCharts
2323
*/
2424
import * as _core from "apexcharts/core";

dist/bar.common.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bar.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
1818
};
1919
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
2020
/*!
21-
* ApexCharts v5.15.1
21+
* ApexCharts v5.15.2
2222
* (c) 2018-2026 ApexCharts
2323
*/
2424
import * as _core from "apexcharts/core";

0 commit comments

Comments
 (0)