abl-ui 0.4.41 → 0.4.42

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/lib/abl-ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as r, createElementBlock as u, normalizeStyle as E, renderSlot as R, createElementVNode as c, normalizeClass as A, createTextVNode as Q, toDisplayString as W, createCommentVNode as I, createStaticVNode as At, Fragment as K, renderList as ae, createVNode as re, useSlots as Ke, ref as _, provide as xe, onMounted as Ne, watch as oe, withDirectives as Z, vShow as te, defineComponent as Lt, toRefs as Te, computed as F, inject as Ve, reactive as Ie, unref as ie, createBlock as se, TransitionGroup as nl, withCtx as ne, resolveDynamicComponent as rt, pushScopeId as ge, popScopeId as ye, createApp as ol, getCurrentInstance as Ge, onBeforeUnmount as Je, onUpdated as ct, onBeforeMount as zt, Teleport as Ze, Transition as me, withModifiers as J, watchEffect as ut, nextTick as _e, mergeProps as we, useAttrs as sl, createSlots as il, vModelDynamic as rl, resolveComponent as cl, normalizeProps as gt, withKeys as It, vModelText as Rt, toRaw as yt, onUnmounted as ul } from "vue";
1
+ import { openBlock as r, createElementBlock as u, normalizeStyle as E, renderSlot as R, createElementVNode as c, normalizeClass as A, createTextVNode as Q, toDisplayString as W, createCommentVNode as I, createStaticVNode as At, Fragment as K, renderList as ae, createVNode as re, useSlots as Ke, ref as _, provide as we, onMounted as Ne, watch as oe, withDirectives as Z, vShow as te, defineComponent as Lt, toRefs as Te, computed as F, inject as Se, reactive as ze, unref as ie, createBlock as se, TransitionGroup as nl, withCtx as ne, resolveDynamicComponent as rt, pushScopeId as ge, popScopeId as ye, createApp as ol, getCurrentInstance as Ge, onBeforeUnmount as Je, onUpdated as ct, onBeforeMount as zt, Teleport as Ze, Transition as me, withModifiers as J, watchEffect as ut, nextTick as Ie, mergeProps as _e, useAttrs as sl, createSlots as il, vModelDynamic as rl, resolveComponent as cl, normalizeProps as gt, withKeys as It, vModelText as Rt, toRaw as yt, onUnmounted as ul } from "vue";
2
2
  const ee = (e, a) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [l, n] of a)
@@ -194,7 +194,7 @@ const Vl = { class: "abl-tabs" }, Bl = {
194
194
  afterIcon: B
195
195
  });
196
196
  }));
