abl-ui 0.4.33 → 0.4.35

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 c, createElementBlock as u, normalizeStyle as E, renderSlot as R, createElementVNode as r, normalizeClass as z, createTextVNode as Q, toDisplayString as H, createCommentVNode as I, createStaticVNode as Lt, Fragment as K, renderList as ae, createVNode as de, useSlots as Ke, ref as w, provide as xe, onMounted as Ne, watch as ne, withDirectives as Z, vShow as te, defineComponent as zt, toRefs as Te, computed as D, inject as Be, reactive as Ie, unref as se, createBlock as oe, TransitionGroup as al, withCtx as ie, resolveDynamicComponent as ct, pushScopeId as ge, popScopeId as ye, createApp as nl, getCurrentInstance as Ge, onBeforeUnmount as Je, onUpdated as rt, onBeforeMount as At, Teleport as Ze, Transition as me, watchEffect as ut, nextTick as _e, mergeProps as we, withModifiers as J, useAttrs as ol, createSlots as sl, vModelDynamic as il, normalizeProps as gt, withKeys as It, vModelText as Rt, toRaw as yt, onUnmounted as cl } from "vue";
1
+ import { openBlock as c, createElementBlock as u, normalizeStyle as E, renderSlot as R, createElementVNode as r, normalizeClass as z, createTextVNode as Q, toDisplayString as H, createCommentVNode as I, createStaticVNode as Lt, Fragment as K, renderList as ae, createVNode as de, useSlots as Ke, ref as w, provide as xe, onMounted as Ne, watch as ne, withDirectives as Z, vShow as te, defineComponent as zt, toRefs as Te, computed as D, inject as Be, reactive as Ie, unref as se, createBlock as oe, TransitionGroup as al, withCtx as ie, resolveDynamicComponent as ct, pushScopeId as ge, popScopeId as ye, createApp as nl, getCurrentInstance as Ge, onBeforeUnmount as Je, onUpdated as rt, onBeforeMount as At, Teleport as Ze, Transition as me, withModifiers as J, watchEffect as ut, nextTick as _e, mergeProps as we, useAttrs as ol, createSlots as sl, vModelDynamic as il, normalizeProps as gt, withKeys as It, vModelText as Rt, toRaw as yt, onUnmounted as cl } from "vue";
2
2
  const ee = (e, a) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [l, n] of a)
