abl-ui 0.2.20 → 0.2.22

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,12 +1,12 @@
1
- import { openBlock as u, createElementBlock as p, normalizeStyle as O, renderSlot as R, createElementVNode as c, normalizeClass as B, createTextVNode as Y, toDisplayString as T, createCommentVNode as E, createStaticVNode as Vt, Fragment as j, renderList as te, createVNode as oe, useSlots as Ke, ref as _, provide as Me, onMounted as xe, unref as ee, withDirectives as F, vShow as G, defineComponent as De, toRefs as Pe, computed as N, pushScopeId as pe, popScopeId as ve, inject as He, reactive as ke, createBlock as le, Transition as ce, withCtx as ne, render as st, watch as fe, Teleport as Ge, withModifiers as H, watchEffect as Je, onBeforeUnmount as Rt, resolveDynamicComponent as sn, mergeProps as Ee, useAttrs as ln, normalizeProps as rn, guardReactiveProps as cn, onUnmounted as It, resolveDirective as dn, nextTick as me, h as un, createSlots as fn, vModelDynamic as hn, withKeys as Ot, vModelText as Tt, toRaw as ot } from "vue";
1
+ import { openBlock as u, createElementBlock as p, normalizeStyle as O, renderSlot as R, createElementVNode as c, normalizeClass as B, createTextVNode as Y, toDisplayString as T, createCommentVNode as E, createStaticVNode as Rt, Fragment as j, renderList as te, createVNode as oe, useSlots as Ke, ref as _, provide as Me, onMounted as xe, unref as ee, withDirectives as F, vShow as G, defineComponent as De, toRefs as Pe, computed as N, pushScopeId as pe, popScopeId as ve, inject as He, reactive as ke, createBlock as le, Transition as ce, withCtx as ne, render as st, watch as fe, onUnmounted as ut, Teleport as Ge, withModifiers as H, watchEffect as Je, onBeforeUnmount as It, resolveDynamicComponent as sn, mergeProps as Ee, useAttrs as ln, normalizeProps as rn, guardReactiveProps as cn, resolveDirective as dn, nextTick as me, h as un, createSlots as fn, vModelDynamic as hn, withKeys as Ot, vModelText as Tt, toRaw as ot } from "vue";
2
2
  const J = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [o, a] of t)
5
5
  n[o] = a;
6
6
  return n;
7
- }, pn = { class: "abl-empty" }, vn = /* @__PURE__ */ Vt('<g fill="none" fill-rule="evenodd" data-v-14294d9e><g transform="translate(24 31.67)" data-v-14294d9e><ellipse fill-opacity=".8" fill="#F5F5F7" cx="67.797" cy="106.89" rx="67.797" ry="12.668" data-v-14294d9e></ellipse><path d="M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z" fill="#AEB8C2" data-v-14294d9e></path><path d="M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z" fill="url(#linearGradient-1)" transform="translate(13.56)" data-v-14294d9e></path><path d="M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z" fill="#F5F5F7" data-v-14294d9e></path><path d="M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z" fill="#DCE0E6" data-v-14294d9e></path></g><path d="M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z" fill="#DCE0E6" data-v-14294d9e></path><g transform="translate(149.65 15.383)" fill="#FFF" data-v-14294d9e><ellipse cx="20.654" cy="3.167" rx="2.849" ry="2.815" data-v-14294d9e></ellipse><path d="M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z" data-v-14294d9e></path></g></g>', 1), mn = [
7
+ }, pn = { class: "abl-empty" }, vn = /* @__PURE__ */ Rt('<g fill="none" fill-rule="evenodd" data-v-14294d9e><g transform="translate(24 31.67)" data-v-14294d9e><ellipse fill-opacity=".8" fill="#F5F5F7" cx="67.797" cy="106.89" rx="67.797" ry="12.668" data-v-14294d9e></ellipse><path d="M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z" fill="#AEB8C2" data-v-14294d9e></path><path d="M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z" fill="url(#linearGradient-1)" transform="translate(13.56)" data-v-14294d9e></path><path d="M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z" fill="#F5F5F7" data-v-14294d9e></path><path d="M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z" fill="#DCE0E6" data-v-14294d9e></path></g><path d="M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z" fill="#DCE0E6" data-v-14294d9e></path><g transform="translate(149.65 15.383)" fill="#FFF" data-v-14294d9e><ellipse cx="20.654" cy="3.167" rx="2.849" ry="2.815" data-v-14294d9e></ellipse><path d="M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z" data-v-14294d9e></path></g></g>', 1), mn = [
8
8
  vn
9
- ], gn = /* @__PURE__ */ Vt('<g transform="translate(0 1)" fill="none" fill-rule="evenodd" data-v-14294d9e><ellipse fill="#f5f5f5" cx="32" cy="33" rx="32" ry="7" data-v-14294d9e></ellipse><g fill-rule="nonzero" stroke="#d9d9d9" data-v-14294d9e><path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" data-v-14294d9e></path><path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" data-v-14294d9e></path></g></g>', 1), bn = [
9
+ ], gn = /* @__PURE__ */ Rt('<g transform="translate(0 1)" fill="none" fill-rule="evenodd" data-v-14294d9e><ellipse fill="#f5f5f5" cx="32" cy="33" rx="32" ry="7" data-v-14294d9e></ellipse><g fill-rule="nonzero" stroke="#d9d9d9" data-v-14294d9e><path d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" data-v-14294d9e></path><path d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" fill="#fafafa" data-v-14294d9e></path></g></g>', 1), bn = [
10
10
  gn
11
11
  ], yn = ["src"], _n = {
12
12
  __name: "index",
@@ -245,7 +245,7 @@ const zn = { class: "abl-tabs" }, En = ["id"], Vn = ["id"], Rn = ["onClick"], In
245
245
  ], 512)
