@farris/ui-vue 1.8.5-beta.19 → 1.8.5-beta.20

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/farris.all.esm.js CHANGED
@@ -1508,7 +1508,7 @@ function PI(e) {
1508
1508
  );
1509
1509
  return i ? o === i ? Ra(n) : {} : o ? {} : Ra(n);
1510
1510
  }
1511
- function Lt(e, t) {
1511
+ function $t(e, t) {
1512
1512
  const n = _l(e), a = { ...PI(e), ...Ra(t) };
1513
1513
  return n ? { id: n, "data-testid": n, ...a } : { ...a };
1514
1514
  }
@@ -1517,7 +1517,7 @@ function Se(e, ...t) {
1517
1517
  if (!n)
1518
1518
  return {};
1519
1519
  const a = t.map(_l).filter(Boolean);
1520
- return Lt([n, ...a].join("-"));
1520
+ return $t([n, ...a].join("-"));
1521
1521
  }
1522
1522
  function Cm(e, t) {
1523
1523
  const {
@@ -5942,7 +5942,7 @@ var IC = { exports: {} };
5942
5942
  j && ct && ct.removeChild(vt), j && W && (W.style.display = "none");
5943
5943
  return;
5944
5944
  }
5945
- W.style.display = "block", ke(Ct, vt, tt), Ct ? Je(Re, Ct) : Rt(je);
5945
+ W.style.display = "block", ke(Ct, vt, tt), Ct ? Je(Re, Ct) : Lt(je);
5946
5946
  function ze(ht) {
5947
5947
  H.emit(ht, vt, U, D);
5948
5948
  }
@@ -6031,7 +6031,7 @@ var IC = { exports: {} };
6031
6031
  }
6032
6032
  Oe === O && O && (W.style.display = "none");
6033
6033
  }
