abl-ui 0.5.34 → 0.5.35

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
@@ -265,18 +265,18 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
265
265
  const h = y();
266
266
  (M = l.default()) == null || M.map(({ props: C, children: L }) => {
267
267
  if (C) {
268
- const { title: T, value: _, icon: B, afterIcon: b } = C;
268
+ const { title: T, value: w, icon: B, afterIcon: b } = C;
269
269
  s.value.push({
270
270
  title: T,
271
- value: _,
271
+ value: w,
272
272
  icon: B,
273
273
  afterIcon: b
274
274
  });
275
275
  } else
276
276
  (L == null ? void 0 : L.length) > 0 && Array.isArray(L) && (L == null || L.map((T) => {
277
- const { title: _, value: B, icon: b, afterIcon: S } = T.props;
277
+ const { title: w, value: B, icon: b, afterIcon: S } = T.props;
278
278
  s.value.push({
279
- title: _,
279
+ title: w,
280
280
  value: B,
281
281
  icon: b,
282
282
  afterIcon: S
@@ -284,13 +284,13 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
284
284
  }));
285
285
  }), $e("active", f);
286
286
  const x = (C, L) => {
287
- var _;
287
+ var w;
288
288
  C.target.scrollIntoView({
289
289
  behavior: "auto",
290
290
  inline: "nearest",
291
291
  block: "nearest"
292
292
  });
293
- const T = (_ = C == null ? void 0 : C.target) == null ? void 0 : _.offsetLeft;
293
+ const T = (w = C == null ? void 0 : C.target) == null ? void 0 : w.offsetLeft;
294
294
  i.value = {
295
295
  transform: `translateX(${T}px)`,
296
296
  width: C.target.clientWidth + "px"
@@ -306,9 +306,9 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
306
306
  C.scrollLeft > 0 && (C.scrollLeft -= L);
307
307
  };
308
308
  ge(async () => {
309
- h.value = await g(), await me(), w();
309
+ h.value = await g(), await me(), _();
310
310
  });
311
- const w = () => {
311
+ const _ = () => {
312
312
  if (!o.value)
313
313
  return;
314
314
  let C = 0;
@@ -320,14 +320,14 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
320
320
  transform: `translateX(${T}px)`,
321
321
  width: L.clientWidth + "px"
322
322
  };
323
- const _ = document.getElementById("tab-hidden" + h.value);
324
- (_ == null ? void 0 : _.scrollWidth) - 2 > (_ == null ? void 0 : _.clientWidth) ? m.value = !0 : m.value = !1, _.addEventListener("scroll", function(B) {
323
+ const w = document.getElementById("tab-hidden" + h.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(B) {
325
325
  var b, S, H;
326
326
  ((b = B.target) == null ? void 0 : b.scrollLeft) + ((S = B.target) == null ? void 0 : S.offsetWidth) >= ((H = B.target) == null ? void 0 : H.scrollWidth) - 1 && (v.value = !1, p.value = !0), B.target.scrollLeft == 0 && (v.value = !0, p.value = !1);
327
327
  });
328
328
  };
329
329
  return ne(() => a.modelValue, async () => {
330
- f.value = a.modelValue, w();
330
+ f.value = a.modelValue, _();
331
331
  }, {
332
332
  immediate: !0
333
333
  }), (C, L) => {
@@ -347,22 +347,22 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
347
347
  class: "tabs-header",
348
348
  id: "tab-hidden" + h.value
349
349
  }, [
350
- (r(!0), d(K, null, ae(s.value, (_) => (r(), d("div", {
351
- class: I([f.value === _.value ? "header-btn-active" : "", "header-btn"]),
352
- key: _.title,
350
+ (r(!0), d(K, null, ae(s.value, (w) => (r(), d("div", {
351
+ class: I([f.value === w.value ? "header-btn-active" : "", "header-btn"]),
352
+ key: w.title,
353
353
  ref_for: !0,
354
354
  ref_key: "tabs",
355
355
  ref: o,
356
- onClick: (B) => x(B, _.value)
356
+ onClick: (B) => x(B, w.value)
357
357
  }, [
358
- _.icon ? (r(), d("i", {
358
+ w.icon ? (r(), d("i", {
359
359
  key: 0,
360
- class: I(["tab-icon", _.icon])
360
+ class: I(["tab-icon", w.icon])
361
361
  }, null, 2)) : A("", !0),
362
- Q(D(_.title) + " ", 1),
363
- _.afterIcon ? (r(), d("i", {
362
+ Q(D(w.title) + " ", 1),
363
+ w.afterIcon ? (r(), d("i", {
364
364
  key: 1,
365
- class: I(["iconfont-abl tab-icon-after", _.afterIcon])
365
+ class: I(["iconfont-abl tab-icon-after", w.afterIcon])
366
366
  }, null, 2)) : A("", !0)
367
367
  ], 10, Fl))), 128)),
368
368
  (T = i.value) != null && T.width ? (r(), d("div", {
@@ -710,7 +710,7 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
710
710
  const b = s.value.length - 1, S = s.value[b];
711
711
  S.top !== void 0 ? m.value = typeof S.top == "number" ? `${S.top}px` : S.top : m.value = typeof l.top == "number" ? `${l.top}px` : l.top, i.value[b] = !0, S.duration !== null ? (c.value = S.duration || l.duration, x(b)) : c.value = null;
712
712
  }
713
- const w = (b, S) => {
713
+ const _ = (b, S) => {
714
714
  let H;
715
715
  return typeof b == "string" ? H = {
716
716
  content: b,
@@ -723,27 +723,27 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
723
723
  }, H;
724
724
  };
725
725
  function M(b) {
726
- let S = w(b, "open");
726
+ let S = _(b, "open");
727
727
  return s.value.push(S), k(), S.id;
728
728
  }
729
729
  function C(b) {
730
- let S = w(b, "info");
730
+ let S = _(b, "info");
731
731
  return s.value.push(S), k(), S.id;
732
732
  }
733
733
  function L(b) {
734
- let S = w(b, "success");
734
+ let S = _(b, "success");
735
735
  return s.value.push(S), k(), S.id;
736
736
  }
737
737
  function T(b) {
738
- let S = w(b, "error");
738
+ let S = _(b, "error");
739
739
  return s.value.push(S), k(), S.id;
740
740
  }
741
- function _(b) {
742
- let S = w(b, "warning");
741
+ function w(b) {
742
+ let S = _(b, "warning");
743
743
  return s.value.push(S), k(), S.id;
744
744
  }
745
745
  function B(b) {
746
- let S = w(b, "loading");
746
+ let S = _(b, "loading");
747
747
  return s.value.push(S), k(), S.id;
748
748
  }
749
749
  return n({
@@ -751,7 +751,7 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
751
751
  info: C,
752
752
  success: L,
753
753
  error: T,
754
- warning: _,
754
+ warning: w,
755
755
  loading: B,
756
756
  close: $
757
757
  }), (b, S) => (r(), d("div", {
@@ -1444,7 +1444,7 @@ const Jn = async (e, n, t) => {
1444
1444
  name: $,
1445
1445
  fn: k
1446
1446
  } = s[x], {
1447
- x: w,
1447
+ x: _,
1448
1448
  y: M,
1449
1449
  data: C,
1450
1450
  reset: L
@@ -1462,7 +1462,7 @@ const Jn = async (e, n, t) => {
1462
1462
  floating: n
1463
1463
  }
1464
1464
  });
1465
- m = w ?? m, p = M ?? p, g = {
1465
+ m = _ ?? m, p = M ?? p, g = {
1466
1466
  ...g,
1467
1467
  [$]: {
1468
1468
  ...g[$],
@@ -1506,7 +1506,7 @@ async function Wt(e, n) {
1506
1506
  boundary: f,
1507
1507
  rootBoundary: m,
1508
1508
  strategy: c
1509
- })), w = p === "floating" ? {
1509
+ })), _ = p === "floating" ? {
1510
1510
  ...o.floating,
1511
1511
  x: l,
1512
1512
  y: a
@@ -1518,10 +1518,10 @@ async function Wt(e, n) {
1518
1518
  y: 1
1519
1519
  }, L = Ge(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1520
1520
  elements: s,
1521
- rect: w,
1521
+ rect: _,
1522
1522
  offsetParent: M,
1523
1523
  strategy: c
1524
- }) : w);
1524
+ }) : _);
1525
1525
  return {
1526
1526
  top: (k.top - L.top + h.top) / C.y,
1527
1527
  bottom: (L.bottom - k.bottom + h.bottom) / C.y,
@@ -1550,10 +1550,10 @@ const Zn = (e) => ({
1550
1550
  const p = jt(m), v = {
1551
1551
  x: t,
1552
1552
  y: l
1553
- }, g = gt(a), h = ht(g), x = await o.getDimensions(f), $ = g === "y", k = $ ? "top" : "left", w = $ ? "bottom" : "right", M = $ ? "clientHeight" : "clientWidth", C = i.reference[h] + i.reference[g] - v[g] - i.floating[h], L = v[g] - i.reference[g], T = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1554
- let _ = T ? T[M] : 0;
1555
- (!_ || !await (o.isElement == null ? void 0 : o.isElement(T))) && (_ = s.floating[M] || i.floating[h]);
1556
- const B = C / 2 - L / 2, b = _ / 2 - x[h] / 2 - 1, S = Me(p[k], b), H = Me(p[w], b), U = S, F = _ - x[h] - H, j = _ / 2 - x[h] / 2 + B, z = ct(U, j, F), X = !c.arrow && je(a) != null && j !== z && i.reference[h] / 2 - (j < U ? S : H) - x[h] / 2 < 0, O = X ? j < U ? j - U : j - F : 0;
1553
+ }, g = gt(a), h = ht(g), x = await o.getDimensions(f), $ = g === "y", k = $ ? "top" : "left", _ = $ ? "bottom" : "right", M = $ ? "clientHeight" : "clientWidth", C = i.reference[h] + i.reference[g] - v[g] - i.floating[h], L = v[g] - i.reference[g], T = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1554
+ let w = T ? T[M] : 0;
1555
+ (!w || !await (o.isElement == null ? void 0 : o.isElement(T))) && (w = s.floating[M] || i.floating[h]);
1556
+ const B = C / 2 - L / 2, b = w / 2 - x[h] / 2 - 1, S = Me(p[k], b), H = Me(p[_], b), U = S, F = w - x[h] - H, j = w / 2 - x[h] / 2 + B, z = ct(U, j, F), X = !c.arrow && je(a) != null && j !== z && i.reference[h] / 2 - (j < U ? S : H) - x[h] / 2 < 0, O = X ? j < U ? j - U : j - F : 0;
1557
1557
  return {
1558
1558
  [g]: v[g] + O,
1559
1559
  data: {
@@ -1590,18 +1590,18 @@ const Zn = (e) => ({
1590
1590
  } = Ue(e, n);
1591
1591
  if ((t = i.arrow) != null && t.alignmentOffset)
1592
1592
  return {};
1593
- const k = Ae(a), w = Ae(s) === s, M = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), C = v || (w || !x ? [Ke(s)] : Yn(s));
1593
+ const k = Ae(a), _ = Ae(s) === s, M = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), C = v || (_ || !x ? [Ke(s)] : Yn(s));
1594
1594
  !v && h !== "none" && C.push(...Kn(s, x, h, M));
1595
- const L = [s, ...C], T = await Wt(n, $), _ = [];
1595
+ const L = [s, ...C], T = await Wt(n, $), w = [];
1596
1596
  let B = ((l = i.flip) == null ? void 0 : l.overflows) || [];
1597
- if (m && _.push(T[k]), p) {
1597
+ if (m && w.push(T[k]), p) {
1598
1598
  const U = qn(a, o, M);
1599
- _.push(T[U[0]], T[U[1]]);
1599
+ w.push(T[U[0]], T[U[1]]);
1600
1600
  }
1601
1601
  if (B = [...B, {
1602
1602
  placement: a,
1603
- overflows: _
1604
- }], !_.every((U) => U <= 0)) {
1603
+ overflows: w
1604
+ }], !w.every((U) => U <= 0)) {
1605
1605
  var b, S;
1606
1606
  const U = (((b = i.flip) == null ? void 0 : b.index) || 0) + 1, F = L[U];
1607
1607
  if (F)
@@ -1704,11 +1704,11 @@ const ta = function(e) {
1704
1704
  fn: ($) => {
1705
1705
  let {
1706
1706
  x: k,
1707
- y: w
1707
+ y: _
1708
1708
  } = $;
1709
1709
  return {
1710
1710
  x: k,
1711
- y: w
1711
+ y: _
1712
1712
  };
1713
1713
  }
1714
1714
  },
@@ -1719,12 +1719,12 @@ const ta = function(e) {
1719
1719
  }, m = await Wt(n, c), p = tt(Ae(a)), v = Ut(p);
1720
1720
  let g = f[v], h = f[p];
1721
1721
  if (i) {
1722
- const $ = v === "y" ? "top" : "left", k = v === "y" ? "bottom" : "right", w = g + m[$], M = g - m[k];
1723
- g = ct(w, g, M);
1722
+ const $ = v === "y" ? "top" : "left", k = v === "y" ? "bottom" : "right", _ = g + m[$], M = g - m[k];
1723
+ g = ct(_, g, M);
1724
1724
  }
1725
1725
  if (o) {
1726
- const $ = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", w = h + m[$], M = h - m[k];
1727
- h = ct(w, h, M);
1726
+ const $ = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", _ = h + m[$], M = h - m[k];
1727
+ h = ct(_, h, M);
1728
1728
  }
1729
1729
  const x = s.fn({
1730
1730
  ...n,
@@ -1879,7 +1879,7 @@ function ze(e, n, t, l) {
1879
1879
  const v = ue(i), g = l && _e(l) ? ue(l) : l;
1880
1880
  let h = v, x = h.frameElement;
1881
1881
  for (; x && l && g !== h; ) {
1882
- const $ = Ee(x), k = x.getBoundingClientRect(), w = pe(x), M = k.left + (x.clientLeft + parseFloat(w.paddingLeft)) * $.x, C = k.top + (x.clientTop + parseFloat(w.paddingTop)) * $.y;
1882
+ const $ = Ee(x), k = x.getBoundingClientRect(), _ = pe(x), M = k.left + (x.clientLeft + parseFloat(_.paddingLeft)) * $.x, C = k.top + (x.clientTop + parseFloat(_.paddingTop)) * $.y;
1883
1883
  c *= $.x, f *= $.y, m *= $.x, p *= $.y, c += M, f += C, h = ue(x), x = h.frameElement;
1884
1884
  }
1885
1885
  }
@@ -2106,7 +2106,7 @@ function _a(e, n) {
2106
2106
  } = e.getBoundingClientRect();
2107
2107
  if (s || n(), !p || !v)
2108
2108
  return;
2109
- const g = Ye(m), h = Ye(a.clientWidth - (f + p)), x = Ye(a.clientHeight - (m + v)), $ = Ye(f), w = {
2109
+ const g = Ye(m), h = Ye(a.clientWidth - (f + p)), x = Ye(a.clientHeight - (m + v)), $ = Ye(f), _ = {
2110
2110
  rootMargin: -g + "px " + -h + "px " + -x + "px " + -$ + "px",
2111
2111
  threshold: Be(0, Me(1, c)) || 1
2112
2112
  };
@@ -2124,12 +2124,12 @@ function _a(e, n) {
2124
2124
  }
2125
2125
  try {
2126
2126
  t = new IntersectionObserver(C, {
2127
- ...w,
2127
+ ..._,
2128
2128
  // Handle <iframe>s
2129
2129
  root: a.ownerDocument
2130
2130
  });
2131
2131
  } catch {
2132
- t = new IntersectionObserver(C, w);
2132
+ t = new IntersectionObserver(C, _);
2133
2133
  }
2134
2134
  t.observe(e);
2135
2135
  }
@@ -2152,8 +2152,8 @@ function wa(e, n, t, l) {
2152
2152
  const p = f && s ? _a(f, t) : null;
2153
2153
  let v = -1, g = null;
2154
2154
  o && (g = new ResizeObserver((k) => {
2155
- let [w] = k;
2156
- w && w.target === f && g && (g.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
2155
+ let [_] = k;
2156
+ _ && _.target === f && g && (g.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
2157
2157
  var M;
2158
2158
  (M = g) == null || M.observe(n);
2159
2159
  })), t();
@@ -2166,8 +2166,8 @@ function wa(e, n, t, l) {
2166
2166
  }
2167
2167
  return t(), () => {
2168
2168
  var k;
2169
- m.forEach((w) => {
2170
- a && w.removeEventListener("scroll", t), i && w.removeEventListener("resize", t);
2169
+ m.forEach((_) => {
2170
+ a && _.removeEventListener("scroll", t), i && _.removeEventListener("resize", t);
2171
2171
  }), p == null || p(), (k = g) == null || k.disconnect(), g = null, c && cancelAnimationFrame(h);
2172
2172
  };
2173
2173
  }
@@ -2249,18 +2249,18 @@ const Ca = ["data-side"], el = {
2249
2249
  middlewareData: h
2250
2250
  };
2251
2251
  let $ = null;
2252
- const k = y(!1), w = y(), M = (z) => {
2253
- w.value = z && z.nextElementSibling || null;
2252
+ const k = y(!1), _ = y(), M = (z) => {
2253
+ _.value = z && z.nextElementSibling || null;
2254
2254
  }, C = () => {
2255
2255
  k.value = !0;
2256
2256
  }, L = () => k.value = !1, T = () => {
2257
- w.value && me(() => {
2258
- w.value.addEventListener("click", B);
2259
- const z = w.value.getBoundingClientRect();
2260
- l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), c.value && (w.value.addEventListener("mouseover", C, { capture: !0 }), w.value.addEventListener("mouseout", L, { capture: !0 }));
2257
+ _.value && me(() => {
2258
+ _.value.addEventListener("click", B);
2259
+ const z = _.value.getBoundingClientRect();
2260
+ l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), c.value && (_.value.addEventListener("mouseover", C, { capture: !0 }), _.value.addEventListener("mouseout", L, { capture: !0 }));
2261
2261
  });
2262
- }, _ = () => {
2263
- w.value && (w.value.removeEventListener("click", B), c.value && (w.value.removeEventListener("mouseover", C, { capture: !0 }), w.value.removeEventListener("mouseout", L, { capture: !0 })));
2262
+ }, w = () => {
2263
+ _.value && (_.value.removeEventListener("click", B), c.value && (_.value.removeEventListener("mouseover", C, { capture: !0 }), _.value.removeEventListener("mouseout", L, { capture: !0 })));
2264
2264
  };
2265
2265
  ge(() => {
2266
2266
  t.value = !0, T(), vt(() => {
@@ -2268,10 +2268,10 @@ const Ca = ["data-side"], el = {
2268
2268
  });
2269
2269
  }), ne(() => m.value, (z) => {
2270
2270
  z && M(m.value);
2271
- }, { immediate: !0 }), ne(w, (z, X) => {
2272
- X && _(), z && T();
2271
+ }, { immediate: !0 }), ne(_, (z, X) => {
2272
+ X && w(), z && T();
2273
2273
  }, { immediate: !0 }), pt(() => {
2274
- _(), T();
2274
+ w(), T();
2275
2275
  });
2276
2276
  const B = (z) => {
2277
2277
  l.shouldStopPropagation && z.stopPropagation(), C(), setTimeout(() => {
@@ -2288,9 +2288,9 @@ const Ca = ["data-side"], el = {
2288
2288
  top: (z == null ? void 0 : z.y) + "px"
2289
2289
  };
2290
2290
  }), F = async () => {
2291
- if (!(!w.value || !p.value))
2291
+ if (!(!_.value || !p.value))
2292
2292
  try {
2293
- const z = await Sa(w.value, p.value, {
2293
+ const z = await Sa(_.value, p.value, {
2294
2294
  middleware: se(i),
2295
2295
  placement: se(o),
2296
2296
  strategy: se(s)
@@ -2303,15 +2303,15 @@ const Ca = ["data-side"], el = {
2303
2303
  }
2304
2304
  };
2305
2305
  async function j() {
2306
- if (!(!w.value || !p.value))
2306
+ if (!(!_.value || !p.value))
2307
2307
  try {
2308
- await me(), $ = wa(w.value, p.value, F);
2308
+ await me(), $ = wa(_.value, p.value, F);
2309
2309
  } catch (z) {
2310
2310
  console.error("Error updating position:", z);
2311
2311
  }
2312
2312
  }
2313
2313
  return Qe(() => {
2314
- _(), $ && $();
2314
+ w(), $ && $();
2315
2315
  }), n({
2316
2316
  open: C,
2317
2317
  close: L
@@ -3082,7 +3082,7 @@ const so = /* @__PURE__ */ u("div", {
3082
3082
  }
3083
3083
  const O = Math.max(z, X), N = Math.pow(10, O);
3084
3084
  return F = Math.round(F * N), j = Math.round(j * N), (F + j) / N;
3085
- }, w = (F) => {
3085
+ }, _ = (F) => {
3086
3086
  i.value[F] = !0;
3087
3087
  }, M = (F) => {
3088
3088
  o.value = (o.value + 1) % a.value;
@@ -3092,7 +3092,7 @@ const so = /* @__PURE__ */ u("div", {
3092
3092
  s.value + l.zoomRate > l.maxScale ? s.value = l.maxScale : s.value = k(s.value, l.zoomRate);
3093
3093
  }, T = () => {
3094
3094
  s.value - l.zoomRate < l.minScale ? s.value = l.minScale : s.value = k(s.value, -l.zoomRate);
3095
- }, _ = () => {
3095
+ }, w = () => {
3096
3096
  v.value -= 90;
3097
3097
  }, B = () => {
3098
3098
  v.value += 90;
@@ -3151,7 +3151,7 @@ const so = /* @__PURE__ */ u("div", {
3151
3151
  title: "",
3152
3152
  class: "abl-image-preview__img",
3153
3153
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${v.value}deg);`),
3154
- onLoad: (O) => w(X),
3154
+ onLoad: (O) => _(X),
3155
3155
  onMousedown: j[0] || (j[0] = J((O) => S(O), ["prevent"])),
3156
3156
  onClick: j[1] || (j[1] = J(() => {
3157
3157
  }, ["stop"]))
@@ -3181,7 +3181,7 @@ const so = /* @__PURE__ */ u("div", {
3181
3181
  alt: "",
3182
3182
  title: "",
3183
3183
  style: E(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${v.value}deg);`),
3184
- onLoad: (O) => w(X),
3184
+ onLoad: (O) => _(X),
3185
3185
  onMousedown: j[2] || (j[2] = J((O) => S(O), ["prevent"])),
3186
3186
  onClick: j[3] || (j[3] = J(() => {
3187
3187
  }, ["stop"])),
@@ -3225,7 +3225,7 @@ const so = /* @__PURE__ */ u("div", {
3225
3225
  }, Vo),
3226
3226
  u("i", {
3227
3227
  class: "abl-icon",
3228
- onClick: _
3228
+ onClick: w
3229
3229
  }, Io),
3230
3230
  u("i", {
3231
3231
  class: "abl-icon",
@@ -3542,9 +3542,9 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3542
3542
  var L;
3543
3543
  const t = n, l = De(), a = typeof window < "u" && typeof document < "u", i = e, o = y([]);
3544
3544
  (L = l.default()) == null || L.forEach((T) => {
3545
- const { props: _ } = T;
3546
- if (_) {
3547
- const { title: B, disabled: b } = _;
3545
+ const { props: w } = T;
3546
+ if (w) {
3547
+ const { title: B, disabled: b } = w;
3548
3548
  o.value.push({
3549
3549
  title: B,
3550
3550
  disabled: b
@@ -3562,18 +3562,18 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3562
3562
  immediate: !0
3563
3563
  }
3564
3564
  );
3565
- const h = (T, _) => {
3566
- if (!o.value[_].disabled) {
3567
- if (_ === p.value && i.closeOnClickSelf) {
3565
+ const h = (T, w) => {
3566
+ if (!o.value[w].disabled) {
3567
+ if (w === p.value && i.closeOnClickSelf) {
3568
3568
  $(), setTimeout(() => {
3569
- c.value.children[_].style.display = "none";
3569
+ c.value.children[w].style.display = "none";
3570
3570
  }, i.duration);
3571
3571
  return;
3572
3572
  }
3573
- v.value = !0, x(_);
3573
+ v.value = !0, x(w);
3574
3574
  }
3575
3575
  }, x = async (T) => {
3576
- await k(), f.value = !0, p.value = T, Array.from(c.value.children).map((_, B) => {
3576
+ await k(), f.value = !0, p.value = T, Array.from(c.value.children).map((w, B) => {
3577
3577
  B === T ? c.value.children[B].style.display = "block" : c.value.children[B].style.display = "none";
3578
3578
  }), t("open", p.value);
3579
3579
  }, $ = () => {
@@ -3584,9 +3584,9 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3584
3584
  var B;
3585
3585
  if (!a)
3586
3586
  return;
3587
- const { top: T, bottom: _ } = (B = s == null ? void 0 : s.value) == null ? void 0 : B.getBoundingClientRect();
3588
- _ > 0 && (m.value = _ - 1);
3589
- }, w = () => {
3587
+ const { top: T, bottom: w } = (B = s == null ? void 0 : s.value) == null ? void 0 : B.getBoundingClientRect();
3588
+ w > 0 && (m.value = w - 1);
3589
+ }, _ = () => {
3590
3590
  i.closeOnClickMask && $();
3591
3591
  }, M = Le({
3592
3592
  ...He(i),
@@ -3597,7 +3597,7 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3597
3597
  });
3598
3598
  return $e(Go, M), ge(() => {
3599
3599
  k();
3600
- }), (T, _) => (r(), d("div", {
3600
+ }), (T, w) => (r(), d("div", {
3601
3601
  class: "abl-dropdown",
3602
3602
  ref_key: "root",
3603
3603
  ref: C
@@ -3638,8 +3638,8 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3638
3638
  top: g(m.value)
3639
3639
  }
3640
3640
  ]),
3641
- onClick: w,
3642
- onTouchmove: _[1] || (_[1] = J(() => {
3641
+ onClick: _,
3642
+ onTouchmove: w[1] || (w[1] = J(() => {
3643
3643
  }, ["prevent"]))
3644
3644
  }, [
3645
3645
  fe(ke, { name: "fade-mask" }, {
@@ -3653,7 +3653,7 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3653
3653
  fe(ke, { name: "slide-top" }, {
3654
3654
  default: re(() => [
3655
3655
  Z(u("div", {
3656
- onTouchmove: _[0] || (_[0] = J(() => {
3656
+ onTouchmove: w[0] || (w[0] = J(() => {
3657
3657
  }, ["prevent"])),
3658
3658
  class: "abl-dropdown__content",
3659
3659
  ref_key: "childrenRef",
@@ -3824,12 +3824,12 @@ const fs = {
3824
3824
  default: ""
3825
3825
  }
3826
3826
  },
3827
- emits: ["update:modelValue", "focus", "blur", "clear"],
3827
+ emits: ["update:modelValue", "focus", "blur", "clear", "input"],
3828
3828
  setup(e, { expose: n, emit: t }) {
3829
3829
  const l = e, a = t, i = y(), o = y(l.autofocus), s = y(!0), c = y(l.type), f = y(!1), m = P({
3830
3830
  get: () => l.modelValue,
3831
- set: (w) => {
3832
- a("update:modelValue", w);
3831
+ set: (_) => {
3832
+ a("update:modelValue", _);
3833
3833
  }
3834
3834
  }), p = () => {
3835
3835
  o.value = !0, f.value = l.clearable && m.value, a("focus");
@@ -3837,8 +3837,8 @@ const fs = {
3837
3837
  o.value = !1, a("blur"), setTimeout(() => {
3838
3838
  f.value = !1;
3839
3839
  }, 500);
3840
- }, g = (w) => {
3841
- w.target.value ? f.value = l.clearable : f.value = !1;
3840
+ }, g = (_) => {
3841
+ _.target.value ? f.value = l.clearable : f.value = !1, a("input", _.target.value);
3842
3842
  }, h = () => {
3843
3843
  m.value = "", a("clear");
3844
3844
  }, x = () => {
@@ -3852,19 +3852,19 @@ const fs = {
3852
3852
  }
3853
3853
  return n({
3854
3854
  blur: () => {
3855
- var w;
3856
- return (w = i.value) == null ? void 0 : w.blur();
3855
+ var _;
3856
+ return (_ = i.value) == null ? void 0 : _.blur();
3857
3857
  },
3858
3858
  focus: () => {
3859
- var w;
3860
- return (w = i.value) == null ? void 0 : w.focus();
3859
+ var _;
3860
+ return (_ = i.value) == null ? void 0 : _.focus();
3861
3861
  },
3862
3862
  clear: h,
3863
3863
  input: () => i.value
3864
- }), (w, M) => (r(), d("div", {
3865
- class: I(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": w.$slots.addonBefore || e.addonBefore || w.$slots.addonAfter || e.addonAfter }])
3864
+ }), (_, M) => (r(), d("div", {
3865
+ class: I(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": _.$slots.addonBefore || e.addonBefore || _.$slots.addonAfter || e.addonAfter }])
3866
3866
  }, [
3867
- R(w.$slots, "addonBefore", {}, () => [
3867
+ R(_.$slots, "addonBefore", {}, () => [
3868
3868
  e.addonBefore ? (r(), d("span", fs, D(e.addonBefore), 1)) : A("", !0)
3869
3869
  ], !0),
3870
3870
  u("div", {
@@ -3872,8 +3872,8 @@ const fs = {
3872
3872
  onMouseenter: $,
3873
3873
  onMouseleave: k
3874
3874
  }, [
3875
- w.$slots.prefix || e.prefixIcon ? (r(), d("span", ps, [
3876
- R(w.$slots, "prefix", {}, void 0, !0),
3875
+ _.$slots.prefix || e.prefixIcon ? (r(), d("span", ps, [
3876
+ R(_.$slots, "prefix", {}, void 0, !0),
3877
3877
  e.prefixIcon ? (r(), d("i", {
3878
3878
  key: 0,
3879
3879
  class: I(["iconfont-abl", e.suffixIcon])
@@ -3891,9 +3891,9 @@ const fs = {
3891
3891
  disabled: e.disabled,
3892
3892
  onFocus: p,
3893
3893
  onBlur: v
3894
- }, w.$attrs, {
3894
+ }, _.$attrs, {
3895
3895
  onInput: g,
3896
- onKeyup: M[1] || (M[1] = (...C) => w.onKeyUp && w.onKeyUp(...C))
3896
+ onKeyup: M[1] || (M[1] = (...C) => _.onKeyUp && _.onKeyUp(...C))
3897
3897
  }), null, 16, vs), [
3898
3898
  [vl, m.value]
3899
3899
  ]),
@@ -3917,20 +3917,20 @@ const fs = {
3917
3917
  [te, f.value]
3918
3918
  ])
3919
3919
  ])) : A("", !0),
3920
- w.$slots.suffix || e.suffixIcon ? (r(), d("span", hs, [
3921
- R(w.$slots, "suffix", {}, void 0, !0),
3920
+ _.$slots.suffix || e.suffixIcon ? (r(), d("span", hs, [
3921
+ R(_.$slots, "suffix", {}, void 0, !0),
3922
3922
  e.suffixIcon ? (r(), d("i", {
3923
3923
  key: 0,
3924
3924
  class: I(["iconfont-abl", e.suffixIcon])
3925
3925
  }, null, 2)) : A("", !0)
3926
3926
  ])) : A("", !0)
3927
3927
  ], 34),
3928
- R(w.$slots, "addonAfter", {}, () => [
3928
+ R(_.$slots, "addonAfter", {}, () => [
3929
3929
  e.addonAfter ? (r(), d("span", gs, D(e.addonAfter), 1)) : A("", !0)
3930
3930
  ], !0)
3931
3931
  ], 2));
3932
3932
  }
3933
- }), bs = /* @__PURE__ */ G(ys, [["__scopeId", "data-v-42f52786"]]);
3933
+ }), bs = /* @__PURE__ */ G(ys, [["__scopeId", "data-v-ad4e260c"]]);
3934
3934
  const ot = (e) => (ye("data-v-d27e2131"), e = e(), be(), e), _s = { class: "abl-spin-box" }, ws = {
3935
3935
  key: 0,
3936
3936
  class: "abl-spin-logo"
@@ -4095,37 +4095,37 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4095
4095
  function m() {
4096
4096
  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;
4097
4097
  }
4098
- const p = (_) => {
4098
+ const p = (w) => {
4099
4099
  const B = /\.(jpg|jpeg|png|gif|webp)$/i, b = /^data:image/;
4100
- return B.test(_) || b.test(_);
4101
- }, v = (_) => {
4102
- c.value = !0, f.value = _;
4103
- }, g = (_, B) => {
4100
+ return B.test(w) || b.test(w);
4101
+ }, v = (w) => {
4102
+ c.value = !0, f.value = w;
4103
+ }, g = (w, B) => {
4104
4104
  var S;
4105
- const b = (S = _.dataTransfer) == null ? void 0 : S.files;
4105
+ const b = (S = w.dataTransfer) == null ? void 0 : S.files;
4106
4106
  if (b != null && b.length) {
4107
4107
  const H = b.length;
4108
4108
  for (let U = 0; U < H && B + U <= t.maxCount; U++)
4109
4109
  k(b[U], B + U);
4110
4110
  o.value[B].value = "";
4111
4111
  }
4112
- }, h = (_) => {
4113
- o.value[_].click();
4114
- }, x = (_, B) => {
4115
- const b = _.target.files;
4112
+ }, h = (w) => {
4113
+ o.value[w].click();
4114
+ }, x = (w, B) => {
4115
+ const b = w.target.files;
4116
4116
  if (b != null && b.length) {
4117
4117
  const S = b.length;
4118
4118
  for (let H = 0; H < S && B + H < t.maxCount; H++)
4119
4119
  k(b[H], B + H);
4120
4120
  o.value[B].value = "";
4121
4121
  }
4122
- }, $ = n, k = function(_, B) {
4123
- t.beforeUpload(_) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (i.value[B] = !0, w(_, B)), t.uploadMode === "custom" && (i.value[B] = !0, M(_, B))) : me(() => {
4122
+ }, $ = n, k = function(w, B) {
4123
+ t.beforeUpload(w) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (i.value[B] = !0, _(w, B)), t.uploadMode === "custom" && (i.value[B] = !0, M(w, B))) : me(() => {
4124
4124
  T(t.errorInfo);
4125
4125
  });
4126
- }, w = (_, B) => {
4126
+ }, _ = (w, B) => {
4127
4127
  var b = new FileReader();
4128
- b.readAsDataURL(_), b.onloadstart = function(S) {
4128
+ b.readAsDataURL(w), b.onloadstart = function(S) {
4129
4129
  console.log("开始读取 onloadstart:", S);
4130
4130
  }, b.onabort = function(S) {
4131
4131
  console.log("读取中止 onabort:", S);
@@ -4136,35 +4136,35 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4136
4136
  }, b.onload = function(S) {
4137
4137
  var H, U;
4138
4138
  t.isUrl ? l.value.push({
4139
- name: _.name,
4139
+ name: w.name,
4140
4140
  url: (H = S.target) == null ? void 0 : H.result,
4141
- type: _.type
4141
+ type: w.type
4142
4142
  }) : l.value.push((U = S.target) == null ? void 0 : U.result), $("update:fileList", l.value), $("change", l.value);
4143
4143
  }, b.onloadend = function(S) {
4144
4144
  console.log("读取结束 onloadend:", S);
4145
4145
  };
4146
- }, M = (_, B) => {
4147
- t.customRequest(_).then((b) => {
4146
+ }, M = (w, B) => {
4147
+ t.customRequest(w).then((b) => {
4148
4148
  b && l.value.push(b), $("update:fileList", l.value), $("change", l.value);
4149
4149
  }).catch((b) => {
4150
4150
  t.maxCount > 1 && (a.value = l.value.length + 1), T(b);
4151
4151
  }).finally(() => {
4152
4152
  i.value[B] = !1;
4153
4153
  });
4154
- }, C = (_, B) => {
4154
+ }, C = (w, B) => {
4155
4155
  if (p(B)) {
4156
- const b = l.value.slice(0, _).filter((S) => !p(t.isUrl ? S.url : S));
4157
- s.value[_ - b.length].onPreview();
4156
+ const b = l.value.slice(0, w).filter((S) => !p(t.isUrl ? S.url : S));
4157
+ s.value[w - b.length].onPreview();
4158
4158
  } else
4159
4159
  v(B);
4160
- }, L = (_) => {
4160
+ }, L = (w) => {
4161
4161
  l.value.length < t.maxCount && a.value--;
4162
- const B = l.value.splice(_, 1);
4162
+ const B = l.value.splice(w, 1);
4163
4163
  $("remove", B), $("update:fileList", l.value), $("change", l.value);
4164
- }, T = (_) => {
4165
- Dt.error(_);
4164
+ }, T = (w) => {
4165
+ Dt.error(w);
4166
4166
  };
4167
- return (_, B) => (r(), d("div", Ls, [
4167
+ return (w, B) => (r(), d("div", Ls, [
4168
4168
  (r(!0), d(K, null, ae(a.value, (b) => (r(), d("div", {
4169
4169
  class: "abl-upload-item",
4170
4170
  key: b
@@ -4194,7 +4194,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4194
4194
  u("div", null, [
4195
4195
  Es,
4196
4196
  e.tip ? (r(), d("p", Ms, [
4197
- R(_.$slots, "default", {}, () => [
4197
+ R(w.$slots, "default", {}, () => [
4198
4198
  Q(D(e.tip), 1)
4199
4199
  ], !0)
4200
4200
  ])) : A("", !0)
@@ -4354,27 +4354,27 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4354
4354
  }), m = y(""), p = y(), v = y(null), g = y(""), h = y(), x = y(o.modelValue), $ = y(!1), k = P(() => {
4355
4355
  var N;
4356
4356
  return { width: (((N = p.value) == null ? void 0 : N.getBoundingClientRect().width) || 0) + "px" };
4357
- }), w = Le({
4357
+ }), _ = Le({
4358
4358
  list: o == null ? void 0 : o.options
4359
4359
  }), M = y(!1), C = y(
4360
4360
  o.search && g.value === "focus" && M.value
4361
- ), L = P(() => o.disabled), T = y(""), _ = y([]), B = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], b = () => {
4361
+ ), L = P(() => o.disabled), T = y(""), w = y([]), B = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], b = () => {
4362
4362
  var O;
4363
4363
  try {
4364
- l.default && (w.list = [], (O = l.default()) == null || O.map((N) => {
4364
+ l.default && (_.list = [], (O = l.default()) == null || O.map((N) => {
4365
4365
  var q;
4366
- N.props ? (w.list.push({
4366
+ N.props ? (_.list.push({
4367
4367
  ...N.props
4368
- }), x.value === N.props.value && _.value.push({
4368
+ }), x.value === N.props.value && w.value.push({
4369
4369
  ...N.props
4370
4370
  })) : ((q = N == null ? void 0 : N.children) == null ? void 0 : q.length) > 0 && N.children.map((le) => {
4371
- w.list.push({
4371
+ _.list.push({
4372
4372
  ...le.props
4373
- }), x.value === le.props.value && (_.value.splice(0, _.value.length), _.value.push({
4373
+ }), x.value === le.props.value && (w.value.splice(0, w.value.length), w.value.push({
4374
4374
  ...le.props
4375
4375
  }));
4376
4376
  });
4377
- }), s = w.list);
4377
+ }), s = _.list);
4378
4378
  } catch (N) {
4379
4379
  console.log(N);
4380
4380
  }
@@ -4396,7 +4396,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4396
4396
  let le = O.target.value.toLowerCase();
4397
4397
  return q.name.toLowerCase().includes(le);
4398
4398
  });
4399
- w.list = N;
4399
+ _.list = N;
4400
4400
  }
4401
4401
  }, H = (O) => {
4402
4402
  o.disabled || (M.value = !0, g.value === "focus" ? g.value = "blur" : g.value = "focus", setTimeout(() => {
@@ -4416,20 +4416,20 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4416
4416
  }
4417
4417
  M.value = !1, N.stopPropagation(), (le = v.value) == null || le.blur();
4418
4418
  let q = null;
4419
- g.value = "blur", _.value[0] && _.value[0].value === O.value ? _.value.shift() : _.value[0] = O, q = O.value, c("update:modelValue", q), c("change", q, O, $t(_.value)), h.value.close();
4419
+ g.value = "blur", w.value[0] && w.value[0].value === O.value ? w.value.shift() : w.value[0] = O, q = O.value, c("update:modelValue", q), c("change", q, O, $t(w.value)), h.value.close();
4420
4420
  };
4421
4421
  $e("handleSlotClick", U);
4422
4422
  const F = () => {
4423
4423
  var O;
4424
- (O = v.value) == null || O.focus(), !C.value && g.value === "focus" && _.value.length > 0 && (_.value.pop(), c("change", $t(_.value)));
4424
+ (O = v.value) == null || O.focus(), !C.value && g.value === "focus" && w.value.length > 0 && (w.value.pop(), c("change", $t(w.value)));
4425
4425
  }, j = () => {
4426
4426
  $.value = !1, g.value = "blur", T.value = "", setTimeout(() => {
4427
4427
  h.value.close();
4428
4428
  }, 150);
4429
4429
  }, z = () => {
4430
- w.list = s, $.value = !0;
4430
+ _.list = s, $.value = !0;
4431
4431
  }, X = () => {
4432
- c("update:modelValue", ""), c("change", ""), _.value.splice(0, _.value.length);
4432
+ c("update:modelValue", ""), c("change", ""), w.value.splice(0, w.value.length);
4433
4433
  };
4434
4434
  return ne(
4435
4435
  M,
@@ -4438,7 +4438,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4438
4438
  },
4439
4439
  { immediate: !0, deep: !0 }
4440
4440
  ), ne(
4441
- () => _.value,
4441
+ () => w.value,
4442
4442
  (O) => {
4443
4443
  O.length == 0 ? m.value = "" : m.value = O.map((N) => N == null ? void 0 : N.name).join(",");
4444
4444
  },
@@ -4449,7 +4449,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4449
4449
  N.name = N[o.parames.name], N.value = N[o.parames.value];
4450
4450
  }), s = o == null ? void 0 : o.options, o == null || o.options.map((N) => {
4451
4451
  N.value == o.modelValue && (N.selected = !0);
4452
- }), w.list = o == null ? void 0 : o.options, _.value = [], _.value = (O = o == null ? void 0 : o.options) == null ? void 0 : O.filter((N) => N.selected === !0);
4452
+ }), _.list = o == null ? void 0 : o.options, w.value = [], w.value = (O = o == null ? void 0 : o.options) == null ? void 0 : O.filter((N) => N.selected === !0);
4453
4453
  }, { immediate: !0, deep: !0 }), ge(() => {
4454
4454
  ne(g, (O) => {
4455
4455
  var N, q;
@@ -4458,8 +4458,8 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4458
4458
  g.value = "blur";
4459
4459
  });
4460
4460
  }), ne(() => o.modelValue, async () => {
4461
- x.value = o.modelValue, x.value == "" && (m.value = "", _.value.splice(0, 1)), w.list.map((O) => {
4462
- O.value == o.modelValue && (_.value.splice(0, _.value.length), _.value.push({
4461
+ x.value = o.modelValue, x.value == "" && (m.value = "", w.value.splice(0, 1)), _.list.map((O) => {
4462
+ O.value == o.modelValue && (w.value.splice(0, w.value.length), w.value.push({
4463
4463
  ...O
4464
4464
  }));
4465
4465
  });
@@ -4486,8 +4486,8 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4486
4486
  style: E(k.value),
4487
4487
  id: "abl-select"
4488
4488
  }, [
4489
- w.list.length > 0 ? (r(!0), d(K, { key: 0 }, ae(w.list, (q, le) => (r(), d("div", {
4490
- class: I(["abl-select-options-item", _.value.some((V) => V.value === q.value) ? "abl-options-item-active" : ""]),
4489
+ _.list.length > 0 ? (r(!0), d(K, { key: 0 }, ae(_.list, (q, le) => (r(), d("div", {
4490
+ class: I(["abl-select-options-item", w.value.some((V) => V.value === q.value) ? "abl-options-item-active" : ""]),
4491
4491
  key: q.name + q.value,
4492
4492
  onMousedown: (V) => U(q, V)
4493
4493
  }, [
@@ -4527,7 +4527,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4527
4527
  a.value ? R(O.$slots, "ablname", xt(xe({ key: 0 }, { name: m.value })), void 0, !0) : (r(), d("span", Zs, D(m.value), 1))
4528
4528
  ])
4529
4529
  ], 512), [
4530
- [te, _.value.length && !C.value]
4530
+ [te, w.value.length && !C.value]
4531
4531
  ]),
4532
4532
  e.search ? Z((r(), d("input", {
4533
4533
  key: 0,
@@ -4548,7 +4548,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4548
4548
  class: "abl-select-placeholder",
4549
4549
  style: E({ "line-height": e.height })
4550
4550
  }, D(e.placeholder), 5)), [
4551
- [te, !_.value.length]
4551
+ [te, !w.value.length]
4552
4552
  ])
4553
4553
  ], 4),
4554
4554
  u("span", {
@@ -4650,18 +4650,18 @@ const si = {
4650
4650
  }
4651
4651
  n.bordered ? me(() => {
4652
4652
  s.value.forEach(($, k) => {
4653
- $.forEach((w) => {
4654
- const M = Array.from(w.element.children), C = M[0].cloneNode(!0);
4655
- C.colSpan = 1, p(C, n.labelStyle), p(C, JSON.parse(w.element.dataset.labelStyle));
4653
+ $.forEach((_) => {
4654
+ const M = Array.from(_.element.children), C = M[0].cloneNode(!0);
4655
+ C.colSpan = 1, p(C, n.labelStyle), p(C, JSON.parse(_.element.dataset.labelStyle));
4656
4656
  const L = M[1].cloneNode(!0);
4657
- L.colSpan = w.span * 2 - 1, p(L, n.contentStyle), p(L, JSON.parse(w.element.dataset.contentStyle)), o.value[k].appendChild(C), o.value[k].appendChild(L);
4657
+ L.colSpan = _.span * 2 - 1, p(L, n.contentStyle), p(L, JSON.parse(_.element.dataset.contentStyle)), o.value[k].appendChild(C), o.value[k].appendChild(L);
4658
4658
  });
4659
4659
  });
4660
4660
  }) : me(() => {
4661
4661
  v.forEach(($, k) => {
4662
- const w = Array.from($.children), M = w[0];
4662
+ const _ = Array.from($.children), M = _[0];
4663
4663
  p(M, n.labelStyle), p(M, JSON.parse($.dataset.labelStyle));
4664
- const C = w[1];
4664
+ const C = _[1];
4665
4665
  p(C, n.contentStyle), p(C, JSON.parse($.dataset.contentStyle)), i.value[k].appendChild($);
4666
4666
  });
4667
4667
  });
@@ -4932,7 +4932,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4932
4932
  background: t.inactiveColor
4933
4933
  })), k = P(() => ({
4934
4934
  borderColor: t.buttonColor
4935
- })), w = y(!1), M = (V) => !!t.range && Array.isArray(V), C = () => {
4935
+ })), _ = y(!1), M = (V) => !!t.range && Array.isArray(V), C = () => {
4936
4936
  const { modelValue: V, min: Y } = t;
4937
4937
  return M(V) ? `${(V[1] - V[0]) * 100 / p.value}%` : `${(V - Number(Y)) * 100 / p.value}%`;
4938
4938
  }, L = () => {
@@ -4948,7 +4948,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4948
4948
  left: L(),
4949
4949
  background: t.activeColor,
4950
4950
  transition: c.value ? "none" : void 0
4951
- }), _ = (V) => {
4951
+ }), w = (V) => {
4952
4952
  const Y = "abl-range-mark", { modelValue: W, max: ee, min: de } = t;
4953
4953
  let ce = Number(de), ve = Number(ee);
4954
4954
  if (t.range) {
@@ -4987,7 +4987,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4987
4987
  }, j = (V) => {
4988
4988
  if (t.disabled || c.value === "draging")
4989
4989
  return;
4990
- w.value = !0;
4990
+ _.value = !0;
4991
4991
  const { min: Y, modelValue: W } = t, ee = Et(s);
4992
4992
  let de = V.clientX - ee.left, ce = ee.width;
4993
4993
  t.vertical && (de = V.clientY - ee.top, ce = ee.height);
@@ -5001,18 +5001,18 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5001
5001
  document.addEventListener("mousedown", z, { once: !0 });
5002
5002
  });
5003
5003
  }, z = () => {
5004
- w.value = !1;
5004
+ _.value = !1;
5005
5005
  }, X = (V) => {
5006
5006
  t.disabled || (f.start(V), o = t.modelValue, M(o) ? i = o.map(S) : i = S(o), c.value = "start");
5007
5007
  }, O = (V) => {
5008
5008
  if (t.disabled)
5009
5009
  return;
5010
- c.value === "start" && l("dragStart"), f.move(V), c.value = "draging", V.type.startsWith("touch") && (w.value = !0);
5010
+ c.value === "start" && l("dragStart"), f.move(V), c.value = "draging", V.type.startsWith("touch") && (_.value = !0);
5011
5011
  const Y = Et(s);
5012
5012
  let W = f.deltaX.value, ee = Y.width, de = W / ee * p.value;
5013
5013
  t.vertical && (W = f.deltaY.value, ee = Y.height, de = W / ee * p.value), M(i) ? o[a.value] = i[a.value] + de : o = i + de, F(o);
5014
5014
  }, N = (V) => {
5015
- t.disabled || c.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", O), window.removeEventListener("touchmove", O), window.removeEventListener("mouseup", N), window.removeEventListener("touchend", N), V.type.startsWith("touch") && (w.value = !1), setTimeout(() => {
5015
+ t.disabled || c.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", O), window.removeEventListener("touchmove", O), window.removeEventListener("mouseup", N), window.removeEventListener("touchend", N), V.type.startsWith("touch") && (_.value = !1), setTimeout(() => {
5016
5016
  c.value = "";
5017
5017
  }));
5018
5018
  }, q = (V, Y) => {
@@ -5032,7 +5032,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5032
5032
  m.value.length > 0 ? (r(), d("div", Ci, [
5033
5033
  (r(!0), d(K, null, ae(m.value, (W) => (r(), d("span", {
5034
5034
  key: W,
5035
- class: I(_(W)),
5035
+ class: I(w(W)),
5036
5036
  style: E(B(W))
5037
5037
  }, [
5038
5038
  Q(D(W) + " ", 1),
@@ -5073,7 +5073,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5073
5073
  }, [
5074
5074
  e.showTooltip ? (r(), d("div", {
5075
5075
  key: 0,
5076
- class: I(["abl-handle-tooltip", [{ "display-tooltip": a.value === W && w.value }]])
5076
+ class: I(["abl-handle-tooltip", [{ "display-tooltip": a.value === W && _.value }]])
5077
5077
  }, [
5078
5078
  Q(D(le(W)) + " ", 1),
5079
5079
  Bi
@@ -5104,7 +5104,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5104
5104
  }, [
5105
5105
  e.showTooltip ? (r(), d("div", {
5106
5106
  key: 0,
5107
- class: I(["abl-handle-tooltip", [{ "display-tooltip": w.value }]])
5107
+ class: I(["abl-handle-tooltip", [{ "display-tooltip": _.value }]])
5108
5108
  }, [
5109
5109
  Q(D(le()) + " ", 1),
5110
5110
  Li
@@ -5197,8 +5197,8 @@ const Ei = { class: "abl-pagination-wrap" }, Mi = {
5197
5197
  end: h + $
5198
5198
  };
5199
5199
  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;
5200
- for (let w = k.start; w <= k.end; w++)
5201
- x.push(w);
5200
+ for (let _ = k.start; _ <= k.end; _++)
5201
+ x.push(_);
5202
5202
  return x;
5203
5203
  }, p = () => {
5204
5204
  a.value = a.value - t.pagerCount > 0 ? a.value - t.pagerCount : 1, l.itemRender && f("jump", a.value);
@@ -5246,7 +5246,7 @@ const Ei = { class: "abl-pagination-wrap" }, Mi = {
5246
5246
  (r(!0), d(K, null, ae(c.value, ($, k) => (r(), d("div", {
5247
5247
  class: I(["abl-pagination-item", { active: a.value === $ }]),
5248
5248
  key: k,
5249
- onClick: (w) => !se(l).itemRender && g($)
5249
+ onClick: (_) => !se(l).itemRender && g($)
5250
5250
  }, [
5251
5251
  R(h.$slots, "itemRender", {
5252
5252
  page: $,
@@ -5531,7 +5531,7 @@ const vr = {
5531
5531
  const $ = l.container;
5532
5532
  if (!i.value && !$)
5533
5533
  return;
5534
- const k = rt(i), w = o.value, M = rt(w), C = rt($);
5534
+ const k = rt(i), _ = o.value, M = rt(_), C = rt($);
5535
5535
  if (s.height = k.height, s.width = k.width, l.position === "top")
5536
5536
  if ($) {
5537
5537
  s.fixed = m.value > k.top && C.bottom > 0;