abl-ui 0.4.20 → 0.4.21

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 E, renderSlot as z, createElementVNode as c, normalizeClass as L, createTextVNode as G, toDisplayString as T, createCommentVNode as A, createStaticVNode as Vt, Fragment as X, renderList as le, createVNode as ce, useSlots as Ye, ref as x, provide as _e, onMounted as $e, watch as ne, withDirectives as K, vShow as Z, defineComponent as Bt, toRefs as Te, computed as M, inject as Ve, reactive as Re, unref as ae, createBlock as oe, Transition as ve, withCtx as se, render as lt, getCurrentInstance as Ke, onBeforeUnmount as De, onUpdated as st, onBeforeMount as Lt, Teleport as Ge, pushScopeId as ke, popScopeId as Ce, withModifiers as q, watchEffect as it, nextTick as be, resolveDynamicComponent as At, mergeProps as ye, useAttrs as tl, createSlots as ll, vModelDynamic as al, normalizeProps as mt, withKeys as zt, vModelText as It, toRaw as ht, onUnmounted as nl } from "vue";
1
+ import { openBlock as r, createElementBlock as d, normalizeStyle as E, renderSlot as z, createElementVNode as c, normalizeClass as L, createTextVNode as G, toDisplayString as T, createCommentVNode as A, createStaticVNode as Vt, Fragment as X, renderList as le, createVNode as ce, useSlots as Ye, ref as x, provide as _e, onMounted as $e, watch as ne, withDirectives as K, vShow as Z, defineComponent as Bt, toRefs as Te, computed as M, inject as Ve, reactive as Re, unref as ae, createBlock as oe, Transition as ve, withCtx as se, render as lt, getCurrentInstance as Ke, onBeforeUnmount as De, onUpdated as st, onBeforeMount as Lt, Teleport as Ge, pushScopeId as ke, popScopeId as Ce, withModifiers as U, watchEffect as it, nextTick as be, resolveDynamicComponent as At, mergeProps as ye, useAttrs as tl, createSlots as ll, vModelDynamic as al, normalizeProps as mt, withKeys as zt, vModelText as It, toRaw as ht, onUnmounted as nl } from "vue";
2
2
  const J = (e, l) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [a, n] of l)
