@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,11 +1,12 @@
1
1
  var Br = Object.defineProperty;
2
2
  var Pr = (t, n, e) => n in t ? Br(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var H = (t, n, e) => Pr(t, typeof n != "symbol" ? n + "" : n, e);
4
- import { defineComponent as rt, ref as w, computed as j, createVNode as O, Teleport as Zn, createApp as Tn, onUnmounted as Xt, Fragment as Gt, watch as Me, nextTick as Nt, onBeforeMount as Vr, onMounted as Bt, Transition as eo, shallowRef as Nr, render as pn, h as Rr, cloneVNode as Hr, mergeProps as Rt, inject as xt, withDirectives as to, vShow as jr, onBeforeUnmount as kn, createTextVNode as St, reactive as Mt, resolveDirective as Wr, provide as Lr, triggerRef as $r, isVNode as no, Comment as Ar } from "vue";
5
- import oo from "../tags/index.esm.js";
4
+ import { defineComponent as rt, ref as w, computed as j, createVNode as O, Teleport as Jn, createApp as Tn, onUnmounted as Xt, Fragment as Gt, watch as Me, nextTick as Nt, onBeforeMount as Vr, onMounted as Bt, Transition as Zn, shallowRef as Nr, render as pn, h as Rr, cloneVNode as Hr, mergeProps as Rt, inject as xt, withDirectives as eo, vShow as jr, onBeforeUnmount as kn, createTextVNode as St, reactive as Mt, resolveDirective as Wr, provide as Lr, triggerRef as $r, isVNode as to, Comment as Ar } from "vue";
5
+ import no from "../tags/index.esm.js";
6
6
  import Gr from "../popover/index.esm.js";
7
7
  import { withInstall as Fn, useGuid as zr, resolveField as mt, FormSchemaEntityFieldTypeName as Wn, getCustomClass as hn, useCommonUtils as qr, useDateFormat as Yr, useNumberFormat as Ur, setFieldValue as bn } from "../common/index.esm.js";
8
8
  import { useResizeObserver as En } from "@vueuse/core";
9
+ import oo from "../tooltip/index.esm.js";
9
10
  import "../modal/index.esm.js";
10
11
  import Xr from "../transfer/index.esm.js";
11
12
  import Qr from "../tabs/index.esm.js";
@@ -13,8 +14,7 @@ import Kr from "../order/index.esm.js";
13
14
  import "../condition/index.esm.js";
14
15
  import { FCheckbox as Jr } from "../checkbox/index.esm.js";
15
16
  import Zr from "../filter-bar/index.esm.js";
16
- import Ln from "../tooltip/index.esm.js";
17
- import { isUndefined as gt, cloneDeep as Dt, isPlainObject as $n, throttle as ea } from "lodash-es";
17
+ import { isUndefined as gt, cloneDeep as Dt, isPlainObject as Ln, throttle as ea } from "lodash-es";
18
18
  import ta from "../pagination/index.esm.js";
19
19
  import na from "../button/index.esm.js";
20
20
  import oa from "../search-box/index.esm.js";
@@ -28,8 +28,8 @@ import ca from "../../designer/button-edit/index.esm.js";
28
28
  import da from "../button-group/index.esm.js";
29
29
  import fa from "../calendar/index.esm.js";
30
30
  import ma from "../capsule/index.esm.js";
31
- import An from "../../designer/checkbox/index.esm.js";
32
- import Gn from "../../designer/checkbox-group/index.esm.js";
31
+ import $n from "../../designer/checkbox/index.esm.js";
32
+ import An from "../../designer/checkbox-group/index.esm.js";
33
33
  import wn from "../combo-list/index.esm.js";
34
34
  import pa from "../combo-tree/index.esm.js";
35
35
  import ha from "../component/index.esm.js";
@@ -239,7 +239,7 @@ const Si = {
239
239
  // left: `${position.value.left}px`,
240
240
  // top: `${position.value.top}px`
241
241
  }));
