q2-tecton-elements 1.47.4 → 1.47.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/dist/cjs/q2-chart-area.cjs.entry.js +14 -1
- package/dist/cjs/q2-chart-area.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js +28 -1
- package/dist/cjs/q2-chart-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +24 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js.map +1 -1
- package/dist/collection/components/q2-chart-area/q2-chart-area.js +14 -1
- package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +28 -1
- package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +24 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
- package/dist/components/q2-chart-area.js +14 -1
- package/dist/components/q2-chart-area.js.map +1 -1
- package/dist/components/q2-chart-bar.js +28 -1
- package/dist/components/q2-chart-bar.js.map +1 -1
- package/dist/components/q2-chart-donut.js +24 -1
- package/dist/components/q2-chart-donut.js.map +1 -1
- package/dist/esm/q2-chart-area.entry.js +14 -1
- package/dist/esm/q2-chart-area.entry.js.map +1 -1
- package/dist/esm/q2-chart-bar.entry.js +28 -1
- package/dist/esm/q2-chart-bar.entry.js.map +1 -1
- package/dist/esm/q2-chart-donut.entry.js +24 -1
- package/dist/esm/q2-chart-donut.entry.js.map +1 -1
- package/dist/q2-tecton-elements/p-3ccb7031.entry.js +2 -0
- package/dist/q2-tecton-elements/p-3ccb7031.entry.js.map +1 -0
- package/dist/q2-tecton-elements/{p-0097a699.entry.js → p-4d1e5572.entry.js} +2 -2
- package/dist/q2-tecton-elements/p-4d1e5572.entry.js.map +1 -0
- package/dist/q2-tecton-elements/{p-bcd6b43b.entry.js → p-52bb49a9.entry.js} +2 -2
- package/dist/q2-tecton-elements/p-52bb49a9.entry.js.map +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +2 -0
- package/package.json +3 -3
- package/dist/q2-tecton-elements/p-0097a699.entry.js.map +0 -1
- package/dist/q2-tecton-elements/p-aa7e150c.entry.js +0 -2
- package/dist/q2-tecton-elements/p-aa7e150c.entry.js.map +0 -1
- package/dist/q2-tecton-elements/p-bcd6b43b.entry.js.map +0 -1
|
@@ -4028,7 +4028,20 @@ const Q2ChartArea = class {
|
|
|
4028
4028
|
index$1.overrideFocus(this.hostElement);
|
|
4029
4029
|
}
|
|
4030
4030
|
disconnectedCallback() {
|
|
4031
|
+
// CRITICAL: Dispose eCharts instance to prevent memory leaks
|
|
4032
|
+
// eCharts holds references to canvas, event listeners, and animation frames
|
|
4033
|
+
if (this.chart) {
|
|
4034
|
+
this.chart.dispose();
|
|
4035
|
+
this.chart = null;
|
|
4036
|
+
}
|
|
4037
|
+
// Remove window resize listener
|
|
4031
4038
|
window.removeEventListener('resize', this.resizeEventListener);
|
|
4039
|
+
// Clear cached style references that hold DOM references (Safari memory management)
|
|
4040
|
+
this.chartContainerStyles = null;
|
|
4041
|
+
this.hostElementStyles = null;
|
|
4042
|
+
// Clear DOM and event listener references
|
|
4043
|
+
this.chartContainer = null;
|
|
4044
|
+
this.resizeEventListener = null;
|
|
4032
4045
|
}
|
|
4033
4046
|
cacheComputedStyles() {
|
|
4034
4047
|
this.chartContainerStyles = getComputedStyle(this.chartContainer);
|
|
@@ -4178,7 +4191,7 @@ const Q2ChartArea = class {
|
|
|
4178
4191
|
this.updateChart(this.chart);
|
|
4179
4192
|
}
|
|
4180
4193
|
render() {
|
|
4181
|
-
return (index.h("div", { key: '
|
|
4194
|
+
return (index.h("div", { key: '9be8e22a08ac2971ecb0aadb9b86eac5830b5cf2', class: "container" }, index.h("div", { key: '95dc71d45f12bf3820ea17a0641ebb147ea029ac', ref: el => (this.chartContainer = el), class: "chart-container", "test-id": "areaChartContainer" })));
|
|
4182
4195
|
}
|
|
4183
4196
|
get hostElement() { return index.getElement(this); }
|
|
4184
4197
|
static get watchers() { return {
|