bkui-vue 0.0.1-beta.470 → 0.0.1-beta.471

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/index.esm.js CHANGED
@@ -26609,7 +26609,9 @@ const ES = /* @__PURE__ */ ve({
26609
26609
  })), O = Q(() => d.value ? typeof d.value == "boolean" ? 50 : d.value : 0), S = () => {
26610
26610
  const ce = I.value.getBoundingClientRect();
26611
26611
  y.value = w.value ? ce.width : ce.height;
26612
- }, j = new ResizeObserver(S), _ = () => {
26612
+ };
26613
+ let j = new ResizeObserver(S);
26614
+ const _ = () => {
26613
26615
  switch (T.value.style.visibility = "visible", n.value) {
26614
26616
  case "left":
26615
26617
  T.value.style.inset = `0 auto auto ${b.value.aside.width}px`;
@@ -26689,7 +26691,7 @@ const ES = /* @__PURE__ */ ve({
26689
26691
  return rt(() => {
26690
26692
  j.observe(I.value);
26691
26693
  }), St(() => {
26692
- j.unobserve(I.value);
26694
+ I.value && (j.unobserve(I.value), j = null);
26693
26695
  }), {
26694
26696
  collapsed: g,
26695
26697
  asideContentVisible: p,