@@ -580,8 +580,8 @@ const rt = ({ text: e, type: l, duration: t, top: a, showClose: n }) => {
580
580
  const Dl = (e) => (ke("data-v-529bffb9"), e = e(), Ce(), e), Fl = { class: "abl-drawer-content" }, Hl = { class: "abl-drawer-wrapper-body" }, jl = {
581
581
  key: 0,
582
582
  class: "abl-drawer-header"
583
- }, Wl = { class: "abl-drawer-header-title" }, ql = { class: "abl-drawer-title" }, Ul = /* @__PURE__ */ Dl(() => /* @__PURE__ */ c("span", { class: "icon iconfont-abl" }, "", -1)), Xl = [
584
- Ul
583
+ }, Wl = { class: "abl-drawer-header-title" }, Ul = { class: "abl-drawer-title" }, ql = /* @__PURE__ */ Dl(() => /* @__PURE__ */ c("span", { class: "icon iconfont-abl" }, "", -1)), Xl = [
584
+ ql
585
585
  ], Yl = { class: "abl-drawer-body" }, Kl = {
586
586
  __name: "index",
587
587
  props: {
@@ -710,7 +710,7 @@ const Dl = (e) => (ke("data-v-529bffb9"), e = e(), Ce(), e), Fl = { class: "abl-
710
710
  e.showHeader ? (r(), d("div", jl, [
711
711
  z(u.$slots, "header", {}, () => [
712
712
  c("div", Wl, [
713
- c("span", ql, T(e.title), 1)
713
+ c("span", Ul, T(e.title), 1)
714
714
  ]),
715
715
  c("div", {
716
716
  class: "abl-drawer-close-btn",
@@ -1017,10 +1017,10 @@ const na = { class: "abl-dialog__header" }, oa = { class: "abl-dialog__title" },
1017
1017
  }, [
1018
1018
  c("div", {
1019
1019
  class: L(["abl-dialog", e.customClass, h.value]),
1020
- onClick: u[0] || (u[0] = q(() => {
1020
+ onClick: u[0] || (u[0] = U(() => {
1021
1021
  }, ["stop"])),
1022
1022
  style: E({ width: e.width, zIndex: e.zIndex + 1 }),
1023
- onTouchmove: u[1] || (u[1] = q(() => {
1023
+ onTouchmove: u[1] || (u[1] = U(() => {
1024
1024
  }, ["prevent"]))
1025
1025
  }, [
1026
1026
  z(v.$slots, "header", {}, () => [
@@ -1046,7 +1046,7 @@ const na = { class: "abl-dialog__header" }, oa = { class: "abl-dialog__title" },
1046
1046
  })
1047
1047
  ]));
1048
1048
  }
1049
- }), Ne = Math.min, Se = Math.max, qe = Math.round, We = Math.floor, we = (e) => ({
1049
+ }), Ne = Math.min, Se = Math.max, Ue = Math.round, We = Math.floor, we = (e) => ({
1050
1050
  x: e,
1051
1051
  y: e
1052
1052
  }), ua = {
@@ -1086,10 +1086,10 @@ function fa(e, l, t) {
1086
1086
  t === void 0 && (t = !1);
1087
1087
  const a = He(e), n = ut(e), s = ct(n);
1088
1088
  let o = n === "x" ? a === (t ? "end" : "start") ? "right" : "left" : a === "start" ? "bottom" : "top";
1089
- return l.reference[s] > l.floating[s] && (o = Ue(o)), [o, Ue(o)];
1089
+ return l.reference[s] > l.floating[s] && (o = qe(o)), [o, qe(o)];
1090
1090
  }
1091
1091
  function pa(e) {
1092
- const l = Ue(e);
1092
+ const l = qe(e);
1093
1093
  return [nt(e), l, nt(l)];
1094
1094
  }
1095
1095
  function nt(e) {
@@ -1113,7 +1113,7 @@ function ma(e, l, t, a) {
1113
1113
  let s = va(Be(e), t === "start", a);
1114
1114
  return n && (s = s.map((o) => o + "-" + n), l && (s = s.concat(s.map(nt)))), s;
1115
1115
  }
1116
- function Ue(e) {
1116
+ function qe(e) {
1117
1117
  return e.replace(/left|right|bottom|top/g, (l) => ua[l]);
1118
1118
  }
1119
1119
  function ha(e) {
@@ -1356,7 +1356,7 @@ const ba = (e) => ({
1356
1356
  } = Fe(e, l);
1357
1357
  if ((t = s.arrow) != null && t.alignmentOffset)
1358
1358
  return {};
1359
- const b = Be(n), _ = Be(i) === i, B = await (f.isRTL == null ? void 0 : f.isRTL(p.floating)), V = u || (_ || !y ? [Ue(i)] : pa(i));
1359
+ const b = Be(n), _ = Be(i) === i, B = await (f.isRTL == null ? void 0 : f.isRTL(p.floating)), V = u || (_ || !y ? [qe(i)] : pa(i));
1360
1360
  !u && m !== "none" && V.push(...ma(i, y, m, B));
1361
1361
  const k = [i, ...V], w = await Mt(l, C), $ = [];
1362
1362
  let P = ((a = s.flip) == null ? void 0 : a.overflows) || [];
@@ -1598,7 +1598,7 @@ function Pe(e, l, t) {
1598
1598
  function Dt(e) {
1599
1599
  const l = fe(e);
1600
1600
  let t = parseFloat(l.width) || 0, a = parseFloat(l.height) || 0;
1601
- const n = me(e), s = n ? e.offsetWidth : t, o = n ? e.offsetHeight : a, i = qe(t) !== s || qe(a) !== o;
1601
+ const n = me(e), s = n ? e.offsetWidth : t, o = n ? e.offsetHeight : a, i = Ue(t) !== s || Ue(a) !== o;
1602
1602
  return i && (t = s, a = o), {
1603
1603
  width: t,
1604
1604
  height: a,
@@ -1617,7 +1617,7 @@ function Ie(e) {
1617
1617
  height: n,
1618
1618
  $: s
1619
1619
  } = Dt(l);
1620
- let o = (s ? qe(t.width) : t.width) / a, i = (s ? qe(t.height) : t.height) / n;
1620
+ let o = (s ? Ue(t.width) : t.width) / a, i = (s ? Ue(t.height) : t.height) / n;
1621
1621
  return (!o || !Number.isFinite(o)) && (o = 1), (!i || !Number.isFinite(i)) && (i = 1), {
1622
1622
  x: o,
1623
1623
  y: i
@@ -1820,7 +1820,7 @@ function Oa(e, l, t) {
1820
1820
  function wt(e, l) {
1821
1821
  return !me(e) || fe(e).position === "fixed" ? null : l ? l(e) : e.offsetParent;
1822
1822
  }
1823
- function qt(e, l) {
1823
+ function Ut(e, l) {
1824
1824
  const t = re(e);
1825
1825
  if (!me(e) || Ht(e))
1826
1826
  return t;
@@ -1830,7 +1830,7 @@ function qt(e, l) {
1830
1830
  return a && (xe(a) === "html" || xe(a) === "body" && fe(a).position === "static" && !dt(a)) ? t : a || ka(e) || t;
1831
1831
  }
1832
1832
  const Ma = async function(e) {
1833
- const l = this.getOffsetParent || qt, t = this.getDimensions;
1833
+ const l = this.getOffsetParent || Ut, t = this.getDimensions;
1834
1834
  return {
1835
1835
  reference: Oa(e.reference, await l(e.floating), e.strategy),
1836
1836
  floating: {
@@ -1847,7 +1847,7 @@ const Ta = {
1847
1847
  convertOffsetParentRelativeRectToViewportRelativeRect: Ba,
1848
1848
  getDocumentElement: ge,
1849
1849
  getClippingRect: Na,
1850
- getOffsetParent: qt,
1850
+ getOffsetParent: Ut,
1851
1851
  getElementRects: Ma,
1852
1852
  getClientRects: La,
1853
1853
  getDimensions: Ea,
@@ -1937,7 +1937,7 @@ function Fa(e, l, t, a) {
1937
1937
  }), v == null || v(), (b = g) == null || b.disconnect(), g = null, f && cancelAnimationFrame(m);
1938
1938
  };
1939
1939
  }
1940
- const Ha = xa, ja = ya, Wa = ba, qa = (e, l, t) => {
1940
+ const Ha = xa, ja = ya, Wa = ba, Ua = (e, l, t) => {
1941
1941
  const a = /* @__PURE__ */ new Map(), n = {
1942
1942
  platform: Ta,
1943
1943
  ...t
@@ -1949,7 +1949,7 @@ const Ha = xa, ja = ya, Wa = ba, qa = (e, l, t) => {
1949
1949
  ...n,
1950
1950
  platform: s
1951
1951
  });
1952
- }, Ua = ({ middleware: e, placement: l, strategy: t }, a) => {
1952
+ }, qa = ({ middleware: e, placement: l, strategy: t }, a) => {
1953
1953
  const n = x(), s = x(), o = x(), i = x({}), f = {
1954
1954
  x: s,
1955
1955
  y: o,
@@ -1964,7 +1964,7 @@ const Ha = xa, ja = ya, Wa = ba, qa = (e, l, t) => {
1964
1964
  const v = async () => {
1965
1965
  if (!(!a.value || !n.value))
1966
1966
  try {
1967
- const u = await qa(a.value, n.value, {
1967
+ const u = await Ua(a.value, n.value, {
1968
1968
  middleware: ae(e),
1969
1969
  placement: ae(l),
1970
1970
  strategy: ae(t)
@@ -2004,7 +2004,7 @@ function Xa() {
2004
2004
  close: () => e.value = !1
2005
2005
  };
2006
2006
  }
2007
- const Ya = ["data-side"], Ut = {
2007
+ const Ya = ["data-side"], qt = {
2008
2008
  __name: "index",
2009
2009
  props: {
2010
2010
  effect: {
@@ -2097,7 +2097,7 @@ const Ya = ["data-side"], Ut = {
2097
2097
  y: B,
2098
2098
  contentRef: V,
2099
2099
  middlewareData: k
2100
- } = Ua({ middleware: n, placement: s, strategy: o }, u), w = M(() => s.value.split("-")[0]), $ = M(() => ({ left: _.value + "px", top: B.value + "px", zIndex: t.zIndex, width: f.value })), P = M(() => {
2100
+ } = qa({ middleware: n, placement: s, strategy: o }, u), w = M(() => s.value.split("-")[0]), $ = M(() => ({ left: _.value + "px", top: B.value + "px", zIndex: t.zIndex, width: f.value })), P = M(() => {
2101
2101
  if (!t.showArrow)
2102
2102
  return {};
2103
2103
  const { arrow: R } = ae(k);
@@ -2121,7 +2121,7 @@ const Ya = ["data-side"], Ut = {
2121
2121
  class: L(["abl-popper", `is-${e.effect}`, e.popperClass, { "isSelect-popper": t.isSelect }]),
2122
2122
  style: E($.value),
2123
2123
  "data-side": w.value,
2124
- onMousedown: Q[0] || (Q[0] = q(() => {
2124
+ onMousedown: Q[0] || (Q[0] = U(() => {
2125
2125
  }, ["stop"]))
2126
2126
  }, [
2127
2127
  z(R.$slots, "content", {}, () => [
@@ -2263,7 +2263,7 @@ const Ya = ["data-side"], Ut = {
2263
2263
  update: h,
2264
2264
  open: v,
2265
2265
  close: u
2266
- }), (g, m) => (r(), oe(Ut, ye({
2266
+ }), (g, m) => (r(), oe(qt, ye({
2267
2267
  ref_key: "popperRef",
2268
2268
  ref: i,
2269
2269
  shouldStopPropagation: e.shouldStopPropagation
@@ -2373,7 +2373,7 @@ const et = (e) => (ke("data-v-d0b65b24"), e = e(), Ce(), e), Ga = ["onClick"], J
2373
2373
  e.allowHalf ? (r(), d("div", {
2374
2374
  key: 0,
2375
2375
  class: L(["abl-rate-star-first", { "temp-gray-first": n.value === m - 0.5 }]),
2376
- onClick: q((y) => o(m - 0.5), ["stop"]),
2376
+ onClick: U((y) => o(m - 0.5), ["stop"]),
2377
2377
  onMouseenter: (y) => i(m - 0.5),
2378
2378
  onMouseleave: p
2379
2379
  }, [
@@ -2405,7 +2405,7 @@ const et = (e) => (ke("data-v-d0b65b24"), e = e(), Ce(), e), Ga = ["onClick"], J
2405
2405
  ], 42, Ja)) : A("", !0),
2406
2406
  c("div", {
2407
2407
  class: L(["abl-rate-star-second", { "temp-gray-second": n.value === m }]),
2408
- onClick: q((y) => o(m), ["stop"]),
2408
+ onClick: U((y) => o(m), ["stop"]),
2409
2409
  onMouseenter: (y) => f(m),
2410
2410
  onMouseleave: p
2411
2411
  }, [
@@ -2761,9 +2761,9 @@ const Ln = /* @__PURE__ */ c("div", {
2761
2761
  fill: "currentColor",
2762
2762
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"
2763
2763
  })
2764
- ], -1), qn = [
2764
+ ], -1), Un = [
2765
2765
  Wn
2766
- ], Un = /* @__PURE__ */ c("svg", {
2766
+ ], qn = /* @__PURE__ */ c("svg", {
2767
2767
  xmlns: "http://www.w3.org/2000/svg",
2768
2768
  viewBox: "0 0 1024 1024"
2769
2769
  }, [
@@ -2772,7 +2772,7 @@ const Ln = /* @__PURE__ */ c("div", {
2772
2772
  d: "m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"
2773
2773
  })
2774
2774
  ], -1), Xn = [
2775
- Un
2775
+ qn
2776
2776
  ], Yn = /* @__PURE__ */ c("svg", {
2777
2777
  xmlns: "http://www.w3.org/2000/svg",
2778
2778
  viewBox: "0 0 1024 1024"
@@ -2923,7 +2923,7 @@ const Ln = /* @__PURE__ */ c("div", {
2923
2923
  default: se(() => [
2924
2924
  c("div", {
2925
2925
  class: "abl-image-preview-wrap",
2926
- onWheel: F[4] || (F[4] = q((W) => ue(W), ["prevent"]))
2926
+ onWheel: F[4] || (F[4] = U((W) => ue(W), ["prevent"]))
2927
2927
  }, [
2928
2928
  c("div", An, [
2929
2929
  c("div", {
@@ -2944,8 +2944,8 @@ const Ln = /* @__PURE__ */ c("div", {
2944
2944
  class: "abl-image-preview__img",
2945
2945
  style: E(`transform: scale3d(${i.value}, ${i.value}, 1) rotate(${u.value}deg);`),
2946
2946
  onLoad: (I) => _(Y),
2947
- onMousedown: F[0] || (F[0] = q((I) => Q(I), ["prevent"])),
2948
- onClick: F[1] || (F[1] = q(() => {
2947
+ onMousedown: F[0] || (F[0] = U((I) => Q(I), ["prevent"])),
2948
+ onClick: F[1] || (F[1] = U(() => {
2949
2949
  }, ["stop"]))
2950
2950
  }, null, 44, zn)) : (r(), d("video", {
2951
2951
  key: 1,
@@ -2974,8 +2974,8 @@ const Ln = /* @__PURE__ */ c("div", {
2974
2974
  title: "",
2975
2975
  style: E(`transform: scale3d(${i.value}, ${i.value}, 1) rotate(${u.value}deg);`),
2976
2976
  onLoad: (I) => _(Y),
2977
- onMousedown: F[2] || (F[2] = q((I) => Q(I), ["prevent"])),
2978
- onClick: F[3] || (F[3] = q(() => {
2977
+ onMousedown: F[2] || (F[2] = U((I) => Q(I), ["prevent"])),
2978
+ onClick: F[3] || (F[3] = U(() => {
2979
2979
  }, ["stop"])),
2980
2980
  loading: "lazy"
2981
2981
  }, null, 44, Rn)),
@@ -2990,11 +2990,11 @@ const Ln = /* @__PURE__ */ c("div", {
2990
2990
  n.value > 1 ? (r(), d(X, { key: 0 }, [
2991
2991
  c("div", {
2992
2992
  class: "abl-image-preview__btn abl-image-preview__prev",
2993
- onClick: q(V, ["stop"])
2993
+ onClick: U(V, ["stop"])
2994
2994
  }, Mn),
2995
2995
  c("div", {
2996
2996
  class: "abl-image-preview__btn abl-image-preview__next",
2997
- onClick: q(B, ["stop"])
2997
+ onClick: U(B, ["stop"])
2998
2998
  }, Tn)
2999
2999
  ], 64)) : A("", !0),
3000
3000
  c("div", {
@@ -3005,15 +3005,15 @@ const Ln = /* @__PURE__ */ c("div", {
3005
3005
  c("div", jn, [
3006
3006
  c("i", {
3007
3007
  class: "abl-icon",
3008
- onClick: q(w, ["stop"])
3009
- }, qn),
3008
+ onClick: U(w, ["stop"])
3009
+ }, Un),
3010
3010
  c("i", {
3011
3011
  class: "abl-icon",
3012
- onClick: q(k, ["stop"])
3012
+ onClick: U(k, ["stop"])
3013
3013
  }, Xn),
3014
3014
  c("i", {
3015
3015
  class: "abl-icon",
3016
- onClick: q(R, ["stop"])
3016
+ onClick: U(R, ["stop"])
3017
3017
  }, Kn),
3018
3018
  c("i", {
3019
3019
  class: "abl-icon",
@@ -3405,7 +3405,7 @@ const po = (e) => (ke("data-v-d037bfee"), e = e(), Ce(), e), vo = ["onClick"], m
3405
3405
  (r(!0), d(X, null, le(o.value, (P, R) => (r(), d("div", {
3406
3406
  class: "abl-dropdown-menu__item",
3407
3407
  key: R,
3408
- onClick: q((Q) => m(P, R), ["stop"])
3408
+ onClick: U((Q) => m(P, R), ["stop"])
3409
3409
  }, [
3410
3410
  c("span", {
3411
3411
  class: "abl-dropdown-menu__item__title",
@@ -3431,7 +3431,7 @@ const po = (e) => (ke("data-v-d037bfee"), e = e(), Ce(), e), vo = ["onClick"], m
3431
3431
  }
3432
3432
  ]),
3433
3433
  onClick: _,
3434
- onTouchmove: $[1] || ($[1] = q(() => {
3434
+ onTouchmove: $[1] || ($[1] = U(() => {
3435
3435
  }, ["prevent"]))
3436
3436
  }, [
3437
3437
  ce(ve, { name: "fade-mask" }, {
@@ -3445,7 +3445,7 @@ const po = (e) => (ke("data-v-d037bfee"), e = e(), Ce(), e), vo = ["onClick"], m
3445
3445
  ce(ve, { name: "slide-top" }, {
3446
3446
  default: se(() => [
3447
3447
  K(c("div", {
3448
- onTouchmove: $[0] || ($[0] = q(() => {
3448
+ onTouchmove: $[0] || ($[0] = U(() => {
3449
3449
  }, ["prevent"])),
3450
3450
  class: "abl-dropdown__content",
3451
3451
  ref_key: "childrenRef",
@@ -3517,9 +3517,9 @@ const xo = (e) => (ke("data-v-521e98aa"), e = e(), Ce(), e), $o = ["active"], ko
3517
3517
  };
3518
3518
  return (i, f) => (r(), d("div", {
3519
3519
  class: "abl-dropdown-item",
3520
- onTouchmove: q(() => {
3520
+ onTouchmove: U(() => {
3521
3521
  }, ["prevent"]),
3522
- onClick: f[0] || (f[0] = q(() => {
3522
+ onClick: f[0] || (f[0] = U(() => {
3523
3523
  }, ["stop"])),
3524
3524
  active: a.value
3525
3525
  }, [
@@ -3697,7 +3697,7 @@ const Eo = {
3697
3697
  ], 64)) : A("", !0),
3698
3698
  K(c("i", {
3699
3699
  class: "iconfont-abl icon-abl-close",
3700
- onClick: q(g, ["stop"])
3700
+ onClick: U(g, ["stop"])
3701
3701
  }, null, 512), [
3702
3702
  [Z, p.value]
3703
3703
  ])
@@ -3719,7 +3719,7 @@ const Eo = {
3719
3719
  const tt = (e) => (ke("data-v-63df5fe9"), e = e(), Ce(), e), jo = { class: "abl-spin-box" }, Wo = {
3720
3720
  key: 0,
3721
3721
  class: "abl-spin-logo"
3722
- }, qo = ["src"], Uo = {
3722
+ }, Uo = ["src"], qo = {
3723
3723
  key: 1,
3724
3724
  class: "abl-spin-dot"
3725
3725
  }, Xo = /* @__PURE__ */ tt(() => /* @__PURE__ */ c("span", { class: "abl-dot-item" }, null, -1)), Yo = /* @__PURE__ */ tt(() => /* @__PURE__ */ c("span", { class: "abl-dot-item" }, null, -1)), Ko = /* @__PURE__ */ tt(() => /* @__PURE__ */ c("span", { class: "abl-dot-item" }, null, -1)), Go = /* @__PURE__ */ tt(() => /* @__PURE__ */ c("span", { class: "abl-dot-item" }, null, -1)), Jo = [
@@ -3769,8 +3769,8 @@ const tt = (e) => (ke("data-v-63df5fe9"), e = e(), Ce(), e), jo = { class: "abl-
3769
3769
  }, [
3770
3770
  c("div", jo, [
3771
3771
  e.logo ? (r(), d("div", Wo, [
3772
- c("img", { src: e.logo }, null, 8, qo)
3773
- ])) : e.indicator === "dot" ? (r(), d("div", Uo, Jo)) : A("", !0),
3772
+ c("img", { src: e.logo }, null, 8, Uo)
3773
+ ])) : e.indicator === "dot" ? (r(), d("div", qo, Jo)) : A("", !0),
3774
3774
  K(c("p", { class: "abl-tip" }, T(e.tip), 513), [
3775
3775
  [Z, e.tip]
3776
3776
  ])
@@ -3794,7 +3794,7 @@ const tt = (e) => (ke("data-v-63df5fe9"), e = e(), Ce(), e), jo = { class: "abl-
3794
3794
  ], 6));
3795
3795
  }
3796
3796
  }, Qt = /* @__PURE__ */ J(Zo, [["__scopeId", "data-v-63df5fe9"]]);
3797
- const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-upload-list" }, es = { class: "abl-upload" }, ts = ["onDrop", "onClick"], ls = ["accept", "multiple", "onChange"], as = /* @__PURE__ */ vt(() => /* @__PURE__ */ c("span", { class: "abl-icon" }, "+", -1)), ns = { class: "abl-tip" }, os = { class: "abl-file-uploading" }, ss = {
3797
+ const vt = (e) => (ke("data-v-f3b5fccc"), e = e(), Ce(), e), Qo = { class: "abl-upload-list" }, es = { class: "abl-upload" }, ts = ["onDrop", "onClick"], ls = ["accept", "multiple", "onChange"], as = /* @__PURE__ */ vt(() => /* @__PURE__ */ c("span", { class: "abl-icon" }, "+", -1)), ns = { class: "abl-tip" }, os = { class: "abl-file-uploading" }, ss = {
3798
3798
  key: 0,
3799
3799
  class: "abl-file-preview"
3800
3800
  }, is = { class: "abl-file-mask" }, rs = ["onClick"], cs = /* @__PURE__ */ vt(() => /* @__PURE__ */ c("svg", {
@@ -3951,11 +3951,11 @@ const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-
3951
3951
  c("div", es, [
3952
3952
  K(c("div", {
3953
3953
  class: L(["abl-upload-wrap", { "upload-disabled": e.disabled }]),
3954
- onDragenter: k[1] || (k[1] = q(() => {
3954
+ onDragenter: k[1] || (k[1] = U(() => {
3955
3955
  }, ["stop", "prevent"])),
3956
- onDragover: k[2] || (k[2] = q(() => {
3956
+ onDragover: k[2] || (k[2] = U(() => {
3957
3957
  }, ["stop", "prevent"])),
3958
- onDrop: q(($) => e.disabled ? () => !1 : h($, w - 1), ["stop", "prevent"]),
3958
+ onDrop: U(($) => e.disabled ? () => !1 : h($, w - 1), ["stop", "prevent"]),
3959
3959
  onClick: ($) => e.disabled ? () => !1 : v(w - 1)
3960
3960
  }, [
3961
3961
  c("input", {
@@ -3963,7 +3963,7 @@ const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-
3963
3963
  ref_key: "uploadInput",
3964
3964
  ref: o,
3965
3965
  type: "file",
3966
- onClick: k[0] || (k[0] = q(() => {
3966
+ onClick: k[0] || (k[0] = U(() => {
3967
3967
  }, ["stop"])),
3968
3968
  accept: e.accept,
3969
3969
  multiple: e.multiple,
@@ -4000,7 +4000,7 @@ const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-
4000
4000
  bordered: !1,
4001
4001
  width: "82",
4002
4002
  src: e.isUrl ? a.value[w - 1].url : a.value[w - 1],
4003
- previewSrcList: [a.value[w - 1].url],
4003
+ previewSrcList: [e.isUrl ? a.value[w - 1].url : a.value[w - 1]],
4004
4004
  name: e.isUrl ? a.value[w - 1].name : ""
4005
4005
  }, null, 8, ["src", "previewSrcList", "name"])) : A("", !0),
4006
4006
  c("div", is, [
@@ -4012,7 +4012,7 @@ const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-
4012
4012
  K(c("a", {
4013
4013
  class: "m-icon",
4014
4014
  title: "delete",
4015
- onClick: q(($) => _(w - 1), ["prevent", "stop"])
4015
+ onClick: U(($) => _(w - 1), ["prevent", "stop"])
4016
4016
  }, ps, 8, ds), [
4017
4017
  [Z, !e.disabled]
4018
4018
  ])
@@ -4022,7 +4022,7 @@ const vt = (e) => (ke("data-v-093a0f4e"), e = e(), Ce(), e), Qo = { class: "abl-
4022
4022
  ]))), 128))
4023
4023
  ]));
4024
4024
  }
4025
- }, ms = /* @__PURE__ */ J(vs, [["__scopeId", "data-v-093a0f4e"]]);
4025
+ }, ms = /* @__PURE__ */ J(vs, [["__scopeId", "data-v-f3b5fccc"]]);
4026
4026
  const hs = { class: "abl-select-warpper-content" }, gs = { class: "abl-select-has-content" }, bs = { key: 1 }, ys = ["placeholder"], _s = { class: "iconfont-abl icon-abl-shanglajiantou" }, ws = { class: "iconfont-abl icon-abl-shangjiantou" }, xs = ["onClick"], $s = ["src"], ks = {
4027
4027
  key: 1,
4028
4028
  class: "abl-select-options-item"
@@ -4126,17 +4126,17 @@ const hs = { class: "abl-select-warpper-content" }, gs = { class: "abl-select-ha
4126
4126
  });
4127
4127
  } else
4128
4128
  ((j = N == null ? void 0 : N.children) == null ? void 0 : j.length) > 0 && N.children.map((ee) => {
4129
- const { value: S, name: D, img: O, iconColor: U } = ee.props;
4129
+ const { value: S, name: D, img: O, iconColor: q } = ee.props;
4130
4130
  _.list.push({
4131
4131
  value: S,
4132
4132
  name: D,
4133
4133
  img: O,
4134
- iconColor: U
4134
+ iconColor: q
4135
4135
  }), y.value === S && ($.value.splice(0, $.value.length), $.value.push({
4136
4136
  value: S,
4137
4137
  name: D,
4138
4138
  img: O,
4139
- iconColor: U
4139
+ iconColor: q
4140
4140
  }));
4141
4141
  });
4142
4142
  }), i = _.list);
@@ -4328,7 +4328,7 @@ const hs = { class: "abl-select-warpper-content" }, gs = { class: "abl-select-ha
4328
4328
  o.clearable ? (r(), d("i", {
4329
4329
  key: 0,
4330
4330
  class: "iconfont-abl icon-abl-close",
4331
- onClick: q(Y, ["stop"])
4331
+ onClick: U(Y, ["stop"])
4332
4332
  })) : A("", !0)
4333
4333
  ], 4)
4334
4334
  ])
@@ -4603,10 +4603,10 @@ const St = (e) => {
4603
4603
  height: 0
4604
4604
  };
4605
4605
  };
4606
- const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4606
+ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), Us = {
4607
4607
  key: 0,
4608
4608
  class: "abl-range-min"
4609
- }, Us = {
4609
+ }, qs = {
4610
4610
  key: 0,
4611
4611
  class: "abl-range-mark"
4612
4612
  }, Xs = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax", "onTouchstartPassive", "onMousedown"], Ys = /* @__PURE__ */ el(() => /* @__PURE__ */ c("div", { class: "arrow" }, null, -1)), Ks = ["tabindex", "aria-valuemin", "aria-valuenow", "aria-valuemax"], Gs = /* @__PURE__ */ el(() => /* @__PURE__ */ c("div", { class: "arrow" }, null, -1)), Js = {
@@ -4713,8 +4713,8 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4713
4713
  background: t.activeColor,
4714
4714
  transition: f.value ? "none" : void 0
4715
4715
  }), $ = (S) => {
4716
- const D = "abl-range-mark", { modelValue: O, max: U, min: de } = t;
4717
- let ie = Number(de), pe = Number(U);
4716
+ const D = "abl-range-mark", { modelValue: O, max: q, min: de } = t;
4717
+ let ie = Number(de), pe = Number(q);
4718
4718
  if (t.range) {
4719
4719
  const [Ae, Me] = O;
4720
4720
  ie = Ae, pe = Me;
@@ -4727,15 +4727,15 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4727
4727
  };
4728
4728
  }, P = (S) => {
4729
4729
  const { min: D, vertical: O } = t;
4730
- let U = {
4730
+ let q = {
4731
4731
  left: `${(S - Number(D)) / v.value * 100}%`
4732
4732
  };
4733
- return O && (U = {
4733
+ return O && (q = {
4734
4734
  top: `${(S - Number(D)) / v.value * 100}%`
4735
- }), U;
4735
+ }), q;
4736
4736
  }, R = (S) => {
4737
- const { modelValue: D, max: O, min: U } = t;
4738
- let de = Number(U), ie = Number(O);
4737
+ const { modelValue: D, max: O, min: q } = t;
4738
+ let de = Number(q), ie = Number(O);
4739
4739
  if (t.range) {
4740
4740
  const [Ae, Me] = D;
4741
4741
  de = Ae, ie = Me;
@@ -4744,17 +4744,17 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4744
4744
  background: S <= ie && S >= de ? t.activeColor : t.inactiveColor
4745
4745
  };
4746
4746
  }, Q = (S) => {
4747
- const { min: D, max: O, step: U } = t;
4748
- return S = Math.max(+D, Math.min(S, +O)), Math.round(S / +U) * +U;
4747
+ const { min: D, max: O, step: q } = t;
4748
+ return S = Math.max(+D, Math.min(S, +O)), Math.round(S / +q) * +q;
4749
4749
  }, ue = (S, D) => JSON.stringify(S) === JSON.stringify(D), te = (S) => S[0] > S[1] ? S.slice(0).reverse() : S, H = (S, D) => {
4750
4750
  B(S) ? S = te(S).map(Q) : S = Q(S), ue(S, t.modelValue) || a("update:modelValue", S), D && !ue(S, s) && a("change", S);
4751
4751
  }, F = (S) => {
4752
4752
  if (t.disabled || f.value === "draging")
4753
4753
  return;
4754
4754
  _.value = !0;
4755
- const { min: D, modelValue: O } = t, U = St(i);
4756
- let de = S.clientX - U.left, ie = U.width;
4757
- t.vertical && (de = S.clientY - U.top, ie = U.height);
4755
+ const { min: D, modelValue: O } = t, q = St(i);
4756
+ let de = S.clientX - q.left, ie = q.width;
4757
+ t.vertical && (de = S.clientY - q.top, ie = q.height);
4758
4758
  const pe = Number(D) + de / ie * v.value;
4759
4759
  if (B(O)) {
4760
4760
  const [Oe, Ae] = O, Me = (Oe + Ae) / 2;
@@ -4773,8 +4773,8 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4773
4773
  return;
4774
4774
  f.value === "start" && a("dragStart"), p.move(S), f.value = "draging", S.type.startsWith("touch") && (_.value = !0);
4775
4775
  const D = St(i);
4776
- let O = p.deltaX.value, U = D.width, de = O / U * v.value;
4777
- t.vertical && (O = p.deltaY.value, U = D.height, de = O / U * v.value), B(s) ? o[n.value] = s[n.value] + de : o = s + de, H(o);
4776
+ let O = p.deltaX.value, q = D.width, de = O / q * v.value;
4777
+ t.vertical && (O = p.deltaY.value, q = D.height, de = O / q * v.value), B(s) ? o[n.value] = s[n.value] + de : o = s + de, H(o);
4778
4778
  }, N = (S) => {
4779
4779
  t.disabled || f.value === "draging" && (H(o, !0), a("dragEnd"), window.removeEventListener("mousemove", I), window.removeEventListener("touchmove", I), window.removeEventListener("mouseup", N), window.removeEventListener("touchend", N), S.type.startsWith("touch") && (_.value = !1), setTimeout(() => {
4780
4780
  f.value = "";
@@ -4785,15 +4785,15 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4785
4785
  return (S, D) => (r(), d("div", {
4786
4786
  class: L(y.value)
4787
4787
  }, [
4788
- e.hiddenRange ? A("", !0) : (r(), d("div", qs, T(+e.min), 1)),
4788
+ e.hiddenRange ? A("", !0) : (r(), d("div", Us, T(+e.min), 1)),
4789
4789
  c("div", {
4790
4790
  ref_key: "root",
4791
4791
  ref: i,
4792
4792
  style: E(C.value),
4793
4793
  class: L(m.value),
4794
- onClick: q(F, ["stop"])
4794
+ onClick: U(F, ["stop"])
4795
4795
  }, [
4796
- h.value.length > 0 ? (r(), d("div", Us, [
4796
+ h.value.length > 0 ? (r(), d("div", qs, [
4797
4797
  (r(!0), d(X, null, le(h.value, (O) => (r(), d("span", {
4798
4798
  key: O,
4799
4799
  class: L($(O)),
@@ -4820,14 +4820,14 @@ const el = (e) => (ke("data-v-d7965b94"), e = e(), Ce(), e), qs = {
4820
4820
  "aria-valuemax": +e.max,
4821
4821
  "aria-orientation": "horizontal",
4822
4822
  ref_for: !0,
4823
- ref: (U) => {
4824
- u.value[O] = U;
4823
+ ref: (q) => {
4824
+ u.value[O] = q;
4825
4825
  },
4826
- onTouchstartPassive: (U) => {
4827
- typeof O == "number" && (n.value = O), j(U);
4826
+ onTouchstartPassive: (q) => {
4827
+ typeof O == "number" && (n.value = O), j(q);
4828
4828
  },
4829
- onMousedown: (U) => {
4830
- typeof O == "number" && (n.value = O), j(U);
4829
+ onMousedown: (q) => {
4830
+ typeof O == "number" && (n.value = O), j(q);
4831
4831
  }
4832
4832
  }, [
4833
4833
  S.$slots.button ? z(S.$slots, "button", { key: 0 }, void 0, !0) : (r(), d("div", {
@@ -5095,7 +5095,7 @@ const fi = { class: "abl-search" }, pi = { class: "abl-search__wrapper" }, vi =
5095
5095
  ]),
5096
5096
  K(c("i", {
5097
5097
  class: "iconfont-abl icon-abl-untitled96",
5098
- onClick: q(s, ["stop"])
5098
+ onClick: U(s, ["stop"])
5099
5099
  }, null, 512), [
5100
5100
  [Z, n.value]
5101
5101
  ])
@@ -5197,7 +5197,7 @@ const _i = { class: "abl-breadcrumb__item" }, wi = {
5197
5197
  No,
5198
5198
  Ho,
5199
5199
  ms,
5200
- Ut,
5200
+ qt,
5201
5201
  kt,
5202
5202
  Qt,
5203
5203
  Rs,
@@ -5238,7 +5238,7 @@ export {
5238
5238
  kt as ablOption,
5239
5239
  di as ablPagination,
5240
5240
  El as ablPane,
5241
- Ut as ablPopper,
5241
+ qt as ablPopper,
5242
5242
  yn as ablProgress,
5243
5243
  zl as ablRadio,
5244
5244
  Rl as ablRadioGroup,