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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/components/avatar/index.esm.js +897 -901
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/combo-list/index.esm.js +483 -487
  4. package/components/combo-list/index.umd.cjs +1 -1
  5. package/components/component/index.esm.js +482 -486
  6. package/components/component/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +543 -547
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/content-container/index.esm.js +619 -623
  10. package/components/content-container/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +439 -440
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +423 -425
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/designer-canvas/index.esm.js +529 -533
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +723 -727
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/events-editor/index.esm.js +504 -508
  20. package/components/events-editor/index.umd.cjs +1 -1
  21. package/components/expression-editor/index.esm.js +679 -683
  22. package/components/expression-editor/index.umd.cjs +4 -4
  23. package/components/filter-bar/index.esm.js +503 -507
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/filter-condition-editor/index.esm.js +557 -561
  26. package/components/filter-condition-editor/index.umd.cjs +4 -4
  27. package/components/flow-canvas/index.esm.js +327 -331
  28. package/components/flow-canvas/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +502 -506
  30. package/components/list-view/index.umd.cjs +2 -2
  31. package/components/mapping-editor/index.esm.js +347 -348
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/number-range/index.esm.js +479 -483
  34. package/components/number-range/index.umd.cjs +1 -1
  35. package/components/number-spinner/index.esm.js +1037 -1041
  36. package/components/number-spinner/index.umd.cjs +1 -1
  37. package/components/order/index.esm.js +1238 -1242
  38. package/components/order/index.umd.cjs +2 -2
  39. package/components/pagination/index.esm.js +94 -91
  40. package/components/pagination/index.umd.cjs +1 -1
  41. package/components/property-panel/index.esm.js +534 -538
  42. package/components/property-panel/index.umd.cjs +2 -2
  43. package/components/query-solution/index.esm.js +785 -789
  44. package/components/query-solution/index.umd.cjs +5 -5
  45. package/components/response-layout/index.esm.js +710 -714
  46. package/components/response-layout/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +701 -702
  48. package/components/schema-selector/index.umd.cjs +3 -3
  49. package/components/section/index.esm.js +502 -506
  50. package/components/section/index.umd.cjs +1 -1
  51. package/components/sort-condition-editor/index.esm.js +556 -560
  52. package/components/sort-condition-editor/index.umd.cjs +4 -4
  53. package/components/textarea/index.esm.js +480 -484
  54. package/components/textarea/index.umd.cjs +2 -2
  55. package/components/time-picker/index.esm.js +594 -598
  56. package/components/time-picker/index.umd.cjs +1 -1
  57. package/components/tooltip/index.esm.js +189 -179
  58. package/components/tooltip/index.umd.cjs +1 -1
  59. package/components/tree-grid/index.esm.js +463 -467
  60. package/components/tree-grid/index.umd.cjs +1 -1
  61. package/components/tree-view/index.esm.js +629 -633
  62. package/components/tree-view/index.umd.cjs +1 -1
  63. package/components/video/index.esm.js +632 -636
  64. package/components/video/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +2583 -2569
  66. package/farris.all.umd.cjs +11 -11
  67. package/index.css +1 -1
  68. package/package.json +1 -1
