abl-ui 0.5.12 → 0.5.14

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 M, renderSlot as E, createElementVNode as u, normalizeClass as V, createTextVNode as ee, toDisplayString as H, createCommentVNode as R, createStaticVNode as Et, computed as P, ref as b, onMounted as he, nextTick as be, onUnmounted as Je, Fragment as K, renderList as le, createVNode as fe, useSlots as De, provide as $e, watch as ae, withDirectives as Q, vShow as te, defineComponent as Mt, toRefs as He, inject as Le, reactive as Ie, unref as se, createBlock as ie, TransitionGroup as ul, withCtx as re, resolveDynamicComponent as ft, pushScopeId as ge, popScopeId as ye, createApp as dl, getCurrentInstance as Ze, onBeforeUnmount as Qe, onUpdated as pt, onBeforeMount as Nt, Teleport as et, Transition as ke, withModifiers as Z, watchEffect as vt, mergeProps as xe, useAttrs as fl, createSlots as pl, vModelDynamic as vl, normalizeProps as wt, withKeys as Tt, vModelText as Ot, toRaw as xt } from "vue";
1
+ import { openBlock as r, createElementBlock as d, normalizeStyle as M, renderSlot as E, createElementVNode as u, normalizeClass as L, createTextVNode as ee, toDisplayString as H, createCommentVNode as R, createStaticVNode as Et, computed as P, ref as b, onMounted as he, nextTick as be, onUnmounted as Je, Fragment as K, renderList as le, createVNode as fe, useSlots as De, provide as $e, watch as ae, withDirectives as Q, vShow as te, defineComponent as Mt, toRefs as He, inject as Le, reactive as Ie, unref as se, createBlock as ie, TransitionGroup as ul, withCtx as re, resolveDynamicComponent as ft, pushScopeId as ge, popScopeId as ye, createApp as dl, getCurrentInstance as Ze, onBeforeUnmount as Qe, onUpdated as pt, onBeforeMount as Nt, Teleport as et, Transition as ke, withModifiers as Z, watchEffect as vt, mergeProps as xe, useAttrs as fl, createSlots as pl, vModelDynamic as vl, normalizeProps as wt, withKeys as Tt, vModelText as Ot, toRaw as xt } 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));
@@ -83,7 +83,7 @@ const G = (e, n) => {
83
83
  ], !0),
