abl-ui 0.5.82 → 0.5.84

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
@@ -259,78 +259,78 @@ const Fl = { class: "abl-tabs" }, Hl = ["id"], Wl = ["id"], Ul = ["onClick"], jl
259
259
  var M;
260
260
  const t = n, l = ze(), a = e, i = b({}), o = b(), s = b([]), c = b(), f = b(0), m = b(!1), v = b(!1), g = b(!0);
261
261
  function h() {
262
- const C = (/* @__PURE__ */ new Date()).getTime(), I = Math.random().toString(36).substring(2, 15);
263
- return C.toString(36) + I;
262
+ const V = (/* @__PURE__ */ new Date()).getTime(), I = Math.random().toString(36).substring(2, 15);
263
+ return V.toString(36) + I;
264
264
  }
265
265
  const p = b();
266
- (M = l.default()) == null || M.map(({ props: C, children: I }) => {
267
- if (C) {
268
- const { title: N, value: w, icon: L, afterIcon: y } = C;
266
+ (M = l.default()) == null || M.map(({ props: V, children: I }) => {
267
+ if (V) {
268
+ const { title: N, value: _, icon: L, afterIcon: y } = V;
269
269
  s.value.push({
270
270
  title: N,
271
- value: w,
271
+ value: _,
272
272
  icon: L,
273
273
  afterIcon: y
274
274
  });
275
275
  } else
276
276
  (I == null ? void 0 : I.length) > 0 && Array.isArray(I) && (I == null || I.map((N) => {
277
- const { title: w, value: L, icon: y, afterIcon: S } = N.props;
277
+ const { title: _, value: L, icon: y, afterIcon: S } = N.props;
278
278
  s.value.push({
279
- title: w,
279
+ title: _,
280
280
  value: L,
281
281
  icon: y,
282
282
  afterIcon: S
283
283
  });
284
284
  }));
285
285
  }), $e("active", f);
286
- const x = (C, I) => {
287
- var w;
288
- C.target.scrollIntoView({
286
+ const x = (V, I) => {
287
+ var _;
288
+ V.target.scrollIntoView({
289
289
  behavior: "auto",
290
290
  inline: "nearest",
291
291
  block: "nearest"
292
292
  });
293
- const N = (w = C == null ? void 0 : C.target) == null ? void 0 : w.offsetLeft;
293
+ const N = (_ = V == null ? void 0 : V.target) == null ? void 0 : _.offsetLeft;
294
294
  i.value = {
295
295
  transform: `translateX(${N}px)`,
296
- width: C.target.clientWidth + "px"
296
+ width: V.target.clientWidth + "px"
297
297
  }, f.value = I, t("update:modelValue", I), t("tabClick", I);
298
298
  }, $ = () => {
299
- const C = document.querySelector("#tab-hidden" + p.value);
300
- if (!C)
299
+ const V = document.querySelector("#tab-hidden" + p.value);
300
+ if (!V)
301
301
  return;
302
302
  const I = document.querySelector("#tabs-header-wrap" + p.value).clientWidth;
303
- (C == null ? void 0 : C.scrollWidth) > (C == null ? void 0 : C.clientWidth) + (C == null ? void 0 : C.scrollLeft) && (C.scrollLeft += I);
303
+ (V == null ? void 0 : V.scrollWidth) > (V == null ? void 0 : V.clientWidth) + (V == null ? void 0 : V.scrollLeft) && (V.scrollLeft += I);
304
304
  }, k = () => {
305
- const C = document.querySelector("#tab-hidden" + p.value), I = document.querySelector("#tabs-header-wrap" + p.value).clientWidth;
306
- C.scrollLeft > 0 && (C.scrollLeft -= I);
305
+ const V = document.querySelector("#tab-hidden" + p.value), I = document.querySelector("#tabs-header-wrap" + p.value).clientWidth;
306
+ V.scrollLeft > 0 && (V.scrollLeft -= I);
307
307
  };
308
308
  ge(async () => {
309
- p.value = await h(), await fe(), _();
309
+ p.value = await h(), await fe(), w();
310
310
  });
311
- const _ = () => {
311
+ const w = () => {
312
312
  if (!o.value)
313
313
  return;
314
- let C = 0;
314
+ let V = 0;
315
315
  s.value.map((L, y) => {
316
- L.value == a.modelValue && (C = y);
316
+ L.value == a.modelValue && (V = y);
317
317
  });
318
- const I = o.value[C], N = I == null ? void 0 : I.offsetLeft;
318
+ const I = o.value[V], N = I == null ? void 0 : I.offsetLeft;
319
319
  i.value = {
320
320
  transform: `translateX(${N}px)`,
321
321
  width: I.clientWidth + "px"
322
322
  };
323
- const w = document.getElementById("tab-hidden" + p.value);
324
- (w == null ? void 0 : w.scrollWidth) - 2 > (w == null ? void 0 : w.clientWidth) ? m.value = !0 : m.value = !1, w.addEventListener("scroll", function(L) {
323
+ const _ = document.getElementById("tab-hidden" + p.value);
324
+ (_ == null ? void 0 : _.scrollWidth) - 2 > (_ == null ? void 0 : _.clientWidth) ? m.value = !0 : m.value = !1, _.addEventListener("scroll", function(L) {
325
325
  var y, S, F;
326
326
  ((y = L.target) == null ? void 0 : y.scrollLeft) + ((S = L.target) == null ? void 0 : S.offsetWidth) >= ((F = L.target) == null ? void 0 : F.scrollWidth) - 1 && (g.value = !1, v.value = !0), L.target.scrollLeft == 0 && (g.value = !0, v.value = !1);
327
327
  });
328
328
  };
329
329
  return le(() => a.modelValue, async () => {
330
- f.value = a.modelValue, _();
330
+ f.value = a.modelValue, w();
331
331
  }, {
332
332
  immediate: !0
333
- }), (C, I) => {
333
+ }), (V, I) => {
334
334
  var N;
335
335
  return r(), d("div", Fl, [
336
336
  u("div", {
@@ -347,22 +347,22 @@ const Fl = { class: "abl-tabs" }, Hl = ["id"], Wl = ["id"], Ul = ["onClick"], jl
347
347
  class: "tabs-header",
348
348
  id: "tab-hidden" + p.value
349
349
  }, [
350
- (r(!0), d(K, null, ae(s.value, (w) => (r(), d("div", {
351
- class: B([f.value === w.value ? "header-btn-active" : "", "header-btn"]),
352
- key: w.title,
350
+ (r(!0), d(K, null, ae(s.value, (_) => (r(), d("div", {
351
+ class: B([f.value === _.value ? "header-btn-active" : "", "header-btn"]),
352
+ key: _.title,
353
353
  ref_for: !0,
354
354
  ref_key: "tabs",
355
355
  ref: o,
356
- onClick: (L) => x(L, w.value)
356
+ onClick: (L) => x(L, _.value)
357
357
  }, [
358
- w.icon ? (r(), d("i", {
358
+ _.icon ? (r(), d("i", {
359
359
  key: 0,
360
- class: B(["tab-icon", w.icon])
360
+ class: B(["tab-icon", _.icon])
361
361
  }, null, 2)) : R("", !0),
362
- ee(D(w.title) + " ", 1),
363
- w.afterIcon ? (r(), d("i", {
362
+ ee(D(_.title) + " ", 1),
363
+ _.afterIcon ? (r(), d("i", {
364
364
  key: 1,
365
- class: B(["iconfont-abl tab-icon-after", w.afterIcon])
365
+ class: B(["iconfont-abl tab-icon-after", _.afterIcon])
366
366
  }, null, 2)) : R("", !0)
367
367
  ], 10, Ul))), 128)),
368
368
  (N = i.value) != null && N.width ? (r(), d("div", {
@@ -394,7 +394,7 @@ const Fl = { class: "abl-tabs" }, Hl = ["id"], Wl = ["id"], Ul = ["onClick"], jl
394
394
  ref: c,
395
395
  class: "tab-content"
396
396
  }, [
397
- z(C.$slots, "default", {}, void 0, !0)
397
+ z(V.$slots, "default", {}, void 0, !0)
398
398
  ], 512)
399
399
  ]);
400
400
  };
@@ -706,7 +706,7 @@ const He = (e) => (ye("data-v-51a66775"), e = e(), be(), e), ln = ["onMouseenter
706
706
  const y = s.value.length - 1, S = s.value[y];
707
707
  S != null && S.top ? m.value = typeof S.top == "number" ? `${S.top}px` : S.top : m.value = typeof l.top == "number" ? `${l.top}px` : l.top, i.value[y] = !0, (S == null ? void 0 : S.duration) !== null ? (c.value = (S == null ? void 0 : S.duration) || l.duration, x(y)) : c.value = null;
708
708
  }
709
- const _ = (y, S) => {
709
+ const w = (y, S) => {
710
710
  let F;
711
711
  return typeof y == "string" ? F = {
712
712
  content: y,
@@ -719,35 +719,35 @@ const He = (e) => (ye("data-v-51a66775"), e = e(), be(), e), ln = ["onMouseenter
719
719
  }, F;
720
720
  };
721
721
  function M(y) {
722
- let S = _(y, "open");
722
+ let S = w(y, "open");
723
723
  return s.value.push(S), k(), S.id;
724
724
  }
725
- function C(y) {
726
- let S = _(y, "info");
725
+ function V(y) {
726
+ let S = w(y, "info");
727
727
  return s.value.push(S), k(), S.id;
728
728
  }
729
729
  function I(y) {
730
- let S = _(y, "success");
730
+ let S = w(y, "success");
731
731
  return s.value.push(S), k(), S.id;
732
732
  }
733
733
  function N(y) {
734
- let S = _(y, "error");
734
+ let S = w(y, "error");
735
735
  return s.value.push(S), k(), S.id;
736
736
  }
737
- function w(y) {
738
- let S = _(y, "warning");
737
+ function _(y) {
738
+ let S = w(y, "warning");
739
739
  return s.value.push(S), k(), S.id;
740
740
  }
741
741
  function L(y) {
742
- let S = _(y, "loading");
742
+ let S = w(y, "loading");
743
743
  return s.value.push(S), k(), S.id;
744
744
  }
745
745
  return n({
746
746
  open: M,
747
- info: C,
747
+ info: V,
748
748
  success: I,
749
749
  error: N,
750
- warning: w,
750
+ warning: _,
751
751
  loading: L,
752
752
  close: $
753
753
  }), (y, S) => (r(), d("div", {
@@ -1455,9 +1455,9 @@ const Qn = async (e, n, t) => {
1455
1455
  name: $,
1456
1456
  fn: k
1457
1457
  } = s[x], {
1458
- x: _,
1458
+ x: w,
1459
1459
  y: M,
1460
- data: C,
1460
+ data: V,
1461
1461
  reset: I
1462
1462
  } = await k({
1463
1463
  x: m,
@@ -1473,11 +1473,11 @@ const Qn = async (e, n, t) => {
1473
1473
  floating: n
1474
1474
  }
1475
1475
  });
1476
- m = _ ?? m, v = M ?? v, h = {
1476
+ m = w ?? m, v = M ?? v, h = {
1477
1477
  ...h,
1478
1478
  [$]: {
1479
1479
  ...h[$],
1480
- ...C
1480
+ ...V
1481
1481
  }
1482
1482
  }, I && p <= 50 && (p++, typeof I == "object" && (I.placement && (g = I.placement), I.rects && (f = I.rects === !0 ? await o.getElementRects({
1483
1483
  reference: e,
@@ -1517,11 +1517,11 @@ async function Yt(e, n) {
1517
1517
  boundary: f,
1518
1518
  rootBoundary: m,
1519
1519
  strategy: c
1520
- })), _ = v === "floating" ? {
1520
+ })), w = v === "floating" ? {
1521
1521
  ...o.floating,
1522
1522
  x: l,
1523
1523
  y: a
1524
- } : o.reference, M = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), C = await (i.isElement == null ? void 0 : i.isElement(M)) ? await (i.getScale == null ? void 0 : i.getScale(M)) || {
1524
+ } : o.reference, M = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), V = await (i.isElement == null ? void 0 : i.isElement(M)) ? await (i.getScale == null ? void 0 : i.getScale(M)) || {
1525
1525
  x: 1,
1526
1526
  y: 1
1527
1527
  } : {
@@ -1529,15 +1529,15 @@ async function Yt(e, n) {
1529
1529
  y: 1
1530
1530
  }, I = Ge(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1531
1531
  elements: s,
1532
- rect: _,
1532
+ rect: w,
1533
1533
  offsetParent: M,
1534
1534
  strategy: c
1535
- }) : _);
1535
+ }) : w);
1536
1536
  return {
1537
- top: (k.top - I.top + p.top) / C.y,
1538
- bottom: (I.bottom - k.bottom + p.bottom) / C.y,
1539
- left: (k.left - I.left + p.left) / C.x,
1540
- right: (I.right - k.right + p.right) / C.x
1537
+ top: (k.top - I.top + p.top) / V.y,
1538
+ bottom: (I.bottom - k.bottom + p.bottom) / V.y,
1539
+ left: (k.left - I.left + p.left) / V.x,
1540
+ right: (I.right - k.right + p.right) / V.x
1541
1541
  };
1542
1542
  }
1543
1543
  const ea = (e) => ({
@@ -1561,10 +1561,10 @@ const ea = (e) => ({
1561
1561
  const v = qt(m), g = {
1562
1562
  x: t,
1563
1563
  y: l
1564
- }, h = gt(a), p = ht(h), x = await o.getDimensions(f), $ = h === "y", k = $ ? "top" : "left", _ = $ ? "bottom" : "right", M = $ ? "clientHeight" : "clientWidth", C = i.reference[p] + i.reference[h] - g[h] - i.floating[p], I = g[h] - i.reference[h], N = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1565
- let w = N ? N[M] : 0;
1566
- (!w || !await (o.isElement == null ? void 0 : o.isElement(N))) && (w = s.floating[M] || i.floating[p]);
1567
- const L = C / 2 - I / 2, y = w / 2 - x[p] / 2 - 1, S = Ne(v[k], y), F = Ne(v[_], y), H = S, W = w - x[p] - F, q = w / 2 - x[p] / 2 + L, A = ct(H, q, W), X = !c.arrow && Ue(a) != null && q !== A && i.reference[p] / 2 - (q < H ? S : F) - x[p] / 2 < 0, Q = X ? q < H ? q - H : q - W : 0;
1564
+ }, h = gt(a), p = ht(h), x = await o.getDimensions(f), $ = h === "y", k = $ ? "top" : "left", w = $ ? "bottom" : "right", M = $ ? "clientHeight" : "clientWidth", V = i.reference[p] + i.reference[h] - g[h] - i.floating[p], I = g[h] - i.reference[h], N = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1565
+ let _ = N ? N[M] : 0;
1566
+ (!_ || !await (o.isElement == null ? void 0 : o.isElement(N))) && (_ = s.floating[M] || i.floating[p]);
1567
+ const L = V / 2 - I / 2, y = _ / 2 - x[p] / 2 - 1, S = Ne(v[k], y), F = Ne(v[w], y), H = S, W = _ - x[p] - F, q = _ / 2 - x[p] / 2 + L, A = ct(H, q, W), X = !c.arrow && Ue(a) != null && q !== A && i.reference[p] / 2 - (q < H ? S : F) - x[p] / 2 < 0, Q = X ? q < H ? q - H : q - W : 0;
1568
1568
  return {
1569
1569
  [h]: g[h] + Q,
1570
1570
  data: {
@@ -1601,18 +1601,18 @@ const ea = (e) => ({
1601
1601
  } = We(e, n);
1602
1602
  if ((t = i.arrow) != null && t.alignmentOffset)
1603
1603
  return {};
1604
- const k = Ae(a), _ = Ae(s) === s, M = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), C = g || (_ || !x ? [Ke(s)] : Kn(s));
1605
- !g && p !== "none" && C.push(...Jn(s, x, p, M));
1606
- const I = [s, ...C], N = await Yt(n, $), w = [];
1604
+ const k = Ae(a), w = Ae(s) === s, M = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), V = g || (w || !x ? [Ke(s)] : Kn(s));
1605
+ !g && p !== "none" && V.push(...Jn(s, x, p, M));
1606
+ const I = [s, ...V], N = await Yt(n, $), _ = [];
1607
1607
  let L = ((l = i.flip) == null ? void 0 : l.overflows) || [];
1608
- if (m && w.push(N[k]), v) {
1608
+ if (m && _.push(N[k]), v) {
1609
1609
  const H = Xn(a, o, M);
1610
- w.push(N[H[0]], N[H[1]]);
1610
+ _.push(N[H[0]], N[H[1]]);
1611
1611
  }
1612
1612
  if (L = [...L, {
1613
1613
  placement: a,
1614
- overflows: w
1615
- }], !w.every((H) => H <= 0)) {
1614
+ overflows: _
1615
+ }], !_.every((H) => H <= 0)) {
1616
1616
  var y, S;
1617
1617
  const H = (((y = i.flip) == null ? void 0 : y.index) || 0) + 1, W = I[H];
1618
1618
  if (W)
@@ -1715,11 +1715,11 @@ const Vt = function(e) {
1715
1715
  fn: ($) => {
1716
1716
  let {
1717
1717
  x: k,
1718
- y: _
1718
+ y: w
1719
1719
  } = $;
1720
1720
  return {
1721
1721
  x: k,
1722
- y: _
1722
+ y: w
1723
1723
  };
1724
1724
  }
1725
1725
  },
@@ -1730,12 +1730,12 @@ const Vt = function(e) {
1730
1730
  }, m = await Yt(n, c), v = tt(Ae(a)), g = jt(v);
1731
1731
  let h = f[g], p = f[v];
1732
1732
  if (i) {
1733
- const $ = g === "y" ? "top" : "left", k = g === "y" ? "bottom" : "right", _ = h + m[$], M = h - m[k];
1734
- h = ct(_, h, M);
1733
+ const $ = g === "y" ? "top" : "left", k = g === "y" ? "bottom" : "right", w = h + m[$], M = h - m[k];
1734
+ h = ct(w, h, M);
1735
1735
  }
1736
1736
  if (o) {
1737
- const $ = v === "y" ? "top" : "left", k = v === "y" ? "bottom" : "right", _ = p + m[$], M = p - m[k];
1738
- p = ct(_, p, M);
1737
+ const $ = v === "y" ? "top" : "left", k = v === "y" ? "bottom" : "right", w = p + m[$], M = p - m[k];
1738
+ p = ct(w, p, M);
1739
1739
  }
1740
1740
  const x = s.fn({
1741
1741
  ...n,
@@ -1890,8 +1890,8 @@ function Re(e, n, t, l) {
1890
1890
  const g = ue(i), h = l && _e(l) ? ue(l) : l;
1891
1891
  let p = g, x = p.frameElement;
1892
1892
  for (; x && l && h !== p; ) {
1893
- const $ = Me(x), k = x.getBoundingClientRect(), _ = ve(x), M = k.left + (x.clientLeft + parseFloat(_.paddingLeft)) * $.x, C = k.top + (x.clientTop + parseFloat(_.paddingTop)) * $.y;
1894
- c *= $.x, f *= $.y, m *= $.x, v *= $.y, c += M, f += C, p = ue(x), x = p.frameElement;
1893
+ const $ = Me(x), k = x.getBoundingClientRect(), w = ve(x), M = k.left + (x.clientLeft + parseFloat(w.paddingLeft)) * $.x, V = k.top + (x.clientTop + parseFloat(w.paddingTop)) * $.y;
1894
+ c *= $.x, f *= $.y, m *= $.x, v *= $.y, c += M, f += V, p = ue(x), x = p.frameElement;
1895
1895
  }
1896
1896
  }
1897
1897
  return Ge({
@@ -2117,12 +2117,12 @@ function wa(e, n) {
2117
2117
  } = e.getBoundingClientRect();
2118
2118
  if (s || n(), !v || !g)
2119
2119
  return;
2120
- const h = Ye(m), p = Ye(a.clientWidth - (f + v)), x = Ye(a.clientHeight - (m + g)), $ = Ye(f), _ = {
2120
+ const h = Ye(m), p = Ye(a.clientWidth - (f + v)), x = Ye(a.clientHeight - (m + g)), $ = Ye(f), w = {
2121
2121
  rootMargin: -h + "px " + -p + "px " + -x + "px " + -$ + "px",
2122
2122
  threshold: Be(0, Ne(1, c)) || 1
2123
2123
  };
2124
2124
  let M = !0;
2125
- function C(I) {
2125
+ function V(I) {
2126
2126
  const N = I[0].intersectionRatio;
2127
2127
  if (N !== c) {
2128
2128
  if (!M)
@@ -2134,13 +2134,13 @@ function wa(e, n) {
2134
2134
  M = !1;
2135
2135
  }
2136
2136
  try {
2137
- t = new IntersectionObserver(C, {
2138
- ..._,
2137
+ t = new IntersectionObserver(V, {
2138
+ ...w,
2139
2139
  // Handle <iframe>s
2140
2140
  root: a.ownerDocument
2141
2141
  });
2142
2142
  } catch {
2143
- t = new IntersectionObserver(C, _);
2143
+ t = new IntersectionObserver(V, w);
2144
2144
  }
2145
2145
  t.observe(e);
2146
2146
  }
@@ -2163,8 +2163,8 @@ function xa(e, n, t, l) {
2163
2163
  const v = f && s ? wa(f, t) : null;
2164
2164
  let g = -1, h = null;
2165
2165
  o && (h = new ResizeObserver((k) => {
2166
- let [_] = k;
2167
- _ && _.target === f && h && (h.unobserve(n), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
2166
+ let [w] = k;
2167
+ w && w.target === f && h && (h.unobserve(n), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
2168
2168
  var M;
2169
2169
  (M = h) == null || M.observe(n);
2170
2170
  })), t();
@@ -2177,8 +2177,8 @@ function xa(e, n, t, l) {
2177
2177
  }
2178
2178
  return t(), () => {
2179
2179
  var k;
2180
- m.forEach((_) => {
2181
- a && _.removeEventListener("scroll", t), i && _.removeEventListener("resize", t);
2180
+ m.forEach((w) => {
2181
+ a && w.removeEventListener("scroll", t), i && w.removeEventListener("resize", t);
2182
2182
  }), v == null || v(), (k = h) == null || k.disconnect(), h = null, c && cancelAnimationFrame(p);
2183
2183
  };
2184
2184
  }
@@ -2263,18 +2263,18 @@ const Ca = ["data-side"], ll = {
2263
2263
  middlewareData: p
2264
2264
  };
2265
2265
  let $ = null;
2266
- const k = b(!1), _ = b(), M = (A) => {
2267
- _.value = A && A.nextElementSibling || null;
2268
- }, C = () => {
2266
+ const k = b(!1), w = b(), M = (A) => {
2267
+ w.value = A && A.nextElementSibling || null;
2268
+ }, V = () => {
2269
2269
  k.value = !0;
2270
2270
  }, I = () => k.value = !1, N = () => {
2271
- _.value && fe(() => {
2272
- _.value.addEventListener("click", L);
2273
- const A = _.value.getBoundingClientRect();
2274
- l.widthAuto && (f.value = A != null && A.width ? (A == null ? void 0 : A.width) + "px" : "auto"), c.value && (_.value.addEventListener("mouseover", C, { capture: !0 }), _.value.addEventListener("mouseout", I, { capture: !0 }));
2271
+ w.value && fe(() => {
2272
+ w.value.addEventListener("click", L);
2273
+ const A = w.value.getBoundingClientRect();
2274
+ l.widthAuto && (f.value = A != null && A.width ? (A == null ? void 0 : A.width) + "px" : "auto"), c.value && (w.value.addEventListener("mouseover", V, { capture: !0 }), w.value.addEventListener("mouseout", I, { capture: !0 }));
2275
2275
  });
2276
- }, w = () => {
2277
- _.value && (_.value.removeEventListener("click", L), c.value && (_.value.removeEventListener("mouseover", C, { capture: !0 }), _.value.removeEventListener("mouseout", I, { capture: !0 })));
2276
+ }, _ = () => {
2277
+ w.value && (w.value.removeEventListener("click", L), c.value && (w.value.removeEventListener("mouseover", V, { capture: !0 }), w.value.removeEventListener("mouseout", I, { capture: !0 })));
2278
2278
  };
2279
2279
  ge(() => {
2280
2280
  t.value = !0, N(), vt(() => {
@@ -2282,13 +2282,13 @@ const Ca = ["data-side"], ll = {
2282
2282
  });
2283
2283
  }), le(() => m.value, (A) => {
2284
2284
  A && M(m.value);
2285
- }, { immediate: !0 }), le(_, (A, X) => {
2286
- X && w(), A && N();
2285
+ }, { immediate: !0 }), le(w, (A, X) => {
2286
+ X && _(), A && N();
2287
2287
  }, { immediate: !0 }), pt(() => {
2288
- w(), N();
2288
+ _(), N();
2289
2289
  });
2290
2290
  const L = (A) => {
2291
- l.shouldStopPropagation && A.stopPropagation(), C(), setTimeout(() => {
2291
+ l.shouldStopPropagation && A.stopPropagation(), V(), setTimeout(() => {
2292
2292
  document.addEventListener("mousedown", y, { once: !0 });
2293
2293
  }, 0);
2294
2294
  }, y = () => {
@@ -2302,9 +2302,9 @@ const Ca = ["data-side"], ll = {
2302
2302
  top: (A == null ? void 0 : A.y) + "px"
2303
2303
  };
2304
2304
  }), W = async () => {
2305
- if (!(!_.value || !v.value))
2305
+ if (!(!w.value || !v.value))
2306
2306
  try {
2307
- const A = await Sa(_.value, v.value, {
2307
+ const A = await Sa(w.value, v.value, {
2308
2308
  middleware: oe(i),
2309
2309
  placement: oe(o),
2310
2310
  strategy: oe(s)
@@ -2317,17 +2317,17 @@ const Ca = ["data-side"], ll = {
2317
2317
  }
2318
2318
  };
2319
2319
  async function q() {
2320
- if (!(!_.value || !v.value))
2320
+ if (!(!w.value || !v.value))
2321
2321
  try {
2322
- await fe(), $ = xa(_.value, v.value, W);
2322
+ await fe(), $ = xa(w.value, v.value, W);
2323
2323
  } catch (A) {
2324
2324
  console.error("Error updating position:", A);
2325
2325
  }
2326
2326
  }
2327
2327
  return Qe(() => {
2328
- w(), $ && $();
2328
+ _(), $ && $();
2329
2329
  }), n({
2330
- open: C,
2330
+ open: V,
2331
2331
  close: I
2332
2332
  }), (A, X) => (r(), d(K, null, [
2333
2333
  (r(), ie(ft(A.$slots.default), xe({
@@ -3101,17 +3101,17 @@ const so = /* @__PURE__ */ u("div", {
3101
3101
  }
3102
3102
  const Q = Math.max(A, X), P = Math.pow(10, Q);
3103
3103
  return W = Math.round(W * P), q = Math.round(q * P), (W + q) / P;
3104
- }, _ = (W) => {
3104
+ }, w = (W) => {
3105
3105
  i.value[W] = !0;
3106
3106
  }, M = (W) => {
3107
3107
  o.value = (o.value + 1) % a.value;
3108
- }, C = (W) => {
3108
+ }, V = (W) => {
3109
3109
  o.value = (o.value - 1 + a.value) % a.value;
3110
3110
  }, I = () => {
3111
3111
  s.value + l.zoomRate > l.maxScale ? s.value = l.maxScale : s.value = k(s.value, l.zoomRate);
3112
3112
  }, N = () => {
3113
3113
  s.value - l.zoomRate < l.minScale ? s.value = l.minScale : s.value = k(s.value, -l.zoomRate);
3114
- }, w = () => {
3114
+ }, _ = () => {
3115
3115
  g.value -= 90;
3116
3116
  }, L = () => {
3117
3117
  g.value += 90;
@@ -3122,11 +3122,11 @@ const so = /* @__PURE__ */ u("div", {
3122
3122
  return;
3123
3123
  const q = W.target, { top: A, left: X, right: Q, bottom: P } = q.getBoundingClientRect(), T = document.documentElement.clientWidth, Y = document.documentElement.clientHeight;
3124
3124
  c.value = W.clientX, f.value = W.clientY;
3125
- const V = m.value, U = v.value;
3125
+ const C = m.value, U = v.value;
3126
3126
  document.onmousemove = (j) => {
3127
- m.value = V + j.clientX - c.value, v.value = U + j.clientY - f.value;
3127
+ m.value = C + j.clientX - c.value, v.value = U + j.clientY - f.value;
3128
3128
  }, document.onmouseup = (j) => {
3129
- m.value > V + T - Q && (m.value = V + T - Q), m.value < V - X && (m.value = V - X), v.value > U + Y - P && (v.value = U + Y - P), v.value < U - A && (v.value = U - A), document.onmousemove = null;
3129
+ m.value > C + T - Q && (m.value = C + T - Q), m.value < C - X && (m.value = C - X), v.value > U + Y - P && (v.value = U + Y - P), v.value < U - A && (v.value = U - A), document.onmousemove = null;
3130
3130
  };
3131
3131
  }, F = (W) => {
3132
3132
  if (!l.drag)
@@ -3170,7 +3170,7 @@ const so = /* @__PURE__ */ u("div", {
3170
3170
  title: "",
3171
3171
  class: "abl-image-preview__img",
3172
3172
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${g.value}deg);`),
3173
- onLoad: (Q) => _(X),
3173
+ onLoad: (Q) => w(X),
3174
3174
  onMousedown: q[0] || (q[0] = J((Q) => S(Q), ["prevent"])),
3175
3175
  onClick: q[1] || (q[1] = J(() => {
3176
3176
  }, ["stop"]))
@@ -3200,7 +3200,7 @@ const so = /* @__PURE__ */ u("div", {
3200
3200
  alt: "",
3201
3201
  title: "",
3202
3202
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${g.value}deg);`),
3203
- onLoad: (Q) => _(X),
3203
+ onLoad: (Q) => w(X),
3204
3204
  onMousedown: q[2] || (q[2] = J((Q) => S(Q), ["prevent"])),
3205
3205
  onClick: q[3] || (q[3] = J(() => {
3206
3206
  }, ["stop"])),
@@ -3217,7 +3217,7 @@ const so = /* @__PURE__ */ u("div", {
3217
3217
  a.value > 1 ? (r(), d(K, { key: 0 }, [
3218
3218
  u("div", {
3219
3219
  class: "abl-image-preview__btn abl-image-preview__prev",
3220
- onClick: J(C, ["stop"])
3220
+ onClick: J(V, ["stop"])
3221
3221
  }, mo),
3222
3222
  u("div", {
3223
3223
  class: "abl-image-preview__btn abl-image-preview__next",
@@ -3244,7 +3244,7 @@ const so = /* @__PURE__ */ u("div", {
3244
3244
  }, Vo),
3245
3245
  u("i", {
3246
3246
  class: "abl-icon",
3247
- onClick: w
3247
+ onClick: _
3248
3248
  }, Lo),
3249
3249
  u("i", {
3250
3250
  class: "abl-icon",
@@ -3561,9 +3561,9 @@ const Uo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), jo = ["onClick"], q
3561
3561
  var I;
3562
3562
  const t = n, l = ze(), a = typeof window < "u" && typeof document < "u", i = e, o = b([]);
3563
3563
  (I = l.default()) == null || I.forEach((N) => {
3564
- const { props: w } = N;
3565
- if (w) {
3566
- const { title: L, disabled: y } = w;
3564
+ const { props: _ } = N;
3565
+ if (_) {
3566
+ const { title: L, disabled: y } = _;
3567
3567
  o.value.push({
3568
3568
  title: L,
3569
3569
  disabled: y
@@ -3581,18 +3581,18 @@ const Uo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), jo = ["onClick"], q
3581
3581
  immediate: !0
3582
3582
  }
3583
3583
  );
3584
- const p = (N, w) => {
3585
- if (!o.value[w].disabled) {
3586
- if (w === v.value && i.closeOnClickSelf) {
3584
+ const p = (N, _) => {
3585
+ if (!o.value[_].disabled) {
3586
+ if (_ === v.value && i.closeOnClickSelf) {
3587
3587
  $(), setTimeout(() => {
3588
- c.value.children[w].style.display = "none";
3588
+ c.value.children[_].style.display = "none";
3589
3589
  }, i.duration);
3590
3590
  return;
3591
3591
  }
3592
- g.value = !0, x(w);
3592
+ g.value = !0, x(_);
3593
3593
  }
3594
3594
  }, x = async (N) => {
3595
- await k(), f.value = !0, v.value = N, Array.from(c.value.children).map((w, L) => {
3595
+ await k(), f.value = !0, v.value = N, Array.from(c.value.children).map((_, L) => {
3596
3596
  L === N ? c.value.children[L].style.display = "block" : c.value.children[L].style.display = "none";
3597
3597
  }), t("open", v.value);
3598
3598
  }, $ = () => {
@@ -3603,23 +3603,23 @@ const Uo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), jo = ["onClick"], q
3603
3603
  var L;
3604
3604
  if (!a)
3605
3605
  return;
3606
- const { top: N, bottom: w } = (L = s == null ? void 0 : s.value) == null ? void 0 : L.getBoundingClientRect();
3607
- w > 0 && (m.value = w - 1);
3608
- }, _ = () => {
3606
+ const { top: N, bottom: _ } = (L = s == null ? void 0 : s.value) == null ? void 0 : L.getBoundingClientRect();
3607
+ _ > 0 && (m.value = _ - 1);
3608
+ }, w = () => {
3609
3609
  i.closeOnClickMask && $();
3610
3610
  }, M = Ie({
3611
3611
  ...Fe(i),
3612
3612
  onClose: $,
3613
3613
  current: v
3614
- }), C = Wo(() => {
3614
+ }), V = Wo(() => {
3615
3615
  g.value && $();
3616
3616
  });
3617
3617
  return $e(Go, M), ge(() => {
3618
3618
  k();
3619
- }), (N, w) => (r(), d("div", {
3619
+ }), (N, _) => (r(), d("div", {
3620
3620
  class: "abl-dropdown",
3621
3621
  ref_key: "root",
3622
- ref: C
3622
+ ref: V
3623
3623
  }, [
3624
3624
  u("div", {
3625
3625
  class: "abl-dropdown-menu",
@@ -3657,8 +3657,8 @@ const Uo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), jo = ["onClick"], q
3657
3657
  top: h(m.value)
3658
3658
  }
3659
3659
  ]),
3660
- onClick: _,
3661
- onTouchmove: w[1] || (w[1] = J(() => {
3660
+ onClick: w,
3661
+ onTouchmove: _[1] || (_[1] = J(() => {
3662
3662
  }, ["prevent"]))
3663
3663
  }, [
3664
3664
  pe(ke, { name: "fade-mask" }, {
@@ -3672,7 +3672,7 @@ const Uo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), jo = ["onClick"], q
3672
3672
  pe(ke, { name: "slide-top" }, {
3673
3673
  default: re(() => [
3674
3674
  Z(u("div", {
3675
- onTouchmove: w[0] || (w[0] = J(() => {
3675
+ onTouchmove: _[0] || (_[0] = J(() => {
3676
3676
  }, ["prevent"])),
3677
3677
  class: "abl-dropdown__content",
3678
3678
  ref_key: "childrenRef",
@@ -3847,8 +3847,8 @@ const fs = {
3847
3847
  setup(e, { expose: n, emit: t }) {
3848
3848
  const l = e, a = t, i = b(), o = b(l.autofocus), s = b(!0), c = b(l.type), f = b(!1), m = O({
3849
3849
  get: () => l.modelValue,
3850
- set: (_) => {
3851
- a("update:modelValue", _);
3850
+ set: (w) => {
3851
+ a("update:modelValue", w);
3852
3852
  }
3853
3853
  }), v = () => {
3854
3854
  o.value = !0, f.value = l.clearable && m.value, a("focus");
@@ -3856,8 +3856,8 @@ const fs = {
3856
3856
  o.value = !1, a("blur"), setTimeout(() => {
3857
3857
  f.value = !1;
3858
3858
  }, 500);
3859
- }, h = (_) => {
3860
- _.target.value ? f.value = l.clearable : f.value = !1, a("input", _.target.value);
3859
+ }, h = (w) => {
3860
+ w.target.value ? f.value = l.clearable : f.value = !1, a("input", w.target.value);
3861
3861
  }, p = () => {
3862
3862
  m.value = "", a("clear");
3863
3863
  }, x = () => {
@@ -3871,19 +3871,19 @@ const fs = {
3871
3871
  }
3872
3872
  return n({
3873
3873
  blur: () => {
3874
- var _;
3875
- return (_ = i.value) == null ? void 0 : _.blur();
3874
+ var w;
3875
+ return (w = i.value) == null ? void 0 : w.blur();
3876
3876
  },
3877
3877
  focus: () => {
3878
- var _;
3879
- return (_ = i.value) == null ? void 0 : _.focus();
3878
+ var w;
3879
+ return (w = i.value) == null ? void 0 : w.focus();
3880
3880
  },
3881
3881
  clear: p,
3882
3882
  input: () => i.value
3883
- }), (_, M) => (r(), d("div", {
3884
- class: B(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": _.$slots.addonBefore || e.addonBefore || _.$slots.addonAfter || e.addonAfter }])
3883
+ }), (w, M) => (r(), d("div", {
3884
+ class: B(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": w.$slots.addonBefore || e.addonBefore || w.$slots.addonAfter || e.addonAfter }])
3885
3885
  }, [
3886
- z(_.$slots, "addonBefore", {}, () => [
3886
+ z(w.$slots, "addonBefore", {}, () => [
3887
3887
  e.addonBefore ? (r(), d("span", fs, D(e.addonBefore), 1)) : R("", !0)
3888
3888
  ], !0),
3889
3889
  u("div", {
@@ -3891,8 +3891,8 @@ const fs = {
3891
3891
  onMouseenter: $,
3892
3892
  onMouseleave: k
3893
3893
  }, [
3894
- _.$slots.prefix || e.prefixIcon ? (r(), d("span", ps, [
3895
- z(_.$slots, "prefix", {}, void 0, !0),
3894
+ w.$slots.prefix || e.prefixIcon ? (r(), d("span", ps, [
3895
+ z(w.$slots, "prefix", {}, void 0, !0),
3896
3896
  e.prefixIcon ? (r(), d("i", {
3897
3897
  key: 0,
3898
3898
  class: B(["iconfont-abl", e.suffixIcon])
@@ -3901,7 +3901,7 @@ const fs = {
3901
3901
  Z(u("input", xe({
3902
3902
  ref_key: "inputRef",
3903
3903
  ref: i,
3904
- "onUpdate:modelValue": M[0] || (M[0] = (C) => m.value = C),
3904
+ "onUpdate:modelValue": M[0] || (M[0] = (V) => m.value = V),
3905
3905
  class: "abl-input__inner",
3906
3906
  type: c.value,
3907
3907
  placeholder: e.placeholder,
@@ -3910,10 +3910,7 @@ const fs = {
3910
3910
  disabled: e.disabled,
3911
3911
  onFocus: v,
3912
3912
  onBlur: g
3913
- }, _.$attrs, {
3914
- onInput: h,
3915
- onKeyup: M[1] || (M[1] = (...C) => _.onKeyUp && _.onKeyUp(...C))
3916
- }), null, 16, vs), [
3913
+ }, w.$attrs, { onInput: h }), null, 16, vs), [
3917
3914
  [hl, m.value]
3918
3915
  ]),
3919
3916
  e.showPassword || e.clearable ? (r(), d("span", ms, [
@@ -3936,20 +3933,20 @@ const fs = {
3936
3933
  [ne, f.value]
3937
3934
  ])
3938
3935
  ])) : R("", !0),
3939
- _.$slots.suffix || e.suffixIcon ? (r(), d("span", hs, [
3940
- z(_.$slots, "suffix", {}, void 0, !0),
3936
+ w.$slots.suffix || e.suffixIcon ? (r(), d("span", hs, [
3937
+ z(w.$slots, "suffix", {}, void 0, !0),
3941
3938
  e.suffixIcon ? (r(), d("i", {
3942
3939
  key: 0,
3943
3940
  class: B(["iconfont-abl", e.suffixIcon])
3944
3941
  }, null, 2)) : R("", !0)
3945
3942
  ])) : R("", !0)
3946
3943
  ], 34),
3947
- z(_.$slots, "addonAfter", {}, () => [
3944
+ z(w.$slots, "addonAfter", {}, () => [
3948
3945
  e.addonAfter ? (r(), d("span", gs, D(e.addonAfter), 1)) : R("", !0)
3949
3946
  ], !0)
3950
3947
  ], 2));
3951
3948
  }
3952
- }), bs = /* @__PURE__ */ G(ys, [["__scopeId", "data-v-ad4e260c"]]);
3949
+ }), bs = /* @__PURE__ */ G(ys, [["__scopeId", "data-v-c0b9aaef"]]);
3953
3950
  const ot = (e) => (ye("data-v-d27e2131"), e = e(), be(), e), _s = { class: "abl-spin-box" }, ws = {
3954
3951
  key: 0,
3955
3952
  class: "abl-spin-logo"
@@ -4114,37 +4111,37 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Is = { class: "abl-
4114
4111
  function m() {
4115
4112
  l.value = [...t.fileList], l.value.length > t.maxCount && l.value.splice(t.maxCount), t.disabled ? a.value = l.value.length : l.value.length < t.maxCount ? a.value = t.fileList.length + 1 : a.value = t.maxCount;
4116
4113
  }
4117
- const v = (w) => {
4114
+ const v = (_) => {
4118
4115
  const L = /\.(jpg|jpeg|png|gif|webp)$/i, y = /^data:image/;
4119
- return L.test(w) || y.test(w);
4120
- }, g = (w) => {
4121
- c.value = !0, f.value = w;
4122
- }, h = (w, L) => {
4116
+ return L.test(_) || y.test(_);
4117
+ }, g = (_) => {
4118
+ c.value = !0, f.value = _;
4119
+ }, h = (_, L) => {
4123
4120
  var S;
4124
- const y = (S = w.dataTransfer) == null ? void 0 : S.files;
4121
+ const y = (S = _.dataTransfer) == null ? void 0 : S.files;
4125
4122
  if (y != null && y.length) {
4126
4123
  const F = y.length;
4127
4124
  for (let H = 0; H < F && L + H <= t.maxCount; H++)
4128
4125
  k(y[H], L + H);
4129
4126
  o.value[L].value = "";
4130
4127
  }
4131
- }, p = (w) => {
4132
- o.value[w].click();
4133
- }, x = (w, L) => {
4134
- const y = w.target.files;
4128
+ }, p = (_) => {
4129
+ o.value[_].click();
4130
+ }, x = (_, L) => {
4131
+ const y = _.target.files;
4135
4132
  if (y != null && y.length) {
4136
4133
  const S = y.length;
4137
4134
  for (let F = 0; F < S && L + F < t.maxCount; F++)
4138
4135
  k(y[F], L + F);
4139
4136
  o.value[L].value = "";
4140
4137
  }
4141
- }, $ = n, k = function(w, L) {
4142
- t.beforeUpload(w) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (i.value[L] = !0, _(w, L)), t.uploadMode === "custom" && (i.value[L] = !0, M(w, L))) : fe(() => {
4138
+ }, $ = n, k = function(_, L) {
4139
+ t.beforeUpload(_) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (i.value[L] = !0, w(_, L)), t.uploadMode === "custom" && (i.value[L] = !0, M(_, L))) : fe(() => {
4143
4140
  N(t.errorInfo);
4144
4141
  });
4145
- }, _ = (w, L) => {
4142
+ }, w = (_, L) => {
4146
4143
  var y = new FileReader();
4147
- y.readAsDataURL(w), y.onloadstart = function(S) {
4144
+ y.readAsDataURL(_), y.onloadstart = function(S) {
4148
4145
  console.log("开始读取 onloadstart:", S);
4149
4146
  }, y.onabort = function(S) {
4150
4147
  console.log("读取中止 onabort:", S);
@@ -4155,35 +4152,35 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Is = { class: "abl-
4155
4152
  }, y.onload = function(S) {
4156
4153
  var F, H;
4157
4154
  t.isUrl ? l.value.push({
4158
- name: w.name,
4155
+ name: _.name,
4159
4156
  url: (F = S.target) == null ? void 0 : F.result,
4160
- type: w.type
4157
+ type: _.type
4161
4158
  }) : l.value.push((H = S.target) == null ? void 0 : H.result), $("update:fileList", l.value), $("change", l.value);
4162
4159
  }, y.onloadend = function(S) {
4163
4160
  console.log("读取结束 onloadend:", S);
4164
4161
  };
4165
- }, M = (w, L) => {
4166
- t.customRequest(w).then((y) => {
4162
+ }, M = (_, L) => {
4163
+ t.customRequest(_).then((y) => {
4167
4164
  y && l.value.push(y), $("update:fileList", l.value), $("change", l.value);
4168
4165
  }).catch((y) => {
4169
4166
  t.maxCount > 1 && (a.value = l.value.length + 1), N(y);
4170
4167
  }).finally(() => {
4171
4168
  i.value[L] = !1;
4172
4169
  });
4173
- }, C = (w, L) => {
4170
+ }, V = (_, L) => {
4174
4171
  if (v(L)) {
4175
- const y = l.value.slice(0, w).filter((S) => !v(t.isUrl ? S.url : S));
4176
- s.value[w - y.length].onPreview();
4172
+ const y = l.value.slice(0, _).filter((S) => !v(t.isUrl ? S.url : S));
4173
+ s.value[_ - y.length].onPreview();
4177
4174
  } else
4178
4175
  g(L);
4179
- }, I = (w) => {
4176
+ }, I = (_) => {
4180
4177
  l.value.length < t.maxCount && a.value--;
4181
- const L = l.value.splice(w, 1);
4178
+ const L = l.value.splice(_, 1);
4182
4179
  $("remove", L), $("update:fileList", l.value), $("change", l.value);
4183
- }, N = (w) => {
4184
- Ht.error(w);
4180
+ }, N = (_) => {
4181
+ Ht.error(_);
4185
4182
  };
4186
- return (w, L) => (r(), d("div", Is, [
4183
+ return (_, L) => (r(), d("div", Is, [
4187
4184
  (r(!0), d(K, null, ae(a.value, (y) => (r(), d("div", {
4188
4185
  class: "abl-upload-item",
4189
4186
  key: y
@@ -4213,7 +4210,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Is = { class: "abl-
4213
4210
  u("div", null, [
4214
4211
  Es,
4215
4212
  e.tip ? (r(), d("p", Ms, [
4216
- z(w.$slots, "default", {}, () => [
4213
+ z(_.$slots, "default", {}, () => [
4217
4214
  ee(D(e.tip), 1)
4218
4215
  ], !0)
4219
4216
  ])) : R("", !0)
@@ -4252,7 +4249,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Is = { class: "abl-
4252
4249
  u("a", {
4253
4250
  class: "m-icon",
4254
4251
  title: "preview",
4255
- onClick: (S) => C(y - 1, e.isUrl ? l.value[y - 1].url : l.value[y - 1])
4252
+ onClick: (S) => V(y - 1, e.isUrl ? l.value[y - 1].url : l.value[y - 1])
4256
4253
  }, Ws, 8, Fs),
4257
4254
  Z(u("a", {
4258
4255
  class: "m-icon",
@@ -4385,28 +4382,27 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4385
4382
  }), m = b(""), v = b(), g = b(null), h = b(""), p = b(), x = b(o.modelValue), $ = b(!1), k = O(() => {
4386
4383
  var T;
4387
4384
  return { width: (((T = v.value) == null ? void 0 : T.getBoundingClientRect().width) || 0) + "px" };
4388
- }), _ = Ie({
4385
+ }), w = Ie({
4389
4386
  list: o == null ? void 0 : o.options
4390
- }), M = b(!1), C = b(
4387
+ }), M = b(!1), V = b(
4391
4388
  o.search && h.value === "focus" && M.value
4392
- ), I = O(() => o.disabled), N = b(""), w = b([]), L = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], y = (P, T) => o.isToLowerCase && P.toLowerCase() == T.toLowerCase() || P == T, S = () => {
4389
+ ), I = O(() => o.disabled), N = b(""), _ = b([]), L = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], y = (P, T) => o.isToLowerCase && P.toLowerCase() == T.toLowerCase() || P == T, S = () => {
4393
4390
  var P;
4394
- console.log(l.default());
4395
4391
  try {
4396
- l.default && (_.list = [], (P = l.default()) == null || P.map((T) => {
4392
+ l.default && (w.list = [], (P = l.default()) == null || P.map((T) => {
4397
4393
  var Y;
4398
- T.props ? (_.list.push({
4394
+ T.props ? (w.list.push({
4399
4395
  ...T.props
4400
- }), y(x.value, T.props.value) && w.value.push({
4396
+ }), y(x.value, T.props.value) && _.value.push({
4401
4397
  ...T.props
4402
- })) : ((Y = T == null ? void 0 : T.children) == null ? void 0 : Y.length) > 0 && T.children.map((V) => {
4403
- _.list.push({
4404
- ...V.props
4405
- }), y(x.value, V.props.value) && (w.value.splice(0, w.value.length), w.value.push({
4406
- ...V.props
4398
+ })) : ((Y = T == null ? void 0 : T.children) == null ? void 0 : Y.length) > 0 && T.children.map((C) => {
4399
+ w.list.push({
4400
+ ...C.props
4401
+ }), y(x.value, C.props.value) && (_.value.splice(0, _.value.length), _.value.push({
4402
+ ...C.props
4407
4403
  }));
4408
4404
  });
4409
- }), s = _.list);
4405
+ }), s = w.list);
4410
4406
  } catch (T) {
4411
4407
  console.log(T);
4412
4408
  }
@@ -4421,56 +4417,56 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4421
4417
  deep: !0
4422
4418
  });
4423
4419
  const F = (P) => {
4424
- if (!C.value)
4420
+ if (!V.value)
4425
4421
  N.value = "";
4426
4422
  else {
4427
4423
  const T = s.filter((Y) => {
4428
- let V = P.target.value.toLowerCase();
4429
- return Y.name.toLowerCase().includes(V);
4424
+ let C = P.target.value.toLowerCase();
4425
+ return Y.name.toLowerCase().includes(C);
4430
4426
  });
4431
- _.list = T;
4427
+ w.list = T;
4432
4428
  }
4433
4429
  }, H = (P) => {
4434
4430
  o.disabled || (M.value = !0, h.value === "focus" ? h.value = "blur" : h.value = "focus", setTimeout(() => {
4435
4431
  const T = document.querySelector("#abl-select"), Y = T.querySelector(".abl-options-item-active");
4436
4432
  if (!Y)
4437
4433
  return;
4438
- const V = T.getBoundingClientRect(), U = Y.getBoundingClientRect();
4439
- U.top >= V.top && U.bottom <= V.bottom || (T.scrollTop = Y.offsetTop - T.offsetHeight / 2);
4434
+ const C = T.getBoundingClientRect(), U = Y.getBoundingClientRect();
4435
+ U.top >= C.top && U.bottom <= C.bottom || (T.scrollTop = Y.offsetTop - T.offsetHeight / 2);
4440
4436
  }, 100));
4441
4437
  }, W = (P, T) => {
4442
- var V;
4438
+ var C;
4443
4439
  if (o.disabled)
4444
4440
  return;
4445
4441
  if (P.name == m.value) {
4446
4442
  p.value.close();
4447
4443
  return;
4448
4444
  }
4449
- M.value = !1, T.stopPropagation(), (V = g.value) == null || V.blur();
4445
+ M.value = !1, T.stopPropagation(), (C = g.value) == null || C.blur();
4450
4446
  let Y = null;
4451
- h.value = "blur", w.value[0] && w.value[0].value === P.value ? w.value.shift() : w.value[0] = P, Y = P.value, c("update:modelValue", Y), c("change", Y, P, $t(w.value)), p.value.close();
4447
+ h.value = "blur", _.value[0] && _.value[0].value === P.value ? _.value.shift() : _.value[0] = P, Y = P.value, c("update:modelValue", Y), c("change", Y, P, $t(_.value)), p.value.close();
4452
4448
  };
4453
4449
  $e("handleSlotClick", W);
4454
4450
  const q = () => {
4455
4451
  var P;
4456
- (P = g.value) == null || P.focus(), !C.value && h.value === "focus" && w.value.length > 0 && (w.value.pop(), c("change", $t(w.value)));
4452
+ (P = g.value) == null || P.focus(), !V.value && h.value === "focus" && _.value.length > 0 && (_.value.pop(), c("change", $t(_.value)));
4457
4453
  }, A = () => {
4458
4454
  $.value = !1, h.value = "blur", N.value = "", setTimeout(() => {
4459
4455
  p.value.close();
4460
4456
  }, 150);
4461
4457
  }, X = () => {
4462
- _.list = s, $.value = !0;
4458
+ w.list = s, $.value = !0;
4463
4459
  }, Q = () => {
4464
- c("update:modelValue", ""), c("change", ""), w.value.splice(0, w.value.length);
4460
+ c("update:modelValue", ""), c("change", ""), _.value.splice(0, _.value.length);
4465
4461
  };
4466
4462
  return le(
4467
4463
  M,
4468
4464
  (P) => {
4469
- C.value = o.search && h.value === "focus" && P;
4465
+ V.value = o.search && h.value === "focus" && P;
4470
4466
  },
4471
4467
  { immediate: !0, deep: !0 }
4472
4468
  ), le(
4473
- () => w.value,
4469
+ () => _.value,
4474
4470
  (P) => {
4475
4471
  P.length == 0 ? m.value = "" : m.value = P.map((T) => T == null ? void 0 : T.name).join(",");
4476
4472
  },
@@ -4481,17 +4477,17 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4481
4477
  T.name = T[o.parames.name], T.value = T[o.parames.value];
4482
4478
  }), s = o == null ? void 0 : o.options, o == null || o.options.map((T) => {
4483
4479
  T.value == o.modelValue && (T.selected = !0);
4484
- }), _.list = o == null ? void 0 : o.options, w.value = [], w.value = (P = o == null ? void 0 : o.options) == null ? void 0 : P.filter((T) => T.selected === !0);
4480
+ }), w.list = o == null ? void 0 : o.options, _.value = [], _.value = (P = o == null ? void 0 : o.options) == null ? void 0 : P.filter((T) => T.selected === !0);
4485
4481
  }, { immediate: !0, deep: !0 }), ge(() => {
4486
4482
  le(h, (P) => {
4487
4483
  var T, Y;
4488
- P === "focus" ? (T = g.value) == null || T.focus() : (Y = g.value) == null || Y.blur(), C.value = o.search && P === "focus" && M;
4484
+ P === "focus" ? (T = g.value) == null || T.focus() : (Y = g.value) == null || Y.blur(), V.value = o.search && P === "focus" && M;
4489
4485
  }), document.body.addEventListener("click", () => {
4490
4486
  h.value = "blur";
4491
4487
  });
4492
4488
  }), le(() => o.modelValue, async () => {
4493
- x.value = o.modelValue, x.value == "" && (m.value = "", w.value.splice(0, 1)), _.list.map((P) => {
4494
- y(P.value, o.modelValue) && (w.value.splice(0, w.value.length), w.value.push({
4489
+ x.value = o.modelValue, x.value == "" && (m.value = "", _.value.splice(0, 1)), w.list.map((P) => {
4490
+ y(P.value, o.modelValue) && (_.value.splice(0, _.value.length), _.value.push({
4495
4491
  ...P
4496
4492
  }));
4497
4493
  });
@@ -4519,8 +4515,8 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4519
4515
  style: E(k.value),
4520
4516
  id: "abl-select"
4521
4517
  }, [
4522
- _.list.length > 0 ? (r(!0), d(K, { key: 0 }, ae(_.list, (Y, V) => (r(), d("div", {
4523
- class: B(["abl-select-options-item", w.value.some((U) => U.value === Y.value) ? "abl-options-item-active" : ""]),
4518
+ w.list.length > 0 ? (r(!0), d(K, { key: 0 }, ae(w.list, (Y, C) => (r(), d("div", {
4519
+ class: B(["abl-select-options-item", _.value.some((U) => U.value === Y.value) ? "abl-options-item-active" : ""]),
4524
4520
  key: Y.name + Y.value,
4525
4521
  onMousedown: (U) => W(Y, U)
4526
4522
  }, [
@@ -4560,13 +4556,13 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4560
4556
  a.value ? z(P.$slots, "ablname", xt(xe({ key: 0 }, { name: m.value })), void 0, !0) : (r(), d("span", Zs, D(m.value), 1))
4561
4557
  ])
4562
4558
  ], 512), [
4563
- [ne, w.value.length && !C.value]
4559
+ [ne, _.value.length && !V.value]
4564
4560
  ]),
4565
4561
  e.search ? Z((r(), d("input", {
4566
4562
  key: 0,
4567
4563
  onBlur: T[0] || (T[0] = (Y) => A()),
4568
4564
  type: "text",
4569
- class: B(["abl-select-input-focus", C.value ? "abl-select-input-search" : ""]),
4565
+ class: B(["abl-select-input-focus", V.value ? "abl-select-input-search" : ""]),
4570
4566
  ref_key: "inputFocus",
4571
4567
  ref: g,
4572
4568
  "onUpdate:modelValue": T[1] || (T[1] = (Y) => N.value = Y),
@@ -4581,7 +4577,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4581
4577
  class: "abl-select-placeholder",
4582
4578
  style: E({ "line-height": e.height })
4583
4579
  }, D(e.placeholder), 5)), [
4584
- [ne, !w.value.length]
4580
+ [ne, !_.value.length]
4585
4581
  ])
4586
4582
  ], 4),
4587
4583
  u("span", {
@@ -4607,7 +4603,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4607
4603
  }, 16, ["showArrow", "shouldStopPropagation", "disabled", "zIndex", "popperClass", "isFixed"])
4608
4604
  ], 512));
4609
4605
  }
4610
- }, Et = /* @__PURE__ */ G(oi, [["__scopeId", "data-v-bf6aeb09"]]);
4606
+ }, Et = /* @__PURE__ */ G(oi, [["__scopeId", "data-v-b34cd7e2"]]);
4611
4607
  const si = {
4612
4608
  key: 0,
4613
4609
  class: "abl-header"
@@ -4683,19 +4679,19 @@ const si = {
4683
4679
  }
4684
4680
  n.bordered ? fe(() => {
4685
4681
  s.value.forEach(($, k) => {
4686
- $.forEach((_) => {
4687
- const M = Array.from(_.element.children), C = M[0];
4688
- C.colSpan = 1, v(C, n.labelStyle), v(C, JSON.parse(_.element.dataset.labelStyle));
4682
+ $.forEach((w) => {
4683
+ const M = Array.from(w.element.children), V = M[0];
4684
+ V.colSpan = 1, v(V, n.labelStyle), v(V, JSON.parse(w.element.dataset.labelStyle));
4689
4685
  const I = M[1];
4690
- I.colSpan = _.span * 2 - 1, v(I, n.contentStyle), v(I, JSON.parse(_.element.dataset.contentStyle)), o.value[k].appendChild(C), o.value[k].appendChild(I);
4686
+ I.colSpan = w.span * 2 - 1, v(I, n.contentStyle), v(I, JSON.parse(w.element.dataset.contentStyle)), o.value[k].appendChild(V), o.value[k].appendChild(I);
4691
4687
  });
4692
4688
  });
4693
4689
  }) : fe(() => {
4694
4690
  g.forEach(($, k) => {
4695
- const _ = Array.from($.children), M = _[0];
4691
+ const w = Array.from($.children), M = w[0];
4696
4692
  v(M, n.labelStyle), v(M, JSON.parse($.dataset.labelStyle));
4697
- const C = _[1];
4698
- v(C, n.contentStyle), v(C, JSON.parse($.dataset.contentStyle)), i.value[k].appendChild($);
4693
+ const V = w[1];
4694
+ v(V, n.contentStyle), v(V, JSON.parse($.dataset.contentStyle)), i.value[k].appendChild($);
4699
4695
  });
4700
4696
  });
4701
4697
  }
@@ -4945,43 +4941,43 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4945
4941
  const s = b(), c = b(), f = $i();
4946
4942
  b(), b(), b([]);
4947
4943
  const m = O(() => {
4948
- const { marks: V, max: U, min: j } = t;
4949
- return Object.keys(V).map(parseFloat).sort((ce, me) => ce - me).filter((ce) => ce >= +j && ce <= +U);
4944
+ const { marks: C, max: U, min: j } = t;
4945
+ return Object.keys(C).map(parseFloat).sort((ce, me) => ce - me).filter((ce) => ce >= +j && ce <= +U);
4950
4946
  }), v = O(() => Number(t.max) - Number(t.min)), g = b([]), h = b(), p = O(() => {
4951
- const V = "abl-range";
4947
+ const C = "abl-range";
4952
4948
  return {
4953
- [V]: !0,
4954
- [`${V}-disabled`]: t.disabled,
4955
- [`${V}-vertical`]: t.vertical,
4956
- [`${V}-show-number`]: !t.hiddenRange
4949
+ [C]: !0,
4950
+ [`${C}-disabled`]: t.disabled,
4951
+ [`${C}-vertical`]: t.vertical,
4952
+ [`${C}-show-number`]: !t.hiddenRange
4957
4953
  };
4958
4954
  }), x = O(() => {
4959
- const V = "abl-range-container";
4955
+ const C = "abl-range-container";
4960
4956
  return {
4961
- [V]: !0,
4962
- [`${V}-vertical`]: t.vertical
4957
+ [C]: !0,
4958
+ [`${C}-vertical`]: t.vertical
4963
4959
  };
4964
4960
  }), $ = O(() => ({
4965
4961
  background: t.inactiveColor
4966
4962
  })), k = O(() => ({
4967
4963
  borderColor: t.buttonColor
4968
- })), _ = b(!1), M = (V) => !!t.range && Array.isArray(V), C = () => {
4969
- const { modelValue: V, min: U } = t;
4970
- return M(V) ? `${(V[1] - V[0]) * 100 / v.value}%` : `${(V - Number(U)) * 100 / v.value}%`;
4964
+ })), w = b(!1), M = (C) => !!t.range && Array.isArray(C), V = () => {
4965
+ const { modelValue: C, min: U } = t;
4966
+ return M(C) ? `${(C[1] - C[0]) * 100 / v.value}%` : `${(C - Number(U)) * 100 / v.value}%`;
4971
4967
  }, I = () => {
4972
- const { modelValue: V, min: U } = t;
4973
- return M(V) ? `${(V[0] - Number(U)) * 100 / v.value}%` : "0%";
4968
+ const { modelValue: C, min: U } = t;
4969
+ return M(C) ? `${(C[0] - Number(U)) * 100 / v.value}%` : "0%";
4974
4970
  }, N = O(() => t.vertical ? {
4975
- height: C(),
4971
+ height: V(),
4976
4972
  top: I(),
4977
4973
  background: t.activeColor,
4978
4974
  transition: c.value ? "none" : void 0
4979
4975
  } : {
4980
- width: C(),
4976
+ width: V(),
4981
4977
  left: I(),
4982
4978
  background: t.activeColor,
4983
4979
  transition: c.value ? "none" : void 0
4984
- }), w = (V) => {
4980
+ }), _ = (C) => {
4985
4981
  const U = "abl-range-mark", { modelValue: j, max: te, min: de } = t;
4986
4982
  let ce = Number(de), me = Number(te);
4987
4983
  if (t.range) {
@@ -4989,20 +4985,20 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4989
4985
  ce = Ee, me = Pe;
4990
4986
  } else
4991
4987
  me = j;
4992
- let Oe = V <= +me && V >= ce;
4988
+ let Oe = C <= +me && C >= ce;
4993
4989
  return {
4994
4990
  [`${U}-text`]: !0,
4995
4991
  [`${U}-text-active`]: Oe
4996
4992
  };
4997
- }, L = (V) => {
4993
+ }, L = (C) => {
4998
4994
  const { min: U, vertical: j } = t;
4999
4995
  let te = {
5000
- left: `${(V - Number(U)) / v.value * 100}%`
4996
+ left: `${(C - Number(U)) / v.value * 100}%`
5001
4997
  };
5002
4998
  return j && (te = {
5003
- top: `${(V - Number(U)) / v.value * 100}%`
4999
+ top: `${(C - Number(U)) / v.value * 100}%`
5004
5000
  }), te;
5005
- }, y = (V) => {
5001
+ }, y = (C) => {
5006
5002
  const { modelValue: U, max: j, min: te } = t;
5007
5003
  let de = Number(te), ce = Number(j);
5008
5004
  if (t.range) {
@@ -5010,20 +5006,20 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5010
5006
  de = Ee, ce = Pe;
5011
5007
  }
5012
5008
  return {
5013
- background: V <= ce && V >= de ? t.activeColor : t.inactiveColor
5009
+ background: C <= ce && C >= de ? t.activeColor : t.inactiveColor
5014
5010
  };
5015
- }, S = (V) => {
5011
+ }, S = (C) => {
5016
5012
  const { min: U, max: j, step: te } = t;
5017
- return V = Math.max(+U, Math.min(V, +j)), Math.round(V / +te) * +te;
5018
- }, F = (V, U) => JSON.stringify(V) === JSON.stringify(U), H = (V) => V[0] > V[1] ? V.slice(0).reverse() : V, W = (V, U) => {
5019
- M(V) ? V = H(V).map(S) : V = S(V), F(V, t.modelValue) || l("update:modelValue", V), U && !F(V, i) && l("change", V);
5020
- }, q = (V) => {
5013
+ return C = Math.max(+U, Math.min(C, +j)), Math.round(C / +te) * +te;
5014
+ }, F = (C, U) => JSON.stringify(C) === JSON.stringify(U), H = (C) => C[0] > C[1] ? C.slice(0).reverse() : C, W = (C, U) => {
5015
+ M(C) ? C = H(C).map(S) : C = S(C), F(C, t.modelValue) || l("update:modelValue", C), U && !F(C, i) && l("change", C);
5016
+ }, q = (C) => {
5021
5017
  if (t.disabled || c.value === "draging")
5022
5018
  return;
5023
- _.value = !0;
5019
+ w.value = !0;
5024
5020
  const { min: U, modelValue: j } = t, te = Nt(s);
5025
- let de = V.clientX - te.left, ce = te.width;
5026
- t.vertical && (de = V.clientY - te.top, ce = te.height);
5021
+ let de = C.clientX - te.left, ce = te.width;
5022
+ t.vertical && (de = C.clientY - te.top, ce = te.height);
5027
5023
  const me = Number(U) + de / ce * v.value;
5028
5024
  if (M(j)) {
5029
5025
  const [Oe, Ee] = j, Pe = (Oe + Ee) / 2;
@@ -5034,24 +5030,24 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5034
5030
  document.addEventListener("mousedown", A, { once: !0 });
5035
5031
  });
5036
5032
  }, A = () => {
5037
- _.value = !1;
5038
- }, X = (V) => {
5039
- t.disabled || (f.start(V), o = t.modelValue, M(o) ? i = o.map(S) : i = S(o), c.value = "start");
5040
- }, Q = (V) => {
5033
+ w.value = !1;
5034
+ }, X = (C) => {
5035
+ t.disabled || (f.start(C), o = t.modelValue, M(o) ? i = o.map(S) : i = S(o), c.value = "start");
5036
+ }, Q = (C) => {
5041
5037
  if (t.disabled)
5042
5038
  return;
5043
- c.value === "start" && l("dragStart"), f.move(V), c.value = "draging", V.type.startsWith("touch") && (_.value = !0);
5039
+ c.value === "start" && l("dragStart"), f.move(C), c.value = "draging", C.type.startsWith("touch") && (w.value = !0);
5044
5040
  const U = Nt(s);
5045
5041
  let j = f.deltaX.value, te = U.width, de = j / te * v.value;
5046
5042
  t.vertical && (j = f.deltaY.value, te = U.height, de = j / te * v.value), M(i) ? o[a.value] = i[a.value] + de : o = i + de, W(o);
5047
- }, P = (V) => {
5048
- t.disabled || c.value === "draging" && (W(o, !0), l("dragEnd"), window.removeEventListener("mousemove", Q), window.removeEventListener("touchmove", Q), window.removeEventListener("mouseup", P), window.removeEventListener("touchend", P), V.type.startsWith("touch") && (_.value = !1), setTimeout(() => {
5043
+ }, P = (C) => {
5044
+ t.disabled || c.value === "draging" && (W(o, !0), l("dragEnd"), window.removeEventListener("mousemove", Q), window.removeEventListener("touchmove", Q), window.removeEventListener("mouseup", P), window.removeEventListener("touchend", P), C.type.startsWith("touch") && (w.value = !1), setTimeout(() => {
5049
5045
  c.value = "";
5050
5046
  }));
5051
- }, T = (V, U) => {
5052
- t.disabled || (X(V), window.addEventListener("mousemove", Q), window.addEventListener("touchmove", Q), window.addEventListener("mouseup", P), window.addEventListener("touchend", P));
5053
- }, Y = (V) => Array.isArray(t.modelValue) && typeof V == "number" ? t.modelValue[V] : Number(t.modelValue);
5054
- return (V, U) => (r(), d("div", {
5047
+ }, T = (C, U) => {
5048
+ t.disabled || (X(C), window.addEventListener("mousemove", Q), window.addEventListener("touchmove", Q), window.addEventListener("mouseup", P), window.addEventListener("touchend", P));
5049
+ }, Y = (C) => Array.isArray(t.modelValue) && typeof C == "number" ? t.modelValue[C] : Number(t.modelValue);
5050
+ return (C, U) => (r(), d("div", {
5055
5051
  class: B(x.value)
5056
5052
  }, [
5057
5053
  e.hiddenRange ? R("", !0) : (r(), d("div", Si, D(+e.min), 1)),
@@ -5065,7 +5061,7 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5065
5061
  m.value.length > 0 ? (r(), d("div", Ci, [
5066
5062
  (r(!0), d(K, null, ae(m.value, (j) => (r(), d("span", {
5067
5063
  key: j,
5068
- class: B(w(j)),
5064
+ class: B(_(j)),
5069
5065
  style: E(L(j))
5070
5066
  }, [
5071
5067
  ee(D(j) + " ", 1),
@@ -5099,14 +5095,14 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5099
5095
  typeof j == "number" && (a.value = j), T(te);
5100
5096
  }
5101
5097
  }, [
5102
- V.$slots.button ? z(V.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5098
+ C.$slots.button ? z(C.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5103
5099
  key: 1,
5104
5100
  class: "abl-range-button",
5105
5101
  style: E(k.value)
5106
5102
  }, [
5107
5103
  e.showTooltip ? (r(), d("div", {
5108
5104
  key: 0,
5109
- class: B(["abl-handle-tooltip", [{ "display-tooltip": a.value === j && _.value }]])
5105
+ class: B(["abl-handle-tooltip", [{ "display-tooltip": a.value === j && w.value }]])
5110
5106
  }, [
5111
5107
  ee(D(Y(j)) + " ", 1),
5112
5108
  Bi
@@ -5130,14 +5126,14 @@ const ul = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5130
5126
  T(j);
5131
5127
  })
5132
5128
  }, [
5133
- V.$slots.button ? z(V.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5129
+ C.$slots.button ? z(C.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5134
5130
  key: 1,
5135
5131
  class: "abl-range-button",
5136
5132
  style: E(k.value)
5137
5133
  }, [
5138
5134
  e.showTooltip ? (r(), d("div", {
5139
5135
  key: 0,
5140
- class: B(["abl-handle-tooltip", [{ "display-tooltip": _.value }]])
5136
+ class: B(["abl-handle-tooltip", [{ "display-tooltip": w.value }]])
5141
5137
  }, [
5142
5138
  ee(D(Y()) + " ", 1),
5143
5139
  Ii
@@ -5234,8 +5230,8 @@ const Ei = { class: "abl-pagination-wrap" }, Mi = {
5234
5230
  end: p + $
5235
5231
  };
5236
5232
  k.start < 1 && (k.end = k.end + (1 - k.start), k.start = 1), k.end > s.value && (k.start = k.start - (k.end - s.value), k.end = s.value), k.start < 1 && (k.start = 1), k.start > 1 ? i.value = !0 : i.value = !1, k.end < s.value ? o.value = !0 : o.value = !1;
5237
- for (let _ = k.start; _ <= k.end; _++)
5238
- x.push(_);
5233
+ for (let w = k.start; w <= k.end; w++)
5234
+ x.push(w);
5239
5235
  return x;
5240
5236
  }, v = () => {
5241
5237
  a.value = a.value - t.pagerCount > 0 ? a.value - t.pagerCount : 1, l.itemRender && f("jump", a.value);
@@ -5283,7 +5279,7 @@ const Ei = { class: "abl-pagination-wrap" }, Mi = {
5283
5279
  (r(!0), d(K, null, ae(c.value, ($, k) => (r(), d("div", {
5284
5280
  class: B(["abl-pagination-item", { active: a.value === $ }]),
5285
5281
  key: k,
5286
- onClick: (_) => !oe(l).itemRender && h($)
5282
+ onClick: (w) => !oe(l).itemRender && h($)
5287
5283
  }, [
5288
5284
  z(p.$slots, "itemRender", {
5289
5285
  page: $,
@@ -5568,19 +5564,19 @@ const vr = {
5568
5564
  const $ = l.container;
5569
5565
  if (!i.value && !$)
5570
5566
  return;
5571
- const k = rt(i), _ = o.value, M = rt(_), C = rt($);
5567
+ const k = rt(i), w = o.value, M = rt(w), V = rt($);
5572
5568
  if (s.height = k.height, s.width = k.width, l.position === "top")
5573
5569
  if ($) {
5574
- s.fixed = m.value > k.top && C.bottom > 0;
5575
- const I = C.bottom - m.value - M.height;
5570
+ s.fixed = m.value > k.top && V.bottom > 0;
5571
+ const I = V.bottom - m.value - M.height;
5576
5572
  s.transform = I < 0 ? I : 0;
5577
5573
  } else
5578
5574
  s.fixed = m.value > k.top, s.transform = 0;
5579
5575
  else {
5580
5576
  const I = document.documentElement.clientHeight;
5581
5577
  if ($) {
5582
- s.fixed = C.bottom > 0 && I - m.value - M.height > C.top;
5583
- const N = C.bottom - (I - m.value);
5578
+ s.fixed = V.bottom > 0 && I - m.value - M.height > V.top;
5579
+ const N = V.bottom - (I - m.value);
5584
5580
  s.transform = N < 0 ? N : 0;
5585
5581
  } else
5586
5582
  s.fixed = I - m.value < k.bottom, s.transform = 0;