6034
- function Rt(ye) {
6034
+ function Lt(ye) {
6035
6035
  z = null;
6036
6036
  var Oe = ye.lastElementChild;
6037
6037
  if (Oe) {
@@ -6067,8 +6067,8 @@ var IC = { exports: {} };
6067
6067
  function Ct() {
6068
6068
  var ze = Oe.getBoundingClientRect();
6069
6069
  if (je) {
6070
- var et = vt - ze.top, it = Ye - ze.left, ht = ze.bottom - vt, $t = ze.right - Ye, zt = Math.min(it, $t, et, ht), Pt;
6071
- return K ? Pt = $t < it : Pt = ht === zt || $t === zt || it === zt, Re(Pt);
6070
+ var et = vt - ze.top, it = Ye - ze.left, ht = ze.bottom - vt, Rt = ze.right - Ye, zt = Math.min(it, Rt, et, ht), Pt;
6071
+ return K ? Pt = Rt < it : Pt = ht === zt || Rt === zt || it === zt, Re(Pt);
6072
6072
  }
6073
6073
  return Re(At ? Ye > ze.left + C(ze) / 2 : vt > ze.top + w(ze) / 2);
6074
6074
  }
@@ -11658,7 +11658,7 @@ const Es = {
11658
11658
  };
11659
11659
  return () => {
11660
11660
  var i, l;
11661
- return r("div", xe(Lt(e.id), {
11661
+ return r("div", xe($t(e.id), {
11662
11662
  class: a.value,
11663
11663
  style: "border-radius:0;border: 1px solid #E8EBF2;",
11664
11664
  onClick: o
@@ -11713,7 +11713,7 @@ const Es = {
11713
11713
  style: m.value
11714
11714
  }, [r("input", xe({
11715
11715
  ref: a
11716
- }, Lt(f.value), {
11716
+ }, $t(f.value), {
11717
11717
  title: "checkbox-input",
11718
11718
  type: "checkbox",
11719
11719
  class: "custom-control-input",
@@ -12207,7 +12207,7 @@ const La = /* @__PURE__ */ ce({
12207
12207
  return [qt(r("div", xe({
12208
12208
  tabindex: "-1",
12209
12209
  ref: o
12210
- }, Lt(n.id), {
12210
+ }, $t(n.id), {
12211
12211
  class: C.value,
12212
12212
  style: {
12213
12213
  ...m.value,
@@ -13372,7 +13372,7 @@ const yo = /* @__PURE__ */ ce({
13372
13372
  }, [M.value.map((de) => {
13373
13373
  var Me;
13374
13374
  const ke = S(de.disabled), $e = de.class || ((Me = de.appearance) == null ? void 0 : Me.class) || "btn btn-secondary";
13375
- return r("button", xe(de.id ? Lt(de.id) : de.name ? Se(n.id, de.name) : {}, Ra(de), {
13375
+ return r("button", xe(de.id ? $t(de.id) : de.name ? Se(n.id, de.name) : {}, Ra(de), {
13376
13376
  name: de.name,
13377
13377
  style: de.styles,
13378
13378
  type: "button",
@@ -13422,7 +13422,7 @@ const yo = /* @__PURE__ */ ce({
13422
13422
  }
13423
13423
  function pe() {
13424
13424
  var de, ke;
13425
- return r("div", xe(Lt(n.id), {
13425
+ return r("div", xe($t(n.id), {
13426
13426
  class: Y.value,
13427
13427
  style: _.value,
13428
13428
  ref: I
@@ -13697,7 +13697,7 @@ function YV(e, t) {
13697
13697
  });
13698
13698
  return qt(r("li", xe({
13699
13699
  class: o(k)
13700
- }, Lt(k.id), {
13700
+ }, $t(k.id), {
13701
13701
  key: k.id + "_" + M,
13702
13702
  onClick: (B) => f(B, k)
13703
13703
  }), [r("span", {
@@ -13708,7 +13708,7 @@ function YV(e, t) {
13708
13708
  }
13709
13709
  return r("li", xe({
13710
13710
  class: o(k)
13711
- }, Lt(k.id), {
13711
+ }, $t(k.id), {
13712
13712
  onClick: (P) => f(P, k)
13713
13713
  }), [r("span", {
13714
13714
  class: l(k),
@@ -13739,7 +13739,7 @@ function YV(e, t) {
13739
13739
  });
13740
13740
  return r("li", xe({
13741
13741
  class: a(k)
13742
- }, Lt(k.id), {
13742
+ }, $t(k.id), {
13743
13743
  key: k.id + "_" + M,
13744
13744
  onClick: (B) => h(B, k, F)
13745
13745
  }), [qt(r("span", {
@@ -13753,7 +13753,7 @@ function YV(e, t) {
13753
13753
  }
13754
13754
  return r("li", xe({
13755
13755
  class: a(k)
13756
- }, Lt(k.id), {
13756
+ }, $t(k.id), {
13757
13757
  onClick: (P) => h(P, k, F),
13758
13758
  onMouseenter: (P) => m(P, k.text)
13759
13759
  }), [r("span", {
@@ -13911,7 +13911,7 @@ function KV(e, t, n) {
13911
13911
  });
13912
13912
  return r("div", {
13913
13913
  class: s(h)
13914
- }, [qt(r("div", xe(Lt(h.id), {
13914
+ }, [qt(r("div", xe($t(h.id), {
13915
13915
  class: u(h),
13916
13916
  style: p(h),
13917
13917
  onClick: (b) => h.enable && c(b, h)
@@ -13925,7 +13925,7 @@ function KV(e, t, n) {
13925
13925
  }
13926
13926
  return r("div", {
13927
13927
  class: s(h)
13928
- }, [r("div", xe(Lt(h.id), {
13928
+ }, [r("div", xe($t(h.id), {
13929
13929
  class: u(h),
13930
13930
  style: p(h),
13931
13931
  onClick: (y) => h.enable && c(y, h)
@@ -14027,7 +14027,7 @@ const {
14027
14027
  return qt(r("button", xe({
14028
14028
  type: "button",
14029
14029
  class: I(_, H)
14030
- }, Lt(_.id), Ra(_.options), {
14030
+ }, $t(_.id), Ra(_.options), {
14031
14031
  disabled: !_.enable,
14032
14032
  onClick: (Q) => A(Q, _)
14033
14033
  }), [m.shouldShowIcon(_) && r("i", {
@@ -14037,7 +14037,7 @@ const {
14037
14037
  return r("button", xe({
14038
14038
  type: "button",
14039
14039
  class: I(_, H)
14040
- }, Lt(_.id), Ra(_.options), {
14040
+ }, $t(_.id), Ra(_.options), {
14041
14041
  disabled: !_.enable,
14042
14042
  onClick: (q) => A(q, _)
14043
14043
  }), [m.shouldShowIcon(_) && r("i", {
@@ -14182,7 +14182,7 @@ const {
14182
14182
  });
14183
14183
  }), t.expose({
14184
14184
  elementRef: o
14185
- }), () => r("div", xe(Lt(g), Ra(t.attrs), {
14185
+ }), () => r("div", xe($t(g), Ra(t.attrs), {
14186
14186
  class: P.value,
14187
14187
  ref: o,
14188
14188
  style: {
@@ -14598,7 +14598,7 @@ const Ea = /* @__PURE__ */ ce({
14598
14598
  }
14599
14599
  return o.value && !!o.value.length && o.value.map((I) => {
14600
14600
  const A = S(I.disabled);
14601
- return r("button", xe(I.id ? Lt(I.id) : Se(n.id, I.name), {
14601
+ return r("button", xe(I.id ? $t(I.id) : Se(n.id, I.name), {
14602
14602
  type: "button",
14603
14603
  disabled: A.value,
14604
14604
  class: I.class + (I.iconClass ? " btn-icontext" : ""),
@@ -14659,7 +14659,7 @@ const Ea = /* @__PURE__ */ ce({
14659
14659
  }, {
14660
14660
  default: () => [r("div", xe({
14661
14661
  class: l.value
14662
- }, Lt(n.id), {
14662
+ }, $t(n.id), {
14663
14663
  style: T.value
14664
14664
  }), [r(ls, {
14665
14665
  name: "f-drawer-mask",
@@ -15158,7 +15158,7 @@ const dN = {
15158
15158
  "farris-label-text": !0,
15159
15159
  "f-pretend-link": !!e.isLink && e.showType !== "reserve-space"
15160
15160
  }));
15161
- return () => d.value && r("label", xe(Lt(e.id), {
15161
+ return () => d.value && r("label", xe($t(e.id), {
15162
15162
  class: u.value,
15163
15163
  title: l.value,
15164
15164
  style: s.value
@@ -18186,7 +18186,7 @@ const nR = /* @__PURE__ */ ce({
18186
18186
  class: P(q),
18187
18187
  style: B.value,
18188
18188
  tabindex: 0
18189
- }, q.locatorId ? Lt(q.locatorId) : Se(n.id, "tag", V(q)), {
18189
+ }, q.locatorId ? $t(q.locatorId) : Se(n.id, "tag", V(q)), {
18190
18190
  key: q.name,
18191
18191
  onClick: (ee) => E(ee, q),
18192
18192
  onKeydown: (ee) => I(ee, q),
@@ -18242,7 +18242,7 @@ const nR = /* @__PURE__ */ ce({
18242
18242
  function H() {
18243
18243
  t.emit("click");
18244
18244
  }
18245
- return () => r("div", xe(Lt(n.id), t.attrs, {
18245
+ return () => r("div", xe($t(n.id), t.attrs, {
18246
18246
  class: M.value,
18247
18247
  onDrop: X,
18248
18248
  onDragover: _,
@@ -18498,7 +18498,7 @@ const Pn = /* @__PURE__ */ ce({
18498
18498
  var z, j;
18499
18499
  return r(ft, null, [r("div", xe({
18500
18500
  ref: o
18501
- }, Lt(n.id), t.attrs, {
18501
+ }, $t(n.id), t.attrs, {
18502
18502
  class: F.value,
18503
18503
  style: k.value
18504
18504
  }), [r("div", xe(Se(n.id, "input-group"), {
@@ -19092,7 +19092,7 @@ const oo = /* @__PURE__ */ ce({
19092
19092
  };
19093
19093
  return n.type && (s[`btn-${n.type}`] = !0), n.customClass && (typeof n.customClass == "string" ? yt(s, n.customClass) : Object.keys(n.customClass).reduce((u, d) => (u[d] = n.customClass[d], u), s)), s;
19094
19094
  });
19095
- return () => n.visible ? r("button", xe(Lt(n.id), Ra(t.attrs), {
19095
+ return () => n.visible ? r("button", xe($t(n.id), Ra(t.attrs), {
19096
19096
  class: l.value,
19097
19097
  disabled: n.disabled,
19098
19098
  style: n.customStyle,
@@ -19472,7 +19472,7 @@ const Jr = /* @__PURE__ */ ce({
19472
19472
  const g = h(), y = GR(n, t, d, c, a);
19473
19473
  return () => r("div", xe({
19474
19474
  class: ["farris-messager", Xt() ? "is-mobile" : ""]
19475
- }, Lt(n.id)), [!n.exceptionInfo && r("div", {
19475
+ }, $t(n.id)), [!n.exceptionInfo && r("div", {
19476
19476
  style: "height: 30px;width: 100%;position: absolute;",
19477
19477
  class: "messager-draggable"
19478
19478
  }, null), r("section", {
@@ -20025,7 +20025,7 @@ function pL(e, t, n) {
20025
20025
  function u(p) {
20026
20026
  return r(ft, null, [p.divider && r("div", {
20027
20027
  class: "dropdown-divider"
20028
- }, null), r("div", xe(Lt(p.id), {
20028
+ }, null), r("div", xe($t(p.id), {
20029
20029
  class: "dropdown-item" + (p.disabled ? " disabled" : ""),
20030
20030
  onClick: (c) => o(c, p)
20031
20031
  }), [p.icon && r("i", {
@@ -20188,7 +20188,7 @@ const Qu = /* @__PURE__ */ ce({
20188
20188
  const {
20189
20189
  renderDropdownButton: b
20190
20190
  } = Vw(n, t);
20191
- return () => r("div", xe(Lt(n.id), {
20191
+ return () => r("div", xe($t(n.id), {
20192
20192
  class: "f-btn-group",
20193
20193
  style: "position:relative;",
20194
20194
  ref: a
@@ -22117,7 +22117,7 @@ const Za = /* @__PURE__ */ ce({
22117
22117
  function Je(Te) {
22118
22118
  Ve.value = Te.events || [], t.emit("moreClick", Te);
22119
22119
  }
22120
- function Rt(Te, ye) {
22120
+ function Lt(Te, ye) {
22121
22121
  t.emit("moreClick", ye);
22122
22122
  }
22123
22123
  const xt = N(() => {
@@ -22132,7 +22132,7 @@ const Za = /* @__PURE__ */ ce({
22132
22132
  class: ue.value,
22133
22133
  ref: K,
22134
22134
  style: St.value
22135
- }, Lt(n.id)), [r(Bp, {
22135
+ }, $t(n.id)), [r(Bp, {
22136
22136
  activeView: $.value,
22137
22137
  isCurrent: oe.value,
22138
22138
  todayText: Ae.value,
@@ -22182,7 +22182,7 @@ const Za = /* @__PURE__ */ ce({
22182
22182
  events: D.value,
22183
22183
  height: W.value - 60,
22184
22184
  moreText: x,
22185
- onMoreClick: (Te, ye) => Rt(Te, ye)
22185
+ onMoreClick: (Te, ye) => Lt(Te, ye)
22186
22186
  }, null)]), r(DL, {
22187
22187
  ref: Xe,
22188
22188
  events: Ve.value
@@ -22703,7 +22703,7 @@ const ig = {
22703
22703
  }
22704
22704
  return () => r("div", xe({
22705
22705
  ref: n
22706
- }, Lt(e.id), {
22706
+ }, $t(e.id), {
22707
22707
  class: o.value,
22708
22708
  style: i.value,
22709
22709
  onClick: (s) => l(s)
@@ -22806,7 +22806,7 @@ const ig = {
22806
22806
  B(A), a.value = A, await lt(), x(l.value), v.value = Array.from(y.values()).reduce((D, O) => (D += O.value.clientWidth, D), 0);
22807
22807
  }), () => r("span", xe({
22808
22808
  ref: o
22809
- }, Lt(n.id), {
22809
+ }, $t(n.id), {
22810
22810
  class: d.value,
22811
22811
  style: p.value
22812
22812
  }), [r("span", {
@@ -23355,7 +23355,7 @@ const lg = /* @__PURE__ */ ce({
23355
23355
  values: v,
23356
23356
  parentProps: n,
23357
23357
  parentContext: t
23358
- }), () => r("div", xe(Lt(n.id), {
23358
+ }), () => r("div", xe($t(n.id), {
23359
23359
  class: ["farris-input-wrap", "f-checkbox-group", m.value]
23360
23360
  }), [t.slots.default ? t.slots.default() : u.value.map((h, g) => {
23361
23361
  const y = Se(n.id, "option", p(h));
@@ -24503,7 +24503,7 @@ function sg(e, t, n = "id") {
24503
24503
  var i, l;
24504
24504
  const a = (i = t == null ? void 0 : t.raw) == null ? void 0 : i.locatorId;
24505
24505
  if (a)
24506
- return Lt(a);
24506
+ return $t(a);
24507
24507
  const o = (l = t == null ? void 0 : t.raw) == null ? void 0 : l[n];
24508
24508
  return o == null || o === "" ? {} : Se(e, "item", o);
24509
24509
  }
@@ -25187,7 +25187,7 @@ const Nn = /* @__PURE__ */ ce({
25187
25187
  columnContext: he,
25188
25188
  updateColumnRenderContext: Z
25189
25189
  } = Ae;
25190
- return pl(o, y, p, he, I, x, c, ve, u, i, F), () => r("div", xe(Lt(n.id), {
25190
+ return pl(o, y, p, he, I, x, c, ve, u, i, F), () => r("div", xe($t(n.id), {
25191
25191
  class: D.value
25192
25192
  }), [$(), r("div", {
25193
25193
  ref: l,
@@ -27183,7 +27183,7 @@ const Qi = /* @__PURE__ */ ce({
27183
27183
  });
27184
27184
  return () => r("div", xe({
27185
27185
  ref: i
27186
- }, Lt(n.id), {
27186
+ }, $t(n.id), {
27187
27187
  class: C.value,
27188
27188
  style: we.value,
27189
27189
  onWheel: R
@@ -27943,7 +27943,7 @@ const Zr = /* @__PURE__ */ ce({
27943
27943
  } = Cm(n, t);
27944
27944
  return () => r("div", xe({
27945
27945
  class: h.value
27946
- }, Lt(n.id)), [c(), v.value && s(), g(n.expandMode === "button" ? {
27946
+ }, $t(n.id)), [c(), v.value && s(), g(n.expandMode === "button" ? {
27947
27947
  "padding-left": "8px"
27948
27948
  } : void 0)]);
27949
27949
  }
@@ -28239,7 +28239,7 @@ const li = /* @__PURE__ */ ce({
28239
28239
  });
28240
28240
  const B = () => r("div", xe({
28241
28241
  ref: o
28242
- }, Lt(n.id), {
28242
+ }, $t(n.id), {
28243
28243
  class: u.value,
28244
28244
  style: p.value,
28245
28245
  onMouseenter: h,
@@ -30955,7 +30955,7 @@ const Sj = {
30955
30955
  return () => r("div", xe({
30956
30956
  class: "f-color-picker-component",
30957
30957
  ref: x
30958
- }, Lt(n.id)), [r("div", {
30958
+ }, $t(n.id)), [r("div", {
30959
30959
  class: ["color-picker-panel", {
30960
30960
  disabled: i.value
30961
30961
  }],
@@ -33539,7 +33539,7 @@ const J_ = /* @__PURE__ */ ce({
33539
33539
  C !== w && (s.value = C);
33540
33540
  }), Be(() => {
33541
33541
  a.value && a.value && (o.value = a.value.parentElement);
33542
- }), () => n.visible ? r("div", xe(Lt(n.id), Ra(t.attrs), {
33542
+ }), () => n.visible ? r("div", xe($t(n.id), Ra(t.attrs), {
33543
33543
  class: f.value,
33544
33544
  ref: a,
33545
33545
  style: n.customStyle
@@ -34854,7 +34854,7 @@ const ei = /* @__PURE__ */ ce({
34854
34854
  (Ce = (re = t.slots).default) == null ? void 0 : Ce.call(re)
34855
34855
  );
34856
34856
  }
34857
- return () => n.visible ? r("div", xe(Lt(n.id), {
34857
+ return () => n.visible ? r("div", xe($t(n.id), {
34858
34858
  class: U.value,
34859
34859
  ref: o
34860
34860
  }), [Q(), ee()]) : null;
@@ -34960,7 +34960,7 @@ const Yl = /* @__PURE__ */ ce({
34960
34960
  function m() {
34961
34961
  var y, b;
34962
34962
  const g = (b = (y = t.slots).default) == null ? void 0 : b.call(y);
34963
- return r("div", xe(Lt(n.id), {
34963
+ return r("div", xe($t(n.id), {
34964
34964
  class: f.value,
34965
34965
  style: u.value
34966
34966
  }), [g]);
@@ -36398,7 +36398,7 @@ const ti = /* @__PURE__ */ ce({
36398
36398
  n.focusOnCreated && ((T = m.value) == null || T.focus()), w();
36399
36399
  }), () => r("span", xe({
36400
36400
  ref: m
36401
- }, Lt(n.id), {
36401
+ }, $t(n.id), {
36402
36402
  tabindex: "0",
36403
36403
  role: "button",
36404
36404
  class: g.value,
@@ -36679,7 +36679,7 @@ const KH = {
36679
36679
  }
36680
36680
  return te(() => n.enumData, (l, s) => {
36681
36681
  l !== s && (a.value = n.enumData);
36682
- }), () => r("div", xe(Lt(n.id), {
36682
+ }), () => r("div", xe($t(n.id), {
36683
36683
  class: "f-radio-button"
36684
36684
  }), [r("div", {
36685
36685
  class: ["farris-input-wrap"]
@@ -36832,7 +36832,7 @@ const KH = {
36832
36832
  l.value = z, i.value = j;
36833
36833
  }), () => r("div", xe({
36834
36834
  class: "farris-star-rating"
36835
- }, Lt(n.id), {
36835
+ }, $t(n.id), {
36836
36836
  onMouseover: Qt((z) => O(z, !1), ["prevent"]),
36837
36837
  onMousemove: Qt((z) => O(z, !1), ["prevent"]),
36838
36838
  onMouseleave: Qt((z) => $(), ["prevent"]),
@@ -38461,7 +38461,7 @@ function OW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38461
38461
  ue.stopPropagation(), fe.collapse = !fe.collapse, v.value = G(fe.collapse ? "collapse" : "expand", fe, v.value);
38462
38462
  }
38463
38463
  function he(ue, fe, Ve) {
38464
- var Je, Rt;
38464
+ var Je, Lt;
38465
38465
  const Xe = [];
38466
38466
  if (ue.groupField) {
38467
38467
  const xt = fe[ue.groupField], St = ue.data[ue.groupField];
@@ -38490,7 +38490,7 @@ function OW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38490
38490
  whiteSpace: "nowrap",
38491
38491
  paddingLeft: "4px"
38492
38492
  }
38493
- }, [e.group.customRender(ue)])) : (Rt = e.group) != null && Rt.customRender || (Ve === "primary" && St && Xe.push(r("div", {
38493
+ }, [e.group.customRender(ue)])) : (Lt = e.group) != null && Lt.customRender || (Ve === "primary" && St && Xe.push(r("div", {
38494
38494
  ref: St.setRef,
38495
38495
  key: T(ue, ue.layer + 1),
38496
38496
  style: {
@@ -38595,11 +38595,11 @@ function OW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38595
38595
  }, [ue.getEditor(ue)]) : ue.column.columnTemplate ? ot(ue, fe) : ue.formatter ? oe(ue, fe) : qe(ue);
38596
38596
  }
38597
38597
  function le(ue, fe, Ve, Xe, Je) {
38598
- const Rt = go(ue, e.idField);
38598
+ const Lt = go(ue, e.idField);
38599
38599
  return r("div", xe({
38600
38600
  ref: ue.setRef,
38601
38601
  key: k(ue)
38602
- }, zm(e.id, Rt), {
38602
+ }, zm(e.id, Lt), {
38603
38603
  class: L(ue, Ve),
38604
38604
  style: Xe,
38605
38605
  onClick: (xt) => $(xt, ue),
@@ -38614,7 +38614,7 @@ function OW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38614
38614
  return r("div", xe({
38615
38615
  ref: xt.setRef,
38616
38616
  key: T(ue, xt.index)
38617
- }, Gl(e.id, Rt, xt.field), {
38617
+ }, Gl(e.id, Lt, xt.field), {
38618
38618
  class: V(xt, ue),
38619
38619
  style: F(ue, xt, fe),
38620
38620
  onClick: (Oe) => {
@@ -38867,7 +38867,7 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38867
38867
  fe.stopPropagation(), Ve.collapse = !Ve.collapse, v.value = G(Ve.collapse ? "collapse" : "expand", Ve, v.value);
38868
38868
  }
38869
38869
  function Z(fe, Ve) {
38870
- var Rt;
38870
+ var Lt;
38871
38871
  const Xe = [];
38872
38872
  if (!fe.groupField)
38873
38873
  return Xe;
@@ -38886,7 +38886,7 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38886
38886
  class: V(fe)
38887
38887
  }, null)]));
38888
38888
  }
38889
- if ((Rt = e.group) != null && Rt.customRender)
38889
+ if ((Lt = e.group) != null && Lt.customRender)
38890
38890
  Xe.push(e.group.customRender(fe));
38891
38891
  else {
38892
38892
  const xt = fe.data[fe.groupField];
@@ -38920,8 +38920,8 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38920
38920
  return Xe;
38921
38921
  }
38922
38922
  function J(fe, Ve, Xe) {
38923
- var Rt;
38924
- fe.height = ((Rt = e.rowOption) == null ? void 0 : Rt.height) || 28, fe.raw.__fv_data_height__ = fe.height;
38923
+ var Lt;
38924
+ fe.height = ((Lt = e.rowOption) == null ? void 0 : Lt.height) || 28, fe.raw.__fv_data_height__ = fe.height;
38925
38925
  const Je = (fe.layer + 1) * 18;
38926
38926
  return fe.layer > -1 && r("div", xe({
38927
38927
  ref: fe.setRef,
@@ -38949,11 +38949,11 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38949
38949
  const Je = fe.data[fe.groupField];
38950
38950
  if (!Je)
38951
38951
  return Xe;
38952
- const Rt = !!Ve[fe.groupField], xt = e.displayType === "Card" ? {
38952
+ const Lt = !!Ve[fe.groupField], xt = e.displayType === "Card" ? {
38953
38953
  flex: "1",
38954
38954
  minWidth: 0,
38955
38955
  lineHeight: "26px"
38956
- } : Rt ? I(Je, Ve, fe.layer) : {
38956
+ } : Lt ? I(Je, Ve, fe.layer) : {
38957
38957
  flex: "1",
38958
38958
  minWidth: 0,
38959
38959
  lineHeight: "26px"
@@ -38982,13 +38982,13 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38982
38982
  justifyContent: "end",
38983
38983
  width: "100%"
38984
38984
  },
38985
- onClick: (Rt) => z(Rt, fe),
38986
- onMouseover: (Rt) => j(Rt, fe)
38985
+ onClick: (Lt) => z(Lt, fe),
38986
+ onMouseover: (Lt) => j(Lt, fe)
38987
38987
  }, [ae(fe, Ve)]);
38988
38988
  }
38989
38989
  function be(fe, Ve) {
38990
- var Xe, Je, Rt;
38991
- return fe.showTips && typeof ((Xe = fe.column) == null ? void 0 : Xe.formatter) != "function" && ((Je = fe.column) == null ? void 0 : Je.dataType) !== "commands" && ((Rt = fe.column) == null ? void 0 : Rt.dataType) !== "setting" ? r("div", {
38990
+ var Xe, Je, Lt;
38991
+ return fe.showTips && typeof ((Xe = fe.column) == null ? void 0 : Xe.formatter) != "function" && ((Je = fe.column) == null ? void 0 : Je.dataType) !== "commands" && ((Lt = fe.column) == null ? void 0 : Lt.dataType) !== "setting" ? r("div", {
38992
38992
  class: O(fe),
38993
38993
  title: fe.formatter(fe, Ve)
38994
38994
  }, [fe.formatter(fe, Ve)]) : r("div", {
@@ -38999,9 +38999,9 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
38999
38999
  return r("div", null, [se("******")]);
39000
39000
  }
39001
39001
  function ot(fe) {
39002
- var Je, Rt;
39002
+ var Je, Lt;
39003
39003
  const Ve = !b(fe.data) && !C(fe.data) ? fe.data.toString() : fe.data;
39004
- return ((Rt = (Je = fe.column) == null ? void 0 : Je.editor) == null ? void 0 : Rt.showType) === "password" ? qe() : fe.showTips ? r("div", {
39004
+ return ((Lt = (Je = fe.column) == null ? void 0 : Je.editor) == null ? void 0 : Lt.showType) === "password" ? qe() : fe.showTips ? r("div", {
39005
39005
  class: O(fe),
39006
39006
  title: Ve
39007
39007
  }, [Ve]) : r("div", {
@@ -39009,10 +39009,10 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
39009
39009
  }, [Ve]);
39010
39010
  }
39011
39011
  function ut(fe, Ve) {
39012
- const Xe = fe.column.columnTemplate(fe, Ve), Je = sf(fe.data, fe.column || {}), Rt = fe.showTips && !b(Je) && !C(Je) ? Je.toString() : void 0;
39013
- return Rt !== void 0 ? r("div", {
39012
+ const Xe = fe.column.columnTemplate(fe, Ve), Je = sf(fe.data, fe.column || {}), Lt = fe.showTips && !b(Je) && !C(Je) ? Je.toString() : void 0;
39013
+ return Lt !== void 0 ? r("div", {
39014
39014
  class: O(fe),
39015
- title: Rt
39015
+ title: Lt
39016
39016
  }, [Xe]) : r("div", {
39017
39017
  class: O(fe)
39018
39018
  }, [Xe]);
@@ -39022,7 +39022,7 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
39022
39022
  style: Q(fe)
39023
39023
  }, [fe.getEditor(fe)]) : fe.column.columnTemplate ? ut(fe, Ve) : fe.formatter ? be(fe, Ve) : ot(fe);
39024
39024
  }
39025
- function pe(fe, Ve, Xe, Je, Rt, xt) {
39025
+ function pe(fe, Ve, Xe, Je, Lt, xt) {
39026
39026
  var Oe;
39027
39027
  const St = P(fe), Te = fe.height || ((Oe = e.rowOption) == null ? void 0 : Oe.height) || 28, ye = go(fe, e.idField);
39028
39028
  return r("div", xe({
@@ -39033,7 +39033,7 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
39033
39033
  style: {
39034
39034
  ...St,
39035
39035
  position: Je,
39036
- display: Rt,
39036
+ display: Lt,
39037
39037
  width: xt,
39038
39038
  minHeight: `${Te}px`,
39039
39039
  height: Je === "static" ? void 0 : St.height
@@ -39148,22 +39148,22 @@ function NW(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g) {
39148
39148
  }
39149
39149
  }, [St]) : St]);
39150
39150
  }
39151
- function ke(fe, Ve, Xe, Je, Rt, xt) {
39151
+ function ke(fe, Ve, Xe, Je, Lt, xt) {
39152
39152
  const St = [];
39153
- return Je && xt.length > 0 && St.push(pe(fe, Ve, Xe, "static", "flex", "100%")), Rt && Je.length > 0 && St.push(de(fe, Xe, Je)), St;
39153
+ return Je && xt.length > 0 && St.push(pe(fe, Ve, Xe, "static", "flex", "100%")), Lt && Je.length > 0 && St.push(de(fe, Xe, Je)), St;
39154
39154
  }
39155
- function $e(fe, Ve, Xe, Je, Rt, xt) {
39156
- return e.displayType === "Card" ? ke(fe, Ve, Xe, Je, Rt, xt) : pe(fe, Ve, Xe);
39155
+ function $e(fe, Ve, Xe, Je, Lt, xt) {
39156
+ return e.displayType === "Card" ? ke(fe, Ve, Xe, Je, Lt, xt) : pe(fe, Ve, Xe);
39157
39157
  }
39158
39158
  const Me = [$e, J, oe];
39159
39159
  function He(fe, Ve) {
39160
39160
  let Xe = T(fe);
39161
- return v.value.map((Je, Rt) => {
39161
+ return v.value.map((Je, Lt) => {
39162
39162
  var ye;
39163
39163
  const xt = ((ye = e.fieldsResolver) == null ? void 0 : ye.call(e, Je.raw)) ?? null;
39164
39164
  let St = xt || [];
39165
39165
  const Te = g.value.filter((Oe) => Oe.visible && Oe.dataType !== _n && Oe.dataType !== Un);
39166
- return xt || Te.length > 0 && (St = Te.map((Oe) => y(Oe))), (!Xe || Object.keys(Xe).length === 0) && (Xe = T(St)), Me[Je.type](Je, Xe, Rt, St, xt, Te);
39166
+ return xt || Te.length > 0 && (St = Te.map((Oe) => y(Oe))), (!Xe || Object.keys(Xe).length === 0) && (Xe = T(St)), Me[Je.type](Je, Xe, Lt, St, xt, Te);
39167
39167
  });
39168
39168
  }
39169
39169
  function nt() {
@@ -39309,7 +39309,7 @@ const ko = /* @__PURE__ */ ce({
39309
39309
  "fv-grid-content-hover": T.value,
39310
39310
  "fv-grid-wrap-content": F.value,
39311
39311
  "fv-grid-scrollbar-visible": pe.shouldShowVirticalScrollbar.value && T.value
39312
- })), Rt = N(() => {
39312
+ })), Lt = N(() => {
39313
39313
  var rt, wt;
39314
39314
  const Fe = {}, _e = c.value && W.value;
39315
39315
  return !_e && pe.shouldShowHorizontalScrollbar.value && T.value && (Fe.paddingBottom = "10px"), !_e && pe.shouldShowVirticalScrollbar.value && T.value, c.value && (Fe.display = "block", W.value || K.value ? (Fe.overflowX = "hidden", Fe.overflowY = "hidden", Fe.display = "flex", Fe.flexDirection = "column", Fe.flex = "1 1 auto", Fe.minHeight = "0", Fe.width = "100%", Fe.maxWidth = "100%", Fe.minWidth = "0", Fe.boxSizing = "border-box") : (((rt = n.columns) == null ? void 0 : rt.length) ?? 0) > 0 ? Fe.overflow = !w.value || w.value.length === 0 ? "hidden" : "auto" : (wt = n.columnOption) != null && wt.fitColumns && n.fit ? Fe.overflow = "visible" : Fe.overflow = !w.value || w.value.length === 0 ? "hidden" : "auto"), Fe;
@@ -39346,19 +39346,22 @@ const ko = /* @__PURE__ */ ce({
39346
39346
  renderGroupPanel: et
39347
39347
  } = Bde(i, A, Ve, k, pe);
39348
39348
  let it = null, ht = null;
39349
- function $t() {
39349
+ function Rt() {
39350
39350
  F.value && (ht !== null && cancelAnimationFrame(ht), ht = requestAnimationFrame(() => {
39351
39351
  ht = null;
39352
39352
  const Fe = w.value;
39353
- Fe.length && (Ae.recalculateRowHeights(Fe), w.value = [...Fe]);
39353
+ Fe.length && Ae.recalculateRowHeights(Fe) && (w.value = [...Fe]);
39354
39354
  }));
39355
39355
  }
39356
+ te(() => w.value.length, () => {
39357
+ Rt();
39358
+ });
39356
39359
  function zt() {
39357
39360
  var _e;
39358
39361
  if (!g.value)
39359
39362
  return;
39360
39363
  const Fe = Math.ceil(g.value.clientHeight / p.value);
39361
- Fe > f.value && (f.value = Fe, He()), ke.value = ((_e = y.value) == null ? void 0 : _e.clientHeight) || 0, de.value = g.value.clientWidth || 0, y.value && ($e.value = y.value.clientWidth), st(), $t();
39364
+ Fe > f.value && (f.value = Fe, He()), ke.value = ((_e = y.value) == null ? void 0 : _e.clientHeight) || 0, de.value = g.value.clientWidth || 0, y.value && ($e.value = y.value.clientWidth), st(), Rt();
39362
39365
  }
39363
39366
  function Pt() {
39364
39367
  it !== null && cancelAnimationFrame(it), it = requestAnimationFrame(() => {
@@ -39366,7 +39369,7 @@ const ko = /* @__PURE__ */ ce({
39366
39369
  });
39367
39370
  }
39368
39371
  Be(() => {
39369
- g.value && (f.value = Math.max(Math.ceil(g.value.clientHeight / p.value), f.value), w.value = oe(0, U.value + d - 1), Ss(g.value, Pt), st(), $t(), lt(() => {
39372
+ g.value && (f.value = Math.max(Math.ceil(g.value.clientHeight / p.value), f.value), w.value = oe(0, U.value + d - 1), Ss(g.value, Pt), st(), Rt(), lt(() => {
39370
39373
  g.value && (de.value = g.value.clientWidth), y.value && ($e.value = y.value.clientWidth, ke.value = y.value.clientHeight);
39371
39374
  })), B.value && E();
39372
39375
  }), Yt(() => {
@@ -39434,7 +39437,7 @@ const ko = /* @__PURE__ */ ce({
39434
39437
  savedOffsetY: wt,
39435
39438
  resetScroll: Me,
39436
39439
  scrollTo: pe.scrollTo
39437
- }), w.value.length || (z.value = []), le.value && L.value && j();
39440
+ }), Rt(), w.value.length || (z.value = []), le.value && L.value && j();
39438
39441
  }
39439
39442
  }
39440
39443
  te(A.shouldGroupingData, (Fe, _e) => {
@@ -39735,14 +39738,14 @@ const ko = /* @__PURE__ */ ce({
39735
39738
  var Fe, _e;
39736
39739
  return n.visible && r(ft, null, [r("div", xe({
39737
39740
  ref: h
39738
- }, Lt(n.id), {
39741
+ }, $t(n.id), {
39739
39742
  class: Xe.value,
39740
39743
  style: G.value,
39741
39744
  onWheel: Ie
39742
39745
  }), [g.value && et(), g.value && !c.value && Ye.value && m.value.length > 0 && ye(), g.value && (ct.value === "top" || ct.value === "both") && tt(), r("div", {
39743
39746
  ref: g,
39744
39747
  class: Je.value,
39745
- style: Rt.value,
39748
+ style: Lt.value,
39746
39749
  onMouseover: (rt) => {
39747
39750
  rt.stopPropagation(), x.value !== "always" && !T.value && !c.value && (T.value = !0);
39748
39751
  },
@@ -46544,7 +46547,7 @@ const W5 = /* @__PURE__ */ ce({
46544
46547
  };
46545
46548
  return () => r("div", xe({
46546
46549
  ref: i
46547
- }, Lt(n.id), {
46550
+ }, $t(n.id), {
46548
46551
  class: p.value,
46549
46552
  onMouseenter: C,
46550
46553
  onMouseleave: w,
@@ -48528,7 +48531,7 @@ const jo = /* @__PURE__ */ ce({
48528
48531
  function q() {
48529
48532
  return r("div", xe({
48530
48533
  ref: m
48531
- }, Lt(n.id), {
48534
+ }, $t(n.id), {
48532
48535
  class: _.value,
48533
48536
  style: H.value
48534
48537
  }), [K(), X(), Y()]);
@@ -48542,7 +48545,7 @@ const jo = /* @__PURE__ */ ce({
48542
48545
  }
48543
48546
  }), () => n.preset === "modern" ? q() : r("div", xe({
48544
48547
  ref: m
48545
- }, Lt(n.id), {
48548
+ }, $t(n.id), {
48546
48549
  class: _.value,
48547
48550
  style: H.value
48548
48551
  }), [t.slots.children ? t.slots.children({
@@ -58621,7 +58624,7 @@ const Jl = /* @__PURE__ */ ce({
58621
58624
  month: Xe.value.month || 1,
58622
58625
  displayTextOfMonth: m.value[Xe.value.month || "1"],
58623
58626
  displayTextOfYear: `${Xe.value.year}`
58624
- }), Rt = S(Le(Je.value));
58627
+ }), Lt = S(Le(Je.value));
58625
58628
  R.value = {
58626
58629
  year: (wh = V.value) == null ? void 0 : wh.year,
58627
58630
  month: (Sh = V.value) == null ? void 0 : Sh.month
@@ -58685,7 +58688,7 @@ const Jl = /* @__PURE__ */ ce({
58685
58688
  }), te(() => e.enablePeriod, (De, Qe) => {
58686
58689
  De !== Qe && (p.value = De);
58687
58690
  });
58688
- const $t = N(() => (De) => De ? c.value !== "week" && !g.value && !b.value && !C.value : !h.value && !y.value && !C.value);
58691
+ const Rt = N(() => (De) => De ? c.value !== "week" && !g.value && !b.value && !C.value : !h.value && !y.value && !C.value);
58689
58692
  function zt() {
58690
58693
  return p.value && c.value !== "week" ? 575 : e.showTime && c.value !== "week" && e.inlineDateTime ? 487 : 287;
58691
58694
  }
@@ -58719,7 +58722,7 @@ const Jl = /* @__PURE__ */ ce({
58719
58722
  displayTextOfMonth: m.value[Je.value.month || "1"],
58720
58723
  displayTextOfYear: `${Ge}`
58721
58724
  };
58722
- Je.value = dt, (h.value || $t.value(!1)) && (R.value = {
58725
+ Je.value = dt, (h.value || Rt.value(!1)) && (R.value = {
58723
58726
  ...R.value,
58724
58727
  year: dt.year,
58725
58728
  month: dt.month
@@ -58792,7 +58795,7 @@ const Jl = /* @__PURE__ */ ce({
58792
58795
  displayTextOfMonth: m.value[Je.value.month || "1"],
58793
58796
  displayTextOfYear: `${Ge}`
58794
58797
  };
58795
- Je.value = dt, (h.value || $t.value(!1)) && (R.value = {
58798
+ Je.value = dt, (h.value || Rt.value(!1)) && (R.value = {
58796
58799
  ...R.value,
58797
58800
  year: dt.year,
58798
58801
  month: dt.month
@@ -58803,7 +58806,7 @@ const Jl = /* @__PURE__ */ ce({
58803
58806
  C.value = !1, De ? (g.value = !g.value, b.value = !1) : (h.value = !h.value, y.value = !1);
58804
58807
  }
58805
58808
  function _a(De) {
58806
- C.value = !1, De ? (b.value = c.value === "year" ? !0 : !b.value, c.value === "month" ? g.value = !g.value : g.value = !1, b.value ? Oe.value = Le(ye.value) : ye.value = Le(Oe.value)) : (y.value = c.value === "year" ? !0 : !y.value, c.value === "month" ? h.value = !h.value : h.value = !1, y.value ? Rt.value = Le(Je.value) : Je.value = Le(Rt.value));
58809
+ C.value = !1, De ? (b.value = c.value === "year" ? !0 : !b.value, c.value === "month" ? g.value = !g.value : g.value = !1, b.value ? Oe.value = Le(ye.value) : ye.value = Le(Oe.value)) : (y.value = c.value === "year" ? !0 : !y.value, c.value === "month" ? h.value = !h.value : h.value = !1, y.value ? Lt.value = Le(Je.value) : Je.value = Le(Lt.value));
58807
58810
  }
58808
58811
  function ro() {
58809
58812
  if (J.value) {
@@ -59058,7 +59061,7 @@ const Jl = /* @__PURE__ */ ce({
59058
59061
  displayTextOfMonth: m.value[De.month || "1"],
59059
59062
  year: De.year || 1,
59060
59063
  displayTextOfYear: `${De.year}`
59061
- }, Rt.value = Le(Je.value), c.value === "month" ? p.value ? Ha(De) : t.emit("datePicked", De) : (h.value = !1, y.value = !1, R.value = De, Io.value || Ha({
59064
+ }, Lt.value = Le(Je.value), c.value === "month" ? p.value ? Ha(De) : t.emit("datePicked", De) : (h.value = !1, y.value = !1, R.value = De, Io.value || Ha({
59062
59065
  ...De
59063
59066
  })));
59064
59067
  }
@@ -59119,7 +59122,7 @@ const Jl = /* @__PURE__ */ ce({
59119
59122
  displayTextOfMonth: Je.value.displayTextOfMonth,
59120
59123
  year: De.year || 1,
59121
59124
  displayTextOfYear: `${De.year}`
59122
- }, Rt.value = Le(Je.value), c.value === "year" ? p.value ? Ha(De) : t.emit("datePicked", De) : (h.value = !0, y.value = !1, R.value = Object.assign(R.value || {}, {
59125
+ }, Lt.value = Le(Je.value), c.value === "year" ? p.value ? Ha(De) : t.emit("datePicked", De) : (h.value = !0, y.value = !1, R.value = Object.assign(R.value || {}, {
59123
59126
  year: Je.value.year
59124
59127
  }), Io.value || Ha({
59125
59128
  year: Je.value.year,
@@ -59509,7 +59512,7 @@ const Jl = /* @__PURE__ */ ce({
59509
59512
  }, [r("div", {
59510
59513
  class: "f-datepicker-content",
59511
59514
  style: "width:287px"
59512
- }, [Fi(Ti.value, !1), $t.value(!1) && gl(ml.value, !1), h.value && vl(Fr.value, !1), y.value && wl(Mr.value, !1), C.value && p.value && qo(!1)]), e.showTime && !p.value && e.inlineDateTime && r("div", {
59515
+ }, [Fi(Ti.value, !1), Rt.value(!1) && gl(ml.value, !1), h.value && vl(Fr.value, !1), y.value && wl(Mr.value, !1), C.value && p.value && qo(!1)]), e.showTime && !p.value && e.inlineDateTime && r("div", {
59513
59516
  class: "f-datepicker-content position-relative datepicker-content-has-timer",
59514
59517
  style: "width:200px"
59515
59518
  }, [r("div", {
@@ -59530,10 +59533,10 @@ const Jl = /* @__PURE__ */ ce({
59530
59533
  }, null)]), e.showTime && !p.value && !e.inlineDateTime && C.value && qo(!1), Cl.value && c.value !== "week" && r("div", {
59531
59534
  class: "f-datepicker-content f-datepicker-secondary",
59532
59535
  style: "width:287px"
59533
- }, [Fi(ki.value, !0), $t.value(!0) && gl(wr.value, !0), g.value && vl(Pr.value, !0), b.value && wl(Er.value, !0), C.value && qo(!0)]), Ii.value && r("div", {
59536
+ }, [Fi(ki.value, !0), Rt.value(!0) && gl(wr.value, !0), g.value && vl(Pr.value, !0), b.value && wl(Er.value, !0), C.value && qo(!0)]), Ii.value && r("div", {
59534
59537
  class: "f-datepicker-commitBtn-wrapper",
59535
59538
  style: "justify-content: end;"
59536
- }, [!p.value && $t.value(!1) && r("button", xe(Se(e.id, "today"), {
59539
+ }, [!p.value && Rt.value(!1) && r("button", xe(Se(e.id, "today"), {
59537
59540
  class: "btn btn-link f-datepicker-select-btn",
59538
59541
  style: Mi.value(Q()),
59539
59542
  onClick: bl
@@ -59561,7 +59564,7 @@ const Jl = /* @__PURE__ */ ce({
59561
59564
  })]), !p.value && !Ii.value && r("div", {
59562
59565
  class: "f-datepicker-commitBtn-wrapper",
59563
59566
  style: "justify-content: center;"
59564
- }, [$t.value(!1) && r("button", xe(Se(e.id, "today"), {
59567
+ }, [Rt.value(!1) && r("button", xe(Se(e.id, "today"), {
59565
59568
  class: "btn btn-link",
59566
59569
  style: Mi.value(Q()),
59567
59570
  onClick: bl
@@ -59946,7 +59949,7 @@ const Jl = /* @__PURE__ */ ce({
59946
59949
  he(oe, !1);
59947
59950
  }
59948
59951
  function ae() {
59949
- return r("div", xe(Lt(n.id), {
59952
+ return r("div", xe($t(n.id), {
59950
59953
  class: "f-button-edit f-cmp-inputgroup f-button-edit-nowrap f-cmp-datepicker"
59951
59954
  }), [r("div", {
59952
59955
  class: z.value,
@@ -59997,7 +60000,7 @@ const Jl = /* @__PURE__ */ ce({
59997
60000
  }
59998
60001
  return () => r(ft, null, [n.splitSelection && ae(), !n.splitSelection && r(ft, null, [r("div", xe({
59999
60002
  ref: y
60000
- }, Lt(n.id), {
60003
+ }, $t(n.id), {
60001
60004
  class: $.value
60002
60005
  }), [r("div", {
60003
60006
  class: z.value,
@@ -61880,7 +61883,7 @@ const s4 = {
61880
61883
  o.value && c(null, !0);
61881
61884
  }), () => r("div", xe({
61882
61885
  ref: l
61883
- }, Lt(n.id)), [r("div", {
61886
+ }, $t(n.id)), [r("div", {
61884
61887
  class: ["farris-dropdown", "btn-group", {
61885
61888
  dropup: n.position === "top"
61886
61889
  }, {
@@ -63602,7 +63605,7 @@ const Zl = /* @__PURE__ */ ce({
63602
63605
  style: "font-size: 16px; font-weight: 600;"
63603
63606
  }, [se(" "), h.value])]), F.value && B(), F.value && P()]);
63604
63607
  }
63605
- return () => r("div", xe(Lt(n.id), {
63608
+ return () => r("div", xe($t(n.id), {
63606
63609
  class: "pagination-container d-flex",
63607
63610
  style: c
63608
63611
  }), [n.disabled && r("div", {
@@ -68514,7 +68517,7 @@ const Nd = /* @__PURE__ */ ce({
68514
68517
  parentContext: t
68515
68518
  }), te(() => n.modelValue, (m) => {
68516
68519
  l.value = m;
68517
- }), () => r("div", xe(Lt(n.id), {
68520
+ }), () => r("div", xe($t(n.id), {
68518
68521
  class: ["farris-input-wrap", "btn-group", c.value]
68519
68522
  }), [t.slots.default ? t.slots.default() : s.value.map((m, v) => {
68520
68523
  const h = Se(n.id, "option", d(m));
@@ -71173,7 +71176,7 @@ const C9 = /* @__PURE__ */ ce({
71173
71176
  return () => r("div", {
71174
71177
  class: "custom-control custom-checkbox mb-0",
71175
71178
  onClick: a
71176
- }, [qt(r("input", xe(Lt(e.id), {
71179
+ }, [qt(r("input", xe($t(e.id), {
71177
71180
  "onUpdate:modelValue": (o) => n.value = o,
71178
71181
  title: "checkbox-input",
71179
71182
  type: "checkbox",
@@ -76349,7 +76352,7 @@ const Yf = /* @__PURE__ */ ce({
76349
76352
  getConditions: G,
76350
76353
  updateConditions: K,
76351
76354
  updateFields: W
76352
- }), () => r("div", xe(Lt(n.id), {
76355
+ }), () => r("div", xe($t(n.id), {
76353
76356
  class: B.value,
76354
76357
  tabindex: "1",
76355
76358
  style: E.value
@@ -79243,7 +79246,7 @@ const So = /* @__PURE__ */ ce({
79243
79246
  ...W,
79244
79247
  disabled: !0
79245
79248
  })) : g.value;
79246
- return r("div", xe(Lt(n.id), {
79249
+ return r("div", xe($t(n.id), {
79247
79250
  class: "f-list-filter d-flex list-filter--" + n.tileShowType + n.customClass,
79248
79251
  style: F.value
79249
79252
  }), [n.tileShowType !== "all-in-one" && r("div", {
@@ -79274,7 +79277,7 @@ const So = /* @__PURE__ */ ce({
79274
79277
  disabled: n.disabled
79275
79278
  }), [s.value])]), I()]);
79276
79279
  }
79277
- return () => n.filterType === "light" ? r("div", xe(Lt(n.id), {
79280
+ return () => n.filterType === "light" ? r("div", xe($t(n.id), {
79278
79281
  class: "f-filter-wrapper " + n.customClass,
79279
79282
  style: F.value
79280
79283
  }), [r("div", {
@@ -80378,7 +80381,7 @@ function YT(e, t) {
80378
80381
  const ye = ue(Te) - W.clientX, Oe = fe(Te) - W.clientY;
80379
80382
  i.value.x1 = W.x1 + ye, i.value.y1 = W.y1 + Oe, i.value.x2 = W.x2 + ye, i.value.y2 = W.y2 + Oe;
80380
80383
  }
80381
- const { checkAspectRatio: Rt } = aK(i, L, d, W);
80384
+ const { checkAspectRatio: Lt } = aK(i, L, d, W);
80382
80385
  function xt(Te) {
80383
80386
  const ye = ue(Te) - W.clientX, Oe = fe(Te) - W.clientY;
80384
80387
  switch (W.position) {
@@ -80411,7 +80414,7 @@ function YT(e, t) {
80411
80414
  i.value.x1 = Math.min(W.clientX - vt / 2, i.value.x2 - j), i.value.y1 = Math.min(W.clientY - At / 2, i.value.y2 - R), i.value.x2 = Math.max(W.clientX + vt / 2, je + j), i.value.y2 = Math.max(W.clientY + At / 2, tt + R);
80412
80415
  break;
80413
80416
  }
80414
- u.value && Rt();
80417
+ u.value && Lt();
80415
80418
  }
80416
80419
  function St(Te) {
80417
80420
  W && W.active && (Te.stopPropagation && Te.stopPropagation(), Te.preventDefault && Te.preventDefault(), clearTimeout(P), P = setTimeout(() => {
@@ -83718,7 +83721,7 @@ const Ec = /* @__PURE__ */ ce({
83718
83721
  o.value = x(a.value), l.value = x(i.value);
83719
83722
  }), () => r("div", xe({
83720
83723
  class: "input-group number-range f-cmp-number-spinner"
83721
- }, Lt(n.id)), [r("div", {
83724
+ }, $t(n.id)), [r("div", {
83722
83725
  class: "form-control input-container"
83723
83726
  }, [r("div", {
83724
83727
  class: "sub-input-group"
@@ -84636,7 +84639,7 @@ const fX = Hb(), pX = mn(
84636
84639
  a.value = x;
84637
84640
  }, {
84638
84641
  deep: !0
84639
- }), () => n.visible ? r("div", xe(Lt(n.id), {
84642
+ }), () => n.visible ? r("div", xe($t(n.id), {
84640
84643
  class: l.value
84641
84644
  }), [r("nav", {
84642
84645
  class: "f-page-header-base"
@@ -85184,7 +85187,7 @@ const Av = {
85184
85187
  deep: !0
85185
85188
  }), () => n.visible ? r("div", xe({
85186
85189
  class: k.value
85187
- }, Lt(n.id)), [r("footer", {
85190
+ }, $t(n.id)), [r("footer", {
85188
85191
  class: "f-cmp-footer-container"
85189
85192
  }, [c.value && F(), T(), r("div", {
85190
85193
  class: M.value
@@ -93919,7 +93922,7 @@ const jc = /* @__PURE__ */ ce({
93919
93922
  return () => d.value ? r("div", xe({
93920
93923
  class: z.value,
93921
93924
  style: j.value
93922
- }, Lt(n.id)), [R.value ? null : K(), m.value ? r("div", {
93925
+ }, $t(n.id)), [R.value ? null : K(), m.value ? r("div", {
93923
93926
  class: "uploadAndpreview--content"
93924
93927
  }, [R.value ? r("table", {
93925
93928
  class: "table table-bordered uploadAndpreview--table"
@@ -93928,7 +93931,7 @@ const jc = /* @__PURE__ */ ce({
93928
93931
  }, [se("无附件信息")])]) : null, R.value ? K() : null]) : r("div", xe({
93929
93932
  class: z.value,
93930
93933
  style: j.value
93931
- }, Lt(n.id)), [r("div", {
93934
+ }, $t(n.id)), [r("div", {
93932
93935
  class: "uploadAndpreview--header"
93933
93936
  }, [re(), Ce(), me()]), R.value ? null : K(), m.value || p.value ? r("div", {
93934
93937
  class: "uploadAndpreview--content"
@@ -108678,7 +108681,7 @@ const ide = {
108678
108681
  }
108679
108682
  return "";
108680
108683
  });
108681
- return () => o.value && r("div", xe(Lt(e.id), {
108684
+ return () => o.value && r("div", xe($t(e.id), {
108682
108685
  class: "farris-feedback f-state-invalid",
108683
108686
  onClick: () => a.value = !a.value
108684
108687
  }), [!a.value && r("span", {
@@ -109803,13 +109806,13 @@ function u1(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g, y, b, C, w) {
109803
109806
  } = Ade(e, i, l, d, h, g, o), me = N(() => e.displayType === "Card" ? 30 : 35), ve = N(() => V.value.headerDepth * me.value + Ce.value), we = /* @__PURE__ */ new Map([[0, 0]]), Ae = N(() => e.showHeader);
109804
109807
  function ie(ue, fe) {
109805
109808
  var Te, ye;
109806
- const Ve = ((Te = ue.column) == null ? void 0 : Te.dataType) === "setting", Xe = !!((ye = ue.children) != null && ye.length && V.value.headerDepth > 1), Je = we.get(fe) || 0, Rt = me.value, xt = Ce.value, St = {
109807
- height: `${gV(ue.depth, Xe, Rt, xt)}px`,
109809
+ const Ve = ((Te = ue.column) == null ? void 0 : Te.dataType) === "setting", Xe = !!((ye = ue.children) != null && ye.length && V.value.headerDepth > 1), Je = we.get(fe) || 0, Lt = me.value, xt = Ce.value, St = {
109810
+ height: `${gV(ue.depth, Xe, Lt, xt)}px`,
109808
109811
  left: `${ue.left}px`,
109809
- top: `${(ue.layer - 1) * Rt}px`,
109812
+ top: `${(ue.layer - 1) * Lt}px`,
109810
109813
  width: `${ue.actualWidth}px`
109811
109814
  };
109812
- return V.value.headerDepth > 1 && !Q.value && (St["line-height"] = `${ue.depth * Rt}px`), Ve && (St.paddingLeft = "2px"), e.showBorder && (St.border = "1px solid #e6e9f0"), we.set(fe + 1, Je + (ue.actualWidth || q)), St;
109815
+ return V.value.headerDepth > 1 && !Q.value && (St["line-height"] = `${ue.depth * Lt}px`), Ve && (St.paddingLeft = "2px"), e.showBorder && (St.border = "1px solid #e6e9f0"), we.set(fe + 1, Je + (ue.actualWidth || q)), St;
109813
109816
  }
109814
109817
  function he(ue, fe) {
109815
109818
  var Xe;
@@ -109876,7 +109879,7 @@ function u1(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g, y, b, C, w) {
109876
109879
  return !!(e.hierarchy && fe === 0 && ((Ve = ue.column) == null ? void 0 : Ve.dataType) !== _n && ((Xe = ue.column) == null ? void 0 : Xe.dataType) !== Un);
109877
109880
  }
109878
109881
  function pe(ue, fe, Ve) {
109879
- var Rt, xt, St, Te, ye;
109882
+ var Lt, xt, St, Te, ye;
109880
109883
  const Xe = le(ue, Ve) && T.value, Je = le(ue, Ve) && x.value && !T.value;
109881
109884
  return r(ft, null, [Xe && r("span", {
109882
109885
  style: "margin-left: .75rem; margin-right: .5rem"
@@ -109890,7 +109893,7 @@ function u1(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g, y, b, C, w) {
109890
109893
  style: "margin-left: .75rem; margin-right: .5rem; opacity: 0"
109891
109894
  }, [r(ho, {
109892
109895
  disabled: !0
109893
- }, null)]), ((Rt = ue.column) == null ? void 0 : Rt.dataType) === "setting" && e.showSetting && e.displayType !== "Card" ? be() : t.slots.headerCellTemplate ? t.slots.headerCellTemplate({
109896
+ }, null)]), ((Lt = ue.column) == null ? void 0 : Lt.dataType) === "setting" && e.showSetting && e.displayType !== "Card" ? be() : t.slots.headerCellTemplate ? t.slots.headerCellTemplate({
109894
109897
  headerCell: ue,
109895
109898
  headerCells: fe,
109896
109899
  columnIndex: Ve
@@ -109911,7 +109914,7 @@ function u1(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g, y, b, C, w) {
109911
109914
  var xt;
109912
109915
  const Xe = ue.depth * me.value, Je = Q.value ? {
109913
109916
  height: `${Xe}px`
109914
- } : void 0, Rt = Q.value && V.value.headerDepth > 1 && ((xt = ue.children) != null && xt.length) ? {
109917
+ } : void 0, Lt = Q.value && V.value.headerDepth > 1 && ((xt = ue.children) != null && xt.length) ? {
109915
109918
  lineHeight: `${Xe}px`
109916
109919
  } : void 0;
109917
109920
  if (Q.value) {
@@ -109937,7 +109940,7 @@ function u1(e, t, n, a, o, i, l, s, u, d, p, c, f, m, v, h, g, y, b, C, w) {
109937
109940
  class: "fv-grid-header-title",
109938
109941
  style: {
109939
109942
  ...Je,
109940
- ...Rt
109943
+ ...Lt
109941
109944
  }
109942
109945
  }, [pe(ue, fe, Ve)]), r("div", {
109943
109946
  class: "fv-grid-header-filter"
@@ -116177,9 +116180,9 @@ function di(e, t, n, a, o) {
116177
116180
  const Re = [], ze = [], et = [];
116178
116181
  for (; Ct < ct; ) {
116179
116182
  const it = je.slice(Ct * tt, (Ct + 1) * tt), ht = g(y.value, it, t);
116180
- ze[Ct] = ht.filter(($t) => $t.__fv_data_grid_group_row__).length, Re.push(...ht), Ct++;
116183
+ ze[Ct] = ht.filter((Rt) => Rt.__fv_data_grid_group_row__).length, Re.push(...ht), Ct++;
116181
116184
  }
116182
- return ze.reduce((it, ht, $t) => (it = it + ht, et.push(it), it), 0), {
116185
+ return ze.reduce((it, ht, Rt) => (it = it + ht, et.push(it), it), 0), {
116183
116186
  groupData: Re,
116184
116187
  groupRowSizeList: ze,
116185
116188
  accumulateGroupRowSize: et
@@ -116187,31 +116190,31 @@ function di(e, t, n, a, o) {
116187
116190
  }
116188
116191
  function Ce() {
116189
116192
  var ht;
116190
- z.value = C.value, q.value && (Y.value = z.value.length), b.value && !q.value && (z.value = g(y.value, C.value, t)), K = W.value.reduce(($t, zt) => ($t.set(zt, 0), $t), K);
116193
+ z.value = C.value, q.value && (Y.value = z.value.length), b.value && !q.value && (z.value = g(y.value, C.value, t)), K = W.value.reduce((Rt, zt) => (Rt.set(zt, 0), Rt), K);
116191
116194
  const je = 0, tt = _(), ct = (H.value - 1) * tt;
116192
116195
  let Re = ct > z.value.length - 1 || Q.value ? je : ct, ze = Q.value ? z.value.length : Math.min(Re + tt, z.value.length);
116193
116196
  if (b.value && q.value) {
116194
- const { accumulateGroupRowSize: $t, groupData: zt, groupRowSizeList: Pt } = re(C.value, tt);
116197
+ const { accumulateGroupRowSize: Rt, groupData: zt, groupRowSizeList: Pt } = re(C.value, tt);
116195
116198
  z.value = zt;
116196
116199
  const Ht = Pt[H.value - 1];
116197
- Re += H.value - 2 < 0 ? 0 : $t[H.value - 2], ze = Re + tt + Ht;
116200
+ Re += H.value - 2 < 0 ? 0 : Rt[H.value - 2], ze = Re + tt + Ht;
116198
116201
  }
116199
116202
  let et = 0;
116200
116203
  const it = [];
116201
116204
  if (z.value.length) {
116202
116205
  L(z.value);
116203
- const $t = V.value !== e.idField;
116206
+ const Rt = V.value !== e.idField;
116204
116207
  for (let zt = Re; zt < ze; zt++) {
116205
116208
  const Pt = z.value[zt];
116206
- Pt.__fv_data_grid_group_row__ || Pt.__fv_data_grid_group_summary__ ? Pt.__fv_data_index__ = "" : b.value && Pt.__fv_original_data_index__ !== void 0 ? Pt.__fv_data_index__ = Pt.__fv_original_data_index__ + (H.value - 1) * tt : (et++, Pt.__fv_data_index__ = et + (H.value - 1) * tt), Pt.__fv_index__ = zt - Re, Pt.__fv_visible_index__ = zt - Re, e.rowOption && e.rowOption.disabledField && (Pt.__fv_disabled__ = Pt[(ht = e.rowOption) == null ? void 0 : ht.disabledField]), $t && (Pt[V.value] = zt), W.value.forEach((Ht) => {
116209
+ Pt.__fv_data_grid_group_row__ || Pt.__fv_data_grid_group_summary__ ? Pt.__fv_data_index__ = "" : b.value && Pt.__fv_original_data_index__ !== void 0 ? Pt.__fv_data_index__ = Pt.__fv_original_data_index__ + (H.value - 1) * tt : (et++, Pt.__fv_data_index__ = et + (H.value - 1) * tt), Pt.__fv_index__ = zt - Re, Pt.__fv_visible_index__ = zt - Re, e.rowOption && e.rowOption.disabledField && (Pt.__fv_disabled__ = Pt[(ht = e.rowOption) == null ? void 0 : ht.disabledField]), Rt && (Pt[V.value] = zt), W.value.forEach((Ht) => {
116207
116210
  const Sn = K.get(Ht) || 0;
116208
116211
  !Pt.__fv_data_grid_group_row__ && !Pt.__fv_data_grid_group_summary__ && K.set(Ht, l([Sn, Ot(Pt, Ht) || 0]));
116209
116212
  }), it.push(Pt);
116210
116213
  }
116211
116214
  }
116212
- return I.value && F(it), W.value.forEach(($t) => {
116213
- const zt = K.get($t) || 0;
116214
- K.set($t, s(zt, 2));
116215
+ return I.value && F(it), W.value.forEach((Rt) => {
116216
+ const zt = K.get(Rt) || 0;
116217
+ K.set(Rt, s(zt, 2));
116215
116218
  }), j.value = [...it], it;
116216
116219
  }
116217
116220
  const me = S(Ce()), ve = N(() => (O.value, me.value.filter((je) => I.value ? je.__fv_visible__ !== !1 && E(je) : je.__fv_visible__ !== !1)));
@@ -116226,8 +116229,8 @@ function di(e, t, n, a, o) {
116226
116229
  let Ct = [];
116227
116230
  for (const Re of je)
116228
116231
  Re.__fv_data_grid_group_row__ || Re.__fv_data_grid_group_summary__ ? (Ct.length > 0 && (Ct.sort((ze, et) => {
116229
- const it = [...tt], ht = it.shift(), $t = Ot(ze, ht.field) === void 0 || Ot(ze, ht.field) === null ? "" : Ot(ze, ht.field), zt = Ot(et, ht.field) === void 0 || Ot(et, ht.field) === null ? "" : Ot(et, ht.field);
116230
- let Pt = ht.compare($t, zt);
116232
+ const it = [...tt], ht = it.shift(), Rt = Ot(ze, ht.field) === void 0 || Ot(ze, ht.field) === null ? "" : Ot(ze, ht.field), zt = Ot(et, ht.field) === void 0 || Ot(et, ht.field) === null ? "" : Ot(et, ht.field);
116233
+ let Pt = ht.compare(Rt, zt);
116231
116234
  for (; Pt === 0 && it.length !== 0; ) {
116232
116235
  const Ht = it.shift();
116233
116236
  if (Ht) {
@@ -116238,8 +116241,8 @@ function di(e, t, n, a, o) {
116238
116241
  return Pt;
116239
116242
  }), ct.push(...Ct), Ct = []), ct.push(Re)) : Ct.push(Re);
116240
116243
  return Ct.length > 0 && (Ct.sort((Re, ze) => {
116241
- const et = [...tt], it = et.shift(), ht = Ot(Re, it.field) === void 0 || Ot(Re, it.field) === null ? "" : Ot(Re, it.field), $t = Ot(ze, it.field) === void 0 || Ot(ze, it.field) === null ? "" : Ot(ze, it.field);
116242
- let zt = it.compare(ht, $t);
116244
+ const et = [...tt], it = et.shift(), ht = Ot(Re, it.field) === void 0 || Ot(Re, it.field) === null ? "" : Ot(Re, it.field), Rt = Ot(ze, it.field) === void 0 || Ot(ze, it.field) === null ? "" : Ot(ze, it.field);
116245
+ let zt = it.compare(ht, Rt);
116243
116246
  for (; zt === 0 && et.length !== 0; ) {
116244
116247
  const Pt = et.shift();
116245
116248
  if (Pt) {
@@ -116282,12 +116285,12 @@ function di(e, t, n, a, o) {
116282
116285
  let Re = Ct;
116283
116286
  ((Pt = e.filter) == null ? void 0 : Pt.mode) !== "server" && (Re = Ct.filter((Ht) => Ht.__fv_data_grid_group_row__ ? !0 : n.apply(Ht)), Re = he(Re));
116284
116287
  const ze = je && je.length ? je : [], it = tt && tt.length > 0 ? ie(Re, tt) : Re, ht = _();
116285
- let $t = 0;
116288
+ let Rt = 0;
116286
116289
  for (const Ht of it)
116287
116290
  if (Ht.__fv_data_grid_group_row__) {
116288
116291
  const Sn = `group_of_${Ht.__fv_data_grid_group_field__}_${Ht.__fv_data_grid_group_value__}`;
116289
116292
  Ht.__fv_data_grid_group_collapse__ = !!u.get(Sn), Ht.__fv_data_index__ = "";
116290
- } else Ht.__fv_data_grid_group_summary__ ? Ht.__fv_data_index__ = "" : ($t++, Ht.__fv_data_index__ = $t + (H.value - 1) * ht);
116293
+ } else Ht.__fv_data_grid_group_summary__ ? Ht.__fv_data_index__ = "" : (Rt++, Ht.__fv_data_index__ = Rt + (H.value - 1) * ht);
116291
116294
  let zt = it;
116292
116295
  return ze.length && (zt = it.filter((Ht) => ze.reduce((Sn, na) => Sn && na.filter(Ht), !0))), me.value = zt.map((Ht, Sn) => {
116293
116296
  if (Ht.__fv_data_grid_group_row__) {
@@ -116415,7 +116418,7 @@ function di(e, t, n, a, o) {
116415
116418
  const tt = je ? je - 1 : 0;
116416
116419
  C.value.splice(tt, 1), Me();
116417
116420
  }
116418
- function Rt(je) {
116421
+ function Lt(je) {
116419
116422
  const tt = C.value.findIndex((ct) => ct[V.value] === je);
116420
116423
  tt !== -1 && (C.value.splice(tt, 1), Me());
116421
116424
  }
@@ -116505,7 +116508,7 @@ function di(e, t, n, a, o) {
116505
116508
  refresh: St,
116506
116509
  removeAllFilter: ot,
116507
116510
  removeDataItem: Je,
116508
- removeDataItemById: Rt,
116511
+ removeDataItemById: Lt,
116509
116512
  removeFilter: qe,
116510
116513
  removeHierarchyDataItem: xt,
116511
116514
  removeSorter: oe,
@@ -117523,8 +117526,8 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117523
117526
  if ($.value.has(it))
117524
117527
  et += $.value.get(it) || u.value;
117525
117528
  else if ($.value.size > 0) {
117526
- const $t = Array.from($.value.values()).reduce((zt, Pt) => zt + Pt, 0) / $.value.size;
117527
- et += $t;
117529
+ const Rt = Array.from($.value.values()).reduce((zt, Pt) => zt + Pt, 0) / $.value.size;
117530
+ et += Rt;
117528
117531
  } else
117529
117532
  et += u.value;
117530
117533
  return et;
@@ -117560,8 +117563,8 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117560
117563
  if ($.value.has(it))
117561
117564
  ze += $.value.get(it) || u.value;
117562
117565
  else if ($.value.size > 0) {
117563
- const $t = Array.from($.value.values()).reduce((zt, Pt) => zt + Pt, 0) / $.value.size;
117564
- ze += $t;
117566
+ const Rt = Array.from($.value.values()).reduce((zt, Pt) => zt + Pt, 0) / $.value.size;
117567
+ ze += Rt;
117565
117568
  } else
117566
117569
  ze += u.value;
117567
117570
  if (ze > Re)
@@ -117575,9 +117578,9 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117575
117578
  }
117576
117579
  function _(Re, ze, et) {
117577
117580
  let it = Re, ht = ze;
117578
- const $t = ze - Re + 1;
117579
- if ($t < l + i.value + l) {
117580
- const zt = l + i.value + l - $t, Pt = ze + zt <= et, Ht = 0 + zt <= Re;
117581
+ const Rt = ze - Re + 1;
117582
+ if (Rt < l + i.value + l) {
117583
+ const zt = l + i.value + l - Rt, Pt = ze + zt <= et, Ht = 0 + zt <= Re;
117581
117584
  if (Pt)
117582
117585
  ht += zt, k = ht;
117583
117586
  else if (Ht)
@@ -117595,7 +117598,7 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117595
117598
  n.value = [];
117596
117599
  return;
117597
117600
  }
117598
- const et = Math.max(F - l, 0), it = ze[ze.length - 1].__fv_visible_index__, ht = Math.min(k + l, it), { actualStart: $t, actualEnd: zt } = _(et, ht, it), Pt = ze[$t - 1], Ht = h($t, zt, Pt, Re);
117601
+ const et = Math.max(F - l, 0), it = ze[ze.length - 1].__fv_visible_index__, ht = Math.min(k + l, it), { actualStart: Rt, actualEnd: zt } = _(et, ht, it), Pt = ze[Rt - 1], Ht = h(Rt, zt, Pt, Re);
117599
117602
  n.value = Ht.length ? [...Ht] : [];
117600
117603
  }
117601
117604
  const q = N(() => j() > P.value && !d.value), Q = N(() => e.autoExpandWidth ? !1 : Math.floor(b.value) > B.value && !d.value);
@@ -117659,12 +117662,12 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117659
117662
  transform: `translateY(${x.value}px)`
117660
117663
  })), oe = N(() => {
117661
117664
  var Ht, Sn, na;
117662
- const Re = Z(), ze = (Ht = e.columnOption) == null ? void 0 : Ht.fitColumns, et = ze === !0 || typeof ze == "object" && ze !== null && ze.enable === !0, it = d.value && et && e.fit, ht = d.value && e.displayType === "Card" && !((Sn = e.columns) != null && Sn.length), $t = d.value && e.displayType === "Card" && (((na = e.columns) == null ? void 0 : na.length) ?? 0) > 0 && et && e.fit, zt = it || ht, Pt = {
117665
+ const Re = Z(), ze = (Ht = e.columnOption) == null ? void 0 : Ht.fitColumns, et = ze === !0 || typeof ze == "object" && ze !== null && ze.enable === !0, it = d.value && et && e.fit, ht = d.value && e.displayType === "Card" && !((Sn = e.columns) != null && Sn.length), Rt = d.value && e.displayType === "Card" && (((na = e.columns) == null ? void 0 : na.length) ?? 0) > 0 && et && e.fit, zt = it || ht, Pt = {
117663
117666
  height: d.value ? "100%" : `${Re}px`,
117664
117667
  width: zt ? "100%" : `${b.value}px`,
117665
117668
  transform: d.value ? "translate(0px, 0px)" : `translate(${T.value}px, ${x.value}px)`
117666
117669
  };
117667
- return d.value && (Pt.overflow = "visible"), ht && (Pt.maxWidth = "100%", Pt.minWidth = "0", Pt.boxSizing = "border-box", Pt.overflowX = "hidden", Pt.overflowY = "visible"), $t && (Pt.maxWidth = "100%", Pt.minWidth = "0", Pt.boxSizing = "border-box", Pt.overflowX = "hidden"), Pt;
117670
+ return d.value && (Pt.overflow = "visible"), ht && (Pt.maxWidth = "100%", Pt.minWidth = "0", Pt.boxSizing = "border-box", Pt.overflowX = "hidden", Pt.overflowY = "visible"), Rt && (Pt.maxWidth = "100%", Pt.minWidth = "0", Pt.boxSizing = "border-box", Pt.overflowX = "hidden"), Pt;
117668
117671
  }), be = N(() => ({
117669
117672
  transform: `translate(${T.value}px, ${x.value}px)`
117670
117673
  })), qe = N(() => ({
@@ -117709,39 +117712,39 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117709
117712
  function Xe(Re) {
117710
117713
  const ze = Re instanceof MouseEvent ? Re.pageX : Re.touches[0].pageX;
117711
117714
  if (st.value && fe.value !== -1) {
117712
- const et = fe.value - ze, it = Math.max(M.value - U.value, 0), ht = Math.max(b.value - B.value, 0), $t = Sb({
117715
+ const et = fe.value - ze, it = Math.max(M.value - U.value, 0), ht = Math.max(b.value - B.value, 0), Rt = Sb({
117713
117716
  mouseOffset: et,
117714
117717
  trackTravel: it,
117715
117718
  contentTravel: ht
117716
117719
  });
117717
- $t !== 0 && me($t), fe.value = ze;
117720
+ Rt !== 0 && me(Rt), fe.value = ze;
117718
117721
  }
117719
117722
  }
117720
117723
  function Je(Re) {
117721
117724
  if (st.value && ue.value !== -1) {
117722
117725
  const ze = ue.value - Re.pageY, et = j(), it = et - R.value, ht = P.value - R.value;
117723
117726
  if (ht !== 0 && Math.abs(ze) <= it) {
117724
- const $t = ze / ht * (et - P.value);
117725
- Ce($t), ue.value = Re.pageY;
117727
+ const Rt = ze / ht * (et - P.value);
117728
+ Ce(Rt), ue.value = Re.pageY;
117726
117729
  }
117727
117730
  }
117728
117731
  }
117729
- function Rt(Re) {
117732
+ function Lt(Re) {
117730
117733
  const { pageX: ze } = Re.touches[0];
117731
117734
  if (st.value && fe.value !== -1) {
117732
- const et = fe.value - ze, it = Math.max(M.value - U.value, 0), ht = Math.max(b.value - B.value, 0), $t = Sb({
117735
+ const et = fe.value - ze, it = Math.max(M.value - U.value, 0), ht = Math.max(b.value - B.value, 0), Rt = Sb({
117733
117736
  mouseOffset: et,
117734
117737
  trackTravel: it,
117735
117738
  contentTravel: ht
117736
117739
  });
117737
- $t !== 0 && me($t), fe.value = ze;
117740
+ Rt !== 0 && me(Rt), fe.value = ze;
117738
117741
  }
117739
117742
  }
117740
117743
  function xt(Re) {
117741
117744
  const { pageX: ze, pageY: et } = Re.touches[0];
117742
117745
  if (st.value && ue.value !== -1) {
117743
- const it = ue.value - et, ht = j(), $t = ht - R.value, zt = P.value - R.value;
117744
- if (zt !== 0 && Math.abs(it) <= $t) {
117746
+ const it = ue.value - et, ht = j(), Rt = ht - R.value, zt = P.value - R.value;
117747
+ if (zt !== 0 && Math.abs(it) <= Rt) {
117745
117748
  const Pt = it / zt * (ht - P.value);
117746
117749
  Ce(Pt), ue.value = et;
117747
117750
  }
@@ -117760,17 +117763,17 @@ function pl(e, t, n, a, o, i, l, s, u, d, p, c) {
117760
117763
  it && (it.style.opacity = "1", Ve.value = it);
117761
117764
  const ht = et === "horizontal" ? Xe : vp(Je, 50);
117762
117765
  D || (D = ht);
117763
- const { pageX: $t } = Re, { pageY: zt } = Re;
117766
+ const { pageX: Rt } = Re, { pageY: zt } = Re;
117764
117767
  et === "vertical" && (ue.value = Re.pageY), et === "horizontal" && (fe.value = Re.pageX), ze.value && (ze.value, document.addEventListener("mousemove", D), document.addEventListener("mouseup", St), document.body.style.userSelect = "none");
117765
117768
  }
117766
117769
  function Oe(Re) {
117767
117770
  const { pageX: ze, pageY: et } = Re.touches[0], it = Math.abs(ze - fe.value), ht = Math.abs(et - ue.value);
117768
- ht > it && ht > 5 ? (V || (V = vp(xt, 50)), document.addEventListener("touchmove", V), document.removeEventListener("touchmove", Oe)) : it > ht && it > 5 && (O || (O = Rt), document.addEventListener("touchmove", O), document.removeEventListener("touchmove", Oe)), fe.value = ze, ue.value = et;
117771
+ ht > it && ht > 5 ? (V || (V = vp(xt, 50)), document.addEventListener("touchmove", V), document.removeEventListener("touchmove", Oe)) : it > ht && it > 5 && (O || (O = Lt), document.addEventListener("touchmove", O), document.removeEventListener("touchmove", Oe)), fe.value = ze, ue.value = et;
117769
117772
  }
117770
117773
  function Ye(Re, ze) {
117771
- var $t;
117774
+ var Rt;
117772
117775
  p == null || p.onClickOutOfCell(Re), st.value = !0;
117773
- const et = ($t = Re.target) == null ? void 0 : $t.parentElement;
117776
+ const et = (Rt = Re.target) == null ? void 0 : Rt.parentElement;
117774
117777
  et && (et.style.opacity = "1", Ve.value = et);
117775
117778
  const { pageX: it, pageY: ht } = Re.touches[0];
117776
117779
  fe.value = it, ue.value = ht, ze.value && (ze.value, document.addEventListener("touchmove", Oe), document.addEventListener("touchend", Te), document.body.style.userSelect = "none");
@@ -119657,7 +119660,7 @@ const si = /* @__PURE__ */ ce({
119657
119660
  w.value = le(0, z.value + s - 1);
119658
119661
  }), Ve = hh(o, he, g, nt, J), {
119659
119662
  calculateColumnsSize: Xe
119660
- } = Ve, Je = W1(), Rt = $1(g, C, I, Je, ke), xt = j1(o, a, we, I, J, F, ke), St = N(() => {
119663
+ } = Ve, Je = W1(), Lt = $1(g, C, I, Je, ke), xt = j1(o, a, we, I, J, F, ke), St = N(() => {
119661
119664
  const Fe = {
119662
119665
  "fv-grid": !0,
119663
119666
  "fv-grid-bordered": n.showBorder,
@@ -119686,7 +119689,7 @@ const si = /* @__PURE__ */ ce({
119686
119689
  renderGridHeader: At,
119687
119690
  renderGridColumnResizeOverlay: je,
119688
119691
  shouldShowHeader: tt
119689
- } = u1(o, a, g, b, C, we, I, xt, Rt, k, Je, Ve, J, D, Ie, Ae, ke, nt, w, l, vt), {
119692
+ } = u1(o, a, g, b, C, we, I, xt, Lt, k, Je, Ve, J, D, Ie, Ae, ke, nt, w, l, vt), {
119690
119693
  renderDataGridSidebar: ct
119691
119694
  } = fh(o, ae, D, Ie, ke), {
119692
119695
  renderDisableMask: Ct
@@ -119716,7 +119719,7 @@ const si = /* @__PURE__ */ ce({
119716
119719
  }), Yt(() => {
119717
119720
  et !== null && cancelAnimationFrame(et);
119718
119721
  });
119719
- function $t(Fe) {
119722
+ function Rt(Fe) {
119720
119723
  I.collapseTo(Fe), I.reOrderVisibleIndex(), st();
119721
119724
  }
119722
119725
  function zt(Fe) {
@@ -119982,7 +119985,7 @@ const si = /* @__PURE__ */ ce({
119982
119985
  addNewDataItem: Ht,
119983
119986
  addNewChildDataItem: Sn,
119984
119987
  addChildrenToNode: na,
119985
- collapseTo: $t,
119988
+ collapseTo: Rt,
119986
119989
  expandTo: zt,
119987
119990
  removeDataItem: wi,
119988
119991
  editDataItem: Si,
@@ -120132,7 +120135,7 @@ const si = /* @__PURE__ */ ce({
120132
120135
  }, null)]
120133
120136
  })])]), r("div", xe({
120134
120137
  ref: h
120135
- }, Lt(n.id), {
120138
+ }, $t(n.id), {
120136
120139
  class: St.value,
120137
120140
  style: wl.value,
120138
120141
  onWheel: $e
@@ -122548,7 +122551,7 @@ const Upe = /* @__PURE__ */ ce({
122548
122551
  return Be(() => {
122549
122552
  }), () => {
122550
122553
  var c, f, m, v;
122551
- return r(ft, null, [u.value && r("div", xe(Lt(n.id), {
122554
+ return r(ft, null, [u.value && r("div", xe($t(n.id), {
122552
122555
  class: o.value,
122553
122556
  style: "border-radius:0;border: 1px solid #E8EBF2;",
122554
122557
  onClick: p
@@ -122559,7 +122562,7 @@ const Upe = /* @__PURE__ */ ce({
122559
122562
  type: "radio",
122560
122563
  class: "custom-control-input",
122561
122564
  name: s.value
122562
- }, Lt(n.id), {
122565
+ }, $t(n.id), {
122563
122566
  value: n.value,
122564
122567
  checked: i.value,
122565
122568
  disabled: l.value
@@ -125887,7 +125890,7 @@ export {
125887
125890
  Xt as isMobilePhone,
125888
125891
  vb as isSameDataId,
125889
125892
  dh as loadRegister,
125890
- Lt as locatorAttrs,
125893
+ $t as locatorAttrs,
125891
125894
  Se as locatorChild,
125892
125895
  Gl as locatorGridCell,
125893
125896
  VV as locatorGridCmd,