abl-ui 0.6.21 → 0.6.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,4 +1,4 @@
1
- import { openBlock as r, createElementBlock as d, normalizeStyle as M, renderSlot as E, createElementVNode as u, normalizeClass as V, createTextVNode as ee, toDisplayString as U, createCommentVNode as I, createStaticVNode as Nt, computed as D, ref as _, onMounted as ge, nextTick as re, onUnmounted as Ze, Fragment as Y, renderList as ne, createVNode as fe, useSlots as ze, provide as $e, onBeforeUnmount as Oe, watch as Q, withDirectives as J, vShow as te, defineComponent as Tt, toRefs as He, inject as Le, reactive as Ie, unref as le, createBlock as oe, TransitionGroup as fn, withCtx as ie, resolveDynamicComponent as dt, pushScopeId as be, popScopeId as _e, createApp as pn, getCurrentInstance as Qe, onUpdated as ft, onBeforeMount as Ot, Teleport as et, Transition as ke, withModifiers as G, watchEffect as pt, mergeProps as xe, useAttrs as vn, createSlots as mn, vModelDynamic as hn, normalizeProps as wt, withKeys as Pt, vModelText as vt, toRaw as xt } from "vue";
1
+ import { openBlock as r, createElementBlock as d, normalizeStyle as M, renderSlot as E, createElementVNode as u, normalizeClass as V, createTextVNode as ee, toDisplayString as j, createCommentVNode as I, createStaticVNode as Nt, computed as D, ref as _, onMounted as ge, nextTick as re, onUnmounted as Ze, Fragment as Y, renderList as ne, createVNode as fe, useSlots as ze, provide as $e, onBeforeUnmount as Oe, watch as Q, withDirectives as J, vShow as te, defineComponent as Tt, toRefs as He, inject as Le, reactive as Ie, unref as le, createBlock as oe, TransitionGroup as fn, withCtx as ie, resolveDynamicComponent as dt, pushScopeId as be, popScopeId as _e, createApp as pn, getCurrentInstance as Qe, onUpdated as ft, onBeforeMount as Ot, Teleport as et, Transition as ke, withModifiers as G, watchEffect as pt, mergeProps as xe, useAttrs as vn, createSlots as mn, vModelDynamic as hn, normalizeProps as wt, withKeys as Pt, vModelText as vt, toRaw as xt } from "vue";
2
2
  const ae = [];
3
3
  for (let e = 0; e < 256; ++e)
4
4
  ae.push((e + 256).toString(16).slice(1));
@@ -86,7 +86,7 @@ const K = (e, l) => {
86
86
  class: V(["u-description", { gray: e.image === "2" }])
87
87
  }, [
88
88
  E(l.$slots, "description", {}, () => [
89
- ee(U(e.description), 1)
89
+ ee(j(e.description), 1)
90
90
  ], !0)
91
91
  ], 2)) : I("", !0)
92
92
  ]));
@@ -177,7 +177,7 @@ const Ln = { class: "abl-table" }, In = ["id"], An = { class: "gridtable" }, Rn
177
177
  u("div", {
178
178
  class: "cell",
179
179
  style: M({ "text-align": v.align || "left" })
180
- }, U(v.title), 5)
180
+ }, j(v.title), 5)
181
181
  ], 2))), 128))
182
182
  ])
183
183
  ])
@@ -209,7 +209,7 @@ const Ln = { class: "abl-table" }, In = ["id"], An = { class: "gridtable" }, Rn
209
209
  u("div", {
210
210
  class: "cell",
211
211
  style: M({ "text-align": g.align || "left" })
212
- }, U(v[g.prop]), 5)
212
+ }, j(v[g.prop]), 5)
213
213
  ], 2))), 128))
214
214
  ], 2))), 128))
215
215
  ])) : I("", !0)
@@ -364,7 +364,7 @@ const Fn = { class: "abl-tabs" }, Hn = ["id"], Wn = ["id"], Un = ["onClick"], jn
364
364
  key: 0,
365
365
  class: V(["tab-icon", y.icon])
366
366
  }, null, 2)) : I("", !0),
367
- ee(U(y.title) + " ", 1),
367
+ ee(j(y.title) + " ", 1),
368
368
  y.afterIcon ? (r(), d("i", {
369
369
  key: 1,
370
370
  class: V(["iconfont-abl tab-icon-after", y.afterIcon])
@@ -513,7 +513,7 @@ const Jn = {
513
513
  class: V(["abl-radio-label", v.value])
514
514
  }, [
515
515
  E(p.$slots, "default", {}, () => [
516
- ee(U(e.label), 1)
516
+ ee(j(e.label), 1)
517
517
  ])
518
518
  ], 2)
519
519
  ], 2));
@@ -704,8 +704,8 @@ const We = (e) => (be("data-v-eb26cd43"), e = e(), _e(), e), nl = ["onMouseenter
704
704
  function S(y) {
705
705
  const x = s.value.findIndex((H) => H.id === y), O = s.value.length - 1, F = s.value[O];
706
706
  F != null && F.top ? v.value = typeof F.top == "number" ? `${F.top}px` : F.top : v.value = typeof n.top == "number" ? `${n.top}px` : n.top, i.value[x] = !0, (F == null ? void 0 : F.duration) !== null ? (c.value = (F == null ? void 0 : F.duration) || n.duration, o.value[x] = st(() => {
707
- var H, W;
708
- i.value[x] = !1, (H = s.value[x]) != null && H.onClose && ((W = s.value[x]) == null || W.onClose()), f("close");
707
+ var H, U;
708
+ i.value[x] = !1, (H = s.value[x]) != null && H.onClose && ((U = s.value[x]) == null || U.onClose()), f("close");
709
709
  }, 0)) : c.value = null;
710
710
  }
711
711
  function k() {
@@ -782,7 +782,7 @@ const We = (e) => (be("data-v-eb26cd43"), e = e(), _e(), e), nl = ["onMouseenter
782
782
  key: 0,
783
783
  class: "icon-svg"
784
784
  })) : O.mode === "info" ? (r(), d("svg", ll, ol)) : O.mode === "success" ? (r(), d("svg", sl, rl)) : O.mode === "error" ? (r(), d("svg", cl, dl)) : O.mode === "warning" ? (r(), d("svg", fl, vl)) : O.mode === "loading" ? (r(), d("svg", ml, gl)) : I("", !0),
