@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.
@@ -1,7 +1,7 @@
1
1
  var _C = Object.defineProperty;
2
2
  var $C = (e, n, t) => n in e ? _C(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var J = (e, n, t) => $C(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as x, watch as te, computed as V, createVNode as s, resolveComponent as Gn, isVNode as Fn, mergeProps as ge, nextTick as St, inject as Ye, Fragment as It, defineComponent as be, createTextVNode as Ee, withDirectives as Yt, vModelCheckbox as ks, shallowRef as ko, onMounted as Xe, onUnmounted as Kt, provide as sn, Teleport as Aa, createApp as $o, onBeforeMount as Ai, watchEffect as Fs, Transition as Lr, render as hi, h as Bc, cloneVNode as pm, vShow as Ya, onUpdated as mm, onBeforeUnmount as Vi, withModifiers as Gt, vModelText as to, toRef as jC, reactive as At, getCurrentInstance as Fl, resolveDirective as na, Comment as hm, toRefs as Di, toRaw as HC, vModelSelect as WC, isRef as zC, triggerRef as qC } from "vue";
4
+ import { ref as x, watch as te, computed as V, createVNode as s, resolveComponent as Gn, isVNode as Fn, mergeProps as ge, nextTick as St, inject as Ye, Fragment as Et, defineComponent as be, createTextVNode as Ee, withDirectives as Yt, vModelCheckbox as ks, shallowRef as ko, onMounted as Xe, onUnmounted as Kt, provide as sn, Teleport as Aa, createApp as $o, onBeforeMount as Ai, watchEffect as Fs, Transition as Lr, render as hi, h as Bc, cloneVNode as pm, vShow as Ya, onUpdated as mm, onBeforeUnmount as Vi, withModifiers as Gt, vModelText as to, toRef as jC, reactive as At, getCurrentInstance as Fl, resolveDirective as na, Comment as hm, toRefs as Di, toRaw as HC, vModelSelect as WC, isRef as zC, triggerRef as qC } from "vue";
5
5
  import Pl, { FCheckbox as Ea } from "../checkbox/index.esm.js";
6
6
  import Va from "../popover/index.esm.js";
7
7
  import { locatorChild as pe, useCommonUtils as Kn, resolveField as Pt, setFieldValue as Nr, useNumberFormat as Ml, useFarrisConfig as gm, useGuid as bn, getCustomClass as Vt, isMobilePhone as en, withInstall as $t, isImageUrl as UC, urlPrependBasePath as li, isBase64ImageUrl as GC, getCustomStyle as dn, FormSchemaEntityField$Type as Pi, FormSchemaEntityFieldType$Type as si, EVENT_PROPERTY_TAB_IDS as Yn, useLocatorProps as Ht, locatorAttrs as Bt, extractDataAttrs as ga, getMaxZIndex as bl, useInputExpand as Ac, useDateFormat as qn, useResizeObserver as _u, CHECKBOX_CONTEXT as Vc, useCheck as Dc, radioCheckboxCommonProps as vm, useTouchMomentum as YC, useTouch as KC, useBem as Mn, useThirdComponent as ym, queryAllById as QC, FormSchemaEntityFieldTypeName as oa, formatTime as XC, getDateObject as Wa, isLeapYear as JC, compareDate as Rr, getDaysInMonth as ZC, useTextBox as bm, useClear as Cm, encrypt as ew, formatDate as tw, useDelayedRef as nw, RADIOGROUP_CONTEXT as wm, idSelector as aw, queryById as ri, useReqAnimationFrame as ow, getTimeObject as lu, formatObjecTime as iw, useArrayProcessor as Sm, useNativeBack as lw } from "../common/index.esm.js";
@@ -853,13 +853,13 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
853
853
  } = I0(e, i, l, f, g, y, o), ce = V(() => e.displayType === "Card" ? 30 : 35), Me = V(() => D.value.headerDepth * ce.value + Ce.value), Ae = /* @__PURE__ */ new Map([[0, 0]]), Ge = V(() => e.showHeader);