242
- return () => O(Zn, {
242
+ return () => O(Jn, {
243
243
  to: "body"
244
244
  }, {
245
245
  default: () => {
@@ -850,7 +850,7 @@ const en = /* @__PURE__ */ rt({
850
850
  display: s.value ? "" : "none"
851
851
  };
852
852
  return D["pointer-events"] = P.value ? "auto" : "none", D;
853
- }), me = j(() => ({
853
+ }), he = j(() => ({
854
854
  "f-icon": !0,
855
855
  modal_maximize: !0,
856
856
  modalrevert: B.value
@@ -877,19 +877,19 @@ const en = /* @__PURE__ */ rt({
877
877
  }
878
878
  T(), B.value = !0;
879
879
  }
880
- async function Y(D, ie) {
880
+ async function q(D, ie) {
881
881
  D.handle && await D.handle(ie, D) && n.emit("closed", ie);
882
882
  }
883
883
  function le(D) {
884
884
  D.width && (e.value = D.width), D.height && (o.value = D.height), D.buttons && (p.value = D.buttons), D.title && (g.value = D.title);
885
885
  }
886
- let q = null, te = null;
886
+ let Y = null, te = null;
887
887
  Vr(() => {
888
888
  b.value = R();
889
889
  }), Bt(() => {
890
- h.value && !C.value && (C.value = h.value.parentElement, z.value = C.value, K(E.value, h.value, z.value)), Q.value && document.body.classList.add("modal-open"), q = Bi(t, n), te = Pi(t, n);
890
+ h.value && !C.value && (C.value = h.value.parentElement, z.value = C.value, K(E.value, h.value, z.value)), Q.value && document.body.classList.add("modal-open"), Y = Bi(t, n), te = Pi(t, n);
891
891
  }), Xt(() => {
892
- W && W(), q && q.remove(), te && te.remove();
892
+ W && W(), Y && Y.remove(), te && te.remove();
893
893
  }), n.expose({
894
894
  modalElementRef: h,
895
895
  updateModalOptions: le,
@@ -907,7 +907,7 @@ const en = /* @__PURE__ */ rt({
907
907
  class: "f-btn-icon f-bare",
908
908
  style: "pointer-events: auto;"
909
909
  }, [O("span", {
910
- class: me.value
910
+ class: he.value
911
911
  }, null)]), c.value && O("li", {
912
912
  class: "f-btn-icon f-bare",
913
913
  onClick: (D) => k(D, !1),
@@ -928,7 +928,7 @@ const en = /* @__PURE__ */ rt({
928
928
  disabled: ie.value,
929
929
  class: D.class + (D.iconClass ? " btn-icontext" : ""),
930
930
  onClick: (we) => {
931
- Y(D, we);
931
+ q(D, we);
932
932
  }
933
933
  }, [!!D.iconClass && O("i", {
934
934
  class: D.iconClass
@@ -980,10 +980,10 @@ const en = /* @__PURE__ */ rt({
980
980
  src: v.value
981
981
  }, null)]), Ke()]), !l.value && h.value && !B.value && N(h.value)]);
982
982
  }
983
- return () => O(Zn, {
983
+ return () => O(Jn, {
984
984
  to: "body"
985
985
  }, {
986
- default: () => [Q.value && O(eo, {
986
+ default: () => [Q.value && O(Zn, {
987
987
  name: "fade",
988
988
  appear: !0
989
989
  }, {
@@ -1415,7 +1415,7 @@ function Li(t, n, e) {
1415
1415
  function l(s) {
1416
1416
  r(s.map((u) => u.name).join(o.value), !0);
1417
1417
  }
1418
- return () => O(oo, {
1418
+ return () => O(no, {
1419
1419
  id: `${t.id}-tag-editor`,
1420
1420
  class: "form-control",
1421
1421
  data: i.value,
@@ -1440,7 +1440,7 @@ function $i(t, n, e, o) {
1440
1440
  renderButtonGroup: () => O("div", {
1441
1441
  id: `${t.id}-button-group`,
1442
1442
  class: r.value
1443
- }, [s.value && to(O("span", {
1443
+ }, [s.value && eo(O("span", {
1444
1444
  class: "input-group-text input-group-clear",
1445
1445
  onClick: c
1446
1446
  }, [O("i", {
@@ -1887,110 +1887,106 @@ function Qi(t, n, e, o, r, a, i, l, s, u, c, d, f) {
1887
1887
  } = qi(t, o, i), {
1888
1888
  treeNodeIconsClass: V
1889
1889
  } = Yi(t, S, _);
1890
- function Q(q, te) {
1891
- const ye = q.raw[_.value];
1890
+ function Q(Y, te) {
1891
+ const ye = Y.raw[_.value];
1892
1892
  return {
1893
- "fv-tree-node-toggle": ye && q.collapse,
1894
- "fv-tree-node-toggle-minus": ye && !q.collapse
1893
+ "fv-tree-node-toggle": ye && Y.collapse,
1894
+ "fv-tree-node-toggle-minus": ye && !Y.collapse
1895
1895
  };
1896
1896
  }
1897
- function G(q, te) {
1898
- q.stopPropagation(), B(te);
1897
+ function G(Y, te) {
1898
+ Y.stopPropagation(), B(te);
1899
1899
  }
1900
- function L(q) {
1901
- q.stopPropagation();
1900
+ function L(Y) {
1901
+ Y.stopPropagation();
1902
1902
  }
1903
- function U(q, te) {
1903
+ function U(Y, te) {
1904
1904
  return O("div", {
1905
- class: Q(q),
1906
- onClick: (ye) => G(ye, q),
1905
+ class: Q(Y),
1906
+ onClick: (ye) => G(ye, Y),
1907
1907
  onDblclick: L
1908
1908
  }, null);
1909
1909
  }
1910
- function J(q, te) {
1910
+ function J(Y, te) {
1911
1911
  return h.value && O("div", {
1912
1912
  id: "treeNodeIcons",
1913
- class: V(q, te)
1913
+ class: V(Y, te)
1914
1914
  }, null);
1915
1915
  }
1916
- function oe(q) {
1917
- b.value ? (q.checked ? k(q) : F(q), N(q)) : p(q);
1916
+ function oe(Y) {
1917
+ b.value ? (Y.checked ? k(Y) : F(Y), N(Y)) : p(Y);
1918
1918
  }
1919
- function Z(q, te) {
1919
+ function Z(Y, te) {
1920
1920
  return E.value && O(Jr, {
1921
- id: "checkbox_for_" + T(q, te.index),
1922
- indeterminate: q.indeterminate,
1923
- disabled: q.disabled,
1924
- checked: q.checked,
1925
- "onUpdate:checked": (ye) => q.checked = ye,
1926
- onChange: () => oe(q)
1921
+ id: "checkbox_for_" + T(Y, te.index),
1922
+ indeterminate: Y.indeterminate,
1923
+ disabled: Y.disabled,
1924
+ checked: Y.checked,
1925
+ "onUpdate:checked": (ye) => Y.checked = ye,
1926
+ onChange: () => oe(Y)
1927
1927
  }, null);
1928
1928
  }
1929
- function me(q, te) {
1929
+ function he(Y, te) {
1930
1930
  return O("span", {
1931
- title: te.data,
1932
1931
  style: "user-select:none"
1933
1932
  }, [n.slots.cellTemplate ? n.slots.cellTemplate({
1934
1933
  cell: te,
1935
- row: q
1936
- }) : te.mode === lt.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, q) : te.data != null ? te.data.toString() : te.data]);
1934
+ row: Y
1935
+ }) : te.mode === lt.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, Y) : te.showTips ? O(oo, null, {
1936
+ default: () => te.data,
1937
+ contentTemplate: () => te.data
1938
+ }) : te.data]);
1937
1939
  }
1938
- function be(q, te) {
1940
+ function be(Y, te) {
1939
1941
  return O("div", {
1940
1942
  class: K(te)
1941
- }, [te.showTips ? O(Ln, null, {
1942
- default: () => me(q, te),
1943
- contentTemplate: () => me(q, te)
1944
- }) : me(q, te)]);
1943
+ }, [he(Y, te)]);
1945
1944
  }
1946
- function Se(q, te, ye) {
1947
- const Fe = R(q);
1945
+ function Se(Y, te, ye) {
1946
+ const Fe = R(Y);
1948
1947
  return O("div", {
1949
1948
  ref: te.setRef,
1950
- key: T(q, te.index),
1949
+ key: T(Y, te.index),
1951
1950
  class: "fv-grid-hierarchy-cell",
1952
1951
  style: I(te, ye)
1953
1952
  }, [O("div", {
1954
1953
  class: P(te),
1955
1954
  style: Fe
1956
- }, [U(q), J(q, te), Z(q, te), be(q, te)])]);
1955
+ }, [U(Y), J(Y, te), Z(Y, te), be(Y, te)])]);
1957
1956
  }
1958
- function Ve(q, te, ye) {
1957
+ function Ve(Y, te, ye) {
1959
1958
  return O("div", {
1960
1959
  ref: te.setRef,
1961
- key: T(q, te.index),
1960
+ key: T(Y, te.index),
1962
1961
  class: v(te),
1963
1962
  style: I(te, ye),
1964
- onClick: (Fe) => m(Fe, te, q, te.column)
1963
+ onClick: (Fe) => m(Fe, te, Y, te.column)
1965
1964
  }, [O("div", {
1966
1965
  class: P(te)
1967
1966
  }, [O("div", {
1968
1967
  class: K(te)
1969
- }, [te.showTips ? O(Ln, null, {
1970
- default: () => me(q, te),
1971
- contentTemplate: () => me(q, te)
1972
- }) : me(q, te)])])]);
1968
+ }, [he(Y, te)])])]);
1973
1969
  }
1974
- function Re(q, te) {
1975
- return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === q.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === q.field;
1970
+ function Re(Y, te) {
1971
+ return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === Y.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === Y.field;
1976
1972
  }
1977
- function Y(q, te) {
1973
+ function q(Y, te) {
1978
1974
  n.emit("dblclickNode", {
1979
- $event: q,
1975
+ $event: Y,
1980
1976
  node: te.raw
1981
1977
  });
1982
1978
  }
1983
- function le(q, te, ye = "primary", Fe) {
1979
+ function le(Y, te, ye = "primary", Fe) {
1984
1980
  return O("div", {
1985
- ref: q.setRef,
1986
- key: z(q),
1987
- class: x(q, Fe),
1988
- style: A(q),
1989
- onMouseover: (De) => C(De, q),
1990
- onMouseout: (De) => y(De, q),
1991
- onClick: (De) => g(De, q),
1992
- onDblclick: (De) => Y(De, q)
1993
- }, [Object.values(q.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Re(De, ye) ? Se(q, De, te) : Ve(q, De, te))]);
1981
+ ref: Y.setRef,
1982
+ key: z(Y),
1983
+ class: x(Y, Fe),
1984
+ style: A(Y),
1985
+ onMouseover: (De) => C(De, Y),
1986
+ onMouseout: (De) => y(De, Y),
1987
+ onClick: (De) => g(De, Y),
1988
+ onDblclick: (De) => q(De, Y)
1989
+ }, [Object.values(Y.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Re(De, ye) ? Se(Y, De, te) : Ve(Y, De, te))]);
1994
1990
  }
1995
1991
  return {
1996
1992
  renderDataRow: le
@@ -2301,8 +2297,8 @@ function ol(t, n, e, o) {
2301
2297
  d.clear(), G.reduce((U, J) => {
2302
2298
  const oe = J[u.value] !== void 0 ? J[u.value] : "";
2303
2299
  if (oe && L.has(oe)) {
2304
- const me = L.get(oe), be = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
2305
- J.__fv_layer__ = be + 1, J.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
2300
+ const he = L.get(oe), be = isNaN(Number(he.__fv_layer__)) ? 1 : Number(he.__fv_layer__);
2301
+ J.__fv_layer__ = be + 1, J.__fv_parent_index__ = he.__fv_index__, he.__fv_hasChildren__ = !0;
2306
2302
  } else
2307
2303
  J.__fv_layer__ = 1;
2308
2304
  const Z = U.has(oe) ? U.get(oe) : [];
@@ -2350,8 +2346,8 @@ function ol(t, n, e, o) {
2350
2346
  }
2351
2347
  function b(G, L, U) {
2352
2348
  Array.from(L.keys()).forEach((J) => {
2353
- L.get(J).reduce((Z, me) => {
2354
- const be = me[i.value], Se = G.get(me[i.value]), Ve = G.get(J), Re = U.get(J);
2349
+ L.get(J).reduce((Z, he) => {
2350
+ const be = he[i.value], Se = G.get(he[i.value]), Ve = G.get(J), Re = U.get(J);
2355
2351
  return Ve && Re && (Ve.children.set(be, Se), Ve.children.set(be, Se), Se.parentId = J, Se.parentIndex = Ve.index, Se.parents.set(J, Ve)), Z;
2356
2352
  }, G);
2357
2353
  });
@@ -2415,7 +2411,7 @@ function ol(t, n, e, o) {
2415
2411
  }
2416
2412
  function z(G, L, U = 0) {
2417
2413
  G.forEach((J) => {
2418
- const oe = E(J), Z = J.__fv_layer__ <= U, me = L === "ToCollapse" ? J.__fv_layer__ <= U : !(J.__fv_layer__ <= U), be = Z ? me : J[l.value];
2414
+ const oe = E(J), Z = J.__fv_layer__ <= U, he = L === "ToCollapse" ? J.__fv_layer__ <= U : !(J.__fv_layer__ <= U), be = Z ? he : J[l.value];
2419
2415
  J[l.value] = oe || be;
2420
2416
  });
2421
2417
  for (const [J, oe] of d.entries())
@@ -2430,8 +2426,8 @@ function ol(t, n, e, o) {
2430
2426
  }
2431
2427
  function W(G) {
2432
2428
  G.forEach((L, U) => {
2433
- var me;
2434
- const J = L[i.value], oe = d.has(J) ? (me = d.get(J)) == null ? void 0 : me.map((be) => be.__fv_index__) : [], Z = y(J, U);
2429
+ var he;
2430
+ const J = L[i.value], oe = d.has(J) ? (he = d.get(J)) == null ? void 0 : he.map((be) => be.__fv_index__) : [], Z = y(J, U);
2435
2431
  L.__fv_graph_node__ = Z, L.__fv_children_index__ = oe, L.__fv_descendant_index__ = [...oe], L.__fv_parents__ = /* @__PURE__ */ new Map(), E(L) && (L[l.value] = !0);
2436
2432
  });
2437
2433
  }
@@ -2444,18 +2440,18 @@ function ol(t, n, e, o) {
2444
2440
  function R(G, L, U) {
2445
2441
  const oe = U.value[G][i.value], Z = c.get(oe);
2446
2442
  if (Z) {
2447
- const me = c.get(Z.parentId);
2443
+ const he = c.get(Z.parentId);
2448
2444
  let be = U.value.length - 1;
2449
- if (me) {
2450
- const Se = Array.from(me.children.keys()).indexOf(Z.id);
2451
- if (Se === me.children.size - 1) {
2452
- const Re = Array.from(me.descendant.values())[me.descendant.size - 1];
2445
+ if (he) {
2446
+ const Se = Array.from(he.children.keys()).indexOf(Z.id);
2447
+ if (Se === he.children.size - 1) {
2448
+ const Re = Array.from(he.descendant.values())[he.descendant.size - 1];
2453
2449
  be = U.value.findIndex((le) => le[i.value] === Re.id) + 1;
2454
2450
  } else {
2455
- const Re = Array.from(me.children.values())[Se + 1];
2451
+ const Re = Array.from(he.children.values())[Se + 1];
2456
2452
  be = U.value.findIndex((le) => le[i.value] === Re.id);
2457
2453
  }
2458
- L[s.value] = !1, L[u.value] = me.id, U.value.splice(be, 0, L);
2454
+ L[s.value] = !1, L[u.value] = he.id, U.value.splice(be, 0, L);
2459
2455
  }
2460
2456
  }
2461
2457
  }
@@ -2669,7 +2665,7 @@ class $o {
2669
2665
  document.body.removeChild(a);
2670
2666
  }), Bt(() => {
2671
2667
  e.updateNotifyPositionForCreate(r, l);
2672
- }), () => O(eo, {
2668
+ }), () => O(Zn, {
2673
2669
  mode: "out-in",
2674
2670
  name: "fade",
2675
2671
  appear: !0
@@ -2785,7 +2781,7 @@ function il(t, n, e, o, r) {
2785
2781
  return G.value && G.value.enable && G.value.size > 0 ? G.value.size : z.value.length;
2786
2782
  }
2787
2783
  const U = w(1), J = j(() => G.value && G.value.enable && G.value.mode !== "server"), oe = j(() => G.value && G.value.enable && G.value.mode === "server"), Z = new $o();
2788
- function me(X, ve) {
2784
+ function he(X, ve) {
2789
2785
  const Te = Math.ceil(X.length / ve);
2790
2786
  let Be = 0;
2791
2787
  const $ = [], ee = [], re = [];
@@ -2805,7 +2801,7 @@ function il(t, n, e, o, r) {
2805
2801
  const X = 0, ve = L(), Te = (U.value - 1) * ve;
2806
2802
  let $ = Te > z.value.length - 1 || oe.value ? X : Te, ee = oe.value ? z.value.length : Math.min($ + ve, z.value.length);
2807
2803
  if (M.value && J.value) {
2808
- const { accumulateGroupRowSize: xe, groupData: je, groupRowSizeList: Ie } = me(x.value, ve);
2804
+ const { accumulateGroupRowSize: xe, groupData: je, groupRowSizeList: Ie } = he(x.value, ve);
2809
2805
  z.value = je;
2810
2806
  const We = Ie[U.value - 1];
2811
2807
  $ += U.value - 2 < 0 ? 0 : xe[U.value - 2], ee = $ + ve + We;
@@ -2829,7 +2825,7 @@ function il(t, n, e, o, r) {
2829
2825
  function Re() {
2830
2826
  Ve.value.forEach((X, ve) => (X.__fv_visible_index__ = ve, X));
2831
2827
  }
2832
- function Y(X, ve, Te = !1) {
2828
+ function q(X, ve, Te = !1) {
2833
2829
  const $ = (Te ? be() : [...A.value]).filter((ne) => e.apply(ne)), ee = X && X.length ? $.filter((ne) => X.reduce((_e, xe) => _e && xe.filter(ne), !0)) : $, re = ve && ve.length ? ee.sort((ne, _e) => {
2834
2830
  const xe = [...ve], je = xe.shift();
2835
2831
  let Ie = je.compare(ne[je.field], _e[je.field]);
@@ -2848,22 +2844,22 @@ function il(t, n, e, o, r) {
2848
2844
  }), Se.value;
2849
2845
  }
2850
2846
  function le(X) {
2851
- return u.clear(), d.value = X, d.value.reduce((ve, Te) => (ve.set(Te.field, Te), ve), u), Y([], d.value);
2847
+ return u.clear(), d.value = X, d.value.reduce((ve, Te) => (ve.set(Te.field, Te), ve), u), q([], d.value);
2852
2848
  }
2853
- function q(X, ve) {
2854
- return u.set(X, ve), d.value = Array.from(u.values()), Y([], d.value);
2849
+ function Y(X, ve) {
2850
+ return u.set(X, ve), d.value = Array.from(u.values()), q([], d.value);
2855
2851
  }
2856
2852
  function te(X) {
2857
- return u.delete(X), d.value = Array.from(u.values()), Y([], d.value);
2853
+ return u.delete(X), d.value = Array.from(u.values()), q([], d.value);
2858
2854
  }
2859
2855
  function ye(X, ve) {
2860
- return i.set(X, ve), c.value = Array.from(i.values()), Y([], Array.from(u.values()));
2856
+ return i.set(X, ve), c.value = Array.from(i.values()), q([], Array.from(u.values()));
2861
2857
  }
2862
2858
  function Fe(X) {
2863
- return i.delete(X), c.value = Array.from(i.values()), Y([], Array.from(u.values()), !0);
2859
+ return i.delete(X), c.value = Array.from(i.values()), q([], Array.from(u.values()), !0);
2864
2860
  }
2865
2861
  function De() {
2866
- return i.clear(), c.value = [], Y([], Array.from(u.values()), !0);
2862
+ return i.clear(), c.value = [], q([], Array.from(u.values()), !0);
2867
2863
  }
2868
2864
  function Ke(X, ve) {
2869
2865
  const Te = `group_of_${X}_${ve}`;
@@ -2875,7 +2871,7 @@ function il(t, n, e, o, r) {
2875
2871
  fieldType: "string",
2876
2872
  filterValue: ve,
2877
2873
  filter: Be
2878
- }), Y(Array.from(l.values()), Array.from(u.values()));
2874
+ }), q(Array.from(l.values()), Array.from(u.values()));
2879
2875
  }
2880
2876
  function at(X) {
2881
2877
  C(Se.value, X);
@@ -2885,7 +2881,7 @@ function il(t, n, e, o, r) {
2885
2881
  }
2886
2882
  function D(X, ve) {
2887
2883
  const Te = `group_of_${X}_${ve}`;
2888
- return a.set(Te, !1), l.delete(`collapse_${X}_${ve}`), Y(Array.from(l.values()), Array.from(u.values()), !0);
2884
+ return a.set(Te, !1), l.delete(`collapse_${X}_${ve}`), q(Array.from(l.values()), Array.from(u.values()), !0);
2889
2885
  }
2890
2886
  function ie(X) {
2891
2887
  const ve = X.raw[N.value], Te = (Be) => !Be.__fv_parents__.has(ve);
@@ -2895,18 +2891,18 @@ function il(t, n, e, o, r) {
2895
2891
  fieldType: "string",
2896
2892
  filterValue: String(ve),
2897
2893
  filter: Te
2898
- }), Y(Array.from(s.values()), Array.from(u.values())), b(Se.value);
2894
+ }), q(Array.from(s.values()), Array.from(u.values())), b(Se.value);
2899
2895
  }
2900
2896
  function we(X) {
2901
2897
  const ve = X[N.value];
2902
2898
  s.delete(`fold_${ve}`);
2903
2899
  }
2904
2900
  function ce(X) {
2905
- we(X.raw), Y(Array.from(s.values()), Array.from(u.values()), !0), b(Se.value);
2901
+ we(X.raw), q(Array.from(s.values()), Array.from(u.values()), !0), b(Se.value);
2906
2902
  }
2907
2903
  function Ee() {
2908
2904
  const X = be();
2909
- Se.value = X, t.hierarchy && (Y(Array.from(s.values()), Array.from(u.values())), b(Se.value));
2905
+ Se.value = X, t.hierarchy && (q(Array.from(s.values()), Array.from(u.values())), b(Se.value));
2910
2906
  }
2911
2907
  function Je(X) {
2912
2908
  const Te = t.hierarchy && X && X.length && X[0].children ? W(X) : X;
@@ -2950,13 +2946,13 @@ function il(t, n, e, o, r) {
2950
2946
  }
2951
2947
  function ae() {
2952
2948
  const X = l.size > 0 ? Array.from(l.values()) : [];
2953
- return Y(X, Array.from(u.values()));
2949
+ return q(X, Array.from(u.values()));
2954
2950
  }
2955
- function pe(X) {
2951
+ function me(X) {
2956
2952
  G.value.size = X;
2957
2953
  }
2958
2954
  function Ce(X) {
2959
- G.value && (pe(X), Ee());
2955
+ G.value && (me(X), Ee());
2960
2956
  }
2961
2957
  function He(X, ve) {
2962
2958
  const Te = x.value[Number(X) - 1];
@@ -2976,8 +2972,8 @@ function il(t, n, e, o, r) {
2976
2972
  return {
2977
2973
  addFilter: ye,
2978
2974
  addNewDataItem: pt,
2979
- addSorter: q,
2980
- updatePageSize: pe,
2975
+ addSorter: Y,
2976
+ updatePageSize: me,
2981
2977
  changePageSizeTo: Ce,
2982
2978
  collapse: Ke,
2983
2979
  collapseTo: at,
@@ -3117,7 +3113,7 @@ function Xo(t) {
3117
3113
  const i = Ut(a);
3118
3114
  return n.getTime() >= r.getTime() ? e + 1 : n.getTime() >= i.getTime() ? e : e - 1;
3119
3115
  }
3120
- function zn(t) {
3116
+ function Gn(t) {
3121
3117
  const n = Qe(t);
3122
3118
  return n.setHours(0, 0, 0, 0), n;
3123
3119
  }
@@ -3136,7 +3132,7 @@ function sn(t) {
3136
3132
  return e.setUTCFullYear(n.getFullYear()), +t - +e;
3137
3133
  }
3138
3134
  function fl(t, n) {
3139
- const e = zn(t), o = zn(n), r = +e - sn(e), a = +o - sn(o);
3135
+ const e = Gn(t), o = Gn(n), r = +e - sn(e), a = +o - sn(o);
3140
3136
  return Math.round((r - a) / ll);
3141
3137
  }
3142
3138
  function ml(t) {
@@ -3680,7 +3676,7 @@ const Pt = {
3680
3676
  afternoon: "afternoon",
3681
3677
  evening: "evening",
3682
3678
  night: "night"
3683
- }, qn = {
3679
+ }, zn = {
3684
3680
  // Era
3685
3681
  G: function(t, n, e) {
3686
3682
  const o = t.getFullYear() > 0 ? 1 : 0;
@@ -4106,7 +4102,7 @@ const Pt = {
4106
4102
  return "Z";
4107
4103
  switch (n) {
4108
4104
  case "X":
4109
- return Un(o);
4105
+ return Yn(o);
4110
4106
  case "XXXX":
4111
4107
  case "XX":
4112
4108
  return $t(o);
@@ -4121,7 +4117,7 @@ const Pt = {
4121
4117
  const o = t.getTimezoneOffset();
4122
4118
  switch (n) {
4123
4119
  case "x":
4124
- return Un(o);
4120
+ return Yn(o);
4125
4121
  case "xxxx":
4126
4122
  case "xx":
4127
4123
  return $t(o);
@@ -4138,7 +4134,7 @@ const Pt = {
4138
4134
  case "O":
4139
4135
  case "OO":
4140
4136
  case "OOO":
4141
- return "GMT" + Yn(o, ":");
4137
+ return "GMT" + qn(o, ":");
4142
4138
  case "OOOO":
4143
4139
  default:
4144
4140
  return "GMT" + $t(o, ":");
@@ -4151,7 +4147,7 @@ const Pt = {
4151
4147
  case "z":
4152
4148
  case "zz":
4153
4149
  case "zzz":
4154
- return "GMT" + Yn(o, ":");
4150
+ return "GMT" + qn(o, ":");
4155
4151
  case "zzzz":
4156
4152
  default:
4157
4153
  return "GMT" + $t(o, ":");
@@ -4168,18 +4164,18 @@ const Pt = {
4168
4164
  return Ne(o, n.length);
4169
4165
  }
4170
4166
  };
4171
- function Yn(t, n = "") {
4167
+ function qn(t, n = "") {
4172
4168
  const e = t > 0 ? "-" : "+", o = Math.abs(t), r = Math.trunc(o / 60), a = o % 60;
4173
4169
  return a === 0 ? e + String(r) : e + String(r) + n + Ne(a, 2);
4174
4170
  }
4175
- function Un(t, n) {
4171
+ function Yn(t, n) {
4176
4172
  return t % 60 === 0 ? (t > 0 ? "-" : "+") + Ne(Math.abs(t) / 60, 2) : $t(t, n);
4177
4173
  }
4178
4174
  function $t(t, n = "") {
4179
4175
  const e = t > 0 ? "-" : "+", o = Math.abs(t), r = Ne(Math.trunc(o / 60), 2), a = Ne(o % 60, 2);
4180
4176
  return e + r + n + a;
4181
4177
  }
4182
- const Xn = (t, n) => {
4178
+ const Un = (t, n) => {
4183
4179
  switch (t) {
4184
4180
  case "P":
4185
4181
  return n.date({ width: "short" });
@@ -4206,7 +4202,7 @@ const Xn = (t, n) => {
4206
4202
  }, Kl = (t, n) => {
4207
4203
  const e = t.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
4208
4204
  if (!r)
4209
- return Xn(t, n);
4205
+ return Un(t, n);
4210
4206
  let a;
4211
4207
  switch (o) {
4212
4208
  case "P":
@@ -4223,7 +4219,7 @@ const Xn = (t, n) => {
4223
4219
  a = n.dateTime({ width: "full" });
4224
4220
  break;
4225
4221
  }
4226
- return a.replace("{{date}}", Xn(o, n)).replace("{{time}}", Zo(r, n));
4222
+ return a.replace("{{date}}", Un(o, n)).replace("{{time}}", Zo(r, n));
4227
4223
  }, xn = {
4228
4224
  p: Zo,
4229
4225
  P: Kl
@@ -4261,7 +4257,7 @@ function nr(t, n, e) {
4261
4257
  const M = v[0];
4262
4258
  if (M === "'")
4263
4259
  return { isToken: !1, value: ls(v) };
4264
- if (qn[M])
4260
+ if (zn[M])
4265
4261
  return { isToken: !0, value: v };
4266
4262
  if (M.match(is))
4267
4263
  throw new RangeError(
@@ -4279,7 +4275,7 @@ function nr(t, n, e) {
4279
4275
  if (!v.isToken) return v.value;
4280
4276
  const M = v.value;
4281
4277
  (tr(M) || er(M)) && _n(M, n, String(t));
4282
- const x = qn[M[0]];
4278
+ const x = zn[M[0]];
4283
4279
  return x(l, M, r.localize, u);
4284
4280
  }).join("");
4285
4281
  }
@@ -6273,7 +6269,7 @@ function au(t, n, e) {
6273
6269
  resizeObserver: o
6274
6270
  };
6275
6271
  }
6276
- const Qn = /* @__PURE__ */ rt({
6272
+ const Xn = /* @__PURE__ */ rt({
6277
6273
  name: "FConditionFields",
6278
6274
  props: Go,
6279
6275
  emits: ["valueChange", "blur", "focus", "click", "input"],
@@ -6337,7 +6333,7 @@ const Qn = /* @__PURE__ */ rt({
6337
6333
  }, null);
6338
6334
  });
6339
6335
  }
6340
- return () => to(O("div", {
6336
+ return () => eo(O("div", {
6341
6337
  class: f.value,
6342
6338
  key: o.value,
6343
6339
  ref: e
@@ -6377,7 +6373,7 @@ function Cr(t, n = {}, e) {
6377
6373
  }
6378
6374
  function lu(t, n) {
6379
6375
  const e = Dn(n);
6380
- return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(t, r) && (o[r] && $n(o[r]) && $n(t[r] || !t[r]) ? Object.assign(o[r], t[r] || {}) : o[r] = t[r]), o), e), e;
6376
+ return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(t, r) && (o[r] && Ln(o[r]) && Ln(t[r] || !t[r]) ? Object.assign(o[r], t[r] || {}) : o[r] = t[r]), o), e), e;
6381
6377
  }
6382
6378
  function xr(t, n) {
6383
6379
  return Object.keys(t).filter((o) => t[o] != null).reduce((o, r) => {
@@ -6452,7 +6448,7 @@ function uu(t = {}) {
6452
6448
  }
6453
6449
  return { parseValueSchema: s };
6454
6450
  }
6455
- const he = {
6451
+ const pe = {
6456
6452
  button: { type: "button", name: "按钮" },
6457
6453
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
6458
6454
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -7356,7 +7352,7 @@ class zu {
7356
7352
  valueField: "value",
7357
7353
  idField: "value",
7358
7354
  editable: !1,
7359
- data: [{ value: n.type, name: he[n.type].name }]
7355
+ data: [{ value: n.type, name: pe[n.type].name }]
7360
7356
  }
7361
7357
  }
7362
7358
  }
@@ -7592,9 +7588,9 @@ const qu = {
7592
7588
  }, [o.value])]);
7593
7589
  }
7594
7590
  }), se = {}, ue = {}, de = {}, fe = {};
7595
- let Kn = !1;
7591
+ let Qn = !1;
7596
7592
  function Uu() {
7597
- Kn || (Kn = !0, ua.register(se, ue, de, fe), sa.register(se, ue, de, fe), ca.register(se, ue, de, fe), da.register(se, ue, de, fe), fa.register(se, ue, de, fe), ma.register(se, ue, de, fe), An.register(se, ue, de, fe), Gn.register(se, ue, de, fe), An.register(se, ue, de, fe), Gn.register(se, ue, de, fe), wn.register(se, ue, de, fe), pa.register(se, ue, de, fe), ha.register(se, ue, de, fe), ga.register(se, ue, de, fe), va.register(se, ue, de, fe), ya.register(se, ue, de, fe), ba.register(se, ue, de, fe), wa.register(se, ue, de, fe), ra.register(se, ue, de, fe), Ca.register(se, ue, de, fe), di.register(se, ue, de, fe), Zr.register(se, ue, de, fe), xa.register(se, ue, de, fe), ri.register(se, ue, de, fe), Sa.register(se, ue, de, fe), Ta.register(se, ue, de, fe), ka.register(se, ue, de, fe), Ea.register(se, ue, de, fe), Fa.register(se, ue, de, fe), Oa.register(se, ue, de, fe), Ma.register(se, ue, de, fe), Ia.register(se, ue, de, fe), Da.register(se, ue, de, fe), Ba.register(se, ue, de, fe), Kr.register(se, ue, de, fe), Pa.register(se, ue, de, fe), Va.register(se, ue, de, fe), ta.register(se, ue, de, fe), Na.register(se, ue, de, fe), Ra.register(se, ue, de, fe), Ha.register(se, ue, de, fe), ja.register(se, ue, de, fe), La.register(se, ue, de, fe), $a.register(se, ue, de, fe), Wa.register(se, ue, de, fe), ti.register(se, ue, de), oa.register(se, ue, de, fe), Aa.register(se, ue, de, fe), Ga.register(se, ue, de, fe), za.register(se, ue, de, fe), qa.register(se, ue, de, fe), Ya.register(se, ue, de, fe), ii.register(se, ue, de, fe), Qr.register(se, ue, de, fe), oo.register(se, ue, de, fe), Ua.register(se, ue, de, fe), Xa.register(se, ue, de, fe), Xr.register(se, ue, de, fe), Qa.register(se, ue, de, fe), Ja.register(se, ue, de, fe), Ka.register(se, ue, de, fe), Za.register(se, ue, de, fe), ei.register(se, ue, de, fe), ni.register(se, ue, de, fe), _a.register(se, ue, de, fe), oi.register(se, ue, de, fe), ai.register(se, ue, de, fe), li.register(se, ue, de, fe), si.register(se, ue, de, fe), ui.register(se, ue, de, fe), ci.register(se, ue, de, fe), fi.register(se, ue, de, fe), mi.register(se, ue, de, fe));
7593
+ Qn || (Qn = !0, ua.register(se, ue, de, fe), sa.register(se, ue, de, fe), ca.register(se, ue, de, fe), da.register(se, ue, de, fe), fa.register(se, ue, de, fe), ma.register(se, ue, de, fe), $n.register(se, ue, de, fe), An.register(se, ue, de, fe), $n.register(se, ue, de, fe), An.register(se, ue, de, fe), wn.register(se, ue, de, fe), pa.register(se, ue, de, fe), ha.register(se, ue, de, fe), ga.register(se, ue, de, fe), va.register(se, ue, de, fe), ya.register(se, ue, de, fe), ba.register(se, ue, de, fe), wa.register(se, ue, de, fe), ra.register(se, ue, de, fe), Ca.register(se, ue, de, fe), di.register(se, ue, de, fe), Zr.register(se, ue, de, fe), xa.register(se, ue, de, fe), ri.register(se, ue, de, fe), Sa.register(se, ue, de, fe), Ta.register(se, ue, de, fe), ka.register(se, ue, de, fe), Ea.register(se, ue, de, fe), Fa.register(se, ue, de, fe), Oa.register(se, ue, de, fe), Ma.register(se, ue, de, fe), Ia.register(se, ue, de, fe), Da.register(se, ue, de, fe), Ba.register(se, ue, de, fe), Kr.register(se, ue, de, fe), Pa.register(se, ue, de, fe), Va.register(se, ue, de, fe), ta.register(se, ue, de, fe), Na.register(se, ue, de, fe), Ra.register(se, ue, de, fe), Ha.register(se, ue, de, fe), ja.register(se, ue, de, fe), La.register(se, ue, de, fe), $a.register(se, ue, de, fe), Wa.register(se, ue, de, fe), ti.register(se, ue, de), oa.register(se, ue, de, fe), Aa.register(se, ue, de, fe), Ga.register(se, ue, de, fe), za.register(se, ue, de, fe), qa.register(se, ue, de, fe), Ya.register(se, ue, de, fe), ii.register(se, ue, de, fe), Qr.register(se, ue, de, fe), no.register(se, ue, de, fe), Ua.register(se, ue, de, fe), Xa.register(se, ue, de, fe), Xr.register(se, ue, de, fe), Qa.register(se, ue, de, fe), Ja.register(se, ue, de, fe), Ka.register(se, ue, de, fe), Za.register(se, ue, de, fe), ei.register(se, ue, de, fe), ni.register(se, ue, de, fe), _a.register(se, ue, de, fe), oi.register(se, ue, de, fe), ai.register(se, ue, de, fe), li.register(se, ue, de, fe), si.register(se, ue, de, fe), ui.register(se, ue, de, fe), ci.register(se, ue, de, fe), fi.register(se, ue, de, fe), mi.register(se, ue, de, fe));
7598
7594
  }
7599
7595
  function Xu() {
7600
7596
  Uu();
@@ -7815,7 +7811,7 @@ const Qu = {
7815
7811
  static getEditorTypesByMDataType(n, e = "") {
7816
7812
  let o = Yt.fieldControlTypeMapping[n];
7817
7813
  if (e === "data-grid-column" && (o != null && o.length)) {
7818
- const r = [he["check-group"].type, he["radio-group"].type];
7814
+ const r = [pe["check-group"].type, pe["radio-group"].type];
7819
7815
  o = o.filter((a) => !r.includes(a.key));
7820
7816
  }
7821
7817
  return o;
@@ -7838,7 +7834,7 @@ const Qu = {
7838
7834
  static mappingDomPropAndSchemaProp(n, e) {
7839
7835
  var a;
7840
7836
  const o = (a = n.editor) == null ? void 0 : a.type, r = [];
7841
- return (n.type === he["data-grid-column"].type || n.type === he["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 === he["input-group"].type || o === he.textarea.type || o === he["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === he["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (n.type === he["data-grid-column"].type || n.type === he["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === he["combo-list"].type || o === he["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (n.type === he["data-grid-column"].type || n.type === he["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === he["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === he["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === he.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" }), (n.type === he["data-grid-column"].type || n.type === he["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
7837
+ return (n.type === pe["data-grid-column"].type || n.type === pe["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 === pe["input-group"].type || o === pe.textarea.type || o === pe["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === pe["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (n.type === pe["data-grid-column"].type || n.type === pe["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === pe["combo-list"].type || o === pe["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (n.type === pe["data-grid-column"].type || n.type === pe["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === pe["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === pe["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === pe.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" }), (n.type === pe["data-grid-column"].type || n.type === pe["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
7842
7838
  }
7843
7839
  };
7844
7840
  /**
@@ -7846,52 +7842,52 @@ const Qu = {
7846
7842
  */
7847
7843
  H(Yt, "fieldControlTypeMapping", {
7848
7844
  String: [
7849
- { key: he["input-group"].type, value: he["input-group"].name },
7850
- { key: he.lookup.type, value: he.lookup.name },
7851
- { key: he["date-picker"].type, value: he["date-picker"].name },
7852
- { key: he["check-group"].type, value: he["check-group"].name },
7853
- { key: he["radio-group"].type, value: he["radio-group"].name },
7854
- { key: he["combo-list"].type, value: he["combo-list"].name },
7855
- { key: he.textarea.type, value: he.textarea.name },
7856
- { key: he["time-picker"].type, value: he["time-picker"].name }
7845
+ { key: pe["input-group"].type, value: pe["input-group"].name },
7846
+ { key: pe.lookup.type, value: pe.lookup.name },
7847
+ { key: pe["date-picker"].type, value: pe["date-picker"].name },
7848
+ { key: pe["check-group"].type, value: pe["check-group"].name },
7849
+ { key: pe["radio-group"].type, value: pe["radio-group"].name },
7850
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
7851
+ { key: pe.textarea.type, value: pe.textarea.name },
7852
+ { key: pe["time-picker"].type, value: pe["time-picker"].name }
7857
7853
  ],
7858
7854
  Text: [
7859
- { key: he.textarea.type, value: he.textarea.name },
7860
- { key: he.lookup.type, value: he.lookup.name }
7855
+ { key: pe.textarea.type, value: pe.textarea.name },
7856
+ { key: pe.lookup.type, value: pe.lookup.name }
7861
7857
  ],
7862
7858
  Decimal: [
7863
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
7859
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
7864
7860
  ],
7865
7861
  Integer: [
7866
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
7862
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
7867
7863
  ],
7868
7864
  Number: [
7869
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
7865
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
7870
7866
  ],
7871
7867
  BigNumber: [
7872
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
7868
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
7873
7869
  ],
7874
7870
  Date: [
7875
- { key: he["date-picker"].type, value: he["date-picker"].name }
7871
+ { key: pe["date-picker"].type, value: pe["date-picker"].name }
7876
7872
  ],
7877
7873
  DateTime: [
7878
- { key: he["date-picker"].type, value: he["date-picker"].name }
7874
+ { key: pe["date-picker"].type, value: pe["date-picker"].name }
7879
7875
  ],
7880
7876
  Boolean: [
7881
- { key: he.switch.type, value: he.switch.name },
7882
- { key: he["check-box"].type, value: he["check-box"].name }
7877
+ { key: pe.switch.type, value: pe.switch.name },
7878
+ { key: pe["check-box"].type, value: pe["check-box"].name }
7883
7879
  ],
7884
7880
  Enum: [
7885
- { key: he["combo-list"].type, value: he["combo-list"].name },
7886
- { key: he["radio-group"].type, value: he["radio-group"].name }
7881
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
7882
+ { key: pe["radio-group"].type, value: pe["radio-group"].name }
7887
7883
  ],
7888
7884
  Object: [
7889
- { key: he.lookup.type, value: he.lookup.name },
7890
- { key: he["combo-list"].type, value: he["combo-list"].name },
7891
- { key: he["radio-group"].type, value: he["radio-group"].name }
7885
+ { key: pe.lookup.type, value: pe.lookup.name },
7886
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
7887
+ { key: pe["radio-group"].type, value: pe["radio-group"].name }
7892
7888
  ]
7893
7889
  });
7894
- let Jn = Yt;
7890
+ let Kn = Yt;
7895
7891
  var Vt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7896
7892
  function on(t) {
7897
7893
  throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -7951,23 +7947,23 @@ var tc = { exports: {} };
7951
7947
  N === 1 && Array.isArray(h) === !1 && (B = h, h = []);
7952
7948
  var T, I, z, A, P, W, K, R, V, Q = null, G, L, U = !1, J = 0, oe, Z = B || {};
7953
7949
  Z.moves === void 0 && (Z.moves = C), Z.accepts === void 0 && (Z.accepts = C), Z.invalid === void 0 && (Z.invalid = at), Z.containers === void 0 && (Z.containers = h || []), Z.isContainer === void 0 && (Z.isContainer = g), 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);
7954
- var me = i({
7950
+ var he = i({
7955
7951
  containers: Z.containers,
7956
7952
  start: De,
7957
7953
  end: it,
7958
7954
  cancel: Ee,
7959
7955
  remove: ce,
7960
- destroy: Y,
7956
+ destroy: q,
7961
7957
  canMove: Fe,
7962
7958
  dragging: !1
7963
7959
  });
7964
- return Z.removeOnSpill === !0 && me.on("over", yt).on("out", ht), Se(), me;
7960
+ return Z.removeOnSpill === !0 && he.on("over", yt).on("out", ht), Se(), he;
7965
7961
  function be($) {
7966
- return me.containers.indexOf($) !== -1 || Z.isContainer($);
7962
+ return he.containers.indexOf($) !== -1 || Z.isContainer($);
7967
7963
  }
7968
7964
  function Se($) {
7969
7965
  var ee = $ ? "remove" : "add";
7970
- v(c, ee, "mousedown", q), v(c, ee, "mouseup", ie);
7966
+ v(c, ee, "mousedown", Y), v(c, ee, "mouseup", ie);
7971
7967
  }
7972
7968
  function Ve($) {
7973
7969
  var ee = $ ? "remove" : "add";
@@ -7977,13 +7973,13 @@ var tc = { exports: {} };
7977
7973
  var ee = $ ? "remove" : "add";
7978
7974
  l[ee](c, "selectstart", le), l[ee](c, "click", le);
7979
7975
  }
7980
- function Y() {
7976
+ function q() {
7981
7977
  Se(!0), ie({});
7982
7978
  }
7983
7979
  function le($) {
7984
7980
  G && $.preventDefault();
7985
7981
  }
7986
- function q($) {
7982
+ function Y($) {
7987
7983
  A = $.clientX, P = $.clientY;
7988
7984
  var ee = M($) !== 1 || $.metaKey || $.ctrlKey;
7989
7985
  if (!ee) {
@@ -8009,7 +8005,7 @@ var tc = { exports: {} };
8009
8005
  }
8010
8006
  }
8011
8007
  function ye($) {
8012
- if (!(me.dragging && T) && !be($)) {
8008
+ if (!(he.dragging && T) && !be($)) {
8013
8009
  for (var ee = $; k($) && be(k($)) === !1; )
8014
8010
  if (Z.invalid($, ee) || ($ = k($), !$))
8015
8011
  return;
@@ -8032,13 +8028,13 @@ var tc = { exports: {} };
8032
8028
  ee && Ke(ee);
8033
8029
  }
8034
8030
  function Ke($) {
8035
- Be($.item, $.source) && (R = $.item.cloneNode(!0), me.emit("cloned", R, $.item, "copy")), I = $.source, z = $.item, W = K = S($.item), me.dragging = !0, me.emit("drag", z, I);
8031
+ Be($.item, $.source) && (R = $.item.cloneNode(!0), he.emit("cloned", R, $.item, "copy")), I = $.source, z = $.item, W = K = S($.item), he.dragging = !0, he.emit("drag", z, I);
8036
8032
  }
8037
8033
  function at() {
8038
8034
  return !1;
8039
8035
  }
8040
8036
  function it() {
8041
- if (me.dragging) {
8037
+ if (he.dragging) {
8042
8038
  var $ = R || z;
8043
8039
  we($, k($));
8044
8040
  }
@@ -8047,30 +8043,30 @@ var tc = { exports: {} };
8047
8043
  G = !1, Ve(!0), Re(!0);
8048
8044
  }
8049
8045
  function ie($) {
8050
- if (D(), !!me.dragging) {
8046
+ if (D(), !!he.dragging) {
8051
8047
  var ee = R || z, re = E("clientX", $) || 0, ne = E("clientY", $) || 0, _e = x(T, re, ne), xe = ct(_e, re, ne);
8052
8048
  xe && (R && Z.copySortSource || !R || xe !== I) ? we(ee, xe) : Z.removeOnSpill ? ce() : Ee();
8053
8049
  }
8054
8050
  }
8055
8051
  function we($, ee) {
8056
8052
  var re = k($);
8057
- R && Z.copySortSource && ee === I && re.removeChild(z), ut(ee) ? me.emit("cancel", $, I) : me.emit("drop", $, ee, I, K), Je();
8053
+ R && Z.copySortSource && ee === I && re.removeChild(z), ut(ee) ? he.emit("cancel", $, I) : he.emit("drop", $, ee, I, K), Je();
8058
8054
  }
8059
8055
  function ce() {
8060
- if (me.dragging) {
8056
+ if (he.dragging) {
8061
8057
  var $ = R || z, ee = k($);
8062
- ee && ee.removeChild($), me.emit(R ? "cancel" : "remove", $, ee, I), Je();
8058
+ ee && ee.removeChild($), he.emit(R ? "cancel" : "remove", $, ee, I), Je();
8063
8059
  }
8064
8060
  }
8065
8061
  function Ee($) {
8066
- if (me.dragging) {
8062
+ if (he.dragging) {
8067
8063
  var ee = arguments.length > 0 ? $ : Z.revertOnSpill, re = R || z, ne = k(re), _e = ut(ne);
8068
- _e === !1 && ee && (R ? ne && ne.removeChild(R) : I.insertBefore(re, W)), _e || ee ? me.emit("cancel", re, I, I) : me.emit("drop", re, ne, I, K), Je();
8064
+ _e === !1 && ee && (R ? ne && ne.removeChild(R) : I.insertBefore(re, W)), _e || ee ? he.emit("cancel", re, I, I) : he.emit("drop", re, ne, I, K), Je();
8069
8065
  }
8070
8066
  }
8071
8067
  function Je() {
8072
8068
  var $ = R || z;
8073
- D(), ae(), pe(), $ && s.rm($, "gu-transit"), V && clearTimeout(V), me.dragging = !1, Q && me.emit("out", $, Q, I), me.emit("dragend", $, J), I = z = R = W = K = V = Q = null;
8069
+ D(), ae(), me(), $ && s.rm($, "gu-transit"), V && clearTimeout(V), he.dragging = !1, Q && he.emit("out", $, Q, I), he.emit("dragend", $, J), I = z = R = W = K = V = Q = null;
8074
8070
  }
8075
8071
  function ut($, ee) {
8076
8072
  var re;
@@ -8112,7 +8108,7 @@ var tc = { exports: {} };
8112
8108
  }
8113
8109
  L.style.display = "block", Tt(We, ne, je), We ? tt(dt, We) : X(xe);
8114
8110
  function Ye(ke) {
8115
- me.emit(ke, ne, Q, I);
8111
+ he.emit(ke, ne, Q, I);
8116
8112
  }
8117
8113
  function ft() {
8118
8114
  je && Ye("over");
@@ -8128,10 +8124,10 @@ var tc = { exports: {} };
8128
8124
  s.rm($, "gu-hide");
8129
8125
  }
8130
8126
  function ht($) {
8131
- me.dragging && s.add($, "gu-hide");
8127
+ he.dragging && s.add($, "gu-hide");
8132
8128
  }
8133
8129
  function kt() {
8134
- T || (T = document.createElement("div"), T.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;", T.innerHTML = Z.getMirrorText && Z.getMirrorText(z) || "控件", s.add(T, "gu-mirror"), Z.mirrorContainer.appendChild(T), v(c, "add", "mousemove", pt), s.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", T, z, "mirror"));
8130
+ T || (T = document.createElement("div"), T.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;", T.innerHTML = Z.getMirrorText && Z.getMirrorText(z) || "控件", s.add(T, "gu-mirror"), Z.mirrorContainer.appendChild(T), v(c, "add", "mousemove", pt), s.add(Z.mirrorContainer, "gu-unselectable"), he.emit("cloned", T, z, "mirror"));
8135
8131
  }
8136
8132
  function bt() {
8137
8133
  if (L = document.createElement("div"), s.add(L, "gu-insertion"), z) {
@@ -8143,7 +8139,7 @@ var tc = { exports: {} };
8143
8139
  function ae() {
8144
8140
  T && (s.rm(Z.mirrorContainer, "gu-unselectable"), v(c, "remove", "mousemove", pt), k(T).removeChild(T), T = null);
8145
8141
  }
8146
- function pe() {
8142
+ function me() {
8147
8143
  L && (k(L).removeChild(L), L = null);
8148
8144
  }
8149
8145
  function Ce($, ee) {
@@ -9669,15 +9665,15 @@ const fn = /* @__PURE__ */ rt({
9669
9665
  const K = vo(t, P), R = go(t, n, S, i), V = yo(t, n, i, R, m), Q = bo(t), G = wo(t, V, Q), L = Co(t, F, V, C, i, Q, G), U = xo(t, a, F, h, 0, L), {
9670
9666
  getVisualData: J
9671
9667
  } = U, oe = _o(t, P), Z = So(t, S), {
9672
- sidebarWidth: me
9673
- } = Z, be = To(t, F, m, P, U, h, 0, me), {
9668
+ sidebarWidth: he
9669
+ } = Z, be = To(t, F, m, P, U, h, 0, he), {
9674
9670
  onWheel: Se,
9675
9671
  dataGridWidth: Ve,
9676
9672
  viewPortHeight: Re,
9677
- viewPortWidth: Y,
9673
+ viewPortWidth: q,
9678
9674
  resetScroll: le,
9679
- updateVisibleRowsOnLatestVisibleScope: q
9680
- } = be, te = ko(t, P, u, Y, K), {
9675
+ updateVisibleRowsOnLatestVisibleScope: Y
9676
+ } = be, te = ko(t, P, u, q, K), {
9681
9677
  calculateColumnsSize: ye
9682
9678
  } = te, Fe = Fo(), De = Eo(u, f, F, Fe, be), Ke = Oo(t, n, I, F, K, x, be), at = j(() => ({
9683
9679
  "fv-grid": !0,
@@ -9694,7 +9690,7 @@ const fn = /* @__PURE__ */ rt({
9694
9690
  renderGridHeader: ie,
9695
9691
  renderGridColumnResizeOverlay: we,
9696
9692
  shouldShowHeader: ce
9697
- } = Mo(t, n, u, d, f, I, F, Ke, De, g, Fe, te, K, S, Z, z, be, Y, m), {
9693
+ } = Mo(t, n, u, d, f, I, F, Ke, De, g, Fe, te, K, S, Z, z, be, q, m), {
9698
9694
  renderDataGridSidebar: Ee
9699
9695
  } = Io(t, R, S, Z, be), {
9700
9696
  renderDisableMask: Je
@@ -9707,15 +9703,15 @@ const fn = /* @__PURE__ */ rt({
9707
9703
  var ge, ke, nt;
9708
9704
  if (u.value && u.value.clientHeight > 0 && ((ge = u.value) == null ? void 0 : ge.clientWidth) > 0) {
9709
9705
  const Ze = Math.ceil(u.value.clientHeight / o);
9710
- Ze > r.value && (r.value = Ze, q()), Re.value = ((ke = c.value) == null ? void 0 : ke.clientHeight) || 0, Ve.value = ((nt = u.value) == null ? void 0 : nt.clientWidth) || 0, ye();
9706
+ Ze > r.value && (r.value = Ze, Y()), Re.value = ((ke = c.value) == null ? void 0 : ke.clientHeight) || 0, Ve.value = ((nt = u.value) == null ? void 0 : nt.clientWidth) || 0, ye();
9711
9707
  }
9712
9708
  }
9713
9709
  Bt(() => {
9714
9710
  u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), m.value = J(0, h.value + 0 - 1), En(u.value, pt), ye(), Nt(() => {
9715
- u.value && (Ve.value = u.value.clientWidth), c.value && (Y.value = c.value.clientWidth, Re.value = c.value.clientHeight);
9711
+ u.value && (Ve.value = u.value.clientWidth), c.value && (q.value = c.value.clientWidth, Re.value = c.value.clientHeight);
9716
9712
  })), b.value && k();
9717
9713
  }), Xt(() => {
9718
- }), Me(Y, () => {
9714
+ }), Me(q, () => {
9719
9715
  u.value && ye();
9720
9716
  });
9721
9717
  function Tt(ge) {
@@ -9740,7 +9736,7 @@ const fn = /* @__PURE__ */ rt({
9740
9736
  const ge = ht(), ke = _.getNextSelectableHierarchyItemId(ge);
9741
9737
  F.removeHierarchyDataItem(ge), m.value = J(0, h.value + 0 - 1), ke && S.selectItemById(ke);
9742
9738
  }
9743
- function pe(ge) {
9739
+ function me(ge) {
9744
9740
  V.onEditingRow(ge);
9745
9741
  }
9746
9742
  function Ce(ge) {
@@ -9831,7 +9827,7 @@ const fn = /* @__PURE__ */ rt({
9831
9827
  collapseTo: Tt,
9832
9828
  expandTo: yt,
9833
9829
  removeDataItem: ae,
9834
- editDataItem: pe,
9830
+ editDataItem: me,
9835
9831
  acceptDataItem: Ce,
9836
9832
  cancelDataItem: He,
9837
9833
  updateColumns: Ge,
@@ -9910,7 +9906,7 @@ const fn = /* @__PURE__ */ rt({
9910
9906
  }
9911
9907
  });
9912
9908
  function xc(t) {
9913
- return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !no(t);
9909
+ return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !to(t);
9914
9910
  }
9915
9911
  const Sn = /* @__PURE__ */ rt({
9916
9912
  name: "FDesignerItem",
@@ -10713,9 +10709,9 @@ const Mc = /* @__PURE__ */ rt({
10713
10709
  viewPortHeight: J,
10714
10710
  viewPortWidth: oe,
10715
10711
  updateVisibleRowsOnLatestVisibleScope: Z
10716
- } = G, me = kc(t, h, s, oe, T), {
10712
+ } = G, he = kc(t, h, s, oe, T), {
10717
10713
  calculateColumnsSize: be
10718
- } = me, Se = j(() => ({
10714
+ } = he, Se = j(() => ({
10719
10715
  "drag-container": !0,
10720
10716
  "fv-grid": !0,
10721
10717
  "fv-grid-bordered": t.showBorder,
@@ -10727,7 +10723,7 @@ const Mc = /* @__PURE__ */ rt({
10727
10723
  })), {
10728
10724
  renderGridHeader: Re
10729
10725
  } = _c(v, t, _, G, "tree-grid-column"), {
10730
- renderHorizontalScrollbar: Y
10726
+ renderHorizontalScrollbar: q
10731
10727
  } = Ki(t, s, G);
10732
10728
  function le() {
10733
10729
  var De, Ke;
@@ -10739,11 +10735,11 @@ const Mc = /* @__PURE__ */ rt({
10739
10735
  s.value && (U.value = s.value.clientWidth), u.value && (oe.value = u.value.clientWidth, J.value = u.value.clientHeight);
10740
10736
  }));
10741
10737
  });
10742
- function q(Fe) {
10738
+ function Y(Fe) {
10743
10739
  Fe && (i.value = Fe, S(i), B(i.value), E(y, N), be());
10744
10740
  }
10745
10741
  return Me(() => t.columns, (Fe) => {
10746
- q(Fe);
10742
+ Y(Fe);
10747
10743
  }), Me(oe, () => {
10748
10744
  s.value && be();
10749
10745
  }), n.expose(x.value), () => O("div", {
@@ -10761,7 +10757,7 @@ const Mc = /* @__PURE__ */ rt({
10761
10757
  onMouseleave: () => {
10762
10758
  d.value = !1;
10763
10759
  }
10764
- }, [Y()])]);
10760
+ }, [q()])]);
10765
10761
  }
10766
10762
  });
10767
10763
  fn.register = (t, n, e, o) => {
@@ -11772,7 +11768,7 @@ const gn = /* @__PURE__ */ rt({
11772
11768
  }
11773
11769
  });
11774
11770
  gn.install = (t) => {
11775
- t.component(Qn.name, Qn).component(gn.name, gn);
11771
+ t.component(Xn.name, Xn).component(gn.name, gn);
11776
11772
  };
11777
11773
  const Cd = [
11778
11774
  "equal",
@@ -12029,69 +12025,69 @@ function Md(t, n, e, o, r, a, i, l, s) {
12029
12025
  const ae = c.value;
12030
12026
  if (ae.length <= 0)
12031
12027
  return 0;
12032
- const pe = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
12033
- return pe.__fv_data_position__ > ae.length * g ? ae.length * g : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * g;
12028
+ const me = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
12029
+ return me.__fv_data_position__ > ae.length * g ? ae.length * g : (me.__fv_data_position__ || 0) + (me.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * g;
12034
12030
  }
12035
12031
  const T = j(() => {
12036
12032
  const ae = N();
12037
12033
  c.value;
12038
- let pe = p.value / Math.max(ae, p.value), Ce = Math.floor(pe * p.value);
12034
+ let me = p.value / Math.max(ae, p.value), Ce = Math.floor(me * p.value);
12039
12035
  for (; p.value > 0 && Ce < E; )
12040
- pe *= h, Ce = Math.floor(pe * p.value);
12036
+ me *= h, Ce = Math.floor(me * p.value);
12041
12037
  return Ce;
12042
12038
  }), I = j(() => Math.floor(S.value / Math.max(v.value, S.value) * F.value)), z = 0, A = 0, P = j(() => F.value - (M.value + v.value + x.value + l.value));
12043
12039
  function W(ae) {
12044
12040
  const Ce = Math.floor(ae / g) + 1, He = c.value;
12045
12041
  return He.length > Ce ? He[Ce].__fv_visible_index__ - 1 : 0;
12046
12042
  }
12047
- function K(ae, pe, Ce) {
12048
- let He = ae, Ge = pe;
12049
- const tt = pe - ae + 1;
12043
+ function K(ae, me, Ce) {
12044
+ let He = ae, Ge = me;
12045
+ const tt = me - ae + 1;
12050
12046
  if (tt < i + a.value + i) {
12051
- const X = i + a.value + i - tt, ve = pe + X <= Ce, Te = 0 + X <= ae;
12047
+ const X = i + a.value + i - tt, ve = me + X <= Ce, Te = 0 + X <= ae;
12052
12048
  if (ve)
12053
12049
  Ge += X, k = Ge;
12054
12050
  else if (Te)
12055
12051
  He -= X, b = He;
12056
12052
  else {
12057
- const Be = Ce - pe, $ = X - Be;
12058
- Ge = Math.min(pe + Be, Ce), He = Math.max(ae - $, 0);
12053
+ const Be = Ce - me, $ = X - Be;
12054
+ Ge = Math.min(me + Be, Ce), He = Math.max(ae - $, 0);
12059
12055
  }
12060
12056
  }
12061
12057
  return { actualStart: He, actualEnd: Ge };
12062
12058
  }
12063
12059
  function R(ae) {
12064
12060
  var Be, $;
12065
- const pe = c.value;
12066
- if (!pe.length) {
12061
+ const me = c.value;
12062
+ if (!me.length) {
12067
12063
  e.value = [];
12068
12064
  return;
12069
12065
  }
12070
- const Ce = (Be = t.pagination) != null && Be.enable ? 0 : Math.max(b - i, 0), He = pe[pe.length - 1].__fv_visible_index__, Ge = ($ = t.pagination) != null && $.enable ? pe.length - 1 : Math.min(k + i, He), { actualStart: tt, actualEnd: X } = K(Ce, Ge, He), ve = pe[tt - 1], Te = d(tt, X, ve, ae);
12066
+ const Ce = (Be = t.pagination) != null && Be.enable ? 0 : Math.max(b - i, 0), He = me[me.length - 1].__fv_visible_index__, Ge = ($ = t.pagination) != null && $.enable ? me.length - 1 : Math.min(k + i, He), { actualStart: tt, actualEnd: X } = K(Ce, Ge, He), ve = me[tt - 1], Te = d(tt, X, ve, ae);
12071
12067
  Te.length && (e.value = [...Te]);
12072
12068
  }
12073
12069
  const V = j(() => N() > p.value), Q = j(() => Math.floor(v.value) > S.value);
12074
- function G(ae, pe) {
12070
+ function G(ae, me) {
12075
12071
  let Ce = ae;
12076
12072
  const He = Ce > z, Ge = V.value;
12077
- Ge && Ce < p.value - pe && (Ce = p.value - pe), (!Ge || He) && (Ce = z), C.value !== Ce && (C.value = Ce);
12073
+ Ge && Ce < p.value - me && (Ce = p.value - me), (!Ge || He) && (Ce = z), C.value !== Ce && (C.value = Ce);
12078
12074
  }
12079
12075
  function L() {
12080
12076
  _.value && (b = W(Math.abs(C.value)), k = b + a.value - 1, (b < m.value || k > f.value - i / 2) && R());
12081
12077
  }
12082
12078
  function U(ae) {
12083
- let pe = C.value + ae;
12084
- pe > z && (pe = z);
12079
+ let me = C.value + ae;
12080
+ me > z && (me = z);
12085
12081
  const Ce = N();
12086
- G(pe, Ce), L();
12082
+ G(me, Ce), L();
12087
12083
  }
12088
12084
  function J(ae) {
12089
12085
  if (!Q.value) {
12090
12086
  y.value = 0;
12091
12087
  return;
12092
12088
  }
12093
- let pe = y.value + ae;
12094
- pe > A && (pe = A), pe < P.value && (pe = P.value), y.value !== pe && (y.value = pe);
12089
+ let me = y.value + ae;
12090
+ me > A && (me = A), me < P.value && (me = P.value), y.value !== me && (y.value = me);
12095
12091
  }
12096
12092
  function oe() {
12097
12093
  Math.abs(y.value) + S.value > v.value && (y.value = Math.min(S.value - v.value, 0));
@@ -12099,25 +12095,25 @@ function Md(t, n, e, o, r, a, i, l, s) {
12099
12095
  function Z() {
12100
12096
  C.value = 0, b = 0, k = a.value - 1, R();
12101
12097
  }
12102
- function me() {
12098
+ function he() {
12103
12099
  const ae = N();
12104
12100
  G(C.value, ae);
12105
12101
  }
12106
12102
  Me([S, v], () => {
12107
12103
  J(0);
12108
- }), Me(p, (ae, pe) => {
12109
- ae !== pe && ae >= u.value.length * g && U(0);
12104
+ }), Me(p, (ae, me) => {
12105
+ ae !== me && ae >= u.value.length * g && U(0);
12110
12106
  });
12111
12107
  function be(ae) {
12112
- let { deltaX: pe } = ae, Ce = -1 * ae.deltaY;
12113
- return typeof pe > "u" && (pe = -1 * ae.wheelDeltaX / 6), typeof Ce > "u" && (Ce = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (pe *= 10, Ce *= 10), ae.shiftKey ? { deltaY: -Ce, deltaX: -pe } : { deltaX: pe, deltaY: Ce };
12108
+ let { deltaX: me } = ae, Ce = -1 * ae.deltaY;
12109
+ return typeof me > "u" && (me = -1 * ae.wheelDeltaX / 6), typeof Ce > "u" && (Ce = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (me *= 10, Ce *= 10), ae.shiftKey ? { deltaY: -Ce, deltaX: -me } : { deltaX: me, deltaY: Ce };
12114
12110
  }
12115
12111
  function Se(ae) {
12116
12112
  if (t.disabled || !V.value || ae.target.tagName === "TEXTAREA")
12117
12113
  return;
12118
12114
  ae.preventDefault(), ae.stopPropagation();
12119
- const { deltaX: pe, deltaY: Ce } = be(ae);
12120
- U(Ce), J(pe);
12115
+ const { deltaX: me, deltaY: Ce } = be(ae);
12116
+ U(Ce), J(me);
12121
12117
  }
12122
12118
  const Ve = j(() => ({
12123
12119
  height: `${u.value.length * g}px`,
@@ -12125,13 +12121,13 @@ function Md(t, n, e, o, r, a, i, l, s) {
12125
12121
  transform: `translateY(${C.value}px)`
12126
12122
  })), Re = j(() => ({
12127
12123
  transform: `translateY(${C.value}px)`
12128
- })), Y = j(() => ({
12124
+ })), q = j(() => ({
12129
12125
  height: `${(t.autoHeight ? c.value : u.value).length * g}px`,
12130
12126
  width: `${v.value}px`,
12131
12127
  transform: `translate(${y.value}px, ${C.value}px)`
12132
12128
  })), le = j(() => ({
12133
12129
  transform: `translate(${y.value}px, ${C.value}px)`
12134
- })), q = j(() => ({
12130
+ })), Y = j(() => ({
12135
12131
  height: `${u.value.length * g}px`,
12136
12132
  width: `${x.value}px`,
12137
12133
  transform: `translateY(${C.value}px)`
@@ -12161,18 +12157,18 @@ function Md(t, n, e, o, r, a, i, l, s) {
12161
12157
  })), we = w(!1), ce = w(-1), Ee = w(-1), Je = w();
12162
12158
  function ut(ae) {
12163
12159
  if (we.value && Ee.value !== -1) {
12164
- const pe = Ee.value - ae.pageX, Ce = F.value - I.value;
12165
- if (Math.abs(pe) <= Ce) {
12166
- const He = pe / (S.value - I.value) * (v.value - S.value);
12160
+ const me = Ee.value - ae.pageX, Ce = F.value - I.value;
12161
+ if (Math.abs(me) <= Ce) {
12162
+ const He = me / (S.value - I.value) * (v.value - S.value);
12167
12163
  J(He), Ee.value = ae.pageX;
12168
12164
  }
12169
12165
  }
12170
12166
  }
12171
12167
  function ct(ae) {
12172
12168
  if (we.value && ce.value !== -1) {
12173
- const pe = ce.value - ae.pageY, Ce = N(), He = Ce - T.value;
12174
- if (Math.abs(pe) <= He) {
12175
- const Ge = pe / (p.value - T.value) * (Ce - p.value);
12169
+ const me = ce.value - ae.pageY, Ce = N(), He = Ce - T.value;
12170
+ if (Math.abs(me) <= He) {
12171
+ const Ge = me / (p.value - T.value) * (Ce - p.value);
12176
12172
  U(Ge), ce.value = ae.pageY;
12177
12173
  }
12178
12174
  }
@@ -12180,16 +12176,16 @@ function Md(t, n, e, o, r, a, i, l, s) {
12180
12176
  function pt(ae) {
12181
12177
  we.value = !1, ce.value = -1, Ee.value = -1, document.removeEventListener("mouseup", pt), B && (document.removeEventListener("mousemove", B), B = null), document.body.style.userSelect = "", Je.value && (Je.value.style.opacity = null);
12182
12178
  }
12183
- function Tt(ae, pe, Ce) {
12179
+ function Tt(ae, me, Ce) {
12184
12180
  var tt;
12185
12181
  we.value = !0;
12186
12182
  const He = (tt = ae.target) == null ? void 0 : tt.parentElement;
12187
- He && (He.style.opacity = "1", Je.value = He), B || (B = ea(Ce === "horizontal" ? ut : ct, 50)), Ce === "vertical" && (ce.value = ae.pageY), Ce === "horizontal" && (Ee.value = ae.pageX), pe.value && (pe.value, document.addEventListener("mousemove", B), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
12183
+ He && (He.style.opacity = "1", Je.value = He), B || (B = ea(Ce === "horizontal" ? ut : ct, 50)), Ce === "vertical" && (ce.value = ae.pageY), Ce === "horizontal" && (Ee.value = ae.pageX), me.value && (me.value, document.addEventListener("mousemove", B), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
12188
12184
  }
12189
12185
  function yt(ae) {
12190
- const pe = u.value.length * g - p.value;
12186
+ const me = u.value.length * g - p.value;
12191
12187
  let Ce = ae * g;
12192
- Ce >= pe && (Ce = pe), U(-Ce - C.value);
12188
+ Ce >= me && (Ce = me), U(-Ce - C.value);
12193
12189
  }
12194
12190
  function ht() {
12195
12191
  yt(u.value.length);
@@ -12200,7 +12196,7 @@ function Md(t, n, e, o, r, a, i, l, s) {
12200
12196
  return {
12201
12197
  dataGridWidth: F,
12202
12198
  fitHorizontalScroll: oe,
12203
- gridDataStyle: Y,
12199
+ gridDataStyle: q,
12204
12200
  gridHeaderColumnsStyle: De,
12205
12201
  gridMergedDataStyle: le,
12206
12202
  gridSideStyle: ye,
@@ -12214,12 +12210,12 @@ function Md(t, n, e, o, r, a, i, l, s) {
12214
12210
  onWheel: Se,
12215
12211
  reCalculateVisualDataRows: R,
12216
12212
  resetScroll: Z,
12217
- rightFixedGridDataStyle: q,
12213
+ rightFixedGridDataStyle: Y,
12218
12214
  rightFixedGridHeaderColumnsStyle: Ke,
12219
12215
  rightFixedGridMergedDataStyle: te,
12220
12216
  shouldShowHorizontalScrollbar: Q,
12221
12217
  shouldShowVirticalScrollbar: V,
12222
- updateVirticalScroll: me,
12218
+ updateVirticalScroll: he,
12223
12219
  updateVisibleRowsOnLatestVisibleScope: L,
12224
12220
  verticalScrollThumbStyle: it,
12225
12221
  viewPortWidth: S,
@@ -12785,160 +12781,160 @@ function $d(t, n, e, o) {
12785
12781
  }
12786
12782
  function Ad(t, n, e, o, r) {
12787
12783
  const { idField: a } = e, { dataView: i, getSelectionItems: l } = n, s = w(""), u = j(() => t.selection.enableSelectRow), c = w(t.selection.multiSelect ?? !1), d = w(t.selection.multiSelectMode || "DependOnCheck"), f = w(t.selection.showCheckbox), m = w(t.selection.showSelectAll), v = w(t.selectionValues || []), M = w(!!v.value.length && o.value.length === v.value.length), x = w(!!v.value.length && o.value.length !== v.value.length);
12788
- Me(() => t.selection.showSelectAll, (Y, le) => {
12789
- Y !== le && (m.value = Y);
12784
+ Me(() => t.selection.showSelectAll, (q, le) => {
12785
+ q !== le && (m.value = q);
12790
12786
  });
12791
12787
  function g() {
12792
- const Y = i.value.every((q) => v.value.includes(q[a.value])), le = i.value.every((q) => !v.value.includes(q[a.value]));
12793
- Y && (M.value = !0, x.value = !1), le && (M.value = !1, x.value = !1), !Y && !le && (M.value = !1, x.value = !0);
12788
+ const q = i.value.every((Y) => v.value.includes(Y[a.value])), le = i.value.every((Y) => !v.value.includes(Y[a.value]));
12789
+ q && (M.value = !0, x.value = !1), le && (M.value = !1, x.value = !1), !q && !le && (M.value = !1, x.value = !0);
12794
12790
  }
12795
12791
  function C() {
12796
12792
  return l(v.value);
12797
12793
  }
12798
12794
  function y() {
12799
- const Y = o.value.reduce((q, te) => (q.set(te.raw[a.value], te), q), /* @__PURE__ */ new Map());
12800
- return v.value.map((q) => Y.get(q)).filter((q) => !!q);
12795
+ const q = o.value.reduce((Y, te) => (Y.set(te.raw[a.value], te), Y), /* @__PURE__ */ new Map());
12796
+ return v.value.map((Y) => q.get(Y)).filter((Y) => !!Y);
12801
12797
  }
12802
- function b(Y) {
12803
- var q;
12804
- const le = Y.raw.__fv_children_index__;
12798
+ function b(q) {
12799
+ var Y;
12800
+ const le = q.raw.__fv_children_index__;
12805
12801
  if (le && le.length) {
12806
12802
  const te = le.map((ye) => i.value[ye]);
12807
- (q = v.value) != null && q.length && te.some((Fe) => !v.value.includes(Fe[a.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
12803
+ (Y = v.value) != null && Y.length && te.some((Fe) => !v.value.includes(Fe[a.value])) && (q.indeterminate = !0, q.raw.__fv_indeterminate__ = !0);
12808
12804
  }
12809
12805
  }
12810
12806
  const k = j(() => u.value && c.value), F = j(
12811
12807
  () => u.value && !c.value && !f.value
12812
12808
  ), p = j(() => !!t.hierarchy), S = j(() => {
12813
- const Y = f.value && d.value === "DependOnCheck";
12814
- return k.value && Y;
12809
+ const q = f.value && d.value === "DependOnCheck";
12810
+ return k.value && q;
12815
12811
  }), _ = j(() => k.value && !f.value), E = j(() => k.value && f.value && d.value === "OnCheckAndClick");
12816
12812
  j(() => E.value);
12817
12813
  function h() {
12818
- const Y = l(v.value);
12819
- r.emit("selectionChange", Y);
12814
+ const q = l(v.value);
12815
+ r.emit("selectionChange", q);
12820
12816
  }
12821
- function B(Y) {
12822
- r.emit("unSelectItem", Y);
12817
+ function B(q) {
12818
+ r.emit("unSelectItem", q);
12823
12819
  }
12824
12820
  function N() {
12825
- const Y = o.value.filter((q) => q.indeterminate).map((q) => q.raw[a.value]);
12826
- o.value.forEach((q) => {
12827
- q.checked = !1, q.indeterminate = !1, q.raw.__fv_checked__ = !1, q.raw.__fv_indeterminate__ = !1;
12828
- }), y().forEach((q) => {
12829
- q.checked = !0, q.raw.__fv_checked__ = !0;
12830
- }), Y.forEach((q) => {
12831
- const te = o.value.find((ye) => ye.raw[a.value] === q);
12821
+ const q = o.value.filter((Y) => Y.indeterminate).map((Y) => Y.raw[a.value]);
12822
+ o.value.forEach((Y) => {
12823
+ Y.checked = !1, Y.indeterminate = !1, Y.raw.__fv_checked__ = !1, Y.raw.__fv_indeterminate__ = !1;
12824
+ }), y().forEach((Y) => {
12825
+ Y.checked = !0, Y.raw.__fv_checked__ = !0;
12826
+ }), q.forEach((Y) => {
12827
+ const te = o.value.find((ye) => ye.raw[a.value] === Y);
12832
12828
  b(te);
12833
12829
  });
12834
12830
  }
12835
12831
  Me(() => o.value, () => {
12836
12832
  N();
12837
- }), Me(() => t.selectionValues, (Y) => {
12838
- v.value = Y, N();
12839
- }, { immediate: !0 }), Me(() => t.selection, (Y) => {
12840
- c.value = !!Y.multiSelect, d.value = Y.multiSelectMode || "DependOnCheck", f.value = !!Y.showCheckbox;
12833
+ }), Me(() => t.selectionValues, (q) => {
12834
+ v.value = q, N();
12835
+ }, { immediate: !0 }), Me(() => t.selection, (q) => {
12836
+ c.value = !!q.multiSelect, d.value = q.multiSelectMode || "DependOnCheck", f.value = !!q.showCheckbox;
12841
12837
  });
12842
12838
  const T = j(() => !c.value);
12843
- function I(Y) {
12844
- return Y.raw[a.value];
12839
+ function I(q) {
12840
+ return q.raw[a.value];
12845
12841
  }
12846
- function z(Y) {
12847
- return v.value.findIndex((q) => q === I(Y));
12842
+ function z(q) {
12843
+ return v.value.findIndex((Y) => Y === I(q));
12848
12844
  }
12849
12845
  function A() {
12850
- y().forEach((q) => {
12851
- q.checked = !1;
12852
- }), l(v.value).forEach((q) => {
12853
- q.__fv_checked__ = !1;
12846
+ y().forEach((Y) => {
12847
+ Y.checked = !1;
12848
+ }), l(v.value).forEach((Y) => {
12849
+ Y.__fv_checked__ = !1;
12854
12850
  }), v.value = [], s.value = "", g();
12855
12851
  }
12856
- function P(Y) {
12857
- const le = Y;
12852
+ function P(q) {
12853
+ const le = q;
12858
12854
  le.__fv_checked__ = !0, le.__fv_indeterminate__ = !1;
12859
- const q = new Set(v.value);
12860
- q.add(le[a.value]), v.value = Array.from(q.values());
12855
+ const Y = new Set(v.value);
12856
+ Y.add(le[a.value]), v.value = Array.from(Y.values());
12861
12857
  }
12862
- function W(Y) {
12863
- const le = Y;
12864
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((q) => q !== le[a.value]);
12858
+ function W(q) {
12859
+ const le = q;
12860
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((Y) => Y !== le[a.value]);
12865
12861
  }
12866
- function K(Y) {
12867
- const le = Y.raw;
12862
+ function K(q) {
12863
+ const le = q.raw;
12868
12864
  le.__fv_checked__ = !0, le.__fv_indeterminate__ = !1;
12869
- const q = new Set(v.value);
12870
- q.add(le[a.value]), v.value = Array.from(q.values()), Y.checked = !0, Y.indeterminate = !1;
12865
+ const Y = new Set(v.value);
12866
+ Y.add(le[a.value]), v.value = Array.from(Y.values()), q.checked = !0, q.indeterminate = !1;
12871
12867
  }
12872
- function R(Y) {
12873
- const le = Y.raw;
12874
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((q) => q !== le[a.value]), Y.checked = !1, Y.indeterminate = !1;
12868
+ function R(q) {
12869
+ const le = q.raw;
12870
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !1, v.value = v.value.filter((Y) => Y !== le[a.value]), q.checked = !1, q.indeterminate = !1;
12875
12871
  }
12876
- function V(Y) {
12877
- K(Y), s.value = Y.raw[a.value];
12872
+ function V(q) {
12873
+ K(q), s.value = q.raw[a.value];
12878
12874
  }
12879
- function Q(Y) {
12880
- R(Y), s.value = "";
12875
+ function Q(q) {
12876
+ R(q), s.value = "";
12881
12877
  }
12882
- function G(Y) {
12883
- Y.__fv_checked__ = !1, Y.__fv_indeterminate__ = !0, v.value = v.value.filter((le) => le !== Y[a.value]);
12878
+ function G(q) {
12879
+ q.__fv_checked__ = !1, q.__fv_indeterminate__ = !0, v.value = v.value.filter((le) => le !== q[a.value]);
12884
12880
  }
12885
- function L(Y) {
12886
- const le = Y.raw;
12887
- le.__fv_checked__ = !1, le.__fv_indeterminate__ = !0, v.value = v.value.filter((q) => q !== le[a.value]), Y.checked = !1, Y.indeterminate = !0;
12881
+ function L(q) {
12882
+ const le = q.raw;
12883
+ le.__fv_checked__ = !1, le.__fv_indeterminate__ = !0, v.value = v.value.filter((Y) => Y !== le[a.value]), q.checked = !1, q.indeterminate = !0;
12888
12884
  }
12889
- function U(Y) {
12890
- T.value && A(), Y.checked ? R(Y) : K(Y), h();
12885
+ function U(q) {
12886
+ T.value && A(), q.checked ? R(q) : K(q), h();
12891
12887
  }
12892
- function J(Y, le = !0) {
12893
- const q = Y.checked;
12894
- T.value && A(), le ? Y.checked ? Q(Y) : V(Y) : q ? Q(Y) : V(Y), h(), Y.checked || B(Y);
12888
+ function J(q, le = !0) {
12889
+ const Y = q.checked;
12890
+ T.value && A(), le ? q.checked ? Q(q) : V(q) : Y ? Q(q) : V(q), h(), q.checked || B(q);
12895
12891
  }
12896
- function oe(Y) {
12897
- Y.raw[a.value] !== s.value && (A(), V(Y), h());
12892
+ function oe(q) {
12893
+ q.raw[a.value] !== s.value && (A(), V(q), h());
12898
12894
  }
12899
- function Z(Y) {
12900
- const le = o.value.find((q) => q.raw[a.value] === Y);
12895
+ function Z(q) {
12896
+ const le = o.value.find((Y) => Y.raw[a.value] === q);
12901
12897
  le && oe(le);
12902
12898
  }
12903
- function me(Y) {
12904
- const le = o.value.filter((ye) => Y.includes(ye.raw[a.value])), q = le.map((ye) => ye.raw[a.value]), te = i.value.filter((ye) => {
12899
+ function he(q) {
12900
+ const le = o.value.filter((ye) => q.includes(ye.raw[a.value])), Y = le.map((ye) => ye.raw[a.value]), te = i.value.filter((ye) => {
12905
12901
  const Fe = ye[a.value];
12906
- return !q.includes(Fe) && Y.includes(Fe);
12902
+ return !Y.includes(Fe) && q.includes(Fe);
12907
12903
  });
12908
- (le.length || te.length) && (A(), F.value && (s.value = Y[0])), le.forEach((ye) => {
12904
+ (le.length || te.length) && (A(), F.value && (s.value = q[0])), le.forEach((ye) => {
12909
12905
  V(ye);
12910
12906
  }), te.forEach((ye) => {
12911
12907
  P(ye);
12912
12908
  }), h();
12913
12909
  }
12914
- function be(Y) {
12915
- for (const le of Y) {
12910
+ function be(q) {
12911
+ for (const le of q) {
12916
12912
  if (!v.value.includes(le))
12917
12913
  continue;
12918
- const q = o.value.find((te) => te.raw[a.value] === le);
12919
- if (q)
12920
- Q(q);
12914
+ const Y = o.value.find((te) => te.raw[a.value] === le);
12915
+ if (Y)
12916
+ Q(Y);
12921
12917
  else {
12922
12918
  const te = i.value.find((ye) => ye[a.value] === le);
12923
12919
  te && W(te);
12924
12920
  }
12925
12921
  }
12926
12922
  v.value = v.value.filter(
12927
- (le) => !Y.includes(le)
12923
+ (le) => !q.includes(le)
12928
12924
  );
12929
12925
  }
12930
12926
  function Se() {
12931
- o.value.forEach((Y) => {
12932
- K(Y);
12927
+ o.value.forEach((q) => {
12928
+ K(q);
12933
12929
  }), h();
12934
12930
  }
12935
12931
  function Ve() {
12936
- o.value.forEach((Y) => {
12937
- R(Y);
12932
+ o.value.forEach((q) => {
12933
+ R(q);
12938
12934
  }), h();
12939
12935
  }
12940
12936
  function Re() {
12941
- return o.value.find((Y) => Y.raw[a.value] === s.value);
12937
+ return o.value.find((q) => q.raw[a.value] === s.value);
12942
12938
  }
12943
12939
  return {
12944
12940
  clearSelection: A,
@@ -12961,7 +12957,7 @@ function Ad(t, n, e, o, r) {
12961
12957
  selectDataItem: P,
12962
12958
  selectItem: oe,
12963
12959
  selectItemById: Z,
12964
- selectItemByIds: me,
12960
+ selectItemByIds: he,
12965
12961
  showCheckBox: f,
12966
12962
  showSelectAll: m,
12967
12963
  toggleSelectItem: J,
@@ -13094,7 +13090,7 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13094
13090
  } = l, {
13095
13091
  navigateOnKeyUp: R,
13096
13092
  navigateOnKeyDown: V
13097
- } = c, Q = (D) => (D || []).some((ie) => no(ie) ? !(ie.type === Ar || ie.type === Gt && !Q(ie.children)) : !0) ? D : null, G = (D) => {
13093
+ } = c, Q = (D) => (D || []).some((ie) => to(ie) ? !(ie.type === Ar || ie.type === Gt && !Q(ie.children)) : !0) ? D : null, G = (D) => {
13098
13094
  var ie, we, ce;
13099
13095
  return ((we = (ie = D.column) == null ? void 0 : ie.editor) == null ? void 0 : we.type) === "switch" || ((ce = D.column) == null ? void 0 : ce.dataType) === "boolean" ? {
13100
13096
  display: "flex",
@@ -13108,7 +13104,7 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13108
13104
  leftFixedGridDataStyle: J,
13109
13105
  leftFixedGridMergedDataStyle: oe,
13110
13106
  rightFixedGridDataStyle: Z,
13111
- rightFixedGridMergedDataStyle: me
13107
+ rightFixedGridMergedDataStyle: he
13112
13108
  } = m;
13113
13109
  function be(D, ie) {
13114
13110
  ie.collapse = !ie.collapse, v.value = A(ie.collapse ? "collapse" : "expand", ie, v.value);
@@ -13163,7 +13159,7 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13163
13159
  }
13164
13160
  return we;
13165
13161
  }
13166
- function Y(D, ie, we) {
13162
+ function q(D, ie, we) {
13167
13163
  return D.layer > -1 && O("div", {
13168
13164
  ref: D.setRef,
13169
13165
  key: C(D),
@@ -13178,9 +13174,12 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13178
13174
  style: G(D)
13179
13175
  }, [D.getEditor(D)]) : O("div", {
13180
13176
  class: _(D)
13181
- }, [D.formatter ? D.formatter(D, ie) : D.data != null ? D.data.toString() : D.data]);
13177
+ }, [D.formatter ? D.formatter(D, ie) : D.showTips ? O(oo, null, {
13178
+ default: () => D.data,
13179
+ contentTemplate: () => D.data
13180
+ }) : D.data]);
13182
13181
  }
13183
- function q(D, ie, we) {
13182
+ function Y(D, ie, we) {
13184
13183
  return O("div", {
13185
13184
  ref: D.setRef,
13186
13185
  key: C(D),
@@ -13212,7 +13211,7 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13212
13211
  }) : le(ce, D)])]);
13213
13212
  })]);
13214
13213
  }
13215
- const te = [q, Ve, Y];
13214
+ const te = [Y, Ve, q];
13216
13215
  function ye(D, ie) {
13217
13216
  const we = M(D);
13218
13217
  return v.value.map((ce, Ee) => te[ce.type](ce, we, Ee));
@@ -13258,7 +13257,7 @@ function Kd(t, n, e, o, r, a, i, l, s, u, c, d, f, m, v) {
13258
13257
  style: Z.value
13259
13258
  }, [ye(P.value.rightColumns.filter((D) => D.visible))]), O("div", {
13260
13259
  class: "fv-grid-merge-date",
13261
- style: me.value
13260
+ style: he.value
13262
13261
  }, [Fe(P.value.rightColumns.filter((D) => D.visible))])]);
13263
13262
  }
13264
13263
  function it() {
@@ -13299,19 +13298,19 @@ const Ir = /* @__PURE__ */ rt({
13299
13298
  A(b, z);
13300
13299
  const K = vo(t, P), R = go(t, n, p, i), V = yo(t, n, i, R, f), Q = bo(t), G = wo(t, V, Q), L = Co(t, b, V, g, i, Q, G), U = vi(t, i, G, L), J = gi(t, i, G, L), oe = xo(t, a, b, h, 0, L, U, J), {
13301
13300
  getVisualData: Z
13302
- } = oe, me = yi(P), be = _o(t, P), Se = So(t, p), {
13301
+ } = oe, he = yi(P), be = _o(t, P), Se = So(t, p), {
13303
13302
  sidebarWidth: Ve,
13304
13303
  showSidebarCheckBox: Re
13305
- } = Se, Y = To(t, b, f, P, oe, h, 0, Ve, V), {
13304
+ } = Se, q = To(t, b, f, P, oe, h, 0, Ve, V), {
13306
13305
  onWheel: le,
13307
- dataGridWidth: q,
13306
+ dataGridWidth: Y,
13308
13307
  viewPortHeight: te,
13309
13308
  viewPortWidth: ye,
13310
13309
  resetScroll: Fe,
13311
13310
  updateVisibleRowsOnLatestVisibleScope: De
13312
- } = Y, Ke = ko(t, P, s, ye, K), {
13311
+ } = q, Ke = ko(t, P, s, ye, K), {
13313
13312
  calculateColumnsSize: at
13314
- } = Ke, it = Fo(), D = Eo(s, d, b, it, Y), ie = Oo(t, n, I, b, K, M, Y), we = j(() => ({
13313
+ } = Ke, it = Fo(), D = Eo(s, d, b, it, q), ie = Oo(t, n, I, b, K, M, q), we = j(() => ({
13315
13314
  "fv-grid": !0,
13316
13315
  "fv-grid-bordered": t.showBorder,
13317
13316
  "fv-grid-horizontal-bordered": t.showHorizontalLines,
@@ -13324,31 +13323,31 @@ const Ir = /* @__PURE__ */ rt({
13324
13323
  renderGridHeader: Ee,
13325
13324
  renderGridColumnResizeOverlay: Je,
13326
13325
  shouldShowHeader: ut
13327
- } = Mo(t, n, s, c, d, I, b, ie, D, x, it, Ke, K, p, Se, z, Y, ye, f), {
13326
+ } = Mo(t, n, s, c, d, I, b, ie, D, x, it, Ke, K, p, Se, z, q, ye, f), {
13328
13327
  renderDataGridPagination: ct
13329
- } = bi(t, n, b, Y, k), {
13328
+ } = bi(t, n, b, q, k), {
13330
13329
  renderDataGridSidebar: pt
13331
- } = Io(t, R, p, Se, Y), {
13330
+ } = Io(t, R, p, Se, q), {
13332
13331
  renderDisableMask: Tt
13333
13332
  } = Do(), {
13334
13333
  renderDataGridSummery: yt
13335
13334
  } = wi(t, b, I), {
13336
13335
  renderHorizontalScrollbar: ht
13337
- } = Bo(t, s, Y), {
13336
+ } = Bo(t, s, q), {
13338
13337
  renderVerticalScrollbar: kt
13339
- } = Po(t, s, Y), {
13338
+ } = Po(t, s, q), {
13340
13339
  renderFilterPanel: bt
13341
- } = Ci(t, I, b, x, Y), {
13340
+ } = Ci(t, I, b, x, q), {
13342
13341
  renderGroupPanel: ae
13343
- } = xi(t, b, ie, M, Y);
13344
- function pe() {
13342
+ } = xi(t, b, ie, M, q);
13343
+ function me() {
13345
13344
  var et, jt;
13346
13345
  const Oe = Math.ceil(s.value.clientHeight / o);
13347
- Oe > r.value && (r.value = Oe, De()), te.value = ((et = u.value) == null ? void 0 : et.clientHeight) || 0, q.value = ((jt = s.value) == null ? void 0 : jt.clientWidth) || 0, at();
13346
+ Oe > r.value && (r.value = Oe, De()), te.value = ((et = u.value) == null ? void 0 : et.clientHeight) || 0, Y.value = ((jt = s.value) == null ? void 0 : jt.clientWidth) || 0, at();
13348
13347
  }
13349
13348
  Bt(() => {
13350
- s.value && (r.value = Math.max(Math.ceil(s.value.clientHeight / o), r.value), f.value = Z(0, h.value + 0 - 1), En(s.value, pe), at(), Nt(() => {
13351
- s.value && (q.value = s.value.clientWidth), u.value && (ye.value = u.value.clientWidth, te.value = u.value.clientHeight);
13349
+ s.value && (r.value = Math.max(Math.ceil(s.value.clientHeight / o), r.value), f.value = Z(0, h.value + 0 - 1), En(s.value, me), at(), Nt(() => {
13350
+ s.value && (Y.value = s.value.clientWidth), u.value && (ye.value = u.value.clientWidth, te.value = u.value.clientHeight);
13352
13351
  })), C.value && y();
13353
13352
  }), Xt(() => {
13354
13353
  }), Me(ye, () => {
@@ -13386,7 +13385,7 @@ const Ir = /* @__PURE__ */ rt({
13386
13385
  Oe && (a.value = Oe, Be(a.value), T(a), W(a.value), A(b, z), at());
13387
13386
  }
13388
13387
  function ee(Oe, et) {
13389
- Oe && (b.load(Oe), f.value = Z(0, h.value + 0 - 1), et != null && et.keepScrollTop ? Y.scrollTo(Y.offsetY.value) : Fe(), Re.value && S.value && _()), V.clear();
13388
+ Oe && (b.load(Oe), f.value = Z(0, h.value + 0 - 1), et != null && et.keepScrollTop ? q.scrollTo(q.offsetY.value) : Fe(), Re.value && S.value && _()), V.clear();
13390
13389
  }
13391
13390
  function re(Oe) {
13392
13391
  k.updatePagination(Oe);
@@ -13436,10 +13435,10 @@ const Ir = /* @__PURE__ */ rt({
13436
13435
  return p.currentSelectedDataId.value;
13437
13436
  }
13438
13437
  function Ze() {
13439
- Y.scrollToBottom();
13438
+ q.scrollToBottom();
13440
13439
  }
13441
13440
  function ot(Oe) {
13442
- Y.scrollToRowByIndex(Oe);
13441
+ q.scrollToRowByIndex(Oe);
13443
13442
  }
13444
13443
  const Kt = {
13445
13444
  activeRowById: xe,
@@ -13470,7 +13469,7 @@ const Ir = /* @__PURE__ */ rt({
13470
13469
  n.expose(Kt);
13471
13470
  const Ue = _i(t, n, Kt, I, V, f), {
13472
13471
  renderDataArea: Ft
13473
- } = Kd(t, n, u, c, d, me, be, I, V, M, Ue, R, oe, Y, f), Et = j(() => !f.value || !f.value.length), {
13472
+ } = Kd(t, n, u, c, d, he, be, I, V, M, Ue, R, oe, q, f), Et = j(() => !f.value || !f.value.length), {
13474
13473
  renderEmpty: Ot
13475
13474
  } = Vo(n);
13476
13475
  return () => O("div", {