abl-ui 0.4.50 → 0.4.52

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
@@ -175,9 +175,9 @@ const Vl = { class: "abl-tabs" }, Bl = {
175
175
  setup(e, { emit: a }) {
176
176
  var $;
177
177
  const t = a, l = Ye(), n = e, i = b({}), o = b(), s = b([]), d = b(), f = b(0), g = b(!1), v = b(!1), p = b(!0);
178
- ($ = l.default()) == null || $.map(({ props: h, children: V }) => {
179
- if (h) {
180
- const { title: I, value: L, icon: O, afterIcon: x } = h;
178
+ ($ = l.default()) == null || $.map(({ props: m, children: V }) => {
179
+ if (m) {
180
+ const { title: I, value: L, icon: O, afterIcon: x } = m;
181
181
  s.value.push({
182
182
  title: I,
183
183
  value: L,
@@ -195,22 +195,22 @@ const Vl = { class: "abl-tabs" }, Bl = {
195
195
  });
196
196
  }));
197
197
  }), we("active", f);
198
- const y = (h, V) => {
198
+ const y = (m, V) => {
199
199
  var L;
200
- const I = (L = h == null ? void 0 : h.target) == null ? void 0 : L.offsetLeft;
200
+ const I = (L = m == null ? void 0 : m.target) == null ? void 0 : L.offsetLeft;
201
201
  i.value = {
202
202
  transform: `translateX(${I}px)`,
203
- width: h.target.clientWidth + "px"
203
+ width: m.target.clientWidth + "px"
204
204
  }, f.value = V, t("update:modelValue", V), t("tabClick", V);
205
- }, m = () => {
206
- const h = document.querySelector("#tab-hidden");
207
- if (!h)
205
+ }, h = () => {
206
+ const m = document.querySelector("#tab-hidden");
207
+ if (!m)
208
208
  return;
209
209
  const V = document.querySelector("#tabs-header-wrap").clientWidth;
210
- (h == null ? void 0 : h.scrollWidth) > (h == null ? void 0 : h.clientWidth) + (h == null ? void 0 : h.scrollLeft) && (h.scrollLeft += V);
210
+ (m == null ? void 0 : m.scrollWidth) > (m == null ? void 0 : m.clientWidth) + (m == null ? void 0 : m.scrollLeft) && (m.scrollLeft += V);
211
211
  }, _ = () => {
212
- const h = document.querySelector("#tab-hidden"), V = document.querySelector("#tabs-header-wrap").clientWidth;
213
- h.scrollLeft > 0 && (h.scrollLeft -= V);
212
+ const m = document.querySelector("#tab-hidden"), V = document.querySelector("#tabs-header-wrap").clientWidth;
213
+ m.scrollLeft > 0 && (m.scrollLeft -= V);
214
214
  };
215
215
  Ne(() => {
216
216
  k();
@@ -218,11 +218,11 @@ const Vl = { class: "abl-tabs" }, Bl = {
218
218
  const k = () => {
219
219
  if (!o.value)
220
220
  return;
221
- let h = 0;
221
+ let m = 0;
222
222
  s.value.map((O, x) => {
223
- O.value == n.modelValue && (h = x);
223
+ O.value == n.modelValue && (m = x);
224
224
  });
225
- const V = o.value[h], I = V == null ? void 0 : V.offsetLeft;
225
+ const V = o.value[m], I = V == null ? void 0 : V.offsetLeft;
226
226
  i.value = {
227
227
  transform: `translateX(${I}px)`,
228
228
  width: V.clientWidth + "px"
@@ -237,7 +237,7 @@ const Vl = { class: "abl-tabs" }, Bl = {
237
237
  f.value = n.modelValue, k();
238
238
  }, {
239
239
  immediate: !0
240
- }), (h, V) => {
240
+ }), (m, V) => {
241
241
  var I;
242
242
  return r(), u("div", Vl, [
243
243
  c("div", Bl, [
@@ -285,7 +285,7 @@ const Vl = { class: "abl-tabs" }, Bl = {
285
285
  ]),
286
286
  Z(c("i", {
287
287
  class: A([p.value ? "" : "right-disable", "iconfont-abl icon-abl-youjiantou arrow"]),
288
- onClick: m
288
+ onClick: h
289
289
  }, null, 2), [
290
290
  [te, g.value]
291
291
  ])
@@ -295,7 +295,7 @@ const Vl = { class: "abl-tabs" }, Bl = {
295
295
  ref: d,
296
296
  class: "tab-content"
297
297
  }, [
298
- M(h.$slots, "default", {}, void 0, !0)
298
+ M(m.$slots, "default", {}, void 0, !0)
299
299
  ], 512)
300
300
  ]);
301
301
  };
@@ -590,7 +590,7 @@ const De = (e) => (he("data-v-f057dbba"), e = e(), ge(), e), Hl = ["onMouseenter
590
590
  function y(C) {
591
591
  _(C);
592
592
  }
593
- function m(C, w) {
593
+ function h(C, w) {
594
594
  s.value[w].onClick && s.value[w].onClick(), f("click", C);
595
595
  }
596
596
  function _(C) {
@@ -609,7 +609,7 @@ const De = (e) => (he("data-v-f057dbba"), e = e(), ge(), e), Hl = ["onMouseenter
609
609
  const C = s.value.length - 1, w = s.value[C];
610
610
  w.top !== void 0 ? g.value = typeof w.top == "number" ? `${w.top}px` : w.top : g.value = typeof l.top == "number" ? `${l.top}px` : l.top, i.value[C] = !0, w.duration !== null ? (d.value = w.duration || l.duration, _(C)) : d.value = null;
611
611
  }
612
- const h = (C, w) => {
612
+ const m = (C, w) => {
613
613
  let T;
614
614
  return typeof C == "string" ? T = {
615
615
  content: C,
@@ -622,27 +622,27 @@ const De = (e) => (he("data-v-f057dbba"), e = e(), ge(), e), Hl = ["onMouseenter
622
622
  }, T;
623
623
  };
624
624
  function V(C) {
625
- let w = h(C, "open");
625
+ let w = m(C, "open");
626
626
  return s.value.push(w), $(), w.id;
627
627
  }
628
628
  function I(C) {
629
- let w = h(C, "info");
629
+ let w = m(C, "info");
630
630
  return s.value.push(w), $(), w.id;
631
631
  }
632
632
  function L(C) {
633
- let w = h(C, "success");
633
+ let w = m(C, "success");
634
634
  return s.value.push(w), $(), w.id;
635
635
  }
636
636
  function O(C) {
637
- let w = h(C, "error");
637
+ let w = m(C, "error");
638
638
  return s.value.push(w), $(), w.id;
639
639
  }
640
640
  function x(C) {
641
- let w = h(C, "warning");
641
+ let w = m(C, "warning");
642
642
  return s.value.push(w), $(), w.id;
643
643
  }
644
644
  function B(C) {
645
- let w = h(C, "loading");
645
+ let w = m(C, "loading");
646
646
  return s.value.push(w), $(), w.id;
647
647
  }
648
648
  return a({
@@ -672,7 +672,7 @@ const De = (e) => (he("data-v-f057dbba"), e = e(), ge(), e), Hl = ["onMouseenter
672
672
  class: A(["message-content-wrap", `icon-${T.mode}`]),
673
673
  onMouseenter: (H) => p(j),
674
674
  onMouseleave: (H) => y(j),
675
- onClick: (H) => m(H, j)
675
+ onClick: (H) => h(H, j)
676
676
  }, [
677
677
  T.icon ? (r(), se(rt(T.icon), {
678
678
  key: 0,
@@ -1328,13 +1328,13 @@ const Oa = async (e, a, t) => {
1328
1328
  }), {
1329
1329
  x: g,
1330
1330
  y: v
1331
- } = _t(f, l, d), p = l, y = {}, m = 0;
1331
+ } = _t(f, l, d), p = l, y = {}, h = 0;
1332
1332
  for (let _ = 0; _ < s.length; _++) {
1333
1333
  const {
1334
1334
  name: k,
1335
1335
  fn: $
1336
1336
  } = s[_], {
1337
- x: h,
1337
+ x: m,
1338
1338
  y: V,
1339
1339
  data: I,
1340
1340
  reset: L
@@ -1352,13 +1352,13 @@ const Oa = async (e, a, t) => {
1352
1352
  floating: a
1353
1353
  }
1354
1354
  });
1355
- g = h ?? g, v = V ?? v, y = {
1355
+ g = m ?? g, v = V ?? v, y = {
1356
1356
  ...y,
1357
1357
  [k]: {
1358
1358
  ...y[k],
1359
1359
  ...I
1360
1360
  }
1361
- }, L && m <= 50 && (m++, typeof L == "object" && (L.placement && (p = L.placement), L.rects && (f = L.rects === !0 ? await o.getElementRects({
1361
+ }, L && h <= 50 && (h++, typeof L == "object" && (L.placement && (p = L.placement), L.rects && (f = L.rects === !0 ? await o.getElementRects({
1362
1362
  reference: e,
1363
1363
  floating: a,
1364
1364
  strategy: n
@@ -1391,12 +1391,12 @@ async function Dt(e, a) {
1391
1391
  elementContext: v = "floating",
1392
1392
  altBoundary: p = !1,
1393
1393
  padding: y = 0
1394
- } = Fe(a, e), m = Tt(y), k = s[p ? v === "floating" ? "reference" : "floating" : v], $ = Ke(await i.getClippingRect({
1394
+ } = Fe(a, e), h = Tt(y), k = s[p ? v === "floating" ? "reference" : "floating" : v], $ = Ke(await i.getClippingRect({
1395
1395
  element: (t = await (i.isElement == null ? void 0 : i.isElement(k))) == null || t ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
1396
1396
  boundary: f,
1397
1397
  rootBoundary: g,
1398
1398
  strategy: d
1399
- })), h = v === "floating" ? {
1399
+ })), m = v === "floating" ? {
1400
1400
  ...o.floating,
1401
1401
  x: l,
1402
1402
  y: n
@@ -1408,15 +1408,15 @@ async function Dt(e, a) {
1408
1408
  y: 1
1409
1409
  }, L = Ke(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1410
1410
  elements: s,
1411
- rect: h,
1411
+ rect: m,
1412
1412
  offsetParent: V,
1413
1413
  strategy: d
1414
- }) : h);
1414
+ }) : m);
1415
1415
  return {
1416
- top: ($.top - L.top + m.top) / I.y,
1417
- bottom: (L.bottom - $.bottom + m.bottom) / I.y,
1418
- left: ($.left - L.left + m.left) / I.x,
1419
- right: (L.right - $.right + m.right) / I.x
1416
+ top: ($.top - L.top + h.top) / I.y,
1417
+ bottom: (L.bottom - $.bottom + h.bottom) / I.y,
1418
+ left: ($.left - L.left + h.left) / I.x,
1419
+ right: (L.right - $.right + h.right) / I.x
1420
1420
  };
1421
1421
  }
1422
1422
  const Pa = (e) => ({
@@ -1440,10 +1440,10 @@ const Pa = (e) => ({
1440
1440
  const v = Tt(g), p = {
1441
1441
  x: t,
1442
1442
  y: l
1443
- }, y = ft(n), m = dt(y), _ = await o.getDimensions(f), k = y === "y", $ = k ? "top" : "left", h = k ? "bottom" : "right", V = k ? "clientHeight" : "clientWidth", I = i.reference[m] + i.reference[y] - p[y] - i.floating[m], L = p[y] - i.reference[y], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1443
+ }, y = ft(n), h = dt(y), _ = await o.getDimensions(f), k = y === "y", $ = k ? "top" : "left", m = k ? "bottom" : "right", V = k ? "clientHeight" : "clientWidth", I = i.reference[h] + i.reference[y] - p[y] - i.floating[h], L = p[y] - i.reference[y], O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1444
1444
  let x = O ? O[V] : 0;
1445
- (!x || !await (o.isElement == null ? void 0 : o.isElement(O))) && (x = s.floating[V] || i.floating[m]);
1446
- const B = I / 2 - L / 2, C = x / 2 - _[m] / 2 - 1, w = Re(v[$], C), T = Re(v[h], C), j = w, H = x - _[m] - T, U = x / 2 - _[m] / 2 + B, z = ot(j, U, H), X = !d.arrow && He(n) != null && U !== z && i.reference[m] / 2 - (U < j ? w : T) - _[m] / 2 < 0, N = X ? U < j ? U - j : U - H : 0;
1445
+ (!x || !await (o.isElement == null ? void 0 : o.isElement(O))) && (x = s.floating[V] || i.floating[h]);
1446
+ const B = I / 2 - L / 2, C = x / 2 - _[h] / 2 - 1, w = Re(v[$], C), T = Re(v[m], C), j = w, H = x - _[h] - T, U = x / 2 - _[h] / 2 + B, z = ot(j, U, H), X = !d.arrow && He(n) != null && U !== z && i.reference[h] / 2 - (U < j ? w : T) - _[h] / 2 < 0, N = X ? U < j ? U - j : U - H : 0;
1447
1447
  return {
1448
1448
  [y]: p[y] + N,
1449
1449
  data: {
@@ -1474,14 +1474,14 @@ const Pa = (e) => ({
1474
1474
  crossAxis: v = !0,
1475
1475
  fallbackPlacements: p,
1476
1476
  fallbackStrategy: y = "bestFit",
1477
- fallbackAxisSideDirection: m = "none",
1477
+ fallbackAxisSideDirection: h = "none",
1478
1478
  flipAlignment: _ = !0,
1479
1479
  ...k
1480
1480
  } = Fe(e, a);
1481
1481
  if ((t = i.arrow) != null && t.alignmentOffset)
1482
1482
  return {};
1483
- const $ = Be(n), h = Be(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), I = p || (h || !_ ? [Xe(s)] : Ra(s));
1484
- !p && m !== "none" && I.push(...Na(s, _, m, V));
1483
+ const $ = Be(n), m = Be(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), I = p || (m || !_ ? [Xe(s)] : Ra(s));
1484
+ !p && h !== "none" && I.push(...Na(s, _, h, V));
1485
1485
  const L = [s, ...I], O = await Dt(a, k), x = [];
1486
1486
  let B = ((l = i.flip) == null ? void 0 : l.overflows) || [];
1487
1487
  if (g && x.push(O[$]), v) {
@@ -1537,7 +1537,7 @@ async function Da(e, a) {
1537
1537
  let {
1538
1538
  mainAxis: p,
1539
1539
  crossAxis: y,
1540
- alignmentAxis: m
1540
+ alignmentAxis: h
1541
1541
  } = typeof v == "number" ? {
1542
1542
  mainAxis: v,
1543
1543
  crossAxis: 0,
@@ -1548,7 +1548,7 @@ async function Da(e, a) {
1548
1548
  alignmentAxis: null,
1549
1549
  ...v
1550
1550
  };
1551
- return s && typeof m == "number" && (y = s === "end" ? m * -1 : m), d ? {
1551
+ return s && typeof h == "number" && (y = s === "end" ? h * -1 : h), d ? {
1552
1552
  x: y * g,
1553
1553
  y: p * f
1554
1554
  } : {
@@ -1594,11 +1594,11 @@ const Fa = function(e) {
1594
1594
  fn: (k) => {
1595
1595
  let {
1596
1596
  x: $,
1597
- y: h
1597
+ y: m
1598
1598
  } = k;
1599
1599
  return {
1600
1600
  x: $,
1601
- y: h
1601
+ y: m
1602
1602
  };
1603
1603
  }
1604
1604
  },
@@ -1607,19 +1607,19 @@ const Fa = function(e) {
1607
1607
  x: t,
1608
1608
  y: l
1609
1609
  }, g = await Dt(a, d), v = Qe(Be(n)), p = Pt(v);
1610
- let y = f[p], m = f[v];
1610
+ let y = f[p], h = f[v];
1611
1611
  if (i) {
1612
- const k = p === "y" ? "top" : "left", $ = p === "y" ? "bottom" : "right", h = y + g[k], V = y - g[$];
1613
- y = ot(h, y, V);
1612
+ const k = p === "y" ? "top" : "left", $ = p === "y" ? "bottom" : "right", m = y + g[k], V = y - g[$];
1613
+ y = ot(m, y, V);
1614
1614
  }
1615
1615
  if (o) {
1616
- const k = v === "y" ? "top" : "left", $ = v === "y" ? "bottom" : "right", h = m + g[k], V = m - g[$];
1617
- m = ot(h, m, V);
1616
+ const k = v === "y" ? "top" : "left", $ = v === "y" ? "bottom" : "right", m = h + g[k], V = h - g[$];
1617
+ h = ot(m, h, V);
1618
1618
  }
1619
1619
  const _ = s.fn({
1620
1620
  ...a,
1621
1621
  [p]: y,
1622
- [v]: m
1622
+ [v]: h
1623
1623
  });
1624
1624
  return {
1625
1625
  ..._,
@@ -1767,10 +1767,10 @@ function Ae(e, a, t, l) {
1767
1767
  let d = (n.left + s.x) / o.x, f = (n.top + s.y) / o.y, g = n.width / o.x, v = n.height / o.y;
1768
1768
  if (i) {
1769
1769
  const p = ue(i), y = l && me(l) ? ue(l) : l;
1770
- let m = p, _ = m.frameElement;
1771
- for (; _ && l && y !== m; ) {
1772
- const k = ze(_), $ = _.getBoundingClientRect(), h = fe(_), V = $.left + (_.clientLeft + parseFloat(h.paddingLeft)) * k.x, I = $.top + (_.clientTop + parseFloat(h.paddingTop)) * k.y;
1773
- d *= k.x, f *= k.y, g *= k.x, v *= k.y, d += V, f += I, m = ue(_), _ = m.frameElement;
1770
+ let h = p, _ = h.frameElement;
1771
+ for (; _ && l && y !== h; ) {
1772
+ const k = ze(_), $ = _.getBoundingClientRect(), m = fe(_), V = $.left + (_.clientLeft + parseFloat(m.paddingLeft)) * k.x, I = $.top + (_.clientTop + parseFloat(m.paddingTop)) * k.y;
1773
+ d *= k.x, f *= k.y, g *= k.x, v *= k.y, d += V, f += I, h = ue(_), _ = h.frameElement;
1774
1774
  }
1775
1775
  }
1776
1776
  return Ke({
@@ -1996,8 +1996,8 @@ function sn(e, a) {
1996
1996
  } = e.getBoundingClientRect();
1997
1997
  if (s || a(), !v || !p)
1998
1998
  return;
1999
- const y = Ue(g), m = Ue(n.clientWidth - (f + v)), _ = Ue(n.clientHeight - (g + p)), k = Ue(f), h = {
2000
- rootMargin: -y + "px " + -m + "px " + -_ + "px " + -k + "px",
1999
+ const y = Ue(g), h = Ue(n.clientWidth - (f + v)), _ = Ue(n.clientHeight - (g + p)), k = Ue(f), m = {
2000
+ rootMargin: -y + "px " + -h + "px " + -_ + "px " + -k + "px",
2001
2001
  threshold: Se(0, Re(1, d)) || 1
2002
2002
  };
2003
2003
  let V = !0;
@@ -2014,12 +2014,12 @@ function sn(e, a) {
2014
2014
  }
2015
2015
  try {
2016
2016
  t = new IntersectionObserver(I, {
2017
- ...h,
2017
+ ...m,
2018
2018
  // Handle <iframe>s
2019
2019
  root: n.ownerDocument
2020
2020
  });
2021
2021
  } catch {
2022
- t = new IntersectionObserver(I, h);
2022
+ t = new IntersectionObserver(I, m);
2023
2023
  }
2024
2024
  t.observe(e);
2025
2025
  }
@@ -2042,23 +2042,23 @@ function rn(e, a, t, l) {
2042
2042
  const v = f && s ? sn(f, t) : null;
2043
2043
  let p = -1, y = null;
2044
2044
  o && (y = new ResizeObserver(($) => {
2045
- let [h] = $;
2046
- h && h.target === f && y && (y.unobserve(a), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
2045
+ let [m] = $;
2046
+ m && m.target === f && y && (y.unobserve(a), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
2047
2047
  var V;
2048
2048
  (V = y) == null || V.observe(a);
2049
2049
  })), t();
2050
2050
  }), f && !d && y.observe(f), y.observe(a));
2051
- let m, _ = d ? Ae(e) : null;
2051
+ let h, _ = d ? Ae(e) : null;
2052
2052
  d && k();
2053
2053
  function k() {
2054
2054
  const $ = Ae(e);
2055
- _ && ($.x !== _.x || $.y !== _.y || $.width !== _.width || $.height !== _.height) && t(), _ = $, m = requestAnimationFrame(k);
2055
+ _ && ($.x !== _.x || $.y !== _.y || $.width !== _.width || $.height !== _.height) && t(), _ = $, h = requestAnimationFrame(k);
2056
2056
  }
2057
2057
  return t(), () => {
2058
2058
  var $;
2059
- g.forEach((h) => {
2060
- n && h.removeEventListener("scroll", t), i && h.removeEventListener("resize", t);
2061
- }), v == null || v(), ($ = y) == null || $.disconnect(), y = null, d && cancelAnimationFrame(m);
2059
+ g.forEach((m) => {
2060
+ n && m.removeEventListener("scroll", t), i && m.removeEventListener("resize", t);
2061
+ }), v == null || v(), ($ = y) == null || $.disconnect(), y = null, d && cancelAnimationFrame(h);
2062
2062
  };
2063
2063
  }
2064
2064
  const cn = Ha, un = Ta, dn = Pa, fn = (e, a, t) => {
@@ -2131,26 +2131,26 @@ const pn = ["data-side"], Yt = {
2131
2131
  let z = l.showArrow ? 10 : 5;
2132
2132
  const X = [cn(), un(), Fa(z)];
2133
2133
  return l.showArrow && X.push(dn({ element: n.value })), X;
2134
- }), o = b(l.placement), s = b(l.strategy), d = b(l.hover), f = b("auto"), g = b(null), v = b(), p = b(), y = b(), m = b({}), _ = {
2134
+ }), o = b(l.placement), s = b(l.strategy), d = b(l.hover), f = b("auto"), g = b(null), v = b(), p = b(), y = b(), h = b({}), _ = {
2135
2135
  x: p,
2136
2136
  y,
2137
2137
  placement: o,
2138
2138
  strategy: s,
2139
- middlewareData: m
2139
+ middlewareData: h
2140
2140
  };
2141
2141
  let k = null;
2142
- const $ = b(!1), h = b(), V = (z) => {
2143
- h.value = z && z.nextElementSibling || null;
2142
+ const $ = b(!1), m = b(), V = (z) => {
2143
+ m.value = z && z.nextElementSibling || null;
2144
2144
  }, I = () => {
2145
2145
  $.value = !0;
2146
2146
  }, L = () => $.value = !1, O = () => {
2147
- h.value && be(() => {
2148
- h.value.addEventListener("click", B);
2149
- const z = h.value.getBoundingClientRect();
2150
- l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), d.value && (h.value.addEventListener("mouseover", I, { capture: !0 }), h.value.addEventListener("mouseout", L, { capture: !0 }));
2147
+ m.value && be(() => {
2148
+ m.value.addEventListener("click", B);
2149
+ const z = m.value.getBoundingClientRect();
2150
+ l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), d.value && (m.value.addEventListener("mouseover", I, { capture: !0 }), m.value.addEventListener("mouseout", L, { capture: !0 }));
2151
2151
  });
2152
2152
  }, x = () => {
2153
- h.value && (h.value.removeEventListener("click", B), d.value && (h.value.removeEventListener("mouseover", I, { capture: !0 }), h.value.removeEventListener("mouseout", L, { capture: !0 })));
2153
+ m.value && (m.value.removeEventListener("click", B), d.value && (m.value.removeEventListener("mouseover", I, { capture: !0 }), m.value.removeEventListener("mouseout", L, { capture: !0 })));
2154
2154
  };
2155
2155
  Ne(() => {
2156
2156
  t.value = !0, O(), ut(() => {
@@ -2158,7 +2158,7 @@ const pn = ["data-side"], Yt = {
2158
2158
  });
2159
2159
  }), ne(() => g.value, (z) => {
2160
2160
  z && V(g.value);
2161
- }, { immediate: !0 }), ne(h, (z, X) => {
2161
+ }, { immediate: !0 }), ne(m, (z, X) => {
2162
2162
  X && x(), z && O();
2163
2163
  }, { immediate: !0 }), ct(() => {
2164
2164
  x(), O();
@@ -2172,15 +2172,15 @@ const pn = ["data-side"], Yt = {
2172
2172
  }, w = F(() => o.value.split("-")[0]), T = F(() => ({ left: p.value + "px", top: y.value + "px", zIndex: l.zIndex, width: f.value })), j = F(() => {
2173
2173
  if (!l.showArrow)
2174
2174
  return {};
2175
- const { arrow: z } = ie(m);
2175
+ const { arrow: z } = ie(h);
2176
2176
  return {
2177
2177
  left: (z == null ? void 0 : z.x) + "px",
2178
2178
  top: (z == null ? void 0 : z.y) + "px"
2179
2179
  };
2180
2180
  }), H = async () => {
2181
- if (!(!h.value || !v.value))
2181
+ if (!(!m.value || !v.value))
2182
2182
  try {
2183
- const z = await fn(h.value, v.value, {
2183
+ const z = await fn(m.value, v.value, {
2184
2184
  middleware: ie(i),
2185
2185
  placement: ie(o),
2186
2186
  strategy: ie(s)
@@ -2193,9 +2193,9 @@ const pn = ["data-side"], Yt = {
2193
2193
  }
2194
2194
  };
2195
2195
  async function U() {
2196
- if (!(!h.value || !v.value))
2196
+ if (!(!m.value || !v.value))
2197
2197
  try {
2198
- await be(), k = rn(h.value, v.value, H);
2198
+ await be(), k = rn(m.value, v.value, H);
2199
2199
  } catch (z) {
2200
2200
  console.error("Error updating position:", z);
2201
2201
  }
@@ -2346,7 +2346,7 @@ const pn = ["data-side"], Yt = {
2346
2346
  type: String,
2347
2347
  default: ""
2348
2348
  }
2349
- }, o = sl(), s = b(), d = (y, m) => m.reduce((_, k) => (_[k] = y[k], _), {}), f = F(() => ({ ...o, ...d(t, Object.keys(i)) }));
2349
+ }, o = sl(), s = b(), d = (y, h) => h.reduce((_, k) => (_[k] = y[k], _), {}), f = F(() => ({ ...o, ...d(t, Object.keys(i)) }));
2350
2350
  function g() {
2351
2351
  s.value.update();
2352
2352
  }
@@ -2360,7 +2360,7 @@ const pn = ["data-side"], Yt = {
2360
2360
  update: g,
2361
2361
  open: v,
2362
2362
  close: p
2363
- }), (y, m) => (r(), se(Yt, _e({
2363
+ }), (y, h) => (r(), se(Yt, _e({
2364
2364
  ref_key: "popperRef",
2365
2365
  ref: s,
2366
2366
  shouldStopPropagation: e.shouldStopPropagation
@@ -2462,17 +2462,17 @@ const lt = (e) => (he("data-v-d0b65b24"), e = e(), ge(), e), mn = ["onClick"], h
2462
2462
  style: E(`--color: ${e.color};`),
2463
2463
  onMouseleave: g
2464
2464
  }, [
2465
- (r(!0), u(Y, null, ae(e.count, (m) => (r(), u("div", {
2466
- class: A(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && l.value >= m - 0.5 && l.value < m, "abl-rate-star-full": l.value >= m, "temp-gray": !e.allowHalf && n.value === m }]),
2467
- style: E(`margin-right: ${m !== e.count ? e.gap : 0}px;`),
2468
- onClick: (_) => e.allowHalf ? v(_) : o(m),
2469
- key: m
2465
+ (r(!0), u(Y, null, ae(e.count, (h) => (r(), u("div", {
2466
+ class: A(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && l.value >= h - 0.5 && l.value < h, "abl-rate-star-full": l.value >= h, "temp-gray": !e.allowHalf && n.value === h }]),
2467
+ style: E(`margin-right: ${h !== e.count ? e.gap : 0}px;`),
2468
+ onClick: (_) => e.allowHalf ? v(_) : o(h),
2469
+ key: h
2470
2470
  }, [
2471
2471
  e.allowHalf ? (r(), u("div", {
2472
2472
  key: 0,
2473
- class: A(["abl-rate-star-first", { "temp-gray-first": n.value === m - 0.5 }]),
2474
- onClick: J((_) => o(m - 0.5), ["stop"]),
2475
- onMouseenter: (_) => s(m - 0.5),
2473
+ class: A(["abl-rate-star-first", { "temp-gray-first": n.value === h - 0.5 }]),
2474
+ onClick: J((_) => o(h - 0.5), ["stop"]),
2475
+ onMouseenter: (_) => s(h - 0.5),
2476
2476
  onMouseleave: f
2477
2477
  }, [
2478
2478
  e.character === "star-filled" ? (r(), u("svg", {
@@ -2502,9 +2502,9 @@ const lt = (e) => (he("data-v-d0b65b24"), e = e(), ge(), e), mn = ["onClick"], h
2502
2502
  ], 4))
2503
2503
  ], 42, hn)) : R("", !0),
2504
2504
  c("div", {
2505
- class: A(["abl-rate-star-second", { "temp-gray-second": n.value === m }]),
2506
- onClick: J((_) => o(m), ["stop"]),
2507
- onMouseenter: (_) => d(m),
2505
+ class: A(["abl-rate-star-second", { "temp-gray-second": n.value === h }]),
2506
+ onClick: J((_) => o(h), ["stop"]),
2507
+ onMouseenter: (_) => d(h),
2508
2508
  onMouseleave: f
2509
2509
  }, [
2510
2510
  e.character === "star-filled" ? (r(), u("svg", {
@@ -2626,8 +2626,8 @@ const Ln = { class: "abl-collapse__title" }, zn = { key: 0 }, In = { class: "ico
2626
2626
  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), g = b(f.value ? "auto" : "0px"), v = () => {
2627
2627
  if (f.value)
2628
2628
  if (Array.isArray(s.value)) {
2629
- const m = s.value.filter((_) => _ !== l.name);
2630
- o.changeEvent(m);
2629
+ const h = s.value.filter((_) => _ !== l.name);
2630
+ o.changeEvent(h);
2631
2631
  } else
2632
2632
  o.changeEvent(null);
2633
2633
  else
@@ -2636,22 +2636,22 @@ const Ln = { class: "abl-collapse__title" }, zn = { key: 0 }, In = { class: "ico
2636
2636
  g.value = "0px", requestAnimationFrame(() => {
2637
2637
  requestAnimationFrame(() => {
2638
2638
  var _;
2639
- const m = (_ = t.value) == null ? void 0 : _.offsetHeight;
2640
- g.value = m ? `${m}px` : "auto";
2639
+ const h = (_ = t.value) == null ? void 0 : _.offsetHeight;
2640
+ g.value = h ? `${h}px` : "auto";
2641
2641
  });
2642
2642
  });
2643
2643
  }, y = () => {
2644
2644
  var _;
2645
- const m = (_ = t.value) == null ? void 0 : _.offsetHeight;
2646
- g.value = m ? `${m}px` : "auto", requestAnimationFrame(() => {
2645
+ const h = (_ = t.value) == null ? void 0 : _.offsetHeight;
2646
+ g.value = h ? `${h}px` : "auto", requestAnimationFrame(() => {
2647
2647
  requestAnimationFrame(() => {
2648
2648
  g.value = "0px";
2649
2649
  });
2650
2650
  });
2651
2651
  };
2652
- return ne(f, (m) => {
2653
- m ? p() : y();
2654
- }), (m, _) => (r(), u("div", {
2652
+ return ne(f, (h) => {
2653
+ h ? p() : y();
2654
+ }), (h, _) => (r(), u("div", {
2655
2655
  class: A(["abl-collapse-item", f.value && "abl-collapse-item__expand", e.isBorder && ie(i) > 1 && "abl-collapse-item__border"])
2656
2656
  }, [
2657
2657
  c("div", {
@@ -2660,7 +2660,7 @@ const Ln = { class: "abl-collapse__title" }, zn = { key: 0 }, In = { class: "ico
2660
2660
  style: E({ background: e.background })
2661
2661
  }, [
2662
2662
  c("div", Ln, [
2663
- M(m.$slots, "title", {}, () => [
2663
+ M(h.$slots, "title", {}, () => [
2664
2664
  Q(W(e.title), 1)
2665
2665
  ], !0)
2666
2666
  ]),
@@ -2686,7 +2686,7 @@ const Ln = { class: "abl-collapse__title" }, zn = { key: 0 }, In = { class: "ico
2686
2686
  ref: t,
2687
2687
  class: A(["abl-collapse-item__content", { "abl-collapse-item__content-open": g.value }])
2688
2688
  }, [
2689
- M(m.$slots, "default", {}, void 0, !0)
2689
+ M(h.$slots, "default", {}, void 0, !0)
2690
2690
  ], 2)
2691
2691
  ], 6)
2692
2692
  ], 2));
@@ -2943,14 +2943,14 @@ const Xn = /* @__PURE__ */ c("div", {
2943
2943
  },
2944
2944
  emits: ["update:modelValue"],
2945
2945
  setup(e, { emit: a }) {
2946
- const t = Ge(), l = e, n = F(() => l.previewSrcList.length), i = b(Array(n.value).fill(!1)), o = b(l.initialIndex), s = b(1), d = b(0), f = b(0), g = b(0), v = b(0), p = b(0), y = a, m = (H) => {
2946
+ const t = Ge(), l = e, n = F(() => l.previewSrcList.length), i = b(Array(n.value).fill(!1)), o = b(l.initialIndex), s = b(1), d = b(0), f = b(0), g = b(0), v = b(0), p = b(0), y = a, h = (H) => {
2947
2947
  t && (t.appContext.config.globalProperties.$lockCount = H || 0);
2948
2948
  }, _ = () => {
2949
2949
  document.body.style.overflow = "hidden", document.body.style.touchAction = "none";
2950
2950
  const H = t.appContext.config.globalProperties.$lockCount || 0;
2951
- m(H + 1);
2951
+ h(H + 1);
2952
2952
  }, k = () => {
2953
- t.appContext.config.globalProperties.$lockCount > 0 && m((t.appContext.config.globalProperties.$lockCount || 0) - 1), (t.appContext.config.globalProperties.$lockCount || 0) <= 0 && (document.body.style.overflow = "", document.body.style.touchAction = "");
2953
+ t.appContext.config.globalProperties.$lockCount > 0 && h((t.appContext.config.globalProperties.$lockCount || 0) - 1), (t.appContext.config.globalProperties.$lockCount || 0) <= 0 && (document.body.style.overflow = "", document.body.style.touchAction = "");
2954
2954
  };
2955
2955
  ne(() => l.modelValue, (H) => {
2956
2956
  Zt && l.modelValue && _();
@@ -2972,7 +2972,7 @@ const Xn = /* @__PURE__ */ c("div", {
2972
2972
  }
2973
2973
  const N = Math.max(z, X), P = Math.pow(10, N);
2974
2974
  return H = Math.round(H * P), U = Math.round(U * P), (H + U) / P;
2975
- }, h = (H) => {
2975
+ }, m = (H) => {
2976
2976
  i.value[H] = !0;
2977
2977
  }, V = (H) => {
2978
2978
  o.value = (o.value + 1) % n.value;
@@ -3041,7 +3041,7 @@ const Xn = /* @__PURE__ */ c("div", {
3041
3041
  title: "",
3042
3042
  class: "abl-image-preview__img",
3043
3043
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${p.value}deg);`),
3044
- onLoad: (N) => h(X),
3044
+ onLoad: (N) => m(X),
3045
3045
  onMousedown: U[0] || (U[0] = J((N) => w(N), ["prevent"])),
3046
3046
  onClick: U[1] || (U[1] = J(() => {
3047
3047
  }, ["stop"]))
@@ -3071,7 +3071,7 @@ const Xn = /* @__PURE__ */ c("div", {
3071
3071
  alt: "",
3072
3072
  title: "",
3073
3073
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${p.value}deg);`),
3074
- onLoad: (N) => h(X),
3074
+ onLoad: (N) => m(X),
3075
3075
  onMousedown: U[2] || (U[2] = J((N) => w(N), ["prevent"])),
3076
3076
  onClick: U[3] || (U[3] = J(() => {
3077
3077
  }, ["stop"])),
@@ -3452,7 +3452,7 @@ const zo = (e) => (he("data-v-d037bfee"), e = e(), ge(), e), Io = ["onClick"], R
3452
3452
  immediate: !0
3453
3453
  }
3454
3454
  );
3455
- const m = (O, x) => {
3455
+ const h = (O, x) => {
3456
3456
  if (!o.value[x].disabled) {
3457
3457
  if (x === v.value && i.closeOnClickSelf) {
3458
3458
  k(), setTimeout(() => {
@@ -3476,7 +3476,7 @@ const zo = (e) => (he("data-v-d037bfee"), e = e(), ge(), e), Io = ["onClick"], R
3476
3476
  return;
3477
3477
  const { top: O, bottom: x } = (B = s == null ? void 0 : s.value) == null ? void 0 : B.getBoundingClientRect();
3478
3478
  x > 0 && (g.value = x - 1);
3479
- }, h = () => {
3479
+ }, m = () => {
3480
3480
  i.closeOnClickMask && k();
3481
3481
  }, V = Ie({
3482
3482
  ...Te(i),
@@ -3503,7 +3503,7 @@ const zo = (e) => (he("data-v-d037bfee"), e = e(), ge(), e), Io = ["onClick"], R
3503
3503
  (r(!0), u(Y, null, ae(o.value, (B, C) => (r(), u("div", {
3504
3504
  class: "abl-dropdown-menu__item",
3505
3505
  key: C,
3506
- onClick: J((w) => m(B, C), ["stop"])
3506
+ onClick: J((w) => h(B, C), ["stop"])
3507
3507
  }, [
3508
3508
  c("span", {
3509
3509
  class: "abl-dropdown-menu__item__title",
@@ -3528,7 +3528,7 @@ const zo = (e) => (he("data-v-d037bfee"), e = e(), ge(), e), Io = ["onClick"], R
3528
3528
  top: y(g.value)
3529
3529
  }
3530
3530
  ]),
3531
- onClick: h,
3531
+ onClick: m,
3532
3532
  onTouchmove: x[1] || (x[1] = J(() => {
3533
3533
  }, ["prevent"]))
3534
3534
  }, [
@@ -3718,8 +3718,8 @@ const Qo = {
3718
3718
  setup(e, { expose: a, emit: t }) {
3719
3719
  const l = e, n = t, i = b(), o = b(l.autofocus), s = b(!0), d = b(l.type), f = b(!1), g = F({
3720
3720
  get: () => l.modelValue,
3721
- set: (h) => {
3722
- n("update:modelValue", h);
3721
+ set: (m) => {
3722
+ n("update:modelValue", m);
3723
3723
  }
3724
3724
  }), v = () => {
3725
3725
  o.value = !0, f.value = l.clearable && g.value, n("focus");
@@ -3727,9 +3727,9 @@ const Qo = {
3727
3727
  o.value = !1, n("blur"), setTimeout(() => {
3728
3728
  f.value = !1;
3729
3729
  }, 500);
3730
- }, y = (h) => {
3731
- h.target.value ? f.value = l.clearable : f.value = !1;
3732
- }, m = () => {
3730
+ }, y = (m) => {
3731
+ m.target.value ? f.value = l.clearable : f.value = !1;
3732
+ }, h = () => {
3733
3733
  g.value = "", n("clear");
3734
3734
  }, _ = () => {
3735
3735
  l.type === "password" && (s.value = !s.value, s.value ? d.value = l.type : d.value = "text");
@@ -3742,19 +3742,19 @@ const Qo = {
3742
3742
  }
3743
3743
  return a({
3744
3744
  blur: () => {
3745
- var h;
3746
- return (h = i.value) == null ? void 0 : h.blur();
3745
+ var m;
3746
+ return (m = i.value) == null ? void 0 : m.blur();
3747
3747
  },
3748
3748
  focus: () => {
3749
- var h;
3750
- return (h = i.value) == null ? void 0 : h.focus();
3749
+ var m;
3750
+ return (m = i.value) == null ? void 0 : m.focus();
3751
3751
  },
3752
- clear: m,
3752
+ clear: h,
3753
3753
  input: () => i.value
3754
- }), (h, V) => (r(), u("div", {
3755
- class: A(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": h.$slots.addonBefore || e.addonBefore || h.$slots.addonAfter || e.addonAfter }])
3754
+ }), (m, V) => (r(), u("div", {
3755
+ class: A(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": m.$slots.addonBefore || e.addonBefore || m.$slots.addonAfter || e.addonAfter }])
3756
3756
  }, [
3757
- M(h.$slots, "addonBefore", {}, () => [
3757
+ M(m.$slots, "addonBefore", {}, () => [
3758
3758
  e.addonBefore ? (r(), u("span", Qo, W(e.addonBefore), 1)) : R("", !0)
3759
3759
  ], !0),
3760
3760
  c("div", {
@@ -3762,8 +3762,8 @@ const Qo = {
3762
3762
  onMouseenter: k,
3763
3763
  onMouseleave: $
3764
3764
  }, [
3765
- h.$slots.prefix || e.prefixIcon ? (r(), u("span", es, [
3766
- M(h.$slots, "prefix", {}, void 0, !0),
3765
+ m.$slots.prefix || e.prefixIcon ? (r(), u("span", es, [
3766
+ M(m.$slots, "prefix", {}, void 0, !0),
3767
3767
  e.prefixIcon ? (r(), u("i", {
3768
3768
  key: 0,
3769
3769
  class: A(["iconfont-abl", e.suffixIcon])
@@ -3781,9 +3781,9 @@ const Qo = {
3781
3781
  disabled: e.disabled,
3782
3782
  onFocus: v,
3783
3783
  onBlur: p
3784
- }, h.$attrs, {
3784
+ }, m.$attrs, {
3785
3785
  onInput: y,
3786
- onKeyup: V[1] || (V[1] = (...I) => h.onKeyUp && h.onKeyUp(...I))
3786
+ onKeyup: V[1] || (V[1] = (...I) => m.onKeyUp && m.onKeyUp(...I))
3787
3787
  }), null, 16, ts), [
3788
3788
  [rl, g.value]
3789
3789
  ]),
@@ -3802,25 +3802,25 @@ const Qo = {
3802
3802
  ], 64)) : R("", !0),
3803
3803
  Z(c("i", {
3804
3804
  class: "iconfont-abl icon-abl-close",
3805
- onClick: J(m, ["stop"])
3805
+ onClick: J(h, ["stop"])
3806
3806
  }, null, 512), [
3807
3807
  [te, f.value]
3808
3808
  ])
3809
3809
  ])) : R("", !0),
3810
- h.$slots.suffix || e.suffixIcon ? (r(), u("span", as, [
3811
- M(h.$slots, "suffix", {}, void 0, !0),
3810
+ m.$slots.suffix || e.suffixIcon ? (r(), u("span", as, [
3811
+ M(m.$slots, "suffix", {}, void 0, !0),
3812
3812
  e.suffixIcon ? (r(), u("i", {
3813
3813
  key: 0,
3814
3814
  class: A(["iconfont-abl", e.suffixIcon])
3815
3815
  }, null, 2)) : R("", !0)
3816
3816
  ])) : R("", !0)
3817
3817
  ], 34),
3818
- M(h.$slots, "addonAfter", {}, () => [
3818
+ M(m.$slots, "addonAfter", {}, () => [
3819
3819
  e.addonAfter ? (r(), u("span", ns, W(e.addonAfter), 1)) : R("", !0)
3820
3820
  ], !0)
3821
3821
  ], 2));
3822
3822
  }
3823
- }), ss = /* @__PURE__ */ ee(os, [["__scopeId", "data-v-f6513aef"]]);
3823
+ }), ss = /* @__PURE__ */ ee(os, [["__scopeId", "data-v-c0144271"]]);
3824
3824
  const at = (e) => (he("data-v-63df5fe9"), e = e(), ge(), e), is = { class: "abl-spin-box" }, rs = {
3825
3825
  key: 0,
3826
3826
  class: "abl-spin-logo"
@@ -3996,7 +3996,7 @@ const ht = (e) => (he("data-v-5abddaa7"), e = e(), ge(), e), gs = { class: "abl-
3996
3996
  $(C[j], B + j);
3997
3997
  o.value[B].value = "";
3998
3998
  }
3999
- }, m = (x) => {
3999
+ }, h = (x) => {
4000
4000
  o.value[x].click();
4001
4001
  }, _ = (x, B) => {
4002
4002
  const C = x.target.files;
@@ -4007,10 +4007,10 @@ const ht = (e) => (he("data-v-5abddaa7"), e = e(), ge(), e), gs = { class: "abl-
4007
4007
  o.value[B].value = "";
4008
4008
  }
4009
4009
  }, k = a, $ = function(x, B) {
4010
- t.beforeUpload(x) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[B] = !0, h(x, B)), t.uploadMode === "custom" && (i.value[B] = !0, V(x, B))) : be(() => {
4010
+ t.beforeUpload(x) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[B] = !0, m(x, B)), t.uploadMode === "custom" && (i.value[B] = !0, V(x, B))) : be(() => {
4011
4011
  O(t.errorInfo);
4012
4012
  });
4013
- }, h = (x, B) => {
4013
+ }, m = (x, B) => {
4014
4014
  var C = new FileReader();
4015
4015
  C.readAsDataURL(x), C.onloadstart = function(w) {
4016
4016
  console.log("开始读取 onloadstart:", w);
@@ -4066,7 +4066,7 @@ const ht = (e) => (he("data-v-5abddaa7"), e = e(), ge(), e), gs = { class: "abl-
4066
4066
  onDragover: B[2] || (B[2] = J(() => {
4067
4067
  }, ["stop", "prevent"])),
4068
4068
  onDrop: J((T) => e.disabled ? () => !1 : y(T, w - 1), ["stop", "prevent"]),
4069
- onClick: (T) => e.disabled ? () => !1 : m(w - 1)
4069
+ onClick: (T) => e.disabled ? () => !1 : h(w - 1)
4070
4070
  }, [
4071
4071
  c("input", {
4072
4072
  ref_for: !0,
@@ -4253,21 +4253,21 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4253
4253
  pure: !0,
4254
4254
  trigger: "click",
4255
4255
  transitionName: "abl-select-menu"
4256
- }), g = b(""), v = b(), p = b(null), y = b(""), m = b(), _ = b(o.modelValue), k = b(!1), $ = F(() => {
4256
+ }), g = b(""), v = b(), p = b(null), y = b(""), h = b(), _ = b(o.modelValue), k = b(!1), $ = F(() => {
4257
4257
  var P;
4258
4258
  return { width: (((P = v.value) == null ? void 0 : P.getBoundingClientRect().width) || 0) + "px" };
4259
- }), h = Ie({
4259
+ }), m = Ie({
4260
4260
  list: o == null ? void 0 : o.options
4261
4261
  }), V = b(!1), I = b(
4262
4262
  o.search && y.value === "focus" && V.value
4263
4263
  ), L = F(() => o.disabled), O = b(""), x = b([]), B = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], C = () => {
4264
4264
  var N;
4265
4265
  try {
4266
- l.default && (h.list = [], (N = l.default()) == null || N.map((P) => {
4266
+ l.default && (m.list = [], (N = l.default()) == null || N.map((P) => {
4267
4267
  var K;
4268
4268
  if (P.props) {
4269
4269
  const { value: le, name: S, img: q, iconColor: D } = P.props;
4270
- h.list.push({
4270
+ m.list.push({
4271
4271
  value: le,
4272
4272
  name: S,
4273
4273
  img: q,
@@ -4281,7 +4281,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4281
4281
  } else
4282
4282
  ((K = P == null ? void 0 : P.children) == null ? void 0 : K.length) > 0 && P.children.map((le) => {
4283
4283
  const { value: S, name: q, img: D, iconColor: G } = le.props;
4284
- h.list.push({
4284
+ m.list.push({
4285
4285
  value: S,
4286
4286
  name: q,
4287
4287
  img: D,
@@ -4293,7 +4293,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4293
4293
  iconColor: G
4294
4294
  }));
4295
4295
  });
4296
- }), s = h.list);
4296
+ }), s = m.list);
4297
4297
  } catch (P) {
4298
4298
  console.log(P);
4299
4299
  }
@@ -4315,7 +4315,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4315
4315
  let le = N.target.value.toLowerCase();
4316
4316
  return K.name.toLowerCase().includes(le);
4317
4317
  });
4318
- h.list = P;
4318
+ m.list = P;
4319
4319
  }
4320
4320
  }, T = (N) => {
4321
4321
  o.disabled || (V.value = !0, y.value === "focus" ? y.value = "blur" : y.value = "focus", setTimeout(() => {
@@ -4330,21 +4330,21 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4330
4330
  if (o.disabled)
4331
4331
  return;
4332
4332
  if (N.name == g.value) {
4333
- m.value.close();
4333
+ h.value.close();
4334
4334
  return;
4335
4335
  }
4336
4336
  V.value = !1, P.stopPropagation(), (le = p.value) == null || le.blur();
4337
4337
  let K = null;
4338
- y.value = "blur", x.value[0] && x.value[0].value === N.value ? x.value.shift() : x.value[0] = N, K = N.value, d("update:modelValue", K), d("change", K, yt(x.value)), m.value.close();
4338
+ y.value = "blur", x.value[0] && x.value[0].value === N.value ? x.value.shift() : x.value[0] = N, K = N.value, d("update:modelValue", K), d("change", K, yt(x.value)), h.value.close();
4339
4339
  };
4340
4340
  we("handleSlotClick", j);
4341
4341
  const H = () => {
4342
4342
  var N;
4343
4343
  (N = p.value) == null || N.focus(), !I.value && y.value === "focus" && x.value.length > 0 && (x.value.pop(), d("change", yt(x.value)));
4344
4344
  }, U = () => {
4345
- k.value = !1, y.value = "blur", O.value = "", m.value.close();
4345
+ k.value = !1, y.value = "blur", O.value = "";
4346
4346
  }, z = () => {
4347
- h.list = s, k.value = !0;
4347
+ m.list = s, k.value = !0;
4348
4348
  }, X = () => {
4349
4349
  d("update:modelValue", ""), d("change", ""), x.value.splice(0, x.value.length);
4350
4350
  };
@@ -4366,7 +4366,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4366
4366
  P.name = P[o.parames.name], P.value = P[o.parames.value];
4367
4367
  }), s = o == null ? void 0 : o.options, o == null || o.options.map((P) => {
4368
4368
  P.value == o.modelValue && (P.selected = !0);
4369
- }), h.list = o == null ? void 0 : o.options, x.value = [], x.value = (N = o == null ? void 0 : o.options) == null ? void 0 : N.filter((P) => P.selected === !0);
4369
+ }), m.list = o == null ? void 0 : o.options, x.value = [], x.value = (N = o == null ? void 0 : o.options) == null ? void 0 : N.filter((P) => P.selected === !0);
4370
4370
  }, { immediate: !0, deep: !0 }), Ne(() => {
4371
4371
  ne(y, (N) => {
4372
4372
  var P, K;
@@ -4375,7 +4375,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4375
4375
  y.value = "blur";
4376
4376
  });
4377
4377
  }), ne(() => o.modelValue, async () => {
4378
- _.value = o.modelValue, _.value == "" && (g.value = "", x.value.splice(0, 1)), h.list.map((N) => {
4378
+ _.value = o.modelValue, _.value == "" && (g.value = "", x.value.splice(0, 1)), m.list.map((N) => {
4379
4379
  N.value == o.modelValue && (x.value.splice(0, x.value.length), x.value.push({
4380
4380
  value: N.value,
4381
4381
  name: N.name,
@@ -4391,7 +4391,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4391
4391
  }, [
4392
4392
  ce(Gt, _e({
4393
4393
  ref_key: "tooltip",
4394
- ref: m,
4394
+ ref: h,
4395
4395
  showArrow: e.showArrow,
4396
4396
  shouldStopPropagation: e.search ? !0 : e.shouldStopPropagation
4397
4397
  }, f, {
@@ -4406,7 +4406,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4406
4406
  style: E($.value),
4407
4407
  id: "abl-select"
4408
4408
  }, [
4409
- h.list.length > 0 ? (r(!0), u(Y, { key: 0 }, ae(h.list, (K, le) => (r(), u("div", {
4409
+ m.list.length > 0 ? (r(!0), u(Y, { key: 0 }, ae(m.list, (K, le) => (r(), u("div", {
4410
4410
  class: A(["abl-select-options-item", x.value.some((S) => S.value === K.value) ? "abl-options-item-active" : ""]),
4411
4411
  key: K.name + K.value,
4412
4412
  onClick: (S) => j(K, S)
@@ -4494,7 +4494,7 @@ const Ps = { class: "abl-select-warpper-content" }, Ts = { class: "abl-select-ha
4494
4494
  }, 16, ["showArrow", "shouldStopPropagation", "disabled", "zIndex", "popperClass"])
4495
4495
  ], 512));
4496
4496
  }
4497
- }, St = /* @__PURE__ */ ee(Xs, [["__scopeId", "data-v-5124dd4c"]]);
4497
+ }, St = /* @__PURE__ */ ee(Xs, [["__scopeId", "data-v-42d35df7"]]);
4498
4498
  const Ks = {
4499
4499
  key: 0,
4500
4500
  class: "abl-header"
@@ -4559,39 +4559,39 @@ const Ks = {
4559
4559
  function f(p, y) {
4560
4560
  if (!p)
4561
4561
  return;
4562
- const m = p.length;
4562
+ const h = p.length;
4563
4563
  let _ = [];
4564
- for (let k = 0; k < m; k++) {
4564
+ for (let k = 0; k < h; k++) {
4565
4565
  const $ = {
4566
4566
  span: Math.min(p[k].dataset.span, y),
4567
4567
  element: p[k]
4568
4568
  };
4569
- g(_) < y ? ($.span = Math.min($.span, y - g(_)), k === m - 1 && ($.span = y - g(_)), _.push($), k === m - 1 && s.value.push(_)) : (s.value.push(_), _ = [$], k === m - 1 && ($.span = y, s.value.push(_)));
4569
+ g(_) < y ? ($.span = Math.min($.span, y - g(_)), k === h - 1 && ($.span = y - g(_)), _.push($), k === h - 1 && s.value.push(_)) : (s.value.push(_), _ = [$], k === h - 1 && ($.span = y, s.value.push(_)));
4570
4570
  }
4571
4571
  a.bordered ? be(() => {
4572
4572
  s.value.forEach((k, $) => {
4573
- k.forEach((h) => {
4574
- const V = Array.from(h.element.children), I = V[0].cloneNode(!0);
4575
- I.colSpan = 1, v(I, a.labelStyle), v(I, JSON.parse(h.element.dataset.labelStyle));
4573
+ k.forEach((m) => {
4574
+ const V = Array.from(m.element.children), I = V[0].cloneNode(!0);
4575
+ I.colSpan = 1, v(I, a.labelStyle), v(I, JSON.parse(m.element.dataset.labelStyle));
4576
4576
  const L = V[1].cloneNode(!0);
4577
- L.colSpan = h.span * 2 - 1, v(L, a.contentStyle), v(L, JSON.parse(h.element.dataset.contentStyle)), o.value[$].appendChild(I), o.value[$].appendChild(L);
4577
+ L.colSpan = m.span * 2 - 1, v(L, a.contentStyle), v(L, JSON.parse(m.element.dataset.contentStyle)), o.value[$].appendChild(I), o.value[$].appendChild(L);
4578
4578
  });
4579
4579
  });
4580
4580
  }) : be(() => {
4581
4581
  p.forEach((k, $) => {
4582
- const h = Array.from(k.children), V = h[0];
4582
+ const m = Array.from(k.children), V = m[0];
4583
4583
  v(V, a.labelStyle), v(V, JSON.parse(k.dataset.labelStyle));
4584
- const I = h[1];
4584
+ const I = m[1];
4585
4585
  v(I, a.contentStyle), v(I, JSON.parse(k.dataset.contentStyle)), i.value[$].appendChild(k);
4586
4586
  });
4587
4587
  });
4588
4588
  }
4589
4589
  function g(p) {
4590
- return p.reduce((y, m) => y + m.span, 0);
4590
+ return p.reduce((y, h) => y + h.span, 0);
4591
4591
  }
4592
4592
  function v(p, y) {
4593
- JSON.stringify(y) !== "{}" && Object.keys(y).forEach((m) => {
4594
- p.style[m] = y[m];
4593
+ JSON.stringify(y) !== "{}" && Object.keys(y).forEach((h) => {
4594
+ p.style[h] = y[h];
4595
4595
  });
4596
4596
  }
4597
4597
  return (p, y) => (r(), u("div", {
@@ -4622,16 +4622,16 @@ const Ks = {
4622
4622
  }, [
4623
4623
  c("table", null, [
4624
4624
  e.bordered ? (r(), u("tbody", Qs, [
4625
- d.value ? (r(!0), u(Y, { key: 0 }, ae(d.value, (m) => (r(), u("tr", {
4625
+ d.value ? (r(!0), u(Y, { key: 0 }, ae(d.value, (h) => (r(), u("tr", {
4626
4626
  ref_for: !0,
4627
4627
  ref_key: "rows",
4628
4628
  ref: o,
4629
4629
  class: "tr-bordered",
4630
- key: m
4630
+ key: h
4631
4631
  }))), 128)) : R("", !0)
4632
4632
  ])) : (r(), u("tbody", Js, [
4633
- (r(!0), u(Y, null, ae(s.value, (m, _) => (r(), u("tr", { key: _ }, [
4634
- (r(!0), u(Y, null, ae(m, (k, $) => (r(), u("td", {
4633
+ (r(!0), u(Y, null, ae(s.value, (h, _) => (r(), u("tr", { key: _ }, [
4634
+ (r(!0), u(Y, null, ae(h, (k, $) => (r(), u("td", {
4635
4635
  ref_for: !0,
4636
4636
  ref_key: "cols",
4637
4637
  ref: i,
@@ -4713,12 +4713,12 @@ function di() {
4713
4713
  n.value = 0, i.value = 0, o.value = 0, s.value = 0, d.value = "";
4714
4714
  };
4715
4715
  return {
4716
- move: (m) => {
4717
- const _ = m.type.startsWith("touch") ? m.touches[0] : m;
4716
+ move: (h) => {
4717
+ const _ = h.type.startsWith("touch") ? h.touches[0] : h;
4718
4718
  n.value = _.clientX - e.value, i.value = _.clientY - a.value, t.value = _.clientX, l.value = _.clientY, o.value = Math.abs(n.value), s.value = Math.abs(i.value), d.value || (d.value = ui(o.value, s.value));
4719
4719
  },
4720
- start: (m) => {
4721
- v(), e.value = m.type.startsWith("touch") ? m.touches[0].clientX : m.clientX, a.value = m.type.startsWith("touch") ? m.touches[0].clientY : m.clientY;
4720
+ start: (h) => {
4721
+ v(), e.value = h.type.startsWith("touch") ? h.touches[0].clientX : h.clientX, a.value = h.type.startsWith("touch") ? h.touches[0].clientY : h.clientY;
4722
4722
  },
4723
4723
  reset: v,
4724
4724
  startX: e,
@@ -4834,7 +4834,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4834
4834
  const g = F(() => {
4835
4835
  const { marks: S, max: q, min: D } = t;
4836
4836
  return Object.keys(S).map(parseFloat).sort((re, pe) => re - pe).filter((re) => re >= +D && re <= +q);
4837
- }), v = F(() => Number(t.max) - Number(t.min)), p = b([]), y = b(), m = F(() => {
4837
+ }), v = F(() => Number(t.max) - Number(t.min)), p = b([]), y = b(), h = F(() => {
4838
4838
  const S = "abl-range";
4839
4839
  return {
4840
4840
  [S]: !0,
@@ -4852,7 +4852,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4852
4852
  background: t.inactiveColor
4853
4853
  })), $ = F(() => ({
4854
4854
  borderColor: t.buttonColor
4855
- })), h = b(!1), V = (S) => !!t.range && Array.isArray(S), I = () => {
4855
+ })), m = b(!1), V = (S) => !!t.range && Array.isArray(S), I = () => {
4856
4856
  const { modelValue: S, min: q } = t;
4857
4857
  return V(S) ? `${(S[1] - S[0]) * 100 / v.value}%` : `${(S - Number(q)) * 100 / v.value}%`;
4858
4858
  }, L = () => {
@@ -4907,7 +4907,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4907
4907
  }, U = (S) => {
4908
4908
  if (t.disabled || d.value === "draging")
4909
4909
  return;
4910
- h.value = !0;
4910
+ m.value = !0;
4911
4911
  const { min: q, modelValue: D } = t, G = Bt(s);
4912
4912
  let de = S.clientX - G.left, re = G.width;
4913
4913
  t.vertical && (de = S.clientY - G.top, re = G.height);
@@ -4921,18 +4921,18 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4921
4921
  document.addEventListener("mousedown", z, { once: !0 });
4922
4922
  });
4923
4923
  }, z = () => {
4924
- h.value = !1;
4924
+ m.value = !1;
4925
4925
  }, X = (S) => {
4926
4926
  t.disabled || (f.start(S), o = t.modelValue, V(o) ? i = o.map(w) : i = w(o), d.value = "start");
4927
4927
  }, N = (S) => {
4928
4928
  if (t.disabled)
4929
4929
  return;
4930
- d.value === "start" && l("dragStart"), f.move(S), d.value = "draging", S.type.startsWith("touch") && (h.value = !0);
4930
+ d.value === "start" && l("dragStart"), f.move(S), d.value = "draging", S.type.startsWith("touch") && (m.value = !0);
4931
4931
  const q = Bt(s);
4932
4932
  let D = f.deltaX.value, G = q.width, de = D / G * v.value;
4933
4933
  t.vertical && (D = f.deltaY.value, G = q.height, de = D / G * v.value), V(i) ? o[n.value] = i[n.value] + de : o = i + de, H(o);
4934
4934
  }, P = (S) => {
4935
- t.disabled || d.value === "draging" && (H(o, !0), l("dragEnd"), window.removeEventListener("mousemove", N), window.removeEventListener("touchmove", N), window.removeEventListener("mouseup", P), window.removeEventListener("touchend", P), S.type.startsWith("touch") && (h.value = !1), setTimeout(() => {
4935
+ t.disabled || d.value === "draging" && (H(o, !0), l("dragEnd"), window.removeEventListener("mousemove", N), window.removeEventListener("touchmove", N), window.removeEventListener("mouseup", P), window.removeEventListener("touchend", P), S.type.startsWith("touch") && (m.value = !1), setTimeout(() => {
4936
4936
  d.value = "";
4937
4937
  }));
4938
4938
  }, K = (S, q) => {
@@ -4946,7 +4946,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4946
4946
  ref_key: "root",
4947
4947
  ref: s,
4948
4948
  style: E(k.value),
4949
- class: A(m.value),
4949
+ class: A(h.value),
4950
4950
  onClick: J(U, ["stop"])
4951
4951
  }, [
4952
4952
  g.value.length > 0 ? (r(), u("div", vi, [
@@ -4993,7 +4993,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
4993
4993
  }, [
4994
4994
  e.showTooltip ? (r(), u("div", {
4995
4995
  key: 0,
4996
- class: A(["abl-handle-tooltip", [{ "display-tooltip": n.value === D && h.value }]])
4996
+ class: A(["abl-handle-tooltip", [{ "display-tooltip": n.value === D && m.value }]])
4997
4997
  }, [
4998
4998
  Q(W(le(D)) + " ", 1),
4999
4999
  hi
@@ -5023,7 +5023,7 @@ const al = (e) => (he("data-v-d7965b94"), e = e(), ge(), e), pi = {
5023
5023
  style: E($.value)
5024
5024
  }, [
5025
5025
  c("div", {
5026
- class: A(["abl-handle-tooltip", [{ "display-tooltip": h.value }]])
5026
+ class: A(["abl-handle-tooltip", [{ "display-tooltip": m.value }]])
5027
5027
  }, [
5028
5028
  Q(W(le()) + " ", 1),
5029
5029
  yi
@@ -5100,30 +5100,30 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5100
5100
  emits: ["change", "jump", "update:current"],
5101
5101
  setup(e, { emit: a }) {
5102
5102
  const t = e, l = Ye(), n = b(t.current), i = b(!1), o = b(!1), s = F(() => Math.ceil(t.total / t.pageSize)), d = F(() => g(n.value).filter(
5103
- (m) => m !== 1 && m !== s.value
5103
+ (h) => h !== 1 && h !== s.value
5104
5104
  )), f = a;
5105
- ne(n, (m) => {
5106
- f("update:current", m), f("change", m, t.pageSize);
5105
+ ne(n, (h) => {
5106
+ f("update:current", h), f("change", h, t.pageSize);
5107
5107
  });
5108
- const g = (m) => {
5108
+ const g = (h) => {
5109
5109
  var _ = [], k = Math.floor(t.pagerCount / 2), $ = {
5110
- start: m - k,
5111
- end: m + k
5110
+ start: h - k,
5111
+ end: h + k
5112
5112
  };
5113
5113
  $.start < 1 && ($.end = $.end + (1 - $.start), $.start = 1), $.end > s.value && ($.start = $.start - ($.end - s.value), $.end = s.value), $.start < 1 && ($.start = 1), $.start > 1 ? i.value = !0 : i.value = !1, $.end < s.value ? o.value = !0 : o.value = !1;
5114
- for (let h = $.start; h <= $.end; h++)
5115
- _.push(h);
5114
+ for (let m = $.start; m <= $.end; m++)
5115
+ _.push(m);
5116
5116
  return _;
5117
5117
  }, v = () => {
5118
5118
  n.value = n.value - t.pagerCount > 0 ? n.value - t.pagerCount : 1, l.itemRender && f("jump", n.value);
5119
5119
  }, p = () => {
5120
5120
  n.value = n.value + t.pagerCount < s.value ? n.value + t.pagerCount : s.value, l.itemRender && f("jump", n.value);
5121
- }, y = (m) => {
5122
- if (m === 0 || m === s.value + 1)
5121
+ }, y = (h) => {
5122
+ if (h === 0 || h === s.value + 1)
5123
5123
  return !1;
5124
- n.value !== m && (n.value = m);
5124
+ n.value !== h && (n.value = h);
5125
5125
  };
5126
- return (m, _) => (r(), u("div", {
5126
+ return (h, _) => (r(), u("div", {
5127
5127
  class: A([`abl-pagination ${e.placement}`, { hidden: e.hideOnSinglePage && e.total <= e.pageSize, "no-border": !e.border }])
5128
5128
  }, [
5129
5129
  c("div", xi, [
@@ -5132,7 +5132,7 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5132
5132
  class: A(["abl-pagination-item", { disabled: n.value === 1 }]),
5133
5133
  onClick: _[0] || (_[0] = (k) => !ie(l).itemRender && y(n.value - 1))
5134
5134
  }, [
5135
- M(m.$slots, "itemRender", {
5135
+ M(h.$slots, "itemRender", {
5136
5136
  page: n.value === 1 ? 1 : n.value - 1,
5137
5137
  type: "prev"
5138
5138
  }, () => [
@@ -5143,7 +5143,7 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5143
5143
  class: A(["abl-pagination-item", { active: n.value === 1 }]),
5144
5144
  onClick: _[1] || (_[1] = (k) => !ie(l).itemRender && y(1))
5145
5145
  }, [
5146
- M(m.$slots, "itemRender", {
5146
+ M(h.$slots, "itemRender", {
5147
5147
  page: 1,
5148
5148
  type: "page"
5149
5149
  }, () => [
@@ -5160,9 +5160,9 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5160
5160
  (r(!0), u(Y, null, ae(d.value, (k, $) => (r(), u("div", {
5161
5161
  class: A(["abl-pagination-item", { active: n.value === k }]),
5162
5162
  key: $,
5163
- onClick: (h) => !ie(l).itemRender && y(k)
5163
+ onClick: (m) => !ie(l).itemRender && y(k)
5164
5164
  }, [
5165
- M(m.$slots, "itemRender", {
5165
+ M(h.$slots, "itemRender", {
5166
5166
  page: k,
5167
5167
  type: "page"
5168
5168
  }, () => [
@@ -5180,7 +5180,7 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5180
5180
  class: A(["abl-pagination-item", { active: n.value === s.value }]),
5181
5181
  onClick: _[2] || (_[2] = (k) => !ie(l).itemRender && y(s.value))
5182
5182
  }, [
5183
- M(m.$slots, "itemRender", {
5183
+ M(h.$slots, "itemRender", {
5184
5184
  page: s.value,
5185
5185
  type: "page"
5186
5186
  }, () => [
@@ -5193,7 +5193,7 @@ const xi = { class: "abl-pagination-wrap" }, $i = {
5193
5193
  class: A(["abl-pagination-item", { disabled: n.value === s.value }]),
5194
5194
  onClick: _[3] || (_[3] = (k) => !ie(l).itemRender && y(n.value + 1))
5195
5195
  }, [
5196
- M(m.$slots, "itemRender", {
5196
+ M(h.$slots, "itemRender", {
5197
5197
  page: s.value === n.value ? n.value : n.value + 1,
5198
5198
  type: "next"
5199
5199
  }, () => [