@farris/ui-vue 1.5.0-beta.0 → 1.5.0-beta.1

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.
Files changed (68) hide show
  1. package/components/avatar/index.esm.js +897 -901
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/combo-list/index.esm.js +483 -487
  4. package/components/combo-list/index.umd.cjs +1 -1
  5. package/components/component/index.esm.js +482 -486
  6. package/components/component/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +543 -547
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/content-container/index.esm.js +619 -623
  10. package/components/content-container/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +439 -440
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +423 -425
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/designer-canvas/index.esm.js +529 -533
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +723 -727
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/events-editor/index.esm.js +504 -508
  20. package/components/events-editor/index.umd.cjs +1 -1
  21. package/components/expression-editor/index.esm.js +679 -683
  22. package/components/expression-editor/index.umd.cjs +4 -4
  23. package/components/filter-bar/index.esm.js +503 -507
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/filter-condition-editor/index.esm.js +557 -561
  26. package/components/filter-condition-editor/index.umd.cjs +4 -4
  27. package/components/flow-canvas/index.esm.js +327 -331
  28. package/components/flow-canvas/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +502 -506
  30. package/components/list-view/index.umd.cjs +2 -2
  31. package/components/mapping-editor/index.esm.js +347 -348
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/number-range/index.esm.js +479 -483
  34. package/components/number-range/index.umd.cjs +1 -1
  35. package/components/number-spinner/index.esm.js +1037 -1041
  36. package/components/number-spinner/index.umd.cjs +1 -1
  37. package/components/order/index.esm.js +1238 -1242
  38. package/components/order/index.umd.cjs +2 -2
  39. package/components/pagination/index.esm.js +94 -91
  40. package/components/pagination/index.umd.cjs +1 -1
  41. package/components/property-panel/index.esm.js +534 -538
  42. package/components/property-panel/index.umd.cjs +2 -2
  43. package/components/query-solution/index.esm.js +785 -789
  44. package/components/query-solution/index.umd.cjs +5 -5
  45. package/components/response-layout/index.esm.js +710 -714
  46. package/components/response-layout/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +701 -702
  48. package/components/schema-selector/index.umd.cjs +3 -3
  49. package/components/section/index.esm.js +502 -506
  50. package/components/section/index.umd.cjs +1 -1
  51. package/components/sort-condition-editor/index.esm.js +556 -560
  52. package/components/sort-condition-editor/index.umd.cjs +4 -4
  53. package/components/textarea/index.esm.js +480 -484
  54. package/components/textarea/index.umd.cjs +2 -2
  55. package/components/time-picker/index.esm.js +594 -598
  56. package/components/time-picker/index.umd.cjs +1 -1
  57. package/components/tooltip/index.esm.js +189 -179
  58. package/components/tooltip/index.umd.cjs +1 -1
  59. package/components/tree-grid/index.esm.js +463 -467
  60. package/components/tree-grid/index.umd.cjs +1 -1
  61. package/components/tree-view/index.esm.js +629 -633
  62. package/components/tree-view/index.umd.cjs +1 -1
  63. package/components/video/index.esm.js +632 -636
  64. package/components/video/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +2583 -2569
  66. package/farris.all.umd.cjs +11 -11
  67. package/index.css +1 -1
  68. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- var Er = Object.defineProperty;
