@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,20 +1,20 @@
1
- var ir = Object.defineProperty;
2
- var ar = (n, t, e) => t in n ? ir(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var A = (n, t, e) => ar(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as _, computed as L, createVNode as I, defineComponent as Xe, watch as Te, onMounted as pt, Fragment as zt, reactive as _t, createApp as Jn, onUnmounted as Zt, Transition as Zn, mergeProps as At, createTextVNode as Ot, onBeforeUnmount as _n, withDirectives as sr, resolveDirective as lr, nextTick as Pt, onBeforeMount as ur, Teleport as cr, shallowRef as dr, render as fn, h as fr, cloneVNode as pr, inject as Ke, provide as Sn, triggerRef as mr, isVNode as hr, getCurrentInstance as vr, withModifiers as gr } from "vue";
5
- import { isPlainObject as Nn, cloneDeep as ft, isUndefined as dt, throttle as yr } from "lodash-es";
6
- import eo from "../response-toolbar/index.esm.js";
7
- import { getCustomClass as rt, useGuid as br, resolveField as at, FormSchemaEntityFieldTypeName as Vn, useCommonUtils as wr, useDateFormat as Cr, useNumberFormat as xr, setFieldValue as hn, withInstall as to } from "../common/index.esm.js";
8
- import { useResizeObserver as no } from "@vueuse/core";
9
- import { useIdentify as _r, useGroupData as Sr, useFilter as Tr, useHierarchy as kr, useLoading as Mr, useDataView as Er, useSelection as Ir, useSelectHierarchyItem as Fr, useDataViewContainerStyle as Or, useCommandColumn as Dr, useColumn as Pr, useSort as Br, useGroupColumn as Rr, useRow as Nr, useEdit as Vr, useVisualDataBound as $r, useVisualDataCell as Lr, useVisualDataRow as jr, useVisualData as Ar, useCellPosition as Hr, useSidebar as Wr, useVirtualScroll as qr, useFitColumn as zr, useFilterHistory as Gr, useColumnFilter as Yr, useDragColumn as Ur, getColumnHeader as Xr, getSidebar as Qr, getDisableMask as Kr, getHorizontalScrollbar as Jr, getVerticalScrollbar as Zr, getEmpty as ei } from "../data-view/index.esm.js";
1
+ var rr = Object.defineProperty;
2
+ var ir = (n, t, e) => t in n ? rr(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var A = (n, t, e) => ir(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { ref as _, computed as L, createVNode as I, defineComponent as Xe, watch as Te, onMounted as pt, Fragment as zt, reactive as _t, createApp as Kn, onUnmounted as Zt, Transition as Jn, mergeProps as At, createTextVNode as Ot, onBeforeUnmount as _n, withDirectives as ar, resolveDirective as sr, nextTick as Pt, onBeforeMount as lr, Teleport as ur, shallowRef as cr, render as fn, h as dr, cloneVNode as fr, inject as Ke, provide as Sn, triggerRef as pr, isVNode as mr, getCurrentInstance as hr, withModifiers as vr } from "vue";
5
+ import { isPlainObject as Nn, cloneDeep as ft, isUndefined as dt, throttle as gr } from "lodash-es";
6
+ import Zn from "../response-toolbar/index.esm.js";
7
+ import { getCustomClass as rt, useGuid as yr, resolveField as at, FormSchemaEntityFieldTypeName as Vn, useCommonUtils as br, useDateFormat as wr, useNumberFormat as Cr, setFieldValue as hn, withInstall as eo } from "../common/index.esm.js";
8
+ import { useResizeObserver as to } from "@vueuse/core";
9
+ import { useIdentify as xr, useGroupData as _r, useFilter as Sr, useHierarchy as Tr, useLoading as kr, useDataView as Mr, useSelection as Er, useSelectHierarchyItem as Ir, useDataViewContainerStyle as Fr, useCommandColumn as Or, useColumn as Dr, useSort as Pr, useGroupColumn as Br, useRow as Rr, useEdit as Nr, useVisualDataBound as Vr, useVisualDataCell as $r, useVisualDataRow as Lr, useVisualData as jr, useCellPosition as Ar, useSidebar as Hr, useVirtualScroll as Wr, useFitColumn as qr, useFilterHistory as zr, useColumnFilter as Gr, useDragColumn as Yr, getColumnHeader as Ur, getSidebar as Xr, getDisableMask as Qr, getHorizontalScrollbar as Kr, getVerticalScrollbar as Jr, getEmpty as Zr } from "../data-view/index.esm.js";
10
10
  import "../modal/index.esm.js";
11
- import ti from "../transfer/index.esm.js";
12
- import ni from "../tabs/index.esm.js";
13
- import oi from "../order/index.esm.js";
11
+ import ei from "../transfer/index.esm.js";
12
+ import ti from "../tabs/index.esm.js";
13
+ import ni from "../order/index.esm.js";
14
14
  import "../condition/index.esm.js";
15
- import { FCheckbox as ri } from "../checkbox/index.esm.js";
16
- import ii from "../filter-bar/index.esm.js";
17
- import $n from "../tooltip/index.esm.js";
15
+ import { FCheckbox as oi } from "../checkbox/index.esm.js";
16
+ import ri from "../filter-bar/index.esm.js";
17
+ import ii from "../tooltip/index.esm.js";
18
18
  import ai from "../pagination/index.esm.js";
19
19
  import si from "../button/index.esm.js";
20
20
  import li from "../search-box/index.esm.js";
@@ -29,8 +29,8 @@ import yi from "../../designer/button-edit/index.esm.js";
29
29
  import bi from "../button-group/index.esm.js";
30
30
  import wi from "../calendar/index.esm.js";
31
31
  import Ci from "../capsule/index.esm.js";
32
- import Ln from "../../designer/checkbox/index.esm.js";
33
- import jn from "../../designer/checkbox-group/index.esm.js";
32
+ import $n from "../../designer/checkbox/index.esm.js";
33
+ import Ln from "../../designer/checkbox-group/index.esm.js";
34
34
  import vn from "../combo-list/index.esm.js";
35
35
  import xi from "../combo-tree/index.esm.js";
36
36
  import _i from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import ba from "../code-editor/index.esm.js";
87
87
  import wa from "../html-template/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
- const oo = {}, ro = {};
90
+ const no = {}, oo = {};
91
91
  function Tn(n) {
92
92
  const { properties: t, title: e, ignore: o } = n, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, s) => ((!r || !o.find((l) => l === s)) && (a[s] = t[s].type === "object" && t[s].properties ? Tn(t[s]) : ft(t[s].default)), a), {});
93
93
  if (e && (!r || !o.find((a) => a === "id"))) {
@@ -111,10 +111,10 @@ function Ca(n) {
111
111
  };
112
112
  }
113
113
  function Ht(n, t = {}, e) {
114
- const o = oo[n];
114
+ const o = no[n];
115
115
  if (o) {
116
116
  let r = Ca(o);
117
- const i = ro[n];
117
+ const i = oo[n];
118
118
  return r = i ? i({ getSchemaByType: Ht }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
@@ -123,7 +123,7 @@ function xa(n, t) {
123
123
  const e = Tn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Nn(o[r]) && Nn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function io(n, t) {
126
+ function ro(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 i = t.get(r);
@@ -140,7 +140,7 @@ function io(n, t) {
140
140
  }
141
141
  function _a(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = xa(n, t);
143
- return io(o, e);
143
+ return ro(o, e);
144
144
  }
145
145
  function Sa(n = {}) {
146
146
  function t(u, c, d, h) {
@@ -244,9 +244,9 @@ const ie = {
244
244
  }, Ta = {}, ka = {};
245
245
  Sa();
246
246
  function bt(n, t, e = /* @__PURE__ */ new Map(), o = (a, s, l, u) => s, r = {}, i = (a) => a) {
247
- return oo[t.title] = t, ro[t.title] = o, Ta[t.title] = r, ka[t.title] = i, (a = {}, s = !0) => {
247
+ return no[t.title] = t, oo[t.title] = o, Ta[t.title] = r, ka[t.title] = i, (a = {}, s = !0) => {
248
248
  if (!s)
249
- return io(a, e);
249
+ return ro(a, e);
250
250
  const l = _a(a, t, e), u = Object.keys(n).reduce((c, d) => (c[d] = n[d].default, c), {});
251
251
  return Object.assign(u, l);
252
252
  };
@@ -541,8 +541,8 @@ const Va = "https://json-schema.org/draft/2020-12/schema", $a = "https://farris-
541
541
  // toolbarPosition: { type: String, default: '' },
542
542
  // toolbarButtons: { type: Array<object>, default: [] },
543
543
  // toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
544
- }, ao = bt(kn, qa, Ba, Na), za = Fa(), Ga = Object.assign({}, kn, { componentId: { type: String, default: "" } });
545
- function so(n, t, e) {
544
+ }, io = bt(kn, qa, Ba, Na), za = Fa(), Ga = Object.assign({}, kn, { componentId: { type: String, default: "" } });
545
+ function ao(n, t, e) {
546
546
  let o;
547
547
  function r(l = 1) {
548
548
  const u = [
@@ -578,12 +578,12 @@ function so(n, t, e) {
578
578
  }
579
579
  return { onClickMaxMinIcon: s };
580
580
  }
581
- function lo(n, t) {
581
+ function so(n, t) {
582
582
  const e = _(n.buttons), o = L(() => n.buttonPosition === "inHead" ? "right" : "left"), r = L(() => "f-section-toolbar" + (n.buttonPosition === "inHead" ? " f-section-header--toolbar" : " f-section-content--toolbar")), i = L(() => n.buttons && n.buttons.length > 0 && n.buttonPosition === "inHead");
583
583
  function a(s, l) {
584
584
  t.emit("click", s, l);
585
585
  }
586
- return () => i.value && I(eo, {
586
+ return () => i.value && I(Zn, {
587
587
  customClass: r.value,
588
588
  items: e.value,
589
589
  onClick: a,
@@ -591,9 +591,9 @@ function lo(n, t) {
591
591
  }, null);
592
592
  }
593
593
  function Ya(n, t, e, o, r, i) {
594
- const a = L(() => n.buttonPosition), s = lo(n, t), {
594
+ const a = L(() => n.buttonPosition), s = so(n, t), {
595
595
  onClickMaxMinIcon: l
596
- } = so(o, r, i), u = L(() => n.enableMaximize), c = L(() => n.enableAccordion !== ""), d = L(() => {
596
+ } = ao(o, r, i), u = L(() => n.enableMaximize), c = L(() => n.enableAccordion !== ""), d = L(() => {
597
597
  const g = {
598
598
  "f-section-header": !0
599
599
  };
@@ -658,7 +658,7 @@ const an = /* @__PURE__ */ Xe({
658
658
  props: kn,
659
659
  emits: ["click"],
660
660
  setup(n, t) {
661
- const e = _(), o = _(), r = _(n.customClass), i = L(() => n.enableAccordion), a = _(n.expandStatus), s = L(() => n.buttonPosition), l = _(!1), u = Ya(n, t, a, e, o, l), c = lo(n, t), d = L(() => {
661
+ const e = _(), o = _(), r = _(n.customClass), i = L(() => n.enableAccordion), a = _(n.expandStatus), s = L(() => n.buttonPosition), l = _(!1), u = Ya(n, t, a, e, o, l), c = so(n, t), d = L(() => {
662
662
  const w = {
663
663
  "f-section": !0,
664
664
  "f-section-accordion": i.value === "default",
@@ -762,7 +762,7 @@ function En(n) {
762
762
  Mn(n);
763
763
  }
764
764
  }
765
- function uo(n) {
765
+ function lo(n) {
766
766
  if (!n)
767
767
  return;
768
768
  let t;
@@ -1553,7 +1553,7 @@ function rs(n) {
1553
1553
  function nn(n) {
1554
1554
  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.');
1555
1555
  }
1556
- var co = { exports: {} };
1556
+ var uo = { exports: {} };
1557
1557
  (function(n, t) {
1558
1558
  (function(e) {
1559
1559
  n.exports = e();
@@ -1608,7 +1608,7 @@ var co = { exports: {} };
1608
1608
  P === 1 && Array.isArray(m) === !1 && (D = m, m = []);
1609
1609
  var x, O, $, j, B, N, U, R, V, Q = null, q, W, G = !1, K = 0, ae, Z = D || {};
1610
1610
  Z.moves === void 0 && (Z.moves = g), Z.accepts === void 0 && (Z.accepts = g), Z.invalid === void 0 && (Z.invalid = wt), Z.containers === void 0 && (Z.containers = m || []), Z.isContainer === void 0 && (Z.isContainer = v), 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);
1611
- var fe = a({
1611
+ var me = a({
1612
1612
  containers: Z.containers,
1613
1613
  start: De,
1614
1614
  end: mt,
@@ -1618,9 +1618,9 @@ var co = { exports: {} };
1618
1618
  canMove: Me,
1619
1619
  dragging: !1
1620
1620
  });
1621
- return Z.removeOnSpill === !0 && fe.on("over", kt).on("out", xt), _e(), fe;
1621
+ return Z.removeOnSpill === !0 && me.on("over", kt).on("out", xt), _e(), me;
1622
1622
  function ve(H) {
1623
- return fe.containers.indexOf(H) !== -1 || Z.isContainer(H);
1623
+ return me.containers.indexOf(H) !== -1 || Z.isContainer(H);
1624
1624
  }
1625
1625
  function _e(H) {
1626
1626
  var ee = H ? "remove" : "add";
@@ -1628,7 +1628,7 @@ var co = { exports: {} };
1628
1628
  }
1629
1629
  function Pe(H) {
1630
1630
  var ee = H ? "remove" : "add";
1631
- p(c, ee, "mousemove", te);
1631
+ p(c, ee, "mousemove", oe);
1632
1632
  }
1633
1633
  function Ve(H) {
1634
1634
  var ee = H ? "remove" : "add";
@@ -1644,11 +1644,11 @@ var co = { exports: {} };
1644
1644
  j = H.clientX, B = H.clientY;
1645
1645
  var ee = T(H) !== 1 || H.metaKey || H.ctrlKey;
1646
1646
  if (!ee) {
1647
- var oe = H.target, ne = be(oe);
1648
- ne && (q = ne, Pe(), H.type === "mousedown" && (F(oe) ? oe.focus() : H.preventDefault()));
1647
+ var ne = H.target, te = be(ne);
1648
+ te && (q = te, Pe(), H.type === "mousedown" && (F(ne) ? ne.focus() : H.preventDefault()));
1649
1649
  }
1650
1650
  }
1651
- function te(H) {
1651
+ function oe(H) {
1652
1652
  if (q) {
1653
1653
  if (T(H) === 0) {
1654
1654
  Se({});
@@ -1656,8 +1656,8 @@ var co = { exports: {} };
1656
1656
  }
1657
1657
  if (!(H.clientX !== void 0 && Math.abs(H.clientX - j) <= (Z.slideFactorX || 0) && H.clientY !== void 0 && Math.abs(H.clientY - B) <= (Z.slideFactorY || 0))) {
1658
1658
  if (Z.ignoreInputTextSelection) {
1659
- var ee = C("clientX", H) || 0, oe = C("clientY", H) || 0, ne = u.elementFromPoint(ee, oe);
1660
- if (F(ne))
1659
+ var ee = C("clientX", H) || 0, ne = C("clientY", H) || 0, te = u.elementFromPoint(ee, ne);
1660
+ if (F(te))
1661
1661
  return;
1662
1662
  }
1663
1663
  var we = q;
@@ -1666,17 +1666,17 @@ var co = { exports: {} };
1666
1666
  }
1667
1667
  }
1668
1668
  function be(H) {
1669
- if (!(fe.dragging && x) && !ve(H)) {
1669
+ if (!(me.dragging && x) && !ve(H)) {
1670
1670
  for (var ee = H; E(H) && ve(E(H)) === !1; )
1671
1671
  if (Z.invalid(H, ee) || (H = E(H), !H))
1672
1672
  return;
1673
- var oe = E(H);
1674
- if (oe && !Z.invalid(H, ee)) {
1675
- var ne = Z.moves(H, oe, ee, k(H));
1676
- if (ne)
1673
+ var ne = E(H);
1674
+ if (ne && !Z.invalid(H, ee)) {
1675
+ var te = Z.moves(H, ne, ee, k(H));
1676
+ if (te)
1677
1677
  return {
1678
1678
  item: H,
1679
- source: oe
1679
+ source: ne
1680
1680
  };
1681
1681
  }
1682
1682
  }
@@ -1689,13 +1689,13 @@ var co = { exports: {} };
1689
1689
  ee && it(ee);
1690
1690
  }
1691
1691
  function it(H) {
1692
- Ie(H.item, H.source) && (R = H.item.cloneNode(!0), fe.emit("cloned", R, H.item, "copy")), O = H.source, $ = H.item, N = U = k(H.item), fe.dragging = !0, fe.emit("drag", $, O);
1692
+ Ie(H.item, H.source) && (R = H.item.cloneNode(!0), me.emit("cloned", R, H.item, "copy")), O = H.source, $ = H.item, N = U = k(H.item), me.dragging = !0, me.emit("drag", $, O);
1693
1693
  }
1694
1694
  function wt() {
1695
1695
  return !1;
1696
1696
  }
1697
1697
  function mt() {
1698
- if (fe.dragging) {
1698
+ if (me.dragging) {
1699
1699
  var H = R || $;
1700
1700
  Oe(H, E(H));
1701
1701
  }
@@ -1704,72 +1704,72 @@ var co = { exports: {} };
1704
1704
  q = !1, Pe(!0), Ve(!0);
1705
1705
  }
1706
1706
  function Se(H) {
1707
- if (J(), !!fe.dragging) {
1708
- var ee = R || $, oe = C("clientX", H) || 0, ne = C("clientY", H) || 0, we = w(x, oe, ne), ye = Tt(we, oe, ne);
1707
+ if (J(), !!me.dragging) {
1708
+ var ee = R || $, ne = C("clientX", H) || 0, te = C("clientY", H) || 0, we = w(x, ne, te), ye = Tt(we, ne, te);
1709
1709
  ye && (R && Z.copySortSource || !R || ye !== O) ? Oe(ee, ye) : Z.removeOnSpill ? qe() : Ne();
1710
1710
  }
1711
1711
  }
1712
1712
  function Oe(H, ee) {
1713
- var oe = E(H);
1714
- R && Z.copySortSource && ee === O && oe.removeChild($), Ct(ee) ? fe.emit("cancel", H, O) : fe.emit("drop", H, ee, O, U), lt();
1713
+ var ne = E(H);
1714
+ R && Z.copySortSource && ee === O && ne.removeChild($), Ct(ee) ? me.emit("cancel", H, O) : me.emit("drop", H, ee, O, U), lt();
1715
1715
  }
1716
1716
  function qe() {
1717
- if (fe.dragging) {
1717
+ if (me.dragging) {
1718
1718
  var H = R || $, ee = E(H);
1719
- ee && ee.removeChild(H), fe.emit(R ? "cancel" : "remove", H, ee, O), lt();
1719
+ ee && ee.removeChild(H), me.emit(R ? "cancel" : "remove", H, ee, O), lt();
1720
1720
  }
1721
1721
  }
1722
1722
  function Ne(H) {
1723
- if (fe.dragging) {
1724
- var ee = arguments.length > 0 ? H : Z.revertOnSpill, oe = R || $, ne = E(oe), we = Ct(ne);
1725
- we === !1 && ee && (R ? ne && ne.removeChild(R) : O.insertBefore(oe, N)), we || ee ? fe.emit("cancel", oe, O, O) : fe.emit("drop", oe, ne, O, U), lt();
1723
+ if (me.dragging) {
1724
+ var ee = arguments.length > 0 ? H : Z.revertOnSpill, ne = R || $, te = E(ne), we = Ct(te);
1725
+ we === !1 && ee && (R ? te && te.removeChild(R) : O.insertBefore(ne, N)), we || ee ? me.emit("cancel", ne, O, O) : me.emit("drop", ne, te, O, U), lt();
1726
1726
  }
1727
1727
  }
1728
1728
  function lt() {
1729
1729
  var H = R || $;
1730
- J(), re(), pe(), H && l.rm(H, "gu-transit"), V && clearTimeout(V), fe.dragging = !1, Q && fe.emit("out", H, Q, O), fe.emit("dragend", H, K), O = $ = R = N = U = V = Q = null;
1730
+ J(), re(), fe(), H && l.rm(H, "gu-transit"), V && clearTimeout(V), me.dragging = !1, Q && me.emit("out", H, Q, O), me.emit("dragend", H, K), O = $ = R = N = U = V = Q = null;
1731
1731
  }
1732
1732
  function Ct(H, ee) {
1733
- var oe;
1734
- return ee !== void 0 ? oe = ee : x ? oe = U : oe = k(R || $), H === O && oe === N;
1733
+ var ne;
1734
+ return ee !== void 0 ? ne = ee : x ? ne = U : ne = k(R || $), H === O && ne === N;
1735
1735
  }
1736
- function Tt(H, ee, oe) {
1737
- for (var ne = H; ne && !we(); )
1738
- ne = E(ne);
1739
- return ne;
1736
+ function Tt(H, ee, ne) {
1737
+ for (var te = H; te && !we(); )
1738
+ te = E(te);
1739
+ return te;
1740
1740
  function we() {
1741
- var ye = ve(ne);
1741
+ var ye = ve(te);
1742
1742
  if (ye === !1)
1743
1743
  return !1;
1744
- var Re = ge(ne, H), ke = Ce(ne, Re, ee, oe), $e = Ct(ne, ke);
1745
- return $e ? !0 : Z.accepts($, ne, O, ke);
1744
+ var Re = ge(te, H), ke = Ce(te, Re, ee, ne), $e = Ct(te, ke);
1745
+ return $e ? !0 : Z.accepts($, te, O, ke);
1746
1746
  }
1747
1747
  }
1748
1748
  function ht(H) {
1749
1749
  if (!x)
1750
1750
  return;
1751
1751
  H.preventDefault();
1752
- var ee = C("clientX", H) || 0, oe = C("clientY", H) || 0;
1753
- x.style.left = ee - 2 + "px", x.style.top = oe - 2 + "px";
1754
- var ne = R || $, we = w(x, ee, oe), ye = Tt(we, ee, oe), Re = ye !== null && ye !== Q;
1755
- (Re || ye === null) && (he(), Q = ye, ut()), me(we, oe);
1756
- var ke = E(ne);
1752
+ var ee = C("clientX", H) || 0, ne = C("clientY", H) || 0;
1753
+ x.style.left = ee - 2 + "px", x.style.top = ne - 2 + "px";
1754
+ var te = R || $, we = w(x, ee, ne), ye = Tt(we, ee, ne), Re = ye !== null && ye !== Q;
1755
+ (Re || ye === null) && (he(), Q = ye, ut()), pe(we, ne);
1756
+ var ke = E(te);
1757
1757
  if (ye === O && R && !Z.copySortSource) {
1758
- ke && ke.removeChild(ne);
1758
+ ke && ke.removeChild(te);
1759
1759
  return;
1760
1760
  }
1761
1761
  var $e, st = ge(ye, we);
1762
1762
  if (G = Be(st, ye), st !== null)
1763
- $e = Ce(ye, st, ee, oe);
1763
+ $e = Ce(ye, st, ee, ne);
1764
1764
  else if (Z.revertOnSpill === !0 && !R)
1765
1765
  $e = N, ye = O;
1766
1766
  else {
1767
- R && ke && ke.removeChild(ne), R && W && (W.style.display = "none");
1767
+ R && ke && ke.removeChild(te), R && W && (W.style.display = "none");
1768
1768
  return;
1769
1769
  }
1770
- W.style.display = "block", Bt($e, ne, Re), $e ? Ze(st, $e) : X(ye);
1770
+ W.style.display = "block", Bt($e, te, Re), $e ? Ze(st, $e) : X(ye);
1771
1771
  function Ue(xe) {
1772
- fe.emit(xe, ne, Q, O);
1772
+ me.emit(xe, te, Q, O);
1773
1773
  }
1774
1774
  function ut() {
1775
1775
  Re && Ue("over");
@@ -1778,17 +1778,17 @@ var co = { exports: {} };
1778
1778
  Q && Ue("out");
1779
1779
  }
1780
1780
  }
1781
- function Bt(H, ee, oe) {
1782
- (H === ee || H === k(ee)) && (U = k(ee)), (H === null && oe || H !== ee && H !== k(ee)) && (U = H);
1781
+ function Bt(H, ee, ne) {
1782
+ (H === ee || H === k(ee)) && (U = k(ee)), (H === null && ne || H !== ee && H !== k(ee)) && (U = H);
1783
1783
  }
1784
1784
  function kt(H) {
1785
1785
  l.rm(H, "gu-hide");
1786
1786
  }
1787
1787
  function xt(H) {
1788
- fe.dragging && l.add(H, "gu-hide");
1788
+ me.dragging && l.add(H, "gu-hide");
1789
1789
  }
1790
1790
  function Rt() {
1791
- x || (x = document.createElement("div"), x.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;", x.innerHTML = Z.getMirrorText && Z.getMirrorText($) || "控件", l.add(x, "gu-mirror"), Z.mirrorContainer.appendChild(x), p(c, "add", "mousemove", ht), l.add(Z.mirrorContainer, "gu-unselectable"), fe.emit("cloned", x, $, "mirror"));
1791
+ x || (x = document.createElement("div"), x.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;", x.innerHTML = Z.getMirrorText && Z.getMirrorText($) || "控件", l.add(x, "gu-mirror"), Z.mirrorContainer.appendChild(x), p(c, "add", "mousemove", ht), l.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", x, $, "mirror"));
1792
1792
  }
1793
1793
  function Mt() {
1794
1794
  if (W = document.createElement("div"), l.add(W, "gu-insertion"), $) {
@@ -1800,21 +1800,21 @@ var co = { exports: {} };
1800
1800
  function re() {
1801
1801
  x && (l.rm(Z.mirrorContainer, "gu-unselectable"), p(c, "remove", "mousemove", ht), E(x).removeChild(x), x = null);
1802
1802
  }
1803
- function pe() {
1803
+ function fe() {
1804
1804
  W && (E(W).removeChild(W), W = null);
1805
1805
  }
1806
1806
  function ge(H, ee) {
1807
- for (var oe = ee; oe !== H && E(oe) !== H; )
1808
- oe = E(oe);
1809
- return oe === c ? null : oe;
1807
+ for (var ne = ee; ne !== H && E(ne) !== H; )
1808
+ ne = E(ne);
1809
+ return ne === c ? null : ne;
1810
1810
  }
1811
1811
  function Be(H, ee) {
1812
1812
  if (!ee)
1813
1813
  return G;
1814
- var oe = H || ee && ee.lastElementChild;
1815
- if (!oe)
1814
+ var ne = H || ee && ee.lastElementChild;
1815
+ if (!ne)
1816
1816
  return !0;
1817
- var ne = getComputedStyle(H), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
1817
+ var te = getComputedStyle(H), we = /^inline/.test(te.getPropertyValue("display")) || /^(left|right)$/.test(te.getPropertyValue("float"));
1818
1818
  if (we)
1819
1819
  return !0;
1820
1820
  if (ee) {
@@ -1832,10 +1832,10 @@ var co = { exports: {} };
1832
1832
  if (!H.children || !H.children.length)
1833
1833
  return !1;
1834
1834
  for (const ee of Array.from(H.children)) {
1835
- const ne = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
1836
- if (!ne.length)
1835
+ const te = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
1836
+ if (!te.length)
1837
1837
  return !1;
1838
- for (const we of ne) {
1838
+ for (const we of te) {
1839
1839
  const ye = we.slice(we.lastIndexOf("-") + 1);
1840
1840
  if (parseInt(ye, 10) !== 12)
1841
1841
  return !1;
@@ -1844,15 +1844,15 @@ var co = { exports: {} };
1844
1844
  return !0;
1845
1845
  }
1846
1846
  function Ze(H, ee) {
1847
- const oe = ee.getBoundingClientRect();
1848
- if (W.style.left = oe.left + "px", W.style.top = oe.top + "px", G) {
1849
- if (W.style.height = oe.height + "px", W.style.width = "4px", H) {
1850
- const ne = H.getBoundingClientRect();
1851
- ne.top !== oe.top && (W.style.left = ne.right + "px", W.style.top = ne.top + "px", W.style.height = ne.height + "px");
1847
+ const ne = ee.getBoundingClientRect();
1848
+ if (W.style.left = ne.left + "px", W.style.top = ne.top + "px", G) {
1849
+ if (W.style.height = ne.height + "px", W.style.width = "4px", H) {
1850
+ const te = H.getBoundingClientRect();
1851
+ te.top !== ne.top && (W.style.left = te.right + "px", W.style.top = te.top + "px", W.style.height = te.height + "px");
1852
1852
  }
1853
- } else if (W.style.height = "4px", W.style.width = oe.width + "px", ae) {
1854
- const ne = ae.getBoundingClientRect();
1855
- oe.top < ne.top && (W.style.display = "none");
1853
+ } else if (W.style.height = "4px", W.style.width = ne.width + "px", ae) {
1854
+ const te = ae.getBoundingClientRect();
1855
+ ne.top < te.top && (W.style.display = "none");
1856
1856
  }
1857
1857
  ee === $ && $ && (W.style.display = "none");
1858
1858
  }
@@ -1860,42 +1860,42 @@ var co = { exports: {} };
1860
1860
  U = null;
1861
1861
  var ee = H.lastElementChild;
1862
1862
  if (ee) {
1863
- var oe = ee.getBoundingClientRect();
1864
- 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 === $ && $ && (W.style.display = "none");
1863
+ var ne = ee.getBoundingClientRect();
1864
+ 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 === $ && $ && (W.style.display = "none");
1865
1865
  } else
1866
1866
  W.style.display = "none";
1867
1867
  }
1868
- function me(H, ee) {
1868
+ function pe(H, ee) {
1869
1869
  if (!Z.mirrorContainer.contains(H) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ae = h(H), !ae || !ae.contains(H)))
1870
1870
  return;
1871
- const oe = document.querySelector(".dgComponentSelected"), ne = ae.getBoundingClientRect();
1872
- if (ee - 30 < ne.top && ae.scrollTop > 0) {
1871
+ const ne = document.querySelector(".dgComponentSelected"), te = ae.getBoundingClientRect();
1872
+ if (ee - 30 < te.top && ae.scrollTop > 0) {
1873
1873
  let we = ae.scrollTop < 10 ? ae.scrollTop : 10;
1874
- ae.scrollBy(0, -1 * we), oe && ae.contains(oe) && (K = K + -1 * we);
1874
+ ae.scrollBy(0, -1 * we), ne && ae.contains(ne) && (K = K + -1 * we);
1875
1875
  }
1876
- if (ee + 30 > ne.bottom && ae.scrollTop < ae.scrollHeight - ae.clientHeight) {
1876
+ if (ee + 30 > te.bottom && ae.scrollTop < ae.scrollHeight - ae.clientHeight) {
1877
1877
  const we = ae.scrollHeight - ae.clientHeight - ae.scrollTop;
1878
1878
  let ye = we < 10 ? we : 10;
1879
- ae.scrollBy(0, ye), oe && ae.contains(oe) && (K = K + ye);
1879
+ ae.scrollBy(0, ye), ne && ae.contains(ne) && (K = K + ye);
1880
1880
  }
1881
1881
  }
1882
- function Ce(H, ee, oe, ne) {
1882
+ function Ce(H, ee, ne, te) {
1883
1883
  var we = Z.direction === "horizontal", ye = Z.direction === "mixed", Re = ee !== H ? $e() : ke();
1884
1884
  return Re;
1885
1885
  function ke() {
1886
1886
  var Ue = H.children.length, ut, he, xe;
1887
1887
  for (ut = 0; ut < Ue; ut++)
1888
- if (he = H.children[ut], xe = he.getBoundingClientRect(), we && xe.left + xe.width / 2 > oe || !ye && !we && xe.top + xe.height / 2 > ne || ye && xe.left + xe.width > oe && xe.top + xe.height > ne)
1888
+ if (he = H.children[ut], xe = he.getBoundingClientRect(), we && xe.left + xe.width / 2 > ne || !ye && !we && xe.top + xe.height / 2 > te || ye && xe.left + xe.width > ne && xe.top + xe.height > te)
1889
1889
  return he;
1890
1890
  return null;
1891
1891
  }
1892
1892
  function $e() {
1893
1893
  var Ue = ee.getBoundingClientRect();
1894
1894
  if (ye) {
1895
- var ut = ne - Ue.top, he = oe - Ue.left, xe = Ue.bottom - ne, et = Ue.right - oe, Je = Math.min(he, et, ut, xe), tt;
1895
+ var ut = te - Ue.top, he = ne - Ue.left, xe = Ue.bottom - te, et = Ue.right - ne, Je = Math.min(he, et, ut, xe), tt;
1896
1896
  return G ? tt = et < he : tt = xe === Je || et === Je || he === Je, st(tt);
1897
1897
  }
1898
- return st(we ? oe > Ue.left + b(Ue) / 2 : ne > Ue.top + S(Ue) / 2);
1898
+ return st(we ? ne > Ue.left + b(Ue) / 2 : te > Ue.top + S(Ue) / 2);
1899
1899
  }
1900
1900
  function st(Ue) {
1901
1901
  return Ue ? k(ee) : ee;
@@ -2294,9 +2294,9 @@ var co = { exports: {} };
2294
2294
  }, { "process/browser.js": 9, timers: 11 }]
2295
2295
  }, {}, [2])(2);
2296
2296
  });
2297
- })(co);
2298
- var is = co.exports;
2299
- const An = /* @__PURE__ */ rs(is), as = {
2297
+ })(uo);
2298
+ var is = uo.exports;
2299
+ const jn = /* @__PURE__ */ rs(is), as = {
2300
2300
  showCloseButton: { type: Boolean, default: !0 },
2301
2301
  position: { type: String, default: "top-center" },
2302
2302
  timeout: { type: Number, default: 3e3 },
@@ -2434,7 +2434,7 @@ const An = /* @__PURE__ */ rs(is), as = {
2434
2434
  }, null)]);
2435
2435
  }
2436
2436
  });
2437
- class fo {
2437
+ class co {
2438
2438
  constructor() {
2439
2439
  A(this, "notifyRefs", []);
2440
2440
  A(this, "globalConfig", _t({}));
@@ -2455,7 +2455,7 @@ class fo {
2455
2455
  ...t
2456
2456
  }), i = document.createElement("div");
2457
2457
  i.style.display = "contents";
2458
- const a = Jn({
2458
+ const a = Kn({
2459
2459
  setup() {
2460
2460
  var u;
2461
2461
  const s = _();
@@ -2475,7 +2475,7 @@ class fo {
2475
2475
  document.body.removeChild(i);
2476
2476
  }), pt(() => {
2477
2477
  e.updateNotifyPositionForCreate(r, s);
2478
- }), () => I(Zn, {
2478
+ }), () => I(Jn, {
2479
2479
  mode: "out-in",
2480
2480
  name: "fade",
2481
2481
  appear: !0
@@ -2556,10 +2556,10 @@ class fo {
2556
2556
  const ls = Symbol("NOTIFY_SERVICE_TOKEN");
2557
2557
  on.install = (n) => {
2558
2558
  n.component(on.name, on), n.component(gn.name, gn);
2559
- const t = new fo();
2559
+ const t = new co();
2560
2560
  n.provide(ls, t), n.provide("FNotifyService", t);
2561
2561
  };
2562
- const po = /* @__PURE__ */ new Map([
2562
+ const fo = /* @__PURE__ */ new Map([
2563
2563
  ["appearance", en],
2564
2564
  ["column", "columnOption"]
2565
2565
  ]);
@@ -2582,7 +2582,7 @@ function ds(n, t, e) {
2582
2582
  const o = n.getSchemaByType("content-container");
2583
2583
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
2584
2584
  }
2585
- function mo(n, t, e) {
2585
+ function po(n, t, e) {
2586
2586
  const r = e.parentComponentInstance.schema.type, i = r === "section" || r === "tab-page";
2587
2587
  t.appearance = { class: "f-component-grid" };
2588
2588
  const s = (i ? ds : cs)(n, t, e);
@@ -3368,7 +3368,7 @@ const fs = "https://json-schema.org/draft/2020-12/schema", ps = "https://farris-
3368
3368
  ], bs = {
3369
3369
  onSelectionChange: "行切换事件",
3370
3370
  onClickRow: "行点击事件"
3371
- }, ho = {
3371
+ }, mo = {
3372
3372
  $schema: fs,
3373
3373
  $id: ps,
3374
3374
  title: ms,
@@ -3506,7 +3506,7 @@ const fs = "https://json-schema.org/draft/2020-12/schema", ps = "https://farris-
3506
3506
  width: { type: Number, default: -1 },
3507
3507
  /** 启用虚拟渲染 */
3508
3508
  virtualized: { type: Boolean, default: !1 }
3509
- }, ws = bt(In, ho, po, mo), Cs = Ea(), xs = Ma(), vo = Object.assign({}, In, { componentId: { type: String, default: "" } }), _s = bt(vo, ho, po, mo), Ss = Oa();
3509
+ }, ws = bt(In, mo, fo, po), Cs = Ea(), xs = Ma(), ho = Object.assign({}, In, { componentId: { type: String, default: "" } }), _s = bt(ho, mo, fo, po), Ss = Oa();
3510
3510
  var ot = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(ot || {}), yt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(yt || {}), Qt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(Qt || {}), nt = /* @__PURE__ */ ((n) => (n[n.none = 0] = "none", n[n.filterable = 1] = "filterable", n[n.sortable = 2] = "sortable", n[n.filtered = 4] = "filtered", n[n.sorted = 8] = "sorted", n[n.ascending = 16] = "ascending", n[n.descending = 32] = "descending", n))(nt || {});
3511
3511
  function Ts(n, t) {
3512
3512
  var f;
@@ -3712,38 +3712,38 @@ function Fs(n, t, e, o, r, i, a, s, l, u, c, d, h) {
3712
3712
  } = ks(n, o, a), {
3713
3713
  treeNodeIconsClass: V
3714
3714
  } = Ms(n, k, M);
3715
- function Q(z, te) {
3715
+ function Q(z, oe) {
3716
3716
  const be = z.raw[M.value];
3717
3717
  return {
3718
3718
  "fv-tree-node-toggle": be && z.collapse,
3719
3719
  "fv-tree-node-toggle-minus": be && !z.collapse
3720
3720
  };
3721
3721
  }
3722
- function q(z, te) {
3723
- z.stopPropagation(), D(te);
3722
+ function q(z, oe) {
3723
+ z.stopPropagation(), D(oe);
3724
3724
  }
3725
3725
  function W(z) {
3726
3726
  z.stopPropagation();
3727
3727
  }
3728
- function G(z, te) {
3728
+ function G(z, oe) {
3729
3729
  return I("div", {
3730
3730
  class: Q(z),
3731
3731
  onClick: (be) => q(be, z),
3732
3732
  onDblclick: W
3733
3733
  }, null);
3734
3734
  }
3735
- function K(z, te) {
3735
+ function K(z, oe) {
3736
3736
  return m.value && I("div", {
3737
3737
  id: "treeNodeIcons",
3738
- class: V(z, te)
3738
+ class: V(z, oe)
3739
3739
  }, null);
3740
3740
  }
3741
3741
  function ae(z) {
3742
3742
  S.value ? (z.checked ? E(z) : F(z), P(z)) : y(z);
3743
3743
  }
3744
- function Z(z, te) {
3745
- return C.value && I(ri, {
3746
- id: "checkbox_for_" + x(z, te.index),
3744
+ function Z(z, oe) {
3745
+ return C.value && I(oi, {
3746
+ id: "checkbox_for_" + x(z, oe.index),
3747
3747
  indeterminate: z.indeterminate,
3748
3748
  disabled: z.disabled,
3749
3749
  checked: z.checked,
@@ -3751,61 +3751,57 @@ function Fs(n, t, e, o, r, i, a, s, l, u, c, d, h) {
3751
3751
  onChange: () => ae(z)
3752
3752
  }, null);
3753
3753
  }
3754
- function fe(z, te) {
3754
+ function me(z, oe) {
3755
3755
  return I("span", {
3756
- title: te.data,
3757
3756
  style: "user-select:none"
3758
3757
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
3759
- cell: te,
3758
+ cell: oe,
3760
3759
  row: z
3761
- }) : te.mode === ot.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, z) : te.data != null ? te.data.toString() : te.data]);
3760
+ }) : oe.mode === ot.editing ? oe.getEditor(oe) : oe.formatter ? oe.formatter(oe, z) : oe.showTips ? I(ii, null, {
3761
+ default: () => oe.data,
3762
+ contentTemplate: () => oe.data
3763
+ }) : oe.data]);
3762
3764
  }
3763
- function ve(z, te) {
3765
+ function ve(z, oe) {
3764
3766
  return I("div", {
3765
- class: U(te)
3766
- }, [te.showTips ? I($n, null, {
3767
- default: () => fe(z, te),
3768
- contentTemplate: () => fe(z, te)
3769
- }) : fe(z, te)]);
3767
+ class: U(oe)
3768
+ }, [me(z, oe)]);
3770
3769
  }
3771
- function _e(z, te, be) {
3770
+ function _e(z, oe, be) {
3772
3771
  const Me = R(z);
3773
3772
  return I("div", {
3774
- ref: te.setRef,
3775
- key: x(z, te.index),
3773
+ ref: oe.setRef,
3774
+ key: x(z, oe.index),
3776
3775
  class: "fv-grid-hierarchy-cell",
3777
- style: O(te, be)
3776
+ style: O(oe, be)
3778
3777
  }, [I("div", {
3779
- class: B(te),
3778
+ class: B(oe),
3780
3779
  style: Me
3781
- }, [G(z), K(z, te), Z(z, te), ve(z, te)])]);
3780
+ }, [G(z), K(z, oe), Z(z, oe), ve(z, oe)])]);
3782
3781
  }
3783
- function Pe(z, te, be) {
3782
+ function Pe(z, oe, be) {
3784
3783
  return I("div", {
3785
- ref: te.setRef,
3786
- key: x(z, te.index),
3787
- class: p(te),
3788
- style: O(te, be),
3789
- onClick: (Me) => f(Me, te, z, te.column)
3784
+ ref: oe.setRef,
3785
+ key: x(z, oe.index),
3786
+ class: p(oe),
3787
+ style: O(oe, be),
3788
+ onClick: (Me) => f(Me, oe, z, oe.column)
3790
3789
  }, [I("div", {
3791
- class: B(te)
3790
+ class: B(oe)
3792
3791
  }, [I("div", {
3793
- class: U(te)
3794
- }, [te.showTips ? I($n, null, {
3795
- default: () => fe(z, te),
3796
- contentTemplate: () => fe(z, te)
3797
- }) : fe(z, te)])])]);
3792
+ class: U(oe)
3793
+ }, [me(z, oe)])])]);
3798
3794
  }
3799
- function Ve(z, te) {
3800
- return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === z.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === z.field;
3795
+ function Ve(z, oe) {
3796
+ return oe === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === z.field || oe === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === z.field;
3801
3797
  }
3802
- function Y(z, te) {
3798
+ function Y(z, oe) {
3803
3799
  t.emit("dblclickNode", {
3804
3800
  $event: z,
3805
- node: te.raw
3801
+ node: oe.raw
3806
3802
  });
3807
3803
  }
3808
- function de(z, te, be = "primary", Me) {
3804
+ function de(z, oe, be = "primary", Me) {
3809
3805
  return I("div", {
3810
3806
  ref: z.setRef,
3811
3807
  key: $(z),
@@ -3815,7 +3811,7 @@ function Fs(n, t, e, o, r, i, a, s, l, u, c, d, h) {
3815
3811
  onMouseout: (De) => b(De, z),
3816
3812
  onClick: (De) => v(De, z),
3817
3813
  onDblclick: (De) => Y(De, z)
3818
- }, [Object.values(z.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Ve(De, be) ? _e(z, De, te) : Pe(z, De, te))]);
3814
+ }, [Object.values(z.data).filter((De) => oe[De.field] && De.rowSpan === 1).map((De) => Ve(De, be) ? _e(z, De, oe) : Pe(z, De, oe))]);
3819
3815
  }
3820
3816
  return {
3821
3817
  renderDataRow: de
@@ -4028,7 +4024,7 @@ function Rs(n, t) {
4028
4024
  }
4029
4025
  function Ns(n, t) {
4030
4026
  var g;
4031
- br();
4027
+ yr();
4032
4028
  const { idField: e } = t, o = _(n.summary), r = _(n.group), i = _(((g = n.group) == null ? void 0 : g.groupFields) || []), a = L(() => {
4033
4029
  var b;
4034
4030
  return (b = n.group) == null ? void 0 : b.enable;
@@ -4126,8 +4122,8 @@ function Vs(n, t, e, o) {
4126
4122
  d.clear(), q.reduce((G, K) => {
4127
4123
  const ae = K[u.value] !== void 0 ? K[u.value] : "";
4128
4124
  if (ae && W.has(ae)) {
4129
- const fe = W.get(ae), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
4130
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
4125
+ const me = W.get(ae), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
4126
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
4131
4127
  } else
4132
4128
  K.__fv_layer__ = 1;
4133
4129
  const Z = G.has(ae) ? G.get(ae) : [];
@@ -4175,8 +4171,8 @@ function Vs(n, t, e, o) {
4175
4171
  }
4176
4172
  function S(q, W, G) {
4177
4173
  Array.from(W.keys()).forEach((K) => {
4178
- W.get(K).reduce((Z, fe) => {
4179
- const ve = fe[a.value], _e = q.get(fe[a.value]), Pe = q.get(K), Ve = G.get(K);
4174
+ W.get(K).reduce((Z, me) => {
4175
+ const ve = me[a.value], _e = q.get(me[a.value]), Pe = q.get(K), Ve = G.get(K);
4180
4176
  return Pe && Ve && (Pe.children.set(ve, _e), Pe.children.set(ve, _e), _e.parentId = K, _e.parentIndex = Pe.index, _e.parents.set(K, Pe)), Z;
4181
4177
  }, q);
4182
4178
  });
@@ -4240,7 +4236,7 @@ function Vs(n, t, e, o) {
4240
4236
  }
4241
4237
  function $(q, W, G = 0) {
4242
4238
  q.forEach((K) => {
4243
- const ae = C(K), Z = K.__fv_layer__ <= G, fe = W === "ToCollapse" ? K.__fv_layer__ <= G : !(K.__fv_layer__ <= G), ve = Z ? fe : K[s.value];
4239
+ const ae = C(K), Z = K.__fv_layer__ <= G, me = W === "ToCollapse" ? K.__fv_layer__ <= G : !(K.__fv_layer__ <= G), ve = Z ? me : K[s.value];
4244
4240
  K[s.value] = ae || ve;
4245
4241
  });
4246
4242
  for (const [K, ae] of d.entries())
@@ -4255,8 +4251,8 @@ function Vs(n, t, e, o) {
4255
4251
  }
4256
4252
  function N(q) {
4257
4253
  q.forEach((W, G) => {
4258
- var fe;
4259
- const K = W[a.value], ae = d.has(K) ? (fe = d.get(K)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], Z = b(K, G);
4254
+ var me;
4255
+ const K = W[a.value], ae = d.has(K) ? (me = d.get(K)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], Z = b(K, G);
4260
4256
  W.__fv_graph_node__ = Z, W.__fv_children_index__ = ae, W.__fv_descendant_index__ = [...ae], W.__fv_parents__ = /* @__PURE__ */ new Map(), C(W) && (W[s.value] = !0);
4261
4257
  });
4262
4258
  }
@@ -4269,18 +4265,18 @@ function Vs(n, t, e, o) {
4269
4265
  function R(q, W, G) {
4270
4266
  const ae = G.value[q][a.value], Z = c.get(ae);
4271
4267
  if (Z) {
4272
- const fe = c.get(Z.parentId);
4268
+ const me = c.get(Z.parentId);
4273
4269
  let ve = G.value.length - 1;
4274
- if (fe) {
4275
- const _e = Array.from(fe.children.keys()).indexOf(Z.id);
4276
- if (_e === fe.children.size - 1) {
4277
- const Ve = Array.from(fe.descendant.values())[fe.descendant.size - 1];
4270
+ if (me) {
4271
+ const _e = Array.from(me.children.keys()).indexOf(Z.id);
4272
+ if (_e === me.children.size - 1) {
4273
+ const Ve = Array.from(me.descendant.values())[me.descendant.size - 1];
4278
4274
  ve = G.value.findIndex((de) => de[a.value] === Ve.id) + 1;
4279
4275
  } else {
4280
- const Ve = Array.from(fe.children.values())[_e + 1];
4276
+ const Ve = Array.from(me.children.values())[_e + 1];
4281
4277
  ve = G.value.findIndex((de) => de[a.value] === Ve.id);
4282
4278
  }
4283
- W[l.value] = !1, W[u.value] = fe.id, G.value.splice(ve, 0, W);
4279
+ W[l.value] = !1, W[u.value] = me.id, G.value.splice(ve, 0, W);
4284
4280
  }
4285
4281
  }
4286
4282
  }
@@ -4346,80 +4342,80 @@ function $s(n, t, e, o, r) {
4346
4342
  function W() {
4347
4343
  return q.value && q.value.enable && q.value.size > 0 ? q.value.size : $.value.length;
4348
4344
  }
4349
- const G = _(1), K = L(() => q.value && q.value.enable && q.value.mode !== "server"), ae = L(() => q.value && q.value.enable && q.value.mode === "server"), Z = new fo();
4350
- function fe(X, me) {
4351
- const Ce = Math.ceil(X.length / me);
4345
+ const G = _(1), K = L(() => q.value && q.value.enable && q.value.mode !== "server"), ae = L(() => q.value && q.value.enable && q.value.mode === "server"), Z = new co();
4346
+ function me(X, pe) {
4347
+ const Ce = Math.ceil(X.length / pe);
4352
4348
  let Ie = 0;
4353
- const H = [], ee = [], oe = [];
4349
+ const H = [], ee = [], ne = [];
4354
4350
  for (; Ie < Ce; ) {
4355
- const ne = X.slice(Ie * me, (Ie + 1) * me), we = f(p.value, ne, t);
4351
+ const te = X.slice(Ie * pe, (Ie + 1) * pe), we = f(p.value, te, t);
4356
4352
  ee[Ie] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, H.push(...we), Ie++;
4357
4353
  }
4358
- return ee.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
4354
+ return ee.reduce((te, we, ye) => (te = te + we, ne.push(te), te), 0), {
4359
4355
  groupData: H,
4360
4356
  groupRowSizeList: ee,
4361
- accumulateGroupRowSize: oe
4357
+ accumulateGroupRowSize: ne
4362
4358
  };
4363
4359
  }
4364
4360
  function ve() {
4365
4361
  var we;
4366
4362
  $.value = w.value, K.value && (Q.value = $.value.length), T.value && !K.value && ($.value = f(p.value, w.value, t)), V = R.value.reduce((ye, Re) => (ye.set(Re, 0), ye), V);
4367
- const X = 0, me = W(), Ce = (G.value - 1) * me;
4368
- let H = Ce > $.value.length - 1 || ae.value ? X : Ce, ee = ae.value ? $.value.length : Math.min(H + me, $.value.length);
4363
+ const X = 0, pe = W(), Ce = (G.value - 1) * pe;
4364
+ let H = Ce > $.value.length - 1 || ae.value ? X : Ce, ee = ae.value ? $.value.length : Math.min(H + pe, $.value.length);
4369
4365
  if (T.value && K.value) {
4370
- const { accumulateGroupRowSize: ye, groupData: Re, groupRowSizeList: ke } = fe(w.value, me);
4366
+ const { accumulateGroupRowSize: ye, groupData: Re, groupRowSizeList: ke } = me(w.value, pe);
4371
4367
  $.value = Re;
4372
4368
  const $e = ke[G.value - 1];
4373
- H += G.value - 2 < 0 ? 0 : ye[G.value - 2], ee = H + me + $e;
4369
+ H += G.value - 2 < 0 ? 0 : ye[G.value - 2], ee = H + pe + $e;
4374
4370
  }
4375
- let oe = 0;
4376
- const ne = [];
4371
+ let ne = 0;
4372
+ const te = [];
4377
4373
  if ($.value.length) {
4378
4374
  x($.value);
4379
4375
  const ye = P.value !== n.idField;
4380
4376
  for (let Re = H; Re < ee; Re++) {
4381
4377
  const ke = $.value[Re];
4382
- ke.__fv_data_grid_group_row__ ? (oe = 0, ke.__fv_data_index__ = "") : ke.__fv_data_grid_group_summary__ ? ke.__fv_data_index__ = "" : (oe++, ke.__fv_data_index__ = oe + (G.value - 1) * me), ke.__fv_index__ = Re, ke.__fv_visible_index__ = Re, n.rowOption && n.rowOption.disabledField && (ke.__fv_disabled__ = ke[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (ke[P.value] = Re), R.value.forEach(($e) => {
4378
+ ke.__fv_data_grid_group_row__ ? (ne = 0, ke.__fv_data_index__ = "") : ke.__fv_data_grid_group_summary__ ? ke.__fv_data_index__ = "" : (ne++, ke.__fv_data_index__ = ne + (G.value - 1) * pe), ke.__fv_index__ = Re, ke.__fv_visible_index__ = Re, n.rowOption && n.rowOption.disabledField && (ke.__fv_disabled__ = ke[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (ke[P.value] = Re), R.value.forEach(($e) => {
4383
4379
  const st = V.get($e) || 0;
4384
4380
  V.set($e, st + ke[$e]);
4385
- }), ne.push(ke);
4381
+ }), te.push(ke);
4386
4382
  }
4387
4383
  }
4388
- return M.value && S(ne), j.value = [...ne], ne;
4384
+ return M.value && S(te), j.value = [...te], te;
4389
4385
  }
4390
4386
  const _e = _(ve()), Pe = L(() => (D.value, _e.value.filter((X) => M.value ? X.__fv_visible__ !== !1 && k(X) : X.__fv_visible__ !== !1)));
4391
4387
  function Ve() {
4392
- Pe.value.forEach((X, me) => (X.__fv_visible_index__ = me, X));
4388
+ Pe.value.forEach((X, pe) => (X.__fv_visible_index__ = pe, X));
4393
4389
  }
4394
- function Y(X, me, Ce = !1) {
4395
- const H = (Ce ? ve() : [...j.value]).filter((ne) => e.apply(ne)), ee = X && X.length ? H.filter((ne) => X.reduce((we, ye) => we && ye.filter(ne), !0)) : H, oe = me && me.length ? ee.sort((ne, we) => {
4396
- const ye = [...me], Re = ye.shift();
4397
- let ke = Re.compare(ne[Re.field], we[Re.field]);
4390
+ function Y(X, pe, Ce = !1) {
4391
+ const H = (Ce ? ve() : [...j.value]).filter((te) => e.apply(te)), ee = X && X.length ? H.filter((te) => X.reduce((we, ye) => we && ye.filter(te), !0)) : H, ne = pe && pe.length ? ee.sort((te, we) => {
4392
+ const ye = [...pe], Re = ye.shift();
4393
+ let ke = Re.compare(te[Re.field], we[Re.field]);
4398
4394
  for (; ke === 0 && ye.length !== 0; ) {
4399
4395
  const $e = ye.shift();
4400
- $e && (ke = $e.compare(ne[$e.field], we[$e.field]));
4396
+ $e && (ke = $e.compare(te[$e.field], we[$e.field]));
4401
4397
  }
4402
4398
  return ke;
4403
4399
  }) : ee;
4404
- return _e.value = oe.map((ne, we) => {
4405
- if (ne.__fv_data_grid_group_row__) {
4406
- const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
4407
- ne.__fv_data_grid_group_collapse__ = !!i.get(ye);
4400
+ return _e.value = ne.map((te, we) => {
4401
+ if (te.__fv_data_grid_group_row__) {
4402
+ const ye = `group_of_${te.__fv_data_grid_group_field__}_${te.__fv_data_grid_group_value__}`;
4403
+ te.__fv_data_grid_group_collapse__ = !!i.get(ye);
4408
4404
  }
4409
- return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
4405
+ return te.__fv_index__ = we, te.__fv_visible_index__ = we, te;
4410
4406
  }), _e.value;
4411
4407
  }
4412
4408
  function de(X) {
4413
- return u.clear(), d.value = X, d.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), u), Y([], d.value);
4409
+ return u.clear(), d.value = X, d.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), u), Y([], d.value);
4414
4410
  }
4415
- function z(X, me) {
4416
- return u.set(X, me), d.value = Array.from(u.values()), Y([], d.value);
4411
+ function z(X, pe) {
4412
+ return u.set(X, pe), d.value = Array.from(u.values()), Y([], d.value);
4417
4413
  }
4418
- function te(X) {
4414
+ function oe(X) {
4419
4415
  return u.delete(X), d.value = Array.from(u.values()), Y([], d.value);
4420
4416
  }
4421
- function be(X, me) {
4422
- return a.set(X, me), c.value = Array.from(a.values()), Y([], Array.from(u.values()));
4417
+ function be(X, pe) {
4418
+ return a.set(X, pe), c.value = Array.from(a.values()), Y([], Array.from(u.values()));
4423
4419
  }
4424
4420
  function Me(X) {
4425
4421
  return a.delete(X), c.value = Array.from(a.values()), Y([], Array.from(u.values()), !0);
@@ -4427,15 +4423,15 @@ function $s(n, t, e, o, r) {
4427
4423
  function De() {
4428
4424
  return a.clear(), c.value = [], Y([], Array.from(u.values()), !0);
4429
4425
  }
4430
- function it(X, me) {
4431
- const Ce = `group_of_${X}_${me}`;
4426
+ function it(X, pe) {
4427
+ const Ce = `group_of_${X}_${pe}`;
4432
4428
  i.set(Ce, !0);
4433
- const Ie = (H) => H[X] !== me;
4434
- return s.set(`collapse_${X}_${me}`, {
4429
+ const Ie = (H) => H[X] !== pe;
4430
+ return s.set(`collapse_${X}_${pe}`, {
4435
4431
  field: X,
4436
4432
  fieldName: X,
4437
4433
  fieldType: "string",
4438
- filterValue: me,
4434
+ filterValue: pe,
4439
4435
  filter: Ie
4440
4436
  }), Y(Array.from(s.values()), Array.from(u.values()));
4441
4437
  }
@@ -4445,23 +4441,23 @@ function $s(n, t, e, o, r) {
4445
4441
  function mt(X) {
4446
4442
  b(_e.value, X);
4447
4443
  }
4448
- function J(X, me) {
4449
- const Ce = `group_of_${X}_${me}`;
4450
- return i.set(Ce, !1), s.delete(`collapse_${X}_${me}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
4444
+ function J(X, pe) {
4445
+ const Ce = `group_of_${X}_${pe}`;
4446
+ return i.set(Ce, !1), s.delete(`collapse_${X}_${pe}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
4451
4447
  }
4452
4448
  function Se(X) {
4453
- const me = X.raw[P.value], Ce = (Ie) => !Ie.__fv_parents__.has(me);
4454
- l.set(`fold_${me}`, {
4449
+ const pe = X.raw[P.value], Ce = (Ie) => !Ie.__fv_parents__.has(pe);
4450
+ l.set(`fold_${pe}`, {
4455
4451
  field: "id",
4456
4452
  fieldName: "id",
4457
4453
  fieldType: "string",
4458
- filterValue: String(me),
4454
+ filterValue: String(pe),
4459
4455
  filter: Ce
4460
4456
  }), Y(Array.from(l.values()), Array.from(u.values())), S(_e.value);
4461
4457
  }
4462
4458
  function Oe(X) {
4463
- const me = X[P.value];
4464
- l.delete(`fold_${me}`);
4459
+ const pe = X[P.value];
4460
+ l.delete(`fold_${pe}`);
4465
4461
  }
4466
4462
  function qe(X) {
4467
4463
  Oe(X.raw), Y(Array.from(l.values()), Array.from(u.values()), !0), S(_e.value);
@@ -4474,11 +4470,11 @@ function $s(n, t, e, o, r) {
4474
4470
  const Ce = n.hierarchy && X && X.length && X[0].children ? N(X) : X;
4475
4471
  w.value = Ce, Ne();
4476
4472
  }
4477
- function Ct(X, me, Ce) {
4478
- return (X && X.length ? _e.value.filter((H, ee) => X.reduce((oe, ne) => oe && ne.filter(H), !0)) : _e.value).slice(me, Ce);
4473
+ function Ct(X, pe, Ce) {
4474
+ return (X && X.length ? _e.value.filter((H, ee) => X.reduce((ne, te) => ne && te.filter(H), !0)) : _e.value).slice(pe, Ce);
4479
4475
  }
4480
4476
  function Tt(X) {
4481
- const me = W(), Ce = Math.ceil(Q.value / me);
4477
+ const pe = W(), Ce = Math.ceil(Q.value / pe);
4482
4478
  0 <= X && X <= Ce && (G.value = X, Ne());
4483
4479
  }
4484
4480
  function ht(X) {
@@ -4497,32 +4493,32 @@ function $s(n, t, e, o, r) {
4497
4493
  Oe(Ie), y(X, Ce, w), Ne();
4498
4494
  }
4499
4495
  function xt(X) {
4500
- const me = X ? X - 1 : 0;
4501
- w.value.splice(me, 1), Ne();
4496
+ const pe = X ? X - 1 : 0;
4497
+ w.value.splice(pe, 1), Ne();
4502
4498
  }
4503
4499
  function Rt(X) {
4504
- const me = w.value.findIndex((Ce) => Ce[P.value] === X);
4505
- me !== -1 && (w.value.splice(me, 1), Ne());
4500
+ const pe = w.value.findIndex((Ce) => Ce[P.value] === X);
4501
+ pe !== -1 && (w.value.splice(pe, 1), Ne());
4506
4502
  }
4507
4503
  function Mt(X) {
4508
- const me = X > -1 ? w.value[X] : null;
4509
- if (!(me && me.deletable !== !1))
4504
+ const pe = X > -1 ? w.value[X] : null;
4505
+ if (!(pe && pe.deletable !== !1))
4510
4506
  return !1;
4511
- w.value = m(me, w.value), Ne();
4507
+ w.value = m(pe, w.value), Ne();
4512
4508
  }
4513
4509
  function re() {
4514
4510
  const X = s.size > 0 ? Array.from(s.values()) : [];
4515
4511
  return Y(X, Array.from(u.values()));
4516
4512
  }
4517
- function pe(X) {
4513
+ function fe(X) {
4518
4514
  q.value.size = X;
4519
4515
  }
4520
4516
  function ge(X) {
4521
- q.value && (pe(X), Ne());
4517
+ q.value && (fe(X), Ne());
4522
4518
  }
4523
- function Be(X, me) {
4519
+ function Be(X, pe) {
4524
4520
  const Ce = w.value[Number(X) - 1];
4525
- Ce.editable !== !1 ? (Ce.name = me, Ne()) : Z.show({
4521
+ Ce.editable !== !1 ? (Ce.name = pe, Ne()) : Z.show({
4526
4522
  showCloseButton: !1,
4527
4523
  timeout: 3e3,
4528
4524
  animate: "fadeIn",
@@ -4539,7 +4535,7 @@ function $s(n, t, e, o, r) {
4539
4535
  addFilter: be,
4540
4536
  addNewDataItem: ht,
4541
4537
  addSorter: z,
4542
- updatePageSize: pe,
4538
+ updatePageSize: fe,
4543
4539
  changePageSizeTo: ge,
4544
4540
  collapse: it,
4545
4541
  collapseTo: wt,
@@ -4565,7 +4561,7 @@ function $s(n, t, e, o, r) {
4565
4561
  removeDataItemById: Rt,
4566
4562
  removeFilter: Me,
4567
4563
  removeHierarchyDataItem: Mt,
4568
- removeSorter: te,
4564
+ removeSorter: oe,
4569
4565
  reOrderVisibleIndex: Ve,
4570
4566
  setSorters: de,
4571
4567
  sorters: d,
@@ -4577,7 +4573,7 @@ function $s(n, t, e, o, r) {
4577
4573
  visibleDataItems: Pe
4578
4574
  };
4579
4575
  }
4580
- const go = {
4576
+ const vo = {
4581
4577
  conditions: { type: Array, default: [] },
4582
4578
  fields: { type: Array, default: [] },
4583
4579
  key: { type: String, default: "" },
@@ -4586,7 +4582,7 @@ const go = {
4586
4582
  */
4587
4583
  isControlInline: { type: Boolean, default: !0 }
4588
4584
  };
4589
- class yo {
4585
+ class go {
4590
4586
  constructor(t = { value: [] }) {
4591
4587
  A(this, "editorType", "check-box");
4592
4588
  A(this, "value");
@@ -4610,7 +4606,7 @@ class yo {
4610
4606
  return this.value.length === 0;
4611
4607
  }
4612
4608
  }
4613
- class bo {
4609
+ class yo {
4614
4610
  constructor(t = { textValue: "", value: "", valueField: "" }) {
4615
4611
  A(this, "editorType", "combo-lookup");
4616
4612
  A(this, "textValue");
@@ -4654,11 +4650,11 @@ function Ye(n) {
4654
4650
  function je(n, t) {
4655
4651
  return n instanceof Date ? new n.constructor(t) : new Date(t);
4656
4652
  }
4657
- function wo(n, t) {
4653
+ function bo(n, t) {
4658
4654
  const e = Ye(n);
4659
4655
  return isNaN(t) ? je(n, NaN) : (t && e.setDate(e.getDate() + t), e);
4660
4656
  }
4661
- const Co = 6048e5, Ls = 864e5, js = 6e4, As = 36e5, Hs = 1e3;
4657
+ const wo = 6048e5, Ls = 864e5, js = 6e4, As = 36e5, Hs = 1e3;
4662
4658
  let Ws = {};
4663
4659
  function Yt() {
4664
4660
  return Ws;
@@ -4671,7 +4667,7 @@ function Dt(n, t) {
4671
4667
  function Gt(n) {
4672
4668
  return Dt(n, { weekStartsOn: 1 });
4673
4669
  }
4674
- function xo(n) {
4670
+ function Co(n) {
4675
4671
  const t = Ye(n), e = t.getFullYear(), o = je(n, 0);
4676
4672
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
4677
4673
  const r = Gt(o), i = je(n, 0);
@@ -4679,7 +4675,7 @@ function xo(n) {
4679
4675
  const a = Gt(i);
4680
4676
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= a.getTime() ? e : e - 1;
4681
4677
  }
4682
- function Hn(n) {
4678
+ function An(n) {
4683
4679
  const t = Ye(n);
4684
4680
  return t.setHours(0, 0, 0, 0), t;
4685
4681
  }
@@ -4698,11 +4694,11 @@ function sn(n) {
4698
4694
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
4699
4695
  }
4700
4696
  function qs(n, t) {
4701
- const e = Hn(n), o = Hn(t), r = +e - sn(e), i = +o - sn(o);
4697
+ const e = An(n), o = An(t), r = +e - sn(e), i = +o - sn(o);
4702
4698
  return Math.round((r - i) / Ls);
4703
4699
  }
4704
4700
  function zs(n) {
4705
- const t = xo(n), e = je(n, 0);
4701
+ const t = Co(n), e = je(n, 0);
4706
4702
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), Gt(e);
4707
4703
  }
4708
4704
  function Gs(n) {
@@ -5137,7 +5133,7 @@ const ml = /^(\d+)(th|st|nd|rd)?/i, hl = /\d+/i, vl = {
5137
5133
  parsePatterns: Tl,
5138
5134
  defaultParseWidth: "any"
5139
5135
  })
5140
- }, _o = {
5136
+ }, xo = {
5141
5137
  code: "en-US",
5142
5138
  formatDistance: Qs,
5143
5139
  formatLong: el,
@@ -5153,9 +5149,9 @@ function Ml(n) {
5153
5149
  const t = Ye(n);
5154
5150
  return qs(t, Us(t)) + 1;
5155
5151
  }
5156
- function So(n) {
5152
+ function _o(n) {
5157
5153
  const t = Ye(n), e = +Gt(t) - +zs(t);
5158
- return Math.round(e / Co) + 1;
5154
+ return Math.round(e / wo) + 1;
5159
5155
  }
5160
5156
  function Fn(n, t) {
5161
5157
  var c, d, h, f;
@@ -5171,9 +5167,9 @@ function El(n, t) {
5171
5167
  const e = Yt(), 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 = Fn(n, t), i = je(n, 0);
5172
5168
  return i.setFullYear(r, 0, o), i.setHours(0, 0, 0, 0), Dt(i, t);
5173
5169
  }
5174
- function To(n, t) {
5170
+ function So(n, t) {
5175
5171
  const e = Ye(n), o = +Dt(e, t) - +El(e, t);
5176
- return Math.round(o / Co) + 1;
5172
+ return Math.round(o / wo) + 1;
5177
5173
  }
5178
5174
  function Fe(n, t) {
5179
5175
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -5242,7 +5238,7 @@ const It = {
5242
5238
  afternoon: "afternoon",
5243
5239
  evening: "evening",
5244
5240
  night: "night"
5245
- }, Wn = {
5241
+ }, Hn = {
5246
5242
  // Era
5247
5243
  G: function(n, t, e) {
5248
5244
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -5277,7 +5273,7 @@ const It = {
5277
5273
  },
5278
5274
  // ISO week-numbering year
5279
5275
  R: function(n, t) {
5280
- const e = xo(n);
5276
+ const e = Co(n);
5281
5277
  return Fe(e, t.length);
5282
5278
  },
5283
5279
  // Extended year. This is a single number designating the year of this calendar system.
@@ -5400,12 +5396,12 @@ const It = {
5400
5396
  },
5401
5397
  // Local week of year
5402
5398
  w: function(n, t, e, o) {
5403
- const r = To(n, o);
5399
+ const r = So(n, o);
5404
5400
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Fe(r, t.length);
5405
5401
  },
5406
5402
  // ISO week of year
5407
5403
  I: function(n, t, e) {
5408
- const o = So(n);
5404
+ const o = _o(n);
5409
5405
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Fe(o, t.length);
5410
5406
  },
5411
5407
  // Day of the month
@@ -5668,7 +5664,7 @@ const It = {
5668
5664
  return "Z";
5669
5665
  switch (t) {
5670
5666
  case "X":
5671
- return zn(o);
5667
+ return qn(o);
5672
5668
  case "XXXX":
5673
5669
  case "XX":
5674
5670
  return Lt(o);
@@ -5683,7 +5679,7 @@ const It = {
5683
5679
  const o = n.getTimezoneOffset();
5684
5680
  switch (t) {
5685
5681
  case "x":
5686
- return zn(o);
5682
+ return qn(o);
5687
5683
  case "xxxx":
5688
5684
  case "xx":
5689
5685
  return Lt(o);
@@ -5700,7 +5696,7 @@ const It = {
5700
5696
  case "O":
5701
5697
  case "OO":
5702
5698
  case "OOO":
5703
- return "GMT" + qn(o, ":");
5699
+ return "GMT" + Wn(o, ":");
5704
5700
  case "OOOO":
5705
5701
  default:
5706
5702
  return "GMT" + Lt(o, ":");
@@ -5713,7 +5709,7 @@ const It = {
5713
5709
  case "z":
5714
5710
  case "zz":
5715
5711
  case "zzz":
5716
- return "GMT" + qn(o, ":");
5712
+ return "GMT" + Wn(o, ":");
5717
5713
  case "zzzz":
5718
5714
  default:
5719
5715
  return "GMT" + Lt(o, ":");
@@ -5730,18 +5726,18 @@ const It = {
5730
5726
  return Fe(o, t.length);
5731
5727
  }
5732
5728
  };
5733
- function qn(n, t = "") {
5729
+ function Wn(n, t = "") {
5734
5730
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), i = o % 60;
5735
5731
  return i === 0 ? e + String(r) : e + String(r) + t + Fe(i, 2);
5736
5732
  }
5737
- function zn(n, t) {
5733
+ function qn(n, t) {
5738
5734
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Fe(Math.abs(n) / 60, 2) : Lt(n, t);
5739
5735
  }
5740
5736
  function Lt(n, t = "") {
5741
5737
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Fe(Math.trunc(o / 60), 2), i = Fe(o % 60, 2);
5742
5738
  return e + r + t + i;
5743
5739
  }
5744
- const Gn = (n, t) => {
5740
+ const zn = (n, t) => {
5745
5741
  switch (n) {
5746
5742
  case "P":
5747
5743
  return t.date({ width: "short" });
@@ -5753,7 +5749,7 @@ const Gn = (n, t) => {
5753
5749
  default:
5754
5750
  return t.date({ width: "full" });
5755
5751
  }
5756
- }, ko = (n, t) => {
5752
+ }, To = (n, t) => {
5757
5753
  switch (n) {
5758
5754
  case "p":
5759
5755
  return t.time({ width: "short" });
@@ -5768,7 +5764,7 @@ const Gn = (n, t) => {
5768
5764
  }, Il = (n, t) => {
5769
5765
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
5770
5766
  if (!r)
5771
- return Gn(n, t);
5767
+ return zn(n, t);
5772
5768
  let i;
5773
5769
  switch (o) {
5774
5770
  case "P":
@@ -5785,15 +5781,15 @@ const Gn = (n, t) => {
5785
5781
  i = t.dateTime({ width: "full" });
5786
5782
  break;
5787
5783
  }
5788
- return i.replace("{{date}}", Gn(o, t)).replace("{{time}}", ko(r, t));
5784
+ return i.replace("{{date}}", zn(o, t)).replace("{{time}}", To(r, t));
5789
5785
  }, yn = {
5790
- p: ko,
5786
+ p: To,
5791
5787
  P: Il
5792
5788
  }, Fl = /^D+$/, Ol = /^Y+$/, Dl = ["D", "DD", "YY", "YYYY"];
5793
- function Mo(n) {
5789
+ function ko(n) {
5794
5790
  return Fl.test(n);
5795
5791
  }
5796
- function Eo(n) {
5792
+ function Mo(n) {
5797
5793
  return Ol.test(n);
5798
5794
  }
5799
5795
  function bn(n, t, e) {
@@ -5805,9 +5801,9 @@ function Pl(n, t, e) {
5805
5801
  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`;
5806
5802
  }
5807
5803
  const Bl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Rl = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Nl = /^'([^]*?)'?$/, Vl = /''/g, $l = /[a-zA-Z]/;
5808
- function Io(n, t, e) {
5804
+ function Eo(n, t, e) {
5809
5805
  var c, d, h, f;
5810
- const o = Yt(), r = o.locale ?? _o, i = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = o.weekStartsOn ?? ((f = (h = o.locale) == null ? void 0 : h.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
5806
+ const o = Yt(), r = o.locale ?? xo, i = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = o.weekStartsOn ?? ((f = (h = o.locale) == null ? void 0 : h.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
5811
5807
  if (!Ys(s))
5812
5808
  throw new RangeError("Invalid time value");
5813
5809
  let l = t.match(Rl).map((p) => {
@@ -5823,7 +5819,7 @@ function Io(n, t, e) {
5823
5819
  const T = p[0];
5824
5820
  if (T === "'")
5825
5821
  return { isToken: !1, value: Ll(p) };
5826
- if (Wn[T])
5822
+ if (Hn[T])
5827
5823
  return { isToken: !0, value: p };
5828
5824
  if (T.match($l))
5829
5825
  throw new RangeError(
@@ -5840,8 +5836,8 @@ function Io(n, t, e) {
5840
5836
  return l.map((p) => {
5841
5837
  if (!p.isToken) return p.value;
5842
5838
  const T = p.value;
5843
- (Eo(T) || Mo(T)) && bn(T, t, String(n));
5844
- const w = Wn[T[0]];
5839
+ (Mo(T) || ko(T)) && bn(T, t, String(n));
5840
+ const w = Hn[T[0]];
5845
5841
  return w(s, T, r.localize, u);
5846
5842
  }).join("");
5847
5843
  }
@@ -5870,7 +5866,7 @@ function Hl(n, t) {
5870
5866
  ), e;
5871
5867
  }
5872
5868
  const Wl = 10;
5873
- class Fo {
5869
+ class Io {
5874
5870
  constructor() {
5875
5871
  A(this, "subPriority", 0);
5876
5872
  }
@@ -5878,7 +5874,7 @@ class Fo {
5878
5874
  return !0;
5879
5875
  }
5880
5876
  }
5881
- class ql extends Fo {
5877
+ class ql extends Io {
5882
5878
  constructor(t, e, o, r, i) {
5883
5879
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, i && (this.subPriority = i);
5884
5880
  }
@@ -5889,7 +5885,7 @@ class ql extends Fo {
5889
5885
  return this.setValue(t, e, this.value, o);
5890
5886
  }
5891
5887
  }
5892
- class zl extends Fo {
5888
+ class zl extends Io {
5893
5889
  constructor() {
5894
5890
  super(...arguments);
5895
5891
  A(this, "priority", Wl);
@@ -6013,7 +6009,7 @@ function gt(n, t) {
6013
6009
  rest: t.slice(e[0].length)
6014
6010
  };
6015
6011
  }
6016
- function Oo(n) {
6012
+ function Fo(n) {
6017
6013
  return Le(He.anyDigitsSigned, n);
6018
6014
  }
6019
6015
  function Ae(n, t) {
@@ -6061,7 +6057,7 @@ function On(n) {
6061
6057
  return 0;
6062
6058
  }
6063
6059
  }
6064
- function Do(n, t) {
6060
+ function Oo(n, t) {
6065
6061
  const e = t > 0, o = e ? t : 1 - t;
6066
6062
  let r;
6067
6063
  if (o <= 50)
@@ -6072,7 +6068,7 @@ function Do(n, t) {
6072
6068
  }
6073
6069
  return e ? r : 1 - r;
6074
6070
  }
6075
- function Po(n) {
6071
+ function Do(n) {
6076
6072
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
6077
6073
  }
6078
6074
  class Yl extends Ee {
@@ -6106,7 +6102,7 @@ class Yl extends Ee {
6106
6102
  set(e, o, r) {
6107
6103
  const i = e.getFullYear();
6108
6104
  if (r.isTwoDigitYear) {
6109
- const s = Do(
6105
+ const s = Oo(
6110
6106
  r.year,
6111
6107
  i
6112
6108
  );
@@ -6161,7 +6157,7 @@ class Ul extends Ee {
6161
6157
  set(e, o, r, i) {
6162
6158
  const a = Fn(e, i);
6163
6159
  if (r.isTwoDigitYear) {
6164
- const l = Do(
6160
+ const l = Oo(
6165
6161
  r.year,
6166
6162
  a
6167
6163
  );
@@ -6467,7 +6463,7 @@ class eu extends Ee {
6467
6463
  }
6468
6464
  }
6469
6465
  function tu(n, t, e) {
6470
- const o = Ye(n), r = To(o, e) - t;
6466
+ const o = Ye(n), r = So(o, e) - t;
6471
6467
  return o.setDate(o.getDate() - r * 7), o;
6472
6468
  }
6473
6469
  class nu extends Ee {
@@ -6508,7 +6504,7 @@ class nu extends Ee {
6508
6504
  }
6509
6505
  }
6510
6506
  function ou(n, t) {
6511
- const e = Ye(n), o = So(e) - t;
6507
+ const e = Ye(n), o = _o(e) - t;
6512
6508
  return e.setDate(e.getDate() - o * 7), e;
6513
6509
  }
6514
6510
  class ru extends Ee {
@@ -6594,7 +6590,7 @@ class su extends Ee {
6594
6590
  }
6595
6591
  }
6596
6592
  validate(e, o) {
6597
- const r = e.getFullYear(), i = Po(r), a = e.getMonth();
6593
+ const r = e.getFullYear(), i = Do(r), a = e.getMonth();
6598
6594
  return i ? o >= 1 && o <= au[a] : o >= 1 && o <= iu[a];
6599
6595
  }
6600
6596
  set(e, o, r) {
@@ -6637,7 +6633,7 @@ class lu extends Ee {
6637
6633
  }
6638
6634
  validate(e, o) {
6639
6635
  const r = e.getFullYear();
6640
- return Po(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
6636
+ return Do(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
6641
6637
  }
6642
6638
  set(e, o, r) {
6643
6639
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -6646,7 +6642,7 @@ class lu extends Ee {
6646
6642
  function Dn(n, t, e) {
6647
6643
  var d, h, f, p;
6648
6644
  const o = Yt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((h = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : h.weekStartsOn) ?? o.weekStartsOn ?? ((p = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : p.weekStartsOn) ?? 0, i = Ye(n), a = i.getDay(), l = (t % 7 + 7) % 7, u = 7 - r, c = t < 0 || t > 6 ? t - (a + u) % 7 : (l + u) % 7 - (a + u) % 7;
6649
- return wo(i, c);
6645
+ return bo(i, c);
6650
6646
  }
6651
6647
  class uu extends Ee {
6652
6648
  constructor() {
@@ -6817,7 +6813,7 @@ class du extends Ee {
6817
6813
  }
6818
6814
  function fu(n, t) {
6819
6815
  const e = Ye(n), o = Al(e), r = t - o;
6820
- return wo(e, r);
6816
+ return bo(e, r);
6821
6817
  }
6822
6818
  class pu extends Ee {
6823
6819
  constructor() {
@@ -7267,7 +7263,7 @@ class ku extends Ee {
7267
7263
  A(this, "incompatibleTokens", "*");
7268
7264
  }
7269
7265
  parse(e) {
7270
- return Oo(e);
7266
+ return Fo(e);
7271
7267
  }
7272
7268
  set(e, o, r) {
7273
7269
  return [je(e, r * 1e3), { timestampIsSet: !0 }];
@@ -7280,7 +7276,7 @@ class Mu extends Ee {
7280
7276
  A(this, "incompatibleTokens", "*");
7281
7277
  }
7282
7278
  parse(e) {
7283
- return Oo(e);
7279
+ return Fo(e);
7284
7280
  }
7285
7281
  set(e, o, r) {
7286
7282
  return [je(e, r), { timestampIsSet: !0 }];
@@ -7319,9 +7315,9 @@ const Eu = {
7319
7315
  t: new ku(),
7320
7316
  T: new Mu()
7321
7317
  }, Iu = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Fu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ou = /^'([^]*?)'?$/, Du = /''/g, Pu = /\S/, Bu = /[a-zA-Z]/;
7322
- function Bo(n, t, e, o) {
7318
+ function Po(n, t, e, o) {
7323
7319
  var T, w, v, g;
7324
- const r = jl(), i = r.locale ?? _o, a = r.firstWeekContainsDate ?? ((w = (T = r.locale) == null ? void 0 : T.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((g = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : g.weekStartsOn) ?? 0;
7320
+ const r = jl(), i = r.locale ?? xo, a = r.firstWeekContainsDate ?? ((w = (T = r.locale) == null ? void 0 : T.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((g = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : g.weekStartsOn) ?? 0;
7325
7321
  if (t === "")
7326
7322
  return n === "" ? Ye(e) : je(e, NaN);
7327
7323
  const l = {
@@ -7337,7 +7333,7 @@ function Bo(n, t, e, o) {
7337
7333
  return b;
7338
7334
  }).join("").match(Iu), d = [];
7339
7335
  for (let b of c) {
7340
- Eo(b) && bn(b, t, n), Mo(b) && bn(b, t, n);
7336
+ Mo(b) && bn(b, t, n), ko(b) && bn(b, t, n);
7341
7337
  const S = b[0], E = Eu[S];
7342
7338
  if (E) {
7343
7339
  const { incompatibleTokens: F } = E;
@@ -7394,7 +7390,7 @@ function Bo(n, t, e, o) {
7394
7390
  function Ru(n) {
7395
7391
  return n.match(Ou)[1].replace(Du, "'");
7396
7392
  }
7397
- class Ro {
7393
+ class Bo {
7398
7394
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
7399
7395
  A(this, "editorType", "date-picker");
7400
7396
  A(this, "value");
@@ -7411,8 +7407,8 @@ class Ro {
7411
7407
  }
7412
7408
  getDisplayText() {
7413
7409
  if (typeof this.value == "string" && this.value) {
7414
- const t = Bo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7415
- return Io(t, this.displayFormat);
7410
+ const t = Po(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7411
+ return Eo(t, this.displayFormat);
7416
7412
  }
7417
7413
  return this.getValue();
7418
7414
  }
@@ -7447,7 +7443,7 @@ class un {
7447
7443
  return !this.begin || !this.end;
7448
7444
  }
7449
7445
  }
7450
- class No {
7446
+ class Ro {
7451
7447
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
7452
7448
  A(this, "editorType", "datetime-picker");
7453
7449
  A(this, "value");
@@ -7464,8 +7460,8 @@ class No {
7464
7460
  }
7465
7461
  getDisplayText() {
7466
7462
  if (typeof this.value == "string" && this.value) {
7467
- const t = Bo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7468
- return Io(t, this.displayFormat);
7463
+ const t = Po(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7464
+ return Eo(t, this.displayFormat);
7469
7465
  }
7470
7466
  return this.getValue();
7471
7467
  }
@@ -7476,7 +7472,7 @@ class No {
7476
7472
  return !this.value;
7477
7473
  }
7478
7474
  }
7479
- class Vo {
7475
+ class No {
7480
7476
  constructor(t = { value: "", valueList: [] }) {
7481
7477
  A(this, "editorType", "combo-list");
7482
7478
  A(this, "value");
@@ -7561,7 +7557,7 @@ class Nu {
7561
7557
  return !this.displayText && !this.value.length;
7562
7558
  }
7563
7559
  }
7564
- class $o {
7560
+ class Vo {
7565
7561
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
7566
7562
  A(this, "editorType", "lookup");
7567
7563
  A(this, "helpId");
@@ -7589,7 +7585,7 @@ class $o {
7589
7585
  return !this.mapFields.length;
7590
7586
  }
7591
7587
  }
7592
- class Lo {
7588
+ class $o {
7593
7589
  constructor(t = { value: "" }) {
7594
7590
  A(this, "editorType", "month-picker");
7595
7591
  A(this, "value");
@@ -7612,7 +7608,7 @@ class Lo {
7612
7608
  return !this.value;
7613
7609
  }
7614
7610
  }
7615
- class jo {
7611
+ class Lo {
7616
7612
  constructor(t = { begin: "", end: "" }) {
7617
7613
  A(this, "editorType", "month-range");
7618
7614
  A(this, "begin");
@@ -7636,7 +7632,7 @@ class jo {
7636
7632
  return !this.begin || !this.end;
7637
7633
  }
7638
7634
  }
7639
- class Ao {
7635
+ class jo {
7640
7636
  constructor(t = { begin: null, end: null }) {
7641
7637
  A(this, "editorType", "number-range");
7642
7638
  A(this, "begin");
@@ -7663,7 +7659,7 @@ class Ao {
7663
7659
  return this.begin == null && this.end == null;
7664
7660
  }
7665
7661
  }
7666
- class Ho {
7662
+ class Ao {
7667
7663
  constructor(t = { value: "" }) {
7668
7664
  A(this, "editorType", "number-spinner");
7669
7665
  A(this, "value");
@@ -7687,7 +7683,7 @@ class Ho {
7687
7683
  return this.value == null || isNaN(this.value);
7688
7684
  }
7689
7685
  }
7690
- class Wo {
7686
+ class Ho {
7691
7687
  constructor(t = { value: null, valueList: [] }) {
7692
7688
  A(this, "editorType", "radio-group");
7693
7689
  A(this, "value");
@@ -7735,45 +7731,45 @@ class cn {
7735
7731
  return !this.value;
7736
7732
  }
7737
7733
  }
7738
- function qo() {
7734
+ function Wo() {
7739
7735
  function n(t, e) {
7740
7736
  switch (t) {
7741
7737
  case "check-box":
7742
- return new yo(e);
7738
+ return new go(e);
7743
7739
  case "combo-list":
7744
- return new Vo(e);
7740
+ return new No(e);
7745
7741
  case "combo-lookup":
7746
- return new bo(e);
7742
+ return new yo(e);
7747
7743
  case "input-group":
7748
7744
  return new Nu(e);
7749
7745
  case "date-picker":
7750
- return new Ro(e);
7746
+ return new Bo(e);
7751
7747
  case "date-range":
7752
7748
  return new un(e);
7753
7749
  case "datetime-picker":
7754
- return new No(e);
7750
+ return new Ro(e);
7755
7751
  case "datetime-range":
7756
7752
  return new un(e);
7757
7753
  case "lookup":
7758
- return new $o(e);
7754
+ return new Vo(e);
7759
7755
  case "month-picker":
7760
- return new Lo(e);
7756
+ return new $o(e);
7761
7757
  case "month-range":
7762
- return new jo(e);
7758
+ return new Lo(e);
7763
7759
  case "number-range":
7764
- return new Ao(e);
7760
+ return new jo(e);
7765
7761
  case "number-spinner":
7766
- return new Ho(e);
7762
+ return new Ao(e);
7767
7763
  case "radio-group":
7768
- return new Wo(e);
7764
+ return new Ho(e);
7769
7765
  default:
7770
7766
  return new cn(e);
7771
7767
  }
7772
7768
  }
7773
7769
  return { createConditionValue: n };
7774
7770
  }
7775
- function zo(n, t) {
7776
- const e = _(n.fields), o = _([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = qo();
7771
+ function qo(n, t) {
7772
+ const e = _(n.fields), o = _([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = Wo();
7777
7773
  function a(c) {
7778
7774
  switch (c.editor ? c.editor.type : "input-group") {
7779
7775
  case "date-range":
@@ -7835,14 +7831,14 @@ function Vu(n, t, e) {
7835
7831
  resizeObserver: o
7836
7832
  };
7837
7833
  }
7838
- const Yn = /* @__PURE__ */ Xe({
7834
+ const Gn = /* @__PURE__ */ Xe({
7839
7835
  name: "FConditionFields",
7840
- props: go,
7836
+ props: vo,
7841
7837
  emits: ["valueChange", "blur", "focus", "click", "input"],
7842
7838
  setup(n, t) {
7843
7839
  const e = _(), o = _(n.key);
7844
7840
  _(n.isControlInline);
7845
- const r = _(n.conditions), i = zo(n), {
7841
+ const r = _(n.conditions), i = qo(n), {
7846
7842
  initialConditionValue: a,
7847
7843
  fieldMap: s,
7848
7844
  loadFieldConfigs: l
@@ -7899,11 +7895,11 @@ const Yn = /* @__PURE__ */ Xe({
7899
7895
  }, null);
7900
7896
  });
7901
7897
  }
7902
- return () => sr(I("div", {
7898
+ return () => ar(I("div", {
7903
7899
  class: h.value,
7904
7900
  key: o.value,
7905
7901
  ref: e
7906
- }, [T()]), [[lr("area-response")]]);
7902
+ }, [T()]), [[sr("area-response")]]);
7907
7903
  }
7908
7904
  }), Pn = /* @__PURE__ */ new Map([
7909
7905
  ["appearance", en]
@@ -8172,7 +8168,7 @@ const Ju = "https://json-schema.org/draft/2020-12/schema", Zu = "https://farris-
8172
8168
  "id",
8173
8169
  "type",
8174
8170
  "editor"
8175
- ], Go = {
8171
+ ], zo = {
8176
8172
  $schema: Ju,
8177
8173
  $id: Zu,
8178
8174
  title: ec,
@@ -8180,7 +8176,7 @@ const Ju = "https://json-schema.org/draft/2020-12/schema", Zu = "https://farris-
8180
8176
  type: nc,
8181
8177
  properties: oc,
8182
8178
  required: rc
8183
- }, Yo = {
8179
+ }, Go = {
8184
8180
  id: { type: String, default: "" },
8185
8181
  customClass: { type: String, default: "" },
8186
8182
  customStyle: { type: String, default: "" },
@@ -8198,12 +8194,12 @@ const Ju = "https://json-schema.org/draft/2020-12/schema", Zu = "https://farris-
8198
8194
  errors: { type: Object, default: null }
8199
8195
  };
8200
8196
  bt(
8201
- Yo,
8202
8197
  Go,
8198
+ zo,
8203
8199
  Pn,
8204
8200
  void 0
8205
8201
  );
8206
- function Uo(n, t, e) {
8202
+ function Yo(n, t, e) {
8207
8203
  var y;
8208
8204
  const o = e && e.getStyles && e.getStyles() || "", r = e && e.getDesignerClass && e.getDesignerClass() || "", i = _();
8209
8205
  function a() {
@@ -8354,9 +8350,9 @@ const ic = {
8354
8350
  }, [o.value])]);
8355
8351
  }
8356
8352
  }), se = {}, le = {}, ue = {}, ce = {};
8357
- let Un = !1;
8353
+ let Yn = !1;
8358
8354
  function sc() {
8359
- Un || (Un = !0, gi.register(se, le, ue, ce), vi.register(se, le, ue, ce), yi.register(se, le, ue, ce), bi.register(se, le, ue, ce), wi.register(se, le, ue, ce), Ci.register(se, le, ue, ce), Ln.register(se, le, ue, ce), jn.register(se, le, ue, ce), Ln.register(se, le, ue, ce), jn.register(se, le, ue, ce), vn.register(se, le, ue, ce), xi.register(se, le, ue, ce), _i.register(se, le, ue, ce), Ti.register(se, le, ue, ce), Si.register(se, le, ue, ce), ki.register(se, le, ue, ce), Mi.register(se, le, ue, ce), Ei.register(se, le, ue, ce), ci.register(se, le, ue, ce), Ii.register(se, le, ue, ce), ya.register(se, le, ue, ce), ii.register(se, le, ue, ce), Fi.register(se, le, ue, ce), da.register(se, le, ue, ce), Di.register(se, le, ue, ce), Pi.register(se, le, ue, ce), Bi.register(se, le, ue, ce), Ni.register(se, le, ue, ce), Ri.register(se, le, ue, ce), Vi.register(se, le, ue, ce), $i.register(se, le, ue, ce), Li.register(se, le, ue, ce), ji.register(se, le, ue, ce), Ai.register(se, le, ue, ce), oi.register(se, le, ue, ce), Hi.register(se, le, ue, ce), Wi.register(se, le, ue, ce), ai.register(se, le, ue, ce), qi.register(se, le, ue, ce), zi.register(se, le, ue, ce), Gi.register(se, le, ue, ce), Yi.register(se, le, ue, ce), Ui.register(se, le, ue, ce), Xi.register(se, le, ue, ce), eo.register(se, le, ue, ce), la.register(se, le, ue), li.register(se, le, ue, ce), Qi.register(se, le, ue, ce), Ki.register(se, le, ue, ce), Ji.register(se, le, ue, ce), Zi.register(se, le, ue, ce), ea.register(se, le, ue, ce), pa.register(se, le, ue, ce), ni.register(se, le, ue, ce), ui.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), ti.register(se, le, ue, ce), oa.register(se, le, ue, ce), ia.register(se, le, ue, ce), ra.register(se, le, ue, ce), aa.register(se, le, ue, ce), sa.register(se, le, ue, ce), ua.register(se, le, ue, ce), Oi.register(se, le, ue, ce), ca.register(se, le, ue, ce), fa.register(se, le, ue, ce), ma.register(se, le, ue, ce), ha.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ba.register(se, le, ue, ce), wa.register(se, le, ue, ce));
8355
+ Yn || (Yn = !0, gi.register(se, le, ue, ce), vi.register(se, le, ue, ce), yi.register(se, le, ue, ce), bi.register(se, le, ue, ce), wi.register(se, le, ue, ce), Ci.register(se, le, ue, ce), $n.register(se, le, ue, ce), Ln.register(se, le, ue, ce), $n.register(se, le, ue, ce), Ln.register(se, le, ue, ce), vn.register(se, le, ue, ce), xi.register(se, le, ue, ce), _i.register(se, le, ue, ce), Ti.register(se, le, ue, ce), Si.register(se, le, ue, ce), ki.register(se, le, ue, ce), Mi.register(se, le, ue, ce), Ei.register(se, le, ue, ce), ci.register(se, le, ue, ce), Ii.register(se, le, ue, ce), ya.register(se, le, ue, ce), ri.register(se, le, ue, ce), Fi.register(se, le, ue, ce), da.register(se, le, ue, ce), Di.register(se, le, ue, ce), Pi.register(se, le, ue, ce), Bi.register(se, le, ue, ce), Ni.register(se, le, ue, ce), Ri.register(se, le, ue, ce), Vi.register(se, le, ue, ce), $i.register(se, le, ue, ce), Li.register(se, le, ue, ce), ji.register(se, le, ue, ce), Ai.register(se, le, ue, ce), ni.register(se, le, ue, ce), Hi.register(se, le, ue, ce), Wi.register(se, le, ue, ce), ai.register(se, le, ue, ce), qi.register(se, le, ue, ce), zi.register(se, le, ue, ce), Gi.register(se, le, ue, ce), Yi.register(se, le, ue, ce), Ui.register(se, le, ue, ce), Xi.register(se, le, ue, ce), Zn.register(se, le, ue, ce), la.register(se, le, ue), li.register(se, le, ue, ce), Qi.register(se, le, ue, ce), Ki.register(se, le, ue, ce), Ji.register(se, le, ue, ce), Zi.register(se, le, ue, ce), ea.register(se, le, ue, ce), pa.register(se, le, ue, ce), ti.register(se, le, ue, ce), ui.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), ei.register(se, le, ue, ce), oa.register(se, le, ue, ce), ia.register(se, le, ue, ce), ra.register(se, le, ue, ce), aa.register(se, le, ue, ce), sa.register(se, le, ue, ce), ua.register(se, le, ue, ce), Oi.register(se, le, ue, ce), ca.register(se, le, ue, ce), fa.register(se, le, ue, ce), ma.register(se, le, ue, ce), ha.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ba.register(se, le, ue, ce), wa.register(se, le, ue, ce));
8360
8356
  }
8361
8357
  function lc() {
8362
8358
  sc();
@@ -8506,7 +8502,7 @@ const uc = {
8506
8502
  }
8507
8503
  }), dc = /* @__PURE__ */ Xe({
8508
8504
  name: "FDynamicFormGroup",
8509
- props: Yo,
8505
+ props: Go,
8510
8506
  emits: ["change", "update:modelValue"],
8511
8507
  setup(n, t) {
8512
8508
  var F;
@@ -8653,7 +8649,7 @@ A(qt, "fieldControlTypeMapping", {
8653
8649
  { key: ie["radio-group"].type, value: ie["radio-group"].name }
8654
8650
  ]
8655
8651
  });
8656
- let Xn = qt;
8652
+ let Un = qt;
8657
8653
  const mc = {
8658
8654
  id: { type: String, default: "" },
8659
8655
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
@@ -8671,7 +8667,7 @@ const mc = {
8671
8667
  };
8672
8668
  bt(
8673
8669
  mc,
8674
- Go,
8670
+ zo,
8675
8671
  Pn,
8676
8672
  void 0
8677
8673
  );
@@ -9399,7 +9395,7 @@ function jc(n, t, e) {
9399
9395
  resetTranslate: S
9400
9396
  };
9401
9397
  }
9402
- function Xo(n, t) {
9398
+ function Uo(n, t) {
9403
9399
  if (n) {
9404
9400
  const e = (o) => {
9405
9401
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -9412,7 +9408,7 @@ function Xo(n, t) {
9412
9408
  function Ac(n, t) {
9413
9409
  const e = _(n.enableEsc);
9414
9410
  let o = null;
9415
- return e.value ? (o = Xo("Escape", (r) => {
9411
+ return e.value ? (o = Uo("Escape", (r) => {
9416
9412
  t.emit("esc", { event: r.event, type: "esc" });
9417
9413
  }), {
9418
9414
  remove: o
@@ -9421,7 +9417,7 @@ function Ac(n, t) {
9421
9417
  function Hc(n, t) {
9422
9418
  const e = _(n.enableEnter);
9423
9419
  let o = null;
9424
- return e.value ? (o = Xo("Enter", (r) => {
9420
+ return e.value ? (o = Uo("Enter", (r) => {
9425
9421
  t.emit("enter", { event: r.event, type: "enter" });
9426
9422
  }), {
9427
9423
  remove: o
@@ -9529,7 +9525,7 @@ const Kt = /* @__PURE__ */ Xe({
9529
9525
  display: l.value ? "" : "none"
9530
9526
  };
9531
9527
  return J["pointer-events"] = B.value ? "auto" : "none", J;
9532
- }), fe = L(() => ({
9528
+ }), me = L(() => ({
9533
9529
  "f-icon": !0,
9534
9530
  modal_maximize: !0,
9535
9531
  modalrevert: D.value
@@ -9562,13 +9558,13 @@ const Kt = /* @__PURE__ */ Xe({
9562
9558
  function de(J) {
9563
9559
  J.width && (e.value = J.width), J.height && (o.value = J.height), J.buttons && (y.value = J.buttons), J.title && (v.value = J.title);
9564
9560
  }
9565
- let z = null, te = null;
9566
- ur(() => {
9561
+ let z = null, oe = null;
9562
+ lr(() => {
9567
9563
  S.value = R();
9568
9564
  }), pt(() => {
9569
- m.value && !g.value && (g.value = m.value.parentElement, $.value = g.value, U(C.value, m.value, $.value)), Q.value && document.body.classList.add("modal-open"), z = Ac(n, t), te = Hc(n, t);
9565
+ m.value && !g.value && (g.value = m.value.parentElement, $.value = g.value, U(C.value, m.value, $.value)), Q.value && document.body.classList.add("modal-open"), z = Ac(n, t), oe = Hc(n, t);
9570
9566
  }), Zt(() => {
9571
- N && N(), z && z.remove(), te && te.remove();
9567
+ N && N(), z && z.remove(), oe && oe.remove();
9572
9568
  }), t.expose({
9573
9569
  modalElementRef: m,
9574
9570
  updateModalOptions: de,
@@ -9586,7 +9582,7 @@ const Kt = /* @__PURE__ */ Xe({
9586
9582
  class: "f-btn-icon f-bare",
9587
9583
  style: "pointer-events: auto;"
9588
9584
  }, [I("span", {
9589
- class: fe.value
9585
+ class: me.value
9590
9586
  }, null)]), c.value && I("li", {
9591
9587
  class: "f-btn-icon f-bare",
9592
9588
  onClick: (J) => E(J, !1),
@@ -9659,10 +9655,10 @@ const Kt = /* @__PURE__ */ Xe({
9659
9655
  src: p.value
9660
9656
  }, null)]), it()]), !s.value && m.value && !D.value && P(m.value)]);
9661
9657
  }
9662
- return () => I(cr, {
9658
+ return () => I(ur, {
9663
9659
  to: "body"
9664
9660
  }, {
9665
- default: () => [Q.value && I(Zn, {
9661
+ default: () => [Q.value && I(Jn, {
9666
9662
  name: "fade",
9667
9663
  appear: !0
9668
9664
  }, {
@@ -9676,7 +9672,7 @@ const Kt = /* @__PURE__ */ Xe({
9676
9672
  });
9677
9673
  }
9678
9674
  });
9679
- function Qo(n) {
9675
+ function Xo(n) {
9680
9676
  if (n.content && n.content.render)
9681
9677
  return n.content.render;
9682
9678
  if (n.render && typeof n.render == "function")
@@ -9685,7 +9681,7 @@ function Qo(n) {
9685
9681
  function Wc(n) {
9686
9682
  const t = document.createElement("div");
9687
9683
  t.style.display = "contents";
9688
- const e = Jn({
9684
+ const e = Kn({
9689
9685
  setup(o, r) {
9690
9686
  Zt(() => {
9691
9687
  document.body.removeChild(t);
@@ -9695,7 +9691,7 @@ function Wc(n) {
9695
9691
  }), p = n.closedCallback || ((b) => {
9696
9692
  }), T = n.resizeHandle || ((b) => {
9697
9693
  }), w = n.stopMoveHandle || ((b) => {
9698
- }), v = Qo(n), g = (b) => {
9694
+ }), v = Xo(n), g = (b) => {
9699
9695
  c.value = !1, e.unmount(), p(b);
9700
9696
  };
9701
9697
  return pt(() => {
@@ -9727,7 +9723,7 @@ function Wc(n) {
9727
9723
  });
9728
9724
  return document.body.appendChild(t), e.mount(t), e;
9729
9725
  }
9730
- class Ko {
9726
+ class Qo {
9731
9727
  constructor(t) {
9732
9728
  A(this, "appContext", null);
9733
9729
  A(this, "modalRef", _());
@@ -9768,7 +9764,7 @@ class Ko {
9768
9764
  open(t) {
9769
9765
  const e = document.createDocumentFragment();
9770
9766
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
9771
- const o = dr(Object.assign({
9767
+ const o = cr(Object.assign({
9772
9768
  title: "",
9773
9769
  showButtons: !0,
9774
9770
  showHeader: !0
@@ -9779,7 +9775,7 @@ class Ko {
9779
9775
  }), u = t.stopMoveHandle || ((E) => {
9780
9776
  });
9781
9777
  let c;
9782
- const d = Qo(o.value), h = (E) => {
9778
+ const d = Xo(o.value), h = (E) => {
9783
9779
  var y;
9784
9780
  r.value = !1;
9785
9781
  const F = (y = E == null ? void 0 : E.target) == null ? void 0 : y.classList.contains("modal_close");
@@ -9815,7 +9811,7 @@ class Ko {
9815
9811
  default: () => [d && d(this.app)]
9816
9812
  });
9817
9813
  return c = ((E) => {
9818
- const F = fr(g, E);
9814
+ const F = dr(g, E);
9819
9815
  return F.appContext = this.appContext, fn(F, e), F;
9820
9816
  })({
9821
9817
  ...o.value
@@ -9825,7 +9821,7 @@ class Ko {
9825
9821
  o.value = {
9826
9822
  ...o.value,
9827
9823
  ...E
9828
- }, c && fn(pr(c, {
9824
+ }, c && fn(fr(c, {
9829
9825
  ...o
9830
9826
  }), e);
9831
9827
  },
@@ -9838,7 +9834,7 @@ class Ko {
9838
9834
  const qc = Symbol("FModalService");
9839
9835
  Kt.install = (n) => {
9840
9836
  n.component(Kt.name, Kt);
9841
- const t = new Ko(n);
9837
+ const t = new Qo(n);
9842
9838
  n.provide(qc, t), n.provide("FModalService", t);
9843
9839
  };
9844
9840
  class Ft {
@@ -9848,7 +9844,7 @@ class Ft {
9848
9844
  }), o = !1, r = e.type === "error" || e.type === "prompt", i = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", a = e.acceptCallback || (() => {
9849
9845
  }), s = e.rejectCallback || (() => {
9850
9846
  });
9851
- let l = null, u = new Ko(l);
9847
+ let l = null, u = new Qo(l);
9852
9848
  const c = () => {
9853
9849
  l && (l == null || l.destroy(), u = null);
9854
9850
  };
@@ -10007,7 +10003,7 @@ function Yc(n, t, e) {
10007
10003
  }
10008
10004
  return { getCompareOperators: r };
10009
10005
  }
10010
- function Jo() {
10006
+ function Ko() {
10011
10007
  const n = _({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
10012
10008
  let o = 0;
10013
10009
  function r() {
@@ -10222,15 +10218,15 @@ function Uc(n, t, e) {
10222
10218
  }
10223
10219
  const mn = /* @__PURE__ */ Xe({
10224
10220
  name: "FConditionList",
10225
- props: go,
10221
+ props: vo,
10226
10222
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
10227
10223
  setup(n, t) {
10228
- const e = _(n.key), o = _(n.conditions), r = zo(n), {
10224
+ const e = _(n.key), o = _(n.conditions), r = qo(n), {
10229
10225
  convertToSingleControl: i,
10230
10226
  fields: a,
10231
10227
  fieldMap: s,
10232
10228
  loadFieldConfigs: l
10233
- } = r, u = Jo(), {
10229
+ } = r, u = Ko(), {
10234
10230
  addCondition: c,
10235
10231
  changeGroupRelation: d,
10236
10232
  getConditions: h,
@@ -10243,7 +10239,7 @@ const mn = /* @__PURE__ */ Xe({
10243
10239
  unGroup: b
10244
10240
  } = u, {
10245
10241
  createConditionValue: S
10246
- } = qo(), E = Uc(n, t, u), {
10242
+ } = Wo(), E = Uc(n, t, u), {
10247
10243
  selectedItems: F,
10248
10244
  toggleSelect: y
10249
10245
  } = E, {
@@ -10387,7 +10383,7 @@ const mn = /* @__PURE__ */ Xe({
10387
10383
  }
10388
10384
  });
10389
10385
  mn.install = (n) => {
10390
- n.component(Yn.name, Yn).component(mn.name, mn);
10386
+ n.component(Gn.name, Gn).component(mn.name, mn);
10391
10387
  };
10392
10388
  const Xc = [
10393
10389
  "equal",
@@ -10521,37 +10517,37 @@ const Xc = [
10521
10517
  ["text", Qc]
10522
10518
  ]);
10523
10519
  function nd() {
10524
- const n = _([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Jo();
10520
+ const n = _([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Ko();
10525
10521
  function o(w, v) {
10526
10522
  switch (w) {
10527
10523
  case "check-box":
10528
- return new yo({ value: v });
10524
+ return new go({ value: v });
10529
10525
  case "combo-list":
10530
- return new Vo({ value: v });
10526
+ return new No({ value: v });
10531
10527
  case "combo-lookup":
10532
- return new bo({ value: v });
10528
+ return new yo({ value: v });
10533
10529
  case "input-group":
10534
10530
  return new cn({ value: v });
10535
10531
  case "date-picker":
10536
- return new Ro({ value: v });
10532
+ return new Bo({ value: v });
10537
10533
  case "date-range":
10538
10534
  return new un({ value: v });
10539
10535
  case "datetime-picker":
10540
- return new No({ value: v });
10536
+ return new Ro({ value: v });
10541
10537
  case "datetime-range":
10542
10538
  return new un({ value: v });
10543
10539
  case "lookup":
10544
- return new $o({ value: v });
10540
+ return new Vo({ value: v });
10545
10541
  case "month-picker":
10546
- return new Lo({ value: v });
10542
+ return new $o({ value: v });
10547
10543
  case "month-range":
10548
- return new jo({ value: v });
10544
+ return new Lo({ value: v });
10549
10545
  case "number-range":
10550
- return new Ao({ value: v });
10546
+ return new jo({ value: v });
10551
10547
  case "number-spinner":
10552
- return new Ho({ value: v });
10548
+ return new Ao({ value: v });
10553
10549
  case "radio-group":
10554
- return new Wo({ value: v });
10550
+ return new Ho({ value: v });
10555
10551
  default:
10556
10552
  return new cn({ value: v });
10557
10553
  }
@@ -10644,69 +10640,69 @@ function rd(n, t, e, o, r, i, a, s, l) {
10644
10640
  const re = c.value;
10645
10641
  if (re.length <= 0)
10646
10642
  return 0;
10647
- const pe = h.value < re.length ? re[h.value] : re[re.length - 1];
10648
- return pe.__fv_data_position__ > re.length * v ? re.length * v : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(re.length - 1 - h.value, 0) * v;
10643
+ const fe = h.value < re.length ? re[h.value] : re[re.length - 1];
10644
+ return fe.__fv_data_position__ > re.length * v ? re.length * v : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(re.length - 1 - h.value, 0) * v;
10649
10645
  }
10650
10646
  const x = L(() => {
10651
10647
  const re = P();
10652
10648
  c.value;
10653
- let pe = y.value / Math.max(re, y.value), ge = Math.floor(pe * y.value);
10649
+ let fe = y.value / Math.max(re, y.value), ge = Math.floor(fe * y.value);
10654
10650
  for (; y.value > 0 && ge < C; )
10655
- pe *= m, ge = Math.floor(pe * y.value);
10651
+ fe *= m, ge = Math.floor(fe * y.value);
10656
10652
  return ge;
10657
10653
  }), O = L(() => Math.floor(k.value / Math.max(p.value, k.value) * F.value)), $ = 0, j = 0, B = L(() => F.value - (T.value + p.value + w.value + s.value));
10658
10654
  function N(re) {
10659
10655
  const ge = Math.floor(re / v) + 1, Be = c.value;
10660
10656
  return Be.length > ge ? Be[ge].__fv_visible_index__ - 1 : 0;
10661
10657
  }
10662
- function U(re, pe, ge) {
10663
- let Be = re, ze = pe;
10664
- const Ze = pe - re + 1;
10658
+ function U(re, fe, ge) {
10659
+ let Be = re, ze = fe;
10660
+ const Ze = fe - re + 1;
10665
10661
  if (Ze < a + i.value + a) {
10666
- const X = a + i.value + a - Ze, me = pe + X <= ge, Ce = 0 + X <= re;
10667
- if (me)
10662
+ const X = a + i.value + a - Ze, pe = fe + X <= ge, Ce = 0 + X <= re;
10663
+ if (pe)
10668
10664
  ze += X, E = ze;
10669
10665
  else if (Ce)
10670
10666
  Be -= X, S = Be;
10671
10667
  else {
10672
- const Ie = ge - pe, H = X - Ie;
10673
- ze = Math.min(pe + Ie, ge), Be = Math.max(re - H, 0);
10668
+ const Ie = ge - fe, H = X - Ie;
10669
+ ze = Math.min(fe + Ie, ge), Be = Math.max(re - H, 0);
10674
10670
  }
10675
10671
  }
10676
10672
  return { actualStart: Be, actualEnd: ze };
10677
10673
  }
10678
10674
  function R(re) {
10679
10675
  var Ie, H;
10680
- const pe = c.value;
10681
- if (!pe.length) {
10676
+ const fe = c.value;
10677
+ if (!fe.length) {
10682
10678
  e.value = [];
10683
10679
  return;
10684
10680
  }
10685
- const ge = (Ie = n.pagination) != null && Ie.enable ? 0 : Math.max(S - a, 0), Be = pe[pe.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? pe.length - 1 : Math.min(E + a, Be), { actualStart: Ze, actualEnd: X } = U(ge, ze, Be), me = pe[Ze - 1], Ce = d(Ze, X, me, re);
10681
+ const ge = (Ie = n.pagination) != null && Ie.enable ? 0 : Math.max(S - a, 0), Be = fe[fe.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? fe.length - 1 : Math.min(E + a, Be), { actualStart: Ze, actualEnd: X } = U(ge, ze, Be), pe = fe[Ze - 1], Ce = d(Ze, X, pe, re);
10686
10682
  Ce.length && (e.value = [...Ce]);
10687
10683
  }
10688
10684
  const V = L(() => P() > y.value), Q = L(() => Math.floor(p.value) > k.value);
10689
- function q(re, pe) {
10685
+ function q(re, fe) {
10690
10686
  let ge = re;
10691
10687
  const Be = ge > $, ze = V.value;
10692
- ze && ge < y.value - pe && (ge = y.value - pe), (!ze || Be) && (ge = $), g.value !== ge && (g.value = ge);
10688
+ ze && ge < y.value - fe && (ge = y.value - fe), (!ze || Be) && (ge = $), g.value !== ge && (g.value = ge);
10693
10689
  }
10694
10690
  function W() {
10695
10691
  M.value && (S = N(Math.abs(g.value)), E = S + i.value - 1, (S < f.value || E > h.value - a / 2) && R());
10696
10692
  }
10697
10693
  function G(re) {
10698
- let pe = g.value + re;
10699
- pe > $ && (pe = $);
10694
+ let fe = g.value + re;
10695
+ fe > $ && (fe = $);
10700
10696
  const ge = P();
10701
- q(pe, ge), W();
10697
+ q(fe, ge), W();
10702
10698
  }
10703
10699
  function K(re) {
10704
10700
  if (!Q.value) {
10705
10701
  b.value = 0;
10706
10702
  return;
10707
10703
  }
10708
- let pe = b.value + re;
10709
- pe > j && (pe = j), pe < B.value && (pe = B.value), b.value !== pe && (b.value = pe);
10704
+ let fe = b.value + re;
10705
+ fe > j && (fe = j), fe < B.value && (fe = B.value), b.value !== fe && (b.value = fe);
10710
10706
  }
10711
10707
  function ae() {
10712
10708
  Math.abs(b.value) + k.value > p.value && (b.value = Math.min(k.value - p.value, 0));
@@ -10714,25 +10710,25 @@ function rd(n, t, e, o, r, i, a, s, l) {
10714
10710
  function Z() {
10715
10711
  g.value = 0, S = 0, E = i.value - 1, R();
10716
10712
  }
10717
- function fe() {
10713
+ function me() {
10718
10714
  const re = P();
10719
10715
  q(g.value, re);
10720
10716
  }
10721
10717
  Te([k, p], () => {
10722
10718
  K(0);
10723
- }), Te(y, (re, pe) => {
10724
- re !== pe && re >= u.value.length * v && G(0);
10719
+ }), Te(y, (re, fe) => {
10720
+ re !== fe && re >= u.value.length * v && G(0);
10725
10721
  });
10726
10722
  function ve(re) {
10727
- let { deltaX: pe } = re, ge = -1 * re.deltaY;
10728
- return typeof pe > "u" && (pe = -1 * re.wheelDeltaX / 6), typeof ge > "u" && (ge = re.wheelDeltaY / 6), re.deltaMode && re.deltaMode === 1 && (pe *= 10, ge *= 10), re.shiftKey ? { deltaY: -ge, deltaX: -pe } : { deltaX: pe, deltaY: ge };
10723
+ let { deltaX: fe } = re, ge = -1 * re.deltaY;
10724
+ 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 };
10729
10725
  }
10730
10726
  function _e(re) {
10731
10727
  if (n.disabled || !V.value || re.target.tagName === "TEXTAREA")
10732
10728
  return;
10733
10729
  re.preventDefault(), re.stopPropagation();
10734
- const { deltaX: pe, deltaY: ge } = ve(re);
10735
- G(ge), K(pe);
10730
+ const { deltaX: fe, deltaY: ge } = ve(re);
10731
+ G(ge), K(fe);
10736
10732
  }
10737
10733
  const Pe = L(() => ({
10738
10734
  height: `${u.value.length * v}px`,
@@ -10750,7 +10746,7 @@ function rd(n, t, e, o, r, i, a, s, l) {
10750
10746
  height: `${u.value.length * v}px`,
10751
10747
  width: `${w.value}px`,
10752
10748
  transform: `translateY(${g.value}px)`
10753
- })), te = L(() => ({
10749
+ })), oe = L(() => ({
10754
10750
  transform: `translateY(${g.value}px)`
10755
10751
  })), be = L(() => ({
10756
10752
  height: `${u.value.length * v}px`,
@@ -10776,18 +10772,18 @@ function rd(n, t, e, o, r, i, a, s, l) {
10776
10772
  })), Oe = _(!1), qe = _(-1), Ne = _(-1), lt = _();
10777
10773
  function Ct(re) {
10778
10774
  if (Oe.value && Ne.value !== -1) {
10779
- const pe = Ne.value - re.pageX, ge = F.value - O.value;
10780
- if (Math.abs(pe) <= ge) {
10781
- const Be = pe / (k.value - O.value) * (p.value - k.value);
10775
+ const fe = Ne.value - re.pageX, ge = F.value - O.value;
10776
+ if (Math.abs(fe) <= ge) {
10777
+ const Be = fe / (k.value - O.value) * (p.value - k.value);
10782
10778
  K(Be), Ne.value = re.pageX;
10783
10779
  }
10784
10780
  }
10785
10781
  }
10786
10782
  function Tt(re) {
10787
10783
  if (Oe.value && qe.value !== -1) {
10788
- const pe = qe.value - re.pageY, ge = P(), Be = ge - x.value;
10789
- if (Math.abs(pe) <= Be) {
10790
- const ze = pe / (y.value - x.value) * (ge - y.value);
10784
+ const fe = qe.value - re.pageY, ge = P(), Be = ge - x.value;
10785
+ if (Math.abs(fe) <= Be) {
10786
+ const ze = fe / (y.value - x.value) * (ge - y.value);
10791
10787
  G(ze), qe.value = re.pageY;
10792
10788
  }
10793
10789
  }
@@ -10795,16 +10791,16 @@ function rd(n, t, e, o, r, i, a, s, l) {
10795
10791
  function ht(re) {
10796
10792
  Oe.value = !1, qe.value = -1, Ne.value = -1, document.removeEventListener("mouseup", ht), D && (document.removeEventListener("mousemove", D), D = null), document.body.style.userSelect = "", lt.value && (lt.value.style.opacity = null);
10797
10793
  }
10798
- function Bt(re, pe, ge) {
10794
+ function Bt(re, fe, ge) {
10799
10795
  var Ze;
10800
10796
  Oe.value = !0;
10801
10797
  const Be = (Ze = re.target) == null ? void 0 : Ze.parentElement;
10802
- Be && (Be.style.opacity = "1", lt.value = Be), D || (D = yr(ge === "horizontal" ? Ct : Tt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Ne.value = re.pageX), pe.value && (pe.value, document.addEventListener("mousemove", D), document.addEventListener("mouseup", ht), document.body.style.userSelect = "none");
10798
+ Be && (Be.style.opacity = "1", lt.value = Be), D || (D = gr(ge === "horizontal" ? Ct : Tt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Ne.value = re.pageX), fe.value && (fe.value, document.addEventListener("mousemove", D), document.addEventListener("mouseup", ht), document.body.style.userSelect = "none");
10803
10799
  }
10804
10800
  function kt(re) {
10805
- const pe = u.value.length * v - y.value;
10801
+ const fe = u.value.length * v - y.value;
10806
10802
  let ge = re * v;
10807
- ge >= pe && (ge = pe), G(-ge - g.value);
10803
+ ge >= fe && (ge = fe), G(-ge - g.value);
10808
10804
  }
10809
10805
  function xt() {
10810
10806
  kt(u.value.length);
@@ -10831,10 +10827,10 @@ function rd(n, t, e, o, r, i, a, s, l) {
10831
10827
  resetScroll: Z,
10832
10828
  rightFixedGridDataStyle: z,
10833
10829
  rightFixedGridHeaderColumnsStyle: it,
10834
- rightFixedGridMergedDataStyle: te,
10830
+ rightFixedGridMergedDataStyle: oe,
10835
10831
  shouldShowHorizontalScrollbar: Q,
10836
10832
  shouldShowVirticalScrollbar: V,
10837
- updateVirticalScroll: fe,
10833
+ updateVirticalScroll: me,
10838
10834
  updateVisibleRowsOnLatestVisibleScope: W,
10839
10835
  verticalScrollThumbStyle: mt,
10840
10836
  viewPortWidth: k,
@@ -10846,7 +10842,7 @@ function rd(n, t, e, o, r, i, a, s, l) {
10846
10842
  }
10847
10843
  function id(n) {
10848
10844
  var i;
10849
- const { isUndefined: t } = wr(), e = ((i = n.rowOption) == null ? void 0 : i.height) || 28;
10845
+ const { isUndefined: t } = br(), e = ((i = n.rowOption) == null ? void 0 : i.height) || 28;
10850
10846
  function o(a, s) {
10851
10847
  const l = a.pre;
10852
10848
  if (l) {
@@ -10901,7 +10897,7 @@ function sd() {
10901
10897
  function ld() {
10902
10898
  const {
10903
10899
  formatTo: n
10904
- } = Cr();
10900
+ } = wr();
10905
10901
  function t(o, r) {
10906
10902
  if (o) {
10907
10903
  let i = "yyyy-MM-dd";
@@ -10926,7 +10922,7 @@ function ld() {
10926
10922
  function ud() {
10927
10923
  const {
10928
10924
  formatTo: n
10929
- } = xr();
10925
+ } = Cr();
10930
10926
  function t(e, o) {
10931
10927
  const r = {
10932
10928
  precision: o.precision,
@@ -11411,15 +11407,15 @@ function gd(n, t, e, o, r) {
11411
11407
  return s(p.value);
11412
11408
  }
11413
11409
  function b() {
11414
- const Y = o.value.reduce((z, te) => (z.set(te.raw[i.value], te), z), /* @__PURE__ */ new Map());
11410
+ const Y = o.value.reduce((z, oe) => (z.set(oe.raw[i.value], oe), z), /* @__PURE__ */ new Map());
11415
11411
  return p.value.map((z) => Y.get(z)).filter((z) => !!z);
11416
11412
  }
11417
11413
  function S(Y) {
11418
11414
  var z;
11419
11415
  const de = Y.raw.__fv_children_index__;
11420
11416
  if (de && de.length) {
11421
- const te = de.map((be) => a.value[be]);
11422
- (z = p.value) != null && z.length && te.some((Me) => !p.value.includes(Me[i.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
11417
+ const oe = de.map((be) => a.value[be]);
11418
+ (z = p.value) != null && z.length && oe.some((Me) => !p.value.includes(Me[i.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
11423
11419
  }
11424
11420
  }
11425
11421
  const E = L(() => u.value && c.value), F = L(
@@ -11443,8 +11439,8 @@ function gd(n, t, e, o, r) {
11443
11439
  }), b().forEach((z) => {
11444
11440
  z.checked = !0, z.raw.__fv_checked__ = !0;
11445
11441
  }), Y.forEach((z) => {
11446
- const te = o.value.find((be) => be.raw[i.value] === z);
11447
- S(te);
11442
+ const oe = o.value.find((be) => be.raw[i.value] === z);
11443
+ S(oe);
11448
11444
  });
11449
11445
  }
11450
11446
  Te(() => o.value, () => {
@@ -11515,14 +11511,14 @@ function gd(n, t, e, o, r) {
11515
11511
  const de = o.value.find((z) => z.raw[i.value] === Y);
11516
11512
  de && ae(de);
11517
11513
  }
11518
- function fe(Y) {
11519
- const de = o.value.filter((be) => Y.includes(be.raw[i.value])), z = de.map((be) => be.raw[i.value]), te = a.value.filter((be) => {
11514
+ function me(Y) {
11515
+ const de = o.value.filter((be) => Y.includes(be.raw[i.value])), z = de.map((be) => be.raw[i.value]), oe = a.value.filter((be) => {
11520
11516
  const Me = be[i.value];
11521
11517
  return !z.includes(Me) && Y.includes(Me);
11522
11518
  });
11523
- (de.length || te.length) && (j(), F.value && (l.value = Y[0])), de.forEach((be) => {
11519
+ (de.length || oe.length) && (j(), F.value && (l.value = Y[0])), de.forEach((be) => {
11524
11520
  V(be);
11525
- }), te.forEach((be) => {
11521
+ }), oe.forEach((be) => {
11526
11522
  B(be);
11527
11523
  }), m();
11528
11524
  }
@@ -11530,12 +11526,12 @@ function gd(n, t, e, o, r) {
11530
11526
  for (const de of Y) {
11531
11527
  if (!p.value.includes(de))
11532
11528
  continue;
11533
- const z = o.value.find((te) => te.raw[i.value] === de);
11529
+ const z = o.value.find((oe) => oe.raw[i.value] === de);
11534
11530
  if (z)
11535
11531
  Q(z);
11536
11532
  else {
11537
- const te = a.value.find((be) => be[i.value] === de);
11538
- te && N(te);
11533
+ const oe = a.value.find((be) => be[i.value] === de);
11534
+ oe && N(oe);
11539
11535
  }
11540
11536
  }
11541
11537
  p.value = p.value.filter(
@@ -11576,7 +11572,7 @@ function gd(n, t, e, o, r) {
11576
11572
  selectDataItem: B,
11577
11573
  selectItem: ae,
11578
11574
  selectItemById: Z,
11579
- selectItemByIds: fe,
11575
+ selectItemByIds: me,
11580
11576
  showCheckBox: h,
11581
11577
  showSelectAll: f,
11582
11578
  toggleSelectItem: K,
@@ -11735,41 +11731,41 @@ const dn = /* @__PURE__ */ Xe({
11735
11731
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
11736
11732
  setup(n, t) {
11737
11733
  var Ue, ut;
11738
- const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = _(20), i = _(n.columns), a = _r(n), {
11734
+ const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = _(20), i = _(n.columns), a = xr(n), {
11739
11735
  idField: s
11740
- } = a, l = _(), u = _(), c = _(), d = _(), h = _(), f = _([]), p = _(!1), T = _(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), w = Sr(n, a), v = Tr(), g = kr(n), {
11736
+ } = a, l = _(), u = _(), c = _(), d = _(), h = _(), f = _([]), p = _(!1), T = _(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), w = _r(n, a), v = Sr(), g = Tr(n), {
11741
11737
  collapseField: b
11742
11738
  } = g, {
11743
11739
  showLoading: S,
11744
11740
  renderLoading: E
11745
- } = Mr(n, l), F = Er(n, /* @__PURE__ */ new Map(), v, g, a), {
11741
+ } = kr(n, l), F = Mr(n, /* @__PURE__ */ new Map(), v, g, a), {
11746
11742
  dataView: y
11747
- } = F, k = Ir(n, F, a, f, t), M = Fr(n, f, F, a, k, t), C = L(() => n.disabled), m = L(() => n.virtualized ? Math.min(F.dataView.value.length, r.value) : F.dataView.value.length), {
11743
+ } = F, k = Er(n, F, a, f, t), M = Ir(n, f, F, a, k, t), C = L(() => n.disabled), m = L(() => n.virtualized ? Math.min(F.dataView.value.length, r.value) : F.dataView.value.length), {
11748
11744
  containerStyleObject: D
11749
- } = Or(n), P = Dr(n), {
11745
+ } = Fr(n), P = Or(n), {
11750
11746
  applyCommands: x
11751
11747
  } = P;
11752
11748
  x(i);
11753
- const O = Pr(n), $ = Br(n), {
11749
+ const O = Dr(n), $ = Pr(n), {
11754
11750
  applyColumnSorter: j,
11755
11751
  columnContext: B,
11756
11752
  updateColumnRenderContext: N
11757
11753
  } = O;
11758
11754
  j(F, $);
11759
- const U = Rr(n, B), R = Nr(n, t, k, a), V = Vr(n, t, a, R, f), Q = $r(n), q = Lr(n, V, Q), W = jr(n, F, V, g, a, Q, q), G = Ar(n, i, F, m, 0, W), {
11755
+ const U = Br(n, B), R = Rr(n, t, k, a), V = Nr(n, t, a, R, f), Q = Vr(n), q = $r(n, V, Q), W = Lr(n, F, V, g, a, Q, q), G = jr(n, i, F, m, 0, W), {
11760
11756
  getVisualData: K
11761
- } = G, ae = Hr(n, B), Z = Wr(n, k), {
11762
- sidebarWidth: fe
11763
- } = Z, ve = qr(n, F, f, B, G, m, 0, fe), {
11757
+ } = G, ae = Ar(n, B), Z = Hr(n, k), {
11758
+ sidebarWidth: me
11759
+ } = Z, ve = Wr(n, F, f, B, G, m, 0, me), {
11764
11760
  onWheel: _e,
11765
11761
  dataGridWidth: Pe,
11766
11762
  viewPortHeight: Ve,
11767
11763
  viewPortWidth: Y,
11768
11764
  resetScroll: de,
11769
11765
  updateVisibleRowsOnLatestVisibleScope: z
11770
- } = ve, te = zr(n, B, u, Y, U), {
11766
+ } = ve, oe = qr(n, B, u, Y, U), {
11771
11767
  calculateColumnsSize: be
11772
- } = te, Me = Gr(), De = Yr(u, h, F, Me, ve), it = Ur(n, t, O, F, U, w, ve), wt = L(() => ({
11768
+ } = oe, Me = zr(), De = Gr(u, h, F, Me, ve), it = Yr(n, t, O, F, U, w, ve), wt = L(() => ({
11773
11769
  "fv-grid": !0,
11774
11770
  "fv-grid-bordered": n.showBorder,
11775
11771
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
@@ -11784,15 +11780,15 @@ const dn = /* @__PURE__ */ Xe({
11784
11780
  renderGridHeader: Se,
11785
11781
  renderGridColumnResizeOverlay: Oe,
11786
11782
  shouldShowHeader: qe
11787
- } = Xr(n, t, u, d, h, O, F, it, De, v, Me, te, U, k, Z, $, ve, Y, f), {
11783
+ } = Ur(n, t, u, d, h, O, F, it, De, v, Me, oe, U, k, Z, $, ve, Y, f), {
11788
11784
  renderDataGridSidebar: Ne
11789
- } = Qr(n, R, k, Z, ve), {
11785
+ } = Xr(n, R, k, Z, ve), {
11790
11786
  renderDisableMask: lt
11791
- } = Kr(), {
11787
+ } = Qr(), {
11792
11788
  renderHorizontalScrollbar: Ct
11793
- } = Jr(n, u, ve), {
11789
+ } = Kr(n, u, ve), {
11794
11790
  renderVerticalScrollbar: Tt
11795
- } = Zr(n, u, ve);
11791
+ } = Jr(n, u, ve);
11796
11792
  function ht() {
11797
11793
  var he, xe, et;
11798
11794
  if (u.value && u.value.clientHeight > 0 && ((he = u.value) == null ? void 0 : he.clientWidth) > 0) {
@@ -11801,7 +11797,7 @@ const dn = /* @__PURE__ */ Xe({
11801
11797
  }
11802
11798
  }
11803
11799
  pt(() => {
11804
- u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), f.value = K(0, m.value + 0 - 1), no(u.value, ht), be(), Pt(() => {
11800
+ u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), f.value = K(0, m.value + 0 - 1), to(u.value, ht), be(), Pt(() => {
11805
11801
  u.value && (Pe.value = u.value.clientWidth), c.value && (Y.value = c.value.clientWidth, Ve.value = c.value.clientHeight);
11806
11802
  })), S.value && E();
11807
11803
  }), Zt(() => {
@@ -11830,7 +11826,7 @@ const dn = /* @__PURE__ */ Xe({
11830
11826
  const he = xt(), xe = M.getNextSelectableHierarchyItemId(he);
11831
11827
  F.removeHierarchyDataItem(he), f.value = K(0, m.value + 0 - 1), xe && k.selectItemById(xe);
11832
11828
  }
11833
- function pe(he) {
11829
+ function fe(he) {
11834
11830
  V.onEditingRow(he);
11835
11831
  }
11836
11832
  function ge(he) {
@@ -11848,7 +11844,7 @@ const dn = /* @__PURE__ */ Xe({
11848
11844
  function X(he) {
11849
11845
  k.selectItemById(he);
11850
11846
  }
11851
- function me(he) {
11847
+ function pe(he) {
11852
11848
  const xe = f.value.find((et) => et.raw[a.idField.value] === he);
11853
11849
  xe && R.clickRowItem(xe);
11854
11850
  }
@@ -11864,9 +11860,9 @@ const dn = /* @__PURE__ */ Xe({
11864
11860
  function ee() {
11865
11861
  k.clearSelection();
11866
11862
  }
11867
- const oe = L(() => !f.value || !f.value.length), {
11868
- renderEmpty: ne
11869
- } = ei(t);
11863
+ const ne = L(() => !f.value || !f.value.length), {
11864
+ renderEmpty: te
11865
+ } = Zr(t);
11870
11866
  function we() {
11871
11867
  return k.getSelectionRow();
11872
11868
  }
@@ -11921,7 +11917,7 @@ const dn = /* @__PURE__ */ Xe({
11921
11917
  collapseTo: Bt,
11922
11918
  expandTo: kt,
11923
11919
  removeDataItem: re,
11924
- editDataItem: pe,
11920
+ editDataItem: fe,
11925
11921
  acceptDataItem: ge,
11926
11922
  cancelDataItem: Be,
11927
11923
  updateColumns: ze,
@@ -11931,7 +11927,7 @@ const dn = /* @__PURE__ */ Xe({
11931
11927
  getSelectedItems: H,
11932
11928
  clearSelection: ee,
11933
11929
  getSelectionRow: we,
11934
- clickRowItemById: me,
11930
+ clickRowItemById: pe,
11935
11931
  unSelectItemByIds: ye,
11936
11932
  getCurrentRowId: Re,
11937
11933
  reassignRowData: ke,
@@ -11947,7 +11943,7 @@ const dn = /* @__PURE__ */ Xe({
11947
11943
  class: mt.value,
11948
11944
  onMouseover: () => p.value = !0,
11949
11945
  onMouseleave: () => p.value = !1
11950
- }, [u.value && Ne(f), u.value && J(), u.value && oe.value && ne(), u.value && Ct(), u.value && Tt()]), Oe(), C.value && lt()]);
11946
+ }, [u.value && Ne(f), u.value && J(), u.value && ne.value && te(), u.value && Ct(), u.value && Tt()]), Oe(), C.value && lt()]);
11951
11947
  }
11952
11948
  }), kd = {
11953
11949
  id: { type: String, default: "" },
@@ -12000,7 +11996,7 @@ const dn = /* @__PURE__ */ Xe({
12000
11996
  }
12001
11997
  });
12002
11998
  function Id(n) {
12003
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !hr(n);
11999
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !mr(n);
12004
12000
  }
12005
12001
  const wn = /* @__PURE__ */ Xe({
12006
12002
  name: "FDesignerItem",
@@ -12147,7 +12143,7 @@ const wn = /* @__PURE__ */ Xe({
12147
12143
  }
12148
12144
  }
12149
12145
  Te(() => n.modelValue, (j) => {
12150
- a.value = j, e.value = `${j.id}-component`, mr(d);
12146
+ a.value = j, e.value = `${j.id}-component`, pr(d);
12151
12147
  }, {
12152
12148
  deep: !0
12153
12149
  });
@@ -12158,7 +12154,7 @@ const wn = /* @__PURE__ */ Xe({
12158
12154
  }
12159
12155
  function x(j) {
12160
12156
  const B = j == null ? void 0 : j.target;
12161
- P(B), uo(B);
12157
+ P(B), lo(B);
12162
12158
  }
12163
12159
  function O() {
12164
12160
  var j, B;
@@ -12775,11 +12771,11 @@ function Nd(n, t, e, o, r, i, a, s) {
12775
12771
  }
12776
12772
  const Vd = /* @__PURE__ */ Xe({
12777
12773
  name: "FTreeGridDesign",
12778
- props: vo,
12774
+ props: ho,
12779
12775
  emits: [],
12780
12776
  setup(n, t) {
12781
- var te, be;
12782
- const e = _(), o = 0, r = ((te = n.rowOption) == null ? void 0 : te.height) || 28, i = _(20), a = _(n.columns), s = hd(n), l = _(), u = _(), c = _([]), d = _(!1), h = _(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = Ke("designer-host-service"), p = Ke("design-item-context"), T = Dd(p, f), w = Uo(e, p, T);
12777
+ var oe, be;
12778
+ const e = _(), o = 0, r = ((oe = n.rowOption) == null ? void 0 : oe.height) || 28, i = _(20), a = _(n.columns), s = hd(n), l = _(), u = _(), c = _([]), d = _(!1), h = _(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = Ke("designer-host-service"), p = Ke("design-item-context"), T = Dd(p, f), w = Yo(e, p, T);
12783
12779
  w.value.designerClass = "f-utils-fill-flex-column";
12784
12780
  const v = nd(), g = od(n), b = $s(n, /* @__PURE__ */ new Map(), v, g, s), S = gd(n, b, s, c, t), E = L(() => b.dataView.value.length), {
12785
12781
  containerStyleObject: F
@@ -12803,9 +12799,9 @@ const Vd = /* @__PURE__ */ Xe({
12803
12799
  viewPortHeight: K,
12804
12800
  viewPortWidth: ae,
12805
12801
  updateVisibleRowsOnLatestVisibleScope: Z
12806
- } = q, fe = Pd(n, m, l, ae, x), {
12802
+ } = q, me = Pd(n, m, l, ae, x), {
12807
12803
  calculateColumnsSize: ve
12808
- } = fe, _e = L(() => ({
12804
+ } = me, _e = L(() => ({
12809
12805
  "drag-container": !0,
12810
12806
  "fv-grid": !0,
12811
12807
  "fv-grid-bordered": n.showBorder,
@@ -12825,7 +12821,7 @@ const Vd = /* @__PURE__ */ Xe({
12825
12821
  Me > i.value && (i.value = Me, Z()), K.value = ((De = u.value) == null ? void 0 : De.clientHeight) || 0, G.value = ((it = l.value) == null ? void 0 : it.clientWidth) || 0, ve();
12826
12822
  }
12827
12823
  pt(() => {
12828
- e.value.componentInstance = w, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / r), i.value), c.value = R(0, E.value + o - 1), no(l.value, de), ve(), Pt(() => {
12824
+ e.value.componentInstance = w, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / r), i.value), c.value = R(0, E.value + o - 1), to(l.value, de), ve(), Pt(() => {
12829
12825
  l.value && (G.value = l.value.clientWidth), u.value && (ae.value = u.value.clientWidth, K.value = u.value.clientHeight);
12830
12826
  }));
12831
12827
  });
@@ -12860,7 +12856,7 @@ dn.register = (n, t, e, o) => {
12860
12856
  dn.registerDesigner = (n, t, e) => {
12861
12857
  n["tree-grid"] = Vd, t["tree-grid"] = _s;
12862
12858
  };
12863
- to(dn);
12859
+ eo(dn);
12864
12860
  const $d = /* @__PURE__ */ new Map([
12865
12861
  ["appearance", en]
12866
12862
  ]);
@@ -13164,7 +13160,7 @@ const nf = /* @__PURE__ */ new Map([
13164
13160
  ["buttons", "items"],
13165
13161
  ["appearance", en]
13166
13162
  ]);
13167
- function Zo(n, t, e) {
13163
+ function Jo(n, t, e) {
13168
13164
  return t;
13169
13165
  }
13170
13166
  const of = "https://json-schema.org/draft/2020-12/schema", rf = "https://farris-design.gitee.io/response-toolbar.schema.json", af = "response-toolbar", sf = "A Farris Toolbar Component", lf = "object", uf = {
@@ -13303,7 +13299,7 @@ const of = "https://json-schema.org/draft/2020-12/schema", rf = "https://farris-
13303
13299
  type: gf,
13304
13300
  properties: yf,
13305
13301
  required: bf
13306
- }, er = {
13302
+ }, Zo = {
13307
13303
  id: { type: String, default: "" },
13308
13304
  /** 组件自定义样式 */
13309
13305
  customClass: { type: String, default: "" },
@@ -13314,16 +13310,16 @@ const of = "https://json-schema.org/draft/2020-12/schema", rf = "https://farris-
13314
13310
  },
13315
13311
  /** 控制是否可见 */
13316
13312
  visible: { type: Boolean, default: !0 }
13317
- }, Cf = Object.assign({}, er, {
13313
+ }, Cf = Object.assign({}, Zo, {
13318
13314
  componentId: { type: String, default: "" }
13319
13315
  });
13320
13316
  bt(
13321
- er,
13317
+ Zo,
13322
13318
  ff,
13323
13319
  nf,
13324
- Zo
13320
+ Jo
13325
13321
  );
13326
- const tr = {
13322
+ const er = {
13327
13323
  id: { type: String, default: "" },
13328
13324
  item: { type: Object, default: {} },
13329
13325
  items: { type: Object, default: {} },
@@ -13342,10 +13338,10 @@ const tr = {
13342
13338
  isDPItem: { type: Boolean, default: !1 }
13343
13339
  };
13344
13340
  bt(
13345
- tr,
13341
+ er,
13346
13342
  wf,
13347
13343
  void 0,
13348
- Zo
13344
+ Jo
13349
13345
  );
13350
13346
  class xf extends tn {
13351
13347
  constructor(t, e) {
@@ -13480,7 +13476,7 @@ function Sf(n) {
13480
13476
  }));
13481
13477
  }
13482
13478
  function o(r, i, a) {
13483
- t && t.destroy(), !(!An || !r || !i) && (t = An([r], {
13479
+ t && t.destroy(), !(!jn || !r || !i) && (t = jn([r], {
13484
13480
  mirrorContainer: i,
13485
13481
  direction: "horizontal",
13486
13482
  getMirrorText(s) {
@@ -13609,7 +13605,7 @@ function Tf(n, t, e) {
13609
13605
  }
13610
13606
  r.changeMenuPosition = f, u = function(T, w) {
13611
13607
  var S, E;
13612
- const v = vr(), g = w ? w.id : T.id, b = (E = (S = v == null ? void 0 : v.exposed) == null ? void 0 : S.elementRef) == null ? void 0 : E.querySelector("#" + g);
13608
+ const v = hr(), g = w ? w.id : T.id, b = (E = (S = v == null ? void 0 : v.exposed) == null ? void 0 : S.elementRef) == null ? void 0 : E.querySelector("#" + g);
13613
13609
  return I("ul", {
13614
13610
  class: a(T),
13615
13611
  style: f(T, b),
@@ -13626,7 +13622,7 @@ function Tf(n, t, e) {
13626
13622
  clearAllDropDownMenu: p
13627
13623
  };
13628
13624
  }
13629
- function nr() {
13625
+ function tr() {
13630
13626
  function n(e) {
13631
13627
  const o = {
13632
13628
  "f-icon": !0
@@ -13655,7 +13651,7 @@ const kf = {
13655
13651
  * 组件值
13656
13652
  */
13657
13653
  modelValue: { type: Object }
13658
- }, or = /* @__PURE__ */ Xe({
13654
+ }, nr = /* @__PURE__ */ Xe({
13659
13655
  name: "FDesignerInnerItem",
13660
13656
  props: kf,
13661
13657
  emits: ["selectionChange", "addComponent", "removeComponent", "clickButton"],
@@ -13726,7 +13722,7 @@ const kf = {
13726
13722
  class: "btn component-settings-button",
13727
13723
  title: "删除",
13728
13724
  ref: "removeComponent",
13729
- onClick: gr((O) => g(O, x), ["stop"])
13725
+ onClick: vr((O) => g(O, x), ["stop"])
13730
13726
  }, [I("i", {
13731
13727
  class: "f-icon f-icon-yxs_delete"
13732
13728
  }, null)]);
@@ -13773,7 +13769,7 @@ const kf = {
13773
13769
  }
13774
13770
  function C(x) {
13775
13771
  const O = x.target;
13776
- M(O), uo(O);
13772
+ M(O), lo(O);
13777
13773
  }
13778
13774
  function m() {
13779
13775
  var x, O;
@@ -13988,7 +13984,7 @@ function Cn(n, t) {
13988
13984
  const e = t || [];
13989
13985
  return (e == null ? void 0 : e.findIndex((r) => r.id === n)) === -1;
13990
13986
  }
13991
- function Qn(n, t) {
13987
+ function Xn(n, t) {
13992
13988
  const e = t || [];
13993
13989
  let o = { parentIndex: -1, itemIndex: -1 };
13994
13990
  return e.some((r, i) => {
@@ -13998,7 +13994,7 @@ function Qn(n, t) {
13998
13994
  }
13999
13995
  }), o;
14000
13996
  }
14001
- function Kn(n, t) {
13997
+ function Qn(n, t) {
14002
13998
  const e = t || [];
14003
13999
  let o = { parentIndex: -1, itemIndex: -1 };
14004
14000
  const r = e == null ? void 0 : e.findIndex((i) => i.id === n);
@@ -14105,7 +14101,7 @@ function Ff(n, t, e) {
14105
14101
  }
14106
14102
  function w() {
14107
14103
  var P, x;
14108
- const C = s(), { parentIndex: m, itemIndex: D } = Qn(n.schema.id, C);
14104
+ const C = s(), { parentIndex: m, itemIndex: D } = Xn(n.schema.id, C);
14109
14105
  m === -1 || D === -1 || (p(n.schema), C[m].children.splice(D, 1), e.updateToolbarItems(), (P = n.setupContext) == null || P.emit("removeComponent"), (x = n.setupContext) == null || x.emit("selectionChange"));
14110
14106
  }
14111
14107
  function v() {
@@ -14115,7 +14111,7 @@ function Ff(n, t, e) {
14115
14111
  }
14116
14112
  function g(C = "Append") {
14117
14113
  var $;
14118
- const m = s(), { parentIndex: D, itemIndex: P } = Qn(n.schema.id, m);
14114
+ const m = s(), { parentIndex: D, itemIndex: P } = Xn(n.schema.id, m);
14119
14115
  if (D === -1 || P === -1)
14120
14116
  return;
14121
14117
  const x = d(), O = C === "Copy" ? c() : Object.assign({}, x);
@@ -14212,10 +14208,10 @@ function Ff(n, t, e) {
14212
14208
  }
14213
14209
  const Of = /* @__PURE__ */ Xe({
14214
14210
  name: "FResponseToolbarItemDesign",
14215
- props: tr,
14211
+ props: er,
14216
14212
  emits: ["Click", "dropdown", "clearAll"],
14217
14213
  setup(n, t) {
14218
- const e = _(n.alignment), o = nr(), r = _(), i = Ke("designer-host-service"), a = Ke("design-item-context"), s = Ke("toolbar-item-action"), l = Ff(a, i, s), u = mi(r, a, l);
14214
+ const e = _(n.alignment), o = tr(), r = _(), i = Ke("designer-host-service"), a = Ke("design-item-context"), s = Ke("toolbar-item-action"), l = Ff(a, i, s), u = mi(r, a, l);
14219
14215
  pt(() => {
14220
14216
  r.value.componentInstance = u;
14221
14217
  }), t.expose(u.value);
@@ -14343,7 +14339,7 @@ function Df(n, t, e, o) {
14343
14339
  }
14344
14340
  function d(h, f, p = !1) {
14345
14341
  const T = l(h.id, h.parent), w = _(T);
14346
- return I(or, {
14342
+ return I(nr, {
14347
14343
  key: T.id,
14348
14344
  class: ["p-0", p ? "d-block no-drag" : "d-inline-block"],
14349
14345
  modelValue: w.value,
@@ -14428,7 +14424,7 @@ const Pf = /* @__PURE__ */ Xe({
14428
14424
  }, h = _f(c, u, d), f = hi(i, c, h), p = Ke("toolbar-item-handler"), {
14429
14425
  initDragula: T,
14430
14426
  dragulaInstance: w
14431
- } = Sf(c), v = nr(), g = Df(n, r, c, d), b = Tf(v, e, g), {
14427
+ } = Sf(c), v = tr(), g = Df(n, r, c, d), b = Tf(v, e, g), {
14432
14428
  renderToolbarItemDesigner: S
14433
14429
  } = g, {
14434
14430
  clearAllDropDownMenu: E,
@@ -14447,7 +14443,7 @@ const Pf = /* @__PURE__ */ Xe({
14447
14443
  const {
14448
14444
  parent: B,
14449
14445
  item: N
14450
- } = Kn(a.value, e.value);
14446
+ } = Qn(a.value, e.value);
14451
14447
  B && (d.toggleDropdownMenu(B, !0), setTimeout(() => {
14452
14448
  var V;
14453
14449
  const U = i.value.querySelector("#" + B.id), R = U == null ? void 0 : U.querySelector("#" + N.id);
@@ -14487,7 +14483,7 @@ const Pf = /* @__PURE__ */ Xe({
14487
14483
  const {
14488
14484
  parent: V,
14489
14485
  item: Q
14490
- } = Kn(a.value, e.value);
14486
+ } = Qn(a.value, e.value);
14491
14487
  m(V);
14492
14488
  } else if (If(a.value, e.value)) {
14493
14489
  const V = (N = e.value) == null ? void 0 : N.find((Q) => Q.id === a.value);
@@ -14571,7 +14567,7 @@ const Pf = /* @__PURE__ */ Xe({
14571
14567
  };
14572
14568
  }
14573
14569
  });
14574
- function rr(n, t) {
14570
+ function or(n, t) {
14575
14571
  var u, c;
14576
14572
  const e = L(() => "f-section-toolbar" + (n.buttonPosition === "inHead" ? " f-section-header--toolbar" : " f-section-content--toolbar")), o = _(n.buttons), r = _(t.schema.toolbar), i = n.componentId, a = `${i}-toolbar`, s = L(() => n.buttonPosition === "inHead" ? "right" : "left");
14577
14573
  function l(d, h, f, p) {
@@ -14583,7 +14579,7 @@ function rr(n, t) {
14583
14579
  }, [I("div", {
14584
14580
  class: "w-100",
14585
14581
  style: "flex:1"
14586
- }, [I(or, {
14582
+ }, [I(nr, {
14587
14583
  modelValue: r.value,
14588
14584
  "onUpdate:modelValue": (d) => r.value = d,
14589
14585
  class: "w-100 position-relative",
@@ -14606,7 +14602,7 @@ function rr(n, t) {
14606
14602
  function Bf(n, t, e, o, r, i, a) {
14607
14603
  const s = L(() => n.buttonPosition), {
14608
14604
  onClickMaxMinIcon: l
14609
- } = so(o, r, i), u = L(() => n.enableMaximize), c = L(() => n.enableAccordion !== ""), d = L(() => {
14605
+ } = ao(o, r, i), u = L(() => n.enableMaximize), c = L(() => n.enableAccordion !== ""), d = L(() => {
14610
14606
  const g = {
14611
14607
  "f-section-header": !0
14612
14608
  };
@@ -14664,7 +14660,7 @@ function Bf(n, t, e, o, r, i, a) {
14664
14660
  function v() {
14665
14661
  return I("div", {
14666
14662
  class: d.value
14667
- }, [t.slots.headerTitle ? t.slots.headerTitle() : T(), w(), s.value === "inHead" && rr(n, a), (u.value || c.value) && f()]);
14663
+ }, [t.slots.headerTitle ? t.slots.headerTitle() : T(), w(), s.value === "inHead" && or(n, a), (u.value || c.value) && f()]);
14668
14664
  }
14669
14665
  return () => n.showHeader && (t.slots.header ? p() : v());
14670
14666
  }
@@ -14673,7 +14669,7 @@ const Rf = /* @__PURE__ */ Xe({
14673
14669
  props: Ga,
14674
14670
  emits: [],
14675
14671
  setup(n, t) {
14676
- const e = _(), o = _(), r = _(), i = Ke("designer-host-service"), a = Ke("design-item-context"), s = tf(a, i), l = Uo(e, a, s);
14672
+ const e = _(), o = _(), r = _(), i = Ke("designer-host-service"), a = Ke("design-item-context"), s = tf(a, i), l = Yo(e, a, s);
14677
14673
  l.value.styles = "display: inherit;", pt(() => {
14678
14674
  e.value.componentInstance = l;
14679
14675
  }), t.expose(l.value);
@@ -14708,7 +14704,7 @@ const Rf = /* @__PURE__ */ Xe({
14708
14704
  ref: e,
14709
14705
  "data-dragref": `${a.schema.id}-container`,
14710
14706
  style: v.value
14711
- }, [h.value === "inContent" && rr(n, a), t.slots.default && t.slots.default()]);
14707
+ }, [h.value === "inContent" && or(n, a), t.slots.default && t.slots.default()]);
14712
14708
  }
14713
14709
  return () => I("div", {
14714
14710
  class: T.value,
@@ -14814,17 +14810,17 @@ const Rf = /* @__PURE__ */ Xe({
14814
14810
  isDPItem: { type: Boolean, default: !1 }
14815
14811
  }, zf = bt(qf, Wf);
14816
14812
  an.register = (n, t, e, o) => {
14817
- n.section = an, t.section = ao, o.section = { eventHandlerResolver: za };
14813
+ n.section = an, t.section = io, o.section = { eventHandlerResolver: za };
14818
14814
  };
14819
14815
  an.registerDesigner = (n, t, e) => {
14820
- n.section = Rf, t.section = ao, t["section-toolbar-item"] = zf;
14816
+ n.section = Rf, t.section = io, t["section-toolbar-item"] = zf;
14821
14817
  };
14822
- const Tm = to(an);
14818
+ const Tm = eo(an);
14823
14819
  export {
14824
14820
  an as Section,
14825
14821
  Tm as default,
14826
14822
  za as eventHandlerResolver,
14827
- ao as propsResolver,
14823
+ io as propsResolver,
14828
14824
  Ga as sectionDesignProps,
14829
14825
  kn as sectionProps
14830
14826
  };