abl-ui 0.1.30 → 0.1.31

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 O, renderSlot as z, createElementVNode as c, normalizeClass as R, createTextVNode as j, toDisplayString as N, createCommentVNode as I, createStaticVNode as kt, Fragment as H, renderList as G, createVNode as Q, useSlots as st, ref as $, provide as ze, defineComponent as Pe, toRefs as Be, computed as T, unref as Z, pushScopeId as ie, popScopeId as re, inject as Ie, reactive as ve, withDirectives as U, vShow as Y, onMounted as we, createBlock as te, Transition as oe, withCtx as K, render as Ze, watchEffect as Ce, Teleport as He, withModifiers as P, onBeforeUnmount as St, mergeProps as ye, resolveDynamicComponent as Kt, useAttrs as Gt, getCurrentInstance as Yt, watch as me, normalizeProps as Xt, guardReactiveProps as Jt, resolveDirective as Zt, nextTick as le, h as Qt, createSlots as en, vModelDynamic as tn, withKeys as nn, vModelText as on, toRaw as Ge, onUnmounted as sn } from "vue";
1
+ import { openBlock as u, createElementBlock as p, normalizeStyle as O, renderSlot as z, createElementVNode as c, normalizeClass as R, createTextVNode as j, toDisplayString as N, createCommentVNode as I, createStaticVNode as kt, Fragment as H, renderList as Y, createVNode as Q, useSlots as st, ref as $, provide as ze, defineComponent as Pe, toRefs as Be, computed as T, unref as G, pushScopeId as ie, popScopeId as re, inject as Ie, reactive as me, withDirectives as U, vShow as X, onMounted as pe, createBlock as te, Transition as oe, withCtx as K, render as Ze, watchEffect as Ce, Teleport as He, withModifiers as P, onBeforeUnmount as St, mergeProps as be, resolveDynamicComponent as Kt, useAttrs as Gt, getCurrentInstance as Yt, watch as ge, normalizeProps as Xt, guardReactiveProps as Jt, resolveDirective as Zt, nextTick as le, h as Qt, createSlots as en, vModelDynamic as tn, withKeys as nn, vModelText as on, toRaw as Ge, onUnmounted as sn } from "vue";
2
2
  const q = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [o, s] of t)