785
- u("div", yl, U(O.content || y.content), 1),
785
+ u("div", yl, j(O.content || y.content), 1),
786
786
  O.closable ? (r(), d("span", {
787
787
  key: 6,
788
788
  class: "icon iconfont-abl close-icon",
@@ -955,7 +955,7 @@ const xl = (e) => (be("data-v-358a6cb8"), e = e(), _e(), e), $l = { class: "abl-
955
955
  e.showHeader ? (r(), d("div", Sl, [
956
956
  E(h.$slots, "header", {}, () => [
957
957
  u("div", Cl, [
958
- u("span", Bl, U(e.title), 1)
958
+ u("span", Bl, j(e.title), 1)
959
959
  ]),
960
960
  e.showClose ? (r(), d("div", {
961
961
  key: 0,
@@ -1042,7 +1042,7 @@ const zl = {
1042
1042
  }, [
1043
1043
  e.loading ? (r(), d(Y, { key: 0 }, [
1044
1044
  e.loading ? (r(), d("i", zl)) : I("", !0),
1045
- u("span", null, U(e.loadingText), 1)
1045
+ u("span", null, j(e.loadingText), 1)
1046
1046
  ], 64)) : (r(), d(Y, { key: 1 }, [
1047
1047
  e.iconPosition === "left" ? E(n.$slots, "icon", { key: 0 }, () => [
1048
1048
  e.icon ? (r(), d("i", {
@@ -1127,7 +1127,7 @@ const Tl = {
1127
1127
  class: V(["abl-checkbox-label", f.value])
1128
1128
  }, [
1129
1129
  E(p.$slots, "default", {}, () => [
1130
- ee(U(e.label), 1)
1130
+ ee(j(e.label), 1)
1131
1131
  ], !0)
1132
1132
  ], 2)
1133
1133
  ], 2));
@@ -1277,7 +1277,7 @@ const Dl = { class: "abl-dialog__header" }, Fl = { class: "abl-dialog__title" },
1277
1277
  }, [
1278
1278
  E(h.$slots, "header", {}, () => [
1279
1279
  u("header", Dl, [
1280
- u("span", Fl, U(e.title), 1),
1280
+ u("span", Fl, j(e.title), 1),
1281
1281
  e.showClose ? (r(), d("span", {
1282
1282
  key: 0,
1283
1283
  class: "icon iconfont-abl close-icon",
@@ -1571,12 +1571,12 @@ const Ql = (e) => ({
1571
1571
  }, h = ht(a), m = mt(h), w = await o.getDimensions(f), S = h === "y", k = S ? "top" : "left", $ = S ? "bottom" : "right", z = S ? "clientHeight" : "clientWidth", N = i.reference[m] + i.reference[h] - g[h] - i.floating[m], T = g[h] - i.reference[h], L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1572
1572
  let B = L ? L[z] : 0;
1573
1573
  (!B || !await (o.isElement == null ? void 0 : o.isElement(L))) && (B = s.floating[z] || i.floating[m]);
1574
- const C = N / 2 - T / 2, y = B / 2 - w[m] / 2 - 1, x = Ne(p[k], y), O = Ne(p[$], y), F = x, H = B - w[m] - O, W = B / 2 - w[m] / 2 + C, A = rt(F, W, H), q = !c.arrow && je(a) != null && W !== A && i.reference[m] / 2 - (W < F ? x : O) - w[m] / 2 < 0, Z = q ? W < F ? W - F : W - H : 0;
1574
+ const C = N / 2 - T / 2, y = B / 2 - w[m] / 2 - 1, x = Ne(p[k], y), O = Ne(p[$], y), F = x, H = B - w[m] - O, U = B / 2 - w[m] / 2 + C, A = rt(F, U, H), q = !c.arrow && je(a) != null && U !== A && i.reference[m] / 2 - (U < F ? x : O) - w[m] / 2 < 0, Z = q ? U < F ? U - F : U - H : 0;
1575
1575
  return {
1576
1576
  [h]: g[h] + Z,
1577
1577
  data: {
1578
1578
  [h]: A,
1579
- centerOffset: W - A - Z,
1579
+ centerOffset: U - A - Z,
1580
1580
  ...q && {
1581
1581
  alignmentOffset: Z
1582
1582
  }
@@ -1632,23 +1632,23 @@ const Ql = (e) => ({
1632
1632
  placement: H
1633
1633
  }
1634
1634
  };
1635
- let W = (x = C.filter((A) => A.overflows[0] <= 0).sort((A, q) => A.overflows[1] - q.overflows[1])[0]) == null ? void 0 : x.placement;
1636
- if (!W)
1635
+ let U = (x = C.filter((A) => A.overflows[0] <= 0).sort((A, q) => A.overflows[1] - q.overflows[1])[0]) == null ? void 0 : x.placement;
1636
+ if (!U)
1637
1637
  switch (h) {
1638
1638
  case "bestFit": {
1639
1639
  var O;
1640
1640
  const A = (O = C.map((q) => [q.placement, q.overflows.filter((Z) => Z > 0).reduce((Z, se) => Z + se, 0)]).sort((q, Z) => q[1] - Z[1])[0]) == null ? void 0 : O[0];
1641
- A && (W = A);
1641
+ A && (U = A);
1642
1642
  break;
1643
1643
  }
1644
1644
  case "initialPlacement":
1645
- W = s;
1645
+ U = s;
1646
1646
  break;
1647
1647
  }
1648
- if (a !== W)
1648
+ if (a !== U)
1649
1649
  return {
1650
1650
  reset: {
1651
- placement: W
1651
+ placement: U
1652
1652
  }
1653
1653
  };
1654
1654
  }
@@ -2285,7 +2285,7 @@ const Sa = ["data-side"], tn = {
2285
2285
  };
2286
2286
  ge(() => {
2287
2287
  t.value = !0, L(), pt(() => {
2288
- W();
2288
+ U();
2289
2289
  });
2290
2290
  }), Q(() => v.value, (A) => {
2291
2291
  A && z(v.value);
@@ -2323,7 +2323,7 @@ const Sa = ["data-side"], tn = {
2323
2323
  console.error("Error updating position:", A);
2324
2324
  }
2325
2325
  };
2326
- async function W() {
2326
+ async function U() {
2327
2327
  if (!(!$.value || !p.value))
2328
2328
  try {
2329
2329
  await re(), S = wa($.value, p.value, H);
@@ -2356,7 +2356,7 @@ const Sa = ["data-side"], tn = {
2356
2356
  }, ["stop"]))
2357
2357
  }, [
2358
2358
  E(A.$slots, "content", {}, () => [
2359
- ee(U(e.content), 1)
2359
+ ee(j(e.content), 1)
2360
2360
  ]),
2361
2361
  e.showArrow ? (r(), d("span", {
2362
2362
  key: 0,
@@ -2512,7 +2512,7 @@ const Sa = ["data-side"], tn = {
2512
2512
  key: 0,
2513
2513
  innerHTML: e.content
2514
2514
  }, null, 8, Ca)) : (r(), d(Y, { key: 1 }, [
2515
- ee(U(e.content), 1)
2515
+ ee(j(e.content), 1)
2516
2516
  ], 64))
2517
2517
  ])
2518
2518
  ]),
@@ -2785,7 +2785,7 @@ const Fa = { class: "abl-collapse__title" }, Ha = { key: 0 }, Wa = { class: "ico
2785
2785
  }, [
2786
2786
  u("div", Fa, [
2787
2787
  E(m.$slots, "title", {}, () => [
2788
- ee(U(e.title), 1)
2788
+ ee(j(e.title), 1)
2789
2789
  ], !0)
2790
2790
  ]),
2791
2791
  e.showArrow ? (r(), d("div", {
@@ -2793,7 +2793,7 @@ const Fa = { class: "abl-collapse__title" }, Ha = { key: 0 }, Wa = { class: "ico
2793
2793
  class: V([{ "abl-collapse-item__arrow-close": !f.value, "abl-collapse-item__arrow-active": f.value, "abl-collapse-item__arrow-ani": e.animation, "abl-collapse-item__arrow-plus": c.value }, "abl-collapse-item__arrow"])
2794
2794
  }, [
2795
2795
  c.value === "plus" ? (r(), d("div", Ha, [
2796
- u("span", Wa, U(f.value ? "" : ""), 1)
2796
+ u("span", Wa, j(f.value ? "" : ""), 1)
2797
2797
  ])) : (r(), d("div", {
2798
2798
  key: 1,
2799
2799
  class: "abl-collapse-item__arrow-inner",
@@ -2879,7 +2879,7 @@ const qa = { class: "abl-progress-text" }, Ya = {
2879
2879
  default: ie(() => [
2880
2880
  u("span", qa, [
2881
2881
  E(i.$slots, "format", { percent: e.percent }, () => [
2882
- ee(U(a.value), 1)
2882
+ ee(j(a.value), 1)
2883
2883
  ], !0)
2884
2884
  ])
2885
2885
  ]),
@@ -2931,22 +2931,22 @@ const Ka = (e) => (be("data-v-c42571fb"), e = e(), _e(), e), Ga = { class: "abl-
2931
2931
  return (l, t) => (r(), d("div", Ga, [
2932
2932
  l.$slots.title || e.title ? (r(), d("div", Ja, [
2933
2933
  E(l.$slots, "title", {}, () => [
2934
- ee(U(e.title), 1)
2934
+ ee(j(e.title), 1)
2935
2935
  ], !0),
2936
2936
  l.$slots.label || e.label ? (r(), d("div", Za, [
2937
2937
  E(l.$slots, "label", {}, () => [
2938
- ee(U(e.label), 1)
2938
+ ee(j(e.label), 1)
2939
2939
  ], !0)
2940
2940
  ])) : I("", !0)
2941
2941
  ])) : I("", !0),
2942
2942
  l.$slots.value || e.value ? (r(), d("div", Qa, [
2943
2943
  E(l.$slots, "value", {}, () => [
2944
- ee(U(e.value), 1)
2944
+ ee(j(e.value), 1)
2945
2945
  ], !0)
2946
2946
  ])) : I("", !0),
2947
2947
  l.$slots.extra || e.extra ? (r(), d("div", eo, [
2948
2948
  E(l.$slots, "extra", {}, () => [
2949
- ee(U(e.extra), 1)
2949
+ ee(j(e.extra), 1)
2950
2950
  ], !0)
2951
2951
  ])) : I("", !0),
2952
2952
  e.isLink ? (r(), d("div", to, [
@@ -3082,7 +3082,7 @@ const ao = /* @__PURE__ */ u("div", {
3082
3082
  deep: !0,
3083
3083
  immediate: !0
3084
3084
  });
3085
- const k = (H, W) => {
3085
+ const k = (H, U) => {
3086
3086
  let A, q;
3087
3087
  try {
3088
3088
  A = H.toString().split(".")[1].length;
@@ -3090,12 +3090,12 @@ const ao = /* @__PURE__ */ u("div", {
3090
3090
  A = 0;
3091
3091
  }
3092
3092
  try {
3093
- q = W.toString().split(".")[1].length;
3093
+ q = U.toString().split(".")[1].length;
3094
3094
  } catch {
3095
3095
  q = 0;
3096
3096
  }
3097
3097
  const Z = Math.max(A, q), se = Math.pow(10, Z);
3098
- return H = Math.round(H * se), W = Math.round(W * se), (H + W) / se;
3098
+ return H = Math.round(H * se), U = Math.round(U * se), (H + U) / se;
3099
3099
  }, $ = (H) => {
3100
3100
  i.value[H] = !0;
3101
3101
  }, z = (H) => {
@@ -3115,23 +3115,23 @@ const ao = /* @__PURE__ */ u("div", {
3115
3115
  }, x = (H) => {
3116
3116
  if (!n.drag)
3117
3117
  return;
3118
- const W = H.target, { top: A, left: q, right: Z, bottom: se } = W.getBoundingClientRect(), ve = document.documentElement.clientWidth, j = document.documentElement.clientHeight;
3118
+ const U = H.target, { top: A, left: q, right: Z, bottom: se } = U.getBoundingClientRect(), ve = document.documentElement.clientWidth, W = document.documentElement.clientHeight;
3119
3119
  c.value = H.clientX, f.value = H.clientY;
3120
3120
  const b = v.value, R = p.value;
3121
3121
  document.onmousemove = (P) => {
3122
3122
  v.value = b + P.clientX - c.value, p.value = R + P.clientY - f.value;
3123
3123
  }, document.onmouseup = (P) => {
3124
- v.value > b + ve - Z && (v.value = b + ve - Z), v.value < b - q && (v.value = b - q), p.value > R + j - se && (p.value = R + j - se), p.value < R - A && (p.value = R - A), document.onmousemove = null;
3124
+ v.value > b + ve - Z && (v.value = b + ve - Z), v.value < b - q && (v.value = b - q), p.value > R + W - se && (p.value = R + W - se), p.value < R - A && (p.value = R - A), document.onmousemove = null;
3125
3125
  };
3126
3126
  }, O = (H) => {
3127
3127
  if (!n.drag)
3128
3128
  return;
3129
- const W = H.deltaY * n.zoomRate * 0.1;
3130
- s.value === n.minScale && W > 0 || s.value === n.maxScale && W < 0 || (s.value - W < n.minScale ? s.value = n.minScale : s.value - W > n.maxScale ? s.value = n.maxScale : s.value = k(s.value, -W));
3129
+ const U = H.deltaY * n.zoomRate * 0.1;
3130
+ s.value === n.minScale && U > 0 || s.value === n.maxScale && U < 0 || (s.value - U < n.minScale ? s.value = n.minScale : s.value - U > n.maxScale ? s.value = n.maxScale : s.value = k(s.value, -U));
3131
3131
  }, F = () => {
3132
3132
  S(), h("update:modelValue", !1);
3133
3133
  };
3134
- return (H, W) => (r(), oe(et, { to: "body" }, [
3134
+ return (H, U) => (r(), oe(et, { to: "body" }, [
3135
3135
  fe(ke, { name: "mask" }, {
3136
3136
  default: ie(() => [
3137
3137
  ao
@@ -3145,7 +3145,7 @@ const ao = /* @__PURE__ */ u("div", {
3145
3145
  default: ie(() => [
3146
3146
  u("div", {
3147
3147
  class: "abl-image-preview-wrap",
3148
- onWheel: W[4] || (W[4] = G((A) => O(A), ["prevent"]))
3148
+ onWheel: U[4] || (U[4] = G((A) => O(A), ["prevent"]))
3149
3149
  }, [
3150
3150
  u("div", oo, [
3151
3151
  u("div", {
@@ -3166,8 +3166,8 @@ const ao = /* @__PURE__ */ u("div", {
3166
3166
  class: "abl-image-preview__img",
3167
3167
  style: M(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${g.value}deg);`),
3168
3168
  onLoad: (Z) => $(q),
3169
- onMousedown: W[0] || (W[0] = G((Z) => x(Z), ["prevent"])),
3170
- onClick: W[1] || (W[1] = G(() => {
3169
+ onMousedown: U[0] || (U[0] = G((Z) => x(Z), ["prevent"])),
3170
+ onClick: U[1] || (U[1] = G(() => {
3171
3171
  }, ["stop"]))
3172
3172
  }, null, 44, so)) : (r(), d("video", {
3173
3173
  key: 1,
@@ -3196,14 +3196,14 @@ const ao = /* @__PURE__ */ u("div", {
3196
3196
  title: "",
3197
3197
  style: M(`transform: scale3d(${s.value}, ${s.value}, 1) rotate(${g.value}deg);`),
3198
3198
  onLoad: (Z) => $(q),
3199
- onMousedown: W[2] || (W[2] = G((Z) => x(Z), ["prevent"])),
3200
- onClick: W[3] || (W[3] = G(() => {
3199
+ onMousedown: U[2] || (U[2] = G((Z) => x(Z), ["prevent"])),
3200
+ onClick: U[3] || (U[3] = G(() => {
3201
3201
  }, ["stop"])),
3202
3202
  loading: "lazy"
3203
3203
  }, null, 44, ro)),
3204
3204
  E(H.$slots, "default"),
3205
3205
  e.showProgress ? (r(), d("div", co, [
3206
- u("div", uo, U(`${o.value + 1}/${a.value}`), 1)
3206
+ u("div", uo, j(`${o.value + 1}/${a.value}`), 1)
3207
3207
  ])) : I("", !0)
3208
3208
  ])), [
3209
3209
  [te, o.value === q]
@@ -3635,7 +3635,7 @@ const Ho = (e) => (be("data-v-b0efe321"), e = e(), _e(), e), Wo = ["onClick"], U
3635
3635
  color: C.disabled ? "#c0c4cc" : y === p.value ? e.activeColor : e.inactiveColor,
3636
3636
  fontSize: h(e.titleSize)
3637
3637
  })
3638
- }, U(C.title), 5),
3638
+ }, j(C.title), 5),
3639
3639
  u("div", {
3640
3640
  class: V(["abl-dropdown-menu__item__arrow", {
3641
3641
  "abl-dropdown-menu__item__arrow--rotate": y === p.value
@@ -3879,7 +3879,7 @@ const us = {
3879
3879
  class: V(["abl-input", { "is-disabled": e.disabled }, { "abl-input-group": $.$slots.addonBefore || e.addonBefore || $.$slots.addonAfter || e.addonAfter }])
3880
3880
  }, [
3881
3881
  E($.$slots, "addonBefore", {}, () => [
3882
- e.addonBefore ? (r(), d("span", us, U(e.addonBefore), 1)) : I("", !0)
3882
+ e.addonBefore ? (r(), d("span", us, j(e.addonBefore), 1)) : I("", !0)
3883
3883
  ], !0),
3884
3884
  u("div", {
3885
3885
  class: V(["abl-input__wrapper", { "is-focus": o.value }]),
@@ -3937,7 +3937,7 @@ const us = {
3937
3937
  ])) : I("", !0)
3938
3938
  ], 34),
3939
3939
  E($.$slots, "addonAfter", {}, () => [
3940
- e.addonAfter ? (r(), d("span", ms, U(e.addonAfter), 1)) : I("", !0)
3940
+ e.addonAfter ? (r(), d("span", ms, j(e.addonAfter), 1)) : I("", !0)
3941
3941
  ], !0)
3942
3942
  ], 2));
3943
3943
  }
@@ -3997,7 +3997,7 @@ const at = (e) => (be("data-v-d27e2131"), e = e(), _e(), e), ys = { class: "abl-
3997
3997
  e.logo ? (r(), d("div", bs, [
3998
3998
  u("img", { src: e.logo }, null, 8, _s)
3999
3999
  ])) : e.indicator === "dot" ? (r(), d("div", ws, Cs)) : I("", !0),
4000
- J(u("p", { class: "abl-tip" }, U(e.tip), 513), [
4000
+ J(u("p", { class: "abl-tip" }, j(e.tip), 513), [
4001
4001
  [te, e.tip]
4002
4002
  ])
4003
4003
  ])
@@ -4206,7 +4206,7 @@ const _t = (e) => (be("data-v-915b5556"), e = e(), _e(), e), Vs = { class: "abl-
4206
4206
  Rs,
4207
4207
  e.tip ? (r(), d("p", zs, [
4208
4208
  E(B.$slots, "default", {}, () => [
4209
- ee(U(e.tip), 1)
4209
+ ee(j(e.tip), 1)
4210
4210
  ], !0)
4211
4211
  ])) : I("", !0)
4212
4212
  ])
@@ -4383,10 +4383,10 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4383
4383
  list: o == null ? void 0 : o.options
4384
4384
  }), N = _(!1), T = _(
4385
4385
  o.search && h.value === "focus" && N.value
4386
- ), L = D(() => o.disabled), B = _(""), C = _([]), y = () => (n == null ? void 0 : n.default) && (n == null ? void 0 : n.default()) || [], x = (j, b) => o.isToLowerCase && j.toLowerCase() == b.toLowerCase() || j == b, O = () => {
4387
- var j;
4386
+ ), L = D(() => o.disabled), B = _(""), C = _([]), y = () => (n == null ? void 0 : n.default) && (n == null ? void 0 : n.default()) || [], x = (W, b) => o.isToLowerCase && W.toLowerCase() == b.toLowerCase() || W == b, O = () => {
4387
+ var W;
4388
4388
  try {
4389
- n.default && (z.list = [], (j = n.default()) == null || j.map((b) => {
4389
+ n.default && (z.list = [], (W = n.default()) == null || W.map((b) => {
4390
4390
  var R;
4391
4391
  b.props ? (z.list.push({
4392
4392
  ...b.props
@@ -4413,17 +4413,17 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4413
4413
  // 如果需要,可以设置为立即执行
4414
4414
  deep: !0
4415
4415
  });
4416
- const F = (j) => {
4416
+ const F = (W) => {
4417
4417
  if (!T.value)
4418
4418
  B.value = "";
4419
4419
  else {
4420
4420
  const b = s.filter((R) => {
4421
- let P = j.target.value.toLowerCase();
4421
+ let P = W.target.value.toLowerCase();
4422
4422
  return R.name.toLowerCase().includes(P);
4423
4423
  });
4424
4424
  z.list = b;
4425
4425
  }
4426
- }, H = (j) => {
4426
+ }, H = (W) => {
4427
4427
  o.disabled || (N.value = !0, h.value === "focus" ? h.value = "blur" : h.value = "focus", setTimeout(() => {
4428
4428
  const b = document.querySelector("#abl-select"), R = b.querySelector(".abl-options-item-active");
4429
4429
  if (!R)
@@ -4431,22 +4431,22 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4431
4431
  const P = b.getBoundingClientRect(), X = R.getBoundingClientRect();
4432
4432
  X.top >= P.top && X.bottom <= P.bottom || (b.scrollTop = R.offsetTop - b.offsetHeight / 2);
4433
4433
  }, 100));
4434
- }, W = (j, b) => {
4434
+ }, U = (W, b) => {
4435
4435
  var P;
4436
4436
  if (o.disabled)
4437
4437
  return;
4438
- if (j.name == v.value) {
4438
+ if (W.name == v.value) {
4439
4439
  m.value.close();
4440
4440
  return;
4441
4441
  }
4442
4442
  N.value = !1, b.stopPropagation(), (P = g.value) == null || P.blur();
4443
4443
  let R = null;
4444
- h.value = "blur", C.value[0] && C.value[0].value === j.value ? C.value.shift() : C.value[0] = j, R = j.value, c("update:modelValue", R), c("change", R, j, xt(C.value)), m.value.close();
4444
+ h.value = "blur", C.value[0] && C.value[0].value === W.value ? C.value.shift() : C.value[0] = W, R = W.value, c("update:modelValue", R), c("change", R, W, xt(C.value)), m.value.close();
4445
4445
  };
4446
- $e("handleSlotClick", W);
4446
+ $e("handleSlotClick", U);
4447
4447
  const A = () => {
4448
- var j;
4449
- (j = g.value) == null || j.focus(), !T.value && h.value === "focus" && C.value.length > 0 && (C.value.pop(), c("change", xt(C.value)));
4448
+ var W;
4449
+ (W = g.value) == null || W.focus(), !T.value && h.value === "focus" && C.value.length > 0 && (C.value.pop(), c("change", xt(C.value)));
4450
4450
  }, q = () => {
4451
4451
  S.value = !1, h.value = "blur", B.value = "", setTimeout(() => {
4452
4452
  m.value.close();
@@ -4458,46 +4458,46 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4458
4458
  };
4459
4459
  Q(
4460
4460
  N,
4461
- (j) => {
4462
- T.value = o.search && h.value === "focus" && j;
4461
+ (W) => {
4462
+ T.value = o.search && h.value === "focus" && W;
4463
4463
  },
4464
4464
  { immediate: !0, deep: !0 }
4465
4465
  ), Q(
4466
4466
  () => C.value,
4467
- (j) => {
4468
- j.length == 0 ? v.value = "" : v.value = j.map((b) => b == null ? void 0 : b.name).join(",");
4467
+ (W) => {
4468
+ W.length == 0 ? v.value = "" : v.value = W.map((b) => b == null ? void 0 : b.name).join(",");
4469
4469
  },
4470
4470
  { immediate: !0, deep: !0 }
4471
4471
  ), Q(() => o == null ? void 0 : o.options, () => {
4472
- var j;
4472
+ var W;
4473
4473
  o == null || o.options.map((b) => {
4474
4474
  b.name = b[o.parames.name], b.value = b[o.parames.value];
4475
4475
  }), s = o == null ? void 0 : o.options, o == null || o.options.map((b) => {
4476
4476
  b.value == o.modelValue && (b.selected = !0);
4477
- }), z.list = o == null ? void 0 : o.options, C.value = [], C.value = (j = o == null ? void 0 : o.options) == null ? void 0 : j.filter((b) => b.selected === !0);
4477
+ }), z.list = o == null ? void 0 : o.options, C.value = [], C.value = (W = o == null ? void 0 : o.options) == null ? void 0 : W.filter((b) => b.selected === !0);
4478
4478
  }, { immediate: !0, deep: !0 });
4479
- const ve = async (j) => {
4479
+ const ve = async (W) => {
4480
4480
  var b;
4481
4481
  $.value && $.value.width && ($.value.width = ((b = p.value) == null ? void 0 : b.getBoundingClientRect().width) + "px");
4482
4482
  };
4483
4483
  return ge(async () => {
4484
- Q(h, (j) => {
4484
+ Q(h, (W) => {
4485
4485
  var b, R;
4486
- j === "focus" ? (b = g.value) == null || b.focus() : (R = g.value) == null || R.blur(), T.value = o.search && j === "focus" && N;
4487
- }), document.body.addEventListener("click", () => {
4488
- h.value = "blur";
4486
+ W === "focus" ? (b = g.value) == null || b.focus() : (R = g.value) == null || R.blur(), T.value = o.search && W === "focus" && N;
4487
+ }), document.body.addEventListener("click", (W) => {
4488
+ p.value && !p.value.contains(W.target) && (h.value = "blur");
4489
4489
  }), await re(), k = window == null ? void 0 : window.matchMedia("(orientation: landscape)"), k.addEventListener("change", ve);
4490
4490
  }), Oe(() => {
4491
4491
  k && k.removeEventListener("change", ve);
4492
4492
  }), Q(() => o.modelValue, async () => {
4493
- w.value = o.modelValue, w.value == "" && (v.value = "", C.value.splice(0, 1)), z.list.map((j) => {
4494
- x(j.value, o.modelValue) && (C.value.splice(0, C.value.length), C.value.push({
4495
- ...j
4493
+ w.value = o.modelValue, w.value == "" && (v.value = "", C.value.splice(0, 1)), z.list.map((W) => {
4494
+ x(W.value, o.modelValue) && (C.value.splice(0, C.value.length), C.value.push({
4495
+ ...W
4496
4496
  }));
4497
4497
  });
4498
4498
  }, {
4499
4499
  immediate: !0
4500
- }), (j, b) => (r(), d("div", {
4500
+ }), (W, b) => (r(), d("div", {
4501
4501
  ref_key: "selectRef",
4502
4502
  ref: p
4503
4503
  }, [
@@ -4522,9 +4522,9 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4522
4522
  z.list.length > 0 ? (r(!0), d(Y, { key: 0 }, ne(z.list, (R, P) => (r(), d("div", {
4523
4523
  class: V(["abl-select-options-item", C.value.some((X) => X.value === R.value) ? "abl-options-item-active" : ""]),
4524
4524
  key: R.name + R.value,
4525
- onMousedown: (X) => W(R, X)
4525
+ onMousedown: (X) => U(R, X)
4526
4526
  }, [
4527
- i.value ? E(j.$slots, "abloption", wt(xe({ key: 0 }, R)), void 0, !0) : (r(), d(Y, { key: 1 }, [
4527
+ i.value ? E(W.$slots, "abloption", wt(xe({ key: 0 }, R)), void 0, !0) : (r(), d(Y, { key: 1 }, [
4528
4528
  R.iconColor ? (r(), d("div", {
4529
4529
  key: 0,
4530
4530
  class: "abl-options-item-icon",
@@ -4538,7 +4538,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4538
4538
  }, null, 12, ti)) : I("", !0),
4539
4539
  u("span", {
4540
4540
  class: V(R.img ? "haveImg" : "")
4541
- }, U(R.name), 3)
4541
+ }, j(R.name), 3)
4542
4542
  ], 64))
4543
4543
  ], 42, ei))), 128)) : (r(), d("div", ni, " No data "))
4544
4544
  ], 6)
@@ -4558,7 +4558,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4558
4558
  }, [
4559
4559
  J(u("div", Ks, [
4560
4560
  u("span", null, [
4561
- a.value ? E(j.$slots, "ablname", wt(xe({ key: 0 }, { name: v.value })), void 0, !0) : (r(), d("span", Gs, U(v.value), 1))
4561
+ a.value ? E(W.$slots, "ablname", wt(xe({ key: 0 }, { name: v.value })), void 0, !0) : (r(), d("span", Gs, j(v.value), 1))
4562
4562
  ])
4563
4563
  ], 512), [
4564
4564
  [te, C.value.length && !T.value]
@@ -4581,7 +4581,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4581
4581
  key: 1,
4582
4582
  class: "abl-select-placeholder",
4583
4583
  style: M({ "line-height": e.height })
4584
- }, U(e.placeholder), 5)), [
4584
+ }, j(e.placeholder), 5)), [
4585
4585
  [te, !C.value.length]
4586
4586
  ])
4587
4587
  ], 4),
@@ -4608,7 +4608,7 @@ const Xs = { class: "abl-select-warpper-content" }, Ks = { class: "abl-select-ha
4608
4608
  }, 16, ["showArrow", "shouldStopPropagation", "disabled", "zIndex", "popperClass", "isFixed"])
4609
4609
  ], 512));
4610
4610
  }
4611
- }, zt = /* @__PURE__ */ K(li, [["__scopeId", "data-v-1c73d54a"]]);
4611
+ }, zt = /* @__PURE__ */ K(li, [["__scopeId", "data-v-7e65ea1d"]]);
4612
4612
  const ai = {
4613
4613
  key: 0,
4614
4614
  class: "abl-header"
@@ -4714,12 +4714,12 @@ const ai = {
4714
4714
  e.title || g.$slots.title ? (r(), d("div", ai, [
4715
4715
  u("div", oi, [
4716
4716
  E(g.$slots, "title", {}, () => [
4717
- ee(U(e.title), 1)
4717
+ ee(j(e.title), 1)
4718
4718
  ], !0)
4719
4719
  ]),
4720
4720
  u("div", si, [
4721
4721
  E(g.$slots, "extra", {}, () => [
4722
- ee(U(e.extra), 1)
4722
+ ee(j(e.extra), 1)
4723
4723
  ], !0)
4724
4724
  ])
4725
4725
  ])) : I("", !0),
@@ -4794,7 +4794,7 @@ const fi = ["data-span", "data-label-style", "data-content-style"], pi = { class
4794
4794
  }, [
4795
4795
  u("span", pi, [
4796
4796
  E(l.$slots, "label", {}, () => [
4797
- ee(U(e.label), 1)
4797
+ ee(j(e.label), 1)
4798
4798
  ], !0)
4799
4799
  ]),
4800
4800
  u("span", vi, [
@@ -4809,7 +4809,7 @@ const fi = ["data-span", "data-label-style", "data-content-style"], pi = { class
4809
4809
  }, [
4810
4810
  u("th", hi, [
4811
4811
  E(l.$slots, "label", {}, () => [
4812
- ee(U(e.label), 1)
4812
+ ee(j(e.label), 1)
4813
4813
  ], !0)
4814
4814
  ]),
4815
4815
  u("td", gi, [
@@ -5018,7 +5018,7 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5018
5018
  return b = Math.max(+R, Math.min(b, +P)), Math.round(b / +X) * +X;
5019
5019
  }, O = (b, R) => JSON.stringify(b) === JSON.stringify(R), F = (b) => b[0] > b[1] ? b.slice(0).reverse() : b, H = (b, R) => {
5020
5020
  z(b) ? b = F(b).map(x) : b = x(b), O(b, t.modelValue) || n("update:modelValue", b), R && !O(b, i) && n("change", b);
5021
- }, W = (b) => {
5021
+ }, U = (b) => {
5022
5022
  if (t.disabled || c.value === "draging")
5023
5023
  return;
5024
5024
  $.value = !0;
@@ -5051,17 +5051,17 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5051
5051
  }));
5052
5052
  }, ve = (b, R) => {
5053
5053
  t.disabled || (q(b), window.addEventListener("mousemove", Z), window.addEventListener("touchmove", Z), window.addEventListener("mouseup", se), window.addEventListener("touchend", se));
5054
- }, j = (b) => Array.isArray(t.modelValue) && typeof b == "number" ? t.modelValue[b] : Number(t.modelValue);
5054
+ }, W = (b) => Array.isArray(t.modelValue) && typeof b == "number" ? t.modelValue[b] : Number(t.modelValue);
5055
5055
  return (b, R) => (r(), d("div", {
5056
5056
  class: V(w.value)
5057
5057
  }, [
5058
- e.hiddenRange ? I("", !0) : (r(), d("div", $i, U(+e.min), 1)),
5058
+ e.hiddenRange ? I("", !0) : (r(), d("div", $i, j(+e.min), 1)),
5059
5059
  u("div", {
5060
5060
  ref_key: "root",
5061
5061
  ref: s,
5062
5062
  style: M(S.value),
5063
5063
  class: V(m.value),
5064
- onClick: G(W, ["stop"])
5064
+ onClick: G(U, ["stop"])
5065
5065
  }, [
5066
5066
  v.value.length > 0 ? (r(), d("div", ki, [
5067
5067
  (r(!0), d(Y, null, ne(v.value, (P) => (r(), d("span", {
@@ -5069,7 +5069,7 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5069
5069
  class: V(B(P)),
5070
5070
  style: M(C(P))
5071
5071
  }, [
5072
- ee(U(P) + " ", 1),
5072
+ ee(j(P) + " ", 1),
5073
5073
  u("span", {
5074
5074
  class: "abl-range-tick",
5075
5075
  style: M(y(P))
@@ -5086,7 +5086,7 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5086
5086
  class: V({ "abl-range-button-wrapper-left": P == 0, "abl-range-button-wrapper-right": P == 1 }),
5087
5087
  tabindex: e.disabled ? -1 : 0,
5088
5088
  "aria-valuemin": +e.min,
5089
- "aria-valuenow": j(P),
5089
+ "aria-valuenow": W(P),
5090
5090
  "aria-valuemax": +e.max,
5091
5091
  "aria-orientation": "horizontal",
5092
5092
  ref_for: !0,
@@ -5109,7 +5109,7 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5109
5109
  key: 0,
5110
5110
  class: V(["abl-handle-tooltip", [{ "display-tooltip": a.value === P && $.value }]])
5111
5111
  }, [
5112
- ee(U(j(P)) + " ", 1),
5112
+ ee(j(W(P)) + " ", 1),
5113
5113
  Ci
5114
5114
  ], 2)) : I("", !0)
5115
5115
  ], 4))
@@ -5119,7 +5119,7 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5119
5119
  class: "abl-range-button-wrapper",
5120
5120
  tabindex: e.disabled ? -1 : 0,
5121
5121
  "aria-valuemin": +e.min,
5122
- "aria-valuenow": j(),
5122
+ "aria-valuenow": W(),
5123
5123
  "aria-valuemax": +e.max,
5124
5124
  ref_key: "buttonRef",
5125
5125
  ref: h,
@@ -5140,14 +5140,14 @@ const un = (e) => (be("data-v-f4c52821"), e = e(), _e(), e), $i = {
5140
5140
  key: 0,
5141
5141
  class: V(["abl-handle-tooltip", [{ "display-tooltip": $.value }]])
5142
5142
  }, [
5143
- ee(U(j()) + " ", 1),
5143
+ ee(j(W()) + " ", 1),
5144
5144
  Vi
5145
5145
  ], 2)) : I("", !0)
5146
5146
  ], 4))
5147
5147
  ], 40, Bi))
5148
5148
  ], 4)
5149
5149
  ], 6),
5150
- e.hiddenRange ? I("", !0) : (r(), d("div", Li, U(+e.max), 1))
5150
+ e.hiddenRange ? I("", !0) : (r(), d("div", Li, j(+e.max), 1))
5151
5151
  ], 2));
5152
5152
  }
5153
5153
  }, Ai = /* @__PURE__ */ K(Ii, [["__scopeId", "data-v-f4c52821"]]);
@@ -5251,7 +5251,7 @@ const Ri = { class: "abl-pagination-wrap" }, zi = {
5251
5251
  class: V([`abl-pagination ${e.placement}`, { hidden: e.hideOnSinglePage && e.total <= e.pageSize, "no-border": !e.border }])
5252
5252
  }, [
5253
5253
  u("div", Ri, [
5254
- e.showTotal ? (r(), d("span", zi, "total " + U(e.total) + " items", 1)) : I("", !0),
5254
+ e.showTotal ? (r(), d("span", zi, "total " + j(e.total) + " items", 1)) : I("", !0),
5255
5255
  u("div", {
5256
5256
  class: V(["abl-pagination-item", { disabled: a.value === 1 }]),
5257
5257
  onClick: w[0] || (w[0] = (S) => !le(n).itemRender && h(a.value - 1))
@@ -5290,7 +5290,7 @@ const Ri = { class: "abl-pagination-wrap" }, zi = {
5290
5290
  page: S,
5291
5291
  type: "page"
5292
5292
  }, () => [
5293
- ee(U(S), 1)
5293
+ ee(j(S), 1)
5294
5294
  ])
5295
5295
  ], 10, Oi))), 128)),
5296
5296
  J(u("div", {
@@ -5308,7 +5308,7 @@ const Ri = { class: "abl-pagination-wrap" }, zi = {
5308
5308
  page: s.value,
5309
5309
  type: "page"
5310
5310
  }, () => [
5311
- ee(U(s.value), 1)
5311
+ ee(j(s.value), 1)
5312
5312
  ])
5313
5313
  ], 2), [
5314
5314
  [te, s.value !== 1]
@@ -5383,7 +5383,7 @@ const Ui = { class: "abl-search" }, ji = { class: "abl-search__wrapper" }, qi =
5383
5383
  u("div", {
5384
5384
  class: "van-search__action",
5385
5385
  onClick: s
5386
- }, U(n.actionText), 1)
5386
+ }, j(n.actionText), 1)
5387
5387
  ]));
5388
5388
  }
5389
5389
  }), Xi = /* @__PURE__ */ K(Yi, [["__scopeId", "data-v-f7e42fab"]]);
@@ -5443,7 +5443,7 @@ const Zi = { class: "abl-breadcrumb__item" }, Qi = {
5443
5443
  ], 2),
5444
5444
  (o = le(l)) != null && o.separatorIcon ? (r(), d("i", Qi, [
5445
5445
  (r(), oe(dt(le(l).separatorIcon)))
5446
- ])) : (r(), d("span", er, U(le(l).separator), 1))
5446
+ ])) : (r(), d("span", er, j(le(l).separator), 1))
5447
5447
  ]);
5448
5448
  };
5449
5449
  }
@@ -5652,7 +5652,7 @@ const vr = { class: "abl-tree-select" }, mr = { class: "abl-tree-select-tab" },
5652
5652
  class: V(["abl-tree-select__nav-item", f == a.value ? "active" : ""]),
5653
5653
  onClick: (v) => i(f)
5654
5654
  }, [
5655
- ee(U(c.text) + " ", 1),
5655
+ ee(j(c.text) + " ", 1),
5656
5656
  c.dot ? (r(), d("div", gr)) : I("", !0)
5657
5657
  ], 10, hr))), 256))
5658
5658
  ]),
@@ -5702,13 +5702,13 @@ const wr = {
5702
5702
  }, Sr = { class: "abl-count-down-item hours" }, Cr = /* @__PURE__ */ dn(() => /* @__PURE__ */ u("span", { class: "abl-count-down-m" }, ":", -1)), Br = { class: "abl-count-down-item minutes" }, Vr = /* @__PURE__ */ dn(() => /* @__PURE__ */ u("span", { class: "abl-count-down-m" }, ":", -1)), Lr = { class: "abl-count-down-item seconds" };
5703
5703
  function Ir(e, l, t, n, a, i) {
5704
5704
  return r(), d("div", xr, [
5705
- n.remainingTime.days !== "00" ? (r(), d("span", $r, U(n.remainingTime.days), 1)) : I("", !0),
5705
+ n.remainingTime.days !== "00" ? (r(), d("span", $r, j(n.remainingTime.days), 1)) : I("", !0),
5706
5706
  n.remainingTime.days !== "00" ? (r(), d("span", kr, ":")) : I("", !0),
5707
- u("span", Sr, U(n.remainingTime.hours), 1),
5707
+ u("span", Sr, j(n.remainingTime.hours), 1),
5708
5708
  Cr,
5709
- u("span", Br, U(n.remainingTime.minutes), 1),
5709
+ u("span", Br, j(n.remainingTime.minutes), 1),
5710
5710
  Vr,
5711
- u("span", Lr, U(n.remainingTime.seconds), 1)
5711
+ u("span", Lr, j(n.remainingTime.seconds), 1)
5712
5712
  ]);
5713
5713
  }
5714
5714
  const Ar = /* @__PURE__ */ K(wr, [["render", Ir], ["__scopeId", "data-v-d05ba93e"]]);