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

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 Fri Jan 24 2025 21:55:53 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Wed Mar 26 2025 15:52:04 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const mn = window, qs = typeof window < "u";
11
11
  function Bs() {
@@ -3387,21 +3387,21 @@ function Qi(e, t, l) {
3387
3387
  setup(n, a) {
3388
3388
  const o = yo(n.name, n, $o), r = Yi(o, { type: n.type }), s = Vn();
3389
3389
  Ln(!0);
3390
- const i = n.rollingDisplay ? Ui() : null, c = j(null), u = b(() => n.rollingDisplay ? i && !i.disabled : !1), f = b(() => s && o ? Mn(o, !0).value : null), m = Re(), I = (H, J = !1) => {
3390
+ const i = n.rollingDisplay ? Ui() : null, c = j(null), u = b(() => n.rollingDisplay ? i && !i.disabled : !1), f = b(() => s && o ? Mn(o, !0).value : null), m = Re(), I = (H, Q = !1) => {
3391
3391
  const ne = m?.proxy;
3392
- ne && typeof ne.setNameValidateRules == "function" && ne.setNameValidateRules(H, !0, J);
3392
+ ne && typeof ne.setNameValidateRules == "function" && ne.setNameValidateRules(H, !0, Q);
3393
3393
  };
3394
3394
  fe(
3395
3395
  [() => n.rules, () => n.pureDataRules],
3396
- ([H, J], [ne, S]) => {
3396
+ ([H, Q], [ne, S]) => {
3397
3397
  if (H && ne) {
3398
3398
  const W = xe(ne), ee = xe(H), ae = ee ? Reflect.ownKeys(ee) : [];
3399
3399
  (W ? Reflect.ownKeys(W) : []).forEach((pe) => {
3400
3400
  ae.includes(pe) || (ee[pe] = []);
3401
3401
  }), I(ee);
3402
3402
  }
3403
- if (J && S) {
3404
- const W = xe(S), ee = xe(J), ae = ee ? Reflect.ownKeys(ee) : [];
3403
+ if (Q && S) {
3404
+ const W = xe(S), ee = xe(Q), ae = ee ? Reflect.ownKeys(ee) : [];
3405
3405
  (W ? Reflect.ownKeys(W) : []).forEach((pe) => {
3406
3406
  ae.includes(pe) || (ee[pe] = []);
3407
3407
  }), I(ee, !0);
@@ -3412,13 +3412,13 @@ function Qi(e, t, l) {
3412
3412
  const g = e, d = b(() => {
3413
3413
  const H = {};
3414
3414
  H.height = A.value;
3415
- const J = s ? Rn(o, !0) : null;
3416
- if (f.value && J) {
3415
+ const Q = s ? Rn(o, !0) : null;
3416
+ if (f.value && Q) {
3417
3417
  if (f.value.type === "grid") {
3418
- const ne = qn(J, f.value, n.span, n.offset);
3418
+ const ne = qn(Q, f.value, n.span, n.offset);
3419
3419
  Object.assign(H, ne);
3420
3420
  } else if (f.value.type === "flow") {
3421
- const ne = _n(J, f.value, n.span, n.offset, n.width);
3421
+ const ne = _n(Q, f.value, n.span, n.offset, n.width);
3422
3422
  Object.assign(H, ne);
3423
3423
  }
3424
3424
  } else if (n.width) {
@@ -3436,20 +3436,20 @@ function Qi(e, t, l) {
3436
3436
  } : { [`${g}--${H}`]: !0, [`${g}--gutter`]: !0 };
3437
3437
  }), x = b(() => {
3438
3438
  if (r.layout.value.type === "grid") {
3439
- let J = "";
3439
+ let Q = "";
3440
3440
  if (n.columnWidth)
3441
- J = `repeat(auto-fill, ${n.columnWidth})`;
3441
+ Q = `repeat(auto-fill, ${n.columnWidth})`;
3442
3442
  else {
3443
3443
  const ne = Zi(
3444
3444
  L.value,
3445
3445
  r.layout.value.column,
3446
3446
  r.layout.value.gutter
3447
3447
  );
3448
- J = `repeat(${r.layout.value.column}, ${ne})`;
3448
+ Q = `repeat(${r.layout.value.column}, ${ne})`;
3449
3449
  }
3450
3450
  return {
3451
3451
  "column-gap": `${r.layout.value.gutter}px`,
3452
- "grid-template-columns": J
3452
+ "grid-template-columns": Q
3453
3453
  };
3454
3454
  }
3455
3455
  }), p = fn(n, "gutter"), T = fn(n, "column"), z = b(() => s || u.value ? !0 : de(n.isWrap)), M = [], R = (H) => {
@@ -3458,8 +3458,8 @@ function Qi(e, t, l) {
3458
3458
  let H = M.length;
3459
3459
  M.splice(0, H);
3460
3460
  }, L = j(-1), N = (H) => {
3461
- const J = To(H).width;
3462
- J > 0 && J !== L.value && (L.value = J);
3461
+ const Q = To(H).width;
3462
+ Q > 0 && Q !== L.value && (L.value = Q);
3463
3463
  };
3464
3464
  Un(
3465
3465
  o,
@@ -3470,8 +3470,8 @@ function Qi(e, t, l) {
3470
3470
  n.minItemWidth,
3471
3471
  n.maxItemWidth,
3472
3472
  n.type
3473
- ), n.autoLayout && fe([L, T, p], ([H, J, ne]) => {
3474
- r.order.index = 0, Un(o, H, J, ne, !1, n.minItemWidth, n.maxItemWidth, n.type);
3473
+ ), n.autoLayout && fe([L, T, p], ([H, Q, ne]) => {
3474
+ r.order.index = 0, Un(o, H, Q, ne, !1, n.minItemWidth, n.maxItemWidth, n.type);
3475
3475
  });
3476
3476
  const C = b(() => G.value ? n.expandText ?? "" : n.collapseText ?? ""), w = b(() => ({
3477
3477
  [`${e}__header-collapse-text`]: !0
@@ -3479,14 +3479,14 @@ function Qi(e, t, l) {
3479
3479
  [`${e}__header-collapse-icon`]: !0,
3480
3480
  "is-expand": !G.value,
3481
3481
  "is-collapse": G.value
3482
- })), $ = j(), E = j(), A = b(() => Y.value || Ge(n.height) || ""), G = j(!1), Y = j(""), Z = j(!1);
3482
+ })), $ = j(), E = j(), A = b(() => Y.value || Ge(n.height) || ""), G = j(!1), Y = j(""), J = j(!1);
3483
3483
  let X = -1;
3484
- const te = (H, J = !0) => {
3484
+ const te = (H, Q = !0) => {
3485
3485
  const ne = $.value;
3486
3486
  if (ne && G.value !== H) {
3487
- if (X = X === -1 ? Xi(ne) : X, Z.value = !0, J)
3487
+ if (X = X === -1 ? Xi(ne) : X, J.value = !0, Q)
3488
3488
  if (ne.style["will-change"] = "height", ne.ontransitionend = function() {
3489
- ne.ontransitionend = null, this.style["will-change"] = "auto", H || (Y.value = "", Z.value = !1);
3489
+ ne.ontransitionend = null, this.style["will-change"] = "auto", H || (Y.value = "", J.value = !1);
3490
3490
  }, H) {
3491
3491
  let S = 0;
3492
3492
  n.collapseHeight ? S = n.collapseHeight : E.value && E.value.classList.contains(`${e}__header`) && (S = E.value.offsetHeight), Y.value = `${X}px`, Tt(() => {
@@ -3498,7 +3498,7 @@ function Qi(e, t, l) {
3498
3498
  let S = 0;
3499
3499
  n.collapseHeight ? S = n.collapseHeight : E.value && E.value.classList.contains(`${e}__header`) && (S = E.value.offsetHeight), Y.value = `${S}px`;
3500
3500
  } else
3501
- Z.value = !1, Y.value = `${X}px`;
3501
+ J.value = !1, Y.value = `${X}px`;
3502
3502
  G.value = H, a.emit("update:collapse", H);
3503
3503
  }
3504
3504
  };
@@ -3535,25 +3535,25 @@ function Qi(e, t, l) {
3535
3535
  let D = null, v = !0;
3536
3536
  const K = (H) => {
3537
3537
  if (n.rules) {
3538
- const J = xe(n.rules);
3539
- I(J);
3538
+ const Q = xe(n.rules);
3539
+ I(Q);
3540
3540
  }
3541
3541
  if (n.pureDataRules) {
3542
- const J = xe(n.pureDataRules);
3543
- I(J, !0);
3542
+ const Q = xe(n.pureDataRules);
3543
+ I(Q, !0);
3544
3544
  }
3545
3545
  if (Zt && (H && te(de(n.collapse), !1), n.autoLayout && Array.isArray(M) && M.length > 0)) {
3546
- const J = M[0];
3547
- N(J), window.ResizeObserver && (D = new window.ResizeObserver(() => {
3548
- N(J);
3549
- }), D.observe(J));
3546
+ const Q = M[0];
3547
+ N(Q), window.ResizeObserver && (D = new window.ResizeObserver(() => {
3548
+ N(Q);
3549
+ }), D.observe(Q));
3550
3550
  }
3551
3551
  }, q = () => {
3552
3552
  D?.disconnect(), D = null;
3553
3553
  }, _ = !u.value || i?.acquire();
3554
3554
  _ && (c.value = u.value ? !0 : null), Ne(() => {
3555
3555
  if (_ && (K(v), v = !1), u.value && i) {
3556
- let H = null, J = i.initialHeight;
3556
+ let H = null, Q = i.initialHeight;
3557
3557
  i.observe($.value, (ne) => {
3558
3558
  if (ne !== c.value)
3559
3559
  if (ne)
@@ -3566,7 +3566,7 @@ function Qi(e, t, l) {
3566
3566
  Y.value = i.initialHeight;
3567
3567
  else {
3568
3568
  let S = hl($.value);
3569
- S <= 0 ? Y.value = J : (Y.value = `${S}px`, J = Y.value);
3569
+ S <= 0 ? Y.value = Q : (Y.value = `${S}px`, Q = Y.value);
3570
3570
  }
3571
3571
  v || q();
3572
3572
  }
@@ -3576,24 +3576,24 @@ function Qi(e, t, l) {
3576
3576
  D?.disconnect(), i && i.unobserve($.value);
3577
3577
  });
3578
3578
  const V = (H = "right") => {
3579
- const J = [];
3579
+ const Q = [];
3580
3580
  if (C.value) {
3581
3581
  const W = {
3582
3582
  class: w.value
3583
3583
  }, ee = O("span", W, [C.value]);
3584
- J.push(ee);
3584
+ Q.push(ee);
3585
3585
  }
3586
3586
  const ne = {
3587
3587
  class: B.value
3588
3588
  }, S = l(n.collapseIcon, ne);
3589
- return S && J.push(S), J.length > 0 ? O(
3589
+ return S && Q.push(S), Q.length > 0 ? O(
3590
3590
  "div",
3591
3591
  { class: { [`${g}__header-collapse`]: !0, [`is-${H}`]: !0 }, onClick: k },
3592
- J
3592
+ Q
3593
3593
  ) : null;
3594
- }, U = (H, J, ne, S) => {
3594
+ }, U = (H, Q, ne, S) => {
3595
3595
  const W = { ...h.value };
3596
- return J === 0 && (W[`${g}__first`] = !0), ne >= S - 1 && (W[`${g}__last`] = !0), O("div", { ref: R, key: `${J}`, class: W, style: x.value }, H);
3596
+ return Q === 0 && (W[`${g}__first`] = !0), ne >= S - 1 && (W[`${g}__last`] = !0), O("div", { ref: R, key: `${Q}`, class: W, style: x.value }, H);
3597
3597
  };
3598
3598
  return () => {
3599
3599
  if (u.value && c.value !== !0) {
@@ -3603,7 +3603,7 @@ function Qi(e, t, l) {
3603
3603
  {
3604
3604
  ref: $,
3605
3605
  prop: n.name,
3606
- class: { [`${g}`]: !0, "is-collapse": Z.value },
3606
+ class: { [`${g}`]: !0, "is-collapse": J.value },
3607
3607
  style: d.value
3608
3608
  },
3609
3609
  []
@@ -3611,10 +3611,10 @@ function Qi(e, t, l) {
3611
3611
  }
3612
3612
  r.order.index = 0;
3613
3613
  const H = [];
3614
- let J = 0;
3614
+ let Q = 0;
3615
3615
  if (a.slots.header) {
3616
3616
  const W = {
3617
- key: `${J++}`,
3617
+ key: `${Q++}`,
3618
3618
  ref: E,
3619
3619
  class: { [`${g}__header`]: !0, [`${g}__first`]: !0 },
3620
3620
  onClick: re
@@ -3653,7 +3653,7 @@ function Qi(e, t, l) {
3653
3653
  }
3654
3654
  if (W.length > 0) {
3655
3655
  const ae = {
3656
- key: `${J++}`,
3656
+ key: `${Q++}`,
3657
3657
  ref: E,
3658
3658
  class: { [`${g}__header`]: !0, [`${g}__first`]: !0 },
3659
3659
  onClick: re
@@ -3664,14 +3664,14 @@ function Qi(e, t, l) {
3664
3664
  F();
3665
3665
  const ne = a.slots.default ? a.slots.default() : [], S = r.layout.value.type;
3666
3666
  if (S === "grid") {
3667
- const W = U(ne, J++, 0, ne.length);
3667
+ const W = U(ne, Q++, 0, ne.length);
3668
3668
  H.push(W);
3669
3669
  } else if (S === "flow") {
3670
- const W = U(ne, J++, 0, ne.length);
3670
+ const W = U(ne, Q++, 0, ne.length);
3671
3671
  H.push(W);
3672
3672
  } else
3673
3673
  for (let W = 0; W < ne.length; W++) {
3674
- const ee = ne[W], ae = U([ee], J++, W, ne.length);
3674
+ const ee = ne[W], ae = U([ee], Q++, W, ne.length);
3675
3675
  H.push(ae);
3676
3676
  }
3677
3677
  if (z.value) {
@@ -3681,7 +3681,7 @@ function Qi(e, t, l) {
3681
3681
  {
3682
3682
  ref: $,
3683
3683
  prop: n.name,
3684
- class: { [`${g}`]: !0, "is-collapse": Z.value },
3684
+ class: { [`${g}`]: !0, "is-collapse": J.value },
3685
3685
  style: d.value
3686
3686
  },
3687
3687
  [H]
@@ -4010,7 +4010,7 @@ const ko = /* @__PURE__ */ ot(du, [["render", vu]]), { componentName: Xn, create
4010
4010
  x: 0,
4011
4011
  y: 0
4012
4012
  }), a = j(0), o = j(0), r = j(e.placement), s = j(!1), i = j(null), c = (w, B, $, E, A, G) => {
4013
- const Y = document.documentElement.clientWidth || document.body.clientWidth, Z = document.documentElement.clientHeight || document.body.clientHeight, X = w.split("-");
4013
+ const Y = document.documentElement.clientWidth || document.body.clientWidth, J = document.documentElement.clientHeight || document.body.clientHeight, X = w.split("-");
4014
4014
  let te = [];
4015
4015
  X[0] === "top" ? te = ["top", "bottom", "right", "left"] : X[0] === "bottom" ? te = ["bottom", "top", "right", "left"] : X[0] === "left" ? te = ["left", "top", "bottom", "right"] : X[0] === "right" && (te = ["right", "top", "bottom", "left"]);
4016
4016
  const re = {
@@ -4033,7 +4033,7 @@ const ko = /* @__PURE__ */ ot(du, [["render", vu]]), { componentName: Xn, create
4033
4033
  }
4034
4034
  } else if (P === "bottom") {
4035
4035
  const D = B.y + E + e.arrowSize + e.offset;
4036
- if (D + G <= Z) {
4036
+ if (D + G <= J) {
4037
4037
  re.top = D;
4038
4038
  let v = 0;
4039
4039
  X[1] === "start" ? v = B.x : X[1] === "end" ? v = B.x + $ - A : v = B.x + $ / 2 - A / 2;
@@ -4397,13 +4397,13 @@ function Cu(e, t, l, n = !1) {
4397
4397
  I.value = S;
4398
4398
  }
4399
4399
  });
4400
- const B = b(() => a.infoTip || w.infoTip), $ = b(() => a.infoIcon || w.infoIcon), E = b(() => a.warnTip || w.warnTip), A = b(() => a.warnIcon || w.warnIcon), G = b(() => a.errorTip || w.errorTip), Y = b(() => a.errorIcon || w.errorIcon), Z = b(() => G.value ? "error" : E.value ? "warn" : B.value ? "info" : ""), X = () => Z.value.length > 0, te = b(() => Z.value === "error" ? G.value : Z.value === "warn" ? E.value : Z.value === "info" ? B.value : ""), re = b(() => Z.value === "error" ? Y.value : Z.value === "warn" ? A.value : Z.value === "info" ? $.value : null), k = b(() => {
4400
+ const B = b(() => a.infoTip || w.infoTip), $ = b(() => a.infoIcon || w.infoIcon), E = b(() => a.warnTip || w.warnTip), A = b(() => a.warnIcon || w.warnIcon), G = b(() => a.errorTip || w.errorTip), Y = b(() => a.errorIcon || w.errorIcon), J = b(() => G.value ? "error" : E.value ? "warn" : B.value ? "info" : ""), X = () => J.value.length > 0, te = b(() => J.value === "error" ? G.value : J.value === "warn" ? E.value : J.value === "info" ? B.value : ""), re = b(() => J.value === "error" ? Y.value : J.value === "warn" ? A.value : J.value === "info" ? $.value : null), k = b(() => {
4401
4401
  const S = {
4402
4402
  [`${u}__tip`]: !0,
4403
- [`${u}__tip--${Z.value}`]: !0,
4403
+ [`${u}__tip--${J.value}`]: !0,
4404
4404
  [`${u}--animate`]: !0
4405
4405
  };
4406
- return Z.value === "error" && a.errorClass ? S[`${a.errorClass}`] = !0 : Z.value === "warn" && a.warnClass ? S[`${a.warnClass}`] = !0 : Z.value === "info" && a.infoClass && (S[`${a.infoClass}`] = !0), S;
4406
+ return J.value === "error" && a.errorClass ? S[`${a.errorClass}`] = !0 : J.value === "warn" && a.warnClass ? S[`${a.warnClass}`] = !0 : J.value === "info" && a.infoClass && (S[`${a.infoClass}`] = !0), S;
4407
4407
  }), y = b(() => {
4408
4408
  const S = {};
4409
4409
  return p && p.value === "top" || !x() ? S["padding-left"] = "0px" : R && R.value && (S["padding-left"] = Ge(R.value)), S;
@@ -4484,7 +4484,7 @@ function Cu(e, t, l, n = !1) {
4484
4484
  }, H = () => {
4485
4485
  const S = te.value;
4486
4486
  return S ? typeof S == "function" ? O("div", { class: "fox-item__tip--text" }, [S()]) : O("div", { class: "fox-item__tip--text" }, [S]) : null;
4487
- }, J = () => {
4487
+ }, Q = () => {
4488
4488
  if (!X())
4489
4489
  return null;
4490
4490
  const S = [], W = U();
@@ -4506,7 +4506,7 @@ function Cu(e, t, l, n = !1) {
4506
4506
  class: z.value
4507
4507
  }, pe = O("div", ye, W);
4508
4508
  S.push(pe);
4509
- const De = J();
4509
+ const De = Q();
4510
4510
  De && S.push(De);
4511
4511
  const ut = ne();
4512
4512
  ut && S.push(ut);
@@ -4809,17 +4809,17 @@ function Mu(e, t, l) {
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);
4811
4811
  G.push(Y);
4812
- const Z = {
4812
+ const J = {
4813
4813
  default: () => G
4814
4814
  };
4815
- a.slots.default && (Z.label = a.slots.default), a.slots.default && (Z.fixedTip = a.slots.fixedTip);
4815
+ a.slots.default && (J.label = a.slots.default), a.slots.default && (J.fixedTip = a.slots.fixedTip);
4816
4816
  const te = {
4817
4817
  ...Ue(n, Xl),
4818
4818
  hintText: C.value,
4819
4819
  hintVisible: N.value,
4820
4820
  prop: `${n.prop}_item`
4821
4821
  };
4822
- return O(l, te, Z);
4822
+ return O(l, te, J);
4823
4823
  };
4824
4824
  }
4825
4825
  };
@@ -5050,16 +5050,16 @@ function Wu(e, t, l) {
5050
5050
  }
5051
5051
  },
5052
5052
  n.prop ?? a.attrs.name
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) => {
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, Q = !0) => {
5054
5054
  if (H.length == 0) {
5055
- s("update:modelValue", V), s("change", V), u.value = V;
5055
+ Q && (s("update:modelValue", V), s("change", V)), u.value = V;
5056
5056
  return;
5057
5057
  }
5058
5058
  const ne = Do(n, V, U, H);
5059
5059
  if (ne === null) {
5060
5060
  if (f.value === null || f.value.length === 0)
5061
5061
  return;
5062
- u.value = null, f.value = [], J && (s("update:modelValue", null), s("update:text", null), s("change", null));
5062
+ u.value = null, f.value = [], Q && (s("update:modelValue", null), s("update:text", null), s("change", null));
5063
5063
  return;
5064
5064
  }
5065
5065
  let S = !0;
@@ -5081,7 +5081,7 @@ function Wu(e, t, l) {
5081
5081
  W.push(It), ae.push(zt), n.valueType === "text" ? ee.push(zt) : n.valueType === "item" ? ee.push(ut) : ee.push(It);
5082
5082
  });
5083
5083
  let ye, pe, De;
5084
- de(n.multiple) ? (u.value = W, ye = xe(ee), pe = ae, De = xe(ne)) : (u.value = W[0] ?? "", ye = xe(ee[0] ?? ""), pe = ae[0] ?? "", De = xe(ne[0])), J && (s("update:modelValue", ye), s("change", ye, De)), s("update:text", pe);
5084
+ de(n.multiple) ? (u.value = W, ye = xe(ee), pe = ae, De = xe(ne)) : (u.value = W[0] ?? "", ye = xe(ee[0] ?? ""), pe = ae[0] ?? "", De = xe(ne[0])), Q && (s("update:modelValue", ye), s("change", ye, De)), s("update:text", pe);
5085
5085
  }
5086
5086
  }, g = j(null), d = j(null), h = b(() => d.value ?? g.value ?? []), x = Ze(
5087
5087
  b(() => n.appearLoad),
@@ -5164,7 +5164,7 @@ function Wu(e, t, l) {
5164
5164
  }, 0);
5165
5165
  let H = V.target.value;
5166
5166
  n.maxLength && H.length > Number(n.maxLength) && (H = H.slice(0, Number(n.maxLength))), D.value || s("blur", H, V);
5167
- }, Z = () => {
5167
+ }, J = () => {
5168
5168
  s("clear", "");
5169
5169
  }, X = j(!1);
5170
5170
  let te = null;
@@ -5180,23 +5180,23 @@ function Wu(e, t, l) {
5180
5180
  s("remove-tag", V);
5181
5181
  }, q = (V, U) => {
5182
5182
  const H = [];
5183
- return V.forEach((J, ne) => {
5184
- const S = Io(n, J);
5183
+ return V.forEach((Q, ne) => {
5184
+ const S = Io(n, Q);
5185
5185
  if (Array.isArray(S) && S.length > 0) {
5186
- const W = q(S, U), ee = $t(n, J), ye = {
5186
+ const W = q(S, U), ee = $t(n, Q), ye = {
5187
5187
  key: `${ee}_${ne}`,
5188
5188
  label: ee
5189
5189
  };
5190
5190
  H.push(O(Ja, ye, { default: () => W }));
5191
5191
  } else {
5192
- const W = hn(n, J), ee = $t(n, J), ae = zu(n, J), pe = {
5192
+ const W = hn(n, Q), ee = $t(n, Q), ae = zu(n, Q), pe = {
5193
5193
  key: `${W}_${ne}`,
5194
5194
  label: ee,
5195
5195
  disabled: ae,
5196
5196
  value: W
5197
5197
  };
5198
5198
  if (typeof U == "function")
5199
- H.push(O(on, pe, { default: () => U(J) }));
5199
+ H.push(O(on, pe, { default: () => U(Q) }));
5200
5200
  else if (n.optionType === "item") {
5201
5201
  const ut = O("span", {
5202
5202
  class: { "fox-select-item__option-left": !0 }
@@ -5230,7 +5230,7 @@ function Wu(e, t, l) {
5230
5230
  modelValue: u.value,
5231
5231
  "value-key": n.valueKey,
5232
5232
  "allow-create": n.allowCreate,
5233
- onClear: Z,
5233
+ onClear: J,
5234
5234
  onChange: $,
5235
5235
  onFocus: G,
5236
5236
  onBlur: Y,
@@ -5240,10 +5240,10 @@ function Wu(e, t, l) {
5240
5240
  typeof R == "function" && (U["remote-method"] = R, U.loading = F.value), typeof L == "function" && (U["filter-method"] = L, U.loading = F.value);
5241
5241
  const H = {};
5242
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);
5243
- const J = [], ne = O(Za, U, H);
5244
- J.push(ne);
5243
+ const Q = [], ne = O(Za, U, H);
5244
+ Q.push(ne);
5245
5245
  const S = {
5246
- default: () => J
5246
+ default: () => Q
5247
5247
  };
5248
5248
  a.slots.default && (S.label = a.slots.default), a.slots.fixedTip && (S.fixedTip = a.slots.fixedTip);
5249
5249
  const ee = {
@@ -5278,8 +5278,8 @@ var Ao = { exports: {} };
5278
5278
  }, m: function $(E, A) {
5279
5279
  if (E.date() < A.date())
5280
5280
  return -$(A, E);
5281
- var G = 12 * (A.year() - E.year()) + (A.month() - E.month()), Y = E.clone().add(G, f), Z = A - Y < 0, X = E.clone().add(G + (Z ? -1 : 1), f);
5282
- return +(-(G + (A - Y) / (Z ? Y - X : X - Y)) || 0);
5281
+ var G = 12 * (A.year() - E.year()) + (A.month() - E.month()), Y = E.clone().add(G, f), J = A - Y < 0, X = E.clone().add(G + (J ? -1 : 1), f);
5282
+ return +(-(G + (A - Y) / (J ? Y - X : X - Y)) || 0);
5283
5283
  }, a: function($) {
5284
5284
  return $ < 0 ? Math.ceil($) || 0 : Math.floor($);
5285
5285
  }, p: function($) {
@@ -5295,8 +5295,8 @@ var Ao = { exports: {} };
5295
5295
  if (!E)
5296
5296
  return M;
5297
5297
  if (typeof E == "string") {
5298
- var Z = E.toLowerCase();
5299
- R[Z] && (Y = Z), A && (R[Z] = A, Y = Z);
5298
+ var J = E.toLowerCase();
5299
+ R[J] && (Y = J), A && (R[J] = A, Y = J);
5300
5300
  var X = E.split("-");
5301
5301
  if (!Y && X.length > 1)
5302
5302
  return $(X[0]);
@@ -5321,7 +5321,7 @@ var Ao = { exports: {} };
5321
5321
  var E = $.prototype;
5322
5322
  return E.parse = function(A) {
5323
5323
  this.$d = function(G) {
5324
- var Y = G.date, Z = G.utc;
5324
+ var Y = G.date, J = G.utc;
5325
5325
  if (Y === null)
5326
5326
  return /* @__PURE__ */ new Date(NaN);
5327
5327
  if (C.u(Y))
@@ -5332,7 +5332,7 @@ var Ao = { exports: {} };
5332
5332
  var X = Y.match(h);
5333
5333
  if (X) {
5334
5334
  var te = X[2] - 1 || 0, re = (X[7] || "0").substring(0, 3);
5335
- return Z ? new Date(Date.UTC(X[1], te, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, re)) : new Date(X[1], te, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, re);
5335
+ return J ? new Date(Date.UTC(X[1], te, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, re)) : new Date(X[1], te, X[3] || 1, X[4] || 0, X[5] || 0, X[6] || 0, re);
5336
5336
  }
5337
5337
  }
5338
5338
  return new Date(Y);
@@ -5358,20 +5358,20 @@ var Ao = { exports: {} };
5358
5358
  }, E.valueOf = function() {
5359
5359
  return this.$d.getTime();
5360
5360
  }, E.startOf = function(A, G) {
5361
- var Y = this, Z = !!C.u(G) || G, X = C.p(A), te = function(q, _) {
5361
+ var Y = this, J = !!C.u(G) || G, X = C.p(A), te = function(q, _) {
5362
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);
5363
+ return J ? V : V.endOf(c);
5364
5364
  }, re = function(q, _) {
5365
- return C.w(Y.toDate()[q].apply(Y.toDate("s"), (Z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(_)), Y);
5365
+ return C.w(Y.toDate()[q].apply(Y.toDate("s"), (J ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(_)), Y);
5366
5366
  }, k = this.$W, y = this.$M, P = this.$D, D = "set" + (this.$u ? "UTC" : "");
5367
5367
  switch (X) {
5368
5368
  case I:
5369
- return Z ? te(1, 0) : te(31, 11);
5369
+ return J ? te(1, 0) : te(31, 11);
5370
5370
  case f:
5371
- return Z ? te(1, y) : te(0, y + 1);
5371
+ return J ? te(1, y) : te(0, y + 1);
5372
5372
  case u:
5373
5373
  var v = this.$locale().weekStart || 0, K = (k < v ? k + 7 : k) - v;
5374
- return te(Z ? P - K : P + (6 - K), y);
5374
+ return te(J ? P - K : P + (6 - K), y);
5375
5375
  case c:
5376
5376
  case g:
5377
5377
  return re(D + "Hours", 0);
@@ -5387,8 +5387,8 @@ var Ao = { exports: {} };
5387
5387
  }, E.endOf = function(A) {
5388
5388
  return this.startOf(A, !1);
5389
5389
  }, E.$set = function(A, G) {
5390
- var Y, Z = C.p(A), X = "set" + (this.$u ? "UTC" : ""), te = (Y = {}, Y[c] = X + "Date", Y[g] = X + "Date", Y[f] = X + "Month", Y[I] = X + "FullYear", Y[i] = X + "Hours", Y[s] = X + "Minutes", Y[r] = X + "Seconds", Y[o] = X + "Milliseconds", Y)[Z], re = Z === c ? this.$D + (G - this.$W) : G;
5391
- if (Z === f || Z === I) {
5390
+ var Y, J = C.p(A), X = "set" + (this.$u ? "UTC" : ""), te = (Y = {}, Y[c] = X + "Date", Y[g] = X + "Date", Y[f] = X + "Month", Y[I] = X + "FullYear", Y[i] = X + "Hours", Y[s] = X + "Minutes", Y[r] = X + "Seconds", Y[o] = X + "Milliseconds", Y)[J], re = J === c ? this.$D + (G - this.$W) : G;
5391
+ if (J === f || J === I) {
5392
5392
  var k = this.clone().set(g, 1);
5393
5393
  k.$d[te](re), k.init(), this.$d = k.set(g, Math.min(this.$D, k.daysInMonth())).$d;
5394
5394
  } else
@@ -5399,11 +5399,11 @@ var Ao = { exports: {} };
5399
5399
  }, E.get = function(A) {
5400
5400
  return this[C.p(A)]();
5401
5401
  }, E.add = function(A, G) {
5402
- var Y, Z = this;
5402
+ var Y, J = this;
5403
5403
  A = Number(A);
5404
5404
  var X = C.p(G), te = function(y) {
5405
- var P = N(Z);
5406
- return C.w(P.date(P.date() + Math.round(y * A)), Z);
5405
+ var P = N(J);
5406
+ return C.w(P.date(P.date() + Math.round(y * A)), J);
5407
5407
  };
5408
5408
  if (X === f)
5409
5409
  return this.set(f, this.$M + A);
@@ -5421,22 +5421,22 @@ var Ao = { exports: {} };
5421
5421
  var G = this, Y = this.$locale();
5422
5422
  if (!this.isValid())
5423
5423
  return Y.invalidDate || d;
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);
5424
+ var J = 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, J)) || U[V].slice(0, H);
5426
5426
  }, v = function(_) {
5427
5427
  return C.s(te % 12 || 12, _, "0");
5428
5428
  }, K = Y.meridiem || function(_, V, U) {
5429
5429
  var H = _ < 12 ? "AM" : "PM";
5430
5430
  return U ? H.toLowerCase() : H;
5431
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 };
5432
- return Z.replace(x, function(_, V) {
5432
+ return J.replace(x, function(_, V) {
5433
5433
  return V || q[_] || X.replace(":", "");
5434
5434
  });
5435
5435
  }, E.utcOffset = function() {
5436
5436
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5437
5437
  }, E.diff = function(A, G, Y) {
5438
- var Z, X = C.p(G), te = N(A), re = (te.utcOffset() - this.utcOffset()) * n, k = this - te, y = C.m(this, te);
5439
- return y = (Z = {}, Z[I] = y / 12, Z[f] = y, Z[m] = y / 3, Z[u] = (k - re) / 6048e5, Z[c] = (k - re) / 864e5, Z[i] = k / a, Z[s] = k / n, Z[r] = k / l, Z)[X] || k, Y ? y : C.a(y);
5438
+ var J, X = C.p(G), te = N(A), re = (te.utcOffset() - this.utcOffset()) * n, k = this - te, y = C.m(this, te);
5439
+ return y = (J = {}, J[I] = y / 12, J[f] = y, J[m] = y / 3, J[u] = (k - re) / 6048e5, J[c] = (k - re) / 864e5, J[i] = k / a, J[s] = k / n, J[r] = k / l, J)[X] || k, Y ? y : C.a(y);
5440
5440
  }, E.daysInMonth = function() {
5441
5441
  return this.endOf(f).$D;
5442
5442
  }, E.$locale = function() {
@@ -5444,8 +5444,8 @@ var Ao = { exports: {} };
5444
5444
  }, E.locale = function(A, G) {
5445
5445
  if (!A)
5446
5446
  return this.$L;
5447
- var Y = this.clone(), Z = L(A, G, !0);
5448
- return Z && (Y.$L = Z), Y;
5447
+ var Y = this.clone(), J = L(A, G, !0);
5448
+ return J && (Y.$L = J), Y;
5449
5449
  }, E.clone = function() {
5450
5450
  return C.w(this.$d, this);
5451
5451
  }, E.toDate = function() {
@@ -5555,11 +5555,11 @@ var Po = { exports: {} };
5555
5555
  A.call(C, Y), N = N.replace(Y, "");
5556
5556
  }
5557
5557
  }
5558
- return function(Z) {
5559
- var X = Z.afternoon;
5558
+ return function(J) {
5559
+ var X = J.afternoon;
5560
5560
  if (X !== void 0) {
5561
- var te = Z.hours;
5562
- X ? te < 12 && (Z.hours += 12) : te === 12 && (Z.hours = 0), delete Z.afternoon;
5561
+ var te = J.hours;
5562
+ X ? te < 12 && (J.hours += 12) : te === 12 && (J.hours = 0), delete J.afternoon;
5563
5563
  }
5564
5564
  }(C), C;
5565
5565
  };
@@ -5573,14 +5573,14 @@ var Po = { exports: {} };
5573
5573
  var L = F[1];
5574
5574
  if (typeof L == "string") {
5575
5575
  var N = F[2] === !0, C = F[3] === !0, w = N || C, B = F[2];
5576
- C && (B = F[2]), s = this.$locale(), !N && B && (s = x.Ls[B]), this.$d = function(G, Y, Z) {
5576
+ C && (B = F[2]), s = this.$locale(), !N && B && (s = x.Ls[B]), this.$d = function(G, Y, J) {
5577
5577
  try {
5578
5578
  if (["x", "X"].indexOf(Y) > -1)
5579
5579
  return new Date((Y === "X" ? 1e3 : 1) * G);
5580
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;
5581
5581
  te && !re || (U = re > 0 ? re - 1 : q.getMonth());
5582
- var H = y || 0, J = P || 0, ne = D || 0, S = v || 0;
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);
5582
+ var H = y || 0, Q = P || 0, ne = D || 0, S = v || 0;
5583
+ return K ? new Date(Date.UTC(V, U, _, H, Q, ne, S + 60 * K.offset * 1e3)) : J ? new Date(Date.UTC(V, U, _, H, Q, ne, S)) : new Date(V, U, _, H, Q, ne, S);
5584
5584
  } catch {
5585
5585
  return /* @__PURE__ */ new Date("");
5586
5586
  }
@@ -6216,8 +6216,8 @@ function gc(e, t, l) {
6216
6216
  if (!H)
6217
6217
  return;
6218
6218
  typeof H != "string" && n.valueFormat && (H = nt.format(H, n.valueFormat));
6219
- let J = Array.isArray(B.value) ? B.value[1] : B.value;
6220
- (H === J || Array.isArray($.value) && $.value.findIndex((S) => H == S) !== -1) && (U = !0);
6219
+ let Q = Array.isArray(B.value) ? B.value[1] : B.value;
6220
+ (H === Q || Array.isArray($.value) && $.value.findIndex((S) => H == S) !== -1) && (U = !0);
6221
6221
  } catch (H) {
6222
6222
  console.error(H);
6223
6223
  }
@@ -6226,7 +6226,7 @@ function gc(e, t, l) {
6226
6226
  { immediate: !0 }
6227
6227
  );
6228
6228
  }
6229
- const Z = b(() => ({
6229
+ const J = b(() => ({
6230
6230
  "fox-date-item__long": !0,
6231
6231
  "is-active": u.value
6232
6232
  })), X = j(), te = j(), re = /^\d+$/, k = (_, V) => typeof n.flashFillThreshold == "function" ? n.flashFillThreshold(_, V) : re.test(_) && _.length === n.flashFillThreshold, y = (_, V) => {
@@ -6234,8 +6234,8 @@ function gc(e, t, l) {
6234
6234
  if (typeof n.flashFillFormat == "function")
6235
6235
  U = n.flashFillFormat(_, V);
6236
6236
  else {
6237
- const J = n.flashFillFormat ?? "YYYYMMDD";
6238
- U = nt.parser(_, J);
6237
+ const Q = n.flashFillFormat ?? "YYYYMMDD";
6238
+ U = nt.parser(_, Q);
6239
6239
  }
6240
6240
  const H = n.valueFormat ?? "YYYY-MM-DD";
6241
6241
  return nt.format(U, H);
@@ -6321,8 +6321,8 @@ function gc(e, t, l) {
6321
6321
  onVisibleChange: N
6322
6322
  }, U = {};
6323
6323
  a.slots["range-separator"] && (U["range-separator"] = a.slots["range-separator"]), a.slots.cell && (U.default = a.slots.cell);
6324
- const H = [], J = O(ja, V, U);
6325
- H.push(J);
6324
+ const H = [], Q = O(ja, V, U);
6325
+ H.push(Q);
6326
6326
  const ne = {
6327
6327
  default: () => H
6328
6328
  };
@@ -6333,7 +6333,7 @@ function gc(e, t, l) {
6333
6333
  value: C.value,
6334
6334
  readonly: !0
6335
6335
  }), pe = {
6336
- class: Z.value
6336
+ class: J.value
6337
6337
  }, De = O("div", pe, { default: () => [ae, ye] });
6338
6338
  H.push(De);
6339
6339
  }
@@ -6924,10 +6924,10 @@ function Fc(e, t, l) {
6924
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]);
6925
6925
  const G = [], Y = O(xl, E, A);
6926
6926
  G.push(Y);
6927
- const Z = {
6927
+ const J = {
6928
6928
  default: () => G
6929
6929
  };
6930
- a.slots.default && (Z.label = a.slots.default), a.slots.fixedTip && (Z.fixedTip = a.slots.fixedTip);
6930
+ a.slots.default && (J.label = a.slots.default), a.slots.fixedTip && (J.fixedTip = a.slots.fixedTip);
6931
6931
  const te = {
6932
6932
  ...Ue(n, ra),
6933
6933
  errorTip: p.value,
@@ -6936,7 +6936,7 @@ function Fc(e, t, l) {
6936
6936
  hintType: "number",
6937
6937
  prop: `${n.prop}_item`
6938
6938
  };
6939
- return O(l, te, Z);
6939
+ return O(l, te, J);
6940
6940
  };
6941
6941
  }
6942
6942
  };
@@ -7067,8 +7067,8 @@ function Vc(e, t, l) {
7067
7067
  else if (R.value) {
7068
7068
  const Y = {
7069
7069
  class: g.value
7070
- }, Z = O("div", Y, [n.unit]);
7071
- $.append = () => Z;
7070
+ }, J = O("div", Y, [n.unit]);
7071
+ $.append = () => J;
7072
7072
  }
7073
7073
  return O(l, A, $);
7074
7074
  };
@@ -7334,8 +7334,8 @@ function jc(e, t, l) {
7334
7334
  f.value = [], u.value = null, U && (s("update:pathNodes", []), s("update:modelValue", null), s("change", null));
7335
7335
  return;
7336
7336
  }
7337
- const J = H[H.length - 1];
7338
- if (C.value.checkStrictly !== !0 && J && !Array.isArray(J) && Array.isArray(J.children) && J.children.length > 0) {
7337
+ const Q = H[H.length - 1];
7338
+ if (C.value.checkStrictly !== !0 && Q && !Array.isArray(Q) && Array.isArray(Q.children) && Q.children.length > 0) {
7339
7339
  const S = [];
7340
7340
  H.forEach((W) => {
7341
7341
  const ee = `${gt(n, W)}`;
@@ -7388,8 +7388,8 @@ function jc(e, t, l) {
7388
7388
  const V = await h.load("cascader", q, _);
7389
7389
  if (V.length > 0)
7390
7390
  if (typeof V[0] == "string") {
7391
- let J = V.map((ne) => Hc(ne));
7392
- g.value = J;
7391
+ let Q = V.map((ne) => Hc(ne));
7392
+ g.value = Q;
7393
7393
  } else
7394
7394
  g.value = V;
7395
7395
  }
@@ -7434,10 +7434,10 @@ function jc(e, t, l) {
7434
7434
  const U = await h.load("cascader", n.source, _, !0);
7435
7435
  if (_?.config?.checkStrictly !== !0 && Array.isArray(u.value) && u.value.length === _.level) {
7436
7436
  const H = _.pathLabels ?? [];
7437
- let J = [];
7437
+ let Q = [];
7438
7438
  H.forEach((ne) => {
7439
- ne && J.push(ne);
7440
- }), J.length > 0 && (L.value = J.join(n.separator));
7439
+ ne && Q.push(ne);
7440
+ }), Q.length > 0 && (L.value = Q.join(n.separator));
7441
7441
  } else
7442
7442
  L.value = null;
7443
7443
  V(U);
@@ -7458,13 +7458,13 @@ function jc(e, t, l) {
7458
7458
  }, G = () => {
7459
7459
  s("clear", "");
7460
7460
  }, Y = j(!1);
7461
- let Z = null;
7461
+ let J = null;
7462
7462
  const X = () => {
7463
- n.showTooltip && Y.value === !1 && (Z && clearTimeout(Z), Z = setTimeout(() => {
7463
+ n.showTooltip && Y.value === !1 && (J && clearTimeout(J), J = setTimeout(() => {
7464
7464
  Y.value = !0;
7465
7465
  }, 150));
7466
7466
  }, te = () => {
7467
- Z && (clearTimeout(Z), Y.value = !1, Z = null);
7467
+ J && (clearTimeout(J), Y.value = !1, J = null);
7468
7468
  }, re = b(() => Y.value || $.value), k = b(() => Y.value ? m.value : B.value), y = j(!1), P = (q) => {
7469
7469
  y.value = q, s("visible-change", q), q || s("selected");
7470
7470
  }, D = (q) => {
@@ -7508,10 +7508,10 @@ function jc(e, t, l) {
7508
7508
  a.slots.option && (V.default = a.slots.option), a.slots.empty && (V.empty = a.slots.empty);
7509
7509
  const U = [], H = O(za, _, V);
7510
7510
  U.push(H);
7511
- const J = {
7511
+ const Q = {
7512
7512
  default: () => U
7513
7513
  };
7514
- a.slots.default && (J.label = a.slots.default), a.slots.fixedTip && (J.fixedTip = a.slots.fixedTip);
7514
+ a.slots.default && (Q.label = a.slots.default), a.slots.fixedTip && (Q.fixedTip = a.slots.fixedTip);
7515
7515
  const S = {
7516
7516
  ...Ue(n, ia),
7517
7517
  hintText: k.value,
@@ -7520,7 +7520,7 @@ function jc(e, t, l) {
7520
7520
  onMouseover: X,
7521
7521
  onMouseleave: te
7522
7522
  };
7523
- return d.value && !n.lazy && (S["appear-listen"] = !0, S.onAppear = T), O(l, S, J);
7523
+ return d.value && !n.lazy && (S["appear-listen"] = !0, S.onAppear = T), O(l, S, Q);
7524
7524
  };
7525
7525
  }
7526
7526
  };
@@ -8106,7 +8106,7 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8106
8106
  }, Y = (v) => {
8107
8107
  const K = a.value[v];
8108
8108
  K.fixed = "right", h();
8109
- }, Z = (v) => {
8109
+ }, J = (v) => {
8110
8110
  const K = a.value[v];
8111
8111
  K.fixed = void 0, h();
8112
8112
  }, X = /* @__PURE__ */ new Map();
@@ -8138,7 +8138,7 @@ const bf = /* @__PURE__ */ ot(gf, [["render", yf]]), { componentName: Ym, create
8138
8138
  onDrop: A,
8139
8139
  toLeftFixed: G,
8140
8140
  toRightFixed: Y,
8141
- toUnFixed: Z,
8141
+ toUnFixed: J,
8142
8142
  checkboxLabelStyle: x,
8143
8143
  onMouseOverForOverflowText: (v, K, q) => {
8144
8144
  const _ = v.currentTarget;
@@ -8537,9 +8537,13 @@ const Kf = Symbol.for("TableStateKey"), fa = {
8537
8537
  params: {
8538
8538
  type: [Object]
8539
8539
  },
8540
+ // row class name
8541
+ rowClassName: {
8542
+ type: [Function, String]
8543
+ },
8540
8544
  // cell class name
8541
8545
  cellClassName: {
8542
- type: Function
8546
+ type: [Function, String]
8543
8547
  },
8544
8548
  // 点击行自动选中checkbox支持
8545
8549
  rowClickSelectable: {
@@ -8763,7 +8767,7 @@ function Gf(e, t, l) {
8763
8767
  componentName: e,
8764
8768
  // 获取value
8765
8769
  validateHandler: {
8766
- getValue(...Q) {
8770
+ getValue(...Z) {
8767
8771
  return F.value;
8768
8772
  }
8769
8773
  }
@@ -8782,48 +8786,48 @@ function Gf(e, t, l) {
8782
8786
  })), I = rn({}), g = b(() => ({ ...I.value, ...n.params ?? {}, ...n.baseParams ?? {} })), d = j(n.infiniteLoad === !0 ? 0 : n.pageIndex), h = j(n.pageSize), x = de(n.infiniteLoad);
8783
8787
  x || (fe(
8784
8788
  () => n.pageIndex,
8785
- (Q) => {
8786
- d.value = Q;
8789
+ (Z) => {
8790
+ d.value = Z;
8787
8791
  }
8788
8792
  ), fe(
8789
8793
  () => n.pageSize,
8790
- (Q) => {
8791
- h.value = Q;
8794
+ (Z) => {
8795
+ h.value = Z;
8792
8796
  }
8793
- ), fe([d, h], ([Q, le], [oe, ie]) => {
8794
- le !== ie && (d.value = 1, Q = 1), w(n.data, Q, le, g.value);
8797
+ ), fe([d, h], ([Z, le], [oe, ie]) => {
8798
+ le !== ie && (d.value = 1, Z = 1), w(n.data, Z, le, g.value);
8795
8799
  }));
8796
8800
  const p = () => Array.isArray(n.data) ? !0 : de(n.autoLoad);
8797
8801
  p() && fe(
8798
8802
  [() => n.data, g],
8799
- async ([Q, le], [oe, ie]) => {
8800
- p() && (Q !== oe && (N = !0), !(!Array.isArray(Q) && Ct(Q, oe) && Ct(le, ie)) && (x ? (d.value = 0, M.value = !0, F.value = [], $()) : d.value === 1 ? w(Q, d.value, h.value, le) : d.value = 1));
8803
+ async ([Z, le], [oe, ie]) => {
8804
+ p() && (Z !== oe && (N = !0), !(!Array.isArray(Z) && Ct(Z, oe) && Ct(le, ie)) && (x ? (d.value = 0, M.value = !0, F.value = [], $()) : d.value === 1 ? w(Z, d.value, h.value, le) : d.value = 1));
8801
8805
  },
8802
8806
  { deep: !0 }
8803
8807
  );
8804
- const T = (Q) => {
8805
- d.value = Q, r("page-index-change", Q);
8806
- }, z = (Q) => {
8807
- h.value = Q, r("page-size-change", Q);
8808
+ const T = (Z) => {
8809
+ d.value = Z, r("page-index-change", Z);
8810
+ }, z = (Z) => {
8811
+ h.value = Z, r("page-size-change", Z);
8808
8812
  }, M = j(!0), R = j(0), F = j(), L = Hf();
8809
8813
  let N = !0;
8810
8814
  const C = Ze(
8811
8815
  b(() => n.appearLoad),
8812
8816
  "appearLoad",
8813
8817
  lt.Near,
8814
- (Q) => de(Q)
8815
- ), w = async (Q, le, oe, ie, Ke) => {
8818
+ (Z) => de(Z)
8819
+ ), w = async (Z, le, oe, ie, Ke) => {
8816
8820
  N = !1;
8817
8821
  try {
8818
8822
  if (Ke === !0) {
8819
8823
  if (!M.value)
8820
8824
  return !1;
8821
- const Ee = await L.load("table", Q, le, oe, ie, N, o.value);
8825
+ const Ee = await L.load("table", Z, le, oe, ie, N, o.value);
8822
8826
  return R.value = Ee.totalSize, !Ee.page || !Array.isArray(Ee.page) || (Reflect.apply([].push, F.value, Ee.page), setTimeout(() => {
8823
8827
  r("loaded-data");
8824
8828
  }, 250), (F.value?.length ?? 0) >= R.value) || Ee.page.length < oe ? (M.value = !1, !1) : !0;
8825
8829
  } else {
8826
- const Ee = await L.load("table", Q, le, oe, ie, N, o.value);
8830
+ const Ee = await L.load("table", Z, le, oe, ie, N, o.value);
8827
8831
  return R.value = Ee.totalSize, F.value = Ee.page ?? [], setTimeout(() => {
8828
8832
  r("loaded-data");
8829
8833
  }, 250), !0;
@@ -8842,19 +8846,19 @@ function Gf(e, t, l) {
8842
8846
  }
8843
8847
  d.value += 1, await w(n.data, d.value, h.value, g.value, !0), B = !1;
8844
8848
  }
8845
- }, E = (Q = {}, le = !1) => new Promise(async (oe) => {
8846
- I.value = { ...xe(Q ?? {}) }, le || (d.value = n.pageIndex ?? 1), x === !0 ? (d.value = 0, F.value = [], M.value = !0, await $()) : await w(n.data, d.value, h.value, g.value), oe();
8849
+ }, E = (Z = {}, le = !1) => new Promise(async (oe) => {
8850
+ I.value = { ...xe(Z ?? {}) }, le || (d.value = n.pageIndex ?? 1), x === !0 ? (d.value = 0, F.value = [], M.value = !0, await $()) : await w(n.data, d.value, h.value, g.value), oe();
8847
8851
  }), A = () => {
8848
8852
  R.value = 0, F.value = [], x === !0 && (d.value = 0, M.value = !0);
8849
8853
  };
8850
8854
  let G = !1;
8851
8855
  const Y = () => {
8852
8856
  G || (G = !0, E());
8853
- }, Z = j(null);
8857
+ }, J = j(null);
8854
8858
  if (x === !0) {
8855
- let Q = null;
8859
+ let Z = null;
8856
8860
  const le = () => {
8857
- Z.value && (Q = new IntersectionObserver((ie) => {
8861
+ J.value && (Z = new IntersectionObserver((ie) => {
8858
8862
  let Ke = !1;
8859
8863
  for (let Ee of ie)
8860
8864
  if (Ee.intersectionRatio > 0) {
@@ -8862,9 +8866,9 @@ function Gf(e, t, l) {
8862
8866
  break;
8863
8867
  }
8864
8868
  Ke && $();
8865
- }), Q.observe(Z.value));
8869
+ }), Z.observe(J.value));
8866
8870
  }, oe = () => {
8867
- !Q || !Z.value || (Q.unobserve(Z.value), Q = null);
8871
+ !Z || !J.value || (Z.unobserve(J.value), Z = null);
8868
8872
  };
8869
8873
  Ne(le), pt(oe);
8870
8874
  }
@@ -8873,50 +8877,50 @@ function Gf(e, t, l) {
8873
8877
  ke(Kf, {
8874
8878
  currentRow: X
8875
8879
  });
8876
- const te = (Q, le) => {
8877
- X.value = Q, r("current-change", Q, le);
8878
- }, re = (Q, le, oe) => {
8879
- r("row-click", Q, le, oe), de(n.rowClickSelectable) === !0 && Oe?.value.toggleRowSelection(Q);
8880
- }, k = [], y = (Q, le) => {
8881
- if (r("expand-change", Q, le), de(n.uniqueExpansion))
8880
+ const te = (Z, le) => {
8881
+ X.value = Z, r("current-change", Z, le);
8882
+ }, re = (Z, le, oe) => {
8883
+ r("row-click", Z, le, oe), de(n.rowClickSelectable) === !0 && Oe?.value.toggleRowSelection(Z);
8884
+ }, k = [], y = (Z, le) => {
8885
+ if (r("expand-change", Z, le), de(n.uniqueExpansion))
8882
8886
  if (Array.isArray(le) && le.length == 0) {
8883
8887
  const oe = k.length;
8884
8888
  k.splice(0, oe);
8885
8889
  } else {
8886
8890
  k.forEach((ie) => {
8887
- ie !== Q && Oe?.value.toggleRowExpansion(ie, !1);
8891
+ ie !== Z && Oe?.value.toggleRowExpansion(ie, !1);
8888
8892
  });
8889
8893
  const oe = k.length;
8890
- k.splice(0, oe, Q);
8894
+ k.splice(0, oe, Z);
8891
8895
  }
8892
8896
  }, P = a.attrs.id ?? n.prop ?? a.attrs.name, D = jo(), v = j([]);
8893
8897
  let K = [];
8894
8898
  const q = () => ({
8895
8899
  srcColumnPropertyList: K.map((le) => ({ ...le })),
8896
8900
  columnPropertyList: v.value
8897
- }), _ = (Q) => {
8898
- v.value = [...Q], U();
8901
+ }), _ = (Z) => {
8902
+ v.value = [...Z], U();
8899
8903
  }, V = async () => {
8900
- const Q = await D.load(P);
8901
- Q && (v.value = Q);
8904
+ const Z = await D.load(P);
8905
+ Z && (v.value = Z);
8902
8906
  }, U = () => {
8903
8907
  D.save(P, v.value);
8904
8908
  }, H = () => {
8905
8909
  D.remove(P);
8906
8910
  };
8907
8911
  V();
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) => {
8912
+ const Q = (Z) => Z ? Z.type ? Z.type : Z.label ? Z.prop : "" : "", ne = () => typeof a.slots.default == "function" ? a.slots.default() : [], S = (Z, le) => {
8909
8913
  for (let oe in le) {
8910
8914
  const ie = le[oe];
8911
- typeof ie != "function" && (Q[oe] = ie);
8915
+ typeof ie != "function" && (Z[oe] = ie);
8912
8916
  }
8913
8917
  }, W = b(() => {
8914
- const Q = ne(), le = /* @__PURE__ */ new Map();
8915
- if (K = [], Q.forEach((oe) => {
8918
+ const Z = ne(), le = /* @__PURE__ */ new Map();
8919
+ if (K = [], Z.forEach((oe) => {
8916
8920
  const ie = oe;
8917
8921
  if (!ie.props)
8918
8922
  return;
8919
- const Ke = J(ie.props);
8923
+ const Ke = Q(ie.props);
8920
8924
  le.set(Ke, oe);
8921
8925
  const Ee = {
8922
8926
  label: "",
@@ -8926,9 +8930,9 @@ function Gf(e, t, l) {
8926
8930
  }), v.value.length === K.length) {
8927
8931
  const oe = [];
8928
8932
  for (let ie of v.value) {
8929
- const Ke = J(ie), Ee = le.get(Ke);
8933
+ const Ke = Q(ie), Ee = le.get(Ke);
8930
8934
  if (!Ee)
8931
- return Q;
8935
+ return Z;
8932
8936
  if (ie.visible === !1)
8933
8937
  continue;
8934
8938
  const ht = Ee;
@@ -8936,45 +8940,45 @@ function Gf(e, t, l) {
8936
8940
  }
8937
8941
  return oe;
8938
8942
  }
8939
- return Q;
8940
- }), ee = rn(/* @__PURE__ */ new Map()), ae = ({ row: Q, column: le, rowIndex: oe, columnIndex: ie }) => {
8943
+ return Z;
8944
+ }), ee = rn(/* @__PURE__ */ new Map()), ae = ({ row: Z, column: le, rowIndex: oe, columnIndex: ie }) => {
8941
8945
  const Ke = `${oe}_${le.property}`, Ee = `${oe}_${ie}`;
8942
8946
  let ht = ee.value.get(Ke);
8943
8947
  return ht || (ht = ee.value.get(Ee)), typeof ht == "string" ? ht : "";
8944
- }, ye = (Q) => typeof Q == "function" ? (le) => {
8948
+ }, ye = (Z) => Z ? (le) => {
8945
8949
  const oe = [];
8946
8950
  let ie = ae(le);
8947
- return ie && oe.push(ie), ie = Q(le), ie && oe.push(ie), oe.length === 0 ? "" : oe.join(" ");
8948
- } : ae, pe = (Q = !1) => {
8951
+ return ie && oe.push(ie), ie = typeof Z == "function" ? Z(le) : Z, ie && oe.push(ie), oe.length === 0 ? "" : oe.join(" ");
8952
+ } : ae, pe = (Z = !1) => {
8949
8953
  ee.value.forEach((le, oe) => {
8950
- De(oe, le, Q);
8954
+ De(oe, le, Z);
8951
8955
  });
8952
- }, De = (Q, le, oe = !1) => {
8953
- const ie = `${Q}_item`;
8954
- oe ? (s.clearPersistantMessage(), Array.isArray(le) ? s.emitToChildren({ name: Q }, "setCellClassNames", []) : s.emitToChildren({ name: ie }, "setCustomClassName", "")) : Array.isArray(le) ? s.emitToChildren(
8955
- { name: Q, cachePolicy: "Persistant", uniqueId: ie },
8956
+ }, De = (Z, le, oe = !1) => {
8957
+ const ie = `${Z}_item`;
8958
+ oe ? (s.clearPersistantMessage(), Array.isArray(le) ? s.emitToChildren({ name: Z }, "setCellClassNames", []) : s.emitToChildren({ name: ie }, "setCustomClassName", "")) : Array.isArray(le) ? s.emitToChildren(
8959
+ { name: Z, cachePolicy: "Persistant", uniqueId: ie },
8956
8960
  "setCellClassNames",
8957
8961
  le
8958
8962
  ) : s.emitToChildren({ name: ie, cachePolicy: "Persistant", uniqueId: ie }, "setCustomClassName", le);
8959
- }, ut = (Q, le, oe) => {
8960
- const ie = `${Q}_${le}`;
8963
+ }, ut = (Z, le, oe) => {
8964
+ const ie = `${Z}_${le}`;
8961
8965
  oe ? (ee.value.set(ie, oe), De(ie, oe)) : (ee.value.delete(ie), De(ie, "", !0)), Xe(ee);
8962
- }, It = (Q) => {
8963
- pe(!0), ee.value.clear(), Q.forEach((le) => {
8966
+ }, It = (Z) => {
8967
+ pe(!0), ee.value.clear(), Z.forEach((le) => {
8964
8968
  const oe = `${le.rowIndex}_${le.column}`;
8965
8969
  Array.isArray(le.children) ? ee.value.set(oe, le.children) : typeof le.cellClassName == "string" && ee.value.set(oe, le.cellClassName);
8966
8970
  }), pe(), Xe(ee);
8967
8971
  }, zt = () => {
8968
8972
  pe(), ee.value.clear(), Xe(ee);
8969
- }, xt = rn(/* @__PURE__ */ new Map()), Ll = ({ rowIndex: Q }) => {
8970
- const le = `${Q}`;
8973
+ }, xt = rn(/* @__PURE__ */ new Map()), Ll = ({ rowIndex: Z }) => {
8974
+ const le = `${Z}`;
8971
8975
  return xt.value.get(le) ?? "";
8972
- }, lr = (Q) => typeof Q == "function" ? (le) => {
8976
+ }, lr = (Z) => Z ? (le) => {
8973
8977
  const oe = [];
8974
8978
  let ie = Ll(le);
8975
- return ie && oe.push(ie), ie = Q(le), ie && oe.push(ie), oe.length === 0 ? "" : oe.join(" ");
8976
- } : Ll, ar = (Q, le) => {
8977
- const oe = `${Q}`;
8979
+ return ie && oe.push(ie), ie = typeof Z == "function" ? Z(le) : Z, ie && oe.push(ie), oe.length === 0 ? "" : oe.join(" ");
8980
+ } : Ll, ar = (Z, le) => {
8981
+ const oe = `${Z}`;
8978
8982
  le ? xt.value.set(oe, le) : xt.value.delete(oe), Xe(xt);
8979
8983
  }, or = () => {
8980
8984
  xt.value.clear(), Xe(xt);
@@ -8984,14 +8988,14 @@ function Gf(e, t, l) {
8984
8988
  clearSelection: () => Oe?.value.clearSelection(),
8985
8989
  getSelectionRows: () => Oe?.value.getSelectionRows(),
8986
8990
  // 设置check列的选中状态
8987
- toggleRowSelection: (Q, le) => {
8988
- Oe?.value.toggleRowSelection(Q, le);
8991
+ toggleRowSelection: (Z, le) => {
8992
+ Oe?.value.toggleRowSelection(Z, le);
8989
8993
  },
8990
8994
  // 通过属性映射设置check列的选中状态
8991
- toggleRowSelectionByProp: (Q, le) => {
8995
+ toggleRowSelectionByProp: (Z, le) => {
8992
8996
  if (!F.value)
8993
8997
  return;
8994
- const oe = Jn(F.value, Q);
8998
+ const oe = Jn(F.value, Z);
8995
8999
  oe.length !== 0 && oe.forEach((ie) => {
8996
9000
  Oe?.value.toggleRowSelection(ie, le);
8997
9001
  });
@@ -9001,50 +9005,50 @@ function Gf(e, t, l) {
9001
9005
  Oe?.value.toggleAllSelection();
9002
9006
  },
9003
9007
  //触发row展开
9004
- toggleRowExpansion: (Q, le) => {
9005
- Oe?.value.toggleRowExpansion(Q, le);
9008
+ toggleRowExpansion: (Z, le) => {
9009
+ Oe?.value.toggleRowExpansion(Z, le);
9006
9010
  },
9007
9011
  //通过属性触发row展开
9008
- toggleRowExpansionByProp: (Q, le) => {
9012
+ toggleRowExpansionByProp: (Z, le) => {
9009
9013
  if (!F.value)
9010
9014
  return;
9011
- const oe = Jn(F.value, Q);
9015
+ const oe = Jn(F.value, Z);
9012
9016
  oe.length !== 0 && oe.forEach((ie) => {
9013
9017
  Oe?.value.toggleRowExpansion(ie, le);
9014
9018
  });
9015
9019
  },
9016
9020
  // 设置选中行(单行选中)
9017
- setCurrentRow: (Q) => {
9018
- Oe?.value.setCurrentRow(Q);
9021
+ setCurrentRow: (Z) => {
9022
+ Oe?.value.setCurrentRow(Z);
9019
9023
  },
9020
9024
  // 通过属性映射设置选中行(单行选中)
9021
- setCurrentRowByProp: (Q) => {
9025
+ setCurrentRowByProp: (Z) => {
9022
9026
  if (!F.value)
9023
9027
  return;
9024
- const le = Jn(F.value, Q);
9028
+ const le = Jn(F.value, Z);
9025
9029
  le.length !== 0 && Oe?.value.setCurrentRow(le[0]);
9026
9030
  },
9027
9031
  getCurrentRow: () => X.value,
9028
9032
  clearSort: () => {
9029
9033
  Oe?.value.clearSort();
9030
9034
  },
9031
- clearFilter: (Q) => {
9032
- Oe?.value.clearFilter(Q);
9035
+ clearFilter: (Z) => {
9036
+ Oe?.value.clearFilter(Z);
9033
9037
  },
9034
9038
  doLayout: () => {
9035
9039
  Oe?.value.doLayout();
9036
9040
  },
9037
- sort: (Q, le) => {
9038
- Oe?.value.sort(Q, le);
9041
+ sort: (Z, le) => {
9042
+ Oe?.value.sort(Z, le);
9039
9043
  },
9040
- scrollTo: (Q, le) => {
9041
- Oe?.value.scrollTo(Q, le);
9044
+ scrollTo: (Z, le) => {
9045
+ Oe?.value.scrollTo(Z, le);
9042
9046
  },
9043
- setScrollTop: (Q) => {
9044
- Oe?.value.setScrollTop(Q);
9047
+ setScrollTop: (Z) => {
9048
+ Oe?.value.setScrollTop(Z);
9045
9049
  },
9046
- setScrollLeft: (Q) => {
9047
- Oe?.value.setScrollLeft(Q);
9050
+ setScrollLeft: (Z) => {
9051
+ Oe?.value.setScrollLeft(Z);
9048
9052
  },
9049
9053
  // 加载数据
9050
9054
  loadData: E,
@@ -9106,7 +9110,7 @@ function Gf(e, t, l) {
9106
9110
  rt.push(Qt);
9107
9111
  }
9108
9112
  const Ft = {
9109
- ref: Z,
9113
+ ref: J,
9110
9114
  class: `${i}__infinite`
9111
9115
  }, zn = O("div", Ft, rt);
9112
9116
  oe.append = () => zn;
@@ -10835,7 +10839,7 @@ function $h(e, t, l, n = !1) {
10835
10839
  ), Ne(() => {
10836
10840
  Y(!0);
10837
10841
  });
10838
- const Z = (k, y) => {
10842
+ const J = (k, y) => {
10839
10843
  if (o.item)
10840
10844
  return o.item({
10841
10845
  item: k,
@@ -10851,19 +10855,19 @@ function $h(e, t, l, n = !1) {
10851
10855
  } else {
10852
10856
  const _ = [];
10853
10857
  if (P?.doit === !0 || wh(a, k)) {
10854
- const J = {
10858
+ const Q = {
10855
10859
  class: [`${e}__titles-item-tip`, "doit"]
10856
- }, ne = O("view", J);
10860
+ }, ne = O("view", Q);
10857
10861
  _.push(ne);
10858
10862
  }
10859
10863
  const V = P?.num ?? Sh(a, k);
10860
10864
  if (V) {
10861
- let J = "";
10865
+ let Q = "";
10862
10866
  const ne = Me(V);
10863
- ne >= 100 ? J = "99+" : J = `${ne}`;
10867
+ ne >= 100 ? Q = "99+" : Q = `${ne}`;
10864
10868
  const S = {
10865
10869
  class: [`${e}__titles-item-tip`, "num"]
10866
- }, W = O("view", S, [J]);
10870
+ }, W = O("view", S, [Q]);
10867
10871
  _.push(W);
10868
10872
  }
10869
10873
  const U = {
@@ -10889,7 +10893,7 @@ function $h(e, t, l, n = !1) {
10889
10893
  const k = o.default ? o.default() : [];
10890
10894
  if (k.length === 0)
10891
10895
  for (let P = 0; P < B.value.length; P++) {
10892
- const D = B.value[P], v = Z(D, P);
10896
+ const D = B.value[P], v = J(D, P);
10893
10897
  k.push(v);
10894
10898
  }
10895
10899
  const y = {
@@ -11422,12 +11426,12 @@ function Kh(e, t, l, n) {
11422
11426
  const ee = C(y, P);
11423
11427
  ee && _.push(ee);
11424
11428
  }
11425
- const H = O("view", { class: "fox-steps-bar__head" }, _), J = D.class, ne = D.style ?? {};
11429
+ const H = O("view", { class: "fox-steps-bar__head" }, _), Q = D.class, ne = D.style ?? {};
11426
11430
  let S = $a(a, y);
11427
11431
  D.doit === !0 && (S = !0);
11428
11432
  const W = {
11429
11433
  ref: te(P),
11430
- class: x(P, v, K, S, J),
11434
+ class: x(P, v, K, S, Q),
11431
11435
  style: T(P, ne)
11432
11436
  };
11433
11437
  return O("view", W, [H]);
@@ -11451,20 +11455,20 @@ function Kh(e, t, l, n) {
11451
11455
  _.push(W);
11452
11456
  }
11453
11457
  const U = D.class, H = D.style ?? {};
11454
- let J = $a(a, y);
11455
- D.doit === !0 && (J = !0);
11458
+ let Q = $a(a, y);
11459
+ D.doit === !0 && (Q = !0);
11456
11460
  const ne = {
11457
11461
  ref: te(P),
11458
- class: x(P, v, K, J, U),
11462
+ class: x(P, v, K, Q, U),
11459
11463
  style: T(P, H)
11460
11464
  };
11461
11465
  return O("view", ne, _);
11462
- }, Y = j(), Z = j([]), X = (y, P) => {
11463
- Z.value[P] = y;
11466
+ }, Y = j(), J = j([]), X = (y, P) => {
11467
+ J.value[P] = y;
11464
11468
  }, te = (y) => (P) => {
11465
11469
  X(P, y);
11466
11470
  }, re = (y, P) => {
11467
- const D = Y.value, v = Z.value;
11471
+ const D = Y.value, v = J.value;
11468
11472
  if (!D || !v || !v[y])
11469
11473
  return;
11470
11474
  const K = v[y];
@@ -13774,7 +13778,7 @@ const kv = () => {
13774
13778
  }, E = j(null), A = b(() => !e.fixedNavTeleport), G = b(() => {
13775
13779
  const S = ["fox-floating-window__fixednav"];
13776
13780
  return e.expandClass && S.push(e.expandClass), e.collapsePosition === "left" ? S.push("is-left") : e.collapsePosition === "right" && S.push("is-right"), S;
13777
- }), Y = j(""), Z = b(() => {
13781
+ }), Y = j(""), J = b(() => {
13778
13782
  const S = {};
13779
13783
  return Y.value ? S.top = Y.value : e.collapseTop && (S.top = e.collapseTop), S;
13780
13784
  }), X = j(L.value), te = b({
@@ -13817,7 +13821,7 @@ const kv = () => {
13817
13821
  return;
13818
13822
  const W = T.value;
13819
13823
  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));
13820
- }), V = { x: 0, y: 0 }, J = Ia((S) => {
13824
+ }), V = { x: 0, y: 0 }, Q = Ia((S) => {
13821
13825
  E.value && (V.x = E.value.offsetLeft, V.y = E.value.offsetTop);
13822
13826
  }, (S) => {
13823
13827
  if (!E.value)
@@ -13835,9 +13839,9 @@ const kv = () => {
13835
13839
  const S = [];
13836
13840
  z.value && S.push(z.value), e.footerDraggable && (ne(), M.value && S.push(M.value)), _.open(S);
13837
13841
  }
13838
- e.collapse === !0 && N(e.collapse, !1), E.value && J.open(E.value);
13842
+ e.collapse === !0 && N(e.collapse, !1), E.value && Q.open(E.value);
13839
13843
  }), pt(() => {
13840
- e.draggable && z.value && _.close(), E.value && J.close();
13844
+ e.draggable && z.value && _.close(), E.value && Q.close();
13841
13845
  }), {
13842
13846
  classes: u,
13843
13847
  styles: f,
@@ -13856,7 +13860,7 @@ const kv = () => {
13856
13860
  isShowFixedNav: te,
13857
13861
  fixedNavRef: E,
13858
13862
  fixedNavClasses: G,
13859
- fixedNavStyles: Z,
13863
+ fixedNavStyles: J,
13860
13864
  onAnimationEnd: k,
13861
13865
  teleportDisabled: a,
13862
13866
  fixedNavTeleportDisabled: A