q2-tecton-elements 1.52.7 → 1.52.8
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 +20 -3
- package/dist/cjs/q2-chart-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js +22 -1
- package/dist/cjs/q2-chart-donut.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-select.cjs.entry.js +1 -2
- package/dist/cjs/q2-select.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 +20 -3
- 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 +22 -1
- package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
- package/dist/collection/components/q2-select/q2-select.js +1 -2
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/components/q2-select/test/q2-select-test.spec.js +0 -4
- package/dist/collection/components/q2-select/test/q2-select-test.spec.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 +20 -3
- package/dist/components/q2-chart-bar.js.map +1 -1
- package/dist/components/q2-chart-donut.js +22 -1
- package/dist/components/q2-chart-donut.js.map +1 -1
- package/dist/components/q2-select2.js +1 -2
- package/dist/components/q2-select2.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 +20 -3
- package/dist/esm/q2-chart-bar.entry.js.map +1 -1
- package/dist/esm/q2-chart-donut.entry.js +22 -1
- package/dist/esm/q2-chart-donut.entry.js.map +1 -1
- package/dist/esm/q2-select.entry.js +1 -2
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +16 -3
- package/dist/q2-tecton-elements/q2-chart-area.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +98 -81
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +28 -7
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.js +1 -2
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +1 -0
- package/package.json +3 -3
|
@@ -4022,7 +4022,20 @@ const Q2ChartArea = class {
|
|
|
4022
4022
|
// #endregion
|
|
4023
4023
|
// #region Component Lifecycle Events
|
|
4024
4024
|
disconnectedCallback() {
|
|
4025
|
+
// CRITICAL: Dispose eCharts instance to prevent memory leaks
|
|
4026
|
+
// eCharts holds references to canvas, event listeners, and animation frames
|
|
4027
|
+
if (this.chart) {
|
|
4028
|
+
this.chart.dispose();
|
|
4029
|
+
this.chart = null;
|
|
4030
|
+
}
|
|
4031
|
+
// Remove window resize listener
|
|
4025
4032
|
window.removeEventListener('resize', this.resizeEventListener);
|
|
4033
|
+
// Clear cached style references that hold DOM references (Safari memory management)
|
|
4034
|
+
this.chartContainerStyles = null;
|
|
4035
|
+
this.hostElementStyles = null;
|
|
4036
|
+
// Clear DOM and event listener references
|
|
4037
|
+
this.chartContainer = null;
|
|
4038
|
+
this.resizeEventListener = null;
|
|
4026
4039
|
}
|
|
4027
4040
|
componentDidLoad() {
|
|
4028
4041
|
const chart = charting.init(this.chartContainer);
|
|
@@ -4208,7 +4221,7 @@ const Q2ChartArea = class {
|
|
|
4208
4221
|
// #endregion
|
|
4209
4222
|
// #region Render Methods
|
|
4210
4223
|
render() {
|
|
4211
|
-
return (index.h("div", { key: '
|
|
4224
|
+
return (index.h("div", { key: '65fc35a8deb9c129ee3fe7227dd06c7b733cd301', class: "container" }, index.h("div", { key: '2998df4d236c7d0de38ebe42dcd47b56c21f9b7a', ref: el => (this.chartContainer = el), class: "chart-container", role: "img", "test-id": "areaChartContainer" })));
|
|
4212
4225
|
}
|
|
4213
4226
|
get hostElement() { return index.getElement(this); }
|
|
4214
4227
|
static get watchers() { return {
|