@@ -1,19 +1,19 @@
1
- var $o = Object.defineProperty;
2
- var Ho = (n, t, e) => t in n ? $o(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var B = (n, t, e) => Ho(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { defineComponent as tt, createVNode as O, ref as S, computed as q, watch as Ee, Fragment as Ut, reactive as yt, createApp as jn, onUnmounted as an, onMounted as Bt, Transition as An, mergeProps as Vt, createTextVNode as Rt, onBeforeUnmount as qn, withDirectives as jo, resolveDirective as Ao, nextTick as sn, onBeforeMount as qo, Teleport as Go, shallowRef as zo, render as un, h as Yo, cloneVNode as Uo, inject as Tt, provide as Xo, triggerRef as Qo, isVNode as Ko } from "vue";
5
- import { isPlainObject as Mn, cloneDeep as kt, isUndefined as ut, throttle as Jo } from "lodash-es";
6
- import { useResizeObserver as Gn } from "@vueuse/core";
7
- import { useIdentify as Zo, useGroupData as er, useFilter as tr, useHierarchy as nr, useLoading as or, useDataView as rr, useSelection as ar, useSelectHierarchyItem as ir, useDataViewContainerStyle as sr, useCommandColumn as lr, useColumn as ur, useSort as cr, useGroupColumn as dr, useRow as fr, useEdit as pr, useVisualDataBound as mr, useVisualDataCell as hr, useVisualDataRow as vr, useVisualData as gr, useCellPosition as yr, useSidebar as br, useVirtualScroll as wr, useFitColumn as Cr, useFilterHistory as _r, useColumnFilter as xr, useDragColumn as Sr, getColumnHeader as Tr, getSidebar as kr, getDisableMask as Er, getHorizontalScrollbar as Mr, getVerticalScrollbar as Fr, getEmpty as Or } from "../data-view/index.esm.js";
1
+ var Wo = Object.defineProperty;
2
+ var $o = (n, t, e) => t in n ? Wo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var B = (n, t, e) => $o(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { defineComponent as tt, createVNode as O, ref as S, computed as A, watch as Ee, Fragment as Ut, reactive as yt, createApp as Hn, onUnmounted as an, onMounted as Bt, Transition as jn, mergeProps as Vt, createTextVNode as Rt, onBeforeUnmount as An, withDirectives as Ho, resolveDirective as jo, nextTick as sn, onBeforeMount as Ao, Teleport as qo, shallowRef as Go, render as un, h as zo, cloneVNode as Yo, inject as Tt, provide as Uo, triggerRef as Xo, isVNode as Qo } from "vue";
5
+ import { isPlainObject as Mn, cloneDeep as kt, isUndefined as ut, throttle as Ko } from "lodash-es";
6
+ import { useResizeObserver as qn } from "@vueuse/core";
7
+ import { useIdentify as Jo, useGroupData as Zo, useFilter as er, useHierarchy as tr, useLoading as nr, useDataView as or, useSelection as rr, useSelectHierarchyItem as ar, useDataViewContainerStyle as ir, useCommandColumn as sr, useColumn as lr, useSort as ur, useGroupColumn as cr, useRow as dr, useEdit as fr, useVisualDataBound as pr, useVisualDataCell as mr, useVisualDataRow as hr, useVisualData as vr, useCellPosition as gr, useSidebar as yr, useVirtualScroll as br, useFitColumn as wr, useFilterHistory as Cr, useColumnFilter as _r, useDragColumn as xr, getColumnHeader as Sr, getSidebar as Tr, getDisableMask as kr, getHorizontalScrollbar as Er, getVerticalScrollbar as Mr, getEmpty as Fr } from "../data-view/index.esm.js";
8
8
  import "../modal/index.esm.js";
9
- import Dr from "../transfer/index.esm.js";
10
- import Ir from "../tabs/index.esm.js";
11
- import Pr from "../order/index.esm.js";
9
+ import Or from "../transfer/index.esm.js";
10
+ import Dr from "../tabs/index.esm.js";
11
+ import Ir from "../order/index.esm.js";
12
12
  import "../condition/index.esm.js";
13
- import { FCheckbox as Nr } from "../checkbox/index.esm.js";
14
- import { useGuid as Vr, resolveField as rt, FormSchemaEntityFieldTypeName as Fn, useCommonUtils as Rr, useDateFormat as Br, useNumberFormat as Lr, setFieldValue as pn, getCustomClass as Qt, withInstall as Wr } from "../common/index.esm.js";
15
- import $r from "../filter-bar/index.esm.js";
16
- import On from "../tooltip/index.esm.js";
13
+ import { FCheckbox as Pr } from "../checkbox/index.esm.js";
14
+ import { useGuid as Nr, resolveField as rt, FormSchemaEntityFieldTypeName as Fn, useCommonUtils as Vr, useDateFormat as Rr, useNumberFormat as Br, setFieldValue as pn, getCustomClass as Qt, withInstall as Lr } from "../common/index.esm.js";
15
+ import Wr from "../filter-bar/index.esm.js";
16
+ import $r from "../tooltip/index.esm.js";
17
17
  import Hr from "../pagination/index.esm.js";
18
18
  import jr from "../button/index.esm.js";
19
19
  import Ar from "../search-box/index.esm.js";
@@ -28,8 +28,8 @@ import Kr from "../../designer/button-edit/index.esm.js";
28
28
  import Jr from "../button-group/index.esm.js";
29
29
  import Zr from "../calendar/index.esm.js";
30
30
  import ea from "../capsule/index.esm.js";
31
- import Dn from "../../designer/checkbox/index.esm.js";
32
- import In from "../../designer/checkbox-group/index.esm.js";
31
+ import On from "../../designer/checkbox/index.esm.js";
32
+ import Dn from "../../designer/checkbox-group/index.esm.js";
33
33
  import mn from "../combo-list/index.esm.js";
34
34
  import ta from "../combo-tree/index.esm.js";
35
35
  import na from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import Za from "../code-editor/index.esm.js";
87
87
  import ei from "../html-template/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
- const zn = {}, Yn = {};
90
+ const Gn = {}, zn = {};
91
91
  function bn(n) {
92
92
  const { properties: t, title: e, ignore: o } = n, r = o && Array.isArray(o), a = Object.keys(t).reduce((i, s) => ((!r || !o.find((l) => l === s)) && (i[s] = t[s].type === "object" && t[s].properties ? bn(t[s]) : kt(t[s].default)), i), {});
93
93
  if (e && (!r || !o.find((i) => i === "id"))) {
@@ -110,12 +110,12 @@ function ti(n) {
110
110
  type: e
111
111
  };
112
112
  }
113
- function Un(n, t = {}, e) {
114
- const o = zn[n];
113
+ function Yn(n, t = {}, e) {
114
+ const o = Gn[n];
115
115
  if (o) {
116
116
  let r = ti(o);
117
- const a = Yn[n];
118
- return r = a ? a({ getSchemaByType: Un }, r, t, e) : r, r;
117
+ const a = zn[n];
118
+ return r = a ? a({ getSchemaByType: Yn }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
121
121
  }
@@ -123,7 +123,7 @@ function ni(n, t) {
123
123
  const e = bn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Mn(o[r]) && Mn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function Xn(n, t) {
126
+ function Un(n, t) {
127
127
  return Object.keys(n).filter((o) => n[o] != null).reduce((o, r) => {
128
128
  if (t.has(r)) {
129
129
  const a = t.get(r);
@@ -140,7 +140,7 @@ function Xn(n, t) {
140
140
  }
141
141
  function oi(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = ni(n, t);
143
- return Xn(o, e);
143
+ return Un(o, e);
144
144
  }
145
145
  function ri(n = {}) {
146
146
  function t(u, c, d, p) {
@@ -244,9 +244,9 @@ const ae = {
244
244
  }, ai = {}, ii = {};
245
245
  ri();
246
246
  function Lt(n, t, e = /* @__PURE__ */ new Map(), o = (i, s, l, u) => s, r = {}, a = (i) => i) {
247
- return zn[t.title] = t, Yn[t.title] = o, ai[t.title] = r, ii[t.title] = a, (i = {}, s = !0) => {
247
+ return Gn[t.title] = t, zn[t.title] = o, ai[t.title] = r, ii[t.title] = a, (i = {}, s = !0) => {
248
248
  if (!s)
249
- return Xn(i, e);
249
+ return Un(i, e);
250
250
  const l = oi(i, t, e), u = Object.keys(n).reduce((c, d) => (c[d] = n[d].default, c), {});
251
251
  return Object.assign(u, l);
252
252
  };
@@ -349,7 +349,7 @@ const wn = {
349
349
  customStyle: { type: String, default: "" },
350
350
  /** 控制是否可见 */
351
351
  visible: { type: Boolean, default: !0 }
352
- }, Pn = Lt(wn, yi, ci, bi), cn = /* @__PURE__ */ tt({
352
+ }, In = Lt(wn, yi, ci, bi), cn = /* @__PURE__ */ tt({
353
353
  name: "FContentContainer",
354
354
  props: wn,
355
355
  emits: [],
@@ -503,7 +503,7 @@ function Si(n) {
503
503
  return o;
504
504
  }
505
505
  }
506
- function Qn(n) {
506
+ function Xn(n) {
507
507
  if (!n)
508
508
  return;
509
509
  const t = n.getBoundingClientRect();
@@ -524,7 +524,7 @@ function Ti(n) {
524
524
  if (!n)
525
525
  return;
526
526
  let t;
527
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && Qn(t);
527
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && Xn(t);
528
528
  }
529
529
  var _t = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
530
530
  function Xt(n) {
@@ -585,7 +585,7 @@ var ki = { exports: {} };
585
585
  P === 1 && Array.isArray(y) === !1 && (I = y, y = []);
586
586
  var M, D, G, H, R, $, Q, V, N, X = null, j, W, z = !1, K = 0, ie, Z = I || {};
587
587
  Z.moves === void 0 && (Z.moves = b), Z.accepts === void 0 && (Z.accepts = b), Z.invalid === void 0 && (Z.invalid = ht), Z.containers === void 0 && (Z.containers = y || []), 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);
588
- var fe = i({
588
+ var me = i({
589
589
  containers: Z.containers,
590
590
  start: Ie,
591
591
  end: ct,
@@ -595,17 +595,17 @@ var ki = { exports: {} };
595
595
  canMove: ke,
596
596
  dragging: !1
597
597
  });
598
- return Z.removeOnSpill === !0 && fe.on("over", wt).on("out", gt), xe(), fe;
598
+ return Z.removeOnSpill === !0 && me.on("over", wt).on("out", gt), xe(), me;
599
599
  function ve(L) {
600
- return fe.containers.indexOf(L) !== -1 || Z.isContainer(L);
600
+ return me.containers.indexOf(L) !== -1 || Z.isContainer(L);
601
601
  }
602
602
  function xe(L) {
603
603
  var ee = L ? "remove" : "add";
604
- m(c, ee, "mousedown", A), m(c, ee, "mouseup", Se);
604
+ m(c, ee, "mousedown", q), m(c, ee, "mouseup", Se);
605
605
  }
606
606
  function Pe(L) {
607
607
  var ee = L ? "remove" : "add";
608
- m(c, ee, "mousemove", te);
608
+ m(c, ee, "mousemove", oe);
609
609
  }
610
610
  function Be(L) {
611
611
  var ee = L ? "remove" : "add";
@@ -617,15 +617,15 @@ var ki = { exports: {} };
617
617
  function de(L) {
618
618
  j && L.preventDefault();
619
619
  }
620
- function A(L) {
620
+ function q(L) {
621
621
  H = L.clientX, R = L.clientY;
622
622
  var ee = F(L) !== 1 || L.metaKey || L.ctrlKey;
623
623
  if (!ee) {
624
- var oe = L.target, ne = be(oe);
625
- ne && (j = ne, Pe(), L.type === "mousedown" && (k(oe) ? oe.focus() : L.preventDefault()));
624
+ var ne = L.target, te = be(ne);
625
+ te && (j = te, Pe(), L.type === "mousedown" && (k(ne) ? ne.focus() : L.preventDefault()));
626
626
  }
627
627
  }
628
- function te(L) {
628
+ function oe(L) {
629
629
  if (j) {
630
630
  if (F(L) === 0) {
631
631
  Se({});
@@ -633,8 +633,8 @@ var ki = { exports: {} };
633
633
  }
634
634
  if (!(L.clientX !== void 0 && Math.abs(L.clientX - H) <= (Z.slideFactorX || 0) && L.clientY !== void 0 && Math.abs(L.clientY - R) <= (Z.slideFactorY || 0))) {
635
635
  if (Z.ignoreInputTextSelection) {
636
- var ee = E("clientX", L) || 0, oe = E("clientY", L) || 0, ne = u.elementFromPoint(ee, oe);
637
- if (k(ne))
636
+ var ee = E("clientX", L) || 0, ne = E("clientY", L) || 0, te = u.elementFromPoint(ee, ne);
637
+ if (k(te))
638
638
  return;
639
639
  }
640
640
  var we = j;
@@ -643,17 +643,17 @@ var ki = { exports: {} };
643
643
  }
644
644
  }
645
645
  function be(L) {
646
- if (!(fe.dragging && M) && !ve(L)) {
646
+ if (!(me.dragging && M) && !ve(L)) {
647
647
  for (var ee = L; T(L) && ve(T(L)) === !1; )
648
648
  if (Z.invalid(L, ee) || (L = T(L), !L))
649
649
  return;
650
- var oe = T(L);
651
- if (oe && !Z.invalid(L, ee)) {
652
- var ne = Z.moves(L, oe, ee, x(L));
653
- if (ne)
650
+ var ne = T(L);
651
+ if (ne && !Z.invalid(L, ee)) {
652
+ var te = Z.moves(L, ne, ee, x(L));
653
+ if (te)
654
654
  return {
655
655
  item: L,
656
- source: oe
656
+ source: ne
657
657
  };
658
658
  }
659
659
  }
@@ -666,13 +666,13 @@ var ki = { exports: {} };
666
666
  ee && ot(ee);
667
667
  }
668
668
  function ot(L) {
669
- Fe(L.item, L.source) && (V = L.item.cloneNode(!0), fe.emit("cloned", V, L.item, "copy")), D = L.source, G = L.item, $ = Q = x(L.item), fe.dragging = !0, fe.emit("drag", G, D);
669
+ Fe(L.item, L.source) && (V = L.item.cloneNode(!0), me.emit("cloned", V, L.item, "copy")), D = L.source, G = L.item, $ = Q = x(L.item), me.dragging = !0, me.emit("drag", G, D);
670
670
  }
671
671
  function ht() {
672
672
  return !1;
673
673
  }
674
674
  function ct() {
675
- if (fe.dragging) {
675
+ if (me.dragging) {
676
676
  var L = V || G;
677
677
  De(L, T(L));
678
678
  }
@@ -681,72 +681,72 @@ var ki = { exports: {} };
681
681
  j = !1, Pe(!0), Be(!0);
682
682
  }
683
683
  function Se(L) {
684
- if (J(), !!fe.dragging) {
685
- var ee = V || G, oe = E("clientX", L) || 0, ne = E("clientY", L) || 0, we = w(M, oe, ne), ye = bt(we, oe, ne);
684
+ if (J(), !!me.dragging) {
685
+ var ee = V || G, ne = E("clientX", L) || 0, te = E("clientY", L) || 0, we = w(M, ne, te), ye = bt(we, ne, te);
686
686
  ye && (V && Z.copySortSource || !V || ye !== D) ? De(ee, ye) : Z.removeOnSpill ? qe() : Re();
687
687
  }
688
688
  }
689
689
  function De(L, ee) {
690
- var oe = T(L);
691
- V && Z.copySortSource && ee === D && oe.removeChild(G), vt(ee) ? fe.emit("cancel", L, D) : fe.emit("drop", L, ee, D, Q), it();
690
+ var ne = T(L);
691
+ V && Z.copySortSource && ee === D && ne.removeChild(G), vt(ee) ? me.emit("cancel", L, D) : me.emit("drop", L, ee, D, Q), it();
692
692
  }
693
693
  function qe() {
694
- if (fe.dragging) {
694
+ if (me.dragging) {
695
695
  var L = V || G, ee = T(L);
696
- ee && ee.removeChild(L), fe.emit(V ? "cancel" : "remove", L, ee, D), it();
696
+ ee && ee.removeChild(L), me.emit(V ? "cancel" : "remove", L, ee, D), it();
697
697
  }
698
698
  }
699
699
  function Re(L) {
700
- if (fe.dragging) {
701
- var ee = arguments.length > 0 ? L : Z.revertOnSpill, oe = V || G, ne = T(oe), we = vt(ne);
702
- we === !1 && ee && (V ? ne && ne.removeChild(V) : D.insertBefore(oe, $)), we || ee ? fe.emit("cancel", oe, D, D) : fe.emit("drop", oe, ne, D, Q), it();
700
+ if (me.dragging) {
701
+ var ee = arguments.length > 0 ? L : Z.revertOnSpill, ne = V || G, te = T(ne), we = vt(te);
702
+ we === !1 && ee && (V ? te && te.removeChild(V) : D.insertBefore(ne, $)), we || ee ? me.emit("cancel", ne, D, D) : me.emit("drop", ne, te, D, Q), it();
703
703
  }
704
704
  }
705
705
  function it() {
706
706
  var L = V || G;
707
- J(), re(), pe(), L && l.rm(L, "gu-transit"), N && clearTimeout(N), fe.dragging = !1, X && fe.emit("out", L, X, D), fe.emit("dragend", L, K), D = G = V = $ = Q = N = X = null;
707
+ J(), re(), fe(), L && l.rm(L, "gu-transit"), N && clearTimeout(N), me.dragging = !1, X && me.emit("out", L, X, D), me.emit("dragend", L, K), D = G = V = $ = Q = N = X = null;
708
708
  }
709
709
  function vt(L, ee) {
710
- var oe;
711
- return ee !== void 0 ? oe = ee : M ? oe = Q : oe = x(V || G), L === D && oe === $;
710
+ var ne;
711
+ return ee !== void 0 ? ne = ee : M ? ne = Q : ne = x(V || G), L === D && ne === $;
712
712
  }
713
- function bt(L, ee, oe) {
714
- for (var ne = L; ne && !we(); )
715
- ne = T(ne);
716
- return ne;
713
+ function bt(L, ee, ne) {
714
+ for (var te = L; te && !we(); )
715
+ te = T(te);
716
+ return te;
717
717
  function we() {
718
- var ye = ve(ne);
718
+ var ye = ve(te);
719
719
  if (ye === !1)
720
720
  return !1;
721
- var Ve = ge(ne, L), Te = Ce(ne, Ve, ee, oe), Le = vt(ne, Te);
722
- return Le ? !0 : Z.accepts(G, ne, D, Te);
721
+ var Ve = ge(te, L), Te = Ce(te, Ve, ee, ne), Le = vt(te, Te);
722
+ return Le ? !0 : Z.accepts(G, te, D, Te);
723
723
  }
724
724
  }
725
725
  function dt(L) {
726
726
  if (!M)
727
727
  return;
728
728
  L.preventDefault();
729
- var ee = E("clientX", L) || 0, oe = E("clientY", L) || 0;
730
- M.style.left = ee - 2 + "px", M.style.top = oe - 2 + "px";
731
- var ne = V || G, we = w(M, ee, oe), ye = bt(we, ee, oe), Ve = ye !== null && ye !== X;
732
- (Ve || ye === null) && (he(), X = ye, st()), me(we, oe);
733
- var Te = T(ne);
729
+ var ee = E("clientX", L) || 0, ne = E("clientY", L) || 0;
730
+ M.style.left = ee - 2 + "px", M.style.top = ne - 2 + "px";
731
+ var te = V || G, we = w(M, ee, ne), ye = bt(we, ee, ne), Ve = ye !== null && ye !== X;
732
+ (Ve || ye === null) && (he(), X = ye, st()), pe(we, ne);
733
+ var Te = T(te);
734
734
  if (ye === D && V && !Z.copySortSource) {
735
- Te && Te.removeChild(ne);
735
+ Te && Te.removeChild(te);
736
736
  return;
737
737
  }
738
738
  var Le, at = ge(ye, we);
739
739
  if (z = Ne(at, ye), at !== null)
740
- Le = Ce(ye, at, ee, oe);
740
+ Le = Ce(ye, at, ee, ne);
741
741
  else if (Z.revertOnSpill === !0 && !V)
742
742
  Le = $, ye = D;
743
743
  else {
744
- V && Te && Te.removeChild(ne), V && W && (W.style.display = "none");
744
+ V && Te && Te.removeChild(te), V && W && (W.style.display = "none");
745
745
  return;
746
746
  }
747
- W.style.display = "block", Mt(Le, ne, Ve), Le ? Ke(at, Le) : U(ye);
747
+ W.style.display = "block", Mt(Le, te, Ve), Le ? Ke(at, Le) : U(ye);
748
748
  function Ue(_e) {
749
- fe.emit(_e, ne, X, D);
749
+ me.emit(_e, te, X, D);
750
750
  }
751
751
  function st() {
752
752
  Ve && Ue("over");
@@ -755,17 +755,17 @@ var ki = { exports: {} };
755
755
  X && Ue("out");
756
756
  }
757
757
  }
758
- function Mt(L, ee, oe) {
759
- (L === ee || L === x(ee)) && (Q = x(ee)), (L === null && oe || L !== ee && L !== x(ee)) && (Q = L);
758
+ function Mt(L, ee, ne) {
759
+ (L === ee || L === x(ee)) && (Q = x(ee)), (L === null && ne || L !== ee && L !== x(ee)) && (Q = L);
760
760
  }
761
761
  function wt(L) {
762
762
  l.rm(L, "gu-hide");
763
763
  }
764
764
  function gt(L) {
765
- fe.dragging && l.add(L, "gu-hide");
765
+ me.dragging && l.add(L, "gu-hide");
766
766
  }
767
767
  function Ft() {
768
- M || (M = document.createElement("div"), M.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(G) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), m(c, "add", "mousemove", dt), l.add(Z.mirrorContainer, "gu-unselectable"), fe.emit("cloned", M, G, "mirror"));
768
+ M || (M = document.createElement("div"), M.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(G) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), m(c, "add", "mousemove", dt), l.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", M, G, "mirror"));
769
769
  }
770
770
  function Ct() {
771
771
  if (W = document.createElement("div"), l.add(W, "gu-insertion"), G) {
@@ -777,21 +777,21 @@ var ki = { exports: {} };
777
777
  function re() {
778
778
  M && (l.rm(Z.mirrorContainer, "gu-unselectable"), m(c, "remove", "mousemove", dt), T(M).removeChild(M), M = null);
779
779
  }
780
- function pe() {
780
+ function fe() {
781
781
  W && (T(W).removeChild(W), W = null);
782
782
  }
783
783
  function ge(L, ee) {
784
- for (var oe = ee; oe !== L && T(oe) !== L; )
785
- oe = T(oe);
786
- return oe === c ? null : oe;
784
+ for (var ne = ee; ne !== L && T(ne) !== L; )
785
+ ne = T(ne);
786
+ return ne === c ? null : ne;
787
787
  }
788
788
  function Ne(L, ee) {
789
789
  if (!ee)
790
790
  return z;
791
- var oe = L || ee && ee.lastElementChild;
792
- if (!oe)
791
+ var ne = L || ee && ee.lastElementChild;
792
+ if (!ne)
793
793
  return !0;
794
- var ne = getComputedStyle(L), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
794
+ var te = getComputedStyle(L), we = /^inline/.test(te.getPropertyValue("display")) || /^(left|right)$/.test(te.getPropertyValue("float"));
795
795
  if (we)
796
796
  return !0;
797
797
  if (ee) {
@@ -809,10 +809,10 @@ var ki = { exports: {} };
809
809
  if (!L.children || !L.children.length)
810
810
  return !1;
811
811
  for (const ee of Array.from(L.children)) {
812
- const ne = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
813
- if (!ne.length)
812
+ const te = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
813
+ if (!te.length)
814
814
  return !1;
815
- for (const we of ne) {
815
+ for (const we of te) {
816
816
  const ye = we.slice(we.lastIndexOf("-") + 1);
817
817
  if (parseInt(ye, 10) !== 12)
818
818
  return !1;
@@ -821,15 +821,15 @@ var ki = { exports: {} };
821
821
  return !0;
822
822
  }
823
823
  function Ke(L, ee) {
824
- const oe = ee.getBoundingClientRect();
825
- if (W.style.left = oe.left + "px", W.style.top = oe.top + "px", z) {
826
- if (W.style.height = oe.height + "px", W.style.width = "4px", L) {
827
- const ne = L.getBoundingClientRect();
828
- ne.top !== oe.top && (W.style.left = ne.right + "px", W.style.top = ne.top + "px", W.style.height = ne.height + "px");
824
+ const ne = ee.getBoundingClientRect();
825
+ if (W.style.left = ne.left + "px", W.style.top = ne.top + "px", z) {
826
+ if (W.style.height = ne.height + "px", W.style.width = "4px", L) {
827
+ const te = L.getBoundingClientRect();
828
+ te.top !== ne.top && (W.style.left = te.right + "px", W.style.top = te.top + "px", W.style.height = te.height + "px");
829
829
  }
830
- } else if (W.style.height = "4px", W.style.width = oe.width + "px", ie) {
831
- const ne = ie.getBoundingClientRect();
832
- oe.top < ne.top && (W.style.display = "none");
830
+ } else if (W.style.height = "4px", W.style.width = ne.width + "px", ie) {
831
+ const te = ie.getBoundingClientRect();
832
+ ne.top < te.top && (W.style.display = "none");
833
833
  }
834
834
  ee === G && G && (W.style.display = "none");
835
835
  }
@@ -837,42 +837,42 @@ var ki = { exports: {} };
837
837
  Q = null;
838
838
  var ee = L.lastElementChild;
839
839
  if (ee) {
840
- var oe = ee.getBoundingClientRect();
841
- z ? (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 === G && G && (W.style.display = "none");
840
+ var ne = ee.getBoundingClientRect();
841
+ z ? (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 === G && G && (W.style.display = "none");
842
842
  } else
843
843
  W.style.display = "none";
844
844
  }
845
- function me(L, ee) {
845
+ function pe(L, ee) {
846
846
  if (!Z.mirrorContainer.contains(L) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ie = p(L), !ie || !ie.contains(L)))
847
847
  return;
848
- const oe = document.querySelector(".dgComponentSelected"), ne = ie.getBoundingClientRect();
849
- if (ee - 30 < ne.top && ie.scrollTop > 0) {
848
+ const ne = document.querySelector(".dgComponentSelected"), te = ie.getBoundingClientRect();
849
+ if (ee - 30 < te.top && ie.scrollTop > 0) {
850
850
  let we = ie.scrollTop < 10 ? ie.scrollTop : 10;
851
- ie.scrollBy(0, -1 * we), oe && ie.contains(oe) && (K = K + -1 * we);
851
+ ie.scrollBy(0, -1 * we), ne && ie.contains(ne) && (K = K + -1 * we);
852
852
  }
853
- if (ee + 30 > ne.bottom && ie.scrollTop < ie.scrollHeight - ie.clientHeight) {
853
+ if (ee + 30 > te.bottom && ie.scrollTop < ie.scrollHeight - ie.clientHeight) {
854
854
  const we = ie.scrollHeight - ie.clientHeight - ie.scrollTop;
855
855
  let ye = we < 10 ? we : 10;
856
- ie.scrollBy(0, ye), oe && ie.contains(oe) && (K = K + ye);
856
+ ie.scrollBy(0, ye), ne && ie.contains(ne) && (K = K + ye);
857
857
  }
858
858
  }
859
- function Ce(L, ee, oe, ne) {
859
+ function Ce(L, ee, ne, te) {
860
860
  var we = Z.direction === "horizontal", ye = Z.direction === "mixed", Ve = ee !== L ? Le() : Te();
861
861
  return Ve;
862
862
  function Te() {
863
863
  var Ue = L.children.length, st, he, _e;
864
864
  for (st = 0; st < Ue; st++)
865
- if (he = L.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > oe || !ye && !we && _e.top + _e.height / 2 > ne || ye && _e.left + _e.width > oe && _e.top + _e.height > ne)
865
+ if (he = L.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > ne || !ye && !we && _e.top + _e.height / 2 > te || ye && _e.left + _e.width > ne && _e.top + _e.height > te)
866
866
  return he;
867
867
  return null;
868
868
  }
869
869
  function Le() {
870
870
  var Ue = ee.getBoundingClientRect();
871
871
  if (ye) {
872
- var st = ne - Ue.top, he = oe - Ue.left, _e = Ue.bottom - ne, Je = Ue.right - oe, Qe = Math.min(he, Je, st, _e), Ze;
872
+ var st = te - Ue.top, he = ne - Ue.left, _e = Ue.bottom - te, Je = Ue.right - ne, Qe = Math.min(he, Je, st, _e), Ze;
873
873
  return z ? Ze = Je < he : Ze = _e === Qe || Je === Qe || he === Qe, at(Ze);
874
874
  }
875
- return at(we ? oe > Ue.left + g(Ue) / 2 : ne > Ue.top + _(Ue) / 2);
875
+ return at(we ? ne > Ue.left + g(Ue) / 2 : te > Ue.top + _(Ue) / 2);
876
876
  }
877
877
  function at(Ue) {
878
878
  return Ue ? x(ee) : ee;
@@ -1294,18 +1294,18 @@ const Ei = {
1294
1294
  props: Mi,
1295
1295
  emits: ["close", "click"],
1296
1296
  setup: (n, t) => {
1297
- const e = S(n.animate), o = "fadeOut", r = q(() => n.options), a = S(!1), i = q(() => {
1297
+ const e = S(n.animate), o = "fadeOut", r = A(() => n.options), a = S(!1), i = A(() => {
1298
1298
  const v = {
1299
1299
  animated: a.value,
1300
1300
  toast: !0
1301
1301
  };
1302
1302
  return v[n.animate] = !1, v[o] = a.value, v[r.value.type] = !0, r.value.theme && (v[r.value.theme] = !0), v;
1303
- }), s = q(() => {
1303
+ }), s = A(() => {
1304
1304
  const g = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, _ = {
1305
1305
  "f-icon": !0
1306
1306
  };
1307
1307
  return _[g] = !0, _;
1308
- }), l = q(() => r.value.title || r.value.message), u = q(() => r.value.title && r.value.message), c = q(() => !r.value.title && r.value.message), d = q(() => n.showCloseButton), p = q(() => !!r.value.buttons || !!t.slots.default);
1308
+ }), l = A(() => r.value.title || r.value.message), u = A(() => r.value.title && r.value.message), c = A(() => !r.value.title && r.value.message), d = A(() => n.showCloseButton), p = A(() => !!r.value.buttons || !!t.slots.default);
1309
1309
  function f(v) {
1310
1310
  v.stopPropagation(), v.preventDefault(), a.value = !1, setTimeout(() => {
1311
1311
  t.emit("close", r.value);
@@ -1368,14 +1368,14 @@ const Ei = {
1368
1368
  props: Ei,
1369
1369
  emits: ["close", "empty"],
1370
1370
  setup(n, t) {
1371
- const e = q(() => ({
1371
+ const e = A(() => ({
1372
1372
  "farris-notify": !0
1373
1373
  })), o = {
1374
1374
  left: 12,
1375
1375
  right: 12,
1376
1376
  top: 20,
1377
1377
  bottom: 12
1378
- }, r = S(), a = S(n.options), i = S(n.showCloseButton), s = q(() => n.position || "bottom-right"), l = q(() => n.timeout != null ? n.timeout : 3e3), u = q(() => {
1378
+ }, r = S(), a = S(n.options), i = S(n.showCloseButton), s = A(() => n.position || "bottom-right"), l = A(() => n.timeout != null ? n.timeout : 3e3), u = A(() => {
1379
1379
  const p = n.bottom ? n.bottom : o.bottom, f = n.top ? n.top : o.top, m = {
1380
1380
  transition: "all 0.2s ease",
1381
1381
  left: s.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -1410,7 +1410,7 @@ const Ei = {
1410
1410
  }, null)]);
1411
1411
  }
1412
1412
  });
1413
- class Kn {
1413
+ class Qn {
1414
1414
  constructor() {
1415
1415
  B(this, "notifyRefs", []);
1416
1416
  B(this, "globalConfig", yt({}));
@@ -1431,7 +1431,7 @@ class Kn {
1431
1431
  ...t
1432
1432
  }), a = document.createElement("div");
1433
1433
  a.style.display = "contents";
1434
- const i = jn({
1434
+ const i = Hn({
1435
1435
  setup() {
1436
1436
  var u;
1437
1437
  const s = S();
@@ -1451,7 +1451,7 @@ class Kn {
1451
1451
  document.body.removeChild(a);
1452
1452
  }), Bt(() => {
1453
1453
  e.updateNotifyPositionForCreate(r, s);
1454
- }), () => O(An, {
1454
+ }), () => O(jn, {
1455
1455
  mode: "out-in",
1456
1456
  name: "fade",
1457
1457
  appear: !0
@@ -1532,10 +1532,10 @@ class Kn {
1532
1532
  const Fi = Symbol("NOTIFY_SERVICE_TOKEN");
1533
1533
  Jt.install = (n) => {
1534
1534
  n.component(Jt.name, Jt), n.component(hn.name, hn);
1535
- const t = new Kn();
1535
+ const t = new Qn();
1536
1536
  n.provide(Fi, t), n.provide("FNotifyService", t);
1537
1537
  };
1538
- const Jn = /* @__PURE__ */ new Map([
1538
+ const Kn = /* @__PURE__ */ new Map([
1539
1539
  ["appearance", ln],
1540
1540
  ["column", "columnOption"]
1541
1541
  ]);
@@ -1558,7 +1558,7 @@ function Ii(n, t, e) {
1558
1558
  const o = n.getSchemaByType("content-container");
1559
1559
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
1560
1560
  }
1561
- function Zn(n, t, e) {
1561
+ function Jn(n, t, e) {
1562
1562
  const r = e.parentComponentInstance.schema.type, a = r === "section" || r === "tab-page";
1563
1563
  t.appearance = { class: "f-component-grid" };
1564
1564
  const s = (a ? Ii : Di)(n, t, e);
@@ -2344,7 +2344,7 @@ const Pi = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-
2344
2344
  ], $i = {
2345
2345
  onSelectionChange: "行切换事件",
2346
2346
  onClickRow: "行点击事件"
2347
- }, eo = {
2347
+ }, Zn = {
2348
2348
  $schema: Pi,
2349
2349
  $id: Ni,
2350
2350
  title: Vi,
@@ -2482,7 +2482,7 @@ const Pi = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-
2482
2482
  width: { type: Number, default: -1 },
2483
2483
  /** 启用虚拟渲染 */
2484
2484
  virtualized: { type: Boolean, default: !1 }
2485
- }, Hi = Lt(Cn, eo, Jn, Zn), ji = li(), Ai = si(), to = Object.assign({}, Cn, { componentId: { type: String, default: "" } }), qi = Lt(to, eo, Jn, Zn), Gi = ui();
2485
+ }, Hi = Lt(Cn, Zn, Kn, Jn), ji = li(), Ai = si(), eo = Object.assign({}, Cn, { componentId: { type: String, default: "" } }), qi = Lt(eo, Zn, Kn, Jn), Gi = ui();
2486
2486
  var nt = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(nt || {}), mt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(mt || {}), Gt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(Gt || {}), et = /* @__PURE__ */ ((n) => (n[n.none = 0] = "none", n[n.filterable = 1] = "filterable", n[n.sortable = 2] = "sortable", n[n.filtered = 4] = "filtered", n[n.sorted = 8] = "sorted", n[n.ascending = 16] = "ascending", n[n.descending = 32] = "descending", n))(et || {});
2487
2487
  function zi(n, t) {
2488
2488
  var f;
@@ -2688,110 +2688,106 @@ function Ki(n, t, e, o, r, a, i, s, l, u, c, d, p) {
2688
2688
  } = Yi(n, o, i), {
2689
2689
  treeNodeIconsClass: N
2690
2690
  } = Ui(n, x, C);
2691
- function X(A, te) {
2692
- const be = A.raw[C.value];
2691
+ function X(q, oe) {
2692
+ const be = q.raw[C.value];
2693
2693
  return {
2694
- "fv-tree-node-toggle": be && A.collapse,
2695
- "fv-tree-node-toggle-minus": be && !A.collapse
2694
+ "fv-tree-node-toggle": be && q.collapse,
2695
+ "fv-tree-node-toggle-minus": be && !q.collapse
2696
2696
  };
2697
2697
  }
2698
- function j(A, te) {
2699
- A.stopPropagation(), I(te);
2698
+ function j(q, oe) {
2699
+ q.stopPropagation(), I(oe);
2700
2700
  }
2701
- function W(A) {
2702
- A.stopPropagation();
2701
+ function W(q) {
2702
+ q.stopPropagation();
2703
2703
  }
2704
- function z(A, te) {
2704
+ function z(q, oe) {
2705
2705
  return O("div", {
2706
- class: X(A),
2707
- onClick: (be) => j(be, A),
2706
+ class: X(q),
2707
+ onClick: (be) => j(be, q),
2708
2708
  onDblclick: W
2709
2709
  }, null);
2710
2710
  }
2711
- function K(A, te) {
2711
+ function K(q, oe) {
2712
2712
  return y.value && O("div", {
2713
2713
  id: "treeNodeIcons",
2714
- class: N(A, te)
2714
+ class: N(q, oe)
2715
2715
  }, null);
2716
2716
  }
2717
- function ie(A) {
2718
- _.value ? (A.checked ? T(A) : k(A), P(A)) : h(A);
2719
- }
2720
- function Z(A, te) {
2721
- return E.value && O(Nr, {
2722
- id: "checkbox_for_" + M(A, te.index),
2723
- indeterminate: A.indeterminate,
2724
- disabled: A.disabled,
2725
- checked: A.checked,
2726
- "onUpdate:checked": (be) => A.checked = be,
2727
- onChange: () => ie(A)
2717
+ function ie(q) {
2718
+ _.value ? (q.checked ? T(q) : k(q), P(q)) : h(q);
2719
+ }
2720
+ function Z(q, oe) {
2721
+ return E.value && O(Pr, {
2722
+ id: "checkbox_for_" + M(q, oe.index),
2723
+ indeterminate: q.indeterminate,
2724
+ disabled: q.disabled,
2725
+ checked: q.checked,
2726
+ "onUpdate:checked": (be) => q.checked = be,
2727
+ onChange: () => ie(q)
2728
2728
  }, null);
2729
2729
  }
2730
- function fe(A, te) {
2730
+ function me(q, oe) {
2731
2731
  return O("span", {
2732
- title: te.data,
2733
2732
  style: "user-select:none"
2734
2733
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
2735
- cell: te,
2736
- row: A
2737
- }) : te.mode === nt.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, A) : te.data != null ? te.data.toString() : te.data]);
2738
- }
2739
- function ve(A, te) {
2734
+ cell: oe,
2735
+ row: q
2736
+ }) : oe.mode === nt.editing ? oe.getEditor(oe) : oe.formatter ? oe.formatter(oe, q) : oe.showTips ? O($r, null, {
2737
+ default: () => oe.data,
2738
+ contentTemplate: () => oe.data
2739
+ }) : oe.data]);
2740
+ }
2741
+ function ve(q, oe) {
2740
2742
  return O("div", {
2741
- class: Q(te)
2742
- }, [te.showTips ? O(On, null, {
2743
- default: () => fe(A, te),
2744
- contentTemplate: () => fe(A, te)
2745
- }) : fe(A, te)]);
2746
- }
2747
- function xe(A, te, be) {
2748
- const ke = V(A);
2743
+ class: Q(oe)
2744
+ }, [me(q, oe)]);
2745
+ }
2746
+ function xe(q, oe, be) {
2747
+ const ke = V(q);
2749
2748
  return O("div", {
2750
- ref: te.setRef,
2751
- key: M(A, te.index),
2749
+ ref: oe.setRef,
2750
+ key: M(q, oe.index),
2752
2751
  class: "fv-grid-hierarchy-cell",
2753
- style: D(te, be)
2752
+ style: D(oe, be)
2754
2753
  }, [O("div", {
2755
- class: R(te),
2754
+ class: R(oe),
2756
2755
  style: ke
2757
- }, [z(A), K(A, te), Z(A, te), ve(A, te)])]);
2756
+ }, [z(q), K(q, oe), Z(q, oe), ve(q, oe)])]);
2758
2757
  }
2759
- function Pe(A, te, be) {
2758
+ function Pe(q, oe, be) {
2760
2759
  return O("div", {
2761
- ref: te.setRef,
2762
- key: M(A, te.index),
2763
- class: m(te),
2764
- style: D(te, be),
2765
- onClick: (ke) => f(ke, te, A, te.column)
2760
+ ref: oe.setRef,
2761
+ key: M(q, oe.index),
2762
+ class: m(oe),
2763
+ style: D(oe, be),
2764
+ onClick: (ke) => f(ke, oe, q, oe.column)
2766
2765
  }, [O("div", {
2767
- class: R(te)
2766
+ class: R(oe)
2768
2767
  }, [O("div", {
2769
- class: Q(te)
2770
- }, [te.showTips ? O(On, null, {
2771
- default: () => fe(A, te),
2772
- contentTemplate: () => fe(A, te)
2773
- }) : fe(A, te)])])]);
2768
+ class: Q(oe)
2769
+ }, [me(q, oe)])])]);
2774
2770
  }
2775
- function Be(A, te) {
2776
- return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === A.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === A.field;
2771
+ function Be(q, oe) {
2772
+ return oe === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === q.field || oe === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === q.field;
2777
2773
  }
2778
- function Y(A, te) {
2774
+ function Y(q, oe) {
2779
2775
  t.emit("dblclickNode", {
2780
- $event: A,
2781
- node: te.raw
2776
+ $event: q,
2777
+ node: oe.raw
2782
2778
  });
2783
2779
  }
2784
- function de(A, te, be = "primary", ke) {
2780
+ function de(q, oe, be = "primary", ke) {
2785
2781
  return O("div", {
2786
- ref: A.setRef,
2787
- key: G(A),
2788
- class: w(A, ke),
2789
- style: H(A),
2790
- onMouseover: (Ie) => b(Ie, A),
2791
- onMouseout: (Ie) => g(Ie, A),
2792
- onClick: (Ie) => v(Ie, A),
2793
- onDblclick: (Ie) => Y(Ie, A)
2794
- }, [Object.values(A.data).filter((Ie) => te[Ie.field] && Ie.rowSpan === 1).map((Ie) => Be(Ie, be) ? xe(A, Ie, te) : Pe(A, Ie, te))]);
2782
+ ref: q.setRef,
2783
+ key: G(q),
2784
+ class: w(q, ke),
2785
+ style: H(q),
2786
+ onMouseover: (Ie) => b(Ie, q),
2787
+ onMouseout: (Ie) => g(Ie, q),
2788
+ onClick: (Ie) => v(Ie, q),
2789
+ onDblclick: (Ie) => Y(Ie, q)
2790
+ }, [Object.values(q.data).filter((Ie) => oe[Ie.field] && Ie.rowSpan === 1).map((Ie) => Be(Ie, be) ? xe(q, Ie, oe) : Pe(q, Ie, oe))]);
2795
2791
  }
2796
2792
  return {
2797
2793
  renderDataRow: de
@@ -2858,7 +2854,7 @@ function Zi() {
2858
2854
  };
2859
2855
  }
2860
2856
  function es(n) {
2861
- const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), a = q(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = q(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
2857
+ const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), a = A(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = A(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
2862
2858
  return Ee([
2863
2859
  () => n.height,
2864
2860
  () => n.width,
@@ -2866,7 +2862,7 @@ function es(n) {
2866
2862
  () => n.minWidth
2867
2863
  ], ([l, u, c, d]) => {
2868
2864
  t.value = Number(c), e.value = Number(d), o.value = Number(l), r.value = Number(u);
2869
- }), { containerStyleObject: q(() => ({
2865
+ }), { containerStyleObject: A(() => ({
2870
2866
  height: a.value > 0 ? `${a.value}px` : n.fit ? "100%" : "",
2871
2867
  width: i.value > 0 ? `${i.value}px` : n.fit ? "100%" : "",
2872
2868
  flex: "1 1 0"
@@ -3004,17 +3000,17 @@ function ns(n, t) {
3004
3000
  }
3005
3001
  function os(n, t) {
3006
3002
  var b;
3007
- Vr();
3008
- const { idField: e } = t, o = S(n.summary), r = S(n.group), a = S(((b = n.group) == null ? void 0 : b.groupFields) || []), i = q(() => {
3003
+ Nr();
3004
+ const { idField: e } = t, o = S(n.summary), r = S(n.group), a = S(((b = n.group) == null ? void 0 : b.groupFields) || []), i = A(() => {
3009
3005
  var g;
3010
3006
  return (g = n.group) == null ? void 0 : g.enable;
3011
- }), s = q(() => {
3007
+ }), s = A(() => {
3012
3008
  var g;
3013
3009
  return (g = n.group) == null ? void 0 : g.showGroupPanel;
3014
- }), l = q(() => {
3010
+ }), l = A(() => {
3015
3011
  const g = o.value;
3016
3012
  return (g == null ? void 0 : g.groupFields) || [];
3017
- }), u = q(() => {
3013
+ }), u = A(() => {
3018
3014
  const g = r.value;
3019
3015
  return g && g.showSummary;
3020
3016
  }), c = S(0), d = /* @__PURE__ */ new Map();
@@ -3102,8 +3098,8 @@ function rs(n, t, e, o) {
3102
3098
  d.clear(), j.reduce((z, K) => {
3103
3099
  const ie = K[u.value] !== void 0 ? K[u.value] : "";
3104
3100
  if (ie && W.has(ie)) {
3105
- const fe = W.get(ie), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
3106
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
3101
+ const me = W.get(ie), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
3102
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
3107
3103
  } else
3108
3104
  K.__fv_layer__ = 1;
3109
3105
  const Z = z.has(ie) ? z.get(ie) : [];
@@ -3151,8 +3147,8 @@ function rs(n, t, e, o) {
3151
3147
  }
3152
3148
  function _(j, W, z) {
3153
3149
  Array.from(W.keys()).forEach((K) => {
3154
- W.get(K).reduce((Z, fe) => {
3155
- const ve = fe[i.value], xe = j.get(fe[i.value]), Pe = j.get(K), Be = z.get(K);
3150
+ W.get(K).reduce((Z, me) => {
3151
+ const ve = me[i.value], xe = j.get(me[i.value]), Pe = j.get(K), Be = z.get(K);
3156
3152
  return Pe && Be && (Pe.children.set(ve, xe), Pe.children.set(ve, xe), xe.parentId = K, xe.parentIndex = Pe.index, xe.parents.set(K, Pe)), Z;
3157
3153
  }, j);
3158
3154
  });
@@ -3216,7 +3212,7 @@ function rs(n, t, e, o) {
3216
3212
  }
3217
3213
  function G(j, W, z = 0) {
3218
3214
  j.forEach((K) => {
3219
- const ie = E(K), Z = K.__fv_layer__ <= z, fe = W === "ToCollapse" ? K.__fv_layer__ <= z : !(K.__fv_layer__ <= z), ve = Z ? fe : K[s.value];
3215
+ const ie = E(K), Z = K.__fv_layer__ <= z, me = W === "ToCollapse" ? K.__fv_layer__ <= z : !(K.__fv_layer__ <= z), ve = Z ? me : K[s.value];
3220
3216
  K[s.value] = ie || ve;
3221
3217
  });
3222
3218
  for (const [K, ie] of d.entries())
@@ -3231,8 +3227,8 @@ function rs(n, t, e, o) {
3231
3227
  }
3232
3228
  function $(j) {
3233
3229
  j.forEach((W, z) => {
3234
- var fe;
3235
- const K = W[i.value], ie = d.has(K) ? (fe = d.get(K)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], Z = g(K, z);
3230
+ var me;
3231
+ const K = W[i.value], ie = d.has(K) ? (me = d.get(K)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], Z = g(K, z);
3236
3232
  W.__fv_graph_node__ = Z, W.__fv_children_index__ = ie, W.__fv_descendant_index__ = [...ie], W.__fv_parents__ = /* @__PURE__ */ new Map(), E(W) && (W[s.value] = !0);
3237
3233
  });
3238
3234
  }
@@ -3245,18 +3241,18 @@ function rs(n, t, e, o) {
3245
3241
  function V(j, W, z) {
3246
3242
  const ie = z.value[j][i.value], Z = c.get(ie);
3247
3243
  if (Z) {
3248
- const fe = c.get(Z.parentId);
3244
+ const me = c.get(Z.parentId);
3249
3245
  let ve = z.value.length - 1;
3250
- if (fe) {
3251
- const xe = Array.from(fe.children.keys()).indexOf(Z.id);
3252
- if (xe === fe.children.size - 1) {
3253
- const Be = Array.from(fe.descendant.values())[fe.descendant.size - 1];
3246
+ if (me) {
3247
+ const xe = Array.from(me.children.keys()).indexOf(Z.id);
3248
+ if (xe === me.children.size - 1) {
3249
+ const Be = Array.from(me.descendant.values())[me.descendant.size - 1];
3254
3250
  ve = z.value.findIndex((de) => de[i.value] === Be.id) + 1;
3255
3251
  } else {
3256
- const Be = Array.from(fe.children.values())[xe + 1];
3252
+ const Be = Array.from(me.children.values())[xe + 1];
3257
3253
  ve = z.value.findIndex((de) => de[i.value] === Be.id);
3258
3254
  }
3259
- W[l.value] = !1, W[u.value] = fe.id, z.value.splice(ve, 0, W);
3255
+ W[l.value] = !1, W[u.value] = me.id, z.value.splice(ve, 0, W);
3260
3256
  }
3261
3257
  }
3262
3258
  }
@@ -3313,7 +3309,7 @@ function as(n, t, e, o, r) {
3313
3309
  const U = $(n.data);
3314
3310
  w.value = U, G.value = U, H.value = U;
3315
3311
  }
3316
- const Q = S(n.summary), V = q(() => {
3312
+ const Q = S(n.summary), V = A(() => {
3317
3313
  const U = Q.value;
3318
3314
  return (U == null ? void 0 : U.groupFields) || [];
3319
3315
  });
@@ -3322,80 +3318,80 @@ function as(n, t, e, o, r) {
3322
3318
  function W() {
3323
3319
  return j.value && j.value.enable && j.value.size > 0 ? j.value.size : G.value.length;
3324
3320
  }
3325
- const z = S(1), K = q(() => j.value && j.value.enable && j.value.mode !== "server"), ie = q(() => j.value && j.value.enable && j.value.mode === "server"), Z = new Kn();
3326
- function fe(U, me) {
3327
- const Ce = Math.ceil(U.length / me);
3321
+ const z = S(1), K = A(() => j.value && j.value.enable && j.value.mode !== "server"), ie = A(() => j.value && j.value.enable && j.value.mode === "server"), Z = new Qn();
3322
+ function me(U, pe) {
3323
+ const Ce = Math.ceil(U.length / pe);
3328
3324
  let Fe = 0;
3329
- const L = [], ee = [], oe = [];
3325
+ const L = [], ee = [], ne = [];
3330
3326
  for (; Fe < Ce; ) {
3331
- const ne = U.slice(Fe * me, (Fe + 1) * me), we = f(m.value, ne, t);
3327
+ const te = U.slice(Fe * pe, (Fe + 1) * pe), we = f(m.value, te, t);
3332
3328
  ee[Fe] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, L.push(...we), Fe++;
3333
3329
  }
3334
- return ee.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
3330
+ return ee.reduce((te, we, ye) => (te = te + we, ne.push(te), te), 0), {
3335
3331
  groupData: L,
3336
3332
  groupRowSizeList: ee,
3337
- accumulateGroupRowSize: oe
3333
+ accumulateGroupRowSize: ne
3338
3334
  };
3339
3335
  }
3340
3336
  function ve() {
3341
3337
  var we;
3342
3338
  G.value = w.value, K.value && (X.value = G.value.length), F.value && !K.value && (G.value = f(m.value, w.value, t)), N = V.value.reduce((ye, Ve) => (ye.set(Ve, 0), ye), N);
3343
- const U = 0, me = W(), Ce = (z.value - 1) * me;
3344
- let L = Ce > G.value.length - 1 || ie.value ? U : Ce, ee = ie.value ? G.value.length : Math.min(L + me, G.value.length);
3339
+ const U = 0, pe = W(), Ce = (z.value - 1) * pe;
3340
+ let L = Ce > G.value.length - 1 || ie.value ? U : Ce, ee = ie.value ? G.value.length : Math.min(L + pe, G.value.length);
3345
3341
  if (F.value && K.value) {
3346
- const { accumulateGroupRowSize: ye, groupData: Ve, groupRowSizeList: Te } = fe(w.value, me);
3342
+ const { accumulateGroupRowSize: ye, groupData: Ve, groupRowSizeList: Te } = me(w.value, pe);
3347
3343
  G.value = Ve;
3348
3344
  const Le = Te[z.value - 1];
3349
- L += z.value - 2 < 0 ? 0 : ye[z.value - 2], ee = L + me + Le;
3345
+ L += z.value - 2 < 0 ? 0 : ye[z.value - 2], ee = L + pe + Le;
3350
3346
  }
3351
- let oe = 0;
3352
- const ne = [];
3347
+ let ne = 0;
3348
+ const te = [];
3353
3349
  if (G.value.length) {
3354
3350
  M(G.value);
3355
3351
  const ye = P.value !== n.idField;
3356
3352
  for (let Ve = L; Ve < ee; Ve++) {
3357
3353
  const Te = G.value[Ve];
3358
- Te.__fv_data_grid_group_row__ ? (oe = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (oe++, Te.__fv_data_index__ = oe + (z.value - 1) * me), Te.__fv_index__ = Ve, Te.__fv_visible_index__ = Ve, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[P.value] = Ve), V.value.forEach((Le) => {
3354
+ Te.__fv_data_grid_group_row__ ? (ne = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (ne++, Te.__fv_data_index__ = ne + (z.value - 1) * pe), Te.__fv_index__ = Ve, Te.__fv_visible_index__ = Ve, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[P.value] = Ve), V.value.forEach((Le) => {
3359
3355
  const at = N.get(Le) || 0;
3360
3356
  N.set(Le, at + Te[Le]);
3361
- }), ne.push(Te);
3357
+ }), te.push(Te);
3362
3358
  }
3363
3359
  }
3364
- return C.value && _(ne), H.value = [...ne], ne;
3360
+ return C.value && _(te), H.value = [...te], te;
3365
3361
  }
3366
- const xe = S(ve()), Pe = q(() => (I.value, xe.value.filter((U) => C.value ? U.__fv_visible__ !== !1 && x(U) : U.__fv_visible__ !== !1)));
3362
+ const xe = S(ve()), Pe = A(() => (I.value, xe.value.filter((U) => C.value ? U.__fv_visible__ !== !1 && x(U) : U.__fv_visible__ !== !1)));
3367
3363
  function Be() {
3368
- Pe.value.forEach((U, me) => (U.__fv_visible_index__ = me, U));
3364
+ Pe.value.forEach((U, pe) => (U.__fv_visible_index__ = pe, U));
3369
3365
  }
3370
- function Y(U, me, Ce = !1) {
3371
- const L = (Ce ? ve() : [...H.value]).filter((ne) => e.apply(ne)), ee = U && U.length ? L.filter((ne) => U.reduce((we, ye) => we && ye.filter(ne), !0)) : L, oe = me && me.length ? ee.sort((ne, we) => {
3372
- const ye = [...me], Ve = ye.shift();
3373
- let Te = Ve.compare(ne[Ve.field], we[Ve.field]);
3366
+ function Y(U, pe, Ce = !1) {
3367
+ const L = (Ce ? ve() : [...H.value]).filter((te) => e.apply(te)), ee = U && U.length ? L.filter((te) => U.reduce((we, ye) => we && ye.filter(te), !0)) : L, ne = pe && pe.length ? ee.sort((te, we) => {
3368
+ const ye = [...pe], Ve = ye.shift();
3369
+ let Te = Ve.compare(te[Ve.field], we[Ve.field]);
3374
3370
  for (; Te === 0 && ye.length !== 0; ) {
3375
3371
  const Le = ye.shift();
3376
- Le && (Te = Le.compare(ne[Le.field], we[Le.field]));
3372
+ Le && (Te = Le.compare(te[Le.field], we[Le.field]));
3377
3373
  }
3378
3374
  return Te;
3379
3375
  }) : ee;
3380
- return xe.value = oe.map((ne, we) => {
3381
- if (ne.__fv_data_grid_group_row__) {
3382
- const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
3383
- ne.__fv_data_grid_group_collapse__ = !!a.get(ye);
3376
+ return xe.value = ne.map((te, we) => {
3377
+ if (te.__fv_data_grid_group_row__) {
3378
+ const ye = `group_of_${te.__fv_data_grid_group_field__}_${te.__fv_data_grid_group_value__}`;
3379
+ te.__fv_data_grid_group_collapse__ = !!a.get(ye);
3384
3380
  }
3385
- return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
3381
+ return te.__fv_index__ = we, te.__fv_visible_index__ = we, te;
3386
3382
  }), xe.value;
3387
3383
  }
3388
3384
  function de(U) {
3389
- return u.clear(), d.value = U, d.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), u), Y([], d.value);
3385
+ return u.clear(), d.value = U, d.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), u), Y([], d.value);
3390
3386
  }
3391
- function A(U, me) {
3392
- return u.set(U, me), d.value = Array.from(u.values()), Y([], d.value);
3387
+ function q(U, pe) {
3388
+ return u.set(U, pe), d.value = Array.from(u.values()), Y([], d.value);
3393
3389
  }
3394
- function te(U) {
3390
+ function oe(U) {
3395
3391
  return u.delete(U), d.value = Array.from(u.values()), Y([], d.value);
3396
3392
  }
3397
- function be(U, me) {
3398
- return i.set(U, me), c.value = Array.from(i.values()), Y([], Array.from(u.values()));
3393
+ function be(U, pe) {
3394
+ return i.set(U, pe), c.value = Array.from(i.values()), Y([], Array.from(u.values()));
3399
3395
  }
3400
3396
  function ke(U) {
3401
3397
  return i.delete(U), c.value = Array.from(i.values()), Y([], Array.from(u.values()), !0);
@@ -3403,15 +3399,15 @@ function as(n, t, e, o, r) {
3403
3399
  function Ie() {
3404
3400
  return i.clear(), c.value = [], Y([], Array.from(u.values()), !0);
3405
3401
  }
3406
- function ot(U, me) {
3407
- const Ce = `group_of_${U}_${me}`;
3402
+ function ot(U, pe) {
3403
+ const Ce = `group_of_${U}_${pe}`;
3408
3404
  a.set(Ce, !0);
3409
- const Fe = (L) => L[U] !== me;
3410
- return s.set(`collapse_${U}_${me}`, {
3405
+ const Fe = (L) => L[U] !== pe;
3406
+ return s.set(`collapse_${U}_${pe}`, {
3411
3407
  field: U,
3412
3408
  fieldName: U,
3413
3409
  fieldType: "string",
3414
- filterValue: me,
3410
+ filterValue: pe,
3415
3411
  filter: Fe
3416
3412
  }), Y(Array.from(s.values()), Array.from(u.values()));
3417
3413
  }
@@ -3421,23 +3417,23 @@ function as(n, t, e, o, r) {
3421
3417
  function ct(U) {
3422
3418
  g(xe.value, U);
3423
3419
  }
3424
- function J(U, me) {
3425
- const Ce = `group_of_${U}_${me}`;
3426
- return a.set(Ce, !1), s.delete(`collapse_${U}_${me}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
3420
+ function J(U, pe) {
3421
+ const Ce = `group_of_${U}_${pe}`;
3422
+ return a.set(Ce, !1), s.delete(`collapse_${U}_${pe}`), Y(Array.from(s.values()), Array.from(u.values()), !0);
3427
3423
  }
3428
3424
  function Se(U) {
3429
- const me = U.raw[P.value], Ce = (Fe) => !Fe.__fv_parents__.has(me);
3430
- l.set(`fold_${me}`, {
3425
+ const pe = U.raw[P.value], Ce = (Fe) => !Fe.__fv_parents__.has(pe);
3426
+ l.set(`fold_${pe}`, {
3431
3427
  field: "id",
3432
3428
  fieldName: "id",
3433
3429
  fieldType: "string",
3434
- filterValue: String(me),
3430
+ filterValue: String(pe),
3435
3431
  filter: Ce
3436
3432
  }), Y(Array.from(l.values()), Array.from(u.values())), _(xe.value);
3437
3433
  }
3438
3434
  function De(U) {
3439
- const me = U[P.value];
3440
- l.delete(`fold_${me}`);
3435
+ const pe = U[P.value];
3436
+ l.delete(`fold_${pe}`);
3441
3437
  }
3442
3438
  function qe(U) {
3443
3439
  De(U.raw), Y(Array.from(l.values()), Array.from(u.values()), !0), _(xe.value);
@@ -3450,11 +3446,11 @@ function as(n, t, e, o, r) {
3450
3446
  const Ce = n.hierarchy && U && U.length && U[0].children ? $(U) : U;
3451
3447
  w.value = Ce, Re();
3452
3448
  }
3453
- function vt(U, me, Ce) {
3454
- return (U && U.length ? xe.value.filter((L, ee) => U.reduce((oe, ne) => oe && ne.filter(L), !0)) : xe.value).slice(me, Ce);
3449
+ function vt(U, pe, Ce) {
3450
+ return (U && U.length ? xe.value.filter((L, ee) => U.reduce((ne, te) => ne && te.filter(L), !0)) : xe.value).slice(pe, Ce);
3455
3451
  }
3456
3452
  function bt(U) {
3457
- const me = W(), Ce = Math.ceil(X.value / me);
3453
+ const pe = W(), Ce = Math.ceil(X.value / pe);
3458
3454
  0 <= U && U <= Ce && (z.value = U, Re());
3459
3455
  }
3460
3456
  function dt(U) {
@@ -3473,32 +3469,32 @@ function as(n, t, e, o, r) {
3473
3469
  De(Fe), h(U, Ce, w), Re();
3474
3470
  }
3475
3471
  function gt(U) {
3476
- const me = U ? U - 1 : 0;
3477
- w.value.splice(me, 1), Re();
3472
+ const pe = U ? U - 1 : 0;
3473
+ w.value.splice(pe, 1), Re();
3478
3474
  }
3479
3475
  function Ft(U) {
3480
- const me = w.value.findIndex((Ce) => Ce[P.value] === U);
3481
- me !== -1 && (w.value.splice(me, 1), Re());
3476
+ const pe = w.value.findIndex((Ce) => Ce[P.value] === U);
3477
+ pe !== -1 && (w.value.splice(pe, 1), Re());
3482
3478
  }
3483
3479
  function Ct(U) {
3484
- const me = U > -1 ? w.value[U] : null;
3485
- if (!(me && me.deletable !== !1))
3480
+ const pe = U > -1 ? w.value[U] : null;
3481
+ if (!(pe && pe.deletable !== !1))
3486
3482
  return !1;
3487
- w.value = y(me, w.value), Re();
3483
+ w.value = y(pe, w.value), Re();
3488
3484
  }
3489
3485
  function re() {
3490
3486
  const U = s.size > 0 ? Array.from(s.values()) : [];
3491
3487
  return Y(U, Array.from(u.values()));
3492
3488
  }
3493
- function pe(U) {
3489
+ function fe(U) {
3494
3490
  j.value.size = U;
3495
3491
  }
3496
3492
  function ge(U) {
3497
- j.value && (pe(U), Re());
3493
+ j.value && (fe(U), Re());
3498
3494
  }
3499
- function Ne(U, me) {
3495
+ function Ne(U, pe) {
3500
3496
  const Ce = w.value[Number(U) - 1];
3501
- Ce.editable !== !1 ? (Ce.name = me, Re()) : Z.show({
3497
+ Ce.editable !== !1 ? (Ce.name = pe, Re()) : Z.show({
3502
3498
  showCloseButton: !1,
3503
3499
  timeout: 3e3,
3504
3500
  animate: "fadeIn",
@@ -3514,8 +3510,8 @@ function as(n, t, e, o, r) {
3514
3510
  return {
3515
3511
  addFilter: be,
3516
3512
  addNewDataItem: dt,
3517
- addSorter: A,
3518
- updatePageSize: pe,
3513
+ addSorter: q,
3514
+ updatePageSize: fe,
3519
3515
  changePageSizeTo: ge,
3520
3516
  collapse: ot,
3521
3517
  collapseTo: ht,
@@ -3541,7 +3537,7 @@ function as(n, t, e, o, r) {
3541
3537
  removeDataItemById: Ft,
3542
3538
  removeFilter: ke,
3543
3539
  removeHierarchyDataItem: Ct,
3544
- removeSorter: te,
3540
+ removeSorter: oe,
3545
3541
  reOrderVisibleIndex: Be,
3546
3542
  setSorters: de,
3547
3543
  sorters: d,
@@ -3553,7 +3549,7 @@ function as(n, t, e, o, r) {
3553
3549
  visibleDataItems: Pe
3554
3550
  };
3555
3551
  }
3556
- const no = {
3552
+ const to = {
3557
3553
  conditions: { type: Array, default: [] },
3558
3554
  fields: { type: Array, default: [] },
3559
3555
  key: { type: String, default: "" },
@@ -3562,7 +3558,7 @@ const no = {
3562
3558
  */
3563
3559
  isControlInline: { type: Boolean, default: !0 }
3564
3560
  };
3565
- class oo {
3561
+ class no {
3566
3562
  constructor(t = { value: [] }) {
3567
3563
  B(this, "editorType", "check-box");
3568
3564
  B(this, "value");
@@ -3586,7 +3582,7 @@ class oo {
3586
3582
  return this.value.length === 0;
3587
3583
  }
3588
3584
  }
3589
- class ro {
3585
+ class oo {
3590
3586
  constructor(t = { textValue: "", value: "", valueField: "" }) {
3591
3587
  B(this, "editorType", "combo-lookup");
3592
3588
  B(this, "textValue");
@@ -3630,11 +3626,11 @@ function Ye(n) {
3630
3626
  function $e(n, t) {
3631
3627
  return n instanceof Date ? new n.constructor(t) : new Date(t);
3632
3628
  }
3633
- function ao(n, t) {
3629
+ function ro(n, t) {
3634
3630
  const e = Ye(n);
3635
3631
  return isNaN(t) ? $e(n, NaN) : (t && e.setDate(e.getDate() + t), e);
3636
3632
  }
3637
- const io = 6048e5, is = 864e5, ss = 6e4, ls = 36e5, us = 1e3;
3633
+ const ao = 6048e5, is = 864e5, ss = 6e4, ls = 36e5, us = 1e3;
3638
3634
  let cs = {};
3639
3635
  function jt() {
3640
3636
  return cs;
@@ -3647,7 +3643,7 @@ function Et(n, t) {
3647
3643
  function Ht(n) {
3648
3644
  return Et(n, { weekStartsOn: 1 });
3649
3645
  }
3650
- function so(n) {
3646
+ function io(n) {
3651
3647
  const t = Ye(n), e = t.getFullYear(), o = $e(n, 0);
3652
3648
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
3653
3649
  const r = Ht(o), a = $e(n, 0);
@@ -3655,7 +3651,7 @@ function so(n) {
3655
3651
  const i = Ht(a);
3656
3652
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
3657
3653
  }
3658
- function Nn(n) {
3654
+ function Pn(n) {
3659
3655
  const t = Ye(n);
3660
3656
  return t.setHours(0, 0, 0, 0), t;
3661
3657
  }
@@ -3674,11 +3670,11 @@ function en(n) {
3674
3670
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
3675
3671
  }
3676
3672
  function ds(n, t) {
3677
- const e = Nn(n), o = Nn(t), r = +e - en(e), a = +o - en(o);
3673
+ const e = Pn(n), o = Pn(t), r = +e - en(e), a = +o - en(o);
3678
3674
  return Math.round((r - a) / is);
3679
3675
  }
3680
3676
  function fs(n) {
3681
- const t = so(n), e = $e(n, 0);
3677
+ const t = io(n), e = $e(n, 0);
3682
3678
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), Ht(e);
3683
3679
  }
3684
3680
  function ps(n) {
@@ -4113,7 +4109,7 @@ const Vs = /^(\d+)(th|st|nd|rd)?/i, Rs = /\d+/i, Bs = {
4113
4109
  parsePatterns: zs,
4114
4110
  defaultParseWidth: "any"
4115
4111
  })
4116
- }, lo = {
4112
+ }, so = {
4117
4113
  code: "en-US",
4118
4114
  formatDistance: gs,
4119
4115
  formatLong: Cs,
@@ -4129,9 +4125,9 @@ function Us(n) {
4129
4125
  const t = Ye(n);
4130
4126
  return ds(t, hs(t)) + 1;
4131
4127
  }
4132
- function uo(n) {
4128
+ function lo(n) {
4133
4129
  const t = Ye(n), e = +Ht(t) - +fs(t);
4134
- return Math.round(e / io) + 1;
4130
+ return Math.round(e / ao) + 1;
4135
4131
  }
4136
4132
  function _n(n, t) {
4137
4133
  var c, d, p, f;
@@ -4147,9 +4143,9 @@ function Xs(n, t) {
4147
4143
  const e = jt(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((c = (u = e.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, r = _n(n, t), a = $e(n, 0);
4148
4144
  return a.setFullYear(r, 0, o), a.setHours(0, 0, 0, 0), Et(a, t);
4149
4145
  }
4150
- function co(n, t) {
4146
+ function uo(n, t) {
4151
4147
  const e = Ye(n), o = +Et(e, t) - +Xs(e, t);
4152
- return Math.round(o / io) + 1;
4148
+ return Math.round(o / ao) + 1;
4153
4149
  }
4154
4150
  function Oe(n, t) {
4155
4151
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -4218,7 +4214,7 @@ const xt = {
4218
4214
  afternoon: "afternoon",
4219
4215
  evening: "evening",
4220
4216
  night: "night"
4221
- }, Vn = {
4217
+ }, Nn = {
4222
4218
  // Era
4223
4219
  G: function(n, t, e) {
4224
4220
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -4253,7 +4249,7 @@ const xt = {
4253
4249
  },
4254
4250
  // ISO week-numbering year
4255
4251
  R: function(n, t) {
4256
- const e = so(n);
4252
+ const e = io(n);
4257
4253
  return Oe(e, t.length);
4258
4254
  },
4259
4255
  // Extended year. This is a single number designating the year of this calendar system.
@@ -4376,12 +4372,12 @@ const xt = {
4376
4372
  },
4377
4373
  // Local week of year
4378
4374
  w: function(n, t, e, o) {
4379
- const r = co(n, o);
4375
+ const r = uo(n, o);
4380
4376
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Oe(r, t.length);
4381
4377
  },
4382
4378
  // ISO week of year
4383
4379
  I: function(n, t, e) {
4384
- const o = uo(n);
4380
+ const o = lo(n);
4385
4381
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Oe(o, t.length);
4386
4382
  },
4387
4383
  // Day of the month
@@ -4644,7 +4640,7 @@ const xt = {
4644
4640
  return "Z";
4645
4641
  switch (t) {
4646
4642
  case "X":
4647
- return Bn(o);
4643
+ return Rn(o);
4648
4644
  case "XXXX":
4649
4645
  case "XX":
4650
4646
  return Pt(o);
@@ -4659,7 +4655,7 @@ const xt = {
4659
4655
  const o = n.getTimezoneOffset();
4660
4656
  switch (t) {
4661
4657
  case "x":
4662
- return Bn(o);
4658
+ return Rn(o);
4663
4659
  case "xxxx":
4664
4660
  case "xx":
4665
4661
  return Pt(o);
@@ -4676,7 +4672,7 @@ const xt = {
4676
4672
  case "O":
4677
4673
  case "OO":
4678
4674
  case "OOO":
4679
- return "GMT" + Rn(o, ":");
4675
+ return "GMT" + Vn(o, ":");
4680
4676
  case "OOOO":
4681
4677
  default:
4682
4678
  return "GMT" + Pt(o, ":");
@@ -4689,7 +4685,7 @@ const xt = {
4689
4685
  case "z":
4690
4686
  case "zz":
4691
4687
  case "zzz":
4692
- return "GMT" + Rn(o, ":");
4688
+ return "GMT" + Vn(o, ":");
4693
4689
  case "zzzz":
4694
4690
  default:
4695
4691
  return "GMT" + Pt(o, ":");
@@ -4706,18 +4702,18 @@ const xt = {
4706
4702
  return Oe(o, t.length);
4707
4703
  }
4708
4704
  };
4709
- function Rn(n, t = "") {
4705
+ function Vn(n, t = "") {
4710
4706
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
4711
4707
  return a === 0 ? e + String(r) : e + String(r) + t + Oe(a, 2);
4712
4708
  }
4713
- function Bn(n, t) {
4709
+ function Rn(n, t) {
4714
4710
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Oe(Math.abs(n) / 60, 2) : Pt(n, t);
4715
4711
  }
4716
4712
  function Pt(n, t = "") {
4717
4713
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Oe(Math.trunc(o / 60), 2), a = Oe(o % 60, 2);
4718
4714
  return e + r + t + a;
4719
4715
  }
4720
- const Ln = (n, t) => {
4716
+ const Bn = (n, t) => {
4721
4717
  switch (n) {
4722
4718
  case "P":
4723
4719
  return t.date({ width: "short" });
@@ -4729,7 +4725,7 @@ const Ln = (n, t) => {
4729
4725
  default:
4730
4726
  return t.date({ width: "full" });
4731
4727
  }
4732
- }, fo = (n, t) => {
4728
+ }, co = (n, t) => {
4733
4729
  switch (n) {
4734
4730
  case "p":
4735
4731
  return t.time({ width: "short" });
@@ -4744,7 +4740,7 @@ const Ln = (n, t) => {
4744
4740
  }, Qs = (n, t) => {
4745
4741
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
4746
4742
  if (!r)
4747
- return Ln(n, t);
4743
+ return Bn(n, t);
4748
4744
  let a;
4749
4745
  switch (o) {
4750
4746
  case "P":
@@ -4761,15 +4757,15 @@ const Ln = (n, t) => {
4761
4757
  a = t.dateTime({ width: "full" });
4762
4758
  break;
4763
4759
  }
4764
- return a.replace("{{date}}", Ln(o, t)).replace("{{time}}", fo(r, t));
4760
+ return a.replace("{{date}}", Bn(o, t)).replace("{{time}}", co(r, t));
4765
4761
  }, vn = {
4766
- p: fo,
4762
+ p: co,
4767
4763
  P: Qs
4768
4764
  }, Ks = /^D+$/, Js = /^Y+$/, Zs = ["D", "DD", "YY", "YYYY"];
4769
- function po(n) {
4765
+ function fo(n) {
4770
4766
  return Ks.test(n);
4771
4767
  }
4772
- function mo(n) {
4768
+ function po(n) {
4773
4769
  return Js.test(n);
4774
4770
  }
4775
4771
  function gn(n, t, e) {
@@ -4781,9 +4777,9 @@ function el(n, t, e) {
4781
4777
  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`;
4782
4778
  }
4783
4779
  const tl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, nl = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ol = /^'([^]*?)'?$/, rl = /''/g, al = /[a-zA-Z]/;
4784
- function ho(n, t, e) {
4780
+ function mo(n, t, e) {
4785
4781
  var c, d, p, f;
4786
- const o = jt(), r = o.locale ?? lo, a = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((f = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
4782
+ const o = jt(), r = o.locale ?? so, a = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((f = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
4787
4783
  if (!ms(s))
4788
4784
  throw new RangeError("Invalid time value");
4789
4785
  let l = t.match(nl).map((m) => {
@@ -4799,7 +4795,7 @@ function ho(n, t, e) {
4799
4795
  const F = m[0];
4800
4796
  if (F === "'")
4801
4797
  return { isToken: !1, value: il(m) };
4802
- if (Vn[F])
4798
+ if (Nn[F])
4803
4799
  return { isToken: !0, value: m };
4804
4800
  if (F.match(al))
4805
4801
  throw new RangeError(
@@ -4816,8 +4812,8 @@ function ho(n, t, e) {
4816
4812
  return l.map((m) => {
4817
4813
  if (!m.isToken) return m.value;
4818
4814
  const F = m.value;
4819
- (mo(F) || po(F)) && gn(F, t, String(n));
4820
- const w = Vn[F[0]];
4815
+ (po(F) || fo(F)) && gn(F, t, String(n));
4816
+ const w = Nn[F[0]];
4821
4817
  return w(s, F, r.localize, u);
4822
4818
  }).join("");
4823
4819
  }
@@ -4846,7 +4842,7 @@ function ul(n, t) {
4846
4842
  ), e;
4847
4843
  }
4848
4844
  const cl = 10;
4849
- class vo {
4845
+ class ho {
4850
4846
  constructor() {
4851
4847
  B(this, "subPriority", 0);
4852
4848
  }
@@ -4854,7 +4850,7 @@ class vo {
4854
4850
  return !0;
4855
4851
  }
4856
4852
  }
4857
- class dl extends vo {
4853
+ class dl extends ho {
4858
4854
  constructor(t, e, o, r, a) {
4859
4855
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, a && (this.subPriority = a);
4860
4856
  }
@@ -4865,7 +4861,7 @@ class dl extends vo {
4865
4861
  return this.setValue(t, e, this.value, o);
4866
4862
  }
4867
4863
  }
4868
- class fl extends vo {
4864
+ class fl extends ho {
4869
4865
  constructor() {
4870
4866
  super(...arguments);
4871
4867
  B(this, "priority", cl);
@@ -4989,7 +4985,7 @@ function pt(n, t) {
4989
4985
  rest: t.slice(e[0].length)
4990
4986
  };
4991
4987
  }
4992
- function go(n) {
4988
+ function vo(n) {
4993
4989
  return We(je.anyDigitsSigned, n);
4994
4990
  }
4995
4991
  function He(n, t) {
@@ -5037,7 +5033,7 @@ function xn(n) {
5037
5033
  return 0;
5038
5034
  }
5039
5035
  }
5040
- function yo(n, t) {
5036
+ function go(n, t) {
5041
5037
  const e = t > 0, o = e ? t : 1 - t;
5042
5038
  let r;
5043
5039
  if (o <= 50)
@@ -5048,7 +5044,7 @@ function yo(n, t) {
5048
5044
  }
5049
5045
  return e ? r : 1 - r;
5050
5046
  }
5051
- function bo(n) {
5047
+ function yo(n) {
5052
5048
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
5053
5049
  }
5054
5050
  class ml extends Me {
@@ -5082,7 +5078,7 @@ class ml extends Me {
5082
5078
  set(e, o, r) {
5083
5079
  const a = e.getFullYear();
5084
5080
  if (r.isTwoDigitYear) {
5085
- const s = yo(
5081
+ const s = go(
5086
5082
  r.year,
5087
5083
  a
5088
5084
  );
@@ -5137,7 +5133,7 @@ class hl extends Me {
5137
5133
  set(e, o, r, a) {
5138
5134
  const i = _n(e, a);
5139
5135
  if (r.isTwoDigitYear) {
5140
- const l = yo(
5136
+ const l = go(
5141
5137
  r.year,
5142
5138
  i
5143
5139
  );
@@ -5443,7 +5439,7 @@ class Cl extends Me {
5443
5439
  }
5444
5440
  }
5445
5441
  function _l(n, t, e) {
5446
- const o = Ye(n), r = co(o, e) - t;
5442
+ const o = Ye(n), r = uo(o, e) - t;
5447
5443
  return o.setDate(o.getDate() - r * 7), o;
5448
5444
  }
5449
5445
  class xl extends Me {
@@ -5484,7 +5480,7 @@ class xl extends Me {
5484
5480
  }
5485
5481
  }
5486
5482
  function Sl(n, t) {
5487
- const e = Ye(n), o = uo(e) - t;
5483
+ const e = Ye(n), o = lo(e) - t;
5488
5484
  return e.setDate(e.getDate() - o * 7), e;
5489
5485
  }
5490
5486
  class Tl extends Me {
@@ -5570,7 +5566,7 @@ class Ml extends Me {
5570
5566
  }
5571
5567
  }
5572
5568
  validate(e, o) {
5573
- const r = e.getFullYear(), a = bo(r), i = e.getMonth();
5569
+ const r = e.getFullYear(), a = yo(r), i = e.getMonth();
5574
5570
  return a ? o >= 1 && o <= El[i] : o >= 1 && o <= kl[i];
5575
5571
  }
5576
5572
  set(e, o, r) {
@@ -5613,7 +5609,7 @@ class Fl extends Me {
5613
5609
  }
5614
5610
  validate(e, o) {
5615
5611
  const r = e.getFullYear();
5616
- return bo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
5612
+ return yo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
5617
5613
  }
5618
5614
  set(e, o, r) {
5619
5615
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -5622,7 +5618,7 @@ class Fl extends Me {
5622
5618
  function Sn(n, t, e) {
5623
5619
  var d, p, f, m;
5624
5620
  const o = jt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((p = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : p.weekStartsOn) ?? o.weekStartsOn ?? ((m = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : m.weekStartsOn) ?? 0, a = Ye(n), i = a.getDay(), l = (t % 7 + 7) % 7, u = 7 - r, c = t < 0 || t > 6 ? t - (i + u) % 7 : (l + u) % 7 - (i + u) % 7;
5625
- return ao(a, c);
5621
+ return ro(a, c);
5626
5622
  }
5627
5623
  class Ol extends Me {
5628
5624
  constructor() {
@@ -5793,7 +5789,7 @@ class Il extends Me {
5793
5789
  }
5794
5790
  function Pl(n, t) {
5795
5791
  const e = Ye(n), o = ll(e), r = t - o;
5796
- return ao(e, r);
5792
+ return ro(e, r);
5797
5793
  }
5798
5794
  class Nl extends Me {
5799
5795
  constructor() {
@@ -6243,7 +6239,7 @@ class Yl extends Me {
6243
6239
  B(this, "incompatibleTokens", "*");
6244
6240
  }
6245
6241
  parse(e) {
6246
- return go(e);
6242
+ return vo(e);
6247
6243
  }
6248
6244
  set(e, o, r) {
6249
6245
  return [$e(e, r * 1e3), { timestampIsSet: !0 }];
@@ -6256,7 +6252,7 @@ class Ul extends Me {
6256
6252
  B(this, "incompatibleTokens", "*");
6257
6253
  }
6258
6254
  parse(e) {
6259
- return go(e);
6255
+ return vo(e);
6260
6256
  }
6261
6257
  set(e, o, r) {
6262
6258
  return [$e(e, r), { timestampIsSet: !0 }];
@@ -6295,9 +6291,9 @@ const Xl = {
6295
6291
  t: new Yl(),
6296
6292
  T: new Ul()
6297
6293
  }, Ql = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Kl = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Jl = /^'([^]*?)'?$/, Zl = /''/g, eu = /\S/, tu = /[a-zA-Z]/;
6298
- function wo(n, t, e, o) {
6294
+ function bo(n, t, e, o) {
6299
6295
  var F, w, v, b;
6300
- const r = sl(), a = r.locale ?? lo, i = r.firstWeekContainsDate ?? ((w = (F = r.locale) == null ? void 0 : F.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((b = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : b.weekStartsOn) ?? 0;
6296
+ const r = sl(), a = r.locale ?? so, i = r.firstWeekContainsDate ?? ((w = (F = r.locale) == null ? void 0 : F.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((b = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : b.weekStartsOn) ?? 0;
6301
6297
  if (t === "")
6302
6298
  return n === "" ? Ye(e) : $e(e, NaN);
6303
6299
  const l = {
@@ -6313,7 +6309,7 @@ function wo(n, t, e, o) {
6313
6309
  return g;
6314
6310
  }).join("").match(Ql), d = [];
6315
6311
  for (let g of c) {
6316
- mo(g) && gn(g, t, n), po(g) && gn(g, t, n);
6312
+ po(g) && gn(g, t, n), fo(g) && gn(g, t, n);
6317
6313
  const _ = g[0], T = Xl[_];
6318
6314
  if (T) {
6319
6315
  const { incompatibleTokens: k } = T;
@@ -6370,7 +6366,7 @@ function wo(n, t, e, o) {
6370
6366
  function nu(n) {
6371
6367
  return n.match(Jl)[1].replace(Zl, "'");
6372
6368
  }
6373
- class Co {
6369
+ class wo {
6374
6370
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
6375
6371
  B(this, "editorType", "date-picker");
6376
6372
  B(this, "value");
@@ -6387,8 +6383,8 @@ class Co {
6387
6383
  }
6388
6384
  getDisplayText() {
6389
6385
  if (typeof this.value == "string" && this.value) {
6390
- const t = wo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6391
- return ho(t, this.displayFormat);
6386
+ const t = bo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6387
+ return mo(t, this.displayFormat);
6392
6388
  }
6393
6389
  return this.getValue();
6394
6390
  }
@@ -6423,7 +6419,7 @@ class nn {
6423
6419
  return !this.begin || !this.end;
6424
6420
  }
6425
6421
  }
6426
- class _o {
6422
+ class Co {
6427
6423
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
6428
6424
  B(this, "editorType", "datetime-picker");
6429
6425
  B(this, "value");
@@ -6440,8 +6436,8 @@ class _o {
6440
6436
  }
6441
6437
  getDisplayText() {
6442
6438
  if (typeof this.value == "string" && this.value) {
6443
- const t = wo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6444
- return ho(t, this.displayFormat);
6439
+ const t = bo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6440
+ return mo(t, this.displayFormat);
6445
6441
  }
6446
6442
  return this.getValue();
6447
6443
  }
@@ -6452,7 +6448,7 @@ class _o {
6452
6448
  return !this.value;
6453
6449
  }
6454
6450
  }
6455
- class xo {
6451
+ class _o {
6456
6452
  constructor(t = { value: "", valueList: [] }) {
6457
6453
  B(this, "editorType", "combo-list");
6458
6454
  B(this, "value");
@@ -6537,7 +6533,7 @@ class ou {
6537
6533
  return !this.displayText && !this.value.length;
6538
6534
  }
6539
6535
  }
6540
- class So {
6536
+ class xo {
6541
6537
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
6542
6538
  B(this, "editorType", "lookup");
6543
6539
  B(this, "helpId");
@@ -6565,7 +6561,7 @@ class So {
6565
6561
  return !this.mapFields.length;
6566
6562
  }
6567
6563
  }
6568
- class To {
6564
+ class So {
6569
6565
  constructor(t = { value: "" }) {
6570
6566
  B(this, "editorType", "month-picker");
6571
6567
  B(this, "value");
@@ -6588,7 +6584,7 @@ class To {
6588
6584
  return !this.value;
6589
6585
  }
6590
6586
  }
6591
- class ko {
6587
+ class To {
6592
6588
  constructor(t = { begin: "", end: "" }) {
6593
6589
  B(this, "editorType", "month-range");
6594
6590
  B(this, "begin");
@@ -6612,7 +6608,7 @@ class ko {
6612
6608
  return !this.begin || !this.end;
6613
6609
  }
6614
6610
  }
6615
- class Eo {
6611
+ class ko {
6616
6612
  constructor(t = { begin: null, end: null }) {
6617
6613
  B(this, "editorType", "number-range");
6618
6614
  B(this, "begin");
@@ -6639,7 +6635,7 @@ class Eo {
6639
6635
  return this.begin == null && this.end == null;
6640
6636
  }
6641
6637
  }
6642
- class Mo {
6638
+ class Eo {
6643
6639
  constructor(t = { value: "" }) {
6644
6640
  B(this, "editorType", "number-spinner");
6645
6641
  B(this, "value");
@@ -6663,7 +6659,7 @@ class Mo {
6663
6659
  return this.value == null || isNaN(this.value);
6664
6660
  }
6665
6661
  }
6666
- class Fo {
6662
+ class Mo {
6667
6663
  constructor(t = { value: null, valueList: [] }) {
6668
6664
  B(this, "editorType", "radio-group");
6669
6665
  B(this, "value");
@@ -6711,45 +6707,45 @@ class on {
6711
6707
  return !this.value;
6712
6708
  }
6713
6709
  }
6714
- function Oo() {
6710
+ function Fo() {
6715
6711
  function n(t, e) {
6716
6712
  switch (t) {
6717
6713
  case "check-box":
6718
- return new oo(e);
6714
+ return new no(e);
6719
6715
  case "combo-list":
6720
- return new xo(e);
6716
+ return new _o(e);
6721
6717
  case "combo-lookup":
6722
- return new ro(e);
6718
+ return new oo(e);
6723
6719
  case "input-group":
6724
6720
  return new ou(e);
6725
6721
  case "date-picker":
6726
- return new Co(e);
6722
+ return new wo(e);
6727
6723
  case "date-range":
6728
6724
  return new nn(e);
6729
6725
  case "datetime-picker":
6730
- return new _o(e);
6726
+ return new Co(e);
6731
6727
  case "datetime-range":
6732
6728
  return new nn(e);
6733
6729
  case "lookup":
6734
- return new So(e);
6730
+ return new xo(e);
6735
6731
  case "month-picker":
6736
- return new To(e);
6732
+ return new So(e);
6737
6733
  case "month-range":
6738
- return new ko(e);
6734
+ return new To(e);
6739
6735
  case "number-range":
6740
- return new Eo(e);
6736
+ return new ko(e);
6741
6737
  case "number-spinner":
6742
- return new Mo(e);
6738
+ return new Eo(e);
6743
6739
  case "radio-group":
6744
- return new Fo(e);
6740
+ return new Mo(e);
6745
6741
  default:
6746
6742
  return new on(e);
6747
6743
  }
6748
6744
  }
6749
6745
  return { createConditionValue: n };
6750
6746
  }
6751
- function Do(n, t) {
6752
- const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = Oo();
6747
+ function Oo(n, t) {
6748
+ const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = Fo();
6753
6749
  function i(c) {
6754
6750
  switch (c.editor ? c.editor.type : "input-group") {
6755
6751
  case "date-range":
@@ -6803,7 +6799,7 @@ function ru(n, t, e) {
6803
6799
  let p = "col-12";
6804
6800
  return c > 250 * 6 ? p = "col-2" : c > 250 * 4 ? p = "col-3" : c > 250 * 3 ? p = "col-4" : c > 250 * 2 && (p = "col-6"), p;
6805
6801
  }
6806
- const u = q(() => l(a.value));
6802
+ const u = A(() => l(a.value));
6807
6803
  return Ee([e], ([c]) => {
6808
6804
  r.value = c, s();
6809
6805
  }), {
@@ -6811,14 +6807,14 @@ function ru(n, t, e) {
6811
6807
  resizeObserver: o
6812
6808
  };
6813
6809
  }
6814
- const Wn = /* @__PURE__ */ tt({
6810
+ const Ln = /* @__PURE__ */ tt({
6815
6811
  name: "FConditionFields",
6816
- props: no,
6812
+ props: to,
6817
6813
  emits: ["valueChange", "blur", "focus", "click", "input"],
6818
6814
  setup(n, t) {
6819
6815
  const e = S(), o = S(n.key);
6820
6816
  S(n.isControlInline);
6821
- const r = S(n.conditions), a = Do(n), {
6817
+ const r = S(n.conditions), a = Oo(n), {
6822
6818
  initialConditionValue: i,
6823
6819
  fieldMap: s,
6824
6820
  loadFieldConfigs: l
@@ -6826,19 +6822,19 @@ const Wn = /* @__PURE__ */ tt({
6826
6822
  conditionClass: c,
6827
6823
  resizeObserver: d
6828
6824
  } = u;
6829
- l(!0), i(r.value), qn(() => {
6825
+ l(!0), i(r.value), An(() => {
6830
6826
  var w;
6831
6827
  (w = d.value) == null || w.unobserve(e.value);
6832
6828
  }), Ee(() => n.conditions, () => {
6833
6829
  r.value = n.conditions, i(r.value);
6834
6830
  });
6835
- const p = q(() => ({
6831
+ const p = A(() => ({
6836
6832
  // row: true,
6837
6833
  "f-utils-flex-row-wrap": !0,
6838
6834
  "farris-form": !0,
6839
6835
  "condition-div": !0,
6840
6836
  "farris-form-controls-inline": n.isControlInline
6841
- })), f = q(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
6837
+ })), f = A(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
6842
6838
  function m(w, v, b, g) {
6843
6839
  w.value.editorType === "combo-list" && g.newValue ? w.value.valueList = g.newValue.map((_) => ({
6844
6840
  name: _.name,
@@ -6875,11 +6871,11 @@ const Wn = /* @__PURE__ */ tt({
6875
6871
  }, null);
6876
6872
  });
6877
6873
  }
6878
- return () => jo(O("div", {
6874
+ return () => Ho(O("div", {
6879
6875
  class: p.value,
6880
6876
  key: o.value,
6881
6877
  ref: e
6882
- }, [F()]), [[Ao("area-response")]]);
6878
+ }, [F()]), [[jo("area-response")]]);
6883
6879
  }
6884
6880
  }), Tn = /* @__PURE__ */ new Map([
6885
6881
  ["appearance", ln]
@@ -7148,7 +7144,7 @@ const bu = "https://json-schema.org/draft/2020-12/schema", wu = "https://farris-
7148
7144
  "id",
7149
7145
  "type",
7150
7146
  "editor"
7151
- ], Io = {
7147
+ ], Do = {
7152
7148
  $schema: bu,
7153
7149
  $id: wu,
7154
7150
  title: Cu,
@@ -7156,7 +7152,7 @@ const bu = "https://json-schema.org/draft/2020-12/schema", wu = "https://farris-
7156
7152
  type: xu,
7157
7153
  properties: Su,
7158
7154
  required: Tu
7159
- }, Po = {
7155
+ }, Io = {
7160
7156
  id: { type: String, default: "" },
7161
7157
  customClass: { type: String, default: "" },
7162
7158
  customStyle: { type: String, default: "" },
@@ -7174,12 +7170,12 @@ const bu = "https://json-schema.org/draft/2020-12/schema", wu = "https://farris-
7174
7170
  errors: { type: Object, default: null }
7175
7171
  };
7176
7172
  Lt(
7177
- Po,
7178
7173
  Io,
7174
+ Do,
7179
7175
  Tn,
7180
7176
  void 0
7181
7177
  );
7182
- function No(n, t, e) {
7178
+ function Po(n, t, e) {
7183
7179
  var h;
7184
7180
  const o = e && e.getStyles && e.getStyles() || "", r = e && e.getDesignerClass && e.getDesignerClass() || "", a = S();
7185
7181
  function i() {
@@ -7226,7 +7222,7 @@ function No(n, t, e) {
7226
7222
  }
7227
7223
  function w(x, C) {
7228
7224
  const { componentType: E } = x;
7229
- let y = Un(E, x, C);
7225
+ let y = Yn(E, x, C);
7230
7226
  e && e.onResolveNewComponentSchema && (y = e.onResolveNewComponentSchema(x, y));
7231
7227
  const I = E.toLowerCase().replace(/-/g, "_");
7232
7228
  return y && !y.id && y.type === E && (y.id = `${I}_${Math.random().toString().slice(2, 6)}`), y;
@@ -7586,7 +7582,7 @@ class Fu {
7586
7582
  };
7587
7583
  }
7588
7584
  }
7589
- class Vo {
7585
+ class No {
7590
7586
  constructor(t, e) {
7591
7587
  B(this, "componentId");
7592
7588
  B(this, "viewModelId");
@@ -7862,7 +7858,7 @@ const Ou = {
7862
7858
  }), Ee([() => n.valid, () => n.inValidTip], ([l, u]) => {
7863
7859
  r.value = l, a.value = u;
7864
7860
  });
7865
- const i = q(() => r.value ? o.value : a.value), s = q(() => r.value ? "" : "color:red");
7861
+ const i = A(() => r.value ? o.value : a.value), s = A(() => r.value ? "" : "color:red");
7866
7862
  return () => o.value && O("label", {
7867
7863
  class: "col-form-label",
7868
7864
  title: i.value,
@@ -7878,9 +7874,9 @@ const Ou = {
7878
7874
  }, [o.value])]);
7879
7875
  }
7880
7876
  }), se = {}, le = {}, ue = {}, ce = {};
7881
- let $n = !1;
7877
+ let Wn = !1;
7882
7878
  function Iu() {
7883
- $n || ($n = !0, Qr.register(se, le, ue, ce), Xr.register(se, le, ue, ce), Kr.register(se, le, ue, ce), Jr.register(se, le, ue, ce), Zr.register(se, le, ue, ce), ea.register(se, le, ue, ce), Dn.register(se, le, ue, ce), In.register(se, le, ue, ce), Dn.register(se, le, ue, ce), In.register(se, le, ue, ce), mn.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), ra.register(se, le, ue, ce), oa.register(se, le, ue, ce), aa.register(se, le, ue, ce), ia.register(se, le, ue, ce), sa.register(se, le, ue, ce), Gr.register(se, le, ue, ce), la.register(se, le, ue, ce), Ja.register(se, le, ue, ce), $r.register(se, le, ue, ce), ua.register(se, le, ue, ce), Ga.register(se, le, ue, ce), da.register(se, le, ue, ce), fa.register(se, le, ue, ce), pa.register(se, le, ue, ce), ha.register(se, le, ue, ce), ma.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ya.register(se, le, ue, ce), ba.register(se, le, ue, ce), wa.register(se, le, ue, ce), Pr.register(se, le, ue, ce), Ca.register(se, le, ue, ce), _a.register(se, le, ue, ce), Hr.register(se, le, ue, ce), xa.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), ka.register(se, le, ue, ce), Ma.register(se, le, ue, ce), Fa.register(se, le, ue, ce), Ea.register(se, le, ue, ce), ja.register(se, le, ue), Ar.register(se, le, ue, ce), Oa.register(se, le, ue, ce), Da.register(se, le, ue, ce), Ia.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ya.register(se, le, ue, ce), Ir.register(se, le, ue, ce), qr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Ra.register(se, le, ue, ce), Dr.register(se, le, ue, ce), Ba.register(se, le, ue, ce), Wa.register(se, le, ue, ce), La.register(se, le, ue, ce), $a.register(se, le, ue, ce), Ha.register(se, le, ue, ce), Aa.register(se, le, ue, ce), ca.register(se, le, ue, ce), qa.register(se, le, ue, ce), za.register(se, le, ue, ce), Ua.register(se, le, ue, ce), Xa.register(se, le, ue, ce), Qa.register(se, le, ue, ce), Ka.register(se, le, ue, ce), Za.register(se, le, ue, ce), ei.register(se, le, ue, ce));
7879
+ Wn || (Wn = !0, Qr.register(se, le, ue, ce), Xr.register(se, le, ue, ce), Kr.register(se, le, ue, ce), Jr.register(se, le, ue, ce), Zr.register(se, le, ue, ce), ea.register(se, le, ue, ce), On.register(se, le, ue, ce), Dn.register(se, le, ue, ce), On.register(se, le, ue, ce), Dn.register(se, le, ue, ce), mn.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), ra.register(se, le, ue, ce), oa.register(se, le, ue, ce), aa.register(se, le, ue, ce), ia.register(se, le, ue, ce), sa.register(se, le, ue, ce), Gr.register(se, le, ue, ce), la.register(se, le, ue, ce), Ja.register(se, le, ue, ce), Wr.register(se, le, ue, ce), ua.register(se, le, ue, ce), Ga.register(se, le, ue, ce), da.register(se, le, ue, ce), fa.register(se, le, ue, ce), pa.register(se, le, ue, ce), ha.register(se, le, ue, ce), ma.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ya.register(se, le, ue, ce), ba.register(se, le, ue, ce), wa.register(se, le, ue, ce), Ir.register(se, le, ue, ce), Ca.register(se, le, ue, ce), _a.register(se, le, ue, ce), Hr.register(se, le, ue, ce), xa.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), ka.register(se, le, ue, ce), Ma.register(se, le, ue, ce), Fa.register(se, le, ue, ce), Ea.register(se, le, ue, ce), ja.register(se, le, ue), Ar.register(se, le, ue, ce), Oa.register(se, le, ue, ce), Da.register(se, le, ue, ce), Ia.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ya.register(se, le, ue, ce), Dr.register(se, le, ue, ce), qr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Ra.register(se, le, ue, ce), Or.register(se, le, ue, ce), Ba.register(se, le, ue, ce), Wa.register(se, le, ue, ce), La.register(se, le, ue, ce), $a.register(se, le, ue, ce), Ha.register(se, le, ue, ce), Aa.register(se, le, ue, ce), ca.register(se, le, ue, ce), qa.register(se, le, ue, ce), za.register(se, le, ue, ce), Ua.register(se, le, ue, ce), Xa.register(se, le, ue, ce), Qa.register(se, le, ue, ce), Ka.register(se, le, ue, ce), Za.register(se, le, ue, ce), ei.register(se, le, ue, ce));
7884
7880
  }
7885
7881
  function Pu() {
7886
7882
  Iu();
@@ -8009,7 +8005,7 @@ const Nu = {
8009
8005
  Ee(() => n.errors, (a) => {
8010
8006
  e.value = a;
8011
8007
  });
8012
- const o = S(!0), r = q(() => {
8008
+ const o = S(!0), r = A(() => {
8013
8009
  if (e.value) {
8014
8010
  const a = Object.keys(e.value).map((i) => {
8015
8011
  var s;
@@ -8030,7 +8026,7 @@ const Nu = {
8030
8026
  }
8031
8027
  }), Ru = /* @__PURE__ */ tt({
8032
8028
  name: "FDynamicFormGroup",
8033
- props: Po,
8029
+ props: Io,
8034
8030
  emits: ["change", "update:modelValue"],
8035
8031
  setup(n, t) {
8036
8032
  var k;
@@ -8041,7 +8037,7 @@ const Nu = {
8041
8037
  resolveEditorType: m,
8042
8038
  getChangeFunctionName: F,
8043
8039
  getClearFunctionName: w
8044
- } = Pu(), v = q(() => ({
8040
+ } = Pu(), v = A(() => ({
8045
8041
  "form-group": !0,
8046
8042
  "farris-form-group": !0,
8047
8043
  "common-group": !0,
@@ -8057,7 +8053,7 @@ const Nu = {
8057
8053
  function g() {
8058
8054
  t.emit("update:modelValue", "");
8059
8055
  }
8060
- const _ = q(() => {
8056
+ const _ = A(() => {
8061
8057
  const h = r.value.type || "input-group", x = m(h), C = f(h, r.value), E = F(h), y = w(r.value.type);
8062
8058
  return y && (C[y] = g), C[E] = b, (C.id == null || C.id === "") && (C.id = e.value), h === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (C.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (C.onEndValueChange = r.value.onEndValueChange)) : h === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? C["onUpdate:idValue"] = r.value["onUpdate:idValue"] : h === "property-editor" && (C.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => O(x, Vt({
8063
8059
  ref: d
@@ -8177,7 +8173,7 @@ B($t, "fieldControlTypeMapping", {
8177
8173
  { key: ae["radio-group"].type, value: ae["radio-group"].name }
8178
8174
  ]
8179
8175
  });
8180
- let Hn = $t;
8176
+ let $n = $t;
8181
8177
  const Wu = {
8182
8178
  id: { type: String, default: "" },
8183
8179
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
@@ -8195,7 +8191,7 @@ const Wu = {
8195
8191
  };
8196
8192
  Lt(
8197
8193
  Wu,
8198
- Io,
8194
+ Do,
8199
8195
  Tn,
8200
8196
  void 0
8201
8197
  );
@@ -8287,7 +8283,7 @@ function Zu() {
8287
8283
  return { onCopy: n };
8288
8284
  }
8289
8285
  function ec(n, t, e, o) {
8290
- const r = S(14), a = S(140), i = S(""), s = S(o.value.length), l = q(() => o.value), u = q(() => ({
8286
+ const r = S(14), a = S(140), i = S(""), s = S(o.value.length), l = A(() => o.value), u = A(() => ({
8291
8287
  "font-size": `${r.value}px`,
8292
8288
  height: "100%"
8293
8289
  }));
@@ -8321,7 +8317,7 @@ function tc(n, t, e, o) {
8321
8317
  function nc() {
8322
8318
  const n = S(!1), t = S("复制成功");
8323
8319
  return {
8324
- feedbackStyle: q(() => {
8320
+ feedbackStyle: A(() => {
8325
8321
  const o = {
8326
8322
  position: "absolute",
8327
8323
  left: "50%",
@@ -8349,7 +8345,7 @@ function oc(n, t) {
8349
8345
  return () => e && e();
8350
8346
  }
8351
8347
  function rc(n) {
8352
- const t = q(() => !!n.value && !!n.value.date), e = q(() => `发生时间 : ${n.value && n.value.date || ""}`), o = q(() => !!n.value && !!n.value.detail), r = q(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
8348
+ const t = A(() => !!n.value && !!n.value.date), e = A(() => `发生时间 : ${n.value && n.value.date || ""}`), o = A(() => !!n.value && !!n.value.detail), r = A(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
8353
8349
  return () => O("div", {
8354
8350
  class: "toast-msg-detail"
8355
8351
  }, [t.value && O("div", null, [e.value]), o.value && /* <div id="exception_error_msg" class="exception_error_msg" ref="exceptionMessageRef" style={exceptionMessageStyle.value}>
@@ -8381,12 +8377,12 @@ function ac(n) {
8381
8377
  }, null);
8382
8378
  }
8383
8379
  function ic(n, t, e, o) {
8384
- const r = S(n.exceptionInfo), a = q(() => {
8380
+ const r = S(n.exceptionInfo), a = A(() => {
8385
8381
  const p = {
8386
8382
  "f-icon": !0
8387
8383
  }, f = `f-icon-${t.value}`;
8388
8384
  return p[f] = !0, p;
8389
- }), i = q(() => e.value || r.value && r.value.message), s = q(() => o.value), l = q(() => !!o.value), u = q(() => !!r.value);
8385
+ }), i = A(() => e.value || r.value && r.value.message), s = A(() => o.value), l = A(() => !!o.value), u = A(() => !!r.value);
8390
8386
  function c() {
8391
8387
  return u.value ? rc(r) : l.value ? ac(s) : () => null;
8392
8388
  }
@@ -8411,7 +8407,7 @@ function sc(n, t, e) {
8411
8407
  date: "",
8412
8408
  message: "",
8413
8409
  detail: ""
8414
- }), l = q(() => s.value && s.value.detail || "");
8410
+ }), l = A(() => s.value && s.value.detail || "");
8415
8411
  function u(c) {
8416
8412
  o(l.value).catch((d) => {
8417
8413
  a.value = "复制失败";
@@ -8429,7 +8425,7 @@ function sc(n, t, e) {
8429
8425
  }, [i.value])]);
8430
8426
  }
8431
8427
  function lc(n, t, e, o) {
8432
- const r = S(n.type), a = S(n.buttons), i = S(n.exceptionInfo), s = S(n.okButtonText), l = S(n.cancelButtonText), u = S(!0), c = S(!0), d = q(() => !!(a.value && a.value.length)), p = q(() => i.value && i.value.date && i.value.message && i.value.detail), f = q(() => !(a.value && a.value.length) && (s.value || l.value)), m = q(() => c.value && s.value), F = q(() => u.value && l.value), w = sc(n, e, o);
8428
+ const r = S(n.type), a = S(n.buttons), i = S(n.exceptionInfo), s = S(n.okButtonText), l = S(n.cancelButtonText), u = S(!0), c = S(!0), d = A(() => !!(a.value && a.value.length)), p = A(() => i.value && i.value.date && i.value.message && i.value.detail), f = A(() => !(a.value && a.value.length) && (s.value || l.value)), m = A(() => c.value && s.value), F = A(() => u.value && l.value), w = sc(n, e, o);
8433
8429
  function v(g) {
8434
8430
  r.value === "question" && t.emit("reject"), t.emit("close");
8435
8431
  }
@@ -8459,14 +8455,14 @@ const Zt = /* @__PURE__ */ tt({
8459
8455
  props: Xu,
8460
8456
  emits: ["accept", "reject", "close"],
8461
8457
  setup(n, t) {
8462
- const e = S(n.type), o = S(n.title), r = S(n.detail), a = q(() => {
8458
+ const e = S(n.type), o = S(n.title), r = S(n.detail), a = A(() => {
8463
8459
  const w = {
8464
8460
  "modal-tips": !0,
8465
8461
  "d-flex": !0,
8466
8462
  "flex-row": !0
8467
8463
  }, v = `messager-type-${e.value}`;
8468
8464
  return w[v] = !0, w;
8469
- }), i = q(() => {
8465
+ }), i = A(() => {
8470
8466
  const w = {};
8471
8467
  return e.value === "prompt" ? w.padding = "0.5rem 0.5rem 1rem 1.5rem" : e.value === "error" && (w.padding = "0.5rem 1.5rem 1rem 1.5rem"), w;
8472
8468
  }), s = Zu(), l = tc(n, e, o, r), u = nc(), {
@@ -8923,7 +8919,7 @@ function dc(n, t, e) {
8923
8919
  resetTranslate: _
8924
8920
  };
8925
8921
  }
8926
- function Ro(n, t) {
8922
+ function Vo(n, t) {
8927
8923
  if (n) {
8928
8924
  const e = (o) => {
8929
8925
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -8936,7 +8932,7 @@ function Ro(n, t) {
8936
8932
  function fc(n, t) {
8937
8933
  const e = S(n.enableEsc);
8938
8934
  let o = null;
8939
- return e.value ? (o = Ro("Escape", (r) => {
8935
+ return e.value ? (o = Vo("Escape", (r) => {
8940
8936
  t.emit("esc", { event: r.event, type: "esc" });
8941
8937
  }), {
8942
8938
  remove: o
@@ -8945,7 +8941,7 @@ function fc(n, t) {
8945
8941
  function pc(n, t) {
8946
8942
  const e = S(n.enableEnter);
8947
8943
  let o = null;
8948
- return e.value ? (o = Ro("Enter", (r) => {
8944
+ return e.value ? (o = Vo("Enter", (r) => {
8949
8945
  t.emit("enter", { event: r.event, type: "enter" });
8950
8946
  }), {
8951
8947
  remove: o
@@ -8979,7 +8975,7 @@ const zt = /* @__PURE__ */ tt({
8979
8975
  handle: (J) => {
8980
8976
  T(J, !0);
8981
8977
  }
8982
- }], h = S(n.buttons && n.buttons.length ? n.buttons : k), x = q(() => !!u.value), C = q(() => !!w.value && !!h.value), E = S(), y = S(), I = S(!1), {
8978
+ }], h = S(n.buttons && n.buttons.length ? n.buttons : k), x = A(() => !!u.value), C = A(() => !!w.value && !!h.value), E = S(), y = S(), I = S(!1), {
8983
8979
  renderResizeBar: P,
8984
8980
  maximize: M,
8985
8981
  restore: D,
@@ -9015,7 +9011,7 @@ const zt = /* @__PURE__ */ tt({
9015
9011
  isMaximized: I.value
9016
9012
  });
9017
9013
  });
9018
- const X = q(() => (r.value && document.body.classList.add("modal-open"), r.value)), j = q(() => {
9014
+ const X = A(() => (r.value && document.body.classList.add("modal-open"), r.value)), j = A(() => {
9019
9015
  var De;
9020
9016
  const J = {
9021
9017
  modal: !0,
@@ -9025,13 +9021,13 @@ const zt = /* @__PURE__ */ tt({
9025
9021
  J["f-modal-fitContent"] = !!s.value, J.show = !!X.value;
9026
9022
  const Se = (De = n.maskClass) == null ? void 0 : De.split(" ");
9027
9023
  return Se == null || Se.reduce((qe, Re) => (qe[Re] = !0, qe), J), J;
9028
- }), W = q(() => {
9024
+ }), W = A(() => {
9029
9025
  var De;
9030
9026
  const J = {
9031
9027
  "modal-dialog": !0
9032
9028
  }, Se = (De = i.value) == null ? void 0 : De.split(" ");
9033
9029
  return Se == null || Se.reduce((qe, Re) => (qe[Re] = !0, qe), J), J;
9034
- }), z = q(() => {
9030
+ }), z = A(() => {
9035
9031
  const J = {
9036
9032
  position: "absolute",
9037
9033
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -9040,24 +9036,24 @@ const zt = /* @__PURE__ */ tt({
9040
9036
  height: s.value ? "auto" : `${o.value}px`
9041
9037
  };
9042
9038
  return n.mask || (J.pointerEvents = "auto"), J;
9043
- }), K = q(() => {
9039
+ }), K = A(() => {
9044
9040
  const J = {
9045
9041
  display: "block"
9046
9042
  };
9047
9043
  return n.mask || (J.pointerEvents = "none", J.backgroundColor = "transparent"), _.value && (J.backgroundColor = "transparent"), J;
9048
- }), ie = q(() => ({
9044
+ }), ie = A(() => ({
9049
9045
  "modal-content": !0,
9050
9046
  "modal-content-has-header": l.value
9051
- })), Z = q(() => {
9047
+ })), Z = A(() => {
9052
9048
  const J = {
9053
9049
  display: l.value ? "" : "none"
9054
9050
  };
9055
9051
  return J["pointer-events"] = R.value ? "auto" : "none", J;
9056
- }), fe = q(() => ({
9052
+ }), me = A(() => ({
9057
9053
  "f-icon": !0,
9058
9054
  modal_maximize: !0,
9059
9055
  modalrevert: I.value
9060
- })), ve = q(() => ({
9056
+ })), ve = A(() => ({
9061
9057
  "modal-body": !0,
9062
9058
  "f-utils-flex-column": f.value === "iframe",
9063
9059
  "f-utils-fill": !0
@@ -9067,7 +9063,7 @@ const zt = /* @__PURE__ */ tt({
9067
9063
  height: `${n.footerHeight || 60}px`
9068
9064
  };
9069
9065
  }
9070
- const Pe = q(() => {
9066
+ const Pe = A(() => {
9071
9067
  const J = {
9072
9068
  textAlgin: F.value
9073
9069
  }, Se = xe();
@@ -9086,13 +9082,13 @@ const zt = /* @__PURE__ */ tt({
9086
9082
  function de(J) {
9087
9083
  J.width && (e.value = J.width), J.height && (o.value = J.height), J.buttons && (h.value = J.buttons), J.title && (v.value = J.title);
9088
9084
  }
9089
- let A = null, te = null;
9090
- qo(() => {
9085
+ let q = null, oe = null;
9086
+ Ao(() => {
9091
9087
  _.value = V();
9092
9088
  }), Bt(() => {
9093
- y.value && !b.value && (b.value = y.value.parentElement, G.value = b.value, Q(E.value, y.value, G.value)), X.value && document.body.classList.add("modal-open"), A = fc(n, t), te = pc(n, t);
9089
+ y.value && !b.value && (b.value = y.value.parentElement, G.value = b.value, Q(E.value, y.value, G.value)), X.value && document.body.classList.add("modal-open"), q = fc(n, t), oe = pc(n, t);
9094
9090
  }), an(() => {
9095
- $ && $(), A && A.remove(), te && te.remove();
9091
+ $ && $(), q && q.remove(), oe && oe.remove();
9096
9092
  }), t.expose({
9097
9093
  modalElementRef: y,
9098
9094
  updateModalOptions: de,
@@ -9110,7 +9106,7 @@ const zt = /* @__PURE__ */ tt({
9110
9106
  class: "f-btn-icon f-bare",
9111
9107
  style: "pointer-events: auto;"
9112
9108
  }, [O("span", {
9113
- class: fe.value
9109
+ class: me.value
9114
9110
  }, null)]), c.value && O("li", {
9115
9111
  class: "f-btn-icon f-bare",
9116
9112
  onClick: (J) => T(J, !1),
@@ -9183,10 +9179,10 @@ const zt = /* @__PURE__ */ tt({
9183
9179
  src: m.value
9184
9180
  }, null)]), ot()]), !s.value && y.value && !I.value && P(y.value)]);
9185
9181
  }
9186
- return () => O(Go, {
9182
+ return () => O(qo, {
9187
9183
  to: "body"
9188
9184
  }, {
9189
- default: () => [X.value && O(An, {
9185
+ default: () => [X.value && O(jn, {
9190
9186
  name: "fade",
9191
9187
  appear: !0
9192
9188
  }, {
@@ -9200,7 +9196,7 @@ const zt = /* @__PURE__ */ tt({
9200
9196
  });
9201
9197
  }
9202
9198
  });
9203
- function Bo(n) {
9199
+ function Ro(n) {
9204
9200
  if (n.content && n.content.render)
9205
9201
  return n.content.render;
9206
9202
  if (n.render && typeof n.render == "function")
@@ -9209,7 +9205,7 @@ function Bo(n) {
9209
9205
  function mc(n) {
9210
9206
  const t = document.createElement("div");
9211
9207
  t.style.display = "contents";
9212
- const e = jn({
9208
+ const e = Hn({
9213
9209
  setup(o, r) {
9214
9210
  an(() => {
9215
9211
  document.body.removeChild(t);
@@ -9219,7 +9215,7 @@ function mc(n) {
9219
9215
  }), m = n.closedCallback || ((g) => {
9220
9216
  }), F = n.resizeHandle || ((g) => {
9221
9217
  }), w = n.stopMoveHandle || ((g) => {
9222
- }), v = Bo(n), b = (g) => {
9218
+ }), v = Ro(n), b = (g) => {
9223
9219
  c.value = !1, e.unmount(), m(g);
9224
9220
  };
9225
9221
  return Bt(() => {
@@ -9251,14 +9247,14 @@ function mc(n) {
9251
9247
  });
9252
9248
  return document.body.appendChild(t), e.mount(t), e;
9253
9249
  }
9254
- class Lo {
9250
+ class Bo {
9255
9251
  constructor(t) {
9256
9252
  B(this, "appContext", null);
9257
9253
  B(this, "modalRef", S());
9258
9254
  B(this, "activeModalIndex", S(0));
9259
9255
  B(this, "modalRefs", {});
9260
9256
  B(this, "isUseEscCloseModal", S(!1));
9261
- B(this, "activeModalInstance", q(() => this.modalRefs[this.activeModalIndex.value]));
9257
+ B(this, "activeModalInstance", A(() => this.modalRefs[this.activeModalIndex.value]));
9262
9258
  this.app = t, this.appContext = t ? t._context : null;
9263
9259
  }
9264
9260
  getCurrentModal() {
@@ -9292,7 +9288,7 @@ class Lo {
9292
9288
  open(t) {
9293
9289
  const e = document.createDocumentFragment();
9294
9290
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
9295
- const o = zo(Object.assign({
9291
+ const o = Go(Object.assign({
9296
9292
  title: "",
9297
9293
  showButtons: !0,
9298
9294
  showHeader: !0
@@ -9303,7 +9299,7 @@ class Lo {
9303
9299
  }), u = t.stopMoveHandle || ((T) => {
9304
9300
  });
9305
9301
  let c;
9306
- const d = Bo(o.value), p = (T) => {
9302
+ const d = Ro(o.value), p = (T) => {
9307
9303
  var h;
9308
9304
  r.value = !1;
9309
9305
  const k = (h = T == null ? void 0 : T.target) == null ? void 0 : h.classList.contains("modal_close");
@@ -9339,7 +9335,7 @@ class Lo {
9339
9335
  default: () => [d && d(this.app)]
9340
9336
  });
9341
9337
  return c = ((T) => {
9342
- const k = Yo(b, T);
9338
+ const k = zo(b, T);
9343
9339
  return k.appContext = this.appContext, un(k, e), k;
9344
9340
  })({
9345
9341
  ...o.value
@@ -9349,7 +9345,7 @@ class Lo {
9349
9345
  o.value = {
9350
9346
  ...o.value,
9351
9347
  ...T
9352
- }, c && un(Uo(c, {
9348
+ }, c && un(Yo(c, {
9353
9349
  ...o
9354
9350
  }), e);
9355
9351
  },
@@ -9362,7 +9358,7 @@ class Lo {
9362
9358
  const hc = Symbol("FModalService");
9363
9359
  zt.install = (n) => {
9364
9360
  n.component(zt.name, zt);
9365
- const t = new Lo(n);
9361
+ const t = new Bo(n);
9366
9362
  n.provide(hc, t), n.provide("FModalService", t);
9367
9363
  };
9368
9364
  class St {
@@ -9372,7 +9368,7 @@ class St {
9372
9368
  }), o = !1, r = e.type === "error" || e.type === "prompt", a = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", i = e.acceptCallback || (() => {
9373
9369
  }), s = e.rejectCallback || (() => {
9374
9370
  });
9375
- let l = null, u = new Lo(l);
9371
+ let l = null, u = new Bo(l);
9376
9372
  const c = () => {
9377
9373
  l && (l == null || l.destroy(), u = null);
9378
9374
  };
@@ -9531,7 +9527,7 @@ function yc(n, t, e) {
9531
9527
  }
9532
9528
  return { getCompareOperators: r };
9533
9529
  }
9534
- function Wo() {
9530
+ function Lo() {
9535
9531
  const n = S({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
9536
9532
  let o = 0;
9537
9533
  function r() {
@@ -9719,7 +9715,7 @@ function bc(n, t, e) {
9719
9715
  const g = a.get(v.conditionId);
9720
9716
  u(g).forEach((T) => c(T));
9721
9717
  }
9722
- const p = q(() => o.value.size === 0 && r.value.size === 1), f = function(v) {
9718
+ const p = A(() => o.value.size === 0 && r.value.size === 1), f = function(v) {
9723
9719
  r.value.delete(v.groupId), v.items.forEach((g) => l(g)), v.children.forEach((g) => !p.value && f(g));
9724
9720
  const b = i.get(v.groupId);
9725
9721
  b && r.value.has(b.groupId) && f(b);
@@ -9746,15 +9742,15 @@ function bc(n, t, e) {
9746
9742
  }
9747
9743
  const fn = /* @__PURE__ */ tt({
9748
9744
  name: "FConditionList",
9749
- props: no,
9745
+ props: to,
9750
9746
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
9751
9747
  setup(n, t) {
9752
- const e = S(n.key), o = S(n.conditions), r = Do(n), {
9748
+ const e = S(n.key), o = S(n.conditions), r = Oo(n), {
9753
9749
  convertToSingleControl: a,
9754
9750
  fields: i,
9755
9751
  fieldMap: s,
9756
9752
  loadFieldConfigs: l
9757
- } = r, u = Wo(), {
9753
+ } = r, u = Lo(), {
9758
9754
  addCondition: c,
9759
9755
  changeGroupRelation: d,
9760
9756
  getConditions: p,
@@ -9767,7 +9763,7 @@ const fn = /* @__PURE__ */ tt({
9767
9763
  unGroup: g
9768
9764
  } = u, {
9769
9765
  createConditionValue: _
9770
- } = Oo(), T = bc(n, t, u), {
9766
+ } = Fo(), T = bc(n, t, u), {
9771
9767
  selectedItems: k,
9772
9768
  toggleSelect: h
9773
9769
  } = T, {
@@ -9911,7 +9907,7 @@ const fn = /* @__PURE__ */ tt({
9911
9907
  }
9912
9908
  });
9913
9909
  fn.install = (n) => {
9914
- n.component(Wn.name, Wn).component(fn.name, fn);
9910
+ n.component(Ln.name, Ln).component(fn.name, fn);
9915
9911
  };
9916
9912
  const wc = [
9917
9913
  "equal",
@@ -10045,37 +10041,37 @@ const wc = [
10045
10041
  ["text", Cc]
10046
10042
  ]);
10047
10043
  function Ec() {
10048
- const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Wo();
10044
+ const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Lo();
10049
10045
  function o(w, v) {
10050
10046
  switch (w) {
10051
10047
  case "check-box":
10052
- return new oo({ value: v });
10048
+ return new no({ value: v });
10053
10049
  case "combo-list":
10054
- return new xo({ value: v });
10050
+ return new _o({ value: v });
10055
10051
  case "combo-lookup":
10056
- return new ro({ value: v });
10052
+ return new oo({ value: v });
10057
10053
  case "input-group":
10058
10054
  return new on({ value: v });
10059
10055
  case "date-picker":
10060
- return new Co({ value: v });
10056
+ return new wo({ value: v });
10061
10057
  case "date-range":
10062
10058
  return new nn({ value: v });
10063
10059
  case "datetime-picker":
10064
- return new _o({ value: v });
10060
+ return new Co({ value: v });
10065
10061
  case "datetime-range":
10066
10062
  return new nn({ value: v });
10067
10063
  case "lookup":
10068
- return new So({ value: v });
10064
+ return new xo({ value: v });
10069
10065
  case "month-picker":
10070
- return new To({ value: v });
10066
+ return new So({ value: v });
10071
10067
  case "month-range":
10072
- return new ko({ value: v });
10068
+ return new To({ value: v });
10073
10069
  case "number-range":
10074
- return new Eo({ value: v });
10070
+ return new ko({ value: v });
10075
10071
  case "number-spinner":
10076
- return new Mo({ value: v });
10072
+ return new Eo({ value: v });
10077
10073
  case "radio-group":
10078
- return new Fo({ value: v });
10074
+ return new Mo({ value: v });
10079
10075
  default:
10080
10076
  return new on({ value: v });
10081
10077
  }
@@ -10146,21 +10142,21 @@ function Ec() {
10146
10142
  }
10147
10143
  function Mc(n) {
10148
10144
  S(n.selection.showCheckbox || !1);
10149
- const t = q(() => {
10145
+ const t = A(() => {
10150
10146
  var i;
10151
10147
  return ((i = n.hierarchy) == null ? void 0 : i.collapseField) || "__fv_collapse__";
10152
- }), e = q(() => {
10148
+ }), e = A(() => {
10153
10149
  var i;
10154
10150
  return ((i = n.hierarchy) == null ? void 0 : i.hasChildrenField) || "__fv_hasChildren__";
10155
- }), o = q(() => {
10151
+ }), o = A(() => {
10156
10152
  var i;
10157
10153
  return ((i = n.hierarchy) == null ? void 0 : i.parentIdField) || "parent";
10158
- }), r = q(() => n.hierarchy && n.selection.showCheckbox), a = q(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10154
+ }), r = A(() => n.hierarchy && n.selection.showCheckbox), a = A(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10159
10155
  return { collapseField: t, hasChildrenField: e, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: a };
10160
10156
  }
10161
10157
  function Fc(n, t, e, o, r, a, i, s, l) {
10162
10158
  var Ct;
10163
- const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: p, minVisibleRowIndex: f } = r, m = q(() => o.value.primaryColumnsWidth), F = q(() => o.value.leftColumnsWidth), w = q(() => o.value.rightColumnsWidth), v = ((Ct = n.rowOption) == null ? void 0 : Ct.height) || 28, b = S(0), g = S(0);
10159
+ const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: p, minVisibleRowIndex: f } = r, m = A(() => o.value.primaryColumnsWidth), F = A(() => o.value.leftColumnsWidth), w = A(() => o.value.rightColumnsWidth), v = ((Ct = n.rowOption) == null ? void 0 : Ct.height) || 28, b = S(0), g = S(0);
10164
10160
  let _ = 0, T = a.value - 1;
10165
10161
  const k = S(0), h = S(0), x = S(0), C = S(n.virtualized), E = 24, y = 1.5;
10166
10162
  let I = null;
@@ -10168,69 +10164,69 @@ function Fc(n, t, e, o, r, a, i, s, l) {
10168
10164
  const re = c.value;
10169
10165
  if (re.length <= 0)
10170
10166
  return 0;
10171
- const pe = p.value < re.length ? re[p.value] : re[re.length - 1];
10172
- 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 - p.value, 0) * v;
10167
+ const fe = p.value < re.length ? re[p.value] : re[re.length - 1];
10168
+ 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 - p.value, 0) * v;
10173
10169
  }
10174
- const M = q(() => {
10170
+ const M = A(() => {
10175
10171
  const re = P();
10176
10172
  c.value;
10177
- let pe = h.value / Math.max(re, h.value), ge = Math.floor(pe * h.value);
10173
+ let fe = h.value / Math.max(re, h.value), ge = Math.floor(fe * h.value);
10178
10174
  for (; h.value > 0 && ge < E; )
10179
- pe *= y, ge = Math.floor(pe * h.value);
10175
+ fe *= y, ge = Math.floor(fe * h.value);
10180
10176
  return ge;
10181
- }), D = q(() => Math.floor(x.value / Math.max(m.value, x.value) * k.value)), G = 0, H = 0, R = q(() => k.value - (F.value + m.value + w.value + s.value));
10177
+ }), D = A(() => Math.floor(x.value / Math.max(m.value, x.value) * k.value)), G = 0, H = 0, R = A(() => k.value - (F.value + m.value + w.value + s.value));
10182
10178
  function $(re) {
10183
10179
  const ge = Math.floor(re / v) + 1, Ne = c.value;
10184
10180
  return Ne.length > ge ? Ne[ge].__fv_visible_index__ - 1 : 0;
10185
10181
  }
10186
- function Q(re, pe, ge) {
10187
- let Ne = re, Ge = pe;
10188
- const Ke = pe - re + 1;
10182
+ function Q(re, fe, ge) {
10183
+ let Ne = re, Ge = fe;
10184
+ const Ke = fe - re + 1;
10189
10185
  if (Ke < i + a.value + i) {
10190
- const U = i + a.value + i - Ke, me = pe + U <= ge, Ce = 0 + U <= re;
10191
- if (me)
10186
+ const U = i + a.value + i - Ke, pe = fe + U <= ge, Ce = 0 + U <= re;
10187
+ if (pe)
10192
10188
  Ge += U, T = Ge;
10193
10189
  else if (Ce)
10194
10190
  Ne -= U, _ = Ne;
10195
10191
  else {
10196
- const Fe = ge - pe, L = U - Fe;
10197
- Ge = Math.min(pe + Fe, ge), Ne = Math.max(re - L, 0);
10192
+ const Fe = ge - fe, L = U - Fe;
10193
+ Ge = Math.min(fe + Fe, ge), Ne = Math.max(re - L, 0);
10198
10194
  }
10199
10195
  }
10200
10196
  return { actualStart: Ne, actualEnd: Ge };
10201
10197
  }
10202
10198
  function V(re) {
10203
10199
  var Fe, L;
10204
- const pe = c.value;
10205
- if (!pe.length) {
10200
+ const fe = c.value;
10201
+ if (!fe.length) {
10206
10202
  e.value = [];
10207
10203
  return;
10208
10204
  }
10209
- const ge = (Fe = n.pagination) != null && Fe.enable ? 0 : Math.max(_ - i, 0), Ne = pe[pe.length - 1].__fv_visible_index__, Ge = (L = n.pagination) != null && L.enable ? pe.length - 1 : Math.min(T + i, Ne), { actualStart: Ke, actualEnd: U } = Q(ge, Ge, Ne), me = pe[Ke - 1], Ce = d(Ke, U, me, re);
10205
+ const ge = (Fe = n.pagination) != null && Fe.enable ? 0 : Math.max(_ - i, 0), Ne = fe[fe.length - 1].__fv_visible_index__, Ge = (L = n.pagination) != null && L.enable ? fe.length - 1 : Math.min(T + i, Ne), { actualStart: Ke, actualEnd: U } = Q(ge, Ge, Ne), pe = fe[Ke - 1], Ce = d(Ke, U, pe, re);
10210
10206
  Ce.length && (e.value = [...Ce]);
10211
10207
  }
10212
- const N = q(() => P() > h.value), X = q(() => Math.floor(m.value) > x.value);
10213
- function j(re, pe) {
10208
+ const N = A(() => P() > h.value), X = A(() => Math.floor(m.value) > x.value);
10209
+ function j(re, fe) {
10214
10210
  let ge = re;
10215
10211
  const Ne = ge > G, Ge = N.value;
10216
- Ge && ge < h.value - pe && (ge = h.value - pe), (!Ge || Ne) && (ge = G), b.value !== ge && (b.value = ge);
10212
+ Ge && ge < h.value - fe && (ge = h.value - fe), (!Ge || Ne) && (ge = G), b.value !== ge && (b.value = ge);
10217
10213
  }
10218
10214
  function W() {
10219
10215
  C.value && (_ = $(Math.abs(b.value)), T = _ + a.value - 1, (_ < f.value || T > p.value - i / 2) && V());
10220
10216
  }
10221
10217
  function z(re) {
10222
- let pe = b.value + re;
10223
- pe > G && (pe = G);
10218
+ let fe = b.value + re;
10219
+ fe > G && (fe = G);
10224
10220
  const ge = P();
10225
- j(pe, ge), W();
10221
+ j(fe, ge), W();
10226
10222
  }
10227
10223
  function K(re) {
10228
10224
  if (!X.value) {
10229
10225
  g.value = 0;
10230
10226
  return;
10231
10227
  }
10232
- let pe = g.value + re;
10233
- pe > H && (pe = H), pe < R.value && (pe = R.value), g.value !== pe && (g.value = pe);
10228
+ let fe = g.value + re;
10229
+ fe > H && (fe = H), fe < R.value && (fe = R.value), g.value !== fe && (g.value = fe);
10234
10230
  }
10235
10231
  function ie() {
10236
10232
  Math.abs(g.value) + x.value > m.value && (g.value = Math.min(x.value - m.value, 0));
@@ -10238,80 +10234,80 @@ function Fc(n, t, e, o, r, a, i, s, l) {
10238
10234
  function Z() {
10239
10235
  b.value = 0, _ = 0, T = a.value - 1, V();
10240
10236
  }
10241
- function fe() {
10237
+ function me() {
10242
10238
  const re = P();
10243
10239
  j(b.value, re);
10244
10240
  }
10245
10241
  Ee([x, m], () => {
10246
10242
  K(0);
10247
- }), Ee(h, (re, pe) => {
10248
- re !== pe && re >= u.value.length * v && z(0);
10243
+ }), Ee(h, (re, fe) => {
10244
+ re !== fe && re >= u.value.length * v && z(0);
10249
10245
  });
10250
10246
  function ve(re) {
10251
- let { deltaX: pe } = re, ge = -1 * re.deltaY;
10252
- 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 };
10247
+ let { deltaX: fe } = re, ge = -1 * re.deltaY;
10248
+ 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 };
10253
10249
  }
10254
10250
  function xe(re) {
10255
10251
  if (n.disabled || !N.value || re.target.tagName === "TEXTAREA")
10256
10252
  return;
10257
10253
  re.preventDefault(), re.stopPropagation();
10258
- const { deltaX: pe, deltaY: ge } = ve(re);
10259
- z(ge), K(pe);
10254
+ const { deltaX: fe, deltaY: ge } = ve(re);
10255
+ z(ge), K(fe);
10260
10256
  }
10261
- const Pe = q(() => ({
10257
+ const Pe = A(() => ({
10262
10258
  height: `${u.value.length * v}px`,
10263
10259
  width: `${F.value}px`,
10264
10260
  transform: `translateY(${b.value}px)`
10265
- })), Be = q(() => ({
10261
+ })), Be = A(() => ({
10266
10262
  transform: `translateY(${b.value}px)`
10267
- })), Y = q(() => ({
10263
+ })), Y = A(() => ({
10268
10264
  height: `${(n.autoHeight ? c.value : u.value).length * v}px`,
10269
10265
  width: `${m.value}px`,
10270
10266
  transform: `translate(${g.value}px, ${b.value}px)`
10271
- })), de = q(() => ({
10267
+ })), de = A(() => ({
10272
10268
  transform: `translate(${g.value}px, ${b.value}px)`
10273
- })), A = q(() => ({
10269
+ })), q = A(() => ({
10274
10270
  height: `${u.value.length * v}px`,
10275
10271
  width: `${w.value}px`,
10276
10272
  transform: `translateY(${b.value}px)`
10277
- })), te = q(() => ({
10273
+ })), oe = A(() => ({
10278
10274
  transform: `translateY(${b.value}px)`
10279
- })), be = q(() => ({
10275
+ })), be = A(() => ({
10280
10276
  height: `${u.value.length * v}px`,
10281
10277
  width: `${s.value}px`,
10282
10278
  transform: `translateY(${b.value}px)`
10283
- })), ke = q(() => ({
10279
+ })), ke = A(() => ({
10284
10280
  width: `${F.value}px`
10285
- })), Ie = q(() => ({
10281
+ })), Ie = A(() => ({
10286
10282
  transform: `translateX(${g.value}px)`
10287
- })), ot = q(() => ({
10283
+ })), ot = A(() => ({
10288
10284
  width: `${w.value}px`
10289
- })), ht = q(() => {
10285
+ })), ht = A(() => {
10290
10286
  const re = P();
10291
10287
  return j(b.value, re), b.value / (h.value - re) * (h.value - M.value);
10292
- }), ct = q(() => ({
10288
+ }), ct = A(() => ({
10293
10289
  width: "8px",
10294
10290
  height: `${M.value}px`,
10295
10291
  top: `${ht.value}px`
10296
- })), J = q(() => g.value / R.value * (k.value - D.value)), Se = q(() => ({
10292
+ })), J = A(() => g.value / R.value * (k.value - D.value)), Se = A(() => ({
10297
10293
  height: "8px",
10298
10294
  width: `${D.value}px`,
10299
10295
  left: `${J.value}px`
10300
10296
  })), De = S(!1), qe = S(-1), Re = S(-1), it = S();
10301
10297
  function vt(re) {
10302
10298
  if (De.value && Re.value !== -1) {
10303
- const pe = Re.value - re.pageX, ge = k.value - D.value;
10304
- if (Math.abs(pe) <= ge) {
10305
- const Ne = pe / (x.value - D.value) * (m.value - x.value);
10299
+ const fe = Re.value - re.pageX, ge = k.value - D.value;
10300
+ if (Math.abs(fe) <= ge) {
10301
+ const Ne = fe / (x.value - D.value) * (m.value - x.value);
10306
10302
  K(Ne), Re.value = re.pageX;
10307
10303
  }
10308
10304
  }
10309
10305
  }
10310
10306
  function bt(re) {
10311
10307
  if (De.value && qe.value !== -1) {
10312
- const pe = qe.value - re.pageY, ge = P(), Ne = ge - M.value;
10313
- if (Math.abs(pe) <= Ne) {
10314
- const Ge = pe / (h.value - M.value) * (ge - h.value);
10308
+ const fe = qe.value - re.pageY, ge = P(), Ne = ge - M.value;
10309
+ if (Math.abs(fe) <= Ne) {
10310
+ const Ge = fe / (h.value - M.value) * (ge - h.value);
10315
10311
  z(Ge), qe.value = re.pageY;
10316
10312
  }
10317
10313
  }
@@ -10319,16 +10315,16 @@ function Fc(n, t, e, o, r, a, i, s, l) {
10319
10315
  function dt(re) {
10320
10316
  De.value = !1, qe.value = -1, Re.value = -1, document.removeEventListener("mouseup", dt), I && (document.removeEventListener("mousemove", I), I = null), document.body.style.userSelect = "", it.value && (it.value.style.opacity = null);
10321
10317
  }
10322
- function Mt(re, pe, ge) {
10318
+ function Mt(re, fe, ge) {
10323
10319
  var Ke;
10324
10320
  De.value = !0;
10325
10321
  const Ne = (Ke = re.target) == null ? void 0 : Ke.parentElement;
10326
- Ne && (Ne.style.opacity = "1", it.value = Ne), I || (I = Jo(ge === "horizontal" ? vt : bt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Re.value = re.pageX), pe.value && (pe.value, document.addEventListener("mousemove", I), document.addEventListener("mouseup", dt), document.body.style.userSelect = "none");
10322
+ Ne && (Ne.style.opacity = "1", it.value = Ne), I || (I = Ko(ge === "horizontal" ? vt : bt, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Re.value = re.pageX), fe.value && (fe.value, document.addEventListener("mousemove", I), document.addEventListener("mouseup", dt), document.body.style.userSelect = "none");
10327
10323
  }
10328
10324
  function wt(re) {
10329
- const pe = u.value.length * v - h.value;
10325
+ const fe = u.value.length * v - h.value;
10330
10326
  let ge = re * v;
10331
- ge >= pe && (ge = pe), z(-ge - b.value);
10327
+ ge >= fe && (ge = fe), z(-ge - b.value);
10332
10328
  }
10333
10329
  function gt() {
10334
10330
  wt(u.value.length);
@@ -10353,12 +10349,12 @@ function Fc(n, t, e, o, r, a, i, s, l) {
10353
10349
  onWheel: xe,
10354
10350
  reCalculateVisualDataRows: V,
10355
10351
  resetScroll: Z,
10356
- rightFixedGridDataStyle: A,
10352
+ rightFixedGridDataStyle: q,
10357
10353
  rightFixedGridHeaderColumnsStyle: ot,
10358
- rightFixedGridMergedDataStyle: te,
10354
+ rightFixedGridMergedDataStyle: oe,
10359
10355
  shouldShowHorizontalScrollbar: X,
10360
10356
  shouldShowVirticalScrollbar: N,
10361
- updateVirticalScroll: fe,
10357
+ updateVirticalScroll: me,
10362
10358
  updateVisibleRowsOnLatestVisibleScope: W,
10363
10359
  verticalScrollThumbStyle: ct,
10364
10360
  viewPortWidth: x,
@@ -10370,7 +10366,7 @@ function Fc(n, t, e, o, r, a, i, s, l) {
10370
10366
  }
10371
10367
  function Oc(n) {
10372
10368
  var a;
10373
- const { isUndefined: t } = Rr(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
10369
+ const { isUndefined: t } = Vr(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
10374
10370
  function o(i, s) {
10375
10371
  const l = i.pre;
10376
10372
  if (l) {
@@ -10425,7 +10421,7 @@ function Ic() {
10425
10421
  function Pc() {
10426
10422
  const {
10427
10423
  formatTo: n
10428
- } = Br();
10424
+ } = Rr();
10429
10425
  function t(o, r) {
10430
10426
  if (o) {
10431
10427
  let a = "yyyy-MM-dd";
@@ -10450,7 +10446,7 @@ function Pc() {
10450
10446
  function Nc() {
10451
10447
  const {
10452
10448
  formatTo: n
10453
- } = Lr();
10449
+ } = Br();
10454
10450
  function t(e, o) {
10455
10451
  const r = {
10456
10452
  precision: o.precision,
@@ -10923,36 +10919,36 @@ function Hc(n, t, e, o) {
10923
10919
  };
10924
10920
  }
10925
10921
  function jc(n, t, e, o, r) {
10926
- const { idField: a } = e, { dataView: i, getSelectionItems: s } = t, l = S(""), u = q(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), p = S(n.selection.showCheckbox), f = S(n.selection.showSelectAll), m = S(n.selectionValues || []), F = S(!!m.value.length && o.value.length === m.value.length), w = S(!!m.value.length && o.value.length !== m.value.length);
10922
+ const { idField: a } = e, { dataView: i, getSelectionItems: s } = t, l = S(""), u = A(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), p = S(n.selection.showCheckbox), f = S(n.selection.showSelectAll), m = S(n.selectionValues || []), F = S(!!m.value.length && o.value.length === m.value.length), w = S(!!m.value.length && o.value.length !== m.value.length);
10927
10923
  Ee(() => n.selection.showSelectAll, (Y, de) => {
10928
10924
  Y !== de && (f.value = Y);
10929
10925
  });
10930
10926
  function v() {
10931
- const Y = i.value.every((A) => m.value.includes(A[a.value])), de = i.value.every((A) => !m.value.includes(A[a.value]));
10927
+ const Y = i.value.every((q) => m.value.includes(q[a.value])), de = i.value.every((q) => !m.value.includes(q[a.value]));
10932
10928
  Y && (F.value = !0, w.value = !1), de && (F.value = !1, w.value = !1), !Y && !de && (F.value = !1, w.value = !0);
10933
10929
  }
10934
10930
  function b() {
10935
10931
  return s(m.value);
10936
10932
  }
10937
10933
  function g() {
10938
- const Y = o.value.reduce((A, te) => (A.set(te.raw[a.value], te), A), /* @__PURE__ */ new Map());
10939
- return m.value.map((A) => Y.get(A)).filter((A) => !!A);
10934
+ const Y = o.value.reduce((q, oe) => (q.set(oe.raw[a.value], oe), q), /* @__PURE__ */ new Map());
10935
+ return m.value.map((q) => Y.get(q)).filter((q) => !!q);
10940
10936
  }
10941
10937
  function _(Y) {
10942
- var A;
10938
+ var q;
10943
10939
  const de = Y.raw.__fv_children_index__;
10944
10940
  if (de && de.length) {
10945
- const te = de.map((be) => i.value[be]);
10946
- (A = m.value) != null && A.length && te.some((ke) => !m.value.includes(ke[a.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
10941
+ const oe = de.map((be) => i.value[be]);
10942
+ (q = m.value) != null && q.length && oe.some((ke) => !m.value.includes(ke[a.value])) && (Y.indeterminate = !0, Y.raw.__fv_indeterminate__ = !0);
10947
10943
  }
10948
10944
  }
10949
- const T = q(() => u.value && c.value), k = q(
10945
+ const T = A(() => u.value && c.value), k = A(
10950
10946
  () => u.value && !c.value && !p.value
10951
- ), h = q(() => !!n.hierarchy), x = q(() => {
10947
+ ), h = A(() => !!n.hierarchy), x = A(() => {
10952
10948
  const Y = p.value && d.value === "DependOnCheck";
10953
10949
  return T.value && Y;
10954
- }), C = q(() => T.value && !p.value), E = q(() => T.value && p.value && d.value === "OnCheckAndClick");
10955
- q(() => E.value);
10950
+ }), C = A(() => T.value && !p.value), E = A(() => T.value && p.value && d.value === "OnCheckAndClick");
10951
+ A(() => E.value);
10956
10952
  function y() {
10957
10953
  const Y = s(m.value);
10958
10954
  r.emit("selectionChange", Y);
@@ -10961,14 +10957,14 @@ function jc(n, t, e, o, r) {
10961
10957
  r.emit("unSelectItem", Y);
10962
10958
  }
10963
10959
  function P() {
10964
- const Y = o.value.filter((A) => A.indeterminate).map((A) => A.raw[a.value]);
10965
- o.value.forEach((A) => {
10966
- A.checked = !1, A.indeterminate = !1, A.raw.__fv_checked__ = !1, A.raw.__fv_indeterminate__ = !1;
10967
- }), g().forEach((A) => {
10968
- A.checked = !0, A.raw.__fv_checked__ = !0;
10969
- }), Y.forEach((A) => {
10970
- const te = o.value.find((be) => be.raw[a.value] === A);
10971
- _(te);
10960
+ const Y = o.value.filter((q) => q.indeterminate).map((q) => q.raw[a.value]);
10961
+ o.value.forEach((q) => {
10962
+ q.checked = !1, q.indeterminate = !1, q.raw.__fv_checked__ = !1, q.raw.__fv_indeterminate__ = !1;
10963
+ }), g().forEach((q) => {
10964
+ q.checked = !0, q.raw.__fv_checked__ = !0;
10965
+ }), Y.forEach((q) => {
10966
+ const oe = o.value.find((be) => be.raw[a.value] === q);
10967
+ _(oe);
10972
10968
  });
10973
10969
  }
10974
10970
  Ee(() => o.value, () => {
@@ -10978,39 +10974,39 @@ function jc(n, t, e, o, r) {
10978
10974
  }, { immediate: !0 }), Ee(() => n.selection, (Y) => {
10979
10975
  c.value = !!Y.multiSelect, d.value = Y.multiSelectMode || "DependOnCheck", p.value = !!Y.showCheckbox;
10980
10976
  });
10981
- const M = q(() => !c.value);
10977
+ const M = A(() => !c.value);
10982
10978
  function D(Y) {
10983
10979
  return Y.raw[a.value];
10984
10980
  }
10985
10981
  function G(Y) {
10986
- return m.value.findIndex((A) => A === D(Y));
10982
+ return m.value.findIndex((q) => q === D(Y));
10987
10983
  }
10988
10984
  function H() {
10989
- g().forEach((A) => {
10990
- A.checked = !1;
10991
- }), s(m.value).forEach((A) => {
10992
- A.__fv_checked__ = !1;
10985
+ g().forEach((q) => {
10986
+ q.checked = !1;
10987
+ }), s(m.value).forEach((q) => {
10988
+ q.__fv_checked__ = !1;
10993
10989
  }), m.value = [], l.value = "", v();
10994
10990
  }
10995
10991
  function R(Y) {
10996
10992
  const de = Y;
10997
10993
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
10998
- const A = new Set(m.value);
10999
- A.add(de[a.value]), m.value = Array.from(A.values());
10994
+ const q = new Set(m.value);
10995
+ q.add(de[a.value]), m.value = Array.from(q.values());
11000
10996
  }
11001
10997
  function $(Y) {
11002
10998
  const de = Y;
11003
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, m.value = m.value.filter((A) => A !== de[a.value]);
10999
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, m.value = m.value.filter((q) => q !== de[a.value]);
11004
11000
  }
11005
11001
  function Q(Y) {
11006
11002
  const de = Y.raw;
11007
11003
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
11008
- const A = new Set(m.value);
11009
- A.add(de[a.value]), m.value = Array.from(A.values()), Y.checked = !0, Y.indeterminate = !1;
11004
+ const q = new Set(m.value);
11005
+ q.add(de[a.value]), m.value = Array.from(q.values()), Y.checked = !0, Y.indeterminate = !1;
11010
11006
  }
11011
11007
  function V(Y) {
11012
11008
  const de = Y.raw;
11013
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, m.value = m.value.filter((A) => A !== de[a.value]), Y.checked = !1, Y.indeterminate = !1;
11009
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, m.value = m.value.filter((q) => q !== de[a.value]), Y.checked = !1, Y.indeterminate = !1;
11014
11010
  }
11015
11011
  function N(Y) {
11016
11012
  Q(Y), l.value = Y.raw[a.value];
@@ -11023,30 +11019,30 @@ function jc(n, t, e, o, r) {
11023
11019
  }
11024
11020
  function W(Y) {
11025
11021
  const de = Y.raw;
11026
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, m.value = m.value.filter((A) => A !== de[a.value]), Y.checked = !1, Y.indeterminate = !0;
11022
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, m.value = m.value.filter((q) => q !== de[a.value]), Y.checked = !1, Y.indeterminate = !0;
11027
11023
  }
11028
11024
  function z(Y) {
11029
11025
  M.value && H(), Y.checked ? V(Y) : Q(Y), y();
11030
11026
  }
11031
11027
  function K(Y, de = !0) {
11032
- const A = Y.checked;
11033
- M.value && H(), de ? Y.checked ? X(Y) : N(Y) : A ? X(Y) : N(Y), y(), Y.checked || I(Y);
11028
+ const q = Y.checked;
11029
+ M.value && H(), de ? Y.checked ? X(Y) : N(Y) : q ? X(Y) : N(Y), y(), Y.checked || I(Y);
11034
11030
  }
11035
11031
  function ie(Y) {
11036
11032
  Y.raw[a.value] !== l.value && (H(), N(Y), y());
11037
11033
  }
11038
11034
  function Z(Y) {
11039
- const de = o.value.find((A) => A.raw[a.value] === Y);
11035
+ const de = o.value.find((q) => q.raw[a.value] === Y);
11040
11036
  de && ie(de);
11041
11037
  }
11042
- function fe(Y) {
11043
- const de = o.value.filter((be) => Y.includes(be.raw[a.value])), A = de.map((be) => be.raw[a.value]), te = i.value.filter((be) => {
11038
+ function me(Y) {
11039
+ const de = o.value.filter((be) => Y.includes(be.raw[a.value])), q = de.map((be) => be.raw[a.value]), oe = i.value.filter((be) => {
11044
11040
  const ke = be[a.value];
11045
- return !A.includes(ke) && Y.includes(ke);
11041
+ return !q.includes(ke) && Y.includes(ke);
11046
11042
  });
11047
- (de.length || te.length) && (H(), k.value && (l.value = Y[0])), de.forEach((be) => {
11043
+ (de.length || oe.length) && (H(), k.value && (l.value = Y[0])), de.forEach((be) => {
11048
11044
  N(be);
11049
- }), te.forEach((be) => {
11045
+ }), oe.forEach((be) => {
11050
11046
  R(be);
11051
11047
  }), y();
11052
11048
  }
@@ -11054,12 +11050,12 @@ function jc(n, t, e, o, r) {
11054
11050
  for (const de of Y) {
11055
11051
  if (!m.value.includes(de))
11056
11052
  continue;
11057
- const A = o.value.find((te) => te.raw[a.value] === de);
11058
- if (A)
11059
- X(A);
11053
+ const q = o.value.find((oe) => oe.raw[a.value] === de);
11054
+ if (q)
11055
+ X(q);
11060
11056
  else {
11061
- const te = i.value.find((be) => be[a.value] === de);
11062
- te && $(te);
11057
+ const oe = i.value.find((be) => be[a.value] === de);
11058
+ oe && $(oe);
11063
11059
  }
11064
11060
  }
11065
11061
  m.value = m.value.filter(
@@ -11100,7 +11096,7 @@ function jc(n, t, e, o, r) {
11100
11096
  selectDataItem: R,
11101
11097
  selectItem: ie,
11102
11098
  selectItemById: Z,
11103
- selectItemByIds: fe,
11099
+ selectItemByIds: me,
11104
11100
  showCheckBox: p,
11105
11101
  showSelectAll: f,
11106
11102
  toggleSelectItem: K,
@@ -11117,10 +11113,10 @@ function jc(n, t, e, o, r) {
11117
11113
  }
11118
11114
  function Ac(n, t) {
11119
11115
  var w, v;
11120
- const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = S(((w = n.rowNumber) == null ? void 0 : w.enable) ?? !1), s = q(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = S(i.value ? ((v = n.rowNumber) == null ? void 0 : v.width) ?? 32 : 0), u = S(s.value ? o : 0), c = q(() => {
11116
+ const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = S(((w = n.rowNumber) == null ? void 0 : w.enable) ?? !1), s = A(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = S(i.value ? ((v = n.rowNumber) == null ? void 0 : v.width) ?? 32 : 0), u = S(s.value ? o : 0), c = A(() => {
11121
11117
  var b;
11122
11118
  return i.value ? ((b = n.rowNumber) == null ? void 0 : b.heading) ?? "序号" : "";
11123
- }), d = q(() => (s.value && !n.hierarchy ? Number(u.value) : 0) + (i.value ? Number(l.value) : 0));
11119
+ }), d = A(() => (s.value && !n.hierarchy ? Number(u.value) : 0) + (i.value ? Number(l.value) : 0));
11124
11120
  Ee(() => n.rowNumber, (b) => {
11125
11121
  b && b.enable !== void 0 && (i.value = b.enable), b && b.width !== void 0 && (l.value = b.width);
11126
11122
  });
@@ -11131,7 +11127,7 @@ function Ac(n, t) {
11131
11127
  height: `${b.height || ""}px`
11132
11128
  };
11133
11129
  }
11134
- const f = q(() => ({
11130
+ const f = A(() => ({
11135
11131
  width: `${d.value}px`
11136
11132
  }));
11137
11133
  function m(b) {
@@ -11259,46 +11255,46 @@ const rn = /* @__PURE__ */ tt({
11259
11255
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
11260
11256
  setup(n, t) {
11261
11257
  var Ue, st;
11262
- const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = S(20), a = S(n.columns), i = Zo(n), {
11258
+ const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = S(20), a = S(n.columns), i = Jo(n), {
11263
11259
  idField: s
11264
- } = i, l = S(), u = S(), c = S(), d = S(), p = S(), f = S([]), m = S(!1), F = S(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), w = er(n, i), v = tr(), b = nr(n), {
11260
+ } = i, l = S(), u = S(), c = S(), d = S(), p = S(), f = S([]), m = S(!1), F = S(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), w = Zo(n, i), v = er(), b = tr(n), {
11265
11261
  collapseField: g
11266
11262
  } = b, {
11267
11263
  showLoading: _,
11268
11264
  renderLoading: T
11269
- } = or(n, l), k = rr(n, /* @__PURE__ */ new Map(), v, b, i), {
11265
+ } = nr(n, l), k = or(n, /* @__PURE__ */ new Map(), v, b, i), {
11270
11266
  dataView: h
11271
- } = k, x = ar(n, k, i, f, t), C = ir(n, f, k, i, x, t), E = q(() => n.disabled), y = q(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
11267
+ } = k, x = rr(n, k, i, f, t), C = ar(n, f, k, i, x, t), E = A(() => n.disabled), y = A(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
11272
11268
  containerStyleObject: I
11273
- } = sr(n), P = lr(n), {
11269
+ } = ir(n), P = sr(n), {
11274
11270
  applyCommands: M
11275
11271
  } = P;
11276
11272
  M(a);
11277
- const D = ur(n), G = cr(n), {
11273
+ const D = lr(n), G = ur(n), {
11278
11274
  applyColumnSorter: H,
11279
11275
  columnContext: R,
11280
11276
  updateColumnRenderContext: $
11281
11277
  } = D;
11282
11278
  H(k, G);
11283
- const Q = dr(n, R), V = fr(n, t, x, i), N = pr(n, t, i, V, f), X = mr(n), j = hr(n, N, X), W = vr(n, k, N, b, i, X, j), z = gr(n, a, k, y, 0, W), {
11279
+ const Q = cr(n, R), V = dr(n, t, x, i), N = fr(n, t, i, V, f), X = pr(n), j = mr(n, N, X), W = hr(n, k, N, b, i, X, j), z = vr(n, a, k, y, 0, W), {
11284
11280
  getVisualData: K
11285
- } = z, ie = yr(n, R), Z = br(n, x), {
11286
- sidebarWidth: fe
11287
- } = Z, ve = wr(n, k, f, R, z, y, 0, fe), {
11281
+ } = z, ie = gr(n, R), Z = yr(n, x), {
11282
+ sidebarWidth: me
11283
+ } = Z, ve = br(n, k, f, R, z, y, 0, me), {
11288
11284
  onWheel: xe,
11289
11285
  dataGridWidth: Pe,
11290
11286
  viewPortHeight: Be,
11291
11287
  viewPortWidth: Y,
11292
11288
  resetScroll: de,
11293
- updateVisibleRowsOnLatestVisibleScope: A
11294
- } = ve, te = Cr(n, R, u, Y, Q), {
11289
+ updateVisibleRowsOnLatestVisibleScope: q
11290
+ } = ve, oe = wr(n, R, u, Y, Q), {
11295
11291
  calculateColumnsSize: be
11296
- } = te, ke = _r(), Ie = xr(u, p, k, ke, ve), ot = Sr(n, t, D, k, Q, w, ve), ht = q(() => ({
11292
+ } = oe, ke = Cr(), Ie = _r(u, p, k, ke, ve), ot = xr(n, t, D, k, Q, w, ve), ht = A(() => ({
11297
11293
  "fv-grid": !0,
11298
11294
  "fv-grid-bordered": n.showBorder,
11299
11295
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
11300
11296
  "fv-datagrid-strip": n.showStripe
11301
- })), ct = q(() => ({
11297
+ })), ct = A(() => ({
11302
11298
  "fv-grid-content": !0,
11303
11299
  "fv-grid-content-hover": m.value,
11304
11300
  "fv-grid-wrap-content": F.value
@@ -11308,24 +11304,24 @@ const rn = /* @__PURE__ */ tt({
11308
11304
  renderGridHeader: Se,
11309
11305
  renderGridColumnResizeOverlay: De,
11310
11306
  shouldShowHeader: qe
11311
- } = Tr(n, t, u, d, p, D, k, ot, Ie, v, ke, te, Q, x, Z, G, ve, Y, f), {
11307
+ } = Sr(n, t, u, d, p, D, k, ot, Ie, v, ke, oe, Q, x, Z, G, ve, Y, f), {
11312
11308
  renderDataGridSidebar: Re
11313
- } = kr(n, V, x, Z, ve), {
11309
+ } = Tr(n, V, x, Z, ve), {
11314
11310
  renderDisableMask: it
11315
- } = Er(), {
11311
+ } = kr(), {
11316
11312
  renderHorizontalScrollbar: vt
11317
- } = Mr(n, u, ve), {
11313
+ } = Er(n, u, ve), {
11318
11314
  renderVerticalScrollbar: bt
11319
- } = Fr(n, u, ve);
11315
+ } = Mr(n, u, ve);
11320
11316
  function dt() {
11321
11317
  var he, _e, Je;
11322
11318
  if (u.value && u.value.clientHeight > 0 && ((he = u.value) == null ? void 0 : he.clientWidth) > 0) {
11323
11319
  const Qe = Math.ceil(u.value.clientHeight / o);
11324
- Qe > r.value && (r.value = Qe, A()), Be.value = ((_e = c.value) == null ? void 0 : _e.clientHeight) || 0, Pe.value = ((Je = u.value) == null ? void 0 : Je.clientWidth) || 0, be();
11320
+ Qe > r.value && (r.value = Qe, q()), Be.value = ((_e = c.value) == null ? void 0 : _e.clientHeight) || 0, Pe.value = ((Je = u.value) == null ? void 0 : Je.clientWidth) || 0, be();
11325
11321
  }
11326
11322
  }
11327
11323
  Bt(() => {
11328
- u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), f.value = K(0, y.value + 0 - 1), Gn(u.value, dt), be(), sn(() => {
11324
+ u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), f.value = K(0, y.value + 0 - 1), qn(u.value, dt), be(), sn(() => {
11329
11325
  u.value && (Pe.value = u.value.clientWidth), c.value && (Y.value = c.value.clientWidth, Be.value = c.value.clientHeight);
11330
11326
  })), _.value && T();
11331
11327
  }), an(() => {
@@ -11354,7 +11350,7 @@ const rn = /* @__PURE__ */ tt({
11354
11350
  const he = gt(), _e = C.getNextSelectableHierarchyItemId(he);
11355
11351
  k.removeHierarchyDataItem(he), f.value = K(0, y.value + 0 - 1), _e && x.selectItemById(_e);
11356
11352
  }
11357
- function pe(he) {
11353
+ function fe(he) {
11358
11354
  N.onEditingRow(he);
11359
11355
  }
11360
11356
  function ge(he) {
@@ -11372,7 +11368,7 @@ const rn = /* @__PURE__ */ tt({
11372
11368
  function U(he) {
11373
11369
  x.selectItemById(he);
11374
11370
  }
11375
- function me(he) {
11371
+ function pe(he) {
11376
11372
  const _e = f.value.find((Je) => Je.raw[i.idField.value] === he);
11377
11373
  _e && V.clickRowItem(_e);
11378
11374
  }
@@ -11388,9 +11384,9 @@ const rn = /* @__PURE__ */ tt({
11388
11384
  function ee() {
11389
11385
  x.clearSelection();
11390
11386
  }
11391
- const oe = q(() => !f.value || !f.value.length), {
11392
- renderEmpty: ne
11393
- } = Or(t);
11387
+ const ne = A(() => !f.value || !f.value.length), {
11388
+ renderEmpty: te
11389
+ } = Fr(t);
11394
11390
  function we() {
11395
11391
  return x.getSelectionRow();
11396
11392
  }
@@ -11445,7 +11441,7 @@ const rn = /* @__PURE__ */ tt({
11445
11441
  collapseTo: Mt,
11446
11442
  expandTo: wt,
11447
11443
  removeDataItem: re,
11448
- editDataItem: pe,
11444
+ editDataItem: fe,
11449
11445
  acceptDataItem: ge,
11450
11446
  cancelDataItem: Ne,
11451
11447
  updateColumns: Ge,
@@ -11455,7 +11451,7 @@ const rn = /* @__PURE__ */ tt({
11455
11451
  getSelectedItems: L,
11456
11452
  clearSelection: ee,
11457
11453
  getSelectionRow: we,
11458
- clickRowItemById: me,
11454
+ clickRowItemById: pe,
11459
11455
  unSelectItemByIds: ye,
11460
11456
  getCurrentRowId: Ve,
11461
11457
  reassignRowData: Te,
@@ -11471,7 +11467,7 @@ const rn = /* @__PURE__ */ tt({
11471
11467
  class: ct.value,
11472
11468
  onMouseover: () => m.value = !0,
11473
11469
  onMouseleave: () => m.value = !1
11474
- }, [u.value && Re(f), u.value && J(), u.value && oe.value && ne(), u.value && vt(), u.value && bt()]), De(), E.value && it()]);
11470
+ }, [u.value && Re(f), u.value && J(), u.value && ne.value && te(), u.value && vt(), u.value && bt()]), De(), E.value && it()]);
11475
11471
  }
11476
11472
  }), Kc = {
11477
11473
  id: { type: String, default: "" },
@@ -11497,11 +11493,11 @@ const rn = /* @__PURE__ */ tt({
11497
11493
  props: Jc,
11498
11494
  emits: [],
11499
11495
  setup(n) {
11500
- const t = q(() => ({
11496
+ const t = A(() => ({
11501
11497
  "drag-and-drop-alert": !0,
11502
11498
  "no-drag": !0,
11503
11499
  "w-100": !0
11504
- })), e = q(() => ({
11500
+ })), e = A(() => ({
11505
11501
  height: "60px",
11506
11502
  display: "flex",
11507
11503
  "justify-content": "center",
@@ -11524,7 +11520,7 @@ const rn = /* @__PURE__ */ tt({
11524
11520
  }
11525
11521
  });
11526
11522
  function ed(n) {
11527
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Ko(n);
11523
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Qo(n);
11528
11524
  }
11529
11525
  const yn = /* @__PURE__ */ tt({
11530
11526
  name: "FDesignerItem",
@@ -11538,8 +11534,8 @@ const yn = /* @__PURE__ */ tt({
11538
11534
  parent: m,
11539
11535
  setupContext: t
11540
11536
  };
11541
- Xo("design-item-context", F);
11542
- const w = Tt("useFormSchema"), v = Tt("designer-host-service"), b = q(() => {
11537
+ Uo("design-item-context", F);
11538
+ const w = Tt("useFormSchema"), v = Tt("designer-host-service"), b = A(() => {
11543
11539
  var Q;
11544
11540
  const H = n.modelValue.appearance && n.modelValue.appearance.class || "", R = ((Q = f.value) == null ? void 0 : Q.getCustomButtons) && f.value.getCustomButtons();
11545
11541
  let $ = {
@@ -11554,7 +11550,7 @@ const yn = /* @__PURE__ */ tt({
11554
11550
  dgComponentFocused: d.value && d.value.classList.contains("dgComponentFocused")
11555
11551
  };
11556
11552
  return $[`farris-component-${i.value.type}`] = !0, $ = Qt($, H), $ = Qt($, u.value), $ = Qt($, c.value), $;
11557
- }), g = q(() => {
11553
+ }), g = A(() => {
11558
11554
  const H = {}, R = n.modelValue.appearance && n.modelValue.appearance.style || "";
11559
11555
  return R && R.split(";").reduce(($, Q) => {
11560
11556
  const [V, N] = Q.split(":");
@@ -11671,7 +11667,7 @@ const yn = /* @__PURE__ */ tt({
11671
11667
  }
11672
11668
  }
11673
11669
  Ee(() => n.modelValue, (H) => {
11674
- i.value = H, e.value = `${H.id}-component`, Qo(d);
11670
+ i.value = H, e.value = `${H.id}-component`, Xo(d);
11675
11671
  }, {
11676
11672
  deep: !0
11677
11673
  });
@@ -11698,7 +11694,7 @@ const yn = /* @__PURE__ */ tt({
11698
11694
  p && H && p.attachComponents(H, i.value), a.value = f.value.canNested !== void 0 ? f.value.canNested : a.value, r.value = f.value.canDelete !== void 0 ? f.value.canDelete : r.value, o.value = f.value.canMove !== void 0 ? f.value.canMove : o.value, l.value = f.value.styles || "", u.value = f.value.designerClass || "", d.value && (d.value.componentInstance = f, d.value.designItemContext = F), f.value.belongedComponentId = s.value;
11699
11695
  }
11700
11696
  D(), Kt.value++;
11701
- }), qn(() => {
11697
+ }), An(() => {
11702
11698
  d.value && d.value.removeEventListener("scroll", M);
11703
11699
  });
11704
11700
  function G(H) {
@@ -11709,7 +11705,7 @@ const yn = /* @__PURE__ */ tt({
11709
11705
  const Q = document.getElementsByClassName("dgComponentFocused");
11710
11706
  Q && Q.length === 1 && Q[0] === d.value || (Array.from(Q).forEach((N) => N.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((N) => N.classList.remove("dgComponentSelected")), $.classList.add("dgComponentFocused"), t.emit("selectionChange", i.value.type, i.value, s.value, f.value), f.value.getDraggableDesignItemElement && (R = f.value.getDraggableDesignItemElement(F), R && R.value && R.value.classList.add("dgComponentSelected")));
11711
11707
  }
11712
- Qn(R == null ? void 0 : R.value);
11708
+ Xn(R == null ? void 0 : R.value);
11713
11709
  }
11714
11710
  return () => i.value.type === "component-ref" ? I(i.value) : O("div", {
11715
11711
  id: `${i.value.id}-design-item`,
@@ -11740,10 +11736,10 @@ function td(n, t, e, o, r = "data-grid-column") {
11740
11736
  };
11741
11737
  return a.value.headerDepth > 1 && (P["line-height"] = `${E.depth * p}px`), f.set(y + 1, I + (E.actualWidth || d)), P;
11742
11738
  }
11743
- const F = q(() => ({
11739
+ const F = A(() => ({
11744
11740
  "fv-grid-header": !0,
11745
11741
  "fv-grid-header-group-columns": a.value.headerDepth > 1
11746
- })), w = q(() => ({
11742
+ })), w = A(() => ({
11747
11743
  height: `${a.value.headerDepth * p}px`
11748
11744
  })), v = function(E) {
11749
11745
  return t.showSetting && !!E.showSetting;
@@ -11825,7 +11821,7 @@ function td(n, t, e, o, r = "data-grid-column") {
11825
11821
  renderGridHeader: C
11826
11822
  };
11827
11823
  }
11828
- class nd extends Vo {
11824
+ class nd extends No {
11829
11825
  constructor(t, e) {
11830
11826
  super(t, e);
11831
11827
  }
@@ -12033,21 +12029,21 @@ function od(n, t) {
12033
12029
  };
12034
12030
  }
12035
12031
  function rd(n, t, e, o, r) {
12036
- const { getGridHeaderCells: a } = r, i = 120, s = 50, l = q(() => {
12032
+ const { getGridHeaderCells: a } = r, i = 120, s = 50, l = A(() => {
12037
12033
  var h;
12038
12034
  return ((h = n.rowNumber) == null ? void 0 : h.enable) || !1;
12039
- }), u = q(() => {
12035
+ }), u = A(() => {
12040
12036
  var h, x;
12041
12037
  return ((h = n.selection) == null ? void 0 : h.multiSelect) || ((x = n.selection) == null ? void 0 : x.showCheckbox) || !1;
12042
- }), c = q(
12038
+ }), c = A(
12043
12039
  () => {
12044
12040
  var h;
12045
12041
  return 0 + (l.value ? ((h = n.rowNumber) == null ? void 0 : h.width) || 32 : 0) + (u.value ? s : 0);
12046
12042
  }
12047
- ), d = q(() => {
12043
+ ), d = A(() => {
12048
12044
  var h;
12049
12045
  return (h = n.columnOption) == null ? void 0 : h.fitColumns;
12050
- }), p = q(() => {
12046
+ }), p = A(() => {
12051
12047
  var h;
12052
12048
  return d.value && ((h = n.columnOption) == null ? void 0 : h.fitMode) || "none";
12053
12049
  });
@@ -12199,7 +12195,7 @@ function id(n) {
12199
12195
  summaryColumns: []
12200
12196
  };
12201
12197
  }
12202
- const a = S(n.summary), i = q(() => {
12198
+ const a = S(n.summary), i = A(() => {
12203
12199
  const g = a.value;
12204
12200
  return (g == null ? void 0 : g.groupFields) || [];
12205
12201
  });
@@ -12218,7 +12214,7 @@ function id(n) {
12218
12214
  return i.value && i.value.reduce((T, k) => (T.set(k, !0), T), _), g.reduce((T, k) => (k.filter = k.filter || ad, k.fixed === "left" ? (o.value.leftColumns.push(k), o.value.leftColumnsMap.set(k.field, k), o.value.leftColumnsWidth += k.actualWidth) : k.fixed === "right" ? (o.value.rightColumns.push(k), o.value.rightColumnsMap.set(k.field, k), o.value.rightColumnsWidth += k.actualWidth) : (o.value.primaryColumns.push(k), o.value.primaryColumnsMap.set(k.field, k), o.value.primaryColumnsWidth += k.actualWidth), _.has(k.field) && o.value.summaryColumns.push(k), T), o), s(), o;
12219
12215
  }
12220
12216
  l(n.columns);
12221
- const u = q(() => o.value.leftColumns.length > 0), c = q(() => o.value.rightColumns.length > 0);
12217
+ const u = A(() => o.value.leftColumns.length > 0), c = A(() => o.value.rightColumns.length > 0);
12222
12218
  function d(g, _) {
12223
12219
  return _.sortable && _.sort && _.sort !== "none" && g.push(_), g;
12224
12220
  }
@@ -12299,13 +12295,13 @@ function sd(n, t, e, o, r, a, i, s) {
12299
12295
  }
12300
12296
  const ld = /* @__PURE__ */ tt({
12301
12297
  name: "FTreeGridDesign",
12302
- props: to,
12298
+ props: eo,
12303
12299
  emits: [],
12304
12300
  setup(n, t) {
12305
- var te, be;
12306
- const e = S(), o = 0, r = ((te = n.rowOption) == null ? void 0 : te.height) || 28, a = S(20), i = S(n.columns), s = $c(n), l = S(), u = S(), c = S([]), d = S(!1), p = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = Tt("designer-host-service"), m = Tt("design-item-context"), F = od(m, f), w = No(e, m, F);
12301
+ var oe, be;
12302
+ const e = S(), o = 0, r = ((oe = n.rowOption) == null ? void 0 : oe.height) || 28, a = S(20), i = S(n.columns), s = $c(n), l = S(), u = S(), c = S([]), d = S(!1), p = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = Tt("designer-host-service"), m = Tt("design-item-context"), F = od(m, f), w = Po(e, m, F);
12307
12303
  w.value.designerClass = "f-utils-fill-flex-column";
12308
- const v = Ec(), b = Mc(n), g = as(n, /* @__PURE__ */ new Map(), v, b, s), _ = jc(n, g, s, c, t), T = q(() => g.dataView.value.length), {
12304
+ const v = Ec(), b = Mc(n), g = as(n, /* @__PURE__ */ new Map(), v, b, s), _ = jc(n, g, s, c, t), T = A(() => g.dataView.value.length), {
12309
12305
  containerStyleObject: k
12310
12306
  } = es(n), h = ts(n), {
12311
12307
  applyCommands: x
@@ -12327,14 +12323,14 @@ const ld = /* @__PURE__ */ tt({
12327
12323
  viewPortHeight: K,
12328
12324
  viewPortWidth: ie,
12329
12325
  updateVisibleRowsOnLatestVisibleScope: Z
12330
- } = j, fe = rd(n, y, l, ie, M), {
12326
+ } = j, me = rd(n, y, l, ie, M), {
12331
12327
  calculateColumnsSize: ve
12332
- } = fe, xe = q(() => ({
12328
+ } = me, xe = A(() => ({
12333
12329
  "drag-container": !0,
12334
12330
  "fv-grid": !0,
12335
12331
  "fv-grid-bordered": n.showBorder,
12336
12332
  "fv-datagrid-strip": n.showStripe
12337
- })), Pe = q(() => ({
12333
+ })), Pe = A(() => ({
12338
12334
  "fv-grid-content": !0,
12339
12335
  "fv-grid-content-hover": d.value,
12340
12336
  "fv-grid-wrap-content": p.value
@@ -12349,15 +12345,15 @@ const ld = /* @__PURE__ */ tt({
12349
12345
  ke > a.value && (a.value = ke, Z()), K.value = ((Ie = u.value) == null ? void 0 : Ie.clientHeight) || 0, z.value = ((ot = l.value) == null ? void 0 : ot.clientWidth) || 0, ve();
12350
12346
  }
12351
12347
  Bt(() => {
12352
- e.value.componentInstance = w, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = V(0, T.value + o - 1), Gn(l.value, de), ve(), sn(() => {
12348
+ e.value.componentInstance = w, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = V(0, T.value + o - 1), qn(l.value, de), ve(), sn(() => {
12353
12349
  l.value && (z.value = l.value.clientWidth), u.value && (ie.value = u.value.clientWidth, K.value = u.value.clientHeight);
12354
12350
  }));
12355
12351
  });
12356
- function A(ke) {
12352
+ function q(ke) {
12357
12353
  ke && (i.value = ke, x(i), I(i.value), E(g, P), ve());
12358
12354
  }
12359
12355
  return Ee(() => n.columns, (ke) => {
12360
- A(ke);
12356
+ q(ke);
12361
12357
  }), Ee(ie, () => {
12362
12358
  l.value && ve();
12363
12359
  }), t.expose(w.value), () => O("div", {
@@ -12384,7 +12380,7 @@ rn.register = (n, t, e, o) => {
12384
12380
  rn.registerDesigner = (n, t, e) => {
12385
12381
  n["tree-grid"] = ld, t["tree-grid"] = qi;
12386
12382
  };
12387
- Wr(rn);
12383
+ Lr(rn);
12388
12384
  const ud = /* @__PURE__ */ new Map([
12389
12385
  ["appearance", ln]
12390
12386
  ]);
@@ -12523,7 +12519,7 @@ const dd = "https://json-schema.org/draft/2020-12/schema", fd = "https://farris-
12523
12519
  } }
12524
12520
  };
12525
12521
  Lt(Sd, yd, ud, cd, xd);
12526
- class Td extends Vo {
12522
+ class Td extends No {
12527
12523
  constructor(t, e) {
12528
12524
  super(t, e);
12529
12525
  }
@@ -12597,7 +12593,7 @@ const Ed = /* @__PURE__ */ tt({
12597
12593
  props: wn,
12598
12594
  emits: [],
12599
12595
  setup(n, t) {
12600
- const e = S(), o = Tt("designer-host-service"), r = Tt("design-item-context"), a = kd(r, o), i = No(e, r, a), s = q(() => Qt({
12596
+ const e = S(), o = Tt("designer-host-service"), r = Tt("design-item-context"), a = kd(r, o), i = Po(e, r, a), s = A(() => Qt({
12601
12597
  "drag-container": !0
12602
12598
  }, n == null ? void 0 : n.customClass));
12603
12599
  return Bt(() => {
@@ -12614,10 +12610,10 @@ const Ed = /* @__PURE__ */ tt({
12614
12610
  n.component(cn.name, cn);
12615
12611
  },
12616
12612
  register(n, t, e, o) {
12617
- n["content-container"] = cn, t["content-container"] = Pn;
12613
+ n["content-container"] = cn, t["content-container"] = In;
12618
12614
  },
12619
12615
  registerDesigner(n, t, e) {
12620
- n["content-container"] = Ed, t["content-container"] = Pn;
12616
+ n["content-container"] = Ed, t["content-container"] = In;
12621
12617
  }
12622
12618
  };
12623
12619
  export {
@@ -12625,5 +12621,5 @@ export {
12625
12621
  Ed as ContentContainerDesign,
12626
12622
  wn as contentContainerProps,
12627
12623
  lp as default,
12628
- Pn as propsResolver
12624
+ In as propsResolver
12629
12625
  };