@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,19 +1,19 @@
1
- var Bo = Object.defineProperty;
2
- var Vo = (n, t, e) => t in n ? Bo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var R = (n, t, e) => Vo(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as S, watch as Ee, createVNode as M, createTextVNode as Nt, computed as q, defineComponent as rt, Fragment as Ut, reactive as yt, createApp as Wn, onUnmounted as rn, onMounted as Lt, Transition as Ln, mergeProps as Bt, onBeforeUnmount as $n, withDirectives as Ro, resolveDirective as Ho, inject as Rt, provide as Wo, triggerRef as Lo, isVNode as $o, nextTick as an, onBeforeMount as jo, Teleport as Ao, shallowRef as qo, render as sn, h as zo, cloneVNode as Go } from "vue";
5
- import { useResizeObserver as jn } from "@vueuse/core";
6
- import { isPlainObject as kn, cloneDeep as Tt, isUndefined as ut, throttle as Yo } from "lodash-es";
7
- import { useIdentify as Uo, useGroupData as Xo, useFilter as Qo, useHierarchy as Ko, useLoading as Jo, useDataView as Zo, useSelection as er, useSelectHierarchyItem as tr, useDataViewContainerStyle as nr, useCommandColumn as or, useColumn as rr, useSort as ar, useGroupColumn as ir, useRow as sr, useEdit as lr, useVisualDataBound as ur, useVisualDataCell as cr, useVisualDataRow as dr, useVisualData as fr, useCellPosition as mr, useSidebar as pr, useVirtualScroll as hr, useFitColumn as vr, useFilterHistory as gr, useColumnFilter as yr, useDragColumn as br, getColumnHeader as wr, getSidebar as Cr, getDisableMask as _r, getHorizontalScrollbar as xr, getVerticalScrollbar as Sr, getEmpty as Tr } from "../data-view/index.esm.js";
1
+ var No = Object.defineProperty;
2
+ var Bo = (n, t, e) => t in n ? No(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var R = (n, t, e) => Bo(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { ref as S, watch as Ee, createVNode as M, createTextVNode as Nt, computed as q, defineComponent as rt, Fragment as Ut, reactive as yt, createApp as Hn, onUnmounted as rn, onMounted as Lt, Transition as Wn, mergeProps as Bt, onBeforeUnmount as Ln, withDirectives as Vo, resolveDirective as Ro, inject as Rt, provide as Ho, triggerRef as Wo, isVNode as Lo, nextTick as an, onBeforeMount as $o, Teleport as jo, shallowRef as Ao, render as sn, h as qo, cloneVNode as zo } from "vue";
5
+ import { useResizeObserver as $n } from "@vueuse/core";
6
+ import { isPlainObject as kn, cloneDeep as Tt, isUndefined as ut, throttle as Go } from "lodash-es";
7
+ import { useIdentify as Yo, useGroupData as Uo, useFilter as Xo, useHierarchy as Qo, useLoading as Ko, useDataView as Jo, useSelection as Zo, useSelectHierarchyItem as er, useDataViewContainerStyle as tr, useCommandColumn as nr, useColumn as or, useSort as rr, useGroupColumn as ar, useRow as ir, useEdit as sr, useVisualDataBound as lr, useVisualDataCell as ur, useVisualDataRow as cr, useVisualData as dr, useCellPosition as fr, useSidebar as mr, useVirtualScroll as pr, useFitColumn as hr, useFilterHistory as vr, useColumnFilter as gr, useDragColumn as yr, getColumnHeader as br, getSidebar as wr, getDisableMask as Cr, getHorizontalScrollbar as _r, getVerticalScrollbar as xr, getEmpty as Sr } from "../data-view/index.esm.js";
8
8
  import "../modal/index.esm.js";
9
- import kr from "../transfer/index.esm.js";
10
- import Er from "../tabs/index.esm.js";
11
- import Fr from "../order/index.esm.js";
9
+ import Tr from "../transfer/index.esm.js";
10
+ import kr from "../tabs/index.esm.js";
11
+ import Er from "../order/index.esm.js";
12
12
  import "../condition/index.esm.js";
13
- import { FCheckbox as Mr } from "../checkbox/index.esm.js";
14
- import { useGuid as Or, resolveField as ot, FormSchemaEntityFieldTypeName as En, getCustomClass as ln, useCommonUtils as Ir, useDateFormat as Dr, useNumberFormat as Pr, setFieldValue as dn, withInstall as Nr } from "../common/index.esm.js";
15
- import Br from "../filter-bar/index.esm.js";
16
- import Fn from "../tooltip/index.esm.js";
13
+ import { FCheckbox as Fr } from "../checkbox/index.esm.js";
14
+ import { useGuid as Mr, resolveField as ot, FormSchemaEntityFieldTypeName as En, getCustomClass as ln, useCommonUtils as Or, useDateFormat as Ir, useNumberFormat as Dr, setFieldValue as dn, withInstall as Pr } from "../common/index.esm.js";
15
+ import Nr from "../filter-bar/index.esm.js";
16
+ import Br from "../tooltip/index.esm.js";
17
17
  import Vr from "../pagination/index.esm.js";
18
18
  import Rr from "../button/index.esm.js";
19
19
  import Hr from "../search-box/index.esm.js";
@@ -28,8 +28,8 @@ import Gr from "../../designer/button-edit/index.esm.js";
28
28
  import Yr from "../button-group/index.esm.js";
29
29
  import Ur from "../calendar/index.esm.js";
30
30
  import Xr from "../capsule/index.esm.js";
31
- import Mn from "../../designer/checkbox/index.esm.js";
32
- import On from "../../designer/checkbox-group/index.esm.js";
31
+ import Fn from "../../designer/checkbox/index.esm.js";
32
+ import Mn from "../../designer/checkbox-group/index.esm.js";
33
33
  import fn from "../combo-list/index.esm.js";
34
34
  import Qr from "../combo-tree/index.esm.js";
35
35
  import Kr from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import Ua from "../code-editor/index.esm.js";
87
87
  import Xa from "../html-template/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
- const An = {}, qn = {};
90
+ const jn = {}, An = {};
91
91
  function gn(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 ? gn(t[s]) : Tt(t[s].default)), i), {});
93
93
  if (e && (!r || !o.find((i) => i === "id"))) {
@@ -110,12 +110,12 @@ function Qa(n) {
110
110
  type: e
111
111
  };
112
112
  }