854
854
  function ue(ne, oe) {
855
855
  var fe, ie;
856
- const Fe = ((fe = ne.column) == null ? void 0 : fe.dataType) === "setting", He = !!((ie = ne.children) != null && ie.length && D.value.headerDepth > 1), We = Ae.get(oe) || 0, Et = ce.value, gt = Ce.value, mt = {
857
- height: `${Gx(ne.depth, He, Et, gt)}px`,
856
+ const Fe = ((fe = ne.column) == null ? void 0 : fe.dataType) === "setting", He = !!((ie = ne.children) != null && ie.length && D.value.headerDepth > 1), We = Ae.get(oe) || 0, Ot = ce.value, gt = Ce.value, mt = {
857
+ height: `${Gx(ne.depth, He, Ot, gt)}px`,
858
858
  left: `${ne.left}px`,
859
- top: `${(ne.layer - 1) * Et}px`,
859
+ top: `${(ne.layer - 1) * Ot}px`,
860
860
  width: `${ne.actualWidth}px`
861
861
  };
862
- return D.value.headerDepth > 1 && !K.value && (mt["line-height"] = `${ne.depth * Et}px`), Fe && (mt.paddingLeft = "2px"), e.showBorder && (mt.border = "1px solid #e6e9f0"), Ae.set(oe + 1, We + (ne.actualWidth || H)), mt;
862
+ return D.value.headerDepth > 1 && !K.value && (mt["line-height"] = `${ne.depth * Ot}px`), Fe && (mt.paddingLeft = "2px"), e.showBorder && (mt.border = "1px solid #e6e9f0"), Ae.set(oe + 1, We + (ne.actualWidth || H)), mt;
863
863
  }
864
864
  function we(ne, oe) {
865
865
  var He;
@@ -926,9 +926,9 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
926
926
  return !!(e.hierarchy && oe === 0 && ((Fe = ne.column) == null ? void 0 : Fe.dataType) !== va && ((He = ne.column) == null ? void 0 : He.dataType) !== Ba);
927
927
  }
928
928
  function ve(ne, oe, Fe) {
929
- var Et, gt, mt, fe, ie;
929
+ var Ot, gt, mt, fe, ie;
930
930
  const He = de(ne, Fe) && T.value, We = de(ne, Fe) && S.value && !T.value;
931
- return s(It, null, [He && s("span", {
931
+ return s(Et, null, [He && s("span", {
932
932
  style: "margin-left: .75rem; margin-right: .5rem"
933
933
  }, [s(Ea, {
934
934
  id: pe(e.id, "select-all").id,
@@ -940,7 +940,7 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
940
940
  style: "margin-left: .75rem; margin-right: .5rem; opacity: 0"
941
941
  }, [s(Ea, {
942
942
  disabled: !0
943
- }, null)]), ((Et = ne.column) == null ? void 0 : Et.dataType) === "setting" && e.showSetting && e.displayType !== "Card" ? xe() : n.slots.headerCellTemplate ? n.slots.headerCellTemplate({
943
+ }, null)]), ((Ot = ne.column) == null ? void 0 : Ot.dataType) === "setting" && e.showSetting && e.displayType !== "Card" ? xe() : n.slots.headerCellTemplate ? n.slots.headerCellTemplate({
944
944
  headerCell: ne,
945
945
  headerCells: oe,
946
946
  columnIndex: Fe
@@ -961,7 +961,7 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
961
961
  var gt;
962
962
  const He = ne.depth * ce.value, We = K.value ? {
963
963
  height: `${He}px`
964
- } : void 0, Et = K.value && D.value.headerDepth > 1 && ((gt = ne.children) != null && gt.length) ? {
964
+ } : void 0, Ot = K.value && D.value.headerDepth > 1 && ((gt = ne.children) != null && gt.length) ? {
965
965
  lineHeight: `${He}px`
966
966
  } : void 0;
967
967
  if (K.value) {
@@ -987,7 +987,7 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
987
987
  class: "fv-grid-header-title",
988
988
  style: {
989
989
  ...We,
990
- ...Et
990
+ ...Ot
991
991
  }
992
992
  }, [ve(ne, oe, Fe)]), s("div", {
993
993
  class: "fv-grid-header-filter"
@@ -1078,7 +1078,7 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
1078
1078
  }, [A.value])])]);
1079
1079
  }
1080
1080
  function ct() {
1081
- return s(It, null, [s("div", {
1081
+ return s(Et, null, [s("div", {
1082
1082
  class: ae.value,
1083
1083
  style: Z.value
1084
1084
  }, [j.value && e.displayType !== "Card" && tt(), R.value && ot(), s("div", {
@@ -1092,7 +1092,7 @@ function wX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y, v, b, C, w) {
1092
1092
  }, [Le(D.value.primaryHeaderColumns)])]), $.value && Ie()]), K.value && se()]);
1093
1093
  }
1094
1094
  function ht() {
1095
- return s(It, null, [s("div", {
1095
+ return s(Et, null, [s("div", {
1096
1096
  class: "fv-datagrid-resize-overlay",
1097
1097
  style: N.value
1098
1098
  }, null), s("div", {
@@ -2808,7 +2808,7 @@ function MX(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g) {
2808
2808
  return de.collapse && e.loadData ? e.loadData(de) : Promise.resolve();
2809
2809
  }
2810
2810
  function j(de) {
2811
- return (de || []).some((ve) => Fn(ve) ? !(ve.type === Comment || ve.type === It && !j(ve.children)) : !0) ? de : null;
2811
+ return (de || []).some((ve) => Fn(ve) ? !(ve.type === Comment || ve.type === Et && !j(ve.children)) : !0) ? de : null;
2812
2812
  }
2813
2813
  function H(de, ve) {
2814
2814
  de.stopPropagation(), _(ve).then(() => {
@@ -9705,7 +9705,7 @@ function TP(e) {
9705
9705
  getResonseFormLayoutConfig: l
9706
9706
  };
9707
9707
  }
9708
- const kP = (e) => s(It, null, [s("h5", null, [Ee("代码示例")]), s("pre", {
9708
+ const kP = (e) => s(Et, null, [s("h5", null, [Ee("代码示例")]), s("pre", {
9709
9709
  style: "background-color: #f5f5f5; padding: 10px; border-radius: 5px;"
9710
9710
  }, [s("code", null, [`
9711
9711
  <h3>Tips:</h3>
@@ -11266,7 +11266,7 @@ function cM(e, n, t) {
11266
11266
  onMouseleaveDropMenu: r
11267
11267
  } = t;
11268
11268
  function c(p) {
11269
- return s(It, null, [p.divider && s("div", {
11269
+ return s(Et, null, [p.divider && s("div", {
11270
11270
  class: "dropdown-divider"
11271
11271
  }, null), s("div", ge(Bt(p.id), {
11272
11272
  class: "dropdown-item" + (p.disabled ? " disabled" : ""),
@@ -12097,7 +12097,7 @@ function wM(e, n) {
12097
12097
  R instanceof MouseEvent && R.button === 2 || g.value && (document.body.click(), R.stopPropagation(), R.preventDefault(), o.value = kn.fromEvent(R), p.value = R.target, b(R), F());
12098
12098
  }
12099
12099
  function M(R) {
12100
- return t.value = R, m.value && s(It, null, [s("div", {
12100
+ return t.value = R, m.value && s(Et, null, [s("div", {
12101
12101
  class: "fv-resizable-handle fv-resizable-n",
12102
12102
  type: "n",
12103
12103
  onMousedown: ($) => I($)
@@ -12549,7 +12549,7 @@ const hl = /* @__PURE__ */ be({
12549
12549
  d.value && Ae();
12550
12550
  }
12551
12551
  function Ct() {
12552
- return s(It, null, [E.value && s("div", {
12552
+ return s(Et, null, [E.value && s("div", {
12553
12553
  class: "modal-header",
12554
12554
  style: "position: absolute;background: transparent;height: 45px;width: 100%;",
12555
12555
  onDblclick: (he) => at()
@@ -13161,7 +13161,7 @@ function BM(e, n, t, a) {
13161
13161
  renderExpandContent: h
13162
13162
  } = Ac(e, n);
13163
13163
  return {
13164
- renderButtonGroup: () => s(It, null, [s("div", {
13164
+ renderButtonGroup: () => s(Et, null, [s("div", {
13165
13165
  id: e.id ? `${e.id}-button-group` : void 0,
13166
13166
  class: o.value
13167
13167
  }, [c.value && Yt(s("span", ge(pe(e.id, "clear"), {
@@ -13275,7 +13275,7 @@ const VM = /* @__PURE__ */ be({
13275
13275
  M.value = I();
13276
13276
  });
13277
13277
  function B() {
13278
- return t.multiSelect && t.inputType === "tag" ? () => s(It, null, [OM(t, l, h)(), !!M.value && s("div", {
13278
+ return t.multiSelect && t.inputType === "tag" ? () => s(Et, null, [OM(t, l, h)(), !!M.value && s("div", {
13279
13279
  class: "d-flex flex-row mr-2 more-tags",
13280
13280
  "more-tags": !0
13281
13281
  }, [s("span", {
@@ -13345,7 +13345,7 @@ const VM = /* @__PURE__ */ be({
13345
13345
  R.value = W;
13346
13346
  }), () => {
13347
13347
  var W, z;
13348
- return s(It, null, [s("div", ge({
13348
+ return s(Et, null, [s("div", ge({
13349
13349
  ref: o
13350
13350
  }, Bt(t.id), n.attrs, {
13351
13351
  class: k.value,
@@ -13571,7 +13571,7 @@ const NM = /* @__PURE__ */ be({
13571
13571
  }), Xe(() => {
13572
13572
  var $, W, z, N, U, q;
13573
13573
  t.value = ($ = document.getElementById(A.value)) == null ? void 0 : $.querySelector("#fv-calculator-pre-step"), a.value = (W = document.getElementById(A.value)) == null ? void 0 : W.querySelector("#fv-calculator-show-input"), o.value = (z = document.getElementById(A.value)) == null ? void 0 : z.querySelector("#fv-calculator-num-symbol"), i.value = (N = document.getElementById(A.value)) == null ? void 0 : N.querySelector(".fv-calculator-pre"), l.value = (U = document.getElementById(A.value)) == null ? void 0 : U.querySelector(".fv-calculator-pre-left"), r.value = (q = document.getElementById(A.value)) == null ? void 0 : q.querySelector(".fv-calculator-pre-right"), b();
13574
- }), () => s(It, null, [s("div", {
13574
+ }), () => s(Et, null, [s("div", {
13575
13575
  class: "fv-calculator-standard-main",
13576
13576
  id: A.value,
13577
13577
  onMousedown: Gt(($) => R($), ["prevent"]),
@@ -18339,7 +18339,7 @@ const Eo = /* @__PURE__ */ be({
18339
18339
  function We(fe) {
18340
18340
  Fe.value = fe.events || [], n.emit("moreClick", fe);
18341
18341
  }
18342
- function Et(fe, ie) {
18342
+ function Ot(fe, ie) {
18343
18343
  n.emit("moreClick", ie);
18344
18344
  }
18345
18345
  const gt = V(() => {
@@ -18404,7 +18404,7 @@ const Eo = /* @__PURE__ */ be({
18404
18404
  events: A.value,
18405
18405
  height: G.value - 60,
18406
18406
  moreText: S,
18407
- onMoreClick: (fe, ie) => Et(fe, ie)
18407
+ onMoreClick: (fe, ie) => Ot(fe, ie)
18408
18408
  }, null)]), s(tI, {
18409
18409
  ref: He,
18410
18410
  events: Fe.value
@@ -18451,7 +18451,7 @@ ${e ? "此方法返回一个字符串,可包括HTML代码,如:<div>...</di
18451
18451
  styles: { fontWeight: 'bold' }
18452
18452
  }
18453
18453
  }`;
18454
- return s(It, null, [qg(e, n), s("pre", {
18454
+ return s(Et, null, [qg(e, n), s("pre", {
18455
18455
  style: "height: calc(100% - 35px);margin: 0;"
18456
18456
  }, [s("code", null, [Ee(" "), `${Ug(!1)}
18457
18457
  ${n}
@@ -18473,7 +18473,7 @@ ${n}
18473
18473
  <div style="\${styles}">\${formatTo(data.beginTime, timeFmt)}</div>
18474
18474
  </div>\`
18475
18475
  }`;
18476
- return s(It, null, [qg(e, n), s("pre", {
18476
+ return s(Et, null, [qg(e, n), s("pre", {
18477
18477
  style: "height: calc(100% - 35px);margin: 0;"
18478
18478
  }, [s("code", null, [Ee(" "), `${Ug()}
18479
18479
  ${n}
@@ -20715,11 +20715,11 @@ function NO(e, n, t, a, o, i, l, r, c, f) {
20715
20715
  updateSelectedItems: S
20716
20716
  } = l;
20717
20717
  function T(P, O, F) {
20718
- return e.contentTemplate ? s(It, null, [e.contentTemplate({
20718
+ return e.contentTemplate ? s(Et, null, [e.contentTemplate({
20719
20719
  item: P.raw,
20720
20720
  index: O,
20721
20721
  selectedItem: F
20722
- })]) : n.slots.content ? s(It, null, [n.slots.content && n.slots.content({
20722
+ })]) : n.slots.content ? s(Et, null, [n.slots.content && n.slots.content({
20723
20723
  item: P.raw,
20724
20724
  index: O,
20725
20725
  selectedItem: F
@@ -20847,7 +20847,7 @@ function _O(e, n, t, a, o, i, l, r, c, f) {
20847
20847
  v.stopPropagation(), b.collapse = !b.collapse, t.value = d(b.collapse ? "collapse" : "expand", b, t.value);
20848
20848
  }
20849
20849
  function h(v, b, C) {
20850
- return n.slots.group ? s(It, null, [n.slots.content && n.slots.group({
20850
+ return n.slots.group ? s(Et, null, [n.slots.content && n.slots.group({
20851
20851
  item: v.raw,
20852
20852
  index: b,
20853
20853
  selectedItem: C
@@ -21363,7 +21363,7 @@ const Oo = /* @__PURE__ */ be({
21363
21363
  }], a = V(() => e.data.length > 0 ? e.data : t);
21364
21364
  return () => {
21365
21365
  var o;
21366
- return s(It, null, [(o = a.value) == null ? void 0 : o.map((i) => s("div", {
21366
+ return s(Et, null, [(o = a.value) == null ? void 0 : o.map((i) => s("div", {
21367
21367
  class: "f-template-listview-row"
21368
21368
  }, [s("div", {
21369
21369
  class: "list-view-item-title"
@@ -21503,7 +21503,7 @@ const ev = {
21503
21503
  g();
21504
21504
  }), () => {
21505
21505
  var b, C;
21506
- return s(It, null, [
21506
+ return s(Et, null, [
21507
21507
  p.value && s(UO, ge(t, {
21508
21508
  onClick: f
21509
21509
  }), {
@@ -24296,7 +24296,7 @@ const ZB = {
24296
24296
  });
24297
24297
  const v = () => {
24298
24298
  var b;
24299
- return s(It, null, [s("div", {
24299
+ return s(Et, null, [s("div", {
24300
24300
  class: "after-toast-msg text-right"
24301
24301
  }, [!n.slots.default && ((b = o.value.buttons) == null ? void 0 : b.map((C) => s("span", {
24302
24302
  class: y(C),
@@ -24320,7 +24320,7 @@ const ZB = {
24320
24320
  class: f.value
24321
24321
  }, null)]), s("div", {
24322
24322
  class: "modal-tips-content"
24323
- }, [l.value && s(It, null, [s("h5", {
24323
+ }, [l.value && s(Et, null, [s("h5", {
24324
24324
  class: "toast-title modal-tips-title",
24325
24325
  innerHTML: o.value.title
24326
24326
  }, null), s("p", {
@@ -24868,7 +24868,7 @@ const cA = /* @__PURE__ */ be({
24868
24868
  w.value = de(0, W.value + r - 1);
24869
24869
  }), Fe = Wc(o, we, y, ct, Z), {
24870
24870
  calculateColumnsSize: He
24871
- } = Fe, We = Lm(), Et = Nm(y, C, B, We, Le), gt = Rm(o, a, Ae, B, Z, k, Le), mt = V(() => {
24871
+ } = Fe, We = Lm(), Ot = Nm(y, C, B, We, Le), gt = Rm(o, a, Ae, B, Z, k, Le), mt = V(() => {
24872
24872
  const me = {
24873
24873
  "fv-grid": !0,
24874
24874
  "fv-grid-bordered": t.showBorder,
@@ -24897,7 +24897,7 @@ const cA = /* @__PURE__ */ be({
24897
24897
  renderGridHeader: Tt,
24898
24898
  renderGridColumnResizeOverlay: Oe,
24899
24899
  shouldShowHeader: Ue
24900
- } = $m(o, a, y, b, C, Ae, B, gt, Et, P, We, Fe, Z, A, ze, Ge, Le, ct, w, l, rt), {
24900
+ } = $m(o, a, y, b, C, Ae, B, gt, Ot, P, We, Fe, Z, A, ze, Ge, Le, ct, w, l, rt), {
24901
24901
  renderDataGridSidebar: Ze
24902
24902
  } = zc(o, re, A, ze, Le), {
24903
24903
  renderDisableMask: ft
@@ -24927,7 +24927,7 @@ const cA = /* @__PURE__ */ be({
24927
24927
  }), Kt(() => {
24928
24928
  qe !== null && cancelAnimationFrame(qe);
24929
24929
  });
24930
- function Ot(me) {
24930
+ function It(me) {
24931
24931
  B.collapseTo(me), B.reOrderVisibleIndex(), ht();
24932
24932
  }
24933
24933
  function Lt(me) {
@@ -25193,7 +25193,7 @@ const cA = /* @__PURE__ */ be({
25193
25193
  addNewDataItem: Dt,
25194
25194
  addNewChildDataItem: fn,
25195
25195
  addChildrenToNode: Bn,
25196
- collapseTo: Ot,
25196
+ collapseTo: It,
25197
25197
  expandTo: Lt,
25198
25198
  removeDataItem: lo,
25199
25199
  editDataItem: ro,
@@ -25256,7 +25256,7 @@ const cA = /* @__PURE__ */ be({
25256
25256
  } = Wm(o, B, Ae);
25257
25257
  return () => {
25258
25258
  var me;
25259
- return t.visible && s(It, null, [Q.value && s("div", {
25259
+ return t.visible && s(Et, null, [Q.value && s("div", {
25260
25260
  class: "fv-grid-search",
25261
25261
  style: {
25262
25262
  padding: "8px 12px",
@@ -25596,7 +25596,7 @@ var dA = { exports: {} };
25596
25596
  z && Ze && Ze.removeChild(rt), z && G && (G.style.display = "none");
25597
25597
  return;
25598
25598
  }
25599
- G.style.display = "block", Le(ft, rt, Ue), ft ? We(Pe, ft) : Et(Oe);
25599
+ G.style.display = "block", Le(ft, rt, Ue), ft ? We(Pe, ft) : Ot(Oe);
25600
25600
  function De(st) {
25601
25601
  j.emit(st, rt, U, A);
25602
25602
  }
@@ -25685,7 +25685,7 @@ var dA = { exports: {} };
25685
25685
  }
25686
25686
  Te === L && L && (G.style.display = "none");
25687
25687
  }
25688
- function Et(ie) {
25688
+ function Ot(ie) {
25689
25689
  W = null;
25690
25690
  var Te = ie.lastElementChild;
25691
25691
  if (Te) {
@@ -25721,8 +25721,8 @@ var dA = { exports: {} };
25721
25721
  function ft() {
25722
25722
  var De = Te.getBoundingClientRect();
25723
25723
  if (Oe) {
25724
- var qe = rt - De.top, Qe = _e - De.left, st = De.bottom - rt, Ot = De.right - _e, Lt = Math.min(Qe, Ot, qe, st), bt;
25725
- return Q ? bt = Ot < Qe : bt = st === Lt || Ot === Lt || Qe === Lt, Pe(bt);
25724
+ var qe = rt - De.top, Qe = _e - De.left, st = De.bottom - rt, It = De.right - _e, Lt = Math.min(Qe, It, qe, st), bt;
25725
+ return Q ? bt = It < Qe : bt = st === Lt || It === Lt || Qe === Lt, Pe(bt);
25726
25726
  }
25727
25727
  return Pe(Tt ? _e > De.left + C(De) / 2 : rt > De.top + w(De) / 2);
25728
25728
  }
@@ -28579,7 +28579,7 @@ function wV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28579
28579
  } = r, {
28580
28580
  navigateOnKeyUp: X,
28581
28581
  navigateOnKeyDown: _
28582
- } = p, j = (ne) => (ne || []).some((oe) => Fn(oe) ? !(oe.type === hm || oe.type === It && !j(oe.children)) : !0) ? ne : null, H = (ne) => {
28582
+ } = p, j = (ne) => (ne || []).some((oe) => Fn(oe) ? !(oe.type === hm || oe.type === Et && !j(oe.children)) : !0) ? ne : null, H = (ne) => {
28583
28583
  var oe, Fe, He;
28584
28584
  return ((Fe = (oe = ne.column) == null ? void 0 : oe.editor) == null ? void 0 : Fe.type) === "switch" || ((He = ne.column) == null ? void 0 : He.dataType) === "boolean" ? {
28585
28585
  display: "flex",
@@ -28610,7 +28610,7 @@ function wV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28610
28610
  ne.stopPropagation(), oe.collapse = !oe.collapse, h.value = q(oe.collapse ? "collapse" : "expand", oe, h.value);
28611
28611
  }
28612
28612
  function we(ne, oe, Fe) {
28613
- var We, Et;
28613
+ var We, Ot;
28614
28614
  const He = [];
28615
28615
  if (ne.groupField) {
28616
28616
  const gt = oe[ne.groupField], mt = ne.data[ne.groupField];
@@ -28639,7 +28639,7 @@ function wV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28639
28639
  whiteSpace: "nowrap",
28640
28640
  paddingLeft: "4px"
28641
28641
  }
28642
- }, [e.group.customRender(ne)])) : (Et = e.group) != null && Et.customRender || (Fe === "primary" && mt && He.push(s("div", {
28642
+ }, [e.group.customRender(ne)])) : (Ot = e.group) != null && Ot.customRender || (Fe === "primary" && mt && He.push(s("div", {
28643
28643
  ref: mt.setRef,
28644
28644
  key: T(ne, ne.layer + 1),
28645
28645
  style: {
@@ -28744,11 +28744,11 @@ function wV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28744
28744
  }, [ne.getEditor(ne)]) : ne.column.columnTemplate ? Ct(ne, oe) : ne.formatter ? le(ne, oe) : at(ne);
28745
28745
  }
28746
28746
  function de(ne, oe, Fe, He, We) {
28747
- const Et = Gm(ne, e.idField);
28747
+ const Ot = Gm(ne, e.idField);
28748
28748
  return s("div", ge({
28749
28749
  ref: ne.setRef,
28750
28750
  key: P(ne)
28751
- }, Ym(e.id, Et), {
28751
+ }, Ym(e.id, Ot), {
28752
28752
  class: R(ne, Fe),
28753
28753
  style: He,
28754
28754
  onClick: (gt) => $(gt, ne),
@@ -28763,7 +28763,7 @@ function wV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28763
28763
  return s("div", ge({
28764
28764
  ref: gt.setRef,
28765
28765
  key: T(ne, gt.index)
28766
- }, Km(e.id, Et, gt.field), {
28766
+ }, Km(e.id, Ot, gt.field), {
28767
28767
  class: D(gt, ne),
28768
28768
  style: k(ne, gt, oe),
28769
28769
  onClick: (Te) => {
@@ -28985,7 +28985,7 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
28985
28985
  }), {
28986
28986
  navigateOnKeyUp: _,
28987
28987
  navigateOnKeyDown: j
28988
- } = p, H = (oe) => (oe || []).some((Fe) => Fn(Fe) ? !(Fe.type === hm || Fe.type === It && !H(Fe.children)) : !0) ? oe : null, K = (oe) => {
28988
+ } = p, H = (oe) => (oe || []).some((Fe) => Fn(Fe) ? !(Fe.type === hm || Fe.type === Et && !H(Fe.children)) : !0) ? oe : null, K = (oe) => {
28989
28989
  var Fe, He, We;
28990
28990
  return ((He = (Fe = oe.column) == null ? void 0 : Fe.editor) == null ? void 0 : He.type) === "switch" || ((We = oe.column) == null ? void 0 : We.dataType) === "boolean" ? {
28991
28991
  display: "flex",
@@ -29016,7 +29016,7 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29016
29016
  oe.stopPropagation(), Fe.collapse = !Fe.collapse, h.value = q(Fe.collapse ? "collapse" : "expand", Fe, h.value);
29017
29017
  }
29018
29018
  function ae(oe, Fe) {
29019
- var Et;
29019
+ var Ot;
29020
29020
  const He = [];
29021
29021
  if (!oe.groupField)
29022
29022
  return He;
@@ -29035,7 +29035,7 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29035
29035
  class: D(oe)
29036
29036
  }, null)]));
29037
29037
  }
29038
- if ((Et = e.group) != null && Et.customRender)
29038
+ if ((Ot = e.group) != null && Ot.customRender)
29039
29039
  He.push(e.group.customRender(oe));
29040
29040
  else {
29041
29041
  const gt = oe.data[oe.groupField];
@@ -29069,8 +29069,8 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29069
29069
  return He;
29070
29070
  }
29071
29071
  function Z(oe, Fe, He) {
29072
- var Et;
29073
- oe.height = ((Et = e.rowOption) == null ? void 0 : Et.height) || 28, oe.raw.__fv_data_height__ = oe.height;
29072
+ var Ot;
29073
+ oe.height = ((Ot = e.rowOption) == null ? void 0 : Ot.height) || 28, oe.raw.__fv_data_height__ = oe.height;
29074
29074
  const We = (oe.layer + 1) * 18;
29075
29075
  return oe.layer > -1 && s("div", ge({
29076
29076
  ref: oe.setRef,
@@ -29098,11 +29098,11 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29098
29098
  const We = oe.data[oe.groupField];
29099
29099
  if (!We)
29100
29100
  return He;
29101
- const Et = !!Fe[oe.groupField], gt = e.displayType === "Card" ? {
29101
+ const Ot = !!Fe[oe.groupField], gt = e.displayType === "Card" ? {
29102
29102
  flex: "1",
29103
29103
  minWidth: 0,
29104
29104
  lineHeight: "26px"
29105
- } : Et ? B(We, Fe, oe.layer) : {
29105
+ } : Ot ? B(We, Fe, oe.layer) : {
29106
29106
  flex: "1",
29107
29107
  minWidth: 0,
29108
29108
  lineHeight: "26px"
@@ -29131,13 +29131,13 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29131
29131
  justifyContent: "end",
29132
29132
  width: "100%"
29133
29133
  },
29134
- onClick: (Et) => W(Et, oe),
29135
- onMouseover: (Et) => z(Et, oe)
29134
+ onClick: (Ot) => W(Ot, oe),
29135
+ onMouseover: (Ot) => z(Ot, oe)
29136
29136
  }, [re(oe, Fe)]);
29137
29137
  }
29138
29138
  function xe(oe, Fe) {
29139
- var He, We, Et;
29140
- return oe.showTips && typeof ((He = oe.column) == null ? void 0 : He.formatter) != "function" && ((We = oe.column) == null ? void 0 : We.dataType) !== "commands" && ((Et = oe.column) == null ? void 0 : Et.dataType) !== "setting" ? s("div", {
29139
+ var He, We, Ot;
29140
+ return oe.showTips && typeof ((He = oe.column) == null ? void 0 : He.formatter) != "function" && ((We = oe.column) == null ? void 0 : We.dataType) !== "commands" && ((Ot = oe.column) == null ? void 0 : Ot.dataType) !== "setting" ? s("div", {
29141
29141
  class: L(oe),
29142
29142
  title: oe.formatter(oe, Fe)
29143
29143
  }, [oe.formatter(oe, Fe)]) : s("div", {
@@ -29148,9 +29148,9 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29148
29148
  return s("div", null, [Ee("******")]);
29149
29149
  }
29150
29150
  function Ct(oe) {
29151
- var We, Et;
29151
+ var We, Ot;
29152
29152
  const Fe = !b(oe.data) && !C(oe.data) ? oe.data.toString() : oe.data;
29153
- return ((Et = (We = oe.column) == null ? void 0 : We.editor) == null ? void 0 : Et.showType) === "password" ? at() : oe.showTips ? s("div", {
29153
+ return ((Ot = (We = oe.column) == null ? void 0 : We.editor) == null ? void 0 : Ot.showType) === "password" ? at() : oe.showTips ? s("div", {
29154
29154
  class: L(oe),
29155
29155
  title: Fe
29156
29156
  }, [Fe]) : s("div", {
@@ -29158,10 +29158,10 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29158
29158
  }, [Fe]);
29159
29159
  }
29160
29160
  function vt(oe, Fe) {
29161
- const He = oe.column.columnTemplate(oe, Fe), We = Xm(oe.data, oe.column || {}), Et = oe.showTips && !b(We) && !C(We) ? We.toString() : void 0;
29162
- return Et !== void 0 ? s("div", {
29161
+ const He = oe.column.columnTemplate(oe, Fe), We = Xm(oe.data, oe.column || {}), Ot = oe.showTips && !b(We) && !C(We) ? We.toString() : void 0;
29162
+ return Ot !== void 0 ? s("div", {
29163
29163
  class: L(oe),
29164
- title: Et
29164
+ title: Ot
29165
29165
  }, [He]) : s("div", {
29166
29166
  class: L(oe)
29167
29167
  }, [He]);
@@ -29171,7 +29171,7 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29171
29171
  style: K(oe)
29172
29172
  }, [oe.getEditor(oe)]) : oe.column.columnTemplate ? vt(oe, Fe) : oe.formatter ? xe(oe, Fe) : Ct(oe);
29173
29173
  }
29174
- function ve(oe, Fe, He, We, Et, gt) {
29174
+ function ve(oe, Fe, He, We, Ot, gt) {
29175
29175
  var Te;
29176
29176
  const mt = F(oe), fe = oe.height || ((Te = e.rowOption) == null ? void 0 : Te.height) || 28, ie = Gm(oe, e.idField);
29177
29177
  return s("div", ge({
@@ -29182,7 +29182,7 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29182
29182
  style: {
29183
29183
  ...mt,
29184
29184
  position: We,
29185
- display: Et,
29185
+ display: Ot,
29186
29186
  width: gt,
29187
29187
  minHeight: `${fe}px`,
29188
29188
  height: We === "static" ? void 0 : mt.height
@@ -29297,22 +29297,22 @@ function xV(e, n, t, a, o, i, l, r, c, f, p, u, d, m, h, g, y) {
29297
29297
  }
29298
29298
  }, [mt]) : mt]);
29299
29299
  }
29300
- function Le(oe, Fe, He, We, Et, gt) {
29300
+ function Le(oe, Fe, He, We, Ot, gt) {
29301
29301
  const mt = [];
29302
- return We && gt.length > 0 && mt.push(ve(oe, Fe, He, "static", "flex", "100%")), Et && We.length > 0 && mt.push(he(oe, He, We)), mt;
29302
+ return We && gt.length > 0 && mt.push(ve(oe, Fe, He, "static", "flex", "100%")), Ot && We.length > 0 && mt.push(he(oe, He, We)), mt;
29303
29303
  }
29304
- function ot(oe, Fe, He, We, Et, gt) {
29305
- return e.displayType === "Card" ? Le(oe, Fe, He, We, Et, gt) : ve(oe, Fe, He);
29304
+ function ot(oe, Fe, He, We, Ot, gt) {
29305
+ return e.displayType === "Card" ? Le(oe, Fe, He, We, Ot, gt) : ve(oe, Fe, He);
29306
29306
  }
29307
29307
  const Ie = [ot, Z, le];
29308
29308
  function tt(oe, Fe) {
29309
29309
  let He = T(oe);
29310
- return h.value.map((We, Et) => {
29310
+ return h.value.map((We, Ot) => {
29311
29311
  var ie;
29312
29312
  const gt = ((ie = e.fieldsResolver) == null ? void 0 : ie.call(e, We.raw)) ?? null;
29313
29313
  let mt = gt || [];
29314
29314
  const fe = y.value.filter((Te) => Te.visible && Te.dataType !== Ia && Te.dataType !== Ma);
29315
- return gt || fe.length > 0 && (mt = fe.map((Te) => v(Te))), (!He || Object.keys(He).length === 0) && (He = T(mt)), Ie[We.type](We, He, Et, mt, gt, fe);
29315
+ return gt || fe.length > 0 && (mt = fe.map((Te) => v(Te))), (!He || Object.keys(He).length === 0) && (He = T(mt)), Ie[We.type](We, He, Ot, mt, gt, fe);
29316
29316
  });
29317
29317
  }
29318
29318
  function ct() {
@@ -29458,7 +29458,7 @@ const yv = /* @__PURE__ */ be({
29458
29458
  "fv-grid-content-hover": T.value,
29459
29459
  "fv-grid-wrap-content": k.value,
29460
29460
  "fv-grid-scrollbar-visible": ve.shouldShowVirticalScrollbar.value && T.value
29461
- })), Et = V(() => {
29461
+ })), Ot = V(() => {
29462
29462
  var Je, pt;
29463
29463
  const me = {}, Be = u.value && G.value;
29464
29464
  return !Be && ve.shouldShowHorizontalScrollbar.value && T.value && (me.paddingBottom = "10px"), !Be && ve.shouldShowVirticalScrollbar.value && T.value, u.value && (me.display = "block", G.value || Q.value ? (me.overflowX = "hidden", me.overflowY = "hidden", me.display = "flex", me.flexDirection = "column", me.flex = "1 1 auto", me.minHeight = "0", me.width = "100%", me.maxWidth = "100%", me.minWidth = "0", me.boxSizing = "border-box") : (((Je = t.columns) == null ? void 0 : Je.length) ?? 0) > 0 ? me.overflow = !w.value || w.value.length === 0 ? "hidden" : "auto" : (pt = t.columnOption) != null && pt.fitColumns && t.fit ? me.overflow = "visible" : me.overflow = !w.value || w.value.length === 0 ? "hidden" : "auto"), me;
@@ -29495,19 +29495,22 @@ const yv = /* @__PURE__ */ be({
29495
29495
  renderGroupPanel: qe
29496
29496
  } = jw(i, E, Fe, P, ve);
29497
29497
  let Qe = null, st = null;
29498
- function Ot() {
29498
+ function It() {
29499
29499
  k.value && (st !== null && cancelAnimationFrame(st), st = requestAnimationFrame(() => {
29500
29500
  st = null;
29501
29501
  const me = w.value;
29502
- me.length && (Ge.recalculateRowHeights(me), w.value = [...me]);
29502
+ me.length && Ge.recalculateRowHeights(me) && (w.value = [...me]);
29503
29503
  }));
29504
29504
  }
29505
+ te(() => w.value.length, () => {
29506
+ It();
29507
+ });
29505
29508
  function Lt() {
29506
29509
  var Be;
29507
29510
  if (!y.value)
29508
29511
  return;
29509
29512
  const me = Math.ceil(y.value.clientHeight / p.value);
29510
- me > d.value && (d.value = me, tt()), Le.value = ((Be = v.value) == null ? void 0 : Be.clientHeight) || 0, he.value = y.value.clientWidth || 0, v.value && (ot.value = v.value.clientWidth), ht(), Ot();
29513
+ me > d.value && (d.value = me, tt()), Le.value = ((Be = v.value) == null ? void 0 : Be.clientHeight) || 0, he.value = y.value.clientWidth || 0, v.value && (ot.value = v.value.clientWidth), ht(), It();
29511
29514
  }
29512
29515
  function bt() {
29513
29516
  Qe !== null && cancelAnimationFrame(Qe), Qe = requestAnimationFrame(() => {
@@ -29515,7 +29518,7 @@ const yv = /* @__PURE__ */ be({
29515
29518
  });
29516
29519
  }
29517
29520
  Xe(() => {
29518
- y.value && (d.value = Math.max(Math.ceil(y.value.clientHeight / p.value), d.value), w.value = le(0, U.value + f - 1), Jc(y.value, bt), ht(), Ot(), St(() => {
29521
+ y.value && (d.value = Math.max(Math.ceil(y.value.clientHeight / p.value), d.value), w.value = le(0, U.value + f - 1), Jc(y.value, bt), ht(), It(), St(() => {
29519
29522
  y.value && (he.value = y.value.clientWidth), v.value && (ot.value = v.value.clientWidth, Le.value = v.value.clientHeight);
29520
29523
  })), I.value && M();
29521
29524
  }), Kt(() => {
@@ -29583,7 +29586,7 @@ const yv = /* @__PURE__ */ be({
29583
29586
  savedOffsetY: pt,
29584
29587
  resetScroll: Ie,
29585
29588
  scrollTo: ve.scrollTo
29586
- }), w.value.length || (W.value = []), de.value && R.value && z();
29589
+ }), It(), w.value.length || (W.value = []), de.value && R.value && z();
29587
29590
  }
29588
29591
  }
29589
29592
  te(E.shouldGroupingData, (me, Be) => {
@@ -29813,7 +29816,7 @@ const yv = /* @__PURE__ */ be({
29813
29816
  width: 600
29814
29817
  }, {
29815
29818
  default: () => ei(Be),
29816
- footerTemplate: () => s(It, null, [s(wl, {
29819
+ footerTemplate: () => s(Et, null, [s(wl, {
29817
29820
  id: pe(t.id, "row-edit-cancel").id,
29818
29821
  class: "mr-3",
29819
29822
  type: "secondary",
@@ -29882,7 +29885,7 @@ const yv = /* @__PURE__ */ be({
29882
29885
  }
29883
29886
  return () => {
29884
29887
  var me, Be;
29885
- return t.visible && s(It, null, [s("div", ge({
29888
+ return t.visible && s(Et, null, [s("div", ge({
29886
29889
  ref: g
29887
29890
  }, Bt(t.id), {
29888
29891
  class: He.value,
@@ -29891,7 +29894,7 @@ const yv = /* @__PURE__ */ be({
29891
29894
  }), [y.value && qe(), y.value && !u.value && _e.value && m.value.length > 0 && ie(), y.value && (Ze.value === "top" || Ze.value === "both") && Ue(), s("div", {
29892
29895
  ref: y,
29893
29896
  class: We.value,
29894
- style: Et.value,
29897
+ style: Ot.value,
29895
29898
  onMouseover: (Je) => {
29896
29899
  Je.stopPropagation(), S.value !== "always" && !T.value && !u.value && (T.value = !0);
29897
29900
  },
@@ -30272,7 +30275,7 @@ const cc = /* @__PURE__ */ be({
30272
30275
  });
30273
30276
  }), n.emit("mouseLeave");
30274
30277
  }
30275
- return () => s(It, null, [s("div", {
30278
+ return () => s(Et, null, [s("div", {
30276
30279
  class: "f-datepicker-table-wrapper"
30277
30280
  }, [s("table", {
30278
30281
  class: "f-datepicker-table",
@@ -31547,7 +31550,7 @@ const is = /* @__PURE__ */ be({
31547
31550
  month: He.value.month || 1,
31548
31551
  displayTextOfMonth: m.value[He.value.month || "1"],
31549
31552
  displayTextOfYear: `${He.value.year}`
31550
- }), Et = x(Ft(We.value));
31553
+ }), Ot = x(Ft(We.value));
31551
31554
  N.value = {
31552
31555
  year: (Sf = D.value) == null ? void 0 : Sf.year,
31553
31556
  month: (xf = D.value) == null ? void 0 : xf.month
@@ -31611,7 +31614,7 @@ const is = /* @__PURE__ */ be({
31611
31614
  }), te(() => e.enablePeriod, (Se, je) => {
31612
31615
  Se !== je && (p.value = Se);
31613
31616
  });
31614
- const Ot = V(() => (Se) => Se ? u.value !== "week" && !y.value && !b.value && !C.value : !g.value && !v.value && !C.value);
31617
+ const It = V(() => (Se) => Se ? u.value !== "week" && !y.value && !b.value && !C.value : !g.value && !v.value && !C.value);
31615
31618
  function Lt() {
31616
31619
  return p.value && u.value !== "week" ? 575 : e.showTime && u.value !== "week" && e.inlineDateTime ? 487 : 287;
31617
31620
  }
@@ -31645,7 +31648,7 @@ const is = /* @__PURE__ */ be({
31645
31648
  displayTextOfMonth: m.value[We.value.month || "1"],
31646
31649
  displayTextOfYear: `${Re}`
31647
31650
  };
31648
- We.value = et, (g.value || Ot.value(!1)) && (N.value = {
31651
+ We.value = et, (g.value || It.value(!1)) && (N.value = {
31649
31652
  ...N.value,
31650
31653
  year: et.year,
31651
31654
  month: et.month
@@ -31718,7 +31721,7 @@ const is = /* @__PURE__ */ be({
31718
31721
  displayTextOfMonth: m.value[We.value.month || "1"],
31719
31722
  displayTextOfYear: `${Re}`
31720
31723
  };
31721
- We.value = et, (g.value || Ot.value(!1)) && (N.value = {
31724
+ We.value = et, (g.value || It.value(!1)) && (N.value = {
31722
31725
  ...N.value,
31723
31726
  year: et.year,
31724
31727
  month: et.month
@@ -31729,7 +31732,7 @@ const is = /* @__PURE__ */ be({
31729
31732
  C.value = !1, Se ? (y.value = !y.value, b.value = !1) : (g.value = !g.value, v.value = !1);
31730
31733
  }
31731
31734
  function Qn(Se) {
31732
- C.value = !1, Se ? (b.value = u.value === "year" ? !0 : !b.value, u.value === "month" ? y.value = !y.value : y.value = !1, b.value ? Te.value = Ft(ie.value) : ie.value = Ft(Te.value)) : (v.value = u.value === "year" ? !0 : !v.value, u.value === "month" ? g.value = !g.value : g.value = !1, v.value ? Et.value = Ft(We.value) : We.value = Ft(Et.value));
31735
+ C.value = !1, Se ? (b.value = u.value === "year" ? !0 : !b.value, u.value === "month" ? y.value = !y.value : y.value = !1, b.value ? Te.value = Ft(ie.value) : ie.value = Ft(Te.value)) : (v.value = u.value === "year" ? !0 : !v.value, u.value === "month" ? g.value = !g.value : g.value = !1, v.value ? Ot.value = Ft(We.value) : We.value = Ft(Ot.value));
31733
31736
  }
31734
31737
  function sa() {
31735
31738
  if (Z.value) {
@@ -31984,7 +31987,7 @@ const is = /* @__PURE__ */ be({
31984
31987
  displayTextOfMonth: m.value[Se.month || "1"],
31985
31988
  year: Se.year || 1,
31986
31989
  displayTextOfYear: `${Se.year}`
31987
- }, Et.value = Ft(We.value), u.value === "month" ? p.value ? Xn(Se) : n.emit("datePicked", Se) : (g.value = !1, v.value = !1, N.value = Se, xa.value || Xn({
31990
+ }, Ot.value = Ft(We.value), u.value === "month" ? p.value ? Xn(Se) : n.emit("datePicked", Se) : (g.value = !1, v.value = !1, N.value = Se, xa.value || Xn({
31988
31991
  ...Se
31989
31992
  })));
31990
31993
  }
@@ -32045,7 +32048,7 @@ const is = /* @__PURE__ */ be({
32045
32048
  displayTextOfMonth: We.value.displayTextOfMonth,
32046
32049
  year: Se.year || 1,
32047
32050
  displayTextOfYear: `${Se.year}`
32048
- }, Et.value = Ft(We.value), u.value === "year" ? p.value ? Xn(Se) : n.emit("datePicked", Se) : (g.value = !0, v.value = !1, N.value = Object.assign(N.value || {}, {
32051
+ }, Ot.value = Ft(We.value), u.value === "year" ? p.value ? Xn(Se) : n.emit("datePicked", Se) : (g.value = !0, v.value = !1, N.value = Object.assign(N.value || {}, {
32049
32052
  year: We.value.year
32050
32053
  }), xa.value || Xn({
32051
32054
  year: We.value.year,
@@ -32435,7 +32438,7 @@ const is = /* @__PURE__ */ be({
32435
32438
  }, [s("div", {
32436
32439
  class: "f-datepicker-content",
32437
32440
  style: "width:287px"
32438
- }, [fo(uo.value, !1), Ot.value(!1) && Yo(Go.value, !1), g.value && Ko(Qi.value, !1), v.value && ei(Zi.value, !1), C.value && p.value && $a(!1)]), e.showTime && !p.value && e.inlineDateTime && s("div", {
32441
+ }, [fo(uo.value, !1), It.value(!1) && Yo(Go.value, !1), g.value && Ko(Qi.value, !1), v.value && ei(Zi.value, !1), C.value && p.value && $a(!1)]), e.showTime && !p.value && e.inlineDateTime && s("div", {
32439
32442
  class: "f-datepicker-content position-relative datepicker-content-has-timer",
32440
32443
  style: "width:200px"
32441
32444
  }, [s("div", {
@@ -32456,10 +32459,10 @@ const is = /* @__PURE__ */ be({
32456
32459
  }, null)]), e.showTime && !p.value && !e.inlineDateTime && C.value && $a(!1), Zo.value && u.value !== "week" && s("div", {
32457
32460
  class: "f-datepicker-content f-datepicker-secondary",
32458
32461
  style: "width:287px"
32459
- }, [fo(co.value, !0), Ot.value(!0) && Yo(qi.value, !0), y.value && Ko(Xi.value, !0), b.value && ei(el.value, !0), C.value && $a(!0)]), mo.value && s("div", {
32462
+ }, [fo(co.value, !0), It.value(!0) && Yo(qi.value, !0), y.value && Ko(Xi.value, !0), b.value && ei(el.value, !0), C.value && $a(!0)]), mo.value && s("div", {
32460
32463
  class: "f-datepicker-commitBtn-wrapper",
32461
32464
  style: "justify-content: end;"
32462
- }, [!p.value && Ot.value(!1) && s("button", ge(pe(e.id, "today"), {
32465
+ }, [!p.value && It.value(!1) && s("button", ge(pe(e.id, "today"), {
32463
32466
  class: "btn btn-link f-datepicker-select-btn",
32464
32467
  style: ho.value(K()),
32465
32468
  onClick: Jo
@@ -32487,7 +32490,7 @@ const is = /* @__PURE__ */ be({
32487
32490
  })]), !p.value && !mo.value && s("div", {
32488
32491
  class: "f-datepicker-commitBtn-wrapper",
32489
32492
  style: "justify-content: center;"
32490
- }, [Ot.value(!1) && s("button", ge(pe(e.id, "today"), {
32493
+ }, [It.value(!1) && s("button", ge(pe(e.id, "today"), {
32491
32494
  class: "btn btn-link",
32492
32495
  style: ho.value(K()),
32493
32496
  onClick: Jo
@@ -32921,7 +32924,7 @@ const is = /* @__PURE__ */ be({
32921
32924
  onClear: Ce
32922
32925
  }, null)])])]);
32923
32926
  }
32924
- return () => s(It, null, [t.splitSelection && re(), !t.splitSelection && s(It, null, [s("div", ge({
32927
+ return () => s(Et, null, [t.splitSelection && re(), !t.splitSelection && s(Et, null, [s("div", ge({
32925
32928
  ref: v
32926
32929
  }, Bt(t.id), {
32927
32930
  class: $.value
@@ -38144,7 +38147,7 @@ const EN = {
38144
38147
  class: "f-filter-item-required text-danger"
38145
38148
  }, [Ee("*")]), s("span", {
38146
38149
  class: "f-filter-item-text"
38147
- }, [t.value.fieldName]), !t.value.value.isEmpty() && s(It, null, [s("span", {
38150
+ }, [t.value.fieldName]), !t.value.value.isEmpty() && s(Et, null, [s("span", {
38148
38151
  class: "f-filter-item-tip"
38149
38152
  }, [Ee(":")]), s("span", {
38150
38153
  class: "f-filter-item-content",
@@ -38459,7 +38462,7 @@ const NN = /* @__PURE__ */ be({
38459
38462
  class: "f-filter-item-required text-danger"
38460
38463
  }, [Ee("*")]), s("span", {
38461
38464
  class: "f-filter-item-text"
38462
- }, [t.value.fieldName]), t.value.value.getDisplayText() && s(It, null, [s("span", {
38465
+ }, [t.value.fieldName]), t.value.value.getDisplayText() && s(Et, null, [s("span", {
38463
38466
  class: "f-filter-item-tip"
38464
38467
  }, [Ee(":")]), s("span", {
38465
38468
  class: "f-filter-item-content"
@@ -39461,7 +39464,7 @@ function Dv(e, n) {
39461
39464
  const ie = ne(fe) - G.clientX, Te = oe(fe) - G.clientY;
39462
39465
  i.value.x1 = G.x1 + ie, i.value.y1 = G.y1 + Te, i.value.x2 = G.x2 + ie, i.value.y2 = G.y2 + Te;
39463
39466
  }
39464
- const { checkAspectRatio: Et } = oR(i, R, f, G);
39467
+ const { checkAspectRatio: Ot } = oR(i, R, f, G);
39465
39468
  function gt(fe) {
39466
39469
  const ie = ne(fe) - G.clientX, Te = oe(fe) - G.clientY;
39467
39470
  switch (G.position) {
@@ -39494,7 +39497,7 @@ function Dv(e, n) {
39494
39497
  i.value.x1 = Math.min(G.clientX - rt / 2, i.value.x2 - z), i.value.y1 = Math.min(G.clientY - Tt / 2, i.value.y2 - N), i.value.x2 = Math.max(G.clientX + rt / 2, Oe + z), i.value.y2 = Math.max(G.clientY + Tt / 2, Ue + N);
39495
39498
  break;
39496
39499
  }
39497
- c.value && Et();
39500
+ c.value && Ot();
39498
39501
  }
39499
39502
  function mt(fe) {
39500
39503
  G && G.active && (fe.stopPropagation && fe.stopPropagation(), fe.preventDefault && fe.preventDefault(), clearTimeout(F), F = setTimeout(() => {
@@ -40244,7 +40247,7 @@ function hR(e, n, t, a, o) {
40244
40247
  ...e,
40245
40248
  skipReadonlyCheck: !0
40246
40249
  }, n);
40247
- return () => s(It, null, [s("div", {
40250
+ return () => s(Et, null, [s("div", {
40248
40251
  class: i.value,
40249
40252
  key: "append-button-" + y.value
40250
40253
  }, [g.value && v(), P()]), O()]);
@@ -40290,7 +40293,7 @@ const jd = /* @__PURE__ */ be({
40290
40293
  style: p.value,
40291
40294
  onMouseenter: g,
40292
40295
  onMouseleave: y
40293
- }), [O.value ? b() : F.value ? C() : s(It, null, [P(), T()]), !F.value && !O.value && m.value && k(), F.value && S(), F.value && w()]);
40296
+ }), [O.value ? b() : F.value ? C() : s(Et, null, [P(), T()]), !F.value && !O.value && m.value && k(), F.value && S(), F.value && w()]);
40294
40297
  return () => I();
40295
40298
  }
40296
40299
  });
@@ -41752,7 +41755,7 @@ const h_ = {
41752
41755
  function S(T) {
41753
41756
  T.stopPropagation();
41754
41757
  }
41755
- return () => s(It, null, [o.value && s("div", {
41758
+ return () => s(Et, null, [o.value && s("div", {
41756
41759
  ref: c,
41757
41760
  onClick: S,
41758
41761
  class: "farris-loading-backdrop loading-wait"
@@ -42665,7 +42668,7 @@ const oy = {
42665
42668
  }
42666
42669
  }
42667
42670
  }
42668
- }`, Pp = (e) => s(It, null, [s("h5", {
42671
+ }`, Pp = (e) => s(Et, null, [s("h5", {
42669
42672
  style: "display: flex;justify-content: space-between;align-items: center;"
42670
42673
  }, [Ee("示例代码:"), s("button", {
42671
42674
  class: "btn btn-link align-items-center d-flex",
@@ -46347,7 +46350,7 @@ const Ao = /* @__PURE__ */ be({
46347
46350
  return !1;
46348
46351
  }
46349
46352
  function X() {
46350
- return s(It, null, [$(), s("span", {
46353
+ return s(Et, null, [$(), s("span", {
46351
46354
  class: "search-input-box"
46352
46355
  }, [s(f$, {
46353
46356
  placeholder: g.searchPlaceHolder,
@@ -46488,7 +46491,7 @@ const Ao = /* @__PURE__ */ be({
46488
46491
  } : {};
46489
46492
  return dn(ue, e.customStyle);
46490
46493
  }), Ge = V(() => t.value.length ? g.searchPlaceHolder : g.nofields);
46491
- return () => e.visible ? s(It, null, [s("div", {
46494
+ return () => e.visible ? s(Et, null, [s("div", {
46492
46495
  class: Me.value,
46493
46496
  ref: p,
46494
46497
  style: Ae.value
@@ -47947,7 +47950,7 @@ const G$ = /* @__PURE__ */ be({
47947
47950
  }
47948
47951
  return n.expose({
47949
47952
  hidePopup: E
47950
- }), () => s(It, null, [s("div", {
47953
+ }), () => s(Et, null, [s("div", {
47951
47954
  class: "d-flex flex-row align-items-center",
47952
47955
  style: "line-height:24px"
47953
47956
  }, [Yt(s("div", {
@@ -49628,7 +49631,7 @@ const Ej = /* @__PURE__ */ be({
49628
49631
  }), v = () => s(Mj, {
49629
49632
  style: y.value
49630
49633
  }, null);
49631
- return () => s(It, null, [s("div", {
49634
+ return () => s(Et, null, [s("div", {
49632
49635
  class: e("content")
49633
49636
  }, [p(), m(), g(), v()])]);
49634
49637
  }
@@ -50273,7 +50276,7 @@ function Wj(e, n, t, a) {
50273
50276
  r.value = d.length;
50274
50277
  }
50275
50278
  }
50276
- return () => s(It, null, [s("textarea", {
50279
+ return () => s(Et, null, [s("textarea", {
50277
50280
  title: "promptMessage",
50278
50281
  name: "promptMessage",
50279
50282
  class: "form-control",
@@ -50399,7 +50402,7 @@ function Kj(e, n, t, a, o) {
50399
50402
  wordBreak: "keep-all",
50400
50403
  overflowWrap: "break-word"
50401
50404
  } : {});
50402
- return () => s(It, null, [s("div", {
50405
+ return () => s(Et, null, [s("div", {
50403
50406
  class: "float-left modal-tips-iconwrap"
50404
50407
  }, [s("span", {
50405
50408
  class: l.value
@@ -53362,10 +53365,10 @@ const ms = /* @__PURE__ */ be({
53362
53365
  "position-relative": !0
53363
53366
  }));
53364
53367
  function R() {
53365
- return s(It, null, [w.value && M(), S.value && B(), k.value && P(), k.value && O(), T.value && E(), k.value && I(), k.value && F(), v.value && A()]);
53368
+ return s(Et, null, [w.value && M(), S.value && B(), k.value && P(), k.value && O(), T.value && E(), k.value && I(), k.value && F(), v.value && A()]);
53366
53369
  }
53367
53370
  function $() {
53368
- return s(It, null, [s("li", {
53371
+ return s(Et, null, [s("li", {
53369
53372
  class: "page-item d-flex flex-fill"
53370
53373
  }, null), k.value && P(), k.value && O(), A(), s("li", {
53371
53374
  class: "page-item page-separator",
@@ -53434,10 +53437,10 @@ const ms = /* @__PURE__ */ be({
53434
53437
  "justify-content": i.value === "center" ? "center" : "start"
53435
53438
  }));
53436
53439
  function W() {
53437
- return s(It, null, [T.value && E(), k.value && A(), O.value && F(), O.value && I(), P.value && L(), O.value && B(), O.value && M(), C.value && D()]);
53440
+ return s(Et, null, [T.value && E(), k.value && A(), O.value && F(), O.value && I(), P.value && L(), O.value && B(), O.value && M(), C.value && D()]);
53438
53441
  }
53439
53442
  function z() {
53440
- return s(It, null, [s("li", {
53443
+ return s(Et, null, [s("li", {
53441
53444
  class: "page-item d-flex flex-fill"
53442
53445
  }, null), O.value && F(), O.value && I(), D(), s("li", {
53443
53446
  class: "page-item page-separator",
@@ -54325,7 +54328,7 @@ const gs = /* @__PURE__ */ be({
54325
54328
  }, null) : p.value]);
54326
54329
  }
54327
54330
  function I() {
54328
- return s(It, null, [s("div", {
54331
+ return s(Et, null, [s("div", {
54329
54332
  class: "f-progress-outer"
54330
54333
  }, [s("div", {
54331
54334
  class: "f-progress-inner"
@@ -55449,7 +55452,7 @@ const IW = {
55449
55452
  }), {
55450
55453
  content: ({
55451
55454
  openDialog: B
55452
- }) => s(It, null, [s("div", {
55455
+ }) => s(Et, null, [s("div", {
55453
55456
  class: "d-flex align-items-center lookup-icon-wrapper",
55454
55457
  onClick: B
55455
55458
  }, [s("span", {
@@ -55472,7 +55475,7 @@ const IW = {
55472
55475
  }), null)
55473
55476
  } : {},
55474
55477
  ...(T == null ? void 0 : T.type) === "lookup" ? {
55475
- content: () => s(It, null, null)
55478
+ content: () => s(Et, null, null)
55476
55479
  } : {}
55477
55480
  });
55478
55481
  });
@@ -55948,7 +55951,7 @@ function _W(e, n, t) {
55948
55951
  const a = `<i class="f-icon f-icon-${n}"></i>`;
55949
55952
  t.value.insertText ? t.value.insertText(a) : t.value.setValue(a);
55950
55953
  }
55951
- const $W = (e) => s(It, null, [s("h5", null, [Ee("按钮图标示例")]), s("ul", {
55954
+ const $W = (e) => s(Et, null, [s("h5", null, [Ee("按钮图标示例")]), s("ul", {
55952
55955
  class: "d-flex",
55953
55956
  style: "width: 200px; flex-wrap: wrap;align-items: center;height: 100px;"
55954
55957
  }, [RW.map((n) => s("li", {
@@ -56144,7 +56147,7 @@ const HW = {
56144
56147
  return Xe(() => {
56145
56148
  }), () => {
56146
56149
  var u, d, m, h;
56147
- return s(It, null, [c.value && s("div", ge(Bt(t.id), {
56150
+ return s(Et, null, [c.value && s("div", ge(Bt(t.id), {
56148
56151
  class: o.value,
56149
56152
  style: "border-radius:0;border: 1px solid #E8EBF2;",
56150
56153
  onClick: p
@@ -56327,7 +56330,7 @@ const GW = {
56327
56330
  class: "f-radio-button"
56328
56331
  }), [s("div", {
56329
56332
  class: ["farris-input-wrap"]
56330
- }, [a.value.map((l, r) => s(It, null, [s("label", ge(pe(t.id, "option", l.value ?? l.id ?? l.text), {
56333
+ }, [a.value.map((l, r) => s(Et, null, [s("label", ge(pe(t.id, "option", l.value ?? l.id ?? l.text), {
56331
56334
  class: l.active ? "btn btn-secondary active" : "btn btn-secondary",
56332
56335
  onClick: (c) => o(c, l)
56333
56336
  }), [s("span", {
@@ -57697,7 +57700,7 @@ const Nz = "search-box", Rz = "A Farris Component", _z = "object", $z = {
57697
57700
  p.length && (n.emit("confirmResult", p[0][e.textField]), n.emit("searchedValue", p));
57698
57701
  }
57699
57702
  function c(p) {
57700
- return o.default ? s(It, null, [o.default(p)]) : s("span", null, [p.item[e.textField]]);
57703
+ return o.default ? s(Et, null, [o.default(p)]) : s("span", null, [p.item[e.textField]]);
57701
57704
  }
57702
57705
  const f = V(() => {
57703
57706
  const p = {};
@@ -59888,7 +59891,7 @@ function lU(e, n, t, a) {
59888
59891
  setTabsRef: l
59889
59892
  } = iU(e, n, t, a), r = x(e.showDropdown);
59890
59893
  function c() {
59891
- return r.value && s(It, null, [s("button", ge(pe(e.id, "more"), {
59894
+ return r.value && s(Et, null, [s("button", ge(pe(e.id, "more"), {
59892
59895
  class: "btn dropdown-toggle-split dropdown-toggle",
59893
59896
  onClick: () => {
59894
59897
  o.value = !1;
@@ -62044,7 +62047,7 @@ const Ar = /* @__PURE__ */ be({
62044
62047
  var z, N, U, q;
62045
62048
  return u.value ? s("span", null, [(N = (z = n.slots).default) == null ? void 0 : N.call(z)]) : (q = (U = n.slots).default) == null ? void 0 : q.call(U);
62046
62049
  }
62047
- return () => n.slots.default ? s(It, {
62050
+ return () => n.slots.default ? s(Et, {
62048
62051
  ref: t
62049
62052
  }, [W(), d.value && s(Aa, {
62050
62053
  to: "body"
@@ -62816,7 +62819,7 @@ const vs = /* @__PURE__ */ be({
62816
62819
  });
62817
62820
  }
62818
62821
  function y() {
62819
- return s(It, null, null);
62822
+ return s(Et, null, null);
62820
62823
  }
62821
62824
  function v() {
62822
62825
  return s("div", {
@@ -63539,7 +63542,7 @@ const O5 = {
63539
63542
  class: "upload-progress-text"
63540
63543
  }, [a.value === "error" || a.value === "success" ? s("span", {
63541
63544
  class: ["upload-progress-text-icon f-icon", "f-icon-" + a.value]
63542
- }, null) : s(It, null, [i.value, Ee("%")])]) : ""]);
63545
+ }, null) : s(Et, null, [i.value, Ee("%")])]) : ""]);
63543
63546
  }
63544
63547
  }), Pb = /* @__PURE__ */ be({
63545
63548
  name: "FPreviewCheckbox",
@@ -63612,7 +63615,7 @@ const O5 = {
63612
63615
  }), Kt(() => {
63613
63616
  }), n.expose({
63614
63617
  handleUploadEvent: f
63615
- }), () => s(It, null, [s("input", {
63618
+ }), () => s(Et, null, [s("input", {
63616
63619
  ref: "uploadInput",
63617
63620
  type: "file",
63618
63621
  class: "ffileupload--browser",
@@ -65178,7 +65181,7 @@ const ws = /* @__PURE__ */ be({
65178
65181
  class: "m-0"
65179
65182
  }, [Ee("共"), s("span", {
65180
65183
  class: "count"
65181
- }, [g.value.length + y.value.length]), Ee("个附件"), b.value > 0 ? s(It, null, [Ee("(已选"), s("span", {
65184
+ }, [g.value.length + y.value.length]), Ee("个附件"), b.value > 0 ? s(Et, null, [Ee("(已选"), s("span", {
65182
65185
  class: "count-selected"
65183
65186
  }, [b.value]), Ee("个)")]) : ""])]) : null;
65184
65187
  }
@@ -65739,7 +65742,7 @@ const dG = /* @__PURE__ */ be({
65739
65742
  class: S.value,
65740
65743
  style: T.value,
65741
65744
  ref: y
65742
- }, [p.value || r.value ? s(It, null, [l.value ? null : s("div", {
65745
+ }, [p.value || r.value ? s(Et, null, [l.value ? null : s("div", {
65743
65746
  class: "uploadAndpreview--header"
65744
65747
  }, [D(), R(), $()]), s("div", {
65745
65748
  class: "uploadAndpreview--content"
@@ -67483,7 +67486,7 @@ const vl = /* @__PURE__ */ be({
67483
67486
  const O = {
67484
67487
  "f-utils-fill": !0
67485
67488
  };
67486
- return (I = (F = t.headerToolbar) == null ? void 0 : F.appearance) != null && I.class && (O[t.headerToolbar.appearance.class] = !0), t.headerTemplate && typeof t.headerTemplate == "function" ? t.headerTemplate() : n.slots.headerTemplate ? n.slots.headerTemplate() : s(It, null, [s("div", {
67489
+ return (I = (F = t.headerToolbar) == null ? void 0 : F.appearance) != null && I.class && (O[t.headerToolbar.appearance.class] = !0), t.headerTemplate && typeof t.headerTemplate == "function" ? t.headerTemplate() : n.slots.headerTemplate ? n.slots.headerTemplate() : s(Et, null, [s("div", {
67487
67490
  class: "f-drawer-title",
67488
67491
  title: t.title
67489
67492
  }, [t.title]), t.headerToolbar && (t.headerToolbar.visible === void 0 || t.headerToolbar.visible) && s("div", {
@@ -68343,7 +68346,7 @@ const Oa = /* @__PURE__ */ be({
68343
68346
  class: "f-icon f-icon-lookup",
68344
68347
  onClick: I,
68345
68348
  style: "margin-top: 2px;margin-right: 5px;color: rgba(0, 0, 0, .25)"
68346
- }, null) : s(It, null, null);
68349
+ }, null) : s(Et, null, null);
68347
68350
  }
68348
68351
  const B = () => {
68349
68352
  n.emit("update:modelValue", "");
@@ -76011,7 +76014,7 @@ const D9 = /* @__PURE__ */ be({
76011
76014
  [e.direction === "horizontal" ? "top" : "left"]: "50%",
76012
76015
  transform: e.direction === "horizontal" ? "translateY(-50%)" : "translateX(-50%)"
76013
76016
  }), E = e.direction === "horizontal" ? "horizontal" : "vertical";
76014
- return s(It, null, [s("button", {
76017
+ return s(Et, null, [s("button", {
76015
76018
  class: `carousel-arrow carousel-arrow-prev ${E}`,
76016
76019
  onClick: p,
76017
76020
  type: "button",
@@ -78211,7 +78214,7 @@ const rJ = /* @__PURE__ */ be({
78211
78214
  }), O.value = r.value.map((Ie) => Ie.id), z(E.value), (Le = o.value) == null || Le.updateData(r.value);
78212
78215
  }
78213
78216
  }
78214
- return () => s(It, null, [s(Li, {
78217
+ return () => s(Et, null, [s(Li, {
78215
78218
  customClass: "query-solution",
78216
78219
  id: pe(e.componentId, "setting-panel").id,
78217
78220
  modelValue: e.modelValue,
@@ -78222,7 +78225,7 @@ const rJ = /* @__PURE__ */ be({
78222
78225
  P.value = k, ee(P.value);
78223
78226
  }
78224
78227
  }, {
78225
- headerTemplate: () => s(It, null, [s("div", {
78228
+ headerTemplate: () => s(Et, null, [s("div", {
78226
78229
  class: "f-drawer-title",
78227
78230
  title: ye.getLocaleValue("datagrid.settings.visible")
78228
78231
  }, [ye.getLocaleValue("datagrid.settings.visible")]), s(AF, {
@@ -79442,9 +79445,9 @@ function hJ(e, n, t, a, o) {
79442
79445
  const Pe = [], De = [], qe = [];
79443
79446
  for (; ft < Ze; ) {
79444
79447
  const Qe = Oe.slice(ft * Ue, (ft + 1) * Ue), st = y(v.value, Qe, n);
79445
- De[ft] = st.filter((Ot) => Ot.__fv_data_grid_group_row__).length, Pe.push(...st), ft++;
79448
+ De[ft] = st.filter((It) => It.__fv_data_grid_group_row__).length, Pe.push(...st), ft++;
79446
79449
  }
79447
- return De.reduce((Qe, st, Ot) => (Qe = Qe + st, qe.push(Qe), Qe), 0), {
79450
+ return De.reduce((Qe, st, It) => (Qe = Qe + st, qe.push(Qe), Qe), 0), {
79448
79451
  groupData: Pe,
79449
79452
  groupRowSizeList: De,
79450
79453
  accumulateGroupRowSize: qe
@@ -79452,31 +79455,31 @@ function hJ(e, n, t, a, o) {
79452
79455
  }
79453
79456
  function Ce() {
79454
79457
  var st;
79455
- W.value = C.value, H.value && (Y.value = W.value.length), b.value && !H.value && (W.value = y(v.value, C.value, n)), Q = G.value.reduce((Ot, Lt) => (Ot.set(Lt, 0), Ot), Q);
79458
+ W.value = C.value, H.value && (Y.value = W.value.length), b.value && !H.value && (W.value = y(v.value, C.value, n)), Q = G.value.reduce((It, Lt) => (It.set(Lt, 0), It), Q);
79456
79459
  const Oe = 0, Ue = _(), Ze = (j.value - 1) * Ue;
79457
79460
  let Pe = Ze > W.value.length - 1 || K.value ? Oe : Ze, De = K.value ? W.value.length : Math.min(Pe + Ue, W.value.length);
79458
79461
  if (b.value && H.value) {
79459
- const { accumulateGroupRowSize: Ot, groupData: Lt, groupRowSizeList: bt } = se(C.value, Ue);
79462
+ const { accumulateGroupRowSize: It, groupData: Lt, groupRowSizeList: bt } = se(C.value, Ue);
79460
79463
  W.value = Lt;
79461
79464
  const Dt = bt[j.value - 1];
79462
- Pe += j.value - 2 < 0 ? 0 : Ot[j.value - 2], De = Pe + Ue + Dt;
79465
+ Pe += j.value - 2 < 0 ? 0 : It[j.value - 2], De = Pe + Ue + Dt;
79463
79466
  }
79464
79467
  let qe = 0;
79465
79468
  const Qe = [];
79466
79469
  if (W.value.length) {
79467
79470
  R(W.value);
79468
- const Ot = D.value !== e.idField;
79471
+ const It = D.value !== e.idField;
79469
79472
  for (let Lt = Pe; Lt < De; Lt++) {
79470
79473
  const bt = W.value[Lt];
79471
- bt.__fv_data_grid_group_row__ || bt.__fv_data_grid_group_summary__ ? bt.__fv_data_index__ = "" : b.value && bt.__fv_original_data_index__ !== void 0 ? bt.__fv_data_index__ = bt.__fv_original_data_index__ + (j.value - 1) * Ue : (qe++, bt.__fv_data_index__ = qe + (j.value - 1) * Ue), bt.__fv_index__ = Lt - Pe, bt.__fv_visible_index__ = Lt - Pe, e.rowOption && e.rowOption.disabledField && (bt.__fv_disabled__ = bt[(st = e.rowOption) == null ? void 0 : st.disabledField]), Ot && (bt[D.value] = Lt), G.value.forEach((Dt) => {
79474
+ bt.__fv_data_grid_group_row__ || bt.__fv_data_grid_group_summary__ ? bt.__fv_data_index__ = "" : b.value && bt.__fv_original_data_index__ !== void 0 ? bt.__fv_data_index__ = bt.__fv_original_data_index__ + (j.value - 1) * Ue : (qe++, bt.__fv_data_index__ = qe + (j.value - 1) * Ue), bt.__fv_index__ = Lt - Pe, bt.__fv_visible_index__ = Lt - Pe, e.rowOption && e.rowOption.disabledField && (bt.__fv_disabled__ = bt[(st = e.rowOption) == null ? void 0 : st.disabledField]), It && (bt[D.value] = Lt), G.value.forEach((Dt) => {
79472
79475
  const fn = Q.get(Dt) || 0;
79473
79476
  !bt.__fv_data_grid_group_row__ && !bt.__fv_data_grid_group_summary__ && Q.set(Dt, l([fn, Pt(bt, Dt) || 0]));
79474
79477
  }), Qe.push(bt);
79475
79478
  }
79476
79479
  }
79477
- return B.value && k(Qe), G.value.forEach((Ot) => {
79478
- const Lt = Q.get(Ot) || 0;
79479
- Q.set(Ot, r(Lt, 2));
79480
+ return B.value && k(Qe), G.value.forEach((It) => {
79481
+ const Lt = Q.get(It) || 0;
79482
+ Q.set(It, r(Lt, 2));
79480
79483
  }), z.value = [...Qe], Qe;
79481
79484
  }
79482
79485
  const ce = x(Ce()), Me = V(() => (L.value, ce.value.filter((Oe) => B.value ? Oe.__fv_visible__ !== !1 && M(Oe) : Oe.__fv_visible__ !== !1)));
@@ -79491,8 +79494,8 @@ function hJ(e, n, t, a, o) {
79491
79494
  let ft = [];
79492
79495
  for (const Pe of Oe)
79493
79496
  Pe.__fv_data_grid_group_row__ || Pe.__fv_data_grid_group_summary__ ? (ft.length > 0 && (ft.sort((De, qe) => {
79494
- const Qe = [...Ue], st = Qe.shift(), Ot = Pt(De, st.field) === void 0 || Pt(De, st.field) === null ? "" : Pt(De, st.field), Lt = Pt(qe, st.field) === void 0 || Pt(qe, st.field) === null ? "" : Pt(qe, st.field);
79495
- let bt = st.compare(Ot, Lt);
79497
+ const Qe = [...Ue], st = Qe.shift(), It = Pt(De, st.field) === void 0 || Pt(De, st.field) === null ? "" : Pt(De, st.field), Lt = Pt(qe, st.field) === void 0 || Pt(qe, st.field) === null ? "" : Pt(qe, st.field);
79498
+ let bt = st.compare(It, Lt);
79496
79499
  for (; bt === 0 && Qe.length !== 0; ) {
79497
79500
  const Dt = Qe.shift();
79498
79501
  if (Dt) {
@@ -79503,8 +79506,8 @@ function hJ(e, n, t, a, o) {
79503
79506
  return bt;
79504
79507
  }), Ze.push(...ft), ft = []), Ze.push(Pe)) : ft.push(Pe);
79505
79508
  return ft.length > 0 && (ft.sort((Pe, De) => {
79506
- const qe = [...Ue], Qe = qe.shift(), st = Pt(Pe, Qe.field) === void 0 || Pt(Pe, Qe.field) === null ? "" : Pt(Pe, Qe.field), Ot = Pt(De, Qe.field) === void 0 || Pt(De, Qe.field) === null ? "" : Pt(De, Qe.field);
79507
- let Lt = Qe.compare(st, Ot);
79509
+ const qe = [...Ue], Qe = qe.shift(), st = Pt(Pe, Qe.field) === void 0 || Pt(Pe, Qe.field) === null ? "" : Pt(Pe, Qe.field), It = Pt(De, Qe.field) === void 0 || Pt(De, Qe.field) === null ? "" : Pt(De, Qe.field);
79510
+ let Lt = Qe.compare(st, It);
79508
79511
  for (; Lt === 0 && qe.length !== 0; ) {
79509
79512
  const bt = qe.shift();
79510
79513
  if (bt) {
@@ -79547,12 +79550,12 @@ function hJ(e, n, t, a, o) {
79547
79550
  let Pe = ft;
79548
79551
  ((bt = e.filter) == null ? void 0 : bt.mode) !== "server" && (Pe = ft.filter((Dt) => Dt.__fv_data_grid_group_row__ ? !0 : t.apply(Dt)), Pe = we(Pe));
79549
79552
  const De = Oe && Oe.length ? Oe : [], Qe = Ue && Ue.length > 0 ? ue(Pe, Ue) : Pe, st = _();
79550
- let Ot = 0;
79553
+ let It = 0;
79551
79554
  for (const Dt of Qe)
79552
79555
  if (Dt.__fv_data_grid_group_row__) {
79553
79556
  const fn = `group_of_${Dt.__fv_data_grid_group_field__}_${Dt.__fv_data_grid_group_value__}`;
79554
79557
  Dt.__fv_data_grid_group_collapse__ = !!c.get(fn), Dt.__fv_data_index__ = "";
79555
- } else Dt.__fv_data_grid_group_summary__ ? Dt.__fv_data_index__ = "" : (Ot++, Dt.__fv_data_index__ = Ot + (j.value - 1) * st);
79558
+ } else Dt.__fv_data_grid_group_summary__ ? Dt.__fv_data_index__ = "" : (It++, Dt.__fv_data_index__ = It + (j.value - 1) * st);
79556
79559
  let Lt = Qe;
79557
79560
  return De.length && (Lt = Qe.filter((Dt) => De.reduce((fn, Bn) => fn && Bn.filter(Dt), !0))), ce.value = Lt.map((Dt, fn) => {
79558
79561
  if (Dt.__fv_data_grid_group_row__) {
@@ -79680,7 +79683,7 @@ function hJ(e, n, t, a, o) {
79680
79683
  const Ue = Oe ? Oe - 1 : 0;
79681
79684
  C.value.splice(Ue, 1), Ie();
79682
79685
  }
79683
- function Et(Oe) {
79686
+ function Ot(Oe) {
79684
79687
  const Ue = C.value.findIndex((Ze) => Ze[D.value] === Oe);
79685
79688
  Ue !== -1 && (C.value.splice(Ue, 1), Ie());
79686
79689
  }
@@ -79770,7 +79773,7 @@ function hJ(e, n, t, a, o) {
79770
79773
  refresh: mt,
79771
79774
  removeAllFilter: Ct,
79772
79775
  removeDataItem: We,
79773
- removeDataItemById: Et,
79776
+ removeDataItemById: Ot,
79774
79777
  removeFilter: at,
79775
79778
  removeHierarchyDataItem: gt,
79776
79779
  removeSorter: le,
@@ -80788,8 +80791,8 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80788
80791
  if ($.value.has(Qe))
80789
80792
  qe += $.value.get(Qe) || c.value;
80790
80793
  else if ($.value.size > 0) {
80791
- const Ot = Array.from($.value.values()).reduce((Lt, bt) => Lt + bt, 0) / $.value.size;
80792
- qe += Ot;
80794
+ const It = Array.from($.value.values()).reduce((Lt, bt) => Lt + bt, 0) / $.value.size;
80795
+ qe += It;
80793
80796
  } else
80794
80797
  qe += c.value;
80795
80798
  return qe;
@@ -80825,8 +80828,8 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80825
80828
  if ($.value.has(Qe))
80826
80829
  De += $.value.get(Qe) || c.value;
80827
80830
  else if ($.value.size > 0) {
80828
- const Ot = Array.from($.value.values()).reduce((Lt, bt) => Lt + bt, 0) / $.value.size;
80829
- De += Ot;
80831
+ const It = Array.from($.value.values()).reduce((Lt, bt) => Lt + bt, 0) / $.value.size;
80832
+ De += It;
80830
80833
  } else
80831
80834
  De += c.value;
80832
80835
  if (De > Pe)
@@ -80840,9 +80843,9 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80840
80843
  }
80841
80844
  function _(Pe, De, qe) {
80842
80845
  let Qe = Pe, st = De;
80843
- const Ot = De - Pe + 1;
80844
- if (Ot < l + i.value + l) {
80845
- const Lt = l + i.value + l - Ot, bt = De + Lt <= qe, Dt = 0 + Lt <= Pe;
80846
+ const It = De - Pe + 1;
80847
+ if (It < l + i.value + l) {
80848
+ const Lt = l + i.value + l - It, bt = De + Lt <= qe, Dt = 0 + Lt <= Pe;
80846
80849
  if (bt)
80847
80850
  st += Lt, P = st;
80848
80851
  else if (Dt)
@@ -80860,7 +80863,7 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80860
80863
  t.value = [];
80861
80864
  return;
80862
80865
  }
80863
- const qe = Math.max(k - l, 0), Qe = De[De.length - 1].__fv_visible_index__, st = Math.min(P + l, Qe), { actualStart: Ot, actualEnd: Lt } = _(qe, st, Qe), bt = De[Ot - 1], Dt = g(Ot, Lt, bt, Pe);
80866
+ const qe = Math.max(k - l, 0), Qe = De[De.length - 1].__fv_visible_index__, st = Math.min(P + l, Qe), { actualStart: It, actualEnd: Lt } = _(qe, st, Qe), bt = De[It - 1], Dt = g(It, Lt, bt, Pe);
80864
80867
  t.value = Dt.length ? [...Dt] : [];
80865
80868
  }
80866
80869
  const H = V(() => z() > F.value && !f.value), K = V(() => e.autoExpandWidth ? !1 : Math.floor(b.value) > I.value && !f.value);
@@ -80924,12 +80927,12 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80924
80927
  transform: `translateY(${S.value}px)`
80925
80928
  })), le = V(() => {
80926
80929
  var Dt, fn, Bn;
80927
- const Pe = ae(), De = (Dt = e.columnOption) == null ? void 0 : Dt.fitColumns, qe = De === !0 || typeof De == "object" && De !== null && De.enable === !0, Qe = f.value && qe && e.fit, st = f.value && e.displayType === "Card" && !((fn = e.columns) != null && fn.length), Ot = f.value && e.displayType === "Card" && (((Bn = e.columns) == null ? void 0 : Bn.length) ?? 0) > 0 && qe && e.fit, Lt = Qe || st, bt = {
80930
+ const Pe = ae(), De = (Dt = e.columnOption) == null ? void 0 : Dt.fitColumns, qe = De === !0 || typeof De == "object" && De !== null && De.enable === !0, Qe = f.value && qe && e.fit, st = f.value && e.displayType === "Card" && !((fn = e.columns) != null && fn.length), It = f.value && e.displayType === "Card" && (((Bn = e.columns) == null ? void 0 : Bn.length) ?? 0) > 0 && qe && e.fit, Lt = Qe || st, bt = {
80928
80931
  height: f.value ? "100%" : `${Pe}px`,
80929
80932
  width: Lt ? "100%" : `${b.value}px`,
80930
80933
  transform: f.value ? "translate(0px, 0px)" : `translate(${T.value}px, ${S.value}px)`
80931
80934
  };
80932
- return f.value && (bt.overflow = "visible"), st && (bt.maxWidth = "100%", bt.minWidth = "0", bt.boxSizing = "border-box", bt.overflowX = "hidden", bt.overflowY = "visible"), Ot && (bt.maxWidth = "100%", bt.minWidth = "0", bt.boxSizing = "border-box", bt.overflowX = "hidden"), bt;
80935
+ return f.value && (bt.overflow = "visible"), st && (bt.maxWidth = "100%", bt.minWidth = "0", bt.boxSizing = "border-box", bt.overflowX = "hidden", bt.overflowY = "visible"), It && (bt.maxWidth = "100%", bt.minWidth = "0", bt.boxSizing = "border-box", bt.overflowX = "hidden"), bt;
80933
80936
  }), xe = V(() => ({
80934
80937
  transform: `translate(${T.value}px, ${S.value}px)`
80935
80938
  })), at = V(() => ({
@@ -80974,39 +80977,39 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
80974
80977
  function He(Pe) {
80975
80978
  const De = Pe instanceof MouseEvent ? Pe.pageX : Pe.touches[0].pageX;
80976
80979
  if (ht.value && oe.value !== -1) {
80977
- const qe = oe.value - De, Qe = Math.max(O.value - U.value, 0), st = Math.max(b.value - I.value, 0), Ot = dm({
80980
+ const qe = oe.value - De, Qe = Math.max(O.value - U.value, 0), st = Math.max(b.value - I.value, 0), It = dm({
80978
80981
  mouseOffset: qe,
80979
80982
  trackTravel: Qe,
80980
80983
  contentTravel: st
80981
80984
  });
80982
- Ot !== 0 && ce(Ot), oe.value = De;
80985
+ It !== 0 && ce(It), oe.value = De;
80983
80986
  }
80984
80987
  }
80985
80988
  function We(Pe) {
80986
80989
  if (ht.value && ne.value !== -1) {
80987
80990
  const De = ne.value - Pe.pageY, qe = z(), Qe = qe - N.value, st = F.value - N.value;
80988
80991
  if (st !== 0 && Math.abs(De) <= Qe) {
80989
- const Ot = De / st * (qe - F.value);
80990
- Ce(Ot), ne.value = Pe.pageY;
80992
+ const It = De / st * (qe - F.value);
80993
+ Ce(It), ne.value = Pe.pageY;
80991
80994
  }
80992
80995
  }
80993
80996
  }
80994
- function Et(Pe) {
80997
+ function Ot(Pe) {
80995
80998
  const { pageX: De } = Pe.touches[0];
80996
80999
  if (ht.value && oe.value !== -1) {
80997
- const qe = oe.value - De, Qe = Math.max(O.value - U.value, 0), st = Math.max(b.value - I.value, 0), Ot = dm({
81000
+ const qe = oe.value - De, Qe = Math.max(O.value - U.value, 0), st = Math.max(b.value - I.value, 0), It = dm({
80998
81001
  mouseOffset: qe,
80999
81002
  trackTravel: Qe,
81000
81003
  contentTravel: st
81001
81004
  });
81002
- Ot !== 0 && ce(Ot), oe.value = De;
81005
+ It !== 0 && ce(It), oe.value = De;
81003
81006
  }
81004
81007
  }
81005
81008
  function gt(Pe) {
81006
81009
  const { pageX: De, pageY: qe } = Pe.touches[0];
81007
81010
  if (ht.value && ne.value !== -1) {
81008
- const Qe = ne.value - qe, st = z(), Ot = st - N.value, Lt = F.value - N.value;
81009
- if (Lt !== 0 && Math.abs(Qe) <= Ot) {
81011
+ const Qe = ne.value - qe, st = z(), It = st - N.value, Lt = F.value - N.value;
81012
+ if (Lt !== 0 && Math.abs(Qe) <= It) {
81010
81013
  const bt = Qe / Lt * (st - F.value);
81011
81014
  Ce(bt), ne.value = qe;
81012
81015
  }
@@ -81025,17 +81028,17 @@ function wJ(e, n, t, a, o, i, l, r, c, f, p, u) {
81025
81028
  Qe && (Qe.style.opacity = "1", Fe.value = Qe);
81026
81029
  const st = qe === "horizontal" ? He : Ff(We, 50);
81027
81030
  A || (A = st);
81028
- const { pageX: Ot } = Pe, { pageY: Lt } = Pe;
81031
+ const { pageX: It } = Pe, { pageY: Lt } = Pe;
81029
81032
  qe === "vertical" && (ne.value = Pe.pageY), qe === "horizontal" && (oe.value = Pe.pageX), De.value && (De.value, document.addEventListener("mousemove", A), document.addEventListener("mouseup", mt), document.body.style.userSelect = "none");
81030
81033
  }
81031
81034
  function Te(Pe) {
81032
81035
  const { pageX: De, pageY: qe } = Pe.touches[0], Qe = Math.abs(De - oe.value), st = Math.abs(qe - ne.value);
81033
- st > Qe && st > 5 ? (D || (D = Ff(gt, 50)), document.addEventListener("touchmove", D), document.removeEventListener("touchmove", Te)) : Qe > st && Qe > 5 && (L || (L = Et), document.addEventListener("touchmove", L), document.removeEventListener("touchmove", Te)), oe.value = De, ne.value = qe;
81036
+ st > Qe && st > 5 ? (D || (D = Ff(gt, 50)), document.addEventListener("touchmove", D), document.removeEventListener("touchmove", Te)) : Qe > st && Qe > 5 && (L || (L = Ot), document.addEventListener("touchmove", L), document.removeEventListener("touchmove", Te)), oe.value = De, ne.value = qe;
81034
81037
  }
81035
81038
  function _e(Pe, De) {
81036
- var Ot;
81039
+ var It;
81037
81040
  p == null || p.onClickOutOfCell(Pe), ht.value = !0;
81038
- const qe = (Ot = Pe.target) == null ? void 0 : Ot.parentElement;
81041
+ const qe = (It = Pe.target) == null ? void 0 : It.parentElement;
81039
81042
  qe && (qe.style.opacity = "1", Fe.value = qe);
81040
81043
  const { pageX: Qe, pageY: st } = Pe.touches[0];
81041
81044
  oe.value = Qe, ne.value = st, De.value && (De.value, document.addEventListener("touchmove", Te), document.addEventListener("touchend", fe), document.body.style.userSelect = "none");