abl-ui 0.1.37 → 0.1.38

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 u, createElementBlock as p, normalizeStyle as R, renderSlot as B, createElementVNode as c, normalizeClass as O, createTextVNode as j, toDisplayString as N, createCommentVNode as I, createStaticVNode as xt, Fragment as H, renderList as G, createVNode as Z, useSlots as nt, ref as x, provide as ze, defineComponent as Pe, toRefs as Be, computed as T, unref as ne, pushScopeId as ie, popScopeId as re, inject as Ie, reactive as ve, withDirectives as U, vShow as Y, onMounted as _e, createBlock as ee, Transition as oe, withCtx as K, render as Xe, watchEffect as Ce, Teleport as He, withModifiers as P, onBeforeUnmount as $t, resolveDynamicComponent as qt, mergeProps as $e, useAttrs as Ut, getCurrentInstance as Kt, watch as me, normalizeProps as Gt, guardReactiveProps as Yt, resolveDirective as Xt, nextTick as le, h as Jt, createSlots as Zt, vModelDynamic as Qt, withKeys as en, vModelText as tn, toRaw as Ge, onUnmounted as nn } from "vue";
1
+ import { openBlock as u, createElementBlock as h, normalizeStyle as R, renderSlot as B, createElementVNode as c, normalizeClass as O, createTextVNode as j, toDisplayString as N, createCommentVNode as I, createStaticVNode as xt, Fragment as H, renderList as G, createVNode as Z, useSlots as nt, ref as x, provide as ze, defineComponent as Pe, toRefs as Be, computed as T, unref as ne, pushScopeId as ie, popScopeId as re, inject as Ie, reactive as ve, withDirectives as U, vShow as Y, onMounted as _e, createBlock as ee, Transition as oe, withCtx as K, render as Xe, watchEffect as Ce, Teleport as He, withModifiers as P, onBeforeUnmount as $t, resolveDynamicComponent as qt, mergeProps as $e, useAttrs as Ut, getCurrentInstance as Kt, watch as me, normalizeProps as Gt, guardReactiveProps as Yt, resolveDirective as Xt, nextTick as le, h as Jt, createSlots as Zt, vModelDynamic as Qt, withKeys as en, vModelText as tn, toRaw as Ge, onUnmounted as nn } from "vue";
2
2
  const q = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [o, s] of t)
@@ -26,14 +26,14 @@ const q = (e, t) => {
26
26
  }
27
27
  },