246
246
  ]));
247
247
  }
248
- }, bt = /* @__PURE__ */ J(In, [["__scopeId", "data-v-6ed59589"]]), On = (e) => (pe("data-v-9ebed9dd"), e = e(), ve(), e), Tn = /* @__PURE__ */ On(() => /* @__PURE__ */ c("span", { class: "abl-switch__core" }, null, -1)), Nn = [
248
+ }, yt = /* @__PURE__ */ J(In, [["__scopeId", "data-v-6ed59589"]]), On = (e) => (pe("data-v-9ebed9dd"), e = e(), ve(), e), Tn = /* @__PURE__ */ On(() => /* @__PURE__ */ c("span", { class: "abl-switch__core" }, null, -1)), Nn = [
249
249
  Tn
250
250
  ], Mn = {
251
251
  name: "AblSwitch"
@@ -497,14 +497,14 @@ const Yn = { class: "message-text" }, Kn = {
497
497
  }, Jn = /* @__PURE__ */ J(Gn, [["__scopeId", "data-v-433384c5"]]);
498
498
  let Be = null;
499
499
  typeof window < "u" && typeof document < "u" && (Be = document.createElement("div"), Be.setAttribute("class", "abl-message-wrapper"), Be.setAttribute("id", "abl-message-wrapper"), document.body.appendChild(Be));
500
- let yt = null;
501
- const ut = ({ text: e, type: t, duration: n, top: o, showClose: a }) => {
500
+ let _t = null;
501
+ const ft = ({ text: e, type: t, duration: n, top: o, showClose: a }) => {
502
502
  const s = oe(Jn, { text: e, type: t, top: o, showClose: a });
503
- st(s, Be), clearTimeout(yt), yt = setTimeout(() => {
503
+ st(s, Be), clearTimeout(_t), _t = setTimeout(() => {
504
504
  st(null, Be);
505
505
  }, n || 2e3);
506
506
  };
507
- const Zn = (e) => (pe("data-v-bd707767"), e = e(), ve(), e), Qn = { class: "abl-drawer-content" }, eo = { class: "abl-drawer-wrapper-body" }, to = {
507
+ const Zn = (e) => (pe("data-v-cf23efdb"), e = e(), ve(), e), Qn = { class: "abl-drawer-content" }, eo = { class: "abl-drawer-wrapper-body" }, to = {
508
508
  key: 0,
509
509
  class: "abl-drawer-header"
510
510
  }, no = { class: "abl-drawer-header-title" }, oo = { class: "abl-drawer-title" }, ao = /* @__PURE__ */ Zn(() => /* @__PURE__ */ c("i", { class: "abl-icon abl-drawer__close" }, [
@@ -591,6 +591,8 @@ const Zn = (e) => (pe("data-v-bd707767"), e = e(), ve(), e), Qn = { class: "abl-
591
591
  a.modelValue && n && (document.body.style.overflow = "hidden", document.body.style.touchAction = "none");
592
592
  }, {
593
593
  immediate: !0
594
+ }), ut(() => {
595
+ a.modelValue || (document.body.style.overflow = "", document.body.style.touchAction = "");
594
596
  });
595
597
  const s = N(() => [
596
598
  a.direction == "left" ? { top: 0, left: 0, width: a.width, height: "100%", zIndex: a.zIndex + 2 } : a.direction == "top" ? { top: 0, left: 0, width: "100%", height: a.height, zIndex: a.zIndex + 2 } : a.direction == "right" ? { top: 0, right: 0, width: a.width, height: "100%", zIndex: a.zIndex + 2 } : a.direction == "bottom" ? { bottom: 0, left: 0, width: "100%", height: a.height, zIndex: a.zIndex + 2 } : {}
@@ -661,7 +663,7 @@ const Zn = (e) => (pe("data-v-bd707767"), e = e(), ve(), e), Qn = { class: "abl-
661
663
  }, 8, ["name"])
662
664
  ]));
663
665
  }
664
- }, ro = /* @__PURE__ */ J(io, [["__scopeId", "data-v-bd707767"]]);
666
+ }, ro = /* @__PURE__ */ J(io, [["__scopeId", "data-v-cf23efdb"]]);
665
667
  const co = {
666
668
  key: 0,
667
669
  class: "iconfont-abl icon-abl-loading2 abl-icon-loading"
@@ -955,18 +957,18 @@ function Fe(e) {
955
957
  function Mt(e) {
956
958
  return e === "x" ? "y" : "x";
957
959
  }
958
- function ft(e) {
960
+ function ht(e) {
959
961
  return e === "y" ? "height" : "width";
960
962
  }
961
963
  function Ze(e) {
962
964
  return ["top", "bottom"].includes(Ce(e)) ? "y" : "x";
963
965
  }
964
- function ht(e) {
966
+ function pt(e) {
965
967
  return Mt(Ze(e));
966
968
  }
967
969
  function zo(e, t, n) {
968
970
  n === void 0 && (n = !1);
969
- const o = Fe(e), a = ht(e), s = ft(a);
971
+ const o = Fe(e), a = pt(e), s = ht(a);
970
972
  let r = a === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
971
973
  return t.reference[s] > t.floating[s] && (r = Xe(r)), [r, Xe(r)];
972
974
  }
@@ -1024,12 +1026,12 @@ function Ye(e) {
1024
1026
  bottom: e.y + e.height
1025
1027
  };
1026
1028
  }
1027
- function _t(e, t, n) {
1029
+ function wt(e, t, n) {
1028
1030
  let {
1029
1031
  reference: o,
1030
1032
  floating: a
1031
1033
  } = e;
1032
- const s = Ze(t), r = ht(t), i = ft(r), l = Ce(t), d = s === "y", b = o.x + o.width / 2 - a.width / 2, f = o.y + o.height / 2 - a.height / 2, h = o[i] / 2 - a[i] / 2;
1034
+ const s = Ze(t), r = pt(t), i = ht(r), l = Ce(t), d = s === "y", b = o.x + o.width / 2 - a.width / 2, f = o.y + o.height / 2 - a.height / 2, h = o[i] / 2 - a[i] / 2;
1033
1035
  let g;
1034
1036
  switch (l) {
1035
1037
  case "top":
@@ -1086,7 +1088,7 @@ const Oo = async (e, t, n) => {
1086
1088
  }), {
1087
1089
  x: b,
1088
1090
  y: f
1089
- } = _t(d, o, l), h = o, g = {}, v = 0;
1091
+ } = wt(d, o, l), h = o, g = {}, v = 0;
1090
1092
  for (let w = 0; w < i.length; w++) {
1091
1093
  const {
1092
1094
  name: x,
@@ -1123,7 +1125,7 @@ const Oo = async (e, t, n) => {
1123
1125
  }) : $.rects), {
1124
1126
  x: b,
1125
1127
  y: f
1126
- } = _t(d, h, l)), w = -1);
1128
+ } = wt(d, h, l)), w = -1);
1127
1129
  }
