abl-ui 0.5.38 → 0.5.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/abl-ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as r, createElementBlock as d, normalizeStyle as E, renderSlot as R, createElementVNode as u, normalizeClass as I, createTextVNode as Q, toDisplayString as D, createCommentVNode as A, createStaticVNode as Mt, computed as P, ref as y, onMounted as ge, nextTick as me, onUnmounted as Je, Fragment as K, renderList as ae, createVNode as fe, useSlots as De, provide as $e, watch as ne, withDirectives as Z, vShow as te, defineComponent as Nt, toRefs as He, inject as Ie, reactive as Le, unref as se, createBlock as ie, TransitionGroup as ul, withCtx as re, resolveDynamicComponent as ft, pushScopeId as ye, popScopeId as be, createApp as dl, getCurrentInstance as Ze, onBeforeUnmount as Qe, onUpdated as pt, onBeforeMount as Tt, Teleport as et, Transition as ke, withModifiers as J, watchEffect as vt, mergeProps as xe, useAttrs as fl, createSlots as pl, vModelDynamic as vl, normalizeProps as xt, withKeys as Ot, vModelText as mt, toRaw as $t } from "vue";
1
+ import { openBlock as r, createElementBlock as d, normalizeStyle as E, renderSlot as R, createElementVNode as u, normalizeClass as I, createTextVNode as Q, toDisplayString as D, createCommentVNode as A, createStaticVNode as Mt, computed as P, ref as b, onMounted as ge, nextTick as me, onUnmounted as Je, Fragment as K, renderList as ae, createVNode as fe, useSlots as De, provide as $e, watch as ne, withDirectives as Z, vShow as te, defineComponent as Nt, toRefs as He, inject as Ie, reactive as Le, unref as se, createBlock as ie, TransitionGroup as ul, withCtx as re, resolveDynamicComponent as ft, pushScopeId as ye, popScopeId as be, createApp as dl, getCurrentInstance as Ze, onBeforeUnmount as Qe, onUpdated as pt, onBeforeMount as Tt, Teleport as et, Transition as ke, withModifiers as J, watchEffect as vt, mergeProps as xe, useAttrs as fl, createSlots as pl, vModelDynamic as vl, normalizeProps as xt, withKeys as Ot, vModelText as mt, toRaw as $t } from "vue";
2
2
  const oe = [];
3
3
  for (let e = 0; e < 256; ++e)
4
4
  oe.push((e + 256).toString(16).slice(1));
@@ -120,7 +120,7 @@ const Vl = { class: "abl-table" }, Bl = ["id"], Il = { class: "gridtable" }, Ll
120
120
  setup(e, { emit: n }) {
121
121
  const t = e, l = P(() => ({
122
122
  maxHeight: t.height ? t.height + "px" : ""
123
- })), a = y(), i = y(), o = y({
123
+ })), a = b(), i = b(), o = b({
124
124
  bodyHandler: null,
125
125
  headHandler: null
126
126
  });
@@ -257,28 +257,28 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
257
257
  emits: ["tabClick", "update:modelValue"],
