@tradecanvas/chart 2.0.2 → 2.0.4

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.
@@ -1,4 +1,4 @@
1
- import { _ as e, a as t, c as n, d as r, f as i, h as a, i as o, l as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m, v as ee } from "../LayoutSession-fJQLPSQ8.js";
1
+ import { _ as e, a as t, c as n, d as r, f as i, h as a, i as o, l as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m, v as ee } from "../LayoutSession-Co83CleT.js";
2
2
  import { _ as h, b as g, g as te, h as _, l as v, m as ne, n as re, t as ie, v as ae, y as oe } from "../widgetLocales-BX7VRdl5.js";
3
3
  import { t as se } from "../monthView-N8yDaTqZ.js";
4
4
  import { a as ce, c as le, d as ue, f as de, i as fe, l as pe, n as me, o as y, r as he, s as ge, t as _e, u as ve } from "../widgetFeatures-BM6u0u74.js";
@@ -1166,6 +1166,7 @@ var hr = "--tcw-fab-plot-left", gr = class {
1166
1166
  flyoutIdx = -1;
1167
1167
  flyoutHideTimer = null;
1168
1168
  flyoutSwitchTimer = null;
1169
+ flyoutSwitchOpen = null;
1169
1170
  flyoutByKey = !1;
1170
1171
  hostEl = null;
1171
1172
  favoritesEl = null;
@@ -1369,12 +1370,12 @@ var hr = "--tcw-fab-plot-left", gr = class {
1369
1370
  t();
1370
1371
  return;
1371
1372
  }
1372
- this.flyoutSwitchTimer = setTimeout(() => {
1373
- this.flyoutSwitchTimer = null, t();
1373
+ this.flyoutSwitchOpen = t, this.flyoutSwitchTimer = setTimeout(() => {
1374
+ this.flyoutSwitchTimer = null, this.flyoutSwitchOpen = null, t();
1374
1375
  }, ur);
1375
1376
  }
1376
1377
  cancelFlyoutSwitch() {
1377
- this.flyoutSwitchTimer !== null && (clearTimeout(this.flyoutSwitchTimer), this.flyoutSwitchTimer = null);
1378
+ this.flyoutSwitchTimer !== null && (clearTimeout(this.flyoutSwitchTimer), this.flyoutSwitchTimer = null, this.flyoutSwitchOpen = null);
1378
1379
  }
1379
1380
  openFlyout(e, t) {
1380
1381
  e.addEventListener("mouseenter", () => {
@@ -1473,7 +1474,9 @@ var hr = "--tcw-fab-plot-left", gr = class {
1473
1474
  }
1474
1475
  scheduleHideFlyout() {
1475
1476
  this.cancelHideFlyout(), this.flyoutHideTimer = setTimeout(() => {
1476
- this.flyoutHideTimer = null, this.hideFlyout();
1477
+ this.flyoutHideTimer = null;
1478
+ let e = this.flyoutSwitchOpen;
1479
+ this.hideFlyout(), e?.();
1477
1480
  }, lr);
1478
1481
  }
1479
1482
  cancelHideFlyout() {