@@ -177,16 +177,16 @@ const Cl = { class: "abl-tabs" }, Sl = {
177
177
  const t = a, l = Ke(), n = e, i = w({}), o = w(), s = w([]), d = w(), f = w(0), h = w(!1), v = w(!1), p = w(!0);
178
178
  (b = l.default()) == null || b.map(({ props: y, children: V }) => {
179
179
  if (y) {
180
- const { title: B, value: k, icon: x, afterIcon: $ } = y;
180
+ const { title: S, value: k, icon: x, afterIcon: $ } = y;
181
181
  s.value.push({
182
- title: B,
182
+ title: S,
183
183
  value: k,
184
184
  icon: x,
185
185
  afterIcon: $
186
186
  });
187
187
  } else
188
- (V == null ? void 0 : V.length) > 0 && Array.isArray(V) && (V == null || V.map((B) => {
189
- const { title: k, value: x, icon: $, afterIcon: T } = B.props;
188
+ (V == null ? void 0 : V.length) > 0 && Array.isArray(V) && (V == null || V.map((S) => {
189
+ const { title: k, value: x, icon: $, afterIcon: T } = S.props;
190
190
  s.value.push({
191
191
  title: k,
192
192
  value: x,
@@ -197,9 +197,9 @@ const Cl = { class: "abl-tabs" }, Sl = {
197
197
  }), xe("active", f);
198
198
  const g = (y, V) => {
199
199
  var k;
200
- const B = (k = y == null ? void 0 : y.target) == null ? void 0 : k.offsetLeft;
200
+ const S = (k = y == null ? void 0 : y.target) == null ? void 0 : k.offsetLeft;
201
201
  i.value = {
202
- transform: `translateX(${B}px)`,
202
+ transform: `translateX(${S}px)`,
203
203
  width: y.target.clientWidth + "px"
204
204
  }, f.value = V, t("update:modelValue", V), t("tabClick", V);
205
205
  }, m = () => {
@@ -222,15 +222,15 @@ const Cl = { class: "abl-tabs" }, Sl = {
222
222
  s.value.map((x, $) => {
223
223
  x.value == n.modelValue && (y = $);
224
224
  });
225
- const V = o.value[y], B = V == null ? void 0 : V.offsetLeft;
225
+ const V = o.value[y], S = V == null ? void 0 : V.offsetLeft;
226
226
  i.value = {
227
- transform: `translateX(${B}px)`,
227
+ transform: `translateX(${S}px)`,
228
228
  width: V.clientWidth + "px"
229
229
  };
230
230
  const k = document.getElementById("tab-hidden");
231
231
  (k == null ? void 0 : k.scrollWidth) - 2 > (k == null ? void 0 : k.clientWidth) ? h.value = !0 : h.value = !1, k.addEventListener("scroll", function(x) {
232
232
  var $, T, L;
233
- (($ = x.target) == null ? void 0 : $.scrollLeft) + ((T = x.target) == null ? void 0 : T.offsetWidth) >= ((L = x.target) == null ? void 0 : L.scrollWidth) - 1 && (p.value = !1, B.value = !0), x.target.scrollLeft == 0 && (p.value = !0, B.value = !1);
233
+ (($ = x.target) == null ? void 0 : $.scrollLeft) + ((T = x.target) == null ? void 0 : T.offsetWidth) >= ((L = x.target) == null ? void 0 : L.scrollWidth) - 1 && (p.value = !1, S.value = !0), x.target.scrollLeft == 0 && (p.value = !0, S.value = !1);
234
234
  });
235
235
  };
236
236
  return ne(() => n.modelValue, async () => {
@@ -238,7 +238,7 @@ const Cl = { class: "abl-tabs" }, Sl = {
238
238
  }, {
239
239
  immediate: !0
240
240
  }), (y, V) => {
241
- var B;
241
+ var S;
242
242
  return c(), u("div", Cl, [
243
243
  r("div", Sl, [
244
244
  Z(r("i", {
@@ -266,7 +266,7 @@ const Cl = { class: "abl-tabs" }, Sl = {
266
266
  class: z(["iconfont-abl tab-icon-after", k.afterIcon])
267
267
  }, null, 2)) : I("", !0)
268
268
  ], 10, Vl))), 128)),
269
- (B = i.value) != null && B.width ? (c(), u("div", {
269
+ (S = i.value) != null && S.width ? (c(), u("div", {
270
270
  key: 0,
271
271
  class: "bottom-line",
272
272
  style: E(i.value)
@@ -625,7 +625,7 @@ const De = (e) => (ge("data-v-278b4efc"), e = e(), ye(), e), Dl = ["onMouseenter
625
625
  let N = y(L, "open");
626
626
  return s.value.push(N), b(), N.id;
627
627
  }
628
- function B(L) {
628
+ function S(L) {
629
629
  let N = y(L, "info");
630
630
  return s.value.push(N), b(), N.id;
631
631
  }
@@ -647,7 +647,7 @@ const De = (e) => (ge("data-v-278b4efc"), e = e(), ye(), e), Dl = ["onMouseenter
647
647
  }
648
648
  return a({
649
649
  open: V,
650
- info: B,
650
+ info: S,
651
651
  success: k,
652
652
  error: x,
653
653
  warning: $,
@@ -1124,7 +1124,8 @@ const $a = { class: "abl-dialog__header" }, ka = { class: "abl-dialog__title" },
1124
1124
  const d = a, f = () => {
1125
1125
  l.beforeClose || (d("update:modelValue", !1), d("close"));
1126
1126
  }, h = (p) => {
1127
- l.maskClosable && (n.value.contains(p.target) || f()), d("onOverlayClick");
1127
+ var g;
1128
+ l.maskClosable && ((g = n.value) != null && g.contains(p.target) || f()), d("onOverlayClick");
1128
1129
  }, v = D(() => ({
1129
1130
  "is-align-center": l.alignCenter
1130
1131
  }));
@@ -1152,7 +1153,7 @@ const $a = { class: "abl-dialog__header" }, ka = { class: "abl-dialog__title" },
1152
1153
  e.showClose ? (c(), u("i", {
1153
1154
  key: 0,
1154
1155
  class: "iconfont-abl icon-abl-close close-icon",
1155
- onClick: f
1156
+ onClick: J(f, ["stop"])
1156
1157
  })) : I("", !0)
1157
1158
  ])
1158
1159
  ]),
@@ -1335,7 +1336,7 @@ const Ea = async (e, a, t) => {
1335
1336
  } = s[_], {
1336
1337
  x: y,
1337
1338
  y: V,
1338
- data: B,
1339
+ data: S,
1339
1340
  reset: k
1340
1341
  } = await b({
1341
1342
  x: h,
@@ -1355,7 +1356,7 @@ const Ea = async (e, a, t) => {
1355
1356
  ...g,
1356
1357
  [C]: {
1357
1358
  ...g[C],
1358
- ...B
1359
+ ...S
1359
1360
  }
1360
1361
  }, k && m <= 50 && (m++, typeof k == "object" && (k.placement && (p = k.placement), k.rects && (f = k.rects === !0 ? await o.getElementRects({
1361
1362
  reference: e,
@@ -1399,7 +1400,7 @@ async function Tt(e, a) {
1399
1400
  ...o.floating,
1400
1401
  x: l,
1401
1402
  y: n
1402
- } : o.reference, V = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), B = await (i.isElement == null ? void 0 : i.isElement(V)) ? await (i.getScale == null ? void 0 : i.getScale(V)) || {
1403
+ } : o.reference, V = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), S = await (i.isElement == null ? void 0 : i.isElement(V)) ? await (i.getScale == null ? void 0 : i.getScale(V)) || {
1403
1404
  x: 1,
1404
1405
  y: 1
1405
1406
  } : {
@@ -1412,10 +1413,10 @@ async function Tt(e, a) {
1412
1413
  strategy: d
1413
1414
  }) : y);
1414
1415
  return {
1415
- top: (b.top - k.top + m.top) / B.y,
1416
- bottom: (k.bottom - b.bottom + m.bottom) / B.y,
1417
- left: (b.left - k.left + m.left) / B.x,
1418
- right: (k.right - b.right + m.right) / B.x
1416
+ top: (b.top - k.top + m.top) / S.y,
1417
+ bottom: (k.bottom - b.bottom + m.bottom) / S.y,
1418
+ left: (b.left - k.left + m.left) / S.x,
1419
+ right: (k.right - b.right + m.right) / S.x
1419
1420
  };
1420
1421
  }
1421
1422
  const Oa = (e) => ({
@@ -1439,10 +1440,10 @@ const Oa = (e) => ({
1439
1440
  const v = Pt(h), p = {
1440
1441
  x: t,
1441
1442
  y: l
1442
- }, g = ft(n), m = dt(g), _ = await o.getDimensions(f), C = g === "y", b = C ? "top" : "left", y = C ? "bottom" : "right", V = C ? "clientHeight" : "clientWidth", B = i.reference[m] + i.reference[g] - p[g] - i.floating[m], k = p[g] - i.reference[g], x = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1443
+ }, g = ft(n), m = dt(g), _ = await o.getDimensions(f), C = g === "y", b = C ? "top" : "left", y = C ? "bottom" : "right", V = C ? "clientHeight" : "clientWidth", S = i.reference[m] + i.reference[g] - p[g] - i.floating[m], k = p[g] - i.reference[g], x = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(f));
1443
1444
  let $ = x ? x[V] : 0;
1444
1445
  (!$ || !await (o.isElement == null ? void 0 : o.isElement(x))) && ($ = s.floating[V] || i.floating[m]);
1445
- const T = B / 2 - k / 2, L = $ / 2 - _[m] / 2 - 1, N = Re(v[b], L), Y = Re(v[y], L), U = N, F = $ - _[m] - Y, W = $ / 2 - _[m] / 2 + T, A = ot(U, W, F), X = !d.arrow && He(n) != null && W !== A && i.reference[m] / 2 - (W < U ? N : Y) - _[m] / 2 < 0, M = X ? W < U ? W - U : W - F : 0;
1446
+ const T = S / 2 - k / 2, L = $ / 2 - _[m] / 2 - 1, N = Re(v[b], L), Y = Re(v[y], L), U = N, F = $ - _[m] - Y, W = $ / 2 - _[m] / 2 + T, A = ot(U, W, F), X = !d.arrow && He(n) != null && W !== A && i.reference[m] / 2 - (W < U ? N : Y) - _[m] / 2 < 0, M = X ? W < U ? W - U : W - F : 0;
1446
1447
  return {
1447
1448
  [g]: p[g] + M,
1448
1449
  data: {
@@ -1479,9 +1480,9 @@ const Oa = (e) => ({
1479
1480
  } = Fe(e, a);
1480
1481
  if ((t = i.arrow) != null && t.alignmentOffset)
1481
1482
  return {};
1482
- const b = Ve(n), y = Ve(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), B = p || (y || !_ ? [Xe(s)] : Ia(s));
1483
- !p && m !== "none" && B.push(...Ma(s, _, m, V));
1484
- const k = [s, ...B], x = await Tt(a, C), $ = [];
1483
+ const b = Ve(n), y = Ve(s) === s, V = await (d.isRTL == null ? void 0 : d.isRTL(f.floating)), S = p || (y || !_ ? [Xe(s)] : Ia(s));
1484
+ !p && m !== "none" && S.push(...Ma(s, _, m, V));
1485
+ const k = [s, ...S], x = await Tt(a, C), $ = [];
1485
1486
  let T = ((l = i.flip) == null ? void 0 : l.overflows) || [];
1486
1487
  if (h && $.push(x[b]), v) {
1487
1488
  const U = Aa(n, o, V);
@@ -1768,8 +1769,8 @@ function Le(e, a, t, l) {
1768
1769
  const p = re(i), g = l && he(l) ? re(l) : l;
1769
1770
  let m = p, _ = m.frameElement;
1770
1771
  for (; _ && l && g !== m; ) {
1771
- const C = Ae(_), b = _.getBoundingClientRect(), y = fe(_), V = b.left + (_.clientLeft + parseFloat(y.paddingLeft)) * C.x, B = b.top + (_.clientTop + parseFloat(y.paddingTop)) * C.y;
1772
- d *= C.x, f *= C.y, h *= C.x, v *= C.y, d += V, f += B, m = re(_), _ = m.frameElement;
1772
+ const C = Ae(_), b = _.getBoundingClientRect(), y = fe(_), V = b.left + (_.clientLeft + parseFloat(y.paddingLeft)) * C.x, S = b.top + (_.clientTop + parseFloat(y.paddingTop)) * C.y;
1773
+ d *= C.x, f *= C.y, h *= C.x, v *= C.y, d += V, f += S, m = re(_), _ = m.frameElement;
1773
1774
  }
1774
1775
  }
1775
1776
  return Ye({
@@ -2000,7 +2001,7 @@ function on(e, a) {
2000
2001
  threshold: Se(0, Re(1, d)) || 1
2001
2002
  };
2002
2003
  let V = !0;
2003
- function B(k) {
2004
+ function S(k) {
2004
2005
  const x = k[0].intersectionRatio;
2005
2006
  if (x !== d) {
2006
2007
  if (!V)
@@ -2012,13 +2013,13 @@ function on(e, a) {
2012
2013
  V = !1;
2013
2014
  }
2014
2015
  try {
2015
- t = new IntersectionObserver(B, {
2016
+ t = new IntersectionObserver(S, {
2016
2017
  ...y,
2017
2018
  // Handle <iframe>s
2018
2019
  root: n.ownerDocument
2019
2020
  });
2020
2021
  } catch {
2021
- t = new IntersectionObserver(B, y);
2022
+ t = new IntersectionObserver(S, y);
2022
2023
  }
2023
2024
  t.observe(e);
2024
2025
  }
@@ -2139,16 +2140,16 @@ const fn = ["data-side"], Yt = {
2139
2140
  let C = null;
2140
2141
  const b = w(!1), y = w(), V = (A) => {
2141
2142
  y.value = A && A.nextElementSibling || null;
2142
- }, B = () => {
2143
+ }, S = () => {
2143
2144
  b.value = !0;
2144
2145
  }, k = () => b.value = !1, x = () => {
2145
2146
  y.value && _e(() => {
2146
2147
  y.value.addEventListener("click", T);
2147
2148
  const A = y.value.getBoundingClientRect();
2148
- l.widthAuto && (f.value = A != null && A.width ? (A == null ? void 0 : A.width) + "px" : "auto"), d.value && (y.value.addEventListener("mouseover", B, { capture: !0 }), y.value.addEventListener("mouseout", k, { capture: !0 }));
2149
+ l.widthAuto && (f.value = A != null && A.width ? (A == null ? void 0 : A.width) + "px" : "auto"), d.value && (y.value.addEventListener("mouseover", S, { capture: !0 }), y.value.addEventListener("mouseout", k, { capture: !0 }));
2149
2150
  });
2150
2151
  }, $ = () => {
2151
- y.value && (y.value.removeEventListener("click", T), d.value && (y.value.removeEventListener("mouseover", B, { capture: !0 }), y.value.removeEventListener("mouseout", k, { capture: !0 })));
2152
+ y.value && (y.value.removeEventListener("click", T), d.value && (y.value.removeEventListener("mouseover", S, { capture: !0 }), y.value.removeEventListener("mouseout", k, { capture: !0 })));
2152
2153
  };
2153
2154
  Ne(() => {
2154
2155
  t.value = !0, x(), ut(() => {
@@ -2162,7 +2163,7 @@ const fn = ["data-side"], Yt = {
2162
2163
  $(), x();
2163
2164
  });
2164
2165
  const T = (A) => {
2165
- l.shouldStopPropagation && A.stopPropagation(), B(), setTimeout(() => {
2166
+ l.shouldStopPropagation && A.stopPropagation(), S(), setTimeout(() => {
2166
2167
  document.addEventListener("mousedown", L, { once: !0 });
2167
2168
  }, 0);
2168
2169
  }, L = () => {
@@ -2201,7 +2202,7 @@ const fn = ["data-side"], Yt = {
2201
2202
  return Je(() => {
2202
2203
  $(), C && C();
2203
2204
  }), a({
2204
- open: B,
2205
+ open: S,
2205
2206
  close: k
2206
2207
  }), (A, X) => (c(), u(K, null, [
2207
2208
  (c(), oe(ct(A.$slots.default), we({
@@ -2978,7 +2979,7 @@ const Un = /* @__PURE__ */ r("div", {
2978
2979
  i.value[F] = !0;
2979
2980
  }, V = (F) => {
2980
2981
  o.value = (o.value + 1) % n.value;
2981
- }, B = (F) => {
2982
+ }, S = (F) => {
2982
2983
  o.value = (o.value - 1 + n.value) % n.value;
2983
2984
  }, k = () => {
2984
2985
  s.value + l.zoomRate > l.maxScale ? s.value = l.maxScale : s.value = b(s.value, l.zoomRate);
@@ -2995,11 +2996,11 @@ const Un = /* @__PURE__ */ r("div", {
2995
2996
  return;
2996
2997
  const W = F.target, { top: A, left: X, right: M, bottom: O } = W.getBoundingClientRect(), q = document.documentElement.clientWidth, le = document.documentElement.clientHeight;
2997
2998
  d.value = F.clientX, f.value = F.clientY;
2998
- const S = h.value, j = v.value;
2999
+ const B = h.value, j = v.value;
2999
3000
  document.onmousemove = (P) => {
3000
- h.value = S + P.clientX - d.value, v.value = j + P.clientY - f.value;
3001
+ h.value = B + P.clientX - d.value, v.value = j + P.clientY - f.value;
3001
3002
  }, document.onmouseup = (P) => {
3002
- h.value > S + q - M && (h.value = S + q - M), h.value < S - X && (h.value = S - X), v.value > j + le - O && (v.value = j + le - O), v.value < j - A && (v.value = j - A), document.onmousemove = null;
3003
+ h.value > B + q - M && (h.value = B + q - M), h.value < B - X && (h.value = B - X), v.value > j + le - O && (v.value = j + le - O), v.value < j - A && (v.value = j - A), document.onmousemove = null;
3003
3004
  };
3004
3005
  }, Y = (F) => {
3005
3006
  if (!l.drag)
@@ -3090,7 +3091,7 @@ const Un = /* @__PURE__ */ r("div", {
3090
3091
  n.value > 1 ? (c(), u(K, { key: 0 }, [
3091
3092
  r("div", {
3092
3093
  class: "abl-image-preview__btn abl-image-preview__prev",
3093
- onClick: J(B, ["stop"])
3094
+ onClick: J(S, ["stop"])
3094
3095
  }, eo),
3095
3096
  r("div", {
3096
3097
  class: "abl-image-preview__btn abl-image-preview__next",
@@ -3484,7 +3485,7 @@ const zo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), Ao = ["onClick"], I
3484
3485
  ...Te(i),
3485
3486
  onClose: C,
3486
3487
  current: v
3487
- }), B = Lo(() => {
3488
+ }), S = Lo(() => {
3488
3489
  p.value && C();
3489
3490
  });
3490
3491
  return xe(Eo, V), Ne(() => {
@@ -3492,7 +3493,7 @@ const zo = (e) => (ge("data-v-b0efe321"), e = e(), ye(), e), Ao = ["onClick"], I
3492
3493
  }), (x, $) => (c(), u("div", {
3493
3494
  class: "abl-dropdown",
3494
3495
  ref_key: "root",
3495
- ref: B
3496
+ ref: S
3496
3497
  }, [
3497
3498
  r("div", {
3498
3499
  class: "abl-dropdown-menu",
@@ -3894,7 +3895,7 @@ const at = (e) => (ge("data-v-1a0f5179"), e = e(), ye(), e), ss = { class: "abl-
3894
3895
  ], 6));
3895
3896
  }
3896
3897
  }, tl = /* @__PURE__ */ ee(ms, [["__scopeId", "data-v-1a0f5179"]]);
3897
- const ht = (e) => (ge("data-v-92ae8126"), e = e(), ye(), e), hs = { class: "abl-upload-list" }, gs = { class: "abl-upload" }, ys = ["onDrop", "onClick"], bs = ["accept", "multiple", "onChange"], _s = /* @__PURE__ */ ht(() => /* @__PURE__ */ r("span", { class: "abl-icon" }, "+", -1)), ws = { class: "abl-tip" }, xs = { class: "abl-file-uploading" }, $s = {
3898
+ const ht = (e) => (ge("data-v-5b34446d"), e = e(), ye(), e), hs = { class: "abl-upload-list" }, gs = { class: "abl-upload" }, ys = ["onDrop", "onClick"], bs = ["accept", "multiple", "onChange"], _s = /* @__PURE__ */ ht(() => /* @__PURE__ */ r("span", { class: "abl-icon" }, "+", -1)), ws = { class: "abl-tip" }, xs = { class: "abl-file-uploading" }, $s = {
3898
3899
  key: 0,
3899
3900
  class: "abl-file-preview"
3900
3901
  }, ks = { class: "abl-file-mask" }, Cs = ["onClick"], Ss = /* @__PURE__ */ ht(() => /* @__PURE__ */ r("svg", {
@@ -3977,35 +3978,35 @@ const ht = (e) => (ge("data-v-92ae8126"), e = e(), ye(), e), hs = { class: "abl-
3977
3978
  function d() {
3978
3979
  l.value = [...t.fileList], l.value.length > t.maxCount && l.value.splice(t.maxCount), t.disabled ? n.value = l.value.length : l.value.length < t.maxCount ? n.value = t.fileList.length + 1 : n.value = t.maxCount;
3979
3980
  }
3980
- const f = (B) => {
3981
+ const f = (S) => {
3981
3982
  const k = /\.(jpg|jpeg|png|gif|webp)$/i, x = /^data:image/;
3982
- return k.test(B) || x.test(B);
3983
- }, h = (B, k) => {
3983
+ return k.test(S) || x.test(S);
3984
+ }, h = (S, k) => {
3984
3985
  var $;
3985
- const x = ($ = B.dataTransfer) == null ? void 0 : $.files;
3986
+ const x = ($ = S.dataTransfer) == null ? void 0 : $.files;
3986
3987
  if (x != null && x.length) {
3987
3988
  const T = x.length;
3988
3989
  for (let L = 0; L < T && k + L <= t.maxCount; L++)
3989
3990
  m(x[L], k + L);
3990
3991
  o.value[k].value = "";
3991
3992
  }
3992
- }, v = (B) => {
3993
- o.value[B].click();
3994
- }, p = (B, k) => {
3995
- const x = B.target.files;
3993
+ }, v = (S) => {
3994
+ o.value[S].click();
3995
+ }, p = (S, k) => {
3996
+ const x = S.target.files;
3996
3997
  if (x != null && x.length) {
3997
3998
  const $ = x.length;
3998
3999
  for (let T = 0; T < $ && k + T < t.maxCount; T++)
3999
4000
  m(x[T], k + T);
4000
4001
  o.value[k].value = "";
4001
4002
  }
4002
- }, g = a, m = function(B, k) {
4003
- t.beforeUpload(B) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[k] = !0, _(B, k)), t.uploadMode === "custom" && (i.value[k] = !0, C(B, k))) : _e(() => {
4003
+ }, g = a, m = function(S, k) {
4004
+ t.beforeUpload(S) ? (t.maxCount > n.value && n.value++, t.uploadMode === "base64" && (i.value[k] = !0, _(S, k)), t.uploadMode === "custom" && (i.value[k] = !0, C(S, k))) : _e(() => {
4004
4005
  V(t.errorInfo);
4005
4006
  });
4006
- }, _ = (B, k) => {
4007
+ }, _ = (S, k) => {
4007
4008
  var x = new FileReader();
4008
- x.readAsDataURL(B), x.onloadstart = function($) {
4009
+ x.readAsDataURL(S), x.onloadstart = function($) {
4009
4010
  console.log("开始读取 onloadstart:", $);
4010
4011
  }, x.onabort = function($) {
4011
4012
  console.log("读取中止 onabort:", $);
@@ -4016,34 +4017,35 @@ const ht = (e) => (ge("data-v-92ae8126"), e = e(), ye(), e), hs = { class: "abl-
4016
4017
  }, x.onload = function($) {
4017
4018
  var T, L;
4018
4019
  t.isUrl ? l.value.push({
4019
- name: B.name,
4020
- url: (T = $.target) == null ? void 0 : T.result
4020
+ name: S.name,
4021
+ url: (T = $.target) == null ? void 0 : T.result,
4022
+ type: S.type
4021
4023
  }) : l.value.push((L = $.target) == null ? void 0 : L.result), g("update:fileList", l.value), g("change", l.value);
4022
4024
  }, x.onloadend = function($) {
4023
4025
  console.log("读取结束 onloadend:", $);
4024
4026
  };
4025
- }, C = (B, k) => {
4026
- t.customRequest(B).then((x) => {
4027
- l.value.push(x), g("update:fileList", l.value), g("change", l.value);
4027
+ }, C = (S, k) => {
4028
+ t.customRequest(S).then((x) => {
4029
+ x && l.value.push(x), g("update:fileList", l.value), g("change", l.value);
4028
4030
  }).catch((x) => {
4029
4031
  t.maxCount > 1 && (n.value = l.value.length + 1), V(x);
4030
4032
  }).finally(() => {
4031
4033
  i.value[k] = !1;
4032
4034
  });
4033
- }, b = (B, k) => {
4035
+ }, b = (S, k) => {
4034
4036
  if (f(k)) {
4035
- const x = l.value.slice(0, B).filter(($) => !f(t.isUrl ? $.url : $));
4036
- s.value[B - x.length].onPreview();
4037
+ const x = l.value.slice(0, S).filter(($) => !f(t.isUrl ? $.url : $));
4038
+ s.value[S - x.length].onPreview();
4037
4039
  } else
4038
4040
  window.open(k);
4039
- }, y = (B) => {
4041
+ }, y = (S) => {
4040
4042
  l.value.length < t.maxCount && n.value--;
4041
- const k = l.value.splice(B, 1);
4043
+ const k = l.value.splice(S, 1);
4042
4044
  g("remove", k), g("update:fileList", l.value), g("change", l.value);
4043
- }, V = (B) => {
4044
- Nt.error(B);
4045
+ }, V = (S) => {
4046
+ Nt.error(S);
4045
4047
  };
4046
- return (B, k) => (c(), u("div", hs, [
4048
+ return (S, k) => (c(), u("div", hs, [
4047
4049
  (c(!0), u(K, null, ae(n.value, (x) => (c(), u("div", {
4048
4050
  class: "abl-upload-item",
4049
4051
  key: x
@@ -4073,7 +4075,7 @@ const ht = (e) => (ge("data-v-92ae8126"), e = e(), ye(), e), hs = { class: "abl-
4073
4075
  r("div", null, [
4074
4076
  _s,
4075
4077
  r("p", ws, [
4076
- R(B.$slots, "default", {}, () => [
4078
+ R(S.$slots, "default", {}, () => [
4077
4079
  Q(H(e.tip), 1)
4078
4080
  ], !0)
4079
4081
  ])
@@ -4122,7 +4124,7 @@ const ht = (e) => (ge("data-v-92ae8126"), e = e(), ye(), e), hs = { class: "abl-
4122
4124
  ]))), 128))
4123
4125
  ]));
4124
4126
  }
4125
- }, Is = /* @__PURE__ */ ee(As, [["__scopeId", "data-v-92ae8126"]]);
4127
+ }, Is = /* @__PURE__ */ ee(As, [["__scopeId", "data-v-5b34446d"]]);
4126
4128
  const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-has-content" }, Ns = { key: 1 }, Es = ["placeholder"], Os = { class: "iconfont-abl icon-abl-shanglajiantou" }, Ps = { class: "iconfont-abl icon-abl-shangjiantou" }, Ts = ["onClick"], Ds = ["src"], Fs = {
4127
4129
  key: 1,
4128
4130
  class: "abl-select-options-item"
@@ -4204,7 +4206,7 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4204
4206
  return { width: (((O = v.value) == null ? void 0 : O.getBoundingClientRect().width) || 0) + "px" };
4205
4207
  }), y = Ie({
4206
4208
  list: o == null ? void 0 : o.options
4207
- }), V = w(!1), B = w(
4209
+ }), V = w(!1), S = w(
4208
4210
  o.search && g.value === "focus" && V.value
4209
4211
  ), k = D(() => o.disabled), x = w(""), $ = w([]), T = () => (l == null ? void 0 : l.default) && (l == null ? void 0 : l.default()) || [], L = () => {
4210
4212
  var M;
@@ -4212,28 +4214,28 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4212
4214
  l.default && (y.list = [], (M = l.default()) == null || M.map((O) => {
4213
4215
  var q;
4214
4216
  if (O.props) {
4215
- const { value: le, name: S, img: j, iconColor: P } = O.props;
4217
+ const { value: le, name: B, img: j, iconColor: P } = O.props;
4216
4218
  y.list.push({
4217
4219
  value: le,
4218
- name: S,
4220
+ name: B,
4219
4221
  img: j,
4220
4222
  iconColor: P
4221
4223
  }), _.value === le && $.value.push({
4222
4224
  value: le,
4223
- name: S,
4225
+ name: B,
4224
4226
  img: j,
4225
4227
  iconColor: P
4226
4228
  });
4227
4229
  } else
4228
4230
  ((q = O == null ? void 0 : O.children) == null ? void 0 : q.length) > 0 && O.children.map((le) => {
4229
- const { value: S, name: j, img: P, iconColor: G } = le.props;
4231
+ const { value: B, name: j, img: P, iconColor: G } = le.props;
4230
4232
  y.list.push({
4231
- value: S,
4233
+ value: B,
4232
4234
  name: j,
4233
4235
  img: P,
4234
4236
  iconColor: G
4235
- }), _.value === S && ($.value.splice(0, $.value.length), $.value.push({
4236
- value: S,
4237
+ }), _.value === B && ($.value.splice(0, $.value.length), $.value.push({
4238
+ value: B,
4237
4239
  name: j,
4238
4240
  img: P,
4239
4241
  iconColor: G
@@ -4254,7 +4256,7 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4254
4256
  deep: !0
4255
4257
  });
4256
4258
  const N = (M) => {
4257
- if (!B.value)
4259
+ if (!S.value)
4258
4260
  x.value = "";
4259
4261
  else {
4260
4262
  const O = s.filter((q) => {
@@ -4286,7 +4288,7 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4286
4288
  xe("handleSlotClick", U);
4287
4289
  const F = () => {
4288
4290
  var M;
4289
- (M = p.value) == null || M.focus(), !B.value && g.value === "focus" && $.value.length > 0 && ($.value.pop(), d("change", yt($.value)));
4291
+ (M = p.value) == null || M.focus(), !S.value && g.value === "focus" && $.value.length > 0 && ($.value.pop(), d("change", yt($.value)));
4290
4292
  }, W = () => {
4291
4293
  C.value = !1, g.value = "blur", x.value = "";
4292
4294
  }, A = () => {
@@ -4297,7 +4299,7 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4297
4299
  return ne(
4298
4300
  V,
4299
4301
  (M) => {
4300
- B.value = o.search && g.value === "focus" && M;
4302
+ S.value = o.search && g.value === "focus" && M;
4301
4303
  },
4302
4304
  { immediate: !0, deep: !0 }
4303
4305
  ), ne(
@@ -4316,7 +4318,7 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4316
4318
  }, { immediate: !0, deep: !0 }), Ne(() => {
4317
4319
  ne(g, (M) => {
4318
4320
  var O, q;
4319
- M === "focus" ? (O = p.value) == null || O.focus() : (q = p.value) == null || q.blur(), B.value = o.search && M === "focus" && V;
4321
+ M === "focus" ? (O = p.value) == null || O.focus() : (q = p.value) == null || q.blur(), S.value = o.search && M === "focus" && V;
4320
4322
  }), document.body.addEventListener("click", () => {
4321
4323
  g.value = "blur";
4322
4324
  });
@@ -4352,9 +4354,9 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4352
4354
  id: "abl-select"
4353
4355
  }, [
4354
4356
  y.list.length > 0 ? (c(!0), u(K, { key: 0 }, ae(y.list, (q, le) => (c(), u("div", {
4355
- class: z(["abl-select-options-item", $.value.some((S) => S.value === q.value) ? "abl-options-item-active" : ""]),
4357
+ class: z(["abl-select-options-item", $.value.some((B) => B.value === q.value) ? "abl-options-item-active" : ""]),
4356
4358
  key: q.name + q.value,
4357
- onClick: (S) => U(q, S)
4359
+ onClick: (B) => U(q, B)
4358
4360
  }, [
4359
4361
  i.value ? R(M.$slots, "abloption", gt(we({ key: 0 }, q)), void 0, !0) : (c(), u(K, { key: 1 }, [
4360
4362
  q.iconColor ? (c(), u("div", {
@@ -4392,12 +4394,12 @@ const Rs = { class: "abl-select-warpper-content" }, Ms = { class: "abl-select-ha
4392
4394
  n.value ? R(M.$slots, "ablname", gt(we({ key: 0 }, { name: h.value })), void 0, !0) : (c(), u("span", Ns, H(h.value), 1))
4393
4395
  ])
4394
4396
  ], 512), [
4395
- [te, $.value.length && !B.value]
4397
+ [te, $.value.length && !S.value]
4396
4398
  ]),
4397
4399
  Z(r("input", {
4398
4400
  onBlur: O[0] || (O[0] = (q) => W()),
4399
4401
  type: "text",
4400
- class: z(["abl-select-input-focus", B.value ? "abl-select-input-search" : ""]),
4402
+ class: z(["abl-select-input-focus", S.value ? "abl-select-input-search" : ""]),
4401
4403
  ref_key: "inputFocus",
4402
4404
  ref: p,
4403
4405
  "onUpdate:modelValue": O[1] || (O[1] = (q) => x.value = q),
@@ -4515,18 +4517,18 @@ const Ws = {
4515
4517
  a.bordered ? _e(() => {
4516
4518
  s.value.forEach((C, b) => {
4517
4519
  C.forEach((y) => {
4518
- const V = Array.from(y.element.children), B = V[0].cloneNode(!0);
4519
- B.colSpan = 1, v(B, a.labelStyle), v(B, JSON.parse(y.element.dataset.labelStyle));
4520
+ const V = Array.from(y.element.children), S = V[0].cloneNode(!0);
4521
+ S.colSpan = 1, v(S, a.labelStyle), v(S, JSON.parse(y.element.dataset.labelStyle));
4520
4522
  const k = V[1].cloneNode(!0);
4521
- k.colSpan = y.span * 2 - 1, v(k, a.contentStyle), v(k, JSON.parse(y.element.dataset.contentStyle)), o.value[b].appendChild(B), o.value[b].appendChild(k);
4523
+ k.colSpan = y.span * 2 - 1, v(k, a.contentStyle), v(k, JSON.parse(y.element.dataset.contentStyle)), o.value[b].appendChild(S), o.value[b].appendChild(k);
4522
4524
  });
4523
4525
  });
4524
4526
  }) : _e(() => {
4525
4527
  p.forEach((C, b) => {
4526
4528
  const y = Array.from(C.children), V = y[0];
4527
4529
  v(V, a.labelStyle), v(V, JSON.parse(C.dataset.labelStyle));
4528
- const B = y[1];
4529
- v(B, a.contentStyle), v(B, JSON.parse(C.dataset.contentStyle)), i.value[b].appendChild(C);
4530
+ const S = y[1];
4531
+ v(S, a.contentStyle), v(S, JSON.parse(C.dataset.contentStyle)), i.value[b].appendChild(C);
4530
4532
  });
4531
4533
  });
4532
4534
  }
@@ -4776,43 +4778,43 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4776
4778
  const s = w(), d = w(), f = si();
4777
4779
  w(), w(), w([]);
4778
4780
  const h = D(() => {
4779
- const { marks: S, max: j, min: P } = t;
4780
- return Object.keys(S).map(parseFloat).sort((ce, pe) => ce - pe).filter((ce) => ce >= +P && ce <= +j);
4781
+ const { marks: B, max: j, min: P } = t;
4782
+ return Object.keys(B).map(parseFloat).sort((ce, pe) => ce - pe).filter((ce) => ce >= +P && ce <= +j);
4781
4783
  }), v = D(() => Number(t.max) - Number(t.min)), p = w([]), g = w(), m = D(() => {
4782
- const S = "abl-range";
4784
+ const B = "abl-range";
4783
4785
  return {
4784
- [S]: !0,
4785
- [`${S}-disabled`]: t.disabled,
4786
- [`${S}-vertical`]: t.vertical,
4787
- [`${S}-show-number`]: !t.hiddenRange
4786
+ [B]: !0,
4787
+ [`${B}-disabled`]: t.disabled,
4788
+ [`${B}-vertical`]: t.vertical,
4789
+ [`${B}-show-number`]: !t.hiddenRange
4788
4790
  };
4789
4791
  }), _ = D(() => {
4790
- const S = "abl-range-container";
4792
+ const B = "abl-range-container";
4791
4793
  return {
4792
- [S]: !0,
4793
- [`${S}-vertical`]: t.vertical
4794
+ [B]: !0,
4795
+ [`${B}-vertical`]: t.vertical
4794
4796
  };
4795
4797
  }), C = D(() => ({
4796
4798
  background: t.inactiveColor
4797
4799
  })), b = D(() => ({
4798
4800
  borderColor: t.buttonColor
4799
- })), y = w(!1), V = (S) => !!t.range && Array.isArray(S), B = () => {
4800
- const { modelValue: S, min: j } = t;
4801
- return V(S) ? `${(S[1] - S[0]) * 100 / v.value}%` : `${(S - Number(j)) * 100 / v.value}%`;
4801
+ })), y = w(!1), V = (B) => !!t.range && Array.isArray(B), S = () => {
4802
+ const { modelValue: B, min: j } = t;
4803
+ return V(B) ? `${(B[1] - B[0]) * 100 / v.value}%` : `${(B - Number(j)) * 100 / v.value}%`;
4802
4804
  }, k = () => {
4803
- const { modelValue: S, min: j } = t;
4804
- return V(S) ? `${(S[0] - Number(j)) * 100 / v.value}%` : "0%";
4805
+ const { modelValue: B, min: j } = t;
4806
+ return V(B) ? `${(B[0] - Number(j)) * 100 / v.value}%` : "0%";
4805
4807
  }, x = D(() => t.vertical ? {
4806
- height: B(),
4808
+ height: S(),
4807
4809
  top: k(),
4808
4810
  background: t.activeColor,
4809
4811
  transition: d.value ? "none" : void 0
4810
4812
  } : {
4811
- width: B(),
4813
+ width: S(),
4812
4814
  left: k(),
4813
4815
  background: t.activeColor,
4814
4816
  transition: d.value ? "none" : void 0
4815
- }), $ = (S) => {
4817
+ }), $ = (B) => {
4816
4818
  const j = "abl-range-mark", { modelValue: P, max: G, min: ue } = t;
4817
4819
  let ce = Number(ue), pe = Number(G);
4818
4820
  if (t.range) {
@@ -4820,20 +4822,20 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4820
4822
  ce = ze, pe = Oe;
4821
4823
  } else
4822
4824
  pe = P;
4823
- let Ee = S <= +pe && S >= ce;
4825
+ let Ee = B <= +pe && B >= ce;
4824
4826
  return {
4825
4827
  [`${j}-text`]: !0,
4826
4828
  [`${j}-text-active`]: Ee
4827
4829
  };
4828
- }, T = (S) => {
4830
+ }, T = (B) => {
4829
4831
  const { min: j, vertical: P } = t;
4830
4832
  let G = {
4831
- left: `${(S - Number(j)) / v.value * 100}%`
4833
+ left: `${(B - Number(j)) / v.value * 100}%`
4832
4834
  };
4833
4835
  return P && (G = {
4834
- top: `${(S - Number(j)) / v.value * 100}%`
4836
+ top: `${(B - Number(j)) / v.value * 100}%`
4835
4837
  }), G;
4836
- }, L = (S) => {
4838
+ }, L = (B) => {
4837
4839
  const { modelValue: j, max: P, min: G } = t;
4838
4840
  let ue = Number(G), ce = Number(P);
4839
4841
  if (t.range) {
@@ -4841,20 +4843,20 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4841
4843
  ue = ze, ce = Oe;
4842
4844
  }
4843
4845
  return {
4844
- background: S <= ce && S >= ue ? t.activeColor : t.inactiveColor
4846
+ background: B <= ce && B >= ue ? t.activeColor : t.inactiveColor
4845
4847
  };
4846
- }, N = (S) => {
4848
+ }, N = (B) => {
4847
4849
  const { min: j, max: P, step: G } = t;
4848
- return S = Math.max(+j, Math.min(S, +P)), Math.round(S / +G) * +G;
4849
- }, Y = (S, j) => JSON.stringify(S) === JSON.stringify(j), U = (S) => S[0] > S[1] ? S.slice(0).reverse() : S, F = (S, j) => {
4850
- V(S) ? S = U(S).map(N) : S = N(S), Y(S, t.modelValue) || l("update:modelValue", S), j && !Y(S, i) && l("change", S);
4851
- }, W = (S) => {
4850
+ return B = Math.max(+j, Math.min(B, +P)), Math.round(B / +G) * +G;
4851
+ }, Y = (B, j) => JSON.stringify(B) === JSON.stringify(j), U = (B) => B[0] > B[1] ? B.slice(0).reverse() : B, F = (B, j) => {
4852
+ V(B) ? B = U(B).map(N) : B = N(B), Y(B, t.modelValue) || l("update:modelValue", B), j && !Y(B, i) && l("change", B);
4853
+ }, W = (B) => {
4852
4854
  if (t.disabled || d.value === "draging")
4853
4855
  return;
4854
4856
  y.value = !0;
4855
4857
  const { min: j, modelValue: P } = t, G = Vt(s);
4856
- let ue = S.clientX - G.left, ce = G.width;
4857
- t.vertical && (ue = S.clientY - G.top, ce = G.height);
4858
+ let ue = B.clientX - G.left, ce = G.width;
4859
+ t.vertical && (ue = B.clientY - G.top, ce = G.height);
4858
4860
  const pe = Number(j) + ue / ce * v.value;
4859
4861
  if (V(P)) {
4860
4862
  const [Ee, ze] = P, Oe = (Ee + ze) / 2;
@@ -4866,23 +4868,23 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4866
4868
  });
4867
4869
  }, A = () => {
4868
4870
  y.value = !1;
4869
- }, X = (S) => {
4870
- t.disabled || (f.start(S), o = t.modelValue, V(o) ? i = o.map(N) : i = N(o), d.value = "start");
4871
- }, M = (S) => {
4871
+ }, X = (B) => {
4872
+ t.disabled || (f.start(B), o = t.modelValue, V(o) ? i = o.map(N) : i = N(o), d.value = "start");
4873
+ }, M = (B) => {
4872
4874
  if (t.disabled)
4873
4875
  return;
4874
- d.value === "start" && l("dragStart"), f.move(S), d.value = "draging", S.type.startsWith("touch") && (y.value = !0);
4876
+ d.value === "start" && l("dragStart"), f.move(B), d.value = "draging", B.type.startsWith("touch") && (y.value = !0);
4875
4877
  const j = Vt(s);
4876
4878
  let P = f.deltaX.value, G = j.width, ue = P / G * v.value;
4877
4879
  t.vertical && (P = f.deltaY.value, G = j.height, ue = P / G * v.value), V(i) ? o[n.value] = i[n.value] + ue : o = i + ue, F(o);
4878
- }, O = (S) => {
4879
- t.disabled || d.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", M), window.removeEventListener("touchmove", M), window.removeEventListener("mouseup", O), window.removeEventListener("touchend", O), S.type.startsWith("touch") && (y.value = !1), setTimeout(() => {
4880
+ }, O = (B) => {
4881
+ t.disabled || d.value === "draging" && (F(o, !0), l("dragEnd"), window.removeEventListener("mousemove", M), window.removeEventListener("touchmove", M), window.removeEventListener("mouseup", O), window.removeEventListener("touchend", O), B.type.startsWith("touch") && (y.value = !1), setTimeout(() => {
4880
4882
  d.value = "";
4881
4883
  }));
4882
- }, q = (S, j) => {
4883
- t.disabled || (X(S), window.addEventListener("mousemove", M), window.addEventListener("touchmove", M), window.addEventListener("mouseup", O), window.addEventListener("touchend", O));
4884
- }, le = (S) => Array.isArray(t.modelValue) && typeof S == "number" ? t.modelValue[S] : Number(t.modelValue);
4885
- return (S, j) => (c(), u("div", {
4884
+ }, q = (B, j) => {
4885
+ t.disabled || (X(B), window.addEventListener("mousemove", M), window.addEventListener("touchmove", M), window.addEventListener("mouseup", O), window.addEventListener("touchend", O));
4886
+ }, le = (B) => Array.isArray(t.modelValue) && typeof B == "number" ? t.modelValue[B] : Number(t.modelValue);
4887
+ return (B, j) => (c(), u("div", {
4886
4888
  class: z(_.value)
4887
4889
  }, [
4888
4890
  e.hiddenRange ? I("", !0) : (c(), u("div", ci, H(+e.min), 1)),
@@ -4930,7 +4932,7 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4930
4932
  typeof P == "number" && (n.value = P), q(G);
4931
4933
  }
4932
4934
  }, [
4933
- S.$slots.button ? R(S.$slots, "button", { key: 0 }, void 0, !0) : (c(), u("div", {
4935
+ B.$slots.button ? R(B.$slots, "button", { key: 0 }, void 0, !0) : (c(), u("div", {
4934
4936
  key: 1,
4935
4937
  class: "abl-range-button",
4936
4938
  style: E(b.value)
@@ -4961,7 +4963,7 @@ const ll = (e) => (ge("data-v-f9f5ec36"), e = e(), ye(), e), ci = {
4961
4963
  q(P);
4962
4964
  })
4963
4965
  }, [
4964
- S.$slots.button ? R(S.$slots, "button", { key: 0 }, void 0, !0) : (c(), u("div", {
4966
+ B.$slots.button ? R(B.$slots, "button", { key: 0 }, void 0, !0) : (c(), u("div", {
4965
4967
  key: 1,
4966
4968
  class: "abl-range-button",
4967
4969
  style: E(b.value)