258
258
  setup(e, { emit: n }) {
259
259
  var M;
260
- const t = n, l = De(), a = e, i = y({}), o = y(), s = y([]), c = y(), f = y(0), m = y(!1), p = y(!1), v = y(!0);
260
+ const t = n, l = De(), a = e, i = b({}), o = b(), s = b([]), c = b(), f = b(0), m = b(!1), p = b(!1), v = b(!0);
261
261
  function g() {
262
262
  const C = (/* @__PURE__ */ new Date()).getTime(), L = Math.random().toString(36).substring(2, 15);
263
263
  return C.toString(36) + L;
264
264
  }
265
- const h = y();
265
+ const h = b();
266
266
  (M = l.default()) == null || M.map(({ props: C, children: L }) => {
267
267
  if (C) {
268
- const { title: T, value: w, icon: B, afterIcon: b } = C;
268
+ const { title: T, value: w, icon: B, afterIcon: y } = C;
269
269
  s.value.push({
270
270
  title: T,
271
271
  value: w,
272
272
  icon: B,
273
- afterIcon: b
273
+ afterIcon: y
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: w, value: B, icon: b, afterIcon: S } = T.props;
277
+ const { title: w, value: B, icon: y, afterIcon: S } = T.props;
278
278
  s.value.push({
279
279
  title: w,
280
280
  value: B,
281
- icon: b,
281
+ icon: y,
282
282
  afterIcon: S
283
283
  });
284
284
  }));
@@ -312,8 +312,8 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
312
312
  if (!o.value)
313
313
  return;
314
314
  let C = 0;
315
- s.value.map((B, b) => {
316
- B.value == a.modelValue && (C = b);
315
+ s.value.map((B, y) => {
316
+ B.value == a.modelValue && (C = y);
317
317
  });
318
318
  const L = o.value[C], T = L == null ? void 0 : L.offsetLeft;
319
319
  i.value = {
@@ -322,8 +322,8 @@ const Pl = { class: "abl-tabs" }, Dl = ["id"], Hl = ["id"], Fl = ["onClick"], Ul
322
322
  };
323
323
  const w = document.getElementById("tab-hidden" + h.value);
324
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
- var b, S, H;
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);
325
+ var y, S, H;
326
+ ((y = B.target) == null ? void 0 : y.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 () => {
@@ -601,7 +601,7 @@ function it(e, n = 0, t = !1) {
601
601
  function St(e) {
602
602
  e && e.id && typeof e.id == "number" ? cancelAnimationFrame(e.id) : console.warn("cancelRaf received an invalid id:", e);
603
603
  }
604
- const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter", "onMouseleave", "onClick"], tn = {
604
+ const Fe = (e) => (ye("data-v-37a282cc"), e = e(), be(), e), en = ["onMouseenter", "onMouseleave", "onClick"], tn = {
605
605
  key: 1,
606
606
  class: "icon-svg",
607
607
  focusable: "false",
@@ -668,82 +668,78 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
668
668
  ], gn = { class: "message-content" }, yn = ["onClick"], bn = {
669
669
  __name: "Message",
670
670
  props: {
671
- content: String,
672
- // 提示内容
673
671
  duration: { type: Number, default: 3e3 },
674
672
  // 自动关闭的延时,单位 ms,设置 null 时,不自动关闭
675
- top: { type: [String, Number], default: 30 },
673
+ top: { type: [String, Number], default: 30 }
676
674
  // 消息距离顶部的位置,单位 px
677
- showClose: { type: Boolean, default: !1 }
678
- // 是否显示关闭按钮
679
675
  },
680
676
  emits: ["click", "close"],
681
677
  setup(e, { expose: n, emit: t }) {
682
- const l = e, a = y(), i = y([]), o = y([]), s = y([]), c = y(null), f = t, m = y(), p = P(() => i.value.every((b) => !b));
683
- ne(p, (b, S) => {
684
- !S && b && (a.value = it(() => {
678
+ const l = e, a = b(), i = b([]), o = b([]), s = b([]), c = b(null), f = t, m = b(), p = P(() => i.value.every((y) => !y));
679
+ ne(p, (y, S) => {
680
+ !S && y && (a.value = it(() => {
685
681
  s.value = [], i.value = [];
686
682
  }, 300));
687
683
  });
688
- function v(b) {
689
- o.value[b] && St(o.value[b]);
684
+ function v(y) {
685
+ o.value[y] && St(o.value[y]);
690
686
  }
691
- function g(b) {
692
- x(b);
687
+ function g(y) {
688
+ x(y);
693
689
  }
694
- function h(b, S) {
695
- s.value[S].onClick && s.value[S].onClick(), f("click", b);
690
+ function h(y, S) {
691
+ s.value[S].onClick && s.value[S].onClick(), f("click", y);
696
692
  }
697
- function x(b) {
698
- c.value !== null && (o.value[b] = it(() => {
699
- i.value[b] && (i.value[b] = !1, s.value[b].onClose && s.value[b].onClose(), f("close"));
693
+ function x(y) {
694
+ c.value !== null && (o.value[y] = it(() => {
695
+ i.value[y] && (i.value[y] = !1, s.value[y].onClose && s.value[y].onClose(), f("close"));
700
696
  }, c.value));
701
697
  }
702
- function $(b) {
703
- const S = s.value.findIndex((F) => F.id === b), H = s.value.length - 1, U = s.value[H];
698
+ function $(y) {
699
+ const S = s.value.findIndex((F) => F.id === y), H = s.value.length - 1, U = s.value[H];
704
700
  U.top !== void 0 ? m.value = typeof U.top == "number" ? `${U.top}px` : U.top : m.value = typeof l.top == "number" ? `${l.top}px` : l.top, i.value[S] = !0, U.duration !== null ? (c.value = U.duration || l.duration, o.value[S] = it(() => {
705
701
  i.value[S] = !1, s.value[S].onClose && s.value[S].onClose(), f("close");
706
702
  }, 0)) : c.value = null;
707
703
  }
708
704
  function k() {
709
705
  a.value && St(a.value);
710
- const b = s.value.length - 1, S = s.value[b];
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;
706
+ const y = s.value.length - 1, S = s.value[y];
707
+ 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[y] = !0, S.duration !== null ? (c.value = S.duration || l.duration, x(y)) : c.value = null;
712
708
  }
713
- const _ = (b, S) => {
709
+ const _ = (y, S) => {
714
710
  let H;
715
- return typeof b == "string" ? H = {
716
- content: b,
711
+ return typeof y == "string" ? H = {
712
+ content: y,
717
713
  mode: S,
718
714
  id: Date.now() + Math.random().toString(36).substring(7)
719
715
  } : H = {
720
- ...b,
716
+ ...y,
721
717
  mode: S,
722
718
  id: Date.now() + Math.random().toString(36).substring(7)
723
719
  }, H;
724
720
  };
725
- function M(b) {
726
- let S = _(b, "open");
721
+ function M(y) {
722
+ let S = _(y, "open");
727
723
  return s.value.push(S), k(), S.id;
728
724
  }
729
- function C(b) {
730
- let S = _(b, "info");
725
+ function C(y) {
726
+ let S = _(y, "info");
731
727
  return s.value.push(S), k(), S.id;
732
728
  }
733
- function L(b) {
734
- let S = _(b, "success");
729
+ function L(y) {
730
+ let S = _(y, "success");
735
731
  return s.value.push(S), k(), S.id;
736
732
  }
737
- function T(b) {
738
- let S = _(b, "error");
733
+ function T(y) {
734
+ let S = _(y, "error");
739
735
  return s.value.push(S), k(), S.id;
740
736
  }
741
- function w(b) {
742
- let S = _(b, "warning");
737
+ function w(y) {
738
+ let S = _(y, "warning");
743
739
  return s.value.push(S), k(), S.id;
744
740
  }
745
- function B(b) {
746
- let S = _(b, "loading");
741
+ function B(y) {
742
+ let S = _(y, "loading");
747
743
  return s.value.push(S), k(), S.id;
748
744
  }
749
745
  return n({
@@ -754,7 +750,7 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
754
750
  warning: w,
755
751
  loading: B,
756
752
  close: $
757
- }), (b, S) => (r(), d("div", {
753
+ }), (y, S) => (r(), d("div", {
758
754
  class: "abl-message",
759
755
  style: E(`top: ${m.value};`)
760
756
  }, [
@@ -779,7 +775,7 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
779
775
  key: 0,
780
776
  class: "icon-svg"
781
777
  })) : H.mode === "info" ? (r(), d("svg", tn, nn)) : H.mode === "success" ? (r(), d("svg", an, sn)) : H.mode === "error" ? (r(), d("svg", rn, un)) : H.mode === "warning" ? (r(), d("svg", dn, pn)) : H.mode === "loading" ? (r(), d("svg", vn, hn)) : A("", !0),
782
- u("div", gn, D(H.content || e.content), 1),
778
+ u("div", gn, D(H.content || y.content), 1),
783
779
  H.closable ? (r(), d("span", {
784
780
  key: 6,
785
781
  class: "icon iconfont-abl close-icon",
@@ -794,7 +790,7 @@ const Fe = (e) => (ye("data-v-0439bd1d"), e = e(), be(), e), en = ["onMouseenter
794
790
  })) : (r(), d(K, { key: 1 }, [], 64))
795
791
  ], 4));
796
792
  }
797
- }, _n = /* @__PURE__ */ G(bn, [["__scopeId", "data-v-0439bd1d"]]);
793
+ }, _n = /* @__PURE__ */ G(bn, [["__scopeId", "data-v-37a282cc"]]);
798
794
  let qe;
799
795
  function Ve() {
800
796
  return qe || (qe = dl(_n).mount(document.createElement("div")), document.body.appendChild(qe.$el)), qe;
@@ -808,7 +804,7 @@ const Dt = {
808
804
  loading: (e) => Ve().loading(e),
809
805
  close: (e) => Ve().close(e)
810
806
  };
811
- const wn = (e) => (ye("data-v-9e719259"), e = e(), be(), e), xn = { class: "abl-drawer-content" }, $n = { class: "abl-drawer-wrapper-body" }, kn = {
807
+ const wn = (e) => (ye("data-v-8f73fef4"), e = e(), be(), e), xn = { class: "abl-drawer-content" }, $n = { class: "abl-drawer-wrapper-body" }, kn = {
812
808
  key: 0,
813
809
  class: "abl-drawer-header"
814
810
  }, Sn = { class: "abl-drawer-header-title" }, Cn = { class: "abl-drawer-title" }, Vn = /* @__PURE__ */ wn(() => /* @__PURE__ */ u("span", { class: "icon iconfont-abl" }, "", -1)), Bn = [
@@ -919,10 +915,10 @@ const wn = (e) => (ye("data-v-9e719259"), e = e(), be(), e), xn = { class: "abl-
919
915
  default: re(() => [
920
916
  e.modelValue && e.overlay ? (r(), d("div", {
921
917
  key: 0,
922
- class: "abl-drawer-mask",
918
+ class: I(["abl-drawer-mask", `${i.class}-mask`]),
923
919
  onClick: m,
924
920
  style: E(`z-index: ${i.zIndex}`)
925
- }, null, 4)) : A("", !0)
921
+ }, null, 6)) : A("", !0)
926
922
  ]),
927
923
  _: 1
928
924
  }),
@@ -973,7 +969,7 @@ const wn = (e) => (ye("data-v-9e719259"), e = e(), be(), e), xn = { class: "abl-
973
969
  }, 8, ["name"])
974
970
  ]));
975
971
  }
976
- }, An = /* @__PURE__ */ G(Ln, [["__scopeId", "data-v-9e719259"]]);
972
+ }, An = /* @__PURE__ */ G(Ln, [["__scopeId", "data-v-8f73fef4"]]);
977
973
  const zn = {
978
974
  key: 0,
979
975
  class: "iconfont-abl icon-abl-loading2 abl-icon-loading"
@@ -1215,7 +1211,7 @@ const Pn = { class: "abl-dialog__header" }, Dn = { class: "abl-dialog__title" },
1215
1211
  },
1216
1212
  emits: ["update:modelValue", "onOverlayClick", "close"],
1217
1213
  setup(e, { emit: n }) {
1218
- const t = Ze(), l = e, a = y(null), i = (v) => {
1214
+ const t = Ze(), l = e, a = b(null), i = (v) => {
1219
1215
  t && (t.appContext.config.globalProperties.$lockCount = v || 0);
1220
1216
  }, o = () => {
1221
1217
  document.body.style.overflow = "hidden", document.body.style.touchAction = "none";
@@ -1553,7 +1549,7 @@ const Zn = (e) => ({
1553
1549
  }, 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
1550
  let w = T ? T[M] : 0;
1555
1551
  (!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;
1552
+ const B = C / 2 - L / 2, y = w / 2 - x[h] / 2 - 1, S = Me(p[k], y), H = Me(p[_], y), 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
1553
  return {
1558
1554
  [g]: v[g] + O,
1559
1555
  data: {
@@ -1602,8 +1598,8 @@ const Zn = (e) => ({
1602
1598
  placement: a,
1603
1599
  overflows: w
1604
1600
  }], !w.every((U) => U <= 0)) {
1605
- var b, S;
1606
- const U = (((b = i.flip) == null ? void 0 : b.index) || 0) + 1, F = L[U];
1601
+ var y, S;
1602
+ const U = (((y = i.flip) == null ? void 0 : y.index) || 0) + 1, F = L[U];
1607
1603
  if (F)
1608
1604
  return {
1609
1605
  data: {
@@ -2237,11 +2233,11 @@ const Ca = ["data-side"], el = {
2237
2233
  }
2238
2234
  },
2239
2235
  setup(e, { expose: n }) {
2240
- const t = y(!1), l = e, a = y(), i = P(() => {
2236
+ const t = b(!1), l = e, a = b(), i = P(() => {
2241
2237
  let z = l.showArrow ? 10 : 5;
2242
2238
  const X = [xa(), $a(), ta(z)];
2243
2239
  return l.showArrow && X.push(ka({ element: a.value })), X;
2244
- }), o = y(l.placement), s = y(l.strategy), c = y(l.hover), f = y("auto"), m = y(null), p = y(), v = y(), g = y(), h = y({}), x = {
2240
+ }), o = b(l.placement), s = b(l.strategy), c = b(l.hover), f = b("auto"), m = b(null), p = b(), v = b(), g = b(), h = b({}), x = {
2245
2241
  x: v,
2246
2242
  y: g,
2247
2243
  placement: o,
@@ -2249,7 +2245,7 @@ const Ca = ["data-side"], el = {
2249
2245
  middlewareData: h
2250
2246
  };
2251
2247
  let $ = null;
2252
- const k = y(!1), _ = y(), M = (z) => {
2248
+ const k = b(!1), _ = b(), M = (z) => {
2253
2249
  _.value = z && z.nextElementSibling || null;
2254
2250
  }, C = () => {
2255
2251
  k.value = !0;
@@ -2275,10 +2271,10 @@ const Ca = ["data-side"], el = {
2275
2271
  });
2276
2272
  const B = (z) => {
2277
2273
  l.shouldStopPropagation && z.stopPropagation(), C(), setTimeout(() => {
2278
- document.addEventListener("mousedown", b, { once: !0 });
2274
+ document.addEventListener("mousedown", y, { once: !0 });
2279
2275
  }, 0);
2280
- }, b = () => {
2281
- L(), document.removeEventListener("mousedown", b);
2276
+ }, y = () => {
2277
+ L(), document.removeEventListener("mousedown", y);
2282
2278
  }, S = P(() => o.value.split("-")[0]), H = P(() => ({ left: v.value + "px", top: g.value + "px", zIndex: l.zIndex, width: f.value })), U = P(() => {
2283
2279
  if (!l.showArrow)
2284
2280
  return {};
@@ -2456,7 +2452,7 @@ const Ca = ["data-side"], el = {
2456
2452
  type: String,
2457
2453
  default: ""
2458
2454
  }
2459
- }, o = fl(), s = y(), c = (g, h) => h.reduce((x, $) => (x[$] = g[$], x), {}), f = P(() => ({ ...o, ...c(t, Object.keys(i)) }));
2455
+ }, o = fl(), s = b(), c = (g, h) => h.reduce((x, $) => (x[$] = g[$], x), {}), f = P(() => ({ ...o, ...c(t, Object.keys(i)) }));
2460
2456
  function m() {
2461
2457
  s.value.update();
2462
2458
  }
@@ -2547,7 +2543,7 @@ const at = (e) => (ye("data-v-bc247383"), e = e(), be(), e), Ba = ["onClick"], I
2547
2543
  },
2548
2544
  emits: ["update:modelValue", "change", "hoverChange"],
2549
2545
  setup(e, { emit: n }) {
2550
- const t = e, l = y(t.modelValue), a = y();
2546
+ const t = e, l = b(t.modelValue), a = b();
2551
2547
  ne(
2552
2548
  () => t.modelValue,
2553
2549
  (v) => {
@@ -2669,7 +2665,7 @@ const Ha = {
2669
2665
  },
2670
2666
  emits: ["update:modelValue", "change"],
2671
2667
  setup(e, { emit: n }) {
2672
- const t = e, l = y(0), a = () => (l.value++, l.value), i = n, o = (s) => {
2668
+ const t = e, l = b(0), a = () => (l.value++, l.value), i = n, o = (s) => {
2673
2669
  i("update:modelValue", s), i("change", s);
2674
2670
  };
2675
2671
  return $e(
@@ -2731,9 +2727,9 @@ const Ua = { class: "abl-collapse__title" }, ja = { key: 0 }, Wa = { class: "ico
2731
2727
  },
2732
2728
  emits: ["change"],
2733
2729
  setup(e, { emit: n }) {
2734
- const t = y(), l = e, a = Ie("getChildIndex"), i = a == null ? void 0 : a();
2735
- y(null);
2736
- const o = Ie("CollapseKey", void 0), s = P(() => o.modelValue), c = P(() => o.iconType), f = P(() => Array.isArray(s.value) ? s.value.includes(l.name) : s.value === l.name), m = y(f.value ? "auto" : "0px"), p = () => {
2730
+ const t = b(), l = e, a = Ie("getChildIndex"), i = a == null ? void 0 : a();
2731
+ b(null);
2732
+ const o = Ie("CollapseKey", void 0), s = P(() => o.modelValue), c = P(() => o.iconType), f = P(() => Array.isArray(s.value) ? s.value.includes(l.name) : s.value === l.name), m = b(f.value ? "auto" : "0px"), p = () => {
2737
2733
  if (f.value)
2738
2734
  if (Array.isArray(s.value)) {
2739
2735
  const h = s.value.filter((x) => x !== l.name);
@@ -3053,7 +3049,7 @@ const so = /* @__PURE__ */ u("div", {
3053
3049
  },
3054
3050
  emits: ["update:modelValue"],
3055
3051
  setup(e, { emit: n }) {
3056
- const t = Ze(), l = e, a = P(() => l.previewSrcList.length), i = y(Array(a.value).fill(!1)), o = y(l.initialIndex), s = y(1), c = y(0), f = y(0), m = y(0), p = y(0), v = y(0), g = n, h = (F) => {
3052
+ const t = Ze(), l = e, a = P(() => l.previewSrcList.length), i = b(Array(a.value).fill(!1)), o = b(l.initialIndex), s = b(1), c = b(0), f = b(0), m = b(0), p = b(0), v = b(0), g = n, h = (F) => {
3057
3053
  t && (t.appContext.config.globalProperties.$lockCount = F || 0);
3058
3054
  }, x = () => {
3059
3055
  document.body.style.overflow = "hidden", document.body.style.touchAction = "none";
@@ -3096,7 +3092,7 @@ const so = /* @__PURE__ */ u("div", {
3096
3092
  v.value -= 90;
3097
3093
  }, B = () => {
3098
3094
  v.value += 90;
3099
- }, b = () => {
3095
+ }, y = () => {
3100
3096
  v.value = 0, s.value = 1, m.value = 0, p.value = 0;
3101
3097
  }, S = (F) => {
3102
3098
  if (!l.drag)
@@ -3221,7 +3217,7 @@ const so = /* @__PURE__ */ u("div", {
3221
3217
  }, So),
3222
3218
  u("i", {
3223
3219
  class: "abl-icon",
3224
- onClick: J(b, ["stop"])
3220
+ onClick: J(y, ["stop"])
3225
3221
  }, Vo),
3226
3222
  u("i", {
3227
3223
  class: "abl-icon",
@@ -3290,8 +3286,8 @@ const zo = { class: "abl-image-wrap" }, Ro = ["src"], Eo = ["src"], ol = {
3290
3286
  }
3291
3287
  },
3292
3288
  setup(e, { expose: n }) {
3293
- const t = e, l = y(!1), a = y(!1), i = y(null);
3294
- y("");
3289
+ const t = e, l = b(!1), a = b(!1), i = b(null);
3290
+ b("");
3295
3291
  const o = () => {
3296
3292
  l.value = !0;
3297
3293
  }, s = () => {
@@ -3468,7 +3464,7 @@ const Do = /* @__PURE__ */ u("svg", {
3468
3464
  }, Ho, 6));
3469
3465
  }
3470
3466
  }, Uo = (e) => {
3471
- const n = y(null), t = (l) => {
3467
+ const n = b(null), t = (l) => {
3472
3468
  const { target: a } = l;
3473
3469
  n.value.contains(a) || e(l);
3474
3470
  };
@@ -3540,18 +3536,18 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3540
3536
  emits: ["open", "close"],
3541
3537
  setup(e, { emit: n }) {
3542
3538
  var L;
3543
- const t = n, l = De(), a = typeof window < "u" && typeof document < "u", i = e, o = y([]);
3539
+ const t = n, l = De(), a = typeof window < "u" && typeof document < "u", i = e, o = b([]);
3544
3540
  (L = l.default()) == null || L.forEach((T) => {
3545
3541
  const { props: w } = T;
3546
3542
  if (w) {
3547
- const { title: B, disabled: b } = w;
3543
+ const { title: B, disabled: y } = w;
3548
3544
  o.value.push({
3549
3545
  title: B,
3550
- disabled: b
3546
+ disabled: y
3551
3547
  });
3552
3548
  }
3553
3549
  });
3554
- const s = y(), c = y(), f = y(!1), m = y(0), p = y(""), v = y(!1), g = (T) => typeof T == "number" ? T + "px" : T;
3550
+ const s = b(), c = b(), f = b(!1), m = b(0), p = b(""), v = b(!1), g = (T) => typeof T == "number" ? T + "px" : T;
3555
3551
  ne(
3556
3552
  () => f.value,
3557
3553
  (T) => {
@@ -3610,21 +3606,21 @@ const jo = (e) => (ye("data-v-b0efe321"), e = e(), be(), e), Wo = ["onClick"], q
3610
3606
  ref_key: "dropdownMenuRef",
3611
3607
  ref: s
3612
3608
  }, [
3613
- (r(!0), d(K, null, ae(o.value, (B, b) => (r(), d("div", {
3609
+ (r(!0), d(K, null, ae(o.value, (B, y) => (r(), d("div", {
3614
3610
  class: "abl-dropdown-menu__item",
3615
- key: b,
3616
- onClick: J((S) => h(B, b), ["stop"])
3611
+ key: y,
3612
+ onClick: J((S) => h(B, y), ["stop"])
3617
3613
  }, [
3618
3614
  u("span", {
3619
3615
  class: "abl-dropdown-menu__item__title",
3620
3616
  style: E({
3621
- color: B.disabled ? "#c0c4cc" : b === p.value ? e.activeColor : e.inactiveColor,
3617
+ color: B.disabled ? "#c0c4cc" : y === p.value ? e.activeColor : e.inactiveColor,
3622
3618
  fontSize: g(e.titleSize)
3623
3619
  })
3624
3620
  }, D(B.title), 5),
3625
3621
  u("div", {
3626
3622
  class: I(["abl-dropdown-menu__item__arrow", {
3627
- "abl-dropdown-menu__item__arrow--rotate": b === p.value
3623
+ "abl-dropdown-menu__item__arrow--rotate": y === p.value
3628
3624
  }])
3629
3625
  }, [
3630
3626
  (r(), d("svg", qo, Xo))
@@ -3718,8 +3714,8 @@ const Qo = (e) => (ye("data-v-046e593c"), e = e(), be(), e), es = ["active"], ts
3718
3714
  },
3719
3715
  emits: ["update:modelValue", "change"],
3720
3716
  setup(e, { emit: n }) {
3721
- const t = Ie(os), l = y(!1);
3722
- t != null && t.activeColor || y("#2979ff"), t != null && t.inactiveColor || y("#606266");
3717
+ const t = Ie(os), l = b(!1);
3718
+ t != null && t.activeColor || b("#2979ff"), t != null && t.inactiveColor || b("#606266");
3723
3719
  const a = e, i = n, o = (s) => {
3724
3720
  t == null || t.onClose(), i("update:modelValue", s), i("change", s);
3725
3721
  };
@@ -3826,7 +3822,7 @@ const fs = {
3826
3822
  },
3827
3823
  emits: ["update:modelValue", "focus", "blur", "clear", "input"],
3828
3824
  setup(e, { expose: n, emit: t }) {
3829
- const l = e, a = t, i = y(), o = y(l.autofocus), s = y(!0), c = y(l.type), f = y(!1), m = P({
3825
+ const l = e, a = t, i = b(), o = b(l.autofocus), s = b(!0), c = b(l.type), f = b(!1), m = P({
3830
3826
  get: () => l.modelValue,
3831
3827
  set: (_) => {
3832
3828
  a("update:modelValue", _);
@@ -4088,7 +4084,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4088
4084
  },
4089
4085
  emits: ["update:fileList", "change", "remove"],
4090
4086
  setup(e, { emit: n }) {
4091
- const t = e, l = y([]), a = y(1), i = y(Array(t.maxCount).fill(!1)), o = y(), s = y(), c = y(!1), f = y("");
4087
+ const t = e, l = b([]), a = b(1), i = b(Array(t.maxCount).fill(!1)), o = b(), s = b(), c = b(!1), f = b("");
4092
4088
  vt(() => {
4093
4089
  m();
4094
4090
  });
@@ -4096,27 +4092,27 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4096
4092
  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
4093
  }
4098
4094
  const p = (w) => {
4099
- const B = /\.(jpg|jpeg|png|gif|webp)$/i, b = /^data:image/;
4100
- return B.test(w) || b.test(w);
4095
+ const B = /\.(jpg|jpeg|png|gif|webp)$/i, y = /^data:image/;
4096
+ return B.test(w) || y.test(w);
4101
4097
  }, v = (w) => {
4102
4098
  c.value = !0, f.value = w;
4103
4099
  }, g = (w, B) => {
4104
4100
  var S;
4105
- const b = (S = w.dataTransfer) == null ? void 0 : S.files;
4106
- if (b != null && b.length) {
4107
- const H = b.length;
4101
+ const y = (S = w.dataTransfer) == null ? void 0 : S.files;
4102
+ if (y != null && y.length) {
4103
+ const H = y.length;
4108
4104
  for (let U = 0; U < H && B + U <= t.maxCount; U++)
4109
- k(b[U], B + U);
4105
+ k(y[U], B + U);
4110
4106
  o.value[B].value = "";
4111
4107
  }
4112
4108
  }, h = (w) => {
4113
4109
  o.value[w].click();
4114
4110
  }, x = (w, B) => {
4115
- const b = w.target.files;
4116
- if (b != null && b.length) {
4117
- const S = b.length;
4111
+ const y = w.target.files;
4112
+ if (y != null && y.length) {
4113
+ const S = y.length;
4118
4114
  for (let H = 0; H < S && B + H < t.maxCount; H++)
4119
- k(b[H], B + H);
4115
+ k(y[H], B + H);
4120
4116
  o.value[B].value = "";
4121
4117
  }
4122
4118
  }, $ = n, k = function(w, B) {
@@ -4124,37 +4120,37 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4124
4120
  T(t.errorInfo);
4125
4121
  });
4126
4122
  }, _ = (w, B) => {
4127
- var b = new FileReader();
4128
- b.readAsDataURL(w), b.onloadstart = function(S) {
4123
+ var y = new FileReader();
4124
+ y.readAsDataURL(w), y.onloadstart = function(S) {
4129
4125
  console.log("开始读取 onloadstart:", S);
4130
- }, b.onabort = function(S) {
4126
+ }, y.onabort = function(S) {
4131
4127
  console.log("读取中止 onabort:", S);
4132
- }, b.onerror = function(S) {
4128
+ }, y.onerror = function(S) {
4133
4129
  console.log("读取错误 onerror:", S);
4134
- }, b.onprogress = function(S) {
4130
+ }, y.onprogress = function(S) {
4135
4131
  S.loaded === S.total && (i.value[B] = !1);
4136
- }, b.onload = function(S) {
4132
+ }, y.onload = function(S) {
4137
4133
  var H, U;
4138
4134
  t.isUrl ? l.value.push({
4139
4135
  name: w.name,
4140
4136
  url: (H = S.target) == null ? void 0 : H.result,
4141
4137
  type: w.type
4142
4138
  }) : l.value.push((U = S.target) == null ? void 0 : U.result), $("update:fileList", l.value), $("change", l.value);
4143
- }, b.onloadend = function(S) {
4139
+ }, y.onloadend = function(S) {
4144
4140
  console.log("读取结束 onloadend:", S);
4145
4141
  };
4146
4142
  }, M = (w, B) => {
4147
- t.customRequest(w).then((b) => {
4148
- b && l.value.push(b), $("update:fileList", l.value), $("change", l.value);
4149
- }).catch((b) => {
4150
- t.maxCount > 1 && (a.value = l.value.length + 1), T(b);
4143
+ t.customRequest(w).then((y) => {
4144
+ y && l.value.push(y), $("update:fileList", l.value), $("change", l.value);
4145
+ }).catch((y) => {
4146
+ t.maxCount > 1 && (a.value = l.value.length + 1), T(y);
4151
4147
  }).finally(() => {
4152
4148
  i.value[B] = !1;
4153
4149
  });
4154
4150
  }, C = (w, B) => {
4155
4151
  if (p(B)) {
4156
- const b = l.value.slice(0, w).filter((S) => !p(t.isUrl ? S.url : S));
4157
- s.value[w - b.length].onPreview();
4152
+ const y = l.value.slice(0, w).filter((S) => !p(t.isUrl ? S.url : S));
4153
+ s.value[w - y.length].onPreview();
4158
4154
  } else
4159
4155
  v(B);
4160
4156
  }, L = (w) => {
@@ -4165,9 +4161,9 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4165
4161
  Dt.error(w);
4166
4162
  };
4167
4163
  return (w, B) => (r(), d("div", Ls, [
4168
- (r(!0), d(K, null, ae(a.value, (b) => (r(), d("div", {
4164
+ (r(!0), d(K, null, ae(a.value, (y) => (r(), d("div", {
4169
4165
  class: "abl-upload-item",
4170
- key: b
4166
+ key: y
4171
4167
  }, [
4172
4168
  u("div", As, [
4173
4169
  Z(u("div", {
@@ -4176,8 +4172,8 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4176
4172
  }, ["stop", "prevent"])),
4177
4173
  onDragover: B[2] || (B[2] = J(() => {
4178
4174
  }, ["stop", "prevent"])),
4179
- onDrop: J((S) => e.disabled ? () => !1 : g(S, b - 1), ["stop", "prevent"]),
4180
- onClick: (S) => e.disabled ? () => !1 : h(b - 1)
4175
+ onDrop: J((S) => e.disabled ? () => !1 : g(S, y - 1), ["stop", "prevent"]),
4176
+ onClick: (S) => e.disabled ? () => !1 : h(y - 1)
4181
4177
  }, [
4182
4178
  u("input", {
4183
4179
  ref_for: !0,
@@ -4188,7 +4184,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4188
4184
  }, ["stop"])),
4189
4185
  accept: e.accept,
4190
4186
  multiple: e.multiple,
4191
- onChange: (S) => x(S, b - 1),
4187
+ onChange: (S) => x(S, y - 1),
4192
4188
  style: { display: "none" }
4193
4189
  }, null, 40, Rs),
4194
4190
  u("div", null, [
@@ -4200,7 +4196,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4200
4196
  ])) : A("", !0)
4201
4197
  ])
4202
4198
  ], 42, zs), [
4203
- [te, !i.value[b - 1] && !l.value[b - 1]]
4199
+ [te, !i.value[y - 1] && !l.value[y - 1]]
4204
4200
  ]),
4205
4201
  Z(u("div", Ns, [
4206
4202
  fe(il, {
@@ -4210,35 +4206,35 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4210
4206
  size: "small"
4211
4207
  }, null, 8, ["tip"])
4212
4208
  ], 512), [
4213
- [te, i.value[b - 1]]
4209
+ [te, i.value[y - 1]]
4214
4210
  ]),
4215
- l.value[b - 1] ? (r(), d("div", Ts, [
4216
- p(e.isUrl ? l.value[b - 1].url : l.value[b - 1]) ? (r(), ie(ol, {
4211
+ l.value[y - 1] ? (r(), d("div", Ts, [
4212
+ p(e.isUrl ? l.value[y - 1].url : l.value[y - 1]) ? (r(), ie(ol, {
4217
4213
  key: 0,
4218
4214
  ref_for: !0,
4219
4215
  ref_key: "imageRef",
4220
4216
  ref: s,
4221
4217
  bordered: !1,
4222
4218
  width: "82",
4223
- src: e.isUrl ? l.value[b - 1].url : l.value[b - 1],
4224
- previewSrcList: [e.isUrl ? l.value[b - 1].url : l.value[b - 1]],
4225
- name: e.isUrl ? l.value[b - 1].name : ""
4219
+ src: e.isUrl ? l.value[y - 1].url : l.value[y - 1],
4220
+ previewSrcList: [e.isUrl ? l.value[y - 1].url : l.value[y - 1]],
4221
+ name: e.isUrl ? l.value[y - 1].name : ""
4226
4222
  }, null, 8, ["src", "previewSrcList", "name"])) : (r(), d("div", Os, [
4227
4223
  u("video", {
4228
4224
  style: { width: "100%", height: "100%" },
4229
- src: e.isUrl ? l.value[b - 1].url : l.value[b - 1]
4225
+ src: e.isUrl ? l.value[y - 1].url : l.value[y - 1]
4230
4226
  }, null, 8, Ps)
4231
4227
  ])),
4232
4228
  u("div", Ds, [
4233
4229
  u("a", {
4234
4230
  class: "m-icon",
4235
4231
  title: "preview",
4236
- onClick: (S) => C(b - 1, e.isUrl ? l.value[b - 1].url : l.value[b - 1])
4232
+ onClick: (S) => C(y - 1, e.isUrl ? l.value[y - 1].url : l.value[y - 1])
4237
4233
  }, Us, 8, Hs),
4238
4234
  Z(u("a", {
4239
4235
  class: "m-icon",
4240
4236
  title: "delete",
4241
- onClick: J((S) => L(b - 1), ["prevent", "stop"])
4237
+ onClick: J((S) => L(y - 1), ["prevent", "stop"])
4242
4238
  }, qs, 8, js), [
4243
4239
  [te, !e.disabled]
4244
4240
  ])
@@ -4248,7 +4244,7 @@ const wt = (e) => (ye("data-v-915b5556"), e = e(), be(), e), Ls = { class: "abl-
4248
4244
  ]))), 128)),
4249
4245
  fe(Ft, {
4250
4246
  modelValue: c.value,
4251
- "onUpdate:modelValue": B[3] || (B[3] = (b) => c.value = b),
4247
+ "onUpdate:modelValue": B[3] || (B[3] = (y) => c.value = y),
4252
4248
  title: "",
4253
4249
  zIndex: 4001
4254
4250
  }, {
@@ -4351,14 +4347,14 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4351
4347
  pure: !0,
4352
4348
  trigger: "click",
4353
4349
  transitionName: "abl-select-menu"
4354
- }), m = y(""), p = y(), v = y(null), g = y(""), h = y(), x = y(o.modelValue), $ = y(!1), k = P(() => {
4350
+ }), m = b(""), p = b(), v = b(null), g = b(""), h = b(), x = b(o.modelValue), $ = b(!1), k = P(() => {
4355
4351
  var N;
4356
4352
  return { width: (((N = p.value) == null ? void 0 : N.getBoundingClientRect().width) || 0) + "px" };
4357
4353
  }), _ = Le({
4358
4354
  list: o == null ? void 0 : o.options
4359
- }), M = y(!1), C = y(
4355
+ }), M = b(!1), C = b(
4360
4356
  o.search && g.value === "focus" && M.value
4361
- ), L = P(() => o.disabled), T = y(""), w = y([]), B = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], b = () => {
4357
+ ), L = P(() => o.disabled), T = b(""), w = b([]), B = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], y = () => {
4362
4358
  var O;
4363
4359
  try {
4364
4360
  l.default && (_.list = [], (O = l.default()) == null || O.map((N) => {
@@ -4381,7 +4377,7 @@ const Gs = { class: "abl-select-warpper-content" }, Js = { class: "abl-select-ha
4381
4377
  };
4382
4378
  ne(B, () => {
4383
4379
  me(() => {
4384
- b();
4380
+ y();
4385
4381
  });
4386
4382
  }, {
4387
4383
  immediate: !0,
@@ -4622,7 +4618,7 @@ const si = {
4622
4618
  }
4623
4619
  },
4624
4620
  setup(e) {
4625
- const n = e, t = y(n.col), l = y(), a = y(), i = y(), o = y(), s = y([]), c = P(() => s.value.length);
4621
+ const n = e, t = b(n.col), l = b(), a = b(), i = b(), o = b(), s = b([]), c = P(() => s.value.length);
4626
4622
  vt(() => {
4627
4623
  l.value && (n.bordered ? a.value = Array.from(l.value.children).filter((v) => v.className === "abl-desc-item-bordered") : a.value = Array.from(l.value.children).filter((v) => v.className === "abl-desc-item"));
4628
4624
  }, { flush: "post" }), ne(a, (v) => {
@@ -4789,7 +4785,7 @@ function xi(e, n) {
4789
4785
  return e > n && e > Rt ? "horizontal" : n > e && n > Rt ? "vertical" : "";
4790
4786
  }
4791
4787
  function $i() {
4792
- const e = y(0), n = y(0), t = y(0), l = y(0), a = y(0), i = y(0), o = y(0), s = y(0), c = y(""), f = () => c.value === "vertical", m = () => c.value === "horizontal", p = () => {
4788
+ const e = b(0), n = b(0), t = b(0), l = b(0), a = b(0), i = b(0), o = b(0), s = b(0), c = b(""), f = () => c.value === "vertical", m = () => c.value === "horizontal", p = () => {
4793
4789
  a.value = 0, i.value = 0, o.value = 0, s.value = 0, c.value = "";
4794
4790
  };
4795
4791
  return {
@@ -4907,14 +4903,14 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4907
4903
  "update:modelValue"
4908
4904
  ],
4909
4905
  setup(e, { emit: n }) {
4910
- const t = e, l = n, a = y(0);
4906
+ const t = e, l = n, a = b(0);
4911
4907
  let i, o;
4912
- const s = y(), c = y(), f = $i();
4913
- y(), y(), y([]);
4908
+ const s = b(), c = b(), f = $i();
4909
+ b(), b(), b([]);
4914
4910
  const m = P(() => {
4915
4911
  const { marks: V, max: Y, min: W } = t;
4916
4912
  return Object.keys(V).map(parseFloat).sort((ce, ve) => ce - ve).filter((ce) => ce >= +W && ce <= +Y);
4917
- }), p = P(() => Number(t.max) - Number(t.min)), v = y([]), g = y(), h = P(() => {
4913
+ }), p = P(() => Number(t.max) - Number(t.min)), v = b([]), g = b(), h = P(() => {
4918
4914
  const V = "abl-range";
4919
4915
  return {
4920
4916
  [V]: !0,
@@ -4932,7 +4928,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4932
4928
  background: t.inactiveColor
4933
4929
  })), k = P(() => ({
4934
4930
  borderColor: t.buttonColor
4935
- })), _ = y(!1), M = (V) => !!t.range && Array.isArray(V), C = () => {
4931
+ })), _ = b(!1), M = (V) => !!t.range && Array.isArray(V), C = () => {
4936
4932
  const { modelValue: V, min: Y } = t;
4937
4933
  return M(V) ? `${(V[1] - V[0]) * 100 / p.value}%` : `${(V - Number(Y)) * 100 / p.value}%`;
4938
4934
  }, L = () => {
@@ -4969,7 +4965,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
4969
4965
  return W && (ee = {
4970
4966
  top: `${(V - Number(Y)) / p.value * 100}%`
4971
4967
  }), ee;
4972
- }, b = (V) => {
4968
+ }, y = (V) => {
4973
4969
  const { modelValue: Y, max: W, min: ee } = t;
4974
4970
  let de = Number(ee), ce = Number(W);
4975
4971
  if (t.range) {
@@ -5038,7 +5034,7 @@ const rl = (e) => (ye("data-v-f4c52821"), e = e(), be(), e), Si = {
5038
5034
  Q(D(W) + " ", 1),
5039
5035
  u("span", {
5040
5036
  class: "abl-range-tick",
5041
- style: E(b(W))
5037
+ style: E(y(W))
5042
5038
  }, null, 4)
5043
5039
  ], 6))), 128))
5044
5040
  ])) : A("", !0),
@@ -5180,7 +5176,7 @@ const Ei = { class: "abl-pagination-wrap" }, Mi = {
5180
5176
  },
5181
5177
  emits: ["change", "jump", "update:current"],
5182
5178
  setup(e, { emit: n }) {
5183
- const t = e, l = De(), a = y(t.current), i = y(!1), o = y(!1), s = P(() => Math.ceil(t.total / t.pageSize)), c = P(() => m(a.value).filter(
5179
+ const t = e, l = De(), a = b(t.current), i = b(!1), o = b(!1), s = P(() => Math.ceil(t.total / t.pageSize)), c = P(() => m(a.value).filter(
5184
5180
  (h) => h !== 1 && h !== s.value
5185
5181
  )), f = n;
5186
5182
  ne(a, (h) => {
@@ -5430,7 +5426,7 @@ const rr = {
5430
5426
  }
5431
5427
  },
5432
5428
  setup(e) {
5433
- const n = e, t = y(!1), l = P(() => ({
5429
+ const n = e, t = b(!1), l = P(() => ({
5434
5430
  color: n.fontColor
5435
5431
  })), a = P(() => {
5436
5432
  let i = "";
@@ -5515,12 +5511,12 @@ const vr = {
5515
5511
  },
5516
5512
  emits: ["change"],
5517
5513
  setup(e, { emit: n }) {
5518
- const t = typeof window < "u" && typeof document < "u", l = e, a = n, i = y(), o = y(), s = Le({
5514
+ const t = typeof window < "u" && typeof document < "u", l = e, a = n, i = b(), o = b(), s = Le({
5519
5515
  fixed: !1,
5520
5516
  height: 0,
5521
5517
  width: 0,
5522
5518
  transform: 0
5523
- }), c = y(), f = y(null), m = P(() => l.position === "top" ? Number(l.offsetTop) : Number(l.offsetBottom)), p = P(() => s.fixed ? { height: `${s.height}px` } : {}), v = P(() => s.fixed ? {
5519
+ }), c = b(), f = b(null), m = P(() => l.position === "top" ? Number(l.offsetTop) : Number(l.offsetBottom)), p = P(() => s.fixed ? { height: `${s.height}px` } : {}), v = P(() => s.fixed ? {
5524
5520
  [l.position]: `${m.value}px`,
5525
5521
  height: `${s.height}px`,
5526
5522
  width: `${s.width}px`,
@@ -5601,7 +5597,7 @@ const hr = { class: "abl-tree-select" }, gr = { class: "abl-tree-select-tab" },
5601
5597
  },
5602
5598
  emits: ["update:modelValue"],
5603
5599
  setup(e, { emit: n }) {
5604
- const t = n, l = e, a = y(l.modelValue || 0), i = (o) => {
5600
+ const t = n, l = e, a = b(l.modelValue || 0), i = (o) => {
5605
5601
  a.value = o, t("update:modelValue", o + "");
5606
5602
  };
5607
5603
  return (o, s) => (r(), d("div", hr, [
@@ -5629,7 +5625,7 @@ const $r = {
5629
5625
  }
5630
5626
  },
5631
5627
  setup(e) {
5632
- const n = y(e.time / 1e3), t = y(null), l = y(performance.now()), a = (o) => {
5628
+ const n = b(e.time / 1e3), t = b(null), l = b(performance.now()), a = (o) => {
5633
5629
  const s = o - l.value;
5634
5630
  if (s >= 1e3) {
5635
5631
  const c = Math.floor(s / 1e3);
@@ -5690,7 +5686,7 @@ const Er = {
5690
5686
  }
5691
5687
  },
5692
5688
  setup(e, { emit: n }) {
5693
- const t = y(e.modelValue), l = y(!1), a = y(!1);
5689
+ const t = b(e.modelValue), l = b(!1), a = b(!1);
5694
5690
  t.value == e.min && (a.value = !0), t.value == e.max && (l.value = !0);
5695
5691
  const i = () => {
5696
5692
  e.disabled || (a.value = !1, t.value < e.max && (t.value++, n("update:modelValue", t.value), n("change", t.value)));