1128
1130
  return {
1129
1131
  x: b,
@@ -1198,7 +1200,7 @@ const To = (e) => ({
1198
1200
  const f = Dt(b), h = {
1199
1201
  x: n,
1200
1202
  y: o
1201
- }, g = ht(a), v = ft(g), w = await r.getDimensions(d), x = g === "y", m = x ? "top" : "left", A = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", k = s.reference[v] + s.reference[g] - h[g] - s.floating[v], $ = h[g] - s.reference[g], y = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
1203
+ }, g = pt(a), v = ht(g), w = await r.getDimensions(d), x = g === "y", m = x ? "top" : "left", A = x ? "bottom" : "right", C = x ? "clientHeight" : "clientWidth", k = s.reference[v] + s.reference[g] - h[g] - s.floating[v], $ = h[g] - s.reference[g], y = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
1202
1204
  let L = y ? y[C] : 0;
1203
1205
  (!L || !await (r.isElement == null ? void 0 : r.isElement(y))) && (L = i.floating[C] || s.floating[v]);
1204
1206
  const M = k / 2 - $ / 2, q = L / 2 - w[v] / 2 - 1, z = Ve(f[m], q), V = Ve(f[A], q), I = z, W = L - w[v] - V, U = L / 2 - w[v] / 2 + M, X = lt(I, U, W), Z = !l.arrow && Fe(a) != null && U !== X && s.reference[v] / 2 - (U < I ? z : V) - w[v] / 2 < 0, Q = Z ? U < I ? U - I : U - W : 0;
@@ -1409,7 +1411,7 @@ function ge(e) {
1409
1411
  function he(e) {
1410
1412
  return e instanceof HTMLElement || e instanceof se(e).HTMLElement;
1411
1413
  }
1412
- function wt(e) {
1414
+ function xt(e) {
1413
1415
  return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof se(e).ShadowRoot;
1414
1416
  }
1415
1417
  function je(e) {
@@ -1424,20 +1426,20 @@ function je(e) {
1424
1426
  function Ho(e) {
1425
1427
  return ["table", "td", "th"].includes(_e(e));
1426
1428
  }
1427
- function pt(e) {
1428
- const t = vt(), n = de(e);
1429
+ function vt(e) {
1430
+ const t = mt(), n = de(e);
1429
1431
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
1430
1432
  }
1431
1433
  function Wo(e) {
1432
1434
  let t = Re(e);
1433
1435
  for (; he(t) && !Qe(t); ) {
1434
- if (pt(t))
1436
+ if (vt(t))
1435
1437
  return t;
1436
1438
  t = Re(t);
1437
1439
  }
1438
1440
  return null;
1439
1441
  }
1440
- function vt() {
1442
+ function mt() {
1441
1443
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1442
1444
  }
1443
1445
  function Qe(e) {
@@ -1462,10 +1464,10 @@ function Re(e) {
1462
1464
  // Step into the shadow DOM of the parent of a slotted node.
1463
1465
  e.assignedSlot || // DOM Element detected.
1464
1466
  e.parentNode || // ShadowRoot detected.
1465
- wt(e) && e.host || // Fallback.
1467
+ xt(e) && e.host || // Fallback.
1466
1468
  be(e)
1467
1469
  );
1468
- return wt(t) ? t.host : t;
1470
+ return xt(t) ? t.host : t;
1469
1471
  }
1470
1472
  function Wt(e) {
1471
1473
  const t = Re(e);
@@ -1487,11 +1489,11 @@ function Ft(e) {
1487
1489
  $: i
1488
1490
  };
1489
1491
  }
1490
- function mt(e) {
1492
+ function gt(e) {
1491
1493
  return ge(e) ? e : e.contextElement;
1492
1494
  }
1493
1495
  function ze(e) {
1494
- const t = mt(e);
1496
+ const t = gt(e);
1495
1497
  if (!he(t))
1496
1498
  return ye(1);
1497
1499
  const n = t.getBoundingClientRect(), {
@@ -1508,7 +1510,7 @@ function ze(e) {
1508
1510
  const Fo = /* @__PURE__ */ ye(0);
1509
1511
  function jt(e) {
1510
1512
  const t = se(e);
1511
- return !vt() || !t.visualViewport ? Fo : {
1513
+ return !mt() || !t.visualViewport ? Fo : {
1512
1514
  x: t.visualViewport.offsetLeft,
1513
1515
  y: t.visualViewport.offsetTop
1514
1516
  };
@@ -1518,7 +1520,7 @@ function jo(e, t, n) {
1518
1520
  }
1519
1521
  function Le(e, t, n, o) {
1520
1522
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1521
- const a = e.getBoundingClientRect(), s = mt(e);
1523
+ const a = e.getBoundingClientRect(), s = gt(e);
1522
1524
  let r = ye(1);
1523
1525
  t && (o ? ge(o) && (r = ze(o)) : r = ze(e));
1524
1526
  const i = jo(s, n, o) ? jt(s) : ye(0);
@@ -1596,7 +1598,7 @@ function Ko(e, t) {
1596
1598
  let s = o.clientWidth, r = o.clientHeight, i = 0, l = 0;
1597
1599
  if (a) {
1598
1600
  s = a.width, r = a.height;
1599
- const d = vt();
1601
+ const d = mt();
1600
1602
  (!d || d && t === "fixed") && (i = a.offsetLeft, l = a.offsetTop);
1601
1603
  }
1602
1604
  return {
@@ -1615,7 +1617,7 @@ function Go(e, t) {
1615
1617
  y: d
1616
1618
  };
1617
1619
  }
1618
- function xt(e, t, n) {
1620
+ function $t(e, t, n) {
1619
1621
  let o;
1620
1622
  if (t === "viewport")
1621
1623
  o = Ko(e, n);
@@ -1645,7 +1647,7 @@ function Jo(e, t) {
1645
1647
  const s = de(e).position === "fixed";
1646
1648
  let r = s ? Re(e) : e;
1647
1649
  for (; ge(r) && !Qe(r); ) {
1648
- const i = de(r), l = pt(r);
1650
+ const i = de(r), l = vt(r);
1649
1651
  !l && i.position === "fixed" && (a = null), (s ? !l && !a : !l && i.position === "static" && !!a && ["absolute", "fixed"].includes(a.position) || je(r) && !l && Xt(e, r)) ? o = o.filter((b) => b !== r) : a = i, r = Re(r);
1650
1652
  }
1651
1653
  return t.set(e, o), o;
@@ -1658,9 +1660,9 @@ function Zo(e) {
1658
1660
  strategy: a
1659
1661
  } = e;
1660
1662
  const r = [...n === "clippingAncestors" ? Jo(t, this._c) : [].concat(n), o], i = r[0], l = r.reduce((d, b) => {
1661
- const f = xt(t, b, a);
1663
+ const f = $t(t, b, a);
1662
1664
  return d.top = Se(f.top, d.top), d.right = Ve(f.right, d.right), d.bottom = Ve(f.bottom, d.bottom), d.left = Se(f.left, d.left), d;
1663
- }, xt(t, i, a));
1665
+ }, $t(t, i, a));
1664
1666
  return {
1665
1667
  width: l.right - l.left,
1666
1668
  height: l.bottom - l.top,
@@ -1699,17 +1701,17 @@ function ea(e, t, n) {
1699
1701
  height: r.height
1700
1702
  };
1701
1703
  }
1702
- function $t(e, t) {
1704
+ function kt(e, t) {
1703
1705
  return !he(e) || de(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
1704
1706
  }
1705
1707
  function Yt(e, t) {
1706
1708
  const n = se(e);
1707
1709
  if (!he(e) || qt(e))
1708
1710
  return n;
1709
- let o = $t(e, t);
1711
+ let o = kt(e, t);
1710
1712
  for (; o && Ho(o) && de(o).position === "static"; )
1711
- o = $t(o, t);
1712
- return o && (_e(o) === "html" || _e(o) === "body" && de(o).position === "static" && !pt(o)) ? n : o || Wo(e) || n;
1713
+ o = kt(o, t);
1714
+ return o && (_e(o) === "html" || _e(o) === "body" && de(o).position === "static" && !vt(o)) ? n : o || Wo(e) || n;
1713
1715
  }
1714
1716
  const ta = async function(e) {
1715
1717
  const t = this.getOffsetParent || Yt, n = this.getDimensions;
@@ -1791,7 +1793,7 @@ function sa(e, t, n, o) {
1791
1793
  elementResize: r = typeof ResizeObserver == "function",
1792
1794
  layoutShift: i = typeof IntersectionObserver == "function",
1793
1795
  animationFrame: l = !1
1794
- } = o, d = mt(e), b = a || s ? [...d ? Ne(d) : [], ...Ne(t)] : [];
1796
+ } = o, d = gt(e), b = a || s ? [...d ? Ne(d) : [], ...Ne(t)] : [];
1795
1797
  b.forEach((m) => {
1796
1798
  a && m.addEventListener("scroll", n, {
1797
1799
  passive: !0
@@ -1819,7 +1821,7 @@ function sa(e, t, n, o) {
1819
1821
  }), f == null || f(), (m = g) == null || m.disconnect(), g = null, l && cancelAnimationFrame(v);
1820
1822
  };
1821
1823
  }
1822
- const la = Po, ia = No, ra = To, kt = (e, t, n) => {
1824
+ const la = Po, ia = No, ra = To, St = (e, t, n) => {
1823
1825
  const o = /* @__PURE__ */ new Map(), a = {
1824
1826
  platform: oa,
1825
1827
  ...n
@@ -1843,7 +1845,7 @@ const la = Po, ia = No, ra = To, kt = (e, t, n) => {
1843
1845
  if (!o.value || !a.value)
1844
1846
  return;
1845
1847
  const b = () => {
1846
- !o.value || !a.value || kt(o.value, a.value, {
1848
+ !o.value || !a.value || St(o.value, a.value, {
1847
1849
  middleware: ee(e),
1848
1850
  placement: ee(t),
1849
1851
  strategy: ee(n)
@@ -1853,7 +1855,7 @@ const la = Po, ia = No, ra = To, kt = (e, t, n) => {
1853
1855
  top: `${g}px`
1854
1856
  });
1855
1857
  });
1856
- }, f = await kt(o.value, a.value, {
1858
+ }, f = await St(o.value, a.value, {
1857
1859
  middleware: ee(e),
1858
1860
  placement: ee(t),
1859
1861
  strategy: ee(n)
@@ -1936,7 +1938,7 @@ const ua = ["data-side"], Kt = /* @__PURE__ */ De({
1936
1938
  }), h.value.addEventListener("mouseout", function() {
1937
1939
  b();
1938
1940
  })));
1939
- }), Rt(() => {
1941
+ }), It(() => {
1940
1942
  h.value.removeEventListener("click", g);
1941
1943
  });
1942
1944
  const g = (y) => {
@@ -2311,7 +2313,7 @@ const Aa = (e) => (pe("data-v-0789818d"), e = e(), ve(), e), Ba = { class: "abl-
2311
2313
  "p-id": "6075"
2312
2314
  }, null, -1)), Va = [
2313
2315
  Ea
2314
- ], St = "0.2s height ease-in-out", Ra = {
2316
+ ], Ct = "0.2s height ease-in-out", Ra = {
2315
2317
  __name: "CollapseItem",
2316
2318
  props: {
2317
2319
  showArrow: {
@@ -2343,7 +2345,7 @@ const Aa = (e) => (pe("data-v-0789818d"), e = e(), ve(), e), Ba = { class: "abl-
2343
2345
  }
2344
2346
  const r = N(() => Array.isArray(a.value) ? a.value.includes(t.name) : a.value === t.name), i = {
2345
2347
  onBeforeEnter(l) {
2346
- l.style.transition = St, l.dataset || (l.dataset = {}), l.dataset.oldPaddingTop = l.style.paddingTop, l.dataset.oldPaddingBottom = l.style.paddingBottom, l.style.height = 0, l.style.paddingTop = 0, l.style.paddingBottom = 0;
2348
+ l.style.transition = Ct, l.dataset || (l.dataset = {}), l.dataset.oldPaddingTop = l.style.paddingTop, l.dataset.oldPaddingBottom = l.style.paddingBottom, l.style.height = 0, l.style.paddingTop = 0, l.style.paddingBottom = 0;
2347
2349
  },
2348
2350
  onEnter(l) {
2349
2351
  l.dataset.oldOverflow = l.style.overflow, l.scrollHeight !== 0 ? (l.style.height = l.scrollHeight + "px", l.style.paddingTop = l.dataset.oldPaddingTop, l.style.paddingBottom = l.dataset.oldPaddingBottom) : (l.style.height = "", l.style.paddingTop = l.dataset.oldPaddingTop, l.style.paddingBottom = l.dataset.oldPaddingBottom), l.style.overflow = "hidden";
@@ -2355,7 +2357,7 @@ const Aa = (e) => (pe("data-v-0789818d"), e = e(), ve(), e), Ba = { class: "abl-
2355
2357
  l.dataset || (l.dataset = {}), l.dataset.oldPaddingTop = l.style.paddingTop, l.dataset.oldPaddingBottom = l.style.paddingBottom, l.dataset.oldOverflow = l.style.overflow, l.style.height = l.scrollHeight + "px", l.style.overflow = "hidden";
2356
2358
  },
2357
2359
  onLeave(l) {
2358
- l.scrollHeight !== 0 && (l.style.transition = St, l.style.height = 0, l.style.paddingTop = 0, l.style.paddingBottom = 0);
2360
+ l.scrollHeight !== 0 && (l.style.transition = Ct, l.style.height = 0, l.style.paddingTop = 0, l.style.paddingBottom = 0);
2359
2361
  },
2360
2362
  onAfterLeave(l) {
2361
2363
  l.style.transition = "", l.style.height = "", l.style.overflow = l.dataset.oldOverflow, l.style.paddingTop = l.dataset.oldPaddingTop, l.style.paddingBottom = l.dataset.oldPaddingBottom;
@@ -2699,7 +2701,7 @@ const Xa = /* @__PURE__ */ c("div", {
2699
2701
  };
2700
2702
  return Je(() => {
2701
2703
  n && (o.modelValue ? (document.body.style.overflow = "hidden", document.body.style.touchAction = "none") : (document.body.style.overflow = "", document.body.style.touchAction = ""));
2702
- }), It(() => {
2704
+ }), ut(() => {
2703
2705
  document.body.style.overflow = "", document.body.style.touchAction = "";
2704
2706
  }), (z, V) => o.modelValue ? (u(), le(Ge, {
2705
2707
  key: 0,
@@ -2897,7 +2899,7 @@ const ms = { class: "abl-image-wrap" }, gs = ["src"], Qt = {
2897
2899
  ]);
2898
2900
  };
2899
2901
  }
2900
- }, we = typeof window < "u" && window !== null && typeof document < "u", Ct = we && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype, $e = {
2902
+ }, we = typeof window < "u" && window !== null && typeof document < "u", Lt = we && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "intersectionRatio" in window.IntersectionObserverEntry.prototype, $e = {
2901
2903
  event: "event",
2902
2904
  observer: "observer"
2903
2905
  };
@@ -2908,7 +2910,7 @@ function Te(e, t) {
2908
2910
  if (n > -1)
2909
2911
  return e.splice(n, 1);
2910
2912
  }
2911
- function Lt(e, t) {
2913
+ function At(e, t) {
2912
2914
  if (e.tagName !== "IMG" || !e.getAttribute("data-srcset"))
2913
2915
  return;
2914
2916
  let n = e.getAttribute("data-srcset");
@@ -3186,7 +3188,7 @@ class As {
3186
3188
  this.el = null, this.src = null, this.error = null, this.loading = null, this.bindType = null, this.attempt = 0;
3187
3189
  }
3188
3190
  }
3189
- const At = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", Bs = [
3191
+ const Bt = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", Bs = [
3190
3192
  "scroll",
3191
3193
  "wheel",
3192
3194
  "mousewheel",
@@ -3222,8 +3224,8 @@ function tn() {
3222
3224
  throttleWait: o || 200,
3223
3225
  preLoad: t || 1.3,
3224
3226
  preLoadTop: a || 0,
3225
- error: n || At,
3226
- loading: r || At,
3227
+ error: n || Bt,
3228
+ loading: r || Bt,
3227
3229
  attempt: i || 3,
3228
3230
  scale: d || bs(d),
3229
3231
  ListenEvents: b || Bs,
@@ -3273,7 +3275,7 @@ function tn() {
3273
3275
  const a = this.valueFormatter(n.value);
3274
3276
  let { src: s } = a;
3275
3277
  me(() => {
3276
- s = Lt(t, this.options.scale) || s, this.observer && this.observer.observe(t);
3278
+ s = At(t, this.options.scale) || s, this.observer && this.observer.observe(t);
3277
3279
  const r = Object.keys(n.modifiers)[0];
3278
3280
  let i;
3279
3281
  r && (i = o.context.$refs[r], i = i ? i.$el || i : document.getElementById(r)), i || (i = ks(t));
@@ -3301,7 +3303,7 @@ function tn() {
3301
3303
  update(t, n, o) {
3302
3304
  const a = this.valueFormatter(n.value);
3303
3305
  let { src: s } = a;
3304
- s = Lt(t, this.options.scale) || s;
3306
+ s = At(t, this.options.scale) || s;
3305
3307
  const r = this.listeners.find((i) => i.el === t);
3306
3308
  r ? r.update({
3307
3309
  src: s,
@@ -3330,7 +3332,7 @@ function tn() {
3330
3332
  t && (Te(this.listeners, t), this.observer && this.observer.unobserve(t.el), t.$parent && t.$el.parentNode && this.removeListenerTarget(t.$el.parentNode), this.removeListenerTarget(window));
3331
3333
  }
3332
3334
  setMode(t) {
3333
- !Ct && t === $e.observer && (t = $e.event), this.mode = t, t === $e.event ? (this.observer && (this.listeners.forEach((n) => {
3335
+ !Lt && t === $e.observer && (t = $e.event), this.mode = t, t === $e.event ? (this.observer && (this.listeners.forEach((n) => {
3334
3336
  this.observer.unobserve(n.el);
3335
3337
  }), this.observer = null), this.targets.forEach((n) => {
3336
3338
  this.initListen(n.el, !0);
@@ -3422,7 +3424,7 @@ function tn() {
3422
3424
  * @return
3423
3425
  */
3424
3426
  initIntersectionObserver() {
3425
- Ct && (this.observer = new IntersectionObserver(
3427
+ Lt && (this.observer = new IntersectionObserver(
3426
3428
  this.observerHandler.bind(this),
3427
3429
  this.options.observerOptions
3428
3430
  ), this.listeners.length && this.listeners.forEach((t) => {
@@ -3725,7 +3727,7 @@ const dt = {
3725
3727
  const Os = {
3726
3728
  key: 0,
3727
3729
  class: "abl-skeleton-left"
3728
- }, Ts = { class: "abl-skeleton-content" }, Bt = "100%", Ns = "60%", Ms = {
3730
+ }, Ts = { class: "abl-skeleton-content" }, zt = "100%", Ns = "60%", Ms = {
3729
3731
  __name: "index",
3730
3732
  props: {
3731
3733
  row: {
@@ -3738,7 +3740,7 @@ const Os = {
3738
3740
  },
3739
3741
  rowWidth: {
3740
3742
  type: [Number, String, Array],
3741
- default: Bt
3743
+ default: zt
3742
3744
  },
3743
3745
  animate: {
3744
3746
  type: Boolean,
@@ -3752,7 +3754,7 @@ const Os = {
3752
3754
  setup(e) {
3753
3755
  const t = e, n = (a) => {
3754
3756
  const { rowWidth: s } = t;
3755
- return s === Bt && a === +t.row - 1 ? Ns : Array.isArray(s) ? s[a] : s;
3757
+ return s === zt && a === +t.row - 1 ? Ns : Array.isArray(s) ? s[a] : s;
3756
3758
  }, o = N(() => Array(+t.row).fill(""));
3757
3759
  return (a, s) => {
3758
3760
  var r;
@@ -3814,7 +3816,7 @@ const Ps = /* @__PURE__ */ c("svg", {
3814
3816
  };
3815
3817
  return xe(() => {
3816
3818
  t && document.addEventListener("click", n);
3817
- }), Rt(() => {
3819
+ }), It(() => {
3818
3820
  document.removeEventListener("click", n);
3819
3821
  }), t;
3820
3822
  };
@@ -4324,10 +4326,10 @@ const nt = (e) => (pe("data-v-bf3795be"), e = e(), ve(), e), _l = { class: "abl-
4324
4326
  ], 6));
4325
4327
  }
4326
4328
  }, on = /* @__PURE__ */ J(zl, [["__scopeId", "data-v-bf3795be"]]);
4327
- const gt = (e) => (pe("data-v-12e7e74b"), e = e(), ve(), e), El = { class: "abl-upload-list" }, Vl = { class: "abl-upload" }, Rl = ["onDrop", "onClick"], Il = ["accept", "multiple", "onChange"], Ol = /* @__PURE__ */ gt(() => /* @__PURE__ */ c("span", { class: "abl-icon" }, "+", -1)), Tl = { class: "abl-tip" }, Nl = { class: "abl-file-uploading" }, Ml = {
4329
+ const bt = (e) => (pe("data-v-12e7e74b"), e = e(), ve(), e), El = { class: "abl-upload-list" }, Vl = { class: "abl-upload" }, Rl = ["onDrop", "onClick"], Il = ["accept", "multiple", "onChange"], Ol = /* @__PURE__ */ bt(() => /* @__PURE__ */ c("span", { class: "abl-icon" }, "+", -1)), Tl = { class: "abl-tip" }, Nl = { class: "abl-file-uploading" }, Ml = {
4328
4330
  key: 0,
4329
4331
  class: "abl-file-preview"
4330
- }, Dl = { class: "abl-file-mask" }, Pl = ["onClick"], Hl = /* @__PURE__ */ gt(() => /* @__PURE__ */ c("svg", {
4332
+ }, Dl = { class: "abl-file-mask" }, Pl = ["onClick"], Hl = /* @__PURE__ */ bt(() => /* @__PURE__ */ c("svg", {
4331
4333
  class: "u-icon",
4332
4334
  focusable: "false",
4333
4335
  "data-icon": "eye",
@@ -4337,7 +4339,7 @@ const gt = (e) => (pe("data-v-12e7e74b"), e = e(), ve(), e), El = { class: "abl-
4337
4339
  /* @__PURE__ */ c("path", { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" })
4338
4340
  ], -1)), Wl = [
4339
4341
  Hl
4340
- ], Fl = ["onClick"], jl = /* @__PURE__ */ gt(() => /* @__PURE__ */ c("svg", {
4342
+ ], Fl = ["onClick"], jl = /* @__PURE__ */ bt(() => /* @__PURE__ */ c("svg", {
4341
4343
  class: "u-icon",
4342
4344
  focusable: "false",
4343
4345
  "data-icon": "delete",
@@ -4467,7 +4469,7 @@ const gt = (e) => (pe("data-v-12e7e74b"), e = e(), ve(), e), El = { class: "abl-
4467
4469
  const $ = o.value.splice(k, 1);
4468
4470
  g("remove", $), g("update:fileList", o.value), g("change", o.value);
4469
4471
  }, C = (k) => {
4470
- ut({ type: "error", text: k, duration: 1e3, top: 100 });
4472
+ ft({ type: "error", text: k, duration: 1e3, top: 100 });
4471
4473
  };
4472
4474
  return (k, $) => (u(), p("div", El, [
4473
4475
  (u(!0), p(j, null, te(a.value, (y) => (u(), p("div", {
@@ -4820,7 +4822,7 @@ const ii = { class: "abl-header" }, ri = { class: "abl-title" }, ci = { class: "
4820
4822
  d(a.value, h);
4821
4823
  });
4822
4824
  }), xe(() => {
4823
- }), It(() => {
4825
+ }), ut(() => {
4824
4826
  });
4825
4827
  function d(h, g) {
4826
4828
  if (!h)
@@ -4970,9 +4972,9 @@ const vi = ["data-span", "data-label-style", "data-content-style"], mi = { class
4970
4972
  ], 8, bi)
4971
4973
  ], 64));
4972
4974
  }
4973
- }, xi = /* @__PURE__ */ J(wi, [["__scopeId", "data-v-db00ba7c"]]), zt = 10;
4975
+ }, xi = /* @__PURE__ */ J(wi, [["__scopeId", "data-v-db00ba7c"]]), Et = 10;
4974
4976
  function $i(e, t) {
4975
- return e > t && e > zt ? "horizontal" : t > e && t > zt ? "vertical" : "";
4977
+ return e > t && e > Et ? "horizontal" : t > e && t > Et ? "vertical" : "";
4976
4978
  }
4977
4979
  function ki() {
4978
4980
  const e = _(0), t = _(0), n = _(0), o = _(0), a = _(0), s = _(0), r = _(0), i = _(0), l = _(""), d = () => l.value === "vertical", b = () => l.value === "horizontal", f = () => {
@@ -5003,7 +5005,7 @@ function ki() {
5003
5005
  function Si(e) {
5004
5006
  return typeof window < "u" && e === window;
5005
5007
  }
5006
- const Et = (e) => {
5008
+ const Vt = (e) => {
5007
5009
  const t = ee(e);
5008
5010
  if (Si(t)) {
5009
5011
  const n = t.innerWidth, o = t.innerHeight;
@@ -5174,7 +5176,7 @@ const an = (e) => (pe("data-v-349f6091"), e = e(), ve(), e), Ci = {
5174
5176
  if (n.disabled || l.value === "draging")
5175
5177
  return;
5176
5178
  x.value = !0;
5177
- const { min: P, modelValue: D } = n, K = Et(i);
5179
+ const { min: P, modelValue: D } = n, K = Vt(i);
5178
5180
  let re = S.clientX - K.left, ae = K.width;
5179
5181
  n.vertical && (re = S.clientY - K.top, ae = K.height);
5180
5182
  const ue = Number(P) + re / ae * f.value;
@@ -5194,7 +5196,7 @@ const an = (e) => (pe("data-v-349f6091"), e = e(), ve(), e), Ci = {
5194
5196
  if (n.disabled)
5195
5197
  return;
5196
5198
  l.value === "start" && o("dragStart"), d.move(S), l.value = "draging", S.type.startsWith("touch") && (x.value = !0);
5197
- const P = Et(i);
5199
+ const P = Vt(i);
5198
5200
  let D = d.deltaX.value, K = P.width, re = D / K * f.value;
5199
5201
  n.vertical && (D = d.deltaY.value, K = P.height, re = D / K * f.value), m(s) ? r[a.value] = s[a.value] + re : r = s + re, V(r);
5200
5202
  }, Z = (S) => {
@@ -5545,13 +5547,13 @@ const Ui = { class: "abl-search" }, Xi = { class: "abl-search__wrapper" }, Yi =
5545
5547
  }
5546
5548
  }), Gi = /* @__PURE__ */ J(Ki, [["__scopeId", "data-v-f7e42fab"]]), Ji = [
5547
5549
  Bn,
5548
- bt,
5550
+ yt,
5549
5551
  Wn,
5550
5552
  qn,
5551
- bt,
5553
+ yt,
5552
5554
  Xn,
5553
5555
  Pn,
5554
- ut,
5556
+ ft,
5555
5557
  ro,
5556
5558
  ho,
5557
5559
  bo,
@@ -5586,7 +5588,7 @@ const Ui = { class: "abl-search" }, Xi = { class: "abl-search__wrapper" }, Yi =
5586
5588
  ], Zi = function(e, t) {
5587
5589
  Ji.forEach((n) => {
5588
5590
  e.component(n.name, n);
5589
- }), Vue.prototype.$message = ut;
5591
+ }), Vue.prototype.$message = ft;
5590
5592
  }, nr = { install: Zi };
5591
5593
  export {
5592
5594
  tr as Lazyload,
@@ -5608,7 +5610,7 @@ export {
5608
5610
  Qt as ablImage,
5609
5611
  Zt as ablImageView,
5610
5612
  yl as ablInput,
5611
- ut as ablMessage,
5613
+ ft as ablMessage,
5612
5614
  qi as ablPagination,
5613
5615
  Xn as ablPane,
5614
5616
  Kt as ablPopper,
@@ -5626,7 +5628,7 @@ export {
5626
5628
  on as ablSpin,
5627
5629
  Pn as ablSwitch,
5628
5630
  Bn as ablTable,
5629
- bt as ablTabs,
5631
+ yt as ablTabs,
5630
5632
  Xl as ablUpload,
5631
5633
  nr as default
5632
5634
  };