bkui-vue 0.0.2-beta.42 → 0.0.2-beta.43

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
@@ -16385,20 +16385,22 @@ const ac = (e, t) => ({
16385
16385
  return;
16386
16386
  r = !0, document.body.style.setProperty("cursor", "col-resize"), d = T, u = L.clientX;
16387
16387
  const J = L.target.closest("table");
16388
- c = u - J.getBoundingClientRect().left, L.target.closest("th").classList.remove("col-resize-hover"), document.addEventListener("mouseup", m), document.addEventListener("mousemove", y);
16388
+ c = u - J.getBoundingClientRect().left, document.addEventListener("mouseup", m), document.addEventListener("mousemove", y);
16389
16389
  },
16390
16390
  [i.MOUSE_MOVE]: (L, T) => {
16391
16391
  r && !o && (o = !0);
16392
16392
  const N = L.target.closest("th");
16393
16393
  if (o && (N.style.setProperty("user-select", "none"), N.classList.remove("col-resize-hover")), !o) {
16394
- if (!N)
16394
+ if (!N) {
16395
+ N.classList.remove("col-resize-hover");
16395
16396
  return;
16397
+ }
16396
16398
  const J = N.getBoundingClientRect();
16397
16399
  J.width > 12 && J.right - L.pageX < 8 ? (s = !0, b(N, "col-resize"), N.classList.add("col-resize-hover")) : (b(N, ""), N.classList.remove("col-resize-hover"), s = !1);
16398
16400
  }
16399
16401
  },
16400
16402
  [i.MOUSE_OUT]: (L, T) => {
16401
- const N = L.target;
16403
+ const N = L.target.closest("th");
16402
16404
  o || (b(N, ""), N.classList.remove("col-resize-hover"));
16403
16405
  }
16404
16406
  }, x = (L) => `${n}_${L}`, w = () => {