Skip to content

Commit 8309269

Browse files
committed
release: 5.15.1
1 parent 8f81f7a commit 8309269

59 files changed

Lines changed: 83 additions & 75 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: 6 additions & 4 deletions
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.0
22+
* ApexCharts v5.15.1
2323
* (c) 2018-2026 ApexCharts
2424
*/
2525
class Environment {
@@ -16557,7 +16557,7 @@ class Data {
1655716557
const end = i === targetPoints - 1 ? len : Math.floor((i + 1) * bucketSize);
1655816558
if (end <= start) continue;
1655916559
const firstY = getY(data[start]);
16560-
let open = firstY[0];
16560+
const open = firstY[0];
1656116561
let high = firstY[1];
1656216562
let low = firstY[2];
1656316563
let close = firstY[3];
@@ -22113,7 +22113,7 @@ class Destroy {
2211322113
/** @type {any} */
2211422114
this.w.dom
2211522115
);
22116-
if (Environment.isBrowser()) {
22116+
if (Environment.isBrowser() && domEls.Paper) {
2211722117
const elSVG = domEls.Paper.node;
2211822118
if (elSVG.parentNode && elSVG.parentNode.parentNode && !isUpdating) {
2211922119
elSVG.parentNode.parentNode.style.minHeight = "unset";
@@ -22591,16 +22591,18 @@ class ApexCharts {
2259122591
* After calling this, the instance should not be used again.
2259222592
*/
2259322593
destroy() {
22594+
var _a;
2259422595
if (Environment.isBrowser()) {
2259522596
window.removeEventListener("resize", this.windowResizeHandler);
2259622597
removeResizeListener(
2259722598
/** @type {Element} */
2259822599
this.el.parentNode,
2259922600
this.parentResizeHandler
2260022601
);
22602+
clearTimeout((_a = this.w.globals.resizeTimer) != null ? _a : void 0);
2260122603
}
2260222604
const chartID = this.w.config.chart.id;
22603-
if (chartID) {
22605+
if (chartID && Array.isArray(Apex._chartInstances)) {
2260422606
Apex._chartInstances.forEach(
2260522607
(c, i) => {
2260622608
if (c.id === Utils$1.escapeString(chartID)) {

dist/apexcharts.js

Lines changed: 6 additions & 4 deletions
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.0
25+
* ApexCharts v5.15.1
2626
* (c) 2018-2026 ApexCharts
2727
*/
2828

@@ -16561,7 +16561,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
1656116561
const end = i === targetPoints - 1 ? len : Math.floor((i + 1) * bucketSize);
1656216562
if (end <= start) continue;
1656316563
const firstY = getY(data[start]);
16564-
let open = firstY[0];
16564+
const open = firstY[0];
1656516565
let high = firstY[1];
1656616566
let low = firstY[2];
1656716567
let close = firstY[3];
@@ -22117,7 +22117,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2211722117
/** @type {any} */
2211822118
this.w.dom
2211922119
);
22120-
if (Environment.isBrowser()) {
22120+
if (Environment.isBrowser() && domEls.Paper) {
2212122121
const elSVG = domEls.Paper.node;
2212222122
if (elSVG.parentNode && elSVG.parentNode.parentNode && !isUpdating) {
2212322123
elSVG.parentNode.parentNode.style.minHeight = "unset";
@@ -22595,16 +22595,18 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2259522595
* After calling this, the instance should not be used again.
2259622596
*/
2259722597
destroy() {
22598+
var _a;
2259822599
if (Environment.isBrowser()) {
2259922600
window.removeEventListener("resize", this.windowResizeHandler);
2260022601
removeResizeListener(
2260122602
/** @type {Element} */
2260222603
this.el.parentNode,
2260322604
this.parentResizeHandler
2260422605
);
22606+
clearTimeout((_a = this.w.globals.resizeTimer) != null ? _a : void 0);
2260522607
}
2260622608
const chartID = this.w.config.chart.id;
22607-
if (chartID) {
22609+
if (chartID && Array.isArray(Apex._chartInstances)) {
2260822610
Apex._chartInstances.forEach(
2260922611
(c, i) => {
2261022612
if (c.id === Utils$1.escapeString(chartID)) {

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: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var __async = (__this, __arguments, generator) => {
3939
});
4040
};
4141
/*!
42-
* ApexCharts v5.15.0
42+
* ApexCharts v5.15.1
4343
* (c) 2018-2026 ApexCharts
4444
*/
4545
class Environment {
@@ -16577,7 +16577,7 @@ class Data {
1657716577
const end = i === targetPoints - 1 ? len : Math.floor((i + 1) * bucketSize);
1657816578
if (end <= start) continue;
1657916579
const firstY = getY(data[start]);
16580-
let open = firstY[0];
16580+
const open = firstY[0];
1658116581
let high = firstY[1];
1658216582
let low = firstY[2];
1658316583
let close = firstY[3];
@@ -22133,7 +22133,7 @@ class Destroy {
2213322133
/** @type {any} */
2213422134
this.w.dom
2213522135
);
22136-
if (Environment.isBrowser()) {
22136+
if (Environment.isBrowser() && domEls.Paper) {
2213722137
const elSVG = domEls.Paper.node;
2213822138
if (elSVG.parentNode && elSVG.parentNode.parentNode && !isUpdating) {
2213922139
elSVG.parentNode.parentNode.style.minHeight = "unset";
@@ -22611,16 +22611,18 @@ class ApexCharts {
2261122611
* After calling this, the instance should not be used again.
2261222612
*/
2261322613
destroy() {
22614+
var _a;
2261422615
if (Environment.isBrowser()) {
2261522616
window.removeEventListener("resize", this.windowResizeHandler);
2261622617
removeResizeListener(
2261722618
/** @type {Element} */
2261822619
this.el.parentNode,
2261922620
this.parentResizeHandler
2262022621
);
22622+
clearTimeout((_a = this.w.globals.resizeTimer) != null ? _a : void 0);
2262122623
}
2262222624
const chartID = this.w.config.chart.id;
22623-
if (chartID) {
22625+
if (chartID && Array.isArray(Apex._chartInstances)) {
2262422626
Apex._chartInstances.forEach(
2262522627
(c, i) => {
2262622628
if (c.id === Utils$1.escapeString(chartID)) {

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.0
21+
* ApexCharts v5.15.1
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.0
21+
* ApexCharts v5.15.1
2222
* (c) 2018-2026 ApexCharts
2323
*/
2424
import * as _core from "apexcharts/core";

0 commit comments

Comments
 (0)