2
- var Mr = (n, t, e) => t in n ? Er(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var W = (n, t, e) => Mr(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as k, watch as Fe, createVNode as D, createTextVNode as Nt, computed as z, defineComponent as ot, Fragment as Ut, reactive as yt, createApp as An, onUnmounted as sn, onMounted as Bt, Transition as qn, mergeProps as Rt, onBeforeUnmount as zn, withDirectives as Fr, resolveDirective as Or, nextTick as Xt, inject as Pt, provide as Ir, triggerRef as Dr, isVNode as Pr, onBeforeMount as Vr, Teleport as Nr, shallowRef as Rr, render as un, h as Br, cloneVNode as Hr } from "vue";
5
- import { isPlainObject as Fn, cloneDeep as Tt, isUndefined as ft, throttle as Wr } from "lodash-es";
6
- import { useIdentify as Gn, useGroupData as $r, useFilter as Yn, useHierarchy as Un, useLoading as jr, useDataView as Xn, useSelection as Qn, useSelectHierarchyItem as Lr, useDataViewContainerStyle as Kn, useCommandColumn as Ar, useColumn as Jn, useSort as qr, useGroupColumn as Zn, useRow as eo, useEdit as to, useVisualDataBound as no, useVisualDataCell as oo, useVisualDataRow as ro, useVisualData as ao, useCellPosition as io, useSidebar as so, useVirtualScroll as lo, useFitColumn as uo, useFilterHistory as zr, useColumnFilter as Gr, useDragColumn as Yr, getColumnHeader as Ur, getSidebar as co, getDisableMask as Xr, getHorizontalScrollbar as fo, getVerticalScrollbar as mo, getEmpty as ho } from "../data-view/index.esm.js";
1
+ var kr = Object.defineProperty;
2
+ var Er = (n, t, e) => t in n ? kr(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var W = (n, t, e) => Er(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { ref as k, watch as Fe, createVNode as D, createTextVNode as Nt, computed as z, defineComponent as ot, Fragment as Ut, reactive as yt, createApp as Ln, onUnmounted as sn, onMounted as Bt, Transition as An, mergeProps as Rt, onBeforeUnmount as qn, withDirectives as Mr, resolveDirective as Fr, nextTick as Xt, inject as Pt, provide as Or, triggerRef as Ir, isVNode as Dr, onBeforeMount as Pr, Teleport as Vr, shallowRef as Nr, render as un, h as Rr, cloneVNode as Br } from "vue";
5
+ import { isPlainObject as Fn, cloneDeep as Tt, isUndefined as ft, throttle as Hr } from "lodash-es";
6
+ import { useIdentify as zn, useGroupData as Wr, useFilter as Gn, useHierarchy as Yn, useLoading as $r, useDataView as Un, useSelection as Xn, useSelectHierarchyItem as jr, useDataViewContainerStyle as Qn, useCommandColumn as Lr, useColumn as Kn, useSort as Ar, useGroupColumn as Jn, useRow as Zn, useEdit as eo, useVisualDataBound as to, useVisualDataCell as no, useVisualDataRow as oo, useVisualData as ro, useCellPosition as ao, useSidebar as io, useVirtualScroll as so, useFitColumn as lo, useFilterHistory as qr, useColumnFilter as zr, useDragColumn as Gr, getColumnHeader as Yr, getSidebar as uo, getDisableMask as Ur, getHorizontalScrollbar as co, getVerticalScrollbar as fo, getEmpty as mo } from "../data-view/index.esm.js";
7
7
  import "../modal/index.esm.js";
8
- import Qr from "../transfer/index.esm.js";
9
- import Kr from "../tabs/index.esm.js";
10
- import Jr from "../order/index.esm.js";
8
+ import Xr from "../transfer/index.esm.js";
9
+ import Qr from "../tabs/index.esm.js";
10
+ import Kr from "../order/index.esm.js";
11
11
  import "../condition/index.esm.js";
12
- import { FCheckbox as Zr } from "../checkbox/index.esm.js";
13
- import { useGuid as ea, resolveField as at, FormSchemaEntityFieldTypeName as On, getCustomClass as cn, withInstall as po, useArrayProcessor as vo, useCommonUtils as go, useDateFormat as ta, useNumberFormat as na, setFieldValue as mn } from "../common/index.esm.js";
14
- import oa from "../filter-bar/index.esm.js";
15
- import In from "../tooltip/index.esm.js";
12
+ import { FCheckbox as Jr } from "../checkbox/index.esm.js";
13
+ import { useGuid as Zr, resolveField as at, FormSchemaEntityFieldTypeName as On, getCustomClass as cn, withInstall as ho, useArrayProcessor as po, useCommonUtils as vo, useDateFormat as ea, useNumberFormat as ta, setFieldValue as mn } from "../common/index.esm.js";
14
+ import na from "../filter-bar/index.esm.js";
15
+ import oa from "../tooltip/index.esm.js";
16
16
  import ra from "../pagination/index.esm.js";
17
17
  import aa from "../button/index.esm.js";
18
18
  import ia from "../search-box/index.esm.js";
@@ -27,8 +27,8 @@ import ha from "../../designer/button-edit/index.esm.js";
27
27
  import pa from "../button-group/index.esm.js";
28
28
  import va from "../calendar/index.esm.js";
29
29
  import ga from "../capsule/index.esm.js";
30
- import Dn from "../../designer/checkbox/index.esm.js";
31
- import Pn from "../../designer/checkbox-group/index.esm.js";
30
+ import In from "../../designer/checkbox/index.esm.js";
31
+ import Dn from "../../designer/checkbox-group/index.esm.js";
32
32
  import hn from "../combo-list/index.esm.js";
33
33
  import ya from "../combo-tree/index.esm.js";
34
34
  import ba from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import gi from "../html-template/index.esm.js";
87
87
  import "../external-container/index.esm.js";
88
88
  import { useResizeObserver as bn } from "@vueuse/core";
89
89
  import "../notify/index.esm.js";
90
- const yo = {}, bo = {};
90
+ const go = {}, yo = {};
91
91
  function wn(n) {
92
92
  const { properties: t, title: e, ignore: o } = n, r = o && Array.isArray(o), a = Object.keys(t).reduce((i, s) => ((!r || !o.find((l) => l === s)) && (i[s] = t[s].type === "object" && t[s].properties ? wn(t[s]) : Tt(t[s].default)), i), {});
93
93
  if (e && (!r || !o.find((i) => i === "id"))) {
@@ -110,12 +110,12 @@ function yi(n) {
110
110
  type: e
111
111
  };
112
112
  }
113
- function wo(n, t = {}, e) {
114
- const o = yo[n];
113
+ function bo(n, t = {}, e) {
114
+ const o = go[n];
115
115
  if (o) {
116
116
  let r = yi(o);
117
- const a = bo[n];
118
- return r = a ? a({ getSchemaByType: wo }, r, t, e) : r, r;
117
+ const a = yo[n];
118
+ return r = a ? a({ getSchemaByType: bo }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
121
121
  }
@@ -123,7 +123,7 @@ function bi(n, t) {
123
123
  const e = wn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Fn(o[r]) && Fn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function Co(n, t) {
126
+ function wo(n, t) {
127
127
  return Object.keys(n).filter((o) => n[o] != null).reduce((o, r) => {
128
128
  if (t.has(r)) {
129
129
  const a = t.get(r);
@@ -140,7 +140,7 @@ function Co(n, t) {
140
140
  }
141
141
  function wi(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = bi(n, t);
143
- return Co(o, e);
143
+ return wo(o, e);
144
144
  }
145
145
  function Ci(n = {}) {
146
146
  function t(u, d, c, m) {
@@ -196,7 +196,7 @@ function Ci(n = {}) {
196
196
  }
197
197
  return { parseValueSchema: l };
198
198
  }
199
- const fe = {
199
+ const de = {
200
200
  button: { type: "button", name: "按钮" },
201
201
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
202
202
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -244,9 +244,9 @@ const fe = {
244
244
  }, _i = {}, xi = {};
245
245
  Ci();
246
246
  function Ht(n, t, e = /* @__PURE__ */ new Map(), o = (i, s, l, u) => s, r = {}, a = (i) => i) {
247
- return yo[t.title] = t, bo[t.title] = o, _i[t.title] = r, xi[t.title] = a, (i = {}, s = !0) => {
247
+ return go[t.title] = t, yo[t.title] = o, _i[t.title] = r, xi[t.title] = a, (i = {}, s = !0) => {
248
248
  if (!s)
249
- return Co(i, e);
249
+ return wo(i, e);
250
250
  const l = wi(i, t, e), u = Object.keys(n).reduce((d, c) => (d[c] = n[c].default, d), {});
251
251
  return Object.assign(u, l);
252
252
  };
@@ -505,9 +505,9 @@ const Fi = "tree-view", Oi = "A Farris Component", Ii = "object", Di = {
505
505
  showEllipsis: { type: Boolean, default: !1 },
506
506
  /** 自动高度 **/
507
507
  autoHeight: { type: Boolean, default: !1 }
508
- }, _o = Ht(Cn, ji, Ei, Mi, Pi);
508
+ }, Co = Ht(Cn, ji, Ei, Mi, Pi);
509
509
  var rt = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(rt || {}), vt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(vt || {}), zt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(zt || {}), nt = /* @__PURE__ */ ((n) => (n[n.none = 0] = "none", n[n.filterable = 1] = "filterable", n[n.sortable = 2] = "sortable", n[n.filtered = 4] = "filtered", n[n.sorted = 8] = "sorted", n[n.ascending = 16] = "ascending", n[n.descending = 32] = "descending", n))(nt || {});
510
- function xo(n, t) {
510
+ function _o(n, t) {
511
511
  var p;
512
512
  const e = String(Date.now()), o = ((p = n.rowOption) == null ? void 0 : p.height) || 28, r = k(t.value.primaryColumnsWidth);
513
513
  function a(v) {
@@ -672,7 +672,7 @@ function zi(n) {
672
672
  }
673
673
  return { cellContentPosition: t, cellContentClass: e, cellContentClassWithEllipsis: o };
674
674
  }
675
- function So(n, t, e, o, r, a, i, s, l, u, d, c, m) {
675
+ function xo(n, t, e, o, r, a, i, s, l, u, d, c, m) {
676
676
  const {
677
677
  onClickCell: p
678
678
  } = a, {
@@ -702,7 +702,7 @@ function So(n, t, e, o, r, a, i, s, l, u, d, c, m) {
702
702
  cellPosition: I,
703
703
  rowKey: q,
704
704
  rowPosition: $
705
- } = xo(n, e), {
705
+ } = _o(n, e), {
706
706
  cellContentClass: B,
707
707
  cellContentPosition: P,
708
708
  cellContentClassWithEllipsis: j
@@ -711,110 +711,106 @@ function So(n, t, e, o, r, a, i, s, l, u, d, c, m) {
711
711
  } = Li(n, o, i), {
712
712
  treeNodeIconsClass: R
713
713
  } = Ai(n, C, _);
714
- function U(G, ne) {
715
- const ye = G.raw[_.value];
714
+ function U(Y, oe) {
715
+ const ye = Y.raw[_.value];
716
716
  return {
717
- "fv-tree-node-toggle": ye && G.collapse,
718
- "fv-tree-node-toggle-minus": ye && !G.collapse
717
+ "fv-tree-node-toggle": ye && Y.collapse,
718
+ "fv-tree-node-toggle-minus": ye && !Y.collapse
719
719
  };
720
720
  }
721
- function A(G, ne) {
722
- G.stopPropagation(), V(ne);
721
+ function A(Y, oe) {
722
+ Y.stopPropagation(), V(oe);
723
723
  }
724
- function H(G) {
725
- G.stopPropagation();
724
+ function H(Y) {
725
+ Y.stopPropagation();
726
726
  }
727
- function Y(G, ne) {
727
+ function G(Y, oe) {
728
728
  return D("div", {
729
- class: U(G),
730
- onClick: (ye) => A(ye, G),
729
+ class: U(Y),
730
+ onClick: (ye) => A(ye, Y),
731
731
  onDblclick: H
732
732
  }, null);
733
733
  }
734
- function K(G, ne) {
734
+ function K(Y, oe) {
735
735
  return g.value && D("div", {
736
736
  id: "treeNodeIcons",
737
- class: R(G, ne)
737
+ class: R(Y, oe)
738
738
  }, null);
739
739
  }
740
- function J(G) {
741
- w.value ? (G.checked ? x(G) : b(G), N(G)) : h(G);
742
- }
743
- function Z(G, ne) {
744
- return E.value && D(Zr, {
745
- id: "checkbox_for_" + M(G, ne.index),
746
- indeterminate: G.indeterminate,
747
- disabled: G.disabled,
748
- checked: G.checked,
749
- "onUpdate:checked": (ye) => G.checked = ye,
750
- onChange: () => J(G)
740
+ function J(Y) {
741
+ w.value ? (Y.checked ? x(Y) : b(Y), N(Y)) : h(Y);
742
+ }
743
+ function Z(Y, oe) {
744
+ return E.value && D(Jr, {
745
+ id: "checkbox_for_" + M(Y, oe.index),
746
+ indeterminate: Y.indeterminate,
747
+ disabled: Y.disabled,
748
+ checked: Y.checked,
749
+ "onUpdate:checked": (ye) => Y.checked = ye,
750
+ onChange: () => J(Y)
751
751
  }, null);
752
752
  }
753
- function de(G, ne) {
753
+ function me(Y, oe) {
754
754
  return D("span", {
755
- title: ne.data,
756
755
  style: "user-select:none"
757
756
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
758
- cell: ne,
759
- row: G
760
- }) : ne.mode === rt.editing ? ne.getEditor(ne) : ne.formatter ? ne.formatter(ne, G) : ne.data != null ? ne.data.toString() : ne.data]);
761
- }
762
- function ve(G, ne) {
757
+ cell: oe,
758
+ row: Y
759
+ }) : oe.mode === rt.editing ? oe.getEditor(oe) : oe.formatter ? oe.formatter(oe, Y) : oe.showTips ? D(oa, null, {
760
+ default: () => oe.data,
761
+ contentTemplate: () => oe.data
762
+ }) : oe.data]);
763
+ }
764
+ function ve(Y, oe) {
763
765
  return D("div", {
764
- class: j(ne)
765
- }, [ne.showTips ? D(In, null, {
766
- default: () => de(G, ne),
767
- contentTemplate: () => de(G, ne)
768
- }) : de(G, ne)]);
769
- }
770
- function Se(G, ne, ye) {
771
- const Ee = F(G);
766
+ class: j(oe)
767
+ }, [me(Y, oe)]);
768
+ }
769
+ function Se(Y, oe, ye) {
770
+ const Ee = F(Y);
772
771
  return D("div", {
773
- ref: ne.setRef,
774
- key: M(G, ne.index),
772
+ ref: oe.setRef,
773
+ key: M(Y, oe.index),
775
774
  class: "fv-grid-hierarchy-cell",
776
- style: I(ne, ye)
775
+ style: I(oe, ye)
777
776
  }, [D("div", {
778
- class: B(ne),
777
+ class: B(oe),
779
778
  style: Ee
780
- }, [Y(G), K(G, ne), Z(G, ne), ve(G, ne)])]);
779
+ }, [G(Y), K(Y, oe), Z(Y, oe), ve(Y, oe)])]);
781
780
  }
782
- function De(G, ne, ye) {
781
+ function De(Y, oe, ye) {
783
782
  return D("div", {
784
- ref: ne.setRef,
785
- key: M(G, ne.index),
786
- class: v(ne),
787
- style: I(ne, ye),
788
- onClick: (Ee) => p(Ee, ne, G, ne.column)
783
+ ref: oe.setRef,
784
+ key: M(Y, oe.index),
785
+ class: v(oe),
786
+ style: I(oe, ye),
787
+ onClick: (Ee) => p(Ee, oe, Y, oe.column)
789
788
  }, [D("div", {
790
- class: B(ne)
789
+ class: B(oe)
791
790
  }, [D("div", {
792
- class: j(ne)
793
- }, [ne.showTips ? D(In, null, {
794
- default: () => de(G, ne),
795
- contentTemplate: () => de(G, ne)
796
- }) : de(G, ne)])])]);
791
+ class: j(oe)
792
+ }, [me(Y, oe)])])]);
797
793
  }
798
- function Re(G, ne) {
799
- return ne === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === G.field || ne === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === G.field;
794
+ function Re(Y, oe) {
795
+ return oe === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === Y.field || oe === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === Y.field;
800
796
  }
801
- function X(G, ne) {
797
+ function X(Y, oe) {
802
798
  t.emit("dblclickNode", {
803
- $event: G,
804
- node: ne.raw
799
+ $event: Y,
800
+ node: oe.raw
805
801
  });
806
802
  }
807
- function le(G, ne, ye = "primary", Ee) {
803
+ function le(Y, oe, ye = "primary", Ee) {
808
804
  return D("div", {
809
- ref: G.setRef,
810
- key: q(G),
811
- class: T(G, Ee),
812
- style: $(G),
813
- onMouseover: (Pe) => S(Pe, G),
814
- onMouseout: (Pe) => f(Pe, G),
815
- onClick: (Pe) => y(Pe, G),
816
- onDblclick: (Pe) => X(Pe, G)
817
- }, [Object.values(G.data).filter((Pe) => ne[Pe.field] && Pe.rowSpan === 1).map((Pe) => Re(Pe, ye) ? Se(G, Pe, ne) : De(G, Pe, ne))]);
805
+ ref: Y.setRef,
806
+ key: q(Y),
807
+ class: T(Y, Ee),
808
+ style: $(Y),
809
+ onMouseover: (Pe) => S(Pe, Y),
810
+ onMouseout: (Pe) => f(Pe, Y),
811
+ onClick: (Pe) => y(Pe, Y),
812
+ onDblclick: (Pe) => X(Pe, Y)
813
+ }, [Object.values(Y.data).filter((Pe) => oe[Pe.field] && Pe.rowSpan === 1).map((Pe) => Re(Pe, ye) ? Se(Y, Pe, oe) : De(Y, Pe, oe))]);
818
814
  }
819
815
  return {
820
816
  renderDataRow: le
@@ -880,7 +876,7 @@ function Yi() {
880
876
  renderCommandColumn: e
881
877
  };
882
878
  }
883
- function To(n) {
879
+ function So(n) {
884
880
  const t = k(n.minHeight), e = k(n.minWidth), o = k(n.height), r = k(n.width), a = z(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = z(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
885
881
  return Fe([
886
882
  () => n.height,
@@ -1136,7 +1132,7 @@ function Ki(n, t) {
1136
1132
  }
1137
1133
  function Ji(n, t) {
1138
1134
  var S;
1139
- ea();
1135
+ Zr();
1140
1136
  const { idField: e } = t, o = k(n.summary), r = k(n.group), a = k(((S = n.group) == null ? void 0 : S.groupFields) || []), i = z(() => {
1141
1137
  var f;
1142
1138
  return (f = n.group) == null ? void 0 : f.enable;
@@ -1231,124 +1227,124 @@ function Ji(n, t) {
1231
1227
  function Zi(n, t, e, o) {
1232
1228
  const r = k(0), a = k(!!n.hierarchy), { idField: i } = o, { collapseField: s, hasChildrenField: l, parentIdField: u } = e, d = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
1233
1229
  function p(A, H) {
1234
- c.clear(), A.reduce((Y, K) => {
1230
+ c.clear(), A.reduce((G, K) => {
1235
1231
  const J = K[u.value] !== void 0 ? K[u.value] : "";
1236
1232
  if (J && H.has(J)) {
1237
- const de = H.get(J), ve = isNaN(Number(de.__fv_layer__)) ? 1 : Number(de.__fv_layer__);
1238
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = de.__fv_index__, de.__fv_hasChildren__ = !0;
1233
+ const me = H.get(J), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
1234
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
1239
1235
  } else
1240
1236
  K.__fv_layer__ = 1;
1241
- const Z = Y.has(J) ? Y.get(J) : [];
1242
- return Z.push(K), Y.set(J, Z), Y;
1237
+ const Z = G.has(J) ? G.get(J) : [];
1238
+ return Z.push(K), G.set(J, Z), G;
1243
1239
  }, c);
1244
1240
  }
1245
1241
  function v(A) {
1246
- m.clear(), A.reduce((H, Y) => {
1247
- const K = Y[i.value];
1248
- return H.set(K, Y), H;
1242
+ m.clear(), A.reduce((H, G) => {
1243
+ const K = G[i.value];
1244
+ return H.set(K, G), H;
1249
1245
  }, m);
1250
1246
  }
1251
1247
  function O(A) {
1252
1248
  A.forEach((H) => {
1253
- const Y = H[i.value];
1249
+ const G = H[i.value];
1254
1250
  H.__fv_children_index__.map((J) => A[J]).forEach((J) => {
1255
1251
  J.__fv_parents__ = new Map([
1256
1252
  ...H.__fv_parents__.entries(),
1257
- [Y, !0]
1253
+ [G, !0]
1258
1254
  ]);
1259
1255
  });
1260
1256
  });
1261
1257
  }
1262
1258
  function T(A) {
1263
1259
  A.forEach((H) => {
1264
- const Y = new Set(H.__fv_children_index__);
1265
- H.__fv_children_index__ = [...Y].sort((K, J) => K - J);
1260
+ const G = new Set(H.__fv_children_index__);
1261
+ H.__fv_children_index__ = [...G].sort((K, J) => K - J);
1266
1262
  });
1267
1263
  }
1268
1264
  function y(A) {
1269
1265
  A.forEach((H) => {
1270
- const Y = H.__fv_parents__;
1271
- Array.from(Y.keys()).map((K) => m.get(K)).forEach((K) => {
1266
+ const G = H.__fv_parents__;
1267
+ Array.from(G.keys()).map((K) => m.get(K)).forEach((K) => {
1272
1268
  K.__fv_children_index__.push(H.__fv_index__);
1273
1269
  });
1274
1270
  }), T(A);
1275
1271
  }
1276
1272
  function S(A) {
1277
1273
  A.forEach((H) => {
1278
- H.__fv_child_with_lines__ = [], H.__fv_child_length__ = H.__fv_descendant_index__.length, H.__fv_descendant_index__.map((Y) => A[Y]).reduce((Y, K) => (Y.__fv_child_length__ += K.__fv_children_index__.length, Y.__fv_child_with_lines__.push(...K.__fv_children_index__, K.__fv_index__), Y), H);
1274
+ H.__fv_child_with_lines__ = [], H.__fv_child_length__ = H.__fv_descendant_index__.length, H.__fv_descendant_index__.map((G) => A[G]).reduce((G, K) => (G.__fv_child_length__ += K.__fv_children_index__.length, G.__fv_child_with_lines__.push(...K.__fv_children_index__, K.__fv_index__), G), H);
1279
1275
  });
1280
1276
  }
1281
1277
  function f(A, H) {
1282
1278
  return { id: A, index: H, parentId: "", parentIndex: -1, parents: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map(), descendant: /* @__PURE__ */ new Map(), collapsed: !1, visibleInHierarchy: !0 };
1283
1279
  }
1284
- function w(A, H, Y) {
1280
+ function w(A, H, G) {
1285
1281
  Array.from(H.keys()).forEach((K) => {
1286
- H.get(K).reduce((Z, de) => {
1287
- const ve = de[i.value], Se = A.get(de[i.value]), De = A.get(K), Re = Y.get(K);
1282
+ H.get(K).reduce((Z, me) => {
1283
+ const ve = me[i.value], Se = A.get(me[i.value]), De = A.get(K), Re = G.get(K);
1288
1284
  return De && Re && (De.children.set(ve, Se), De.children.set(ve, Se), Se.parentId = K, Se.parentIndex = De.index, Se.parents.set(K, De)), Z;
1289
1285
  }, A);
1290
1286
  });
1291
1287
  }
1292
1288
  function x(A) {
1293
- A.children.forEach((Y) => {
1294
- Y.parents = new Map([
1289
+ A.children.forEach((G) => {
1290
+ G.parents = new Map([
1295
1291
  ...A.parents.entries(),
1296
1292
  [A.id, A]
1297
- ]), x(Y);
1293
+ ]), x(G);
1298
1294
  });
1299
1295
  }
1300
1296
  function b(A, H) {
1301
- A.filter((Y) => Y[u.value] === void 0 || Y[u.value] === "").forEach((Y) => {
1302
- const K = Y[i.value], J = H.get(K);
1297
+ A.filter((G) => G[u.value] === void 0 || G[u.value] === "").forEach((G) => {
1298
+ const K = G[i.value], J = H.get(K);
1303
1299
  x(J);
1304
1300
  });
1305
1301
  }
1306
1302
  function h(A) {
1307
1303
  Array.from(A.values()).forEach((H) => {
1308
- Array.from(H.parents.values()).forEach((Y) => {
1309
- Y.descendant.set(H.id, H);
1304
+ Array.from(H.parents.values()).forEach((G) => {
1305
+ G.descendant.set(H.id, H);
1310
1306
  });
1311
1307
  });
1312
1308
  }
1313
1309
  function C(A) {
1314
- d.clear(), A.forEach((H, Y) => {
1310
+ d.clear(), A.forEach((H, G) => {
1315
1311
  const K = H[i.value];
1316
- d.set(K, f(K, Y));
1312
+ d.set(K, f(K, G));
1317
1313
  }), v(A), p(A, m), w(d, c, m), b(A, d), h(d);
1318
1314
  }
1319
1315
  function _(A) {
1320
- const H = A[i.value], Y = d.get(H);
1321
- return Y && Y.children.size > 0;
1316
+ const H = A[i.value], G = d.get(H);
1317
+ return G && G.children.size > 0;
1322
1318
  }
1323
1319
  function E(A) {
1324
1320
  return A[l.value] && !_(A);
1325
1321
  }
1326
1322
  function g(A) {
1327
- const H = A[i.value], Y = d.get(H);
1328
- return Y && Y.visibleInHierarchy;
1323
+ const H = A[i.value], G = d.get(H);
1324
+ return G && G.visibleInHierarchy;
1329
1325
  }
1330
1326
  function V() {
1331
1327
  r.value = Date.now();
1332
1328
  }
1333
1329
  function N(A, H) {
1334
- H.forEach((Y) => {
1335
- const K = d.get(Y[i.value]), J = d.get(A), Z = m.get(A);
1330
+ H.forEach((G) => {
1331
+ const K = d.get(G[i.value]), J = d.get(A), Z = m.get(A);
1336
1332
  J && Z && (K.visibleInHierarchy = !Z[s.value] && J.visibleInHierarchy);
1337
1333
  }), V();
1338
1334
  }
1339
1335
  function M(A) {
1340
1336
  if (c.has(A)) {
1341
- const Y = c.get(A);
1342
- N(A, Y), Y.map((K) => K[i.value]).forEach((K) => M(K));
1337
+ const G = c.get(A);
1338
+ N(A, G), G.map((K) => K[i.value]).forEach((K) => M(K));
1343
1339
  }
1344
1340
  }
1345
1341
  function I(A) {
1346
1342
  const H = A[i.value];
1347
1343
  M(H);
1348
1344
  }
1349
- function q(A, H, Y = 0) {
1345
+ function q(A, H, G = 0) {
1350
1346
  A.forEach((K) => {
1351
- const J = E(K), Z = K.__fv_layer__ <= Y, de = H === "ToCollapse" ? K.__fv_layer__ <= Y : !(K.__fv_layer__ <= Y), ve = Z ? de : K[s.value];
1347
+ const J = E(K), Z = K.__fv_layer__ <= G, me = H === "ToCollapse" ? K.__fv_layer__ <= G : !(K.__fv_layer__ <= G), ve = Z ? me : K[s.value];
1352
1348
  K[s.value] = J || ve;
1353
1349
  });
1354
1350
  for (const [K, J] of c.entries())
@@ -1362,48 +1358,48 @@ function Zi(n, t, e, o) {
1362
1358
  q(A, "ToExpand", H);
1363
1359
  }
1364
1360
  function P(A) {
1365
- A.forEach((H, Y) => {
1366
- var de;
1367
- const K = H[i.value], J = c.has(K) ? (de = c.get(K)) == null ? void 0 : de.map((ve) => ve.__fv_index__) : [], Z = f(K, Y);
1361
+ A.forEach((H, G) => {
1362
+ var me;
1363
+ const K = H[i.value], J = c.has(K) ? (me = c.get(K)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], Z = f(K, G);
1368
1364
  H.__fv_graph_node__ = Z, H.__fv_children_index__ = J, H.__fv_descendant_index__ = [...J], H.__fv_parents__ = /* @__PURE__ */ new Map(), E(H) && (H[s.value] = !0);
1369
1365
  });
1370
1366
  }
1371
1367
  function j(A) {
1372
1368
  var K, J;
1373
1369
  C(t.value), P(A), O(A), y(A), n.showLines && S(A);
1374
- const Y = ((K = n.hierarchy) == null ? void 0 : K.collapseTo) !== void 0 ? Number((J = n.hierarchy) == null ? void 0 : J.collapseTo) : 0;
1375
- return q(A, "ToCollapse", Y), A;
1370
+ const G = ((K = n.hierarchy) == null ? void 0 : K.collapseTo) !== void 0 ? Number((J = n.hierarchy) == null ? void 0 : J.collapseTo) : 0;
1371
+ return q(A, "ToCollapse", G), A;
1376
1372
  }
1377
- function F(A, H, Y) {
1378
- const J = Y.value[A][i.value], Z = d.get(J);
1373
+ function F(A, H, G) {
1374
+ const J = G.value[A][i.value], Z = d.get(J);
1379
1375
  if (Z) {
1380
- const de = d.get(Z.parentId);
1381
- let ve = Y.value.length - 1;
1382
- if (de) {
1383
- const Se = Array.from(de.children.keys()).indexOf(Z.id);
1384
- if (Se === de.children.size - 1) {
1385
- const Re = Array.from(de.descendant.values())[de.descendant.size - 1];
1386
- ve = Y.value.findIndex((le) => le[i.value] === Re.id) + 1;
1376
+ const me = d.get(Z.parentId);
1377
+ let ve = G.value.length - 1;
1378
+ if (me) {
1379
+ const Se = Array.from(me.children.keys()).indexOf(Z.id);
1380
+ if (Se === me.children.size - 1) {
1381
+ const Re = Array.from(me.descendant.values())[me.descendant.size - 1];
1382
+ ve = G.value.findIndex((le) => le[i.value] === Re.id) + 1;
1387
1383
  } else {
1388
- const Re = Array.from(de.children.values())[Se + 1];
1389
- ve = Y.value.findIndex((le) => le[i.value] === Re.id);
1384
+ const Re = Array.from(me.children.values())[Se + 1];
1385
+ ve = G.value.findIndex((le) => le[i.value] === Re.id);
1390
1386
  }
1391
- H[l.value] = !1, H[u.value] = de.id, Y.value.splice(ve, 0, H);
1387
+ H[l.value] = !1, H[u.value] = me.id, G.value.splice(ve, 0, H);
1392
1388
  }
1393
1389
  }
1394
1390
  }
1395
- function R(A, H, Y) {
1396
- const K = Y.value[A], J = K[i.value];
1391
+ function R(A, H, G) {
1392
+ const K = G.value[A], J = K[i.value];
1397
1393
  if (d.get(J)) {
1398
- const ve = Y.value.findIndex((Se) => Se[i.value] === J) + 1;
1399
- K[l.value] = !0, K[s.value] = !1, H[l.value] = !1, H[u.value] = J, Y.value.splice(ve, 0, H);
1394
+ const ve = G.value.findIndex((Se) => Se[i.value] === J) + 1;
1395
+ K[l.value] = !0, K[s.value] = !1, H[l.value] = !1, H[u.value] = J, G.value.splice(ve, 0, H);
1400
1396
  }
1401
1397
  }
1402
1398
  function U(A, H) {
1403
- const Y = A[i.value], K = d.get(Y), J = Array.from(K.descendant.keys());
1404
- J.unshift(Y);
1399
+ const G = A[i.value], K = d.get(G), J = Array.from(K.descendant.keys());
1400
+ J.unshift(G);
1405
1401
  const Z = d.get(K.parentId);
1406
- if (Z && (Z.children.delete(Y), Z.children.size === 0)) {
1402
+ if (Z && (Z.children.delete(G), Z.children.size === 0)) {
1407
1403
  const ve = H.find((Se) => Se[i.value] === K.parentId);
1408
1404
  ve[l.value] = !1, ve[s.value] = !1;
1409
1405
  }
@@ -1561,7 +1557,7 @@ const es = {
1561
1557
  }, null)]);
1562
1558
  }
1563
1559
  });
1564
- class ko {
1560
+ class To {
1565
1561
  constructor() {
1566
1562
  W(this, "notifyRefs", []);
1567
1563
  W(this, "globalConfig", yt({}));
@@ -1582,7 +1578,7 @@ class ko {
1582
1578
  ...t
1583
1579
  }), a = document.createElement("div");
1584
1580
  a.style.display = "contents";
1585
- const i = An({
1581
+ const i = Ln({
1586
1582
  setup() {
1587
1583
  var u;
1588
1584
  const s = k();
@@ -1602,7 +1598,7 @@ class ko {
1602
1598
  document.body.removeChild(a);
1603
1599
  }), Bt(() => {
1604
1600
  e.updateNotifyPositionForCreate(r, s);
1605
- }), () => D(qn, {
1601
+ }), () => D(An, {
1606
1602
  mode: "out-in",
1607
1603
  name: "fade",
1608
1604
  appear: !0
@@ -1683,10 +1679,10 @@ class ko {
1683
1679
  const ns = Symbol("NOTIFY_SERVICE_TOKEN");
1684
1680
  Kt.install = (n) => {
1685
1681
  n.component(Kt.name, Kt), n.component(pn.name, pn);
1686
- const t = new ko();
1682
+ const t = new To();
1687
1683
  n.provide(ns, t), n.provide("FNotifyService", t);
1688
1684
  };
1689
- function Eo(n, t, e, o, r) {
1685
+ function ko(n, t, e, o, r) {
1690
1686
  var Ze;
1691
1687
  const a = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), d = k([]), c = k([]), m = Ji(n, r), { generateGroupData: p, groupFields: v, shouldGroupingData: O } = m, T = k(n.data), y = Zi(n, T, o, r), {
1692
1688
  collapseTo: S,
@@ -1717,16 +1713,16 @@ function Eo(n, t, e, o, r) {
1717
1713
  function H() {
1718
1714
  return A.value && A.value.enable && A.value.size > 0 ? A.value.size : q.value.length;
1719
1715
  }
1720
- const Y = k(1), K = z(() => A.value && A.value.enable && A.value.mode !== "server"), J = z(() => A.value && A.value.enable && A.value.mode === "server"), Z = new ko();
1721
- function de(Q, he) {
1716
+ const G = k(1), K = z(() => A.value && A.value.enable && A.value.mode !== "server"), J = z(() => A.value && A.value.enable && A.value.mode === "server"), Z = new To();
1717
+ function me(Q, he) {
1722
1718
  const _e = Math.ceil(Q.length / he);
1723
1719
  let Ve = 0;
1724
1720
  const L = [], te = [], re = [];
1725
1721
  for (; Ve < _e; ) {
1726
- const oe = Q.slice(Ve * he, (Ve + 1) * he), Ce = p(v.value, oe, t);
1722
+ const ne = Q.slice(Ve * he, (Ve + 1) * he), Ce = p(v.value, ne, t);
1727
1723
  te[Ve] = Ce.filter((we) => we.__fv_data_grid_group_row__).length, L.push(...Ce), Ve++;
1728
1724
  }
1729
- return te.reduce((oe, Ce, we) => (oe = oe + Ce, re.push(oe), oe), 0), {
1725
+ return te.reduce((ne, Ce, we) => (ne = ne + Ce, re.push(ne), ne), 0), {
1730
1726
  groupData: L,
1731
1727
  groupRowSizeList: te,
1732
1728
  accumulateGroupRowSize: re
@@ -1735,58 +1731,58 @@ function Eo(n, t, e, o, r) {
1735
1731
  function ve() {
1736
1732
  var Ce;
1737
1733
  q.value = T.value, K.value && (U.value = q.value.length), O.value && !K.value && (q.value = p(v.value, T.value, t)), R = F.value.reduce((we, He) => (we.set(He, 0), we), R);
1738
- const Q = 0, he = H(), _e = (Y.value - 1) * he;
1734
+ const Q = 0, he = H(), _e = (G.value - 1) * he;
1739
1735
  let L = _e > q.value.length - 1 || J.value ? Q : _e, te = J.value ? q.value.length : Math.min(L + he, q.value.length);
1740
1736
  if (O.value && K.value) {
1741
- const { accumulateGroupRowSize: we, groupData: He, groupRowSizeList: Me } = de(T.value, he);
1737
+ const { accumulateGroupRowSize: we, groupData: He, groupRowSizeList: Me } = me(T.value, he);
1742
1738
  q.value = He;
1743
- const We = Me[Y.value - 1];
1744
- L += Y.value - 2 < 0 ? 0 : we[Y.value - 2], te = L + he + We;
1739
+ const We = Me[G.value - 1];
1740
+ L += G.value - 2 < 0 ? 0 : we[G.value - 2], te = L + he + We;
1745
1741
  }
1746
1742
  let re = 0;
1747
- const oe = [];
1743
+ const ne = [];
1748
1744
  if (q.value.length) {
1749
1745
  M(q.value);
1750
1746
  const we = N.value !== n.idField;
1751
1747
  for (let He = L; He < te; He++) {
1752
1748
  const Me = q.value[He];
1753
- Me.__fv_data_grid_group_row__ ? (re = 0, Me.__fv_data_index__ = "") : Me.__fv_data_grid_group_summary__ ? Me.__fv_data_index__ = "" : (re++, Me.__fv_data_index__ = re + (Y.value - 1) * he), Me.__fv_index__ = He, Me.__fv_visible_index__ = He, n.rowOption && n.rowOption.disabledField && (Me.__fv_disabled__ = Me[(Ce = n.rowOption) == null ? void 0 : Ce.disabledField]), we && (Me[N.value] = He), F.value.forEach((We) => {
1749
+ Me.__fv_data_grid_group_row__ ? (re = 0, Me.__fv_data_index__ = "") : Me.__fv_data_grid_group_summary__ ? Me.__fv_data_index__ = "" : (re++, Me.__fv_data_index__ = re + (G.value - 1) * he), Me.__fv_index__ = He, Me.__fv_visible_index__ = He, n.rowOption && n.rowOption.disabledField && (Me.__fv_disabled__ = Me[(Ce = n.rowOption) == null ? void 0 : Ce.disabledField]), we && (Me[N.value] = He), F.value.forEach((We) => {
1754
1750
  const st = R.get(We) || 0;
1755
1751
  R.set(We, st + Me[We]);
1756
- }), oe.push(Me);
1752
+ }), ne.push(Me);
1757
1753
  }
1758
1754
  }
1759
- return _.value && w(oe), $.value = [...oe], oe;
1755
+ return _.value && w(ne), $.value = [...ne], ne;
1760
1756
  }
1761
1757
  const Se = k(ve()), De = z(() => (V.value, Se.value.filter((Q) => _.value ? Q.__fv_visible__ !== !1 && C(Q) : Q.__fv_visible__ !== !1)));
1762
1758
  function Re() {
1763
1759
  De.value.forEach((Q, he) => (Q.__fv_visible_index__ = he, Q));
1764
1760
  }
1765
1761
  function X(Q, he, _e = !1) {
1766
- const L = (_e ? ve() : [...$.value]).filter((oe) => e.apply(oe)), te = Q && Q.length ? L.filter((oe) => Q.reduce((Ce, we) => Ce && we.filter(oe), !0)) : L, re = he && he.length ? te.sort((oe, Ce) => {
1762
+ const L = (_e ? ve() : [...$.value]).filter((ne) => e.apply(ne)), te = Q && Q.length ? L.filter((ne) => Q.reduce((Ce, we) => Ce && we.filter(ne), !0)) : L, re = he && he.length ? te.sort((ne, Ce) => {
1767
1763
  const we = [...he], He = we.shift();
1768
- let Me = He.compare(oe[He.field], Ce[He.field]);
1764
+ let Me = He.compare(ne[He.field], Ce[He.field]);
1769
1765
  for (; Me === 0 && we.length !== 0; ) {
1770
1766
  const We = we.shift();
1771
- We && (Me = We.compare(oe[We.field], Ce[We.field]));
1767
+ We && (Me = We.compare(ne[We.field], Ce[We.field]));
1772
1768
  }
1773
1769
  return Me;
1774
1770
  }) : te;
1775
- return Se.value = re.map((oe, Ce) => {
1776
- if (oe.__fv_data_grid_group_row__) {
1777
- const we = `group_of_${oe.__fv_data_grid_group_field__}_${oe.__fv_data_grid_group_value__}`;
1778
- oe.__fv_data_grid_group_collapse__ = !!a.get(we);
1771
+ return Se.value = re.map((ne, Ce) => {
1772
+ if (ne.__fv_data_grid_group_row__) {
1773
+ const we = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
1774
+ ne.__fv_data_grid_group_collapse__ = !!a.get(we);
1779
1775
  }
1780
- return oe.__fv_index__ = Ce, oe.__fv_visible_index__ = Ce, oe;
1776
+ return ne.__fv_index__ = Ce, ne.__fv_visible_index__ = Ce, ne;
1781
1777
  }), Se.value;
1782
1778
  }
1783
1779
  function le(Q) {
1784
1780
  return u.clear(), c.value = Q, c.value.reduce((he, _e) => (he.set(_e.field, _e), he), u), X([], c.value);
1785
1781
  }
1786
- function G(Q, he) {
1782
+ function Y(Q, he) {
1787
1783
  return u.set(Q, he), c.value = Array.from(u.values()), X([], c.value);
1788
1784
  }
1789
- function ne(Q) {
1785
+ function oe(Q) {
1790
1786
  return u.delete(Q), c.value = Array.from(u.values()), X([], c.value);
1791
1787
  }
1792
1788
  function ye(Q, he) {
@@ -1846,11 +1842,11 @@ function Eo(n, t, e, o, r) {
1846
1842
  T.value = _e, ke();
1847
1843
  }
1848
1844
  function ut(Q, he, _e) {
1849
- return (Q && Q.length ? Se.value.filter((L, te) => Q.reduce((re, oe) => re && oe.filter(L), !0)) : Se.value).slice(he, _e);
1845
+ return (Q && Q.length ? Se.value.filter((L, te) => Q.reduce((re, ne) => re && ne.filter(L), !0)) : Se.value).slice(he, _e);
1850
1846
  }
1851
1847
  function bt(Q) {
1852
1848
  const he = H(), _e = Math.ceil(U.value / he);
1853
- 0 <= Q && Q <= _e && (Y.value = Q, ke());
1849
+ 0 <= Q && Q <= _e && (G.value = Q, ke());
1854
1850
  }
1855
1851
  function mt(Q) {
1856
1852
  T.value.push(Tt(Q)), Se.value = ve();
@@ -1885,11 +1881,11 @@ function Eo(n, t, e, o, r) {
1885
1881
  const Q = s.size > 0 ? Array.from(s.values()) : [];
1886
1882
  return X(Q, Array.from(u.values()));
1887
1883
  }
1888
- function me(Q) {
1884
+ function fe(Q) {
1889
1885
  A.value.size = Q;
1890
1886
  }
1891
1887
  function ge(Q) {
1892
- A.value && (me(Q), ke());
1888
+ A.value && (fe(Q), ke());
1893
1889
  }
1894
1890
  function Be(Q, he) {
1895
1891
  const _e = T.value[Number(Q) - 1];
@@ -1909,8 +1905,8 @@ function Eo(n, t, e, o, r) {
1909
1905
  return {
1910
1906
  addFilter: ye,
1911
1907
  addNewDataItem: mt,
1912
- addSorter: G,
1913
- updatePageSize: me,
1908
+ addSorter: Y,
1909
+ updatePageSize: fe,
1914
1910
  changePageSizeTo: ge,
1915
1911
  collapse: Ke,
1916
1912
  collapseTo: lt,
@@ -1928,7 +1924,7 @@ function Eo(n, t, e, o, r) {
1928
1924
  isVisibleInTree: C,
1929
1925
  load: Xe,
1930
1926
  navigatePageTo: bt,
1931
- pageIndex: Y,
1927
+ pageIndex: G,
1932
1928
  rawView: $,
1933
1929
  refresh: ae,
1934
1930
  removeAllFilter: Pe,
@@ -1936,7 +1932,7 @@ function Eo(n, t, e, o, r) {
1936
1932
  removeDataItemById: Mt,
1937
1933
  removeFilter: Ee,
1938
1934
  removeHierarchyDataItem: Ct,
1939
- removeSorter: ne,
1935
+ removeSorter: oe,
1940
1936
  reOrderVisibleIndex: Re,
1941
1937
  setSorters: le,
1942
1938
  sorters: c,
@@ -1948,7 +1944,7 @@ function Eo(n, t, e, o, r) {
1948
1944
  visibleDataItems: De
1949
1945
  };
1950
1946
  }
1951
- const Mo = {
1947
+ const Eo = {
1952
1948
  conditions: { type: Array, default: [] },
1953
1949
  fields: { type: Array, default: [] },
1954
1950
  key: { type: String, default: "" },
@@ -1957,7 +1953,7 @@ const Mo = {
1957
1953
  */
1958
1954
  isControlInline: { type: Boolean, default: !0 }
1959
1955
  };
1960
- class Fo {
1956
+ class Mo {
1961
1957
  constructor(t = { value: [] }) {
1962
1958
  W(this, "editorType", "check-box");
1963
1959
  W(this, "value");
@@ -1981,7 +1977,7 @@ class Fo {
1981
1977
  return this.value.length === 0;
1982
1978
  }
1983
1979
  }
1984
- class Oo {
1980
+ class Fo {
1985
1981
  constructor(t = { textValue: "", value: "", valueField: "" }) {
1986
1982
  W(this, "editorType", "combo-lookup");
1987
1983
  W(this, "textValue");
@@ -2025,11 +2021,11 @@ function Ye(n) {
2025
2021
  function je(n, t) {
2026
2022
  return n instanceof Date ? new n.constructor(t) : new Date(t);
2027
2023
  }
2028
- function Io(n, t) {
2024
+ function Oo(n, t) {
2029
2025
  const e = Ye(n);
2030
2026
  return isNaN(t) ? je(n, NaN) : (t && e.setDate(e.getDate() + t), e);
2031
2027
  }
2032
- const Do = 6048e5, os = 864e5, rs = 6e4, as = 36e5, is = 1e3;
2028
+ const Io = 6048e5, os = 864e5, rs = 6e4, as = 36e5, is = 1e3;
2033
2029
  let ss = {};
2034
2030
  function Lt() {
2035
2031
  return ss;
@@ -2042,7 +2038,7 @@ function kt(n, t) {
2042
2038
  function jt(n) {
2043
2039
  return kt(n, { weekStartsOn: 1 });
2044
2040
  }
2045
- function Po(n) {
2041
+ function Do(n) {
2046
2042
  const t = Ye(n), e = t.getFullYear(), o = je(n, 0);
2047
2043
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
2048
2044
  const r = jt(o), a = je(n, 0);
@@ -2050,7 +2046,7 @@ function Po(n) {
2050
2046
  const i = jt(a);
2051
2047
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
2052
2048
  }
2053
- function Vn(n) {
2049
+ function Pn(n) {
2054
2050
  const t = Ye(n);
2055
2051
  return t.setHours(0, 0, 0, 0), t;
2056
2052
  }
@@ -2069,11 +2065,11 @@ function en(n) {
2069
2065
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
2070
2066
  }
2071
2067
  function ls(n, t) {
2072
- const e = Vn(n), o = Vn(t), r = +e - en(e), a = +o - en(o);
2068
+ const e = Pn(n), o = Pn(t), r = +e - en(e), a = +o - en(o);
2073
2069
  return Math.round((r - a) / os);
2074
2070
  }
2075
2071
  function us(n) {
2076
- const t = Po(n), e = je(n, 0);
2072
+ const t = Do(n), e = je(n, 0);
2077
2073
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), jt(e);
2078
2074
  }
2079
2075
  function cs(n) {
@@ -2508,7 +2504,7 @@ const Ds = /^(\d+)(th|st|nd|rd)?/i, Ps = /\d+/i, Vs = {
2508
2504
  parsePatterns: As,
2509
2505
  defaultParseWidth: "any"
2510
2506
  })
2511
- }, Vo = {
2507
+ }, Po = {
2512
2508
  code: "en-US",
2513
2509
  formatDistance: hs,
2514
2510
  formatLong: ys,
@@ -2524,9 +2520,9 @@ function zs(n) {
2524
2520
  const t = Ye(n);
2525
2521
  return ls(t, fs(t)) + 1;
2526
2522
  }
2527
- function No(n) {
2523
+ function Vo(n) {
2528
2524
  const t = Ye(n), e = +jt(t) - +us(t);
2529
- return Math.round(e / Do) + 1;
2525
+ return Math.round(e / Io) + 1;
2530
2526
  }
2531
2527
  function _n(n, t) {
2532
2528
  var d, c, m, p;
@@ -2542,9 +2538,9 @@ function Gs(n, t) {
2542
2538
  const e = Lt(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((d = (u = e.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = _n(n, t), a = je(n, 0);
2543
2539
  return a.setFullYear(r, 0, o), a.setHours(0, 0, 0, 0), kt(a, t);
2544
2540
  }
2545
- function Ro(n, t) {
2541
+ function No(n, t) {
2546
2542
  const e = Ye(n), o = +kt(e, t) - +Gs(e, t);
2547
- return Math.round(o / Do) + 1;
2543
+ return Math.round(o / Io) + 1;
2548
2544
  }
2549
2545
  function Ne(n, t) {
2550
2546
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -2613,7 +2609,7 @@ const _t = {
2613
2609
  afternoon: "afternoon",
2614
2610
  evening: "evening",
2615
2611
  night: "night"
2616
- }, Nn = {
2612
+ }, Vn = {
2617
2613
  // Era
2618
2614
  G: function(n, t, e) {
2619
2615
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -2648,7 +2644,7 @@ const _t = {
2648
2644
  },
2649
2645
  // ISO week-numbering year
2650
2646
  R: function(n, t) {
2651
- const e = Po(n);
2647
+ const e = Do(n);
2652
2648
  return Ne(e, t.length);
2653
2649
  },
2654
2650
  // Extended year. This is a single number designating the year of this calendar system.
@@ -2771,12 +2767,12 @@ const _t = {
2771
2767
  },
2772
2768
  // Local week of year
2773
2769
  w: function(n, t, e, o) {
2774
- const r = Ro(n, o);
2770
+ const r = No(n, o);
2775
2771
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Ne(r, t.length);
2776
2772
  },
2777
2773
  // ISO week of year
2778
2774
  I: function(n, t, e) {
2779
- const o = No(n);
2775
+ const o = Vo(n);
2780
2776
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Ne(o, t.length);
2781
2777
  },
2782
2778
  // Day of the month
@@ -3039,7 +3035,7 @@ const _t = {
3039
3035
  return "Z";
3040
3036
  switch (t) {
3041
3037
  case "X":
3042
- return Bn(o);
3038
+ return Rn(o);
3043
3039
  case "XXXX":
3044
3040
  case "XX":
3045
3041
  return Dt(o);
@@ -3054,7 +3050,7 @@ const _t = {
3054
3050
  const o = n.getTimezoneOffset();
3055
3051
  switch (t) {
3056
3052
  case "x":
3057
- return Bn(o);
3053
+ return Rn(o);
3058
3054
  case "xxxx":
3059
3055
  case "xx":
3060
3056
  return Dt(o);
@@ -3071,7 +3067,7 @@ const _t = {
3071
3067
  case "O":
3072
3068
  case "OO":
3073
3069
  case "OOO":
3074
- return "GMT" + Rn(o, ":");
3070
+ return "GMT" + Nn(o, ":");
3075
3071
  case "OOOO":
3076
3072
  default:
3077
3073
  return "GMT" + Dt(o, ":");
@@ -3084,7 +3080,7 @@ const _t = {
3084
3080
  case "z":
3085
3081
  case "zz":
3086
3082
  case "zzz":
3087
- return "GMT" + Rn(o, ":");
3083
+ return "GMT" + Nn(o, ":");
3088
3084
  case "zzzz":
3089
3085
  default:
3090
3086
  return "GMT" + Dt(o, ":");
@@ -3101,18 +3097,18 @@ const _t = {
3101
3097
  return Ne(o, t.length);
3102
3098
  }
3103
3099
  };
3104
- function Rn(n, t = "") {
3100
+ function Nn(n, t = "") {
3105
3101
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
3106
3102
  return a === 0 ? e + String(r) : e + String(r) + t + Ne(a, 2);
3107
3103
  }
3108
- function Bn(n, t) {
3104
+ function Rn(n, t) {
3109
3105
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ne(Math.abs(n) / 60, 2) : Dt(n, t);
3110
3106
  }
3111
3107
  function Dt(n, t = "") {
3112
3108
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Ne(Math.trunc(o / 60), 2), a = Ne(o % 60, 2);
3113
3109
  return e + r + t + a;
3114
3110
  }
3115
- const Hn = (n, t) => {
3111
+ const Bn = (n, t) => {
3116
3112
  switch (n) {
3117
3113
  case "P":
3118
3114
  return t.date({ width: "short" });
@@ -3124,7 +3120,7 @@ const Hn = (n, t) => {
3124
3120
  default:
3125
3121
  return t.date({ width: "full" });
3126
3122
  }
3127
- }, Bo = (n, t) => {
3123
+ }, Ro = (n, t) => {
3128
3124
  switch (n) {
3129
3125
  case "p":
3130
3126
  return t.time({ width: "short" });
@@ -3139,7 +3135,7 @@ const Hn = (n, t) => {
3139
3135
  }, Ys = (n, t) => {
3140
3136
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
3141
3137
  if (!r)
3142
- return Hn(n, t);
3138
+ return Bn(n, t);
3143
3139
  let a;
3144
3140
  switch (o) {
3145
3141
  case "P":
@@ -3156,15 +3152,15 @@ const Hn = (n, t) => {
3156
3152
  a = t.dateTime({ width: "full" });
3157
3153
  break;
3158
3154
  }
3159
- return a.replace("{{date}}", Hn(o, t)).replace("{{time}}", Bo(r, t));
3155
+ return a.replace("{{date}}", Bn(o, t)).replace("{{time}}", Ro(r, t));
3160
3156
  }, vn = {
3161
- p: Bo,
3157
+ p: Ro,
3162
3158
  P: Ys
3163
3159
  }, Us = /^D+$/, Xs = /^Y+$/, Qs = ["D", "DD", "YY", "YYYY"];
3164
- function Ho(n) {
3160
+ function Bo(n) {
3165
3161
  return Us.test(n);
3166
3162
  }
3167
- function Wo(n) {
3163
+ function Ho(n) {
3168
3164
  return Xs.test(n);
3169
3165
  }
3170
3166
  function gn(n, t, e) {
@@ -3176,9 +3172,9 @@ function Ks(n, t, e) {
3176
3172
  return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${o} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
3177
3173
  }
3178
3174
  const Js = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Zs = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, el = /^'([^]*?)'?$/, tl = /''/g, nl = /[a-zA-Z]/;
3179
- function $o(n, t, e) {
3175
+ function Wo(n, t, e) {
3180
3176
  var d, c, m, p;
3181
- const o = Lt(), r = o.locale ?? Vo, a = o.firstWeekContainsDate ?? ((c = (d = o.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((p = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? 0, s = Ye(n);
3177
+ const o = Lt(), r = o.locale ?? Po, a = o.firstWeekContainsDate ?? ((c = (d = o.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((p = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? 0, s = Ye(n);
3182
3178
  if (!ds(s))
3183
3179
  throw new RangeError("Invalid time value");
3184
3180
  let l = t.match(Zs).map((v) => {
@@ -3194,7 +3190,7 @@ function $o(n, t, e) {
3194
3190
  const O = v[0];
3195
3191
  if (O === "'")
3196
3192
  return { isToken: !1, value: ol(v) };
3197
- if (Nn[O])
3193
+ if (Vn[O])
3198
3194
  return { isToken: !0, value: v };
3199
3195
  if (O.match(nl))
3200
3196
  throw new RangeError(
@@ -3211,8 +3207,8 @@ function $o(n, t, e) {
3211
3207
  return l.map((v) => {
3212
3208
  if (!v.isToken) return v.value;
3213
3209
  const O = v.value;
3214
- (Wo(O) || Ho(O)) && gn(O, t, String(n));
3215
- const T = Nn[O[0]];
3210
+ (Ho(O) || Bo(O)) && gn(O, t, String(n));
3211
+ const T = Vn[O[0]];
3216
3212
  return T(s, O, r.localize, u);
3217
3213
  }).join("");
3218
3214
  }
@@ -3241,7 +3237,7 @@ function il(n, t) {
3241
3237
  ), e;
3242
3238
  }
3243
3239
  const sl = 10;
3244
- class jo {
3240
+ class $o {
3245
3241
  constructor() {
3246
3242
  W(this, "subPriority", 0);
3247
3243
  }
@@ -3249,7 +3245,7 @@ class jo {
3249
3245
  return !0;
3250
3246
  }
3251
3247
  }
3252
- class ll extends jo {
3248
+ class ll extends $o {
3253
3249
  constructor(t, e, o, r, a) {
3254
3250
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, a && (this.subPriority = a);
3255
3251
  }
@@ -3260,7 +3256,7 @@ class ll extends jo {
3260
3256
  return this.setValue(t, e, this.value, o);
3261
3257
  }
3262
3258
  }
3263
- class ul extends jo {
3259
+ class ul extends $o {
3264
3260
  constructor() {
3265
3261
  super(...arguments);
3266
3262
  W(this, "priority", sl);
@@ -3384,7 +3380,7 @@ function pt(n, t) {
3384
3380
  rest: t.slice(e[0].length)
3385
3381
  };
3386
3382
  }
3387
- function Lo(n) {
3383
+ function jo(n) {
3388
3384
  return $e(Ae.anyDigitsSigned, n);
3389
3385
  }
3390
3386
  function Le(n, t) {
@@ -3432,7 +3428,7 @@ function xn(n) {
3432
3428
  return 0;
3433
3429
  }
3434
3430
  }
3435
- function Ao(n, t) {
3431
+ function Lo(n, t) {
3436
3432
  const e = t > 0, o = e ? t : 1 - t;
3437
3433
  let r;
3438
3434
  if (o <= 50)
@@ -3443,7 +3439,7 @@ function Ao(n, t) {
3443
3439
  }
3444
3440
  return e ? r : 1 - r;
3445
3441
  }
3446
- function qo(n) {
3442
+ function Ao(n) {
3447
3443
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
3448
3444
  }
3449
3445
  class dl extends Ie {
@@ -3477,7 +3473,7 @@ class dl extends Ie {
3477
3473
  set(e, o, r) {
3478
3474
  const a = e.getFullYear();
3479
3475
  if (r.isTwoDigitYear) {
3480
- const s = Ao(
3476
+ const s = Lo(
3481
3477
  r.year,
3482
3478
  a
3483
3479
  );
@@ -3532,7 +3528,7 @@ class fl extends Ie {
3532
3528
  set(e, o, r, a) {
3533
3529
  const i = _n(e, a);
3534
3530
  if (r.isTwoDigitYear) {
3535
- const l = Ao(
3531
+ const l = Lo(
3536
3532
  r.year,
3537
3533
  i
3538
3534
  );
@@ -3838,7 +3834,7 @@ class yl extends Ie {
3838
3834
  }
3839
3835
  }
3840
3836
  function bl(n, t, e) {
3841
- const o = Ye(n), r = Ro(o, e) - t;
3837
+ const o = Ye(n), r = No(o, e) - t;
3842
3838
  return o.setDate(o.getDate() - r * 7), o;
3843
3839
  }
3844
3840
  class wl extends Ie {
@@ -3879,7 +3875,7 @@ class wl extends Ie {
3879
3875
  }
3880
3876
  }
3881
3877
  function Cl(n, t) {
3882
- const e = Ye(n), o = No(e) - t;
3878
+ const e = Ye(n), o = Vo(e) - t;
3883
3879
  return e.setDate(e.getDate() - o * 7), e;
3884
3880
  }
3885
3881
  class _l extends Ie {
@@ -3965,7 +3961,7 @@ class Tl extends Ie {
3965
3961
  }
3966
3962
  }
3967
3963
  validate(e, o) {
3968
- const r = e.getFullYear(), a = qo(r), i = e.getMonth();
3964
+ const r = e.getFullYear(), a = Ao(r), i = e.getMonth();
3969
3965
  return a ? o >= 1 && o <= Sl[i] : o >= 1 && o <= xl[i];
3970
3966
  }
3971
3967
  set(e, o, r) {
@@ -4008,7 +4004,7 @@ class kl extends Ie {
4008
4004
  }
4009
4005
  validate(e, o) {
4010
4006
  const r = e.getFullYear();
4011
- return qo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
4007
+ return Ao(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
4012
4008
  }
4013
4009
  set(e, o, r) {
4014
4010
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -4017,7 +4013,7 @@ class kl extends Ie {
4017
4013
  function Sn(n, t, e) {
4018
4014
  var c, m, p, v;
4019
4015
  const o = Lt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((m = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : m.weekStartsOn) ?? o.weekStartsOn ?? ((v = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : v.weekStartsOn) ?? 0, a = Ye(n), i = a.getDay(), l = (t % 7 + 7) % 7, u = 7 - r, d = t < 0 || t > 6 ? t - (i + u) % 7 : (l + u) % 7 - (i + u) % 7;
4020
- return Io(a, d);
4016
+ return Oo(a, d);
4021
4017
  }
4022
4018
  class El extends Ie {
4023
4019
  constructor() {
@@ -4188,7 +4184,7 @@ class Fl extends Ie {
4188
4184
  }
4189
4185
  function Ol(n, t) {
4190
4186
  const e = Ye(n), o = al(e), r = t - o;
4191
- return Io(e, r);
4187
+ return Oo(e, r);
4192
4188
  }
4193
4189
  class Il extends Ie {
4194
4190
  constructor() {
@@ -4638,7 +4634,7 @@ class ql extends Ie {
4638
4634
  W(this, "incompatibleTokens", "*");
4639
4635
  }
4640
4636
  parse(e) {
4641
- return Lo(e);
4637
+ return jo(e);
4642
4638
  }
4643
4639
  set(e, o, r) {
4644
4640
  return [je(e, r * 1e3), { timestampIsSet: !0 }];
@@ -4651,7 +4647,7 @@ class zl extends Ie {
4651
4647
  W(this, "incompatibleTokens", "*");
4652
4648
  }
4653
4649
  parse(e) {
4654
- return Lo(e);
4650
+ return jo(e);
4655
4651
  }
4656
4652
  set(e, o, r) {
4657
4653
  return [je(e, r), { timestampIsSet: !0 }];
@@ -4690,9 +4686,9 @@ const Gl = {
4690
4686
  t: new ql(),
4691
4687
  T: new zl()
4692
4688
  }, Yl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ul = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xl = /^'([^]*?)'?$/, Ql = /''/g, Kl = /\S/, Jl = /[a-zA-Z]/;
4693
- function zo(n, t, e, o) {
4689
+ function qo(n, t, e, o) {
4694
4690
  var O, T, y, S;
4695
- const r = rl(), a = r.locale ?? Vo, i = r.firstWeekContainsDate ?? ((T = (O = r.locale) == null ? void 0 : O.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((S = (y = r.locale) == null ? void 0 : y.options) == null ? void 0 : S.weekStartsOn) ?? 0;
4691
+ const r = rl(), a = r.locale ?? Po, i = r.firstWeekContainsDate ?? ((T = (O = r.locale) == null ? void 0 : O.options) == null ? void 0 : T.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((S = (y = r.locale) == null ? void 0 : y.options) == null ? void 0 : S.weekStartsOn) ?? 0;
4696
4692
  if (t === "")
4697
4693
  return n === "" ? Ye(e) : je(e, NaN);
4698
4694
  const l = {
@@ -4708,7 +4704,7 @@ function zo(n, t, e, o) {
4708
4704
  return f;
4709
4705
  }).join("").match(Yl), c = [];
4710
4706
  for (let f of d) {
4711
- Wo(f) && gn(f, t, n), Ho(f) && gn(f, t, n);
4707
+ Ho(f) && gn(f, t, n), Bo(f) && gn(f, t, n);
4712
4708
  const w = f[0], x = Gl[w];
4713
4709
  if (x) {
4714
4710
  const { incompatibleTokens: b } = x;
@@ -4765,7 +4761,7 @@ function zo(n, t, e, o) {
4765
4761
  function Zl(n) {
4766
4762
  return n.match(Xl)[1].replace(Ql, "'");
4767
4763
  }
4768
- class Go {
4764
+ class zo {
4769
4765
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
4770
4766
  W(this, "editorType", "date-picker");
4771
4767
  W(this, "value");
@@ -4782,8 +4778,8 @@ class Go {
4782
4778
  }
4783
4779
  getDisplayText() {
4784
4780
  if (typeof this.value == "string" && this.value) {
4785
- const t = zo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
4786
- return $o(t, this.displayFormat);
4781
+ const t = qo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
4782
+ return Wo(t, this.displayFormat);
4787
4783
  }
4788
4784
  return this.getValue();
4789
4785
  }
@@ -4818,7 +4814,7 @@ class nn {
4818
4814
  return !this.begin || !this.end;
4819
4815
  }
4820
4816
  }
4821
- class Yo {
4817
+ class Go {
4822
4818
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
4823
4819
  W(this, "editorType", "datetime-picker");
4824
4820
  W(this, "value");
@@ -4835,8 +4831,8 @@ class Yo {
4835
4831
  }
4836
4832
  getDisplayText() {
4837
4833
  if (typeof this.value == "string" && this.value) {
4838
- const t = zo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
4839
- return $o(t, this.displayFormat);
4834
+ const t = qo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
4835
+ return Wo(t, this.displayFormat);
4840
4836
  }
4841
4837
  return this.getValue();
4842
4838
  }
@@ -4847,7 +4843,7 @@ class Yo {
4847
4843
  return !this.value;
4848
4844
  }
4849
4845
  }
4850
- class Uo {
4846
+ class Yo {
4851
4847
  constructor(t = { value: "", valueList: [] }) {
4852
4848
  W(this, "editorType", "combo-list");
4853
4849
  W(this, "value");
@@ -4932,7 +4928,7 @@ class eu {
4932
4928
  return !this.displayText && !this.value.length;
4933
4929
  }
4934
4930
  }
4935
- class Xo {
4931
+ class Uo {
4936
4932
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
4937
4933
  W(this, "editorType", "lookup");
4938
4934
  W(this, "helpId");
@@ -4960,7 +4956,7 @@ class Xo {
4960
4956
  return !this.mapFields.length;
4961
4957
  }
4962
4958
  }
4963
- class Qo {
4959
+ class Xo {
4964
4960
  constructor(t = { value: "" }) {
4965
4961
  W(this, "editorType", "month-picker");
4966
4962
  W(this, "value");
@@ -4983,7 +4979,7 @@ class Qo {
4983
4979
  return !this.value;
4984
4980
  }
4985
4981
  }
4986
- class Ko {
4982
+ class Qo {
4987
4983
  constructor(t = { begin: "", end: "" }) {
4988
4984
  W(this, "editorType", "month-range");
4989
4985
  W(this, "begin");
@@ -5007,7 +5003,7 @@ class Ko {
5007
5003
  return !this.begin || !this.end;
5008
5004
  }
5009
5005
  }
5010
- class Jo {
5006
+ class Ko {
5011
5007
  constructor(t = { begin: null, end: null }) {
5012
5008
  W(this, "editorType", "number-range");
5013
5009
  W(this, "begin");
@@ -5034,7 +5030,7 @@ class Jo {
5034
5030
  return this.begin == null && this.end == null;
5035
5031
  }
5036
5032
  }
5037
- class Zo {
5033
+ class Jo {
5038
5034
  constructor(t = { value: "" }) {
5039
5035
  W(this, "editorType", "number-spinner");
5040
5036
  W(this, "value");
@@ -5058,7 +5054,7 @@ class Zo {
5058
5054
  return this.value == null || isNaN(this.value);
5059
5055
  }
5060
5056
  }
5061
- class er {
5057
+ class Zo {
5062
5058
  constructor(t = { value: null, valueList: [] }) {
5063
5059
  W(this, "editorType", "radio-group");
5064
5060
  W(this, "value");
@@ -5106,45 +5102,45 @@ class on {
5106
5102
  return !this.value;
5107
5103
  }
5108
5104
  }
5109
- function tr() {
5105
+ function er() {
5110
5106
  function n(t, e) {
5111
5107
  switch (t) {
5112
5108
  case "check-box":
5113
- return new Fo(e);
5109
+ return new Mo(e);
5114
5110
  case "combo-list":
5115
- return new Uo(e);
5111
+ return new Yo(e);
5116
5112
  case "combo-lookup":
5117
- return new Oo(e);
5113
+ return new Fo(e);
5118
5114
  case "input-group":
5119
5115
  return new eu(e);
5120
5116
  case "date-picker":
5121
- return new Go(e);
5117
+ return new zo(e);
5122
5118
  case "date-range":
5123
5119
  return new nn(e);
5124
5120
  case "datetime-picker":
5125
- return new Yo(e);
5121
+ return new Go(e);
5126
5122
  case "datetime-range":
5127
5123
  return new nn(e);
5128
5124
  case "lookup":
5129
- return new Xo(e);
5125
+ return new Uo(e);
5130
5126
  case "month-picker":
5131
- return new Qo(e);
5127
+ return new Xo(e);
5132
5128
  case "month-range":
5133
- return new Ko(e);
5129
+ return new Qo(e);
5134
5130
  case "number-range":
5135
- return new Jo(e);
5131
+ return new Ko(e);
5136
5132
  case "number-spinner":
5137
- return new Zo(e);
5133
+ return new Jo(e);
5138
5134
  case "radio-group":
5139
- return new er(e);
5135
+ return new Zo(e);
5140
5136
  default:
5141
5137
  return new on(e);
5142
5138
  }
5143
5139
  }
5144
5140
  return { createConditionValue: n };
5145
5141
  }
5146
- function nr(n, t) {
5147
- const e = k(n.fields), o = k([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = tr();
5142
+ function tr(n, t) {
5143
+ const e = k(n.fields), o = k([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = er();
5148
5144
  function i(d) {
5149
5145
  switch (d.editor ? d.editor.type : "input-group") {
5150
5146
  case "date-range":
@@ -5206,14 +5202,14 @@ function tu(n, t, e) {
5206
5202
  resizeObserver: o
5207
5203
  };
5208
5204
  }
5209
- const Wn = /* @__PURE__ */ ot({
5205
+ const Hn = /* @__PURE__ */ ot({
5210
5206
  name: "FConditionFields",
5211
- props: Mo,
5207
+ props: Eo,
5212
5208
  emits: ["valueChange", "blur", "focus", "click", "input"],
5213
5209
  setup(n, t) {
5214
5210
  const e = k(), o = k(n.key);
5215
5211
  k(n.isControlInline);
5216
- const r = k(n.conditions), a = nr(n), {
5212
+ const r = k(n.conditions), a = tr(n), {
5217
5213
  initialConditionValue: i,
5218
5214
  fieldMap: s,
5219
5215
  loadFieldConfigs: l
@@ -5221,7 +5217,7 @@ const Wn = /* @__PURE__ */ ot({
5221
5217
  conditionClass: d,
5222
5218
  resizeObserver: c
5223
5219
  } = u;
5224
- l(!0), i(r.value), zn(() => {
5220
+ l(!0), i(r.value), qn(() => {
5225
5221
  var T;
5226
5222
  (T = c.value) == null || T.unobserve(e.value);
5227
5223
  }), Fe(() => n.conditions, () => {
@@ -5270,11 +5266,11 @@ const Wn = /* @__PURE__ */ ot({
5270
5266
  }, null);
5271
5267
  });
5272
5268
  }
5273
- return () => Fr(D("div", {
5269
+ return () => Mr(D("div", {
5274
5270
  class: m.value,
5275
5271
  key: o.value,
5276
5272
  ref: e
5277
- }, [O()]), [[Or("area-response")]]);
5273
+ }, [O()]), [[Fr("area-response")]]);
5278
5274
  }
5279
5275
  }), Tn = /* @__PURE__ */ new Map([
5280
5276
  ["appearance", ln]
@@ -5543,7 +5539,7 @@ const vu = "https://json-schema.org/draft/2020-12/schema", gu = "https://farris-
5543
5539
  "id",
5544
5540
  "type",
5545
5541
  "editor"
5546
- ], or = {
5542
+ ], nr = {
5547
5543
  $schema: vu,
5548
5544
  $id: gu,
5549
5545
  title: yu,
@@ -5551,7 +5547,7 @@ const vu = "https://json-schema.org/draft/2020-12/schema", gu = "https://farris-
5551
5547
  type: wu,
5552
5548
  properties: Cu,
5553
5549
  required: _u
5554
- }, rr = {
5550
+ }, or = {
5555
5551
  id: { type: String, default: "" },
5556
5552
  customClass: { type: String, default: "" },
5557
5553
  customStyle: { type: String, default: "" },
@@ -5569,12 +5565,12 @@ const vu = "https://json-schema.org/draft/2020-12/schema", gu = "https://farris-
5569
5565
  errors: { type: Object, default: null }
5570
5566
  };
5571
5567
  Ht(
5572
- rr,
5573
5568
  or,
5569
+ nr,
5574
5570
  Tn,
5575
5571
  void 0
5576
5572
  );
5577
- function ar(n, t, e) {
5573
+ function rr(n, t, e) {
5578
5574
  var h;
5579
5575
  const o = e && e.getStyles && e.getStyles() || "", r = e && e.getDesignerClass && e.getDesignerClass() || "", a = k();
5580
5576
  function i() {
@@ -5621,7 +5617,7 @@ function ar(n, t, e) {
5621
5617
  }
5622
5618
  function T(C, _) {
5623
5619
  const { componentType: E } = C;
5624
- let g = wo(E, C, _);
5620
+ let g = bo(E, C, _);
5625
5621
  e && e.onResolveNewComponentSchema && (g = e.onResolveNewComponentSchema(C, g));
5626
5622
  const V = E.toLowerCase().replace(/-/g, "_");
5627
5623
  return g && !g.id && g.type === E && (g.id = `${V}_${Math.random().toString().slice(2, 6)}`), g;
@@ -5728,7 +5724,7 @@ function Eu(n) {
5728
5724
  return o;
5729
5725
  }
5730
5726
  }
5731
- function ir(n) {
5727
+ function ar(n) {
5732
5728
  if (!n)
5733
5729
  return;
5734
5730
  const t = n.getBoundingClientRect();
@@ -5749,7 +5745,7 @@ function Mu(n) {
5749
5745
  if (!n)
5750
5746
  return;
5751
5747
  let t;
5752
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && ir(t);
5748
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && ar(t);
5753
5749
  }
5754
5750
  function Fu(n) {
5755
5751
  const { formSchemaUtils: t, formStateMachineUtils: e } = n;
@@ -6096,7 +6092,7 @@ class Iu {
6096
6092
  valueField: "value",
6097
6093
  idField: "value",
6098
6094
  editable: !1,
6099
- data: [{ value: t.type, name: fe[t.type].name }]
6095
+ data: [{ value: t.type, name: de[t.type].name }]
6100
6096
  }
6101
6097
  }
6102
6098
  }
@@ -6332,9 +6328,9 @@ const Du = {
6332
6328
  }, [o.value])]);
6333
6329
  }
6334
6330
  }), ie = {}, se = {}, ue = {}, ce = {};
6335
- let $n = !1;
6331
+ let Wn = !1;
6336
6332
  function Vu() {
6337
- $n || ($n = !0, ma.register(ie, se, ue, ce), fa.register(ie, se, ue, ce), ha.register(ie, se, ue, ce), pa.register(ie, se, ue, ce), va.register(ie, se, ue, ce), ga.register(ie, se, ue, ce), Dn.register(ie, se, ue, ce), Pn.register(ie, se, ue, ce), Dn.register(ie, se, ue, ce), Pn.register(ie, se, ue, ce), hn.register(ie, se, ue, ce), ya.register(ie, se, ue, ce), ba.register(ie, se, ue, ce), Ca.register(ie, se, ue, ce), wa.register(ie, se, ue, ce), _a.register(ie, se, ue, ce), xa.register(ie, se, ue, ce), Sa.register(ie, se, ue, ce), la.register(ie, se, ue, ce), Ta.register(ie, se, ue, ce), pi.register(ie, se, ue, ce), oa.register(ie, se, ue, ce), ka.register(ie, se, ue, ce), li.register(ie, se, ue, ce), Ma.register(ie, se, ue, ce), Fa.register(ie, se, ue, ce), Oa.register(ie, se, ue, ce), Da.register(ie, se, ue, ce), Ia.register(ie, se, ue, ce), Pa.register(ie, se, ue, ce), Va.register(ie, se, ue, ce), Na.register(ie, se, ue, ce), Ra.register(ie, se, ue, ce), Ba.register(ie, se, ue, ce), Jr.register(ie, se, ue, ce), Ha.register(ie, se, ue, ce), Wa.register(ie, se, ue, ce), ra.register(ie, se, ue, ce), $a.register(ie, se, ue, ce), ja.register(ie, se, ue, ce), La.register(ie, se, ue, ce), Aa.register(ie, se, ue, ce), za.register(ie, se, ue, ce), Ga.register(ie, se, ue, ce), qa.register(ie, se, ue, ce), ai.register(ie, se, ue), ia.register(ie, se, ue, ce), Ya.register(ie, se, ue, ce), Ua.register(ie, se, ue, ce), Xa.register(ie, se, ue, ce), Qa.register(ie, se, ue, ce), Ka.register(ie, se, ue, ce), ci.register(ie, se, ue, ce), Kr.register(ie, se, ue, ce), sa.register(ie, se, ue, ce), Ja.register(ie, se, ue, ce), Za.register(ie, se, ue, ce), Qr.register(ie, se, ue, ce), ei.register(ie, se, ue, ce), ni.register(ie, se, ue, ce), ti.register(ie, se, ue, ce), oi.register(ie, se, ue, ce), ri.register(ie, se, ue, ce), ii.register(ie, se, ue, ce), Ea.register(ie, se, ue, ce), si.register(ie, se, ue, ce), ui.register(ie, se, ue, ce), di.register(ie, se, ue, ce), fi.register(ie, se, ue, ce), mi.register(ie, se, ue, ce), hi.register(ie, se, ue, ce), vi.register(ie, se, ue, ce), gi.register(ie, se, ue, ce));
6333
+ Wn || (Wn = !0, ma.register(ie, se, ue, ce), fa.register(ie, se, ue, ce), ha.register(ie, se, ue, ce), pa.register(ie, se, ue, ce), va.register(ie, se, ue, ce), ga.register(ie, se, ue, ce), In.register(ie, se, ue, ce), Dn.register(ie, se, ue, ce), In.register(ie, se, ue, ce), Dn.register(ie, se, ue, ce), hn.register(ie, se, ue, ce), ya.register(ie, se, ue, ce), ba.register(ie, se, ue, ce), Ca.register(ie, se, ue, ce), wa.register(ie, se, ue, ce), _a.register(ie, se, ue, ce), xa.register(ie, se, ue, ce), Sa.register(ie, se, ue, ce), la.register(ie, se, ue, ce), Ta.register(ie, se, ue, ce), pi.register(ie, se, ue, ce), na.register(ie, se, ue, ce), ka.register(ie, se, ue, ce), li.register(ie, se, ue, ce), Ma.register(ie, se, ue, ce), Fa.register(ie, se, ue, ce), Oa.register(ie, se, ue, ce), Da.register(ie, se, ue, ce), Ia.register(ie, se, ue, ce), Pa.register(ie, se, ue, ce), Va.register(ie, se, ue, ce), Na.register(ie, se, ue, ce), Ra.register(ie, se, ue, ce), Ba.register(ie, se, ue, ce), Kr.register(ie, se, ue, ce), Ha.register(ie, se, ue, ce), Wa.register(ie, se, ue, ce), ra.register(ie, se, ue, ce), $a.register(ie, se, ue, ce), ja.register(ie, se, ue, ce), La.register(ie, se, ue, ce), Aa.register(ie, se, ue, ce), za.register(ie, se, ue, ce), Ga.register(ie, se, ue, ce), qa.register(ie, se, ue, ce), ai.register(ie, se, ue), ia.register(ie, se, ue, ce), Ya.register(ie, se, ue, ce), Ua.register(ie, se, ue, ce), Xa.register(ie, se, ue, ce), Qa.register(ie, se, ue, ce), Ka.register(ie, se, ue, ce), ci.register(ie, se, ue, ce), Qr.register(ie, se, ue, ce), sa.register(ie, se, ue, ce), Ja.register(ie, se, ue, ce), Za.register(ie, se, ue, ce), Xr.register(ie, se, ue, ce), ei.register(ie, se, ue, ce), ni.register(ie, se, ue, ce), ti.register(ie, se, ue, ce), oi.register(ie, se, ue, ce), ri.register(ie, se, ue, ce), ii.register(ie, se, ue, ce), Ea.register(ie, se, ue, ce), si.register(ie, se, ue, ce), ui.register(ie, se, ue, ce), di.register(ie, se, ue, ce), fi.register(ie, se, ue, ce), mi.register(ie, se, ue, ce), hi.register(ie, se, ue, ce), vi.register(ie, se, ue, ce), gi.register(ie, se, ue, ce));
6338
6334
  }
6339
6335
  function Nu() {
6340
6336
  Vu();
@@ -6484,7 +6480,7 @@ const Ru = {
6484
6480
  }
6485
6481
  }), Hu = /* @__PURE__ */ ot({
6486
6482
  name: "FDynamicFormGroup",
6487
- props: rr,
6483
+ props: or,
6488
6484
  emits: ["change", "update:modelValue"],
6489
6485
  setup(n, t) {
6490
6486
  var b;
@@ -6555,7 +6551,7 @@ const Ru = {
6555
6551
  static getEditorTypesByMDataType(t, e = "") {
6556
6552
  let o = $t.fieldControlTypeMapping[t];
6557
6553
  if (e === "data-grid-column" && (o != null && o.length)) {
6558
- const r = [fe["check-group"].type, fe["radio-group"].type];
6554
+ const r = [de["check-group"].type, de["radio-group"].type];
6559
6555
  o = o.filter((a) => !r.includes(a.key));
6560
6556
  }
6561
6557
  return o;
@@ -6578,7 +6574,7 @@ const Ru = {
6578
6574
  static mappingDomPropAndSchemaProp(t, e) {
6579
6575
  var a;
6580
6576
  const o = (a = t.editor) == null ? void 0 : a.type, r = [];
6581
- return (t.type === fe["data-grid-column"].type || t.type === fe["tree-grid-column"].type) && e && e.categoryId && e.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === fe["input-group"].type || o === fe.textarea.type || o === fe["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === fe["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === fe["data-grid-column"].type || t.type === fe["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === fe["combo-list"].type || o === fe["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === fe["data-grid-column"].type || t.type === fe["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === fe["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === fe["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === fe.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === fe["data-grid-column"].type || t.type === fe["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
6577
+ return (t.type === de["data-grid-column"].type || t.type === de["tree-grid-column"].type) && e && e.categoryId && e.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === de["input-group"].type || o === de.textarea.type || o === de["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === de["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === de["data-grid-column"].type || t.type === de["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === de["combo-list"].type || o === de["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === de["data-grid-column"].type || t.type === de["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === de["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === de["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === de.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === de["data-grid-column"].type || t.type === de["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
6582
6578
  }
6583
6579
  };
6584
6580
  /**
@@ -6586,52 +6582,52 @@ const Ru = {
6586
6582
  */
6587
6583
  W($t, "fieldControlTypeMapping", {
6588
6584
  String: [
6589
- { key: fe["input-group"].type, value: fe["input-group"].name },
6590
- { key: fe.lookup.type, value: fe.lookup.name },
6591
- { key: fe["date-picker"].type, value: fe["date-picker"].name },
6592
- { key: fe["check-group"].type, value: fe["check-group"].name },
6593
- { key: fe["radio-group"].type, value: fe["radio-group"].name },
6594
- { key: fe["combo-list"].type, value: fe["combo-list"].name },
6595
- { key: fe.textarea.type, value: fe.textarea.name },
6596
- { key: fe["time-picker"].type, value: fe["time-picker"].name }
6585
+ { key: de["input-group"].type, value: de["input-group"].name },
6586
+ { key: de.lookup.type, value: de.lookup.name },
6587
+ { key: de["date-picker"].type, value: de["date-picker"].name },
6588
+ { key: de["check-group"].type, value: de["check-group"].name },
6589
+ { key: de["radio-group"].type, value: de["radio-group"].name },
6590
+ { key: de["combo-list"].type, value: de["combo-list"].name },
6591
+ { key: de.textarea.type, value: de.textarea.name },
6592
+ { key: de["time-picker"].type, value: de["time-picker"].name }
6597
6593
  ],
6598
6594
  Text: [
6599
- { key: fe.textarea.type, value: fe.textarea.name },
6600
- { key: fe.lookup.type, value: fe.lookup.name }
6595
+ { key: de.textarea.type, value: de.textarea.name },
6596
+ { key: de.lookup.type, value: de.lookup.name }
6601
6597
  ],
6602
6598
  Decimal: [
6603
- { key: fe["number-spinner"].type, value: fe["number-spinner"].name }
6599
+ { key: de["number-spinner"].type, value: de["number-spinner"].name }
6604
6600
  ],
6605
6601
  Integer: [
6606
- { key: fe["number-spinner"].type, value: fe["number-spinner"].name }
6602
+ { key: de["number-spinner"].type, value: de["number-spinner"].name }
6607
6603
  ],
6608
6604
  Number: [
6609
- { key: fe["number-spinner"].type, value: fe["number-spinner"].name }
6605
+ { key: de["number-spinner"].type, value: de["number-spinner"].name }
6610
6606
  ],
6611
6607
  BigNumber: [
6612
- { key: fe["number-spinner"].type, value: fe["number-spinner"].name }
6608
+ { key: de["number-spinner"].type, value: de["number-spinner"].name }
6613
6609
  ],
6614
6610
  Date: [
6615
- { key: fe["date-picker"].type, value: fe["date-picker"].name }
6611
+ { key: de["date-picker"].type, value: de["date-picker"].name }
6616
6612
  ],
6617
6613
  DateTime: [
6618
- { key: fe["date-picker"].type, value: fe["date-picker"].name }
6614
+ { key: de["date-picker"].type, value: de["date-picker"].name }
6619
6615
  ],
6620
6616
  Boolean: [
6621
- { key: fe.switch.type, value: fe.switch.name },
6622
- { key: fe["check-box"].type, value: fe["check-box"].name }
6617
+ { key: de.switch.type, value: de.switch.name },
6618
+ { key: de["check-box"].type, value: de["check-box"].name }
6623
6619
  ],
6624
6620
  Enum: [
6625
- { key: fe["combo-list"].type, value: fe["combo-list"].name },
6626
- { key: fe["radio-group"].type, value: fe["radio-group"].name }
6621
+ { key: de["combo-list"].type, value: de["combo-list"].name },
6622
+ { key: de["radio-group"].type, value: de["radio-group"].name }
6627
6623
  ],
6628
6624
  Object: [
6629
- { key: fe.lookup.type, value: fe.lookup.name },
6630
- { key: fe["combo-list"].type, value: fe["combo-list"].name },
6631
- { key: fe["radio-group"].type, value: fe["radio-group"].name }
6625
+ { key: de.lookup.type, value: de.lookup.name },
6626
+ { key: de["combo-list"].type, value: de["combo-list"].name },
6627
+ { key: de["radio-group"].type, value: de["radio-group"].name }
6632
6628
  ]
6633
6629
  });
6634
- let jn = $t;
6630
+ let $n = $t;
6635
6631
  var xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6636
6632
  function Qt(n) {
6637
6633
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -6689,9 +6685,9 @@ var ju = { exports: {} };
6689
6685
  function c(g, V) {
6690
6686
  var N = arguments.length;
6691
6687
  N === 1 && Array.isArray(g) === !1 && (V = g, g = []);
6692
- var M, I, q, $, B, P, j, F, R, U = null, A, H, Y = !1, K = 0, J, Z = V || {};
6688
+ var M, I, q, $, B, P, j, F, R, U = null, A, H, G = !1, K = 0, J, Z = V || {};
6693
6689
  Z.moves === void 0 && (Z.moves = S), Z.accepts === void 0 && (Z.accepts = S), Z.invalid === void 0 && (Z.invalid = lt), Z.containers === void 0 && (Z.containers = g || []), Z.isContainer === void 0 && (Z.isContainer = y), Z.copy === void 0 && (Z.copy = !1), Z.copySortSource === void 0 && (Z.copySortSource = !1), Z.revertOnSpill === void 0 && (Z.revertOnSpill = !1), Z.removeOnSpill === void 0 && (Z.removeOnSpill = !1), Z.direction === void 0 && (Z.direction = "vertical"), Z.ignoreInputTextSelection === void 0 && (Z.ignoreInputTextSelection = !0), Z.mirrorContainer === void 0 && (Z.mirrorContainer = u.body);
6694
- var de = i({
6690
+ var me = i({
6695
6691
  containers: Z.containers,
6696
6692
  start: Pe,
6697
6693
  end: it,
@@ -6701,17 +6697,17 @@ var ju = { exports: {} };
6701
6697
  canMove: Ee,
6702
6698
  dragging: !1
6703
6699
  });
6704
- return Z.removeOnSpill === !0 && de.on("over", wt).on("out", gt), Se(), de;
6700
+ return Z.removeOnSpill === !0 && me.on("over", wt).on("out", gt), Se(), me;
6705
6701
  function ve(L) {
6706
- return de.containers.indexOf(L) !== -1 || Z.isContainer(L);
6702
+ return me.containers.indexOf(L) !== -1 || Z.isContainer(L);
6707
6703
  }
6708
6704
  function Se(L) {
6709
6705
  var te = L ? "remove" : "add";
6710
- v(d, te, "mousedown", G), v(d, te, "mouseup", Te);
6706
+ v(d, te, "mousedown", Y), v(d, te, "mouseup", Te);
6711
6707
  }
6712
6708
  function De(L) {
6713
6709
  var te = L ? "remove" : "add";
6714
- v(d, te, "mousemove", ne);
6710
+ v(d, te, "mousemove", oe);
6715
6711
  }
6716
6712
  function Re(L) {
6717
6713
  var te = L ? "remove" : "add";
@@ -6723,15 +6719,15 @@ var ju = { exports: {} };
6723
6719
  function le(L) {
6724
6720
  A && L.preventDefault();
6725
6721
  }
6726
- function G(L) {
6722
+ function Y(L) {
6727
6723
  $ = L.clientX, B = L.clientY;
6728
6724
  var te = O(L) !== 1 || L.metaKey || L.ctrlKey;
6729
6725
  if (!te) {
6730
- var re = L.target, oe = ye(re);
6731
- oe && (A = oe, De(), L.type === "mousedown" && (b(re) ? re.focus() : L.preventDefault()));
6726
+ var re = L.target, ne = ye(re);
6727
+ ne && (A = ne, De(), L.type === "mousedown" && (b(re) ? re.focus() : L.preventDefault()));
6732
6728
  }
6733
6729
  }
6734
- function ne(L) {
6730
+ function oe(L) {
6735
6731
  if (A) {
6736
6732
  if (O(L) === 0) {
6737
6733
  Te({});
@@ -6739,8 +6735,8 @@ var ju = { exports: {} };
6739
6735
  }
6740
6736
  if (!(L.clientX !== void 0 && Math.abs(L.clientX - $) <= (Z.slideFactorX || 0) && L.clientY !== void 0 && Math.abs(L.clientY - B) <= (Z.slideFactorY || 0))) {
6741
6737
  if (Z.ignoreInputTextSelection) {
6742
- var te = E("clientX", L) || 0, re = E("clientY", L) || 0, oe = u.elementFromPoint(te, re);
6743
- if (b(oe))
6738
+ var te = E("clientX", L) || 0, re = E("clientY", L) || 0, ne = u.elementFromPoint(te, re);
6739
+ if (b(ne))
6744
6740
  return;
6745
6741
  }
6746
6742
  var Ce = A;
@@ -6749,14 +6745,14 @@ var ju = { exports: {} };
6749
6745
  }
6750
6746
  }
6751
6747
  function ye(L) {
6752
- if (!(de.dragging && M) && !ve(L)) {
6748
+ if (!(me.dragging && M) && !ve(L)) {
6753
6749
  for (var te = L; x(L) && ve(x(L)) === !1; )
6754
6750
  if (Z.invalid(L, te) || (L = x(L), !L))
6755
6751
  return;
6756
6752
  var re = x(L);
6757
6753
  if (re && !Z.invalid(L, te)) {
6758
- var oe = Z.moves(L, re, te, C(L));
6759
- if (oe)
6754
+ var ne = Z.moves(L, re, te, C(L));
6755
+ if (ne)
6760
6756
  return {
6761
6757
  item: L,
6762
6758
  source: re
@@ -6772,13 +6768,13 @@ var ju = { exports: {} };
6772
6768
  te && Ke(te);
6773
6769
  }
6774
6770
  function Ke(L) {
6775
- Ve(L.item, L.source) && (F = L.item.cloneNode(!0), de.emit("cloned", F, L.item, "copy")), I = L.source, q = L.item, P = j = C(L.item), de.dragging = !0, de.emit("drag", q, I);
6771
+ Ve(L.item, L.source) && (F = L.item.cloneNode(!0), me.emit("cloned", F, L.item, "copy")), I = L.source, q = L.item, P = j = C(L.item), me.dragging = !0, me.emit("drag", q, I);
6776
6772
  }
6777
6773
  function lt() {
6778
6774
  return !1;
6779
6775
  }
6780
6776
  function it() {
6781
- if (de.dragging) {
6777
+ if (me.dragging) {
6782
6778
  var L = F || q;
6783
6779
  Oe(L, x(L));
6784
6780
  }
@@ -6787,45 +6783,45 @@ var ju = { exports: {} };
6787
6783
  A = !1, De(!0), Re(!0);
6788
6784
  }
6789
6785
  function Te(L) {
6790
- if (ee(), !!de.dragging) {
6791
- var te = F || q, re = E("clientX", L) || 0, oe = E("clientY", L) || 0, Ce = T(M, re, oe), we = bt(Ce, re, oe);
6786
+ if (ee(), !!me.dragging) {
6787
+ var te = F || q, re = E("clientX", L) || 0, ne = E("clientY", L) || 0, Ce = T(M, re, ne), we = bt(Ce, re, ne);
6792
6788
  we && (F && Z.copySortSource || !F || we !== I) ? Oe(te, we) : Z.removeOnSpill ? be() : ke();
6793
6789
  }
6794
6790
  }
6795
6791
  function Oe(L, te) {
6796
6792
  var re = x(L);
6797
- F && Z.copySortSource && te === I && re.removeChild(q), ut(te) ? de.emit("cancel", L, I) : de.emit("drop", L, te, I, j), Xe();
6793
+ F && Z.copySortSource && te === I && re.removeChild(q), ut(te) ? me.emit("cancel", L, I) : me.emit("drop", L, te, I, j), Xe();
6798
6794
  }
6799
6795
  function be() {
6800
- if (de.dragging) {
6796
+ if (me.dragging) {
6801
6797
  var L = F || q, te = x(L);
6802
- te && te.removeChild(L), de.emit(F ? "cancel" : "remove", L, te, I), Xe();
6798
+ te && te.removeChild(L), me.emit(F ? "cancel" : "remove", L, te, I), Xe();
6803
6799
  }
6804
6800
  }
6805
6801
  function ke(L) {
6806
- if (de.dragging) {
6807
- var te = arguments.length > 0 ? L : Z.revertOnSpill, re = F || q, oe = x(re), Ce = ut(oe);
6808
- Ce === !1 && te && (F ? oe && oe.removeChild(F) : I.insertBefore(re, P)), Ce || te ? de.emit("cancel", re, I, I) : de.emit("drop", re, oe, I, j), Xe();
6802
+ if (me.dragging) {
6803
+ var te = arguments.length > 0 ? L : Z.revertOnSpill, re = F || q, ne = x(re), Ce = ut(ne);
6804
+ Ce === !1 && te && (F ? ne && ne.removeChild(F) : I.insertBefore(re, P)), Ce || te ? me.emit("cancel", re, I, I) : me.emit("drop", re, ne, I, j), Xe();
6809
6805
  }
6810
6806
  }
6811
6807
  function Xe() {
6812
6808
  var L = F || q;
6813
- ee(), ae(), me(), L && l.rm(L, "gu-transit"), R && clearTimeout(R), de.dragging = !1, U && de.emit("out", L, U, I), de.emit("dragend", L, K), I = q = F = P = j = R = U = null;
6809
+ ee(), ae(), fe(), L && l.rm(L, "gu-transit"), R && clearTimeout(R), me.dragging = !1, U && me.emit("out", L, U, I), me.emit("dragend", L, K), I = q = F = P = j = R = U = null;
6814
6810
  }
6815
6811
  function ut(L, te) {
6816
6812
  var re;
6817
6813
  return te !== void 0 ? re = te : M ? re = j : re = C(F || q), L === I && re === P;
6818
6814
  }
6819
6815
  function bt(L, te, re) {
6820
- for (var oe = L; oe && !Ce(); )
6821
- oe = x(oe);
6822
- return oe;
6816
+ for (var ne = L; ne && !Ce(); )
6817
+ ne = x(ne);
6818
+ return ne;
6823
6819
  function Ce() {
6824
- var we = ve(oe);
6820
+ var we = ve(ne);
6825
6821
  if (we === !1)
6826
6822
  return !1;
6827
- var He = ge(oe, L), Me = _e(oe, He, te, re), We = ut(oe, Me);
6828
- return We ? !0 : Z.accepts(q, oe, I, Me);
6823
+ var He = ge(ne, L), Me = _e(ne, He, te, re), We = ut(ne, Me);
6824
+ return We ? !0 : Z.accepts(q, ne, I, Me);
6829
6825
  }
6830
6826
  }
6831
6827
  function mt(L) {
@@ -6834,25 +6830,25 @@ var ju = { exports: {} };
6834
6830
  L.preventDefault();
6835
6831
  var te = E("clientX", L) || 0, re = E("clientY", L) || 0;
6836
6832
  M.style.left = te - 2 + "px", M.style.top = re - 2 + "px";
6837
- var oe = F || q, Ce = T(M, te, re), we = bt(Ce, te, re), He = we !== null && we !== U;
6833
+ var ne = F || q, Ce = T(M, te, re), we = bt(Ce, te, re), He = we !== null && we !== U;
6838
6834
  (He || we === null) && (pe(), U = we, ct()), he(Ce, re);
6839
- var Me = x(oe);
6835
+ var Me = x(ne);
6840
6836
  if (we === I && F && !Z.copySortSource) {
6841
- Me && Me.removeChild(oe);
6837
+ Me && Me.removeChild(ne);
6842
6838
  return;
6843
6839
  }
6844
6840
  var We, st = ge(we, Ce);
6845
- if (Y = Be(st, we), st !== null)
6841
+ if (G = Be(st, we), st !== null)
6846
6842
  We = _e(we, st, te, re);
6847
6843
  else if (Z.revertOnSpill === !0 && !F)
6848
6844
  We = P, we = I;
6849
6845
  else {
6850
- F && Me && Me.removeChild(oe), F && H && (H.style.display = "none");
6846
+ F && Me && Me.removeChild(ne), F && H && (H.style.display = "none");
6851
6847
  return;
6852
6848
  }
6853
- H.style.display = "block", Et(We, oe, He), We ? Ze(st, We) : Q(we);
6849
+ H.style.display = "block", Et(We, ne, He), We ? Ze(st, We) : Q(we);
6854
6850
  function Ue(xe) {
6855
- de.emit(xe, oe, U, I);
6851
+ me.emit(xe, ne, U, I);
6856
6852
  }
6857
6853
  function ct() {
6858
6854
  He && Ue("over");
@@ -6868,22 +6864,22 @@ var ju = { exports: {} };
6868
6864
  l.rm(L, "gu-hide");
6869
6865
  }
6870
6866
  function gt(L) {
6871
- de.dragging && l.add(L, "gu-hide");
6867
+ me.dragging && l.add(L, "gu-hide");
6872
6868
  }
6873
6869
  function Mt() {
6874
- M || (M = document.createElement("div"), M.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(q) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), v(d, "add", "mousemove", mt), l.add(Z.mirrorContainer, "gu-unselectable"), de.emit("cloned", M, q, "mirror"));
6870
+ M || (M = document.createElement("div"), M.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(q) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), v(d, "add", "mousemove", mt), l.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", M, q, "mirror"));
6875
6871
  }
6876
6872
  function Ct() {
6877
6873
  if (H = document.createElement("div"), l.add(H, "gu-insertion"), q) {
6878
6874
  var L = q.getBoundingClientRect();
6879
6875
  H.style.left = L.left + "px", H.style.top = L.top + "px";
6880
6876
  }
6881
- Y = !1, Z.mirrorContainer.appendChild(H);
6877
+ G = !1, Z.mirrorContainer.appendChild(H);
6882
6878
  }
6883
6879
  function ae() {
6884
6880
  M && (l.rm(Z.mirrorContainer, "gu-unselectable"), v(d, "remove", "mousemove", mt), x(M).removeChild(M), M = null);
6885
6881
  }
6886
- function me() {
6882
+ function fe() {
6887
6883
  H && (x(H).removeChild(H), H = null);
6888
6884
  }
6889
6885
  function ge(L, te) {
@@ -6893,11 +6889,11 @@ var ju = { exports: {} };
6893
6889
  }
6894
6890
  function Be(L, te) {
6895
6891
  if (!te)
6896
- return Y;
6892
+ return G;
6897
6893
  var re = L || te && te.lastElementChild;
6898
6894
  if (!re)
6899
6895
  return !0;
6900
- var oe = getComputedStyle(L), Ce = /^inline/.test(oe.getPropertyValue("display")) || /^(left|right)$/.test(oe.getPropertyValue("float"));
6896
+ var ne = getComputedStyle(L), Ce = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
6901
6897
  if (Ce)
6902
6898
  return !0;
6903
6899
  if (te) {
@@ -6915,10 +6911,10 @@ var ju = { exports: {} };
6915
6911
  if (!L.children || !L.children.length)
6916
6912
  return !1;
6917
6913
  for (const te of Array.from(L.children)) {
6918
- const oe = (te.className && te.className.split(" ") || []).filter((Ce) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Ce));
6919
- if (!oe.length)
6914
+ const ne = (te.className && te.className.split(" ") || []).filter((Ce) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Ce));
6915
+ if (!ne.length)
6920
6916
  return !1;
6921
- for (const Ce of oe) {
6917
+ for (const Ce of ne) {
6922
6918
  const we = Ce.slice(Ce.lastIndexOf("-") + 1);
6923
6919
  if (parseInt(we, 10) !== 12)
6924
6920
  return !1;
@@ -6928,14 +6924,14 @@ var ju = { exports: {} };
6928
6924
  }
6929
6925
  function Ze(L, te) {
6930
6926
  const re = te.getBoundingClientRect();
6931
- if (H.style.left = re.left + "px", H.style.top = re.top + "px", Y) {
6927
+ if (H.style.left = re.left + "px", H.style.top = re.top + "px", G) {
6932
6928
  if (H.style.height = re.height + "px", H.style.width = "4px", L) {
6933
- const oe = L.getBoundingClientRect();
6934
- oe.top !== re.top && (H.style.left = oe.right + "px", H.style.top = oe.top + "px", H.style.height = oe.height + "px");
6929
+ const ne = L.getBoundingClientRect();
6930
+ ne.top !== re.top && (H.style.left = ne.right + "px", H.style.top = ne.top + "px", H.style.height = ne.height + "px");
6935
6931
  }
6936
6932
  } else if (H.style.height = "4px", H.style.width = re.width + "px", J) {
6937
- const oe = J.getBoundingClientRect();
6938
- re.top < oe.top && (H.style.display = "none");
6933
+ const ne = J.getBoundingClientRect();
6934
+ re.top < ne.top && (H.style.display = "none");
6939
6935
  }
6940
6936
  te === q && q && (H.style.display = "none");
6941
6937
  }
@@ -6944,41 +6940,41 @@ var ju = { exports: {} };
6944
6940
  var te = L.lastElementChild;
6945
6941
  if (te) {
6946
6942
  var re = te.getBoundingClientRect();
6947
- Y ? (H.style.left = re.right + "px", H.style.top = re.top + "px", H.style.height = re.height + "px", H.style.width = "4px") : (H.style.left = re.left + "px", H.style.top = re.bottom + "px", H.style.height = "4px", H.style.width = re.width + "px"), te === q && q && (H.style.display = "none");
6943
+ G ? (H.style.left = re.right + "px", H.style.top = re.top + "px", H.style.height = re.height + "px", H.style.width = "4px") : (H.style.left = re.left + "px", H.style.top = re.bottom + "px", H.style.height = "4px", H.style.width = re.width + "px"), te === q && q && (H.style.display = "none");
6948
6944
  } else
6949
6945
  H.style.display = "none";
6950
6946
  }
6951
6947
  function he(L, te) {
6952
6948
  if (!Z.mirrorContainer.contains(L) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (J = m(L), !J || !J.contains(L)))
6953
6949
  return;
6954
- const re = document.querySelector(".dgComponentSelected"), oe = J.getBoundingClientRect();
6955
- if (te - 30 < oe.top && J.scrollTop > 0) {
6950
+ const re = document.querySelector(".dgComponentSelected"), ne = J.getBoundingClientRect();
6951
+ if (te - 30 < ne.top && J.scrollTop > 0) {
6956
6952
  let Ce = J.scrollTop < 10 ? J.scrollTop : 10;
6957
6953
  J.scrollBy(0, -1 * Ce), re && J.contains(re) && (K = K + -1 * Ce);
6958
6954
  }
6959
- if (te + 30 > oe.bottom && J.scrollTop < J.scrollHeight - J.clientHeight) {
6955
+ if (te + 30 > ne.bottom && J.scrollTop < J.scrollHeight - J.clientHeight) {
6960
6956
  const Ce = J.scrollHeight - J.clientHeight - J.scrollTop;
6961
6957
  let we = Ce < 10 ? Ce : 10;
6962
6958
  J.scrollBy(0, we), re && J.contains(re) && (K = K + we);
6963
6959
  }
6964
6960
  }
6965
- function _e(L, te, re, oe) {
6961
+ function _e(L, te, re, ne) {
6966
6962
  var Ce = Z.direction === "horizontal", we = Z.direction === "mixed", He = te !== L ? We() : Me();
6967
6963
  return He;
6968
6964
  function Me() {
6969
6965
  var Ue = L.children.length, ct, pe, xe;
6970
6966
  for (ct = 0; ct < Ue; ct++)
6971
- if (pe = L.children[ct], xe = pe.getBoundingClientRect(), Ce && xe.left + xe.width / 2 > re || !we && !Ce && xe.top + xe.height / 2 > oe || we && xe.left + xe.width > re && xe.top + xe.height > oe)
6967
+ if (pe = L.children[ct], xe = pe.getBoundingClientRect(), Ce && xe.left + xe.width / 2 > re || !we && !Ce && xe.top + xe.height / 2 > ne || we && xe.left + xe.width > re && xe.top + xe.height > ne)
6972
6968
  return pe;
6973
6969
  return null;
6974
6970
  }
6975
6971
  function We() {
6976
6972
  var Ue = te.getBoundingClientRect();
6977
6973
  if (we) {
6978
- var ct = oe - Ue.top, pe = re - Ue.left, xe = Ue.bottom - oe, et = Ue.right - re, Je = Math.min(pe, et, ct, xe), tt;
6979
- return Y ? tt = et < pe : tt = xe === Je || et === Je || pe === Je, st(tt);
6974
+ var ct = ne - Ue.top, pe = re - Ue.left, xe = Ue.bottom - ne, et = Ue.right - re, Je = Math.min(pe, et, ct, xe), tt;
6975
+ return G ? tt = et < pe : tt = xe === Je || et === Je || pe === Je, st(tt);
6980
6976
  }
6981
- return st(Ce ? re > Ue.left + f(Ue) / 2 : oe > Ue.top + w(Ue) / 2);
6977
+ return st(Ce ? re > Ue.left + f(Ue) / 2 : ne > Ue.top + w(Ue) / 2);
6982
6978
  }
6983
6979
  function st(Ue) {
6984
6980
  return Ue ? C(te) : te;
@@ -7378,7 +7374,7 @@ var ju = { exports: {} };
7378
7374
  }, {}, [2])(2);
7379
7375
  });
7380
7376
  })(ju);
7381
- const sr = /* @__PURE__ */ new Map([
7377
+ const ir = /* @__PURE__ */ new Map([
7382
7378
  ["appearance", ln],
7383
7379
  ["column", "columnOption"]
7384
7380
  ]);
@@ -7401,7 +7397,7 @@ function qu(n, t, e) {
7401
7397
  const o = n.getSchemaByType("content-container");
7402
7398
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
7403
7399
  }
7404
- function lr(n, t, e) {
7400
+ function sr(n, t, e) {
7405
7401
  const r = e.parentComponentInstance.schema.type, a = r === "section" || r === "tab-page";
7406
7402
  t.appearance = { class: "f-component-grid" };
7407
7403
  const s = (a ? qu : Au)(n, t, e);
@@ -8187,7 +8183,7 @@ const zu = "https://json-schema.org/draft/2020-12/schema", Gu = "https://farris-
8187
8183
  ], Ju = {
8188
8184
  onSelectionChange: "行切换事件",
8189
8185
  onClickRow: "行点击事件"
8190
- }, ur = {
8186
+ }, lr = {
8191
8187
  $schema: zu,
8192
8188
  $id: Gu,
8193
8189
  title: Yu,
@@ -8325,7 +8321,7 @@ const zu = "https://json-schema.org/draft/2020-12/schema", Gu = "https://farris-
8325
8321
  width: { type: Number, default: -1 },
8326
8322
  /** 启用虚拟渲染 */
8327
8323
  virtualized: { type: Boolean, default: !1 }
8328
- }, Zu = Ht(kn, ur, sr, lr), ec = Ti(), tc = Si(), cr = Object.assign({}, kn, { componentId: { type: String, default: "" } }), nc = Ht(cr, ur, sr, lr), oc = ki();
8324
+ }, Zu = Ht(kn, lr, ir, sr), ec = Ti(), tc = Si(), ur = Object.assign({}, kn, { componentId: { type: String, default: "" } }), nc = Ht(ur, lr, ir, sr), oc = ki();
8329
8325
  function rc(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v, O, T) {
8330
8326
  const {
8331
8327
  calculateCellPositionInRow: y
@@ -8339,7 +8335,7 @@ function rc(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v, O, T) {
8339
8335
  rightFixedGridDataStyle: h
8340
8336
  } = p, {
8341
8337
  renderDataRow: C
8342
- } = So(n, t, S, T, s, l, u, d, c, m, p), _ = [C];
8338
+ } = xo(n, t, S, T, s, l, u, d, c, m, p), _ = [C];
8343
8339
  function E(I, q) {
8344
8340
  const $ = y(I);
8345
8341
  return T.value.filter((B) => B.visible !== !1).map((B, P) => _[B.type](B, $, q, P));
@@ -8385,41 +8381,41 @@ const rn = /* @__PURE__ */ ot({
8385
8381
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
8386
8382
  setup(n, t) {
8387
8383
  var Ue, ct;
8388
- const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = k(20), a = k(n.columns), i = Gn(n), {
8384
+ const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = k(20), a = k(n.columns), i = zn(n), {
8389
8385
  idField: s
8390
- } = i, l = k(), u = k(), d = k(), c = k(), m = k(), p = k([]), v = k(!1), O = k(((ct = n.rowOption) == null ? void 0 : ct.wrapContent) || !1), T = $r(n, i), y = Yn(), S = Un(n), {
8386
+ } = i, l = k(), u = k(), d = k(), c = k(), m = k(), p = k([]), v = k(!1), O = k(((ct = n.rowOption) == null ? void 0 : ct.wrapContent) || !1), T = Wr(n, i), y = Gn(), S = Yn(n), {
8391
8387
  collapseField: f
8392
8388
  } = S, {
8393
8389
  showLoading: w,
8394
8390
  renderLoading: x
8395
- } = jr(n, l), b = Xn(n, /* @__PURE__ */ new Map(), y, S, i), {
8391
+ } = $r(n, l), b = Un(n, /* @__PURE__ */ new Map(), y, S, i), {
8396
8392
  dataView: h
8397
- } = b, C = Qn(n, b, i, p, t), _ = Lr(n, p, b, i, C, t), E = z(() => n.disabled), g = z(() => n.virtualized ? Math.min(b.dataView.value.length, r.value) : b.dataView.value.length), {
8393
+ } = b, C = Xn(n, b, i, p, t), _ = jr(n, p, b, i, C, t), E = z(() => n.disabled), g = z(() => n.virtualized ? Math.min(b.dataView.value.length, r.value) : b.dataView.value.length), {
8398
8394
  containerStyleObject: V
8399
- } = Kn(n), N = Ar(n), {
8395
+ } = Qn(n), N = Lr(n), {
8400
8396
  applyCommands: M
8401
8397
  } = N;
8402
8398
  M(a);
8403
- const I = Jn(n), q = qr(n), {
8399
+ const I = Kn(n), q = Ar(n), {
8404
8400
  applyColumnSorter: $,
8405
8401
  columnContext: B,
8406
8402
  updateColumnRenderContext: P
8407
8403
  } = I;
8408
8404
  $(b, q);
8409
- const j = Zn(n, B), F = eo(n, t, C, i), R = to(n, t, i, F, p), U = no(n), A = oo(n, R, U), H = ro(n, b, R, S, i, U, A), Y = ao(n, a, b, g, 0, H), {
8405
+ const j = Jn(n, B), F = Zn(n, t, C, i), R = eo(n, t, i, F, p), U = to(n), A = no(n, R, U), H = oo(n, b, R, S, i, U, A), G = ro(n, a, b, g, 0, H), {
8410
8406
  getVisualData: K
8411
- } = Y, J = io(n, B), Z = so(n, C), {
8412
- sidebarWidth: de
8413
- } = Z, ve = lo(n, b, p, B, Y, g, 0, de), {
8407
+ } = G, J = ao(n, B), Z = io(n, C), {
8408
+ sidebarWidth: me
8409
+ } = Z, ve = so(n, b, p, B, G, g, 0, me), {
8414
8410
  onWheel: Se,
8415
8411
  dataGridWidth: De,
8416
8412
  viewPortHeight: Re,
8417
8413
  viewPortWidth: X,
8418
8414
  resetScroll: le,
8419
- updateVisibleRowsOnLatestVisibleScope: G
8420
- } = ve, ne = uo(n, B, u, X, j), {
8415
+ updateVisibleRowsOnLatestVisibleScope: Y
8416
+ } = ve, oe = lo(n, B, u, X, j), {
8421
8417
  calculateColumnsSize: ye
8422
- } = ne, Ee = zr(), Pe = Gr(u, m, b, Ee, ve), Ke = Yr(n, t, I, b, j, T, ve), lt = z(() => ({
8418
+ } = oe, Ee = qr(), Pe = zr(u, m, b, Ee, ve), Ke = Gr(n, t, I, b, j, T, ve), lt = z(() => ({
8423
8419
  "fv-grid": !0,
8424
8420
  "fv-grid-bordered": n.showBorder,
8425
8421
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
@@ -8430,24 +8426,24 @@ const rn = /* @__PURE__ */ ot({
8430
8426
  "fv-grid-wrap-content": O.value
8431
8427
  })), {
8432
8428
  renderDataArea: ee
8433
- } = rc(n, t, d, c, m, J, I, b, R, S, F, C, _, ve, Y, U, p), {
8429
+ } = rc(n, t, d, c, m, J, I, b, R, S, F, C, _, ve, G, U, p), {
8434
8430
  renderGridHeader: Te,
8435
8431
  renderGridColumnResizeOverlay: Oe,
8436
8432
  shouldShowHeader: be
8437
- } = Ur(n, t, u, c, m, I, b, Ke, Pe, y, Ee, ne, j, C, Z, q, ve, X, p), {
8433
+ } = Yr(n, t, u, c, m, I, b, Ke, Pe, y, Ee, oe, j, C, Z, q, ve, X, p), {
8438
8434
  renderDataGridSidebar: ke
8439
- } = co(n, F, C, Z, ve), {
8435
+ } = uo(n, F, C, Z, ve), {
8440
8436
  renderDisableMask: Xe
8441
- } = Xr(), {
8437
+ } = Ur(), {
8442
8438
  renderHorizontalScrollbar: ut
8443
- } = fo(n, u, ve), {
8439
+ } = co(n, u, ve), {
8444
8440
  renderVerticalScrollbar: bt
8445
- } = mo(n, u, ve);
8441
+ } = fo(n, u, ve);
8446
8442
  function mt() {
8447
8443
  var pe, xe, et;
8448
8444
  if (u.value && u.value.clientHeight > 0 && ((pe = u.value) == null ? void 0 : pe.clientWidth) > 0) {
8449
8445
  const Je = Math.ceil(u.value.clientHeight / o);
8450
- Je > r.value && (r.value = Je, G()), Re.value = ((xe = d.value) == null ? void 0 : xe.clientHeight) || 0, De.value = ((et = u.value) == null ? void 0 : et.clientWidth) || 0, ye();
8446
+ Je > r.value && (r.value = Je, Y()), Re.value = ((xe = d.value) == null ? void 0 : xe.clientHeight) || 0, De.value = ((et = u.value) == null ? void 0 : et.clientWidth) || 0, ye();
8451
8447
  }
8452
8448
  }
8453
8449
  Bt(() => {
@@ -8480,7 +8476,7 @@ const rn = /* @__PURE__ */ ot({
8480
8476
  const pe = gt(), xe = _.getNextSelectableHierarchyItemId(pe);
8481
8477
  b.removeHierarchyDataItem(pe), p.value = K(0, g.value + 0 - 1), xe && C.selectItemById(xe);
8482
8478
  }
8483
- function me(pe) {
8479
+ function fe(pe) {
8484
8480
  R.onEditingRow(pe);
8485
8481
  }
8486
8482
  function ge(pe) {
@@ -8515,8 +8511,8 @@ const rn = /* @__PURE__ */ ot({
8515
8511
  C.clearSelection();
8516
8512
  }
8517
8513
  const re = z(() => !p.value || !p.value.length), {
8518
- renderEmpty: oe
8519
- } = ho(t);
8514
+ renderEmpty: ne
8515
+ } = mo(t);
8520
8516
  function Ce() {
8521
8517
  return C.getSelectionRow();
8522
8518
  }
@@ -8571,7 +8567,7 @@ const rn = /* @__PURE__ */ ot({
8571
8567
  collapseTo: Et,
8572
8568
  expandTo: wt,
8573
8569
  removeDataItem: ae,
8574
- editDataItem: me,
8570
+ editDataItem: fe,
8575
8571
  acceptDataItem: ge,
8576
8572
  cancelDataItem: Be,
8577
8573
  updateColumns: ze,
@@ -8597,7 +8593,7 @@ const rn = /* @__PURE__ */ ot({
8597
8593
  class: it.value,
8598
8594
  onMouseover: () => v.value = !0,
8599
8595
  onMouseleave: () => v.value = !1
8600
- }, [u.value && ke(p), u.value && ee(), u.value && re.value && oe(), u.value && ut(), u.value && bt()]), Oe(), E.value && Xe()]);
8596
+ }, [u.value && ke(p), u.value && ee(), u.value && re.value && ne(), u.value && ut(), u.value && bt()]), Oe(), E.value && Xe()]);
8601
8597
  }
8602
8598
  }), ac = {
8603
8599
  id: { type: String, default: "" },
@@ -8650,7 +8646,7 @@ const rn = /* @__PURE__ */ ot({
8650
8646
  }
8651
8647
  });
8652
8648
  function lc(n) {
8653
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Pr(n);
8649
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Dr(n);
8654
8650
  }
8655
8651
  const yn = /* @__PURE__ */ ot({
8656
8652
  name: "FDesignerItem",
@@ -8664,7 +8660,7 @@ const yn = /* @__PURE__ */ ot({
8664
8660
  parent: v,
8665
8661
  setupContext: t
8666
8662
  };
8667
- Ir("design-item-context", O);
8663
+ Or("design-item-context", O);
8668
8664
  const T = Pt("useFormSchema"), y = Pt("designer-host-service"), S = z(() => {
8669
8665
  var j;
8670
8666
  const $ = n.modelValue.appearance && n.modelValue.appearance.class || "", B = ((j = p.value) == null ? void 0 : j.getCustomButtons) && p.value.getCustomButtons();
@@ -8695,7 +8691,7 @@ const yn = /* @__PURE__ */ ot({
8695
8691
  if ($ && ($.preventDefault(), $.stopPropagation()), p.value.triggerBelongedComponentToDeleteWhenDeleted) {
8696
8692
  const U = p.value.getBelongedComponentInstance(p);
8697
8693
  if (U && U.parent) {
8698
- const A = k(U == null ? void 0 : U.parent), H = A.value.contents.findIndex((Y) => Y.id === U.schema.id);
8694
+ const A = k(U == null ? void 0 : U.parent), H = A.value.contents.findIndex((G) => G.id === U.schema.id);
8699
8695
  (R = (F = A.value) == null ? void 0 : F.contents) == null || R.splice(H, 1), Jt.value++;
8700
8696
  }
8701
8697
  return;
@@ -8766,7 +8762,7 @@ const yn = /* @__PURE__ */ ot({
8766
8762
  }, R), lc(B = $.contents.map((H) => D(yn, {
8767
8763
  key: H.id,
8768
8764
  modelValue: H,
8769
- "onUpdate:modelValue": (Y) => H = Y,
8765
+ "onUpdate:modelValue": (G) => H = G,
8770
8766
  componentId: s.value,
8771
8767
  onSelectionChange: _,
8772
8768
  onDragEnd: E,
@@ -8797,7 +8793,7 @@ const yn = /* @__PURE__ */ ot({
8797
8793
  }
8798
8794
  }
8799
8795
  Fe(() => n.modelValue, ($) => {
8800
- i.value = $, e.value = `${$.id}-component`, Dr(c);
8796
+ i.value = $, e.value = `${$.id}-component`, Ir(c);
8801
8797
  }, {
8802
8798
  deep: !0
8803
8799
  });
@@ -8824,7 +8820,7 @@ const yn = /* @__PURE__ */ ot({
8824
8820
  m && $ && m.attachComponents($, i.value), a.value = p.value.canNested !== void 0 ? p.value.canNested : a.value, r.value = p.value.canDelete !== void 0 ? p.value.canDelete : r.value, o.value = p.value.canMove !== void 0 ? p.value.canMove : o.value, l.value = p.value.styles || "", u.value = p.value.designerClass || "", c.value && (c.value.componentInstance = p, c.value.designItemContext = O), p.value.belongedComponentId = s.value;
8825
8821
  }
8826
8822
  I(), Jt.value++;
8827
- }), zn(() => {
8823
+ }), qn(() => {
8828
8824
  c.value && c.value.removeEventListener("scroll", M);
8829
8825
  });
8830
8826
  function q($) {
@@ -8835,7 +8831,7 @@ const yn = /* @__PURE__ */ ot({
8835
8831
  const j = document.getElementsByClassName("dgComponentFocused");
8836
8832
  j && j.length === 1 && j[0] === c.value || (Array.from(j).forEach((R) => R.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((R) => R.classList.remove("dgComponentSelected")), P.classList.add("dgComponentFocused"), t.emit("selectionChange", i.value.type, i.value, s.value, p.value), p.value.getDraggableDesignItemElement && (B = p.value.getDraggableDesignItemElement(O), B && B.value && B.value.classList.add("dgComponentSelected")));
8837
8833
  }
8838
- ir(B == null ? void 0 : B.value);
8834
+ ar(B == null ? void 0 : B.value);
8839
8835
  }
8840
8836
  return () => i.value.type === "component-ref" ? V(i.value) : D("div", {
8841
8837
  id: `${i.value.id}-design-item`,
@@ -9425,15 +9421,15 @@ function pc(n, t, e, o, r, a, i, s) {
9425
9421
  }
9426
9422
  const vc = /* @__PURE__ */ ot({
9427
9423
  name: "FTreeGridDesign",
9428
- props: cr,
9424
+ props: ur,
9429
9425
  emits: [],
9430
9426
  setup(n, t) {
9431
- var ne, ye;
9432
- const e = k(), o = 0, r = ((ne = n.rowOption) == null ? void 0 : ne.height) || 28, a = k(20), i = k(n.columns), s = xr(n), l = k(), u = k(), d = k([]), c = k(!1), m = k(((ye = n.rowOption) == null ? void 0 : ye.wrapContent) || !1), p = Pt("designer-host-service"), v = Pt("design-item-context"), O = dc(v, p), T = ar(e, v, O);
9427
+ var oe, ye;
9428
+ const e = k(), o = 0, r = ((oe = n.rowOption) == null ? void 0 : oe.height) || 28, a = k(20), i = k(n.columns), s = _r(n), l = k(), u = k(), d = k([]), c = k(!1), m = k(((ye = n.rowOption) == null ? void 0 : ye.wrapContent) || !1), p = Pt("designer-host-service"), v = Pt("design-item-context"), O = dc(v, p), T = rr(e, v, O);
9433
9429
  T.value.designerClass = "f-utils-fill-flex-column";
9434
- const y = pr(), S = vr(n), f = Eo(n, /* @__PURE__ */ new Map(), y, S, s), w = Tr(n, f, s, d, t), x = z(() => f.dataView.value.length), {
9430
+ const y = hr(), S = pr(n), f = ko(n, /* @__PURE__ */ new Map(), y, S, s), w = Sr(n, f, s, d, t), x = z(() => f.dataView.value.length), {
9435
9431
  containerStyleObject: b
9436
- } = To(n), h = Qi(n), {
9432
+ } = So(n), h = Qi(n), {
9437
9433
  applyCommands: C
9438
9434
  } = h;
9439
9435
  C(i);
@@ -9441,21 +9437,21 @@ const vc = /* @__PURE__ */ ot({
9441
9437
  applyColumnSorter: E,
9442
9438
  columnContext: g,
9443
9439
  updateColumnRenderContext: V
9444
- } = _, N = Vd(), M = Ki(n, g), I = Sr(n, t, w, s), q = _r(n, t, s, I), $ = br(n), B = wr(n, q, $), P = Cr(n, f, q, S, s, $, B), j = pc(n, i, f, x, o, P), {
9440
+ } = _, N = Vd(), M = Ki(n, g), I = xr(n, t, w, s), q = Cr(n, t, s, I), $ = yr(n), B = br(n, q, $), P = wr(n, f, q, S, s, $, B), j = pc(n, i, f, x, o, P), {
9445
9441
  getVisualData: F
9446
9442
  } = j, R = Fd(n, w), {
9447
9443
  sidebarWidth: U
9448
9444
  } = R;
9449
9445
  d.value = F(0, x.value + o - 1);
9450
- const A = yr(n, f, d, g, j, x, o, U), {
9446
+ const A = gr(n, f, d, g, j, x, o, U), {
9451
9447
  onWheel: H,
9452
- dataGridWidth: Y,
9448
+ dataGridWidth: G,
9453
9449
  viewPortHeight: K,
9454
9450
  viewPortWidth: J,
9455
9451
  updateVisibleRowsOnLatestVisibleScope: Z
9456
- } = A, de = fc(n, g, l, J, M), {
9452
+ } = A, me = fc(n, g, l, J, M), {
9457
9453
  calculateColumnsSize: ve
9458
- } = de, Se = z(() => ({
9454
+ } = me, Se = z(() => ({
9459
9455
  "drag-container": !0,
9460
9456
  "fv-grid": !0,
9461
9457
  "fv-grid-bordered": n.showBorder,
@@ -9472,18 +9468,18 @@ const vc = /* @__PURE__ */ ot({
9472
9468
  function le() {
9473
9469
  var Pe, Ke;
9474
9470
  const Ee = Math.ceil(l.value.clientHeight / r);
9475
- Ee > a.value && (a.value = Ee, Z()), K.value = ((Pe = u.value) == null ? void 0 : Pe.clientHeight) || 0, Y.value = ((Ke = l.value) == null ? void 0 : Ke.clientWidth) || 0, ve();
9471
+ Ee > a.value && (a.value = Ee, Z()), K.value = ((Pe = u.value) == null ? void 0 : Pe.clientHeight) || 0, G.value = ((Ke = l.value) == null ? void 0 : Ke.clientWidth) || 0, ve();
9476
9472
  }
9477
9473
  Bt(() => {
9478
9474
  e.value.componentInstance = T, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), d.value = F(0, x.value + o - 1), bn(l.value, le), ve(), Xt(() => {
9479
- l.value && (Y.value = l.value.clientWidth), u.value && (J.value = u.value.clientWidth, K.value = u.value.clientHeight);
9475
+ l.value && (G.value = l.value.clientWidth), u.value && (J.value = u.value.clientWidth, K.value = u.value.clientHeight);
9480
9476
  }));
9481
9477
  });
9482
- function G(Ee) {
9478
+ function Y(Ee) {
9483
9479
  Ee && (i.value = Ee, C(i), V(i.value), E(f, N), ve());
9484
9480
  }
9485
9481
  return Fe(() => n.columns, (Ee) => {
9486
- G(Ee);
9482
+ Y(Ee);
9487
9483
  }), Fe(J, () => {
9488
9484
  l.value && ve();
9489
9485
  }), t.expose(T.value), () => D("div", {
@@ -9510,7 +9506,7 @@ rn.register = (n, t, e, o) => {
9510
9506
  rn.registerDesigner = (n, t, e) => {
9511
9507
  n["tree-grid"] = vc, t["tree-grid"] = nc;
9512
9508
  };
9513
- po(rn);
9509
+ ho(rn);
9514
9510
  const gc = /* @__PURE__ */ new Map([
9515
9511
  ["appearance", ln]
9516
9512
  ]);
@@ -10078,7 +10074,7 @@ function Nc(n, t, e) {
10078
10074
  resetTranslate: w
10079
10075
  };
10080
10076
  }
10081
- function dr(n, t) {
10077
+ function cr(n, t) {
10082
10078
  if (n) {
10083
10079
  const e = (o) => {
10084
10080
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -10091,7 +10087,7 @@ function dr(n, t) {
10091
10087
  function Rc(n, t) {
10092
10088
  const e = k(n.enableEsc);
10093
10089
  let o = null;
10094
- return e.value ? (o = dr("Escape", (r) => {
10090
+ return e.value ? (o = cr("Escape", (r) => {
10095
10091
  t.emit("esc", { event: r.event, type: "esc" });
10096
10092
  }), {
10097
10093
  remove: o
@@ -10100,7 +10096,7 @@ function Rc(n, t) {
10100
10096
  function Bc(n, t) {
10101
10097
  const e = k(n.enableEnter);
10102
10098
  let o = null;
10103
- return e.value ? (o = dr("Enter", (r) => {
10099
+ return e.value ? (o = cr("Enter", (r) => {
10104
10100
  t.emit("enter", { event: r.event, type: "enter" });
10105
10101
  }), {
10106
10102
  remove: o
@@ -10186,7 +10182,7 @@ const Gt = /* @__PURE__ */ ot({
10186
10182
  "modal-dialog": !0
10187
10183
  }, Te = (Oe = i.value) == null ? void 0 : Oe.split(" ");
10188
10184
  return Te == null || Te.reduce((be, ke) => (be[ke] = !0, be), ee), ee;
10189
- }), Y = z(() => {
10185
+ }), G = z(() => {
10190
10186
  const ee = {
10191
10187
  position: "absolute",
10192
10188
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -10208,7 +10204,7 @@ const Gt = /* @__PURE__ */ ot({
10208
10204
  display: l.value ? "" : "none"
10209
10205
  };
10210
10206
  return ee["pointer-events"] = B.value ? "auto" : "none", ee;
10211
- }), de = z(() => ({
10207
+ }), me = z(() => ({
10212
10208
  "f-icon": !0,
10213
10209
  modal_maximize: !0,
10214
10210
  modalrevert: V.value
@@ -10241,13 +10237,13 @@ const Gt = /* @__PURE__ */ ot({
10241
10237
  function le(ee) {
10242
10238
  ee.width && (e.value = ee.width), ee.height && (o.value = ee.height), ee.buttons && (h.value = ee.buttons), ee.title && (y.value = ee.title);
10243
10239
  }
10244
- let G = null, ne = null;
10245
- Vr(() => {
10240
+ let Y = null, oe = null;
10241
+ Pr(() => {
10246
10242
  w.value = F();
10247
10243
  }), Bt(() => {
10248
- g.value && !S.value && (S.value = g.value.parentElement, q.value = S.value, j(E.value, g.value, q.value)), U.value && document.body.classList.add("modal-open"), G = Rc(n, t), ne = Bc(n, t);
10244
+ g.value && !S.value && (S.value = g.value.parentElement, q.value = S.value, j(E.value, g.value, q.value)), U.value && document.body.classList.add("modal-open"), Y = Rc(n, t), oe = Bc(n, t);
10249
10245
  }), sn(() => {
10250
- P && P(), G && G.remove(), ne && ne.remove();
10246
+ P && P(), Y && Y.remove(), oe && oe.remove();
10251
10247
  }), t.expose({
10252
10248
  modalElementRef: g,
10253
10249
  updateModalOptions: le,
@@ -10265,7 +10261,7 @@ const Gt = /* @__PURE__ */ ot({
10265
10261
  class: "f-btn-icon f-bare",
10266
10262
  style: "pointer-events: auto;"
10267
10263
  }, [D("span", {
10268
- class: de.value
10264
+ class: me.value
10269
10265
  }, null)]), d.value && D("li", {
10270
10266
  class: "f-btn-icon f-bare",
10271
10267
  onClick: (ee) => x(ee, !1),
@@ -10324,7 +10320,7 @@ const Gt = /* @__PURE__ */ ot({
10324
10320
  return D("div", {
10325
10321
  id: a.value,
10326
10322
  class: H.value,
10327
- style: Y.value,
10323
+ style: G.value,
10328
10324
  ref: g
10329
10325
  }, [D("div", {
10330
10326
  class: J.value
@@ -10338,10 +10334,10 @@ const Gt = /* @__PURE__ */ ot({
10338
10334
  src: v.value
10339
10335
  }, null)]), Ke()]), !s.value && g.value && !V.value && N(g.value)]);
10340
10336
  }
10341
- return () => D(Nr, {
10337
+ return () => D(Vr, {
10342
10338
  to: "body"
10343
10339
  }, {
10344
- default: () => [U.value && D(qn, {
10340
+ default: () => [U.value && D(An, {
10345
10341
  name: "fade",
10346
10342
  appear: !0
10347
10343
  }, {
@@ -10355,7 +10351,7 @@ const Gt = /* @__PURE__ */ ot({
10355
10351
  });
10356
10352
  }
10357
10353
  });
10358
- function fr(n) {
10354
+ function dr(n) {
10359
10355
  if (n.content && n.content.render)
10360
10356
  return n.content.render;
10361
10357
  if (n.render && typeof n.render == "function")
@@ -10364,7 +10360,7 @@ function fr(n) {
10364
10360
  function Hc(n) {
10365
10361
  const t = document.createElement("div");
10366
10362
  t.style.display = "contents";
10367
- const e = An({
10363
+ const e = Ln({
10368
10364
  setup(o, r) {
10369
10365
  sn(() => {
10370
10366
  document.body.removeChild(t);
@@ -10374,7 +10370,7 @@ function Hc(n) {
10374
10370
  }), v = n.closedCallback || ((f) => {
10375
10371
  }), O = n.resizeHandle || ((f) => {
10376
10372
  }), T = n.stopMoveHandle || ((f) => {
10377
- }), y = fr(n), S = (f) => {
10373
+ }), y = dr(n), S = (f) => {
10378
10374
  d.value = !1, e.unmount(), v(f);
10379
10375
  };
10380
10376
  return Bt(() => {
@@ -10406,7 +10402,7 @@ function Hc(n) {
10406
10402
  });
10407
10403
  return document.body.appendChild(t), e.mount(t), e;
10408
10404
  }
10409
- class mr {
10405
+ class fr {
10410
10406
  constructor(t) {
10411
10407
  W(this, "appContext", null);
10412
10408
  W(this, "modalRef", k());
@@ -10447,7 +10443,7 @@ class mr {
10447
10443
  open(t) {
10448
10444
  const e = document.createDocumentFragment();
10449
10445
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
10450
- const o = Rr(Object.assign({
10446
+ const o = Nr(Object.assign({
10451
10447
  title: "",
10452
10448
  showButtons: !0,
10453
10449
  showHeader: !0
@@ -10458,7 +10454,7 @@ class mr {
10458
10454
  }), u = t.stopMoveHandle || ((x) => {
10459
10455
  });
10460
10456
  let d;
10461
- const c = fr(o.value), m = (x) => {
10457
+ const c = dr(o.value), m = (x) => {
10462
10458
  var h;
10463
10459
  r.value = !1;
10464
10460
  const b = (h = x == null ? void 0 : x.target) == null ? void 0 : h.classList.contains("modal_close");
@@ -10494,7 +10490,7 @@ class mr {
10494
10490
  default: () => [c && c(this.app)]
10495
10491
  });
10496
10492
  return d = ((x) => {
10497
- const b = Br(S, x);
10493
+ const b = Rr(S, x);
10498
10494
  return b.appContext = this.appContext, un(b, e), b;
10499
10495
  })({
10500
10496
  ...o.value
@@ -10504,7 +10500,7 @@ class mr {
10504
10500
  o.value = {
10505
10501
  ...o.value,
10506
10502
  ...x
10507
- }, d && un(Hr(d, {
10503
+ }, d && un(Br(d, {
10508
10504
  ...o
10509
10505
  }), e);
10510
10506
  },
@@ -10517,7 +10513,7 @@ class mr {
10517
10513
  const Wc = Symbol("FModalService");
10518
10514
  Gt.install = (n) => {
10519
10515
  n.component(Gt.name, Gt);
10520
- const t = new mr(n);
10516
+ const t = new fr(n);
10521
10517
  n.provide(Wc, t), n.provide("FModalService", t);
10522
10518
  };
10523
10519
  const $c = {
@@ -10537,7 +10533,7 @@ const $c = {
10537
10533
  };
10538
10534
  Ht(
10539
10535
  $c,
10540
- or,
10536
+ nr,
10541
10537
  Tn,
10542
10538
  void 0
10543
10539
  );
@@ -10844,7 +10840,7 @@ class St {
10844
10840
  }), o = !1, r = e.type === "error" || e.type === "prompt", a = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", i = e.acceptCallback || (() => {
10845
10841
  }), s = e.rejectCallback || (() => {
10846
10842
  });
10847
- let l = null, u = new mr(l);
10843
+ let l = null, u = new fr(l);
10848
10844
  const d = () => {
10849
10845
  l && (l == null || l.destroy(), u = null);
10850
10846
  };
@@ -11003,7 +10999,7 @@ function fd(n, t, e) {
11003
10999
  }
11004
11000
  return { getCompareOperators: r };
11005
11001
  }
11006
- function hr() {
11002
+ function mr() {
11007
11003
  const n = k({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
11008
11004
  let o = 0;
11009
11005
  function r() {
@@ -11218,15 +11214,15 @@ function md(n, t, e) {
11218
11214
  }
11219
11215
  const fn = /* @__PURE__ */ ot({
11220
11216
  name: "FConditionList",
11221
- props: Mo,
11217
+ props: Eo,
11222
11218
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
11223
11219
  setup(n, t) {
11224
- const e = k(n.key), o = k(n.conditions), r = nr(n), {
11220
+ const e = k(n.key), o = k(n.conditions), r = tr(n), {
11225
11221
  convertToSingleControl: a,
11226
11222
  fields: i,
11227
11223
  fieldMap: s,
11228
11224
  loadFieldConfigs: l
11229
- } = r, u = hr(), {
11225
+ } = r, u = mr(), {
11230
11226
  addCondition: d,
11231
11227
  changeGroupRelation: c,
11232
11228
  getConditions: m,
@@ -11239,7 +11235,7 @@ const fn = /* @__PURE__ */ ot({
11239
11235
  unGroup: f
11240
11236
  } = u, {
11241
11237
  createConditionValue: w
11242
- } = tr(), x = md(n, t, u), {
11238
+ } = er(), x = md(n, t, u), {
11243
11239
  selectedItems: b,
11244
11240
  toggleSelect: h
11245
11241
  } = x, {
@@ -11383,7 +11379,7 @@ const fn = /* @__PURE__ */ ot({
11383
11379
  }
11384
11380
  });
11385
11381
  fn.install = (n) => {
11386
- n.component(Wn.name, Wn).component(fn.name, fn);
11382
+ n.component(Hn.name, Hn).component(fn.name, fn);
11387
11383
  };
11388
11384
  const hd = [
11389
11385
  "equal",
@@ -11516,38 +11512,38 @@ const hd = [
11516
11512
  ["number", bd],
11517
11513
  ["text", pd]
11518
11514
  ]);
11519
- function pr() {
11520
- const n = k([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = hr();
11515
+ function hr() {
11516
+ const n = k([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = mr();
11521
11517
  function o(T, y) {
11522
11518
  switch (T) {
11523
11519
  case "check-box":
11524
- return new Fo({ value: y });
11520
+ return new Mo({ value: y });
11525
11521
  case "combo-list":
11526
- return new Uo({ value: y });
11522
+ return new Yo({ value: y });
11527
11523
  case "combo-lookup":
11528
- return new Oo({ value: y });
11524
+ return new Fo({ value: y });
11529
11525
  case "input-group":
11530
11526
  return new on({ value: y });
11531
11527
  case "date-picker":
11532
- return new Go({ value: y });
11528
+ return new zo({ value: y });
11533
11529
  case "date-range":
11534
11530
  return new nn({ value: y });
11535
11531
  case "datetime-picker":
11536
- return new Yo({ value: y });
11532
+ return new Go({ value: y });
11537
11533
  case "datetime-range":
11538
11534
  return new nn({ value: y });
11539
11535
  case "lookup":
11540
- return new Xo({ value: y });
11536
+ return new Uo({ value: y });
11541
11537
  case "month-picker":
11542
- return new Qo({ value: y });
11538
+ return new Xo({ value: y });
11543
11539
  case "month-range":
11544
- return new Ko({ value: y });
11540
+ return new Qo({ value: y });
11545
11541
  case "number-range":
11546
- return new Jo({ value: y });
11542
+ return new Ko({ value: y });
11547
11543
  case "number-spinner":
11548
- return new Zo({ value: y });
11544
+ return new Jo({ value: y });
11549
11545
  case "radio-group":
11550
- return new er({ value: y });
11546
+ return new Zo({ value: y });
11551
11547
  default:
11552
11548
  return new on({ value: y });
11553
11549
  }
@@ -11616,7 +11612,7 @@ function pr() {
11616
11612
  }
11617
11613
  return { addColumnFilter: s, apply: O, clearCondition: d, conditions: n, getFilterEditorType: i, removeColumnFilter: l, removeCondition: u };
11618
11614
  }
11619
- function vr(n) {
11615
+ function pr(n) {
11620
11616
  k(n.selection.showCheckbox || !1);
11621
11617
  const t = z(() => {
11622
11618
  var i;
@@ -11632,7 +11628,7 @@ function vr(n) {
11632
11628
  }
11633
11629
  function Cd(n, t, e, o, r) {
11634
11630
  var S, f, w, x, b, h;
11635
- const { getDifference: a, isBInA: i } = vo(), { dataView: s, visibleDataItems: l } = e, { idField: u } = o, d = k(((f = (S = n.hierarchy) == null ? void 0 : S.cascadeOption) == null ? void 0 : f.autoCheckChildren) || !1), c = k(((x = (w = n.hierarchy) == null ? void 0 : w.cascadeOption) == null ? void 0 : x.autoCheckParent) || !1), m = k(((h = (b = n.hierarchy) == null ? void 0 : b.cascadeOption) == null ? void 0 : h.selectionRange) || "All");
11631
+ const { getDifference: a, isBInA: i } = po(), { dataView: s, visibleDataItems: l } = e, { idField: u } = o, d = k(((f = (S = n.hierarchy) == null ? void 0 : S.cascadeOption) == null ? void 0 : f.autoCheckChildren) || !1), c = k(((x = (w = n.hierarchy) == null ? void 0 : w.cascadeOption) == null ? void 0 : x.autoCheckParent) || !1), m = k(((h = (b = n.hierarchy) == null ? void 0 : b.cascadeOption) == null ? void 0 : h.selectionRange) || "All");
11636
11632
  Fe(() => {
11637
11633
  var C;
11638
11634
  return (C = n.hierarchy) == null ? void 0 : C.cascadeOption;
@@ -11672,9 +11668,9 @@ function Cd(n, t, e, o, r) {
11672
11668
  }
11673
11669
  return { autoCheckChildren: d, autoCheckParent: c, interactAfterCheckHierarchyItem: y };
11674
11670
  }
11675
- function gr(n, t, e, o, r, a) {
11676
- const { getDifference: i, isBInA: s } = vo();
11677
- go();
11671
+ function vr(n, t, e, o, r, a) {
11672
+ const { getDifference: i, isBInA: s } = po();
11673
+ vo();
11678
11674
  const { dataView: l, fold: u, hasRealChildren: d, unFold: c, reOrderVisibleIndex: m } = e, { select: p, selectDataItem: v, unSelect: O, unSelectDataItem: T, indeterminate: y, indeterminateDataItem: S, getSelectedItems: f, selectedValues: w, currentSelectedDataId: x } = r, { autoCheckChildren: b, autoCheckParent: h, interactAfterCheckHierarchyItem: C } = Cd(n, t, e, o), { idField: _ } = o;
11679
11675
  function E() {
11680
11676
  return l.value.filter((P) => !!P.__fv_checked__).map((P) => P.__fv_index__);
@@ -11694,7 +11690,7 @@ function gr(n, t, e, o, r, a) {
11694
11690
  return;
11695
11691
  let j = P.raw.__fv_parent_index__;
11696
11692
  for (; j !== void 0; ) {
11697
- const F = E(), R = l.value[j], U = i(R.__fv_children_index__, F), A = t.value.find((K) => K.raw[_.value] === R[_.value]), H = R.__fv_visible__ !== !1 && A ? A : R, Y = R.__fv_visible__ !== !1 && A ? {
11693
+ const F = E(), R = l.value[j], U = i(R.__fv_children_index__, F), A = t.value.find((K) => K.raw[_.value] === R[_.value]), H = R.__fv_visible__ !== !1 && A ? A : R, G = R.__fv_visible__ !== !1 && A ? {
11698
11694
  check: p,
11699
11695
  uncheck: O,
11700
11696
  uncertain: y
@@ -11703,19 +11699,19 @@ function gr(n, t, e, o, r, a) {
11703
11699
  uncheck: T,
11704
11700
  uncertain: S
11705
11701
  };
11706
- V(H, U, Y), j = R.__fv_parent_index__;
11702
+ V(H, U, G), j = R.__fv_parent_index__;
11707
11703
  }
11708
11704
  }
11709
11705
  function M(P) {
11710
11706
  const j = !!P.checked;
11711
11707
  if (b.value) {
11712
- const R = P.raw.__fv_children_index__.map((J) => l.value[J]).filter((J) => !!J.__fv_checked__ !== j), U = R.filter((J) => J.__fv_visible__ === !1), A = R.filter((J) => J.__fv_visible__ !== !1), H = [], Y = /* @__PURE__ */ new Map();
11708
+ const R = P.raw.__fv_children_index__.map((J) => l.value[J]).filter((J) => !!J.__fv_checked__ !== j), U = R.filter((J) => J.__fv_visible__ === !1), A = R.filter((J) => J.__fv_visible__ !== !1), H = [], G = /* @__PURE__ */ new Map();
11713
11709
  t.value.forEach((J) => {
11714
- Y.set(J.raw[_.value], J);
11710
+ G.set(J.raw[_.value], J);
11715
11711
  });
11716
11712
  const K = [];
11717
11713
  A.forEach((J) => {
11718
- Y.has(J[_.value]) ? H.push(Y.get(J[_.value])) : K.push(J);
11714
+ G.has(J[_.value]) ? H.push(G.get(J[_.value])) : K.push(J);
11719
11715
  }), H.forEach((J) => {
11720
11716
  j ? p(J) : O(J);
11721
11717
  }), [...U, ...K].forEach((J) => {
@@ -11732,8 +11728,8 @@ function gr(n, t, e, o, r, a) {
11732
11728
  function q(P, j) {
11733
11729
  let F = -1;
11734
11730
  if (P.raw.__fv_parent_index__ > -1) {
11735
- const H = t.value[P.raw.__fv_parent_index__].raw.__fv_descendant_index__, Y = H.length > 1, K = H.findIndex((Z) => Z === j), J = K === H.length - 1;
11736
- F = Y ? J ? H[K - 1] : H[K + 1] : -1;
11731
+ const H = t.value[P.raw.__fv_parent_index__].raw.__fv_descendant_index__, G = H.length > 1, K = H.findIndex((Z) => Z === j), J = K === H.length - 1;
11732
+ F = G ? J ? H[K - 1] : H[K + 1] : -1;
11737
11733
  }
11738
11734
  return F > -1 ? t.value[F] : null;
11739
11735
  }
@@ -11749,7 +11745,7 @@ function gr(n, t, e, o, r, a) {
11749
11745
  }
11750
11746
  return { getNextSelectableHierarchyItemId: B, toggleSelectHierarchyItem: I };
11751
11747
  }
11752
- function yr(n, t, e, o, r, a, i, s, l) {
11748
+ function gr(n, t, e, o, r, a, i, s, l) {
11753
11749
  var Ct;
11754
11750
  const { dataView: u, visibleDataItems: d } = t, { getVisualData: c, maxVisibleRowIndex: m, minVisibleRowIndex: p } = r, v = z(() => o.value.primaryColumnsWidth), O = z(() => o.value.leftColumnsWidth), T = z(() => o.value.rightColumnsWidth), y = ((Ct = n.rowOption) == null ? void 0 : Ct.height) || 28, S = k(0), f = k(0);
11755
11751
  let w = 0, x = a.value - 1;
@@ -11759,69 +11755,69 @@ function yr(n, t, e, o, r, a, i, s, l) {
11759
11755
  const ae = d.value;
11760
11756
  if (ae.length <= 0)
11761
11757
  return 0;
11762
- const me = m.value < ae.length ? ae[m.value] : ae[ae.length - 1];
11763
- return me.__fv_data_position__ > ae.length * y ? ae.length * y : (me.__fv_data_position__ || 0) + (me.__fv_data_height__ || 0) + Math.max(ae.length - 1 - m.value, 0) * y;
11758
+ const fe = m.value < ae.length ? ae[m.value] : ae[ae.length - 1];
11759
+ return fe.__fv_data_position__ > ae.length * y ? ae.length * y : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - m.value, 0) * y;
11764
11760
  }
11765
11761
  const M = z(() => {
11766
11762
  const ae = N();
11767
11763
  d.value;
11768
- let me = h.value / Math.max(ae, h.value), ge = Math.floor(me * h.value);
11764
+ let fe = h.value / Math.max(ae, h.value), ge = Math.floor(fe * h.value);
11769
11765
  for (; h.value > 0 && ge < E; )
11770
- me *= g, ge = Math.floor(me * h.value);
11766
+ fe *= g, ge = Math.floor(fe * h.value);
11771
11767
  return ge;
11772
11768
  }), I = z(() => Math.floor(C.value / Math.max(v.value, C.value) * b.value)), q = 0, $ = 0, B = z(() => b.value - (O.value + v.value + T.value + s.value));
11773
11769
  function P(ae) {
11774
11770
  const ge = Math.floor(ae / y) + 1, Be = d.value;
11775
11771
  return Be.length > ge ? Be[ge].__fv_visible_index__ - 1 : 0;
11776
11772
  }
11777
- function j(ae, me, ge) {
11778
- let Be = ae, ze = me;
11779
- const Ze = me - ae + 1;
11773
+ function j(ae, fe, ge) {
11774
+ let Be = ae, ze = fe;
11775
+ const Ze = fe - ae + 1;
11780
11776
  if (Ze < i + a.value + i) {
11781
- const Q = i + a.value + i - Ze, he = me + Q <= ge, _e = 0 + Q <= ae;
11777
+ const Q = i + a.value + i - Ze, he = fe + Q <= ge, _e = 0 + Q <= ae;
11782
11778
  if (he)
11783
11779
  ze += Q, x = ze;
11784
11780
  else if (_e)
11785
11781
  Be -= Q, w = Be;
11786
11782
  else {
11787
- const Ve = ge - me, L = Q - Ve;
11788
- ze = Math.min(me + Ve, ge), Be = Math.max(ae - L, 0);
11783
+ const Ve = ge - fe, L = Q - Ve;
11784
+ ze = Math.min(fe + Ve, ge), Be = Math.max(ae - L, 0);
11789
11785
  }
11790
11786
  }
11791
11787
  return { actualStart: Be, actualEnd: ze };
11792
11788
  }
11793
11789
  function F(ae) {
11794
11790
  var Ve, L;
11795
- const me = d.value;
11796
- if (!me.length) {
11791
+ const fe = d.value;
11792
+ if (!fe.length) {
11797
11793
  e.value = [];
11798
11794
  return;
11799
11795
  }
11800
- const ge = (Ve = n.pagination) != null && Ve.enable ? 0 : Math.max(w - i, 0), Be = me[me.length - 1].__fv_visible_index__, ze = (L = n.pagination) != null && L.enable ? me.length - 1 : Math.min(x + i, Be), { actualStart: Ze, actualEnd: Q } = j(ge, ze, Be), he = me[Ze - 1], _e = c(Ze, Q, he, ae);
11796
+ const ge = (Ve = n.pagination) != null && Ve.enable ? 0 : Math.max(w - i, 0), Be = fe[fe.length - 1].__fv_visible_index__, ze = (L = n.pagination) != null && L.enable ? fe.length - 1 : Math.min(x + i, Be), { actualStart: Ze, actualEnd: Q } = j(ge, ze, Be), he = fe[Ze - 1], _e = c(Ze, Q, he, ae);
11801
11797
  _e.length && (e.value = [..._e]);
11802
11798
  }
11803
11799
  const R = z(() => N() > h.value), U = z(() => Math.floor(v.value) > C.value);
11804
- function A(ae, me) {
11800
+ function A(ae, fe) {
11805
11801
  let ge = ae;
11806
11802
  const Be = ge > q, ze = R.value;
11807
- ze && ge < h.value - me && (ge = h.value - me), (!ze || Be) && (ge = q), S.value !== ge && (S.value = ge);
11803
+ ze && ge < h.value - fe && (ge = h.value - fe), (!ze || Be) && (ge = q), S.value !== ge && (S.value = ge);
11808
11804
  }
11809
11805
  function H() {
11810
11806
  _.value && (w = P(Math.abs(S.value)), x = w + a.value - 1, (w < p.value || x > m.value - i / 2) && F());
11811
11807
  }
11812
- function Y(ae) {
11813
- let me = S.value + ae;
11814
- me > q && (me = q);
11808
+ function G(ae) {
11809
+ let fe = S.value + ae;
11810
+ fe > q && (fe = q);
11815
11811
  const ge = N();
11816
- A(me, ge), H();
11812
+ A(fe, ge), H();
11817
11813
  }
11818
11814
  function K(ae) {
11819
11815
  if (!U.value) {
11820
11816
  f.value = 0;
11821
11817
  return;
11822
11818
  }
11823
- let me = f.value + ae;
11824
- me > $ && (me = $), me < B.value && (me = B.value), f.value !== me && (f.value = me);
11819
+ let fe = f.value + ae;
11820
+ fe > $ && (fe = $), fe < B.value && (fe = B.value), f.value !== fe && (f.value = fe);
11825
11821
  }
11826
11822
  function J() {
11827
11823
  Math.abs(f.value) + C.value > v.value && (f.value = Math.min(C.value - v.value, 0));
@@ -11829,25 +11825,25 @@ function yr(n, t, e, o, r, a, i, s, l) {
11829
11825
  function Z() {
11830
11826
  S.value = 0, w = 0, x = a.value - 1, F();
11831
11827
  }
11832
- function de() {
11828
+ function me() {
11833
11829
  const ae = N();
11834
11830
  A(S.value, ae);
11835
11831
  }
11836
11832
  Fe([C, v], () => {
11837
11833
  K(0);
11838
- }), Fe(h, (ae, me) => {
11839
- ae !== me && ae >= u.value.length * y && Y(0);
11834
+ }), Fe(h, (ae, fe) => {
11835
+ ae !== fe && ae >= u.value.length * y && G(0);
11840
11836
  });
11841
11837
  function ve(ae) {
11842
- let { deltaX: me } = ae, ge = -1 * ae.deltaY;
11843
- return typeof me > "u" && (me = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (me *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -me } : { deltaX: me, deltaY: ge };
11838
+ let { deltaX: fe } = ae, ge = -1 * ae.deltaY;
11839
+ return typeof fe > "u" && (fe = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (fe *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -fe } : { deltaX: fe, deltaY: ge };
11844
11840
  }
11845
11841
  function Se(ae) {
11846
11842
  if (n.disabled || !R.value || ae.target.tagName === "TEXTAREA")
11847
11843
  return;
11848
11844
  ae.preventDefault(), ae.stopPropagation();
11849
- const { deltaX: me, deltaY: ge } = ve(ae);
11850
- Y(ge), K(me);
11845
+ const { deltaX: fe, deltaY: ge } = ve(ae);
11846
+ G(ge), K(fe);
11851
11847
  }
11852
11848
  const De = z(() => ({
11853
11849
  height: `${u.value.length * y}px`,
@@ -11861,11 +11857,11 @@ function yr(n, t, e, o, r, a, i, s, l) {
11861
11857
  transform: `translate(${f.value}px, ${S.value}px)`
11862
11858
  })), le = z(() => ({
11863
11859
  transform: `translate(${f.value}px, ${S.value}px)`
11864
- })), G = z(() => ({
11860
+ })), Y = z(() => ({
11865
11861
  height: `${u.value.length * y}px`,
11866
11862
  width: `${T.value}px`,
11867
11863
  transform: `translateY(${S.value}px)`
11868
- })), ne = z(() => ({
11864
+ })), oe = z(() => ({
11869
11865
  transform: `translateY(${S.value}px)`
11870
11866
  })), ye = z(() => ({
11871
11867
  height: `${u.value.length * y}px`,
@@ -11891,41 +11887,41 @@ function yr(n, t, e, o, r, a, i, s, l) {
11891
11887
  })), Oe = k(!1), be = k(-1), ke = k(-1), Xe = k();
11892
11888
  function ut(ae) {
11893
11889
  if (Oe.value && ke.value !== -1) {
11894
- const me = ke.value - ae.pageX, ge = b.value - I.value;
11895
- if (Math.abs(me) <= ge) {
11896
- const Be = me / (C.value - I.value) * (v.value - C.value);
11890
+ const fe = ke.value - ae.pageX, ge = b.value - I.value;
11891
+ if (Math.abs(fe) <= ge) {
11892
+ const Be = fe / (C.value - I.value) * (v.value - C.value);
11897
11893
  K(Be), ke.value = ae.pageX;
11898
11894
  }
11899
11895
  }
11900
11896
  }
11901
11897
  function bt(ae) {
11902
11898
  if (Oe.value && be.value !== -1) {
11903
- const me = be.value - ae.pageY, ge = N(), Be = ge - M.value;
11904
- if (Math.abs(me) <= Be) {
11905
- const ze = me / (h.value - M.value) * (ge - h.value);
11906
- Y(ze), be.value = ae.pageY;
11899
+ const fe = be.value - ae.pageY, ge = N(), Be = ge - M.value;
11900
+ if (Math.abs(fe) <= Be) {
11901
+ const ze = fe / (h.value - M.value) * (ge - h.value);
11902
+ G(ze), be.value = ae.pageY;
11907
11903
  }
11908
11904
  }
11909
11905
  }
11910
11906
  function mt(ae) {
11911
11907
  Oe.value = !1, be.value = -1, ke.value = -1, document.removeEventListener("mouseup", mt), V && (document.removeEventListener("mousemove", V), V = null), document.body.style.userSelect = "", Xe.value && (Xe.value.style.opacity = null);
11912
11908
  }
11913
- function Et(ae, me, ge) {
11909
+ function Et(ae, fe, ge) {
11914
11910
  var Ze;
11915
11911
  Oe.value = !0;
11916
11912
  const Be = (Ze = ae.target) == null ? void 0 : Ze.parentElement;
11917
- Be && (Be.style.opacity = "1", Xe.value = Be), V || (V = Wr(ge === "horizontal" ? ut : bt, 50)), ge === "vertical" && (be.value = ae.pageY), ge === "horizontal" && (ke.value = ae.pageX), me.value && (me.value, document.addEventListener("mousemove", V), document.addEventListener("mouseup", mt), document.body.style.userSelect = "none");
11913
+ Be && (Be.style.opacity = "1", Xe.value = Be), V || (V = Hr(ge === "horizontal" ? ut : bt, 50)), ge === "vertical" && (be.value = ae.pageY), ge === "horizontal" && (ke.value = ae.pageX), fe.value && (fe.value, document.addEventListener("mousemove", V), document.addEventListener("mouseup", mt), document.body.style.userSelect = "none");
11918
11914
  }
11919
11915
  function wt(ae) {
11920
- const me = u.value.length * y - h.value;
11916
+ const fe = u.value.length * y - h.value;
11921
11917
  let ge = ae * y;
11922
- ge >= me && (ge = me), Y(-ge - S.value);
11918
+ ge >= fe && (ge = fe), G(-ge - S.value);
11923
11919
  }
11924
11920
  function gt() {
11925
11921
  wt(u.value.length);
11926
11922
  }
11927
11923
  function Mt(ae) {
11928
- Y(ae - S.value);
11924
+ G(ae - S.value);
11929
11925
  }
11930
11926
  return {
11931
11927
  dataGridWidth: b,
@@ -11944,12 +11940,12 @@ function yr(n, t, e, o, r, a, i, s, l) {
11944
11940
  onWheel: Se,
11945
11941
  reCalculateVisualDataRows: F,
11946
11942
  resetScroll: Z,
11947
- rightFixedGridDataStyle: G,
11943
+ rightFixedGridDataStyle: Y,
11948
11944
  rightFixedGridHeaderColumnsStyle: Ke,
11949
- rightFixedGridMergedDataStyle: ne,
11945
+ rightFixedGridMergedDataStyle: oe,
11950
11946
  shouldShowHorizontalScrollbar: U,
11951
11947
  shouldShowVirticalScrollbar: R,
11952
- updateVirticalScroll: de,
11948
+ updateVirticalScroll: me,
11953
11949
  updateVisibleRowsOnLatestVisibleScope: H,
11954
11950
  verticalScrollThumbStyle: it,
11955
11951
  viewPortWidth: C,
@@ -11986,9 +11982,9 @@ function _d(n, t, e, o, r, a, i, s) {
11986
11982
  }
11987
11983
  return { getVisualData: v, maxVisibleRowIndex: l, minVisibleRowIndex: u, toggleGroupRow: O };
11988
11984
  }
11989
- function br(n) {
11985
+ function yr(n) {
11990
11986
  var a;
11991
- const { isUndefined: t } = go(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
11987
+ const { isUndefined: t } = vo(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
11992
11988
  function o(i, s) {
11993
11989
  const l = i.pre;
11994
11990
  if (l) {
@@ -12043,7 +12039,7 @@ function Sd() {
12043
12039
  function Td() {
12044
12040
  const {
12045
12041
  formatTo: n
12046
- } = ta();
12042
+ } = ea();
12047
12043
  function t(o, r) {
12048
12044
  if (o) {
12049
12045
  let a = "yyyy-MM-dd";
@@ -12068,7 +12064,7 @@ function Td() {
12068
12064
  function kd() {
12069
12065
  const {
12070
12066
  formatTo: n
12071
- } = na();
12067
+ } = ta();
12072
12068
  function t(e, o) {
12073
12069
  const r = {
12074
12070
  precision: o.precision,
@@ -12125,7 +12121,7 @@ function Md() {
12125
12121
  renderFormatColumn: l
12126
12122
  };
12127
12123
  }
12128
- function wr(n, t, e) {
12124
+ function br(n, t, e) {
12129
12125
  var T;
12130
12126
  const o = k(n.mergeCell);
12131
12127
  (T = k(n.rowOption).value) != null && T.wrapContent;
@@ -12192,7 +12188,7 @@ function wr(n, t, e) {
12192
12188
  }
12193
12189
  return { createCellByColumn: O, createCellByField: l, updateCellByColumn: v };
12194
12190
  }
12195
- function Cr(n, t, e, o, r, a, i) {
12191
+ function wr(n, t, e, o, r, a, i) {
12196
12192
  var f, w;
12197
12193
  const s = k(n.rowOption), l = ((f = s.value) == null ? void 0 : f.height) || 28, u = ((w = s.value) == null ? void 0 : w.wrapContent) || !1, { idField: d } = r, { collapseField: c } = o, { updateRowPosition: m } = a, { createCellByColumn: p } = i, v = (x, b, h, C) => {
12198
12194
  mn(at(x, C), b, C), h.data[C].data = at(b, C), h.data[C].editingData = at(b, C);
@@ -12219,17 +12215,17 @@ function Cr(n, t, e, o, r, a, i) {
12219
12215
  checked: B,
12220
12216
  disabled: j,
12221
12217
  indeterminate: P,
12222
- setRef: (Y) => {
12223
- R.ref = Y;
12218
+ setRef: (G) => {
12219
+ R.ref = G;
12224
12220
  },
12225
12221
  visible: $ && F || $ && !n.hierarchy,
12226
12222
  status: vt.initial,
12227
- updateCell: (Y, K) => {
12228
- v(Y, h, R, K);
12223
+ updateCell: (G, K) => {
12224
+ v(G, h, R, K);
12229
12225
  },
12230
- updateCells: (Y, K) => {
12226
+ updateCells: (G, K) => {
12231
12227
  K.forEach((J) => {
12232
- v(Y, h, R, J);
12228
+ v(G, h, R, J);
12233
12229
  });
12234
12230
  }
12235
12231
  };
@@ -12257,7 +12253,7 @@ function Cr(n, t, e, o, r, a, i) {
12257
12253
  }
12258
12254
  return { createEmptyRow: O, createNewRowFromDataItem: T, renderDataRow: S };
12259
12255
  }
12260
- function _r(n, t, e, o, r) {
12256
+ function Cr(n, t, e, o, r) {
12261
12257
  var j;
12262
12258
  const {
12263
12259
  idField: a
@@ -12309,8 +12305,8 @@ function _r(n, t, e, o, r) {
12309
12305
  if (U != null && U.closest(".popover"))
12310
12306
  return;
12311
12307
  const A = U.closest(".fv-grid-cell");
12312
- m && m.ref && m.ref === A || x(m).then((Y) => {
12313
- Y && document.body.removeEventListener("click", b, !0);
12308
+ m && m.ref && m.ref === A || x(m).then((G) => {
12309
+ G && document.body.removeEventListener("click", b, !0);
12314
12310
  });
12315
12311
  }
12316
12312
  function h(F, R, U) {
@@ -12376,10 +12372,10 @@ function _r(n, t, e, o, r) {
12376
12372
  selectOnCreated: n.selectOnEditingCell,
12377
12373
  editor: H,
12378
12374
  modelValue: F.editingData,
12379
- "onUpdate:modelValue": (Y) => F.editingData = Y,
12375
+ "onUpdate:modelValue": (G) => F.editingData = G,
12380
12376
  id: R.id,
12381
- onMousedown: (Y) => E(Y),
12382
- onMouseup: (Y) => g(Y)
12377
+ onMousedown: (G) => E(G),
12378
+ onMouseup: (G) => g(G)
12383
12379
  }, null)) : F.data;
12384
12380
  }
12385
12381
  function B() {
@@ -12411,7 +12407,7 @@ function _r(n, t, e, o, r) {
12411
12407
  onMouseupCell: g
12412
12408
  };
12413
12409
  }
12414
- function xr(n) {
12410
+ function _r(n) {
12415
12411
  const t = k(n.idField);
12416
12412
  function e(o) {
12417
12413
  if (o && o.length) {
@@ -12421,7 +12417,7 @@ function xr(n) {
12421
12417
  }
12422
12418
  return { idField: t, reviseIdentifyField: e };
12423
12419
  }
12424
- function Sr(n, t, e, o) {
12420
+ function xr(n, t, e, o) {
12425
12421
  const { idField: r } = o, {
12426
12422
  currentSelectedDataId: a,
12427
12423
  multiSelectOnClickRow: i,
@@ -12540,28 +12536,28 @@ function Sr(n, t, e, o) {
12540
12536
  onMouseoutRow: V
12541
12537
  };
12542
12538
  }
12543
- function Tr(n, t, e, o, r) {
12539
+ function Sr(n, t, e, o, r) {
12544
12540
  const { idField: a } = e, { dataView: i, getSelectionItems: s } = t, l = k(""), u = z(() => n.selection.enableSelectRow), d = k(n.selection.multiSelect ?? !1), c = k(n.selection.multiSelectMode || "DependOnCheck"), m = k(n.selection.showCheckbox), p = k(n.selection.showSelectAll), v = k(n.selectionValues || []), O = k(!!v.value.length && o.value.length === v.value.length), T = k(!!v.value.length && o.value.length !== v.value.length);
12545
12541
  Fe(() => n.selection.showSelectAll, (X, le) => {
12546
12542
  X !== le && (p.value = X);
12547
12543
  });
12548
12544
  function y() {
12549
- const X = i.value.every((G) => v.value.includes(G[a.value])), le = i.value.every((G) => !v.value.includes(G[a.value]));
12545
+ const X = i.value.every((Y) => v.value.includes(Y[a.value])), le = i.value.every((Y) => !v.value.includes(Y[a.value]));
12550
12546
  X && (O.value = !0, T.value = !1), le && (O.value = !1, T.value = !1), !X && !le && (O.value = !1, T.value = !0);
12551
12547
  }
12552
12548
  function S() {
12553
12549
  return s(v.value);
12554
12550
  }
12555
12551
  function f() {
12556
- const X = o.value.reduce((G, ne) => (G.set(ne.raw[a.value], ne), G), /* @__PURE__ */ new Map());
12557
- return v.value.map((G) => X.get(G)).filter((G) => !!G);
12552
+ const X = o.value.reduce((Y, oe) => (Y.set(oe.raw[a.value], oe), Y), /* @__PURE__ */ new Map());
12553
+ return v.value.map((Y) => X.get(Y)).filter((Y) => !!Y);
12558
12554
  }
12559
12555
  function w(X) {
12560
- var G;
12556
+ var Y;
12561
12557
  const le = X.raw.__fv_children_index__;
12562
12558
  if (le && le.length) {
12563
- const ne = le.map((ye) => i.value[ye]);
12564
- (G = v.value) != null && G.length && ne.some((Ee) => !v.value.includes(Ee[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
12559
+ const oe = le.map((ye) => i.value[ye]);
12560
+ (Y = v.value) != null && Y.length && oe.some((Ee) => !v.value.includes(Ee[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
12565
12561
  }
12566
12562
  }
12567
12563
  const x = z(() => u.value && d.value), b = z(
@@ -12579,14 +12575,14 @@ function Tr(n, t, e, o, r) {
12579
12575
  r.emit("unSelectItem", X);
12580
12576
  }
12581
12577
  function N() {
12582
- const X = o.value.filter((G) => G.indeterminate).map((G) => G.raw[a.value]);
12583
- o.value.forEach((G) => {
12584
- G.checked = !1, G.indeterminate = !1, G.raw.__fv_checked__ = !1, G.raw.__fv_indeterminate__ = !1;
12585
- }), f().forEach((G) => {
12586
- G.checked = !0, G.raw.__fv_checked__ = !0;
12587
- }), X.forEach((G) => {
12588
- const ne = o.value.find((ye) => ye.raw[a.value] === G);
12589
- w(ne);
12578
+ const X = o.value.filter((Y) => Y.indeterminate).map((Y) => Y.raw[a.value]);
12579
+ o.value.forEach((Y) => {
12580
+ Y.checked = !1, Y.indeterminate = !1, Y.raw.__fv_checked__ = !1, Y.raw.__fv_indeterminate__ = !1;
12581
+ }), f().forEach((Y) => {
12582
+ Y.checked = !0, Y.raw.__fv_checked__ = !0;
12583
+ }), X.forEach((Y) => {
12584
+ const oe = o.value.find((ye) => ye.raw[a.value] === Y);
12585
+ w(oe);
12590
12586
  });
12591
12587
  }
12592
12588
  Fe(() => o.value, () => {
@@ -12601,34 +12597,34 @@ function Tr(n, t, e, o, r) {
12601
12597
  return X.raw[a.value];
12602
12598
  }
12603
12599
  function q(X) {
12604
- return v.value.findIndex((G) => G === I(X));
12600
+ return v.value.findIndex((Y) => Y === I(X));
12605
12601
  }
12606
12602
  function $() {
12607
- f().forEach((G) => {
12608
- G.checked = !1;
12609
- }), s(v.value).forEach((G) => {
12610
- G.__fv_checked__ = !1;
12603
+ f().forEach((Y) => {
12604
+ Y.checked = !1;
12605
+ }), s(v.value).forEach((Y) => {
12606
+ Y.__fv_checked__ = !1;
12611
12607
  }), v.value = [], l.value = "", y();
12612
12608
  }
12613
12609
  function B(X) {
12614
12610
  const le = X;
12615
12611
  le.__fv_checked__ = !0, le.__fv_indeterminate__ = !1;
12616
- const G = new Set(v.value);
12617
- G.add(le[a.value]), v.value = Array.from(G.values());
12612
+ const Y = new Set(v.value);
12613
+ Y.add(le[a.value]), v.value = Array.from(Y.values());
12618
12614
  }
12619
12615
  function P(X) {
12620
12616
  const le = X;
12621
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((G) => G !== le[a.value]);
12617
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((Y) => Y !== le[a.value]);
12622
12618
  }
12623
12619
  function j(X) {
12624
12620
  const le = X.raw;
12625
12621
  le.__fv_checked__ = !0, le.__fv_indeterminate__ = !1;
12626
- const G = new Set(v.value);
12627
- G.add(le[a.value]), v.value = Array.from(G.values()), X.checked = !0, X.indeterminate = !1;
12622
+ const Y = new Set(v.value);
12623
+ Y.add(le[a.value]), v.value = Array.from(Y.values()), X.checked = !0, X.indeterminate = !1;
12628
12624
  }
12629
12625
  function F(X) {
12630
12626
  const le = X.raw;
12631
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((G) => G !== le[a.value]), X.checked = !1, X.indeterminate = !1;
12627
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((Y) => Y !== le[a.value]), X.checked = !1, X.indeterminate = !1;
12632
12628
  }
12633
12629
  function R(X) {
12634
12630
  j(X), l.value = X.raw[a.value];
@@ -12641,30 +12637,30 @@ function Tr(n, t, e, o, r) {
12641
12637
  }
12642
12638
  function H(X) {
12643
12639
  const le = X.raw;
12644
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !0, v.value = v.value.filter((G) => G !== le[a.value]), X.checked = !1, X.indeterminate = !0;
12640
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !0, v.value = v.value.filter((Y) => Y !== le[a.value]), X.checked = !1, X.indeterminate = !0;
12645
12641
  }
12646
- function Y(X) {
12642
+ function G(X) {
12647
12643
  M.value && $(), X.checked ? F(X) : j(X), g();
12648
12644
  }
12649
12645
  function K(X, le = !0) {
12650
- const G = X.checked;
12651
- M.value && $(), le ? X.checked ? U(X) : R(X) : G ? U(X) : R(X), g(), X.checked || V(X);
12646
+ const Y = X.checked;
12647
+ M.value && $(), le ? X.checked ? U(X) : R(X) : Y ? U(X) : R(X), g(), X.checked || V(X);
12652
12648
  }
12653
12649
  function J(X) {
12654
12650
  X.raw[a.value] !== l.value && ($(), R(X), g());
12655
12651
  }
12656
12652
  function Z(X) {
12657
- const le = o.value.find((G) => G.raw[a.value] === X);
12653
+ const le = o.value.find((Y) => Y.raw[a.value] === X);
12658
12654
  le && J(le);
12659
12655
  }
12660
- function de(X) {
12661
- const le = o.value.filter((ye) => X.includes(ye.raw[a.value])), G = le.map((ye) => ye.raw[a.value]), ne = i.value.filter((ye) => {
12656
+ function me(X) {
12657
+ const le = o.value.filter((ye) => X.includes(ye.raw[a.value])), Y = le.map((ye) => ye.raw[a.value]), oe = i.value.filter((ye) => {
12662
12658
  const Ee = ye[a.value];
12663
- return !G.includes(Ee) && X.includes(Ee);
12659
+ return !Y.includes(Ee) && X.includes(Ee);
12664
12660
  });
12665
- (le.length || ne.length) && ($(), b.value && (l.value = X[0])), le.forEach((ye) => {
12661
+ (le.length || oe.length) && ($(), b.value && (l.value = X[0])), le.forEach((ye) => {
12666
12662
  R(ye);
12667
- }), ne.forEach((ye) => {
12663
+ }), oe.forEach((ye) => {
12668
12664
  B(ye);
12669
12665
  }), g();
12670
12666
  }
@@ -12672,12 +12668,12 @@ function Tr(n, t, e, o, r) {
12672
12668
  for (const le of X) {
12673
12669
  if (!v.value.includes(le))
12674
12670
  continue;
12675
- const G = o.value.find((ne) => ne.raw[a.value] === le);
12676
- if (G)
12677
- U(G);
12671
+ const Y = o.value.find((oe) => oe.raw[a.value] === le);
12672
+ if (Y)
12673
+ U(Y);
12678
12674
  else {
12679
- const ne = i.value.find((ye) => ye[a.value] === le);
12680
- ne && P(ne);
12675
+ const oe = i.value.find((ye) => ye[a.value] === le);
12676
+ oe && P(oe);
12681
12677
  }
12682
12678
  }
12683
12679
  v.value = v.value.filter(
@@ -12718,11 +12714,11 @@ function Tr(n, t, e, o, r) {
12718
12714
  selectDataItem: B,
12719
12715
  selectItem: J,
12720
12716
  selectItemById: Z,
12721
- selectItemByIds: de,
12717
+ selectItemByIds: me,
12722
12718
  showCheckBox: m,
12723
12719
  showSelectAll: p,
12724
12720
  toggleSelectItem: K,
12725
- toggleSelectItemWithoutRow: Y,
12721
+ toggleSelectItemWithoutRow: G,
12726
12722
  unSelect: U,
12727
12723
  unSelectAll: De,
12728
12724
  unSelectDataItem: P,
@@ -12818,7 +12814,7 @@ function Nd(n) {
12818
12814
  }), s.push(d), d.children && d.children.length && (d[o] = !0, r(d.children, i + 1, s, d.id)), u), s), s);
12819
12815
  return { flatTreeData: r };
12820
12816
  }
12821
- function kr(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v) {
12817
+ function Tr(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v) {
12822
12818
  const {
12823
12819
  calculateCellPositionInRow: O
12824
12820
  } = o, {
@@ -12827,7 +12823,7 @@ function kr(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v) {
12827
12823
  gridDataStyle: y
12828
12824
  } = c, {
12829
12825
  renderDataRow: S
12830
- } = So(n, t, T, e, a, i, s, l, u, d, c);
12826
+ } = xo(n, t, T, e, a, i, s, l, u, d, c);
12831
12827
  function f() {
12832
12828
  const x = O(T.value.primaryColumns);
12833
12829
  return e.value.filter((b) => b.visible !== !1).map((b, h) => S(b, x, "primary", h));
@@ -12848,7 +12844,7 @@ function kr(n, t, e, o, r, a, i, s, l, u, d, c, m, p, v) {
12848
12844
  renderTreeArea: w
12849
12845
  };
12850
12846
  }
12851
- function Ln(n, t) {
12847
+ function jn(n, t) {
12852
12848
  function e() {
12853
12849
  return t.slots.header && D("div", {
12854
12850
  class: "f-tree-view-header"
@@ -12864,7 +12860,7 @@ const an = /* @__PURE__ */ ot({
12864
12860
  emits: ["outputValue", "currentEvent", "selectionChange", "expandNode", "dblclickNode"],
12865
12861
  setup(n, t) {
12866
12862
  var Oe;
12867
- const e = ((Oe = n.rowOption) == null ? void 0 : Oe.height) || 28, o = k(), r = k(!1), a = k(), i = k(20), s = k([]), l = Yn(), u = Gn(n), d = Un(n), c = Xn(n, /* @__PURE__ */ new Map(), l, d, u), m = Qn(n, c, u, s, t), p = gr(n, s, c, u, m, t), v = z(() => ({
12863
+ const e = ((Oe = n.rowOption) == null ? void 0 : Oe.height) || 28, o = k(), r = k(!1), a = k(), i = k(20), s = k([]), l = Gn(), u = zn(n), d = Yn(n), c = Un(n, /* @__PURE__ */ new Map(), l, d, u), m = Xn(n, c, u, s, t), p = vr(n, s, c, u, m, t), v = z(() => ({
12868
12864
  // 'fv-tree': true
12869
12865
  "fv-grid": !0,
12870
12866
  "fv-tree-view": !0
@@ -12874,11 +12870,11 @@ const an = /* @__PURE__ */ ot({
12874
12870
  "fv-grid-content-hover": r.value
12875
12871
  })), {
12876
12872
  containerStyleObject: T
12877
- } = Kn(n), y = k(n.columns), S = Jn(n), {
12873
+ } = Qn(n), y = k(n.columns), S = Kn(n), {
12878
12874
  columnContext: f
12879
- } = S, w = Zn(n, f), x = 0, b = z(() => n.virtualized ? Math.min(c.dataView.value.length, i.value) : c.dataView.value.length), h = z(() => !s.value || !s.value.length), C = eo(n, t, m, u), _ = to(n, t, u, C, s), E = no(n), g = oo(n, {}, E), V = ro(n, c, _, d, u, E, g), N = ao(n, y, c, b, x, V), {
12875
+ } = S, w = Jn(n, f), x = 0, b = z(() => n.virtualized ? Math.min(c.dataView.value.length, i.value) : c.dataView.value.length), h = z(() => !s.value || !s.value.length), C = Zn(n, t, m, u), _ = eo(n, t, u, C, s), E = to(n), g = no(n, {}, E), V = oo(n, c, _, d, u, E, g), N = ro(n, y, c, b, x, V), {
12880
12876
  getVisualData: M
12881
- } = N, I = io(n, f), q = lo(n, c, s, f, N, b, x, k(0)), $ = so(n, m), {
12877
+ } = N, I = ao(n, f), q = so(n, c, s, f, N, b, x, k(0)), $ = io(n, m), {
12882
12878
  onWheel: B,
12883
12879
  dataGridWidth: P,
12884
12880
  viewPortHeight: j,
@@ -12887,21 +12883,21 @@ const an = /* @__PURE__ */ ot({
12887
12883
  updateVisibleRowsOnLatestVisibleScope: U
12888
12884
  } = q, {
12889
12885
  renderVerticalScrollbar: A
12890
- } = mo(n, o, q), {
12891
- renderHorizontalScrollbar: H
12892
12886
  } = fo(n, o, q), {
12893
- renderDataGridSidebar: Y
12894
- } = co(n, C, m, $, q), K = uo(n, f, o, F, w), {
12887
+ renderHorizontalScrollbar: H
12888
+ } = co(n, o, q), {
12889
+ renderDataGridSidebar: G
12890
+ } = uo(n, C, m, $, q), K = lo(n, f, o, F, w), {
12895
12891
  calculateColumnsSize: J
12896
12892
  } = K;
12897
12893
  function Z() {
12898
- return n.header === "ContentHeader", Ln;
12894
+ return n.header === "ContentHeader", jn;
12899
12895
  }
12900
- const de = Z(), {
12896
+ const me = Z(), {
12901
12897
  renderHeader: ve
12902
- } = de(n, t), {
12898
+ } = me(n, t), {
12903
12899
  renderTreeArea: Se
12904
- } = kr(n, t, s, I, S, c, _, d, C, m, p, q, N, E, a);
12900
+ } = Tr(n, t, s, I, S, c, _, d, C, m, p, q, N, E, a);
12905
12901
  function De() {
12906
12902
  const be = m.getSelectionRow();
12907
12903
  return be ? be.dataIndex - 1 : -1;
@@ -12913,7 +12909,7 @@ const an = /* @__PURE__ */ ot({
12913
12909
  }
12914
12910
  const {
12915
12911
  renderEmpty: X
12916
- } = ho(t);
12912
+ } = mo(t);
12917
12913
  Bt(() => {
12918
12914
  o.value && (i.value = Math.max(Math.ceil(o.value.clientHeight / e), i.value), s.value = M(0, b.value + x - 1), bn(o.value, Re), J(), Xt(() => {
12919
12915
  o.value && (P.value = o.value.clientWidth), a.value && (F.value = a.value.clientWidth, j.value = a.value.clientHeight);
@@ -12923,11 +12919,11 @@ const an = /* @__PURE__ */ ot({
12923
12919
  const be = De();
12924
12920
  c.insertNewDataItem(be), s.value = M(0, b.value + x - 1);
12925
12921
  }
12926
- function G() {
12922
+ function Y() {
12927
12923
  const be = De();
12928
12924
  c.insertNewChildDataItem(be), s.value = M(0, b.value + x - 1);
12929
12925
  }
12930
- function ne() {
12926
+ function oe() {
12931
12927
  const be = De(), ke = p.getNextSelectableHierarchyItemId(be);
12932
12928
  c.removeHierarchyDataItem(be), s.value = M(0, b.value + x - 1), ke && m.selectItemById(ke);
12933
12929
  }
@@ -12964,8 +12960,8 @@ const an = /* @__PURE__ */ ot({
12964
12960
  }
12965
12961
  return t.expose({
12966
12962
  addNewDataItem: le,
12967
- addNewChildDataItem: G,
12968
- removeDataItem: ne,
12963
+ addNewChildDataItem: Y,
12964
+ removeDataItem: oe,
12969
12965
  editDataItem: ye,
12970
12966
  acceptDataItem: Ee,
12971
12967
  cancelDataItem: Pe,
@@ -12987,22 +12983,22 @@ const an = /* @__PURE__ */ ot({
12987
12983
  onMouseleave: () => {
12988
12984
  r.value = !1;
12989
12985
  }
12990
- }, [o.value && Y(s), Se(), o.value && h.value && X(), o.value && H(), o.value && A()])]);
12986
+ }, [o.value && G(s), Se(), o.value && h.value && X(), o.value && H(), o.value && A()])]);
12991
12987
  }
12992
12988
  }), Rd = /* @__PURE__ */ ot({
12993
12989
  name: "FTreeViewDesign",
12994
12990
  props: Cn,
12995
12991
  emits: ["outputValue", "currentEvent", "selectionChange"],
12996
12992
  setup(n, t) {
12997
- const e = k(), o = Pt("design-item-context"), r = ar(e, o), a = k();
12993
+ const e = k(), o = Pt("design-item-context"), r = rr(e, o), a = k();
12998
12994
  k(n.idField);
12999
- const i = k(), s = k(!1), l = k([]), u = pr(), d = vr(n), c = xr(n), m = Eo(n, /* @__PURE__ */ new Map(), u, d, c), p = Tr(n, m, c, l, t), v = gr(n, l, m, c, p, t), O = z(() => ({
12995
+ const i = k(), s = k(!1), l = k([]), u = hr(), d = pr(n), c = _r(n), m = ko(n, /* @__PURE__ */ new Map(), u, d, c), p = Sr(n, m, c, l, t), v = vr(n, l, m, c, p, t), O = z(() => ({
13000
12996
  "fv-tree": !0
13001
12997
  })), T = z(() => ({
13002
12998
  "fv-tree-content": !0
13003
12999
  })), {
13004
13000
  containerStyleObject: y
13005
- } = To(n);
13001
+ } = So(n);
13006
13002
  function S(j) {
13007
13003
  }
13008
13004
  function f() {
@@ -13013,13 +13009,13 @@ const an = /* @__PURE__ */ ot({
13013
13009
  }
13014
13010
  const x = k(n.columns), b = Xi(n), {
13015
13011
  columnContext: h
13016
- } = b, C = 0, _ = z(() => m.dataView.value.length), E = Sr(n, t, p, c), g = _r(n, t, c, E), V = br(n), N = wr(n, {}, V), M = Cr(n, m, g, d, c, V, N), I = _d(n, x, m, _, C, M), {
13012
+ } = b, C = 0, _ = z(() => m.dataView.value.length), E = xr(n, t, p, c), g = Cr(n, t, c, E), V = yr(n), N = br(n, {}, V), M = wr(n, m, g, d, c, V, N), I = _d(n, x, m, _, C, M), {
13017
13013
  getVisualData: q
13018
- } = I, $ = xo(n, h);
13014
+ } = I, $ = _o(n, h);
13019
13015
  l.value = q(0, _.value + C - 1);
13020
- const B = yr(n, m, l, h, I, _, C, k(0)), {
13016
+ const B = gr(n, m, l, h, I, _, C, k(0)), {
13021
13017
  renderTreeArea: P
13022
- } = kr(n, t, l, $, b, m, g, d, E, p, v, B, I, V, a);
13018
+ } = Tr(n, t, l, $, b, m, g, d, E, p, v, B, I, V, a);
13023
13019
  return t.expose(r.value), () => D("div", {
13024
13020
  class: O.value,
13025
13021
  style: y.value,
@@ -13037,16 +13033,16 @@ const an = /* @__PURE__ */ ot({
13037
13033
  }
13038
13034
  });
13039
13035
  an.register = (n, t, e) => {
13040
- n["tree-view"] = an, t["tree-view"] = _o;
13036
+ n["tree-view"] = an, t["tree-view"] = Co;
13041
13037
  };
13042
13038
  an.registerDesigner = (n, t, e) => {
13043
- n["tree-view"] = Rd, t["tree-view"] = _o;
13039
+ n["tree-view"] = Rd, t["tree-view"] = Co;
13044
13040
  };
13045
- const ym = po(an);
13041
+ const ym = ho(an);
13046
13042
  export {
13047
13043
  an as FTreeView,
13048
13044
  gm as columnOptions,
13049
13045
  ym as default,
13050
- _o as propsResolver,
13046
+ Co as propsResolver,
13051
13047
  Cn as treeViewProps
13052
13048
  };