smarter-charts 2.2.0 → 2.2.1
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.
|
@@ -20889,8 +20889,8 @@ var AI = class {
|
|
|
20889
20889
|
}), i = /* @__PURE__ */ N(!1), a = /* @__PURE__ */ N(!1), o = /* @__PURE__ */ N(null), s = /* @__PURE__ */ N(null), c = /* @__PURE__ */ N(null), l = /* @__PURE__ */ N(window.innerWidth < 500), u = new ResizeObserver(([e]) => {
|
|
20890
20890
|
l.value = e.contentRect.width < 500;
|
|
20891
20891
|
});
|
|
20892
|
-
|
|
20893
|
-
t && u.unobserve(t), e && (await
|
|
20892
|
+
Wr(c, async (e, t) => {
|
|
20893
|
+
t && u.unobserve(t), e && (await Jn(), u.observe(e));
|
|
20894
20894
|
}), Oi(() => {
|
|
20895
20895
|
u?.disconnect();
|
|
20896
20896
|
});
|