@@ -94,7 +94,7 @@ const pn = { class: "abl-table" }, hn = { class: "gridtable" }, vn = { class: "t
94
94
  c("table", hn, [
95
95
  c("thead", vn, [
96
96
  c("tr", null, [
97
- (u(!0), p(H, null, G(n.columns, (i, r) => (u(), p("th", {
97
+ (u(!0), p(H, null, Y(n.columns, (i, r) => (u(), p("th", {
98
98
  key: r,
99
99
  style: O({ "text-align": i.align || "left" }),
100
100
  class: R(i.fixed == "left" ? "table-fixed-column--left" : i.fixed == "right" ? "table-fixed-column--right" : "")
@@ -104,8 +104,8 @@ const pn = { class: "abl-table" }, hn = { class: "gridtable" }, vn = { class: "t
104
104
  ])
105
105
  ]),
106
106
  n.data.length > 0 ? (u(), p("tbody", gn, [
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", {
107
+ (u(!0), p(H, null, Y(n.data, (i, r) => (u(), p("tr", { key: r }, [
108
+ (u(!0), p(H, null, Y(e.columns, (a, d) => (u(), p("td", {
109
109
  style: O({ "text-align": a.align || "left", width: a.width || "auto" }),
110
110
  key: d,
111
111
  class: R(a.fixed == "left" ? "table-fixed-column--left" : a.fixed == "right" ? "table-fixed-column--right" : "")
@@ -160,7 +160,7 @@ const $n = { class: "abl-tabs" }, kn = { class: "tabs-header" }, Sn = ["onClick"
160
160
  };
161
161
  return (v, f) => (u(), p("div", $n, [
162
162
  c("header", kn, [
163
- (u(!0), p(H, null, G(l.value, (h) => (u(), p("div", {
163
+ (u(!0), p(H, null, Y(l.value, (h) => (u(), p("div", {
164
164
  key: h.title,
165
165
  class: R(`header-btn ${r.value === h.value ? "header-btn-active" : ""}`),
166
166
  onClick: (m) => a(h.value)
@@ -220,7 +220,7 @@ const $n = { class: "abl-tabs" }, kn = { class: "tabs-header" }, Sn = ["onClick"
220
220
  return (d, v) => (u(), p("div", {
221
221
  class: R(["abl-switch", a.value]),
222
222
  onClick: s,
223
- style: O({ background: Z(l) ? e.activeColor : e.inactiveColor })
223
+ style: O({ background: G(l) ? e.activeColor : e.inactiveColor })
224
224
  }, En, 6));
225
225
  }
226
226
  });
@@ -302,7 +302,7 @@ const Rn = {
302
302
  };
303
303
  return ze(
304
304
  "radioGroupKey",
305
- ve({
305
+ me({
306
306
  ...Be(n),
307
307
  changeEvent: s
308
308
  })
@@ -339,7 +339,7 @@ const Rn = {
339
339
  }, [
340
340
  z(s.$slots, "default")
341
341
  ], 8, Mn)), [
342
- [Y, Z(n) === e.value]
342
+ [X, G(n) === e.value]
343
343
  ]);
344
344
  }
345
345
  };
@@ -369,7 +369,7 @@ const Pn = { class: "message-text" }, Hn = {
369
369
  },
370
370
  setup(e) {
371
371
  const t = e, n = $(!1);
372
- we(() => {
372
+ pe(() => {
373
373
  n.value = !0;
374
374
  });
375
375
  const o = () => {
@@ -730,7 +730,7 @@ const to = {
730
730
  };
731
731
  return ze(
732
732
  "checkboxGroupKey",
733
- ve({
733
+ me({
734
734
  ...Be(n),
735
735
  changeEvent: s
736
736
  })
@@ -831,7 +831,7 @@ const to = {
831
831
  ]));
832
832
  }
833
833
  });
834
- const ke = Math.min, ge = Math.max, Ne = Math.round, Te = Math.floor, de = (e) => ({
834
+ const ke = Math.min, ye = Math.max, Ne = Math.round, Te = Math.floor, de = (e) => ({
835
835
  x: e,
836
836
  y: e
837
837
  }), mo = {
@@ -844,12 +844,12 @@ const ke = Math.min, ge = Math.max, Ne = Math.round, Te = Math.floor, de = (e) =
844
844
  end: "start"
845
845
  };
846
846
  function Qe(e, t, n) {
847
- return ge(e, ke(t, n));
847
+ return ye(e, ke(t, n));
848
848
  }
849
849
  function Re(e, t) {
850
850
  return typeof e == "function" ? e(t) : e;
851
851
  }
852
- function be(e) {
852
+ function _e(e) {
853
853
  return e.split("-")[0];
854
854
  }
855
855
  function Oe(e) {
@@ -862,7 +862,7 @@ function at(e) {
862
862
  return e === "y" ? "height" : "width";
863
863
  }
864
864
  function Fe(e) {
865
- return ["top", "bottom"].includes(be(e)) ? "y" : "x";
865
+ return ["top", "bottom"].includes(_e(e)) ? "y" : "x";
866
866
  }
867
867
  function it(e) {
868
868
  return Lt(Fe(e));
@@ -895,7 +895,7 @@ function _o(e, t, n) {
895
895
  }
896
896
  function wo(e, t, n, o) {
897
897
  const s = Oe(e);
898
- let l = _o(be(e), n === "start", o);
898
+ let l = _o(_e(e), n === "start", o);
899
899
  return s && (l = l.map((i) => i + "-" + s), t && (l = l.concat(l.map(et)))), l;
900
900
  }
901
901
  function Me(e) {
@@ -932,7 +932,7 @@ function ht(e, t, n) {
932
932
  reference: o,
933
933
  floating: s
934
934
  } = e;
935
- const l = Fe(t), i = it(t), r = at(i), a = be(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;
935
+ const l = Fe(t), i = it(t), r = at(i), a = _e(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
936
  let m;
937
937
  switch (a) {
938
938
  case "top":
@@ -995,10 +995,10 @@ const $o = async (e, t, n) => {
995
995
  name: k,
996
996
  fn: x
997
997
  } = r[w], {
998
- x: b,
998
+ x: _,
999
999
  y: A,
1000
1000
  data: C,
1001
- reset: _
1001
+ reset: b
1002
1002
  } = await x({
1003
1003
  x: v,
1004
1004
  y: f,
@@ -1013,17 +1013,17 @@ const $o = async (e, t, n) => {
1013
1013
  floating: t
1014
1014
  }
1015
1015
  });
1016
- v = b ?? v, f = A ?? f, m = {
1016
+ v = _ ?? v, f = A ?? f, m = {
1017
1017
  ...m,
1018
1018
  [k]: {
1019
1019
  ...m[k],
1020
1020
  ...C
1021
1021
  }
1022
- }, _ && g <= 50 && (g++, typeof _ == "object" && (_.placement && (h = _.placement), _.rects && (d = _.rects === !0 ? await i.getElementRects({
1022
+ }, b && g <= 50 && (g++, typeof b == "object" && (b.placement && (h = b.placement), b.rects && (d = b.rects === !0 ? await i.getElementRects({
1023
1023
  reference: e,
1024
1024
  floating: t,
1025
1025
  strategy: s
1026
- }) : _.rects), {
1026
+ }) : b.rects), {
1027
1027
  x: v,
1028
1028
  y: f
1029
1029
  } = ht(d, h, a)), w = -1);
@@ -1057,7 +1057,7 @@ async function Et(e, t) {
1057
1057
  boundary: d,
1058
1058
  rootBoundary: v,
1059
1059
  strategy: a
1060
- })), b = f === "floating" ? {
1060
+ })), _ = f === "floating" ? {
1061
1061
  ...i.floating,
1062
1062
  x: o,
1063
1063
  y: s
@@ -1067,17 +1067,17 @@ async function Et(e, t) {
1067
1067
  } : {
1068
1068
  x: 1,
1069
1069
  y: 1
1070
- }, _ = De(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
1070
+ }, b = De(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
1071
1071
  elements: r,
1072
- rect: b,
1072
+ rect: _,
1073
1073
  offsetParent: A,
1074
1074
  strategy: a
1075
- }) : b);
1075
+ }) : _);
1076
1076
  return {
1077
- top: (x.top - _.top + g.top) / C.y,
1078
- bottom: (_.bottom - x.bottom + g.bottom) / C.y,
1079
- left: (x.left - _.left + g.left) / C.x,
1080
- right: (_.right - x.right + g.right) / C.x
1077
+ top: (x.top - b.top + g.top) / C.y,
1078
+ bottom: (b.bottom - x.bottom + g.bottom) / C.y,
1079
+ left: (x.left - b.left + g.left) / C.x,
1080
+ right: (b.right - x.right + g.right) / C.x
1081
1081
  };
1082
1082
  }
1083
1083
  const ko = (e) => ({
@@ -1101,20 +1101,20 @@ const ko = (e) => ({
1101
1101
  const f = At(v), h = {
1102
1102
  x: n,
1103
1103
  y: o
1104
- }, m = it(s), g = at(m), w = await i.getDimensions(d), k = m === "y", x = k ? "top" : "left", b = k ? "bottom" : "right", A = k ? "clientHeight" : "clientWidth", C = l.reference[g] + l.reference[m] - h[m] - l.floating[g], _ = h[m] - l.reference[m], y = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
1104
+ }, m = it(s), g = at(m), w = await i.getDimensions(d), k = m === "y", x = k ? "top" : "left", _ = k ? "bottom" : "right", A = k ? "clientHeight" : "clientWidth", C = l.reference[g] + l.reference[m] - h[m] - l.floating[g], b = h[m] - l.reference[m], y = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
1105
1105
  let S = y ? y[A] : 0;
1106
1106
  (!S || !await (i.isElement == null ? void 0 : i.isElement(y))) && (S = r.floating[A] || l.floating[g]);
1107
- const V = C / 2 - _ / 2, F = S / 2 - w[g] / 2 - 1, E = ke(f[x], F), B = ke(f[b], F), L = E, M = S - w[g] - B, D = S / 2 - w[g] / 2 + V, W = Qe(L, D, M), X = !a.arrow && Oe(s) != null && D !== W && l.reference[g] / 2 - (D < L ? E : B) - w[g] / 2 < 0, J = X ? D < L ? D - L : D - M : 0;
1107
+ const V = C / 2 - b / 2, F = S / 2 - w[g] / 2 - 1, E = ke(f[x], F), B = ke(f[_], F), L = E, M = S - w[g] - B, D = S / 2 - w[g] / 2 + V, W = Qe(L, D, M), J = !a.arrow && Oe(s) != null && D !== W && l.reference[g] / 2 - (D < L ? E : B) - w[g] / 2 < 0, Z = J ? D < L ? D - L : D - M : 0;
1108
1108
  return {
1109
- [m]: h[m] + J,
1109
+ [m]: h[m] + Z,
1110
1110
  data: {
1111
1111
  [m]: W,
1112
- centerOffset: D - W - J,
1113
- ...X && {
1114
- alignmentOffset: J
1112
+ centerOffset: D - W - Z,
1113
+ ...J && {
1114
+ alignmentOffset: Z
1115
1115
  }
1116
1116
  },
1117
- reset: X
1117
+ reset: J
1118
1118
  };
1119
1119
  }
1120
1120
  }), So = function(e) {
@@ -1141,9 +1141,9 @@ const ko = (e) => ({
1141
1141
  } = Re(e, t);
1142
1142
  if ((n = l.arrow) != null && n.alignmentOffset)
1143
1143
  return {};
1144
- const x = be(s), b = be(r) === r, A = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), C = h || (b || !w ? [Me(r)] : bo(r));
1144
+ const x = _e(s), _ = _e(r) === r, A = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), C = h || (_ || !w ? [Me(r)] : bo(r));
1145
1145
  !h && g !== "none" && C.push(...wo(r, w, g, A));
1146
- const _ = [r, ...C], y = await Et(t, k), S = [];
1146
+ const b = [r, ...C], y = await Et(t, k), S = [];
1147
1147
  let V = ((o = l.flip) == null ? void 0 : o.overflows) || [];
1148
1148
  if (v && S.push(y[x]), f) {
1149
1149
  const L = yo(s, i, A);
@@ -1154,7 +1154,7 @@ const ko = (e) => ({
1154
1154
  overflows: S
1155
1155
  }], !S.every((L) => L <= 0)) {
1156
1156
  var F, E;
1157
- const L = (((F = l.flip) == null ? void 0 : F.index) || 0) + 1, M = _[L];
1157
+ const L = (((F = l.flip) == null ? void 0 : F.index) || 0) + 1, M = b[L];
1158
1158
  if (M)
1159
1159
  return {
1160
1160
  data: {
@@ -1165,12 +1165,12 @@ const ko = (e) => ({
1165
1165
  placement: M
1166
1166
  }
1167
1167
  };
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;
1168
+ let D = (E = V.filter((W) => W.overflows[0] <= 0).sort((W, J) => W.overflows[1] - J.overflows[1])[0]) == null ? void 0 : E.placement;
1169
1169
  if (!D)
1170
1170
  switch (m) {
1171
1171
  case "bestFit": {
1172
1172
  var B;
1173
- const W = (B = 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 : B[0];
1173
+ const W = (B = V.map((J) => [J.placement, J.overflows.filter((Z) => Z > 0).reduce((Z, he) => Z + he, 0)]).sort((J, Z) => J[1] - Z[1])[0]) == null ? void 0 : B[0];
1174
1174
  W && (D = W);
1175
1175
  break;
1176
1176
  }
@@ -1194,7 +1194,7 @@ async function Co(e, t) {
1194
1194
  placement: n,
1195
1195
  platform: o,
1196
1196
  elements: s
1197
- } = e, l = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), i = be(n), r = Oe(n), a = Fe(n) === "y", d = ["left", "top"].includes(i) ? -1 : 1, v = l && a ? -1 : 1, f = Re(t, e);
1197
+ } = e, l = await (o.isRTL == null ? void 0 : o.isRTL(s.floating)), i = _e(n), r = Oe(n), a = Fe(n) === "y", d = ["left", "top"].includes(i) ? -1 : 1, v = l && a ? -1 : 1, f = Re(t, e);
1198
1198
  let {
1199
1199
  mainAxis: h,
1200
1200
  crossAxis: m,
@@ -1255,11 +1255,11 @@ const Lo = function(e) {
1255
1255
  fn: (k) => {
1256
1256
  let {
1257
1257
  x,
1258
- y: b
1258
+ y: _
1259
1259
  } = k;
1260
1260
  return {
1261
1261
  x,
1262
- y: b
1262
+ y: _
1263
1263
  };
1264
1264
  }
1265
1265
  },
@@ -1267,15 +1267,15 @@ const Lo = function(e) {
1267
1267
  } = Re(e, t), d = {
1268
1268
  x: n,
1269
1269
  y: o
1270
- }, v = await Et(t, a), f = Fe(be(s)), h = Lt(f);
1270
+ }, v = await Et(t, a), f = Fe(_e(s)), h = Lt(f);
1271
1271
  let m = d[h], g = d[f];
1272
1272
  if (l) {
1273
- const k = h === "y" ? "top" : "left", x = h === "y" ? "bottom" : "right", b = m + v[k], A = m - v[x];
1274
- m = Qe(b, m, A);
1273
+ const k = h === "y" ? "top" : "left", x = h === "y" ? "bottom" : "right", _ = m + v[k], A = m - v[x];
1274
+ m = Qe(_, m, A);
1275
1275
  }
1276
1276
  if (i) {
1277
- const k = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", b = g + v[k], A = g - v[x];
1278
- g = Qe(b, g, A);
1277
+ const k = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", _ = g + v[k], A = g - v[x];
1278
+ g = Qe(_, g, A);
1279
1279
  }
1280
1280
  const w = r.fn({
1281
1281
  ...t,
@@ -1419,7 +1419,7 @@ function Rt(e) {
1419
1419
  function Io(e, t, n) {
1420
1420
  return t === void 0 && (t = !1), !n || t && n !== ee(e) ? !1 : t;
1421
1421
  }
1422
- function _e(e, t, n, o) {
1422
+ function we(e, t, n, o) {
1423
1423
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1424
1424
  const s = e.getBoundingClientRect(), l = dt(e);
1425
1425
  let i = de(1);
@@ -1430,7 +1430,7 @@ function _e(e, t, n, o) {
1430
1430
  const h = ee(l), m = o && ae(o) ? ee(o) : o;
1431
1431
  let g = h, w = g.frameElement;
1432
1432
  for (; w && o && m !== g; ) {
1433
- const k = $e(w), x = w.getBoundingClientRect(), b = ne(w), A = x.left + (w.clientLeft + parseFloat(b.paddingLeft)) * k.x, C = x.top + (w.clientTop + parseFloat(b.paddingTop)) * k.y;
1433
+ const k = $e(w), x = w.getBoundingClientRect(), _ = ne(w), A = x.left + (w.clientLeft + parseFloat(_.paddingLeft)) * k.x, C = x.top + (w.clientTop + parseFloat(_.paddingTop)) * k.y;
1434
1434
  a *= k.x, d *= k.y, v *= k.x, f *= k.y, a += A, d += C, g = ee(w), w = g.frameElement;
1435
1435
  }
1436
1436
  }
@@ -1467,7 +1467,7 @@ function Oo(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 = _e(o);
1470
+ const h = we(o);
1471
1471
  d = $e(o), v.x = h.x + o.clientLeft, v.y = h.y + o.clientTop;
1472
1472
  }
1473
1473
  return {
@@ -1481,13 +1481,13 @@ function Vo(e) {
1481
1481
  return Array.from(e.getClientRects());
1482
1482
  }
1483
1483
  function Vt(e) {
1484
- return _e(ce(e)).left + je(e).scrollLeft;
1484
+ return we(ce(e)).left + je(e).scrollLeft;
1485
1485
  }
1486
1486
  function To(e) {
1487
- const t = ce(e), n = je(e), o = e.ownerDocument.body, s = ge(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), l = ge(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
1487
+ const t = ce(e), n = je(e), o = e.ownerDocument.body, s = ye(t.scrollWidth, t.clientWidth, o.scrollWidth, o.clientWidth), l = ye(t.scrollHeight, t.clientHeight, o.scrollHeight, o.clientHeight);
1488
1488
  let i = -n.scrollLeft + Vt(e);
1489
1489
  const r = -n.scrollTop;
1490
- return ne(o).direction === "rtl" && (i += ge(t.clientWidth, o.clientWidth) - s), {
1490
+ return ne(o).direction === "rtl" && (i += ye(t.clientWidth, o.clientWidth) - s), {
1491
1491
  width: s,
1492
1492
  height: l,
1493
1493
  x: i,
@@ -1510,7 +1510,7 @@ function No(e, t) {
1510
1510
  };
1511
1511
  }
1512
1512
  function Mo(e, t) {
1513
- const n = _e(e, !0, t === "fixed"), o = n.top + e.clientTop, s = n.left + e.clientLeft, l = se(e) ? $e(e) : de(1), i = e.clientWidth * l.x, r = e.clientHeight * l.y, a = s * l.x, d = o * l.y;
1513
+ const n = we(e, !0, t === "fixed"), o = n.top + e.clientTop, s = n.left + e.clientLeft, l = se(e) ? $e(e) : de(1), i = e.clientWidth * l.x, r = e.clientHeight * l.y, a = s * l.x, d = o * l.y;
1514
1514
  return {
1515
1515
  width: i,
1516
1516
  height: r,
@@ -1562,7 +1562,7 @@ function Po(e) {
1562
1562
  } = e;
1563
1563
  const i = [...n === "clippingAncestors" ? Do(t, this._c) : [].concat(n), o], r = i[0], a = i.reduce((d, v) => {
1564
1564
  const f = mt(t, v, s);
1565
- return d.top = ge(f.top, d.top), d.right = ke(f.right, d.right), d.bottom = ke(f.bottom, d.bottom), d.left = ge(f.left, d.left), d;
1565
+ return d.top = ye(f.top, d.top), d.right = ke(f.right, d.right), d.bottom = ke(f.bottom, d.bottom), d.left = ye(f.left, d.left), d;
1566
1566
  }, mt(t, r, s));
1567
1567
  return {
1568
1568
  width: a.right - a.left,
@@ -1582,7 +1582,7 @@ function Ho(e) {
1582
1582
  };
1583
1583
  }
1584
1584
  function Fo(e, t, n) {
1585
- const o = se(t), s = ce(t), l = n === "fixed", i = _e(e, !0, l, t);
1585
+ const o = se(t), s = ce(t), l = n === "fixed", i = we(e, !0, l, t);
1586
1586
  let r = {
1587
1587
  scrollLeft: 0,
1588
1588
  scrollTop: 0
@@ -1590,7 +1590,7 @@ function Fo(e, t, n) {
1590
1590
  const a = de(0);
1591
1591
  if (o || !o && !l)
1592
1592
  if ((ue(t) !== "body" || Ve(s)) && (r = je(t)), o) {
1593
- const f = _e(t, !0, l, t);
1593
+ const f = we(t, !0, l, t);
1594
1594
  a.x = f.x + t.clientLeft, a.y = f.y + t.clientTop;
1595
1595
  } else
1596
1596
  s && (a.x = Vt(s));
@@ -1657,13 +1657,13 @@ function Uo(e, t) {
1657
1657
  } = e.getBoundingClientRect();
1658
1658
  if (r || t(), !f || !h)
1659
1659
  return;
1660
- const m = Te(v), g = Te(s.clientWidth - (d + f)), w = Te(s.clientHeight - (v + h)), k = Te(d), b = {
1660
+ const m = Te(v), g = Te(s.clientWidth - (d + f)), w = Te(s.clientHeight - (v + h)), k = Te(d), _ = {
1661
1661
  rootMargin: -m + "px " + -g + "px " + -w + "px " + -k + "px",
1662
- threshold: ge(0, ke(1, a)) || 1
1662
+ threshold: ye(0, ke(1, a)) || 1
1663
1663
  };
1664
1664
  let A = !0;
1665
- function C(_) {
1666
- const y = _[0].intersectionRatio;
1665
+ function C(b) {
1666
+ const y = b[0].intersectionRatio;
1667
1667
  if (y !== a) {
1668
1668
  if (!A)
1669
1669
  return i();
@@ -1675,12 +1675,12 @@ function Uo(e, t) {
1675
1675
  }
1676
1676
  try {
1677
1677
  n = new IntersectionObserver(C, {
1678
- ...b,
1678
+ ..._,
1679
1679
  // Handle <iframe>s
1680
1680
  root: s.ownerDocument
1681
1681
  });
1682
1682
  } catch {
1683
- n = new IntersectionObserver(C, b);
1683
+ n = new IntersectionObserver(C, _);
1684
1684
  }
1685
1685
  n.observe(e);
1686
1686
  }
@@ -1703,22 +1703,22 @@ function Ko(e, t, n, o) {
1703
1703
  const f = d && r ? Uo(d, n) : null;
1704
1704
  let h = -1, m = null;
1705
1705
  i && (m = new ResizeObserver((x) => {
1706
- let [b] = x;
1707
- b && b.target === d && m && (m.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1706
+ let [_] = x;
1707
+ _ && _.target === d && m && (m.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1708
1708
  var A;
1709
1709
  (A = m) == null || A.observe(t);
1710
1710
  })), n();
1711
1711
  }), d && !a && m.observe(d), m.observe(t));
1712
- let g, w = a ? _e(e) : null;
1712
+ let g, w = a ? we(e) : null;
1713
1713
  a && k();
1714
1714
  function k() {
1715
- const x = _e(e);
1715
+ const x = we(e);
1716
1716
  w && (x.x !== w.x || x.y !== w.y || x.width !== w.width || x.height !== w.height) && n(), w = x, g = requestAnimationFrame(k);
1717
1717
  }
1718
1718
  return n(), () => {
1719
1719
  var x;
1720
- v.forEach((b) => {
1721
- s && b.removeEventListener("scroll", n), l && b.removeEventListener("resize", n);
1720
+ v.forEach((_) => {
1721
+ s && _.removeEventListener("scroll", n), l && _.removeEventListener("resize", n);
1722
1722
  }), f == null || f(), (x = m) == null || x.disconnect(), m = null, a && cancelAnimationFrame(g);
1723
1723
  };
1724
1724
  }
@@ -1735,10 +1735,10 @@ const Go = Ao, Yo = So, Xo = ko, yt = (e, t, n) => {
1735
1735
  platform: l
1736
1736
  });
1737
1737
  };
1738
- let Ye;
1738
+ let Ye = null;
1739
1739
  const Xe = "abl-popper-container-1996", Jo = () => {
1740
1740
  if (typeof window < "u" && typeof document < "u" && document && document.body) {
1741
- if (!Ye && !(document != null && document.querySelector(`#${Xe}`))) {
1741
+ if (!Ye && document && !(document != null && document.querySelector(`#${Xe}`))) {
1742
1742
  const e = document == null ? void 0 : document.createElement("div");
1743
1743
  e.id = Xe, Ye = e, document == null || document.body.appendChild(e);
1744
1744
  }
@@ -1760,9 +1760,9 @@ const Xe = "abl-popper-container-1996", Jo = () => {
1760
1760
  return;
1761
1761
  const v = () => {
1762
1762
  !o.value || !s.value || yt(o.value, s.value, {
1763
- middleware: Z(e),
1764
- placement: Z(t),
1765
- strategy: Z(n)
1763
+ middleware: G(e),
1764
+ placement: G(t),
1765
+ strategy: G(n)
1766
1766
  }).then(({ x: h, y: m }) => {
1767
1767
  s.value && Object.assign(s.value.style, {
1768
1768
  left: `${h}px`,
@@ -1770,15 +1770,15 @@ const Xe = "abl-popper-container-1996", Jo = () => {
1770
1770
  });
1771
1771
  });
1772
1772
  }, f = await yt(o.value, s.value, {
1773
- middleware: Z(e),
1774
- placement: Z(t),
1775
- strategy: Z(n)
1773
+ middleware: G(e),
1774
+ placement: G(t),
1775
+ strategy: G(n)
1776
1776
  });
1777
1777
  Ko(o.value, s.value, v), Object.keys(a).forEach((h) => {
1778
1778
  a[h].value = f[h];
1779
1779
  });
1780
1780
  }
1781
- return we(() => {
1781
+ return pe(() => {
1782
1782
  Ce(() => {
1783
1783
  d();
1784
1784
  });
@@ -1798,7 +1798,7 @@ function Qo({ hover: e }) {
1798
1798
  }, d = () => {
1799
1799
  i();
1800
1800
  };
1801
- return we(() => {
1801
+ return pe(() => {
1802
1802
  t.value && (t.value.addEventListener("click", a), e.value && (t.value.addEventListener("mouseover", function(v) {
1803
1803
  l();
1804
1804
  }), t.value.addEventListener("mouseout", function(v) {
@@ -1852,9 +1852,15 @@ const es = ["data-side"], Mt = /* @__PURE__ */ Pe({
1852
1852
  }
1853
1853
  },
1854
1854
  setup(e, { expose: t }) {
1855
- const n = e, { selector: o } = Jo(), s = $(), l = T(() => {
1856
- const _ = [Go(), Yo(), Lo(10)];
1857
- return n.showArrow && _.push(Xo({ element: s.value })), _;
1855
+ const n = e;
1856
+ let o = $();
1857
+ pe(() => {
1858
+ const { selector: b } = Jo();
1859
+ o.value = b;
1860
+ });
1861
+ const s = $(), l = T(() => {
1862
+ const b = [Go(), Yo(), Lo(10)];
1863
+ return n.showArrow && b.push(Xo({ element: s.value })), b;
1858
1864
  }), i = $(n.placement), r = $(n.strategy), a = $(n.hover), {
1859
1865
  setTriggerRef: d,
1860
1866
  triggerRef: v,
@@ -1866,46 +1872,47 @@ const es = ["data-side"], Mt = /* @__PURE__ */ Pe({
1866
1872
  y: w,
1867
1873
  contentRef: k,
1868
1874
  middlewareData: x
1869
- } = Zo({ middleware: l, placement: i, strategy: r }, v), b = T(() => i.value.split("-")[0]), A = T(() => ({ left: g.value + "px", top: w.value + "px" })), C = T(() => {
1875
+ } = Zo({ middleware: l, placement: i, strategy: r }, v), _ = T(() => i.value.split("-")[0]), A = T(() => ({ left: g.value + "px", top: w.value + "px" })), C = T(() => {
1870
1876
  if (!n.showArrow)
1871
1877
  return {};
1872
- const { arrow: _ } = Z(x);
1878
+ const { arrow: b } = G(x);
1873
1879
  return {
1874
- left: (_ == null ? void 0 : _.x) + "px",
1875
- top: (_ == null ? void 0 : _.y) + "px"
1880
+ left: (b == null ? void 0 : b.x) + "px",
1881
+ top: (b == null ? void 0 : b.y) + "px"
1876
1882
  };
1877
1883
  });
1878
1884
  return t({
1879
1885
  open,
1880
1886
  close: m
1881
- }), (_, y) => (u(), p(H, null, [
1882
- Z(h) ? (u(), p("span", ye({
1887
+ }), (b, y) => (u(), p(H, null, [
1888
+ G(h) ? (u(), p("span", be({
1883
1889
  key: 0,
1884
1890
  ref_key: "triggerRef",
1885
1891
  ref: v,
1886
1892
  class: "abl-popper__trigger"
1887
- }, _.$attrs), [
1888
- z(_.$slots, "default")
1889
- ], 16)) : (u(), te(Kt(_.$slots.default), ye({
1893
+ }, b.$attrs), [
1894
+ z(b.$slots, "default")
1895
+ ], 16)) : (u(), te(Kt(b.$slots.default), be({
1890
1896
  key: 1,
1891
- ref: Z(d)
1892
- }, _.$attrs), null, 16)),
1893
- (u(), te(He, {
1894
- to: `#${Z(o)}`
1897
+ ref: G(d)
1898
+ }, b.$attrs), null, 16)),
1899
+ G(o) ? (u(), te(He, {
1900
+ key: 2,
1901
+ to: `#${G(o)}`
1895
1902
  }, [
1896
1903
  Q(oe, { name: e.transitionName }, {
1897
1904
  default: K(() => [
1898
- Z(f) ? (u(), p("div", {
1905
+ G(f) ? (u(), p("div", {
1899
1906
  key: 0,
1900
1907
  ref_key: "contentRef",
1901
1908
  ref: k,
1902
1909
  class: R(["abl-popper", `is-${e.effect}`, e.popperClass]),
1903
1910
  style: O(A.value),
1904
- "data-side": b.value,
1911
+ "data-side": _.value,
1905
1912
  onMousedown: y[0] || (y[0] = P(() => {
1906
1913
  }, ["stop"]))
1907
1914
  }, [
1908
- z(_.$slots, "content", {}, () => [
1915
+ z(b.$slots, "content", {}, () => [
1909
1916
  j(N(e.content), 1)
1910
1917
  ]),
1911
1918
  e.showArrow ? (u(), p("span", {
@@ -1919,7 +1926,7 @@ const es = ["data-side"], Mt = /* @__PURE__ */ Pe({
1919
1926
  ]),
1920
1927
  _: 3
1921
1928
  }, 8, ["name"])
1922
- ], 8, ["to"]))
1929
+ ], 8, ["to"])) : I("", !0)
1923
1930
  ], 64));
1924
1931
  }
1925
1932
  });
@@ -2019,7 +2026,7 @@ const ts = ["innerHTML"], Dt = /* @__PURE__ */ Pe({
2019
2026
  type: String,
2020
2027
  default: ""
2021
2028
  }
2022
- }, i = Gt(), r = $(), a = (w, k) => k.reduce((x, b) => (x[b] = w[b], x), {}), d = T(() => ({ ...i, ...a(n, Object.keys(l)) })), f = (() => {
2029
+ }, i = Gt(), r = $(), a = (w, k) => k.reduce((x, _) => (x[_] = w[_], x), {}), d = T(() => ({ ...i, ...a(n, Object.keys(l)) })), f = (() => {
2023
2030
  const w = Yt();
2024
2031
  return T(() => {
2025
2032
  if (w != null && w.slots.default) {
@@ -2041,10 +2048,10 @@ const ts = ["innerHTML"], Dt = /* @__PURE__ */ Pe({
2041
2048
  update: h,
2042
2049
  open: m,
2043
2050
  close: g
2044
- }), (w, k) => (u(), te(Mt, ye({
2051
+ }), (w, k) => (u(), te(Mt, be({
2045
2052
  ref_key: "popperRef",
2046
2053
  ref: r
2047
- }, d.value, { nowrap: Z(f) }), {
2054
+ }, d.value, { nowrap: G(f) }), {
2048
2055
  content: K(() => [
2049
2056
  z(w.$slots, "content", {}, () => [
2050
2057
  e.rawContent ? (u(), p("span", {
@@ -2113,7 +2120,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), ns = ["onClick"], o
2113
2120
  emits: ["update:modelValue", "change", "hoverChange"],
2114
2121
  setup(e, { emit: t }) {
2115
2122
  const n = e, o = $(n.modelValue), s = $();
2116
- me(
2123
+ ge(
2117
2124
  () => n.modelValue,
2118
2125
  (h) => {
2119
2126
  o.value = h;
@@ -2137,7 +2144,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), ns = ["onClick"], o
2137
2144
  style: O(`--color: ${e.color};`),
2138
2145
  onMouseleave: v
2139
2146
  }, [
2140
- (u(!0), p(H, null, G(e.count, (g) => (u(), p("div", {
2147
+ (u(!0), p(H, null, Y(e.count, (g) => (u(), p("div", {
2141
2148
  class: R(["abl-rate-star", { "abl-rate-star-half": e.allowHalf && o.value >= g - 0.5 && o.value < g, "abl-rate-star-full": o.value >= g, "temp-gray": !e.allowHalf && s.value === g }]),
2142
2149
  style: O(`margin-right: ${g !== e.count ? e.gap : 0}px;`),
2143
2150
  onClick: (w) => e.allowHalf ? f(w) : i(g),
@@ -2226,7 +2233,7 @@ const qe = (e) => (ie("data-v-bc247383"), e = e(), re(), e), ns = ["onClick"], o
2226
2233
  };
2227
2234
  return ze(
2228
2235
  "CollapseKey",
2229
- ve({
2236
+ me({
2230
2237
  ...Be(n),
2231
2238
  changeEvent: s
2232
2239
  })
@@ -2320,7 +2327,7 @@ const gs = (e) => (ie("data-v-0789818d"), e = e(), re(), e), ys = { class: "abl-
2320
2327
  }, [
2321
2328
  z(a.$slots, "default", {}, void 0, !0)
2322
2329
  ], 512), [
2323
- [Y, i.value]
2330
+ [X, i.value]
2324
2331
  ])
2325
2332
  ]),
2326
2333
  _: 3
@@ -2608,25 +2615,25 @@ const Ns = /* @__PURE__ */ c("div", {
2608
2615
  i.value = (i.value + 1) % s.value;
2609
2616
  }, x = (E) => {
2610
2617
  i.value = (i.value - 1 + s.value) % s.value;
2611
- }, b = () => {
2618
+ }, _ = () => {
2612
2619
  r.value + o.zoomRate > o.maxScale ? r.value = o.maxScale : r.value = g(r.value, o.zoomRate);
2613
2620
  }, A = () => {
2614
2621
  r.value - o.zoomRate < o.minScale ? r.value = o.minScale : r.value = g(r.value, -o.zoomRate);
2615
2622
  }, C = () => {
2616
2623
  h.value -= 90;
2617
- }, _ = () => {
2624
+ }, b = () => {
2618
2625
  h.value += 90;
2619
2626
  }, y = () => {
2620
2627
  h.value = 0, r.value = 1, v.value = 0, f.value = 0;
2621
2628
  }, S = (E) => {
2622
2629
  console.log("e====", E);
2623
- const B = E.target, { top: L, left: M, right: D, bottom: W } = B.getBoundingClientRect(), X = document.documentElement.clientWidth, J = document.documentElement.clientHeight;
2630
+ const B = E.target, { top: L, left: M, right: D, bottom: W } = B.getBoundingClientRect(), J = document.documentElement.clientWidth, Z = document.documentElement.clientHeight;
2624
2631
  a.value = E.clientX, d.value = E.clientY;
2625
- const pe = v.value, Le = f.value;
2632
+ const he = v.value, Le = f.value;
2626
2633
  document.onmousemove = (Ke) => {
2627
- v.value = pe + Ke.clientX - a.value, f.value = Le + Ke.clientY - d.value;
2634
+ v.value = he + Ke.clientX - a.value, f.value = Le + Ke.clientY - d.value;
2628
2635
  }, document.onmouseup = (Ke) => {
2629
- v.value > pe + X - D && (v.value = pe + X - D), v.value < pe - M && (v.value = pe - M), f.value > Le + J - W && (f.value = Le + J - W), f.value < Le - L && (f.value = Le - L), document.onmousemove = null;
2636
+ v.value > he + J - D && (v.value = he + J - D), v.value < he - M && (v.value = he - M), f.value > Le + Z - W && (f.value = Le + Z - W), f.value < Le - L && (f.value = Le - L), document.onmousemove = null;
2630
2637
  };
2631
2638
  }, V = (E) => {
2632
2639
  const B = E.deltaY * o.zoomRate * 0.1;
@@ -2657,7 +2664,7 @@ const Ns = /* @__PURE__ */ c("div", {
2657
2664
  class: "abl-image-preview",
2658
2665
  style: O(`transform: translate3d(${v.value}px, ${f.value}px, 0px);`)
2659
2666
  }, [
2660
- (u(!0), p(H, null, G(e.previewSrcList, (L, M) => U((u(), p("div", {
2667
+ (u(!0), p(H, null, Y(e.previewSrcList, (L, M) => U((u(), p("div", {
2661
2668
  key: M,
2662
2669
  class: "abl-image-preview__box"
2663
2670
  }, [
@@ -2675,7 +2682,7 @@ const Ns = /* @__PURE__ */ c("div", {
2675
2682
  c("div", Hs, N(`${i.value + 1}/${s.value}`), 1)
2676
2683
  ])) : I("", !0)
2677
2684
  ])), [
2678
- [Y, i.value === M]
2685
+ [X, i.value === M]
2679
2686
  ])), 128))
2680
2687
  ], 4),
2681
2688
  s.value > 1 ? (u(), p(H, { key: 0 }, [
@@ -2700,7 +2707,7 @@ const Ns = /* @__PURE__ */ c("div", {
2700
2707
  }, Js),
2701
2708
  c("i", {
2702
2709
  class: "abl-icon",
2703
- onClick: P(b, ["stop"])
2710
+ onClick: P(_, ["stop"])
2704
2711
  }, Qs),
2705
2712
  c("i", {
2706
2713
  class: "abl-icon",
@@ -2712,7 +2719,7 @@ const Ns = /* @__PURE__ */ c("div", {
2712
2719
  }, ol),
2713
2720
  c("i", {
2714
2721
  class: "abl-icon",
2715
- onClick: _
2722
+ onClick: b
2716
2723
  }, ll)
2717
2724
  ])
2718
2725
  ])
@@ -2799,14 +2806,14 @@ const al = { class: "abl-image-wrap" }, il = ["src"], Ft = {
2799
2806
  style: O(`width: ${e.width}`),
2800
2807
  onClick: r
2801
2808
  }, [
2802
- n.lazy ? U((u(), p("img", ye({
2809
+ n.lazy ? U((u(), p("img", be({
2803
2810
  key: 0,
2804
2811
  onLoad: i,
2805
2812
  ref_key: "imgRef",
2806
2813
  ref: l
2807
2814
  }, v), null, 16)), [
2808
2815
  [m, e.src]
2809
- ]) : (u(), p("img", ye({
2816
+ ]) : (u(), p("img", be({
2810
2817
  key: 1,
2811
2818
  onLoad: i,
2812
2819
  ref_key: "imgRef",
@@ -2829,7 +2836,7 @@ const al = { class: "abl-image-wrap" }, il = ["src"], Ft = {
2829
2836
  ]);
2830
2837
  };
2831
2838
  }
2832
- }, fe = typeof window < "u" && window !== null && typeof document < "u", _t = fe && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype, he = {
2839
+ }, fe = typeof window < "u" && window !== null && typeof document < "u", _t = fe && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype, ve = {
2833
2840
  event: "event",
2834
2841
  observer: "observer"
2835
2842
  };
@@ -3148,7 +3155,7 @@ function jt() {
3148
3155
  observer: m,
3149
3156
  observerOptions: g
3150
3157
  }) {
3151
- this.mode = he.event, this.listeners = [], this.targetIndex = 0, this.targets = [], this.options = {
3158
+ this.mode = ve.event, this.listeners = [], this.targetIndex = 0, this.targets = [], this.options = {
3152
3159
  silent: a,
3153
3160
  dispatchEvent: !!l,
3154
3161
  throttleWait: o || 200,
@@ -3167,7 +3174,7 @@ function jt() {
3167
3174
  }, this.initEvent(), this.imageCache = new gl({ max: 200 }), this.lazyLoadHandler = dl(
3168
3175
  this.lazyLoadHandler.bind(this),
3169
3176
  this.options.throttleWait
3170
- ), this.setMode(this.options.observer ? he.observer : he.event);
3177
+ ), this.setMode(this.options.observer ? ve.observer : ve.event);
3171
3178
  }
3172
3179
  /**
3173
3180
  * update config
@@ -3262,7 +3269,7 @@ function jt() {
3262
3269
  t && (Ae(this.listeners, t), this.observer && this.observer.unobserve(t.el), t.$parent && t.$el.parentNode && this.removeListenerTarget(t.$el.parentNode), this.removeListenerTarget(window));
3263
3270
  }
3264
3271
  setMode(t) {
3265
- !_t && t === he.observer && (t = he.event), this.mode = t, t === he.event ? (this.observer && (this.listeners.forEach((n) => {
3272
+ !_t && t === ve.observer && (t = ve.event), this.mode = t, t === ve.event ? (this.observer && (this.listeners.forEach((n) => {
3266
3273
  this.observer.unobserve(n.el);
3267
3274
  }), this.observer = null), this.targets.forEach((n) => {
3268
3275
  this.initListen(n.el, !0);
@@ -3287,7 +3294,7 @@ function jt() {
3287
3294
  id: ++this.targetIndex,
3288
3295
  childrenCount: 1,
3289
3296
  listened: !0
3290
- }, this.mode === he.event && this.initListen(n.el, !0), this.targets.push(n)), this.targetIndex;
3297
+ }, this.mode === ve.event && this.initListen(n.el, !0), this.targets.push(n)), this.targetIndex;
3291
3298
  }
3292
3299
  /*
3293
3300
  * remove listener target or reduce target childrenCount
@@ -3700,7 +3707,7 @@ const Sl = {
3700
3707
  key: 0,
3701
3708
  width: "40%"
3702
3709
  })) : I("", !0),
3703
- ((i = o.value) == null ? void 0 : i.length) > 0 ? (u(!0), p(H, { key: 1 }, G(o.value, (r, a) => (u(), te(ot, {
3710
+ ((i = o.value) == null ? void 0 : i.length) > 0 ? (u(!0), p(H, { key: 1 }, Y(o.value, (r, a) => (u(), te(ot, {
3704
3711
  width: n(a)
3705
3712
  }, null, 8, ["width"]))), 256)) : I("", !0)
3706
3713
  ])
@@ -3744,7 +3751,7 @@ const zl = /* @__PURE__ */ c("svg", {
3744
3751
  const { target: s } = o;
3745
3752
  t.value.contains(s) || e(o);
3746
3753
  };
3747
- return we(() => {
3754
+ return pe(() => {
3748
3755
  t && document.addEventListener("click", n);
3749
3756
  }), St(() => {
3750
3757
  document.removeEventListener("click", n);
@@ -3811,9 +3818,9 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3811
3818
  },
3812
3819
  emits: ["open", "close"],
3813
3820
  setup(e, { emit: t }) {
3814
- var _;
3821
+ var b;
3815
3822
  const n = t, o = st(), s = typeof window < "u" && typeof document < "u", l = e, i = $([]);
3816
- (_ = o.default()) == null || _.forEach((y) => {
3823
+ (b = o.default()) == null || b.forEach((y) => {
3817
3824
  const { props: S } = y;
3818
3825
  if (S) {
3819
3826
  const { title: V, disabled: F } = S;
@@ -3824,7 +3831,7 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3824
3831
  }
3825
3832
  }), console.log("menuList.value", i.value);
3826
3833
  const r = $(), a = $(), d = $(!1), v = $(0), f = $(""), h = $(!1), m = (y) => typeof y == "number" ? y + "px" : y;
3827
- me(
3834
+ ge(
3828
3835
  () => d.value,
3829
3836
  (y) => {
3830
3837
  s && (y ? document.body.classList.add("abl-overflow-hidden") : document.body.classList.remove("abl-overflow-hidden"));
@@ -3858,16 +3865,16 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3858
3865
  return;
3859
3866
  const { top: y, bottom: S } = (V = r == null ? void 0 : r.value) == null ? void 0 : V.getBoundingClientRect();
3860
3867
  S > 0 && (v.value = S - 1);
3861
- }, b = () => {
3868
+ }, _ = () => {
3862
3869
  l.closeOnClickMask && k();
3863
- }, A = ve({
3870
+ }, A = me({
3864
3871
  ...Be(l),
3865
3872
  onClose: k,
3866
3873
  current: f
3867
3874
  }), C = Rl(() => {
3868
3875
  h.value && k();
3869
3876
  });
3870
- return ze(Pl, A), we(() => {
3877
+ return ze(Pl, A), pe(() => {
3871
3878
  x();
3872
3879
  }), (y, S) => (u(), p("div", {
3873
3880
  class: "abl-dropdown",
@@ -3882,7 +3889,7 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3882
3889
  ref_key: "dropdownMenuRef",
3883
3890
  ref: r
3884
3891
  }, [
3885
- (u(!0), p(H, null, G(i.value, (V, F) => (u(), p("div", {
3892
+ (u(!0), p(H, null, Y(i.value, (V, F) => (u(), p("div", {
3886
3893
  class: "abl-dropdown-menu__item",
3887
3894
  key: F,
3888
3895
  onClick: P((E) => g(V, F), ["stop"])
@@ -3910,14 +3917,14 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3910
3917
  top: m(v.value)
3911
3918
  }
3912
3919
  ]),
3913
- onClick: b,
3920
+ onClick: _,
3914
3921
  onTouchmove: S[1] || (S[1] = P(() => {
3915
3922
  }, ["prevent"]))
3916
3923
  }, [
3917
3924
  Q(oe, { name: "fade-mask" }, {
3918
3925
  default: K(() => [
3919
3926
  U(c("div", Dl, null, 512), [
3920
- [Y, d.value]
3927
+ [X, d.value]
3921
3928
  ])
3922
3929
  ]),
3923
3930
  _: 1
@@ -3933,13 +3940,13 @@ const Ol = (e) => (ie("data-v-68729f58"), e = e(), re(), e), Vl = ["onClick"], T
3933
3940
  }, [
3934
3941
  z(y.$slots, "default", {}, void 0, !0)
3935
3942
  ], 544), [
3936
- [Y, d.value]
3943
+ [X, d.value]
3937
3944
  ])
3938
3945
  ]),
3939
3946
  _: 3
3940
3947
  })
3941
3948
  ], 36), [
3942
- [Y, h.value]
3949
+ [X, h.value]
3943
3950
  ])
3944
3951
  ], 512));
3945
3952
  }
@@ -4005,7 +4012,7 @@ const Wl = (e) => (ie("data-v-046e593c"), e = e(), re(), e), jl = ["active"], ql
4005
4012
  }, [
4006
4013
  z(r.$slots, "default", {}, () => [
4007
4014
  c("div", ql, [
4008
- (u(!0), p(H, null, G(e.options, (d, v) => (u(), te(Pt, {
4015
+ (u(!0), p(H, null, Y(e.options, (d, v) => (u(), te(Pt, {
4009
4016
  title: d.text,
4010
4017
  onClick: (f) => i(d.value),
4011
4018
  class: R(["abl-dropdown-item__option", s.modelValue === d.value && "abl-dropdown-item__option--active"])
@@ -4115,7 +4122,7 @@ const na = {
4115
4122
  },
4116
4123
  clear: m,
4117
4124
  input: () => l.value
4118
- }), (x, b) => (u(), p("div", {
4125
+ }), (x, _) => (u(), p("div", {
4119
4126
  class: R(["abl-input", { "is-disabled": e.disabled }])
4120
4127
  }, [
4121
4128
  c("div", {
@@ -4130,10 +4137,10 @@ const na = {
4130
4137
  class: R(["iconfont-abl", e.suffixIcon])
4131
4138
  }, null, 2)) : I("", !0)
4132
4139
  ])) : I("", !0),
4133
- U(c("input", ye({
4140
+ U(c("input", be({
4134
4141
  ref_key: "inputRef",
4135
4142
  ref: l,
4136
- "onUpdate:modelValue": b[0] || (b[0] = (A) => v.value = A),
4143
+ "onUpdate:modelValue": _[0] || (_[0] = (A) => v.value = A),
4137
4144
  class: "abl-input__inner",
4138
4145
  type: a.value,
4139
4146
  placeholder: e.placeholder,
@@ -4162,7 +4169,7 @@ const na = {
4162
4169
  class: "iconfont-abl icon-abl-close",
4163
4170
  onClick: P(m, ["stop"])
4164
4171
  }, null, 512), [
4165
- [Y, d.value]
4172
+ [X, d.value]
4166
4173
  ])
4167
4174
  ])) : I("", !0),
4168
4175
  x.$slots.suffix || e.suffixIcon ? (u(), p("span", la, [
@@ -4226,11 +4233,11 @@ const Ue = (e) => (ie("data-v-bf3795be"), e = e(), re(), e), ra = { class: "abl-
4226
4233
  c("img", { src: e.logo }, null, 8, ua)
4227
4234
  ])) : e.indicator === "dot" ? (u(), p("div", fa, ga)) : I("", !0),
4228
4235
  U(c("p", { class: "abl-tip" }, N(e.tip), 513), [
4229
- [Y, e.tip]
4236
+ [X, e.tip]
4230
4237
  ])
4231
4238
  ])
4232
4239
  ], 512), [
4233
- [Y, e.spinning]
4240
+ [X, e.spinning]
4234
4241
  ]),
4235
4242
  c("div", {
4236
4243
  class: R(["abl-spin-content", { "abl-spin-mask": e.spinning }])
@@ -4320,32 +4327,32 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4320
4327
  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;
4321
4328
  }
4322
4329
  const d = (C) => {
4323
- const _ = /\.(jpg|jpeg|png|gif|webp)$/i, y = /^data:image/;
4324
- return _.test(C) || y.test(C);
4325
- }, v = (C, _) => {
4330
+ const b = /\.(jpg|jpeg|png|gif|webp)$/i, y = /^data:image/;
4331
+ return b.test(C) || y.test(C);
4332
+ }, v = (C, b) => {
4326
4333
  var S;
4327
4334
  const y = (S = C.dataTransfer) == null ? void 0 : S.files;
4328
4335
  if (y != null && y.length) {
4329
4336
  const V = y.length;
4330
- for (let F = 0; F < V && _ + F <= n.maxCount; F++)
4331
- g(y[F], _ + F);
4332
- i.value[_].value = "";
4337
+ for (let F = 0; F < V && b + F <= n.maxCount; F++)
4338
+ g(y[F], b + F);
4339
+ i.value[b].value = "";
4333
4340
  }
4334
4341
  }, f = (C) => {
4335
4342
  i.value[C].click();
4336
- }, h = (C, _) => {
4343
+ }, h = (C, b) => {
4337
4344
  const y = C.target.files;
4338
4345
  if (y != null && y.length) {
4339
4346
  const S = y.length;
4340
- for (let V = 0; V < S && _ + V < n.maxCount; V++)
4341
- g(y[V], _ + V);
4342
- i.value[_].value = "";
4347
+ for (let V = 0; V < S && b + V < n.maxCount; V++)
4348
+ g(y[V], b + V);
4349
+ i.value[b].value = "";
4343
4350
  }
4344
- }, m = t, g = function(C, _) {
4345
- n.beforeUpload(C) ? (n.maxCount > s.value && s.value++, n.uploadMode === "base64" && (l.value[_] = !0, w(C, _)), n.uploadMode === "custom" && (l.value[_] = !0, k(C, _))) : le(() => {
4351
+ }, m = t, g = function(C, b) {
4352
+ n.beforeUpload(C) ? (n.maxCount > s.value && s.value++, n.uploadMode === "base64" && (l.value[b] = !0, w(C, b)), n.uploadMode === "custom" && (l.value[b] = !0, k(C, b))) : le(() => {
4346
4353
  A(n.errorInfo);
4347
4354
  });
4348
- }, w = (C, _) => {
4355
+ }, w = (C, b) => {
4349
4356
  var y = new FileReader();
4350
4357
  y.readAsDataURL(C), y.onloadstart = function(S) {
4351
4358
  console.log("开始读取 onloadstart:", S);
@@ -4354,7 +4361,7 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4354
4361
  }, y.onerror = function(S) {
4355
4362
  console.log("读取错误 onerror:", S);
4356
4363
  }, y.onprogress = function(S) {
4357
- S.loaded === S.total && (l.value[_] = !1);
4364
+ S.loaded === S.total && (l.value[b] = !1);
4358
4365
  }, y.onload = function(S) {
4359
4366
  var V;
4360
4367
  o.value.push({
@@ -4364,38 +4371,38 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4364
4371
  }, y.onloadend = function(S) {
4365
4372
  console.log("读取结束 onloadend:", S);
4366
4373
  };
4367
- }, k = (C, _) => {
4374
+ }, k = (C, b) => {
4368
4375
  n.customRequest(C).then((y) => {
4369
4376
  o.value.push(y), m("update:fileList", o.value), m("change", o.value);
4370
4377
  }).catch((y) => {
4371
4378
  n.maxCount > 1 && (s.value = o.value.length + 1), A(y);
4372
4379
  }).finally(() => {
4373
- l.value[_] = !1;
4380
+ l.value[b] = !1;
4374
4381
  });
4375
- }, x = (C, _) => {
4376
- if (d(_)) {
4382
+ }, x = (C, b) => {
4383
+ if (d(b)) {
4377
4384
  const y = o.value.slice(0, C).filter((S) => !d(S.url));
4378
4385
  r.value[C - y.length].onPreview();
4379
4386
  } else
4380
- window.open(_);
4381
- }, b = (C) => {
4387
+ window.open(b);
4388
+ }, _ = (C) => {
4382
4389
  o.value.length < n.maxCount && s.value--;
4383
- const _ = o.value.splice(C, 1);
4384
- m("remove", _), m("update:fileList", o.value), m("change", o.value);
4390
+ const b = o.value.splice(C, 1);
4391
+ m("remove", b), m("update:fileList", o.value), m("change", o.value);
4385
4392
  }, A = (C) => {
4386
4393
  lt({ type: "error", text: C, duration: 1e3, top: 100 });
4387
4394
  };
4388
- return (C, _) => (u(), p("div", ba, [
4389
- (u(!0), p(H, null, G(s.value, (y) => (u(), p("div", {
4395
+ return (C, b) => (u(), p("div", ba, [
4396
+ (u(!0), p(H, null, Y(s.value, (y) => (u(), p("div", {
4390
4397
  class: "abl-upload-item",
4391
4398
  key: y
4392
4399
  }, [
4393
4400
  c("div", _a, [
4394
4401
  U(c("div", {
4395
4402
  class: R(["abl-upload-wrap", { "upload-disabled": e.disabled }]),
4396
- onDragenter: _[1] || (_[1] = P(() => {
4403
+ onDragenter: b[1] || (b[1] = P(() => {
4397
4404
  }, ["stop", "prevent"])),
4398
- onDragover: _[2] || (_[2] = P(() => {
4405
+ onDragover: b[2] || (b[2] = P(() => {
4399
4406
  }, ["stop", "prevent"])),
4400
4407
  onDrop: P((S) => e.disabled ? () => !1 : v(S, y - 1), ["stop", "prevent"]),
4401
4408
  onClick: (S) => e.disabled ? () => !1 : f(y - 1)
@@ -4405,7 +4412,7 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4405
4412
  ref_key: "uploadInput",
4406
4413
  ref: i,
4407
4414
  type: "file",
4408
- onClick: _[0] || (_[0] = P(() => {
4415
+ onClick: b[0] || (b[0] = P(() => {
4409
4416
  }, ["stop"])),
4410
4417
  accept: e.accept,
4411
4418
  multiple: e.multiple,
@@ -4421,7 +4428,7 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4421
4428
  ])
4422
4429
  ])
4423
4430
  ], 42, wa), [
4424
- [Y, !l.value[y - 1] && !o.value[y - 1]]
4431
+ [X, !l.value[y - 1] && !o.value[y - 1]]
4425
4432
  ]),
4426
4433
  U(c("div", Sa, [
4427
4434
  Q(Ut, {
@@ -4431,7 +4438,7 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4431
4438
  size: "small"
4432
4439
  }, null, 8, ["tip"])
4433
4440
  ], 512), [
4434
- [Y, l.value[y - 1]]
4441
+ [X, l.value[y - 1]]
4435
4442
  ]),
4436
4443
  o.value[y - 1] ? (u(), p("div", Ca, [
4437
4444
  d(o.value[y - 1].url) ? (u(), te(Ft, {
@@ -4454,9 +4461,9 @@ const ut = (e) => (ie("data-v-f9427f11"), e = e(), re(), e), ba = { class: "abl-
4454
4461
  U(c("a", {
4455
4462
  class: "m-icon",
4456
4463
  title: "delete",
4457
- onClick: P((S) => b(y - 1), ["prevent", "stop"])
4464
+ onClick: P((S) => _(y - 1), ["prevent", "stop"])
4458
4465
  }, Ra, 8, Ba), [
4459
- [Y, !e.disabled]
4466
+ [X, !e.disabled]
4460
4467
  ])
4461
4468
  ])
4462
4469
  ])) : I("", !0)
@@ -4516,7 +4523,7 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4516
4523
  emits: ["update:modelValue", "changeSelect"],
4517
4524
  setup(e, { emit: t }) {
4518
4525
  var F;
4519
- const n = e, o = t, s = ve({
4526
+ const n = e, o = t, s = me({
4520
4527
  effect: "light",
4521
4528
  pure: !0,
4522
4529
  trigger: "click",
@@ -4524,11 +4531,11 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4524
4531
  }), l = $(""), i = $(), r = $(null), a = $(""), d = $(), v = T(() => {
4525
4532
  var B;
4526
4533
  return { width: (((B = i.value) == null ? void 0 : B.getBoundingClientRect().width) - 20 || 0) + "px" };
4527
- }), f = $({}), h = ve({
4534
+ }), f = $({}), h = me({
4528
4535
  list: n == null ? void 0 : n.options
4529
4536
  }), m = $(!1), g = $(
4530
4537
  n.search && a.value === "focus" && m.value
4531
- ), w = $(n.disabled), k = $(n.mode === "tag"), x = $(""), b = ve(
4538
+ ), w = $(n.disabled), k = $(n.mode === "tag"), x = $(""), _ = me(
4532
4539
  (F = n == null ? void 0 : n.options) == null ? void 0 : F.filter((E) => E.selected === !0)
4533
4540
  ), A = (E) => {
4534
4541
  if (!g.value)
@@ -4547,47 +4554,47 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4547
4554
  };
4548
4555
  }
4549
4556
  n.disabled || (m.value = !0, E.stopPropagation(), a.value === "focus" ? a.value = "blur" : a.value = "focus");
4550
- }, _ = (E, B) => {
4557
+ }, b = (E, B) => {
4551
4558
  var M;
4552
4559
  if (n.disabled)
4553
4560
  return;
4554
4561
  m.value = !1, B.stopPropagation(), (M = r.value) == null || M.focus();
4555
4562
  let L = null;
4556
4563
  if (n.type === "single")
4557
- a.value = "blur", b[0] && b[0].value === E.value ? b.shift() : b[0] = E, L = E.value;
4564
+ a.value = "blur", _[0] && _[0].value === E.value ? _.shift() : _[0] = E, L = E.value;
4558
4565
  else {
4559
4566
  L || (L = []);
4560
- const D = b.findIndex((W) => W.value === E.value);
4561
- D > -1 ? b.splice(D, 1) : b.push(E), b.map((W) => {
4567
+ const D = _.findIndex((W) => W.value === E.value);
4568
+ D > -1 ? _.splice(D, 1) : _.push(E), _.map((W) => {
4562
4569
  L.push(W.value);
4563
4570
  });
4564
4571
  }
4565
- o("update:modelValue", L), o("changeSelect", Ge(b)), d.value.close();
4572
+ o("update:modelValue", L), o("changeSelect", Ge(_)), d.value.close();
4566
4573
  }, y = () => {
4567
4574
  var E;
4568
- (E = r.value) == null || E.focus(), !g.value && a.value === "focus" && b.length > 0 && (b.pop(), o("changeSelect", Ge(b)));
4575
+ (E = r.value) == null || E.focus(), !g.value && a.value === "focus" && _.length > 0 && (_.pop(), o("changeSelect", Ge(_)));
4569
4576
  }, S = (E) => {
4570
4577
  var L;
4571
4578
  (L = r.value) == null || L.focus();
4572
- const B = b.findIndex((M) => M.value === E.value);
4573
- b.splice(B, 1), o("changeSelect", Ge(b));
4579
+ const B = _.findIndex((M) => M.value === E.value);
4580
+ _.splice(B, 1), o("changeSelect", Ge(_));
4574
4581
  }, V = () => {
4575
4582
  a.value = "blur";
4576
4583
  };
4577
- return me(
4584
+ return ge(
4578
4585
  m,
4579
4586
  (E) => {
4580
4587
  g.value = n.search && a.value === "focus" && E;
4581
4588
  },
4582
4589
  { immediate: !0, deep: !0 }
4583
- ), me(
4584
- b,
4590
+ ), ge(
4591
+ _,
4585
4592
  (E) => {
4586
4593
  l.value = E.map((B) => B == null ? void 0 : B.name).join(",");
4587
4594
  },
4588
4595
  { immediate: !0, deep: !0 }
4589
- ), we(() => {
4590
- me(a, (E) => {
4596
+ ), pe(() => {
4597
+ ge(a, (E) => {
4591
4598
  var B, L;
4592
4599
  E === "focus" ? (B = r.value) == null || B.focus() : (L = r.value) == null || L.blur(), g.value = n.search && E === "focus" && m;
4593
4600
  }), document.body.addEventListener("click", () => {
@@ -4597,7 +4604,7 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4597
4604
  ref_key: "selectRef",
4598
4605
  ref: i
4599
4606
  }, [
4600
- Q(Dt, ye({
4607
+ Q(Dt, be({
4601
4608
  ref_key: "tooltip",
4602
4609
  ref: d
4603
4610
  }, s, { disabled: e.disabled }), {
@@ -4606,10 +4613,10 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4606
4613
  class: "abl-select-options-warpper",
4607
4614
  style: O(v.value)
4608
4615
  }, [
4609
- h.list.length > 0 ? (u(!0), p(H, { key: 0 }, G(h.list, (L) => (u(), p("div", {
4610
- class: R(["abl-select-options-item", b.some((M) => M.value === L.value) ? "abl-options-item-active" : ""]),
4616
+ h.list.length > 0 ? (u(!0), p(H, { key: 0 }, Y(h.list, (L) => (u(), p("div", {
4617
+ class: R(["abl-select-options-item", _.some((M) => M.value === L.value) ? "abl-options-item-active" : ""]),
4611
4618
  key: L.name + L.value,
4612
- onClick: (M) => _(L, M)
4619
+ onClick: (M) => b(L, M)
4613
4620
  }, N(L.name), 11, ja))), 128)) : (u(), p("div", qa, " 暂无数据 "))
4614
4621
  ], 4)
4615
4622
  ]),
@@ -4624,7 +4631,7 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4624
4631
  c("div", Ma, [
4625
4632
  U(c("div", Da, [
4626
4633
  k.value ? (u(), p("div", Pa, [
4627
- (u(!0), p(H, null, G(b, (L) => (u(), p("div", {
4634
+ (u(!0), p(H, null, Y(_, (L) => (u(), p("div", {
4628
4635
  class: "abl-select-tag",
4629
4636
  key: L.value
4630
4637
  }, [
@@ -4636,7 +4643,7 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4636
4643
  ]))), 128))
4637
4644
  ])) : (u(), p("span", Fa, N(l.value), 1))
4638
4645
  ], 512), [
4639
- [Y, b.length && !g.value]
4646
+ [X, _.length && !g.value]
4640
4647
  ]),
4641
4648
  U(c("input", {
4642
4649
  onBlur: B[0] || (B[0] = (L) => V()),
@@ -4651,7 +4658,7 @@ const Ta = (e) => (ie("data-v-0824ca71"), e = e(), re(), e), Na = { class: "abl-
4651
4658
  [on, x.value]
4652
4659
  ]),
4653
4660
  U(c("span", { class: "abl-select-placeholder" }, N(e.placeholder), 513), [
4654
- [Y, !b.length]
4661
+ [X, !_.length]
4655
4662
  ])
4656
4663
  ]),
4657
4664
  Wa
@@ -4708,15 +4715,15 @@ const Ga = { class: "abl-header" }, Ya = { class: "abl-title" }, Xa = { class: "
4708
4715
  const o = T(() => typeof t.column == "object" ? n.value >= 1600 && t.column.xxl ? t.column.xxl : n.value >= 1200 && t.column.xl ? t.column.xl : n.value >= 992 && t.column.lg ? t.column.lg : n.value >= 768 && t.column.md ? t.column.md : n.value >= 576 && t.column.sm ? t.column.sm : n.value < 576 && t.column.xs ? t.column.xs : 1 : t.column), s = $(), l = $(), i = $(), r = $(), a = $([]), d = T(() => a.value.length);
4709
4716
  Ce(() => {
4710
4717
  t.bordered ? l.value = Array.from(s.value.children).filter((g) => g.className === "abl-desc-item-bordered") : l.value = Array.from(s.value.children).filter((g) => g.className === "abl-desc-item");
4711
- }, { flush: "post" }), me(l, (g) => {
4718
+ }, { flush: "post" }), ge(l, (g) => {
4712
4719
  a.value = [], le(() => {
4713
4720
  f(g, o.value);
4714
4721
  });
4715
- }), me(o, (g) => {
4722
+ }), ge(o, (g) => {
4716
4723
  a.value = [], le(() => {
4717
4724
  f(l.value, g);
4718
4725
  });
4719
- }), we(() => {
4726
+ }), pe(() => {
4720
4727
  window.addEventListener("resize", v);
4721
4728
  }), sn(() => {
4722
4729
  window.removeEventListener("resize", v);
@@ -4727,28 +4734,28 @@ const Ga = { class: "abl-header" }, Ya = { class: "abl-title" }, Xa = { class: "
4727
4734
  function f(g, w) {
4728
4735
  const k = g.length;
4729
4736
  let x = [];
4730
- for (let b = 0; b < k; b++) {
4737
+ for (let _ = 0; _ < k; _++) {
4731
4738
  const A = {
4732
- span: Math.min(g[b].dataset.span, w),
4733
- element: g[b]
4739
+ span: Math.min(g[_].dataset.span, w),
4740
+ element: g[_]
4734
4741
  };
4735
- h(x) < w ? (A.span = Math.min(A.span, w - h(x)), b === k - 1 && (A.span = w - h(x)), x.push(A), b === k - 1 && a.value.push(x)) : (a.value.push(x), x = [A], b === k - 1 && (A.span = w, a.value.push(x)));
4742
+ h(x) < w ? (A.span = Math.min(A.span, w - h(x)), _ === k - 1 && (A.span = w - h(x)), x.push(A), _ === k - 1 && a.value.push(x)) : (a.value.push(x), x = [A], _ === k - 1 && (A.span = w, a.value.push(x)));
4736
4743
  }
4737
4744
  t.bordered ? le(() => {
4738
- a.value.forEach((b, A) => {
4739
- b.forEach((C) => {
4740
- const _ = Array.from(C.element.children), y = _[0].cloneNode(!0);
4745
+ a.value.forEach((_, A) => {
4746
+ _.forEach((C) => {
4747
+ const b = Array.from(C.element.children), y = b[0].cloneNode(!0);
4741
4748
  y.colSpan = 1, m(y, t.labelStyle), m(y, JSON.parse(C.element.dataset.labelStyle));
4742
- const S = _[1].cloneNode(!0);
4749
+ const S = b[1].cloneNode(!0);
4743
4750
  S.colSpan = C.span * 2 - 1, m(S, t.contentStyle), m(S, JSON.parse(C.element.dataset.contentStyle)), r.value[A].appendChild(y), r.value[A].appendChild(S);
4744
4751
  });
4745
4752
  });
4746
4753
  }) : le(() => {
4747
- g.forEach((b, A) => {
4748
- const C = Array.from(b.children), _ = C[0];
4749
- m(_, t.labelStyle), m(_, JSON.parse(b.dataset.labelStyle));
4754
+ g.forEach((_, A) => {
4755
+ const C = Array.from(_.children), b = C[0];
4756
+ m(b, t.labelStyle), m(b, JSON.parse(_.dataset.labelStyle));
4750
4757
  const y = C[1];
4751
- m(y, t.contentStyle), m(y, JSON.parse(b.dataset.contentStyle)), i.value[A].appendChild(b);
4758
+ m(y, t.contentStyle), m(y, JSON.parse(_.dataset.contentStyle)), i.value[A].appendChild(_);
4752
4759
  });
4753
4760
  });
4754
4761
  }
@@ -4781,14 +4788,14 @@ const Ga = { class: "abl-header" }, Ya = { class: "abl-title" }, Xa = { class: "
4781
4788
  }, [
4782
4789
  z(g.$slots, "default", {}, void 0, !0)
4783
4790
  ], 512), [
4784
- [Y, !1]
4791
+ [X, !1]
4785
4792
  ]),
4786
4793
  c("div", {
4787
4794
  class: R(["abl-desc-view", { "abl-bordered": e.bordered }])
4788
4795
  }, [
4789
4796
  c("table", null, [
4790
4797
  e.bordered ? (u(), p("tbody", Qa, [
4791
- d.value ? (u(!0), p(H, { key: 0 }, G(d.value, (k) => (u(), p("tr", {
4798
+ d.value ? (u(!0), p(H, { key: 0 }, Y(d.value, (k) => (u(), p("tr", {
4792
4799
  ref_for: !0,
4793
4800
  ref_key: "rows",
4794
4801
  ref: r,
@@ -4796,13 +4803,13 @@ const Ga = { class: "abl-header" }, Ya = { class: "abl-title" }, Xa = { class: "
4796
4803
  key: k
4797
4804
  }))), 128)) : I("", !0)
4798
4805
  ])) : (u(), p("tbody", Ja, [
4799
- (u(!0), p(H, null, G(a.value, (k, x) => (u(), p("tr", { key: x }, [
4800
- (u(!0), p(H, null, G(k, (b, A) => (u(), p("td", {
4806
+ (u(!0), p(H, null, Y(a.value, (k, x) => (u(), p("tr", { key: x }, [
4807
+ (u(!0), p(H, null, Y(k, (_, A) => (u(), p("td", {
4801
4808
  ref_for: !0,
4802
4809
  ref_key: "cols",
4803
4810
  ref: i,
4804
4811
  class: "abl-item-td",
4805
- colspan: b.span,
4812
+ colspan: _.span,
4806
4813
  key: A
4807
4814
  }, null, 8, Za))), 128))
4808
4815
  ]))), 128))