197
- }), xe("active", f);
197
+ }), we("active", f);
198
198
  const y = (g, V) => {
199
199
  var L;
200
200
  const M = (L = g == null ? void 0 : g.target) == null ? void 0 : L.offsetLeft;
@@ -387,7 +387,7 @@ const Ol = {
387
387
  },
388
388
  emits: ["update:modelValue", "change"],
389
389
  setup(e, { emit: a }) {
390
- const t = e, l = a, n = Ve("radioGroupKey", void 0), i = F(() => !!n), o = F(
390
+ const t = e, l = a, n = Se("radioGroupKey", void 0), i = F(() => !!n), o = F(
391
391
  () => i.value ? n.modelValue : t.modelValue
392
392
  ), s = F(
393
393
  () => t.disabled ? t.disabled : n == null ? void 0 : n.disabled
@@ -438,9 +438,9 @@ const Ol = {
438
438
  const t = e, l = a, n = (i) => {
439
439
  l("update:modelValue", i), l("change", i);
440
440
  };
441
- return xe(
441
+ return we(
442
442
  "radioGroupKey",
443
- Ie({
443
+ ze({
444
444
  ...Te(t),
445
445
  changeEvent: n
446
446
  })
@@ -465,7 +465,7 @@ const Ol = {
465
465
  }
466
466
  },
467
467
  setup(e, { expose: a }) {
468
- const t = Ve("active");
468
+ const t = Se("active");
469
469
  return a({
470
470
  updataIndex: (n) => {
471
471
  t.value = n;
@@ -690,17 +690,17 @@ const De = (e) => (ge("data-v-f057dbba"), e = e(), ye(), e), Hl = ["onMouseenter
690
690
  }
691
691
  }, sa = /* @__PURE__ */ ee(oa, [["__scopeId", "data-v-f057dbba"]]);
692
692
  let je;
693
- function Ce() {
693
+ function ke() {
694
694
  return je || (je = ol(sa).mount(document.createElement("div")), document.body.appendChild(je.$el)), je;
695
695
  }
696
696
  const Nt = {
697
- open: (e) => Ce().open(e),
698
- info: (e) => Ce().info(e),
699
- success: (e) => Ce().success(e),
700
- error: (e) => Ce().error(e),
701
- warning: (e) => Ce().warning(e),
702
- loading: (e) => Ce().loading(e),
703
- close: (e) => Ce().close(e)
697
+ open: (e) => ke().open(e),
698
+ info: (e) => ke().info(e),
699
+ success: (e) => ke().success(e),
700
+ error: (e) => ke().error(e),
701
+ warning: (e) => ke().warning(e),
702
+ loading: (e) => ke().loading(e),
703
+ close: (e) => ke().close(e)
704
704
  };
705
705
  const ia = (e) => (ge("data-v-529bffb9"), e = e(), ye(), e), ra = { class: "abl-drawer-content" }, ca = { class: "abl-drawer-wrapper-body" }, ua = {
706
706
  key: 0,
@@ -976,7 +976,7 @@ const xa = {
976
976
  },
977
977
  emits: ["update:modelValue", "change"],
978
978
  setup(e, { emit: a }) {
979
- const t = e, l = a, n = Ve("checkboxGroupKey", void 0), i = F(() => !!n), o = F(
979
+ const t = e, l = a, n = Se("checkboxGroupKey", void 0), i = F(() => !!n), o = F(
980
980
  () => i.value ? d.value.indexOf(t.value) > -1 && !t.indeterminate : d.value && !t.indeterminate || t.checked
981
981
  ), s = F(() => t.disabled || (n == null ? void 0 : n.disabled)), d = F(
982
982
  () => i.value ? n.modelValue : t.modelValue
@@ -1036,9 +1036,9 @@ const xa = {
1036
1036
  const t = e, l = a, n = (i) => {
1037
1037
  l("update:modelValue", i), l("change", i);
1038
1038
  };
1039
- return xe(
1039
+ return we(
1040
1040
  "checkboxGroupKey",
1041
- Ie({
1041
+ ze({
1042
1042
  ...Te(t),
1043
1043
  changeEvent: n
1044
1044
  })
@@ -1170,7 +1170,7 @@ const Ca = { class: "abl-dialog__header" }, Sa = { class: "abl-dialog__title" },
1170
1170
  })
1171
1171
  ]));
1172
1172
  }
1173
- }), Re = Math.min, Se = Math.max, qe = Math.round, Ue = Math.floor, $e = (e) => ({
1173
+ }), Re = Math.min, Ce = Math.max, qe = Math.round, Ue = Math.floor, xe = (e) => ({
1174
1174
  x: e,
1175
1175
  y: e
1176
1176
  }), La = {
@@ -1183,12 +1183,12 @@ const Ca = { class: "abl-dialog__header" }, Sa = { class: "abl-dialog__title" },
1183
1183
  end: "start"
1184
1184
  };
1185
1185
  function ot(e, a, t) {
1186
- return Se(e, Re(a, t));
1186
+ return Ce(e, Re(a, t));
1187
1187
  }
1188
1188
  function Fe(e, a) {
1189
1189
  return typeof e == "function" ? e(a) : e;
1190
1190
  }
1191
- function Be(e) {
1191
+ function Ve(e) {
1192
1192
  return e.split("-")[0];
1193
1193
  }
1194
1194
  function He(e) {
@@ -1201,7 +1201,7 @@ function dt(e) {
1201
1201
  return e === "y" ? "height" : "width";
1202
1202
  }
1203
1203
  function Qe(e) {
1204
- return ["top", "bottom"].includes(Be(e)) ? "y" : "x";
1204
+ return ["top", "bottom"].includes(Ve(e)) ? "y" : "x";
1205
1205
  }
1206
1206
  function ft(e) {
1207
1207
  return Pt(Qe(e));
@@ -1234,7 +1234,7 @@ function Ma(e, a, t) {
1234
1234
  }
1235
1235
  function Na(e, a, t, l) {
1236
1236
  const n = He(e);
1237
- let i = Ma(Be(e), t === "start", l);
1237
+ let i = Ma(Ve(e), t === "start", l);
1238
1238
  return n && (i = i.map((o) => o + "-" + n), a && (i = i.concat(i.map(st)))), i;
1239
1239
  }
1240
1240
  function Xe(e) {
@@ -1271,7 +1271,7 @@ function _t(e, a, t) {
1271
1271
  reference: l,
1272
1272
  floating: n
1273
1273
  } = e;
1274
- const i = Qe(a), o = ft(a), s = dt(o), d = Be(a), f = i === "y", h = l.x + l.width / 2 - n.width / 2, v = l.y + l.height / 2 - n.height / 2, p = l[s] / 2 - n[s] / 2;
1274
+ const i = Qe(a), o = ft(a), s = dt(o), d = Ve(a), f = i === "y", h = l.x + l.width / 2 - n.width / 2, v = l.y + l.height / 2 - n.height / 2, p = l[s] / 2 - n[s] / 2;
1275
1275
  let y;
1276
1276
  switch (d) {
1277
1277
  case "top":
@@ -1480,7 +1480,7 @@ const Pa = (e) => ({
1480
1480
  } = Fe(e, a);
1481
1481
  if ((t = i.arrow) != null && t.alignmentOffset)
1482
1482
  return {};
1483
- const b = Be(n), g = Be(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), M = p || (g || !w ? [Xe(s)] : Ra(s));
1483
+ const b = Ve(n), g = Ve(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), M = p || (g || !w ? [Xe(s)] : Ra(s));
1484
1484
  !p && m !== "none" && M.push(...Na(s, w, m, V));
1485
1485
  const L = [s, ...M], O = await Dt(a, k), $ = [];
1486
1486
  let B = ((l = i.flip) == null ? void 0 : l.overflows) || [];
@@ -1533,7 +1533,7 @@ async function Da(e, a) {
1533
1533
  placement: t,
1534
1534
  platform: l,
1535
1535
  elements: n
1536
- } = e, i = await (l.isRTL == null ? void 0 : l.isRTL(n.floating)), o = Be(t), s = He(t), d = Qe(t) === "y", f = ["left", "top"].includes(o) ? -1 : 1, h = i && d ? -1 : 1, v = Fe(a, e);
1536
+ } = e, i = await (l.isRTL == null ? void 0 : l.isRTL(n.floating)), o = Ve(t), s = He(t), d = Qe(t) === "y", f = ["left", "top"].includes(o) ? -1 : 1, h = i && d ? -1 : 1, v = Fe(a, e);
1537
1537
  let {
1538
1538
  mainAxis: p,
1539
1539
  crossAxis: y,
@@ -1606,7 +1606,7 @@ const Fa = function(e) {
1606
1606
  } = Fe(e, a), f = {
1607
1607
  x: t,
1608
1608
  y: l
1609
- }, h = await Dt(a, d), v = Qe(Be(n)), p = Pt(v);
1609
+ }, h = await Dt(a, d), v = Qe(Ve(n)), p = Pt(v);
1610
1610
  let y = f[p], m = f[v];
1611
1611
  if (i) {
1612
1612
  const k = p === "y" ? "top" : "left", b = p === "y" ? "bottom" : "right", g = y + h[k], V = y - h[b];
@@ -1631,7 +1631,7 @@ const Fa = function(e) {
1631
1631
  }
1632
1632
  };
1633
1633
  };
1634
- function ke(e) {
1634
+ function $e(e) {
1635
1635
  return Ft(e) ? (e.nodeName || "").toLowerCase() : "#document";
1636
1636
  }
1637
1637
  function ue(e) {
@@ -1664,7 +1664,7 @@ function We(e) {
1664
1664
  return /auto|scroll|overlay|hidden|clip/.test(a + l + t) && !["inline", "contents"].includes(n);
1665
1665
  }
1666
1666
  function Wa(e) {
1667
- return ["table", "td", "th"].includes(ke(e));
1667
+ return ["table", "td", "th"].includes($e(e));
1668
1668
  }
1669
1669
  function pt(e) {
1670
1670
  const a = vt(), t = fe(e);
@@ -1683,7 +1683,7 @@ function vt() {
1683
1683
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1684
1684
  }
1685
1685
  function et(e) {
1686
- return ["html", "body", "#document"].includes(ke(e));
1686
+ return ["html", "body", "#document"].includes($e(e));
1687
1687
  }
1688
1688
  function fe(e) {
1689
1689
  return ue(e).getComputedStyle(e);
@@ -1698,7 +1698,7 @@ function tt(e) {
1698
1698
  };
1699
1699
  }
1700
1700
  function Me(e) {
1701
- if (ke(e) === "html")
1701
+ if ($e(e) === "html")
1702
1702
  return e;
1703
1703
  const a = (
1704
1704
  // Step into the shadow DOM of the parent of a slotted node.
@@ -1732,10 +1732,10 @@ function Wt(e) {
1732
1732
  function mt(e) {
1733
1733
  return he(e) ? e : e.contextElement;
1734
1734
  }
1735
- function ze(e) {
1735
+ function Le(e) {
1736
1736
  const a = mt(e);
1737
1737
  if (!ve(a))
1738
- return $e(1);
1738
+ return xe(1);
1739
1739
  const t = a.getBoundingClientRect(), {
1740
1740
  width: l,
1741
1741
  height: n,
@@ -1747,7 +1747,7 @@ function ze(e) {
1747
1747
  y: s
1748
1748
  };
1749
1749
  }
1750
- const Ua = /* @__PURE__ */ $e(0);
1750
+ const Ua = /* @__PURE__ */ xe(0);
1751
1751
  function jt(e) {
1752
1752
  const a = ue(e);
1753
1753
  return !vt() || !a.visualViewport ? Ua : {
@@ -1758,18 +1758,18 @@ function jt(e) {
1758
1758
  function qa(e, a, t) {
1759
1759
  return a === void 0 && (a = !1), !t || a && t !== ue(e) ? !1 : a;
1760
1760
  }
1761
- function Ae(e, a, t, l) {
1761
+ function Be(e, a, t, l) {
1762
1762
  a === void 0 && (a = !1), t === void 0 && (t = !1);
1763
1763
  const n = e.getBoundingClientRect(), i = mt(e);
1764
- let o = $e(1);
1765
- a && (l ? he(l) && (o = ze(l)) : o = ze(e));
1766
- const s = qa(i, t, l) ? jt(i) : $e(0);
1764
+ let o = xe(1);
1765
+ a && (l ? he(l) && (o = Le(l)) : o = Le(e));
1766
+ const s = qa(i, t, l) ? jt(i) : xe(0);
1767
1767
  let d = (n.left + s.x) / o.x, f = (n.top + s.y) / o.y, h = n.width / o.x, v = n.height / o.y;
1768
1768
  if (i) {
1769
1769
  const p = ue(i), y = l && he(l) ? ue(l) : l;
1770
1770
  let m = p, w = m.frameElement;
1771
1771
  for (; w && l && y !== m; ) {
1772
- const k = ze(w), b = w.getBoundingClientRect(), g = fe(w), V = b.left + (w.clientLeft + parseFloat(g.paddingLeft)) * k.x, M = b.top + (w.clientTop + parseFloat(g.paddingTop)) * k.y;
1772
+ const k = Le(w), b = w.getBoundingClientRect(), g = fe(w), V = b.left + (w.clientLeft + parseFloat(g.paddingLeft)) * k.x, M = b.top + (w.clientTop + parseFloat(g.paddingTop)) * k.y;
1773
1773
  d *= k.x, f *= k.y, h *= k.x, v *= k.y, d += V, f += M, m = ue(w), w = m.frameElement;
1774
1774
  }
1775
1775
  }
@@ -1803,11 +1803,11 @@ function Ya(e) {
1803
1803
  let d = {
1804
1804
  scrollLeft: 0,
1805
1805
  scrollTop: 0
1806
- }, f = $e(1);
1807
- const h = $e(0), v = ve(l);
1808
- if ((v || !v && !i) && ((ke(l) !== "body" || We(o)) && (d = tt(l)), ve(l))) {
1809
- const p = Ae(l);
1810
- f = ze(l), h.x = p.x + l.clientLeft, h.y = p.y + l.clientTop;
1806
+ }, f = xe(1);
1807
+ const h = xe(0), v = ve(l);
1808
+ if ((v || !v && !i) && (($e(l) !== "body" || We(o)) && (d = tt(l)), ve(l))) {
1809
+ const p = Be(l);
1810
+ f = Le(l), h.x = p.x + l.clientLeft, h.y = p.y + l.clientTop;
1811
1811
  }
1812
1812
  return {
1813
1813
  width: t.width * f.x,
@@ -1820,13 +1820,13 @@ function Ka(e) {
1820
1820
  return Array.from(e.getClientRects());
1821
1821
  }
1822
1822
  function qt(e) {
1823
- return Ae(be(e)).left + tt(e).scrollLeft;
1823
+ return Be(be(e)).left + tt(e).scrollLeft;
1824
1824
  }
1825
1825
  function Ga(e) {
1826
- const a = be(e), t = tt(e), l = e.ownerDocument.body, n = Se(a.scrollWidth, a.clientWidth, l.scrollWidth, l.clientWidth), i = Se(a.scrollHeight, a.clientHeight, l.scrollHeight, l.clientHeight);
1826
+ const a = be(e), t = tt(e), l = e.ownerDocument.body, n = Ce(a.scrollWidth, a.clientWidth, l.scrollWidth, l.clientWidth), i = Ce(a.scrollHeight, a.clientHeight, l.scrollHeight, l.clientHeight);
1827
1827
  let o = -t.scrollLeft + qt(e);
1828
1828
  const s = -t.scrollTop;
1829
- return fe(l).direction === "rtl" && (o += Se(a.clientWidth, l.clientWidth) - n), {
1829
+ return fe(l).direction === "rtl" && (o += Ce(a.clientWidth, l.clientWidth) - n), {
1830
1830
  width: n,
1831
1831
  height: i,
1832
1832
  x: o,
@@ -1849,7 +1849,7 @@ function Ja(e, a) {
1849
1849
  };
1850
1850
  }
1851
1851
  function Za(e, a) {
1852
- const t = Ae(e, !0, a === "fixed"), l = t.top + e.clientTop, n = t.left + e.clientLeft, i = ve(e) ? ze(e) : $e(1), o = e.clientWidth * i.x, s = e.clientHeight * i.y, d = n * i.x, f = l * i.y;
1852
+ const t = Be(e, !0, a === "fixed"), l = t.top + e.clientTop, n = t.left + e.clientLeft, i = ve(e) ? Le(e) : xe(1), o = e.clientWidth * i.x, s = e.clientHeight * i.y, d = n * i.x, f = l * i.y;
1853
1853
  return {
1854
1854
  width: o,
1855
1855
  height: s,
@@ -1883,7 +1883,7 @@ function Qa(e, a) {
1883
1883
  const t = a.get(e);
1884
1884
  if (t)
1885
1885
  return t;
1886
- let l = Pe(e, [], !1).filter((s) => he(s) && ke(s) !== "body"), n = null;
1886
+ let l = Pe(e, [], !1).filter((s) => he(s) && $e(s) !== "body"), n = null;
1887
1887
  const i = fe(e).position === "fixed";
1888
1888
  let o = i ? Me(e) : e;
1889
1889
  for (; he(o) && !et(o); ) {
@@ -1901,7 +1901,7 @@ function en(e) {
1901
1901
  } = e;
1902
1902
  const o = [...t === "clippingAncestors" ? Qa(a, this._c) : [].concat(t), l], s = o[0], d = o.reduce((f, h) => {
1903
1903
  const v = xt(a, h, n);
1904
- return f.top = Se(v.top, f.top), f.right = Re(v.right, f.right), f.bottom = Re(v.bottom, f.bottom), f.left = Se(v.left, f.left), f;
1904
+ return f.top = Ce(v.top, f.top), f.right = Re(v.right, f.right), f.bottom = Re(v.bottom, f.bottom), f.left = Ce(v.left, f.left), f;
1905
1905
  }, xt(a, s, n));
1906
1906
  return {
1907
1907
  width: d.right - d.left,
@@ -1921,15 +1921,15 @@ function tn(e) {
1921
1921
  };
1922
1922
  }
1923
1923
  function ln(e, a, t) {
1924
- const l = ve(a), n = be(a), i = t === "fixed", o = Ae(e, !0, i, a);
1924
+ const l = ve(a), n = be(a), i = t === "fixed", o = Be(e, !0, i, a);
1925
1925
  let s = {
1926
1926
  scrollLeft: 0,
1927
1927
  scrollTop: 0
1928
1928
  };
1929
- const d = $e(0);
1929
+ const d = xe(0);
1930
1930
  if (l || !l && !i)
1931
- if ((ke(a) !== "body" || We(n)) && (s = tt(a)), l) {
1932
- const v = Ae(a, !0, i, a);
1931
+ if (($e(a) !== "body" || We(n)) && (s = tt(a)), l) {
1932
+ const v = Be(a, !0, i, a);
1933
1933
  d.x = v.x + a.clientLeft, d.y = v.y + a.clientTop;
1934
1934
  } else
1935
1935
  n && (d.x = qt(n));
@@ -1951,7 +1951,7 @@ function Yt(e, a) {
1951
1951
  let l = $t(e, a);
1952
1952
  for (; l && Wa(l) && fe(l).position === "static"; )
1953
1953
  l = $t(l, a);
1954
- return l && (ke(l) === "html" || ke(l) === "body" && fe(l).position === "static" && !pt(l)) ? t : l || ja(e) || t;
1954
+ return l && ($e(l) === "html" || $e(l) === "body" && fe(l).position === "static" && !pt(l)) ? t : l || ja(e) || t;
1955
1955
  }
1956
1956
  const an = async function(e) {
1957
1957
  const a = this.getOffsetParent || Yt, t = this.getDimensions;
@@ -1975,7 +1975,7 @@ const on = {
1975
1975
  getElementRects: an,
1976
1976
  getClientRects: Ka,
1977
1977
  getDimensions: tn,
1978
- getScale: ze,
1978
+ getScale: Le,
1979
1979
  isElement: he,
1980
1980
  isRTL: nn
1981
1981
  };
@@ -1998,7 +1998,7 @@ function sn(e, a) {
1998
1998
  return;
1999
1999
  const y = Ue(h), m = Ue(n.clientWidth - (f + v)), w = Ue(n.clientHeight - (h + p)), k = Ue(f), g = {
2000
2000
  rootMargin: -y + "px " + -m + "px " + -w + "px " + -k + "px",
2001
- threshold: Se(0, Re(1, d)) || 1
2001
+ threshold: Ce(0, Re(1, d)) || 1
2002
2002
  };
2003
2003
  let V = !0;
2004
2004
  function M(L) {
@@ -2048,10 +2048,10 @@ function rn(e, a, t, l) {
2048
2048
  (V = y) == null || V.observe(a);
2049
2049
  })), t();
2050
2050
  }), f && !d && y.observe(f), y.observe(a));
2051
- let m, w = d ? Ae(e) : null;
2051
+ let m, w = d ? Be(e) : null;
2052
2052
  d && k();
2053
2053
  function k() {
2054
- const b = Ae(e);
2054
+ const b = Be(e);
2055
2055
  w && (b.x !== w.x || b.y !== w.y || b.width !== w.width || b.height !== w.height) && t(), w = b, m = requestAnimationFrame(k);
2056
2056
  }
2057
2057
  return t(), () => {
@@ -2144,7 +2144,7 @@ const pn = ["data-side"], Kt = {
2144
2144
  }, M = () => {
2145
2145
  b.value = !0;
2146
2146
  }, L = () => b.value = !1, O = () => {
2147
- g.value && _e(() => {
2147
+ g.value && Ie(() => {
2148
2148
  g.value.addEventListener("click", B);
2149
2149
  const z = g.value.getBoundingClientRect();
2150
2150
  l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), d.value && (g.value.addEventListener("mouseover", M, { capture: !0 }), g.value.addEventListener("mouseout", L, { capture: !0 }));
@@ -2195,7 +2195,7 @@ const pn = ["data-side"], Kt = {
2195
2195
  async function U() {
2196
2196
  if (!(!g.value || !v.value))
2197
2197
  try {
2198
- await _e(), k = rn(g.value, v.value, H);
2198
+ await Ie(), k = rn(g.value, v.value, H);
2199
2199
  } catch (z) {
2200
2200
  console.error("Error updating position:", z);
2201
2201
  }
@@ -2206,7 +2206,7 @@ const pn = ["data-side"], Kt = {
2206
2206
  open: M,
2207
2207
  close: L
2208
2208
  }), (z, X) => (r(), u(K, null, [
2209
- (r(), se(rt(z.$slots.default), we({
2209
+ (r(), se(rt(z.$slots.default), _e({
2210
2210
  ref_key: "triggerElement",
2211
2211
  ref: h
2212
2212
  }, z.$attrs), null, 16)),
@@ -2282,9 +2282,7 @@ const pn = ["data-side"], Kt = {
2282
2282
  }
2283
2283
  },
2284
2284
  setup(e, { expose: a }) {
2285
- const t = e;
2286
- console.log(t.showArrow);
2287
- const i = {
2285
+ const t = e, i = {
2288
2286
  effect: {
2289
2287
  type: String,
2290
2288
  default: "dark"
@@ -2367,7 +2365,7 @@ const pn = ["data-side"], Kt = {
2367
2365
  update: h,
2368
2366
  open: v,
2369
2367
  close: p
2370
- }), (y, m) => (r(), se(Kt, we({
2368
+ }), (y, m) => (r(), se(Kt, _e({
2371
2369
  ref_key: "popperRef",
2372
2370
  ref: s,
2373
2371
  shouldStopPropagation: e.shouldStopPropagation
@@ -2569,13 +2567,13 @@ const Bn = {
2569
2567
  const t = e, l = _(0), n = () => (l.value++, l.value), i = a, o = (s) => {
2570
2568
  i("update:modelValue", s), i("change", s);
2571
2569
  };
2572
- return xe(
2570
+ return we(
2573
2571
  "CollapseKey",
2574
- Ie({
2572
+ ze({
2575
2573
  ...Te(t),
2576
2574
  changeEvent: o
2577
2575
  })
2578
- ), xe("getChildIndex", n), (s, d) => (r(), u("div", {
2576
+ ), we("getChildIndex", n), (s, d) => (r(), u("div", {
2579
2577
  class: "abl-collapse__wrap",
2580
2578
  style: E({ background: e.background })
2581
2579
  }, [
@@ -2628,9 +2626,9 @@ const Ln = { class: "abl-collapse__title" }, zn = { key: 0 }, In = { class: "ico
2628
2626
  },
2629
2627
  emits: ["change"],
2630
2628
  setup(e, { emit: a }) {
2631
- const t = _(), l = e, n = Ve("getChildIndex"), i = n == null ? void 0 : n();
2629
+ const t = _(), l = e, n = Se("getChildIndex"), i = n == null ? void 0 : n();
2632
2630
  _(null);
2633
- const o = Ve("CollapseKey", void 0), s = F(() => o.modelValue), d = F(() => o.iconType), f = F(() => Array.isArray(s.value) ? s.value.includes(l.name) : s.value === l.name), h = _(f.value ? "auto" : "0px"), v = () => {
2631
+ const o = Se("CollapseKey", void 0), s = F(() => o.modelValue), d = F(() => o.iconType), f = F(() => Array.isArray(s.value) ? s.value.includes(l.name) : s.value === l.name), h = _(f.value ? "auto" : "0px"), v = () => {
2634
2632
  if (f.value)
2635
2633
  if (Array.isArray(s.value)) {
2636
2634
  const m = s.value.filter((w) => w !== l.name);
@@ -3213,14 +3211,14 @@ const bo = { class: "abl-image-wrap" }, _o = ["src"], wo = ["src"], el = {
3213
3211
  style: E(`width: ${e.width}`),
3214
3212
  onClick: s
3215
3213
  }, [
3216
- t.lazy ? (r(), u("img", we({
3214
+ t.lazy ? (r(), u("img", _e({
3217
3215
  key: 0,
3218
3216
  onLoad: o,
3219
3217
  ref_key: "imgRef",
3220
3218
  ref: i,
3221
3219
  loading: "lazy",
3222
3220
  decoding: "async"
3223
- }, f, { src: e.src }), null, 16, _o)) : (r(), u("img", we({
3221
+ }, f, { src: e.src }), null, 16, _o)) : (r(), u("img", _e({
3224
3222
  key: 1,
3225
3223
  onLoad: o,
3226
3224
  ref_key: "imgRef",
@@ -3485,14 +3483,14 @@ const zo = (e) => (ge("data-v-d037bfee"), e = e(), ye(), e), Io = ["onClick"], R
3485
3483
  $ > 0 && (h.value = $ - 1);
3486
3484
  }, g = () => {
3487
3485
  i.closeOnClickMask && k();
3488
- }, V = Ie({
3486
+ }, V = ze({
3489
3487
  ...Te(i),
3490
3488
  onClose: k,
3491
3489
  current: v
3492
3490
  }), M = Lo(() => {
3493
3491
  p.value && k();
3494
3492
  });
3495
- return xe(Oo, V), Ne(() => {
3493
+ return we(Oo, V), Ne(() => {
3496
3494
  b();
3497
3495
  }), (O, $) => (r(), u("div", {
3498
3496
  class: "abl-dropdown",
@@ -3615,7 +3613,7 @@ const Do = (e) => (ge("data-v-521e98aa"), e = e(), ye(), e), Fo = ["active"], Ho
3615
3613
  },
3616
3614
  emits: ["update:modelValue", "change"],
3617
3615
  setup(e, { emit: a }) {
3618
- const t = Ve(qo), l = _(!1);
3616
+ const t = Se(qo), l = _(!1);
3619
3617
  t != null && t.activeColor || _("#2979ff"), t != null && t.inactiveColor || _("#606266");
3620
3618
  const n = e, i = a, o = (s) => {
3621
3619
  t == null || t.onClose(), i("update:modelValue", s), i("change", s);
@@ -3772,7 +3770,7 @@ const Qo = {
3772
3770
  class: A(["iconfont-abl", e.suffixIcon])
3773
3771
  }, null, 2)) : I("", !0)
3774
3772
  ])) : I("", !0),
3775
- Z(c("input", we({
3773
+ Z(c("input", _e({
3776
3774
  ref_key: "inputRef",
3777
3775
  ref: i,
3778
3776
  "onUpdate:modelValue": g[0] || (g[0] = (V) => h.value = V),
@@ -4007,7 +4005,7 @@ const ht = (e) => (ge("data-v-5abddaa7"), e = e(), ye(), e), gs = { class: "abl-
4007
4005
  o.value[B].value = "";
4008
4006
  }
4009
4007
  }, k = a, b = function($, B) {
4010
- t.beforeUpload($) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[B] = !0, g($, B)), t.uploadMode === "custom" && (i.value[B] = !0, V($, B))) : _e(() => {
4008
+ t.beforeUpload($) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[B] = !0, g($, B)), t.uploadMode === "custom" && (i.value[B] = !0, V($, B))) : Ie(() => {
4011
4009
  O(t.errorInfo);
4012
4010
  });
4013
4011
  }, g = ($, B) => {
@@ -4244,7 +4242,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4244
4242
  setup(e, { emit: a }) {
4245
4243
  const t = Ge(), l = Ke(), n = F(() => !!(t != null && t.slots.ablname)), i = F(() => !!(t != null && t.slots.abloption)), o = e;
4246
4244
  let s = o != null && o.options ? o == null ? void 0 : o.options : [];
4247
- const d = a, f = Ie({
4245
+ const d = a, f = ze({
4248
4246
  effect: "light",
4249
4247
  pure: !0,
4250
4248
  trigger: "click",
@@ -4252,7 +4250,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4252
4250
  }), h = _(""), v = _(), p = _(null), y = _(""), m = _(), w = _(o.modelValue), k = _(!1), b = F(() => {
4253
4251
  var P;
4254
4252
  return { width: (((P = v.value) == null ? void 0 : P.getBoundingClientRect().width) || 0) + "px" };
4255
- }), g = Ie({
4253
+ }), g = ze({
4256
4254
  list: o == null ? void 0 : o.options
4257
4255
  }), V = _(!1), M = _(
4258
4256
  o.search && y.value === "focus" && V.value
@@ -4295,7 +4293,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4295
4293
  }
4296
4294
  };
4297
4295
  oe(B, () => {
4298
- _e(() => {
4296
+ Ie(() => {
4299
4297
  C();
4300
4298
  });
4301
4299
  }, {
@@ -4333,7 +4331,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4333
4331
  let Y = null;
4334
4332
  y.value = "blur", $.value[0] && $.value[0].value === N.value ? $.value.shift() : $.value[0] = N, Y = N.value, d("update:modelValue", Y), d("change", Y, yt($.value)), m.value.close();
4335
4333
  };
4336
- xe("handleSlotClick", j);
4334
+ we("handleSlotClick", j);
4337
4335
  const H = () => {
4338
4336
  var N;
4339
4337
  (N = p.value) == null || N.focus(), !M.value && y.value === "focus" && $.value.length > 0 && ($.value.pop(), d("change", yt($.value)));
@@ -4385,7 +4383,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4385
4383
  ref_key: "selectRef",
4386
4384
  ref: v
4387
4385
  }, [
4388
- re(Gt, we({
4386
+ re(Gt, _e({
4389
4387
  ref_key: "tooltip",
4390
4388
  ref: m,
4391
4389
  showArrow: e.showArrow,
@@ -4407,7 +4405,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4407
4405
  key: Y.name + Y.value,
4408
4406
  onClick: (S) => j(Y, S)
4409
4407
  }, [
4410
- i.value ? R(N.$slots, "abloption", gt(we({ key: 0 }, Y)), void 0, !0) : (r(), u(K, { key: 1 }, [
4408
+ i.value ? R(N.$slots, "abloption", gt(_e({ key: 0 }, Y)), void 0, !0) : (r(), u(K, { key: 1 }, [
4411
4409
  Y.iconColor ? (r(), u("div", {
4412
4410
  key: 0,
4413
4411
  class: "abl-options-item-icon",
@@ -4440,7 +4438,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4440
4438
  }, [
4441
4439
  Z(c("div", Ts, [
4442
4440
  c("span", null, [
4443
- n.value ? R(N.$slots, "ablname", gt(we({ key: 0 }, { name: h.value })), void 0, !0) : (r(), u("span", Ds, W(h.value), 1))
4441
+ n.value ? R(N.$slots, "ablname", gt(_e({ key: 0 }, { name: h.value })), void 0, !0) : (r(), u("span", Ds, W(h.value), 1))
4444
4442
  ])
4445
4443
  ], 512), [
4446
4444
  [te, $.value.length && !M.value]
@@ -4542,13 +4540,9 @@ const Ys = {
4542
4540
  ut(() => {
4543
4541
  l.value && (a.bordered ? n.value = Array.from(l.value.children).filter((p) => p.className === "abl-desc-item-bordered") : n.value = Array.from(l.value.children).filter((p) => p.className === "abl-desc-item"));
4544
4542
  }, { flush: "post" }), oe(n, (p) => {
4545
- s.value = [], _e(() => {
4546
- f(p, t.value);
4547
- });
4543
+ s.value = [], f(p, t.value);
4548
4544
  }), oe(t, (p) => {
4549
- s.value = [], _e(() => {
4550
- f(n.value, p);
4551
- });
4545
+ s.value = [], f(n.value, p);
4552
4546
  }), Ne(() => {
4553
4547
  }), ul(() => {
4554
4548
  });
@@ -4564,7 +4558,7 @@ const Ys = {
4564
4558
  };
4565
4559
  h(w) < y ? (b.span = Math.min(b.span, y - h(w)), k === m - 1 && (b.span = y - h(w)), w.push(b), k === m - 1 && s.value.push(w)) : (s.value.push(w), w = [b], k === m - 1 && (b.span = y, s.value.push(w)));
4566
4560
  }
4567
- a.bordered ? _e(() => {
4561
+ a.bordered ? Ie(() => {
4568
4562
  s.value.forEach((k, b) => {
4569
4563
  k.forEach((g) => {
4570
4564
  const V = Array.from(g.element.children), M = V[0].cloneNode(!0);
@@ -4573,7 +4567,7 @@ const Ys = {
4573
4567
  L.colSpan = g.span * 2 - 1, v(L, a.contentStyle), v(L, JSON.parse(g.element.dataset.contentStyle)), o.value[b].appendChild(M), o.value[b].appendChild(L);
4574
4568
  });
4575
4569
  });
4576
- }) : _e(() => {
4570
+ }) : Ie(() => {
4577
4571
  p.forEach((k, b) => {
4578
4572
  const g = Array.from(k.children), V = g[0];
4579
4573
  v(V, a.labelStyle), v(V, JSON.parse(k.dataset.labelStyle));
@@ -4641,7 +4635,7 @@ const Ys = {
4641
4635
  ], 2)
4642
4636
  ], 2));
4643
4637
  }
4644
- }, ti = /* @__PURE__ */ ee(ei, [["__scopeId", "data-v-3d8e7781"]]);
4638
+ }, ti = /* @__PURE__ */ ee(ei, [["__scopeId", "data-v-07b2bfda"]]);
4645
4639
  const li = ["data-span", "data-label-style", "data-content-style"], ai = { class: "abl-label" }, ni = { class: "abl-content" }, oi = ["data-span", "data-label-style", "data-content-style"], si = { class: "abl-label-th" }, ii = { class: "abl-content-td" }, ri = {
4646
4640
  __name: "DescriptionsItem",
4647
4641
  props: {
@@ -4868,8 +4862,8 @@ const al = (e) => (ge("data-v-d7965b94"), e = e(), ye(), e), pi = {
4868
4862
  const q = "abl-range-mark", { modelValue: D, max: G, min: de } = t;
4869
4863
  let ce = Number(de), pe = Number(G);
4870
4864
  if (t.range) {
4871
- const [Le, Oe] = D;
4872
- ce = Le, pe = Oe;
4865
+ const [Ae, Oe] = D;
4866
+ ce = Ae, pe = Oe;
4873
4867
  } else
4874
4868
  pe = D;
4875
4869
  let Ee = S <= +pe && S >= ce;
@@ -4889,8 +4883,8 @@ const al = (e) => (ge("data-v-d7965b94"), e = e(), ye(), e), pi = {
4889
4883
  const { modelValue: q, max: D, min: G } = t;
4890
4884
  let de = Number(G), ce = Number(D);
4891
4885
  if (t.range) {
4892
- const [Le, Oe] = q;
4893
- de = Le, ce = Oe;
4886
+ const [Ae, Oe] = q;
4887
+ de = Ae, ce = Oe;
4894
4888
  }
4895
4889
  return {
4896
4890
  background: S <= ce && S >= de ? t.activeColor : t.inactiveColor
@@ -4909,8 +4903,8 @@ const al = (e) => (ge("data-v-d7965b94"), e = e(), ye(), e), pi = {
4909
4903
  t.vertical && (de = S.clientY - G.top, ce = G.height);
4910
4904
  const pe = Number(q) + de / ce * v.value;
4911
4905
  if (V(D)) {
4912
- const [Ee, Le] = D, Oe = (Ee + Le) / 2;
4913
- pe <= Oe ? (n.value = 0, H([pe, Le], !0)) : (n.value = 1, H([Ee, pe], !0));
4906
+ const [Ee, Ae] = D, Oe = (Ee + Ae) / 2;
4907
+ pe <= Oe ? (n.value = 0, H([pe, Ae], !0)) : (n.value = 1, H([Ee, pe], !0));
4914
4908
  } else
4915
4909
  H(pe, !0);
4916
4910
  setTimeout(() => {
@@ -5271,7 +5265,7 @@ const Ti = { class: "abl-breadcrumb" }, Di = {
5271
5265
  }
5272
5266
  },
5273
5267
  setup(e) {
5274
- return xe("AblBreadcrumbKey", e), (t, l) => (r(), u("div", Ti, [
5268
+ return we("AblBreadcrumbKey", e), (t, l) => (r(), u("div", Ti, [
5275
5269
  R(t.$slots, "default", {}, void 0, !0)
5276
5270
  ]));
5277
5271
  }
@@ -5296,7 +5290,7 @@ const Hi = { class: "abl-breadcrumb__item" }, Wi = {
5296
5290
  }
5297
5291
  },
5298
5292
  setup(e) {
5299
- const a = Ve("AblBreadcrumbKey", void 0), t = e, l = () => {
5293
+ const a = Se("AblBreadcrumbKey", void 0), t = e, l = () => {
5300
5294
  if (!t.to)
5301
5295
  return;
5302
5296
  const n = typeof t.to == "object" ? t.to.path : t.to;