113
- function zn(n, t = {}, e) {
114
- const o = An[n];
113
+ function qn(n, t = {}, e) {
114
+ const o = jn[n];
115
115
  if (o) {
116
116
  let r = Qa(o);
117
- const a = qn[n];
118
- return r = a ? a({ getSchemaByType: zn }, r, t, e) : r, r;
117
+ const a = An[n];
118
+ return r = a ? a({ getSchemaByType: qn }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
121
121
  }
@@ -123,7 +123,7 @@ function Ka(n, t) {
123
123
  const e = gn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && kn(o[r]) && kn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function Gn(n, t) {
126
+ function zn(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 Gn(n, t) {
140
140
  }
141
141
  function Ja(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = Ka(n, t);
143
- return Gn(o, e);
143
+ return zn(o, e);
144
144
  }
145
145
  function Za(n = {}) {
146
146
  function t(u, c, d, m) {
@@ -244,9 +244,9 @@ const de = {
244
244
  }, ei = {}, ti = {};
245
245
  Za();
246
246
  function $t(n, t, e = /* @__PURE__ */ new Map(), o = (i, s, l, u) => s, r = {}, a = (i) => i) {
247
- return An[t.title] = t, qn[t.title] = o, ei[t.title] = r, ti[t.title] = a, (i = {}, s = !0) => {
247
+ return jn[t.title] = t, An[t.title] = o, ei[t.title] = r, ti[t.title] = a, (i = {}, s = !0) => {
248
248
  if (!s)
249
- return Gn(i, e);
249
+ return zn(i, e);
250
250
  const l = Ja(i, t, e), u = Object.keys(n).reduce((c, d) => (c[d] = n[d].default, c), {});
251
251
  return Object.assign(u, l);
252
252
  };
@@ -280,7 +280,7 @@ function ri() {
280
280
  updateColumns: n
281
281
  };
282
282
  }
283
- const Yn = /* @__PURE__ */ new Map([
283
+ const Gn = /* @__PURE__ */ new Map([
284
284
  ["appearance", yn],
285
285
  ["column", "columnOption"]
286
286
  ]);
@@ -303,7 +303,7 @@ function si(n, t, e) {
303
303
  const o = n.getSchemaByType("content-container");
304
304
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
305
305
  }
306
- function Un(n, t, e) {
306
+ function Yn(n, t, e) {
307
307
  const r = e.parentComponentInstance.schema.type, a = r === "section" || r === "tab-page";
308
308
  t.appearance = { class: "f-component-grid" };
309
309
  const s = (a ? si : ii)(n, t, e);
@@ -1089,7 +1089,7 @@ const li = "https://json-schema.org/draft/2020-12/schema", ui = "https://farris-
1089
1089
  ], hi = {
1090
1090
  onSelectionChange: "行切换事件",
1091
1091
  onClickRow: "行点击事件"
1092
- }, Xn = {
1092
+ }, Un = {
1093
1093
  $schema: li,
1094
1094
  $id: ui,
1095
1095
  title: ci,
@@ -1340,7 +1340,7 @@ const li = "https://json-schema.org/draft/2020-12/schema", ui = "https://farris-
1340
1340
  width: { type: Number, default: -1 },
1341
1341
  /** 启用虚拟渲染 */
1342
1342
  virtualized: { type: Boolean, default: !1 }
1343
- }, vi = $t(bn, Xn, Yn, Un), gi = oi(), yi = ni(), Qn = Object.assign({}, bn, { componentId: { type: String, default: "" } }), bi = $t(Qn, Xn, Yn, Un), wi = ri();
1343
+ }, vi = $t(bn, Un, Gn, Yn), gi = oi(), yi = ni(), Xn = Object.assign({}, bn, { componentId: { type: String, default: "" } }), bi = $t(Xn, Un, Gn, Yn), wi = ri();
1344
1344
  var tt = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(tt || {}), pt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(pt || {}), zt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(zt || {}), et = /* @__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))(et || {});
1345
1345
  function Ci(n, t) {
1346
1346
  var p;
@@ -1546,38 +1546,38 @@ function ki(n, t, e, o, r, a, i, s, l, u, c, d, m) {
1546
1546
  } = _i(n, o, i), {
1547
1547
  treeNodeIconsClass: N
1548
1548
  } = xi(n, C, w);
1549
- function X(A, te) {
1549
+ function X(A, oe) {
1550
1550
  const be = A.raw[w.value];
1551
1551
  return {
1552
1552
  "fv-tree-node-toggle": be && A.collapse,
1553
1553
  "fv-tree-node-toggle-minus": be && !A.collapse
1554
1554
  };
1555
1555
  }
1556
- function j(A, te) {
1557
- A.stopPropagation(), D(te);
1556
+ function j(A, oe) {
1557
+ A.stopPropagation(), D(oe);
1558
1558
  }
1559
1559
  function W(A) {
1560
1560
  A.stopPropagation();
1561
1561
  }
1562
- function G(A, te) {
1562
+ function G(A, oe) {
1563
1563
  return M("div", {
1564
1564
  class: X(A),
1565
1565
  onClick: (be) => j(be, A),
1566
1566
  onDblclick: W
1567
1567
  }, null);
1568
1568
  }
1569
- function K(A, te) {
1569
+ function K(A, oe) {
1570
1570
  return v.value && M("div", {
1571
1571
  id: "treeNodeIcons",
1572
- class: N(A, te)
1572
+ class: N(A, oe)
1573
1573
  }, null);
1574
1574
  }
1575
1575
  function ae(A) {
1576
1576
  _.value ? (A.checked ? T(A) : k(A), P(A)) : f(A);
1577
1577
  }
1578
- function Z(A, te) {
1579
- return E.value && M(Mr, {
1580
- id: "checkbox_for_" + F(A, te.index),
1578
+ function Z(A, oe) {
1579
+ return E.value && M(Fr, {
1580
+ id: "checkbox_for_" + F(A, oe.index),
1581
1581
  indeterminate: A.indeterminate,
1582
1582
  disabled: A.disabled,
1583
1583
  checked: A.checked,
@@ -1585,61 +1585,57 @@ function ki(n, t, e, o, r, a, i, s, l, u, c, d, m) {
1585
1585
  onChange: () => ae(A)
1586
1586
  }, null);
1587
1587
  }
1588
- function fe(A, te) {
1588
+ function pe(A, oe) {
1589
1589
  return M("span", {
1590
- title: te.data,
1591
1590
  style: "user-select:none"
1592
1591
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
1593
- cell: te,
1592
+ cell: oe,
1594
1593
  row: A
1595
- }) : te.mode === tt.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, A) : te.data != null ? te.data.toString() : te.data]);
1594
+ }) : oe.mode === tt.editing ? oe.getEditor(oe) : oe.formatter ? oe.formatter(oe, A) : oe.showTips ? M(Br, null, {
1595
+ default: () => oe.data,
1596
+ contentTemplate: () => oe.data
1597
+ }) : oe.data]);
1596
1598
  }
1597
- function ve(A, te) {
1599
+ function ve(A, oe) {
1598
1600
  return M("div", {
1599
- class: Q(te)
1600
- }, [te.showTips ? M(Fn, null, {
1601
- default: () => fe(A, te),
1602
- contentTemplate: () => fe(A, te)
1603
- }) : fe(A, te)]);
1601
+ class: Q(oe)
1602
+ }, [pe(A, oe)]);
1604
1603
  }
1605
- function xe(A, te, be) {
1604
+ function xe(A, oe, be) {
1606
1605
  const ke = B(A);
1607
1606
  return M("div", {
1608
- ref: te.setRef,
1609
- key: F(A, te.index),
1607
+ ref: oe.setRef,
1608
+ key: F(A, oe.index),
1610
1609
  class: "fv-grid-hierarchy-cell",
1611
- style: I(te, be)
1610
+ style: I(oe, be)
1612
1611
  }, [M("div", {
1613
- class: V(te),
1612
+ class: V(oe),
1614
1613
  style: ke
1615
- }, [G(A), K(A, te), Z(A, te), ve(A, te)])]);
1614
+ }, [G(A), K(A, oe), Z(A, oe), ve(A, oe)])]);
1616
1615
  }
1617
- function Pe(A, te, be) {
1616
+ function Pe(A, oe, be) {
1618
1617
  return M("div", {
1619
- ref: te.setRef,
1620
- key: F(A, te.index),
1621
- class: h(te),
1622
- style: I(te, be),
1623
- onClick: (ke) => p(ke, te, A, te.column)
1618
+ ref: oe.setRef,
1619
+ key: F(A, oe.index),
1620
+ class: h(oe),
1621
+ style: I(oe, be),
1622
+ onClick: (ke) => p(ke, oe, A, oe.column)
1624
1623
  }, [M("div", {
1625
- class: V(te)
1624
+ class: V(oe)
1626
1625
  }, [M("div", {
1627
- class: Q(te)
1628
- }, [te.showTips ? M(Fn, null, {
1629
- default: () => fe(A, te),
1630
- contentTemplate: () => fe(A, te)
1631
- }) : fe(A, te)])])]);
1626
+ class: Q(oe)
1627
+ }, [pe(A, oe)])])]);
1632
1628
  }
1633
- function Re(A, te) {
1634
- return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === A.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === A.field;
1629
+ function Re(A, oe) {
1630
+ return oe === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === A.field || oe === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === A.field;
1635
1631
  }
1636
- function Y(A, te) {
1632
+ function Y(A, oe) {
1637
1633
  t.emit("dblclickNode", {
1638
1634
  $event: A,
1639
- node: te.raw
1635
+ node: oe.raw
1640
1636
  });
1641
1637
  }
1642
- function ce(A, te, be = "primary", ke) {
1638
+ function ce(A, oe, be = "primary", ke) {
1643
1639
  return M("div", {
1644
1640
  ref: A.setRef,
1645
1641
  key: z(A),
@@ -1649,7 +1645,7 @@ function ki(n, t, e, o, r, a, i, s, l, u, c, d, m) {
1649
1645
  onMouseout: (De) => g(De, A),
1650
1646
  onClick: (De) => y(De, A),
1651
1647
  onDblclick: (De) => Y(De, A)
1652
- }, [Object.values(A.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(A, De, te) : Pe(A, De, te))]);
1648
+ }, [Object.values(A.data).filter((De) => oe[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(A, De, oe) : Pe(A, De, oe))]);
1653
1649
  }
1654
1650
  return {
1655
1651
  renderDataRow: ce
@@ -1862,7 +1858,7 @@ function Ii(n, t) {
1862
1858
  }
1863
1859
  function Di(n, t) {
1864
1860
  var b;
1865
- Or();
1861
+ Mr();
1866
1862
  const { idField: e } = t, o = S(n.summary), r = S(n.group), a = S(((b = n.group) == null ? void 0 : b.groupFields) || []), i = q(() => {
1867
1863
  var g;
1868
1864
  return (g = n.group) == null ? void 0 : g.enable;
@@ -1960,8 +1956,8 @@ function Pi(n, t, e, o) {
1960
1956
  d.clear(), j.reduce((G, K) => {
1961
1957
  const ae = K[u.value] !== void 0 ? K[u.value] : "";
1962
1958
  if (ae && W.has(ae)) {
1963
- const fe = W.get(ae), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
1964
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
1959
+ const pe = W.get(ae), ve = isNaN(Number(pe.__fv_layer__)) ? 1 : Number(pe.__fv_layer__);
1960
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = pe.__fv_index__, pe.__fv_hasChildren__ = !0;
1965
1961
  } else
1966
1962
  K.__fv_layer__ = 1;
1967
1963
  const Z = G.has(ae) ? G.get(ae) : [];
@@ -2009,8 +2005,8 @@ function Pi(n, t, e, o) {
2009
2005
  }
2010
2006
  function _(j, W, G) {
2011
2007
  Array.from(W.keys()).forEach((K) => {
2012
- W.get(K).reduce((Z, fe) => {
2013
- const ve = fe[i.value], xe = j.get(fe[i.value]), Pe = j.get(K), Re = G.get(K);
2008
+ W.get(K).reduce((Z, pe) => {
2009
+ const ve = pe[i.value], xe = j.get(pe[i.value]), Pe = j.get(K), Re = G.get(K);
2014
2010
  return Pe && Re && (Pe.children.set(ve, xe), Pe.children.set(ve, xe), xe.parentId = K, xe.parentIndex = Pe.index, xe.parents.set(K, Pe)), Z;
2015
2011
  }, j);
2016
2012
  });
@@ -2074,7 +2070,7 @@ function Pi(n, t, e, o) {
2074
2070
  }
2075
2071
  function z(j, W, G = 0) {
2076
2072
  j.forEach((K) => {
2077
- const ae = E(K), Z = K.__fv_layer__ <= G, fe = W === "ToCollapse" ? K.__fv_layer__ <= G : !(K.__fv_layer__ <= G), ve = Z ? fe : K[s.value];
2073
+ const ae = E(K), Z = K.__fv_layer__ <= G, pe = W === "ToCollapse" ? K.__fv_layer__ <= G : !(K.__fv_layer__ <= G), ve = Z ? pe : K[s.value];
2078
2074
  K[s.value] = ae || ve;
2079
2075
  });
2080
2076
  for (const [K, ae] of d.entries())
@@ -2089,8 +2085,8 @@ function Pi(n, t, e, o) {
2089
2085
  }
2090
2086
  function L(j) {
2091
2087
  j.forEach((W, G) => {
2092
- var fe;
2093
- const K = W[i.value], ae = d.has(K) ? (fe = d.get(K)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], Z = g(K, G);
2088
+ var pe;
2089
+ const K = W[i.value], ae = d.has(K) ? (pe = d.get(K)) == null ? void 0 : pe.map((ve) => ve.__fv_index__) : [], Z = g(K, G);
2094
2090
  W.__fv_graph_node__ = Z, W.__fv_children_index__ = ae, W.__fv_descendant_index__ = [...ae], W.__fv_parents__ = /* @__PURE__ */ new Map(), E(W) && (W[s.value] = !0);
2095
2091
  });
2096
2092
  }
@@ -2103,18 +2099,18 @@ function Pi(n, t, e, o) {
2103
2099
  function B(j, W, G) {
2104
2100
  const ae = G.value[j][i.value], Z = c.get(ae);
2105
2101
  if (Z) {
2106
- const fe = c.get(Z.parentId);
2102
+ const pe = c.get(Z.parentId);
2107
2103
  let ve = G.value.length - 1;
2108
- if (fe) {
2109
- const xe = Array.from(fe.children.keys()).indexOf(Z.id);
2110
- if (xe === fe.children.size - 1) {
2111
- const Re = Array.from(fe.descendant.values())[fe.descendant.size - 1];
2104
+ if (pe) {
2105
+ const xe = Array.from(pe.children.keys()).indexOf(Z.id);
2106
+ if (xe === pe.children.size - 1) {
2107
+ const Re = Array.from(pe.descendant.values())[pe.descendant.size - 1];
2112
2108
  ve = G.value.findIndex((ce) => ce[i.value] === Re.id) + 1;
2113
2109
  } else {
2114
- const Re = Array.from(fe.children.values())[xe + 1];
2110
+ const Re = Array.from(pe.children.values())[xe + 1];
2115
2111
  ve = G.value.findIndex((ce) => ce[i.value] === Re.id);
2116
2112
  }
2117
- W[l.value] = !1, W[u.value] = fe.id, G.value.splice(ve, 0, W);
2113
+ W[l.value] = !1, W[u.value] = pe.id, G.value.splice(ve, 0, W);
2118
2114
  }
2119
2115
  }
2120
2116
  }
@@ -2287,7 +2283,7 @@ const Ni = {
2287
2283
  }, null)]);
2288
2284
  }
2289
2285
  });
2290
- class Kn {
2286
+ class Qn {
2291
2287
  constructor() {
2292
2288
  R(this, "notifyRefs", []);
2293
2289
  R(this, "globalConfig", yt({}));
@@ -2308,7 +2304,7 @@ class Kn {
2308
2304
  ...t
2309
2305
  }), a = document.createElement("div");
2310
2306
  a.style.display = "contents";
2311
- const i = Wn({
2307
+ const i = Hn({
2312
2308
  setup() {
2313
2309
  var u;
2314
2310
  const s = S();
@@ -2328,7 +2324,7 @@ class Kn {
2328
2324
  document.body.removeChild(a);
2329
2325
  }), Lt(() => {
2330
2326
  e.updateNotifyPositionForCreate(r, s);
2331
- }), () => M(Ln, {
2327
+ }), () => M(Wn, {
2332
2328
  mode: "out-in",
2333
2329
  name: "fade",
2334
2330
  appear: !0
@@ -2409,7 +2405,7 @@ class Kn {
2409
2405
  const Vi = Symbol("NOTIFY_SERVICE_TOKEN");
2410
2406
  Qt.install = (n) => {
2411
2407
  n.component(Qt.name, Qt), n.component(mn.name, mn);
2412
- const t = new Kn();
2408
+ const t = new Qn();
2413
2409
  n.provide(Vi, t), n.provide("FNotifyService", t);
2414
2410
  };
2415
2411
  function Ri(n, t, e, o, r) {
@@ -2443,80 +2439,80 @@ function Ri(n, t, e, o, r) {
2443
2439
  function W() {
2444
2440
  return j.value && j.value.enable && j.value.size > 0 ? j.value.size : z.value.length;
2445
2441
  }
2446
- const G = S(1), K = q(() => j.value && j.value.enable && j.value.mode !== "server"), ae = q(() => j.value && j.value.enable && j.value.mode === "server"), Z = new Kn();
2447
- function fe(U, pe) {
2448
- const Ce = Math.ceil(U.length / pe);
2442
+ const G = S(1), K = q(() => j.value && j.value.enable && j.value.mode !== "server"), ae = q(() => j.value && j.value.enable && j.value.mode === "server"), Z = new Qn();
2443
+ function pe(U, me) {
2444
+ const Ce = Math.ceil(U.length / me);
2449
2445
  let Me = 0;
2450
- const H = [], ee = [], oe = [];
2446
+ const H = [], ee = [], ne = [];
2451
2447
  for (; Me < Ce; ) {
2452
- const ne = U.slice(Me * pe, (Me + 1) * pe), we = p(h.value, ne, t);
2448
+ const te = U.slice(Me * me, (Me + 1) * me), we = p(h.value, te, t);
2453
2449
  ee[Me] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, H.push(...we), Me++;
2454
2450
  }
2455
- return ee.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
2451
+ return ee.reduce((te, we, ye) => (te = te + we, ne.push(te), te), 0), {
2456
2452
  groupData: H,
2457
2453
  groupRowSizeList: ee,
2458
- accumulateGroupRowSize: oe
2454
+ accumulateGroupRowSize: ne
2459
2455
  };
2460
2456
  }
2461
2457
  function ve() {
2462
2458
  var we;
2463
2459
  z.value = x.value, K.value && (X.value = z.value.length), O.value && !K.value && (z.value = p(h.value, x.value, t)), N = B.value.reduce((ye, Be) => (ye.set(Be, 0), ye), N);
2464
- const U = 0, pe = W(), Ce = (G.value - 1) * pe;
2465
- let H = Ce > z.value.length - 1 || ae.value ? U : Ce, ee = ae.value ? z.value.length : Math.min(H + pe, z.value.length);
2460
+ const U = 0, me = W(), Ce = (G.value - 1) * me;
2461
+ let H = Ce > z.value.length - 1 || ae.value ? U : Ce, ee = ae.value ? z.value.length : Math.min(H + me, z.value.length);
2466
2462
  if (O.value && K.value) {
2467
- const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Te } = fe(x.value, pe);
2463
+ const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Te } = pe(x.value, me);
2468
2464
  z.value = Be;
2469
2465
  const He = Te[G.value - 1];
2470
- H += G.value - 2 < 0 ? 0 : ye[G.value - 2], ee = H + pe + He;
2466
+ H += G.value - 2 < 0 ? 0 : ye[G.value - 2], ee = H + me + He;
2471
2467
  }
2472
- let oe = 0;
2473
- const ne = [];
2468
+ let ne = 0;
2469
+ const te = [];
2474
2470
  if (z.value.length) {
2475
2471
  F(z.value);
2476
2472
  const ye = P.value !== n.idField;
2477
2473
  for (let Be = H; Be < ee; Be++) {
2478
2474
  const Te = z.value[Be];
2479
- Te.__fv_data_grid_group_row__ ? (oe = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (oe++, Te.__fv_data_index__ = oe + (G.value - 1) * pe), Te.__fv_index__ = Be, Te.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[P.value] = Be), B.value.forEach((He) => {
2475
+ Te.__fv_data_grid_group_row__ ? (ne = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (ne++, Te.__fv_data_index__ = ne + (G.value - 1) * me), Te.__fv_index__ = Be, Te.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[P.value] = Be), B.value.forEach((He) => {
2480
2476
  const at = N.get(He) || 0;
2481
2477
  N.set(He, at + Te[He]);
2482
- }), ne.push(Te);
2478
+ }), te.push(Te);
2483
2479
  }
2484
2480
  }
2485
- return w.value && _(ne), $.value = [...ne], ne;
2481
+ return w.value && _(te), $.value = [...te], te;
2486
2482
  }
2487
2483
  const xe = S(ve()), Pe = q(() => (D.value, xe.value.filter((U) => w.value ? U.__fv_visible__ !== !1 && C(U) : U.__fv_visible__ !== !1)));
2488
2484
  function Re() {
2489
- Pe.value.forEach((U, pe) => (U.__fv_visible_index__ = pe, U));
2485
+ Pe.value.forEach((U, me) => (U.__fv_visible_index__ = me, U));
2490
2486
  }
2491
- function Y(U, pe, Ce = !1) {
2492
- const H = (Ce ? ve() : [...$.value]).filter((ne) => e.apply(ne)), ee = U && U.length ? H.filter((ne) => U.reduce((we, ye) => we && ye.filter(ne), !0)) : H, oe = pe && pe.length ? ee.sort((ne, we) => {
2493
- const ye = [...pe], Be = ye.shift();
2494
- let Te = Be.compare(ne[Be.field], we[Be.field]);
2487
+ function Y(U, me, Ce = !1) {
2488
+ const H = (Ce ? ve() : [...$.value]).filter((te) => e.apply(te)), ee = U && U.length ? H.filter((te) => U.reduce((we, ye) => we && ye.filter(te), !0)) : H, ne = me && me.length ? ee.sort((te, we) => {
2489
+ const ye = [...me], Be = ye.shift();
2490
+ let Te = Be.compare(te[Be.field], we[Be.field]);
2495
2491
  for (; Te === 0 && ye.length !== 0; ) {
2496
2492
  const He = ye.shift();
2497
- He && (Te = He.compare(ne[He.field], we[He.field]));
2493
+ He && (Te = He.compare(te[He.field], we[He.field]));
2498
2494
  }
2499
2495
  return Te;
2500
2496
  }) : ee;
2501
- return xe.value = oe.map((ne, we) => {
2502
- if (ne.__fv_data_grid_group_row__) {
2503
- const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
2504
- ne.__fv_data_grid_group_collapse__ = !!a.get(ye);
2497
+ return xe.value = ne.map((te, we) => {
2498
+ if (te.__fv_data_grid_group_row__) {
2499
+ const ye = `group_of_${te.__fv_data_grid_group_field__}_${te.__fv_data_grid_group_value__}`;
2500
+ te.__fv_data_grid_group_collapse__ = !!a.get(ye);
2505
2501
  }
2506
- return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
2502
+ return te.__fv_index__ = we, te.__fv_visible_index__ = we, te;
2507
2503
  }), xe.value;
2508
2504
  }
2509
2505
  function ce(U) {
2510
- return u.clear(), d.value = U, d.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), u), Y([], d.value);
2506
+ return u.clear(), d.value = U, d.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), u), Y([], d.value);
2511
2507
  }
2512
- function A(U, pe) {
2513
- return u.set(U, pe), d.value = Array.from(u.values()), Y([], d.value);
2508
+ function A(U, me) {
2509
+ return u.set(U, me), d.value = Array.from(u.values()), Y([], d.value);
2514
2510
  }
2515
- function te(U) {
2511
+ function oe(U) {
2516
2512
  return u.delete(U), d.value = Array.from(u.values()), Y([], d.value);
2517
2513
  }
2518
- function be(U, pe) {
2519
- return i.set(U, pe), c.value = Array.from(i.values()), Y([], Array.from(u.values()));
2514
+ function be(U, me) {
2515
+ return i.set(U, me), c.value = Array.from(i.values()), Y([], Array.from(u.values()));
2520
2516
  }
2521
2517
  function ke(U) {
2522
2518
  return i.delete(U), c.value = Array.from(i.values()), Y([], Array.from(u.values()), !0);
@@ -2524,15 +2520,15 @@ function Ri(n, t, e, o, r) {
2524
2520
  function De() {
2525
2521
  return i.clear(), c.value = [], Y([], Array.from(u.values()), !0);
2526
2522
  }
2527
- function nt(U, pe) {
2528
- const Ce = `group_of_${U}_${pe}`;
2523
+ function nt(U, me) {
2524
+ const Ce = `group_of_${U}_${me}`;
2529
2525
  a.set(Ce, !0);
2530
- const Me = (H) => H[U] !== pe;
2531
- return s.set(`collapse_${U}_${pe}`, {
2526
+ const Me = (H) => H[U] !== me;
2527
+ return s.set(`collapse_${U}_${me}`, {
2532
2528
  field: U,
2533
2529
  fieldName: U,
2534
2530
  fieldType: "string",
2535
- filterValue: pe,
2531
+ filterValue: me,
2536
2532
  filter: Me
2537
2533
  }), Y(Array.from(s.values()), Array.from(u.values()));
2538
2534
  }
@@ -2542,23 +2538,23 @@ function Ri(n, t, e, o, r) {
2542
2538
  function ct(U) {
2543
2539
  g(xe.value, U);
2544
2540
  }
2545
- function J(U, pe) {
2546
- const Ce = `group_of_${U}_${pe}`;
2547
- return a.set(Ce, !1), s.delete(`collapse_${U}_${pe}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
2541
+ function J(U, me) {
2542
+ const Ce = `group_of_${U}_${me}`;
2543
+ return a.set(Ce, !1), s.delete(`collapse_${U}_${me}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
2548
2544
  }
2549
2545
  function Se(U) {
2550
- const pe = U.raw[P.value], Ce = (Me) => !Me.__fv_parents__.has(pe);
2551
- l.set(`fold_${pe}`, {
2546
+ const me = U.raw[P.value], Ce = (Me) => !Me.__fv_parents__.has(me);
2547
+ l.set(`fold_${me}`, {
2552
2548
  field: "id",
2553
2549
  fieldName: "id",
2554
2550
  fieldType: "string",
2555
- filterValue: String(pe),
2551
+ filterValue: String(me),
2556
2552
  filter: Ce
2557
2553
  }), Y(Array.from(l.values()), Array.from(u.values())), _(xe.value);
2558
2554
  }
2559
2555
  function Ie(U) {
2560
- const pe = U[P.value];
2561
- l.delete(`fold_${pe}`);
2556
+ const me = U[P.value];
2557
+ l.delete(`fold_${me}`);
2562
2558
  }
2563
2559
  function qe(U) {
2564
2560
  Ie(U.raw), Y(Array.from(l.values()), Array.from(u.values()), !0), _(xe.value);
@@ -2571,11 +2567,11 @@ function Ri(n, t, e, o, r) {
2571
2567
  const Ce = n.hierarchy && U && U.length && U[0].children ? L(U) : U;
2572
2568
  x.value = Ce, Ve();
2573
2569
  }
2574
- function vt(U, pe, Ce) {
2575
- return (U && U.length ? xe.value.filter((H, ee) => U.reduce((oe, ne) => oe && ne.filter(H), !0)) : xe.value).slice(pe, Ce);
2570
+ function vt(U, me, Ce) {
2571
+ return (U && U.length ? xe.value.filter((H, ee) => U.reduce((ne, te) => ne && te.filter(H), !0)) : xe.value).slice(me, Ce);
2576
2572
  }
2577
2573
  function bt(U) {
2578
- const pe = W(), Ce = Math.ceil(X.value / pe);
2574
+ const me = W(), Ce = Math.ceil(X.value / me);
2579
2575
  0 <= U && U <= Ce && (G.value = U, Ve());
2580
2576
  }
2581
2577
  function dt(U) {
@@ -2594,32 +2590,32 @@ function Ri(n, t, e, o, r) {
2594
2590
  Ie(Me), f(U, Ce, x), Ve();
2595
2591
  }
2596
2592
  function gt(U) {
2597
- const pe = U ? U - 1 : 0;
2598
- x.value.splice(pe, 1), Ve();
2593
+ const me = U ? U - 1 : 0;
2594
+ x.value.splice(me, 1), Ve();
2599
2595
  }
2600
2596
  function Ft(U) {
2601
- const pe = x.value.findIndex((Ce) => Ce[P.value] === U);
2602
- pe !== -1 && (x.value.splice(pe, 1), Ve());
2597
+ const me = x.value.findIndex((Ce) => Ce[P.value] === U);
2598
+ me !== -1 && (x.value.splice(me, 1), Ve());
2603
2599
  }
2604
2600
  function Ct(U) {
2605
- const pe = U > -1 ? x.value[U] : null;
2606
- if (!(pe && pe.deletable !== !1))
2601
+ const me = U > -1 ? x.value[U] : null;
2602
+ if (!(me && me.deletable !== !1))
2607
2603
  return !1;
2608
- x.value = v(pe, x.value), Ve();
2604
+ x.value = v(me, x.value), Ve();
2609
2605
  }
2610
2606
  function re() {
2611
2607
  const U = s.size > 0 ? Array.from(s.values()) : [];
2612
2608
  return Y(U, Array.from(u.values()));
2613
2609
  }
2614
- function me(U) {
2610
+ function fe(U) {
2615
2611
  j.value.size = U;
2616
2612
  }
2617
2613
  function ge(U) {
2618
- j.value && (me(U), Ve());
2614
+ j.value && (fe(U), Ve());
2619
2615
  }
2620
- function Ne(U, pe) {
2616
+ function Ne(U, me) {
2621
2617
  const Ce = x.value[Number(U) - 1];
2622
- Ce.editable !== !1 ? (Ce.name = pe, Ve()) : Z.show({
2618
+ Ce.editable !== !1 ? (Ce.name = me, Ve()) : Z.show({
2623
2619
  showCloseButton: !1,
2624
2620
  timeout: 3e3,
2625
2621
  animate: "fadeIn",
@@ -2636,7 +2632,7 @@ function Ri(n, t, e, o, r) {
2636
2632
  addFilter: be,
2637
2633
  addNewDataItem: dt,
2638
2634
  addSorter: A,
2639
- updatePageSize: me,
2635
+ updatePageSize: fe,
2640
2636
  changePageSizeTo: ge,
2641
2637
  collapse: nt,
2642
2638
  collapseTo: ht,
@@ -2662,7 +2658,7 @@ function Ri(n, t, e, o, r) {
2662
2658
  removeDataItemById: Ft,
2663
2659
  removeFilter: ke,
2664
2660
  removeHierarchyDataItem: Ct,
2665
- removeSorter: te,
2661
+ removeSorter: oe,
2666
2662
  reOrderVisibleIndex: Re,
2667
2663
  setSorters: ce,
2668
2664
  sorters: d,
@@ -2674,7 +2670,7 @@ function Ri(n, t, e, o, r) {
2674
2670
  visibleDataItems: Pe
2675
2671
  };
2676
2672
  }
2677
- const Jn = {
2673
+ const Kn = {
2678
2674
  conditions: { type: Array, default: [] },
2679
2675
  fields: { type: Array, default: [] },
2680
2676
  key: { type: String, default: "" },
@@ -2683,7 +2679,7 @@ const Jn = {
2683
2679
  */
2684
2680
  isControlInline: { type: Boolean, default: !0 }
2685
2681
  };
2686
- class Zn {
2682
+ class Jn {
2687
2683
  constructor(t = { value: [] }) {
2688
2684
  R(this, "editorType", "check-box");
2689
2685
  R(this, "value");
@@ -2707,7 +2703,7 @@ class Zn {
2707
2703
  return this.value.length === 0;
2708
2704
  }
2709
2705
  }
2710
- class eo {
2706
+ class Zn {
2711
2707
  constructor(t = { textValue: "", value: "", valueField: "" }) {
2712
2708
  R(this, "editorType", "combo-lookup");
2713
2709
  R(this, "textValue");
@@ -2751,11 +2747,11 @@ function Ye(n) {
2751
2747
  function Le(n, t) {
2752
2748
  return n instanceof Date ? new n.constructor(t) : new Date(t);
2753
2749
  }
2754
- function to(n, t) {
2750
+ function eo(n, t) {
2755
2751
  const e = Ye(n);
2756
2752
  return isNaN(t) ? Le(n, NaN) : (t && e.setDate(e.getDate() + t), e);
2757
2753
  }
2758
- const no = 6048e5, Hi = 864e5, Wi = 6e4, Li = 36e5, $i = 1e3;
2754
+ const to = 6048e5, Hi = 864e5, Wi = 6e4, Li = 36e5, $i = 1e3;
2759
2755
  let ji = {};
2760
2756
  function jt() {
2761
2757
  return ji;
@@ -2768,7 +2764,7 @@ function kt(n, t) {
2768
2764
  function Wt(n) {
2769
2765
  return kt(n, { weekStartsOn: 1 });
2770
2766
  }
2771
- function oo(n) {
2767
+ function no(n) {
2772
2768
  const t = Ye(n), e = t.getFullYear(), o = Le(n, 0);
2773
2769
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
2774
2770
  const r = Wt(o), a = Le(n, 0);
@@ -2776,7 +2772,7 @@ function oo(n) {
2776
2772
  const i = Wt(a);
2777
2773
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
2778
2774
  }
2779
- function In(n) {
2775
+ function On(n) {
2780
2776
  const t = Ye(n);
2781
2777
  return t.setHours(0, 0, 0, 0), t;
2782
2778
  }
@@ -2795,11 +2791,11 @@ function Zt(n) {
2795
2791
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
2796
2792
  }
2797
2793
  function Ai(n, t) {
2798
- const e = In(n), o = In(t), r = +e - Zt(e), a = +o - Zt(o);
2794
+ const e = On(n), o = On(t), r = +e - Zt(e), a = +o - Zt(o);
2799
2795
  return Math.round((r - a) / Hi);
2800
2796
  }
2801
2797
  function qi(n) {
2802
- const t = oo(n), e = Le(n, 0);
2798
+ const t = no(n), e = Le(n, 0);
2803
2799
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), Wt(e);
2804
2800
  }
2805
2801
  function zi(n) {
@@ -3234,7 +3230,7 @@ const ms = /^(\d+)(th|st|nd|rd)?/i, ps = /\d+/i, hs = {
3234
3230
  parsePatterns: Ss,
3235
3231
  defaultParseWidth: "any"
3236
3232
  })
3237
- }, ro = {
3233
+ }, oo = {
3238
3234
  code: "en-US",
3239
3235
  formatDistance: Xi,
3240
3236
  formatLong: Zi,
@@ -3250,9 +3246,9 @@ function ks(n) {
3250
3246
  const t = Ye(n);
3251
3247
  return Ai(t, Yi(t)) + 1;
3252
3248
  }
3253
- function ao(n) {
3249
+ function ro(n) {
3254
3250
  const t = Ye(n), e = +Wt(t) - +qi(t);
3255
- return Math.round(e / no) + 1;
3251
+ return Math.round(e / to) + 1;
3256
3252
  }
3257
3253
  function wn(n, t) {
3258
3254
  var c, d, m, p;
@@ -3268,9 +3264,9 @@ function Es(n, t) {
3268
3264
  const e = jt(), 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 ?? ((c = (u = e.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, r = wn(n, t), a = Le(n, 0);
3269
3265
  return a.setFullYear(r, 0, o), a.setHours(0, 0, 0, 0), kt(a, t);
3270
3266
  }
3271
- function io(n, t) {
3267
+ function ao(n, t) {
3272
3268
  const e = Ye(n), o = +kt(e, t) - +Es(e, t);
3273
- return Math.round(o / no) + 1;
3269
+ return Math.round(o / to) + 1;
3274
3270
  }
3275
3271
  function Oe(n, t) {
3276
3272
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -3339,7 +3335,7 @@ const _t = {
3339
3335
  afternoon: "afternoon",
3340
3336
  evening: "evening",
3341
3337
  night: "night"
3342
- }, Dn = {
3338
+ }, In = {
3343
3339
  // Era
3344
3340
  G: function(n, t, e) {
3345
3341
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -3374,7 +3370,7 @@ const _t = {
3374
3370
  },
3375
3371
  // ISO week-numbering year
3376
3372
  R: function(n, t) {
3377
- const e = oo(n);
3373
+ const e = no(n);
3378
3374
  return Oe(e, t.length);
3379
3375
  },
3380
3376
  // Extended year. This is a single number designating the year of this calendar system.
@@ -3497,12 +3493,12 @@ const _t = {
3497
3493
  },
3498
3494
  // Local week of year
3499
3495
  w: function(n, t, e, o) {
3500
- const r = io(n, o);
3496
+ const r = ao(n, o);
3501
3497
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Oe(r, t.length);
3502
3498
  },
3503
3499
  // ISO week of year
3504
3500
  I: function(n, t, e) {
3505
- const o = ao(n);
3501
+ const o = ro(n);
3506
3502
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Oe(o, t.length);
3507
3503
  },
3508
3504
  // Day of the month
@@ -3765,7 +3761,7 @@ const _t = {
3765
3761
  return "Z";
3766
3762
  switch (t) {
3767
3763
  case "X":
3768
- return Nn(o);
3764
+ return Pn(o);
3769
3765
  case "XXXX":
3770
3766
  case "XX":
3771
3767
  return Dt(o);
@@ -3780,7 +3776,7 @@ const _t = {
3780
3776
  const o = n.getTimezoneOffset();
3781
3777
  switch (t) {
3782
3778
  case "x":
3783
- return Nn(o);
3779
+ return Pn(o);
3784
3780
  case "xxxx":
3785
3781
  case "xx":
3786
3782
  return Dt(o);
@@ -3797,7 +3793,7 @@ const _t = {
3797
3793
  case "O":
3798
3794
  case "OO":
3799
3795
  case "OOO":
3800
- return "GMT" + Pn(o, ":");
3796
+ return "GMT" + Dn(o, ":");
3801
3797
  case "OOOO":
3802
3798
  default:
3803
3799
  return "GMT" + Dt(o, ":");
@@ -3810,7 +3806,7 @@ const _t = {
3810
3806
  case "z":
3811
3807
  case "zz":
3812
3808
  case "zzz":
3813
- return "GMT" + Pn(o, ":");
3809
+ return "GMT" + Dn(o, ":");
3814
3810
  case "zzzz":
3815
3811
  default:
3816
3812
  return "GMT" + Dt(o, ":");
@@ -3827,18 +3823,18 @@ const _t = {
3827
3823
  return Oe(o, t.length);
3828
3824
  }
3829
3825
  };
3830
- function Pn(n, t = "") {
3826
+ function Dn(n, t = "") {
3831
3827
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
3832
3828
  return a === 0 ? e + String(r) : e + String(r) + t + Oe(a, 2);
3833
3829
  }
3834
- function Nn(n, t) {
3830
+ function Pn(n, t) {
3835
3831
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Oe(Math.abs(n) / 60, 2) : Dt(n, t);
3836
3832
  }
3837
3833
  function Dt(n, t = "") {
3838
3834
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Oe(Math.trunc(o / 60), 2), a = Oe(o % 60, 2);
3839
3835
  return e + r + t + a;
3840
3836
  }
3841
- const Bn = (n, t) => {
3837
+ const Nn = (n, t) => {
3842
3838
  switch (n) {
3843
3839
  case "P":
3844
3840
  return t.date({ width: "short" });
@@ -3850,7 +3846,7 @@ const Bn = (n, t) => {
3850
3846
  default:
3851
3847
  return t.date({ width: "full" });
3852
3848
  }
3853
- }, so = (n, t) => {
3849
+ }, io = (n, t) => {
3854
3850
  switch (n) {
3855
3851
  case "p":
3856
3852
  return t.time({ width: "short" });
@@ -3865,7 +3861,7 @@ const Bn = (n, t) => {
3865
3861
  }, Fs = (n, t) => {
3866
3862
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
3867
3863
  if (!r)
3868
- return Bn(n, t);
3864
+ return Nn(n, t);
3869
3865
  let a;
3870
3866
  switch (o) {
3871
3867
  case "P":
@@ -3882,15 +3878,15 @@ const Bn = (n, t) => {
3882
3878
  a = t.dateTime({ width: "full" });
3883
3879
  break;
3884
3880
  }
3885
- return a.replace("{{date}}", Bn(o, t)).replace("{{time}}", so(r, t));
3881
+ return a.replace("{{date}}", Nn(o, t)).replace("{{time}}", io(r, t));
3886
3882
  }, pn = {
3887
- p: so,
3883
+ p: io,
3888
3884
  P: Fs
3889
3885
  }, Ms = /^D+$/, Os = /^Y+$/, Is = ["D", "DD", "YY", "YYYY"];
3890
- function lo(n) {
3886
+ function so(n) {
3891
3887
  return Ms.test(n);
3892
3888
  }
3893
- function uo(n) {
3889
+ function lo(n) {
3894
3890
  return Os.test(n);
3895
3891
  }
3896
3892
  function hn(n, t, e) {
@@ -3902,9 +3898,9 @@ function Ds(n, t, e) {
3902
3898
  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`;
3903
3899
  }
3904
3900
  const Ps = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ns = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Bs = /^'([^]*?)'?$/, Vs = /''/g, Rs = /[a-zA-Z]/;
3905
- function co(n, t, e) {
3901
+ function uo(n, t, e) {
3906
3902
  var c, d, m, p;
3907
- const o = jt(), r = o.locale ?? ro, a = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((p = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? 0, s = Ye(n);
3903
+ const o = jt(), r = o.locale ?? oo, a = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((p = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? 0, s = Ye(n);
3908
3904
  if (!Gi(s))
3909
3905
  throw new RangeError("Invalid time value");
3910
3906
  let l = t.match(Ns).map((h) => {
@@ -3920,7 +3916,7 @@ function co(n, t, e) {
3920
3916
  const O = h[0];
3921
3917
  if (O === "'")
3922
3918
  return { isToken: !1, value: Hs(h) };
3923
- if (Dn[O])
3919
+ if (In[O])
3924
3920
  return { isToken: !0, value: h };
3925
3921
  if (O.match(Rs))
3926
3922
  throw new RangeError(
@@ -3937,8 +3933,8 @@ function co(n, t, e) {
3937
3933
  return l.map((h) => {
3938
3934
  if (!h.isToken) return h.value;
3939
3935
  const O = h.value;
3940
- (uo(O) || lo(O)) && hn(O, t, String(n));
3941
- const x = Dn[O[0]];
3936
+ (lo(O) || so(O)) && hn(O, t, String(n));
3937
+ const x = In[O[0]];
3942
3938
  return x(s, O, r.localize, u);
3943
3939
  }).join("");
3944
3940
  }
@@ -3967,7 +3963,7 @@ function $s(n, t) {
3967
3963
  ), e;
3968
3964
  }
3969
3965
  const js = 10;
3970
- class fo {
3966
+ class co {
3971
3967
  constructor() {
3972
3968
  R(this, "subPriority", 0);
3973
3969
  }
@@ -3975,7 +3971,7 @@ class fo {
3975
3971
  return !0;
3976
3972
  }
3977
3973
  }
3978
- class As extends fo {
3974
+ class As extends co {
3979
3975
  constructor(t, e, o, r, a) {
3980
3976
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, a && (this.subPriority = a);
3981
3977
  }
@@ -3986,7 +3982,7 @@ class As extends fo {
3986
3982
  return this.setValue(t, e, this.value, o);
3987
3983
  }
3988
3984
  }
3989
- class qs extends fo {
3985
+ class qs extends co {
3990
3986
  constructor() {
3991
3987
  super(...arguments);
3992
3988
  R(this, "priority", js);
@@ -4110,7 +4106,7 @@ function mt(n, t) {
4110
4106
  rest: t.slice(e[0].length)
4111
4107
  };
4112
4108
  }
4113
- function mo(n) {
4109
+ function fo(n) {
4114
4110
  return We(je.anyDigitsSigned, n);
4115
4111
  }
4116
4112
  function $e(n, t) {
@@ -4158,7 +4154,7 @@ function Cn(n) {
4158
4154
  return 0;
4159
4155
  }
4160
4156
  }
4161
- function po(n, t) {
4157
+ function mo(n, t) {
4162
4158
  const e = t > 0, o = e ? t : 1 - t;
4163
4159
  let r;
4164
4160
  if (o <= 50)
@@ -4169,7 +4165,7 @@ function po(n, t) {
4169
4165
  }
4170
4166
  return e ? r : 1 - r;
4171
4167
  }
4172
- function ho(n) {
4168
+ function po(n) {
4173
4169
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
4174
4170
  }
4175
4171
  class Gs extends Fe {
@@ -4203,7 +4199,7 @@ class Gs extends Fe {
4203
4199
  set(e, o, r) {
4204
4200
  const a = e.getFullYear();
4205
4201
  if (r.isTwoDigitYear) {
4206
- const s = po(
4202
+ const s = mo(
4207
4203
  r.year,
4208
4204
  a
4209
4205
  );
@@ -4258,7 +4254,7 @@ class Ys extends Fe {
4258
4254
  set(e, o, r, a) {
4259
4255
  const i = wn(e, a);
4260
4256
  if (r.isTwoDigitYear) {
4261
- const l = po(
4257
+ const l = mo(
4262
4258
  r.year,
4263
4259
  i
4264
4260
  );
@@ -4564,7 +4560,7 @@ class Zs extends Fe {
4564
4560
  }
4565
4561
  }
4566
4562
  function el(n, t, e) {
4567
- const o = Ye(n), r = io(o, e) - t;
4563
+ const o = Ye(n), r = ao(o, e) - t;
4568
4564
  return o.setDate(o.getDate() - r * 7), o;
4569
4565
  }
4570
4566
  class tl extends Fe {
@@ -4605,7 +4601,7 @@ class tl extends Fe {
4605
4601
  }
4606
4602
  }
4607
4603
  function nl(n, t) {
4608
- const e = Ye(n), o = ao(e) - t;
4604
+ const e = Ye(n), o = ro(e) - t;
4609
4605
  return e.setDate(e.getDate() - o * 7), e;
4610
4606
  }
4611
4607
  class ol extends Fe {
@@ -4691,7 +4687,7 @@ class il extends Fe {
4691
4687
  }
4692
4688
  }
4693
4689
  validate(e, o) {
4694
- const r = e.getFullYear(), a = ho(r), i = e.getMonth();
4690
+ const r = e.getFullYear(), a = po(r), i = e.getMonth();
4695
4691
  return a ? o >= 1 && o <= al[i] : o >= 1 && o <= rl[i];
4696
4692
  }
4697
4693
  set(e, o, r) {
@@ -4734,7 +4730,7 @@ class sl extends Fe {
4734
4730
  }
4735
4731
  validate(e, o) {
4736
4732
  const r = e.getFullYear();
4737
- return ho(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
4733
+ return po(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
4738
4734
  }
4739
4735
  set(e, o, r) {
4740
4736
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -4743,7 +4739,7 @@ class sl extends Fe {
4743
4739
  function _n(n, t, e) {
4744
4740
  var d, m, p, h;
4745
4741
  const o = jt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((m = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : m.weekStartsOn) ?? o.weekStartsOn ?? ((h = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : h.weekStartsOn) ?? 0, a = Ye(n), i = a.getDay(), l = (t % 7 + 7) % 7, u = 7 - r, c = t < 0 || t > 6 ? t - (i + u) % 7 : (l + u) % 7 - (i + u) % 7;
4746
- return to(a, c);
4742
+ return eo(a, c);
4747
4743
  }
4748
4744
  class ll extends Fe {
4749
4745
  constructor() {
@@ -4914,7 +4910,7 @@ class cl extends Fe {
4914
4910
  }
4915
4911
  function dl(n, t) {
4916
4912
  const e = Ye(n), o = Ls(e), r = t - o;
4917
- return to(e, r);
4913
+ return eo(e, r);
4918
4914
  }
4919
4915
  class fl extends Fe {
4920
4916
  constructor() {
@@ -5364,7 +5360,7 @@ class Tl extends Fe {
5364
5360
  R(this, "incompatibleTokens", "*");
5365
5361
  }
5366
5362
  parse(e) {
5367
- return mo(e);
5363
+ return fo(e);
5368
5364
  }
5369
5365
  set(e, o, r) {
5370
5366
  return [Le(e, r * 1e3), { timestampIsSet: !0 }];
@@ -5377,7 +5373,7 @@ class kl extends Fe {
5377
5373
  R(this, "incompatibleTokens", "*");
5378
5374
  }
5379
5375
  parse(e) {
5380
- return mo(e);
5376
+ return fo(e);
5381
5377
  }
5382
5378
  set(e, o, r) {
5383
5379
  return [Le(e, r), { timestampIsSet: !0 }];
@@ -5416,9 +5412,9 @@ const El = {
5416
5412
  t: new Tl(),
5417
5413
  T: new kl()
5418
5414
  }, Fl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ml = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ol = /^'([^]*?)'?$/, Il = /''/g, Dl = /\S/, Pl = /[a-zA-Z]/;
5419
- function vo(n, t, e, o) {
5415
+ function ho(n, t, e, o) {
5420
5416
  var O, x, y, b;
5421
- const r = Ws(), a = r.locale ?? ro, i = r.firstWeekContainsDate ?? ((x = (O = r.locale) == null ? void 0 : O.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((b = (y = r.locale) == null ? void 0 : y.options) == null ? void 0 : b.weekStartsOn) ?? 0;
5417
+ const r = Ws(), a = r.locale ?? oo, i = r.firstWeekContainsDate ?? ((x = (O = r.locale) == null ? void 0 : O.options) == null ? void 0 : x.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((b = (y = r.locale) == null ? void 0 : y.options) == null ? void 0 : b.weekStartsOn) ?? 0;
5422
5418
  if (t === "")
5423
5419
  return n === "" ? Ye(e) : Le(e, NaN);
5424
5420
  const l = {
@@ -5434,7 +5430,7 @@ function vo(n, t, e, o) {
5434
5430
  return g;
5435
5431
  }).join("").match(Fl), d = [];
5436
5432
  for (let g of c) {
5437
- uo(g) && hn(g, t, n), lo(g) && hn(g, t, n);
5433
+ lo(g) && hn(g, t, n), so(g) && hn(g, t, n);
5438
5434
  const _ = g[0], T = El[_];
5439
5435
  if (T) {
5440
5436
  const { incompatibleTokens: k } = T;
@@ -5491,7 +5487,7 @@ function vo(n, t, e, o) {
5491
5487
  function Nl(n) {
5492
5488
  return n.match(Ol)[1].replace(Il, "'");
5493
5489
  }
5494
- class go {
5490
+ class vo {
5495
5491
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
5496
5492
  R(this, "editorType", "date-picker");
5497
5493
  R(this, "value");
@@ -5508,8 +5504,8 @@ class go {
5508
5504
  }
5509
5505
  getDisplayText() {
5510
5506
  if (typeof this.value == "string" && this.value) {
5511
- const t = vo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
5512
- return co(t, this.displayFormat);
5507
+ const t = ho(this.value, this.valueFormat, /* @__PURE__ */ new Date());
5508
+ return uo(t, this.displayFormat);
5513
5509
  }
5514
5510
  return this.getValue();
5515
5511
  }
@@ -5544,7 +5540,7 @@ class tn {
5544
5540
  return !this.begin || !this.end;
5545
5541
  }
5546
5542
  }
5547
- class yo {
5543
+ class go {
5548
5544
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
5549
5545
  R(this, "editorType", "datetime-picker");
5550
5546
  R(this, "value");
@@ -5561,8 +5557,8 @@ class yo {
5561
5557
  }
5562
5558
  getDisplayText() {
5563
5559
  if (typeof this.value == "string" && this.value) {
5564
- const t = vo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
5565
- return co(t, this.displayFormat);
5560
+ const t = ho(this.value, this.valueFormat, /* @__PURE__ */ new Date());
5561
+ return uo(t, this.displayFormat);
5566
5562
  }
5567
5563
  return this.getValue();
5568
5564
  }
@@ -5573,7 +5569,7 @@ class yo {
5573
5569
  return !this.value;
5574
5570
  }
5575
5571
  }
5576
- class bo {
5572
+ class yo {
5577
5573
  constructor(t = { value: "", valueList: [] }) {
5578
5574
  R(this, "editorType", "combo-list");
5579
5575
  R(this, "value");
@@ -5658,7 +5654,7 @@ class Bl {
5658
5654
  return !this.displayText && !this.value.length;
5659
5655
  }
5660
5656
  }
5661
- class wo {
5657
+ class bo {
5662
5658
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
5663
5659
  R(this, "editorType", "lookup");
5664
5660
  R(this, "helpId");
@@ -5686,7 +5682,7 @@ class wo {
5686
5682
  return !this.mapFields.length;
5687
5683
  }
5688
5684
  }
5689
- class Co {
5685
+ class wo {
5690
5686
  constructor(t = { value: "" }) {
5691
5687
  R(this, "editorType", "month-picker");
5692
5688
  R(this, "value");
@@ -5709,7 +5705,7 @@ class Co {
5709
5705
  return !this.value;
5710
5706
  }
5711
5707
  }
5712
- class _o {
5708
+ class Co {
5713
5709
  constructor(t = { begin: "", end: "" }) {
5714
5710
  R(this, "editorType", "month-range");
5715
5711
  R(this, "begin");
@@ -5733,7 +5729,7 @@ class _o {
5733
5729
  return !this.begin || !this.end;
5734
5730
  }
5735
5731
  }
5736
- class xo {
5732
+ class _o {
5737
5733
  constructor(t = { begin: null, end: null }) {
5738
5734
  R(this, "editorType", "number-range");
5739
5735
  R(this, "begin");
@@ -5760,7 +5756,7 @@ class xo {
5760
5756
  return this.begin == null && this.end == null;
5761
5757
  }
5762
5758
  }
5763
- class So {
5759
+ class xo {
5764
5760
  constructor(t = { value: "" }) {
5765
5761
  R(this, "editorType", "number-spinner");
5766
5762
  R(this, "value");
@@ -5784,7 +5780,7 @@ class So {
5784
5780
  return this.value == null || isNaN(this.value);
5785
5781
  }
5786
5782
  }
5787
- class To {
5783
+ class So {
5788
5784
  constructor(t = { value: null, valueList: [] }) {
5789
5785
  R(this, "editorType", "radio-group");
5790
5786
  R(this, "value");
@@ -5832,45 +5828,45 @@ class nn {
5832
5828
  return !this.value;
5833
5829
  }
5834
5830
  }
5835
- function ko() {
5831
+ function To() {
5836
5832
  function n(t, e) {
5837
5833
  switch (t) {
5838
5834
  case "check-box":
5839
- return new Zn(e);
5835
+ return new Jn(e);
5840
5836
  case "combo-list":
5841
- return new bo(e);
5837
+ return new yo(e);
5842
5838
  case "combo-lookup":
5843
- return new eo(e);
5839
+ return new Zn(e);
5844
5840
  case "input-group":
5845
5841
  return new Bl(e);
5846
5842
  case "date-picker":
5847
- return new go(e);
5843
+ return new vo(e);
5848
5844
  case "date-range":
5849
5845
  return new tn(e);
5850
5846
  case "datetime-picker":
5851
- return new yo(e);
5847
+ return new go(e);
5852
5848
  case "datetime-range":
5853
5849
  return new tn(e);
5854
5850
  case "lookup":
5855
- return new wo(e);
5851
+ return new bo(e);
5856
5852
  case "month-picker":
5857
- return new Co(e);
5853
+ return new wo(e);
5858
5854
  case "month-range":
5859
- return new _o(e);
5855
+ return new Co(e);
5860
5856
  case "number-range":
5861
- return new xo(e);
5857
+ return new _o(e);
5862
5858
  case "number-spinner":
5863
- return new So(e);
5859
+ return new xo(e);
5864
5860
  case "radio-group":
5865
- return new To(e);
5861
+ return new So(e);
5866
5862
  default:
5867
5863
  return new nn(e);
5868
5864
  }
5869
5865
  }
5870
5866
  return { createConditionValue: n };
5871
5867
  }
5872
- function Eo(n, t) {
5873
- const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = ko();
5868
+ function ko(n, t) {
5869
+ const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = To();
5874
5870
  function i(c) {
5875
5871
  switch (c.editor ? c.editor.type : "input-group") {
5876
5872
  case "date-range":
@@ -5932,14 +5928,14 @@ function Vl(n, t, e) {
5932
5928
  resizeObserver: o
5933
5929
  };
5934
5930
  }
5935
- const Vn = /* @__PURE__ */ rt({
5931
+ const Bn = /* @__PURE__ */ rt({
5936
5932
  name: "FConditionFields",
5937
- props: Jn,
5933
+ props: Kn,
5938
5934
  emits: ["valueChange", "blur", "focus", "click", "input"],
5939
5935
  setup(n, t) {
5940
5936
  const e = S(), o = S(n.key);
5941
5937
  S(n.isControlInline);
5942
- const r = S(n.conditions), a = Eo(n), {
5938
+ const r = S(n.conditions), a = ko(n), {
5943
5939
  initialConditionValue: i,
5944
5940
  fieldMap: s,
5945
5941
  loadFieldConfigs: l
@@ -5947,7 +5943,7 @@ const Vn = /* @__PURE__ */ rt({
5947
5943
  conditionClass: c,
5948
5944
  resizeObserver: d
5949
5945
  } = u;
5950
- l(!0), i(r.value), $n(() => {
5946
+ l(!0), i(r.value), Ln(() => {
5951
5947
  var x;
5952
5948
  (x = d.value) == null || x.unobserve(e.value);
5953
5949
  }), Ee(() => n.conditions, () => {
@@ -5996,11 +5992,11 @@ const Vn = /* @__PURE__ */ rt({
5996
5992
  }, null);
5997
5993
  });
5998
5994
  }
5999
- return () => Ro(M("div", {
5995
+ return () => Vo(M("div", {
6000
5996
  class: m.value,
6001
5997
  key: o.value,
6002
5998
  ref: e
6003
- }, [O()]), [[Ho("area-response")]]);
5999
+ }, [O()]), [[Ro("area-response")]]);
6004
6000
  }
6005
6001
  }), xn = /* @__PURE__ */ new Map([
6006
6002
  ["appearance", yn]
@@ -6269,7 +6265,7 @@ const Kl = "https://json-schema.org/draft/2020-12/schema", Jl = "https://farris-
6269
6265
  "id",
6270
6266
  "type",
6271
6267
  "editor"
6272
- ], Fo = {
6268
+ ], Eo = {
6273
6269
  $schema: Kl,
6274
6270
  $id: Jl,
6275
6271
  title: Zl,
@@ -6277,7 +6273,7 @@ const Kl = "https://json-schema.org/draft/2020-12/schema", Jl = "https://farris-
6277
6273
  type: tu,
6278
6274
  properties: nu,
6279
6275
  required: ou
6280
- }, Mo = {
6276
+ }, Fo = {
6281
6277
  id: { type: String, default: "" },
6282
6278
  customClass: { type: String, default: "" },
6283
6279
  customStyle: { type: String, default: "" },
@@ -6295,8 +6291,8 @@ const Kl = "https://json-schema.org/draft/2020-12/schema", Jl = "https://farris-
6295
6291
  errors: { type: Object, default: null }
6296
6292
  };
6297
6293
  $t(
6298
- Mo,
6299
6294
  Fo,
6295
+ Eo,
6300
6296
  xn,
6301
6297
  void 0
6302
6298
  );
@@ -6347,7 +6343,7 @@ function ru(n, t, e) {
6347
6343
  }
6348
6344
  function x(C, w) {
6349
6345
  const { componentType: E } = C;
6350
- let v = zn(E, C, w);
6346
+ let v = qn(E, C, w);
6351
6347
  e && e.onResolveNewComponentSchema && (v = e.onResolveNewComponentSchema(C, v));
6352
6348
  const D = E.toLowerCase().replace(/-/g, "_");
6353
6349
  return v && !v.id && v.type === E && (v.id = `${D}_${Math.random().toString().slice(2, 6)}`), v;
@@ -6454,7 +6450,7 @@ function uu(n) {
6454
6450
  return o;
6455
6451
  }
6456
6452
  }
6457
- function Oo(n) {
6453
+ function Mo(n) {
6458
6454
  if (!n)
6459
6455
  return;
6460
6456
  const t = n.getBoundingClientRect();
@@ -6475,7 +6471,7 @@ function cu(n) {
6475
6471
  if (!n)
6476
6472
  return;
6477
6473
  let t;
6478
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && Oo(t);
6474
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && Mo(t);
6479
6475
  }
6480
6476
  function du(n) {
6481
6477
  const { formSchemaUtils: t, formStateMachineUtils: e } = n;
@@ -7058,9 +7054,9 @@ const pu = {
7058
7054
  }, [o.value])]);
7059
7055
  }
7060
7056
  }), ie = {}, se = {}, le = {}, ue = {};
7061
- let Rn = !1;
7057
+ let Vn = !1;
7062
7058
  function vu() {
7063
- Rn || (Rn = !0, zr.register(ie, se, le, ue), qr.register(ie, se, le, ue), Gr.register(ie, se, le, ue), Yr.register(ie, se, le, ue), Ur.register(ie, se, le, ue), Xr.register(ie, se, le, ue), Mn.register(ie, se, le, ue), On.register(ie, se, le, ue), Mn.register(ie, se, le, ue), On.register(ie, se, le, ue), fn.register(ie, se, le, ue), Qr.register(ie, se, le, ue), Kr.register(ie, se, le, ue), Zr.register(ie, se, le, ue), Jr.register(ie, se, le, ue), ea.register(ie, se, le, ue), ta.register(ie, se, le, ue), na.register(ie, se, le, ue), Lr.register(ie, se, le, ue), oa.register(ie, se, le, ue), Ya.register(ie, se, le, ue), Br.register(ie, se, le, ue), ra.register(ie, se, le, ue), La.register(ie, se, le, ue), ia.register(ie, se, le, ue), sa.register(ie, se, le, ue), la.register(ie, se, le, ue), ca.register(ie, se, le, ue), ua.register(ie, se, le, ue), da.register(ie, se, le, ue), fa.register(ie, se, le, ue), ma.register(ie, se, le, ue), pa.register(ie, se, le, ue), ha.register(ie, se, le, ue), Fr.register(ie, se, le, ue), va.register(ie, se, le, ue), ga.register(ie, se, le, ue), Vr.register(ie, se, le, ue), ya.register(ie, se, le, ue), ba.register(ie, se, le, ue), wa.register(ie, se, le, ue), Ca.register(ie, se, le, ue), xa.register(ie, se, le, ue), Sa.register(ie, se, le, ue), _a.register(ie, se, le, ue), Ra.register(ie, se, le), Hr.register(ie, se, le, ue), Ta.register(ie, se, le, ue), ka.register(ie, se, le, ue), Ea.register(ie, se, le, ue), Fa.register(ie, se, le, ue), Ma.register(ie, se, le, ue), ja.register(ie, se, le, ue), Er.register(ie, se, le, ue), Wr.register(ie, se, le, ue), Oa.register(ie, se, le, ue), Ia.register(ie, se, le, ue), kr.register(ie, se, le, ue), Da.register(ie, se, le, ue), Na.register(ie, se, le, ue), Pa.register(ie, se, le, ue), Ba.register(ie, se, le, ue), Va.register(ie, se, le, ue), Ha.register(ie, se, le, ue), aa.register(ie, se, le, ue), Wa.register(ie, se, le, ue), $a.register(ie, se, le, ue), Aa.register(ie, se, le, ue), qa.register(ie, se, le, ue), za.register(ie, se, le, ue), Ga.register(ie, se, le, ue), Ua.register(ie, se, le, ue), Xa.register(ie, se, le, ue));
7059
+ Vn || (Vn = !0, zr.register(ie, se, le, ue), qr.register(ie, se, le, ue), Gr.register(ie, se, le, ue), Yr.register(ie, se, le, ue), Ur.register(ie, se, le, ue), Xr.register(ie, se, le, ue), Fn.register(ie, se, le, ue), Mn.register(ie, se, le, ue), Fn.register(ie, se, le, ue), Mn.register(ie, se, le, ue), fn.register(ie, se, le, ue), Qr.register(ie, se, le, ue), Kr.register(ie, se, le, ue), Zr.register(ie, se, le, ue), Jr.register(ie, se, le, ue), ea.register(ie, se, le, ue), ta.register(ie, se, le, ue), na.register(ie, se, le, ue), Lr.register(ie, se, le, ue), oa.register(ie, se, le, ue), Ya.register(ie, se, le, ue), Nr.register(ie, se, le, ue), ra.register(ie, se, le, ue), La.register(ie, se, le, ue), ia.register(ie, se, le, ue), sa.register(ie, se, le, ue), la.register(ie, se, le, ue), ca.register(ie, se, le, ue), ua.register(ie, se, le, ue), da.register(ie, se, le, ue), fa.register(ie, se, le, ue), ma.register(ie, se, le, ue), pa.register(ie, se, le, ue), ha.register(ie, se, le, ue), Er.register(ie, se, le, ue), va.register(ie, se, le, ue), ga.register(ie, se, le, ue), Vr.register(ie, se, le, ue), ya.register(ie, se, le, ue), ba.register(ie, se, le, ue), wa.register(ie, se, le, ue), Ca.register(ie, se, le, ue), xa.register(ie, se, le, ue), Sa.register(ie, se, le, ue), _a.register(ie, se, le, ue), Ra.register(ie, se, le), Hr.register(ie, se, le, ue), Ta.register(ie, se, le, ue), ka.register(ie, se, le, ue), Ea.register(ie, se, le, ue), Fa.register(ie, se, le, ue), Ma.register(ie, se, le, ue), ja.register(ie, se, le, ue), kr.register(ie, se, le, ue), Wr.register(ie, se, le, ue), Oa.register(ie, se, le, ue), Ia.register(ie, se, le, ue), Tr.register(ie, se, le, ue), Da.register(ie, se, le, ue), Na.register(ie, se, le, ue), Pa.register(ie, se, le, ue), Ba.register(ie, se, le, ue), Va.register(ie, se, le, ue), Ha.register(ie, se, le, ue), aa.register(ie, se, le, ue), Wa.register(ie, se, le, ue), $a.register(ie, se, le, ue), Aa.register(ie, se, le, ue), qa.register(ie, se, le, ue), za.register(ie, se, le, ue), Ga.register(ie, se, le, ue), Ua.register(ie, se, le, ue), Xa.register(ie, se, le, ue));
7064
7060
  }
7065
7061
  function gu() {
7066
7062
  vu();
@@ -7210,7 +7206,7 @@ const yu = {
7210
7206
  }
7211
7207
  }), wu = /* @__PURE__ */ rt({
7212
7208
  name: "FDynamicFormGroup",
7213
- props: Mo,
7209
+ props: Fo,
7214
7210
  emits: ["change", "update:modelValue"],
7215
7211
  setup(n, t) {
7216
7212
  var k;
@@ -7357,7 +7353,7 @@ R(Ht, "fieldControlTypeMapping", {
7357
7353
  { key: de["radio-group"].type, value: de["radio-group"].name }
7358
7354
  ]
7359
7355
  });
7360
- let Hn = Ht;
7356
+ let Rn = Ht;
7361
7357
  var xt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7362
7358
  function Xt(n) {
7363
7359
  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.');
@@ -7417,7 +7413,7 @@ var xu = { exports: {} };
7417
7413
  P === 1 && Array.isArray(v) === !1 && (D = v, v = []);
7418
7414
  var F, I, z, $, V, L, Q, B, N, X = null, j, W, G = !1, K = 0, ae, Z = D || {};
7419
7415
  Z.moves === void 0 && (Z.moves = b), Z.accepts === void 0 && (Z.accepts = b), Z.invalid === void 0 && (Z.invalid = ht), Z.containers === void 0 && (Z.containers = v || []), 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);
7420
- var fe = i({
7416
+ var pe = i({
7421
7417
  containers: Z.containers,
7422
7418
  start: De,
7423
7419
  end: ct,
@@ -7427,9 +7423,9 @@ var xu = { exports: {} };
7427
7423
  canMove: ke,
7428
7424
  dragging: !1
7429
7425
  });
7430
- return Z.removeOnSpill === !0 && fe.on("over", wt).on("out", gt), xe(), fe;
7426
+ return Z.removeOnSpill === !0 && pe.on("over", wt).on("out", gt), xe(), pe;
7431
7427
  function ve(H) {
7432
- return fe.containers.indexOf(H) !== -1 || Z.isContainer(H);
7428
+ return pe.containers.indexOf(H) !== -1 || Z.isContainer(H);
7433
7429
  }
7434
7430
  function xe(H) {
7435
7431
  var ee = H ? "remove" : "add";
@@ -7437,7 +7433,7 @@ var xu = { exports: {} };
7437
7433
  }
7438
7434
  function Pe(H) {
7439
7435
  var ee = H ? "remove" : "add";
7440
- h(c, ee, "mousemove", te);
7436
+ h(c, ee, "mousemove", oe);
7441
7437
  }
7442
7438
  function Re(H) {
7443
7439
  var ee = H ? "remove" : "add";
@@ -7453,11 +7449,11 @@ var xu = { exports: {} };
7453
7449
  $ = H.clientX, V = H.clientY;
7454
7450
  var ee = O(H) !== 1 || H.metaKey || H.ctrlKey;
7455
7451
  if (!ee) {
7456
- var oe = H.target, ne = be(oe);
7457
- ne && (j = ne, Pe(), H.type === "mousedown" && (k(oe) ? oe.focus() : H.preventDefault()));
7452
+ var ne = H.target, te = be(ne);
7453
+ te && (j = te, Pe(), H.type === "mousedown" && (k(ne) ? ne.focus() : H.preventDefault()));
7458
7454
  }
7459
7455
  }
7460
- function te(H) {
7456
+ function oe(H) {
7461
7457
  if (j) {
7462
7458
  if (O(H) === 0) {
7463
7459
  Se({});
@@ -7465,8 +7461,8 @@ var xu = { exports: {} };
7465
7461
  }
7466
7462
  if (!(H.clientX !== void 0 && Math.abs(H.clientX - $) <= (Z.slideFactorX || 0) && H.clientY !== void 0 && Math.abs(H.clientY - V) <= (Z.slideFactorY || 0))) {
7467
7463
  if (Z.ignoreInputTextSelection) {
7468
- var ee = E("clientX", H) || 0, oe = E("clientY", H) || 0, ne = u.elementFromPoint(ee, oe);
7469
- if (k(ne))
7464
+ var ee = E("clientX", H) || 0, ne = E("clientY", H) || 0, te = u.elementFromPoint(ee, ne);
7465
+ if (k(te))
7470
7466
  return;
7471
7467
  }
7472
7468
  var we = j;
@@ -7475,17 +7471,17 @@ var xu = { exports: {} };
7475
7471
  }
7476
7472
  }
7477
7473
  function be(H) {
7478
- if (!(fe.dragging && F) && !ve(H)) {
7474
+ if (!(pe.dragging && F) && !ve(H)) {
7479
7475
  for (var ee = H; T(H) && ve(T(H)) === !1; )
7480
7476
  if (Z.invalid(H, ee) || (H = T(H), !H))
7481
7477
  return;
7482
- var oe = T(H);
7483
- if (oe && !Z.invalid(H, ee)) {
7484
- var ne = Z.moves(H, oe, ee, C(H));
7485
- if (ne)
7478
+ var ne = T(H);
7479
+ if (ne && !Z.invalid(H, ee)) {
7480
+ var te = Z.moves(H, ne, ee, C(H));
7481
+ if (te)
7486
7482
  return {
7487
7483
  item: H,
7488
- source: oe
7484
+ source: ne
7489
7485
  };
7490
7486
  }
7491
7487
  }
@@ -7498,13 +7494,13 @@ var xu = { exports: {} };
7498
7494
  ee && nt(ee);
7499
7495
  }
7500
7496
  function nt(H) {
7501
- Me(H.item, H.source) && (B = H.item.cloneNode(!0), fe.emit("cloned", B, H.item, "copy")), I = H.source, z = H.item, L = Q = C(H.item), fe.dragging = !0, fe.emit("drag", z, I);
7497
+ Me(H.item, H.source) && (B = H.item.cloneNode(!0), pe.emit("cloned", B, H.item, "copy")), I = H.source, z = H.item, L = Q = C(H.item), pe.dragging = !0, pe.emit("drag", z, I);
7502
7498
  }
7503
7499
  function ht() {
7504
7500
  return !1;
7505
7501
  }
7506
7502
  function ct() {
7507
- if (fe.dragging) {
7503
+ if (pe.dragging) {
7508
7504
  var H = B || z;
7509
7505
  Ie(H, T(H));
7510
7506
  }
@@ -7513,72 +7509,72 @@ var xu = { exports: {} };
7513
7509
  j = !1, Pe(!0), Re(!0);
7514
7510
  }
7515
7511
  function Se(H) {
7516
- if (J(), !!fe.dragging) {
7517
- var ee = B || z, oe = E("clientX", H) || 0, ne = E("clientY", H) || 0, we = x(F, oe, ne), ye = bt(we, oe, ne);
7512
+ if (J(), !!pe.dragging) {
7513
+ var ee = B || z, ne = E("clientX", H) || 0, te = E("clientY", H) || 0, we = x(F, ne, te), ye = bt(we, ne, te);
7518
7514
  ye && (B && Z.copySortSource || !B || ye !== I) ? Ie(ee, ye) : Z.removeOnSpill ? qe() : Ve();
7519
7515
  }
7520
7516
  }
7521
7517
  function Ie(H, ee) {
7522
- var oe = T(H);
7523
- B && Z.copySortSource && ee === I && oe.removeChild(z), vt(ee) ? fe.emit("cancel", H, I) : fe.emit("drop", H, ee, I, Q), it();
7518
+ var ne = T(H);
7519
+ B && Z.copySortSource && ee === I && ne.removeChild(z), vt(ee) ? pe.emit("cancel", H, I) : pe.emit("drop", H, ee, I, Q), it();
7524
7520
  }
7525
7521
  function qe() {
7526
- if (fe.dragging) {
7522
+ if (pe.dragging) {
7527
7523
  var H = B || z, ee = T(H);
7528
- ee && ee.removeChild(H), fe.emit(B ? "cancel" : "remove", H, ee, I), it();
7524
+ ee && ee.removeChild(H), pe.emit(B ? "cancel" : "remove", H, ee, I), it();
7529
7525
  }
7530
7526
  }
7531
7527
  function Ve(H) {
7532
- if (fe.dragging) {
7533
- var ee = arguments.length > 0 ? H : Z.revertOnSpill, oe = B || z, ne = T(oe), we = vt(ne);
7534
- we === !1 && ee && (B ? ne && ne.removeChild(B) : I.insertBefore(oe, L)), we || ee ? fe.emit("cancel", oe, I, I) : fe.emit("drop", oe, ne, I, Q), it();
7528
+ if (pe.dragging) {
7529
+ var ee = arguments.length > 0 ? H : Z.revertOnSpill, ne = B || z, te = T(ne), we = vt(te);
7530
+ we === !1 && ee && (B ? te && te.removeChild(B) : I.insertBefore(ne, L)), we || ee ? pe.emit("cancel", ne, I, I) : pe.emit("drop", ne, te, I, Q), it();
7535
7531
  }
7536
7532
  }
7537
7533
  function it() {
7538
7534
  var H = B || z;
7539
- J(), re(), me(), H && l.rm(H, "gu-transit"), N && clearTimeout(N), fe.dragging = !1, X && fe.emit("out", H, X, I), fe.emit("dragend", H, K), I = z = B = L = Q = N = X = null;
7535
+ J(), re(), fe(), H && l.rm(H, "gu-transit"), N && clearTimeout(N), pe.dragging = !1, X && pe.emit("out", H, X, I), pe.emit("dragend", H, K), I = z = B = L = Q = N = X = null;
7540
7536
  }
7541
7537
  function vt(H, ee) {
7542
- var oe;
7543
- return ee !== void 0 ? oe = ee : F ? oe = Q : oe = C(B || z), H === I && oe === L;
7538
+ var ne;
7539
+ return ee !== void 0 ? ne = ee : F ? ne = Q : ne = C(B || z), H === I && ne === L;
7544
7540
  }
7545
- function bt(H, ee, oe) {
7546
- for (var ne = H; ne && !we(); )
7547
- ne = T(ne);
7548
- return ne;
7541
+ function bt(H, ee, ne) {
7542
+ for (var te = H; te && !we(); )
7543
+ te = T(te);
7544
+ return te;
7549
7545
  function we() {
7550
- var ye = ve(ne);
7546
+ var ye = ve(te);
7551
7547
  if (ye === !1)
7552
7548
  return !1;
7553
- var Be = ge(ne, H), Te = Ce(ne, Be, ee, oe), He = vt(ne, Te);
7554
- return He ? !0 : Z.accepts(z, ne, I, Te);
7549
+ var Be = ge(te, H), Te = Ce(te, Be, ee, ne), He = vt(te, Te);
7550
+ return He ? !0 : Z.accepts(z, te, I, Te);
7555
7551
  }
7556
7552
  }
7557
7553
  function dt(H) {
7558
7554
  if (!F)
7559
7555
  return;
7560
7556
  H.preventDefault();
7561
- var ee = E("clientX", H) || 0, oe = E("clientY", H) || 0;
7562
- F.style.left = ee - 2 + "px", F.style.top = oe - 2 + "px";
7563
- var ne = B || z, we = x(F, ee, oe), ye = bt(we, ee, oe), Be = ye !== null && ye !== X;
7564
- (Be || ye === null) && (he(), X = ye, st()), pe(we, oe);
7565
- var Te = T(ne);
7557
+ var ee = E("clientX", H) || 0, ne = E("clientY", H) || 0;
7558
+ F.style.left = ee - 2 + "px", F.style.top = ne - 2 + "px";
7559
+ var te = B || z, we = x(F, ee, ne), ye = bt(we, ee, ne), Be = ye !== null && ye !== X;
7560
+ (Be || ye === null) && (he(), X = ye, st()), me(we, ne);
7561
+ var Te = T(te);
7566
7562
  if (ye === I && B && !Z.copySortSource) {
7567
- Te && Te.removeChild(ne);
7563
+ Te && Te.removeChild(te);
7568
7564
  return;
7569
7565
  }
7570
7566
  var He, at = ge(ye, we);
7571
7567
  if (G = Ne(at, ye), at !== null)
7572
- He = Ce(ye, at, ee, oe);
7568
+ He = Ce(ye, at, ee, ne);
7573
7569
  else if (Z.revertOnSpill === !0 && !B)
7574
7570
  He = L, ye = I;
7575
7571
  else {
7576
- B && Te && Te.removeChild(ne), B && W && (W.style.display = "none");
7572
+ B && Te && Te.removeChild(te), B && W && (W.style.display = "none");
7577
7573
  return;
7578
7574
  }
7579
- W.style.display = "block", Et(He, ne, Be), He ? Ke(at, He) : U(ye);
7575
+ W.style.display = "block", Et(He, te, Be), He ? Ke(at, He) : U(ye);
7580
7576
  function Ue(_e) {
7581
- fe.emit(_e, ne, X, I);
7577
+ pe.emit(_e, te, X, I);
7582
7578
  }
7583
7579
  function st() {
7584
7580
  Be && Ue("over");
@@ -7587,17 +7583,17 @@ var xu = { exports: {} };
7587
7583
  X && Ue("out");
7588
7584
  }
7589
7585
  }
7590
- function Et(H, ee, oe) {
7591
- (H === ee || H === C(ee)) && (Q = C(ee)), (H === null && oe || H !== ee && H !== C(ee)) && (Q = H);
7586
+ function Et(H, ee, ne) {
7587
+ (H === ee || H === C(ee)) && (Q = C(ee)), (H === null && ne || H !== ee && H !== C(ee)) && (Q = H);
7592
7588
  }
7593
7589
  function wt(H) {
7594
7590
  l.rm(H, "gu-hide");
7595
7591
  }
7596
7592
  function gt(H) {
7597
- fe.dragging && l.add(H, "gu-hide");
7593
+ pe.dragging && l.add(H, "gu-hide");
7598
7594
  }
7599
7595
  function Ft() {
7600
- F || (F = document.createElement("div"), F.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;", F.innerHTML = Z.getMirrorText && Z.getMirrorText(z) || "控件", l.add(F, "gu-mirror"), Z.mirrorContainer.appendChild(F), h(c, "add", "mousemove", dt), l.add(Z.mirrorContainer, "gu-unselectable"), fe.emit("cloned", F, z, "mirror"));
7596
+ F || (F = document.createElement("div"), F.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;", F.innerHTML = Z.getMirrorText && Z.getMirrorText(z) || "控件", l.add(F, "gu-mirror"), Z.mirrorContainer.appendChild(F), h(c, "add", "mousemove", dt), l.add(Z.mirrorContainer, "gu-unselectable"), pe.emit("cloned", F, z, "mirror"));
7601
7597
  }
7602
7598
  function Ct() {
7603
7599
  if (W = document.createElement("div"), l.add(W, "gu-insertion"), z) {
@@ -7609,21 +7605,21 @@ var xu = { exports: {} };
7609
7605
  function re() {
7610
7606
  F && (l.rm(Z.mirrorContainer, "gu-unselectable"), h(c, "remove", "mousemove", dt), T(F).removeChild(F), F = null);
7611
7607
  }
7612
- function me() {
7608
+ function fe() {
7613
7609
  W && (T(W).removeChild(W), W = null);
7614
7610
  }
7615
7611
  function ge(H, ee) {
7616
- for (var oe = ee; oe !== H && T(oe) !== H; )
7617
- oe = T(oe);
7618
- return oe === c ? null : oe;
7612
+ for (var ne = ee; ne !== H && T(ne) !== H; )
7613
+ ne = T(ne);
7614
+ return ne === c ? null : ne;
7619
7615
  }
7620
7616
  function Ne(H, ee) {
7621
7617
  if (!ee)
7622
7618
  return G;
7623
- var oe = H || ee && ee.lastElementChild;
7624
- if (!oe)
7619
+ var ne = H || ee && ee.lastElementChild;
7620
+ if (!ne)
7625
7621
  return !0;
7626
- var ne = getComputedStyle(H), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
7622
+ var te = getComputedStyle(H), we = /^inline/.test(te.getPropertyValue("display")) || /^(left|right)$/.test(te.getPropertyValue("float"));
7627
7623
  if (we)
7628
7624
  return !0;
7629
7625
  if (ee) {
@@ -7641,10 +7637,10 @@ var xu = { exports: {} };
7641
7637
  if (!H.children || !H.children.length)
7642
7638
  return !1;
7643
7639
  for (const ee of Array.from(H.children)) {
7644
- const ne = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
7645
- if (!ne.length)
7640
+ const te = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
7641
+ if (!te.length)
7646
7642
  return !1;
7647
- for (const we of ne) {
7643
+ for (const we of te) {
7648
7644
  const ye = we.slice(we.lastIndexOf("-") + 1);
7649
7645
  if (parseInt(ye, 10) !== 12)
7650
7646
  return !1;
@@ -7653,15 +7649,15 @@ var xu = { exports: {} };
7653
7649
  return !0;
7654
7650
  }
7655
7651
  function Ke(H, ee) {
7656
- const oe = ee.getBoundingClientRect();
7657
- if (W.style.left = oe.left + "px", W.style.top = oe.top + "px", G) {
7658
- if (W.style.height = oe.height + "px", W.style.width = "4px", H) {
7659
- const ne = H.getBoundingClientRect();
7660
- ne.top !== oe.top && (W.style.left = ne.right + "px", W.style.top = ne.top + "px", W.style.height = ne.height + "px");
7652
+ const ne = ee.getBoundingClientRect();
7653
+ if (W.style.left = ne.left + "px", W.style.top = ne.top + "px", G) {
7654
+ if (W.style.height = ne.height + "px", W.style.width = "4px", H) {
7655
+ const te = H.getBoundingClientRect();
7656
+ te.top !== ne.top && (W.style.left = te.right + "px", W.style.top = te.top + "px", W.style.height = te.height + "px");
7661
7657
  }
7662
- } else if (W.style.height = "4px", W.style.width = oe.width + "px", ae) {
7663
- const ne = ae.getBoundingClientRect();
7664
- oe.top < ne.top && (W.style.display = "none");
7658
+ } else if (W.style.height = "4px", W.style.width = ne.width + "px", ae) {
7659
+ const te = ae.getBoundingClientRect();
7660
+ ne.top < te.top && (W.style.display = "none");
7665
7661
  }
7666
7662
  ee === z && z && (W.style.display = "none");
7667
7663
  }
@@ -7669,42 +7665,42 @@ var xu = { exports: {} };
7669
7665
  Q = null;
7670
7666
  var ee = H.lastElementChild;
7671
7667
  if (ee) {
7672
- var oe = ee.getBoundingClientRect();
7673
- G ? (W.style.left = oe.right + "px", W.style.top = oe.top + "px", W.style.height = oe.height + "px", W.style.width = "4px") : (W.style.left = oe.left + "px", W.style.top = oe.bottom + "px", W.style.height = "4px", W.style.width = oe.width + "px"), ee === z && z && (W.style.display = "none");
7668
+ var ne = ee.getBoundingClientRect();
7669
+ G ? (W.style.left = ne.right + "px", W.style.top = ne.top + "px", W.style.height = ne.height + "px", W.style.width = "4px") : (W.style.left = ne.left + "px", W.style.top = ne.bottom + "px", W.style.height = "4px", W.style.width = ne.width + "px"), ee === z && z && (W.style.display = "none");
7674
7670
  } else
7675
7671
  W.style.display = "none";
7676
7672
  }
7677
- function pe(H, ee) {
7673
+ function me(H, ee) {
7678
7674
  if (!Z.mirrorContainer.contains(H) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ae = m(H), !ae || !ae.contains(H)))
7679
7675
  return;
7680
- const oe = document.querySelector(".dgComponentSelected"), ne = ae.getBoundingClientRect();
7681
- if (ee - 30 < ne.top && ae.scrollTop > 0) {
7676
+ const ne = document.querySelector(".dgComponentSelected"), te = ae.getBoundingClientRect();
7677
+ if (ee - 30 < te.top && ae.scrollTop > 0) {
7682
7678
  let we = ae.scrollTop < 10 ? ae.scrollTop : 10;
7683
- ae.scrollBy(0, -1 * we), oe && ae.contains(oe) && (K = K + -1 * we);
7679
+ ae.scrollBy(0, -1 * we), ne && ae.contains(ne) && (K = K + -1 * we);
7684
7680
  }
7685
- if (ee + 30 > ne.bottom && ae.scrollTop < ae.scrollHeight - ae.clientHeight) {
7681
+ if (ee + 30 > te.bottom && ae.scrollTop < ae.scrollHeight - ae.clientHeight) {
7686
7682
  const we = ae.scrollHeight - ae.clientHeight - ae.scrollTop;
7687
7683
  let ye = we < 10 ? we : 10;
7688
- ae.scrollBy(0, ye), oe && ae.contains(oe) && (K = K + ye);
7684
+ ae.scrollBy(0, ye), ne && ae.contains(ne) && (K = K + ye);
7689
7685
  }
7690
7686
  }
7691
- function Ce(H, ee, oe, ne) {
7687
+ function Ce(H, ee, ne, te) {
7692
7688
  var we = Z.direction === "horizontal", ye = Z.direction === "mixed", Be = ee !== H ? He() : Te();
7693
7689
  return Be;
7694
7690
  function Te() {
7695
7691
  var Ue = H.children.length, st, he, _e;
7696
7692
  for (st = 0; st < Ue; st++)
7697
- if (he = H.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > oe || !ye && !we && _e.top + _e.height / 2 > ne || ye && _e.left + _e.width > oe && _e.top + _e.height > ne)
7693
+ if (he = H.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > ne || !ye && !we && _e.top + _e.height / 2 > te || ye && _e.left + _e.width > ne && _e.top + _e.height > te)
7698
7694
  return he;
7699
7695
  return null;
7700
7696
  }
7701
7697
  function He() {
7702
7698
  var Ue = ee.getBoundingClientRect();
7703
7699
  if (ye) {
7704
- var st = ne - Ue.top, he = oe - Ue.left, _e = Ue.bottom - ne, Je = Ue.right - oe, Qe = Math.min(he, Je, st, _e), Ze;
7700
+ var st = te - Ue.top, he = ne - Ue.left, _e = Ue.bottom - te, Je = Ue.right - ne, Qe = Math.min(he, Je, st, _e), Ze;
7705
7701
  return G ? Ze = Je < he : Ze = _e === Qe || Je === Qe || he === Qe, at(Ze);
7706
7702
  }
7707
- return at(we ? oe > Ue.left + g(Ue) / 2 : ne > Ue.top + _(Ue) / 2);
7703
+ return at(we ? ne > Ue.left + g(Ue) / 2 : te > Ue.top + _(Ue) / 2);
7708
7704
  }
7709
7705
  function at(Ue) {
7710
7706
  return Ue ? C(ee) : ee;
@@ -8293,7 +8289,7 @@ const Lu = {
8293
8289
  }
8294
8290
  });
8295
8291
  function Au(n) {
8296
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !$o(n);
8292
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Lo(n);
8297
8293
  }
8298
8294
  const vn = /* @__PURE__ */ rt({
8299
8295
  name: "FDesignerItem",
@@ -8307,7 +8303,7 @@ const vn = /* @__PURE__ */ rt({
8307
8303
  parent: h,
8308
8304
  setupContext: t
8309
8305
  };
8310
- Wo("design-item-context", O);
8306
+ Ho("design-item-context", O);
8311
8307
  const x = Rt("useFormSchema"), y = Rt("designer-host-service"), b = q(() => {
8312
8308
  var Q;
8313
8309
  const $ = n.modelValue.appearance && n.modelValue.appearance.class || "", V = ((Q = p.value) == null ? void 0 : Q.getCustomButtons) && p.value.getCustomButtons();
@@ -8440,7 +8436,7 @@ const vn = /* @__PURE__ */ rt({
8440
8436
  }
8441
8437
  }
8442
8438
  Ee(() => n.modelValue, ($) => {
8443
- i.value = $, e.value = `${$.id}-component`, Lo(d);
8439
+ i.value = $, e.value = `${$.id}-component`, Wo(d);
8444
8440
  }, {
8445
8441
  deep: !0
8446
8442
  });
@@ -8467,7 +8463,7 @@ const vn = /* @__PURE__ */ rt({
8467
8463
  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 || "", d.value && (d.value.componentInstance = p, d.value.designItemContext = O), p.value.belongedComponentId = s.value;
8468
8464
  }
8469
8465
  I(), Kt.value++;
8470
- }), $n(() => {
8466
+ }), Ln(() => {
8471
8467
  d.value && d.value.removeEventListener("scroll", F);
8472
8468
  });
8473
8469
  function z($) {
@@ -8478,7 +8474,7 @@ const vn = /* @__PURE__ */ rt({
8478
8474
  const Q = document.getElementsByClassName("dgComponentFocused");
8479
8475
  Q && Q.length === 1 && Q[0] === d.value || (Array.from(Q).forEach((N) => N.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((N) => N.classList.remove("dgComponentSelected")), L.classList.add("dgComponentFocused"), t.emit("selectionChange", i.value.type, i.value, s.value, p.value), p.value.getDraggableDesignItemElement && (V = p.value.getDraggableDesignItemElement(O), V && V.value && V.value.classList.add("dgComponentSelected")));
8480
8476
  }
8481
- Oo(V == null ? void 0 : V.value);
8477
+ Mo(V == null ? void 0 : V.value);
8482
8478
  }
8483
8479
  return () => i.value.type === "component-ref" ? D(i.value) : M("div", {
8484
8480
  id: `${i.value.id}-design-item`,
@@ -8917,7 +8913,7 @@ function Gu(n, t, e) {
8917
8913
  resetTranslate: _
8918
8914
  };
8919
8915
  }
8920
- function Io(n, t) {
8916
+ function Oo(n, t) {
8921
8917
  if (n) {
8922
8918
  const e = (o) => {
8923
8919
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -8930,7 +8926,7 @@ function Io(n, t) {
8930
8926
  function Yu(n, t) {
8931
8927
  const e = S(n.enableEsc);
8932
8928
  let o = null;
8933
- return e.value ? (o = Io("Escape", (r) => {
8929
+ return e.value ? (o = Oo("Escape", (r) => {
8934
8930
  t.emit("esc", { event: r.event, type: "esc" });
8935
8931
  }), {
8936
8932
  remove: o
@@ -8939,7 +8935,7 @@ function Yu(n, t) {
8939
8935
  function Uu(n, t) {
8940
8936
  const e = S(n.enableEnter);
8941
8937
  let o = null;
8942
- return e.value ? (o = Io("Enter", (r) => {
8938
+ return e.value ? (o = Oo("Enter", (r) => {
8943
8939
  t.emit("enter", { event: r.event, type: "enter" });
8944
8940
  }), {
8945
8941
  remove: o
@@ -9047,7 +9043,7 @@ const Gt = /* @__PURE__ */ rt({
9047
9043
  display: l.value ? "" : "none"
9048
9044
  };
9049
9045
  return J["pointer-events"] = V.value ? "auto" : "none", J;
9050
- }), fe = q(() => ({
9046
+ }), pe = q(() => ({
9051
9047
  "f-icon": !0,
9052
9048
  modal_maximize: !0,
9053
9049
  modalrevert: D.value
@@ -9080,13 +9076,13 @@ const Gt = /* @__PURE__ */ rt({
9080
9076
  function ce(J) {
9081
9077
  J.width && (e.value = J.width), J.height && (o.value = J.height), J.buttons && (f.value = J.buttons), J.title && (y.value = J.title);
9082
9078
  }
9083
- let A = null, te = null;
9084
- jo(() => {
9079
+ let A = null, oe = null;
9080
+ $o(() => {
9085
9081
  _.value = B();
9086
9082
  }), Lt(() => {
9087
- v.value && !b.value && (b.value = v.value.parentElement, z.value = b.value, Q(E.value, v.value, z.value)), X.value && document.body.classList.add("modal-open"), A = Yu(n, t), te = Uu(n, t);
9083
+ v.value && !b.value && (b.value = v.value.parentElement, z.value = b.value, Q(E.value, v.value, z.value)), X.value && document.body.classList.add("modal-open"), A = Yu(n, t), oe = Uu(n, t);
9088
9084
  }), rn(() => {
9089
- L && L(), A && A.remove(), te && te.remove();
9085
+ L && L(), A && A.remove(), oe && oe.remove();
9090
9086
  }), t.expose({
9091
9087
  modalElementRef: v,
9092
9088
  updateModalOptions: ce,
@@ -9104,7 +9100,7 @@ const Gt = /* @__PURE__ */ rt({
9104
9100
  class: "f-btn-icon f-bare",
9105
9101
  style: "pointer-events: auto;"
9106
9102
  }, [M("span", {
9107
- class: fe.value
9103
+ class: pe.value
9108
9104
  }, null)]), c.value && M("li", {
9109
9105
  class: "f-btn-icon f-bare",
9110
9106
  onClick: (J) => T(J, !1),
@@ -9177,10 +9173,10 @@ const Gt = /* @__PURE__ */ rt({
9177
9173
  src: h.value
9178
9174
  }, null)]), nt()]), !s.value && v.value && !D.value && P(v.value)]);
9179
9175
  }
9180
- return () => M(Ao, {
9176
+ return () => M(jo, {
9181
9177
  to: "body"
9182
9178
  }, {
9183
- default: () => [X.value && M(Ln, {
9179
+ default: () => [X.value && M(Wn, {
9184
9180
  name: "fade",
9185
9181
  appear: !0
9186
9182
  }, {
@@ -9194,7 +9190,7 @@ const Gt = /* @__PURE__ */ rt({
9194
9190
  });
9195
9191
  }
9196
9192
  });
9197
- function Do(n) {
9193
+ function Io(n) {
9198
9194
  if (n.content && n.content.render)
9199
9195
  return n.content.render;
9200
9196
  if (n.render && typeof n.render == "function")
@@ -9203,7 +9199,7 @@ function Do(n) {
9203
9199
  function Xu(n) {
9204
9200
  const t = document.createElement("div");
9205
9201
  t.style.display = "contents";
9206
- const e = Wn({
9202
+ const e = Hn({
9207
9203
  setup(o, r) {
9208
9204
  rn(() => {
9209
9205
  document.body.removeChild(t);
@@ -9213,7 +9209,7 @@ function Xu(n) {
9213
9209
  }), h = n.closedCallback || ((g) => {
9214
9210
  }), O = n.resizeHandle || ((g) => {
9215
9211
  }), x = n.stopMoveHandle || ((g) => {
9216
- }), y = Do(n), b = (g) => {
9212
+ }), y = Io(n), b = (g) => {
9217
9213
  c.value = !1, e.unmount(), h(g);
9218
9214
  };
9219
9215
  return Lt(() => {
@@ -9245,7 +9241,7 @@ function Xu(n) {
9245
9241
  });
9246
9242
  return document.body.appendChild(t), e.mount(t), e;
9247
9243
  }
9248
- class Po {
9244
+ class Do {
9249
9245
  constructor(t) {
9250
9246
  R(this, "appContext", null);
9251
9247
  R(this, "modalRef", S());
@@ -9286,7 +9282,7 @@ class Po {
9286
9282
  open(t) {
9287
9283
  const e = document.createDocumentFragment();
9288
9284
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
9289
- const o = qo(Object.assign({
9285
+ const o = Ao(Object.assign({
9290
9286
  title: "",
9291
9287
  showButtons: !0,
9292
9288
  showHeader: !0
@@ -9297,7 +9293,7 @@ class Po {
9297
9293
  }), u = t.stopMoveHandle || ((T) => {
9298
9294
  });
9299
9295
  let c;
9300
- const d = Do(o.value), m = (T) => {
9296
+ const d = Io(o.value), m = (T) => {
9301
9297
  var f;
9302
9298
  r.value = !1;
9303
9299
  const k = (f = T == null ? void 0 : T.target) == null ? void 0 : f.classList.contains("modal_close");
@@ -9333,7 +9329,7 @@ class Po {
9333
9329
  default: () => [d && d(this.app)]
9334
9330
  });
9335
9331
  return c = ((T) => {
9336
- const k = zo(b, T);
9332
+ const k = qo(b, T);
9337
9333
  return k.appContext = this.appContext, sn(k, e), k;
9338
9334
  })({
9339
9335
  ...o.value
@@ -9343,7 +9339,7 @@ class Po {
9343
9339
  o.value = {
9344
9340
  ...o.value,
9345
9341
  ...T
9346
- }, c && sn(Go(c, {
9342
+ }, c && sn(zo(c, {
9347
9343
  ...o
9348
9344
  }), e);
9349
9345
  },
@@ -9356,7 +9352,7 @@ class Po {
9356
9352
  const Qu = Symbol("FModalService");
9357
9353
  Gt.install = (n) => {
9358
9354
  n.component(Gt.name, Gt);
9359
- const t = new Po(n);
9355
+ const t = new Do(n);
9360
9356
  n.provide(Qu, t), n.provide("FModalService", t);
9361
9357
  };
9362
9358
  const Ku = {
@@ -9376,7 +9372,7 @@ const Ku = {
9376
9372
  };
9377
9373
  $t(
9378
9374
  Ku,
9379
- Fo,
9375
+ Eo,
9380
9376
  xn,
9381
9377
  void 0
9382
9378
  );
@@ -9683,7 +9679,7 @@ class St {
9683
9679
  }), o = !1, r = e.type === "error" || e.type === "prompt", a = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", i = e.acceptCallback || (() => {
9684
9680
  }), s = e.rejectCallback || (() => {
9685
9681
  });
9686
- let l = null, u = new Po(l);
9682
+ let l = null, u = new Do(l);
9687
9683
  const c = () => {
9688
9684
  l && (l == null || l.destroy(), u = null);
9689
9685
  };
@@ -9842,7 +9838,7 @@ function xc(n, t, e) {
9842
9838
  }
9843
9839
  return { getCompareOperators: r };
9844
9840
  }
9845
- function No() {
9841
+ function Po() {
9846
9842
  const n = S({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
9847
9843
  let o = 0;
9848
9844
  function r() {
@@ -10057,15 +10053,15 @@ function Sc(n, t, e) {
10057
10053
  }
10058
10054
  const cn = /* @__PURE__ */ rt({
10059
10055
  name: "FConditionList",
10060
- props: Jn,
10056
+ props: Kn,
10061
10057
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
10062
10058
  setup(n, t) {
10063
- const e = S(n.key), o = S(n.conditions), r = Eo(n), {
10059
+ const e = S(n.key), o = S(n.conditions), r = ko(n), {
10064
10060
  convertToSingleControl: a,
10065
10061
  fields: i,
10066
10062
  fieldMap: s,
10067
10063
  loadFieldConfigs: l
10068
- } = r, u = No(), {
10064
+ } = r, u = Po(), {
10069
10065
  addCondition: c,
10070
10066
  changeGroupRelation: d,
10071
10067
  getConditions: m,
@@ -10078,7 +10074,7 @@ const cn = /* @__PURE__ */ rt({
10078
10074
  unGroup: g
10079
10075
  } = u, {
10080
10076
  createConditionValue: _
10081
- } = ko(), T = Sc(n, t, u), {
10077
+ } = To(), T = Sc(n, t, u), {
10082
10078
  selectedItems: k,
10083
10079
  toggleSelect: f
10084
10080
  } = T, {
@@ -10222,7 +10218,7 @@ const cn = /* @__PURE__ */ rt({
10222
10218
  }
10223
10219
  });
10224
10220
  cn.install = (n) => {
10225
- n.component(Vn.name, Vn).component(cn.name, cn);
10221
+ n.component(Bn.name, Bn).component(cn.name, cn);
10226
10222
  };
10227
10223
  const Tc = [
10228
10224
  "equal",
@@ -10356,37 +10352,37 @@ const Tc = [
10356
10352
  ["text", kc]
10357
10353
  ]);
10358
10354
  function Dc() {
10359
- const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = No();
10355
+ const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Po();
10360
10356
  function o(x, y) {
10361
10357
  switch (x) {
10362
10358
  case "check-box":
10363
- return new Zn({ value: y });
10359
+ return new Jn({ value: y });
10364
10360
  case "combo-list":
10365
- return new bo({ value: y });
10361
+ return new yo({ value: y });
10366
10362
  case "combo-lookup":
10367
- return new eo({ value: y });
10363
+ return new Zn({ value: y });
10368
10364
  case "input-group":
10369
10365
  return new nn({ value: y });
10370
10366
  case "date-picker":
10371
- return new go({ value: y });
10367
+ return new vo({ value: y });
10372
10368
  case "date-range":
10373
10369
  return new tn({ value: y });
10374
10370
  case "datetime-picker":
10375
- return new yo({ value: y });
10371
+ return new go({ value: y });
10376
10372
  case "datetime-range":
10377
10373
  return new tn({ value: y });
10378
10374
  case "lookup":
10379
- return new wo({ value: y });
10375
+ return new bo({ value: y });
10380
10376
  case "month-picker":
10381
- return new Co({ value: y });
10377
+ return new wo({ value: y });
10382
10378
  case "month-range":
10383
- return new _o({ value: y });
10379
+ return new Co({ value: y });
10384
10380
  case "number-range":
10385
- return new xo({ value: y });
10381
+ return new _o({ value: y });
10386
10382
  case "number-spinner":
10387
- return new So({ value: y });
10383
+ return new xo({ value: y });
10388
10384
  case "radio-group":
10389
- return new To({ value: y });
10385
+ return new So({ value: y });
10390
10386
  default:
10391
10387
  return new nn({ value: y });
10392
10388
  }
@@ -10479,69 +10475,69 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10479
10475
  const re = c.value;
10480
10476
  if (re.length <= 0)
10481
10477
  return 0;
10482
- const me = m.value < re.length ? re[m.value] : re[re.length - 1];
10483
- return me.__fv_data_position__ > re.length * y ? re.length * y : (me.__fv_data_position__ || 0) + (me.__fv_data_height__ || 0) + Math.max(re.length - 1 - m.value, 0) * y;
10478
+ const fe = m.value < re.length ? re[m.value] : re[re.length - 1];
10479
+ return fe.__fv_data_position__ > re.length * y ? re.length * y : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(re.length - 1 - m.value, 0) * y;
10484
10480
  }
10485
10481
  const F = q(() => {
10486
10482
  const re = P();
10487
10483
  c.value;
10488
- let me = f.value / Math.max(re, f.value), ge = Math.floor(me * f.value);
10484
+ let fe = f.value / Math.max(re, f.value), ge = Math.floor(fe * f.value);
10489
10485
  for (; f.value > 0 && ge < E; )
10490
- me *= v, ge = Math.floor(me * f.value);
10486
+ fe *= v, ge = Math.floor(fe * f.value);
10491
10487
  return ge;
10492
10488
  }), I = q(() => Math.floor(C.value / Math.max(h.value, C.value) * k.value)), z = 0, $ = 0, V = q(() => k.value - (O.value + h.value + x.value + s.value));
10493
10489
  function L(re) {
10494
10490
  const ge = Math.floor(re / y) + 1, Ne = c.value;
10495
10491
  return Ne.length > ge ? Ne[ge].__fv_visible_index__ - 1 : 0;
10496
10492
  }
10497
- function Q(re, me, ge) {
10498
- let Ne = re, ze = me;
10499
- const Ke = me - re + 1;
10493
+ function Q(re, fe, ge) {
10494
+ let Ne = re, ze = fe;
10495
+ const Ke = fe - re + 1;
10500
10496
  if (Ke < i + a.value + i) {
10501
- const U = i + a.value + i - Ke, pe = me + U <= ge, Ce = 0 + U <= re;
10502
- if (pe)
10497
+ const U = i + a.value + i - Ke, me = fe + U <= ge, Ce = 0 + U <= re;
10498
+ if (me)
10503
10499
  ze += U, T = ze;
10504
10500
  else if (Ce)
10505
10501
  Ne -= U, _ = Ne;
10506
10502
  else {
10507
- const Me = ge - me, H = U - Me;
10508
- ze = Math.min(me + Me, ge), Ne = Math.max(re - H, 0);
10503
+ const Me = ge - fe, H = U - Me;
10504
+ ze = Math.min(fe + Me, ge), Ne = Math.max(re - H, 0);
10509
10505
  }
10510
10506
  }
10511
10507
  return { actualStart: Ne, actualEnd: ze };
10512
10508
  }
10513
10509
  function B(re) {
10514
10510
  var Me, H;
10515
- const me = c.value;
10516
- if (!me.length) {
10511
+ const fe = c.value;
10512
+ if (!fe.length) {
10517
10513
  e.value = [];
10518
10514
  return;
10519
10515
  }
10520
- const ge = (Me = n.pagination) != null && Me.enable ? 0 : Math.max(_ - i, 0), Ne = me[me.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? me.length - 1 : Math.min(T + i, Ne), { actualStart: Ke, actualEnd: U } = Q(ge, ze, Ne), pe = me[Ke - 1], Ce = d(Ke, U, pe, re);
10516
+ const ge = (Me = n.pagination) != null && Me.enable ? 0 : Math.max(_ - i, 0), Ne = fe[fe.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? fe.length - 1 : Math.min(T + i, Ne), { actualStart: Ke, actualEnd: U } = Q(ge, ze, Ne), me = fe[Ke - 1], Ce = d(Ke, U, me, re);
10521
10517
  Ce.length && (e.value = [...Ce]);
10522
10518
  }
10523
10519
  const N = q(() => P() > f.value), X = q(() => Math.floor(h.value) > C.value);
10524
- function j(re, me) {
10520
+ function j(re, fe) {
10525
10521
  let ge = re;
10526
10522
  const Ne = ge > z, ze = N.value;
10527
- ze && ge < f.value - me && (ge = f.value - me), (!ze || Ne) && (ge = z), b.value !== ge && (b.value = ge);
10523
+ ze && ge < f.value - fe && (ge = f.value - fe), (!ze || Ne) && (ge = z), b.value !== ge && (b.value = ge);
10528
10524
  }
10529
10525
  function W() {
10530
10526
  w.value && (_ = L(Math.abs(b.value)), T = _ + a.value - 1, (_ < p.value || T > m.value - i / 2) && B());
10531
10527
  }
10532
10528
  function G(re) {
10533
- let me = b.value + re;
10534
- me > z && (me = z);
10529
+ let fe = b.value + re;
10530
+ fe > z && (fe = z);
10535
10531
  const ge = P();
10536
- j(me, ge), W();
10532
+ j(fe, ge), W();
10537
10533
  }
10538
10534
  function K(re) {
10539
10535
  if (!X.value) {
10540
10536
  g.value = 0;
10541
10537
  return;
10542
10538
  }
10543
- let me = g.value + re;
10544
- me > $ && (me = $), me < V.value && (me = V.value), g.value !== me && (g.value = me);
10539
+ let fe = g.value + re;
10540
+ fe > $ && (fe = $), fe < V.value && (fe = V.value), g.value !== fe && (g.value = fe);
10545
10541
  }
10546
10542
  function ae() {
10547
10543
  Math.abs(g.value) + C.value > h.value && (g.value = Math.min(C.value - h.value, 0));
@@ -10549,25 +10545,25 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10549
10545
  function Z() {
10550
10546
  b.value = 0, _ = 0, T = a.value - 1, B();
10551
10547
  }
10552
- function fe() {
10548
+ function pe() {
10553
10549
  const re = P();
10554
10550
  j(b.value, re);
10555
10551
  }
10556
10552
  Ee([C, h], () => {
10557
10553
  K(0);
10558
- }), Ee(f, (re, me) => {
10559
- re !== me && re >= u.value.length * y && G(0);
10554
+ }), Ee(f, (re, fe) => {
10555
+ re !== fe && re >= u.value.length * y && G(0);
10560
10556
  });
10561
10557
  function ve(re) {
10562
- let { deltaX: me } = re, ge = -1 * re.deltaY;
10563
- return typeof me > "u" && (me = -1 * re.wheelDeltaX / 6), typeof ge > "u" && (ge = re.wheelDeltaY / 6), re.deltaMode && re.deltaMode === 1 && (me *= 10, ge *= 10), re.shiftKey ? { deltaY: -ge, deltaX: -me } : { deltaX: me, deltaY: ge };
10558
+ let { deltaX: fe } = re, ge = -1 * re.deltaY;
10559
+ return typeof fe > "u" && (fe = -1 * re.wheelDeltaX / 6), typeof ge > "u" && (ge = re.wheelDeltaY / 6), re.deltaMode && re.deltaMode === 1 && (fe *= 10, ge *= 10), re.shiftKey ? { deltaY: -ge, deltaX: -fe } : { deltaX: fe, deltaY: ge };
10564
10560
  }
10565
10561
  function xe(re) {
10566
10562
  if (n.disabled || !N.value || re.target.tagName === "TEXTAREA")
10567
10563
  return;
10568
10564
  re.preventDefault(), re.stopPropagation();
10569
- const { deltaX: me, deltaY: ge } = ve(re);
10570
- G(ge), K(me);
10565
+ const { deltaX: fe, deltaY: ge } = ve(re);
10566
+ G(ge), K(fe);
10571
10567
  }
10572
10568
  const Pe = q(() => ({
10573
10569
  height: `${u.value.length * y}px`,
@@ -10585,7 +10581,7 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10585
10581
  height: `${u.value.length * y}px`,
10586
10582
  width: `${x.value}px`,
10587
10583
  transform: `translateY(${b.value}px)`
10588
- })), te = q(() => ({
10584
+ })), oe = q(() => ({
10589
10585
  transform: `translateY(${b.value}px)`
10590
10586
  })), be = q(() => ({
10591
10587
  height: `${u.value.length * y}px`,
@@ -10611,18 +10607,18 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10611
10607
  })), Ie = S(!1), qe = S(-1), Ve = S(-1), it = S();
10612
10608
  function vt(re) {
10613
10609
  if (Ie.value && Ve.value !== -1) {
10614
- const me = Ve.value - re.pageX, ge = k.value - I.value;
10615
- if (Math.abs(me) <= ge) {
10616
- const Ne = me / (C.value - I.value) * (h.value - C.value);
10610
+ const fe = Ve.value - re.pageX, ge = k.value - I.value;
10611
+ if (Math.abs(fe) <= ge) {
10612
+ const Ne = fe / (C.value - I.value) * (h.value - C.value);
10617
10613
  K(Ne), Ve.value = re.pageX;
10618
10614
  }
10619
10615
  }
10620
10616
  }
10621
10617
  function bt(re) {
10622
10618
  if (Ie.value && qe.value !== -1) {
10623
- const me = qe.value - re.pageY, ge = P(), Ne = ge - F.value;
10624
- if (Math.abs(me) <= Ne) {
10625
- const ze = me / (f.value - F.value) * (ge - f.value);
10619
+ const fe = qe.value - re.pageY, ge = P(), Ne = ge - F.value;
10620
+ if (Math.abs(fe) <= Ne) {
10621
+ const ze = fe / (f.value - F.value) * (ge - f.value);
10626
10622
  G(ze), qe.value = re.pageY;
10627
10623
  }
10628
10624
  }
@@ -10630,16 +10626,16 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10630
10626
  function dt(re) {
10631
10627
  Ie.value = !1, qe.value = -1, Ve.value = -1, document.removeEventListener("mouseup", dt), D && (document.removeEventListener("mousemove", D), D = null), document.body.style.userSelect = "", it.value && (it.value.style.opacity = null);
10632
10628
  }
10633
- function Et(re, me, ge) {
10629
+ function Et(re, fe, ge) {
10634
10630
  var Ke;
10635
10631
  Ie.value = !0;
10636
10632
  const Ne = (Ke = re.target) == null ? void 0 : Ke.parentElement;
10637
- Ne && (Ne.style.opacity = "1", it.value = Ne), D || (D = Yo(ge === "horizontal" ? vt : bt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Ve.value = re.pageX), me.value && (me.value, document.addEventListener("mousemove", D), document.addEventListener("mouseup", dt), document.body.style.userSelect = "none");
10633
+ Ne && (Ne.style.opacity = "1", it.value = Ne), D || (D = Go(ge === "horizontal" ? vt : bt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Ve.value = re.pageX), fe.value && (fe.value, document.addEventListener("mousemove", D), document.addEventListener("mouseup", dt), document.body.style.userSelect = "none");
10638
10634
  }
10639
10635
  function wt(re) {
10640
- const me = u.value.length * y - f.value;
10636
+ const fe = u.value.length * y - f.value;
10641
10637
  let ge = re * y;
10642
- ge >= me && (ge = me), G(-ge - b.value);
10638
+ ge >= fe && (ge = fe), G(-ge - b.value);
10643
10639
  }
10644
10640
  function gt() {
10645
10641
  wt(u.value.length);
@@ -10666,10 +10662,10 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10666
10662
  resetScroll: Z,
10667
10663
  rightFixedGridDataStyle: A,
10668
10664
  rightFixedGridHeaderColumnsStyle: nt,
10669
- rightFixedGridMergedDataStyle: te,
10665
+ rightFixedGridMergedDataStyle: oe,
10670
10666
  shouldShowHorizontalScrollbar: X,
10671
10667
  shouldShowVirticalScrollbar: N,
10672
- updateVirticalScroll: fe,
10668
+ updateVirticalScroll: pe,
10673
10669
  updateVisibleRowsOnLatestVisibleScope: W,
10674
10670
  verticalScrollThumbStyle: ct,
10675
10671
  viewPortWidth: C,
@@ -10681,7 +10677,7 @@ function Nc(n, t, e, o, r, a, i, s, l) {
10681
10677
  }
10682
10678
  function Bc(n) {
10683
10679
  var a;
10684
- const { isUndefined: t } = Ir(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
10680
+ const { isUndefined: t } = Or(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
10685
10681
  function o(i, s) {
10686
10682
  const l = i.pre;
10687
10683
  if (l) {
@@ -10736,7 +10732,7 @@ function Rc() {
10736
10732
  function Hc() {
10737
10733
  const {
10738
10734
  formatTo: n
10739
- } = Dr();
10735
+ } = Ir();
10740
10736
  function t(o, r) {
10741
10737
  if (o) {
10742
10738
  let a = "yyyy-MM-dd";
@@ -10761,7 +10757,7 @@ function Hc() {
10761
10757
  function Wc() {
10762
10758
  const {
10763
10759
  formatTo: n
10764
- } = Pr();
10760
+ } = Dr();
10765
10761
  function t(e, o) {
10766
10762
  const r = {
10767
10763
  precision: o.precision,
@@ -11246,15 +11242,15 @@ function Yc(n, t, e, o, r) {
11246
11242
  return s(h.value);
11247
11243
  }
11248
11244
  function g() {
11249
- const Y = o.value.reduce((A, te) => (A.set(te.raw[a.value], te), A), /* @__PURE__ */ new Map());
11245
+ const Y = o.value.reduce((A, oe) => (A.set(oe.raw[a.value], oe), A), /* @__PURE__ */ new Map());
11250
11246
  return h.value.map((A) => Y.get(A)).filter((A) => !!A);
11251
11247
  }
11252
11248
  function _(Y) {
11253
11249
  var A;
11254
11250
  const ce = Y.raw.__fv_children_index__;
11255
11251
  if (ce && ce.length) {
11256
- const te = ce.map((be) => i.value[be]);
11257
- (A = h.value) != null && A.length && te.some((ke) => !h.value.includes(ke[a.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
11252
+ const oe = ce.map((be) => i.value[be]);
11253
+ (A = h.value) != null && A.length && oe.some((ke) => !h.value.includes(ke[a.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
11258
11254
  }
11259
11255
  }
11260
11256
  const T = q(() => u.value && c.value), k = q(
@@ -11278,8 +11274,8 @@ function Yc(n, t, e, o, r) {
11278
11274
  }), g().forEach((A) => {
11279
11275
  A.checked = !0, A.raw.__fv_checked__ = !0;
11280
11276
  }), Y.forEach((A) => {
11281
- const te = o.value.find((be) => be.raw[a.value] === A);
11282
- _(te);
11277
+ const oe = o.value.find((be) => be.raw[a.value] === A);
11278
+ _(oe);
11283
11279
  });
11284
11280
  }
11285
11281
  Ee(() => o.value, () => {
@@ -11350,14 +11346,14 @@ function Yc(n, t, e, o, r) {
11350
11346
  const ce = o.value.find((A) => A.raw[a.value] === Y);
11351
11347
  ce && ae(ce);
11352
11348
  }
11353
- function fe(Y) {
11354
- const ce = o.value.filter((be) => Y.includes(be.raw[a.value])), A = ce.map((be) => be.raw[a.value]), te = i.value.filter((be) => {
11349
+ function pe(Y) {
11350
+ const ce = o.value.filter((be) => Y.includes(be.raw[a.value])), A = ce.map((be) => be.raw[a.value]), oe = i.value.filter((be) => {
11355
11351
  const ke = be[a.value];
11356
11352
  return !A.includes(ke) && Y.includes(ke);
11357
11353
  });
11358
- (ce.length || te.length) && ($(), k.value && (l.value = Y[0])), ce.forEach((be) => {
11354
+ (ce.length || oe.length) && ($(), k.value && (l.value = Y[0])), ce.forEach((be) => {
11359
11355
  N(be);
11360
- }), te.forEach((be) => {
11356
+ }), oe.forEach((be) => {
11361
11357
  V(be);
11362
11358
  }), v();
11363
11359
  }
@@ -11365,12 +11361,12 @@ function Yc(n, t, e, o, r) {
11365
11361
  for (const ce of Y) {
11366
11362
  if (!h.value.includes(ce))
11367
11363
  continue;
11368
- const A = o.value.find((te) => te.raw[a.value] === ce);
11364
+ const A = o.value.find((oe) => oe.raw[a.value] === ce);
11369
11365
  if (A)
11370
11366
  X(A);
11371
11367
  else {
11372
- const te = i.value.find((be) => be[a.value] === ce);
11373
- te && L(te);
11368
+ const oe = i.value.find((be) => be[a.value] === ce);
11369
+ oe && L(oe);
11374
11370
  }
11375
11371
  }
11376
11372
  h.value = h.value.filter(
@@ -11411,7 +11407,7 @@ function Yc(n, t, e, o, r) {
11411
11407
  selectDataItem: V,
11412
11408
  selectItem: ae,
11413
11409
  selectItemById: Z,
11414
- selectItemByIds: fe,
11410
+ selectItemByIds: pe,
11415
11411
  showCheckBox: m,
11416
11412
  showSelectAll: p,
11417
11413
  toggleSelectItem: K,
@@ -11570,41 +11566,41 @@ const on = /* @__PURE__ */ rt({
11570
11566
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
11571
11567
  setup(n, t) {
11572
11568
  var Ue, st;
11573
- const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = S(20), a = S(n.columns), i = Uo(n), {
11569
+ const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = S(20), a = S(n.columns), i = Yo(n), {
11574
11570
  idField: s
11575
- } = i, l = S(), u = S(), c = S(), d = S(), m = S(), p = S([]), h = S(!1), O = S(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), x = Xo(n, i), y = Qo(), b = Ko(n), {
11571
+ } = i, l = S(), u = S(), c = S(), d = S(), m = S(), p = S([]), h = S(!1), O = S(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), x = Uo(n, i), y = Xo(), b = Qo(n), {
11576
11572
  collapseField: g
11577
11573
  } = b, {
11578
11574
  showLoading: _,
11579
11575
  renderLoading: T
11580
- } = Jo(n, l), k = Zo(n, /* @__PURE__ */ new Map(), y, b, i), {
11576
+ } = Ko(n, l), k = Jo(n, /* @__PURE__ */ new Map(), y, b, i), {
11581
11577
  dataView: f
11582
- } = k, C = er(n, k, i, p, t), w = tr(n, p, k, i, C, t), E = q(() => n.disabled), v = q(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
11578
+ } = k, C = Zo(n, k, i, p, t), w = er(n, p, k, i, C, t), E = q(() => n.disabled), v = q(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
11583
11579
  containerStyleObject: D
11584
- } = nr(n), P = or(n), {
11580
+ } = tr(n), P = nr(n), {
11585
11581
  applyCommands: F
11586
11582
  } = P;
11587
11583
  F(a);
11588
- const I = rr(n), z = ar(n), {
11584
+ const I = or(n), z = rr(n), {
11589
11585
  applyColumnSorter: $,
11590
11586
  columnContext: V,
11591
11587
  updateColumnRenderContext: L
11592
11588
  } = I;
11593
11589
  $(k, z);
11594
- const Q = ir(n, V), B = sr(n, t, C, i), N = lr(n, t, i, B, p), X = ur(n), j = cr(n, N, X), W = dr(n, k, N, b, i, X, j), G = fr(n, a, k, v, 0, W), {
11590
+ const Q = ar(n, V), B = ir(n, t, C, i), N = sr(n, t, i, B, p), X = lr(n), j = ur(n, N, X), W = cr(n, k, N, b, i, X, j), G = dr(n, a, k, v, 0, W), {
11595
11591
  getVisualData: K
11596
- } = G, ae = mr(n, V), Z = pr(n, C), {
11597
- sidebarWidth: fe
11598
- } = Z, ve = hr(n, k, p, V, G, v, 0, fe), {
11592
+ } = G, ae = fr(n, V), Z = mr(n, C), {
11593
+ sidebarWidth: pe
11594
+ } = Z, ve = pr(n, k, p, V, G, v, 0, pe), {
11599
11595
  onWheel: xe,
11600
11596
  dataGridWidth: Pe,
11601
11597
  viewPortHeight: Re,
11602
11598
  viewPortWidth: Y,
11603
11599
  resetScroll: ce,
11604
11600
  updateVisibleRowsOnLatestVisibleScope: A
11605
- } = ve, te = vr(n, V, u, Y, Q), {
11601
+ } = ve, oe = hr(n, V, u, Y, Q), {
11606
11602
  calculateColumnsSize: be
11607
- } = te, ke = gr(), De = yr(u, m, k, ke, ve), nt = br(n, t, I, k, Q, x, ve), ht = q(() => ({
11603
+ } = oe, ke = vr(), De = gr(u, m, k, ke, ve), nt = yr(n, t, I, k, Q, x, ve), ht = q(() => ({
11608
11604
  "fv-grid": !0,
11609
11605
  "fv-grid-bordered": n.showBorder,
11610
11606
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
@@ -11619,15 +11615,15 @@ const on = /* @__PURE__ */ rt({
11619
11615
  renderGridHeader: Se,
11620
11616
  renderGridColumnResizeOverlay: Ie,
11621
11617
  shouldShowHeader: qe
11622
- } = wr(n, t, u, d, m, I, k, nt, De, y, ke, te, Q, C, Z, z, ve, Y, p), {
11618
+ } = br(n, t, u, d, m, I, k, nt, De, y, ke, oe, Q, C, Z, z, ve, Y, p), {
11623
11619
  renderDataGridSidebar: Ve
11624
- } = Cr(n, B, C, Z, ve), {
11620
+ } = wr(n, B, C, Z, ve), {
11625
11621
  renderDisableMask: it
11626
- } = _r(), {
11622
+ } = Cr(), {
11627
11623
  renderHorizontalScrollbar: vt
11628
- } = xr(n, u, ve), {
11624
+ } = _r(n, u, ve), {
11629
11625
  renderVerticalScrollbar: bt
11630
- } = Sr(n, u, ve);
11626
+ } = xr(n, u, ve);
11631
11627
  function dt() {
11632
11628
  var he, _e, Je;
11633
11629
  if (u.value && u.value.clientHeight > 0 && ((he = u.value) == null ? void 0 : he.clientWidth) > 0) {
@@ -11636,7 +11632,7 @@ const on = /* @__PURE__ */ rt({
11636
11632
  }
11637
11633
  }
11638
11634
  Lt(() => {
11639
- u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), p.value = K(0, v.value + 0 - 1), jn(u.value, dt), be(), an(() => {
11635
+ u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), p.value = K(0, v.value + 0 - 1), $n(u.value, dt), be(), an(() => {
11640
11636
  u.value && (Pe.value = u.value.clientWidth), c.value && (Y.value = c.value.clientWidth, Re.value = c.value.clientHeight);
11641
11637
  })), _.value && T();
11642
11638
  }), rn(() => {
@@ -11665,7 +11661,7 @@ const on = /* @__PURE__ */ rt({
11665
11661
  const he = gt(), _e = w.getNextSelectableHierarchyItemId(he);
11666
11662
  k.removeHierarchyDataItem(he), p.value = K(0, v.value + 0 - 1), _e && C.selectItemById(_e);
11667
11663
  }
11668
- function me(he) {
11664
+ function fe(he) {
11669
11665
  N.onEditingRow(he);
11670
11666
  }
11671
11667
  function ge(he) {
@@ -11683,7 +11679,7 @@ const on = /* @__PURE__ */ rt({
11683
11679
  function U(he) {
11684
11680
  C.selectItemById(he);
11685
11681
  }
11686
- function pe(he) {
11682
+ function me(he) {
11687
11683
  const _e = p.value.find((Je) => Je.raw[i.idField.value] === he);
11688
11684
  _e && B.clickRowItem(_e);
11689
11685
  }
@@ -11699,9 +11695,9 @@ const on = /* @__PURE__ */ rt({
11699
11695
  function ee() {
11700
11696
  C.clearSelection();
11701
11697
  }
11702
- const oe = q(() => !p.value || !p.value.length), {
11703
- renderEmpty: ne
11704
- } = Tr(t);
11698
+ const ne = q(() => !p.value || !p.value.length), {
11699
+ renderEmpty: te
11700
+ } = Sr(t);
11705
11701
  function we() {
11706
11702
  return C.getSelectionRow();
11707
11703
  }
@@ -11756,7 +11752,7 @@ const on = /* @__PURE__ */ rt({
11756
11752
  collapseTo: Et,
11757
11753
  expandTo: wt,
11758
11754
  removeDataItem: re,
11759
- editDataItem: me,
11755
+ editDataItem: fe,
11760
11756
  acceptDataItem: ge,
11761
11757
  cancelDataItem: Ne,
11762
11758
  updateColumns: ze,
@@ -11766,7 +11762,7 @@ const on = /* @__PURE__ */ rt({
11766
11762
  getSelectedItems: H,
11767
11763
  clearSelection: ee,
11768
11764
  getSelectionRow: we,
11769
- clickRowItemById: pe,
11765
+ clickRowItemById: me,
11770
11766
  unSelectItemByIds: ye,
11771
11767
  getCurrentRowId: Be,
11772
11768
  reassignRowData: Te,
@@ -11782,7 +11778,7 @@ const on = /* @__PURE__ */ rt({
11782
11778
  class: ct.value,
11783
11779
  onMouseover: () => h.value = !0,
11784
11780
  onMouseleave: () => h.value = !1
11785
- }, [u.value && Ve(p), u.value && J(), u.value && oe.value && ne(), u.value && vt(), u.value && bt()]), Ie(), E.value && it()]);
11781
+ }, [u.value && Ve(p), u.value && J(), u.value && ne.value && te(), u.value && vt(), u.value && bt()]), Ie(), E.value && it()]);
11786
11782
  }
11787
11783
  });
11788
11784
  function nd(n, t, e, o, r = "data-grid-column") {
@@ -12364,11 +12360,11 @@ function ld(n, t, e, o, r, a, i, s) {
12364
12360
  }
12365
12361
  const ud = /* @__PURE__ */ rt({
12366
12362
  name: "FTreeGridDesign",
12367
- props: Qn,
12363
+ props: Xn,
12368
12364
  emits: [],
12369
12365
  setup(n, t) {
12370
- var te, be;
12371
- const e = S(), o = 0, r = ((te = n.rowOption) == null ? void 0 : te.height) || 28, a = S(20), i = S(n.columns), s = zc(n), l = S(), u = S(), c = S([]), d = S(!1), m = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), p = Rt("designer-host-service"), h = Rt("design-item-context"), O = rd(h, p), x = ru(e, h, O);
12366
+ var oe, be;
12367
+ const e = S(), o = 0, r = ((oe = n.rowOption) == null ? void 0 : oe.height) || 28, a = S(20), i = S(n.columns), s = zc(n), l = S(), u = S(), c = S([]), d = S(!1), m = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), p = Rt("designer-host-service"), h = Rt("design-item-context"), O = rd(h, p), x = ru(e, h, O);
12372
12368
  x.value.designerClass = "f-utils-fill-flex-column";
12373
12369
  const y = Dc(), b = Pc(n), g = Ri(n, /* @__PURE__ */ new Map(), y, b, s), _ = Yc(n, g, s, c, t), T = q(() => g.dataView.value.length), {
12374
12370
  containerStyleObject: k
@@ -12392,9 +12388,9 @@ const ud = /* @__PURE__ */ rt({
12392
12388
  viewPortHeight: K,
12393
12389
  viewPortWidth: ae,
12394
12390
  updateVisibleRowsOnLatestVisibleScope: Z
12395
- } = j, fe = ad(n, v, l, ae, F), {
12391
+ } = j, pe = ad(n, v, l, ae, F), {
12396
12392
  calculateColumnsSize: ve
12397
- } = fe, xe = q(() => ({
12393
+ } = pe, xe = q(() => ({
12398
12394
  "drag-container": !0,
12399
12395
  "fv-grid": !0,
12400
12396
  "fv-grid-bordered": n.showBorder,
@@ -12414,7 +12410,7 @@ const ud = /* @__PURE__ */ rt({
12414
12410
  ke > a.value && (a.value = ke, Z()), K.value = ((De = u.value) == null ? void 0 : De.clientHeight) || 0, G.value = ((nt = l.value) == null ? void 0 : nt.clientWidth) || 0, ve();
12415
12411
  }
12416
12412
  Lt(() => {
12417
- e.value.componentInstance = x, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = B(0, T.value + o - 1), jn(l.value, ce), ve(), an(() => {
12413
+ e.value.componentInstance = x, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = B(0, T.value + o - 1), $n(l.value, ce), ve(), an(() => {
12418
12414
  l.value && (G.value = l.value.clientWidth), u.value && (ae.value = u.value.clientWidth, K.value = u.value.clientHeight);
12419
12415
  }));
12420
12416
  });
@@ -12449,7 +12445,7 @@ on.register = (n, t, e, o) => {
12449
12445
  on.registerDesigner = (n, t, e) => {
12450
12446
  n["tree-grid"] = ud, t["tree-grid"] = bi;
12451
12447
  };
12452
- const em = Nr(on);
12448
+ const em = Pr(on);
12453
12449
  export {
12454
12450
  on as FTreeGrid,
12455
12451
  yi as bindingResolver,
@@ -12467,7 +12463,7 @@ export {
12467
12463
  gi as selectionItemResolver,
12468
12464
  zf as sortOptions,
12469
12465
  Qf as summaryOptions,
12470
- Qn as treeGridDesignProps,
12466
+ Xn as treeGridDesignProps,
12471
12467
  bn as treeGridProps,
12472
12468
  wi as updateColumnsResolver
12473
12469
  };