84
84
  e.description ? (r(), d("p", {
85
85
  key: 3,
86
- class: V(["u-description", { gray: e.image === "2" }])
86
+ class: L(["u-description", { gray: e.image === "2" }])
87
87
  }, [
88
88
  E(n.$slots, "description", {}, () => [
89
89
  ee(H(e.description), 1)
@@ -153,7 +153,7 @@ const Bl = { class: "abl-table" }, Vl = ["id"], Ll = { class: "gridtable" }, Il
153
153
  return (c, f) => (r(), d("section", null, [
154
154
  u("div", Bl, [
155
155
  u("div", {
156
- class: V(["table__inner-wrapper", e.border ? "has-table-border" : ""]),
156
+ class: L(["table__inner-wrapper", e.border ? "has-table-border" : ""]),
157
157
  id: "box"
158
158
  }, [
159
159
  u("div", {
@@ -172,7 +172,7 @@ const Bl = { class: "abl-table" }, Vl = ["id"], Ll = { class: "gridtable" }, Il
172
172
  u("tr", null, [
173
173
  (r(!0), d(K, null, le(t.columns, (m, v) => (r(), d("th", {
174
174
  key: v,
175
- class: V(m.fixed == "left" ? "table-fixed-column--left" : m.fixed == "right" ? "table-fixed-column--right" : "")
175
+ class: L(m.fixed == "left" ? "table-fixed-column--left" : m.fixed == "right" ? "table-fixed-column--right" : "")
176
176
  }, [
177
177
  u("div", {
178
178
  class: "cell",
@@ -200,11 +200,11 @@ const Bl = { class: "abl-table" }, Vl = ["id"], Ll = { class: "gridtable" }, Il
200
200
  t.data.length > 0 ? (r(), d("tbody", Rl, [
201
201
  (r(!0), d(K, null, le(t.data, (m, v) => (r(), d("tr", {
202
202
  key: v,
203
- class: V([{ "tr-selected": m.selected, "tr-stripe": t.stripe && v % 2 == 0 }])
203
+ class: L([{ "tr-selected": m.selected, "tr-stripe": t.stripe && v % 2 == 0 }])
204
204
  }, [
205
205
  (r(!0), d(K, null, le(e.columns, (p, y) => (r(), d("td", {
206
206
  key: y,
207
- class: V(p.fixed == "left" ? "table-fixed-column--left" : p.fixed == "right" ? "table-fixed-column--right" : "")
207
+ class: L(p.fixed == "left" ? "table-fixed-column--left" : p.fixed == "right" ? "table-fixed-column--right" : "")
208
208
  }, [
209
209
  u("div", {
210
210
  class: "cell",
@@ -262,100 +262,100 @@ const Pl = { class: "abl-tabs" }, Dl = {
262
262
  },
263
263
  emits: ["tabClick", "update:modelValue"],
264
264
  setup(e, { emit: n }) {
265
- var k;
265
+ var x;
266
266
  const t = n, l = De(), a = e, s = b({}), o = b(), i = b([]), c = b(), f = b(0), m = b(!1), v = b(!1), p = b(!0);
267
- (k = l.default()) == null || k.map(({ props: g, children: C }) => {
267
+ (x = l.default()) == null || x.map(({ props: g, children: B }) => {
268
268
  if (g) {
269
- const { title: L, value: I, icon: T, afterIcon: $ } = g;
269
+ const { title: I, value: V, icon: N, afterIcon: k } = g;
270
270
  i.value.push({
271
- title: L,
272
- value: I,
273
- icon: T,
274
- afterIcon: $
271
+ title: I,
272
+ value: V,
273
+ icon: N,
274
+ afterIcon: k
275
275
  });
276
276
  } else
277
- (C == null ? void 0 : C.length) > 0 && Array.isArray(C) && (C == null || C.map((L) => {
278
- const { title: I, value: T, icon: $, afterIcon: A } = L.props;
277
+ (B == null ? void 0 : B.length) > 0 && Array.isArray(B) && (B == null || B.map((I) => {
278
+ const { title: V, value: N, icon: k, afterIcon: A } = I.props;
279
279
  i.value.push({
280
- title: I,
281
- value: T,
282
- icon: $,
280
+ title: V,
281
+ value: N,
282
+ icon: k,
283
283
  afterIcon: A
284
284
  });
285
285
  }));
286
286
  }), $e("active", f);
287
- const y = (g, C) => {
288
- var I;
289
- const L = (I = g == null ? void 0 : g.target) == null ? void 0 : I.offsetLeft;
287
+ const y = (g, B) => {
288
+ var V;
289
+ const I = (V = g == null ? void 0 : g.target) == null ? void 0 : V.offsetLeft;
290
290
  s.value = {
291
- transform: `translateX(${L}px)`,
291
+ transform: `translateX(${I}px)`,
292
292
  width: g.target.clientWidth + "px"
293
- }, f.value = C, t("update:modelValue", C), t("tabClick", C);
293
+ }, f.value = B, t("update:modelValue", B), t("tabClick", B);
294
294
  }, h = () => {
295
295
  const g = document.querySelector("#tab-hidden");
296
296
  if (!g)
297
297
  return;
298
- const C = document.querySelector("#tabs-header-wrap").clientWidth;
299
- (g == null ? void 0 : g.scrollWidth) > (g == null ? void 0 : g.clientWidth) + (g == null ? void 0 : g.scrollLeft) && (g.scrollLeft += C);
298
+ const B = document.querySelector("#tabs-header-wrap").clientWidth;
299
+ (g == null ? void 0 : g.scrollWidth) > (g == null ? void 0 : g.clientWidth) + (g == null ? void 0 : g.scrollLeft) && (g.scrollLeft += B);
300
300
  }, w = () => {
301
- const g = document.querySelector("#tab-hidden"), C = document.querySelector("#tabs-header-wrap").clientWidth;
302
- g.scrollLeft > 0 && (g.scrollLeft -= C);
301
+ const g = document.querySelector("#tab-hidden"), B = document.querySelector("#tabs-header-wrap").clientWidth;
302
+ g.scrollLeft > 0 && (g.scrollLeft -= B);
303
303
  };
304
304
  he(() => {
305
- x();
305
+ $();
306
306
  });
307
- const x = () => {
307
+ const $ = () => {
308
308
  if (!o.value)
309
309
  return;
310
310
  let g = 0;
311
- i.value.map((T, $) => {
312
- T.value == a.modelValue && (g = $);
311
+ i.value.map((N, k) => {
312
+ N.value == a.modelValue && (g = k);
313
313
  });
314
- const C = o.value[g], L = C == null ? void 0 : C.offsetLeft;
314
+ const B = o.value[g], I = B == null ? void 0 : B.offsetLeft;
315
315
  s.value = {
316
- transform: `translateX(${L}px)`,
317
- width: C.clientWidth + "px"
316
+ transform: `translateX(${I}px)`,
317
+ width: B.clientWidth + "px"
318
318
  };
319
- const I = document.getElementById("tab-hidden");
320
- (I == null ? void 0 : I.scrollWidth) - 2 > (I == null ? void 0 : I.clientWidth) ? m.value = !0 : m.value = !1, I.addEventListener("scroll", function(T) {
321
- var $, A, _;
322
- (($ = T.target) == null ? void 0 : $.scrollLeft) + ((A = T.target) == null ? void 0 : A.offsetWidth) >= ((_ = T.target) == null ? void 0 : _.scrollWidth) - 1 && (p.value = !1, L.value = !0), T.target.scrollLeft == 0 && (p.value = !0, L.value = !1);
319
+ const V = document.getElementById("tab-hidden");
320
+ (V == null ? void 0 : V.scrollWidth) - 2 > (V == null ? void 0 : V.clientWidth) ? m.value = !0 : m.value = !1, V.addEventListener("scroll", function(N) {
321
+ var k, A, _;
322
+ ((k = N.target) == null ? void 0 : k.scrollLeft) + ((A = N.target) == null ? void 0 : A.offsetWidth) >= ((_ = N.target) == null ? void 0 : _.scrollWidth) - 1 && (p.value = !1, I.value = !0), N.target.scrollLeft == 0 && (p.value = !0, I.value = !1);
323
323
  });
324
324
  };
325
325
  return ae(() => a.modelValue, async () => {
326
- f.value = a.modelValue, x();
326
+ f.value = a.modelValue, $();
327
327
  }, {
328
328
  immediate: !0
329
- }), (g, C) => {
330
- var L;
329
+ }), (g, B) => {
330
+ var I;
331
331
  return r(), d("div", Pl, [
332
332
  u("div", Dl, [
333
333
  Q(u("i", {
334
- class: V([v.value ? "" : "left-disable", "iconfont-abl icon-abl-youjiantou1 arrow"]),
334
+ class: L([v.value ? "" : "left-disable", "iconfont-abl icon-abl-youjiantou1 arrow"]),
335
335
  onClick: w
336
336
  }, null, 2), [
337
337
  [te, m.value]
338
338
  ]),
339
339
  u("header", Hl, [
340
- (r(!0), d(K, null, le(i.value, (I) => (r(), d("div", {
341
- class: V([f.value === I.value ? "header-btn-active" : "", "header-btn"]),
342
- key: I.title,
340
+ (r(!0), d(K, null, le(i.value, (V) => (r(), d("div", {
341
+ class: L([f.value === V.value ? "header-btn-active" : "", "header-btn"]),
342
+ key: V.title,
343
343
  ref_for: !0,
344
344
  ref_key: "tabs",
345
345
  ref: o,
346
- onClick: (T) => y(T, I.value)
346
+ onClick: (N) => y(N, V.value)
347
347
  }, [
348
- I.icon ? (r(), d("i", {
348
+ V.icon ? (r(), d("i", {
349
349
  key: 0,
350
- class: V(["tab-icon", I.icon])
350
+ class: L(["tab-icon", V.icon])
351
351
  }, null, 2)) : R("", !0),
352
- ee(H(I.title) + " ", 1),
353
- I.afterIcon ? (r(), d("i", {
352
+ ee(H(V.title) + " ", 1),
353
+ V.afterIcon ? (r(), d("i", {
354
354
  key: 1,
355
- class: V(["iconfont-abl tab-icon-after", I.afterIcon])
355
+ class: L(["iconfont-abl tab-icon-after", V.afterIcon])
356
356
  }, null, 2)) : R("", !0)
357
357
  ], 10, Fl))), 128)),
358
- (L = s.value) != null && L.width ? (r(), d("div", {
358
+ (I = s.value) != null && I.width ? (r(), d("div", {
359
359
  key: 0,
360
360
  class: "bottom-line",
361
361
  style: M(s.value)
@@ -373,7 +373,7 @@ const Pl = { class: "abl-tabs" }, Dl = {
373
373
  ], 4)) : R("", !0)
374
374
  ]),
375
375
  Q(u("i", {
376
- class: V([p.value ? "" : "right-disable", "iconfont-abl icon-abl-youjiantou arrow"]),
376
+ class: L([p.value ? "" : "right-disable", "iconfont-abl icon-abl-youjiantou arrow"]),
377
377
  onClick: h
378
378
  }, null, 2), [
379
379
  [te, m.value]
@@ -437,7 +437,7 @@ const Pl = { class: "abl-tabs" }, Dl = {
437
437
  [`abl-switch-${o.value}`]: o.value
438
438
  }));
439
439
  return (c, f) => (r(), d("div", {
440
- class: V(["abl-switch", i.value]),
440
+ class: L(["abl-switch", i.value]),
441
441
  onClick: a,
442
442
  style: M({ background: t.modelValue == t.activeValue ? e.activeColor : e.inactiveColor })
443
443
  }, [
@@ -488,14 +488,14 @@ const Kl = {
488
488
  [`abl-radio-${c.value}`]: c.value
489
489
  }));
490
490
  return (v, p) => (r(), d("div", {
491
- class: V(["abl-radio", m.value]),
491
+ class: L(["abl-radio", m.value]),
492
492
  onClick: f
493
493
  }, [
494
494
  u("span", {
495
- class: V(["abl-radio-input", m.value])
495
+ class: L(["abl-radio-input", m.value])
496
496
  }, null, 2),
497
497
  u("span", {
498
- class: V(["abl-radio-label", m.value])
498
+ class: L(["abl-radio-label", m.value])
499
499
  }, [
500
500
  E(v.$slots, "default", {}, () => [
501
501
  ee(H(e.label), 1)
@@ -687,13 +687,13 @@ const Fe = (e) => (ge("data-v-278b4efc"), e = e(), ye(), e), en = ["onMouseenter
687
687
  s.value[_] && (s.value[_] = !1, i.value[_].onClose && i.value[_].onClose(), f("close"));
688
688
  }, c.value));
689
689
  }
690
- function x(_) {
690
+ function $(_) {
691
691
  const S = i.value.findIndex((F) => F.id === _), U = i.value.length - 1, j = i.value[U];
692
692
  j.top !== void 0 ? m.value = typeof j.top == "number" ? `${j.top}px` : j.top : m.value = typeof l.top == "number" ? `${l.top}px` : l.top, s.value[S] = !0, j.duration !== null ? (c.value = j.duration || l.duration, o.value[S] = it(() => {
693
693
  s.value[S] = !1, i.value[S].onClose && i.value[S].onClose(), f("close");
694
694
  }, 0)) : c.value = null;
695
695
  }
696
- function k() {
696
+ function x() {
697
697
  a.value && kt(a.value);
698
698
  const _ = i.value.length - 1, S = i.value[_];
699
699
  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, s.value[_] = !0, S.duration !== null ? (c.value = S.duration || l.duration, w(_)) : c.value = null;
@@ -710,38 +710,38 @@ const Fe = (e) => (ge("data-v-278b4efc"), e = e(), ye(), e), en = ["onMouseenter
710
710
  id: Date.now() + Math.random().toString(36).substring(7)
711
711
  }, U;
712
712
  };
713
- function C(_) {
713
+ function B(_) {
714
714
  let S = g(_, "open");
715
- return i.value.push(S), k(), S.id;
715
+ return i.value.push(S), x(), S.id;
716
716
  }
717
- function L(_) {
717
+ function I(_) {
718
718
  let S = g(_, "info");
719
- return i.value.push(S), k(), S.id;
719
+ return i.value.push(S), x(), S.id;
720
720
  }
721
- function I(_) {
721
+ function V(_) {
722
722
  let S = g(_, "success");
723
- return i.value.push(S), k(), S.id;
723
+ return i.value.push(S), x(), S.id;
724
724
  }
725
- function T(_) {
725
+ function N(_) {
726
726
  let S = g(_, "error");
727
- return i.value.push(S), k(), S.id;
727
+ return i.value.push(S), x(), S.id;
728
728
  }
729
- function $(_) {
729
+ function k(_) {
730
730
  let S = g(_, "warning");
731
- return i.value.push(S), k(), S.id;
731
+ return i.value.push(S), x(), S.id;
732
732
  }
733
733
  function A(_) {
734
734
  let S = g(_, "loading");
735
- return i.value.push(S), k(), S.id;
735
+ return i.value.push(S), x(), S.id;
736
736
  }
737
737
  return n({
738
- open: C,
739
- info: L,
740
- success: I,
741
- error: T,
742
- warning: $,
738
+ open: B,
739
+ info: I,
740
+ success: V,
741
+ error: N,
742
+ warning: k,
743
743
  loading: A,
744
- close: x
744
+ close: $
745
745
  }), (_, S) => (r(), d("div", {
746
746
  class: "abl-message",
747
747
  style: M(`top: ${m.value};`)
@@ -753,12 +753,12 @@ const Fe = (e) => (ge("data-v-278b4efc"), e = e(), ye(), e), en = ["onMouseenter
753
753
  }, {
754
754
  default: re(() => [
755
755
  (r(!0), d(K, null, le(i.value, (U, j) => Q((r(), d("div", {
756
- class: V(["message-wrap", U.class]),
756
+ class: L(["message-wrap", U.class]),
757
757
  style: M(U.style),
758
758
  key: j
759
759
  }, [
760
760
  u("div", {
761
- class: V(["message-content-wrap", `icon-${U.mode}`]),
761
+ class: L(["message-content-wrap", `icon-${U.mode}`]),
762
762
  onMouseenter: (F) => p(j),
763
763
  onMouseleave: (F) => y(j),
764
764
  onClick: (F) => h(F, j)
@@ -916,7 +916,7 @@ const _n = (e) => (ge("data-v-9e719259"), e = e(), ye(), e), wn = { class: "abl-
916
916
  default: re(() => [
917
917
  e.modelValue ? (r(), d("div", {
918
918
  key: 0,
919
- class: V(["abl-drawer", e.customClass, `abl-drawer-${s.direction}`, e.round && "abl-drawer-round", s.class]),
919
+ class: L(["abl-drawer", e.customClass, `abl-drawer-${s.direction}`, e.round && "abl-drawer-round", s.class]),
920
920
  style: M(`z-index: ${s.zIndex + 1}`)
921
921
  }, [
922
922
  u("div", {
@@ -1010,7 +1010,7 @@ const An = {
1010
1010
  "is-disabled": n.disabled
1011
1011
  }));
1012
1012
  return (l, a) => (r(), d("button", {
1013
- class: V(["abl-button", t.value])
1013
+ class: L(["abl-button", t.value])
1014
1014
  }, [
1015
1015
  e.loading ? (r(), d(K, { key: 0 }, [
1016
1016
  e.loading ? (r(), d("i", An)) : R("", !0),
@@ -1019,7 +1019,7 @@ const An = {
1019
1019
  e.iconPosition === "left" ? E(l.$slots, "icon", { key: 0 }, () => [
1020
1020
  e.icon ? (r(), d("i", {
1021
1021
  key: 0,
1022
- class: V(["iconfont-abl slot-icon-left", e.icon])
1022
+ class: L(["iconfont-abl slot-icon-left", e.icon])
1023
1023
  }, null, 2)) : R("", !0)
1024
1024
  ]) : R("", !0),
1025
1025
  u("span", zn, [
@@ -1028,7 +1028,7 @@ const An = {
1028
1028
  e.iconPosition === "right" ? E(l.$slots, "icon", { key: 1 }, () => [
1029
1029
  e.icon ? (r(), d("i", {
1030
1030
  key: 0,
1031
- class: V(["iconfont-abl slot-icon-right", e.icon])
1031
+ class: L(["iconfont-abl slot-icon-right", e.icon])
1032
1032
  }, null, 2)) : R("", !0)
1033
1033
  ]) : R("", !0)
1034
1034
  ], 64))
@@ -1089,14 +1089,14 @@ const Mn = {
1089
1089
  }
1090
1090
  };
1091
1091
  return (v, p) => (r(), d("div", {
1092
- class: V(["abl-checkbox", f.value]),
1092
+ class: L(["abl-checkbox", f.value]),
1093
1093
  onClick: m
1094
1094
  }, [
1095
1095
  u("span", {
1096
- class: V(["abl-checkbox-input", f.value])
1096
+ class: L(["abl-checkbox-input", f.value])
1097
1097
  }, null, 2),
1098
1098
  u("span", {
1099
- class: V(["abl-checkbox-label", f.value])
1099
+ class: L(["abl-checkbox-label", f.value])
1100
1100
  }, [
1101
1101
  E(v.$slots, "default", {}, () => [
1102
1102
  ee(H(e.label), 1)
@@ -1230,12 +1230,12 @@ const On = { class: "abl-dialog__header" }, Pn = { class: "abl-dialog__title" },
1230
1230
  default: re(() => [
1231
1231
  e.modelValue ? (r(), d("div", {
1232
1232
  key: 0,
1233
- class: V(["abl-dialog-overlay", v.value, l.class]),
1233
+ class: L(["abl-dialog-overlay", v.value, l.class]),
1234
1234
  onClick: m,
1235
1235
  style: M({ zIndex: e.zIndex })
1236
1236
  }, [
1237
1237
  u("div", {
1238
- class: V(["abl-dialog", e.customClass, v.value]),
1238
+ class: L(["abl-dialog", e.customClass, v.value]),
1239
1239
  style: M({ width: e.width, zIndex: e.zIndex + 1 }),
1240
1240
  ref_key: "root",
1241
1241
  ref: a
@@ -1424,14 +1424,14 @@ const Gn = async (e, n, t) => {
1424
1424
  } = St(f, l, c), p = l, y = {}, h = 0;
1425
1425
  for (let w = 0; w < i.length; w++) {
1426
1426
  const {
1427
- name: x,
1428
- fn: k
1427
+ name: $,
1428
+ fn: x
1429
1429
  } = i[w], {
1430
1430
  x: g,
1431
- y: C,
1432
- data: L,
1433
- reset: I
1434
- } = await k({
1431
+ y: B,
1432
+ data: I,
1433
+ reset: V
1434
+ } = await x({
1435
1435
  x: m,
1436
1436
  y: v,
1437
1437
  initialPlacement: l,
@@ -1445,17 +1445,17 @@ const Gn = async (e, n, t) => {
1445
1445
  floating: n
1446
1446
  }
1447
1447
  });
1448
- m = g ?? m, v = C ?? v, y = {
1448
+ m = g ?? m, v = B ?? v, y = {
1449
1449
  ...y,
1450
- [x]: {
1451
- ...y[x],
1452
- ...L
1450
+ [$]: {
1451
+ ...y[$],
1452
+ ...I
1453
1453
  }
1454
- }, I && h <= 50 && (h++, typeof I == "object" && (I.placement && (p = I.placement), I.rects && (f = I.rects === !0 ? await o.getElementRects({
1454
+ }, V && h <= 50 && (h++, typeof V == "object" && (V.placement && (p = V.placement), V.rects && (f = V.rects === !0 ? await o.getElementRects({
1455
1455
  reference: e,
1456
1456
  floating: n,
1457
1457
  strategy: a
1458
- }) : I.rects), {
1458
+ }) : V.rects), {
1459
1459
  x: m,
1460
1460
  y: v
1461
1461
  } = St(f, p, c)), w = -1);
@@ -1484,8 +1484,8 @@ async function Wt(e, n) {
1484
1484
  elementContext: v = "floating",
1485
1485
  altBoundary: p = !1,
1486
1486
  padding: y = 0
1487
- } = Ue(n, e), h = jt(y), x = i[p ? v === "floating" ? "reference" : "floating" : v], k = Ge(await s.getClippingRect({
1488
- element: (t = await (s.isElement == null ? void 0 : s.isElement(x))) == null || t ? x : x.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
1487
+ } = Ue(n, e), h = jt(y), $ = i[p ? v === "floating" ? "reference" : "floating" : v], x = Ge(await s.getClippingRect({
1488
+ element: (t = await (s.isElement == null ? void 0 : s.isElement($))) == null || t ? $ : $.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
1489
1489
  boundary: f,
1490
1490
  rootBoundary: m,
1491
1491
  strategy: c
@@ -1493,23 +1493,23 @@ async function Wt(e, n) {
1493
1493
  ...o.floating,
1494
1494
  x: l,
1495
1495
  y: a
1496
- } : o.reference, C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(i.floating)), L = await (s.isElement == null ? void 0 : s.isElement(C)) ? await (s.getScale == null ? void 0 : s.getScale(C)) || {
1496
+ } : o.reference, B = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(i.floating)), I = await (s.isElement == null ? void 0 : s.isElement(B)) ? await (s.getScale == null ? void 0 : s.getScale(B)) || {
1497
1497
  x: 1,
1498
1498
  y: 1
1499
1499
  } : {
1500
1500
  x: 1,
1501
1501
  y: 1
1502
- }, I = Ge(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
1502
+ }, V = Ge(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
1503
1503
  elements: i,
1504
1504
  rect: g,
1505
- offsetParent: C,
1505
+ offsetParent: B,
1506
1506
  strategy: c
1507
1507
  }) : g);
1508
1508
  return {
1509
- top: (k.top - I.top + h.top) / L.y,
1510
- bottom: (I.bottom - k.bottom + h.bottom) / L.y,
1511
- left: (k.left - I.left + h.left) / L.x,
1512
- right: (I.right - k.right + h.right) / L.x
1509
+ top: (x.top - V.top + h.top) / I.y,
1510
+ bottom: (V.bottom - x.bottom + h.bottom) / I.y,
1511
+ left: (x.left - V.left + h.left) / I.x,
1512
+ right: (V.right - x.right + h.right) / I.x
1513
1513
  };
1514
1514
  }
1515
1515
  const Jn = (e) => ({
@@ -1533,17 +1533,17 @@ const Jn = (e) => ({
1533
1533
  const v = jt(m), p = {
1534
1534
  x: t,
1535
1535
  y: l
1536
- }, y = ht(a), h = mt(y), w = await o.getDimensions(f), x = y === "y", k = x ? "top" : "left", g = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", L = s.reference[h] + s.reference[y] - p[y] - s.floating[h], I = p[y] - s.reference[y], T = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1537
- let $ = T ? T[C] : 0;
1538
- (!$ || !await (o.isElement == null ? void 0 : o.isElement(T))) && ($ = i.floating[C] || s.floating[h]);
1539
- const A = L / 2 - I / 2, _ = $ / 2 - w[h] / 2 - 1, S = Me(v[k], _), U = Me(v[g], _), j = S, F = $ - w[h] - U, W = $ / 2 - w[h] / 2 + A, z = ct(j, W, F), Y = !c.arrow && je(a) != null && W !== z && s.reference[h] / 2 - (W < j ? S : U) - w[h] / 2 < 0, N = Y ? W < j ? W - j : W - F : 0;
1536
+ }, y = ht(a), h = mt(y), w = await o.getDimensions(f), $ = y === "y", x = $ ? "top" : "left", g = $ ? "bottom" : "right", B = $ ? "clientHeight" : "clientWidth", I = s.reference[h] + s.reference[y] - p[y] - s.floating[h], V = p[y] - s.reference[y], N = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1537
+ let k = N ? N[B] : 0;
1538
+ (!k || !await (o.isElement == null ? void 0 : o.isElement(N))) && (k = i.floating[B] || s.floating[h]);
1539
+ const A = I / 2 - V / 2, _ = k / 2 - w[h] / 2 - 1, S = Me(v[x], _), U = Me(v[g], _), j = S, F = k - w[h] - U, W = k / 2 - w[h] / 2 + A, z = ct(j, W, F), Y = !c.arrow && je(a) != null && W !== z && s.reference[h] / 2 - (W < j ? S : U) - w[h] / 2 < 0, T = Y ? W < j ? W - j : W - F : 0;
1540
1540
  return {
1541
- [y]: p[y] + N,
1541
+ [y]: p[y] + T,
1542
1542
  data: {
1543
1543
  [y]: z,
1544
- centerOffset: W - z - N,
1544
+ centerOffset: W - z - T,
1545
1545
  ...Y && {
1546
- alignmentOffset: N
1546
+ alignmentOffset: T
1547
1547
  }
1548
1548
  },
1549
1549
  reset: Y
@@ -1569,24 +1569,24 @@ const Jn = (e) => ({
1569
1569
  fallbackStrategy: y = "bestFit",
1570
1570
  fallbackAxisSideDirection: h = "none",
1571
1571
  flipAlignment: w = !0,
1572
- ...x
1572
+ ...$
1573
1573
  } = Ue(e, n);
1574
1574
  if ((t = s.arrow) != null && t.alignmentOffset)
1575
1575
  return {};
1576
- const k = Ae(a), g = Ae(i) === i, C = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), L = p || (g || !w ? [Ke(i)] : qn(i));
1577
- !p && h !== "none" && L.push(...Xn(i, w, h, C));
1578
- const I = [i, ...L], T = await Wt(n, x), $ = [];
1576
+ const x = Ae(a), g = Ae(i) === i, B = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), I = p || (g || !w ? [Ke(i)] : qn(i));
1577
+ !p && h !== "none" && I.push(...Xn(i, w, h, B));
1578
+ const V = [i, ...I], N = await Wt(n, $), k = [];
1579
1579
  let A = ((l = s.flip) == null ? void 0 : l.overflows) || [];
1580
- if (m && $.push(T[k]), v) {
1581
- const j = Wn(a, o, C);
1582
- $.push(T[j[0]], T[j[1]]);
1580
+ if (m && k.push(N[x]), v) {
1581
+ const j = Wn(a, o, B);
1582
+ k.push(N[j[0]], N[j[1]]);
1583
1583
  }
1584
1584
  if (A = [...A, {
1585
1585
  placement: a,
1586
- overflows: $
1587
- }], !$.every((j) => j <= 0)) {
1586
+ overflows: k
1587
+ }], !k.every((j) => j <= 0)) {
1588
1588
  var _, S;
1589
- const j = (((_ = s.flip) == null ? void 0 : _.index) || 0) + 1, F = I[j];
1589
+ const j = (((_ = s.flip) == null ? void 0 : _.index) || 0) + 1, F = V[j];
1590
1590
  if (F)
1591
1591
  return {
1592
1592
  data: {
@@ -1602,7 +1602,7 @@ const Jn = (e) => ({
1602
1602
  switch (y) {
1603
1603
  case "bestFit": {
1604
1604
  var U;
1605
- const z = (U = A.map((Y) => [Y.placement, Y.overflows.filter((N) => N > 0).reduce((N, O) => N + O, 0)]).sort((Y, N) => Y[1] - N[1])[0]) == null ? void 0 : U[0];
1605
+ const z = (U = A.map((Y) => [Y.placement, Y.overflows.filter((T) => T > 0).reduce((T, O) => T + O, 0)]).sort((Y, T) => Y[1] - T[1])[0]) == null ? void 0 : U[0];
1606
1606
  z && (W = z);
1607
1607
  break;
1608
1608
  }
@@ -1684,13 +1684,13 @@ const ea = function(e) {
1684
1684
  mainAxis: s = !0,
1685
1685
  crossAxis: o = !1,
1686
1686
  limiter: i = {
1687
- fn: (x) => {
1687
+ fn: ($) => {
1688
1688
  let {
1689
- x: k,
1689
+ x,
1690
1690
  y: g
1691
- } = x;
1691
+ } = $;
1692
1692
  return {
1693
- x: k,
1693
+ x,
1694
1694
  y: g
1695
1695
  };
1696
1696
  }
@@ -1702,12 +1702,12 @@ const ea = function(e) {
1702
1702
  }, m = await Wt(n, c), v = tt(Ae(a)), p = Ut(v);
1703
1703
  let y = f[p], h = f[v];
1704
1704
  if (s) {
1705
- const x = p === "y" ? "top" : "left", k = p === "y" ? "bottom" : "right", g = y + m[x], C = y - m[k];
1706
- y = ct(g, y, C);
1705
+ const $ = p === "y" ? "top" : "left", x = p === "y" ? "bottom" : "right", g = y + m[$], B = y - m[x];
1706
+ y = ct(g, y, B);
1707
1707
  }
1708
1708
  if (o) {
1709
- const x = v === "y" ? "top" : "left", k = v === "y" ? "bottom" : "right", g = h + m[x], C = h - m[k];
1710
- h = ct(g, h, C);
1709
+ const $ = v === "y" ? "top" : "left", x = v === "y" ? "bottom" : "right", g = h + m[$], B = h - m[x];
1710
+ h = ct(g, h, B);
1711
1711
  }
1712
1712
  const w = i.fn({
1713
1713
  ...n,
@@ -1862,8 +1862,8 @@ function ze(e, n, t, l) {
1862
1862
  const p = ue(s), y = l && _e(l) ? ue(l) : l;
1863
1863
  let h = p, w = h.frameElement;
1864
1864
  for (; w && l && y !== h; ) {
1865
- const x = Ee(w), k = w.getBoundingClientRect(), g = pe(w), C = k.left + (w.clientLeft + parseFloat(g.paddingLeft)) * x.x, L = k.top + (w.clientTop + parseFloat(g.paddingTop)) * x.y;
1866
- c *= x.x, f *= x.y, m *= x.x, v *= x.y, c += C, f += L, h = ue(w), w = h.frameElement;
1865
+ const $ = Ee(w), x = w.getBoundingClientRect(), g = pe(w), B = x.left + (w.clientLeft + parseFloat(g.paddingLeft)) * $.x, I = x.top + (w.clientTop + parseFloat(g.paddingTop)) * $.y;
1866
+ c *= $.x, f *= $.y, m *= $.x, v *= $.y, c += B, f += I, h = ue(w), w = h.frameElement;
1867
1867
  }
1868
1868
  }
1869
1869
  return Ge({
@@ -2089,30 +2089,30 @@ function ba(e, n) {
2089
2089
  } = e.getBoundingClientRect();
2090
2090
  if (i || n(), !v || !p)
2091
2091
  return;
2092
- const y = Ye(m), h = Ye(a.clientWidth - (f + v)), w = Ye(a.clientHeight - (m + p)), x = Ye(f), g = {
2093
- rootMargin: -y + "px " + -h + "px " + -w + "px " + -x + "px",
2092
+ const y = Ye(m), h = Ye(a.clientWidth - (f + v)), w = Ye(a.clientHeight - (m + p)), $ = Ye(f), g = {
2093
+ rootMargin: -y + "px " + -h + "px " + -w + "px " + -$ + "px",
2094
2094
  threshold: Ve(0, Me(1, c)) || 1
2095
2095
  };
2096
- let C = !0;
2097
- function L(I) {
2098
- const T = I[0].intersectionRatio;
2099
- if (T !== c) {
2100
- if (!C)
2096
+ let B = !0;
2097
+ function I(V) {
2098
+ const N = V[0].intersectionRatio;
2099
+ if (N !== c) {
2100
+ if (!B)
2101
2101
  return o();
2102
- T ? o(!1, T) : l = setTimeout(() => {
2102
+ N ? o(!1, N) : l = setTimeout(() => {
2103
2103
  o(!1, 1e-7);
2104
2104
  }, 100);
2105
2105
  }
2106
- C = !1;
2106
+ B = !1;
2107
2107
  }
2108
2108
  try {
2109
- t = new IntersectionObserver(L, {
2109
+ t = new IntersectionObserver(I, {
2110
2110
  ...g,
2111
2111
  // Handle <iframe>s
2112
2112
  root: a.ownerDocument
2113
2113
  });
2114
2114
  } catch {
2115
- t = new IntersectionObserver(L, g);
2115
+ t = new IntersectionObserver(I, g);
2116
2116
  }
2117
2117
  t.observe(e);
2118
2118
  }
@@ -2127,31 +2127,31 @@ function _a(e, n, t, l) {
2127
2127
  layoutShift: i = typeof IntersectionObserver == "function",
2128
2128
  animationFrame: c = !1
2129
2129
  } = l, f = bt(e), m = a || s ? [...f ? Pe(f) : [], ...Pe(n)] : [];
2130
- m.forEach((k) => {
2131
- a && k.addEventListener("scroll", t, {
2130
+ m.forEach((x) => {
2131
+ a && x.addEventListener("scroll", t, {
2132
2132
  passive: !0
2133
- }), s && k.addEventListener("resize", t);
2133
+ }), s && x.addEventListener("resize", t);
2134
2134
  });
2135
2135
  const v = f && i ? ba(f, t) : null;
2136
2136
  let p = -1, y = null;
2137
- o && (y = new ResizeObserver((k) => {
2138
- let [g] = k;
2137
+ o && (y = new ResizeObserver((x) => {
2138
+ let [g] = x;
2139
2139
  g && g.target === f && y && (y.unobserve(n), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
2140
- var C;
2141
- (C = y) == null || C.observe(n);
2140
+ var B;
2141
+ (B = y) == null || B.observe(n);
2142
2142
  })), t();
2143
2143
  }), f && !c && y.observe(f), y.observe(n));
2144
2144
  let h, w = c ? ze(e) : null;
2145
- c && x();
2146
- function x() {
2147
- const k = ze(e);
2148
- w && (k.x !== w.x || k.y !== w.y || k.width !== w.width || k.height !== w.height) && t(), w = k, h = requestAnimationFrame(x);
2145
+ c && $();
2146
+ function $() {
2147
+ const x = ze(e);
2148
+ w && (x.x !== w.x || x.y !== w.y || x.width !== w.width || x.height !== w.height) && t(), w = x, h = requestAnimationFrame($);
2149
2149
  }
2150
2150
  return t(), () => {
2151
- var k;
2151
+ var x;
2152
2152
  m.forEach((g) => {
2153
2153
  a && g.removeEventListener("scroll", t), s && g.removeEventListener("resize", t);
2154
- }), v == null || v(), (k = y) == null || k.disconnect(), y = null, c && cancelAnimationFrame(h);
2154
+ }), v == null || v(), (x = y) == null || x.disconnect(), y = null, c && cancelAnimationFrame(h);
2155
2155
  };
2156
2156
  }
2157
2157
  const wa = ta, xa = Zn, $a = Jn, ka = (e, n, t) => {
@@ -2231,37 +2231,37 @@ const Sa = ["data-side"], el = {
2231
2231
  strategy: i,
2232
2232
  middlewareData: h
2233
2233
  };
2234
- let x = null;
2235
- const k = b(!1), g = b(), C = (z) => {
2234
+ let $ = null;
2235
+ const x = b(!1), g = b(), B = (z) => {
2236
2236
  g.value = z && z.nextElementSibling || null;
2237
- }, L = () => {
2238
- k.value = !0;
2239
- }, I = () => k.value = !1, T = () => {
2237
+ }, I = () => {
2238
+ x.value = !0;
2239
+ }, V = () => x.value = !1, N = () => {
2240
2240
  g.value && be(() => {
2241
2241
  g.value.addEventListener("click", A);
2242
2242
  const z = g.value.getBoundingClientRect();
2243
- l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), c.value && (g.value.addEventListener("mouseover", L, { capture: !0 }), g.value.addEventListener("mouseout", I, { capture: !0 }));
2243
+ l.widthAuto && (f.value = z != null && z.width ? (z == null ? void 0 : z.width) + "px" : "auto"), c.value && (g.value.addEventListener("mouseover", I, { capture: !0 }), g.value.addEventListener("mouseout", V, { capture: !0 }));
2244
2244
  });
2245
- }, $ = () => {
2246
- g.value && (g.value.removeEventListener("click", A), c.value && (g.value.removeEventListener("mouseover", L, { capture: !0 }), g.value.removeEventListener("mouseout", I, { capture: !0 })));
2245
+ }, k = () => {
2246
+ g.value && (g.value.removeEventListener("click", A), c.value && (g.value.removeEventListener("mouseover", I, { capture: !0 }), g.value.removeEventListener("mouseout", V, { capture: !0 })));
2247
2247
  };
2248
2248
  he(() => {
2249
- t.value = !0, T(), vt(() => {
2249
+ t.value = !0, N(), vt(() => {
2250
2250
  W();
2251
2251
  });
2252
2252
  }), ae(() => m.value, (z) => {
2253
- z && C(m.value);
2253
+ z && B(m.value);
2254
2254
  }, { immediate: !0 }), ae(g, (z, Y) => {
2255
- Y && $(), z && T();
2255
+ Y && k(), z && N();
2256
2256
  }, { immediate: !0 }), pt(() => {
2257
- $(), T();
2257
+ k(), N();
2258
2258
  });
2259
2259
  const A = (z) => {
2260
- l.shouldStopPropagation && z.stopPropagation(), L(), setTimeout(() => {
2260
+ l.shouldStopPropagation && z.stopPropagation(), I(), setTimeout(() => {
2261
2261
  document.addEventListener("mousedown", _, { once: !0 });
2262
2262
  }, 0);
2263
2263
  }, _ = () => {
2264
- I(), document.removeEventListener("mousedown", _);
2264
+ V(), document.removeEventListener("mousedown", _);
2265
2265
  }, S = P(() => o.value.split("-")[0]), U = P(() => ({ left: p.value + "px", top: y.value + "px", zIndex: l.zIndex, width: f.value })), j = P(() => {
2266
2266
  if (!l.showArrow)
2267
2267
  return {};
@@ -2288,16 +2288,16 @@ const Sa = ["data-side"], el = {
2288
2288
  async function W() {
2289
2289
  if (!(!g.value || !v.value))
2290
2290
  try {
2291
- await be(), x = _a(g.value, v.value, F);
2291
+ await be(), $ = _a(g.value, v.value, F);
2292
2292
  } catch (z) {
2293
2293
  console.error("Error updating position:", z);
2294
2294
  }
2295
2295
  }
2296
2296
  return Qe(() => {
2297
- $(), x && x();
2297
+ k(), $ && $();
2298
2298
  }), n({
2299
- open: L,
2300
- close: I
2299
+ open: I,
2300
+ close: V
2301
2301
  }), (z, Y) => (r(), d(K, null, [
2302
2302
  (r(), ie(ft(z.$slots.default), xe({
2303
2303
  ref_key: "triggerElement",
@@ -2307,11 +2307,11 @@ const Sa = ["data-side"], el = {
2307
2307
  key: 0,
2308
2308
  to: "body"
2309
2309
  }, [
2310
- k.value ? (r(), d("div", {
2310
+ x.value ? (r(), d("div", {
2311
2311
  key: 0,
2312
2312
  ref_key: "contentRef",
2313
2313
  ref: v,
2314
- class: V(["abl-popper", `is-${e.effect}`, e.popperClass, { "isSelect-popper": l.isSelect }]),
2314
+ class: L(["abl-popper", `is-${e.effect}`, e.popperClass, { "isSelect-popper": l.isSelect }]),
2315
2315
  style: M(U.value),
2316
2316
  "data-side": S.value,
2317
2317
  onMousedown: Y[0] || (Y[0] = Z(() => {
@@ -2439,7 +2439,7 @@ const Sa = ["data-side"], el = {
2439
2439
  type: String,
2440
2440
  default: ""
2441
2441
  }
2442
- }, o = fl(), i = b(), c = (y, h) => h.reduce((w, x) => (w[x] = y[x], w), {}), f = P(() => ({ ...o, ...c(t, Object.keys(s)) }));
2442
+ }, o = fl(), i = b(), c = (y, h) => h.reduce((w, $) => (w[$] = y[$], w), {}), f = P(() => ({ ...o, ...c(t, Object.keys(s)) }));
2443
2443
  function m() {
2444
2444
  i.value.update();
2445
2445
  }
@@ -2551,19 +2551,19 @@ const at = (e) => (ge("data-v-bc247383"), e = e(), ye(), e), Ba = ["onClick"], V
2551
2551
  p.preventDefault();
2552
2552
  };
2553
2553
  return (p, y) => (r(), d("div", {
2554
- class: V(["abl-rate", { disabled: e.readonly }]),
2554
+ class: L(["abl-rate", { disabled: e.readonly }]),
2555
2555
  style: M(`--color: ${e.color};`),
2556
2556
  onMouseleave: m
2557
2557
  }, [
2558
2558
  (r(!0), d(K, null, le(e.count, (h) => (r(), d("div", {
2559
- class: V(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && l.value >= h - 0.5 && l.value < h, "abl-rate-star-full": l.value >= h, "temp-gray": !e.allowHalf && a.value === h }]),
2559
+ class: L(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && l.value >= h - 0.5 && l.value < h, "abl-rate-star-full": l.value >= h, "temp-gray": !e.allowHalf && a.value === h }]),
2560
2560
  style: M(`margin-right: ${h !== e.count ? e.gap : 0}px;`),
2561
2561
  onClick: (w) => e.allowHalf ? v(w) : o(h),
2562
2562
  key: h
2563
2563
  }, [
2564
2564
  e.allowHalf ? (r(), d("div", {
2565
2565
  key: 0,
2566
- class: V(["abl-rate-star-first", { "temp-gray-first": a.value === h - 0.5 }]),
2566
+ class: L(["abl-rate-star-first", { "temp-gray-first": a.value === h - 0.5 }]),
2567
2567
  onClick: Z((w) => o(h - 0.5), ["stop"]),
2568
2568
  onMouseenter: (w) => i(h - 0.5),
2569
2569
  onMouseleave: f
@@ -2595,7 +2595,7 @@ const at = (e) => (ge("data-v-bc247383"), e = e(), ye(), e), Ba = ["onClick"], V
2595
2595
  ], 4))
2596
2596
  ], 42, Va)) : R("", !0),
2597
2597
  u("div", {
2598
- class: V(["abl-rate-star-second", { "temp-gray-second": a.value === h }]),
2598
+ class: L(["abl-rate-star-second", { "temp-gray-second": a.value === h }]),
2599
2599
  onClick: Z((w) => o(h), ["stop"]),
2600
2600
  onMouseenter: (w) => c(h),
2601
2601
  onMouseleave: f
@@ -2745,11 +2745,11 @@ const Fa = { class: "abl-collapse__title" }, Ua = { key: 0 }, ja = { class: "ico
2745
2745
  return ae(f, (h) => {
2746
2746
  h ? p() : y();
2747
2747
  }), (h, w) => (r(), d("div", {
2748
- class: V(["abl-collapse-item", f.value && "abl-collapse-item__expand", e.isBorder && se(s) > 1 && "abl-collapse-item__border"])
2748
+ class: L(["abl-collapse-item", f.value && "abl-collapse-item__expand", e.isBorder && se(s) > 1 && "abl-collapse-item__border"])
2749
2749
  }, [
2750
2750
  u("div", {
2751
- onClick: w[0] || (w[0] = (x) => v(!f.value)),
2752
- class: V(["abl-collapse-item__title", { "abl-collapse-item__disabled": e.disabled }]),
2751
+ onClick: w[0] || (w[0] = ($) => v(!f.value)),
2752
+ class: L(["abl-collapse-item__title", { "abl-collapse-item__disabled": e.disabled }]),
2753
2753
  style: M({ background: e.background })
2754
2754
  }, [
2755
2755
  u("div", Fa, [
@@ -2759,7 +2759,7 @@ const Fa = { class: "abl-collapse__title" }, Ua = { key: 0 }, ja = { class: "ico
2759
2759
  ]),
2760
2760
  e.showArrow ? (r(), d("div", {
2761
2761
  key: 0,
2762
- class: V([{ "abl-collapse-item__arrow-close": !f.value, "abl-collapse-item__arrow-active": f.value, "abl-collapse-item__arrow-ani": e.animation, "abl-collapse-item__arrow-plus": c.value }, "abl-collapse-item__arrow"])
2762
+ class: L([{ "abl-collapse-item__arrow-close": !f.value, "abl-collapse-item__arrow-active": f.value, "abl-collapse-item__arrow-ani": e.animation, "abl-collapse-item__arrow-plus": c.value }, "abl-collapse-item__arrow"])
2763
2763
  }, [
2764
2764
  c.value === "plus" ? (r(), d("div", Ua, [
2765
2765
  u("span", ja, H(f.value ? "" : ""), 1)
@@ -2771,13 +2771,13 @@ const Fa = { class: "abl-collapse__title" }, Ua = { key: 0 }, ja = { class: "ico
2771
2771
  ], 2)) : R("", !0)
2772
2772
  ], 6),
2773
2773
  u("div", {
2774
- class: V(["abl-collapse-item__content-wrap", { "abl-collapse-item-__content-ani": e.animation }]),
2774
+ class: L(["abl-collapse-item__content-wrap", { "abl-collapse-item-__content-ani": e.animation }]),
2775
2775
  style: M({ height: m.value, background: e.contentBg })
2776
2776
  }, [
2777
2777
  u("div", {
2778
2778
  ref_key: "ablCollapseEl",
2779
2779
  ref: t,
2780
- class: V(["abl-collapse-item__content", { "abl-collapse-item__content-open": m.value }])
2780
+ class: L(["abl-collapse-item__content", { "abl-collapse-item__content-open": m.value }])
2781
2781
  }, [
2782
2782
  E(h.$slots, "default", {}, void 0, !0)
2783
2783
  ], 2)
@@ -2836,7 +2836,7 @@ const Ya = { class: "abl-progress-text" }, Xa = {
2836
2836
  style: M(`border-radius: ${e.borderRadius}px;background:${n.trailColor}`)
2837
2837
  }, [
2838
2838
  u("div", {
2839
- class: V(["abl-progress-bg", e.indeterminate && "abl-progress-bg-animate"]),
2839
+ class: L(["abl-progress-bg", e.indeterminate && "abl-progress-bg-animate"]),
2840
2840
  style: M(`background: ${l.value};
2841
2841
  width: ${e.percent >= 100 ? 100 : e.percent}%; height: ${e.height}px;border-radius: ${e.borderRadius}px`)
2842
2842
  }, null, 6)
@@ -3042,7 +3042,7 @@ const oo = /* @__PURE__ */ u("div", {
3042
3042
  document.body.style.overflow = "hidden", document.body.style.touchAction = "none";
3043
3043
  const F = t.appContext.config.globalProperties.$lockCount || 0;
3044
3044
  h(F + 1);
3045
- }, x = () => {
3045
+ }, $ = () => {
3046
3046
  t.appContext.config.globalProperties.$lockCount > 0 && h((t.appContext.config.globalProperties.$lockCount || 0) - 1), (t.appContext.config.globalProperties.$lockCount || 0) <= 0 && (document.body.style.overflow = "", document.body.style.touchAction = "");
3047
3047
  };
3048
3048
  ae(() => l.modelValue, (F) => {
@@ -3051,7 +3051,7 @@ const oo = /* @__PURE__ */ u("div", {
3051
3051
  deep: !0,
3052
3052
  immediate: !0
3053
3053
  });
3054
- const k = (F, W) => {
3054
+ const x = (F, W) => {
3055
3055
  let z, Y;
3056
3056
  try {
3057
3057
  z = F.toString().split(".")[1].length;
@@ -3063,19 +3063,19 @@ const oo = /* @__PURE__ */ u("div", {
3063
3063
  } catch {
3064
3064
  Y = 0;
3065
3065
  }
3066
- const N = Math.max(z, Y), O = Math.pow(10, N);
3066
+ const T = Math.max(z, Y), O = Math.pow(10, T);
3067
3067
  return F = Math.round(F * O), W = Math.round(W * O), (F + W) / O;
3068
3068
  }, g = (F) => {
3069
3069
  s.value[F] = !0;
3070
- }, C = (F) => {
3070
+ }, B = (F) => {
3071
3071
  o.value = (o.value + 1) % a.value;
3072
- }, L = (F) => {
3072
+ }, I = (F) => {
3073
3073
  o.value = (o.value - 1 + a.value) % a.value;
3074
- }, I = () => {
3075
- i.value + l.zoomRate > l.maxScale ? i.value = l.maxScale : i.value = k(i.value, l.zoomRate);
3076
- }, T = () => {
3077
- i.value - l.zoomRate < l.minScale ? i.value = l.minScale : i.value = k(i.value, -l.zoomRate);
3078
- }, $ = () => {
3074
+ }, V = () => {
3075
+ i.value + l.zoomRate > l.maxScale ? i.value = l.maxScale : i.value = x(i.value, l.zoomRate);
3076
+ }, N = () => {
3077
+ i.value - l.zoomRate < l.minScale ? i.value = l.minScale : i.value = x(i.value, -l.zoomRate);
3078
+ }, k = () => {
3079
3079
  p.value -= 90;
3080
3080
  }, A = () => {
3081
3081
  p.value += 90;
@@ -3084,21 +3084,21 @@ const oo = /* @__PURE__ */ u("div", {
3084
3084
  }, S = (F) => {
3085
3085
  if (!l.drag)
3086
3086
  return;
3087
- const W = F.target, { top: z, left: Y, right: N, bottom: O } = W.getBoundingClientRect(), X = document.documentElement.clientWidth, ne = document.documentElement.clientHeight;
3087
+ const W = F.target, { top: z, left: Y, right: T, bottom: O } = W.getBoundingClientRect(), X = document.documentElement.clientWidth, ne = document.documentElement.clientHeight;
3088
3088
  c.value = F.clientX, f.value = F.clientY;
3089
- const B = m.value, q = v.value;
3089
+ const C = m.value, q = v.value;
3090
3090
  document.onmousemove = (D) => {
3091
- m.value = B + D.clientX - c.value, v.value = q + D.clientY - f.value;
3091
+ m.value = C + D.clientX - c.value, v.value = q + D.clientY - f.value;
3092
3092
  }, document.onmouseup = (D) => {
3093
- m.value > B + X - N && (m.value = B + X - N), m.value < B - Y && (m.value = B - Y), v.value > q + ne - O && (v.value = q + ne - O), v.value < q - z && (v.value = q - z), document.onmousemove = null;
3093
+ m.value > C + X - T && (m.value = C + X - T), m.value < C - Y && (m.value = C - Y), v.value > q + ne - O && (v.value = q + ne - O), v.value < q - z && (v.value = q - z), document.onmousemove = null;
3094
3094
  };
3095
3095
  }, U = (F) => {
3096
3096
  if (!l.drag)
3097
3097
  return;
3098
3098
  const W = F.deltaY * l.zoomRate * 0.1;
3099
- i.value === l.minScale && W > 0 || i.value === l.maxScale && W < 0 || (i.value - W < l.minScale ? i.value = l.minScale : i.value - W > l.maxScale ? i.value = l.maxScale : i.value = k(i.value, -W));
3099
+ i.value === l.minScale && W > 0 || i.value === l.maxScale && W < 0 || (i.value - W < l.minScale ? i.value = l.minScale : i.value - W > l.maxScale ? i.value = l.maxScale : i.value = x(i.value, -W));
3100
3100
  }, j = () => {
3101
- x(), y("update:modelValue", !1);
3101
+ $(), y("update:modelValue", !1);
3102
3102
  };
3103
3103
  return (F, W) => (r(), ie(et, { to: "body" }, [
3104
3104
  fe(ke, { name: "mask" }, {
@@ -3134,8 +3134,8 @@ const oo = /* @__PURE__ */ u("div", {
3134
3134
  title: "",
3135
3135
  class: "abl-image-preview__img",
3136
3136
  style: M(`transform: scale3d(${i.value}, ${i.value}, 1) rotate(${p.value}deg);`),
3137
- onLoad: (N) => g(Y),
3138
- onMousedown: W[0] || (W[0] = Z((N) => S(N), ["prevent"])),
3137
+ onLoad: (T) => g(Y),
3138
+ onMousedown: W[0] || (W[0] = Z((T) => S(T), ["prevent"])),
3139
3139
  onClick: W[1] || (W[1] = Z(() => {
3140
3140
  }, ["stop"]))
3141
3141
  }, null, 44, io)) : (r(), d("video", {
@@ -3164,8 +3164,8 @@ const oo = /* @__PURE__ */ u("div", {
3164
3164
  alt: "",
3165
3165
  title: "",
3166
3166
  style: M(`transform: scale3d(${i.value}, ${i.value}, 1) rotate(${p.value}deg);`),
3167
- onLoad: (N) => g(Y),
3168
- onMousedown: W[2] || (W[2] = Z((N) => S(N), ["prevent"])),
3167
+ onLoad: (T) => g(Y),
3168
+ onMousedown: W[2] || (W[2] = Z((T) => S(T), ["prevent"])),
3169
3169
  onClick: W[3] || (W[3] = Z(() => {
3170
3170
  }, ["stop"])),
3171
3171
  loading: "lazy"
@@ -3181,11 +3181,11 @@ const oo = /* @__PURE__ */ u("div", {
3181
3181
  a.value > 1 ? (r(), d(K, { key: 0 }, [
3182
3182
  u("div", {
3183
3183
  class: "abl-image-preview__btn abl-image-preview__prev",
3184
- onClick: Z(L, ["stop"])
3184
+ onClick: Z(I, ["stop"])
3185
3185
  }, vo),
3186
3186
  u("div", {
3187
3187
  class: "abl-image-preview__btn abl-image-preview__next",
3188
- onClick: Z(C, ["stop"])
3188
+ onClick: Z(B, ["stop"])
3189
3189
  }, ho)
3190
3190
  ], 64)) : R("", !0),
3191
3191
  u("div", {
@@ -3196,11 +3196,11 @@ const oo = /* @__PURE__ */ u("div", {
3196
3196
  u("div", _o, [
3197
3197
  u("i", {
3198
3198
  class: "abl-icon",
3199
- onClick: Z(T, ["stop"])
3199
+ onClick: Z(N, ["stop"])
3200
3200
  }, xo),
3201
3201
  u("i", {
3202
3202
  class: "abl-icon",
3203
- onClick: Z(I, ["stop"])
3203
+ onClick: Z(V, ["stop"])
3204
3204
  }, ko),
3205
3205
  u("i", {
3206
3206
  class: "abl-icon",
@@ -3208,7 +3208,7 @@ const oo = /* @__PURE__ */ u("div", {
3208
3208
  }, Co),
3209
3209
  u("i", {
3210
3210
  class: "abl-icon",
3211
- onClick: $
3211
+ onClick: k
3212
3212
  }, Vo),
3213
3213
  u("i", {
3214
3214
  class: "abl-icon",
@@ -3344,7 +3344,7 @@ const sl = {
3344
3344
  setup(e) {
3345
3345
  const n = e;
3346
3346
  return (t, l) => (r(), d("div", {
3347
- class: V(["abl-skeleton-avatar", `abl-skeleton-avatar--${n.shape}`]),
3347
+ class: L(["abl-skeleton-avatar", `abl-skeleton-avatar--${n.shape}`]),
3348
3348
  style: M({ width: n.width })
3349
3349
  }, null, 6));
3350
3350
  }
@@ -3360,7 +3360,7 @@ const dt = {
3360
3360
  setup(e) {
3361
3361
  const n = e;
3362
3362
  return (t, l) => (r(), d("div", {
3363
- class: V(["abl-skeleton-paragraph"]),
3363
+ class: L(["abl-skeleton-paragraph"]),
3364
3364
  style: M({ width: n.width })
3365
3365
  }, null, 4));
3366
3366
  }
@@ -3400,7 +3400,7 @@ const Eo = {
3400
3400
  return (a, s) => {
3401
3401
  var o;
3402
3402
  return r(), d("div", {
3403
- class: V(["abl-skeleton", e.animate && "abl-skeleton-animate"])
3403
+ class: L(["abl-skeleton", e.animate && "abl-skeleton-animate"])
3404
3404
  }, [
3405
3405
  a.$slots.template ? E(a.$slots, "template", { key: 0 }, void 0, !0) : (r(), d(K, { key: 1 }, [
3406
3406
  n.avatar ? (r(), d("div", Eo, [
@@ -3446,7 +3446,7 @@ const Po = /* @__PURE__ */ u("svg", {
3446
3446
  setup(e) {
3447
3447
  const n = e;
3448
3448
  return (t, l) => (r(), d("div", {
3449
- class: V(["abl-skeleton-image", `abl-skeleton-image--${n.shape}`]),
3449
+ class: L(["abl-skeleton-image", `abl-skeleton-image--${n.shape}`]),
3450
3450
  style: M({ width: n.width })
3451
3451
  }, Do, 6));
3452
3452
  }
@@ -3522,68 +3522,68 @@ const Uo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), jo = ["onClick"], W
3522
3522
  },
3523
3523
  emits: ["open", "close"],
3524
3524
  setup(e, { emit: n }) {
3525
- var I;
3525
+ var V;
3526
3526
  const t = n, l = De(), a = typeof window < "u" && typeof document < "u", s = e, o = b([]);
3527
- (I = l.default()) == null || I.forEach((T) => {
3528
- const { props: $ } = T;
3529
- if ($) {
3530
- const { title: A, disabled: _ } = $;
3527
+ (V = l.default()) == null || V.forEach((N) => {
3528
+ const { props: k } = N;
3529
+ if (k) {
3530
+ const { title: A, disabled: _ } = k;
3531
3531
  o.value.push({
3532
3532
  title: A,
3533
3533
  disabled: _
3534
3534
  });
3535
3535
  }
3536
3536
  });
3537
- const i = b(), c = b(), f = b(!1), m = b(0), v = b(""), p = b(!1), y = (T) => typeof T == "number" ? T + "px" : T;
3537
+ const i = b(), c = b(), f = b(!1), m = b(0), v = b(""), p = b(!1), y = (N) => typeof N == "number" ? N + "px" : N;
3538
3538
  ae(
3539
3539
  () => f.value,
3540
- (T) => {
3541
- a && (T ? document.body.classList.add("abl-overflow-hidden") : document.body.classList.remove("abl-overflow-hidden"));
3540
+ (N) => {
3541
+ a && (N ? document.body.classList.add("abl-overflow-hidden") : document.body.classList.remove("abl-overflow-hidden"));
3542
3542
  },
3543
3543
  {
3544
3544
  deep: !0,
3545
3545
  immediate: !0
3546
3546
  }
3547
3547
  );
3548
- const h = (T, $) => {
3549
- if (!o.value[$].disabled) {
3550
- if ($ === v.value && s.closeOnClickSelf) {
3551
- x(), setTimeout(() => {
3552
- c.value.children[$].style.display = "none";
3548
+ const h = (N, k) => {
3549
+ if (!o.value[k].disabled) {
3550
+ if (k === v.value && s.closeOnClickSelf) {
3551
+ $(), setTimeout(() => {
3552
+ c.value.children[k].style.display = "none";
3553
3553
  }, s.duration);
3554
3554
  return;
3555
3555
  }
3556
- p.value = !0, w($);
3556
+ p.value = !0, w(k);
3557
3557
  }
3558
- }, w = async (T) => {
3559
- await k(), f.value = !0, v.value = T, Array.from(c.value.children).map(($, A) => {
3560
- A === T ? c.value.children[A].style.display = "block" : c.value.children[A].style.display = "none";
3558
+ }, w = async (N) => {
3559
+ await x(), f.value = !0, v.value = N, Array.from(c.value.children).map((k, A) => {
3560
+ A === N ? c.value.children[A].style.display = "block" : c.value.children[A].style.display = "none";
3561
3561
  }), t("open", v.value);
3562
- }, x = () => {
3562
+ }, $ = () => {
3563
3563
  f.value = !1, v.value = 99999, setTimeout(() => {
3564
3564
  p.value = !1;
3565
3565
  }, 300);
3566
- }, k = () => {
3566
+ }, x = () => {
3567
3567
  var A;
3568
3568
  if (!a)
3569
3569
  return;
3570
- const { top: T, bottom: $ } = (A = i == null ? void 0 : i.value) == null ? void 0 : A.getBoundingClientRect();
3571
- $ > 0 && (m.value = $ - 1);
3570
+ const { top: N, bottom: k } = (A = i == null ? void 0 : i.value) == null ? void 0 : A.getBoundingClientRect();
3571
+ k > 0 && (m.value = k - 1);
3572
3572
  }, g = () => {
3573
- s.closeOnClickMask && x();
3574
- }, C = Ie({
3573
+ s.closeOnClickMask && $();
3574
+ }, B = Ie({
3575
3575
  ...He(s),
3576
- onClose: x,
3576
+ onClose: $,
3577
3577
  current: v
3578
- }), L = Fo(() => {
3579
- p.value && x();
3578
+ }), I = Fo(() => {
3579
+ p.value && $();
3580
3580
  });
3581
- return $e(Ko, C), he(() => {
3582
- k();
3583
- }), (T, $) => (r(), d("div", {
3581
+ return $e(Ko, B), he(() => {
3582
+ x();
3583
+ }), (N, k) => (r(), d("div", {
3584
3584
  class: "abl-dropdown",
3585
3585
  ref_key: "root",
3586
- ref: L
3586
+ ref: I
3587
3587
  }, [
3588
3588
  u("div", {
3589
3589
  class: "abl-dropdown-menu",
@@ -3606,7 +3606,7 @@ const Uo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), jo = ["onClick"], W
3606
3606
  })
3607
3607
  }, H(A.title), 5),
3608
3608
  u("div", {
3609
- class: V(["abl-dropdown-menu__item__arrow", {
3609
+ class: L(["abl-dropdown-menu__item__arrow", {
3610
3610
  "abl-dropdown-menu__item__arrow--rotate": _ === v.value
3611
3611
  }])
3612
3612
  }, [
@@ -3622,7 +3622,7 @@ const Uo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), jo = ["onClick"], W
3622
3622
  }
3623
3623
  ]),
3624
3624
  onClick: g,
3625
- onTouchmove: $[1] || ($[1] = Z(() => {
3625
+ onTouchmove: k[1] || (k[1] = Z(() => {
3626
3626
  }, ["prevent"]))
3627
3627
  }, [
3628
3628
  fe(ke, { name: "fade-mask" }, {
@@ -3636,13 +3636,13 @@ const Uo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), jo = ["onClick"], W
3636
3636
  fe(ke, { name: "slide-top" }, {
3637
3637
  default: re(() => [
3638
3638
  Q(u("div", {
3639
- onTouchmove: $[0] || ($[0] = Z(() => {
3639
+ onTouchmove: k[0] || (k[0] = Z(() => {
3640
3640
  }, ["prevent"])),
3641
3641
  class: "abl-dropdown__content",
3642
3642
  ref_key: "childrenRef",
3643
3643
  ref: c
3644
3644
  }, [
3645
- E(T.$slots, "default", {}, void 0, !0)
3645
+ E(N.$slots, "default", {}, void 0, !0)
3646
3646
  ], 544), [
3647
3647
  [te, f.value]
3648
3648
  ])
@@ -3719,7 +3719,7 @@ const Zo = (e) => (ge("data-v-046e593c"), e = e(), ye(), e), Qo = ["active"], es
3719
3719
  (r(!0), d(K, null, le(e.options, (f, m) => (r(), ie(ll, {
3720
3720
  title: f.text,
3721
3721
  onClick: (v) => o(f.value),
3722
- class: V(["abl-dropdown-item__option", a.modelValue === f.value && "abl-dropdown-item__option--active"])
3722
+ class: L(["abl-dropdown-item__option", a.modelValue === f.value && "abl-dropdown-item__option--active"])
3723
3723
  }, pl({ _: 2 }, [
3724
3724
  a.modelValue === f.value ? {
3725
3725
  name: "extra",
@@ -3827,10 +3827,10 @@ const ds = {
3827
3827
  }, w = () => {
3828
3828
  l.type === "password" && (i.value = !i.value, i.value ? c.value = l.type : c.value = "text");
3829
3829
  };
3830
- function x() {
3830
+ function $() {
3831
3831
  f.value = l.clearable && m.value;
3832
3832
  }
3833
- function k() {
3833
+ function x() {
3834
3834
  f.value = !1;
3835
3835
  }
3836
3836
  return n({
@@ -3844,28 +3844,28 @@ const ds = {
3844
3844
  },
3845
3845
  clear: h,
3846
3846
  input: () => s.value
3847
- }), (g, C) => (r(), d("div", {
3848
- class: V(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": g.$slots.addonBefore || e.addonBefore || g.$slots.addonAfter || e.addonAfter }])
3847
+ }), (g, B) => (r(), d("div", {
3848
+ class: L(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": g.$slots.addonBefore || e.addonBefore || g.$slots.addonAfter || e.addonAfter }])
3849
3849
  }, [
3850
3850
  E(g.$slots, "addonBefore", {}, () => [
3851
3851
  e.addonBefore ? (r(), d("span", ds, H(e.addonBefore), 1)) : R("", !0)
3852
3852
  ], !0),
3853
3853
  u("div", {
3854
- class: V(["abl-input__wrapper", { "is-focus": o.value }]),
3855
- onMouseenter: x,
3856
- onMouseleave: k
3854
+ class: L(["abl-input__wrapper", { "is-focus": o.value }]),
3855
+ onMouseenter: $,
3856
+ onMouseleave: x
3857
3857
  }, [
3858
3858
  g.$slots.prefix || e.prefixIcon ? (r(), d("span", fs, [
3859
3859
  E(g.$slots, "prefix", {}, void 0, !0),
3860
3860
  e.prefixIcon ? (r(), d("i", {
3861
3861
  key: 0,
3862
- class: V(["iconfont-abl", e.suffixIcon])
3862
+ class: L(["iconfont-abl", e.suffixIcon])
3863
3863
  }, null, 2)) : R("", !0)
3864
3864
  ])) : R("", !0),
3865
3865
  Q(u("input", xe({
3866
3866
  ref_key: "inputRef",
3867
3867
  ref: s,
3868
- "onUpdate:modelValue": C[0] || (C[0] = (L) => m.value = L),
3868
+ "onUpdate:modelValue": B[0] || (B[0] = (I) => m.value = I),
3869
3869
  class: "abl-input__inner",
3870
3870
  type: c.value,
3871
3871
  placeholder: e.placeholder,
@@ -3876,7 +3876,7 @@ const ds = {
3876
3876
  onBlur: p
3877
3877
  }, g.$attrs, {
3878
3878
  onInput: y,
3879
- onKeyup: C[1] || (C[1] = (...L) => g.onKeyUp && g.onKeyUp(...L))
3879
+ onKeyup: B[1] || (B[1] = (...I) => g.onKeyUp && g.onKeyUp(...I))
3880
3880
  }), null, 16, ps), [
3881
3881
  [vl, m.value]
3882
3882
  ]),
@@ -3904,7 +3904,7 @@ const ds = {
3904
3904
  E(g.$slots, "suffix", {}, void 0, !0),
3905
3905
  e.suffixIcon ? (r(), d("i", {
3906
3906
  key: 0,
3907
- class: V(["iconfont-abl", e.suffixIcon])
3907
+ class: L(["iconfont-abl", e.suffixIcon])
3908
3908
  }, null, 2)) : R("", !0)
3909
3909
  ])) : R("", !0)
3910
3910
  ], 34),
@@ -3959,11 +3959,11 @@ const ot = (e) => (ge("data-v-d27e2131"), e = e(), ye(), e), bs = { class: "abl-
3959
3959
  },
3960
3960
  setup(e) {
3961
3961
  return (n, t) => (r(), d("div", {
3962
- class: V(`abl-spin-wrap ${e.size}`),
3962
+ class: L(`abl-spin-wrap ${e.size}`),
3963
3963
  style: M(`--color: ${e.color};`)
3964
3964
  }, [
3965
3965
  Q(u("div", {
3966
- class: V(["abl-spin", [{ "fixed-spin": e.fixed }]])
3966
+ class: L(["abl-spin", [{ "fixed-spin": e.fixed }]])
3967
3967
  }, [
3968
3968
  u("div", bs, [
3969
3969
  e.logo ? (r(), d("div", _s, [
@@ -3978,14 +3978,14 @@ const ot = (e) => (ge("data-v-d27e2131"), e = e(), ye(), e), bs = { class: "abl-
3978
3978
  ]),
3979
3979
  e.fixed ? Q((r(), d("div", {
3980
3980
  key: 0,
3981
- class: V(["abl-spin-content", { "abl-spin-mask": e.spinning }, { "fixed-spin-mask": e.fixed }])
3981
+ class: L(["abl-spin-content", { "abl-spin-mask": e.spinning }, { "fixed-spin-mask": e.fixed }])
3982
3982
  }, [
3983
3983
  E(n.$slots, "default", {}, void 0, !0)
3984
3984
  ], 2)), [
3985
3985
  [te, e.spinning]
3986
3986
  ]) : (r(), d("div", {
3987
3987
  key: 1,
3988
- class: V(["abl-spin-content", { "abl-spin-mask": e.spinning }])
3988
+ class: L(["abl-spin-content", { "abl-spin-mask": e.spinning }])
3989
3989
  }, [
3990
3990
  E(n.$slots, "default", {}, void 0, !0)
3991
3991
  ], 2))
@@ -4078,37 +4078,37 @@ const _t = (e) => (ge("data-v-915b5556"), e = e(), ye(), e), Ls = { class: "abl-
4078
4078
  function m() {
4079
4079
  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;
4080
4080
  }
4081
- const v = ($) => {
4081
+ const v = (k) => {
4082
4082
  const A = /\.(jpg|jpeg|png|gif|webp)$/i, _ = /^data:image/;
4083
- return A.test($) || _.test($);
4084
- }, p = ($) => {
4085
- c.value = !0, f.value = $;
4086
- }, y = ($, A) => {
4083
+ return A.test(k) || _.test(k);
4084
+ }, p = (k) => {
4085
+ c.value = !0, f.value = k;
4086
+ }, y = (k, A) => {
4087
4087
  var S;
4088
- const _ = (S = $.dataTransfer) == null ? void 0 : S.files;
4088
+ const _ = (S = k.dataTransfer) == null ? void 0 : S.files;
4089
4089
  if (_ != null && _.length) {
4090
4090
  const U = _.length;
4091
4091
  for (let j = 0; j < U && A + j <= t.maxCount; j++)
4092
- k(_[j], A + j);
4092
+ x(_[j], A + j);
4093
4093
  o.value[A].value = "";
4094
4094
  }
4095
- }, h = ($) => {
4096
- o.value[$].click();
4097
- }, w = ($, A) => {
4098
- const _ = $.target.files;
4095
+ }, h = (k) => {
4096
+ o.value[k].click();
4097
+ }, w = (k, A) => {
4098
+ const _ = k.target.files;
4099
4099
  if (_ != null && _.length) {
4100
4100
  const S = _.length;
4101
4101
  for (let U = 0; U < S && A + U < t.maxCount; U++)
4102
- k(_[U], A + U);
4102
+ x(_[U], A + U);
4103
4103
  o.value[A].value = "";
4104
4104
  }
4105
- }, x = n, k = function($, A) {
4106
- t.beforeUpload($) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (s.value[A] = !0, g($, A)), t.uploadMode === "custom" && (s.value[A] = !0, C($, A))) : be(() => {
4107
- T(t.errorInfo);
4105
+ }, $ = n, x = function(k, A) {
4106
+ t.beforeUpload(k) ? (t.maxCount > a.value && a.value++, t.uploadMode === "base64" && (s.value[A] = !0, g(k, A)), t.uploadMode === "custom" && (s.value[A] = !0, B(k, A))) : be(() => {
4107
+ N(t.errorInfo);
4108
4108
  });
4109
- }, g = ($, A) => {
4109
+ }, g = (k, A) => {
4110
4110
  var _ = new FileReader();
4111
- _.readAsDataURL($), _.onloadstart = function(S) {
4111
+ _.readAsDataURL(k), _.onloadstart = function(S) {
4112
4112
  console.log("开始读取 onloadstart:", S);
4113
4113
  }, _.onabort = function(S) {
4114
4114
  console.log("读取中止 onabort:", S);
@@ -4119,42 +4119,42 @@ const _t = (e) => (ge("data-v-915b5556"), e = e(), ye(), e), Ls = { class: "abl-
4119
4119
  }, _.onload = function(S) {
4120
4120
  var U, j;
4121
4121
  t.isUrl ? l.value.push({
4122
- name: $.name,
4122
+ name: k.name,
4123
4123
  url: (U = S.target) == null ? void 0 : U.result,
4124
- type: $.type
4125
- }) : l.value.push((j = S.target) == null ? void 0 : j.result), x("update:fileList", l.value), x("change", l.value);
4124
+ type: k.type
4125
+ }) : l.value.push((j = S.target) == null ? void 0 : j.result), $("update:fileList", l.value), $("change", l.value);
4126
4126
  }, _.onloadend = function(S) {
4127
4127
  console.log("读取结束 onloadend:", S);
4128
4128
  };
4129
- }, C = ($, A) => {
4130
- t.customRequest($).then((_) => {
4131
- _ && l.value.push(_), x("update:fileList", l.value), x("change", l.value);
4129
+ }, B = (k, A) => {
4130
+ t.customRequest(k).then((_) => {
4131
+ _ && l.value.push(_), $("update:fileList", l.value), $("change", l.value);
4132
4132
  }).catch((_) => {
4133
- t.maxCount > 1 && (a.value = l.value.length + 1), T(_);
4133
+ t.maxCount > 1 && (a.value = l.value.length + 1), N(_);
4134
4134
  }).finally(() => {
4135
4135
  s.value[A] = !1;
4136
4136
  });
4137
- }, L = ($, A) => {
4137
+ }, I = (k, A) => {
4138
4138
  if (v(A)) {
4139
- const _ = l.value.slice(0, $).filter((S) => !v(t.isUrl ? S.url : S));
4140
- i.value[$ - _.length].onPreview();
4139
+ const _ = l.value.slice(0, k).filter((S) => !v(t.isUrl ? S.url : S));
4140
+ i.value[k - _.length].onPreview();
4141
4141
  } else
4142
4142
  p(A);
4143
- }, I = ($) => {
4143
+ }, V = (k) => {
4144
4144
  l.value.length < t.maxCount && a.value--;
4145
- const A = l.value.splice($, 1);
4146
- x("remove", A), x("update:fileList", l.value), x("change", l.value);
4147
- }, T = ($) => {
4148
- Dt.error($);
4145
+ const A = l.value.splice(k, 1);
4146
+ $("remove", A), $("update:fileList", l.value), $("change", l.value);
4147
+ }, N = (k) => {
4148
+ Dt.error(k);
4149
4149
  };
4150
- return ($, A) => (r(), d("div", Ls, [
4150
+ return (k, A) => (r(), d("div", Ls, [
4151
4151
  (r(!0), d(K, null, le(a.value, (_) => (r(), d("div", {
4152
4152
  class: "abl-upload-item",
4153
4153
  key: _
4154
4154
  }, [
4155
4155
  u("div", Is, [
4156
4156
  Q(u("div", {
4157
- class: V(["abl-upload-wrap", { "upload-disabled": e.disabled }]),
4157
+ class: L(["abl-upload-wrap", { "upload-disabled": e.disabled }]),
4158
4158
  onDragenter: A[1] || (A[1] = Z(() => {
4159
4159
  }, ["stop", "prevent"])),
4160
4160
  onDragover: A[2] || (A[2] = Z(() => {
@@ -4177,7 +4177,7 @@ const _t = (e) => (ge("data-v-915b5556"), e = e(), ye(), e), Ls = { class: "abl-
4177
4177
  u("div", null, [
4178
4178
  Rs,
4179
4179
  e.tip ? (r(), d("p", Es, [
4180
- E($.$slots, "default", {}, () => [
4180
+ E(k.$slots, "default", {}, () => [
4181
4181
  ee(H(e.tip), 1)
4182
4182
  ], !0)
4183
4183
  ])) : R("", !0)
@@ -4216,12 +4216,12 @@ const _t = (e) => (ge("data-v-915b5556"), e = e(), ye(), e), Ls = { class: "abl-
4216
4216
  u("a", {
4217
4217
  class: "m-icon",
4218
4218
  title: "preview",
4219
- onClick: (S) => L(_ - 1, e.isUrl ? l.value[_ - 1].url : l.value[_ - 1])
4219
+ onClick: (S) => I(_ - 1, e.isUrl ? l.value[_ - 1].url : l.value[_ - 1])
4220
4220
  }, Fs, 8, Ds),
4221
4221
  Q(u("a", {
4222
4222
  class: "m-icon",
4223
4223
  title: "delete",
4224
- onClick: Z((S) => I(_ - 1), ["prevent", "stop"])
4224
+ onClick: Z((S) => V(_ - 1), ["prevent", "stop"])
4225
4225
  }, Ws, 8, Us), [
4226
4226
  [te, !e.disabled]
4227
4227
  ])
@@ -4334,41 +4334,41 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4334
4334
  pure: !0,
4335
4335
  trigger: "click",
4336
4336
  transitionName: "abl-select-menu"
4337
- }), m = b(""), v = b(), p = b(null), y = b(""), h = b(), w = b(o.modelValue), x = b(!1), k = P(() => {
4337
+ }), m = b(""), v = b(), p = b(null), y = b(""), h = b(), w = b(o.modelValue), $ = b(!1), x = P(() => {
4338
4338
  var O;
4339
4339
  return { width: (((O = v.value) == null ? void 0 : O.getBoundingClientRect().width) || 0) + "px" };
4340
4340
  }), g = Ie({
4341
4341
  list: o == null ? void 0 : o.options
4342
- }), C = b(!1), L = b(
4343
- o.search && y.value === "focus" && C.value
4344
- ), I = P(() => o.disabled), T = b(""), $ = b([]), A = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], _ = () => {
4345
- var N;
4342
+ }), B = b(!1), I = b(
4343
+ o.search && y.value === "focus" && B.value
4344
+ ), V = P(() => o.disabled), N = b(""), k = b([]), A = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], _ = () => {
4345
+ var T;
4346
4346
  try {
4347
- l.default && (g.list = [], (N = l.default()) == null || N.map((O) => {
4347
+ l.default && (g.list = [], (T = l.default()) == null || T.map((O) => {
4348
4348
  var X;
4349
4349
  if (O.props) {
4350
- const { value: ne, name: B, img: q, iconColor: D } = O.props;
4350
+ const { value: ne, name: C, img: q, iconColor: D } = O.props;
4351
4351
  g.list.push({
4352
4352
  value: ne,
4353
- name: B,
4353
+ name: C,
4354
4354
  img: q,
4355
4355
  iconColor: D
4356
- }), w.value === ne && $.value.push({
4356
+ }), w.value === ne && k.value.push({
4357
4357
  value: ne,
4358
- name: B,
4358
+ name: C,
4359
4359
  img: q,
4360
4360
  iconColor: D
4361
4361
  });
4362
4362
  } else
4363
4363
  ((X = O == null ? void 0 : O.children) == null ? void 0 : X.length) > 0 && O.children.map((ne) => {
4364
- const { value: B, name: q, img: D, iconColor: J } = ne.props;
4364
+ const { value: C, name: q, img: D, iconColor: J } = ne.props;
4365
4365
  g.list.push({
4366
- value: B,
4366
+ value: C,
4367
4367
  name: q,
4368
4368
  img: D,
4369
4369
  iconColor: J
4370
- }), w.value === B && ($.value.splice(0, $.value.length), $.value.push({
4371
- value: B,
4370
+ }), w.value === C && (k.value.splice(0, k.value.length), k.value.push({
4371
+ value: C,
4372
4372
  name: q,
4373
4373
  img: D,
4374
4374
  iconColor: J
@@ -4388,85 +4388,85 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4388
4388
  // 如果需要,可以设置为立即执行
4389
4389
  deep: !0
4390
4390
  });
4391
- const S = (N) => {
4392
- if (!L.value)
4393
- T.value = "";
4391
+ const S = (T) => {
4392
+ if (!I.value)
4393
+ N.value = "";
4394
4394
  else {
4395
4395
  const O = i.filter((X) => {
4396
- let ne = N.target.value.toLowerCase();
4396
+ let ne = T.target.value.toLowerCase();
4397
4397
  return X.name.toLowerCase().includes(ne);
4398
4398
  });
4399
4399
  g.list = O;
4400
4400
  }
4401
- }, U = (N) => {
4402
- o.disabled || (C.value = !0, y.value === "focus" ? y.value = "blur" : y.value = "focus", setTimeout(() => {
4401
+ }, U = (T) => {
4402
+ o.disabled || (B.value = !0, y.value === "focus" ? y.value = "blur" : y.value = "focus", setTimeout(() => {
4403
4403
  const O = document.querySelector("#abl-select .abl-options-item-active");
4404
4404
  O == null || O.scrollIntoView({
4405
4405
  behavior: "auto",
4406
4406
  block: "nearest"
4407
4407
  });
4408
4408
  }, 100));
4409
- }, j = (N, O) => {
4409
+ }, j = (T, O) => {
4410
4410
  var ne;
4411
4411
  if (o.disabled)
4412
4412
  return;
4413
- if (N.name == m.value) {
4413
+ if (T.name == m.value) {
4414
4414
  h.value.close();
4415
4415
  return;
4416
4416
  }
4417
- C.value = !1, O.stopPropagation(), (ne = p.value) == null || ne.blur();
4417
+ B.value = !1, O.stopPropagation(), (ne = p.value) == null || ne.blur();
4418
4418
  let X = null;
4419
- y.value = "blur", $.value[0] && $.value[0].value === N.value ? $.value.shift() : $.value[0] = N, X = N.value, c("update:modelValue", X), c("change", X, xt($.value)), h.value.close();
4419
+ y.value = "blur", k.value[0] && k.value[0].value === T.value ? k.value.shift() : k.value[0] = T, X = T.value, c("update:modelValue", X), c("change", X, xt(k.value)), h.value.close();
4420
4420
  };
4421
4421
  $e("handleSlotClick", j);
4422
4422
  const F = () => {
4423
- var N;
4424
- (N = p.value) == null || N.focus(), !L.value && y.value === "focus" && $.value.length > 0 && ($.value.pop(), c("change", xt($.value)));
4423
+ var T;
4424
+ (T = p.value) == null || T.focus(), !I.value && y.value === "focus" && k.value.length > 0 && (k.value.pop(), c("change", xt(k.value)));
4425
4425
  }, W = () => {
4426
- x.value = !1, y.value = "blur", T.value = "";
4426
+ $.value = !1, y.value = "blur", N.value = "";
4427
4427
  }, z = () => {
4428
- g.list = i, x.value = !0;
4428
+ g.list = i, $.value = !0;
4429
4429
  }, Y = () => {
4430
- c("update:modelValue", ""), c("change", ""), $.value.splice(0, $.value.length);
4430
+ c("update:modelValue", ""), c("change", ""), k.value.splice(0, k.value.length);
4431
4431
  };
4432
4432
  return ae(
4433
- C,
4434
- (N) => {
4435
- L.value = o.search && y.value === "focus" && N;
4433
+ B,
4434
+ (T) => {
4435
+ I.value = o.search && y.value === "focus" && T;
4436
4436
  },
4437
4437
  { immediate: !0, deep: !0 }
4438
4438
  ), ae(
4439
- () => $.value,
4440
- (N) => {
4441
- N.length == 0 ? m.value = "" : m.value = N.map((O) => O == null ? void 0 : O.name).join(",");
4439
+ () => k.value,
4440
+ (T) => {
4441
+ T.length == 0 ? m.value = "" : m.value = T.map((O) => O == null ? void 0 : O.name).join(",");
4442
4442
  },
4443
4443
  { immediate: !0, deep: !0 }
4444
4444
  ), ae(() => o == null ? void 0 : o.options, () => {
4445
- var N;
4445
+ var T;
4446
4446
  o == null || o.options.map((O) => {
4447
4447
  O.name = O[o.parames.name], O.value = O[o.parames.value];
4448
4448
  }), i = o == null ? void 0 : o.options, o == null || o.options.map((O) => {
4449
4449
  O.value == o.modelValue && (O.selected = !0);
4450
- }), g.list = o == null ? void 0 : o.options, $.value = [], $.value = (N = o == null ? void 0 : o.options) == null ? void 0 : N.filter((O) => O.selected === !0);
4450
+ }), g.list = o == null ? void 0 : o.options, k.value = [], k.value = (T = o == null ? void 0 : o.options) == null ? void 0 : T.filter((O) => O.selected === !0);
4451
4451
  }, { immediate: !0, deep: !0 }), he(() => {
4452
- ae(y, (N) => {
4452
+ ae(y, (T) => {
4453
4453
  var O, X;
4454
- N === "focus" ? (O = p.value) == null || O.focus() : (X = p.value) == null || X.blur(), L.value = o.search && N === "focus" && C;
4454
+ T === "focus" ? (O = p.value) == null || O.focus() : (X = p.value) == null || X.blur(), I.value = o.search && T === "focus" && B;
4455
4455
  }), document.body.addEventListener("click", () => {
4456
4456
  y.value = "blur";
4457
4457
  });
4458
4458
  }), ae(() => o.modelValue, async () => {
4459
- w.value = o.modelValue, w.value == "" && (m.value = "", $.value.splice(0, 1)), g.list.map((N) => {
4460
- N.value == o.modelValue && ($.value.splice(0, $.value.length), $.value.push({
4461
- value: N.value,
4462
- name: N.name,
4463
- img: N.img,
4464
- iconColor: N.iconColor
4459
+ w.value = o.modelValue, w.value == "" && (m.value = "", k.value.splice(0, 1)), g.list.map((T) => {
4460
+ T.value == o.modelValue && (k.value.splice(0, k.value.length), k.value.push({
4461
+ value: T.value,
4462
+ name: T.name,
4463
+ img: T.img,
4464
+ iconColor: T.iconColor
4465
4465
  }));
4466
4466
  });
4467
4467
  }, {
4468
4468
  immediate: !0
4469
- }), (N, O) => (r(), d("div", {
4469
+ }), (T, O) => (r(), d("div", {
4470
4470
  ref_key: "selectRef",
4471
4471
  ref: v
4472
4472
  }, [
@@ -4484,15 +4484,15 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4484
4484
  content: re(() => [
4485
4485
  u("div", {
4486
4486
  class: "abl-select-options-warpper",
4487
- style: M(k.value),
4487
+ style: M(x.value),
4488
4488
  id: "abl-select"
4489
4489
  }, [
4490
4490
  g.list.length > 0 ? (r(!0), d(K, { key: 0 }, le(g.list, (X, ne) => (r(), d("div", {
4491
- class: V(["abl-select-options-item", $.value.some((B) => B.value === X.value) ? "abl-options-item-active" : ""]),
4491
+ class: L(["abl-select-options-item", k.value.some((C) => C.value === X.value) ? "abl-options-item-active" : ""]),
4492
4492
  key: X.name + X.value,
4493
- onClick: (B) => j(X, B)
4493
+ onClick: (C) => j(X, C)
4494
4494
  }, [
4495
- s.value ? E(N.$slots, "abloption", wt(xe({ key: 0 }, X)), void 0, !0) : (r(), d(K, { key: 1 }, [
4495
+ s.value ? E(T.$slots, "abloption", wt(xe({ key: 0 }, X)), void 0, !0) : (r(), d(K, { key: 1 }, [
4496
4496
  X.iconColor ? (r(), d("div", {
4497
4497
  key: 0,
4498
4498
  class: "abl-options-item-icon",
@@ -4504,7 +4504,7 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4504
4504
  src: X.img
4505
4505
  }, null, 8, li)) : R("", !0),
4506
4506
  u("span", {
4507
- class: V(X.img ? "haveImg" : "")
4507
+ class: L(X.img ? "haveImg" : "")
4508
4508
  }, H(X.name), 3)
4509
4509
  ], 64))
4510
4510
  ], 10, ti))), 128)) : (r(), d("div", ni, " No data "))
@@ -4514,7 +4514,7 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4514
4514
  u("div", {
4515
4515
  onClick: U,
4516
4516
  id: "select-input-warpper",
4517
- class: V(["abl-select-warpper", I.value ? "abl-select-warpper-disabled" : ""]),
4517
+ class: L(["abl-select-warpper", V.value ? "abl-select-warpper-disabled" : ""]),
4518
4518
  style: M({ height: e.height }),
4519
4519
  onKeydown: Tt(F, ["delete"])
4520
4520
  }, [
@@ -4525,31 +4525,31 @@ const Ks = { class: "abl-select-warpper-content" }, Gs = { class: "abl-select-ha
4525
4525
  }, [
4526
4526
  Q(u("div", Gs, [
4527
4527
  u("span", null, [
4528
- a.value ? E(N.$slots, "ablname", wt(xe({ key: 0 }, { name: m.value })), void 0, !0) : (r(), d("span", Js, H(m.value), 1))
4528
+ a.value ? E(T.$slots, "ablname", wt(xe({ key: 0 }, { name: m.value })), void 0, !0) : (r(), d("span", Js, H(m.value), 1))
4529
4529
  ])
4530
4530
  ], 512), [
4531
- [te, $.value.length && !L.value]
4531
+ [te, k.value.length && !I.value]
4532
4532
  ]),
4533
4533
  e.search ? Q((r(), d("input", {
4534
4534
  key: 0,
4535
4535
  onBlur: O[0] || (O[0] = (X) => W()),
4536
4536
  type: "text",
4537
- class: V(["abl-select-input-focus", L.value ? "abl-select-input-search" : ""]),
4537
+ class: L(["abl-select-input-focus", I.value ? "abl-select-input-search" : ""]),
4538
4538
  ref_key: "inputFocus",
4539
4539
  ref: p,
4540
- "onUpdate:modelValue": O[1] || (O[1] = (X) => T.value = X),
4540
+ "onUpdate:modelValue": O[1] || (O[1] = (X) => N.value = X),
4541
4541
  onFocus: O[2] || (O[2] = (X) => z()),
4542
4542
  onInput: S,
4543
4543
  placeholder: m.value
4544
4544
  }, null, 42, Zs)), [
4545
- [Ot, T.value]
4545
+ [Ot, N.value]
4546
4546
  ]) : R("", !0),
4547
- x.value ? R("", !0) : Q((r(), d("span", {
4547
+ $.value ? R("", !0) : Q((r(), d("span", {
4548
4548
  key: 1,
4549
4549
  class: "abl-select-placeholder",
4550
4550
  style: M({ "line-height": e.height })
4551
4551
  }, H(e.placeholder), 5)), [
4552
- [te, !$.value.length]
4552
+ [te, !k.value.length]
4553
4553
  ])
4554
4554
  ], 4),
4555
4555
  u("span", {
@@ -4642,28 +4642,28 @@ const oi = {
4642
4642
  return;
4643
4643
  const h = p.length;
4644
4644
  let w = [];
4645
- for (let x = 0; x < h; x++) {
4646
- const k = {
4647
- span: Math.min(p[x].dataset.span, y),
4648
- element: p[x]
4645
+ for (let $ = 0; $ < h; $++) {
4646
+ const x = {
4647
+ span: Math.min(p[$].dataset.span, y),
4648
+ element: p[$]
4649
4649
  };
4650
- m(w) < y ? (k.span = Math.min(k.span, y - m(w)), x === h - 1 && (k.span = y - m(w)), w.push(k), x === h - 1 && i.value.push(w)) : (i.value.push(w), w = [k], x === h - 1 && (k.span = y, i.value.push(w)));
4650
+ m(w) < y ? (x.span = Math.min(x.span, y - m(w)), $ === h - 1 && (x.span = y - m(w)), w.push(x), $ === h - 1 && i.value.push(w)) : (i.value.push(w), w = [x], $ === h - 1 && (x.span = y, i.value.push(w)));
4651
4651
  }
4652
4652
  n.bordered ? be(() => {
4653
- i.value.forEach((x, k) => {
4654
- x.forEach((g) => {
4655
- const C = Array.from(g.element.children), L = C[0].cloneNode(!0);
4656
- L.colSpan = 1, v(L, n.labelStyle), v(L, JSON.parse(g.element.dataset.labelStyle));
4657
- const I = C[1].cloneNode(!0);
4658
- I.colSpan = g.span * 2 - 1, v(I, n.contentStyle), v(I, JSON.parse(g.element.dataset.contentStyle)), o.value[k].appendChild(L), o.value[k].appendChild(I);
4653
+ i.value.forEach(($, x) => {
4654
+ $.forEach((g) => {
4655
+ const B = Array.from(g.element.children), I = B[0].cloneNode(!0);
4656
+ I.colSpan = 1, v(I, n.labelStyle), v(I, JSON.parse(g.element.dataset.labelStyle));
4657
+ const V = B[1].cloneNode(!0);
4658
+ V.colSpan = g.span * 2 - 1, v(V, n.contentStyle), v(V, JSON.parse(g.element.dataset.contentStyle)), o.value[x].appendChild(I), o.value[x].appendChild(V);
4659
4659
  });
4660
4660
  });
4661
4661
  }) : be(() => {
4662
- p.forEach((x, k) => {
4663
- const g = Array.from(x.children), C = g[0];
4664
- v(C, n.labelStyle), v(C, JSON.parse(x.dataset.labelStyle));
4665
- const L = g[1];
4666
- v(L, n.contentStyle), v(L, JSON.parse(x.dataset.contentStyle)), s.value[k].appendChild(x);
4662
+ p.forEach(($, x) => {
4663
+ const g = Array.from($.children), B = g[0];
4664
+ v(B, n.labelStyle), v(B, JSON.parse($.dataset.labelStyle));
4665
+ const I = g[1];
4666
+ v(I, n.contentStyle), v(I, JSON.parse($.dataset.contentStyle)), s.value[x].appendChild($);
4667
4667
  });
4668
4668
  });
4669
4669
  }
@@ -4676,7 +4676,7 @@ const oi = {
4676
4676
  });
4677
4677
  }
4678
4678
  return (p, y) => (r(), d("div", {
4679
- class: V(["abl-desc", `desc-${e.size}`])
4679
+ class: L(["abl-desc", `desc-${e.size}`])
4680
4680
  }, [
4681
4681
  e.title || p.$slots.title ? (r(), d("div", oi, [
4682
4682
  u("div", si, [
@@ -4699,7 +4699,7 @@ const oi = {
4699
4699
  [te, !1]
4700
4700
  ]),
4701
4701
  u("div", {
4702
- class: V(["abl-desc-view", { "abl-bordered": e.bordered }])
4702
+ class: L(["abl-desc-view", { "abl-bordered": e.bordered }])
4703
4703
  }, [
4704
4704
  u("table", null, [
4705
4705
  e.bordered ? (r(), d("tbody", ui, [
@@ -4712,13 +4712,13 @@ const oi = {
4712
4712
  }))), 128)) : R("", !0)
4713
4713
  ])) : (r(), d("tbody", ri, [
4714
4714
  (r(!0), d(K, null, le(i.value, (h, w) => (r(), d("tr", { key: w }, [
4715
- (r(!0), d(K, null, le(h, (x, k) => (r(), d("td", {
4715
+ (r(!0), d(K, null, le(h, ($, x) => (r(), d("td", {
4716
4716
  ref_for: !0,
4717
4717
  ref_key: "cols",
4718
4718
  ref: s,
4719
4719
  class: "abl-item-td",
4720
- colspan: x.span,
4721
- key: k
4720
+ colspan: $.span,
4721
+ key: x
4722
4722
  }, null, 8, ci))), 128))
4723
4723
  ]))), 128))
4724
4724
  ]))
@@ -4913,43 +4913,43 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
4913
4913
  const i = b(), c = b(), f = xi();
4914
4914
  b(), b(), b([]);
4915
4915
  const m = P(() => {
4916
- const { marks: B, max: q, min: D } = t;
4917
- return Object.keys(B).map(parseFloat).sort((ce, ve) => ce - ve).filter((ce) => ce >= +D && ce <= +q);
4916
+ const { marks: C, max: q, min: D } = t;
4917
+ return Object.keys(C).map(parseFloat).sort((ce, ve) => ce - ve).filter((ce) => ce >= +D && ce <= +q);
4918
4918
  }), v = P(() => Number(t.max) - Number(t.min)), p = b([]), y = b(), h = P(() => {
4919
- const B = "abl-range";
4919
+ const C = "abl-range";
4920
4920
  return {
4921
- [B]: !0,
4922
- [`${B}-disabled`]: t.disabled,
4923
- [`${B}-vertical`]: t.vertical,
4924
- [`${B}-show-number`]: !t.hiddenRange
4921
+ [C]: !0,
4922
+ [`${C}-disabled`]: t.disabled,
4923
+ [`${C}-vertical`]: t.vertical,
4924
+ [`${C}-show-number`]: !t.hiddenRange
4925
4925
  };
4926
4926
  }), w = P(() => {
4927
- const B = "abl-range-container";
4927
+ const C = "abl-range-container";
4928
4928
  return {
4929
- [B]: !0,
4930
- [`${B}-vertical`]: t.vertical
4929
+ [C]: !0,
4930
+ [`${C}-vertical`]: t.vertical
4931
4931
  };
4932
- }), x = P(() => ({
4932
+ }), $ = P(() => ({
4933
4933
  background: t.inactiveColor
4934
- })), k = P(() => ({
4934
+ })), x = P(() => ({
4935
4935
  borderColor: t.buttonColor
4936
- })), g = b(!1), C = (B) => !!t.range && Array.isArray(B), L = () => {
4937
- const { modelValue: B, min: q } = t;
4938
- return C(B) ? `${(B[1] - B[0]) * 100 / v.value}%` : `${(B - Number(q)) * 100 / v.value}%`;
4939
- }, I = () => {
4940
- const { modelValue: B, min: q } = t;
4941
- return C(B) ? `${(B[0] - Number(q)) * 100 / v.value}%` : "0%";
4942
- }, T = P(() => t.vertical ? {
4943
- height: L(),
4944
- top: I(),
4936
+ })), g = b(!1), B = (C) => !!t.range && Array.isArray(C), I = () => {
4937
+ const { modelValue: C, min: q } = t;
4938
+ return B(C) ? `${(C[1] - C[0]) * 100 / v.value}%` : `${(C - Number(q)) * 100 / v.value}%`;
4939
+ }, V = () => {
4940
+ const { modelValue: C, min: q } = t;
4941
+ return B(C) ? `${(C[0] - Number(q)) * 100 / v.value}%` : "0%";
4942
+ }, N = P(() => t.vertical ? {
4943
+ height: I(),
4944
+ top: V(),
4945
4945
  background: t.activeColor,
4946
4946
  transition: c.value ? "none" : void 0
4947
4947
  } : {
4948
- width: L(),
4949
- left: I(),
4948
+ width: I(),
4949
+ left: V(),
4950
4950
  background: t.activeColor,
4951
4951
  transition: c.value ? "none" : void 0
4952
- }), $ = (B) => {
4952
+ }), k = (C) => {
4953
4953
  const q = "abl-range-mark", { modelValue: D, max: J, min: de } = t;
4954
4954
  let ce = Number(de), ve = Number(J);
4955
4955
  if (t.range) {
@@ -4957,20 +4957,20 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
4957
4957
  ce = Re, ve = Oe;
4958
4958
  } else
4959
4959
  ve = D;
4960
- let Te = B <= +ve && B >= ce;
4960
+ let Te = C <= +ve && C >= ce;
4961
4961
  return {
4962
4962
  [`${q}-text`]: !0,
4963
4963
  [`${q}-text-active`]: Te
4964
4964
  };
4965
- }, A = (B) => {
4965
+ }, A = (C) => {
4966
4966
  const { min: q, vertical: D } = t;
4967
4967
  let J = {
4968
- left: `${(B - Number(q)) / v.value * 100}%`
4968
+ left: `${(C - Number(q)) / v.value * 100}%`
4969
4969
  };
4970
4970
  return D && (J = {
4971
- top: `${(B - Number(q)) / v.value * 100}%`
4971
+ top: `${(C - Number(q)) / v.value * 100}%`
4972
4972
  }), J;
4973
- }, _ = (B) => {
4973
+ }, _ = (C) => {
4974
4974
  const { modelValue: q, max: D, min: J } = t;
4975
4975
  let de = Number(J), ce = Number(D);
4976
4976
  if (t.range) {
@@ -4978,22 +4978,22 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
4978
4978
  de = Re, ce = Oe;
4979
4979
  }
4980
4980
  return {
4981
- background: B <= ce && B >= de ? t.activeColor : t.inactiveColor
4981
+ background: C <= ce && C >= de ? t.activeColor : t.inactiveColor
4982
4982
  };
4983
- }, S = (B) => {
4983
+ }, S = (C) => {
4984
4984
  const { min: q, max: D, step: J } = t;
4985
- return B = Math.max(+q, Math.min(B, +D)), Math.round(B / +J) * +J;
4986
- }, U = (B, q) => JSON.stringify(B) === JSON.stringify(q), j = (B) => B[0] > B[1] ? B.slice(0).reverse() : B, F = (B, q) => {
4987
- C(B) ? B = j(B).map(S) : B = S(B), U(B, t.modelValue) || l("update:modelValue", B), q && !U(B, s) && l("change", B);
4988
- }, W = (B) => {
4985
+ return C = Math.max(+q, Math.min(C, +D)), Math.round(C / +J) * +J;
4986
+ }, U = (C, q) => JSON.stringify(C) === JSON.stringify(q), j = (C) => C[0] > C[1] ? C.slice(0).reverse() : C, F = (C, q) => {
4987
+ B(C) ? C = j(C).map(S) : C = S(C), U(C, t.modelValue) || l("update:modelValue", C), q && !U(C, s) && l("change", C);
4988
+ }, W = (C) => {
4989
4989
  if (t.disabled || c.value === "draging")
4990
4990
  return;
4991
4991
  g.value = !0;
4992
4992
  const { min: q, modelValue: D } = t, J = Rt(i);
4993
- let de = B.clientX - J.left, ce = J.width;
4994
- t.vertical && (de = B.clientY - J.top, ce = J.height);
4993
+ let de = C.clientX - J.left, ce = J.width;
4994
+ t.vertical && (de = C.clientY - J.top, ce = J.height);
4995
4995
  const ve = Number(q) + de / ce * v.value;
4996
- if (C(D)) {
4996
+ if (B(D)) {
4997
4997
  const [Te, Re] = D, Oe = (Te + Re) / 2;
4998
4998
  ve <= Oe ? (a.value = 0, F([ve, Re], !0)) : (a.value = 1, F([Te, ve], !0));
4999
4999
  } else
@@ -5003,37 +5003,37 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
5003
5003
  });
5004
5004
  }, z = () => {
5005
5005
  g.value = !1;
5006
- }, Y = (B) => {
5007
- t.disabled || (f.start(B), o = t.modelValue, C(o) ? s = o.map(S) : s = S(o), c.value = "start");
5008
- }, N = (B) => {
5006
+ }, Y = (C) => {
5007
+ t.disabled || (f.start(C), o = t.modelValue, B(o) ? s = o.map(S) : s = S(o), c.value = "start");
5008
+ }, T = (C) => {
5009
5009
  if (t.disabled)
5010
5010
  return;
5011
- c.value === "start" && l("dragStart"), f.move(B), c.value = "draging", B.type.startsWith("touch") && (g.value = !0);
5011
+ c.value === "start" && l("dragStart"), f.move(C), c.value = "draging", C.type.startsWith("touch") && (g.value = !0);
5012
5012
  const q = Rt(i);
5013
5013
  let D = f.deltaX.value, J = q.width, de = D / J * v.value;
5014
- t.vertical && (D = f.deltaY.value, J = q.height, de = D / J * v.value), C(s) ? o[a.value] = s[a.value] + de : o = s + de, F(o);
5015
- }, O = (B) => {
5016
- t.disabled || c.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", N), window.removeEventListener("touchmove", N), window.removeEventListener("mouseup", O), window.removeEventListener("touchend", O), B.type.startsWith("touch") && (g.value = !1), setTimeout(() => {
5014
+ t.vertical && (D = f.deltaY.value, J = q.height, de = D / J * v.value), B(s) ? o[a.value] = s[a.value] + de : o = s + de, F(o);
5015
+ }, O = (C) => {
5016
+ t.disabled || c.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", T), window.removeEventListener("touchmove", T), window.removeEventListener("mouseup", O), window.removeEventListener("touchend", O), C.type.startsWith("touch") && (g.value = !1), setTimeout(() => {
5017
5017
  c.value = "";
5018
5018
  }));
5019
- }, X = (B, q) => {
5020
- t.disabled || (Y(B), window.addEventListener("mousemove", N), window.addEventListener("touchmove", N), window.addEventListener("mouseup", O), window.addEventListener("touchend", O));
5021
- }, ne = (B) => Array.isArray(t.modelValue) && typeof B == "number" ? t.modelValue[B] : Number(t.modelValue);
5022
- return (B, q) => (r(), d("div", {
5023
- class: V(w.value)
5019
+ }, X = (C, q) => {
5020
+ t.disabled || (Y(C), window.addEventListener("mousemove", T), window.addEventListener("touchmove", T), window.addEventListener("mouseup", O), window.addEventListener("touchend", O));
5021
+ }, ne = (C) => Array.isArray(t.modelValue) && typeof C == "number" ? t.modelValue[C] : Number(t.modelValue);
5022
+ return (C, q) => (r(), d("div", {
5023
+ class: L(w.value)
5024
5024
  }, [
5025
5025
  e.hiddenRange ? R("", !0) : (r(), d("div", ki, H(+e.min), 1)),
5026
5026
  u("div", {
5027
5027
  ref_key: "root",
5028
5028
  ref: i,
5029
- style: M(x.value),
5030
- class: V(h.value),
5029
+ style: M($.value),
5030
+ class: L(h.value),
5031
5031
  onClick: Z(W, ["stop"])
5032
5032
  }, [
5033
5033
  m.value.length > 0 ? (r(), d("div", Si, [
5034
5034
  (r(!0), d(K, null, le(m.value, (D) => (r(), d("span", {
5035
5035
  key: D,
5036
- class: V($(D)),
5036
+ class: L(k(D)),
5037
5037
  style: M(A(D))
5038
5038
  }, [
5039
5039
  ee(H(D) + " ", 1),
@@ -5045,12 +5045,12 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
5045
5045
  ])) : R("", !0),
5046
5046
  u("div", {
5047
5047
  class: "abl-range-bar",
5048
- style: M(T.value)
5048
+ style: M(N.value)
5049
5049
  }, [
5050
5050
  e.range ? (r(), d(K, { key: 0 }, le([0, 1], (D) => u("div", {
5051
5051
  key: D,
5052
5052
  role: "slider",
5053
- class: V({ "abl-range-button-wrapper-left": D == 0, "abl-range-button-wrapper-right": D == 1 }),
5053
+ class: L({ "abl-range-button-wrapper-left": D == 0, "abl-range-button-wrapper-right": D == 1 }),
5054
5054
  tabindex: e.disabled ? -1 : 0,
5055
5055
  "aria-valuemin": +e.min,
5056
5056
  "aria-valuenow": ne(D),
@@ -5067,14 +5067,14 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
5067
5067
  typeof D == "number" && (a.value = D), X(J);
5068
5068
  }
5069
5069
  }, [
5070
- B.$slots.button ? E(B.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5070
+ C.$slots.button ? E(C.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5071
5071
  key: 1,
5072
5072
  class: "abl-range-button",
5073
- style: M(k.value)
5073
+ style: M(x.value)
5074
5074
  }, [
5075
5075
  e.showTooltip ? (r(), d("div", {
5076
5076
  key: 0,
5077
- class: V(["abl-handle-tooltip", [{ "display-tooltip": a.value === D && g.value }]])
5077
+ class: L(["abl-handle-tooltip", [{ "display-tooltip": a.value === D && g.value }]])
5078
5078
  }, [
5079
5079
  ee(H(ne(D)) + " ", 1),
5080
5080
  Bi
@@ -5098,14 +5098,14 @@ const rl = (e) => (ge("data-v-f4c52821"), e = e(), ye(), e), ki = {
5098
5098
  X(D);
5099
5099
  })
5100
5100
  }, [
5101
- B.$slots.button ? E(B.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5101
+ C.$slots.button ? E(C.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
5102
5102
  key: 1,
5103
5103
  class: "abl-range-button",
5104
- style: M(k.value)
5104
+ style: M(x.value)
5105
5105
  }, [
5106
5106
  e.showTooltip ? (r(), d("div", {
5107
5107
  key: 0,
5108
- class: V(["abl-handle-tooltip", [{ "display-tooltip": g.value }]])
5108
+ class: L(["abl-handle-tooltip", [{ "display-tooltip": g.value }]])
5109
5109
  }, [
5110
5110
  ee(H(ne()) + " ", 1),
5111
5111
  Li
@@ -5193,12 +5193,12 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5193
5193
  }
5194
5194
  );
5195
5195
  const m = (h) => {
5196
- var w = [], x = Math.floor(t.pagerCount / 2), k = {
5197
- start: h - x,
5198
- end: h + x
5196
+ var w = [], $ = Math.floor(t.pagerCount / 2), x = {
5197
+ start: h - $,
5198
+ end: h + $
5199
5199
  };
5200
- k.start < 1 && (k.end = k.end + (1 - k.start), k.start = 1), k.end > i.value && (k.start = k.start - (k.end - i.value), k.end = i.value), k.start < 1 && (k.start = 1), k.start > 1 ? s.value = !0 : s.value = !1, k.end < i.value ? o.value = !0 : o.value = !1;
5201
- for (let g = k.start; g <= k.end; g++)
5200
+ x.start < 1 && (x.end = x.end + (1 - x.start), x.start = 1), x.end > i.value && (x.start = x.start - (x.end - i.value), x.end = i.value), x.start < 1 && (x.start = 1), x.start > 1 ? s.value = !0 : s.value = !1, x.end < i.value ? o.value = !0 : o.value = !1;
5201
+ for (let g = x.start; g <= x.end; g++)
5202
5202
  w.push(g);
5203
5203
  return w;
5204
5204
  }, v = () => {
@@ -5211,13 +5211,13 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5211
5211
  a.value !== h && (a.value = h);
5212
5212
  };
5213
5213
  return (h, w) => (r(), d("div", {
5214
- class: V([`abl-pagination ${e.placement}`, { hidden: e.hideOnSinglePage && e.total <= e.pageSize, "no-border": !e.border }])
5214
+ class: L([`abl-pagination ${e.placement}`, { hidden: e.hideOnSinglePage && e.total <= e.pageSize, "no-border": !e.border }])
5215
5215
  }, [
5216
5216
  u("div", Ri, [
5217
5217
  e.showTotal ? (r(), d("span", Ei, "total " + H(e.total) + " items", 1)) : R("", !0),
5218
5218
  u("div", {
5219
- class: V(["abl-pagination-item", { disabled: a.value === 1 }]),
5220
- onClick: w[0] || (w[0] = (x) => !se(l).itemRender && y(a.value - 1))
5219
+ class: L(["abl-pagination-item", { disabled: a.value === 1 }]),
5220
+ onClick: w[0] || (w[0] = ($) => !se(l).itemRender && y(a.value - 1))
5221
5221
  }, [
5222
5222
  E(h.$slots, "itemRender", {
5223
5223
  page: a.value === 1 ? 1 : a.value - 1,
@@ -5227,8 +5227,8 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5227
5227
  ])
5228
5228
  ], 2),
5229
5229
  u("div", {
5230
- class: V(["abl-pagination-item", { active: a.value === 1 }]),
5231
- onClick: w[1] || (w[1] = (x) => !se(l).itemRender && y(1))
5230
+ class: L(["abl-pagination-item", { active: a.value === 1 }]),
5231
+ onClick: w[1] || (w[1] = ($) => !se(l).itemRender && y(1))
5232
5232
  }, [
5233
5233
  E(h.$slots, "itemRender", {
5234
5234
  page: 1,
@@ -5244,16 +5244,16 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5244
5244
  }, Oi, 512), [
5245
5245
  [te, s.value && c.value[0] - 1 > 1]
5246
5246
  ]),
5247
- (r(!0), d(K, null, le(c.value, (x, k) => (r(), d("div", {
5248
- class: V(["abl-pagination-item", { active: a.value === x }]),
5249
- key: k,
5250
- onClick: (g) => !se(l).itemRender && y(x)
5247
+ (r(!0), d(K, null, le(c.value, ($, x) => (r(), d("div", {
5248
+ class: L(["abl-pagination-item", { active: a.value === $ }]),
5249
+ key: x,
5250
+ onClick: (g) => !se(l).itemRender && y($)
5251
5251
  }, [
5252
5252
  E(h.$slots, "itemRender", {
5253
- page: x,
5253
+ page: $,
5254
5254
  type: "page"
5255
5255
  }, () => [
5256
- ee(H(x), 1)
5256
+ ee(H($), 1)
5257
5257
  ])
5258
5258
  ], 10, Pi))), 128)),
5259
5259
  Q(u("div", {
@@ -5264,8 +5264,8 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5264
5264
  [te, o.value && c.value[c.value.length - 1] + 1 < i.value]
5265
5265
  ]),
5266
5266
  Q(u("div", {
5267
- class: V(["abl-pagination-item", { active: a.value === i.value }]),
5268
- onClick: w[2] || (w[2] = (x) => !se(l).itemRender && y(i.value))
5267
+ class: L(["abl-pagination-item", { active: a.value === i.value }]),
5268
+ onClick: w[2] || (w[2] = ($) => !se(l).itemRender && y(i.value))
5269
5269
  }, [
5270
5270
  E(h.$slots, "itemRender", {
5271
5271
  page: i.value,
@@ -5277,8 +5277,8 @@ const Ri = { class: "abl-pagination-wrap" }, Ei = {
5277
5277
  [te, i.value !== 1]
5278
5278
  ]),
5279
5279
  u("div", {
5280
- class: V(["abl-pagination-item", { disabled: a.value === i.value }]),
5281
- onClick: w[3] || (w[3] = (x) => !se(l).itemRender && y(a.value + 1))
5280
+ class: L(["abl-pagination-item", { disabled: a.value === i.value }]),
5281
+ onClick: w[3] || (w[3] = ($) => !se(l).itemRender && y(a.value + 1))
5282
5282
  }, [
5283
5283
  E(h.$slots, "itemRender", {
5284
5284
  page: i.value === a.value ? a.value : a.value + 1,
@@ -5397,7 +5397,7 @@ const Qi = { class: "abl-breadcrumb__item" }, er = {
5397
5397
  var o;
5398
5398
  return r(), d("span", Qi, [
5399
5399
  u("span", {
5400
- class: V(["abl-breadcrumb__inner", {
5400
+ class: L(["abl-breadcrumb__inner", {
5401
5401
  "is-link": e.to
5402
5402
  }]),
5403
5403
  onClick: l
@@ -5444,7 +5444,7 @@ const ir = {
5444
5444
  class: "timeline-item"
5445
5445
  }, [
5446
5446
  u("div", {
5447
- class: V([a.value, "timeline-circle"])
5447
+ class: L([a.value, "timeline-circle"])
5448
5448
  }, [
5449
5449
  E(s.$slots, "others", {}, void 0, !0)
5450
5450
  ], 2),
@@ -5497,11 +5497,11 @@ const pr = {
5497
5497
  type: String,
5498
5498
  default: "top"
5499
5499
  },
5500
- top: {
5500
+ offsetTop: {
5501
5501
  type: [Number, String],
5502
5502
  default: 0
5503
5503
  },
5504
- bottom: {
5504
+ offsetBottom: {
5505
5505
  type: [Number, String],
5506
5506
  default: 0
5507
5507
  },
@@ -5521,67 +5521,70 @@ const pr = {
5521
5521
  height: 0,
5522
5522
  width: 0,
5523
5523
  transform: 0
5524
- }), c = b(), f = P(() => l.position === "top" ? Number(l.top) : Number(l.bottom)), m = P(() => i.fixed ? { height: `${i.height}px` } : {}), v = P(() => i.fixed ? {
5525
- [l.position]: `${f.value}px`,
5524
+ }), c = b(), f = b(null), m = P(() => l.position === "top" ? Number(l.offsetTop) : Number(l.offsetBottom)), v = P(() => i.fixed ? { height: `${i.height}px` } : {}), p = P(() => i.fixed ? {
5525
+ [l.position]: `${m.value}px`,
5526
5526
  height: `${i.height}px`,
5527
5527
  width: `${i.width}px`,
5528
5528
  transform: i.transform ? `translate3d(0, ${i.transform}px, 0)` : void 0,
5529
5529
  zIndex: Number(l.zIndex)
5530
- } : {}), p = () => {
5531
- const w = l.container;
5532
- if (!s.value && !w)
5533
- return;
5534
- const x = rt(s), k = o.value, g = rt(k), C = rt(w);
5535
- if (i.height = x.height, i.width = x.width, l.position === "top")
5536
- if (w) {
5537
- i.fixed = f.value > x.top && C.bottom > 0;
5538
- const L = C.bottom - f.value - g.height;
5539
- i.transform = L < 0 ? L : 0;
5540
- } else
5541
- i.fixed = f.value > x.top, i.transform = 0;
5542
- else {
5543
- const L = document.documentElement.clientHeight;
5544
- if (w) {
5545
- i.fixed = C.bottom > 0 && L - f.value - g.height > C.top;
5546
- const I = C.bottom - (L - f.value);
5547
- i.transform = I < 0 ? I : 0;
5548
- } else
5549
- i.fixed = L - f.value < x.bottom, i.transform = 0;
5550
- }
5530
+ } : {}), y = () => {
5531
+ t && (f.value !== null && cancelAnimationFrame(f.value), f.value = requestAnimationFrame(() => {
5532
+ const $ = l.container;
5533
+ if (!s.value && !$)
5534
+ return;
5535
+ const x = rt(s), g = o.value, B = rt(g), I = rt($);
5536
+ if (i.height = x.height, i.width = x.width, l.position === "top")
5537
+ if ($) {
5538
+ i.fixed = m.value > x.top && I.bottom > 0;
5539
+ const V = I.bottom - m.value - B.height;
5540
+ i.transform = V < 0 ? V : 0;
5541
+ } else
5542
+ i.fixed = m.value > x.top, i.transform = 0;
5543
+ else {
5544
+ const V = document.documentElement.clientHeight;
5545
+ if ($) {
5546
+ i.fixed = I.bottom > 0 && V - m.value - B.height > I.top;
5547
+ const N = I.bottom - (V - m.value);
5548
+ i.transform = N < 0 ? N : 0;
5549
+ } else
5550
+ i.fixed = V - m.value < x.bottom, i.transform = 0;
5551
+ }
5552
+ f.value = null;
5553
+ }));
5551
5554
  };
5552
5555
  ae(
5553
5556
  () => i.fixed,
5554
- (w) => {
5555
- a("change", w);
5557
+ ($) => {
5558
+ a("change", $);
5556
5559
  }
5557
5560
  );
5558
- const y = () => {
5559
- c.value = fr(s.value), c.value && c.value.addEventListener("scroll", p, { passive: !0 });
5560
- }, h = () => {
5561
- c.value && (c.value.removeEventListener("scroll", p, { passive: !0 }), c.value = null);
5561
+ const h = () => {
5562
+ c.value = fr(s.value), c.value && c.value.addEventListener("scroll", y, { passive: !0 });
5563
+ }, w = () => {
5564
+ c.value && (c.value.removeEventListener("scroll", y, { passive: !0 }), c.value = null);
5562
5565
  };
5563
5566
  return he(() => {
5564
- t && y();
5567
+ t && h();
5565
5568
  }), Je(() => {
5566
- h();
5569
+ w(), f.value !== null && cancelAnimationFrame(f.value);
5567
5570
  }), ae(() => l.container, () => {
5568
- h(), y();
5569
- }), (w, x) => (r(), d("div", {
5571
+ w(), h();
5572
+ }), ($, x) => (r(), d("div", {
5570
5573
  ref_key: "rootRef",
5571
5574
  ref: s,
5572
- style: M(m.value)
5575
+ style: M(v.value)
5573
5576
  }, [
5574
5577
  u("div", {
5575
5578
  ref_key: "stickyRef",
5576
5579
  ref: o,
5577
- class: V(["abl-sticky", i.fixed && "abl-sticky--fixed"]),
5578
- style: M(v.value)
5580
+ class: L(["abl-sticky", i.fixed && "abl-sticky--fixed"]),
5581
+ style: M(p.value)
5579
5582
  }, [
5580
- E(w.$slots, "default", {}, void 0, !0)
5583
+ E($.$slots, "default", {}, void 0, !0)
5581
5584
  ], 6)
5582
5585
  ], 4));
5583
5586
  }
5584
- }, vr = /* @__PURE__ */ G(pr, [["__scopeId", "data-v-b62df9ed"]]);
5587
+ }, vr = /* @__PURE__ */ G(pr, [["__scopeId", "data-v-a2834a24"]]);
5585
5588
  const mr = { class: "abl-tree-select" }, hr = { class: "abl-tree-select-tab" }, gr = ["onClick"], yr = {
5586
5589
  key: 0,
5587
5590
  class: "abl-tree-select__nav-item-dot"
@@ -5605,7 +5608,7 @@ const mr = { class: "abl-tree-select" }, hr = { class: "abl-tree-select-tab" },
5605
5608
  return (o, i) => (r(), d("div", mr, [
5606
5609
  u("div", hr, [
5607
5610
  (r(!0), d(K, null, le(l.items, (c, f) => (r(), d("div", {
5608
- class: V(["abl-tree-select__nav-item", f == a.value ? "active" : ""]),
5611
+ class: L(["abl-tree-select__nav-item", f == a.value ? "active" : ""]),
5609
5612
  onClick: (m) => s(f)
5610
5613
  }, [
5611
5614
  ee(H(c.text) + " ", 1),