@fox-js/foxui-pc 4.0.1-122 → 4.0.1-123

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/dist/index.esm.js CHANGED
@@ -5,7 +5,7 @@ import { ElAffix as vp, ElAlert as mp, ElAside as pp, ElAutoResizer as yp, ElAut
5
5
  import { ArrowLeft as ao, ArrowUp as Pn, Download as oo, RefreshLeft as ro, Loading as Ls, Setting as Ms, CircleClose as Rs, Close as so, ArrowRight as _s } from "@element-plus/icons-vue";
6
6
  import { useFoxI18n as tt } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Mon Jan 13 2025 15:19:55 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Fri Jan 24 2025 21:55:53 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const mn = window, qs = typeof window < "u";
11
11
  function Bs() {
@@ -1484,16 +1484,16 @@ function yo(e, t, l = [], n) {
1484
1484
  pureDataValidate: !0
1485
1485
  };
1486
1486
  if (i) {
1487
- const V = di(
1487
+ const L = di(
1488
1488
  i,
1489
1489
  R,
1490
1490
  F,
1491
1491
  g,
1492
1492
  h
1493
1493
  );
1494
- o[nn].set(R, V);
1494
+ o[nn].set(R, L);
1495
1495
  const N = x[R];
1496
- N && V.validateSchema.setRule(N);
1496
+ N && L.validateSchema.setRule(N);
1497
1497
  }
1498
1498
  });
1499
1499
  return;
@@ -2992,7 +2992,7 @@ const Di = (e, t, l, n = !1) => ({
2992
2992
  }
2993
2993
  }
2994
2994
  return C.length === 0 ? null : O("view", { class: "fox-header-bar__right" }, C);
2995
- }, V = () => {
2995
+ }, L = () => {
2996
2996
  if (!a.titleShow)
2997
2997
  return null;
2998
2998
  const C = [], w = o.slots.default ? o.slots.default() : null;
@@ -3027,7 +3027,7 @@ const Di = (e, t, l, n = !1) => ({
3027
3027
  else {
3028
3028
  const B = [], $ = R();
3029
3029
  $ && B.push($);
3030
- const E = V();
3030
+ const E = L();
3031
3031
  E && B.push(E);
3032
3032
  const A = F();
3033
3033
  if (A && B.push(A), B.length > 0) {
@@ -3441,7 +3441,7 @@ function Qi(e, t, l) {
3441
3441
  J = `repeat(auto-fill, ${n.columnWidth})`;
3442
3442
  else {
3443
3443
  const ne = Zi(
3444
- V.value,
3444
+ L.value,
3445
3445
  r.layout.value.column,
3446
3446
  r.layout.value.gutter
3447
3447
  );
@@ -3457,20 +3457,20 @@ function Qi(e, t, l) {
3457
3457
  }, F = () => {
3458
3458
  let H = M.length;
3459
3459
  M.splice(0, H);
3460
- }, V = j(-1), N = (H) => {
3460
+ }, L = j(-1), N = (H) => {
3461
3461
  const J = To(H).width;
3462
- J > 0 && J !== V.value && (V.value = J);
3462
+ J > 0 && J !== L.value && (L.value = J);
3463
3463
  };
3464
3464
  Un(
3465
3465
  o,
3466
- V.value,
3466
+ L.value,
3467
3467
  T.value,
3468
3468
  p.value,
3469
3469
  !0,
3470
3470
  n.minItemWidth,
3471
3471
  n.maxItemWidth,
3472
3472
  n.type
3473
- ), n.autoLayout && fe([V, T, p], ([H, J, ne]) => {
3473
+ ), n.autoLayout && fe([L, T, p], ([H, J, ne]) => {
3474
3474
  r.order.index = 0, Un(o, H, J, ne, !1, n.minItemWidth, n.maxItemWidth, n.type);
3475
3475
  });
3476
3476
  const C = b(() => G.value ? n.expandText ?? "" : n.collapseText ?? ""), w = b(() => ({
@@ -3522,7 +3522,7 @@ function Qi(e, t, l) {
3522
3522
  doLayout: () => {
3523
3523
  M[0] && (N(M[0]), Un(
3524
3524
  o,
3525
- V.value,
3525
+ L.value,
3526
3526
  T.value,
3527
3527
  p.value,
3528
3528
  !0,
@@ -3575,7 +3575,7 @@ function Qi(e, t, l) {
3575
3575
  }), at(() => {
3576
3576
  D?.disconnect(), i && i.unobserve($.value);
3577
3577
  });
3578
- const L = (H = "right") => {
3578
+ const V = (H = "right") => {
3579
3579
  const J = [];
3580
3580
  if (C.value) {
3581
3581
  const W = {
@@ -3623,7 +3623,7 @@ function Qi(e, t, l) {
3623
3623
  } else {
3624
3624
  const W = [], ee = n.collapsePosition === "left";
3625
3625
  if (ee && n.showCollapse) {
3626
- const ae = L("left");
3626
+ const ae = V("left");
3627
3627
  ae && W.push(ae);
3628
3628
  }
3629
3629
  if (n.title || a.slots.title) {
@@ -3648,7 +3648,7 @@ function Qi(e, t, l) {
3648
3648
  }
3649
3649
  }
3650
3650
  if (a.slots.toolbar && W.push(a.slots.toolbar()), !ee && n.showCollapse) {
3651
- const ae = L("right");
3651
+ const ae = V("right");
3652
3652
  ae && W.push(ae);
3653
3653
  }
3654
3654
  if (W.length > 0) {
@@ -4123,7 +4123,7 @@ const ko = /* @__PURE__ */ ot(du, [["render", vu]]), { componentName: Xn, create
4123
4123
  return e.showArrow ? (w.width = `${e.arrowSize}px`, w.height = `${e.arrowSize}px`, r.value === "top" ? (w.left = "50%", w.bottom = `-${e.arrowSize}px`, w.transform = " translate(-50%, 0%)") : r.value === "top-start" ? (w.left = `${e.arrowOffset + f.value}px`, w.bottom = `-${e.arrowSize}px`) : r.value === "top-end" ? (w.right = `${e.arrowOffset - f.value}px`, w.bottom = `-${e.arrowSize}px`) : r.value === "right" ? (w.left = `-${e.arrowSize}px`, w.top = "50%", w.transform = " translate(0%, -50%)") : r.value === "right-start" ? (w.left = `-${e.arrowSize}px`, w.top = `${e.arrowOffset}px`) : r.value === "right-end" ? (w.left = `-${e.arrowSize}px`, w.bottom = `-${e.arrowOffset}px`) : r.value === "bottom" ? (w.left = "50%", w.top = `-${e.arrowSize}px`, w.transform = " translate(-50%, 0%)") : r.value === "bottom-start" ? (w.left = `${e.arrowOffset + f.value}px`, w.top = `-${e.arrowSize}px`) : r.value === "bottom-end" ? (w.right = `${e.arrowOffset - f.value}px`, w.top = `-${e.arrowSize}px`) : r.value === "left" ? (w.right = `-${e.arrowSize}px`, w.top = "50%", w.transform = " translate(0%, -50%)") : r.value === "left-start" ? (w.right = `-${e.arrowSize}px`, w.top = `${e.arrowOffset}px`) : r.value === "left-end" && (w.right = `-${e.arrowSize}px`, w.bottom = `-${e.arrowOffset}px`), w) : {
4124
4124
  display: "none"
4125
4125
  };
4126
- }), V = b(() => g.value && e.closeOnClick), N = b(() => {
4126
+ }), L = b(() => g.value && e.closeOnClick), N = b(() => {
4127
4127
  const w = {};
4128
4128
  return e.zIndex && (w["z-index"] = `${e.zIndex}`), w;
4129
4129
  });
@@ -4136,7 +4136,7 @@ const ko = /* @__PURE__ */ ot(du, [["render", vu]]), { componentName: Xn, create
4136
4136
  textStyles: M,
4137
4137
  arrowClasses: R,
4138
4138
  arrowStyles: F,
4139
- overlayShow: V,
4139
+ overlayShow: L,
4140
4140
  overlayStyle: N,
4141
4141
  onClickOverlay: () => {
4142
4142
  I.value = !1, t.emit("update:visible", !1);
@@ -4343,7 +4343,7 @@ function Cu(e, t, l, n = !1) {
4343
4343
  [`label--${T.value}`]: !0
4344
4344
  })), R = Ze(fn(a, "labelWidth"), "labelWidth", lt.Near), F = b(() => R && R.value ? {
4345
4345
  width: Ge(R.value)
4346
- } : {}), V = b(() => ({
4346
+ } : {}), L = b(() => ({
4347
4347
  "label--string": !0,
4348
4348
  "label--required": h.value
4349
4349
  })), N = b(() => ({
@@ -4441,7 +4441,7 @@ function Cu(e, t, l, n = !1) {
4441
4441
  if (!x())
4442
4442
  return null;
4443
4443
  const S = [], W = o.slots?.label?.() ?? a.label, ee = {
4444
- class: V.value
4444
+ class: L.value
4445
4445
  }, ae = O("div", ee, [W]);
4446
4446
  if (S.push(ae), o.slots.fixedPreTip) {
4447
4447
  const pe = o.slots.fixedPreTip();
@@ -4452,7 +4452,7 @@ function Cu(e, t, l, n = !1) {
4452
4452
  style: F.value
4453
4453
  };
4454
4454
  return O("div", ye, S);
4455
- }, L = () => {
4455
+ }, V = () => {
4456
4456
  const S = [];
4457
4457
  if (o.slots.prepend) {
4458
4458
  const ee = o.slots.prepend();
@@ -4500,7 +4500,7 @@ function Cu(e, t, l, n = !1) {
4500
4500
  return () => {
4501
4501
  const S = [], W = [], ee = _();
4502
4502
  ee && W.push(ee);
4503
- const ae = L();
4503
+ const ae = V();
4504
4504
  ae && W.push(ae);
4505
4505
  const ye = {
4506
4506
  class: z.value
@@ -4770,7 +4770,7 @@ function Mu(e, t, l) {
4770
4770
  n.showTooltip && M.value === !1 && (R && clearTimeout(R), R = setTimeout(() => {
4771
4771
  M.value = !0;
4772
4772
  }, 150));
4773
- }, V = () => {
4773
+ }, L = () => {
4774
4774
  R && (clearTimeout(R), M.value = !1, R = null);
4775
4775
  }, N = b(() => M.value || x.value), C = b(() => M.value ? f.value : h.value), w = b(() => On(n.unit) > 0), B = j();
4776
4776
  return ze({
@@ -4804,7 +4804,7 @@ function Mu(e, t, l) {
4804
4804
  onFocus: p,
4805
4805
  onBlur: T,
4806
4806
  onMouseover: F,
4807
- onMouseleave: V
4807
+ onMouseleave: L
4808
4808
  }, A = {};
4809
4809
  a.slots.prepend && (A.prepend = a.slots.prepend), a.slots.append && (A.append = a.slots.append), a.slots.prefix && (A.prefix = a.slots.prefix), a.slots.suffix ? A.suffix = a.slots.suffix : w.value && (A.suffix = () => [n.unit]);
4810
4810
  const G = [], Y = O(xl, E, A);
@@ -4922,8 +4922,7 @@ const Zl = {
4922
4922
  },
4923
4923
  // 数据源
4924
4924
  source: {
4925
- type: [Array, Function, String],
4926
- default: []
4925
+ type: [Array, Function, String]
4927
4926
  },
4928
4927
  // 参数
4929
4928
  params: {
@@ -5051,8 +5050,12 @@ function Wu(e, t, l) {
5051
5050
  }
5052
5051
  },
5053
5052
  n.prop ?? a.attrs.name
5054
- ), { toLocaleRefs: i } = tt(t), c = i(n, ["placeholder"]), u = j(null), f = j([]), m = b(() => f.value ? f.value.map((U) => $t(n, U)).join(" ") : ""), I = (L, U, H, J = !0) => {
5055
- const ne = Do(n, L, U, H);
5053
+ ), { toLocaleRefs: i } = tt(t), c = i(n, ["placeholder"]), u = j(null), f = j([]), m = b(() => f.value ? f.value.map((U) => $t(n, U)).join(" ") : ""), I = (V, U, H, J = !0) => {
5054
+ if (H.length == 0) {
5055
+ s("update:modelValue", V), s("change", V), u.value = V;
5056
+ return;
5057
+ }
5058
+ const ne = Do(n, V, U, H);
5056
5059
  if (ne === null) {
5057
5060
  if (f.value === null || f.value.length === 0)
5058
5061
  return;
@@ -5084,10 +5087,10 @@ function Wu(e, t, l) {
5084
5087
  b(() => n.appearLoad),
5085
5088
  "appearLoad",
5086
5089
  lt.Near,
5087
- (L) => de(L)
5088
- ), p = ju(), T = async (L, U) => {
5089
- if (L) {
5090
- const H = await p.load("select", L, U);
5090
+ (V) => de(V)
5091
+ ), p = ju(), T = async (V, U) => {
5092
+ if (V) {
5093
+ const H = await p.load("select", V, U);
5091
5094
  if (H.length > 0)
5092
5095
  if (typeof H[0] == "string") {
5093
5096
  let S = H.map((W) => Ku(W));
@@ -5100,8 +5103,8 @@ function Wu(e, t, l) {
5100
5103
  };
5101
5104
  fe(
5102
5105
  [() => n.source, () => n.params],
5103
- ([L, U]) => {
5104
- d.value = null, T(L, U);
5106
+ ([V, U]) => {
5107
+ d.value = null, T(V, U);
5105
5108
  },
5106
5109
  { immediate: !x.value }
5107
5110
  );
@@ -5109,37 +5112,37 @@ function Wu(e, t, l) {
5109
5112
  const M = () => {
5110
5113
  z || (z = !0, T(n.source, n.params));
5111
5114
  };
5112
- fe([() => g.value, () => n.modelValue], ([L, U]) => {
5115
+ fe([() => g.value, () => n.modelValue], ([V, U]) => {
5113
5116
  if (N() && de(n.multiple)) {
5114
5117
  Ct(U, u.value) || (u.value = U);
5115
5118
  return;
5116
5119
  }
5117
5120
  I(U, n.valueType, h.value, !1), s("setValue", U);
5118
- });
5121
+ }), n.source || (u.value = n.modelValue);
5119
5122
  let R = null, F = j(!1);
5120
- typeof n.remoteMethod == "function" && (R = async (L) => {
5121
- if (L == null) {
5123
+ typeof n.remoteMethod == "function" && (R = async (V) => {
5124
+ if (V == null) {
5122
5125
  d.value = null;
5123
5126
  return;
5124
5127
  }
5125
5128
  F.value = !0;
5126
5129
  try {
5127
- const U = await n.remoteMethod(L);
5130
+ const U = await n.remoteMethod(V);
5128
5131
  U && (d.value = U);
5129
5132
  } catch (U) {
5130
5133
  d.value = null, console.error(U);
5131
5134
  }
5132
5135
  F.value = !1;
5133
5136
  });
5134
- let V = null;
5135
- typeof n.filterMethod == "function" && (V = async (L) => {
5136
- if (L == null) {
5137
+ let L = null;
5138
+ typeof n.filterMethod == "function" && (L = async (V) => {
5139
+ if (V == null) {
5137
5140
  d.value = null;
5138
5141
  return;
5139
5142
  }
5140
5143
  F.value = !0;
5141
5144
  try {
5142
- const U = await n.filterMethod(L, g.value);
5145
+ const U = await n.filterMethod(V, g.value);
5143
5146
  U && (d.value = U);
5144
5147
  } catch (U) {
5145
5148
  d.value = null, console.error(U);
@@ -5148,19 +5151,19 @@ function Wu(e, t, l) {
5148
5151
  });
5149
5152
  const N = () => typeof n.remoteMethod == "function" || typeof n.filterMethod == "function", C = j(!1), w = e, B = b(() => ({
5150
5153
  [w]: !0
5151
- })), $ = (L) => {
5152
- n.allowCreate || N() && de(n.multiple) ? (s("update:modelValue", L), s("change", L), s("update:text", L), u.value = L) : I(L, "value", h.value, !0);
5154
+ })), $ = (V) => {
5155
+ n.allowCreate || N() && de(n.multiple) ? (s("update:modelValue", V), s("change", V), s("update:text", V), u.value = V) : I(V, "value", h.value, !0);
5153
5156
  };
5154
5157
  let E = Se(n, "hintText"), A = j(!1);
5155
- const G = (L) => {
5156
- let H = L.target.value;
5157
- C.value = !0, Pe(E.value) || (A.value = !0), s("focus", H, L);
5158
- }, Y = (L) => {
5158
+ const G = (V) => {
5159
+ let H = V.target.value;
5160
+ C.value = !0, Pe(E.value) || (A.value = !0), s("focus", H, V);
5161
+ }, Y = (V) => {
5159
5162
  setTimeout(() => {
5160
5163
  A.value && (A.value = !1), C.value = !1;
5161
5164
  }, 0);
5162
- let H = L.target.value;
5163
- n.maxLength && H.length > Number(n.maxLength) && (H = H.slice(0, Number(n.maxLength))), D.value || s("blur", H, L);
5165
+ let H = V.target.value;
5166
+ n.maxLength && H.length > Number(n.maxLength) && (H = H.slice(0, Number(n.maxLength))), D.value || s("blur", H, V);
5164
5167
  }, Z = () => {
5165
5168
  s("clear", "");
5166
5169
  }, X = j(!1);
@@ -5171,13 +5174,13 @@ function Wu(e, t, l) {
5171
5174
  }, 150));
5172
5175
  }, k = () => {
5173
5176
  te && (clearTimeout(te), X.value = !1, te = null);
5174
- }, y = b(() => X.value || A.value), P = b(() => X.value ? m.value : E.value), D = j(!1), v = (L) => {
5175
- D.value = L, s("visible-change", L), L || s("selected");
5176
- }, K = (L) => {
5177
- s("remove-tag", L);
5178
- }, q = (L, U) => {
5177
+ }, y = b(() => X.value || A.value), P = b(() => X.value ? m.value : E.value), D = j(!1), v = (V) => {
5178
+ D.value = V, s("visible-change", V), V || s("selected");
5179
+ }, K = (V) => {
5180
+ s("remove-tag", V);
5181
+ }, q = (V, U) => {
5179
5182
  const H = [];
5180
- return L.forEach((J, ne) => {
5183
+ return V.forEach((J, ne) => {
5181
5184
  const S = Io(n, J);
5182
5185
  if (Array.isArray(S) && S.length > 0) {
5183
5186
  const W = q(S, U), ee = $t(n, J), ye = {
@@ -5234,7 +5237,7 @@ function Wu(e, t, l) {
5234
5237
  onVisibleChange: v,
5235
5238
  onRemoveTag: K
5236
5239
  };
5237
- typeof R == "function" && (U["remote-method"] = R, U.loading = F.value), typeof V == "function" && (U["filter-method"] = V, U.loading = F.value);
5240
+ typeof R == "function" && (U["remote-method"] = R, U.loading = F.value), typeof L == "function" && (U["filter-method"] = L, U.loading = F.value);
5238
5241
  const H = {};
5239
5242
  a.slots.prefix && (H.prefix = a.slots.prefix), a.slots.empty && (H.empty = a.slots.empty), a.slots.options ? H.default = a.slots.options : H.default = () => q(h.value, a.slots.option);
5240
5243
  const J = [], ne = O(Za, U, H);
@@ -5287,7 +5290,7 @@ var Ao = { exports: {} };
5287
5290
  R[M] = p;
5288
5291
  var F = function($) {
5289
5292
  return $ instanceof w;
5290
- }, V = function $(E, A, G) {
5293
+ }, L = function $(E, A, G) {
5291
5294
  var Y;
5292
5295
  if (!E)
5293
5296
  return M;
@@ -5308,12 +5311,12 @@ var Ao = { exports: {} };
5308
5311
  var A = typeof E == "object" ? E : {};
5309
5312
  return A.date = $, A.args = arguments, new w(A);
5310
5313
  }, C = z;
5311
- C.l = V, C.i = F, C.w = function($, E) {
5314
+ C.l = L, C.i = F, C.w = function($, E) {
5312
5315
  return N($, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
5313
5316
  };
5314
5317
  var w = function() {
5315
5318
  function $(A) {
5316
- this.$L = V(A.locale, null, !0), this.parse(A);
5319
+ this.$L = L(A.locale, null, !0), this.parse(A);
5317
5320
  }
5318
5321
  var E = $.prototype;
5319
5322
  return E.parse = function(A) {
@@ -5356,8 +5359,8 @@ var Ao = { exports: {} };
5356
5359
  return this.$d.getTime();
5357
5360
  }, E.startOf = function(A, G) {
5358
5361
  var Y = this, Z = !!C.u(G) || G, X = C.p(A), te = function(q, _) {
5359
- var L = C.w(Y.$u ? Date.UTC(Y.$y, _, q) : new Date(Y.$y, _, q), Y);
5360
- return Z ? L : L.endOf(c);
5362
+ var V = C.w(Y.$u ? Date.UTC(Y.$y, _, q) : new Date(Y.$y, _, q), Y);
5363
+ return Z ? V : V.endOf(c);
5361
5364
  }, re = function(q, _) {
5362
5365
  return C.w(Y.toDate()[q].apply(Y.toDate("s"), (Z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(_)), Y);
5363
5366
  }, k = this.$W, y = this.$M, P = this.$D, D = "set" + (this.$u ? "UTC" : "");
@@ -5418,16 +5421,16 @@ var Ao = { exports: {} };
5418
5421
  var G = this, Y = this.$locale();
5419
5422
  if (!this.isValid())
5420
5423
  return Y.invalidDate || d;
5421
- var Z = A || "YYYY-MM-DDTHH:mm:ssZ", X = C.z(this), te = this.$H, re = this.$m, k = this.$M, y = Y.weekdays, P = Y.months, D = function(_, L, U, H) {
5422
- return _ && (_[L] || _(G, Z)) || U[L].slice(0, H);
5424
+ var Z = A || "YYYY-MM-DDTHH:mm:ssZ", X = C.z(this), te = this.$H, re = this.$m, k = this.$M, y = Y.weekdays, P = Y.months, D = function(_, V, U, H) {
5425
+ return _ && (_[V] || _(G, Z)) || U[V].slice(0, H);
5423
5426
  }, v = function(_) {
5424
5427
  return C.s(te % 12 || 12, _, "0");
5425
- }, K = Y.meridiem || function(_, L, U) {
5428
+ }, K = Y.meridiem || function(_, V, U) {
5426
5429
  var H = _ < 12 ? "AM" : "PM";
5427
5430
  return U ? H.toLowerCase() : H;
5428
5431
  }, q = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: k + 1, MM: C.s(k + 1, 2, "0"), MMM: D(Y.monthsShort, k, P, 3), MMMM: D(P, k), D: this.$D, DD: C.s(this.$D, 2, "0"), d: String(this.$W), dd: D(Y.weekdaysMin, this.$W, y, 2), ddd: D(Y.weekdaysShort, this.$W, y, 3), dddd: y[this.$W], H: String(te), HH: C.s(te, 2, "0"), h: v(1), hh: v(2), a: K(te, re, !0), A: K(te, re, !1), m: String(re), mm: C.s(re, 2, "0"), s: String(this.$s), ss: C.s(this.$s, 2, "0"), SSS: C.s(this.$ms, 3, "0"), Z: X };
5429
- return Z.replace(x, function(_, L) {
5430
- return L || q[_] || X.replace(":", "");
5432
+ return Z.replace(x, function(_, V) {
5433
+ return V || q[_] || X.replace(":", "");
5431
5434
  });
5432
5435
  }, E.utcOffset = function() {
5433
5436
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
@@ -5441,7 +5444,7 @@ var Ao = { exports: {} };
5441
5444
  }, E.locale = function(A, G) {
5442
5445
  if (!A)
5443
5446
  return this.$L;
5444
- var Y = this.clone(), Z = V(A, G, !0);
5447
+ var Y = this.clone(), Z = L(A, G, !0);
5445
5448
  return Z && (Y.$L = Z), Y;
5446
5449
  }, E.clone = function() {
5447
5450
  return C.w(this.$d, this);
@@ -5461,7 +5464,7 @@ var Ao = { exports: {} };
5461
5464
  };
5462
5465
  }), N.extend = function($, E) {
5463
5466
  return $.$i || ($(E, w, N), $.$i = !0), N;
5464
- }, N.locale = V, N.isDayjs = F, N.unix = function($) {
5467
+ }, N.locale = L, N.isDayjs = F, N.unix = function($) {
5465
5468
  return N(1e3 * $);
5466
5469
  }, N.en = R[M], N.Ls = R, N.p = {}, N;
5467
5470
  });
@@ -5539,8 +5542,8 @@ var Po = { exports: {} };
5539
5542
  return E || A.slice(1);
5540
5543
  });
5541
5544
  })).match(n), T = p.length, z = 0; z < T; z += 1) {
5542
- var M = p[z], R = I[M], F = R && R[0], V = R && R[1];
5543
- p[z] = V ? { regex: F, parser: V } : M.replace(/^\[|\]$/g, "");
5545
+ var M = p[z], R = I[M], F = R && R[0], L = R && R[1];
5546
+ p[z] = L ? { regex: F, parser: L } : M.replace(/^\[|\]$/g, "");
5544
5547
  }
5545
5548
  return function(N) {
5546
5549
  for (var C = {}, w = 0, B = 0; w < T; w += 1) {
@@ -5567,24 +5570,24 @@ var Po = { exports: {} };
5567
5570
  p.parse = function(z) {
5568
5571
  var M = z.date, R = z.utc, F = z.args;
5569
5572
  this.$u = R;
5570
- var V = F[1];
5571
- if (typeof V == "string") {
5573
+ var L = F[1];
5574
+ if (typeof L == "string") {
5572
5575
  var N = F[2] === !0, C = F[3] === !0, w = N || C, B = F[2];
5573
5576
  C && (B = F[2]), s = this.$locale(), !N && B && (s = x.Ls[B]), this.$d = function(G, Y, Z) {
5574
5577
  try {
5575
5578
  if (["x", "X"].indexOf(Y) > -1)
5576
5579
  return new Date((Y === "X" ? 1e3 : 1) * G);
5577
- var X = g(Y)(G), te = X.year, re = X.month, k = X.day, y = X.hours, P = X.minutes, D = X.seconds, v = X.milliseconds, K = X.zone, q = /* @__PURE__ */ new Date(), _ = k || (te || re ? 1 : q.getDate()), L = te || q.getFullYear(), U = 0;
5580
+ var X = g(Y)(G), te = X.year, re = X.month, k = X.day, y = X.hours, P = X.minutes, D = X.seconds, v = X.milliseconds, K = X.zone, q = /* @__PURE__ */ new Date(), _ = k || (te || re ? 1 : q.getDate()), V = te || q.getFullYear(), U = 0;
5578
5581
  te && !re || (U = re > 0 ? re - 1 : q.getMonth());
5579
5582
  var H = y || 0, J = P || 0, ne = D || 0, S = v || 0;
5580
- return K ? new Date(Date.UTC(L, U, _, H, J, ne, S + 60 * K.offset * 1e3)) : Z ? new Date(Date.UTC(L, U, _, H, J, ne, S)) : new Date(L, U, _, H, J, ne, S);
5583
+ return K ? new Date(Date.UTC(V, U, _, H, J, ne, S + 60 * K.offset * 1e3)) : Z ? new Date(Date.UTC(V, U, _, H, J, ne, S)) : new Date(V, U, _, H, J, ne, S);
5581
5584
  } catch {
5582
5585
  return /* @__PURE__ */ new Date("");
5583
5586
  }
5584
- }(M, V, R), this.init(), B && B !== !0 && (this.$L = this.locale(B).$L), w && M != this.format(V) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
5585
- } else if (V instanceof Array)
5586
- for (var $ = V.length, E = 1; E <= $; E += 1) {
5587
- F[1] = V[E - 1];
5587
+ }(M, L, R), this.init(), B && B !== !0 && (this.$L = this.locale(B).$L), w && M != this.format(L) && (this.$d = /* @__PURE__ */ new Date("")), s = {};
5588
+ } else if (L instanceof Array)
5589
+ for (var $ = L.length, E = 1; E <= $; E += 1) {
5590
+ F[1] = L[E - 1];
5588
5591
  var A = x.apply(this, F);
5589
5592
  if (A.isValid()) {
5590
5593
  this.$d = A.$d, this.$L = A.$L, this.init();
@@ -6123,8 +6126,8 @@ function gc(e, t, l) {
6123
6126
  n.prop ?? a.attrs.name
6124
6127
  ), { toLocaleRefs: i } = tt(t), c = i(n, ["placeholder"]), u = j(!1), f = Se(n, "modelValue", null, s), m = b(() => A.value && Array.isArray(f.value) && f.value.length == 2 ? f.value[0] : f.value), I = b(() => A.value ? "longTermKey" : "normalKey"), g = (_) => {
6125
6128
  if (A.value && n.type === "daterange") {
6126
- const L = [...f.value];
6127
- L[0] = _, f.value = L;
6129
+ const V = [...f.value];
6130
+ V[0] = _, f.value = V;
6128
6131
  } else
6129
6132
  f.value = _;
6130
6133
  s("update:modelValue", f.value), s("change", f.value);
@@ -6148,8 +6151,8 @@ function gc(e, t, l) {
6148
6151
  s("clear", "");
6149
6152
  }, F = (_) => {
6150
6153
  s("calendar-change", _);
6151
- }, V = (_, L, U) => {
6152
- s("panel-change", _, L, U);
6154
+ }, L = (_, V, U) => {
6155
+ s("panel-change", _, V, U);
6153
6156
  }, N = (_) => {
6154
6157
  s("visible-change", _);
6155
6158
  }, C = Ze(
@@ -6173,15 +6176,15 @@ function gc(e, t, l) {
6173
6176
  const A = j(de(n.longTerm)), G = (_) => {
6174
6177
  if (A.value = _, s("update:longTerm", _), _) {
6175
6178
  if (E = f.value, n.type === "daterange") {
6176
- const L = [];
6177
- Array.isArray(B.value) ? (L[0] = f.value ? f.value[0] ?? B.value[0] : null, L[1] = B.value[1] ?? B.value[0]) : (L[0] = f.value ? f.value[0] ?? B.value : null, L[1] = A.value), L[0] || (L[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), L[1] || (L[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = L;
6179
+ const V = [];
6180
+ Array.isArray(B.value) ? (V[0] = f.value ? f.value[0] ?? B.value[0] : null, V[1] = B.value[1] ?? B.value[0]) : (V[0] = f.value ? f.value[0] ?? B.value : null, V[1] = A.value), V[0] || (V[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), V[1] || (V[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = V;
6178
6181
  } else
6179
6182
  Array.isArray(B.value) ? f.value = B.value[1] ?? B.value[0] : f.value = B.value, f.value || (f.value = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date());
6180
6183
  s("update:modelValue", f.value);
6181
6184
  } else {
6182
6185
  if (n.type === "daterange") {
6183
- const L = [];
6184
- L[0] = Array.isArray(f.value) ? f.value[0] : f.value, Array.isArray(E) ? L[1] = E[1] : L[1] = E, L[0] || (L[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), L[1] || (L[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = L;
6186
+ const V = [];
6187
+ V[0] = Array.isArray(f.value) ? f.value[0] : f.value, Array.isArray(E) ? V[1] = E[1] : V[1] = E, V[0] || (V[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), V[1] || (V[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = V;
6185
6188
  } else
6186
6189
  f.value = E;
6187
6190
  s("update:modelValue", f.value), setTimeout(() => {
@@ -6193,23 +6196,23 @@ function gc(e, t, l) {
6193
6196
  const _ = () => {
6194
6197
  if (A.value === !0) {
6195
6198
  if (E = f.value, n.type === "daterange") {
6196
- const L = [f.value[0]];
6197
- Array.isArray(B.value) ? L[1] = B.value[1] ?? B.value[0] : L[1] = A.value, L[0] || (L[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), L[1] || (L[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = L;
6199
+ const V = [f.value[0]];
6200
+ Array.isArray(B.value) ? V[1] = B.value[1] ?? B.value[0] : V[1] = A.value, V[0] || (V[0] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), V[1] || (V[1] = n.valueFormat ? nt.format(/* @__PURE__ */ new Date(), n.valueFormat) : /* @__PURE__ */ new Date()), f.value = V;
6198
6201
  } else
6199
6202
  f.value = B.value;
6200
6203
  s("update:modelValue", f.value);
6201
6204
  } else
6202
6205
  Ct(B.value, f.value) && (A.value = !0);
6203
6206
  };
6204
- _(), fe([() => n.longTerm], ([L]) => {
6205
- A.value !== L && _();
6207
+ _(), fe([() => n.longTerm], ([V]) => {
6208
+ A.value !== V && _();
6206
6209
  }), fe(
6207
6210
  [() => f.value],
6208
- ([L]) => {
6211
+ ([V]) => {
6209
6212
  let U = !1;
6210
- if (n.type === "daterange" && Array.isArray(L))
6213
+ if (n.type === "daterange" && Array.isArray(V))
6211
6214
  try {
6212
- let H = L[1];
6215
+ let H = V[1];
6213
6216
  if (!H)
6214
6217
  return;
6215
6218
  typeof H != "string" && n.valueFormat && (H = nt.format(H, n.valueFormat));
@@ -6226,10 +6229,10 @@ function gc(e, t, l) {
6226
6229
  const Z = b(() => ({
6227
6230
  "fox-date-item__long": !0,
6228
6231
  "is-active": u.value
6229
- })), X = j(), te = j(), re = /^\d+$/, k = (_, L) => typeof n.flashFillThreshold == "function" ? n.flashFillThreshold(_, L) : re.test(_) && _.length === n.flashFillThreshold, y = (_, L) => {
6232
+ })), X = j(), te = j(), re = /^\d+$/, k = (_, V) => typeof n.flashFillThreshold == "function" ? n.flashFillThreshold(_, V) : re.test(_) && _.length === n.flashFillThreshold, y = (_, V) => {
6230
6233
  let U;
6231
6234
  if (typeof n.flashFillFormat == "function")
6232
- U = n.flashFillFormat(_, L);
6235
+ U = n.flashFillFormat(_, V);
6233
6236
  else {
6234
6237
  const J = n.flashFillFormat ?? "YYYYMMDD";
6235
6238
  U = nt.parser(_, J);
@@ -6239,9 +6242,9 @@ function gc(e, t, l) {
6239
6242
  }, P = (_) => _ ? _.endsWith("range") : !1, D = (_) => {
6240
6243
  if (!_.target)
6241
6244
  return;
6242
- const L = _.target.value ?? "";
6243
- if (k(L, n.type)) {
6244
- const U = y(L, n.type);
6245
+ const V = _.target.value ?? "";
6246
+ if (k(V, n.type)) {
6247
+ const U = y(V, n.type);
6245
6248
  if (P(n.type)) {
6246
6249
  const H = Array.isArray(f.value) ? [...f.value] : [];
6247
6250
  H[0] = U, g(H);
@@ -6251,9 +6254,9 @@ function gc(e, t, l) {
6251
6254
  }, v = (_) => {
6252
6255
  if (!_.target)
6253
6256
  return;
6254
- const L = _.target.value ?? "";
6255
- if (k(L, n.type)) {
6256
- const U = y(L, n.type);
6257
+ const V = _.target.value ?? "";
6258
+ if (k(V, n.type)) {
6259
+ const U = y(V, n.type);
6257
6260
  if (P(n.type)) {
6258
6261
  const H = Array.isArray(f.value) ? [...f.value] : [];
6259
6262
  H[1] = U, g(H);
@@ -6297,7 +6300,7 @@ function gc(e, t, l) {
6297
6300
  te?.value.handleClose();
6298
6301
  }
6299
6302
  }), () => {
6300
- const L = {
6303
+ const V = {
6301
6304
  ...a.attrs,
6302
6305
  key: I.value,
6303
6306
  type: d.value,
@@ -6314,11 +6317,11 @@ function gc(e, t, l) {
6314
6317
  onFocus: z,
6315
6318
  onBlur: M,
6316
6319
  onCalendarChange: F,
6317
- onPanelChange: V,
6320
+ onPanelChange: L,
6318
6321
  onVisibleChange: N
6319
6322
  }, U = {};
6320
6323
  a.slots["range-separator"] && (U["range-separator"] = a.slots["range-separator"]), a.slots.cell && (U.default = a.slots.cell);
6321
- const H = [], J = O(ja, L, U);
6324
+ const H = [], J = O(ja, V, U);
6322
6325
  H.push(J);
6323
6326
  const ne = {
6324
6327
  default: () => H
@@ -6420,14 +6423,14 @@ function bc(e, t, l) {
6420
6423
  };
6421
6424
  let d = Se(n, "hintText"), h = j(!1);
6422
6425
  const x = (R) => {
6423
- let V = R.target.value;
6424
- u.value = !0, Pe(d.value) || (h.value = !0), s("focus", V, R);
6426
+ let L = R.target.value;
6427
+ u.value = !0, Pe(d.value) || (h.value = !0), s("focus", L, R);
6425
6428
  }, p = (R) => {
6426
6429
  setTimeout(() => {
6427
6430
  h.value && (h.value = !1), u.value = !1;
6428
6431
  }, 0);
6429
- let V = R.target.value;
6430
- n.maxLength && V.length > Number(n.maxLength) && (V = V.slice(0, Number(n.maxLength))), s("blur", V, R);
6432
+ let L = R.target.value;
6433
+ n.maxLength && L.length > Number(n.maxLength) && (L = L.slice(0, Number(n.maxLength))), s("blur", L, R);
6431
6434
  }, T = () => {
6432
6435
  s("clear", "");
6433
6436
  }, z = (R) => {
@@ -6464,7 +6467,7 @@ function bc(e, t, l) {
6464
6467
  onFocus: x,
6465
6468
  onBlur: p,
6466
6469
  onVisibleChange: z
6467
- }, V = {}, N = [], C = O(to, F, V);
6470
+ }, L = {}, N = [], C = O(to, F, L);
6468
6471
  N.push(C);
6469
6472
  const w = {
6470
6473
  default: () => N
@@ -6574,10 +6577,10 @@ function Tc(e, t, l) {
6574
6577
  onClear: T,
6575
6578
  onFocus: x,
6576
6579
  onBlur: p
6577
- }, F = {}, V = [], N = O(no, R, F);
6578
- V.push(N);
6580
+ }, F = {}, L = [], N = O(no, R, F);
6581
+ L.push(N);
6579
6582
  const C = {
6580
- default: () => V
6583
+ default: () => L
6581
6584
  };
6582
6585
  a.slots.default && (C.label = a.slots.default), a.slots.fixedTip && (C.fixedTip = a.slots.fixedTip);
6583
6586
  const B = {
@@ -6865,7 +6868,7 @@ function Fc(e, t, l) {
6865
6868
  M($, ["update:modelValue", "input"]);
6866
6869
  }, F = ($) => {
6867
6870
  M($, ["update:modelValue", "change"]);
6868
- }, V = ($) => {
6871
+ }, L = ($) => {
6869
6872
  if (i.value = !0, de(n.showTip)) {
6870
6873
  let E = u.value;
6871
6874
  Pe(E) && (E = n.hintText), Pe(E) || (T.value = E, z.value = !0);
@@ -6915,7 +6918,7 @@ function Fc(e, t, l) {
6915
6918
  onClear: C,
6916
6919
  onInput: R,
6917
6920
  onChange: F,
6918
- onFocus: V,
6921
+ onFocus: L,
6919
6922
  onBlur: N
6920
6923
  }, A = {};
6921
6924
  a.slots.prepend && (A.prepend = a.slots.prepend), a.slots.append && (A.append = a.slots.append), a.slots.prefix && (A.prefix = a.slots.prefix), a.slots.suffix ? A.suffix = a.slots.suffix : w.value && (A.suffix = () => [n.unit]);
@@ -7003,21 +7006,21 @@ function Vc(e, t, l) {
7003
7006
  [`${m}__append`]: R.value
7004
7007
  })), g = b(() => ({
7005
7008
  [`${m}__unit`]: !0
7006
- })), d = (V) => {
7007
- f.value = V, s("update:modelValue", V), s("input", V);
7008
- }, h = (V) => {
7009
- s("change", V);
7009
+ })), d = (L) => {
7010
+ f.value = L, s("update:modelValue", L), s("input", L);
7011
+ }, h = (L) => {
7012
+ s("change", L);
7010
7013
  };
7011
7014
  let x = Se(n, "hintText"), p = j(!1);
7012
- const T = (V) => {
7013
- let C = V.target.value;
7014
- u.value = !0, Pe(x.value) || (p.value = !0), s("focus", C, V);
7015
- }, z = (V) => {
7015
+ const T = (L) => {
7016
+ let C = L.target.value;
7017
+ u.value = !0, Pe(x.value) || (p.value = !0), s("focus", C, L);
7018
+ }, z = (L) => {
7016
7019
  setTimeout(() => {
7017
7020
  p.value && (p.value = !1), u.value = !1;
7018
7021
  }, 0);
7019
- let C = V.target.value;
7020
- n.maxLength && C.length > Number(n.maxLength) && (C = C.slice(0, Number(n.maxLength))), s("blur", C, V);
7022
+ let C = L.target.value;
7023
+ n.maxLength && C.length > Number(n.maxLength) && (C = C.slice(0, Number(n.maxLength))), s("blur", C, L);
7021
7024
  }, M = () => {
7022
7025
  s("clear", "");
7023
7026
  }, R = b(() => On(n.unit) > 0), F = j();
@@ -7301,7 +7304,7 @@ function jc(e, t, l) {
7301
7304
  }
7302
7305
  },
7303
7306
  n.prop ?? a.attrs.name
7304
- ), { toLocaleRefs: i } = tt(t), c = i(n, ["placeholder"]), u = j(null), f = j([]), m = b(() => f.value ? f.value.map((_) => Array.isArray(_) ? _.map((U) => gt(n, U)).join(" ") : gt(n, _)).join(" ") : ""), I = (q, _, L, U = !0) => {
7307
+ ), { toLocaleRefs: i } = tt(t), c = i(n, ["placeholder"]), u = j(null), f = j([]), m = b(() => f.value ? f.value.map((_) => Array.isArray(_) ? _.map((U) => gt(n, U)).join(" ") : gt(n, _)).join(" ") : ""), I = (q, _, V, U = !0) => {
7305
7308
  if (n.props && n.props.lazy === !0 || n.lazy === !0) {
7306
7309
  if (u.value === q)
7307
7310
  return;
@@ -7324,7 +7327,7 @@ function jc(e, t, l) {
7324
7327
  }
7325
7328
  return;
7326
7329
  }
7327
- const H = Bo(n, q, _, L);
7330
+ const H = Bo(n, q, _, V);
7328
7331
  if (H === null) {
7329
7332
  if (f.value.length === 0 || f.value === null)
7330
7333
  return;
@@ -7337,9 +7340,9 @@ function jc(e, t, l) {
7337
7340
  H.forEach((W) => {
7338
7341
  const ee = `${gt(n, W)}`;
7339
7342
  S.push(ee);
7340
- }), S.length > 0 && (V.value = S.join(n.separator));
7343
+ }), S.length > 0 && (L.value = S.join(n.separator));
7341
7344
  } else
7342
- V.value = null;
7345
+ L.value = null;
7343
7346
  let ne = !0;
7344
7347
  if (H.length !== f.value.length)
7345
7348
  ne = !1;
@@ -7382,13 +7385,13 @@ function jc(e, t, l) {
7382
7385
  (q) => de(q)
7383
7386
  ), h = zc(), x = async (q, _) => {
7384
7387
  if (q) {
7385
- const L = await h.load("cascader", q, _);
7386
- if (L.length > 0)
7387
- if (typeof L[0] == "string") {
7388
- let J = L.map((ne) => Hc(ne));
7388
+ const V = await h.load("cascader", q, _);
7389
+ if (V.length > 0)
7390
+ if (typeof V[0] == "string") {
7391
+ let J = V.map((ne) => Hc(ne));
7389
7392
  g.value = J;
7390
7393
  } else
7391
- g.value = L;
7394
+ g.value = V;
7392
7395
  }
7393
7396
  };
7394
7397
  fe(
@@ -7418,40 +7421,40 @@ function jc(e, t, l) {
7418
7421
  M.value = !1;
7419
7422
  }
7420
7423
  });
7421
- const R = j(!1), F = e, V = j(null), N = b(() => ({
7424
+ const R = j(!1), F = e, L = j(null), N = b(() => ({
7422
7425
  [F]: !0,
7423
- "is-incomplete": V.value && V.value.length > 0
7426
+ "is-incomplete": L.value && L.value.length > 0
7424
7427
  })), C = b(() => {
7425
7428
  let q = {
7426
7429
  label: n.textKey,
7427
7430
  value: n.valueKey,
7428
7431
  children: n.childrenKey
7429
7432
  };
7430
- return n.multiple === !0 && (q.multiple = !0), n.props && Object.assign(q, n.props), n.lazy && (q.lazy = !0, typeof n.lazyLoad == "function" ? q.lazyLoad = n.lazyLoad : q.lazyLoad = async (_, L) => {
7433
+ return n.multiple === !0 && (q.multiple = !0), n.props && Object.assign(q, n.props), n.lazy && (q.lazy = !0, typeof n.lazyLoad == "function" ? q.lazyLoad = n.lazyLoad : q.lazyLoad = async (_, V) => {
7431
7434
  const U = await h.load("cascader", n.source, _, !0);
7432
7435
  if (_?.config?.checkStrictly !== !0 && Array.isArray(u.value) && u.value.length === _.level) {
7433
7436
  const H = _.pathLabels ?? [];
7434
7437
  let J = [];
7435
7438
  H.forEach((ne) => {
7436
7439
  ne && J.push(ne);
7437
- }), J.length > 0 && (V.value = J.join(n.separator));
7440
+ }), J.length > 0 && (L.value = J.join(n.separator));
7438
7441
  } else
7439
- V.value = null;
7440
- L(U);
7442
+ L.value = null;
7443
+ V(U);
7441
7444
  }), q;
7442
7445
  }), w = (q) => {
7443
7446
  n.allowCreate ? (s("update:modelValue", q), s("change", q), u.value = q) : I(q, "value", g.value, !0);
7444
7447
  };
7445
7448
  let B = Se(n, "hintText"), $ = j(!1);
7446
7449
  const E = (q) => {
7447
- let L = q.target.value;
7448
- R.value = !0, Pe(B.value) || ($.value = !0), s("focus", L, q);
7450
+ let V = q.target.value;
7451
+ R.value = !0, Pe(B.value) || ($.value = !0), s("focus", V, q);
7449
7452
  }, A = (q) => {
7450
7453
  setTimeout(() => {
7451
7454
  $.value && ($.value = !1), R.value = !1;
7452
7455
  }, 0);
7453
- let L = q.target.value;
7454
- n.maxLength && L.length > Number(n.maxLength) && (L = L.slice(0, Number(n.maxLength))), y.value || s("blur", L, q);
7456
+ let V = q.target.value;
7457
+ n.maxLength && V.length > Number(n.maxLength) && (V = V.slice(0, Number(n.maxLength))), y.value || s("blur", V, q);
7455
7458
  }, G = () => {
7456
7459
  s("clear", "");
7457
7460
  }, Y = j(!1);
@@ -7487,7 +7490,7 @@ function jc(e, t, l) {
7487
7490
  class: N.value,
7488
7491
  props: C.value,
7489
7492
  clearable: n.clearable,
7490
- placeholder: V.value || c.placeholder.value,
7493
+ placeholder: L.value || c.placeholder.value,
7491
7494
  disabled: o.value || r.value,
7492
7495
  options: g.value,
7493
7496
  modelValue: u.value,
@@ -7501,9 +7504,9 @@ function jc(e, t, l) {
7501
7504
  expandChange: v
7502
7505
  };
7503
7506
  typeof z == "function" && (_["remote-method"] = z, _.loading = M.value);
7504
- const L = {};
7505
- a.slots.option && (L.default = a.slots.option), a.slots.empty && (L.empty = a.slots.empty);
7506
- const U = [], H = O(za, _, L);
7507
+ const V = {};
7508
+ a.slots.option && (V.default = a.slots.option), a.slots.empty && (V.empty = a.slots.empty);
7509
+ const U = [], H = O(za, _, V);
7507
7510
  U.push(H);
7508
7511
  const J = {
7509
7512
  default: () => U
@@ -7608,7 +7611,7 @@ function Uc(e, t, l) {
7608
7611
  R?.value.select();
7609
7612
  }
7610
7613
  }), () => {
7611
- const V = {
7614
+ const L = {
7612
7615
  ...a.attrs,
7613
7616
  ref: R,
7614
7617
  class: I.value,
@@ -7625,7 +7628,7 @@ function Uc(e, t, l) {
7625
7628
  onSelect: h
7626
7629
  }, N = {};
7627
7630
  a.slots.prepend && (N.prepend = a.slots.prepend), a.slots.append && (N.append = a.slots.append), a.slots.prefix && (N.prefix = a.slots.prefix), a.slots.suffix && (N.suffix = a.slots.suffix), a.slots.option && (N.default = a.slots.option);
7628
- const C = [], w = O(Ba, V, N);
7631
+ const C = [], w = O(Ba, L, N);
7629
7632
  C.push(w);
7630
7633
  const B = {
7631
7634
  default: () => C
@@ -8012,25 +8015,25 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8012
8015
  setup(e, { emit: t, attrs: l }) {
8013
8016
  let n = [];
8014
8017
  const a = j([]), o = b(() => a.value.filter((v) => v.label === "" || v.type ? !1 : v.fixed === "" || v.fixed === !0 || v.fixed === "left")), r = b(() => a.value.filter((v) => v.label === "" || v.type ? !1 : v.fixed === "right")), s = b(() => a.value.filter((v) => !(v.label === "" || v.type || v.fixed !== void 0))), i = b(() => (o.value.length > 0 || r.value.length > 0) && s.value.length > 0), c = b(() => o.value.length > 0), u = b(() => r.value.length > 0), f = (v) => v.length > 1, m = (v, K) => {
8015
- Array.isArray(v) && Array.isArray(K) && v.forEach((L) => {
8016
- K.some((U) => U.prop === L.prop ? (L.label = U.label, !0) : !1);
8018
+ Array.isArray(v) && Array.isArray(K) && v.forEach((V) => {
8019
+ K.some((U) => U.prop === V.prop ? (V.label = U.label, !0) : !1);
8017
8020
  });
8018
8021
  const q = [];
8019
- a.value = v.map((L, U) => (!(L.label === "" || L.type) && L.visible !== !1 && q.push(L.prop), { ...L, sortIndex: U })), s.value.length + o.value.length + r.value.length === q.length ? p.value = !0 : q.length > 0 && (T.value = !0), R.value = q;
8022
+ a.value = v.map((V, U) => (!(V.label === "" || V.type) && V.visible !== !1 && q.push(V.prop), { ...V, sortIndex: U })), s.value.length + o.value.length + r.value.length === q.length ? p.value = !0 : q.length > 0 && (T.value = !0), R.value = q;
8020
8023
  }, I = (v) => v ? v.type ? v.type : v.label ? v.prop : "" : "", g = (v, K) => {
8021
8024
  if (v.length !== K.length)
8022
8025
  return !1;
8023
8026
  const q = v.map((_) => I(_));
8024
8027
  for (let _ of K) {
8025
- const L = I(_);
8026
- if (q.indexOf(L) === -1)
8028
+ const V = I(_);
8029
+ if (q.indexOf(V) === -1)
8027
8030
  return !1;
8028
8031
  }
8029
8032
  return !0;
8030
8033
  }, d = (v) => {
8031
8034
  if (!v) {
8032
8035
  const K = e.tableRef.getColumnSetting(), q = K.srcColumnPropertyList;
8033
- n = q.map((_, L) => ({ ..._, sortIndex: L })), v = K.columnPropertyList, v && v.length > 0 && g(q, v) || (v = q);
8036
+ n = q.map((_, V) => ({ ..._, sortIndex: V })), v = K.columnPropertyList, v && v.length > 0 && g(q, v) || (v = q);
8034
8037
  }
8035
8038
  m(v, n);
8036
8039
  }, h = () => {
@@ -8051,7 +8054,7 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8051
8054
  }), p.value = !1, T.value = !1;
8052
8055
  const K = s.value.length + o.value.length + r.value.length;
8053
8056
  v.length === K ? p.value = !0 : v.length > 0 && (T.value = !0), h();
8054
- }, V = () => {
8057
+ }, L = () => {
8055
8058
  d();
8056
8059
  };
8057
8060
  Ne(() => {
@@ -8086,14 +8089,14 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8086
8089
  if (N.roleType !== _)
8087
8090
  return;
8088
8091
  v.preventDefault();
8089
- const L = Number(N.index), U = Number(q.dataset.index);
8090
- if (L !== U) {
8091
- if (L < U) {
8092
- const H = a.value[L];
8093
- a.value.splice(L, 1), a.value.splice(U, 0, H);
8092
+ const V = Number(N.index), U = Number(q.dataset.index);
8093
+ if (V !== U) {
8094
+ if (V < U) {
8095
+ const H = a.value[V];
8096
+ a.value.splice(V, 1), a.value.splice(U, 0, H);
8094
8097
  } else {
8095
- const H = a.value[L];
8096
- a.value.splice(L, 1), a.value.splice(U + 1, 0, H);
8098
+ const H = a.value[V];
8099
+ a.value.splice(V, 1), a.value.splice(U + 1, 0, H);
8097
8100
  }
8098
8101
  m(a.value, n), h();
8099
8102
  }
@@ -8127,7 +8130,7 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8127
8130
  handleReset: M,
8128
8131
  checkedValue: R,
8129
8132
  handleCheckChange: F,
8130
- onShow: V,
8133
+ onShow: L,
8131
8134
  onDragStart: w,
8132
8135
  onDragEnd: B,
8133
8136
  onDragOver: $,
@@ -8140,8 +8143,8 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8140
8143
  onMouseOverForOverflowText: (v, K, q) => {
8141
8144
  const _ = v.currentTarget;
8142
8145
  if (_) {
8143
- const L = Math.floor(_.offsetWidth);
8144
- if (Math.floor(re(_)) > L) {
8146
+ const V = Math.floor(_.offsetWidth);
8147
+ if (Math.floor(re(_)) > V) {
8145
8148
  let H = X.get(K);
8146
8149
  if (H) {
8147
8150
  if (H === te)
@@ -8802,7 +8805,7 @@ function Gf(e, t, l) {
8802
8805
  d.value = Q, r("page-index-change", Q);
8803
8806
  }, z = (Q) => {
8804
8807
  h.value = Q, r("page-size-change", Q);
8805
- }, M = j(!0), R = j(0), F = j(), V = Hf();
8808
+ }, M = j(!0), R = j(0), F = j(), L = Hf();
8806
8809
  let N = !0;
8807
8810
  const C = Ze(
8808
8811
  b(() => n.appearLoad),
@@ -8815,12 +8818,12 @@ function Gf(e, t, l) {
8815
8818
  if (Ke === !0) {
8816
8819
  if (!M.value)
8817
8820
  return !1;
8818
- const Ee = await V.load("table", Q, le, oe, ie, N, o.value);
8821
+ const Ee = await L.load("table", Q, le, oe, ie, N, o.value);
8819
8822
  return R.value = Ee.totalSize, !Ee.page || !Array.isArray(Ee.page) || (Reflect.apply([].push, F.value, Ee.page), setTimeout(() => {
8820
8823
  r("loaded-data");
8821
8824
  }, 250), (F.value?.length ?? 0) >= R.value) || Ee.page.length < oe ? (M.value = !1, !1) : !0;
8822
8825
  } else {
8823
- const Ee = await V.load("table", Q, le, oe, ie, N, o.value);
8826
+ const Ee = await L.load("table", Q, le, oe, ie, N, o.value);
8824
8827
  return R.value = Ee.totalSize, F.value = Ee.page ?? [], setTimeout(() => {
8825
8828
  r("loaded-data");
8826
8829
  }, 250), !0;
@@ -8893,7 +8896,7 @@ function Gf(e, t, l) {
8893
8896
  columnPropertyList: v.value
8894
8897
  }), _ = (Q) => {
8895
8898
  v.value = [...Q], U();
8896
- }, L = async () => {
8899
+ }, V = async () => {
8897
8900
  const Q = await D.load(P);
8898
8901
  Q && (v.value = Q);
8899
8902
  }, U = () => {
@@ -8901,7 +8904,7 @@ function Gf(e, t, l) {
8901
8904
  }, H = () => {
8902
8905
  D.remove(P);
8903
8906
  };
8904
- L();
8907
+ V();
8905
8908
  const J = (Q) => Q ? Q.type ? Q.type : Q.label ? Q.prop : "" : "", ne = () => typeof a.slots.default == "function" ? a.slots.default() : [], S = (Q, le) => {
8906
8909
  for (let oe in le) {
8907
8910
  const ie = le[oe];
@@ -9345,8 +9348,8 @@ function od(e, t, l) {
9345
9348
  }
9346
9349
  },
9347
9350
  n.prop ?? a.attrs.name
9348
- ), i = j(null), c = j(null), u = (F, V, N, C = !0) => {
9349
- const w = nd(n, F, V, N);
9351
+ ), i = j(null), c = j(null), u = (F, L, N, C = !0) => {
9352
+ const w = nd(n, F, L, N);
9350
9353
  if (w === null) {
9351
9354
  if (c.value === null)
9352
9355
  return;
@@ -9365,9 +9368,9 @@ function od(e, t, l) {
9365
9368
  "appearLoad",
9366
9369
  lt.Near,
9367
9370
  (F) => de(F)
9368
- ), I = td(), g = async (F, V) => {
9371
+ ), I = td(), g = async (F, L) => {
9369
9372
  if (F) {
9370
- const N = await I.load("radio", F, V);
9373
+ const N = await I.load("radio", F, L);
9371
9374
  if (N.length > 0)
9372
9375
  if (typeof N[0] == "string") {
9373
9376
  let B = N.map(($) => ld($));
@@ -9378,8 +9381,8 @@ function od(e, t, l) {
9378
9381
  };
9379
9382
  fe(
9380
9383
  [() => n.source, () => n.params],
9381
- async ([F, V]) => {
9382
- g(F, V);
9384
+ async ([F, L]) => {
9385
+ g(F, L);
9383
9386
  },
9384
9387
  { immediate: !m.value }
9385
9388
  );
@@ -9387,8 +9390,8 @@ function od(e, t, l) {
9387
9390
  const h = () => {
9388
9391
  d || (d = !0, g(n.source, n.params));
9389
9392
  };
9390
- fe([() => f.value, () => n.modelValue], ([F, V]) => {
9391
- u(V, n.valueType, F, !1), s("setValue", V);
9393
+ fe([() => f.value, () => n.modelValue], ([F, L]) => {
9394
+ u(L, n.valueType, F, !1), s("setValue", L);
9392
9395
  });
9393
9396
  const x = e, p = b(() => ({
9394
9397
  [x]: !0,
@@ -9397,7 +9400,7 @@ function od(e, t, l) {
9397
9400
  u(F, "value", f.value, !0);
9398
9401
  };
9399
9402
  let z = Se(n, "hintText"), M = Se(n, "hintVisible");
9400
- const R = (F, V) => {
9403
+ const R = (F, L) => {
9401
9404
  const N = [];
9402
9405
  return F.forEach((C, w) => {
9403
9406
  const B = gn(n, C), $ = Ut(n, C);
@@ -9410,11 +9413,11 @@ function od(e, t, l) {
9410
9413
  size: n.size,
9411
9414
  border: de(n.border)
9412
9415
  };
9413
- E && (Y.disabled = E), n.itemType === "button" ? N.push(O(Ga, Y, { default: () => [$] })) : typeof V == "function" ? N.push(O(al, Y, { default: () => V(C) })) : N.push(O(al, Y, { default: () => [$] }));
9416
+ E && (Y.disabled = E), n.itemType === "button" ? N.push(O(Ga, Y, { default: () => [$] })) : typeof L == "function" ? N.push(O(al, Y, { default: () => L(C) })) : N.push(O(al, Y, { default: () => [$] }));
9414
9417
  }), N;
9415
9418
  };
9416
9419
  return () => {
9417
- const V = {
9420
+ const L = {
9418
9421
  ...dt(a.attrs),
9419
9422
  class: p.value,
9420
9423
  disabled: o.value || r.value,
@@ -9424,7 +9427,7 @@ function od(e, t, l) {
9424
9427
  onChange: T
9425
9428
  }, N = [], C = {};
9426
9429
  a.slots.options ? C.default = a.slots.options : C.default = () => R(f.value, a.slots.text);
9427
- const w = O(Ua, V, C);
9430
+ const w = O(Ua, L, C);
9428
9431
  N.push(w);
9429
9432
  const B = {
9430
9433
  default: () => N
@@ -9647,8 +9650,8 @@ function md(e, t, l) {
9647
9650
  }
9648
9651
  },
9649
9652
  n.prop ?? a.attrs.name
9650
- ), i = j([]), c = j([]), u = (F, V, N, C = !0) => {
9651
- const w = hd(n, F, V, N);
9653
+ ), i = j([]), c = j([]), u = (F, L, N, C = !0) => {
9654
+ const w = hd(n, F, L, N);
9652
9655
  if (w === null) {
9653
9656
  if (c.value === null || c.value.length === 0)
9654
9657
  return;
@@ -9680,9 +9683,9 @@ function md(e, t, l) {
9680
9683
  "appearLoad",
9681
9684
  lt.Near,
9682
9685
  (F) => de(F)
9683
- ), I = dd(), g = async (F, V) => {
9686
+ ), I = dd(), g = async (F, L) => {
9684
9687
  if (F) {
9685
- const N = await I.load("checkbox", F, V);
9688
+ const N = await I.load("checkbox", F, L);
9686
9689
  if (N.length > 0)
9687
9690
  if (typeof N[0] == "string") {
9688
9691
  let B = N.map(($) => gd($));
@@ -9693,8 +9696,8 @@ function md(e, t, l) {
9693
9696
  };
9694
9697
  fe(
9695
9698
  [() => n.source, () => n.params],
9696
- async ([F, V]) => {
9697
- g(F, V);
9699
+ async ([F, L]) => {
9700
+ g(F, L);
9698
9701
  },
9699
9702
  { immediate: !m.value }
9700
9703
  );
@@ -9702,8 +9705,8 @@ function md(e, t, l) {
9702
9705
  const h = () => {
9703
9706
  d || (d = !0, g(n.source, n.params));
9704
9707
  };
9705
- fe([() => f.value, () => n.modelValue], ([F, V]) => {
9706
- u(V, n.valueType, F, !1), s("setValue", V);
9708
+ fe([() => f.value, () => n.modelValue], ([F, L]) => {
9709
+ u(L, n.valueType, F, !1), s("setValue", L);
9707
9710
  });
9708
9711
  const x = e, p = b(() => ({
9709
9712
  [x]: !0,
@@ -9712,7 +9715,7 @@ function md(e, t, l) {
9712
9715
  u(F, "value", f.value, !0);
9713
9716
  };
9714
9717
  let z = Se(n, "hintText"), M = Se(n, "hintVisible");
9715
- const R = (F, V) => {
9718
+ const R = (F, L) => {
9716
9719
  const N = [];
9717
9720
  return F.forEach((C, w) => {
9718
9721
  const B = Kt(n, C), $ = Xt(n, C);
@@ -9726,11 +9729,11 @@ function md(e, t, l) {
9726
9729
  size: n.size,
9727
9730
  border: de(n.border)
9728
9731
  };
9729
- E && (Y.disabled = E), n.itemType === "button" ? N.push(O(Ha, Y, { default: () => [$] })) : typeof V == "function" ? N.push(O(Wt, Y, { default: () => V(C) })) : N.push(O(Wt, Y, { default: () => [$] }));
9732
+ E && (Y.disabled = E), n.itemType === "button" ? N.push(O(Ha, Y, { default: () => [$] })) : typeof L == "function" ? N.push(O(Wt, Y, { default: () => L(C) })) : N.push(O(Wt, Y, { default: () => [$] }));
9730
9733
  }), N;
9731
9734
  };
9732
9735
  return () => {
9733
- const V = {
9736
+ const L = {
9734
9737
  ...dt(a.attrs),
9735
9738
  class: p.value,
9736
9739
  disabled: o.value || r.value,
@@ -9742,7 +9745,7 @@ function md(e, t, l) {
9742
9745
  onChange: T
9743
9746
  }, N = [], C = {};
9744
9747
  a.slots.options ? C.default = a.slots.options : C.default = () => R(f.value, a.slots.text);
9745
- const w = O(Dn, V, C);
9748
+ const w = O(Dn, L, C);
9746
9749
  N.push(w);
9747
9750
  const B = {
9748
9751
  default: () => N
@@ -9985,10 +9988,10 @@ function Dd(e, t, l) {
9985
9988
  onVisibleChange: T
9986
9989
  }, F = {};
9987
9990
  a.slots.option && (F.default = a.slots.option);
9988
- const V = [], N = O(lo, R, F);
9989
- V.push(N);
9991
+ const L = [], N = O(lo, R, F);
9992
+ L.push(N);
9990
9993
  const C = {
9991
- default: () => V
9994
+ default: () => L
9992
9995
  };
9993
9996
  a.slots.default && (C.label = a.slots.default), a.slots.fixedTip && (C.fixedTip = a.slots.fixedTip);
9994
9997
  const B = {
@@ -10107,12 +10110,12 @@ const Bd = /* @__PURE__ */ ot(Ld, [["render", qd]]), { componentName: Jm, create
10107
10110
  const v = D.querySelector(".label--string");
10108
10111
  let K = "";
10109
10112
  v && (K = v.textContent ?? "");
10110
- const q = D.getAttribute("prop") ?? "", L = window.getComputedStyle(D, null).getPropertyValue("display");
10113
+ const q = D.getAttribute("prop") ?? "", V = window.getComputedStyle(D, null).getPropertyValue("display");
10111
10114
  P.push({
10112
10115
  label: K,
10113
10116
  prop: q,
10114
10117
  sortIndex: 0,
10115
- visible: L !== "none"
10118
+ visible: V !== "none"
10116
10119
  });
10117
10120
  }), P;
10118
10121
  }, u = () => {
@@ -10169,7 +10172,7 @@ const Bd = /* @__PURE__ */ ot(Ld, [["render", qd]]), { componentName: Jm, create
10169
10172
  const R = {
10170
10173
  currentRow: null,
10171
10174
  index: null
10172
- }, F = (k) => k ? k.dataset && k.dataset.role === "row" ? k : k.tagName.toLowerCase() !== "body" ? (k = k.parentElement, F(k)) : null : null, V = (k) => {
10175
+ }, F = (k) => k ? k.dataset && k.dataset.role === "row" ? k : k.tagName.toLowerCase() !== "body" ? (k = k.parentElement, F(k)) : null : null, L = (k) => {
10173
10176
  const y = k.currentTarget;
10174
10177
  y && y.dataset && (R.index = y.dataset.index);
10175
10178
  }, N = (k) => {
@@ -10227,7 +10230,7 @@ const Bd = /* @__PURE__ */ ot(Ld, [["render", qd]]), { componentName: Jm, create
10227
10230
  checkedValue: T,
10228
10231
  handleCheckChange: z,
10229
10232
  onShow: M,
10230
- onDragStart: V,
10233
+ onDragStart: L,
10231
10234
  onDragEnd: N,
10232
10235
  onDragOver: C,
10233
10236
  onDragLeave: w,
@@ -10781,7 +10784,7 @@ function $h(e, t, l, n = !1) {
10781
10784
  D === "horizontal" ? k.scrollLeft += (y - K) / q : k.scrollTop += (y - K) / q, ++v < q && fo(_);
10782
10785
  }
10783
10786
  _();
10784
- }, V = (k, y) => {
10787
+ }, L = (k, y) => {
10785
10788
  const P = ln(a, k), D = {};
10786
10789
  return D[`${e}__titles-item`] = !0, D.disabled = ba(a, k), D.active = P === f.value, a.shape && (D[`${a.shape}`] = !0), a.ellipsis && (D.ellipsis = !0), y && (y.class && (D[`${y.class}`] = !0), y.disabled === !0 && (D.disabled = y.disabled)), D;
10787
10790
  }, N = (k, y) => {
@@ -10853,10 +10856,10 @@ function $h(e, t, l, n = !1) {
10853
10856
  }, ne = O("view", J);
10854
10857
  _.push(ne);
10855
10858
  }
10856
- const L = P?.num ?? Sh(a, k);
10857
- if (L) {
10859
+ const V = P?.num ?? Sh(a, k);
10860
+ if (V) {
10858
10861
  let J = "";
10859
- const ne = Me(L);
10862
+ const ne = Me(V);
10860
10863
  ne >= 100 ? J = "99+" : J = `${ne}`;
10861
10864
  const S = {
10862
10865
  class: [`${e}__titles-item-tip`, "num"]
@@ -10876,7 +10879,7 @@ function $h(e, t, l, n = !1) {
10876
10879
  D.push(K);
10877
10880
  const q = {
10878
10881
  ref: M(y),
10879
- class: V(k, P),
10882
+ class: L(k, P),
10880
10883
  style: N(k, P),
10881
10884
  key: C(k, y),
10882
10885
  onClick: E(k, y)
@@ -11334,7 +11337,7 @@ function Kh(e, t, l, n) {
11334
11337
  clickNavigatePolicy: a.clickNavigatePolicy
11335
11338
  };
11336
11339
  r("change", K, q);
11337
- }, F = j(!0), V = async (y, P) => {
11340
+ }, F = j(!0), L = async (y, P) => {
11338
11341
  try {
11339
11342
  const D = await i.load("stesbar", y, P);
11340
11343
  Array.isArray(D) && (c.value = D), F.value = !1;
@@ -11348,7 +11351,7 @@ function Kh(e, t, l, n) {
11348
11351
  fe(
11349
11352
  [() => a.data, () => a.params],
11350
11353
  async ([y, P]) => {
11351
- y && V(y, P);
11354
+ y && L(y, P);
11352
11355
  },
11353
11356
  { immediate: !0 }
11354
11357
  );
@@ -11357,13 +11360,13 @@ function Kh(e, t, l, n) {
11357
11360
  if (o.icon)
11358
11361
  q = o.icon({ item: y, index: P, status: v });
11359
11362
  else if (v === "done") {
11360
- const L = {};
11361
- a.iconSize && (L.width = a.iconSize, L.height = a.iconSize);
11363
+ const V = {};
11364
+ a.iconSize && (V.width = a.iconSize, V.height = a.iconSize);
11362
11365
  const U = a.icon ?? l;
11363
- q = O(U, L);
11366
+ q = O(U, V);
11364
11367
  } else {
11365
- const L = D ?? `${P + 1}`;
11366
- q = O("span", {}, [L]);
11368
+ const V = D ?? `${P + 1}`;
11369
+ q = O("span", {}, [V]);
11367
11370
  }
11368
11371
  return O("view", {
11369
11372
  class: "fox-steps-bar__icon",
@@ -11412,8 +11415,8 @@ function Kh(e, t, l, n) {
11412
11415
  const D = el(a, y, P) ?? {}, v = D.status ?? Qn(a, y);
11413
11416
  let K = Sa(a, y);
11414
11417
  D.disabled === !0 && (K = !0), a.disabled === !0 && (K = !0);
11415
- const q = D.label ?? Ta(a, y), _ = [], L = N(y, P, q, v, K);
11416
- L && _.push(L);
11418
+ const q = D.label ?? Ta(a, y), _ = [], V = N(y, P, q, v, K);
11419
+ V && _.push(V);
11417
11420
  const U = $(y, P, v, K);
11418
11421
  if (U && _.push(U), !M(P)) {
11419
11422
  const ee = C(y, P);
@@ -11432,8 +11435,8 @@ function Kh(e, t, l, n) {
11432
11435
  const D = el(a, y, P) ?? {}, v = D.status ?? Qn(a, y);
11433
11436
  let K = Sa(a, y);
11434
11437
  D.disabled === !0 && (K = !0), a.disabled === !0 && (K = !0);
11435
- const q = D.label ?? Ta(a, y), _ = [], L = a.layout;
11436
- for (let S of L)
11438
+ const q = D.label ?? Ta(a, y), _ = [], V = a.layout;
11439
+ for (let S of V)
11437
11440
  if (S === "head") {
11438
11441
  const W = B(y, P, q, v, K);
11439
11442
  _.push(W);
@@ -11470,10 +11473,10 @@ function Kh(e, t, l, n) {
11470
11473
  }, k = (y, P, D, v) => {
11471
11474
  let K = 0;
11472
11475
  const q = v === "horizontal" ? y.scrollLeft : y.scrollTop, _ = D === 0 ? 1 : Math.round(D * 1e3 / 16);
11473
- function L() {
11474
- v === "horizontal" ? y.scrollLeft += (P - q) / _ : y.scrollTop += (P - q) / _, ++K < _ && fo(L);
11476
+ function V() {
11477
+ v === "horizontal" ? y.scrollLeft += (P - q) / _ : y.scrollTop += (P - q) / _, ++K < _ && fo(V);
11475
11478
  }
11476
- L();
11479
+ V();
11477
11480
  };
11478
11481
  return () => {
11479
11482
  const y = [];
@@ -12149,7 +12152,7 @@ const bg = /* @__PURE__ */ ot(vg, [["render", yg]]), xg = {
12149
12152
  Ne(() => {
12150
12153
  n.autofocus && F.value.focus();
12151
12154
  });
12152
- const V = () => {
12155
+ const L = () => {
12153
12156
  const N = [];
12154
12157
  if (a.leftin) {
12155
12158
  const E = {
@@ -12219,7 +12222,7 @@ const bg = /* @__PURE__ */ ot(vg, [["render", yg]]), xg = {
12219
12222
  }, $ = O("view", B, [a.leftout()]);
12220
12223
  N.push($);
12221
12224
  }
12222
- const C = V();
12225
+ const C = L();
12223
12226
  if (N.push(C), a.rightout) {
12224
12227
  const B = {
12225
12228
  class: [`${e}__search-icon`, `${e}__right-search-icon`]
@@ -12347,8 +12350,8 @@ function Fg(e, t, l) {
12347
12350
  class: "fox-infinite__container"
12348
12351
  }, [o?.default?.()]), z = [];
12349
12352
  if (u.isInfiniting) {
12350
- let V = o?.loading?.() ?? null;
12351
- if (!V) {
12353
+ let L = o?.loading?.() ?? null;
12354
+ if (!L) {
12352
12355
  let w = o?.loadingIcon?.() ?? null;
12353
12356
  w || (w = O(l, {
12354
12357
  class: ["fox-infinite__bottom-box__img"]
@@ -12356,17 +12359,17 @@ function Fg(e, t, l) {
12356
12359
  const $ = O("view", {
12357
12360
  class: "fox-infinite__bottom-box__text"
12358
12361
  }, [s.loadText.value]);
12359
- V = [w, $];
12362
+ L = [w, $];
12360
12363
  }
12361
12364
  const C = O("view", {
12362
12365
  class: "fox-infinite__bottom-box"
12363
- }, V);
12366
+ }, L);
12364
12367
  z.push(C);
12365
12368
  } else if (!n.hasMore) {
12366
- let V = o?.finished?.() ?? null;
12367
- V || (V = O("view", {
12369
+ let L = o?.finished?.() ?? null;
12370
+ L || (L = O("view", {
12368
12371
  class: "fox-infinite__bottom-tips"
12369
- }, [s.loadMoreText.value]), z.push(V));
12372
+ }, [s.loadMoreText.value]), z.push(L));
12370
12373
  }
12371
12374
  const R = O("view", {
12372
12375
  class: "fox-infinite__bottom"
@@ -12538,12 +12541,12 @@ const Vg = {
12538
12541
  const F = {};
12539
12542
  return n.headHeight != 50 && (F.height = Ge(n.headHeight)), F;
12540
12543
  }), h = (F) => {
12541
- const V = +(n.pullDistance || n.headHeight);
12544
+ const L = +(n.pullDistance || n.headHeight);
12542
12545
  let N = F;
12543
- return F > V && (F < V * 2 ? N = (F + V) / 2 : N = V + F / 4), Math.round(N);
12544
- }, x = (F, V) => {
12546
+ return F > L && (F < L * 2 ? N = (F + L) / 2 : N = L + F / 4), Math.round(N);
12547
+ }, x = (F, L) => {
12545
12548
  const N = +(n.pullDistance || n.headHeight);
12546
- f.distance = F, V ? f.status = "loading" : F === 0 ? f.status = "normal" : F < N ? f.status = "pulling" : f.status = "loosing", a("change", { status: f.status, distance: F });
12549
+ f.distance = F, L ? f.status = "loading" : F === 0 ? f.status = "normal" : F < N ? f.status = "pulling" : f.status = "loosing", a("change", { status: f.status, distance: F });
12547
12550
  }, p = () => f.status !== "loading" && f.status !== "complete", T = () => u.value == window ? Jo() == 0 : u.value && u.value.scrollTop == 0, z = (F) => {
12548
12551
  p() && (T() ? (i.start(F), f.isPullRefresh = !0, f.moving = !0) : (f.distance = 0, f.isPullRefresh = !1));
12549
12552
  }, M = (F) => {
@@ -12560,10 +12563,10 @@ const Vg = {
12560
12563
  }
12561
12564
  ), () => {
12562
12565
  const F = [];
12563
- let V = null;
12564
- f.status === "loading" ? (V = o?.loading?.() ?? null, V || (V = O(l, {
12566
+ let L = null;
12567
+ f.status === "loading" ? (L = o?.loading?.() ?? null, L || (L = O(l, {
12565
12568
  class: ["fox-pull-refresh-container-topbox-icon"]
12566
- }))) : f.status === "pulling" ? V = o?.pulling?.() ?? null : f.status === "loosing" && (V = o?.loosing?.() ?? null), V && F.push(V);
12569
+ }))) : f.status === "pulling" ? L = o?.pulling?.() ?? null : f.status === "loosing" && (L = o?.loosing?.() ?? null), L && F.push(L);
12567
12570
  const C = O("dive", {
12568
12571
  class: ["fox-pull-refresh-container-topbox-text"]
12569
12572
  }, [I.value]);
@@ -12800,8 +12803,8 @@ function Yg(e, t, l, n = !1) {
12800
12803
  if (typeof a.highlightFilter == "string" && a.highlightFilter.length > 0) {
12801
12804
  const R = a.highlightFilter;
12802
12805
  if (T.indexOf(R) !== -1) {
12803
- const V = T.replace(new RegExp(R, "g"), `<span>${R}</span>`);
12804
- z.innerHTML = V, z.class["is-highlight"] = !0, M = O(a.tag, z);
12806
+ const L = T.replace(new RegExp(R, "g"), `<span>${R}</span>`);
12807
+ z.innerHTML = L, z.class["is-highlight"] = !0, M = O(a.tag, z);
12805
12808
  }
12806
12809
  } else if (typeof a.highlightFilter == "function") {
12807
12810
  const R = a.highlightFilter(T);
@@ -12853,22 +12856,22 @@ function Yg(e, t, l, n = !1) {
12853
12856
  };
12854
12857
  let z = null;
12855
12858
  if (de(a.numberFormat) && typeof o.slots.default == "function") {
12856
- const V = o.slots.default();
12857
- if (Array.isArray(V) && V.length === 1) {
12858
- const N = V[0].type.toString();
12859
+ const L = o.slots.default();
12860
+ if (Array.isArray(L) && L.length === 1) {
12861
+ const N = L[0].type.toString();
12859
12862
  if (N === "Symbol(Text)" || N === "Symbol(v-txt)") {
12860
12863
  const C = Me(a.digits), w = Me(a.decimalLength), B = de(a.autoPadding);
12861
- let $ = `${V[0].children}`, E = $.split("").reverse().join("");
12864
+ let $ = `${L[0].children}`, E = $.split("").reverse().join("");
12862
12865
  E = $l(E, w, B, C, a.separator), $ = E.split("").reverse().join(""), a.highlightFilter !== void 0 && (z = c($, T)), z || (T.innerHTML = $, z = O(a.tag, T));
12863
12866
  }
12864
12867
  }
12865
12868
  } else {
12866
12869
  if (a.highlightFilter !== void 0 && typeof o.slots.default == "function") {
12867
- const V = o.slots.default();
12868
- if (Array.isArray(V) && V.length === 1) {
12869
- const N = V[0].type.toString();
12870
+ const L = o.slots.default();
12871
+ if (Array.isArray(L) && L.length === 1) {
12872
+ const N = L[0].type.toString();
12870
12873
  if (N === "Symbol(Text)" || N === "Symbol(v-txt)") {
12871
- const C = `${V[0].children}`;
12874
+ const C = `${L[0].children}`;
12872
12875
  z = c(C, T), z || (T.innerHTML = C, z = O(a.tag, T));
12873
12876
  }
12874
12877
  }
@@ -12879,33 +12882,33 @@ function Yg(e, t, l, n = !1) {
12879
12882
  return z;
12880
12883
  let R = null;
12881
12884
  if (a.icon) {
12882
- const V = {
12885
+ const L = {
12883
12886
  [`${e}__mark-wrap`]: !0
12884
12887
  };
12885
- a.type && (V[`${e}__mark-wrap--${a.type}`] = !0);
12888
+ a.type && (L[`${e}__mark-wrap--${a.type}`] = !0);
12886
12889
  const N = {}, C = a.color;
12887
12890
  C && (N.color = C), R = O("view", {
12888
- class: V,
12891
+ class: L,
12889
12892
  style: N
12890
12893
  }, O(a.icon));
12891
12894
  } else if (o.slots.mark) {
12892
- const V = {
12895
+ const L = {
12893
12896
  [`${e}__mark-wrap`]: !0
12894
12897
  };
12895
- a.type && (V[`${e}__mark-wrap--${a.type}`] = !0);
12898
+ a.type && (L[`${e}__mark-wrap--${a.type}`] = !0);
12896
12899
  const N = {}, C = a.color;
12897
12900
  C && (N.color = C), R = O("view", {
12898
- class: V,
12901
+ class: L,
12899
12902
  style: N
12900
12903
  }, { default: o.slots.mark });
12901
12904
  } else {
12902
- const V = {
12905
+ const L = {
12903
12906
  [`${e}__mark`]: !0
12904
12907
  };
12905
- a.type && (V[`${e}__mark--${a.type ?? "default"}`] = !0);
12908
+ a.type && (L[`${e}__mark--${a.type ?? "default"}`] = !0);
12906
12909
  const N = {}, C = a.color;
12907
12910
  C && (N["background-color"] = C), R = O("view", {
12908
- class: V,
12911
+ class: L,
12909
12912
  style: N
12910
12913
  });
12911
12914
  }
@@ -13109,11 +13112,11 @@ const rv = (e) => {
13109
13112
  showPopup: !1,
13110
13113
  active: 0
13111
13114
  }), a = j({}), o = b(() => `${l}`), r = b(() => {
13112
- const { offset: g, maskWidth: d, maskHeight: h } = e, { width: x, height: p, left: T, top: z } = a.value, M = e.steps[n.active].offset ?? g, R = [T + x / 2, z + p / 2], F = Number(d || x), V = Number(h || p);
13115
+ const { offset: g, maskWidth: d, maskHeight: h } = e, { width: x, height: p, left: T, top: z } = a.value, M = e.steps[n.active].offset ?? g, R = [T + x / 2, z + p / 2], F = Number(d || x), L = Number(h || p);
13113
13116
  return {
13114
13117
  width: `${F + +M.left + M.right}px`,
13115
- height: `${V + M.top + M.bottom}px`,
13116
- top: `${R[1] - V / 2 - +M.top}px`,
13118
+ height: `${L + M.top + M.bottom}px`,
13119
+ top: `${R[1] - L / 2 - +M.top}px`,
13117
13120
  left: `${R[0] - F / 2 - +M.left}px`
13118
13121
  };
13119
13122
  }), s = (g) => {
@@ -13474,22 +13477,22 @@ const kv = () => {
13474
13477
  }, i = (d) => {
13475
13478
  if (!e.loop && !de(e.trapped) || s.paused)
13476
13479
  return;
13477
- const { key: h, altKey: x, ctrlKey: p, metaKey: T, currentTarget: z, shiftKey: M } = d, { loop: R } = e, F = h === "Tab" && !x && !p && !T, V = document.activeElement;
13478
- if (F && V) {
13480
+ const { key: h, altKey: x, ctrlKey: p, metaKey: T, currentTarget: z, shiftKey: M } = d, { loop: R } = e, F = h === "Tab" && !x && !p && !T, L = document.activeElement;
13481
+ if (F && L) {
13479
13482
  const N = z, [C, w] = Nv(N);
13480
13483
  if (C && w) {
13481
- if (!M && V === w) {
13484
+ if (!M && L === w) {
13482
13485
  const $ = wn({
13483
13486
  focusReason: r.value
13484
13487
  });
13485
13488
  l("focusout-prevented", $), $.defaultPrevented || (d.preventDefault(), R && wt(C, !0));
13486
- } else if (M && [C, N].includes(V)) {
13489
+ } else if (M && [C, N].includes(L)) {
13487
13490
  const $ = wn({
13488
13491
  focusReason: r.value
13489
13492
  });
13490
13493
  l("focusout-prevented", $), $.defaultPrevented || (d.preventDefault(), R && wt(w, !0));
13491
13494
  }
13492
- } else if (V === N) {
13495
+ } else if (L === N) {
13493
13496
  const $ = wn({
13494
13497
  focusReason: r.value
13495
13498
  });
@@ -13730,7 +13733,7 @@ const kv = () => {
13730
13733
  n.value = S;
13731
13734
  }
13732
13735
  );
13733
- const o = b(() => n.value === !1 ? !1 : !V.value), r = j(e.left), s = j(e.top), i = j(e.right), c = j(e.bottom), u = b(() => {
13736
+ const o = b(() => n.value === !1 ? !1 : !L.value), r = j(e.left), s = j(e.top), i = j(e.right), c = j(e.bottom), u = b(() => {
13734
13737
  const S = ["fox-floating-window"];
13735
13738
  return e.customClass && S.push(e.customClass), S;
13736
13739
  }), f = b(() => {
@@ -13740,10 +13743,10 @@ const kv = () => {
13740
13743
  [`${l}__collapse-text`]: !0
13741
13744
  })), p = b(() => ({
13742
13745
  [`${l}__collapse-icon`]: !0,
13743
- "is-expand": !V.value,
13744
- "is-collapse": V.value
13745
- })), T = j(), z = j(null), M = j(null), R = b(() => We(e.height) || ""), F = b(() => We(e.width) || ""), V = j(de(e.collapse)), N = (S, W = !0) => {
13746
- V.value !== S && (V.value = S, S ? y() : P(), t("update:collapse", S), S && typeof B.onHide == "function" ? B.onHide() : !S && typeof B.onShow == "function" && B.onShow());
13746
+ "is-expand": !L.value,
13747
+ "is-collapse": L.value
13748
+ })), T = j(), z = j(null), M = j(null), R = b(() => We(e.height) || ""), F = b(() => We(e.width) || ""), L = j(de(e.collapse)), N = (S, W = !0) => {
13749
+ L.value !== S && (L.value = S, S ? y() : P(), t("update:collapse", S), S && typeof B.onHide == "function" ? B.onHide() : !S && typeof B.onShow == "function" && B.onShow());
13747
13750
  };
13748
13751
  fe(
13749
13752
  () => e.collapse,
@@ -13754,7 +13757,7 @@ const kv = () => {
13754
13757
  const C = () => {
13755
13758
  w();
13756
13759
  }, w = (S) => {
13757
- S = S ?? !V.value, N(S);
13760
+ S = S ?? !L.value, N(S);
13758
13761
  };
13759
13762
  ke(Mv, !0);
13760
13763
  const B = {
@@ -13774,7 +13777,7 @@ const kv = () => {
13774
13777
  }), Y = j(""), Z = b(() => {
13775
13778
  const S = {};
13776
13779
  return Y.value ? S.top = Y.value : e.collapseTop && (S.top = e.collapseTop), S;
13777
- }), X = j(V.value), te = b({
13780
+ }), X = j(L.value), te = b({
13778
13781
  set: (S) => {
13779
13782
  X.value = S;
13780
13783
  },
@@ -13814,12 +13817,12 @@ const kv = () => {
13814
13817
  return;
13815
13818
  const W = T.value;
13816
13819
  D(), e.origin === "left-top" ? (r.value = v.x + S.x, s.value = v.y + S.y, W.style.left = We(r.value), W.style.top = We(s.value)) : e.origin === "left-bottom" ? (r.value = v.x + S.x, c.value = v.y - S.y, W.style.left = We(r.value), W.style.bottom = We(c.value)) : e.origin === "right-bottom" ? (i.value = v.x - S.x, c.value = v.y - S.y, W.style.right = We(i.value), W.style.bottom = We(c.value)) : (i.value = v.x - S.x, s.value = v.y + S.y, W.style.right = We(i.value), W.style.top = We(s.value));
13817
- }), L = { x: 0, y: 0 }, J = Ia((S) => {
13818
- E.value && (L.x = E.value.offsetLeft, L.y = E.value.offsetTop);
13820
+ }), V = { x: 0, y: 0 }, J = Ia((S) => {
13821
+ E.value && (V.x = E.value.offsetLeft, V.y = E.value.offsetTop);
13819
13822
  }, (S) => {
13820
13823
  if (!E.value)
13821
13824
  return;
13822
- const W = L.y + S.y;
13825
+ const W = V.y + S.y;
13823
13826
  Y.value = `${W}px`;
13824
13827
  }), ne = () => {
13825
13828
  if (T.value) {