28
28
  setup(e) {
29
- return (t, n) => (u(), p("div", on, [
30
- e.image === "1" ? (u(), p("svg", {
29
+ return (t, n) => (u(), h("div", on, [
30
+ e.image === "1" ? (u(), h("svg", {
31
31
  key: 0,
32
32
  class: "abl-u-empty-1",
33
33
  style: R(e.imageStyle),
34
34
  viewBox: "0 0 184 152",
35
35
  xmlns: "http://www.w3.org/2000/svg"
36
- }, ln, 4)) : e.image === "2" ? (u(), p("svg", {
36
+ }, ln, 4)) : e.image === "2" ? (u(), h("svg", {
37
37
  key: 1,
38
38
  class: "abl-u-empty-2",
39
39
  style: R(e.imageStyle),
@@ -47,7 +47,7 @@ const q = (e, t) => {
47
47
  alt: "image"
48
48
  }, null, 12, cn)
49
49
  ], !0),
50
- e.description ? (u(), p("p", {
50
+ e.description ? (u(), h("p", {
51
51
  key: 3,
52
52
  class: O(["u-description", { gray: e.image === "2" }])
53
53
  }, [
@@ -84,7 +84,7 @@ const un = { class: "abl-table" }, fn = { class: "gridtable" }, pn = { class: "t
84
84
  i.classList.remove("box-shadow");
85
85
  });
86
86
  };
87
- return (s, l) => (u(), p("section", null, [
87
+ return (s, l) => (u(), h("section", null, [
88
88
  c("div", un, [
89
89
  c("div", {
90
90
  class: O(["table__inner-wrapper", e.border ? "has-table-border" : ""]),
@@ -94,7 +94,7 @@ const un = { class: "abl-table" }, fn = { class: "gridtable" }, pn = { class: "t
94
94
  c("table", fn, [
95
95
  c("thead", pn, [
96
96
  c("tr", null, [
97
- (u(!0), p(H, null, G(n.columns, (i, r) => (u(), p("th", {
97
+ (u(!0), h(H, null, G(n.columns, (i, r) => (u(), h("th", {
98
98
  key: r,
99
99
  style: R({ "text-align": i.align || "left" }),
100
100
  class: O(i.fixed == "left" ? "table-fixed-column--left" : i.fixed == "right" ? "table-fixed-column--right" : "")
@@ -103,9 +103,9 @@ const un = { class: "abl-table" }, fn = { class: "gridtable" }, pn = { class: "t
103
103
  ], 6))), 128))
104
104
  ])
105
105
  ]),
106
- n.data.length > 0 ? (u(), p("tbody", vn, [
107
- (u(!0), p(H, null, G(n.data, (i, r) => (u(), p("tr", { key: r }, [
108
- (u(!0), p(H, null, G(e.columns, (a, d) => (u(), p("td", {
106
+ n.data.length > 0 ? (u(), h("tbody", vn, [
107
+ (u(!0), h(H, null, G(n.data, (i, r) => (u(), h("tr", { key: r }, [
108
+ (u(!0), h(H, null, G(e.columns, (a, d) => (u(), h("td", {
109
109
  style: R({ "text-align": a.align || "left", width: a.width || "auto" }),
110
110
  key: d,
111
111
  class: O(a.fixed == "left" ? "table-fixed-column--left" : a.fixed == "right" ? "table-fixed-column--right" : "")
@@ -113,7 +113,7 @@ const un = { class: "abl-table" }, fn = { class: "gridtable" }, pn = { class: "t
113
113
  c("div", mn, N(i[a.prop]), 1)
114
114
  ], 6))), 128))
115
115
  ]))), 128))
116
- ])) : (u(), p("tbody", gn, [
116
+ ])) : (u(), h("tbody", gn, [
117
117
  c("tr", null, [
118
118
  c("td", {
119
119
  class: "no-data-td",
@@ -147,28 +147,28 @@ const wn = { class: "abl-tabs" }, xn = { class: "tabs-header" }, $n = ["onClick"
147
147
  const n = t, o = nt(), s = e, l = x([]), i = x(), r = x(s.modelValue);
148
148
  l.value = (d = o.default()) == null ? void 0 : d.map(({ props: v }) => {
149
149
  if (v) {
150
- const { title: f, value: h, icon: m } = v;
150
+ const { title: f, value: p, icon: g } = v;
151
151
  return {
152
152
  title: f,
153
- value: h,
154
- icon: m
153
+ value: p,
154
+ icon: g
155
155
  };
156
156
  }
157
157
  }), ze("active", r);
158
158
  const a = (v) => {
159
159
  r.value = v, n("tabClick", v);
160
160
  };
161
- return (v, f) => (u(), p("div", wn, [
161
+ return (v, f) => (u(), h("div", wn, [
162
162
  c("header", xn, [
163
- (u(!0), p(H, null, G(l.value, (h) => (u(), p("div", {
164
- key: h.title,
165
- class: O(`header-btn ${r.value === h.value ? "header-btn-active" : ""}`),
166
- onClick: (m) => a(h.value)
163
+ (u(!0), h(H, null, G(l.value, (p) => (u(), h("div", {
164
+ key: p.title,
165
+ class: O(`header-btn ${r.value === p.value ? "header-btn-active" : ""}`),
166
+ onClick: (g) => a(p.value)
167
167
  }, [
168
168
  c("i", {
169
- class: O(["iconfont-abl tab-icon", h.icon])
169
+ class: O(["iconfont-abl tab-icon", p.icon])
170
170
  }, null, 2),
171
- j(" " + N(h.title), 1)
171
+ j(" " + N(p.title), 1)
172
172
  ], 10, $n))), 128))
173
173
  ]),
174
174
  c("main", {
@@ -217,7 +217,7 @@ const wn = { class: "abl-tabs" }, xn = { class: "tabs-header" }, $n = ["onClick"
217
217
  "abl-switch-disabled": i.value,
218
218
  [`abl-switch-${r.value}`]: r.value
219
219
  }));
220
- return (d, v) => (u(), p("div", {
220
+ return (d, v) => (u(), h("div", {
221
221
  class: O(["abl-switch", a.value]),
222
222
  onClick: s,
223
223
  style: R({ background: ne(l) ? e.activeColor : e.inactiveColor })
@@ -259,7 +259,7 @@ const Bn = {
259
259
  "is-disabled": r.value,
260
260
  [`abl-radio-${a.value}`]: a.value
261
261
  }));
262
- return (f, h) => (u(), p("div", {
262
+ return (f, p) => (u(), h("div", {
263
263
  class: O(["abl-radio", v.value]),
264
264
  onClick: d
265
265
  }, [
@@ -306,7 +306,7 @@ const Bn = {
306
306
  ...Be(n),
307
307
  changeEvent: s
308
308
  })
309
- ), (l, i) => (u(), p("div", On, [
309
+ ), (l, i) => (u(), h("div", On, [
310
310
  B(l.$slots, "default")
311
311
  ], 512));
312
312
  }
@@ -332,7 +332,7 @@ const Bn = {
332
332
  updataIndex: (s) => {
333
333
  n.value = s;
334
334
  }
335
- }), (s, l) => U((u(), p("div", {
335
+ }), (s, l) => U((u(), h("div", {
336
336
  "data-title": e.title,
337
337
  value: e.value,
338
338
  icon: e.icon
@@ -407,7 +407,7 @@ const Mn = { class: "message-text" }, Dn = {
407
407
  };
408
408
  return (l, i) => (u(), ee(oe, null, {
409
409
  default: K(() => [
410
- n.value ? (u(), p("div", {
410
+ n.value ? (u(), h("div", {
411
411
  key: 0,
412
412
  class: "abl-message",
413
413
  style: R(s[t.type])
@@ -418,7 +418,7 @@ const Mn = { class: "message-text" }, Dn = {
418
418
  }, null, 2),
419
419
  j(" " + N(e.text), 1)
420
420
  ]),
421
- t.showClose ? (u(), p("div", Dn, [
421
+ t.showClose ? (u(), h("div", Dn, [
422
422
  c("i", {
423
423
  class: "iconfont-abl icon-abl-close",
424
424
  onClick: o
@@ -519,7 +519,7 @@ const Fn = { class: "abl-drawer-content" }, Wn = { class: "abl-drawer-wrapper-bo
519
519
  }, [
520
520
  Z(oe, { name: "fade-popup" }, {
521
521
  default: K(() => [
522
- e.modelValue ? (u(), p("div", {
522
+ e.modelValue ? (u(), h("div", {
523
523
  key: 0,
524
524
  class: "abl-drawer-mask",
525
525
  onClick: r,
@@ -530,19 +530,19 @@ const Fn = { class: "abl-drawer-content" }, Wn = { class: "abl-drawer-wrapper-bo
530
530
  }),
531
531
  Z(oe, { name: i.value }, {
532
532
  default: K(() => [
533
- e.modelValue ? (u(), p("div", {
533
+ e.modelValue ? (u(), h("div", {
534
534
  key: 0,
535
535
  class: "abl-drawer-content-wrapper",
536
536
  style: R(l.value)
537
537
  }, [
538
538
  c("div", Fn, [
539
539
  c("div", Wn, [
540
- e.showHeader ? (u(), p("div", jn, [
540
+ e.showHeader ? (u(), h("div", jn, [
541
541
  B(d.$slots, "header", {}, () => [
542
542
  c("div", qn, [
543
543
  c("span", Un, N(e.title), 1)
544
544
  ]),
545
- e.showClose ? (u(), p("i", {
545
+ e.showClose ? (u(), h("i", {
546
546
  key: 0,
547
547
  class: "iconfont-abl icon-abl-close close-icon",
548
548
  onClick: a
@@ -552,7 +552,7 @@ const Fn = { class: "abl-drawer-content" }, Wn = { class: "abl-drawer-wrapper-bo
552
552
  c("div", Kn, [
553
553
  B(d.$slots, "default", {}, void 0, !0)
554
554
  ]),
555
- d.$slots.footer ? (u(), p("div", {
555
+ d.$slots.footer ? (u(), h("div", {
556
556
  key: 1,
557
557
  class: "abl-drawer-footer",
558
558
  style: R(e.footerStyle)
@@ -621,22 +621,22 @@ const Xn = {
621
621
  "is-circle": t.circle,
622
622
  "is-disabled": t.disabled
623
623
  }));
624
- return (o, s) => (u(), p("button", {
624
+ return (o, s) => (u(), h("button", {
625
625
  class: O(["abl-button", n.value])
626
626
  }, [
627
- e.loading ? (u(), p(H, { key: 0 }, [
628
- e.loading ? (u(), p("i", Xn)) : I("", !0),
627
+ e.loading ? (u(), h(H, { key: 0 }, [
628
+ e.loading ? (u(), h("i", Xn)) : I("", !0),
629
629
  c("span", null, N(e.loadingText), 1)
630
- ], 64)) : (u(), p(H, { key: 1 }, [
630
+ ], 64)) : (u(), h(H, { key: 1 }, [
631
631
  e.iconPosition === "left" ? B(o.$slots, "icon", { key: 0 }, () => [
632
- e.icon ? (u(), p("i", {
632
+ e.icon ? (u(), h("i", {
633
633
  key: 0,
634
634
  class: O(["iconfont-abl slot-icon-left", e.icon])
635
635
  }, null, 2)) : I("", !0)
636
636
  ]) : I("", !0),
637
637
  B(o.$slots, "default"),
638
638
  e.iconPosition === "right" ? B(o.$slots, "icon", { key: 1 }, () => [
639
- e.icon ? (u(), p("i", {
639
+ e.icon ? (u(), h("i", {
640
640
  key: 0,
641
641
  class: O(["iconfont-abl slot-icon-right", e.icon])
642
642
  }, null, 2)) : I("", !0)
@@ -686,20 +686,20 @@ const Qn = {
686
686
  if (!r.value) {
687
687
  let f = a.value;
688
688
  if (l.value) {
689
- const h = f.indexOf(n.label);
690
- h > -1 ? f.splice(h, 1) : f.push(n.label), f = [...f], s.changeEvent(f);
689
+ const p = f.indexOf(n.label);
690
+ p > -1 ? f.splice(p, 1) : f.push(n.label), f = [...f], s.changeEvent(f);
691
691
  } else
692
692
  o("update:modelValue", !f), o("change", !f);
693
693
  }
694
694
  };
695
- return (f, h) => (u(), p("div", {
695
+ return (f, p) => (u(), h("div", {
696
696
  class: O(["abl-checkbox", d.value]),
697
697
  onClick: v
698
698
  }, [
699
699
  c("span", {
700
700
  class: O(["abl-checkbox-input", d.value])
701
701
  }, [
702
- e.indeterminate ? (u(), p("i", Qn)) : (u(), p("i", eo))
702
+ e.indeterminate ? (u(), h("i", Qn)) : (u(), h("i", eo))
703
703
  ], 2),
704
704
  c("span", {
705
705
  class: O(["abl-checkbox-label", d.value])
@@ -734,7 +734,7 @@ const Qn = {
734
734
  ...Be(n),
735
735
  changeEvent: s
736
736
  })
737
- ), (l, i) => (u(), p("label", so, [
737
+ ), (l, i) => (u(), h("label", so, [
738
738
  B(l.$slots, "default")
739
739
  ]));
740
740
  }
@@ -794,7 +794,7 @@ const Qn = {
794
794
  return (a, d) => (u(), ee(He, { to: "body" }, [
795
795
  Z(oe, { name: "dialog-fade" }, {
796
796
  default: K(() => [
797
- e.modelValue ? (u(), p("div", {
797
+ e.modelValue ? (u(), h("div", {
798
798
  key: 0,
799
799
  class: O(["abl-dialog-overlay", r.value]),
800
800
  onClick: i
@@ -810,7 +810,7 @@ const Qn = {
810
810
  B(a.$slots, "header", {}, () => [
811
811
  c("header", io, [
812
812
  c("span", ro, N(e.title), 1),
813
- e.showClose ? (u(), p("i", {
813
+ e.showClose ? (u(), h("i", {
814
814
  key: 0,
815
815
  class: "iconfont-abl icon-abl-close close-icon",
816
816
  onClick: l
@@ -820,7 +820,7 @@ const Qn = {
820
820
  c("div", co, [
821
821
  B(a.$slots, "default")
822
822
  ]),
823
- a.$slots.footer ? (u(), p("div", uo, [
823
+ a.$slots.footer ? (u(), h("div", uo, [
824
824
  B(a.$slots, "footer")
825
825
  ])) : I("", !0)
826
826
  ], 38)
@@ -932,48 +932,48 @@ function ft(e, t, n) {
932
932
  reference: o,
933
933
  floating: s
934
934
  } = e;
935
- const l = Fe(t), i = lt(t), r = st(i), a = ye(t), d = l === "y", v = o.x + o.width / 2 - s.width / 2, f = o.y + o.height / 2 - s.height / 2, h = o[r] / 2 - s[r] / 2;
936
- let m;
935
+ const l = Fe(t), i = lt(t), r = st(i), a = ye(t), d = l === "y", v = o.x + o.width / 2 - s.width / 2, f = o.y + o.height / 2 - s.height / 2, p = o[r] / 2 - s[r] / 2;
936
+ let g;
937
937
  switch (a) {
938
938
  case "top":
939
- m = {
939
+ g = {
940
940
  x: v,
941
941
  y: o.y - s.height
942
942
  };
943
943
  break;
944
944
  case "bottom":
945
- m = {
945
+ g = {
946
946
  x: v,
947
947
  y: o.y + o.height
948
948
  };
949
949
  break;
950
950
  case "right":
951
- m = {
951
+ g = {
952
952
  x: o.x + o.width,
953
953
  y: f
954
954
  };
955
955
  break;
956
956
  case "left":
957
- m = {
957
+ g = {
958
958
  x: o.x - s.width,
959
959
  y: f
960
960
  };
961
961
  break;
962
962
  default:
963
- m = {
963
+ g = {
964
964
  x: o.x,
965
965
  y: o.y
966
966
  };
967
967
  }
968
968
  switch (Re(t)) {
969
969
  case "start":
970
- m[i] -= h * (n && d ? -1 : 1);
970
+ g[i] -= p * (n && d ? -1 : 1);
971
971
  break;
972
972
  case "end":
973
- m[i] += h * (n && d ? -1 : 1);
973
+ g[i] += p * (n && d ? -1 : 1);
974
974
  break;
975
975
  }
976
- return m;
976
+ return g;
977
977
  }
978
978
  const wo = async (e, t, n) => {
979
979
  const {
@@ -989,7 +989,7 @@ const wo = async (e, t, n) => {
989
989
  }), {
990
990
  x: v,
991
991
  y: f
992
- } = ft(d, o, a), h = o, m = {}, y = 0;
992
+ } = ft(d, o, a), p = o, g = {}, y = 0;
993
993
  for (let _ = 0; _ < r.length; _++) {
994
994
  const {
995
995
  name: S,
@@ -1003,9 +1003,9 @@ const wo = async (e, t, n) => {
1003
1003
  x: v,
1004
1004
  y: f,
1005
1005
  initialPlacement: o,
1006
- placement: h,
1006
+ placement: p,
1007
1007
  strategy: s,
1008
- middlewareData: m,
1008
+ middlewareData: g,
1009
1009
  rects: d,
1010
1010
  platform: i,
1011
1011
  elements: {
@@ -1013,27 +1013,27 @@ const wo = async (e, t, n) => {
1013
1013
  floating: t
1014
1014
  }
1015
1015
  });
1016
- v = b ?? v, f = A ?? f, m = {
1017
- ...m,
1016
+ v = b ?? v, f = A ?? f, g = {
1017
+ ...g,
1018
1018
  [S]: {
1019
- ...m[S],
1019
+ ...g[S],
1020
1020
  ...C
1021
1021
  }
1022
- }, k && y <= 50 && (y++, typeof k == "object" && (k.placement && (h = k.placement), k.rects && (d = k.rects === !0 ? await i.getElementRects({
1022
+ }, k && y <= 50 && (y++, typeof k == "object" && (k.placement && (p = k.placement), k.rects && (d = k.rects === !0 ? await i.getElementRects({
1023
1023
  reference: e,
1024
1024
  floating: t,
1025
1025
  strategy: s
1026
1026
  }) : k.rects), {
1027
1027
  x: v,
1028
1028
  y: f
1029
- } = ft(d, h, a)), _ = -1);
1029
+ } = ft(d, p, a)), _ = -1);
1030
1030
  }
1031
1031
  return {
1032
1032
  x: v,
1033
1033
  y: f,
1034
- placement: h,
1034
+ placement: p,
1035
1035
  strategy: s,
1036
- middlewareData: m
1036
+ middlewareData: g
1037
1037
  };
1038
1038
  };
1039
1039
  async function Lt(e, t) {
@@ -1050,9 +1050,9 @@ async function Lt(e, t) {
1050
1050
  boundary: d = "clippingAncestors",
1051
1051
  rootBoundary: v = "viewport",
1052
1052
  elementContext: f = "floating",
1053
- altBoundary: h = !1,
1054
- padding: m = 0
1055
- } = Oe(t, e), y = Ct(m), S = r[h ? f === "floating" ? "reference" : "floating" : f], w = De(await l.getClippingRect({
1053
+ altBoundary: p = !1,
1054
+ padding: g = 0
1055
+ } = Oe(t, e), y = Ct(g), S = r[p ? f === "floating" ? "reference" : "floating" : f], w = De(await l.getClippingRect({
1056
1056
  element: (n = await (l.isElement == null ? void 0 : l.isElement(S))) == null || n ? S : S.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(r.floating)),
1057
1057
  boundary: d,
1058
1058
  rootBoundary: v,
@@ -1098,17 +1098,17 @@ const xo = (e) => ({
1098
1098
  } = Oe(e, t) || {};
1099
1099
  if (d == null)
1100
1100
  return {};
1101
- const f = Ct(v), h = {
1101
+ const f = Ct(v), p = {
1102
1102
  x: n,
1103
1103
  y: o
1104
- }, m = lt(s), y = st(m), _ = await i.getDimensions(d), S = m === "y", w = S ? "top" : "left", b = S ? "bottom" : "right", A = S ? "clientHeight" : "clientWidth", C = l.reference[y] + l.reference[m] - h[m] - l.floating[y], k = h[m] - l.reference[m], g = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
1105
- let $ = g ? g[A] : 0;
1106
- (!$ || !await (i.isElement == null ? void 0 : i.isElement(g))) && ($ = r.floating[A] || l.floating[y]);
1104
+ }, g = lt(s), y = st(g), _ = await i.getDimensions(d), S = g === "y", w = S ? "top" : "left", b = S ? "bottom" : "right", A = S ? "clientHeight" : "clientWidth", C = l.reference[y] + l.reference[g] - p[g] - l.floating[y], k = p[g] - l.reference[g], m = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
1105
+ let $ = m ? m[A] : 0;
1106
+ (!$ || !await (i.isElement == null ? void 0 : i.isElement(m))) && ($ = r.floating[A] || l.floating[y]);
1107
1107
  const V = C / 2 - k / 2, F = $ / 2 - _[y] / 2 - 1, E = ke(f[w], F), z = ke(f[b], F), L = E, M = $ - _[y] - z, D = $ / 2 - _[y] / 2 + V, W = Je(L, D, M), X = !a.arrow && Re(s) != null && D !== W && l.reference[y] / 2 - (D < L ? E : z) - _[y] / 2 < 0, J = X ? D < L ? D - L : D - M : 0;
1108
1108
  return {
1109
- [m]: h[m] + J,
1109
+ [g]: p[g] + J,
1110
1110
  data: {
1111
- [m]: W,
1111
+ [g]: W,
1112
1112
  centerOffset: D - W - J,
1113
1113
  ...X && {
1114
1114
  alignmentOffset: J
@@ -1133,21 +1133,21 @@ const xo = (e) => ({
1133
1133
  } = t, {
1134
1134
  mainAxis: v = !0,
1135
1135
  crossAxis: f = !0,
1136
- fallbackPlacements: h,
1137
- fallbackStrategy: m = "bestFit",
1136
+ fallbackPlacements: p,
1137
+ fallbackStrategy: g = "bestFit",
1138
1138
  fallbackAxisSideDirection: y = "none",
1139
1139
  flipAlignment: _ = !0,
1140
1140
  ...S
1141
1141
  } = Oe(e, t);
1142
1142
  if ((n = l.arrow) != null && n.alignmentOffset)
1143
1143
  return {};
1144
- const w = ye(s), b = ye(r) === r, A = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), C = h || (b || !_ ? [Me(r)] : go(r));
1145
- !h && y !== "none" && C.push(...bo(r, _, y, A));
1146
- const k = [r, ...C], g = await Lt(t, S), $ = [];
1144
+ const w = ye(s), b = ye(r) === r, A = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), C = p || (b || !_ ? [Me(r)] : go(r));
1145
+ !p && y !== "none" && C.push(...bo(r, _, y, A));
1146
+ const k = [r, ...C], m = await Lt(t, S), $ = [];
1147
1147
  let V = ((o = l.flip) == null ? void 0 : o.overflows) || [];
1148
- if (v && $.push(g[w]), f) {
1148
+ if (v && $.push(m[w]), f) {
1149
1149
  const L = mo(s, i, A);
1150
- $.push(g[L[0]], g[L[1]]);
1150
+ $.push(m[L[0]], m[L[1]]);
1151
1151
  }
1152
1152
  if (V = [...V, {
1153
1153
  placement: s,
@@ -1167,7 +1167,7 @@ const xo = (e) => ({
1167
1167
  };
1168
1168
  let D = (E = V.filter((W) => W.overflows[0] <= 0).sort((W, X) => W.overflows[1] - X.overflows[1])[0]) == null ? void 0 : E.placement;
1169
1169
  if (!D)
1170
- switch (m) {
1170
+ switch (g) {
1171
1171
  case "bestFit": {
1172
1172
  var z;
1173
1173
  const W = (z = V.map((X) => [X.placement, X.overflows.filter((J) => J > 0).reduce((J, pe) => J + pe, 0)]).sort((X, J) => X[1] - J[1])[0]) == null ? void 0 : z[0];
@@ -1196,8 +1196,8 @@ async function ko(e, t) {
1196
1196
  elements: s
1197
1197
  } = e, l = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), i = ye(n), r = Re(n), a = Fe(n) === "y", d = ["left", "top"].includes(i) ? -1 : 1, v = l && a ? -1 : 1, f = Oe(t, e);
1198
1198
  let {
1199
- mainAxis: h,
1200
- crossAxis: m,
1199
+ mainAxis: p,
1200
+ crossAxis: g,
1201
1201
  alignmentAxis: y
1202
1202
  } = typeof f == "number" ? {
1203
1203
  mainAxis: f,
@@ -1209,12 +1209,12 @@ async function ko(e, t) {
1209
1209
  alignmentAxis: null,
1210
1210
  ...f
1211
1211
  };
1212
- return r && typeof y == "number" && (m = r === "end" ? y * -1 : y), a ? {
1213
- x: m * v,
1214
- y: h * d
1212
+ return r && typeof y == "number" && (g = r === "end" ? y * -1 : y), a ? {
1213
+ x: g * v,
1214
+ y: p * d
1215
1215
  } : {
1216
- x: h * d,
1217
- y: m * v
1216
+ x: p * d,
1217
+ y: g * v
1218
1218
  };
1219
1219
  }
1220
1220
  const So = function(e) {
@@ -1267,11 +1267,11 @@ const So = function(e) {
1267
1267
  } = Oe(e, t), d = {
1268
1268
  x: n,
1269
1269
  y: o
1270
- }, v = await Lt(t, a), f = Fe(ye(s)), h = St(f);
1271
- let m = d[h], y = d[f];
1270
+ }, v = await Lt(t, a), f = Fe(ye(s)), p = St(f);
1271
+ let g = d[p], y = d[f];
1272
1272
  if (l) {
1273
- const S = h === "y" ? "top" : "left", w = h === "y" ? "bottom" : "right", b = m + v[S], A = m - v[w];
1274
- m = Je(b, m, A);
1273
+ const S = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", b = g + v[S], A = g - v[w];
1274
+ g = Je(b, g, A);
1275
1275
  }
1276
1276
  if (i) {
1277
1277
  const S = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", b = y + v[S], A = y - v[w];
@@ -1279,7 +1279,7 @@ const So = function(e) {
1279
1279
  }
1280
1280
  const _ = r.fn({
1281
1281
  ...t,
1282
- [h]: m,
1282
+ [p]: g,
1283
1283
  [f]: y
1284
1284
  });
1285
1285
  return {
@@ -1427,9 +1427,9 @@ function be(e, t, n, o) {
1427
1427
  const r = zo(l, n, o) ? Bt(l) : de(0);
1428
1428
  let a = (s.left + r.x) / i.x, d = (s.top + r.y) / i.y, v = s.width / i.x, f = s.height / i.y;
1429
1429
  if (l) {
1430
- const h = Q(l), m = o && ae(o) ? Q(o) : o;
1431
- let y = h, _ = y.frameElement;
1432
- for (; _ && o && m !== y; ) {
1430
+ const p = Q(l), g = o && ae(o) ? Q(o) : o;
1431
+ let y = p, _ = y.frameElement;
1432
+ for (; _ && o && g !== y; ) {
1433
1433
  const S = xe(_), w = _.getBoundingClientRect(), b = te(_), A = w.left + (_.clientLeft + parseFloat(b.paddingLeft)) * S.x, C = w.top + (_.clientTop + parseFloat(b.paddingTop)) * S.y;
1434
1434
  a *= S.x, d *= S.y, v *= S.x, f *= S.y, a += A, d += C, y = Q(_), _ = y.frameElement;
1435
1435
  }
@@ -1467,8 +1467,8 @@ function Io(e) {
1467
1467
  }, d = de(1);
1468
1468
  const v = de(0), f = se(o);
1469
1469
  if ((f || !f && !l) && ((ue(o) !== "body" || Ve(i)) && (a = je(o)), se(o))) {
1470
- const h = be(o);
1471
- d = xe(o), v.x = h.x + o.clientLeft, v.y = h.y + o.clientTop;
1470
+ const p = be(o);
1471
+ d = xe(o), v.x = p.x + o.clientLeft, v.y = p.y + o.clientTop;
1472
1472
  }
1473
1473
  return {
1474
1474
  width: n.width * d.x,
@@ -1653,21 +1653,21 @@ function jo(e, t) {
1653
1653
  left: d,
1654
1654
  top: v,
1655
1655
  width: f,
1656
- height: h
1656
+ height: p
1657
1657
  } = e.getBoundingClientRect();
1658
- if (r || t(), !f || !h)
1658
+ if (r || t(), !f || !p)
1659
1659
  return;
1660
- const m = Te(v), y = Te(s.clientWidth - (d + f)), _ = Te(s.clientHeight - (v + h)), S = Te(d), b = {
1661
- rootMargin: -m + "px " + -y + "px " + -_ + "px " + -S + "px",
1660
+ const g = Te(v), y = Te(s.clientWidth - (d + f)), _ = Te(s.clientHeight - (v + p)), S = Te(d), b = {
1661
+ rootMargin: -g + "px " + -y + "px " + -_ + "px " + -S + "px",
1662
1662
  threshold: ge(0, ke(1, a)) || 1
1663
1663
  };
1664
1664
  let A = !0;
1665
1665
  function C(k) {
1666
- const g = k[0].intersectionRatio;
1667
- if (g !== a) {
1666
+ const m = k[0].intersectionRatio;
1667
+ if (m !== a) {
1668
1668
  if (!A)
1669
1669
  return i();
1670
- g ? i(!1, g) : o = setTimeout(() => {
1670
+ m ? i(!1, m) : o = setTimeout(() => {
1671
1671
  i(!1, 1e-7);
1672
1672
  }, 100);
1673
1673
  }
@@ -1701,14 +1701,14 @@ function qo(e, t, n, o) {
1701
1701
  }), l && w.addEventListener("resize", n);
1702
1702
  });
1703
1703
  const f = d && r ? jo(d, n) : null;
1704
- let h = -1, m = null;
1705
- i && (m = new ResizeObserver((w) => {
1704
+ let p = -1, g = null;
1705
+ i && (g = new ResizeObserver((w) => {
1706
1706
  let [b] = w;
1707
- b && b.target === d && m && (m.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1707
+ b && b.target === d && g && (g.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
1708
1708
  var A;
1709
- (A = m) == null || A.observe(t);
1709
+ (A = g) == null || A.observe(t);
1710
1710
  })), n();
1711
- }), d && !a && m.observe(d), m.observe(t));
1711
+ }), d && !a && g.observe(d), g.observe(t));
1712
1712
  let y, _ = a ? be(e) : null;
1713
1713
  a && S();
1714
1714
  function S() {
@@ -1719,7 +1719,7 @@ function qo(e, t, n, o) {
1719
1719
  var w;
1720
1720
  v.forEach((b) => {
1721
1721
  s && b.removeEventListener("scroll", n), l && b.removeEventListener("resize", n);
1722
- }), f == null || f(), (w = m) == null || w.disconnect(), m = null, a && cancelAnimationFrame(y);
1722
+ }), f == null || f(), (w = g) == null || w.disconnect(), g = null, a && cancelAnimationFrame(y);
1723
1723
  };
1724
1724
  }
1725
1725
  const Uo = Co, Ko = $o, Go = xo, mt = (e, t, n) => {
@@ -1750,10 +1750,10 @@ const Uo = Co, Ko = $o, Go = xo, mt = (e, t, n) => {
1750
1750
  middleware: ne(e),
1751
1751
  placement: ne(t),
1752
1752
  strategy: ne(n)
1753
- }).then(({ x: h, y: m }) => {
1753
+ }).then(({ x: p, y: g }) => {
1754
1754
  s.value && Object.assign(s.value.style, {
1755
- left: `${h}px`,
1756
- top: `${m}px`
1755
+ left: `${p}px`,
1756
+ top: `${g}px`
1757
1757
  });
1758
1758
  });
1759
1759
  }, f = await mt(o.value, s.value, {
@@ -1761,8 +1761,8 @@ const Uo = Co, Ko = $o, Go = xo, mt = (e, t, n) => {
1761
1761
  placement: ne(t),
1762
1762
  strategy: ne(n)
1763
1763
  });
1764
- qo(o.value, s.value, v), Object.keys(a).forEach((h) => {
1765
- a[h].value = f[h];
1764
+ qo(o.value, s.value, v), Object.keys(a).forEach((p) => {
1765
+ a[p].value = f[p];
1766
1766
  });
1767
1767
  }
1768
1768
  return _e(() => {
@@ -1822,28 +1822,30 @@ const Jo = ["data-side"], Tt = /* @__PURE__ */ Pe({
1822
1822
  },
1823
1823
  setup(e, { expose: t }) {
1824
1824
  const n = e, o = x(), s = T(() => {
1825
- const g = [Uo(), Ko(), So(10)];
1826
- return n.showArrow && g.push(Go({ element: o.value })), g;
1825
+ const m = [Uo(), Ko(), So(10)];
1826
+ return n.showArrow && m.push(Go({ element: o.value })), m;
1827
1827
  }), l = x(n.placement), i = x(n.strategy), r = x(n.hover), {
1828
1828
  visible: a,
1829
1829
  open: d,
1830
1830
  close: v
1831
1831
  } = Xo({ hover: r }), f = x(
1832
- (g) => {
1833
- h.value = g && g.nextElementSibling || null;
1832
+ (m) => {
1833
+ p.value = m && m.nextElementSibling || null;
1834
1834
  }
1835
- ), h = x();
1835
+ ), p = x();
1836
1836
  _e(() => {
1837
- h.value && (h.value.addEventListener("click", m), r.value && (h.value.addEventListener("mouseover", function() {
1837
+ f.value = (m) => {
1838
+ p.value = m && m.nextElementSibling || null;
1839
+ }, console.log(p.value), p.value && (p.value.addEventListener("click", g), r.value && (p.value.addEventListener("mouseover", function() {
1838
1840
  d();
1839
- }), h.value.addEventListener("mouseout", function() {
1841
+ }), p.value.addEventListener("mouseout", function() {
1840
1842
  v();
1841
1843
  })));
1842
1844
  }), $t(() => {
1843
- h.value.removeEventListener("click", m);
1845
+ p.value.removeEventListener("click", g);
1844
1846
  });
1845
- const m = (g) => {
1846
- g.stopPropagation(), d(), setTimeout(() => {
1847
+ const g = (m) => {
1848
+ console.log(m), m.stopPropagation(), d(), setTimeout(() => {
1847
1849
  document.addEventListener("mousedown", y, { once: !0 });
1848
1850
  });
1849
1851
  }, y = () => {
@@ -1853,24 +1855,24 @@ const Jo = ["data-side"], Tt = /* @__PURE__ */ Pe({
1853
1855
  y: S,
1854
1856
  contentRef: w,
1855
1857
  middlewareData: b
1856
- } = Yo({ middleware: s, placement: l, strategy: i }, h), A = T(() => l.value.split("-")[0]), C = T(() => ({ left: _.value + "px", top: S.value + "px" })), k = T(() => {
1858
+ } = Yo({ middleware: s, placement: l, strategy: i }, p), A = T(() => l.value.split("-")[0]), C = T(() => ({ left: _.value + "px", top: S.value + "px" })), k = T(() => {
1857
1859
  if (!n.showArrow)
1858
1860
  return {};
1859
- const { arrow: g } = ne(b);
1861
+ const { arrow: m } = ne(b);
1860
1862
  return {
1861
- left: (g == null ? void 0 : g.x) + "px",
1862
- top: (g == null ? void 0 : g.y) + "px"
1863
+ left: (m == null ? void 0 : m.x) + "px",
1864
+ top: (m == null ? void 0 : m.y) + "px"
1863
1865
  };
1864
1866
  });
1865
1867
  return t({
1866
1868
  open: d,
1867
1869
  close: v
1868
- }), (g, $) => (u(), p(H, null, [
1869
- (u(), ee(qt(g.$slots.default), $e({ ref: f.value }, g.$attrs), null, 16)),
1870
+ }), (m, $) => (u(), h(H, null, [
1871
+ (u(), ee(qt(m.$slots.default), $e({ ref: f.value }, m.$attrs), null, 16)),
1870
1872
  (u(), ee(He, { to: "body" }, [
1871
1873
  Z(oe, { name: e.transitionName }, {
1872
1874
  default: K(() => [
1873
- ne(a) ? (u(), p("div", {
1875
+ ne(a) ? (u(), h("div", {
1874
1876
  key: 0,
1875
1877
  ref_key: "contentRef",
1876
1878
  ref: w,
@@ -1880,10 +1882,10 @@ const Jo = ["data-side"], Tt = /* @__PURE__ */ Pe({
1880
1882
  onMousedown: $[0] || ($[0] = P(() => {
1881
1883
  }, ["stop"]))
1882
1884
  }, [
1883
- B(g.$slots, "content", {}, () => [
1885
+ B(m.$slots, "content", {}, () => [
1884
1886
  j(N(e.content), 1)
1885
1887
  ]),
1886
- e.showArrow ? (u(), p("span", {
1888
+ e.showArrow ? (u(), h("span", {
1887
1889
  key: 0,
1888
1890
  ref_key: "arrowRef",
1889
1891
  ref: o,
@@ -2003,18 +2005,18 @@ const Zo = ["innerHTML"], Nt = /* @__PURE__ */ Pe({
2003
2005
  }
2004
2006
  });
2005
2007
  })();
2006
- function h() {
2008
+ function p() {
2007
2009
  r.value.update();
2008
2010
  }
2009
- function m() {
2011
+ function g() {
2010
2012
  r.value.onOpen();
2011
2013
  }
2012
2014
  function y() {
2013
2015
  r.value.close();
2014
2016
  }
2015
2017
  return t({
2016
- update: h,
2017
- open: m,
2018
+ update: p,
2019
+ open: g,
2018
2020
  close: y
2019
2021
  }), (_, S) => (u(), ee(Tt, $e({
2020
2022
  ref_key: "popperRef",
@@ -2022,10 +2024,10 @@ const Zo = ["innerHTML"], Nt = /* @__PURE__ */ Pe({
2022
2024
  }, d.value, { nowrap: ne(f) }), {
2023
2025
  content: K(() => [
2024
2026
  B(_.$slots, "content", {}, () => [
2025
- e.rawContent ? (u(), p("span", {
2027
+ e.rawContent ? (u(), h("span", {
2026
2028
  key: 0,
2027
2029
  innerHTML: e.content
2028
- }, null, 8, Zo)) : (u(), p(H, { key: 1 }, [
2030
+ }, null, 8, Zo)) : (u(), h(H, { key: 1 }, [
2029
2031
  j(N(e.content), 1)
2030
2032
  ], 64))
2031
2033
  ])
@@ -2090,42 +2092,42 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2090
2092
  const n = e, o = x(n.modelValue), s = x();
2091
2093
  me(
2092
2094
  () => n.modelValue,
2093
- (h) => {
2094
- o.value = h;
2095
+ (p) => {
2096
+ o.value = p;
2095
2097
  }
2096
2098
  );
2097
- const l = t, i = (h) => {
2098
- s.value = null, h !== n.modelValue ? (l("change", h), l("update:modelValue", h)) : n.allowClear ? (s.value = h, l("change", 0), l("update:modelValue", 0)) : l("change", h);
2099
- }, r = (h) => {
2100
- o.value = h, l("hoverChange", h);
2101
- }, a = (h) => {
2102
- o.value = h, l("hoverChange", h);
2099
+ const l = t, i = (p) => {
2100
+ s.value = null, p !== n.modelValue ? (l("change", p), l("update:modelValue", p)) : n.allowClear ? (s.value = p, l("change", 0), l("update:modelValue", 0)) : l("change", p);
2101
+ }, r = (p) => {
2102
+ o.value = p, l("hoverChange", p);
2103
+ }, a = (p) => {
2104
+ o.value = p, l("hoverChange", p);
2103
2105
  }, d = () => {
2104
2106
  s.value = null;
2105
2107
  }, v = () => {
2106
2108
  o.value = n.modelValue;
2107
- }, f = (h) => {
2108
- h.preventDefault();
2109
+ }, f = (p) => {
2110
+ p.preventDefault();
2109
2111
  };
2110
- return (h, m) => (u(), p("div", {
2112
+ return (p, g) => (u(), h("div", {
2111
2113
  class: O(["abl-rate", { disabled: e.readonly }]),
2112
2114
  style: R(`--color: ${e.color};`),
2113
2115
  onMouseleave: v
2114
2116
  }, [
2115
- (u(!0), p(H, null, G(e.count, (y) => (u(), p("div", {
2117
+ (u(!0), h(H, null, G(e.count, (y) => (u(), h("div", {
2116
2118
  class: O(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && o.value >= y - 0.5 && o.value < y, "abl-rate-star-full": o.value >= y, "temp-gray": !e.allowHalf && s.value === y }]),
2117
2119
  style: R(`margin-right: ${y !== e.count ? e.gap : 0}px;`),
2118
2120
  onClick: (_) => e.allowHalf ? f(_) : i(y),
2119
2121
  key: y
2120
2122
  }, [
2121
- e.allowHalf ? (u(), p("div", {
2123
+ e.allowHalf ? (u(), h("div", {
2122
2124
  key: 0,
2123
2125
  class: O(["abl-rate-star-first", { "temp-gray-first": s.value === y - 0.5 }]),
2124
2126
  onClick: P((_) => i(y - 0.5), ["stop"]),
2125
2127
  onMouseenter: (_) => r(y - 0.5),
2126
2128
  onMouseleave: d
2127
2129
  }, [
2128
- e.character === "star-filled" ? (u(), p("svg", {
2130
+ e.character === "star-filled" ? (u(), h("svg", {
2129
2131
  key: 0,
2130
2132
  class: "action-star",
2131
2133
  style: R(`width: ${e.size}px;`),
@@ -2133,7 +2135,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2133
2135
  "data-icon": "star",
2134
2136
  "aria-hidden": "true",
2135
2137
  viewBox: "64 64 896 896"
2136
- }, ns, 4)) : e.character === "star-outlined" ? (u(), p("svg", {
2138
+ }, ns, 4)) : e.character === "star-outlined" ? (u(), h("svg", {
2137
2139
  key: 1,
2138
2140
  class: "action-star",
2139
2141
  style: R(`width: ${e.size}px;`),
@@ -2141,12 +2143,12 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2141
2143
  "data-icon": "star",
2142
2144
  "aria-hidden": "true",
2143
2145
  viewBox: "64 64 896 896"
2144
- }, ss, 4)) : (u(), p("span", {
2146
+ }, ss, 4)) : (u(), h("span", {
2145
2147
  key: 2,
2146
2148
  class: "action-star",
2147
2149
  style: R(`font-size: ${0.66 * e.size}px; height: ${e.size}px;`)
2148
2150
  }, [
2149
- B(h.$slots, "character", {}, () => [
2151
+ B(p.$slots, "character", {}, () => [
2150
2152
  j(N(e.character), 1)
2151
2153
  ], !0)
2152
2154
  ], 4))
@@ -2157,7 +2159,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2157
2159
  onMouseenter: (_) => a(y),
2158
2160
  onMouseleave: d
2159
2161
  }, [
2160
- e.character === "star-filled" ? (u(), p("svg", {
2162
+ e.character === "star-filled" ? (u(), h("svg", {
2161
2163
  key: 0,
2162
2164
  class: "action-star",
2163
2165
  style: R(`width: ${e.size}px;`),
@@ -2165,7 +2167,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2165
2167
  "data-icon": "star",
2166
2168
  "aria-hidden": "true",
2167
2169
  viewBox: "64 64 896 896"
2168
- }, is, 4)) : e.character === "star-outlined" ? (u(), p("svg", {
2170
+ }, is, 4)) : e.character === "star-outlined" ? (u(), h("svg", {
2169
2171
  key: 1,
2170
2172
  class: "action-star",
2171
2173
  style: R(`width: ${e.size}px;`),
@@ -2173,12 +2175,12 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2173
2175
  "data-icon": "star",
2174
2176
  "aria-hidden": "true",
2175
2177
  viewBox: "64 64 896 896"
2176
- }, cs, 4)) : (u(), p("span", {
2178
+ }, cs, 4)) : (u(), h("span", {
2177
2179
  key: 2,
2178
2180
  class: "action-star",
2179
2181
  style: R(`font-size: ${0.66 * e.size}px; height: ${e.size}px;`)
2180
2182
  }, [
2181
- B(h.$slots, "character", {}, () => [
2183
+ B(p.$slots, "character", {}, () => [
2182
2184
  j(N(e.character), 1)
2183
2185
  ], !0)
2184
2186
  ], 4))
@@ -2205,7 +2207,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), Qo = ["onClick"], e
2205
2207
  ...Be(n),
2206
2208
  changeEvent: s
2207
2209
  })
2208
- ), (l, i) => (u(), p("div", fs, [
2210
+ ), (l, i) => (u(), h("div", fs, [
2209
2211
  B(l.$slots, "default")
2210
2212
  ]));
2211
2213
  }
@@ -2272,7 +2274,7 @@ const hs = (e) => (ie("data-v-0789818d"), e = e(), re(), e), vs = { class: "abl-
2272
2274
  a.style.transition = "", a.style.height = "", a.style.overflow = a.dataset.oldOverflow, a.style.paddingTop = a.dataset.oldPaddingTop, a.style.paddingBottom = a.dataset.oldPaddingBottom;
2273
2275
  }
2274
2276
  };
2275
- return (a, d) => (u(), p("div", {
2277
+ return (a, d) => (u(), h("div", {
2276
2278
  class: O(["abl-collapse-item", { "abl-collapse-item-active": i.value }])
2277
2279
  }, [
2278
2280
  c("div", {
@@ -2284,7 +2286,7 @@ const hs = (e) => (ie("data-v-0789818d"), e = e(), re(), e), vs = { class: "abl-
2284
2286
  j(N(e.title), 1)
2285
2287
  ], !0)
2286
2288
  ]),
2287
- e.showArrow ? (u(), p("svg", ms, ys)) : I("", !0)
2289
+ e.showArrow ? (u(), h("svg", ms, ys)) : I("", !0)
2288
2290
  ]),
2289
2291
  Z(oe, Gt(Yt(r)), {
2290
2292
  default: K(() => [
@@ -2341,7 +2343,7 @@ const ws = { class: "abl-progress-text" }, $s = {
2341
2343
  },
2342
2344
  setup(e) {
2343
2345
  const t = e, n = T(() => typeof t.width == "number" ? t.width + "px" : t.width), o = T(() => typeof t.strokeColor == "string" ? t.strokeColor : `linear-gradient(to ${t.strokeColor.direction || "right"}, ${t.strokeColor["0%"] || t.strokeColor.from}, ${t.strokeColor["100%"] || t.strokeColor.to})`), s = T(() => t.format(`${t.percent > 100 ? 100 : t.percent}`));
2344
- return (l, i) => (u(), p("div", {
2346
+ return (l, i) => (u(), h("div", {
2345
2347
  class: "abl-progress-line",
2346
2348
  style: R(`width: ${n.value};`)
2347
2349
  }, [
@@ -2411,28 +2413,28 @@ const Ss = (e) => (ie("data-v-c42571fb"), e = e(), re(), e), Cs = { class: "abl-
2411
2413
  }
2412
2414
  },
2413
2415
  setup(e) {
2414
- return (t, n) => (u(), p("div", Cs, [
2415
- t.$slots.title || e.title ? (u(), p("div", Ls, [
2416
+ return (t, n) => (u(), h("div", Cs, [
2417
+ t.$slots.title || e.title ? (u(), h("div", Ls, [
2416
2418
  B(t.$slots, "title", {}, () => [
2417
2419
  j(N(e.title), 1)
2418
2420
  ], !0),
2419
- t.$slots.label || e.label ? (u(), p("div", As, [
2421
+ t.$slots.label || e.label ? (u(), h("div", As, [
2420
2422
  B(t.$slots, "label", {}, () => [
2421
2423
  j(N(e.label), 1)
2422
2424
  ], !0)
2423
2425
  ])) : I("", !0)
2424
2426
  ])) : I("", !0),
2425
- t.$slots.value || e.value ? (u(), p("div", Es, [
2427
+ t.$slots.value || e.value ? (u(), h("div", Es, [
2426
2428
  B(t.$slots, "value", {}, () => [
2427
2429
  j(N(e.value), 1)
2428
2430
  ], !0)
2429
2431
  ])) : I("", !0),
2430
- t.$slots.extra || e.extra ? (u(), p("div", zs, [
2432
+ t.$slots.extra || e.extra ? (u(), h("div", zs, [
2431
2433
  B(t.$slots, "extra", {}, () => [
2432
2434
  j(N(e.extra), 1)
2433
2435
  ], !0)
2434
2436
  ])) : I("", !0),
2435
- e.isLink ? (u(), p("div", Bs, [
2437
+ e.isLink ? (u(), h("div", Bs, [
2436
2438
  B(t.$slots, "arrow", {}, () => [
2437
2439
  Is
2438
2440
  ], !0)
@@ -2562,7 +2564,7 @@ const Rs = /* @__PURE__ */ c("div", {
2562
2564
  },
2563
2565
  emits: ["close"],
2564
2566
  setup(e, { emit: t }) {
2565
- const n = typeof window < "u" && typeof document < "u", o = e, s = T(() => o.previewSrcList.length), l = x(Array(s.value).fill(!1)), i = x(o.initialIndex), r = x(1), a = x(0), d = x(0), v = x(0), f = x(0), h = x(0), m = t, y = (E, z) => {
2567
+ const n = typeof window < "u" && typeof document < "u", o = e, s = T(() => o.previewSrcList.length), l = x(Array(s.value).fill(!1)), i = x(o.initialIndex), r = x(1), a = x(0), d = x(0), v = x(0), f = x(0), p = x(0), g = t, y = (E, z) => {
2566
2568
  let L, M;
2567
2569
  try {
2568
2570
  L = E.toString().split(".")[1].length;
@@ -2587,11 +2589,11 @@ const Rs = /* @__PURE__ */ c("div", {
2587
2589
  }, A = () => {
2588
2590
  r.value - o.zoomRate < o.minScale ? r.value = o.minScale : r.value = y(r.value, -o.zoomRate);
2589
2591
  }, C = () => {
2590
- h.value -= 90;
2592
+ p.value -= 90;
2591
2593
  }, k = () => {
2592
- h.value += 90;
2593
- }, g = () => {
2594
- h.value = 0, r.value = 1, v.value = 0, f.value = 0;
2594
+ p.value += 90;
2595
+ }, m = () => {
2596
+ p.value = 0, r.value = 1, v.value = 0, f.value = 0;
2595
2597
  }, $ = (E) => {
2596
2598
  console.log("e====", E);
2597
2599
  const z = E.target, { top: L, left: M, right: D, bottom: W } = z.getBoundingClientRect(), X = document.documentElement.clientWidth, J = document.documentElement.clientHeight;
@@ -2606,7 +2608,7 @@ const Rs = /* @__PURE__ */ c("div", {
2606
2608
  const z = E.deltaY * o.zoomRate * 0.1;
2607
2609
  r.value === o.minScale && z > 0 || r.value === o.maxScale && z < 0 || (r.value - z < o.minScale ? r.value = o.minScale : r.value - z > o.maxScale ? r.value = o.maxScale : r.value = y(r.value, -z));
2608
2610
  }, F = () => {
2609
- m("close");
2611
+ g("close");
2610
2612
  };
2611
2613
  return Ce(() => {
2612
2614
  n && (o.modelValue ? (document.body.style.overflow = "hidden", document.body.style.touchAction = "none") : (document.body.style.overflow = "", document.body.style.touchAction = ""));
@@ -2631,28 +2633,28 @@ const Rs = /* @__PURE__ */ c("div", {
2631
2633
  class: "abl-image-preview",
2632
2634
  style: R(`transform: translate3d(${v.value}px, ${f.value}px, 0px);`)
2633
2635
  }, [
2634
- (u(!0), p(H, null, G(e.previewSrcList, (L, M) => U((u(), p("div", {
2636
+ (u(!0), h(H, null, G(e.previewSrcList, (L, M) => U((u(), h("div", {
2635
2637
  key: M,
2636
2638
  class: "abl-image-preview__box"
2637
2639
  }, [
2638
2640
  c("img", {
2639
2641
  src: L,
2640
2642
  class: "abl-image-preview__img",
2641
- style: R(`transform: scale3d(${r.value}, ${r.value}, 1) rotate(${h.value}deg);`),
2643
+ style: R(`transform: scale3d(${r.value}, ${r.value}, 1) rotate(${p.value}deg);`),
2642
2644
  onLoad: (D) => _(M),
2643
2645
  onMousedown: z[0] || (z[0] = P((D) => $(D), ["prevent"])),
2644
2646
  onClick: z[1] || (z[1] = P(() => {
2645
2647
  }, ["stop"]))
2646
2648
  }, null, 44, Ts),
2647
2649
  B(E.$slots, "default"),
2648
- e.showProgress ? (u(), p("div", Ns, [
2650
+ e.showProgress ? (u(), h("div", Ns, [
2649
2651
  c("div", Ms, N(`${i.value + 1}/${s.value}`), 1)
2650
2652
  ])) : I("", !0)
2651
2653
  ])), [
2652
2654
  [Y, i.value === M]
2653
2655
  ])), 128))
2654
2656
  ], 4),
2655
- s.value > 1 ? (u(), p(H, { key: 0 }, [
2657
+ s.value > 1 ? (u(), h(H, { key: 0 }, [
2656
2658
  c("div", {
2657
2659
  class: "abl-image-preview__btn abl-image-preview__prev",
2658
2660
  onClick: P(w, ["stop"])
@@ -2678,7 +2680,7 @@ const Rs = /* @__PURE__ */ c("div", {
2678
2680
  }, Xs),
2679
2681
  c("i", {
2680
2682
  class: "abl-icon",
2681
- onClick: P(g, ["stop"])
2683
+ onClick: P(m, ["stop"])
2682
2684
  }, Zs),
2683
2685
  c("i", {
2684
2686
  class: "abl-icon",
@@ -2751,9 +2753,9 @@ const ol = { class: "abl-image-wrap" }, sl = ["src"], Pt = {
2751
2753
  var f;
2752
2754
  ((f = n.previewSrcList) == null ? void 0 : f.length) > 0 && (s.value = !0);
2753
2755
  }, a = T(() => {
2754
- const { previewSrcList: f, initialIndex: h } = n;
2755
- let m = h;
2756
- return h > f.length - 1 && (m = 0), m;
2756
+ const { previewSrcList: f, initialIndex: p } = n;
2757
+ let g = p;
2758
+ return p > f.length - 1 && (g = 0), g;
2757
2759
  }), d = () => {
2758
2760
  s.value = !1;
2759
2761
  }, v = {
@@ -2765,22 +2767,22 @@ const ol = { class: "abl-image-wrap" }, sl = ["src"], Pt = {
2765
2767
  };
2766
2768
  return t({
2767
2769
  onPreview: r
2768
- }), (f, h) => {
2769
- const m = Xt("lazy");
2770
- return u(), p("div", ol, [
2770
+ }), (f, p) => {
2771
+ const g = Xt("lazy");
2772
+ return u(), h("div", ol, [
2771
2773
  c("div", {
2772
2774
  class: "abl-image",
2773
2775
  style: R(`width: ${e.width}`),
2774
2776
  onClick: r
2775
2777
  }, [
2776
- n.lazy ? U((u(), p("img", $e({
2778
+ n.lazy ? U((u(), h("img", $e({
2777
2779
  key: 0,
2778
2780
  onLoad: i,
2779
2781
  ref_key: "imgRef",
2780
2782
  ref: l
2781
2783
  }, v), null, 16)), [
2782
- [m, e.src]
2783
- ]) : (u(), p("img", $e({
2784
+ [g, e.src]
2785
+ ]) : (u(), h("img", $e({
2784
2786
  key: 1,
2785
2787
  onLoad: i,
2786
2788
  ref_key: "imgRef",
@@ -2788,7 +2790,7 @@ const ol = { class: "abl-image-wrap" }, sl = ["src"], Pt = {
2788
2790
  src: e.src
2789
2791
  }, v), null, 16, sl))
2790
2792
  ], 4),
2791
- s.value ? (u(), p(H, { key: 0 }, [
2793
+ s.value ? (u(), h(H, { key: 0 }, [
2792
2794
  s.value ? (u(), ee(Dt, {
2793
2795
  key: 0,
2794
2796
  "initial-index": a.value,
@@ -2825,13 +2827,13 @@ function bt(e, t) {
2825
2827
  f.substr(l + 1, f.length - l - 2),
2826
2828
  10
2827
2829
  )), [r, i]));
2828
- a.sort((f, h) => {
2829
- if (f[0] < h[0])
2830
+ a.sort((f, p) => {
2831
+ if (f[0] < p[0])
2830
2832
  return 1;
2831
- if (f[0] > h[0])
2833
+ if (f[0] > p[0])
2832
2834
  return -1;
2833
- if (f[0] === h[0]) {
2834
- if (h[1].indexOf(".webp", h[1].length - 5) !== -1)
2835
+ if (f[0] === p[0]) {
2836
+ if (p[1].indexOf(".webp", p[1].length - 5) !== -1)
2835
2837
  return 1;
2836
2838
  if (f[1].indexOf(".webp", f[1].length - 5) !== -1)
2837
2839
  return -1;
@@ -2841,11 +2843,11 @@ function bt(e, t) {
2841
2843
  let d = "", v;
2842
2844
  for (let f = 0; f < a.length; f++) {
2843
2845
  v = a[f], d = v[1];
2844
- const h = a[f + 1];
2845
- if (h && h[0] < s) {
2846
+ const p = a[f + 1];
2847
+ if (p && p[0] < s) {
2846
2848
  d = v[1];
2847
2849
  break;
2848
- } else if (!h) {
2850
+ } else if (!p) {
2849
2851
  d = v[1];
2850
2852
  break;
2851
2853
  }
@@ -3118,8 +3120,8 @@ function Ft() {
3118
3120
  scale: d,
3119
3121
  listenEvents: v,
3120
3122
  filter: f,
3121
- adapter: h,
3122
- observer: m,
3123
+ adapter: p,
3124
+ observer: g,
3123
3125
  observerOptions: y
3124
3126
  }) {
3125
3127
  this.mode = he.event, this.listeners = [], this.targetIndex = 0, this.targets = [], this.options = {
@@ -3135,8 +3137,8 @@ function Ft() {
3135
3137
  ListenEvents: v || ml,
3136
3138
  supportWebp: al(),
3137
3139
  filter: f || {},
3138
- adapter: h || {},
3139
- observer: !!m,
3140
+ adapter: p || {},
3141
+ observer: !!g,
3140
3142
  observerOptions: y || gl
3141
3143
  }, this.initEvent(), this.imageCache = new hl({ max: 200 }), this.lazyLoadHandler = il(
3142
3144
  this.lazyLoadHandler.bind(this),
@@ -3606,7 +3608,7 @@ const Wt = {
3606
3608
  },
3607
3609
  setup(e) {
3608
3610
  const t = e;
3609
- return (n, o) => (u(), p("div", {
3611
+ return (n, o) => (u(), h("div", {
3610
3612
  class: O(["abl-skeleton-avatar", `abl-skeleton-avatar--${t.shape}`]),
3611
3613
  style: R(`width: ${t.width}`)
3612
3614
  }, null, 6));
@@ -3622,7 +3624,7 @@ const tt = {
3622
3624
  },
3623
3625
  setup(e) {
3624
3626
  const t = e;
3625
- return (n, o) => (u(), p("div", {
3627
+ return (n, o) => (u(), h("div", {
3626
3628
  class: O(["abl-skeleton-paragraph"]),
3627
3629
  style: R(`width: ${t.width}`)
3628
3630
  }, null, 4));
@@ -3662,11 +3664,11 @@ const xl = {
3662
3664
  }, o = T(() => Array(+t.row).fill(""));
3663
3665
  return (s, l) => {
3664
3666
  var i;
3665
- return u(), p("div", {
3667
+ return u(), h("div", {
3666
3668
  class: O(["abl-skeleton", e.animate && "abl-skeleton-animate"])
3667
3669
  }, [
3668
- s.$slots.template ? B(s.$slots, "template", { key: 0 }, void 0, !0) : (u(), p(H, { key: 1 }, [
3669
- t.avatar ? (u(), p("div", xl, [
3670
+ s.$slots.template ? B(s.$slots, "template", { key: 0 }, void 0, !0) : (u(), h(H, { key: 1 }, [
3671
+ t.avatar ? (u(), h("div", xl, [
3670
3672
  Z(Wt)
3671
3673
  ])) : I("", !0),
3672
3674
  c("div", $l, [
@@ -3674,7 +3676,7 @@ const xl = {
3674
3676
  key: 0,
3675
3677
  width: "40%"
3676
3678
  })) : I("", !0),
3677
- ((i = o.value) == null ? void 0 : i.length) > 0 ? (u(!0), p(H, { key: 1 }, G(o.value, (r, a) => (u(), ee(tt, {
3679
+ ((i = o.value) == null ? void 0 : i.length) > 0 ? (u(!0), h(H, { key: 1 }, G(o.value, (r, a) => (u(), ee(tt, {
3678
3680
  width: n(a)
3679
3681
  }, null, 8, ["width"]))), 256)) : I("", !0)
3680
3682
  ])
@@ -3708,7 +3710,7 @@ const Ll = /* @__PURE__ */ c("svg", {
3708
3710
  },
3709
3711
  setup(e) {
3710
3712
  const t = e;
3711
- return (n, o) => (u(), p("div", {
3713
+ return (n, o) => (u(), h("div", {
3712
3714
  class: O(["abl-skeleton-image", `abl-skeleton-image--${t.shape}`]),
3713
3715
  style: R(`width: ${t.width}`)
3714
3716
  }, Al, 6));
@@ -3787,8 +3789,8 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3787
3789
  setup(e, { emit: t }) {
3788
3790
  var k;
3789
3791
  const n = t, o = nt(), s = typeof window < "u" && typeof document < "u", l = e, i = x([]);
3790
- (k = o.default()) == null || k.forEach((g) => {
3791
- const { props: $ } = g;
3792
+ (k = o.default()) == null || k.forEach((m) => {
3793
+ const { props: $ } = m;
3792
3794
  if ($) {
3793
3795
  const { title: V, disabled: F } = $;
3794
3796
  i.value.push({
@@ -3797,18 +3799,18 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3797
3799
  });
3798
3800
  }
3799
3801
  });
3800
- const r = x(), a = x(), d = x(!1), v = x(0), f = x(""), h = x(!1), m = (g) => typeof g == "number" ? g + "px" : g;
3802
+ const r = x(), a = x(), d = x(!1), v = x(0), f = x(""), p = x(!1), g = (m) => typeof m == "number" ? m + "px" : m;
3801
3803
  me(
3802
3804
  () => d.value,
3803
- (g) => {
3804
- s && (g ? document.body.classList.add("abl-overflow-hidden") : document.body.classList.remove("abl-overflow-hidden"));
3805
+ (m) => {
3806
+ s && (m ? document.body.classList.add("abl-overflow-hidden") : document.body.classList.remove("abl-overflow-hidden"));
3805
3807
  },
3806
3808
  {
3807
3809
  deep: !0,
3808
3810
  immediate: !0
3809
3811
  }
3810
3812
  );
3811
- const y = (g, $) => {
3813
+ const y = (m, $) => {
3812
3814
  if (!i.value[$].disabled) {
3813
3815
  if ($ === f.value && l.closeOnClickSelf) {
3814
3816
  S(), setTimeout(() => {
@@ -3816,21 +3818,21 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3816
3818
  }, l.duration);
3817
3819
  return;
3818
3820
  }
3819
- h.value = !0, _($);
3821
+ p.value = !0, _($);
3820
3822
  }
3821
- }, _ = async (g) => {
3822
- v.value <= 0 && await w(), d.value = !0, f.value = g, Array.from(a.value.children).map(($, V) => {
3823
- V === g ? a.value.children[V].style.display = "block" : a.value.children[V].style.display = "none";
3823
+ }, _ = async (m) => {
3824
+ v.value <= 0 && await w(), d.value = !0, f.value = m, Array.from(a.value.children).map(($, V) => {
3825
+ V === m ? a.value.children[V].style.display = "block" : a.value.children[V].style.display = "none";
3824
3826
  }), n("open", f.value);
3825
3827
  }, S = () => {
3826
3828
  d.value = !1, f.value = 99999, setTimeout(() => {
3827
- h.value = !1;
3829
+ p.value = !1;
3828
3830
  }, 300);
3829
3831
  }, w = () => {
3830
3832
  var V;
3831
3833
  if (!s)
3832
3834
  return;
3833
- const { top: g, bottom: $ } = (V = r == null ? void 0 : r.value) == null ? void 0 : V.getBoundingClientRect();
3835
+ const { top: m, bottom: $ } = (V = r == null ? void 0 : r.value) == null ? void 0 : V.getBoundingClientRect();
3834
3836
  $ > 0 && (v.value = $ - 1);
3835
3837
  }, b = () => {
3836
3838
  l.closeOnClickMask && S();
@@ -3839,11 +3841,11 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3839
3841
  onClose: S,
3840
3842
  current: f
3841
3843
  }), C = zl(() => {
3842
- h.value && S();
3844
+ p.value && S();
3843
3845
  });
3844
3846
  return ze(Nl, A), _e(() => {
3845
3847
  w();
3846
- }), (g, $) => (u(), p("div", {
3848
+ }), (m, $) => (u(), h("div", {
3847
3849
  class: "abl-dropdown",
3848
3850
  ref_key: "root",
3849
3851
  ref: C
@@ -3851,12 +3853,12 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3851
3853
  c("div", {
3852
3854
  class: "abl-dropdown-menu",
3853
3855
  style: R({
3854
- height: m(e.height)
3856
+ height: g(e.height)
3855
3857
  }),
3856
3858
  ref_key: "dropdownMenuRef",
3857
3859
  ref: r
3858
3860
  }, [
3859
- (u(!0), p(H, null, G(i.value, (V, F) => (u(), p("div", {
3861
+ (u(!0), h(H, null, G(i.value, (V, F) => (u(), h("div", {
3860
3862
  class: "abl-dropdown-menu__item",
3861
3863
  key: F,
3862
3864
  onClick: P((E) => y(V, F), ["stop"])
@@ -3865,7 +3867,7 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3865
3867
  class: "abl-dropdown-menu__item__title",
3866
3868
  style: R({
3867
3869
  color: V.disabled ? "#c0c4cc" : F === f.value ? e.activeColor : e.inactiveColor,
3868
- fontSize: m(e.titleSize)
3870
+ fontSize: g(e.titleSize)
3869
3871
  })
3870
3872
  }, N(V.title), 5),
3871
3873
  c("div", {
@@ -3873,7 +3875,7 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3873
3875
  "abl-dropdown-menu__item__arrow--rotate": F === f.value
3874
3876
  }])
3875
3877
  }, [
3876
- (u(), p("svg", Ol, Vl))
3878
+ (u(), h("svg", Ol, Vl))
3877
3879
  ], 2)
3878
3880
  ], 8, Il))), 128))
3879
3881
  ], 4),
@@ -3881,7 +3883,7 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3881
3883
  class: "abl-dropdown-item__content--wrapper",
3882
3884
  style: R([
3883
3885
  {
3884
- top: m(v.value)
3886
+ top: g(v.value)
3885
3887
  }
3886
3888
  ]),
3887
3889
  onClick: b,
@@ -3905,7 +3907,7 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3905
3907
  ref_key: "childrenRef",
3906
3908
  ref: a
3907
3909
  }, [
3908
- B(g.$slots, "default", {}, void 0, !0)
3910
+ B(m.$slots, "default", {}, void 0, !0)
3909
3911
  ], 544), [
3910
3912
  [Y, d.value]
3911
3913
  ])
@@ -3913,7 +3915,7 @@ const Bl = (e) => (ie("data-v-b55ca1d7"), e = e(), re(), e), Il = ["onClick"], O
3913
3915
  _: 3
3914
3916
  })
3915
3917
  ], 36), [
3916
- [Y, h.value]
3918
+ [Y, p.value]
3917
3919
  ])
3918
3920
  ], 512));
3919
3921
  }
@@ -3969,7 +3971,7 @@ const Pl = (e) => (ie("data-v-046e593c"), e = e(), re(), e), Hl = ["active"], Fl
3969
3971
  const s = e, l = t, i = (r) => {
3970
3972
  n == null || n.onClose(), l("update:modelValue", r), l("change", r);
3971
3973
  };
3972
- return (r, a) => (u(), p("div", {
3974
+ return (r, a) => (u(), h("div", {
3973
3975
  class: "abl-dropdown-item",
3974
3976
  onTouchmove: P(() => {
3975
3977
  }, ["prevent"]),
@@ -3979,7 +3981,7 @@ const Pl = (e) => (ie("data-v-046e593c"), e = e(), re(), e), Hl = ["active"], Fl
3979
3981
  }, [
3980
3982
  B(r.$slots, "default", {}, () => [
3981
3983
  c("div", Fl, [
3982
- (u(!0), p(H, null, G(e.options, (d, v) => (u(), ee(Mt, {
3984
+ (u(!0), h(H, null, G(e.options, (d, v) => (u(), ee(Mt, {
3983
3985
  title: d.text,
3984
3986
  onClick: (f) => i(d.value),
3985
3987
  class: O(["abl-dropdown-item__option", s.modelValue === d.value && "abl-dropdown-item__option--active"])
@@ -3987,7 +3989,7 @@ const Pl = (e) => (ie("data-v-046e593c"), e = e(), re(), e), Hl = ["active"], Fl
3987
3989
  s.modelValue === d.value ? {
3988
3990
  name: "extra",
3989
3991
  fn: K(() => [
3990
- (u(), p("svg", Wl, ql))
3992
+ (u(), h("svg", Wl, ql))
3991
3993
  ]),
3992
3994
  key: "0"
3993
3995
  } : void 0
@@ -3999,7 +4001,7 @@ const Pl = (e) => (ie("data-v-046e593c"), e = e(), re(), e), Hl = ["active"], Fl
3999
4001
  }, Gl = /* @__PURE__ */ q(Kl, [["__scopeId", "data-v-046e593c"]]);
4000
4002
  const Yl = {}, Xl = { class: "abl-action-bar" };
4001
4003
  function Jl(e, t) {
4002
- return u(), p("div", Xl, [
4004
+ return u(), h("div", Xl, [
4003
4005
  B(e.$slots, "default", {}, void 0, !0)
4004
4006
  ]);
4005
4007
  }
@@ -4065,9 +4067,9 @@ const Ql = {
4065
4067
  }
4066
4068
  }), f = () => {
4067
4069
  i.value = !0, s("focus");
4068
- }, h = () => {
4070
+ }, p = () => {
4069
4071
  i.value = !1, s("blur");
4070
- }, m = () => {
4072
+ }, g = () => {
4071
4073
  v.value = "", s("clear");
4072
4074
  }, y = () => {
4073
4075
  o.type === "password" && (r.value = !r.value, r.value ? a.value = o.type : a.value = "text");
@@ -4087,9 +4089,9 @@ const Ql = {
4087
4089
  var w;
4088
4090
  return (w = l.value) == null ? void 0 : w.focus();
4089
4091
  },
4090
- clear: m,
4092
+ clear: g,
4091
4093
  input: () => l.value
4092
- }), (w, b) => (u(), p("div", {
4094
+ }), (w, b) => (u(), h("div", {
4093
4095
  class: O(["abl-input", { "is-disabled": e.disabled }])
4094
4096
  }, [
4095
4097
  c("div", {
@@ -4097,9 +4099,9 @@ const Ql = {
4097
4099
  onMouseenter: _,
4098
4100
  onMouseleave: S
4099
4101
  }, [
4100
- w.$slots.prefix || e.prefixIcon ? (u(), p("span", Ql, [
4102
+ w.$slots.prefix || e.prefixIcon ? (u(), h("span", Ql, [
4101
4103
  B(w.$slots, "prefix", {}, void 0, !0),
4102
- e.prefixIcon ? (u(), p("i", {
4104
+ e.prefixIcon ? (u(), h("i", {
4103
4105
  key: 0,
4104
4106
  class: O(["iconfont-abl", e.suffixIcon])
4105
4107
  }, null, 2)) : I("", !0)
@@ -4115,18 +4117,18 @@ const Ql = {
4115
4117
  readonly: e.readonly,
4116
4118
  disabled: e.disabled,
4117
4119
  onFocus: f,
4118
- onBlur: h
4120
+ onBlur: p
4119
4121
  }, w.$attrs), null, 16, ea), [
4120
4122
  [Qt, v.value]
4121
4123
  ]),
4122
- e.showPassword || e.clearable ? (u(), p("span", ta, [
4123
- e.showPassword ? (u(), p(H, { key: 0 }, [
4124
- r.value ? (u(), p("i", {
4124
+ e.showPassword || e.clearable ? (u(), h("span", ta, [
4125
+ e.showPassword ? (u(), h(H, { key: 0 }, [
4126
+ r.value ? (u(), h("i", {
4125
4127
  key: 0,
4126
4128
  class: "iconfont-abl icon-abl-tubiao",
4127
4129
  onClick: y
4128
4130
  })) : I("", !0),
4129
- r.value ? I("", !0) : (u(), p("i", {
4131
+ r.value ? I("", !0) : (u(), h("i", {
4130
4132
  key: 1,
4131
4133
  class: "iconfont-abl icon-abl-mimayanjing",
4132
4134
  onClick: y
@@ -4134,14 +4136,14 @@ const Ql = {
4134
4136
  ], 64)) : I("", !0),
4135
4137
  U(c("i", {
4136
4138
  class: "iconfont-abl icon-abl-close",
4137
- onClick: P(m, ["stop"])
4139
+ onClick: P(g, ["stop"])
4138
4140
  }, null, 512), [
4139
4141
  [Y, d.value]
4140
4142
  ])
4141
4143
  ])) : I("", !0),
4142
- w.$slots.suffix || e.suffixIcon ? (u(), p("span", na, [
4144
+ w.$slots.suffix || e.suffixIcon ? (u(), h("span", na, [
4143
4145
  B(w.$slots, "suffix", {}, void 0, !0),
4144
- e.suffixIcon ? (u(), p("i", {
4146
+ e.suffixIcon ? (u(), h("i", {
4145
4147
  key: 0,
4146
4148
  class: O(["iconfont-abl", e.suffixIcon])
4147
4149
  }, null, 2)) : I("", !0)
@@ -4190,15 +4192,15 @@ const Ue = (e) => (ie("data-v-bf3795be"), e = e(), re(), e), la = { class: "abl-
4190
4192
  }
4191
4193
  },
4192
4194
  setup(e) {
4193
- return (t, n) => (u(), p("div", {
4195
+ return (t, n) => (u(), h("div", {
4194
4196
  class: O(`abl-spin-wrap ${e.size}`),
4195
4197
  style: R(`--color: ${e.color};`)
4196
4198
  }, [
4197
4199
  U(c("div", la, [
4198
4200
  c("div", aa, [
4199
- e.logo ? (u(), p("div", ia, [
4201
+ e.logo ? (u(), h("div", ia, [
4200
4202
  c("img", { src: e.logo }, null, 8, ra)
4201
- ])) : e.indicator === "dot" ? (u(), p("div", ca, ha)) : I("", !0),
4203
+ ])) : e.indicator === "dot" ? (u(), h("div", ca, ha)) : I("", !0),
4202
4204
  U(c("p", { class: "abl-tip" }, N(e.tip), 513), [
4203
4205
  [Y, e.tip]
4204
4206
  ])
@@ -4294,75 +4296,75 @@ const ct = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ma = { class: "abl-
4294
4296
  o.value = [...n.fileList], o.value.length > n.maxCount && o.value.splice(n.maxCount), n.disabled ? s.value = o.value.length : o.value.length < n.maxCount ? s.value = n.fileList.length + 1 : s.value = n.maxCount;
4295
4297
  }
4296
4298
  const d = (C) => {
4297
- const k = /\.(jpg|jpeg|png|gif|webp)$/i, g = /^data:image/;
4298
- return k.test(C) || g.test(C);
4299
+ const k = /\.(jpg|jpeg|png|gif|webp)$/i, m = /^data:image/;
4300
+ return k.test(C) || m.test(C);
4299
4301
  }, v = (C, k) => {
4300
4302
  var $;
4301
- const g = ($ = C.dataTransfer) == null ? void 0 : $.files;
4302
- if (g != null && g.length) {
4303
- const V = g.length;
4303
+ const m = ($ = C.dataTransfer) == null ? void 0 : $.files;
4304
+ if (m != null && m.length) {
4305
+ const V = m.length;
4304
4306
  for (let F = 0; F < V && k + F <= n.maxCount; F++)
4305
- y(g[F], k + F);
4307
+ y(m[F], k + F);
4306
4308
  i.value[k].value = "";
4307
4309
  }
4308
4310
  }, f = (C) => {
4309
4311
  i.value[C].click();
4310
- }, h = (C, k) => {
4311
- const g = C.target.files;
4312
- if (g != null && g.length) {
4313
- const $ = g.length;
4312
+ }, p = (C, k) => {
4313
+ const m = C.target.files;
4314
+ if (m != null && m.length) {
4315
+ const $ = m.length;
4314
4316
  for (let V = 0; V < $ && k + V < n.maxCount; V++)
4315
- y(g[V], k + V);
4317
+ y(m[V], k + V);
4316
4318
  i.value[k].value = "";
4317
4319
  }
4318
- }, m = t, y = function(C, k) {
4320
+ }, g = t, y = function(C, k) {
4319
4321
  n.beforeUpload(C) ? (n.maxCount > s.value && s.value++, n.uploadMode === "base64" && (l.value[k] = !0, _(C, k)), n.uploadMode === "custom" && (l.value[k] = !0, S(C, k))) : le(() => {
4320
4322
  A(n.errorInfo);
4321
4323
  });
4322
4324
  }, _ = (C, k) => {
4323
- var g = new FileReader();
4324
- g.readAsDataURL(C), g.onloadstart = function($) {
4325
+ var m = new FileReader();
4326
+ m.readAsDataURL(C), m.onloadstart = function($) {
4325
4327
  console.log("开始读取 onloadstart:", $);
4326
- }, g.onabort = function($) {
4328
+ }, m.onabort = function($) {
4327
4329
  console.log("读取中止 onabort:", $);
4328
- }, g.onerror = function($) {
4330
+ }, m.onerror = function($) {
4329
4331
  console.log("读取错误 onerror:", $);
4330
- }, g.onprogress = function($) {
4332
+ }, m.onprogress = function($) {
4331
4333
  $.loaded === $.total && (l.value[k] = !1);
4332
- }, g.onload = function($) {
4334
+ }, m.onload = function($) {
4333
4335
  var V;
4334
4336
  o.value.push({
4335
4337
  name: C.name,
4336
4338
  url: (V = $.target) == null ? void 0 : V.result
4337
- }), m("update:fileList", o.value), m("change", o.value);
4338
- }, g.onloadend = function($) {
4339
+ }), g("update:fileList", o.value), g("change", o.value);
4340
+ }, m.onloadend = function($) {
4339
4341
  console.log("读取结束 onloadend:", $);
4340
4342
  };
4341
4343
  }, S = (C, k) => {
4342
- n.customRequest(C).then((g) => {
4343
- o.value.push(g), m("update:fileList", o.value), m("change", o.value);
4344
- }).catch((g) => {
4345
- n.maxCount > 1 && (s.value = o.value.length + 1), A(g);
4344
+ n.customRequest(C).then((m) => {
4345
+ o.value.push(m), g("update:fileList", o.value), g("change", o.value);
4346
+ }).catch((m) => {
4347
+ n.maxCount > 1 && (s.value = o.value.length + 1), A(m);
4346
4348
  }).finally(() => {
4347
4349
  l.value[k] = !1;
4348
4350
  });
4349
4351
  }, w = (C, k) => {
4350
4352
  if (d(k)) {
4351
- const g = o.value.slice(0, C).filter(($) => !d($.url));
4352
- r.value[C - g.length].onPreview();
4353
+ const m = o.value.slice(0, C).filter(($) => !d($.url));
4354
+ r.value[C - m.length].onPreview();
4353
4355
  } else
4354
4356
  window.open(k);
4355
4357
  }, b = (C) => {
4356
4358
  o.value.length < n.maxCount && s.value--;
4357
4359
  const k = o.value.splice(C, 1);
4358
- m("remove", k), m("update:fileList", o.value), m("change", o.value);
4360
+ g("remove", k), g("update:fileList", o.value), g("change", o.value);
4359
4361
  }, A = (C) => {
4360
4362
  ot({ type: "error", text: C, duration: 1e3, top: 100 });
4361
4363
  };
4362
- return (C, k) => (u(), p("div", ma, [
4363
- (u(!0), p(H, null, G(s.value, (g) => (u(), p("div", {
4364
+ return (C, k) => (u(), h("div", ma, [
4365
+ (u(!0), h(H, null, G(s.value, (m) => (u(), h("div", {
4364
4366
  class: "abl-upload-item",
4365
- key: g
4367
+ key: m
4366
4368
  }, [
4367
4369
  c("div", ga, [
4368
4370
  U(c("div", {
@@ -4371,8 +4373,8 @@ const ct = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ma = { class: "abl-
4371
4373
  }, ["stop", "prevent"])),
4372
4374
  onDragover: k[2] || (k[2] = P(() => {
4373
4375
  }, ["stop", "prevent"])),
4374
- onDrop: P(($) => e.disabled ? () => !1 : v($, g - 1), ["stop", "prevent"]),
4375
- onClick: ($) => e.disabled ? () => !1 : f(g - 1)
4376
+ onDrop: P(($) => e.disabled ? () => !1 : v($, m - 1), ["stop", "prevent"]),
4377
+ onClick: ($) => e.disabled ? () => !1 : f(m - 1)
4376
4378
  }, [
4377
4379
  c("input", {
4378
4380
  ref_for: !0,
@@ -4383,7 +4385,7 @@ const ct = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ma = { class: "abl-
4383
4385
  }, ["stop"])),
4384
4386
  accept: e.accept,
4385
4387
  multiple: e.multiple,
4386
- onChange: ($) => h($, g - 1),
4388
+ onChange: ($) => p($, m - 1),
4387
4389
  style: { display: "none" }
4388
4390
  }, null, 40, ba),
4389
4391
  c("div", null, [
@@ -4395,7 +4397,7 @@ const ct = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ma = { class: "abl-
4395
4397
  ])
4396
4398
  ])
4397
4399
  ], 42, ya), [
4398
- [Y, !l.value[g - 1] && !o.value[g - 1]]
4400
+ [Y, !l.value[m - 1] && !o.value[m - 1]]
4399
4401
  ]),
4400
4402
  U(c("div", xa, [
4401
4403
  Z(jt, {
@@ -4405,30 +4407,30 @@ const ct = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ma = { class: "abl-
4405
4407
  size: "small"
4406
4408
  }, null, 8, ["tip"])
4407
4409
  ], 512), [
4408
- [Y, l.value[g - 1]]
4410
+ [Y, l.value[m - 1]]
4409
4411
  ]),
4410
- o.value[g - 1] ? (u(), p("div", $a, [
4411
- d(o.value[g - 1].url) ? (u(), ee(Pt, {
4412
+ o.value[m - 1] ? (u(), h("div", $a, [
4413
+ d(o.value[m - 1].url) ? (u(), ee(Pt, {
4412
4414
  key: 0,
4413
4415
  ref_for: !0,
4414
4416
  ref_key: "imageRef",
4415
4417
  ref: r,
4416
4418
  bordered: !1,
4417
4419
  width: "82",
4418
- src: o.value[g - 1].url,
4419
- previewSrcList: [o.value[g - 1].url],
4420
- name: o.value[g - 1].name
4420
+ src: o.value[m - 1].url,
4421
+ previewSrcList: [o.value[m - 1].url],
4422
+ name: o.value[m - 1].name
4421
4423
  }, null, 8, ["src", "previewSrcList", "name"])) : I("", !0),
4422
4424
  c("div", ka, [
4423
4425
  c("a", {
4424
4426
  class: "m-icon",
4425
4427
  title: "preview",
4426
- onClick: ($) => w(g - 1, o.value[g - 1].url)
4428
+ onClick: ($) => w(m - 1, o.value[m - 1].url)
4427
4429
  }, La, 8, Sa),
4428
4430
  U(c("a", {
4429
4431
  class: "m-icon",
4430
4432
  title: "delete",
4431
- onClick: P(($) => b(g - 1), ["prevent", "stop"])
4433
+ onClick: P(($) => b(m - 1), ["prevent", "stop"])
4432
4434
  }, za, 8, Aa), [
4433
4435
  [Y, !e.disabled]
4434
4436
  ])
@@ -4498,10 +4500,10 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4498
4500
  }), l = x(""), i = x(), r = x(null), a = x(""), d = x(), v = T(() => {
4499
4501
  var z;
4500
4502
  return { width: (((z = i.value) == null ? void 0 : z.getBoundingClientRect().width) - 20 || 0) + "px" };
4501
- }), f = x({}), h = ve({
4503
+ }), f = x({}), p = ve({
4502
4504
  list: n == null ? void 0 : n.options
4503
- }), m = x(!1), y = x(
4504
- n.search && a.value === "focus" && m.value
4505
+ }), g = x(!1), y = x(
4506
+ n.search && a.value === "focus" && g.value
4505
4507
  ), _ = x(n.disabled), S = x(n.mode === "tag"), w = x(""), b = ve(
4506
4508
  (F = n == null ? void 0 : n.options) == null ? void 0 : F.filter((E) => E.selected === !0)
4507
4509
  ), A = (E) => {
@@ -4509,7 +4511,7 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4509
4511
  w.value = "";
4510
4512
  else {
4511
4513
  const z = n.options.filter((L) => L.name.includes(E.target.value));
4512
- h.list = z;
4514
+ p.list = z;
4513
4515
  }
4514
4516
  }, C = (E) => {
4515
4517
  if (n.teleport == "body") {
@@ -4520,12 +4522,12 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4520
4522
  width: L.width + "px"
4521
4523
  };
4522
4524
  }
4523
- n.disabled || (m.value = !0, E.stopPropagation(), a.value === "focus" ? a.value = "blur" : a.value = "focus");
4525
+ n.disabled || (g.value = !0, E.stopPropagation(), a.value === "focus" ? a.value = "blur" : a.value = "focus");
4524
4526
  }, k = (E, z) => {
4525
4527
  var M;
4526
4528
  if (n.disabled)
4527
4529
  return;
4528
- m.value = !1, z.stopPropagation(), (M = r.value) == null || M.focus();
4530
+ g.value = !1, z.stopPropagation(), (M = r.value) == null || M.focus();
4529
4531
  let L = null;
4530
4532
  if (n.type === "single")
4531
4533
  a.value = "blur", b[0] && b[0].value === E.value ? b.shift() : b[0] = E, L = E.value;
@@ -4537,7 +4539,7 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4537
4539
  });
4538
4540
  }
4539
4541
  o("update:modelValue", L), o("changeSelect", Ge(b)), d.value.close();
4540
- }, g = () => {
4542
+ }, m = () => {
4541
4543
  var E;
4542
4544
  (E = r.value) == null || E.focus(), !y.value && a.value === "focus" && b.length > 0 && (b.pop(), o("changeSelect", Ge(b)));
4543
4545
  }, $ = (E) => {
@@ -4549,7 +4551,7 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4549
4551
  a.value = "blur";
4550
4552
  };
4551
4553
  return me(
4552
- m,
4554
+ g,
4553
4555
  (E) => {
4554
4556
  y.value = n.search && a.value === "focus" && E;
4555
4557
  },
@@ -4563,11 +4565,11 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4563
4565
  ), _e(() => {
4564
4566
  me(a, (E) => {
4565
4567
  var z, L;
4566
- E === "focus" ? (z = r.value) == null || z.focus() : (L = r.value) == null || L.blur(), y.value = n.search && E === "focus" && m;
4568
+ E === "focus" ? (z = r.value) == null || z.focus() : (L = r.value) == null || L.blur(), y.value = n.search && E === "focus" && g;
4567
4569
  }), document.body.addEventListener("click", () => {
4568
4570
  a.value = "blur";
4569
4571
  });
4570
- }), (E, z) => (u(), p("div", {
4572
+ }), (E, z) => (u(), h("div", {
4571
4573
  ref_key: "selectRef",
4572
4574
  ref: i
4573
4575
  }, [
@@ -4580,11 +4582,11 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4580
4582
  class: "abl-select-options-warpper",
4581
4583
  style: R(v.value)
4582
4584
  }, [
4583
- h.list.length > 0 ? (u(!0), p(H, { key: 0 }, G(h.list, (L) => (u(), p("div", {
4585
+ p.list.length > 0 ? (u(!0), h(H, { key: 0 }, G(p.list, (L) => (u(), h("div", {
4584
4586
  class: O(["abl-select-options-item", b.some((M) => M.value === L.value) ? "abl-options-item-active" : ""]),
4585
4587
  key: L.name + L.value,
4586
4588
  onClick: (M) => k(L, M)
4587
- }, N(L.name), 11, Ha))), 128)) : (u(), p("div", Fa, " 暂无数据 "))
4589
+ }, N(L.name), 11, Ha))), 128)) : (u(), h("div", Fa, " 暂无数据 "))
4588
4590
  ], 4)
4589
4591
  ]),
4590
4592
  default: K(() => [
@@ -4592,13 +4594,13 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4592
4594
  onClick: C,
4593
4595
  id: "select-input-warpper",
4594
4596
  class: O(["abl-select-warpper", _.value ? "abl-select-warpper-disabled" : ""]),
4595
- onKeydown: en(g, ["delete"])
4597
+ onKeydown: en(m, ["delete"])
4596
4598
  }, [
4597
4599
  c("div", Ra, [
4598
4600
  c("div", Va, [
4599
4601
  U(c("div", Ta, [
4600
- S.value ? (u(), p("div", Na, [
4601
- (u(!0), p(H, null, G(b, (L) => (u(), p("div", {
4602
+ S.value ? (u(), h("div", Na, [
4603
+ (u(!0), h(H, null, G(b, (L) => (u(), h("div", {
4602
4604
  class: "abl-select-tag",
4603
4605
  key: L.value
4604
4606
  }, [
@@ -4608,7 +4610,7 @@ const Oa = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Ra = { class: "abl-
4608
4610
  onClick: P((M) => $(L), ["stop"])
4609
4611
  }, "x", 8, Ma)
4610
4612
  ]))), 128))
4611
- ])) : (u(), p("span", Da, N(l.value), 1))
4613
+ ])) : (u(), h("span", Da, N(l.value), 1))
4612
4614
  ], 512), [
4613
4615
  [Y, b.length && !y.value]
4614
4616
  ]),
@@ -4706,35 +4708,35 @@ const qa = { class: "abl-header" }, Ua = { class: "abl-title" }, Ka = { class: "
4706
4708
  span: Math.min(y[b].dataset.span, _),
4707
4709
  element: y[b]
4708
4710
  };
4709
- h(w) < _ ? (A.span = Math.min(A.span, _ - h(w)), b === S - 1 && (A.span = _ - h(w)), w.push(A), b === S - 1 && a.value.push(w)) : (a.value.push(w), w = [A], b === S - 1 && (A.span = _, a.value.push(w)));
4711
+ p(w) < _ ? (A.span = Math.min(A.span, _ - p(w)), b === S - 1 && (A.span = _ - p(w)), w.push(A), b === S - 1 && a.value.push(w)) : (a.value.push(w), w = [A], b === S - 1 && (A.span = _, a.value.push(w)));
4710
4712
  }
4711
4713
  t.bordered ? le(() => {
4712
4714
  a.value.forEach((b, A) => {
4713
4715
  b.forEach((C) => {
4714
- const k = Array.from(C.element.children), g = k[0].cloneNode(!0);
4715
- g.colSpan = 1, m(g, t.labelStyle), m(g, JSON.parse(C.element.dataset.labelStyle));
4716
+ const k = Array.from(C.element.children), m = k[0].cloneNode(!0);
4717
+ m.colSpan = 1, g(m, t.labelStyle), g(m, JSON.parse(C.element.dataset.labelStyle));
4716
4718
  const $ = k[1].cloneNode(!0);
4717
- $.colSpan = C.span * 2 - 1, m($, t.contentStyle), m($, JSON.parse(C.element.dataset.contentStyle)), r.value[A].appendChild(g), r.value[A].appendChild($);
4719
+ $.colSpan = C.span * 2 - 1, g($, t.contentStyle), g($, JSON.parse(C.element.dataset.contentStyle)), r.value[A].appendChild(m), r.value[A].appendChild($);
4718
4720
  });
4719
4721
  });
4720
4722
  }) : le(() => {
4721
4723
  y.forEach((b, A) => {
4722
4724
  const C = Array.from(b.children), k = C[0];
4723
- m(k, t.labelStyle), m(k, JSON.parse(b.dataset.labelStyle));
4724
- const g = C[1];
4725
- m(g, t.contentStyle), m(g, JSON.parse(b.dataset.contentStyle)), i.value[A].appendChild(b);
4725
+ g(k, t.labelStyle), g(k, JSON.parse(b.dataset.labelStyle));
4726
+ const m = C[1];
4727
+ g(m, t.contentStyle), g(m, JSON.parse(b.dataset.contentStyle)), i.value[A].appendChild(b);
4726
4728
  });
4727
4729
  });
4728
4730
  }
4729
- function h(y) {
4731
+ function p(y) {
4730
4732
  return y.reduce((_, S) => _ + S.span, 0);
4731
4733
  }
4732
- function m(y, _) {
4734
+ function g(y, _) {
4733
4735
  JSON.stringify(_) !== "{}" && Object.keys(_).forEach((S) => {
4734
4736
  y.style[S] = _[S];
4735
4737
  });
4736
4738
  }
4737
- return (y, _) => (u(), p("div", {
4739
+ return (y, _) => (u(), h("div", {
4738
4740
  class: O(["abl-desc", `desc-${e.size}`])
4739
4741
  }, [
4740
4742
  c("div", qa, [
@@ -4761,17 +4763,17 @@ const qa = { class: "abl-header" }, Ua = { class: "abl-title" }, Ka = { class: "
4761
4763
  class: O(["abl-desc-view", { "abl-bordered": e.bordered }])
4762
4764
  }, [
4763
4765
  c("table", null, [
4764
- e.bordered ? (u(), p("tbody", Xa, [
4765
- d.value ? (u(!0), p(H, { key: 0 }, G(d.value, (S) => (u(), p("tr", {
4766
+ e.bordered ? (u(), h("tbody", Xa, [
4767
+ d.value ? (u(!0), h(H, { key: 0 }, G(d.value, (S) => (u(), h("tr", {
4766
4768
  ref_for: !0,
4767
4769
  ref_key: "rows",
4768
4770
  ref: r,
4769
4771
  class: "tr-bordered",
4770
4772
  key: S
4771
4773
  }))), 128)) : I("", !0)
4772
- ])) : (u(), p("tbody", Ga, [
4773
- (u(!0), p(H, null, G(a.value, (S, w) => (u(), p("tr", { key: w }, [
4774
- (u(!0), p(H, null, G(S, (b, A) => (u(), p("td", {
4774
+ ])) : (u(), h("tbody", Ga, [
4775
+ (u(!0), h(H, null, G(a.value, (S, w) => (u(), h("tr", { key: w }, [
4776
+ (u(!0), h(H, null, G(S, (b, A) => (u(), h("td", {
4775
4777
  ref_for: !0,
4776
4778
  ref_key: "cols",
4777
4779
  ref: i,
@@ -4811,7 +4813,7 @@ const Qa = ["data-span", "data-label-style", "data-content-style"], ei = { class
4811
4813
  // 自定义内容样式,优先级低于 DescriptionItems
4812
4814
  },
4813
4815
  setup(e) {
4814
- return (t, n) => (u(), p(H, null, [
4816
+ return (t, n) => (u(), h(H, null, [
4815
4817
  c("div", {
4816
4818
  class: "abl-desc-item",
4817
4819
  "data-span": e.span,