@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 Qo = Object.defineProperty;
2
- var Ko = (n, t, e) => t in n ? Qo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var L = (n, t, e) => Ko(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { defineComponent as Xe, computed as Y, createVNode as P, ref as I, inject as ct, onMounted as Et, watch as Me, Fragment as Qt, reactive as wt, createApp as Jn, onUnmounted as sn, Transition as Zn, mergeProps as $t, createTextVNode as vt, onBeforeUnmount as eo, withDirectives as Jo, resolveDirective as Zo, nextTick as ln, onBeforeMount as er, Teleport as tr, shallowRef as nr, render as fn, h as or, cloneVNode as rr, provide as ar, triggerRef as ir, isVNode as sr } from "vue";
5
- import { isPlainObject as Nn, cloneDeep as kt, isUndefined as ut, throttle as lr } from "lodash-es";
6
- import { useResizeObserver as to } from "@vueuse/core";
7
- import { useIdentify as ur, useGroupData as cr, useFilter as dr, useHierarchy as fr, useLoading as pr, useDataView as mr, useSelection as hr, useSelectHierarchyItem as vr, useDataViewContainerStyle as gr, useCommandColumn as yr, useColumn as br, useSort as wr, useGroupColumn as Cr, useRow as _r, useEdit as xr, useVisualDataBound as Tr, useVisualDataCell as Sr, useVisualDataRow as Fr, useVisualData as Mr, useCellPosition as kr, useSidebar as Ir, useVirtualScroll as Er, useFitColumn as Or, useFilterHistory as Dr, useColumnFilter as Pr, useDragColumn as Vr, getColumnHeader as Br, getSidebar as Nr, getDisableMask as Rr, getHorizontalScrollbar as Lr, getVerticalScrollbar as $r, getEmpty as Wr } from "../data-view/index.esm.js";
1
+ var Xo = Object.defineProperty;
2
+ var Qo = (n, t, e) => t in n ? Xo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var L = (n, t, e) => Qo(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { defineComponent as Xe, computed as z, createVNode as P, ref as I, inject as ct, onMounted as Et, watch as Me, Fragment as Qt, reactive as wt, createApp as Kn, onUnmounted as sn, Transition as Jn, mergeProps as $t, createTextVNode as vt, onBeforeUnmount as Zn, withDirectives as Ko, resolveDirective as Jo, nextTick as ln, onBeforeMount as Zo, Teleport as er, shallowRef as tr, render as fn, h as nr, cloneVNode as or, provide as rr, triggerRef as ar, isVNode as ir } from "vue";
5
+ import { isPlainObject as Nn, cloneDeep as kt, isUndefined as ut, throttle as sr } from "lodash-es";
6
+ import { useResizeObserver as eo } from "@vueuse/core";
7
+ import { useIdentify as lr, useGroupData as ur, useFilter as cr, useHierarchy as dr, useLoading as fr, useDataView as pr, useSelection as mr, useSelectHierarchyItem as hr, useDataViewContainerStyle as vr, useCommandColumn as gr, useColumn as yr, useSort as br, useGroupColumn as wr, useRow as Cr, useEdit as _r, useVisualDataBound as xr, useVisualDataCell as Tr, useVisualDataRow as Sr, useVisualData as Fr, useCellPosition as Mr, useSidebar as kr, useVirtualScroll as Ir, useFitColumn as Er, useFilterHistory as Or, useColumnFilter as Dr, useDragColumn as Pr, getColumnHeader as Vr, getSidebar as Br, getDisableMask as Nr, getHorizontalScrollbar as Rr, getVerticalScrollbar as Lr, getEmpty as $r } from "../data-view/index.esm.js";
8
8
  import "../modal/index.esm.js";
9
- import jr from "../transfer/index.esm.js";
10
- import Ar from "../tabs/index.esm.js";
11
- import Hr from "../order/index.esm.js";
9
+ import Wr from "../transfer/index.esm.js";
10
+ import jr from "../tabs/index.esm.js";
11
+ import Ar from "../order/index.esm.js";
12
12
  import "../condition/index.esm.js";
13
- import { FCheckbox as qr } from "../checkbox/index.esm.js";
14
- import { useGuid as yn, resolveField as rt, FormSchemaEntityFieldTypeName as Rn, useCommonUtils as Gr, useDateFormat as zr, useNumberFormat as Yr, setFieldValue as bn, getCustomClass as pn, withInstall as Ur } from "../common/index.esm.js";
15
- import Xr from "../filter-bar/index.esm.js";
16
- import Ln from "../tooltip/index.esm.js";
13
+ import { FCheckbox as Hr } from "../checkbox/index.esm.js";
14
+ import { useGuid as yn, resolveField as rt, FormSchemaEntityFieldTypeName as Rn, useCommonUtils as qr, useDateFormat as Gr, useNumberFormat as zr, setFieldValue as bn, getCustomClass as pn, withInstall as Yr } from "../common/index.esm.js";
15
+ import Ur from "../filter-bar/index.esm.js";
16
+ import Xr from "../tooltip/index.esm.js";
17
17
  import Qr from "../pagination/index.esm.js";
18
18
  import Kr from "../button/index.esm.js";
19
19
  import Jr from "../search-box/index.esm.js";
@@ -28,8 +28,8 @@ import la from "../../designer/button-edit/index.esm.js";
28
28
  import ua from "../button-group/index.esm.js";
29
29
  import ca from "../calendar/index.esm.js";
30
30
  import da from "../capsule/index.esm.js";
31
- import $n from "../../designer/checkbox/index.esm.js";
32
- import Wn from "../../designer/checkbox-group/index.esm.js";
31
+ import Ln from "../../designer/checkbox/index.esm.js";
32
+ import $n from "../../designer/checkbox-group/index.esm.js";
33
33
  import wn from "../combo-list/index.esm.js";
34
34
  import fa from "../combo-tree/index.esm.js";
35
35
  import pa from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import ci from "../code-editor/index.esm.js";
87
87
  import di from "../html-template/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
- const no = {}, oo = {};
90
+ const to = {}, no = {};
91
91
  function Sn(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 ? Sn(t[s]) : kt(t[s].default)), i), {});
93
93
  if (e && (!r || !o.find((i) => i === "id"))) {
@@ -111,10 +111,10 @@ function fi(n) {
111
111
  };
112
112
  }
113
113
  function un(n, t = {}, e) {
114
- const o = no[n];
114
+ const o = to[n];
115
115
  if (o) {
116
116
  let r = fi(o);
117
- const a = oo[n];
117
+ const a = no[n];
118
118
  return r = a ? a({ getSchemaByType: un }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
@@ -123,7 +123,7 @@ function pi(n, t) {
123
123
  const e = Sn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Nn(o[r]) && Nn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function ro(n, t) {
126
+ function oo(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 ro(n, t) {
140
140
  }
141
141
  function mi(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = pi(n, t);
143
- return ro(o, e);
143
+ return oo(o, e);
144
144
  }
145
145
  function hi(n = {}) {
146
146
  function t(c, d, u, m) {
@@ -244,9 +244,9 @@ const ie = {
244
244
  }, vi = {}, gi = {};
245
245
  hi();
246
246
  function Ct(n, t, e = /* @__PURE__ */ new Map(), o = (i, s, l, c) => s, r = {}, a = (i) => i) {
247
- return no[t.title] = t, oo[t.title] = o, vi[t.title] = r, gi[t.title] = a, (i = {}, s = !0) => {
247
+ return to[t.title] = t, no[t.title] = o, vi[t.title] = r, gi[t.title] = a, (i = {}, s = !0) => {
248
248
  if (!s)
249
- return ro(i, e);
249
+ return oo(i, e);
250
250
  const l = mi(i, t, e), c = Object.keys(n).reduce((d, u) => (d[u] = n[u].default, d), {});
251
251
  return Object.assign(c, l);
252
252
  };
@@ -280,7 +280,7 @@ function wi() {
280
280
  updateColumns: n
281
281
  };
282
282
  }
283
- const ao = /* @__PURE__ */ new Map([
283
+ const ro = /* @__PURE__ */ new Map([
284
284
  ["appearance", cn]
285
285
  ]);
286
286
  function Ci(n, t, e) {
@@ -356,7 +356,7 @@ const _i = "https://json-schema.org/draft/2020-12/schema", xi = "https://farris-
356
356
  }, Fn = {
357
357
  customClass: { type: String, default: "" },
358
358
  customStyle: { type: String, default: "" }
359
- }, jn = Ct(Fn, Ii, ao, Ci), mn = /* @__PURE__ */ Xe({
359
+ }, Wn = Ct(Fn, Ii, ro, Ci), mn = /* @__PURE__ */ Xe({
360
360
  name: "FResponseLayout",
361
361
  props: Fn,
362
362
  emits: [],
@@ -364,7 +364,7 @@ const _i = "https://json-schema.org/draft/2020-12/schema", xi = "https://farris-
364
364
  function e(r, a) {
365
365
  r && a && a.split(" ").reduce((s, l) => (s[l] = !0, s), r);
366
366
  }
367
- const o = Y(() => {
367
+ const o = z(() => {
368
368
  const r = {
369
369
  "d-flex": !0
370
370
  };
@@ -436,7 +436,7 @@ const _i = "https://json-schema.org/draft/2020-12/schema", xi = "https://farris-
436
436
  }, Mn = {
437
437
  customClass: { type: String, default: "" },
438
438
  customStyle: { type: String, default: "" }
439
- }, An = Ct(Mn, Ri, ao), hn = /* @__PURE__ */ Xe({
439
+ }, jn = Ct(Mn, Ri, ro), hn = /* @__PURE__ */ Xe({
440
440
  name: "FResponseLayoutItem",
441
441
  props: Mn,
442
442
  emits: [],
@@ -597,7 +597,7 @@ function Wi(n) {
597
597
  return o;
598
598
  }
599
599
  }
600
- function io(n) {
600
+ function ao(n) {
601
601
  if (!n)
602
602
  return;
603
603
  const t = n.getBoundingClientRect();
@@ -618,10 +618,10 @@ function ji(n) {
618
618
  if (!n)
619
619
  return;
620
620
  let t;
621
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && io(t);
621
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && ao(t);
622
622
  }
623
623
  const Ai = I(0);
624
- function so() {
624
+ function io() {
625
625
  Ai.value++;
626
626
  }
627
627
  function Hi(n) {
@@ -1105,7 +1105,7 @@ class dn {
1105
1105
  if (!o)
1106
1106
  return;
1107
1107
  const r = o.contents.findIndex((i) => i.id === t), a = kt(o.contents[r]);
1108
- o.contents.splice(r, 1), o.contents.splice(r, 0, a), so();
1108
+ o.contents.splice(r, 1), o.contents.splice(r, 0, a), io();
1109
1109
  }
1110
1110
  /**
1111
1111
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -1237,7 +1237,7 @@ const Yi = /* @__PURE__ */ Xe({
1237
1237
  function s(c, d) {
1238
1238
  c && d && d.split(" ").reduce((m, f) => (m[f] = !0, m), c);
1239
1239
  }
1240
- const l = Y(() => {
1240
+ const l = z(() => {
1241
1241
  const c = {
1242
1242
  "d-flex": !0,
1243
1243
  "response-layout": !0
@@ -1308,9 +1308,9 @@ var Ui = { exports: {} };
1308
1308
  function u(y, $) {
1309
1309
  var W = arguments.length;
1310
1310
  W === 1 && Array.isArray(y) === !1 && ($ = y, y = []);
1311
- var b, T, B, R, V, N, q, D, O, G = null, j, A, U = !1, K = 0, Z, J = $ || {};
1311
+ var b, T, B, R, V, N, q, D, O, G = null, j, A, Y = !1, K = 0, Z, J = $ || {};
1312
1312
  J.moves === void 0 && (J.moves = C), J.accepts === void 0 && (J.accepts = C), J.invalid === void 0 && (J.invalid = gt), J.containers === void 0 && (J.containers = y || []), J.isContainer === void 0 && (J.isContainer = h), J.copy === void 0 && (J.copy = !1), J.copySortSource === void 0 && (J.copySortSource = !1), J.revertOnSpill === void 0 && (J.revertOnSpill = !1), J.removeOnSpill === void 0 && (J.removeOnSpill = !1), J.direction === void 0 && (J.direction = "vertical"), J.ignoreInputTextSelection === void 0 && (J.ignoreInputTextSelection = !0), J.mirrorContainer === void 0 && (J.mirrorContainer = c.body);
1313
- var fe = i({
1313
+ var me = i({
1314
1314
  containers: J.containers,
1315
1315
  start: De,
1316
1316
  end: dt,
@@ -1320,17 +1320,17 @@ var Ui = { exports: {} };
1320
1320
  canMove: Fe,
1321
1321
  dragging: !1
1322
1322
  });
1323
- return J.removeOnSpill === !0 && fe.on("over", xt).on("out", bt), xe(), fe;
1323
+ return J.removeOnSpill === !0 && me.on("over", xt).on("out", bt), xe(), me;
1324
1324
  function ve(H) {
1325
- return fe.containers.indexOf(H) !== -1 || J.isContainer(H);
1325
+ return me.containers.indexOf(H) !== -1 || J.isContainer(H);
1326
1326
  }
1327
1327
  function xe(H) {
1328
1328
  var te = H ? "remove" : "add";
1329
- p(d, te, "mousedown", z), p(d, te, "mouseup", Te);
1329
+ p(d, te, "mousedown", U), p(d, te, "mouseup", Te);
1330
1330
  }
1331
1331
  function Pe(H) {
1332
1332
  var te = H ? "remove" : "add";
1333
- p(d, te, "mousemove", ne);
1333
+ p(d, te, "mousemove", re);
1334
1334
  }
1335
1335
  function Re(H) {
1336
1336
  var te = H ? "remove" : "add";
@@ -1342,15 +1342,15 @@ var Ui = { exports: {} };
1342
1342
  function de(H) {
1343
1343
  j && H.preventDefault();
1344
1344
  }
1345
- function z(H) {
1345
+ function U(H) {
1346
1346
  R = H.clientX, V = H.clientY;
1347
1347
  var te = F(H) !== 1 || H.metaKey || H.ctrlKey;
1348
1348
  if (!te) {
1349
- var re = H.target, oe = be(re);
1350
- oe && (j = oe, Pe(), H.type === "mousedown" && (M(re) ? re.focus() : H.preventDefault()));
1349
+ var oe = H.target, ne = be(oe);
1350
+ ne && (j = ne, Pe(), H.type === "mousedown" && (M(oe) ? oe.focus() : H.preventDefault()));
1351
1351
  }
1352
1352
  }
1353
- function ne(H) {
1353
+ function re(H) {
1354
1354
  if (j) {
1355
1355
  if (F(H) === 0) {
1356
1356
  Te({});
@@ -1358,8 +1358,8 @@ var Ui = { exports: {} };
1358
1358
  }
1359
1359
  if (!(H.clientX !== void 0 && Math.abs(H.clientX - R) <= (J.slideFactorX || 0) && H.clientY !== void 0 && Math.abs(H.clientY - V) <= (J.slideFactorY || 0))) {
1360
1360
  if (J.ignoreInputTextSelection) {
1361
- var te = E("clientX", H) || 0, re = E("clientY", H) || 0, oe = c.elementFromPoint(te, re);
1362
- if (M(oe))
1361
+ var te = E("clientX", H) || 0, oe = E("clientY", H) || 0, ne = c.elementFromPoint(te, oe);
1362
+ if (M(ne))
1363
1363
  return;
1364
1364
  }
1365
1365
  var we = j;
@@ -1368,17 +1368,17 @@ var Ui = { exports: {} };
1368
1368
  }
1369
1369
  }
1370
1370
  function be(H) {
1371
- if (!(fe.dragging && b) && !ve(H)) {
1371
+ if (!(me.dragging && b) && !ve(H)) {
1372
1372
  for (var te = H; k(H) && ve(k(H)) === !1; )
1373
1373
  if (J.invalid(H, te) || (H = k(H), !H))
1374
1374
  return;
1375
- var re = k(H);
1376
- if (re && !J.invalid(H, te)) {
1377
- var oe = J.moves(H, re, te, S(H));
1378
- if (oe)
1375
+ var oe = k(H);
1376
+ if (oe && !J.invalid(H, te)) {
1377
+ var ne = J.moves(H, oe, te, S(H));
1378
+ if (ne)
1379
1379
  return {
1380
1380
  item: H,
1381
- source: re
1381
+ source: oe
1382
1382
  };
1383
1383
  }
1384
1384
  }
@@ -1391,13 +1391,13 @@ var Ui = { exports: {} };
1391
1391
  te && ot(te);
1392
1392
  }
1393
1393
  function ot(H) {
1394
- Ie(H.item, H.source) && (D = H.item.cloneNode(!0), fe.emit("cloned", D, H.item, "copy")), T = H.source, B = H.item, N = q = S(H.item), fe.dragging = !0, fe.emit("drag", B, T);
1394
+ Ie(H.item, H.source) && (D = H.item.cloneNode(!0), me.emit("cloned", D, H.item, "copy")), T = H.source, B = H.item, N = q = S(H.item), me.dragging = !0, me.emit("drag", B, T);
1395
1395
  }
1396
1396
  function gt() {
1397
1397
  return !1;
1398
1398
  }
1399
1399
  function dt() {
1400
- if (fe.dragging) {
1400
+ if (me.dragging) {
1401
1401
  var H = D || B;
1402
1402
  Oe(H, k(H));
1403
1403
  }
@@ -1406,72 +1406,72 @@ var Ui = { exports: {} };
1406
1406
  j = !1, Pe(!0), Re(!0);
1407
1407
  }
1408
1408
  function Te(H) {
1409
- if (ee(), !!fe.dragging) {
1410
- var te = D || B, re = E("clientX", H) || 0, oe = E("clientY", H) || 0, we = w(b, re, oe), ye = _t(we, re, oe);
1409
+ if (ee(), !!me.dragging) {
1410
+ var te = D || B, oe = E("clientX", H) || 0, ne = E("clientY", H) || 0, we = w(b, oe, ne), ye = _t(we, oe, ne);
1411
1411
  ye && (D && J.copySortSource || !D || ye !== T) ? Oe(te, ye) : J.removeOnSpill ? qe() : Ne();
1412
1412
  }
1413
1413
  }
1414
1414
  function Oe(H, te) {
1415
- var re = k(H);
1416
- D && J.copySortSource && te === T && re.removeChild(B), yt(te) ? fe.emit("cancel", H, T) : fe.emit("drop", H, te, T, q), it();
1415
+ var oe = k(H);
1416
+ D && J.copySortSource && te === T && oe.removeChild(B), yt(te) ? me.emit("cancel", H, T) : me.emit("drop", H, te, T, q), it();
1417
1417
  }
1418
1418
  function qe() {
1419
- if (fe.dragging) {
1419
+ if (me.dragging) {
1420
1420
  var H = D || B, te = k(H);
1421
- te && te.removeChild(H), fe.emit(D ? "cancel" : "remove", H, te, T), it();
1421
+ te && te.removeChild(H), me.emit(D ? "cancel" : "remove", H, te, T), it();
1422
1422
  }
1423
1423
  }
1424
1424
  function Ne(H) {
1425
- if (fe.dragging) {
1426
- var te = arguments.length > 0 ? H : J.revertOnSpill, re = D || B, oe = k(re), we = yt(oe);
1427
- we === !1 && te && (D ? oe && oe.removeChild(D) : T.insertBefore(re, N)), we || te ? fe.emit("cancel", re, T, T) : fe.emit("drop", re, oe, T, q), it();
1425
+ if (me.dragging) {
1426
+ var te = arguments.length > 0 ? H : J.revertOnSpill, oe = D || B, ne = k(oe), we = yt(ne);
1427
+ we === !1 && te && (D ? ne && ne.removeChild(D) : T.insertBefore(oe, N)), we || te ? me.emit("cancel", oe, T, T) : me.emit("drop", oe, ne, T, q), it();
1428
1428
  }
1429
1429
  }
1430
1430
  function it() {
1431
1431
  var H = D || B;
1432
- ee(), ae(), pe(), H && l.rm(H, "gu-transit"), O && clearTimeout(O), fe.dragging = !1, G && fe.emit("out", H, G, T), fe.emit("dragend", H, K), T = B = D = N = q = O = G = null;
1432
+ ee(), ae(), fe(), H && l.rm(H, "gu-transit"), O && clearTimeout(O), me.dragging = !1, G && me.emit("out", H, G, T), me.emit("dragend", H, K), T = B = D = N = q = O = G = null;
1433
1433
  }
1434
1434
  function yt(H, te) {
1435
- var re;
1436
- return te !== void 0 ? re = te : b ? re = q : re = S(D || B), H === T && re === N;
1435
+ var oe;
1436
+ return te !== void 0 ? oe = te : b ? oe = q : oe = S(D || B), H === T && oe === N;
1437
1437
  }
1438
- function _t(H, te, re) {
1439
- for (var oe = H; oe && !we(); )
1440
- oe = k(oe);
1441
- return oe;
1438
+ function _t(H, te, oe) {
1439
+ for (var ne = H; ne && !we(); )
1440
+ ne = k(ne);
1441
+ return ne;
1442
1442
  function we() {
1443
- var ye = ve(oe);
1443
+ var ye = ve(ne);
1444
1444
  if (ye === !1)
1445
1445
  return !1;
1446
- var Be = ge(oe, H), Se = Ce(oe, Be, te, re), Le = yt(oe, Se);
1447
- return Le ? !0 : J.accepts(B, oe, T, Se);
1446
+ var Be = ge(ne, H), Se = Ce(ne, Be, te, oe), Le = yt(ne, Se);
1447
+ return Le ? !0 : J.accepts(B, ne, T, Se);
1448
1448
  }
1449
1449
  }
1450
1450
  function ft(H) {
1451
1451
  if (!b)
1452
1452
  return;
1453
1453
  H.preventDefault();
1454
- var te = E("clientX", H) || 0, re = E("clientY", H) || 0;
1455
- b.style.left = te - 2 + "px", b.style.top = re - 2 + "px";
1456
- var oe = D || B, we = w(b, te, re), ye = _t(we, te, re), Be = ye !== null && ye !== G;
1457
- (Be || ye === null) && (he(), G = ye, st()), me(we, re);
1458
- var Se = k(oe);
1454
+ var te = E("clientX", H) || 0, oe = E("clientY", H) || 0;
1455
+ b.style.left = te - 2 + "px", b.style.top = oe - 2 + "px";
1456
+ var ne = D || B, we = w(b, te, oe), ye = _t(we, te, oe), Be = ye !== null && ye !== G;
1457
+ (Be || ye === null) && (he(), G = ye, st()), pe(we, oe);
1458
+ var Se = k(ne);
1459
1459
  if (ye === T && D && !J.copySortSource) {
1460
- Se && Se.removeChild(oe);
1460
+ Se && Se.removeChild(ne);
1461
1461
  return;
1462
1462
  }
1463
1463
  var Le, at = ge(ye, we);
1464
- if (U = Ve(at, ye), at !== null)
1465
- Le = Ce(ye, at, te, re);
1464
+ if (Y = Ve(at, ye), at !== null)
1465
+ Le = Ce(ye, at, te, oe);
1466
1466
  else if (J.revertOnSpill === !0 && !D)
1467
1467
  Le = N, ye = T;
1468
1468
  else {
1469
- D && Se && Se.removeChild(oe), D && A && (A.style.display = "none");
1469
+ D && Se && Se.removeChild(ne), D && A && (A.style.display = "none");
1470
1470
  return;
1471
1471
  }
1472
- A.style.display = "block", Ot(Le, oe, Be), Le ? Je(at, Le) : Q(ye);
1472
+ A.style.display = "block", Ot(Le, ne, Be), Le ? Je(at, Le) : Q(ye);
1473
1473
  function Ue(_e) {
1474
- fe.emit(_e, oe, G, T);
1474
+ me.emit(_e, ne, G, T);
1475
1475
  }
1476
1476
  function st() {
1477
1477
  Be && Ue("over");
@@ -1480,43 +1480,43 @@ var Ui = { exports: {} };
1480
1480
  G && Ue("out");
1481
1481
  }
1482
1482
  }
1483
- function Ot(H, te, re) {
1484
- (H === te || H === S(te)) && (q = S(te)), (H === null && re || H !== te && H !== S(te)) && (q = H);
1483
+ function Ot(H, te, oe) {
1484
+ (H === te || H === S(te)) && (q = S(te)), (H === null && oe || H !== te && H !== S(te)) && (q = H);
1485
1485
  }
1486
1486
  function xt(H) {
1487
1487
  l.rm(H, "gu-hide");
1488
1488
  }
1489
1489
  function bt(H) {
1490
- fe.dragging && l.add(H, "gu-hide");
1490
+ me.dragging && l.add(H, "gu-hide");
1491
1491
  }
1492
1492
  function Dt() {
1493
- b || (b = document.createElement("div"), b.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;", b.innerHTML = J.getMirrorText && J.getMirrorText(B) || "控件", l.add(b, "gu-mirror"), J.mirrorContainer.appendChild(b), p(d, "add", "mousemove", ft), l.add(J.mirrorContainer, "gu-unselectable"), fe.emit("cloned", b, B, "mirror"));
1493
+ b || (b = document.createElement("div"), b.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;", b.innerHTML = J.getMirrorText && J.getMirrorText(B) || "控件", l.add(b, "gu-mirror"), J.mirrorContainer.appendChild(b), p(d, "add", "mousemove", ft), l.add(J.mirrorContainer, "gu-unselectable"), me.emit("cloned", b, B, "mirror"));
1494
1494
  }
1495
1495
  function Tt() {
1496
1496
  if (A = document.createElement("div"), l.add(A, "gu-insertion"), B) {
1497
1497
  var H = B.getBoundingClientRect();
1498
1498
  A.style.left = H.left + "px", A.style.top = H.top + "px";
1499
1499
  }
1500
- U = !1, J.mirrorContainer.appendChild(A);
1500
+ Y = !1, J.mirrorContainer.appendChild(A);
1501
1501
  }
1502
1502
  function ae() {
1503
1503
  b && (l.rm(J.mirrorContainer, "gu-unselectable"), p(d, "remove", "mousemove", ft), k(b).removeChild(b), b = null);
1504
1504
  }
1505
- function pe() {
1505
+ function fe() {
1506
1506
  A && (k(A).removeChild(A), A = null);
1507
1507
  }
1508
1508
  function ge(H, te) {
1509
- for (var re = te; re !== H && k(re) !== H; )
1510
- re = k(re);
1511
- return re === d ? null : re;
1509
+ for (var oe = te; oe !== H && k(oe) !== H; )
1510
+ oe = k(oe);
1511
+ return oe === d ? null : oe;
1512
1512
  }
1513
1513
  function Ve(H, te) {
1514
1514
  if (!te)
1515
- return U;
1516
- var re = H || te && te.lastElementChild;
1517
- if (!re)
1515
+ return Y;
1516
+ var oe = H || te && te.lastElementChild;
1517
+ if (!oe)
1518
1518
  return !0;
1519
- var oe = getComputedStyle(H), we = /^inline/.test(oe.getPropertyValue("display")) || /^(left|right)$/.test(oe.getPropertyValue("float"));
1519
+ var ne = getComputedStyle(H), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
1520
1520
  if (we)
1521
1521
  return !0;
1522
1522
  if (te) {
@@ -1534,10 +1534,10 @@ var Ui = { exports: {} };
1534
1534
  if (!H.children || !H.children.length)
1535
1535
  return !1;
1536
1536
  for (const te of Array.from(H.children)) {
1537
- const oe = (te.className && te.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
1538
- if (!oe.length)
1537
+ const ne = (te.className && te.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
1538
+ if (!ne.length)
1539
1539
  return !1;
1540
- for (const we of oe) {
1540
+ for (const we of ne) {
1541
1541
  const ye = we.slice(we.lastIndexOf("-") + 1);
1542
1542
  if (parseInt(ye, 10) !== 12)
1543
1543
  return !1;
@@ -1546,15 +1546,15 @@ var Ui = { exports: {} };
1546
1546
  return !0;
1547
1547
  }
1548
1548
  function Je(H, te) {
1549
- const re = te.getBoundingClientRect();
1550
- if (A.style.left = re.left + "px", A.style.top = re.top + "px", U) {
1551
- if (A.style.height = re.height + "px", A.style.width = "4px", H) {
1552
- const oe = H.getBoundingClientRect();
1553
- oe.top !== re.top && (A.style.left = oe.right + "px", A.style.top = oe.top + "px", A.style.height = oe.height + "px");
1549
+ const oe = te.getBoundingClientRect();
1550
+ if (A.style.left = oe.left + "px", A.style.top = oe.top + "px", Y) {
1551
+ if (A.style.height = oe.height + "px", A.style.width = "4px", H) {
1552
+ const ne = H.getBoundingClientRect();
1553
+ ne.top !== oe.top && (A.style.left = ne.right + "px", A.style.top = ne.top + "px", A.style.height = ne.height + "px");
1554
1554
  }
1555
- } else if (A.style.height = "4px", A.style.width = re.width + "px", Z) {
1556
- const oe = Z.getBoundingClientRect();
1557
- re.top < oe.top && (A.style.display = "none");
1555
+ } else if (A.style.height = "4px", A.style.width = oe.width + "px", Z) {
1556
+ const ne = Z.getBoundingClientRect();
1557
+ oe.top < ne.top && (A.style.display = "none");
1558
1558
  }
1559
1559
  te === B && B && (A.style.display = "none");
1560
1560
  }
@@ -1562,42 +1562,42 @@ var Ui = { exports: {} };
1562
1562
  q = null;
1563
1563
  var te = H.lastElementChild;
1564
1564
  if (te) {
1565
- var re = te.getBoundingClientRect();
1566
- U ? (A.style.left = re.right + "px", A.style.top = re.top + "px", A.style.height = re.height + "px", A.style.width = "4px") : (A.style.left = re.left + "px", A.style.top = re.bottom + "px", A.style.height = "4px", A.style.width = re.width + "px"), te === B && B && (A.style.display = "none");
1565
+ var oe = te.getBoundingClientRect();
1566
+ Y ? (A.style.left = oe.right + "px", A.style.top = oe.top + "px", A.style.height = oe.height + "px", A.style.width = "4px") : (A.style.left = oe.left + "px", A.style.top = oe.bottom + "px", A.style.height = "4px", A.style.width = oe.width + "px"), te === B && B && (A.style.display = "none");
1567
1567
  } else
1568
1568
  A.style.display = "none";
1569
1569
  }
1570
- function me(H, te) {
1570
+ function pe(H, te) {
1571
1571
  if (!J.mirrorContainer.contains(H) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (Z = m(H), !Z || !Z.contains(H)))
1572
1572
  return;
1573
- const re = document.querySelector(".dgComponentSelected"), oe = Z.getBoundingClientRect();
1574
- if (te - 30 < oe.top && Z.scrollTop > 0) {
1573
+ const oe = document.querySelector(".dgComponentSelected"), ne = Z.getBoundingClientRect();
1574
+ if (te - 30 < ne.top && Z.scrollTop > 0) {
1575
1575
  let we = Z.scrollTop < 10 ? Z.scrollTop : 10;
1576
- Z.scrollBy(0, -1 * we), re && Z.contains(re) && (K = K + -1 * we);
1576
+ Z.scrollBy(0, -1 * we), oe && Z.contains(oe) && (K = K + -1 * we);
1577
1577
  }
1578
- if (te + 30 > oe.bottom && Z.scrollTop < Z.scrollHeight - Z.clientHeight) {
1578
+ if (te + 30 > ne.bottom && Z.scrollTop < Z.scrollHeight - Z.clientHeight) {
1579
1579
  const we = Z.scrollHeight - Z.clientHeight - Z.scrollTop;
1580
1580
  let ye = we < 10 ? we : 10;
1581
- Z.scrollBy(0, ye), re && Z.contains(re) && (K = K + ye);
1581
+ Z.scrollBy(0, ye), oe && Z.contains(oe) && (K = K + ye);
1582
1582
  }
1583
1583
  }
1584
- function Ce(H, te, re, oe) {
1584
+ function Ce(H, te, oe, ne) {
1585
1585
  var we = J.direction === "horizontal", ye = J.direction === "mixed", Be = te !== H ? Le() : Se();
1586
1586
  return Be;
1587
1587
  function Se() {
1588
1588
  var Ue = H.children.length, st, he, _e;
1589
1589
  for (st = 0; st < Ue; st++)
1590
- if (he = H.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > re || !ye && !we && _e.top + _e.height / 2 > oe || ye && _e.left + _e.width > re && _e.top + _e.height > oe)
1590
+ if (he = H.children[st], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > oe || !ye && !we && _e.top + _e.height / 2 > ne || ye && _e.left + _e.width > oe && _e.top + _e.height > ne)
1591
1591
  return he;
1592
1592
  return null;
1593
1593
  }
1594
1594
  function Le() {
1595
1595
  var Ue = te.getBoundingClientRect();
1596
1596
  if (ye) {
1597
- var st = oe - Ue.top, he = re - Ue.left, _e = Ue.bottom - oe, Ze = Ue.right - re, Ke = Math.min(he, Ze, st, _e), et;
1598
- return U ? et = Ze < he : et = _e === Ke || Ze === Ke || he === Ke, at(et);
1597
+ var st = ne - Ue.top, he = oe - Ue.left, _e = Ue.bottom - ne, Ze = Ue.right - oe, Ke = Math.min(he, Ze, st, _e), et;
1598
+ return Y ? et = Ze < he : et = _e === Ke || Ze === Ke || he === Ke, at(et);
1599
1599
  }
1600
- return at(we ? re > Ue.left + g(Ue) / 2 : oe > Ue.top + _(Ue) / 2);
1600
+ return at(we ? oe > Ue.left + g(Ue) / 2 : ne > Ue.top + _(Ue) / 2);
1601
1601
  }
1602
1602
  function at(Ue) {
1603
1603
  return Ue ? S(te) : te;
@@ -2019,18 +2019,18 @@ const Xi = {
2019
2019
  props: Qi,
2020
2020
  emits: ["close", "click"],
2021
2021
  setup: (n, t) => {
2022
- const e = I(n.animate), o = "fadeOut", r = Y(() => n.options), a = I(!1), i = Y(() => {
2022
+ const e = I(n.animate), o = "fadeOut", r = z(() => n.options), a = I(!1), i = z(() => {
2023
2023
  const h = {
2024
2024
  animated: a.value,
2025
2025
  toast: !0
2026
2026
  };
2027
2027
  return h[n.animate] = !1, h[o] = a.value, h[r.value.type] = !0, r.value.theme && (h[r.value.theme] = !0), h;
2028
- }), s = Y(() => {
2028
+ }), s = z(() => {
2029
2029
  const g = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, _ = {
2030
2030
  "f-icon": !0
2031
2031
  };
2032
2032
  return _[g] = !0, _;
2033
- }), l = Y(() => r.value.title || r.value.message), c = Y(() => r.value.title && r.value.message), d = Y(() => !r.value.title && r.value.message), u = Y(() => n.showCloseButton), m = Y(() => !!r.value.buttons || !!t.slots.default);
2033
+ }), l = z(() => r.value.title || r.value.message), c = z(() => r.value.title && r.value.message), d = z(() => !r.value.title && r.value.message), u = z(() => n.showCloseButton), m = z(() => !!r.value.buttons || !!t.slots.default);
2034
2034
  function f(h) {
2035
2035
  h.stopPropagation(), h.preventDefault(), a.value = !1, setTimeout(() => {
2036
2036
  t.emit("close", r.value);
@@ -2093,14 +2093,14 @@ const Xi = {
2093
2093
  props: Xi,
2094
2094
  emits: ["close", "empty"],
2095
2095
  setup(n, t) {
2096
- const e = Y(() => ({
2096
+ const e = z(() => ({
2097
2097
  "farris-notify": !0
2098
2098
  })), o = {
2099
2099
  left: 12,
2100
2100
  right: 12,
2101
2101
  top: 20,
2102
2102
  bottom: 12
2103
- }, r = I(), a = I(n.options), i = I(n.showCloseButton), s = Y(() => n.position || "bottom-right"), l = Y(() => n.timeout != null ? n.timeout : 3e3), c = Y(() => {
2103
+ }, r = I(), a = I(n.options), i = I(n.showCloseButton), s = z(() => n.position || "bottom-right"), l = z(() => n.timeout != null ? n.timeout : 3e3), c = z(() => {
2104
2104
  const m = n.bottom ? n.bottom : o.bottom, f = n.top ? n.top : o.top, p = {
2105
2105
  transition: "all 0.2s ease",
2106
2106
  left: s.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -2135,7 +2135,7 @@ const Xi = {
2135
2135
  }, null)]);
2136
2136
  }
2137
2137
  });
2138
- class lo {
2138
+ class so {
2139
2139
  constructor() {
2140
2140
  L(this, "notifyRefs", []);
2141
2141
  L(this, "globalConfig", wt({}));
@@ -2156,7 +2156,7 @@ class lo {
2156
2156
  ...t
2157
2157
  }), a = document.createElement("div");
2158
2158
  a.style.display = "contents";
2159
- const i = Jn({
2159
+ const i = Kn({
2160
2160
  setup() {
2161
2161
  var c;
2162
2162
  const s = I();
@@ -2176,7 +2176,7 @@ class lo {
2176
2176
  document.body.removeChild(a);
2177
2177
  }), Et(() => {
2178
2178
  e.updateNotifyPositionForCreate(r, s);
2179
- }), () => P(Zn, {
2179
+ }), () => P(Jn, {
2180
2180
  mode: "out-in",
2181
2181
  name: "fade",
2182
2182
  appear: !0
@@ -2257,10 +2257,10 @@ class lo {
2257
2257
  const Ki = Symbol("NOTIFY_SERVICE_TOKEN");
2258
2258
  Zt.install = (n) => {
2259
2259
  n.component(Zt.name, Zt), n.component(Cn.name, Cn);
2260
- const t = new lo();
2260
+ const t = new so();
2261
2261
  n.provide(Ki, t), n.provide("FNotifyService", t);
2262
2262
  };
2263
- const uo = /* @__PURE__ */ new Map([
2263
+ const lo = /* @__PURE__ */ new Map([
2264
2264
  ["appearance", cn],
2265
2265
  ["column", "columnOption"]
2266
2266
  ]);
@@ -2283,7 +2283,7 @@ function es(n, t, e) {
2283
2283
  const o = n.getSchemaByType("content-container");
2284
2284
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
2285
2285
  }
2286
- function co(n, t, e) {
2286
+ function uo(n, t, e) {
2287
2287
  const r = e.parentComponentInstance.schema.type, a = r === "section" || r === "tab-page";
2288
2288
  t.appearance = { class: "f-component-grid" };
2289
2289
  const s = (a ? es : Zi)(n, t, e);
@@ -3069,7 +3069,7 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
3069
3069
  ], ls = {
3070
3070
  onSelectionChange: "行切换事件",
3071
3071
  onClickRow: "行点击事件"
3072
- }, fo = {
3072
+ }, co = {
3073
3073
  $schema: ts,
3074
3074
  $id: ns,
3075
3075
  title: os,
@@ -3207,7 +3207,7 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
3207
3207
  width: { type: Number, default: -1 },
3208
3208
  /** 启用虚拟渲染 */
3209
3209
  virtualized: { type: Boolean, default: !1 }
3210
- }, us = Ct(In, fo, uo, co), cs = bi(), ds = yi(), po = Object.assign({}, In, { componentId: { type: String, default: "" } }), fs = Ct(po, fo, uo, co), ps = wi();
3210
+ }, us = Ct(In, co, lo, uo), cs = bi(), ds = yi(), fo = Object.assign({}, In, { componentId: { type: String, default: "" } }), fs = Ct(fo, co, lo, uo), ps = wi();
3211
3211
  var nt = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(nt || {}), ht = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(ht || {}), Yt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(Yt || {}), tt = /* @__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))(tt || {});
3212
3212
  function ms(n, t) {
3213
3213
  var f;
@@ -3413,110 +3413,106 @@ function bs(n, t, e, o, r, a, i, s, l, c, d, u, m) {
3413
3413
  } = hs(n, o, i), {
3414
3414
  treeNodeIconsClass: O
3415
3415
  } = vs(n, S, x);
3416
- function G(z, ne) {
3417
- const be = z.raw[x.value];
3416
+ function G(U, re) {
3417
+ const be = U.raw[x.value];
3418
3418
  return {
3419
- "fv-tree-node-toggle": be && z.collapse,
3420
- "fv-tree-node-toggle-minus": be && !z.collapse
3419
+ "fv-tree-node-toggle": be && U.collapse,
3420
+ "fv-tree-node-toggle-minus": be && !U.collapse
3421
3421
  };
3422
3422
  }
3423
- function j(z, ne) {
3424
- z.stopPropagation(), $(ne);
3423
+ function j(U, re) {
3424
+ U.stopPropagation(), $(re);
3425
3425
  }
3426
- function A(z) {
3427
- z.stopPropagation();
3426
+ function A(U) {
3427
+ U.stopPropagation();
3428
3428
  }
3429
- function U(z, ne) {
3429
+ function Y(U, re) {
3430
3430
  return P("div", {
3431
- class: G(z),
3432
- onClick: (be) => j(be, z),
3431
+ class: G(U),
3432
+ onClick: (be) => j(be, U),
3433
3433
  onDblclick: A
3434
3434
  }, null);
3435
3435
  }
3436
- function K(z, ne) {
3436
+ function K(U, re) {
3437
3437
  return y.value && P("div", {
3438
3438
  id: "treeNodeIcons",
3439
- class: O(z, ne)
3439
+ class: O(U, re)
3440
3440
  }, null);
3441
3441
  }
3442
- function Z(z) {
3443
- _.value ? (z.checked ? k(z) : M(z), W(z)) : v(z);
3444
- }
3445
- function J(z, ne) {
3446
- return E.value && P(qr, {
3447
- id: "checkbox_for_" + b(z, ne.index),
3448
- indeterminate: z.indeterminate,
3449
- disabled: z.disabled,
3450
- checked: z.checked,
3451
- "onUpdate:checked": (be) => z.checked = be,
3452
- onChange: () => Z(z)
3442
+ function Z(U) {
3443
+ _.value ? (U.checked ? k(U) : M(U), W(U)) : v(U);
3444
+ }
3445
+ function J(U, re) {
3446
+ return E.value && P(Hr, {
3447
+ id: "checkbox_for_" + b(U, re.index),
3448
+ indeterminate: U.indeterminate,
3449
+ disabled: U.disabled,
3450
+ checked: U.checked,
3451
+ "onUpdate:checked": (be) => U.checked = be,
3452
+ onChange: () => Z(U)
3453
3453
  }, null);
3454
3454
  }
3455
- function fe(z, ne) {
3455
+ function me(U, re) {
3456
3456
  return P("span", {
3457
- title: ne.data,
3458
3457
  style: "user-select:none"
3459
3458
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
3460
- cell: ne,
3461
- row: z
3462
- }) : ne.mode === nt.editing ? ne.getEditor(ne) : ne.formatter ? ne.formatter(ne, z) : ne.data != null ? ne.data.toString() : ne.data]);
3463
- }
3464
- function ve(z, ne) {
3459
+ cell: re,
3460
+ row: U
3461
+ }) : re.mode === nt.editing ? re.getEditor(re) : re.formatter ? re.formatter(re, U) : re.showTips ? P(Xr, null, {
3462
+ default: () => re.data,
3463
+ contentTemplate: () => re.data
3464
+ }) : re.data]);
3465
+ }
3466
+ function ve(U, re) {
3465
3467
  return P("div", {
3466
- class: q(ne)
3467
- }, [ne.showTips ? P(Ln, null, {
3468
- default: () => fe(z, ne),
3469
- contentTemplate: () => fe(z, ne)
3470
- }) : fe(z, ne)]);
3471
- }
3472
- function xe(z, ne, be) {
3473
- const Fe = D(z);
3468
+ class: q(re)
3469
+ }, [me(U, re)]);
3470
+ }
3471
+ function xe(U, re, be) {
3472
+ const Fe = D(U);
3474
3473
  return P("div", {
3475
- ref: ne.setRef,
3476
- key: b(z, ne.index),
3474
+ ref: re.setRef,
3475
+ key: b(U, re.index),
3477
3476
  class: "fv-grid-hierarchy-cell",
3478
- style: T(ne, be)
3477
+ style: T(re, be)
3479
3478
  }, [P("div", {
3480
- class: V(ne),
3479
+ class: V(re),
3481
3480
  style: Fe
3482
- }, [U(z), K(z, ne), J(z, ne), ve(z, ne)])]);
3481
+ }, [Y(U), K(U, re), J(U, re), ve(U, re)])]);
3483
3482
  }
3484
- function Pe(z, ne, be) {
3483
+ function Pe(U, re, be) {
3485
3484
  return P("div", {
3486
- ref: ne.setRef,
3487
- key: b(z, ne.index),
3488
- class: p(ne),
3489
- style: T(ne, be),
3490
- onClick: (Fe) => f(Fe, ne, z, ne.column)
3485
+ ref: re.setRef,
3486
+ key: b(U, re.index),
3487
+ class: p(re),
3488
+ style: T(re, be),
3489
+ onClick: (Fe) => f(Fe, re, U, re.column)
3491
3490
  }, [P("div", {
3492
- class: V(ne)
3491
+ class: V(re)
3493
3492
  }, [P("div", {
3494
- class: q(ne)
3495
- }, [ne.showTips ? P(Ln, null, {
3496
- default: () => fe(z, ne),
3497
- contentTemplate: () => fe(z, ne)
3498
- }) : fe(z, ne)])])]);
3493
+ class: q(re)
3494
+ }, [me(U, re)])])]);
3499
3495
  }
3500
- function Re(z, ne) {
3501
- return ne === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === z.field || ne === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === z.field;
3496
+ function Re(U, re) {
3497
+ return re === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === U.field || re === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === U.field;
3502
3498
  }
3503
- function X(z, ne) {
3499
+ function X(U, re) {
3504
3500
  t.emit("dblclickNode", {
3505
- $event: z,
3506
- node: ne.raw
3501
+ $event: U,
3502
+ node: re.raw
3507
3503
  });
3508
3504
  }
3509
- function de(z, ne, be = "primary", Fe) {
3505
+ function de(U, re, be = "primary", Fe) {
3510
3506
  return P("div", {
3511
- ref: z.setRef,
3512
- key: B(z),
3513
- class: w(z, Fe),
3514
- style: R(z),
3515
- onMouseover: (De) => C(De, z),
3516
- onMouseout: (De) => g(De, z),
3517
- onClick: (De) => h(De, z),
3518
- onDblclick: (De) => X(De, z)
3519
- }, [Object.values(z.data).filter((De) => ne[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(z, De, ne) : Pe(z, De, ne))]);
3507
+ ref: U.setRef,
3508
+ key: B(U),
3509
+ class: w(U, Fe),
3510
+ style: R(U),
3511
+ onMouseover: (De) => C(De, U),
3512
+ onMouseout: (De) => g(De, U),
3513
+ onClick: (De) => h(De, U),
3514
+ onDblclick: (De) => X(De, U)
3515
+ }, [Object.values(U.data).filter((De) => re[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(U, De, re) : Pe(U, De, re))]);
3520
3516
  }
3521
3517
  return {
3522
3518
  renderDataRow: de
@@ -3583,7 +3579,7 @@ function Cs() {
3583
3579
  };
3584
3580
  }
3585
3581
  function _s(n) {
3586
- const t = I(n.minHeight), e = I(n.minWidth), o = I(n.height), r = I(n.width), a = Y(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = Y(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
3582
+ const t = I(n.minHeight), e = I(n.minWidth), o = I(n.height), r = I(n.width), a = z(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = z(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
3587
3583
  return Me([
3588
3584
  () => n.height,
3589
3585
  () => n.width,
@@ -3591,7 +3587,7 @@ function _s(n) {
3591
3587
  () => n.minWidth
3592
3588
  ], ([l, c, d, u]) => {
3593
3589
  t.value = Number(d), e.value = Number(u), o.value = Number(l), r.value = Number(c);
3594
- }), { containerStyleObject: Y(() => ({
3590
+ }), { containerStyleObject: z(() => ({
3595
3591
  height: a.value > 0 ? `${a.value}px` : n.fit ? "100%" : "",
3596
3592
  width: i.value > 0 ? `${i.value}px` : n.fit ? "100%" : "",
3597
3593
  flex: "1 1 0"
@@ -3730,16 +3726,16 @@ function Ts(n, t) {
3730
3726
  function Ss(n, t) {
3731
3727
  var C;
3732
3728
  yn();
3733
- const { idField: e } = t, o = I(n.summary), r = I(n.group), a = I(((C = n.group) == null ? void 0 : C.groupFields) || []), i = Y(() => {
3729
+ const { idField: e } = t, o = I(n.summary), r = I(n.group), a = I(((C = n.group) == null ? void 0 : C.groupFields) || []), i = z(() => {
3734
3730
  var g;
3735
3731
  return (g = n.group) == null ? void 0 : g.enable;
3736
- }), s = Y(() => {
3732
+ }), s = z(() => {
3737
3733
  var g;
3738
3734
  return (g = n.group) == null ? void 0 : g.showGroupPanel;
3739
- }), l = Y(() => {
3735
+ }), l = z(() => {
3740
3736
  const g = o.value;
3741
3737
  return (g == null ? void 0 : g.groupFields) || [];
3742
- }), c = Y(() => {
3738
+ }), c = z(() => {
3743
3739
  const g = r.value;
3744
3740
  return g && g.showSummary;
3745
3741
  }), d = I(0), u = /* @__PURE__ */ new Map();
@@ -3824,124 +3820,124 @@ function Ss(n, t) {
3824
3820
  function Fs(n, t, e, o) {
3825
3821
  const r = I(0), a = I(!!n.hierarchy), { idField: i } = o, { collapseField: s, hasChildrenField: l, parentIdField: c } = e, d = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
3826
3822
  function f(j, A) {
3827
- u.clear(), j.reduce((U, K) => {
3823
+ u.clear(), j.reduce((Y, K) => {
3828
3824
  const Z = K[c.value] !== void 0 ? K[c.value] : "";
3829
3825
  if (Z && A.has(Z)) {
3830
- const fe = A.get(Z), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
3831
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
3826
+ const me = A.get(Z), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
3827
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
3832
3828
  } else
3833
3829
  K.__fv_layer__ = 1;
3834
- const J = U.has(Z) ? U.get(Z) : [];
3835
- return J.push(K), U.set(Z, J), U;
3830
+ const J = Y.has(Z) ? Y.get(Z) : [];
3831
+ return J.push(K), Y.set(Z, J), Y;
3836
3832
  }, u);
3837
3833
  }
3838
3834
  function p(j) {
3839
- m.clear(), j.reduce((A, U) => {
3840
- const K = U[i.value];
3841
- return A.set(K, U), A;
3835
+ m.clear(), j.reduce((A, Y) => {
3836
+ const K = Y[i.value];
3837
+ return A.set(K, Y), A;
3842
3838
  }, m);
3843
3839
  }
3844
3840
  function F(j) {
3845
3841
  j.forEach((A) => {
3846
- const U = A[i.value];
3842
+ const Y = A[i.value];
3847
3843
  A.__fv_children_index__.map((Z) => j[Z]).forEach((Z) => {
3848
3844
  Z.__fv_parents__ = new Map([
3849
3845
  ...A.__fv_parents__.entries(),
3850
- [U, !0]
3846
+ [Y, !0]
3851
3847
  ]);
3852
3848
  });
3853
3849
  });
3854
3850
  }
3855
3851
  function w(j) {
3856
3852
  j.forEach((A) => {
3857
- const U = new Set(A.__fv_children_index__);
3858
- A.__fv_children_index__ = [...U].sort((K, Z) => K - Z);
3853
+ const Y = new Set(A.__fv_children_index__);
3854
+ A.__fv_children_index__ = [...Y].sort((K, Z) => K - Z);
3859
3855
  });
3860
3856
  }
3861
3857
  function h(j) {
3862
3858
  j.forEach((A) => {
3863
- const U = A.__fv_parents__;
3864
- Array.from(U.keys()).map((K) => m.get(K)).forEach((K) => {
3859
+ const Y = A.__fv_parents__;
3860
+ Array.from(Y.keys()).map((K) => m.get(K)).forEach((K) => {
3865
3861
  K.__fv_children_index__.push(A.__fv_index__);
3866
3862
  });
3867
3863
  }), w(j);
3868
3864
  }
3869
3865
  function C(j) {
3870
3866
  j.forEach((A) => {
3871
- A.__fv_child_with_lines__ = [], A.__fv_child_length__ = A.__fv_descendant_index__.length, A.__fv_descendant_index__.map((U) => j[U]).reduce((U, K) => (U.__fv_child_length__ += K.__fv_children_index__.length, U.__fv_child_with_lines__.push(...K.__fv_children_index__, K.__fv_index__), U), A);
3867
+ A.__fv_child_with_lines__ = [], A.__fv_child_length__ = A.__fv_descendant_index__.length, A.__fv_descendant_index__.map((Y) => j[Y]).reduce((Y, K) => (Y.__fv_child_length__ += K.__fv_children_index__.length, Y.__fv_child_with_lines__.push(...K.__fv_children_index__, K.__fv_index__), Y), A);
3872
3868
  });
3873
3869
  }
3874
3870
  function g(j, A) {
3875
3871
  return { id: j, index: A, parentId: "", parentIndex: -1, parents: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map(), descendant: /* @__PURE__ */ new Map(), collapsed: !1, visibleInHierarchy: !0 };
3876
3872
  }
3877
- function _(j, A, U) {
3873
+ function _(j, A, Y) {
3878
3874
  Array.from(A.keys()).forEach((K) => {
3879
- A.get(K).reduce((J, fe) => {
3880
- const ve = fe[i.value], xe = j.get(fe[i.value]), Pe = j.get(K), Re = U.get(K);
3875
+ A.get(K).reduce((J, me) => {
3876
+ const ve = me[i.value], xe = j.get(me[i.value]), Pe = j.get(K), Re = Y.get(K);
3881
3877
  return Pe && Re && (Pe.children.set(ve, xe), Pe.children.set(ve, xe), xe.parentId = K, xe.parentIndex = Pe.index, xe.parents.set(K, Pe)), J;
3882
3878
  }, j);
3883
3879
  });
3884
3880
  }
3885
3881
  function k(j) {
3886
- j.children.forEach((U) => {
3887
- U.parents = new Map([
3882
+ j.children.forEach((Y) => {
3883
+ Y.parents = new Map([
3888
3884
  ...j.parents.entries(),
3889
3885
  [j.id, j]
3890
- ]), k(U);
3886
+ ]), k(Y);
3891
3887
  });
3892
3888
  }
3893
3889
  function M(j, A) {
3894
- j.filter((U) => U[c.value] === void 0 || U[c.value] === "").forEach((U) => {
3895
- const K = U[i.value], Z = A.get(K);
3890
+ j.filter((Y) => Y[c.value] === void 0 || Y[c.value] === "").forEach((Y) => {
3891
+ const K = Y[i.value], Z = A.get(K);
3896
3892
  k(Z);
3897
3893
  });
3898
3894
  }
3899
3895
  function v(j) {
3900
3896
  Array.from(j.values()).forEach((A) => {
3901
- Array.from(A.parents.values()).forEach((U) => {
3902
- U.descendant.set(A.id, A);
3897
+ Array.from(A.parents.values()).forEach((Y) => {
3898
+ Y.descendant.set(A.id, A);
3903
3899
  });
3904
3900
  });
3905
3901
  }
3906
3902
  function S(j) {
3907
- d.clear(), j.forEach((A, U) => {
3903
+ d.clear(), j.forEach((A, Y) => {
3908
3904
  const K = A[i.value];
3909
- d.set(K, g(K, U));
3905
+ d.set(K, g(K, Y));
3910
3906
  }), p(j), f(j, m), _(d, u, m), M(j, d), v(d);
3911
3907
  }
3912
3908
  function x(j) {
3913
- const A = j[i.value], U = d.get(A);
3914
- return U && U.children.size > 0;
3909
+ const A = j[i.value], Y = d.get(A);
3910
+ return Y && Y.children.size > 0;
3915
3911
  }
3916
3912
  function E(j) {
3917
3913
  return j[l.value] && !x(j);
3918
3914
  }
3919
3915
  function y(j) {
3920
- const A = j[i.value], U = d.get(A);
3921
- return U && U.visibleInHierarchy;
3916
+ const A = j[i.value], Y = d.get(A);
3917
+ return Y && Y.visibleInHierarchy;
3922
3918
  }
3923
3919
  function $() {
3924
3920
  r.value = Date.now();
3925
3921
  }
3926
3922
  function W(j, A) {
3927
- A.forEach((U) => {
3928
- const K = d.get(U[i.value]), Z = d.get(j), J = m.get(j);
3923
+ A.forEach((Y) => {
3924
+ const K = d.get(Y[i.value]), Z = d.get(j), J = m.get(j);
3929
3925
  Z && J && (K.visibleInHierarchy = !J[s.value] && Z.visibleInHierarchy);
3930
3926
  }), $();
3931
3927
  }
3932
3928
  function b(j) {
3933
3929
  if (u.has(j)) {
3934
- const U = u.get(j);
3935
- W(j, U), U.map((K) => K[i.value]).forEach((K) => b(K));
3930
+ const Y = u.get(j);
3931
+ W(j, Y), Y.map((K) => K[i.value]).forEach((K) => b(K));
3936
3932
  }
3937
3933
  }
3938
3934
  function T(j) {
3939
3935
  const A = j[i.value];
3940
3936
  b(A);
3941
3937
  }
3942
- function B(j, A, U = 0) {
3938
+ function B(j, A, Y = 0) {
3943
3939
  j.forEach((K) => {
3944
- const Z = E(K), J = K.__fv_layer__ <= U, fe = A === "ToCollapse" ? K.__fv_layer__ <= U : !(K.__fv_layer__ <= U), ve = J ? fe : K[s.value];
3940
+ const Z = E(K), J = K.__fv_layer__ <= Y, me = A === "ToCollapse" ? K.__fv_layer__ <= Y : !(K.__fv_layer__ <= Y), ve = J ? me : K[s.value];
3945
3941
  K[s.value] = Z || ve;
3946
3942
  });
3947
3943
  for (const [K, Z] of u.entries())
@@ -3955,48 +3951,48 @@ function Fs(n, t, e, o) {
3955
3951
  B(j, "ToExpand", A);
3956
3952
  }
3957
3953
  function N(j) {
3958
- j.forEach((A, U) => {
3959
- var fe;
3960
- const K = A[i.value], Z = u.has(K) ? (fe = u.get(K)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], J = g(K, U);
3954
+ j.forEach((A, Y) => {
3955
+ var me;
3956
+ const K = A[i.value], Z = u.has(K) ? (me = u.get(K)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], J = g(K, Y);
3961
3957
  A.__fv_graph_node__ = J, A.__fv_children_index__ = Z, A.__fv_descendant_index__ = [...Z], A.__fv_parents__ = /* @__PURE__ */ new Map(), E(A) && (A[s.value] = !0);
3962
3958
  });
3963
3959
  }
3964
3960
  function q(j) {
3965
3961
  var K, Z;
3966
3962
  S(t.value), N(j), F(j), h(j), n.showLines && C(j);
3967
- const U = ((K = n.hierarchy) == null ? void 0 : K.collapseTo) !== void 0 ? Number((Z = n.hierarchy) == null ? void 0 : Z.collapseTo) : 0;
3968
- return B(j, "ToCollapse", U), j;
3963
+ const Y = ((K = n.hierarchy) == null ? void 0 : K.collapseTo) !== void 0 ? Number((Z = n.hierarchy) == null ? void 0 : Z.collapseTo) : 0;
3964
+ return B(j, "ToCollapse", Y), j;
3969
3965
  }
3970
- function D(j, A, U) {
3971
- const Z = U.value[j][i.value], J = d.get(Z);
3966
+ function D(j, A, Y) {
3967
+ const Z = Y.value[j][i.value], J = d.get(Z);
3972
3968
  if (J) {
3973
- const fe = d.get(J.parentId);
3974
- let ve = U.value.length - 1;
3975
- if (fe) {
3976
- const xe = Array.from(fe.children.keys()).indexOf(J.id);
3977
- if (xe === fe.children.size - 1) {
3978
- const Re = Array.from(fe.descendant.values())[fe.descendant.size - 1];
3979
- ve = U.value.findIndex((de) => de[i.value] === Re.id) + 1;
3969
+ const me = d.get(J.parentId);
3970
+ let ve = Y.value.length - 1;
3971
+ if (me) {
3972
+ const xe = Array.from(me.children.keys()).indexOf(J.id);
3973
+ if (xe === me.children.size - 1) {
3974
+ const Re = Array.from(me.descendant.values())[me.descendant.size - 1];
3975
+ ve = Y.value.findIndex((de) => de[i.value] === Re.id) + 1;
3980
3976
  } else {
3981
- const Re = Array.from(fe.children.values())[xe + 1];
3982
- ve = U.value.findIndex((de) => de[i.value] === Re.id);
3977
+ const Re = Array.from(me.children.values())[xe + 1];
3978
+ ve = Y.value.findIndex((de) => de[i.value] === Re.id);
3983
3979
  }
3984
- A[l.value] = !1, A[c.value] = fe.id, U.value.splice(ve, 0, A);
3980
+ A[l.value] = !1, A[c.value] = me.id, Y.value.splice(ve, 0, A);
3985
3981
  }
3986
3982
  }
3987
3983
  }
3988
- function O(j, A, U) {
3989
- const K = U.value[j], Z = K[i.value];
3984
+ function O(j, A, Y) {
3985
+ const K = Y.value[j], Z = K[i.value];
3990
3986
  if (d.get(Z)) {
3991
- const ve = U.value.findIndex((xe) => xe[i.value] === Z) + 1;
3992
- K[l.value] = !0, K[s.value] = !1, A[l.value] = !1, A[c.value] = Z, U.value.splice(ve, 0, A);
3987
+ const ve = Y.value.findIndex((xe) => xe[i.value] === Z) + 1;
3988
+ K[l.value] = !0, K[s.value] = !1, A[l.value] = !1, A[c.value] = Z, Y.value.splice(ve, 0, A);
3993
3989
  }
3994
3990
  }
3995
3991
  function G(j, A) {
3996
- const U = j[i.value], K = d.get(U), Z = Array.from(K.descendant.keys());
3997
- Z.unshift(U);
3992
+ const Y = j[i.value], K = d.get(Y), Z = Array.from(K.descendant.keys());
3993
+ Z.unshift(Y);
3998
3994
  const J = d.get(K.parentId);
3999
- if (J && (J.children.delete(U), J.children.size === 0)) {
3995
+ if (J && (J.children.delete(Y), J.children.size === 0)) {
4000
3996
  const ve = A.find((xe) => xe[i.value] === K.parentId);
4001
3997
  ve[l.value] = !1, ve[s.value] = !1;
4002
3998
  }
@@ -4038,7 +4034,7 @@ function Ms(n, t, e, o, r) {
4038
4034
  const Q = N(n.data);
4039
4035
  w.value = Q, B.value = Q, R.value = Q;
4040
4036
  }
4041
- const q = I(n.summary), D = Y(() => {
4037
+ const q = I(n.summary), D = z(() => {
4042
4038
  const Q = q.value;
4043
4039
  return (Q == null ? void 0 : Q.groupFields) || [];
4044
4040
  });
@@ -4047,80 +4043,80 @@ function Ms(n, t, e, o, r) {
4047
4043
  function A() {
4048
4044
  return j.value && j.value.enable && j.value.size > 0 ? j.value.size : B.value.length;
4049
4045
  }
4050
- const U = I(1), K = Y(() => j.value && j.value.enable && j.value.mode !== "server"), Z = Y(() => j.value && j.value.enable && j.value.mode === "server"), J = new lo();
4051
- function fe(Q, me) {
4052
- const Ce = Math.ceil(Q.length / me);
4046
+ const Y = I(1), K = z(() => j.value && j.value.enable && j.value.mode !== "server"), Z = z(() => j.value && j.value.enable && j.value.mode === "server"), J = new so();
4047
+ function me(Q, pe) {
4048
+ const Ce = Math.ceil(Q.length / pe);
4053
4049
  let Ie = 0;
4054
- const H = [], te = [], re = [];
4050
+ const H = [], te = [], oe = [];
4055
4051
  for (; Ie < Ce; ) {
4056
- const oe = Q.slice(Ie * me, (Ie + 1) * me), we = f(p.value, oe, t);
4052
+ const ne = Q.slice(Ie * pe, (Ie + 1) * pe), we = f(p.value, ne, t);
4057
4053
  te[Ie] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, H.push(...we), Ie++;
4058
4054
  }
4059
- return te.reduce((oe, we, ye) => (oe = oe + we, re.push(oe), oe), 0), {
4055
+ return te.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
4060
4056
  groupData: H,
4061
4057
  groupRowSizeList: te,
4062
- accumulateGroupRowSize: re
4058
+ accumulateGroupRowSize: oe
4063
4059
  };
4064
4060
  }
4065
4061
  function ve() {
4066
4062
  var we;
4067
4063
  B.value = w.value, K.value && (G.value = B.value.length), F.value && !K.value && (B.value = f(p.value, w.value, t)), O = D.value.reduce((ye, Be) => (ye.set(Be, 0), ye), O);
4068
- const Q = 0, me = A(), Ce = (U.value - 1) * me;
4069
- let H = Ce > B.value.length - 1 || Z.value ? Q : Ce, te = Z.value ? B.value.length : Math.min(H + me, B.value.length);
4064
+ const Q = 0, pe = A(), Ce = (Y.value - 1) * pe;
4065
+ let H = Ce > B.value.length - 1 || Z.value ? Q : Ce, te = Z.value ? B.value.length : Math.min(H + pe, B.value.length);
4070
4066
  if (F.value && K.value) {
4071
- const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Se } = fe(w.value, me);
4067
+ const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Se } = me(w.value, pe);
4072
4068
  B.value = Be;
4073
- const Le = Se[U.value - 1];
4074
- H += U.value - 2 < 0 ? 0 : ye[U.value - 2], te = H + me + Le;
4069
+ const Le = Se[Y.value - 1];
4070
+ H += Y.value - 2 < 0 ? 0 : ye[Y.value - 2], te = H + pe + Le;
4075
4071
  }
4076
- let re = 0;
4077
- const oe = [];
4072
+ let oe = 0;
4073
+ const ne = [];
4078
4074
  if (B.value.length) {
4079
4075
  b(B.value);
4080
4076
  const ye = W.value !== n.idField;
4081
4077
  for (let Be = H; Be < te; Be++) {
4082
4078
  const Se = B.value[Be];
4083
- Se.__fv_data_grid_group_row__ ? (re = 0, Se.__fv_data_index__ = "") : Se.__fv_data_grid_group_summary__ ? Se.__fv_data_index__ = "" : (re++, Se.__fv_data_index__ = re + (U.value - 1) * me), Se.__fv_index__ = Be, Se.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Se.__fv_disabled__ = Se[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Se[W.value] = Be), D.value.forEach((Le) => {
4079
+ Se.__fv_data_grid_group_row__ ? (oe = 0, Se.__fv_data_index__ = "") : Se.__fv_data_grid_group_summary__ ? Se.__fv_data_index__ = "" : (oe++, Se.__fv_data_index__ = oe + (Y.value - 1) * pe), Se.__fv_index__ = Be, Se.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Se.__fv_disabled__ = Se[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Se[W.value] = Be), D.value.forEach((Le) => {
4084
4080
  const at = O.get(Le) || 0;
4085
4081
  O.set(Le, at + Se[Le]);
4086
- }), oe.push(Se);
4082
+ }), ne.push(Se);
4087
4083
  }
4088
4084
  }
4089
- return x.value && _(oe), R.value = [...oe], oe;
4085
+ return x.value && _(ne), R.value = [...ne], ne;
4090
4086
  }
4091
- const xe = I(ve()), Pe = Y(() => ($.value, xe.value.filter((Q) => x.value ? Q.__fv_visible__ !== !1 && S(Q) : Q.__fv_visible__ !== !1)));
4087
+ const xe = I(ve()), Pe = z(() => ($.value, xe.value.filter((Q) => x.value ? Q.__fv_visible__ !== !1 && S(Q) : Q.__fv_visible__ !== !1)));
4092
4088
  function Re() {
4093
- Pe.value.forEach((Q, me) => (Q.__fv_visible_index__ = me, Q));
4089
+ Pe.value.forEach((Q, pe) => (Q.__fv_visible_index__ = pe, Q));
4094
4090
  }
4095
- function X(Q, me, Ce = !1) {
4096
- const H = (Ce ? ve() : [...R.value]).filter((oe) => e.apply(oe)), te = Q && Q.length ? H.filter((oe) => Q.reduce((we, ye) => we && ye.filter(oe), !0)) : H, re = me && me.length ? te.sort((oe, we) => {
4097
- const ye = [...me], Be = ye.shift();
4098
- let Se = Be.compare(oe[Be.field], we[Be.field]);
4091
+ function X(Q, pe, Ce = !1) {
4092
+ const H = (Ce ? ve() : [...R.value]).filter((ne) => e.apply(ne)), te = Q && Q.length ? H.filter((ne) => Q.reduce((we, ye) => we && ye.filter(ne), !0)) : H, oe = pe && pe.length ? te.sort((ne, we) => {
4093
+ const ye = [...pe], Be = ye.shift();
4094
+ let Se = Be.compare(ne[Be.field], we[Be.field]);
4099
4095
  for (; Se === 0 && ye.length !== 0; ) {
4100
4096
  const Le = ye.shift();
4101
- Le && (Se = Le.compare(oe[Le.field], we[Le.field]));
4097
+ Le && (Se = Le.compare(ne[Le.field], we[Le.field]));
4102
4098
  }
4103
4099
  return Se;
4104
4100
  }) : te;
4105
- return xe.value = re.map((oe, we) => {
4106
- if (oe.__fv_data_grid_group_row__) {
4107
- const ye = `group_of_${oe.__fv_data_grid_group_field__}_${oe.__fv_data_grid_group_value__}`;
4108
- oe.__fv_data_grid_group_collapse__ = !!a.get(ye);
4101
+ return xe.value = oe.map((ne, we) => {
4102
+ if (ne.__fv_data_grid_group_row__) {
4103
+ const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
4104
+ ne.__fv_data_grid_group_collapse__ = !!a.get(ye);
4109
4105
  }
4110
- return oe.__fv_index__ = we, oe.__fv_visible_index__ = we, oe;
4106
+ return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
4111
4107
  }), xe.value;
4112
4108
  }
4113
4109
  function de(Q) {
4114
- return c.clear(), u.value = Q, u.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), c), X([], u.value);
4110
+ return c.clear(), u.value = Q, u.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), c), X([], u.value);
4115
4111
  }
4116
- function z(Q, me) {
4117
- return c.set(Q, me), u.value = Array.from(c.values()), X([], u.value);
4112
+ function U(Q, pe) {
4113
+ return c.set(Q, pe), u.value = Array.from(c.values()), X([], u.value);
4118
4114
  }
4119
- function ne(Q) {
4115
+ function re(Q) {
4120
4116
  return c.delete(Q), u.value = Array.from(c.values()), X([], u.value);
4121
4117
  }
4122
- function be(Q, me) {
4123
- return i.set(Q, me), d.value = Array.from(i.values()), X([], Array.from(c.values()));
4118
+ function be(Q, pe) {
4119
+ return i.set(Q, pe), d.value = Array.from(i.values()), X([], Array.from(c.values()));
4124
4120
  }
4125
4121
  function Fe(Q) {
4126
4122
  return i.delete(Q), d.value = Array.from(i.values()), X([], Array.from(c.values()), !0);
@@ -4128,15 +4124,15 @@ function Ms(n, t, e, o, r) {
4128
4124
  function De() {
4129
4125
  return i.clear(), d.value = [], X([], Array.from(c.values()), !0);
4130
4126
  }
4131
- function ot(Q, me) {
4132
- const Ce = `group_of_${Q}_${me}`;
4127
+ function ot(Q, pe) {
4128
+ const Ce = `group_of_${Q}_${pe}`;
4133
4129
  a.set(Ce, !0);
4134
- const Ie = (H) => H[Q] !== me;
4135
- return s.set(`collapse_${Q}_${me}`, {
4130
+ const Ie = (H) => H[Q] !== pe;
4131
+ return s.set(`collapse_${Q}_${pe}`, {
4136
4132
  field: Q,
4137
4133
  fieldName: Q,
4138
4134
  fieldType: "string",
4139
- filterValue: me,
4135
+ filterValue: pe,
4140
4136
  filter: Ie
4141
4137
  }), X(Array.from(s.values()), Array.from(c.values()));
4142
4138
  }
@@ -4146,23 +4142,23 @@ function Ms(n, t, e, o, r) {
4146
4142
  function dt(Q) {
4147
4143
  g(xe.value, Q);
4148
4144
  }
4149
- function ee(Q, me) {
4150
- const Ce = `group_of_${Q}_${me}`;
4151
- return a.set(Ce, !1), s.delete(`collapse_${Q}_${me}`), X(Array.from(s.values()), Array.from(c.values()), !0);
4145
+ function ee(Q, pe) {
4146
+ const Ce = `group_of_${Q}_${pe}`;
4147
+ return a.set(Ce, !1), s.delete(`collapse_${Q}_${pe}`), X(Array.from(s.values()), Array.from(c.values()), !0);
4152
4148
  }
4153
4149
  function Te(Q) {
4154
- const me = Q.raw[W.value], Ce = (Ie) => !Ie.__fv_parents__.has(me);
4155
- l.set(`fold_${me}`, {
4150
+ const pe = Q.raw[W.value], Ce = (Ie) => !Ie.__fv_parents__.has(pe);
4151
+ l.set(`fold_${pe}`, {
4156
4152
  field: "id",
4157
4153
  fieldName: "id",
4158
4154
  fieldType: "string",
4159
- filterValue: String(me),
4155
+ filterValue: String(pe),
4160
4156
  filter: Ce
4161
4157
  }), X(Array.from(l.values()), Array.from(c.values())), _(xe.value);
4162
4158
  }
4163
4159
  function Oe(Q) {
4164
- const me = Q[W.value];
4165
- l.delete(`fold_${me}`);
4160
+ const pe = Q[W.value];
4161
+ l.delete(`fold_${pe}`);
4166
4162
  }
4167
4163
  function qe(Q) {
4168
4164
  Oe(Q.raw), X(Array.from(l.values()), Array.from(c.values()), !0), _(xe.value);
@@ -4175,12 +4171,12 @@ function Ms(n, t, e, o, r) {
4175
4171
  const Ce = n.hierarchy && Q && Q.length && Q[0].children ? N(Q) : Q;
4176
4172
  w.value = Ce, Ne();
4177
4173
  }
4178
- function yt(Q, me, Ce) {
4179
- return (Q && Q.length ? xe.value.filter((H, te) => Q.reduce((re, oe) => re && oe.filter(H), !0)) : xe.value).slice(me, Ce);
4174
+ function yt(Q, pe, Ce) {
4175
+ return (Q && Q.length ? xe.value.filter((H, te) => Q.reduce((oe, ne) => oe && ne.filter(H), !0)) : xe.value).slice(pe, Ce);
4180
4176
  }
4181
4177
  function _t(Q) {
4182
- const me = A(), Ce = Math.ceil(G.value / me);
4183
- 0 <= Q && Q <= Ce && (U.value = Q, Ne());
4178
+ const pe = A(), Ce = Math.ceil(G.value / pe);
4179
+ 0 <= Q && Q <= Ce && (Y.value = Q, Ne());
4184
4180
  }
4185
4181
  function ft(Q) {
4186
4182
  w.value.push(kt(Q)), xe.value = ve();
@@ -4198,32 +4194,32 @@ function Ms(n, t, e, o, r) {
4198
4194
  Oe(Ie), v(Q, Ce, w), Ne();
4199
4195
  }
4200
4196
  function bt(Q) {
4201
- const me = Q ? Q - 1 : 0;
4202
- w.value.splice(me, 1), Ne();
4197
+ const pe = Q ? Q - 1 : 0;
4198
+ w.value.splice(pe, 1), Ne();
4203
4199
  }
4204
4200
  function Dt(Q) {
4205
- const me = w.value.findIndex((Ce) => Ce[W.value] === Q);
4206
- me !== -1 && (w.value.splice(me, 1), Ne());
4201
+ const pe = w.value.findIndex((Ce) => Ce[W.value] === Q);
4202
+ pe !== -1 && (w.value.splice(pe, 1), Ne());
4207
4203
  }
4208
4204
  function Tt(Q) {
4209
- const me = Q > -1 ? w.value[Q] : null;
4210
- if (!(me && me.deletable !== !1))
4205
+ const pe = Q > -1 ? w.value[Q] : null;
4206
+ if (!(pe && pe.deletable !== !1))
4211
4207
  return !1;
4212
- w.value = y(me, w.value), Ne();
4208
+ w.value = y(pe, w.value), Ne();
4213
4209
  }
4214
4210
  function ae() {
4215
4211
  const Q = s.size > 0 ? Array.from(s.values()) : [];
4216
4212
  return X(Q, Array.from(c.values()));
4217
4213
  }
4218
- function pe(Q) {
4214
+ function fe(Q) {
4219
4215
  j.value.size = Q;
4220
4216
  }
4221
4217
  function ge(Q) {
4222
- j.value && (pe(Q), Ne());
4218
+ j.value && (fe(Q), Ne());
4223
4219
  }
4224
- function Ve(Q, me) {
4220
+ function Ve(Q, pe) {
4225
4221
  const Ce = w.value[Number(Q) - 1];
4226
- Ce.editable !== !1 ? (Ce.name = me, Ne()) : J.show({
4222
+ Ce.editable !== !1 ? (Ce.name = pe, Ne()) : J.show({
4227
4223
  showCloseButton: !1,
4228
4224
  timeout: 3e3,
4229
4225
  animate: "fadeIn",
@@ -4239,8 +4235,8 @@ function Ms(n, t, e, o, r) {
4239
4235
  return {
4240
4236
  addFilter: be,
4241
4237
  addNewDataItem: ft,
4242
- addSorter: z,
4243
- updatePageSize: pe,
4238
+ addSorter: U,
4239
+ updatePageSize: fe,
4244
4240
  changePageSizeTo: ge,
4245
4241
  collapse: ot,
4246
4242
  collapseTo: gt,
@@ -4258,7 +4254,7 @@ function Ms(n, t, e, o, r) {
4258
4254
  isVisibleInTree: S,
4259
4255
  load: it,
4260
4256
  navigatePageTo: _t,
4261
- pageIndex: U,
4257
+ pageIndex: Y,
4262
4258
  rawView: R,
4263
4259
  refresh: ae,
4264
4260
  removeAllFilter: De,
@@ -4266,7 +4262,7 @@ function Ms(n, t, e, o, r) {
4266
4262
  removeDataItemById: Dt,
4267
4263
  removeFilter: Fe,
4268
4264
  removeHierarchyDataItem: Tt,
4269
- removeSorter: ne,
4265
+ removeSorter: re,
4270
4266
  reOrderVisibleIndex: Re,
4271
4267
  setSorters: de,
4272
4268
  sorters: u,
@@ -4278,7 +4274,7 @@ function Ms(n, t, e, o, r) {
4278
4274
  visibleDataItems: Pe
4279
4275
  };
4280
4276
  }
4281
- const mo = {
4277
+ const po = {
4282
4278
  conditions: { type: Array, default: [] },
4283
4279
  fields: { type: Array, default: [] },
4284
4280
  key: { type: String, default: "" },
@@ -4287,7 +4283,7 @@ const mo = {
4287
4283
  */
4288
4284
  isControlInline: { type: Boolean, default: !0 }
4289
4285
  };
4290
- class ho {
4286
+ class mo {
4291
4287
  constructor(t = { value: [] }) {
4292
4288
  L(this, "editorType", "check-box");
4293
4289
  L(this, "value");
@@ -4311,7 +4307,7 @@ class ho {
4311
4307
  return this.value.length === 0;
4312
4308
  }
4313
4309
  }
4314
- class vo {
4310
+ class ho {
4315
4311
  constructor(t = { textValue: "", value: "", valueField: "" }) {
4316
4312
  L(this, "editorType", "combo-lookup");
4317
4313
  L(this, "textValue");
@@ -4355,11 +4351,11 @@ function Ye(n) {
4355
4351
  function We(n, t) {
4356
4352
  return n instanceof Date ? new n.constructor(t) : new Date(t);
4357
4353
  }
4358
- function go(n, t) {
4354
+ function vo(n, t) {
4359
4355
  const e = Ye(n);
4360
4356
  return isNaN(t) ? We(n, NaN) : (t && e.setDate(e.getDate() + t), e);
4361
4357
  }
4362
- const yo = 6048e5, ks = 864e5, Is = 6e4, Es = 36e5, Os = 1e3;
4358
+ const go = 6048e5, ks = 864e5, Is = 6e4, Es = 36e5, Os = 1e3;
4363
4359
  let Ds = {};
4364
4360
  function Ht() {
4365
4361
  return Ds;
@@ -4372,7 +4368,7 @@ function It(n, t) {
4372
4368
  function At(n) {
4373
4369
  return It(n, { weekStartsOn: 1 });
4374
4370
  }
4375
- function bo(n) {
4371
+ function yo(n) {
4376
4372
  const t = Ye(n), e = t.getFullYear(), o = We(n, 0);
4377
4373
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
4378
4374
  const r = At(o), a = We(n, 0);
@@ -4380,7 +4376,7 @@ function bo(n) {
4380
4376
  const i = At(a);
4381
4377
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
4382
4378
  }
4383
- function Hn(n) {
4379
+ function An(n) {
4384
4380
  const t = Ye(n);
4385
4381
  return t.setHours(0, 0, 0, 0), t;
4386
4382
  }
@@ -4399,11 +4395,11 @@ function tn(n) {
4399
4395
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
4400
4396
  }
4401
4397
  function Ps(n, t) {
4402
- const e = Hn(n), o = Hn(t), r = +e - tn(e), a = +o - tn(o);
4398
+ const e = An(n), o = An(t), r = +e - tn(e), a = +o - tn(o);
4403
4399
  return Math.round((r - a) / ks);
4404
4400
  }
4405
4401
  function Vs(n) {
4406
- const t = bo(n), e = We(n, 0);
4402
+ const t = yo(n), e = We(n, 0);
4407
4403
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), At(e);
4408
4404
  }
4409
4405
  function Bs(n) {
@@ -4838,7 +4834,7 @@ const ol = /^(\d+)(th|st|nd|rd)?/i, rl = /\d+/i, al = {
4838
4834
  parsePatterns: ml,
4839
4835
  defaultParseWidth: "any"
4840
4836
  })
4841
- }, wo = {
4837
+ }, bo = {
4842
4838
  code: "en-US",
4843
4839
  formatDistance: $s,
4844
4840
  formatLong: Hs,
@@ -4854,9 +4850,9 @@ function vl(n) {
4854
4850
  const t = Ye(n);
4855
4851
  return Ps(t, Rs(t)) + 1;
4856
4852
  }
4857
- function Co(n) {
4853
+ function wo(n) {
4858
4854
  const t = Ye(n), e = +At(t) - +Vs(t);
4859
- return Math.round(e / yo) + 1;
4855
+ return Math.round(e / go) + 1;
4860
4856
  }
4861
4857
  function En(n, t) {
4862
4858
  var d, u, m, f;
@@ -4872,9 +4868,9 @@ function gl(n, t) {
4872
4868
  const e = Ht(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((d = (c = e.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = En(n, t), a = We(n, 0);
4873
4869
  return a.setFullYear(r, 0, o), a.setHours(0, 0, 0, 0), It(a, t);
4874
4870
  }
4875
- function _o(n, t) {
4871
+ function Co(n, t) {
4876
4872
  const e = Ye(n), o = +It(e, t) - +gl(e, t);
4877
- return Math.round(o / yo) + 1;
4873
+ return Math.round(o / go) + 1;
4878
4874
  }
4879
4875
  function Ee(n, t) {
4880
4876
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -4943,7 +4939,7 @@ const Ft = {
4943
4939
  afternoon: "afternoon",
4944
4940
  evening: "evening",
4945
4941
  night: "night"
4946
- }, qn = {
4942
+ }, Hn = {
4947
4943
  // Era
4948
4944
  G: function(n, t, e) {
4949
4945
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -4978,7 +4974,7 @@ const Ft = {
4978
4974
  },
4979
4975
  // ISO week-numbering year
4980
4976
  R: function(n, t) {
4981
- const e = bo(n);
4977
+ const e = yo(n);
4982
4978
  return Ee(e, t.length);
4983
4979
  },
4984
4980
  // Extended year. This is a single number designating the year of this calendar system.
@@ -5101,12 +5097,12 @@ const Ft = {
5101
5097
  },
5102
5098
  // Local week of year
5103
5099
  w: function(n, t, e, o) {
5104
- const r = _o(n, o);
5100
+ const r = Co(n, o);
5105
5101
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Ee(r, t.length);
5106
5102
  },
5107
5103
  // ISO week of year
5108
5104
  I: function(n, t, e) {
5109
- const o = Co(n);
5105
+ const o = wo(n);
5110
5106
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Ee(o, t.length);
5111
5107
  },
5112
5108
  // Day of the month
@@ -5369,7 +5365,7 @@ const Ft = {
5369
5365
  return "Z";
5370
5366
  switch (t) {
5371
5367
  case "X":
5372
- return zn(o);
5368
+ return Gn(o);
5373
5369
  case "XXXX":
5374
5370
  case "XX":
5375
5371
  return Rt(o);
@@ -5384,7 +5380,7 @@ const Ft = {
5384
5380
  const o = n.getTimezoneOffset();
5385
5381
  switch (t) {
5386
5382
  case "x":
5387
- return zn(o);
5383
+ return Gn(o);
5388
5384
  case "xxxx":
5389
5385
  case "xx":
5390
5386
  return Rt(o);
@@ -5401,7 +5397,7 @@ const Ft = {
5401
5397
  case "O":
5402
5398
  case "OO":
5403
5399
  case "OOO":
5404
- return "GMT" + Gn(o, ":");
5400
+ return "GMT" + qn(o, ":");
5405
5401
  case "OOOO":
5406
5402
  default:
5407
5403
  return "GMT" + Rt(o, ":");
@@ -5414,7 +5410,7 @@ const Ft = {
5414
5410
  case "z":
5415
5411
  case "zz":
5416
5412
  case "zzz":
5417
- return "GMT" + Gn(o, ":");
5413
+ return "GMT" + qn(o, ":");
5418
5414
  case "zzzz":
5419
5415
  default:
5420
5416
  return "GMT" + Rt(o, ":");
@@ -5431,18 +5427,18 @@ const Ft = {
5431
5427
  return Ee(o, t.length);
5432
5428
  }
5433
5429
  };
5434
- function Gn(n, t = "") {
5430
+ function qn(n, t = "") {
5435
5431
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
5436
5432
  return a === 0 ? e + String(r) : e + String(r) + t + Ee(a, 2);
5437
5433
  }
5438
- function zn(n, t) {
5434
+ function Gn(n, t) {
5439
5435
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ee(Math.abs(n) / 60, 2) : Rt(n, t);
5440
5436
  }
5441
5437
  function Rt(n, t = "") {
5442
5438
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Ee(Math.trunc(o / 60), 2), a = Ee(o % 60, 2);
5443
5439
  return e + r + t + a;
5444
5440
  }
5445
- const Yn = (n, t) => {
5441
+ const zn = (n, t) => {
5446
5442
  switch (n) {
5447
5443
  case "P":
5448
5444
  return t.date({ width: "short" });
@@ -5454,7 +5450,7 @@ const Yn = (n, t) => {
5454
5450
  default:
5455
5451
  return t.date({ width: "full" });
5456
5452
  }
5457
- }, xo = (n, t) => {
5453
+ }, _o = (n, t) => {
5458
5454
  switch (n) {
5459
5455
  case "p":
5460
5456
  return t.time({ width: "short" });
@@ -5469,7 +5465,7 @@ const Yn = (n, t) => {
5469
5465
  }, yl = (n, t) => {
5470
5466
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
5471
5467
  if (!r)
5472
- return Yn(n, t);
5468
+ return zn(n, t);
5473
5469
  let a;
5474
5470
  switch (o) {
5475
5471
  case "P":
@@ -5486,15 +5482,15 @@ const Yn = (n, t) => {
5486
5482
  a = t.dateTime({ width: "full" });
5487
5483
  break;
5488
5484
  }
5489
- return a.replace("{{date}}", Yn(o, t)).replace("{{time}}", xo(r, t));
5485
+ return a.replace("{{date}}", zn(o, t)).replace("{{time}}", _o(r, t));
5490
5486
  }, _n = {
5491
- p: xo,
5487
+ p: _o,
5492
5488
  P: yl
5493
5489
  }, bl = /^D+$/, wl = /^Y+$/, Cl = ["D", "DD", "YY", "YYYY"];
5494
- function To(n) {
5490
+ function xo(n) {
5495
5491
  return bl.test(n);
5496
5492
  }
5497
- function So(n) {
5493
+ function To(n) {
5498
5494
  return wl.test(n);
5499
5495
  }
5500
5496
  function xn(n, t, e) {
@@ -5506,9 +5502,9 @@ function _l(n, t, e) {
5506
5502
  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`;
5507
5503
  }
5508
5504
  const xl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Tl = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Sl = /^'([^]*?)'?$/, Fl = /''/g, Ml = /[a-zA-Z]/;
5509
- function Fo(n, t, e) {
5505
+ function So(n, t, e) {
5510
5506
  var d, u, m, f;
5511
- const o = Ht(), r = o.locale ?? wo, a = o.firstWeekContainsDate ?? ((u = (d = o.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((f = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
5507
+ const o = Ht(), r = o.locale ?? bo, a = o.firstWeekContainsDate ?? ((u = (d = o.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((f = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ye(n);
5512
5508
  if (!Ns(s))
5513
5509
  throw new RangeError("Invalid time value");
5514
5510
  let l = t.match(Tl).map((p) => {
@@ -5524,7 +5520,7 @@ function Fo(n, t, e) {
5524
5520
  const F = p[0];
5525
5521
  if (F === "'")
5526
5522
  return { isToken: !1, value: kl(p) };
5527
- if (qn[F])
5523
+ if (Hn[F])
5528
5524
  return { isToken: !0, value: p };
5529
5525
  if (F.match(Ml))
5530
5526
  throw new RangeError(
@@ -5541,8 +5537,8 @@ function Fo(n, t, e) {
5541
5537
  return l.map((p) => {
5542
5538
  if (!p.isToken) return p.value;
5543
5539
  const F = p.value;
5544
- (So(F) || To(F)) && xn(F, t, String(n));
5545
- const w = qn[F[0]];
5540
+ (To(F) || xo(F)) && xn(F, t, String(n));
5541
+ const w = Hn[F[0]];
5546
5542
  return w(s, F, r.localize, c);
5547
5543
  }).join("");
5548
5544
  }
@@ -5571,7 +5567,7 @@ function Ol(n, t) {
5571
5567
  ), e;
5572
5568
  }
5573
5569
  const Dl = 10;
5574
- class Mo {
5570
+ class Fo {
5575
5571
  constructor() {
5576
5572
  L(this, "subPriority", 0);
5577
5573
  }
@@ -5579,7 +5575,7 @@ class Mo {
5579
5575
  return !0;
5580
5576
  }
5581
5577
  }
5582
- class Pl extends Mo {
5578
+ class Pl extends Fo {
5583
5579
  constructor(t, e, o, r, a) {
5584
5580
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, a && (this.subPriority = a);
5585
5581
  }
@@ -5590,7 +5586,7 @@ class Pl extends Mo {
5590
5586
  return this.setValue(t, e, this.value, o);
5591
5587
  }
5592
5588
  }
5593
- class Vl extends Mo {
5589
+ class Vl extends Fo {
5594
5590
  constructor() {
5595
5591
  super(...arguments);
5596
5592
  L(this, "priority", Dl);
@@ -5714,7 +5710,7 @@ function mt(n, t) {
5714
5710
  rest: t.slice(e[0].length)
5715
5711
  };
5716
5712
  }
5717
- function ko(n) {
5713
+ function Mo(n) {
5718
5714
  return $e(Ae.anyDigitsSigned, n);
5719
5715
  }
5720
5716
  function je(n, t) {
@@ -5762,7 +5758,7 @@ function On(n) {
5762
5758
  return 0;
5763
5759
  }
5764
5760
  }
5765
- function Io(n, t) {
5761
+ function ko(n, t) {
5766
5762
  const e = t > 0, o = e ? t : 1 - t;
5767
5763
  let r;
5768
5764
  if (o <= 50)
@@ -5773,7 +5769,7 @@ function Io(n, t) {
5773
5769
  }
5774
5770
  return e ? r : 1 - r;
5775
5771
  }
5776
- function Eo(n) {
5772
+ function Io(n) {
5777
5773
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
5778
5774
  }
5779
5775
  class Nl extends ke {
@@ -5807,7 +5803,7 @@ class Nl extends ke {
5807
5803
  set(e, o, r) {
5808
5804
  const a = e.getFullYear();
5809
5805
  if (r.isTwoDigitYear) {
5810
- const s = Io(
5806
+ const s = ko(
5811
5807
  r.year,
5812
5808
  a
5813
5809
  );
@@ -5862,7 +5858,7 @@ class Rl extends ke {
5862
5858
  set(e, o, r, a) {
5863
5859
  const i = En(e, a);
5864
5860
  if (r.isTwoDigitYear) {
5865
- const l = Io(
5861
+ const l = ko(
5866
5862
  r.year,
5867
5863
  i
5868
5864
  );
@@ -6168,7 +6164,7 @@ class Hl extends ke {
6168
6164
  }
6169
6165
  }
6170
6166
  function ql(n, t, e) {
6171
- const o = Ye(n), r = _o(o, e) - t;
6167
+ const o = Ye(n), r = Co(o, e) - t;
6172
6168
  return o.setDate(o.getDate() - r * 7), o;
6173
6169
  }
6174
6170
  class Gl extends ke {
@@ -6209,7 +6205,7 @@ class Gl extends ke {
6209
6205
  }
6210
6206
  }
6211
6207
  function zl(n, t) {
6212
- const e = Ye(n), o = Co(e) - t;
6208
+ const e = Ye(n), o = wo(e) - t;
6213
6209
  return e.setDate(e.getDate() - o * 7), e;
6214
6210
  }
6215
6211
  class Yl extends ke {
@@ -6295,7 +6291,7 @@ class Ql extends ke {
6295
6291
  }
6296
6292
  }
6297
6293
  validate(e, o) {
6298
- const r = e.getFullYear(), a = Eo(r), i = e.getMonth();
6294
+ const r = e.getFullYear(), a = Io(r), i = e.getMonth();
6299
6295
  return a ? o >= 1 && o <= Xl[i] : o >= 1 && o <= Ul[i];
6300
6296
  }
6301
6297
  set(e, o, r) {
@@ -6338,7 +6334,7 @@ class Kl extends ke {
6338
6334
  }
6339
6335
  validate(e, o) {
6340
6336
  const r = e.getFullYear();
6341
- return Eo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
6337
+ return Io(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
6342
6338
  }
6343
6339
  set(e, o, r) {
6344
6340
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -6347,7 +6343,7 @@ class Kl extends ke {
6347
6343
  function Dn(n, t, e) {
6348
6344
  var u, m, f, p;
6349
6345
  const o = Ht(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((m = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : m.weekStartsOn) ?? o.weekStartsOn ?? ((p = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : p.weekStartsOn) ?? 0, a = Ye(n), i = a.getDay(), l = (t % 7 + 7) % 7, c = 7 - r, d = t < 0 || t > 6 ? t - (i + c) % 7 : (l + c) % 7 - (i + c) % 7;
6350
- return go(a, d);
6346
+ return vo(a, d);
6351
6347
  }
6352
6348
  class Jl extends ke {
6353
6349
  constructor() {
@@ -6518,7 +6514,7 @@ class eu extends ke {
6518
6514
  }
6519
6515
  function tu(n, t) {
6520
6516
  const e = Ye(n), o = El(e), r = t - o;
6521
- return go(e, r);
6517
+ return vo(e, r);
6522
6518
  }
6523
6519
  class nu extends ke {
6524
6520
  constructor() {
@@ -6968,7 +6964,7 @@ class hu extends ke {
6968
6964
  L(this, "incompatibleTokens", "*");
6969
6965
  }
6970
6966
  parse(e) {
6971
- return ko(e);
6967
+ return Mo(e);
6972
6968
  }
6973
6969
  set(e, o, r) {
6974
6970
  return [We(e, r * 1e3), { timestampIsSet: !0 }];
@@ -6981,7 +6977,7 @@ class vu extends ke {
6981
6977
  L(this, "incompatibleTokens", "*");
6982
6978
  }
6983
6979
  parse(e) {
6984
- return ko(e);
6980
+ return Mo(e);
6985
6981
  }
6986
6982
  set(e, o, r) {
6987
6983
  return [We(e, r), { timestampIsSet: !0 }];
@@ -7020,9 +7016,9 @@ const gu = {
7020
7016
  t: new hu(),
7021
7017
  T: new vu()
7022
7018
  }, yu = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, bu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, wu = /^'([^]*?)'?$/, Cu = /''/g, _u = /\S/, xu = /[a-zA-Z]/;
7023
- function Oo(n, t, e, o) {
7019
+ function Eo(n, t, e, o) {
7024
7020
  var F, w, h, C;
7025
- const r = Il(), a = r.locale ?? wo, i = r.firstWeekContainsDate ?? ((w = (F = r.locale) == null ? void 0 : F.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((C = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : C.weekStartsOn) ?? 0;
7021
+ const r = Il(), a = r.locale ?? bo, i = r.firstWeekContainsDate ?? ((w = (F = r.locale) == null ? void 0 : F.options) == null ? void 0 : w.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((C = (h = r.locale) == null ? void 0 : h.options) == null ? void 0 : C.weekStartsOn) ?? 0;
7026
7022
  if (t === "")
7027
7023
  return n === "" ? Ye(e) : We(e, NaN);
7028
7024
  const l = {
@@ -7038,7 +7034,7 @@ function Oo(n, t, e, o) {
7038
7034
  return g;
7039
7035
  }).join("").match(yu), u = [];
7040
7036
  for (let g of d) {
7041
- So(g) && xn(g, t, n), To(g) && xn(g, t, n);
7037
+ To(g) && xn(g, t, n), xo(g) && xn(g, t, n);
7042
7038
  const _ = g[0], k = gu[_];
7043
7039
  if (k) {
7044
7040
  const { incompatibleTokens: M } = k;
@@ -7095,7 +7091,7 @@ function Oo(n, t, e, o) {
7095
7091
  function Tu(n) {
7096
7092
  return n.match(wu)[1].replace(Cu, "'");
7097
7093
  }
7098
- class Do {
7094
+ class Oo {
7099
7095
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
7100
7096
  L(this, "editorType", "date-picker");
7101
7097
  L(this, "value");
@@ -7112,8 +7108,8 @@ class Do {
7112
7108
  }
7113
7109
  getDisplayText() {
7114
7110
  if (typeof this.value == "string" && this.value) {
7115
- const t = Oo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7116
- return Fo(t, this.displayFormat);
7111
+ const t = Eo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7112
+ return So(t, this.displayFormat);
7117
7113
  }
7118
7114
  return this.getValue();
7119
7115
  }
@@ -7148,7 +7144,7 @@ class on {
7148
7144
  return !this.begin || !this.end;
7149
7145
  }
7150
7146
  }
7151
- class Po {
7147
+ class Do {
7152
7148
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
7153
7149
  L(this, "editorType", "datetime-picker");
7154
7150
  L(this, "value");
@@ -7165,8 +7161,8 @@ class Po {
7165
7161
  }
7166
7162
  getDisplayText() {
7167
7163
  if (typeof this.value == "string" && this.value) {
7168
- const t = Oo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7169
- return Fo(t, this.displayFormat);
7164
+ const t = Eo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
7165
+ return So(t, this.displayFormat);
7170
7166
  }
7171
7167
  return this.getValue();
7172
7168
  }
@@ -7177,7 +7173,7 @@ class Po {
7177
7173
  return !this.value;
7178
7174
  }
7179
7175
  }
7180
- class Vo {
7176
+ class Po {
7181
7177
  constructor(t = { value: "", valueList: [] }) {
7182
7178
  L(this, "editorType", "combo-list");
7183
7179
  L(this, "value");
@@ -7262,7 +7258,7 @@ class Su {
7262
7258
  return !this.displayText && !this.value.length;
7263
7259
  }
7264
7260
  }
7265
- class Bo {
7261
+ class Vo {
7266
7262
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
7267
7263
  L(this, "editorType", "lookup");
7268
7264
  L(this, "helpId");
@@ -7290,7 +7286,7 @@ class Bo {
7290
7286
  return !this.mapFields.length;
7291
7287
  }
7292
7288
  }
7293
- class No {
7289
+ class Bo {
7294
7290
  constructor(t = { value: "" }) {
7295
7291
  L(this, "editorType", "month-picker");
7296
7292
  L(this, "value");
@@ -7313,7 +7309,7 @@ class No {
7313
7309
  return !this.value;
7314
7310
  }
7315
7311
  }
7316
- class Ro {
7312
+ class No {
7317
7313
  constructor(t = { begin: "", end: "" }) {
7318
7314
  L(this, "editorType", "month-range");
7319
7315
  L(this, "begin");
@@ -7337,7 +7333,7 @@ class Ro {
7337
7333
  return !this.begin || !this.end;
7338
7334
  }
7339
7335
  }
7340
- class Lo {
7336
+ class Ro {
7341
7337
  constructor(t = { begin: null, end: null }) {
7342
7338
  L(this, "editorType", "number-range");
7343
7339
  L(this, "begin");
@@ -7364,7 +7360,7 @@ class Lo {
7364
7360
  return this.begin == null && this.end == null;
7365
7361
  }
7366
7362
  }
7367
- class $o {
7363
+ class Lo {
7368
7364
  constructor(t = { value: "" }) {
7369
7365
  L(this, "editorType", "number-spinner");
7370
7366
  L(this, "value");
@@ -7388,7 +7384,7 @@ class $o {
7388
7384
  return this.value == null || isNaN(this.value);
7389
7385
  }
7390
7386
  }
7391
- class Wo {
7387
+ class $o {
7392
7388
  constructor(t = { value: null, valueList: [] }) {
7393
7389
  L(this, "editorType", "radio-group");
7394
7390
  L(this, "value");
@@ -7436,45 +7432,45 @@ class rn {
7436
7432
  return !this.value;
7437
7433
  }
7438
7434
  }
7439
- function jo() {
7435
+ function Wo() {
7440
7436
  function n(t, e) {
7441
7437
  switch (t) {
7442
7438
  case "check-box":
7443
- return new ho(e);
7439
+ return new mo(e);
7444
7440
  case "combo-list":
7445
- return new Vo(e);
7441
+ return new Po(e);
7446
7442
  case "combo-lookup":
7447
- return new vo(e);
7443
+ return new ho(e);
7448
7444
  case "input-group":
7449
7445
  return new Su(e);
7450
7446
  case "date-picker":
7451
- return new Do(e);
7447
+ return new Oo(e);
7452
7448
  case "date-range":
7453
7449
  return new on(e);
7454
7450
  case "datetime-picker":
7455
- return new Po(e);
7451
+ return new Do(e);
7456
7452
  case "datetime-range":
7457
7453
  return new on(e);
7458
7454
  case "lookup":
7459
- return new Bo(e);
7455
+ return new Vo(e);
7460
7456
  case "month-picker":
7461
- return new No(e);
7457
+ return new Bo(e);
7462
7458
  case "month-range":
7463
- return new Ro(e);
7459
+ return new No(e);
7464
7460
  case "number-range":
7465
- return new Lo(e);
7461
+ return new Ro(e);
7466
7462
  case "number-spinner":
7467
- return new $o(e);
7463
+ return new Lo(e);
7468
7464
  case "radio-group":
7469
- return new Wo(e);
7465
+ return new $o(e);
7470
7466
  default:
7471
7467
  return new rn(e);
7472
7468
  }
7473
7469
  }
7474
7470
  return { createConditionValue: n };
7475
7471
  }
7476
- function Ao(n, t) {
7477
- const e = I(n.fields), o = I([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = jo();
7472
+ function jo(n, t) {
7473
+ const e = I(n.fields), o = I([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = Wo();
7478
7474
  function i(d) {
7479
7475
  switch (d.editor ? d.editor.type : "input-group") {
7480
7476
  case "date-range":
@@ -7528,7 +7524,7 @@ function Fu(n, t, e) {
7528
7524
  let m = "col-12";
7529
7525
  return d > 250 * 6 ? m = "col-2" : d > 250 * 4 ? m = "col-3" : d > 250 * 3 ? m = "col-4" : d > 250 * 2 && (m = "col-6"), m;
7530
7526
  }
7531
- const c = Y(() => l(a.value));
7527
+ const c = z(() => l(a.value));
7532
7528
  return Me([e], ([d]) => {
7533
7529
  r.value = d, s();
7534
7530
  }), {
@@ -7536,14 +7532,14 @@ function Fu(n, t, e) {
7536
7532
  resizeObserver: o
7537
7533
  };
7538
7534
  }
7539
- const Un = /* @__PURE__ */ Xe({
7535
+ const Yn = /* @__PURE__ */ Xe({
7540
7536
  name: "FConditionFields",
7541
- props: mo,
7537
+ props: po,
7542
7538
  emits: ["valueChange", "blur", "focus", "click", "input"],
7543
7539
  setup(n, t) {
7544
7540
  const e = I(), o = I(n.key);
7545
7541
  I(n.isControlInline);
7546
- const r = I(n.conditions), a = Ao(n), {
7542
+ const r = I(n.conditions), a = jo(n), {
7547
7543
  initialConditionValue: i,
7548
7544
  fieldMap: s,
7549
7545
  loadFieldConfigs: l
@@ -7551,19 +7547,19 @@ const Un = /* @__PURE__ */ Xe({
7551
7547
  conditionClass: d,
7552
7548
  resizeObserver: u
7553
7549
  } = c;
7554
- l(!0), i(r.value), eo(() => {
7550
+ l(!0), i(r.value), Zn(() => {
7555
7551
  var w;
7556
7552
  (w = u.value) == null || w.unobserve(e.value);
7557
7553
  }), Me(() => n.conditions, () => {
7558
7554
  r.value = n.conditions, i(r.value);
7559
7555
  });
7560
- const m = Y(() => ({
7556
+ const m = z(() => ({
7561
7557
  // row: true,
7562
7558
  "f-utils-flex-row-wrap": !0,
7563
7559
  "farris-form": !0,
7564
7560
  "condition-div": !0,
7565
7561
  "farris-form-controls-inline": n.isControlInline
7566
- })), f = Y(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
7562
+ })), f = z(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
7567
7563
  function p(w, h, C, g) {
7568
7564
  w.value.editorType === "combo-list" && g.newValue ? w.value.valueList = g.newValue.map((_) => ({
7569
7565
  name: _.name,
@@ -7600,11 +7596,11 @@ const Un = /* @__PURE__ */ Xe({
7600
7596
  }, null);
7601
7597
  });
7602
7598
  }
7603
- return () => Jo(P("div", {
7599
+ return () => Ko(P("div", {
7604
7600
  class: m.value,
7605
7601
  key: o.value,
7606
7602
  ref: e
7607
- }, [F()]), [[Zo("area-response")]]);
7603
+ }, [F()]), [[Jo("area-response")]]);
7608
7604
  }
7609
7605
  }), Pn = /* @__PURE__ */ new Map([
7610
7606
  ["appearance", cn]
@@ -7873,7 +7869,7 @@ const ju = "https://json-schema.org/draft/2020-12/schema", Au = "https://farris-
7873
7869
  "id",
7874
7870
  "type",
7875
7871
  "editor"
7876
- ], Ho = {
7872
+ ], Ao = {
7877
7873
  $schema: ju,
7878
7874
  $id: Au,
7879
7875
  title: Hu,
@@ -7881,7 +7877,7 @@ const ju = "https://json-schema.org/draft/2020-12/schema", Au = "https://farris-
7881
7877
  type: Gu,
7882
7878
  properties: zu,
7883
7879
  required: Yu
7884
- }, qo = {
7880
+ }, Ho = {
7885
7881
  id: { type: String, default: "" },
7886
7882
  customClass: { type: String, default: "" },
7887
7883
  customStyle: { type: String, default: "" },
@@ -7899,8 +7895,8 @@ const ju = "https://json-schema.org/draft/2020-12/schema", Au = "https://farris-
7899
7895
  errors: { type: Object, default: null }
7900
7896
  };
7901
7897
  Ct(
7902
- qo,
7903
7898
  Ho,
7899
+ Ao,
7904
7900
  Pn,
7905
7901
  void 0
7906
7902
  );
@@ -8207,10 +8203,10 @@ class Zu extends dn {
8207
8203
  a.appearance || (a.appearance = {
8208
8204
  class: ""
8209
8205
  }), a.appearance.class || (a.appearance.class = ""), e ? a.appearance.class.includes("farris-group-multi-label") || (a.appearance.class = a.appearance.class + " farris-group-multi-label") : a.appearance.class = a.appearance.class.replace("farris-group-multi-label", "").trim();
8210
- }), so());
8206
+ }), io());
8211
8207
  }
8212
8208
  }
8213
- function Xn(n, t) {
8209
+ function Un(n, t) {
8214
8210
  const e = n.schema, o = new Xu(), { canMove: r, canAccept: a, canDelete: i } = o.getTemplateRule(n, t);
8215
8211
  function s(b, T) {
8216
8212
  const { sourceElement: B } = b, { componentInstance: R } = B, V = t == null ? void 0 : t.formSchemaUtils;
@@ -8350,8 +8346,8 @@ function Xn(n, t) {
8350
8346
  const R = {}, V = b.type === "form-group" && b.editor ? b.editor.type : b.type, N = (G = ra[V]) == null ? void 0 : G.events;
8351
8347
  if (!N)
8352
8348
  return;
8353
- Object.keys(b).forEach((U) => {
8354
- const K = Object.keys(N).find((Z) => Z === U);
8349
+ Object.keys(b).forEach((Y) => {
8350
+ const K = Object.keys(N).find((Z) => Z === Y);
8355
8351
  if (K && b[K]) {
8356
8352
  const Z = T.commands.find((J) => J.code === b[K]);
8357
8353
  if (Z) {
@@ -8362,17 +8358,17 @@ function Xn(n, t) {
8362
8358
  });
8363
8359
  const D = (t == null ? void 0 : t.designViewModelUtils).getDgViewModel(B.id), O = ["valueChanging", "valueChanged"];
8364
8360
  if (((j = b.binding) == null ? void 0 : j.type) === Nt.Form) {
8365
- const U = (A = B.fields) == null ? void 0 : A.find((K) => K.id === b.binding.field);
8366
- U && O.forEach((K) => {
8367
- if (U[K]) {
8368
- const Z = T.commands.find((J) => J.code === U[K]);
8361
+ const Y = (A = B.fields) == null ? void 0 : A.find((K) => K.id === b.binding.field);
8362
+ Y && O.forEach((K) => {
8363
+ if (Y[K]) {
8364
+ const Z = T.commands.find((J) => J.code === Y[K]);
8369
8365
  if (!Z)
8370
8366
  return;
8371
8367
  if (R[Z.code])
8372
- D.changeField(U.id, { [K]: R[Z.code].code });
8368
+ D.changeField(Y.id, { [K]: R[Z.code].code });
8373
8369
  else {
8374
8370
  const J = h(Z);
8375
- R[Z.code] = J, B.commands.push(J), D.changeField(U.id, { [K]: J.code });
8371
+ R[Z.code] = J, B.commands.push(J), D.changeField(Y.id, { [K]: J.code });
8376
8372
  }
8377
8373
  }
8378
8374
  });
@@ -8498,7 +8494,7 @@ const ec = {
8498
8494
  }), Me([() => n.valid, () => n.inValidTip], ([l, c]) => {
8499
8495
  r.value = l, a.value = c;
8500
8496
  });
8501
- const i = Y(() => r.value ? o.value : a.value), s = Y(() => r.value ? "" : "color:red");
8497
+ const i = z(() => r.value ? o.value : a.value), s = z(() => r.value ? "" : "color:red");
8502
8498
  return () => o.value && P("label", {
8503
8499
  class: "col-form-label",
8504
8500
  title: i.value,
@@ -8514,9 +8510,9 @@ const ec = {
8514
8510
  }, [o.value])]);
8515
8511
  }
8516
8512
  }), se = {}, le = {}, ue = {}, ce = {};
8517
- let Qn = !1;
8513
+ let Xn = !1;
8518
8514
  function nc() {
8519
- Qn || (Qn = !0, sa.register(se, le, ue, ce), ia.register(se, le, ue, ce), la.register(se, le, ue, ce), ua.register(se, le, ue, ce), ca.register(se, le, ue, ce), da.register(se, le, ue, ce), $n.register(se, le, ue, ce), Wn.register(se, le, ue, ce), $n.register(se, le, ue, ce), Wn.register(se, le, ue, ce), wn.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), ea.register(se, le, ue, ce), ba.register(se, le, ue, ce), ui.register(se, le, ue, ce), Xr.register(se, le, ue, ce), wa.register(se, le, ue, ce), ni.register(se, le, ue, ce), _a.register(se, le, ue, ce), xa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), Fa.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ma.register(se, le, ue, ce), ka.register(se, le, ue, ce), Ia.register(se, le, ue, ce), Ea.register(se, le, ue, ce), Oa.register(se, le, ue, ce), Hr.register(se, le, ue, ce), Da.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Qr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Ba.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ra.register(se, le, ue, ce), $a.register(se, le, ue, ce), Wa.register(se, le, ue, ce), La.register(se, le, ue, ce), Za.register(se, le, ue), Jr.register(se, le, ue, ce), ja.register(se, le, ue, ce), Aa.register(se, le, ue, ce), Ha.register(se, le, ue, ce), qa.register(se, le, ue, ce), Ga.register(se, le, ue, ce), ri.register(se, le, ue, ce), Ar.register(se, le, ue, ce), Zr.register(se, le, ue, ce), za.register(se, le, ue, ce), Ya.register(se, le, ue, ce), jr.register(se, le, ue, ce), Ua.register(se, le, ue, ce), Qa.register(se, le, ue, ce), Xa.register(se, le, ue, ce), Ka.register(se, le, ue, ce), Ja.register(se, le, ue, ce), ei.register(se, le, ue, ce), Ca.register(se, le, ue, ce), ti.register(se, le, ue, ce), oi.register(se, le, ue, ce), ai.register(se, le, ue, ce), ii.register(se, le, ue, ce), si.register(se, le, ue, ce), li.register(se, le, ue, ce), ci.register(se, le, ue, ce), di.register(se, le, ue, ce));
8515
+ Xn || (Xn = !0, sa.register(se, le, ue, ce), ia.register(se, le, ue, ce), la.register(se, le, ue, ce), ua.register(se, le, ue, ce), ca.register(se, le, ue, ce), da.register(se, le, ue, ce), Ln.register(se, le, ue, ce), $n.register(se, le, ue, ce), Ln.register(se, le, ue, ce), $n.register(se, le, ue, ce), wn.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), ea.register(se, le, ue, ce), ba.register(se, le, ue, ce), ui.register(se, le, ue, ce), Ur.register(se, le, ue, ce), wa.register(se, le, ue, ce), ni.register(se, le, ue, ce), _a.register(se, le, ue, ce), xa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), Fa.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ma.register(se, le, ue, ce), ka.register(se, le, ue, ce), Ia.register(se, le, ue, ce), Ea.register(se, le, ue, ce), Oa.register(se, le, ue, ce), Ar.register(se, le, ue, ce), Da.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Qr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Ba.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ra.register(se, le, ue, ce), $a.register(se, le, ue, ce), Wa.register(se, le, ue, ce), La.register(se, le, ue, ce), Za.register(se, le, ue), Jr.register(se, le, ue, ce), ja.register(se, le, ue, ce), Aa.register(se, le, ue, ce), Ha.register(se, le, ue, ce), qa.register(se, le, ue, ce), Ga.register(se, le, ue, ce), ri.register(se, le, ue, ce), jr.register(se, le, ue, ce), Zr.register(se, le, ue, ce), za.register(se, le, ue, ce), Ya.register(se, le, ue, ce), Wr.register(se, le, ue, ce), Ua.register(se, le, ue, ce), Qa.register(se, le, ue, ce), Xa.register(se, le, ue, ce), Ka.register(se, le, ue, ce), Ja.register(se, le, ue, ce), ei.register(se, le, ue, ce), Ca.register(se, le, ue, ce), ti.register(se, le, ue, ce), oi.register(se, le, ue, ce), ai.register(se, le, ue, ce), ii.register(se, le, ue, ce), si.register(se, le, ue, ce), li.register(se, le, ue, ce), ci.register(se, le, ue, ce), di.register(se, le, ue, ce));
8520
8516
  }
8521
8517
  function oc() {
8522
8518
  nc();
@@ -8645,7 +8641,7 @@ const rc = {
8645
8641
  Me(() => n.errors, (a) => {
8646
8642
  e.value = a;
8647
8643
  });
8648
- const o = I(!0), r = Y(() => {
8644
+ const o = I(!0), r = z(() => {
8649
8645
  if (e.value) {
8650
8646
  const a = Object.keys(e.value).map((i) => {
8651
8647
  var s;
@@ -8666,7 +8662,7 @@ const rc = {
8666
8662
  }
8667
8663
  }), ic = /* @__PURE__ */ Xe({
8668
8664
  name: "FDynamicFormGroup",
8669
- props: qo,
8665
+ props: Ho,
8670
8666
  emits: ["change", "update:modelValue"],
8671
8667
  setup(n, t) {
8672
8668
  var M;
@@ -8677,7 +8673,7 @@ const rc = {
8677
8673
  resolveEditorType: p,
8678
8674
  getChangeFunctionName: F,
8679
8675
  getClearFunctionName: w
8680
- } = oc(), h = Y(() => ({
8676
+ } = oc(), h = z(() => ({
8681
8677
  "form-group": !0,
8682
8678
  "farris-form-group": !0,
8683
8679
  "common-group": !0,
@@ -8693,7 +8689,7 @@ const rc = {
8693
8689
  function g() {
8694
8690
  t.emit("update:modelValue", "");
8695
8691
  }
8696
- const _ = Y(() => {
8692
+ const _ = z(() => {
8697
8693
  const v = r.value.type || "input-group", S = p(v), x = f(v, r.value), E = F(v), y = w(r.value.type);
8698
8694
  return y && (x[y] = g), x[E] = C, (x.id == null || x.id === "") && (x.id = e.value), v === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (x.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (x.onEndValueChange = r.value.onEndValueChange)) : v === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? x["onUpdate:idValue"] = r.value["onUpdate:idValue"] : v === "property-editor" && (x.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => P(S, $t({
8699
8695
  ref: u
@@ -8813,7 +8809,7 @@ L(jt, "fieldControlTypeMapping", {
8813
8809
  { key: ie["radio-group"].type, value: ie["radio-group"].name }
8814
8810
  ]
8815
8811
  });
8816
- let Kn = jt;
8812
+ let Qn = jt;
8817
8813
  const uc = {
8818
8814
  id: { type: String, default: "" },
8819
8815
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
@@ -8831,7 +8827,7 @@ const uc = {
8831
8827
  };
8832
8828
  Ct(
8833
8829
  uc,
8834
- Ho,
8830
+ Ao,
8835
8831
  Pn,
8836
8832
  void 0
8837
8833
  );
@@ -8923,7 +8919,7 @@ function xc() {
8923
8919
  return { onCopy: n };
8924
8920
  }
8925
8921
  function Tc(n, t, e, o) {
8926
- const r = I(14), a = I(140), i = I(""), s = I(o.value.length), l = Y(() => o.value), c = Y(() => ({
8922
+ const r = I(14), a = I(140), i = I(""), s = I(o.value.length), l = z(() => o.value), c = z(() => ({
8927
8923
  "font-size": `${r.value}px`,
8928
8924
  height: "100%"
8929
8925
  }));
@@ -8957,7 +8953,7 @@ function Sc(n, t, e, o) {
8957
8953
  function Fc() {
8958
8954
  const n = I(!1), t = I("复制成功");
8959
8955
  return {
8960
- feedbackStyle: Y(() => {
8956
+ feedbackStyle: z(() => {
8961
8957
  const o = {
8962
8958
  position: "absolute",
8963
8959
  left: "50%",
@@ -8985,7 +8981,7 @@ function Mc(n, t) {
8985
8981
  return () => e && e();
8986
8982
  }
8987
8983
  function kc(n) {
8988
- const t = Y(() => !!n.value && !!n.value.date), e = Y(() => `发生时间 : ${n.value && n.value.date || ""}`), o = Y(() => !!n.value && !!n.value.detail), r = Y(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
8984
+ const t = z(() => !!n.value && !!n.value.date), e = z(() => `发生时间 : ${n.value && n.value.date || ""}`), o = z(() => !!n.value && !!n.value.detail), r = z(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
8989
8985
  return () => P("div", {
8990
8986
  class: "toast-msg-detail"
8991
8987
  }, [t.value && P("div", null, [e.value]), o.value && /* <div id="exception_error_msg" class="exception_error_msg" ref="exceptionMessageRef" style={exceptionMessageStyle.value}>
@@ -9017,12 +9013,12 @@ function Ic(n) {
9017
9013
  }, null);
9018
9014
  }
9019
9015
  function Ec(n, t, e, o) {
9020
- const r = I(n.exceptionInfo), a = Y(() => {
9016
+ const r = I(n.exceptionInfo), a = z(() => {
9021
9017
  const m = {
9022
9018
  "f-icon": !0
9023
9019
  }, f = `f-icon-${t.value}`;
9024
9020
  return m[f] = !0, m;
9025
- }), i = Y(() => e.value || r.value && r.value.message), s = Y(() => o.value), l = Y(() => !!o.value), c = Y(() => !!r.value);
9021
+ }), i = z(() => e.value || r.value && r.value.message), s = z(() => o.value), l = z(() => !!o.value), c = z(() => !!r.value);
9026
9022
  function d() {
9027
9023
  return c.value ? kc(r) : l.value ? Ic(s) : () => null;
9028
9024
  }
@@ -9047,7 +9043,7 @@ function Oc(n, t, e) {
9047
9043
  date: "",
9048
9044
  message: "",
9049
9045
  detail: ""
9050
- }), l = Y(() => s.value && s.value.detail || "");
9046
+ }), l = z(() => s.value && s.value.detail || "");
9051
9047
  function c(d) {
9052
9048
  o(l.value).catch((u) => {
9053
9049
  a.value = "复制失败";
@@ -9065,7 +9061,7 @@ function Oc(n, t, e) {
9065
9061
  }, [i.value])]);
9066
9062
  }
9067
9063
  function Dc(n, t, e, o) {
9068
- const r = I(n.type), a = I(n.buttons), i = I(n.exceptionInfo), s = I(n.okButtonText), l = I(n.cancelButtonText), c = I(!0), d = I(!0), u = Y(() => !!(a.value && a.value.length)), m = Y(() => i.value && i.value.date && i.value.message && i.value.detail), f = Y(() => !(a.value && a.value.length) && (s.value || l.value)), p = Y(() => d.value && s.value), F = Y(() => c.value && l.value), w = Oc(n, e, o);
9064
+ const r = I(n.type), a = I(n.buttons), i = I(n.exceptionInfo), s = I(n.okButtonText), l = I(n.cancelButtonText), c = I(!0), d = I(!0), u = z(() => !!(a.value && a.value.length)), m = z(() => i.value && i.value.date && i.value.message && i.value.detail), f = z(() => !(a.value && a.value.length) && (s.value || l.value)), p = z(() => d.value && s.value), F = z(() => c.value && l.value), w = Oc(n, e, o);
9069
9065
  function h(g) {
9070
9066
  r.value === "question" && t.emit("reject"), t.emit("close");
9071
9067
  }
@@ -9095,14 +9091,14 @@ const en = /* @__PURE__ */ Xe({
9095
9091
  props: bc,
9096
9092
  emits: ["accept", "reject", "close"],
9097
9093
  setup(n, t) {
9098
- const e = I(n.type), o = I(n.title), r = I(n.detail), a = Y(() => {
9094
+ const e = I(n.type), o = I(n.title), r = I(n.detail), a = z(() => {
9099
9095
  const w = {
9100
9096
  "modal-tips": !0,
9101
9097
  "d-flex": !0,
9102
9098
  "flex-row": !0
9103
9099
  }, h = `messager-type-${e.value}`;
9104
9100
  return w[h] = !0, w;
9105
- }), i = Y(() => {
9101
+ }), i = z(() => {
9106
9102
  const w = {};
9107
9103
  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;
9108
9104
  }), s = xc(), l = Sc(n, e, o, r), c = Fc(), {
@@ -9559,7 +9555,7 @@ function Bc(n, t, e) {
9559
9555
  resetTranslate: _
9560
9556
  };
9561
9557
  }
9562
- function Go(n, t) {
9558
+ function qo(n, t) {
9563
9559
  if (n) {
9564
9560
  const e = (o) => {
9565
9561
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -9572,7 +9568,7 @@ function Go(n, t) {
9572
9568
  function Nc(n, t) {
9573
9569
  const e = I(n.enableEsc);
9574
9570
  let o = null;
9575
- return e.value ? (o = Go("Escape", (r) => {
9571
+ return e.value ? (o = qo("Escape", (r) => {
9576
9572
  t.emit("esc", { event: r.event, type: "esc" });
9577
9573
  }), {
9578
9574
  remove: o
@@ -9581,7 +9577,7 @@ function Nc(n, t) {
9581
9577
  function Rc(n, t) {
9582
9578
  const e = I(n.enableEnter);
9583
9579
  let o = null;
9584
- return e.value ? (o = Go("Enter", (r) => {
9580
+ return e.value ? (o = qo("Enter", (r) => {
9585
9581
  t.emit("enter", { event: r.event, type: "enter" });
9586
9582
  }), {
9587
9583
  remove: o
@@ -9615,7 +9611,7 @@ const Ut = /* @__PURE__ */ Xe({
9615
9611
  handle: (ee) => {
9616
9612
  k(ee, !0);
9617
9613
  }
9618
- }], v = I(n.buttons && n.buttons.length ? n.buttons : M), S = Y(() => !!c.value), x = Y(() => !!w.value && !!v.value), E = I(), y = I(), $ = I(!1), {
9614
+ }], v = I(n.buttons && n.buttons.length ? n.buttons : M), S = z(() => !!c.value), x = z(() => !!w.value && !!v.value), E = I(), y = I(), $ = I(!1), {
9619
9615
  renderResizeBar: W,
9620
9616
  maximize: b,
9621
9617
  restore: T,
@@ -9651,7 +9647,7 @@ const Ut = /* @__PURE__ */ Xe({
9651
9647
  isMaximized: $.value
9652
9648
  });
9653
9649
  });
9654
- const G = Y(() => (r.value && document.body.classList.add("modal-open"), r.value)), j = Y(() => {
9650
+ const G = z(() => (r.value && document.body.classList.add("modal-open"), r.value)), j = z(() => {
9655
9651
  var Oe;
9656
9652
  const ee = {
9657
9653
  modal: !0,
@@ -9661,13 +9657,13 @@ const Ut = /* @__PURE__ */ Xe({
9661
9657
  ee["f-modal-fitContent"] = !!s.value, ee.show = !!G.value;
9662
9658
  const Te = (Oe = n.maskClass) == null ? void 0 : Oe.split(" ");
9663
9659
  return Te == null || Te.reduce((qe, Ne) => (qe[Ne] = !0, qe), ee), ee;
9664
- }), A = Y(() => {
9660
+ }), A = z(() => {
9665
9661
  var Oe;
9666
9662
  const ee = {
9667
9663
  "modal-dialog": !0
9668
9664
  }, Te = (Oe = i.value) == null ? void 0 : Oe.split(" ");
9669
9665
  return Te == null || Te.reduce((qe, Ne) => (qe[Ne] = !0, qe), ee), ee;
9670
- }), U = Y(() => {
9666
+ }), Y = z(() => {
9671
9667
  const ee = {
9672
9668
  position: "absolute",
9673
9669
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -9676,24 +9672,24 @@ const Ut = /* @__PURE__ */ Xe({
9676
9672
  height: s.value ? "auto" : `${o.value}px`
9677
9673
  };
9678
9674
  return n.mask || (ee.pointerEvents = "auto"), ee;
9679
- }), K = Y(() => {
9675
+ }), K = z(() => {
9680
9676
  const ee = {
9681
9677
  display: "block"
9682
9678
  };
9683
9679
  return n.mask || (ee.pointerEvents = "none", ee.backgroundColor = "transparent"), _.value && (ee.backgroundColor = "transparent"), ee;
9684
- }), Z = Y(() => ({
9680
+ }), Z = z(() => ({
9685
9681
  "modal-content": !0,
9686
9682
  "modal-content-has-header": l.value
9687
- })), J = Y(() => {
9683
+ })), J = z(() => {
9688
9684
  const ee = {
9689
9685
  display: l.value ? "" : "none"
9690
9686
  };
9691
9687
  return ee["pointer-events"] = V.value ? "auto" : "none", ee;
9692
- }), fe = Y(() => ({
9688
+ }), me = z(() => ({
9693
9689
  "f-icon": !0,
9694
9690
  modal_maximize: !0,
9695
9691
  modalrevert: $.value
9696
- })), ve = Y(() => ({
9692
+ })), ve = z(() => ({
9697
9693
  "modal-body": !0,
9698
9694
  "f-utils-flex-column": f.value === "iframe",
9699
9695
  "f-utils-fill": !0
@@ -9703,7 +9699,7 @@ const Ut = /* @__PURE__ */ Xe({
9703
9699
  height: `${n.footerHeight || 60}px`
9704
9700
  };
9705
9701
  }
9706
- const Pe = Y(() => {
9702
+ const Pe = z(() => {
9707
9703
  const ee = {
9708
9704
  textAlgin: F.value
9709
9705
  }, Te = xe();
@@ -9722,13 +9718,13 @@ const Ut = /* @__PURE__ */ Xe({
9722
9718
  function de(ee) {
9723
9719
  ee.width && (e.value = ee.width), ee.height && (o.value = ee.height), ee.buttons && (v.value = ee.buttons), ee.title && (h.value = ee.title);
9724
9720
  }
9725
- let z = null, ne = null;
9726
- er(() => {
9721
+ let U = null, re = null;
9722
+ Zo(() => {
9727
9723
  _.value = D();
9728
9724
  }), Et(() => {
9729
- y.value && !C.value && (C.value = y.value.parentElement, B.value = C.value, q(E.value, y.value, B.value)), G.value && document.body.classList.add("modal-open"), z = Nc(n, t), ne = Rc(n, t);
9725
+ y.value && !C.value && (C.value = y.value.parentElement, B.value = C.value, q(E.value, y.value, B.value)), G.value && document.body.classList.add("modal-open"), U = Nc(n, t), re = Rc(n, t);
9730
9726
  }), sn(() => {
9731
- N && N(), z && z.remove(), ne && ne.remove();
9727
+ N && N(), U && U.remove(), re && re.remove();
9732
9728
  }), t.expose({
9733
9729
  modalElementRef: y,
9734
9730
  updateModalOptions: de,
@@ -9746,7 +9742,7 @@ const Ut = /* @__PURE__ */ Xe({
9746
9742
  class: "f-btn-icon f-bare",
9747
9743
  style: "pointer-events: auto;"
9748
9744
  }, [P("span", {
9749
- class: fe.value
9745
+ class: me.value
9750
9746
  }, null)]), d.value && P("li", {
9751
9747
  class: "f-btn-icon f-bare",
9752
9748
  onClick: (ee) => k(ee, !1),
@@ -9805,7 +9801,7 @@ const Ut = /* @__PURE__ */ Xe({
9805
9801
  return P("div", {
9806
9802
  id: a.value,
9807
9803
  class: A.value,
9808
- style: U.value,
9804
+ style: Y.value,
9809
9805
  ref: y
9810
9806
  }, [P("div", {
9811
9807
  class: Z.value
@@ -9819,10 +9815,10 @@ const Ut = /* @__PURE__ */ Xe({
9819
9815
  src: p.value
9820
9816
  }, null)]), ot()]), !s.value && y.value && !$.value && W(y.value)]);
9821
9817
  }
9822
- return () => P(tr, {
9818
+ return () => P(er, {
9823
9819
  to: "body"
9824
9820
  }, {
9825
- default: () => [G.value && P(Zn, {
9821
+ default: () => [G.value && P(Jn, {
9826
9822
  name: "fade",
9827
9823
  appear: !0
9828
9824
  }, {
@@ -9836,7 +9832,7 @@ const Ut = /* @__PURE__ */ Xe({
9836
9832
  });
9837
9833
  }
9838
9834
  });
9839
- function zo(n) {
9835
+ function Go(n) {
9840
9836
  if (n.content && n.content.render)
9841
9837
  return n.content.render;
9842
9838
  if (n.render && typeof n.render == "function")
@@ -9845,7 +9841,7 @@ function zo(n) {
9845
9841
  function Lc(n) {
9846
9842
  const t = document.createElement("div");
9847
9843
  t.style.display = "contents";
9848
- const e = Jn({
9844
+ const e = Kn({
9849
9845
  setup(o, r) {
9850
9846
  sn(() => {
9851
9847
  document.body.removeChild(t);
@@ -9855,7 +9851,7 @@ function Lc(n) {
9855
9851
  }), p = n.closedCallback || ((g) => {
9856
9852
  }), F = n.resizeHandle || ((g) => {
9857
9853
  }), w = n.stopMoveHandle || ((g) => {
9858
- }), h = zo(n), C = (g) => {
9854
+ }), h = Go(n), C = (g) => {
9859
9855
  d.value = !1, e.unmount(), p(g);
9860
9856
  };
9861
9857
  return Et(() => {
@@ -9887,14 +9883,14 @@ function Lc(n) {
9887
9883
  });
9888
9884
  return document.body.appendChild(t), e.mount(t), e;
9889
9885
  }
9890
- class Yo {
9886
+ class zo {
9891
9887
  constructor(t) {
9892
9888
  L(this, "appContext", null);
9893
9889
  L(this, "modalRef", I());
9894
9890
  L(this, "activeModalIndex", I(0));
9895
9891
  L(this, "modalRefs", {});
9896
9892
  L(this, "isUseEscCloseModal", I(!1));
9897
- L(this, "activeModalInstance", Y(() => this.modalRefs[this.activeModalIndex.value]));
9893
+ L(this, "activeModalInstance", z(() => this.modalRefs[this.activeModalIndex.value]));
9898
9894
  this.app = t, this.appContext = t ? t._context : null;
9899
9895
  }
9900
9896
  getCurrentModal() {
@@ -9928,7 +9924,7 @@ class Yo {
9928
9924
  open(t) {
9929
9925
  const e = document.createDocumentFragment();
9930
9926
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
9931
- const o = nr(Object.assign({
9927
+ const o = tr(Object.assign({
9932
9928
  title: "",
9933
9929
  showButtons: !0,
9934
9930
  showHeader: !0
@@ -9939,7 +9935,7 @@ class Yo {
9939
9935
  }), c = t.stopMoveHandle || ((k) => {
9940
9936
  });
9941
9937
  let d;
9942
- const u = zo(o.value), m = (k) => {
9938
+ const u = Go(o.value), m = (k) => {
9943
9939
  var v;
9944
9940
  r.value = !1;
9945
9941
  const M = (v = k == null ? void 0 : k.target) == null ? void 0 : v.classList.contains("modal_close");
@@ -9975,7 +9971,7 @@ class Yo {
9975
9971
  default: () => [u && u(this.app)]
9976
9972
  });
9977
9973
  return d = ((k) => {
9978
- const M = or(C, k);
9974
+ const M = nr(C, k);
9979
9975
  return M.appContext = this.appContext, fn(M, e), M;
9980
9976
  })({
9981
9977
  ...o.value
@@ -9985,7 +9981,7 @@ class Yo {
9985
9981
  o.value = {
9986
9982
  ...o.value,
9987
9983
  ...k
9988
- }, d && fn(rr(d, {
9984
+ }, d && fn(or(d, {
9989
9985
  ...o
9990
9986
  }), e);
9991
9987
  },
@@ -9998,7 +9994,7 @@ class Yo {
9998
9994
  const $c = Symbol("FModalService");
9999
9995
  Ut.install = (n) => {
10000
9996
  n.component(Ut.name, Ut);
10001
- const t = new Yo(n);
9997
+ const t = new zo(n);
10002
9998
  n.provide($c, t), n.provide("FModalService", t);
10003
9999
  };
10004
10000
  class Mt {
@@ -10008,7 +10004,7 @@ class Mt {
10008
10004
  }), o = !1, r = e.type === "error" || e.type === "prompt", a = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", i = e.acceptCallback || (() => {
10009
10005
  }), s = e.rejectCallback || (() => {
10010
10006
  });
10011
- let l = null, c = new Yo(l);
10007
+ let l = null, c = new zo(l);
10012
10008
  const d = () => {
10013
10009
  l && (l == null || l.destroy(), c = null);
10014
10010
  };
@@ -10167,7 +10163,7 @@ function Ac(n, t, e) {
10167
10163
  }
10168
10164
  return { getCompareOperators: r };
10169
10165
  }
10170
- function Uo() {
10166
+ function Yo() {
10171
10167
  const n = I({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
10172
10168
  let o = 0;
10173
10169
  function r() {
@@ -10355,7 +10351,7 @@ function Hc(n, t, e) {
10355
10351
  const g = a.get(h.conditionId);
10356
10352
  c(g).forEach((k) => d(k));
10357
10353
  }
10358
- const m = Y(() => o.value.size === 0 && r.value.size === 1), f = function(h) {
10354
+ const m = z(() => o.value.size === 0 && r.value.size === 1), f = function(h) {
10359
10355
  r.value.delete(h.groupId), h.items.forEach((g) => l(g)), h.children.forEach((g) => !m.value && f(g));
10360
10356
  const C = i.get(h.groupId);
10361
10357
  C && r.value.has(C.groupId) && f(C);
@@ -10382,15 +10378,15 @@ function Hc(n, t, e) {
10382
10378
  }
10383
10379
  const gn = /* @__PURE__ */ Xe({
10384
10380
  name: "FConditionList",
10385
- props: mo,
10381
+ props: po,
10386
10382
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
10387
10383
  setup(n, t) {
10388
- const e = I(n.key), o = I(n.conditions), r = Ao(n), {
10384
+ const e = I(n.key), o = I(n.conditions), r = jo(n), {
10389
10385
  convertToSingleControl: a,
10390
10386
  fields: i,
10391
10387
  fieldMap: s,
10392
10388
  loadFieldConfigs: l
10393
- } = r, c = Uo(), {
10389
+ } = r, c = Yo(), {
10394
10390
  addCondition: d,
10395
10391
  changeGroupRelation: u,
10396
10392
  getConditions: m,
@@ -10403,7 +10399,7 @@ const gn = /* @__PURE__ */ Xe({
10403
10399
  unGroup: g
10404
10400
  } = c, {
10405
10401
  createConditionValue: _
10406
- } = jo(), k = Hc(n, t, c), {
10402
+ } = Wo(), k = Hc(n, t, c), {
10407
10403
  selectedItems: M,
10408
10404
  toggleSelect: v
10409
10405
  } = k, {
@@ -10547,7 +10543,7 @@ const gn = /* @__PURE__ */ Xe({
10547
10543
  }
10548
10544
  });
10549
10545
  gn.install = (n) => {
10550
- n.component(Un.name, Un).component(gn.name, gn);
10546
+ n.component(Yn.name, Yn).component(gn.name, gn);
10551
10547
  };
10552
10548
  const qc = [
10553
10549
  "equal",
@@ -10681,37 +10677,37 @@ const qc = [
10681
10677
  ["text", Gc]
10682
10678
  ]);
10683
10679
  function Kc() {
10684
- const n = I([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Uo();
10680
+ const n = I([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Yo();
10685
10681
  function o(w, h) {
10686
10682
  switch (w) {
10687
10683
  case "check-box":
10688
- return new ho({ value: h });
10684
+ return new mo({ value: h });
10689
10685
  case "combo-list":
10690
- return new Vo({ value: h });
10686
+ return new Po({ value: h });
10691
10687
  case "combo-lookup":
10692
- return new vo({ value: h });
10688
+ return new ho({ value: h });
10693
10689
  case "input-group":
10694
10690
  return new rn({ value: h });
10695
10691
  case "date-picker":
10696
- return new Do({ value: h });
10692
+ return new Oo({ value: h });
10697
10693
  case "date-range":
10698
10694
  return new on({ value: h });
10699
10695
  case "datetime-picker":
10700
- return new Po({ value: h });
10696
+ return new Do({ value: h });
10701
10697
  case "datetime-range":
10702
10698
  return new on({ value: h });
10703
10699
  case "lookup":
10704
- return new Bo({ value: h });
10700
+ return new Vo({ value: h });
10705
10701
  case "month-picker":
10706
- return new No({ value: h });
10702
+ return new Bo({ value: h });
10707
10703
  case "month-range":
10708
- return new Ro({ value: h });
10704
+ return new No({ value: h });
10709
10705
  case "number-range":
10710
- return new Lo({ value: h });
10706
+ return new Ro({ value: h });
10711
10707
  case "number-spinner":
10712
- return new $o({ value: h });
10708
+ return new Lo({ value: h });
10713
10709
  case "radio-group":
10714
- return new Wo({ value: h });
10710
+ return new $o({ value: h });
10715
10711
  default:
10716
10712
  return new rn({ value: h });
10717
10713
  }
@@ -10782,21 +10778,21 @@ function Kc() {
10782
10778
  }
10783
10779
  function Jc(n) {
10784
10780
  I(n.selection.showCheckbox || !1);
10785
- const t = Y(() => {
10781
+ const t = z(() => {
10786
10782
  var i;
10787
10783
  return ((i = n.hierarchy) == null ? void 0 : i.collapseField) || "__fv_collapse__";
10788
- }), e = Y(() => {
10784
+ }), e = z(() => {
10789
10785
  var i;
10790
10786
  return ((i = n.hierarchy) == null ? void 0 : i.hasChildrenField) || "__fv_hasChildren__";
10791
- }), o = Y(() => {
10787
+ }), o = z(() => {
10792
10788
  var i;
10793
10789
  return ((i = n.hierarchy) == null ? void 0 : i.parentIdField) || "parent";
10794
- }), r = Y(() => n.hierarchy && n.selection.showCheckbox), a = Y(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10790
+ }), r = z(() => n.hierarchy && n.selection.showCheckbox), a = z(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10795
10791
  return { collapseField: t, hasChildrenField: e, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: a };
10796
10792
  }
10797
10793
  function Zc(n, t, e, o, r, a, i, s, l) {
10798
10794
  var Tt;
10799
- const { dataView: c, visibleDataItems: d } = t, { getVisualData: u, maxVisibleRowIndex: m, minVisibleRowIndex: f } = r, p = Y(() => o.value.primaryColumnsWidth), F = Y(() => o.value.leftColumnsWidth), w = Y(() => o.value.rightColumnsWidth), h = ((Tt = n.rowOption) == null ? void 0 : Tt.height) || 28, C = I(0), g = I(0);
10795
+ const { dataView: c, visibleDataItems: d } = t, { getVisualData: u, maxVisibleRowIndex: m, minVisibleRowIndex: f } = r, p = z(() => o.value.primaryColumnsWidth), F = z(() => o.value.leftColumnsWidth), w = z(() => o.value.rightColumnsWidth), h = ((Tt = n.rowOption) == null ? void 0 : Tt.height) || 28, C = I(0), g = I(0);
10800
10796
  let _ = 0, k = a.value - 1;
10801
10797
  const M = I(0), v = I(0), S = I(0), x = I(n.virtualized), E = 24, y = 1.5;
10802
10798
  let $ = null;
@@ -10804,69 +10800,69 @@ function Zc(n, t, e, o, r, a, i, s, l) {
10804
10800
  const ae = d.value;
10805
10801
  if (ae.length <= 0)
10806
10802
  return 0;
10807
- const pe = m.value < ae.length ? ae[m.value] : ae[ae.length - 1];
10808
- return pe.__fv_data_position__ > ae.length * h ? ae.length * h : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - m.value, 0) * h;
10803
+ const fe = m.value < ae.length ? ae[m.value] : ae[ae.length - 1];
10804
+ return fe.__fv_data_position__ > ae.length * h ? ae.length * h : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - m.value, 0) * h;
10809
10805
  }
10810
- const b = Y(() => {
10806
+ const b = z(() => {
10811
10807
  const ae = W();
10812
10808
  d.value;
10813
- let pe = v.value / Math.max(ae, v.value), ge = Math.floor(pe * v.value);
10809
+ let fe = v.value / Math.max(ae, v.value), ge = Math.floor(fe * v.value);
10814
10810
  for (; v.value > 0 && ge < E; )
10815
- pe *= y, ge = Math.floor(pe * v.value);
10811
+ fe *= y, ge = Math.floor(fe * v.value);
10816
10812
  return ge;
10817
- }), T = Y(() => Math.floor(S.value / Math.max(p.value, S.value) * M.value)), B = 0, R = 0, V = Y(() => M.value - (F.value + p.value + w.value + s.value));
10813
+ }), T = z(() => Math.floor(S.value / Math.max(p.value, S.value) * M.value)), B = 0, R = 0, V = z(() => M.value - (F.value + p.value + w.value + s.value));
10818
10814
  function N(ae) {
10819
10815
  const ge = Math.floor(ae / h) + 1, Ve = d.value;
10820
10816
  return Ve.length > ge ? Ve[ge].__fv_visible_index__ - 1 : 0;
10821
10817
  }
10822
- function q(ae, pe, ge) {
10823
- let Ve = ae, Ge = pe;
10824
- const Je = pe - ae + 1;
10818
+ function q(ae, fe, ge) {
10819
+ let Ve = ae, Ge = fe;
10820
+ const Je = fe - ae + 1;
10825
10821
  if (Je < i + a.value + i) {
10826
- const Q = i + a.value + i - Je, me = pe + Q <= ge, Ce = 0 + Q <= ae;
10827
- if (me)
10822
+ const Q = i + a.value + i - Je, pe = fe + Q <= ge, Ce = 0 + Q <= ae;
10823
+ if (pe)
10828
10824
  Ge += Q, k = Ge;
10829
10825
  else if (Ce)
10830
10826
  Ve -= Q, _ = Ve;
10831
10827
  else {
10832
- const Ie = ge - pe, H = Q - Ie;
10833
- Ge = Math.min(pe + Ie, ge), Ve = Math.max(ae - H, 0);
10828
+ const Ie = ge - fe, H = Q - Ie;
10829
+ Ge = Math.min(fe + Ie, ge), Ve = Math.max(ae - H, 0);
10834
10830
  }
10835
10831
  }
10836
10832
  return { actualStart: Ve, actualEnd: Ge };
10837
10833
  }
10838
10834
  function D(ae) {
10839
10835
  var Ie, H;
10840
- const pe = d.value;
10841
- if (!pe.length) {
10836
+ const fe = d.value;
10837
+ if (!fe.length) {
10842
10838
  e.value = [];
10843
10839
  return;
10844
10840
  }
10845
- const ge = (Ie = n.pagination) != null && Ie.enable ? 0 : Math.max(_ - i, 0), Ve = pe[pe.length - 1].__fv_visible_index__, Ge = (H = n.pagination) != null && H.enable ? pe.length - 1 : Math.min(k + i, Ve), { actualStart: Je, actualEnd: Q } = q(ge, Ge, Ve), me = pe[Je - 1], Ce = u(Je, Q, me, ae);
10841
+ const ge = (Ie = n.pagination) != null && Ie.enable ? 0 : Math.max(_ - i, 0), Ve = fe[fe.length - 1].__fv_visible_index__, Ge = (H = n.pagination) != null && H.enable ? fe.length - 1 : Math.min(k + i, Ve), { actualStart: Je, actualEnd: Q } = q(ge, Ge, Ve), pe = fe[Je - 1], Ce = u(Je, Q, pe, ae);
10846
10842
  Ce.length && (e.value = [...Ce]);
10847
10843
  }
10848
- const O = Y(() => W() > v.value), G = Y(() => Math.floor(p.value) > S.value);
10849
- function j(ae, pe) {
10844
+ const O = z(() => W() > v.value), G = z(() => Math.floor(p.value) > S.value);
10845
+ function j(ae, fe) {
10850
10846
  let ge = ae;
10851
10847
  const Ve = ge > B, Ge = O.value;
10852
- Ge && ge < v.value - pe && (ge = v.value - pe), (!Ge || Ve) && (ge = B), C.value !== ge && (C.value = ge);
10848
+ Ge && ge < v.value - fe && (ge = v.value - fe), (!Ge || Ve) && (ge = B), C.value !== ge && (C.value = ge);
10853
10849
  }
10854
10850
  function A() {
10855
10851
  x.value && (_ = N(Math.abs(C.value)), k = _ + a.value - 1, (_ < f.value || k > m.value - i / 2) && D());
10856
10852
  }
10857
- function U(ae) {
10858
- let pe = C.value + ae;
10859
- pe > B && (pe = B);
10853
+ function Y(ae) {
10854
+ let fe = C.value + ae;
10855
+ fe > B && (fe = B);
10860
10856
  const ge = W();
10861
- j(pe, ge), A();
10857
+ j(fe, ge), A();
10862
10858
  }
10863
10859
  function K(ae) {
10864
10860
  if (!G.value) {
10865
10861
  g.value = 0;
10866
10862
  return;
10867
10863
  }
10868
- let pe = g.value + ae;
10869
- pe > R && (pe = R), pe < V.value && (pe = V.value), g.value !== pe && (g.value = pe);
10864
+ let fe = g.value + ae;
10865
+ fe > R && (fe = R), fe < V.value && (fe = V.value), g.value !== fe && (g.value = fe);
10870
10866
  }
10871
10867
  function Z() {
10872
10868
  Math.abs(g.value) + S.value > p.value && (g.value = Math.min(S.value - p.value, 0));
@@ -10874,103 +10870,103 @@ function Zc(n, t, e, o, r, a, i, s, l) {
10874
10870
  function J() {
10875
10871
  C.value = 0, _ = 0, k = a.value - 1, D();
10876
10872
  }
10877
- function fe() {
10873
+ function me() {
10878
10874
  const ae = W();
10879
10875
  j(C.value, ae);
10880
10876
  }
10881
10877
  Me([S, p], () => {
10882
10878
  K(0);
10883
- }), Me(v, (ae, pe) => {
10884
- ae !== pe && ae >= c.value.length * h && U(0);
10879
+ }), Me(v, (ae, fe) => {
10880
+ ae !== fe && ae >= c.value.length * h && Y(0);
10885
10881
  });
10886
10882
  function ve(ae) {
10887
- let { deltaX: pe } = ae, ge = -1 * ae.deltaY;
10888
- return typeof pe > "u" && (pe = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (pe *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -pe } : { deltaX: pe, deltaY: ge };
10883
+ let { deltaX: fe } = ae, ge = -1 * ae.deltaY;
10884
+ return typeof fe > "u" && (fe = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (fe *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -fe } : { deltaX: fe, deltaY: ge };
10889
10885
  }
10890
10886
  function xe(ae) {
10891
10887
  if (n.disabled || !O.value || ae.target.tagName === "TEXTAREA")
10892
10888
  return;
10893
10889
  ae.preventDefault(), ae.stopPropagation();
10894
- const { deltaX: pe, deltaY: ge } = ve(ae);
10895
- U(ge), K(pe);
10890
+ const { deltaX: fe, deltaY: ge } = ve(ae);
10891
+ Y(ge), K(fe);
10896
10892
  }
10897
- const Pe = Y(() => ({
10893
+ const Pe = z(() => ({
10898
10894
  height: `${c.value.length * h}px`,
10899
10895
  width: `${F.value}px`,
10900
10896
  transform: `translateY(${C.value}px)`
10901
- })), Re = Y(() => ({
10897
+ })), Re = z(() => ({
10902
10898
  transform: `translateY(${C.value}px)`
10903
- })), X = Y(() => ({
10899
+ })), X = z(() => ({
10904
10900
  height: `${(n.autoHeight ? d.value : c.value).length * h}px`,
10905
10901
  width: `${p.value}px`,
10906
10902
  transform: `translate(${g.value}px, ${C.value}px)`
10907
- })), de = Y(() => ({
10903
+ })), de = z(() => ({
10908
10904
  transform: `translate(${g.value}px, ${C.value}px)`
10909
- })), z = Y(() => ({
10905
+ })), U = z(() => ({
10910
10906
  height: `${c.value.length * h}px`,
10911
10907
  width: `${w.value}px`,
10912
10908
  transform: `translateY(${C.value}px)`
10913
- })), ne = Y(() => ({
10909
+ })), re = z(() => ({
10914
10910
  transform: `translateY(${C.value}px)`
10915
- })), be = Y(() => ({
10911
+ })), be = z(() => ({
10916
10912
  height: `${c.value.length * h}px`,
10917
10913
  width: `${s.value}px`,
10918
10914
  transform: `translateY(${C.value}px)`
10919
- })), Fe = Y(() => ({
10915
+ })), Fe = z(() => ({
10920
10916
  width: `${F.value}px`
10921
- })), De = Y(() => ({
10917
+ })), De = z(() => ({
10922
10918
  transform: `translateX(${g.value}px)`
10923
- })), ot = Y(() => ({
10919
+ })), ot = z(() => ({
10924
10920
  width: `${w.value}px`
10925
- })), gt = Y(() => {
10921
+ })), gt = z(() => {
10926
10922
  const ae = W();
10927
10923
  return j(C.value, ae), C.value / (v.value - ae) * (v.value - b.value);
10928
- }), dt = Y(() => ({
10924
+ }), dt = z(() => ({
10929
10925
  width: "8px",
10930
10926
  height: `${b.value}px`,
10931
10927
  top: `${gt.value}px`
10932
- })), ee = Y(() => g.value / V.value * (M.value - T.value)), Te = Y(() => ({
10928
+ })), ee = z(() => g.value / V.value * (M.value - T.value)), Te = z(() => ({
10933
10929
  height: "8px",
10934
10930
  width: `${T.value}px`,
10935
10931
  left: `${ee.value}px`
10936
10932
  })), Oe = I(!1), qe = I(-1), Ne = I(-1), it = I();
10937
10933
  function yt(ae) {
10938
10934
  if (Oe.value && Ne.value !== -1) {
10939
- const pe = Ne.value - ae.pageX, ge = M.value - T.value;
10940
- if (Math.abs(pe) <= ge) {
10941
- const Ve = pe / (S.value - T.value) * (p.value - S.value);
10935
+ const fe = Ne.value - ae.pageX, ge = M.value - T.value;
10936
+ if (Math.abs(fe) <= ge) {
10937
+ const Ve = fe / (S.value - T.value) * (p.value - S.value);
10942
10938
  K(Ve), Ne.value = ae.pageX;
10943
10939
  }
10944
10940
  }
10945
10941
  }
10946
10942
  function _t(ae) {
10947
10943
  if (Oe.value && qe.value !== -1) {
10948
- const pe = qe.value - ae.pageY, ge = W(), Ve = ge - b.value;
10949
- if (Math.abs(pe) <= Ve) {
10950
- const Ge = pe / (v.value - b.value) * (ge - v.value);
10951
- U(Ge), qe.value = ae.pageY;
10944
+ const fe = qe.value - ae.pageY, ge = W(), Ve = ge - b.value;
10945
+ if (Math.abs(fe) <= Ve) {
10946
+ const Ge = fe / (v.value - b.value) * (ge - v.value);
10947
+ Y(Ge), qe.value = ae.pageY;
10952
10948
  }
10953
10949
  }
10954
10950
  }
10955
10951
  function ft(ae) {
10956
10952
  Oe.value = !1, qe.value = -1, Ne.value = -1, document.removeEventListener("mouseup", ft), $ && (document.removeEventListener("mousemove", $), $ = null), document.body.style.userSelect = "", it.value && (it.value.style.opacity = null);
10957
10953
  }
10958
- function Ot(ae, pe, ge) {
10954
+ function Ot(ae, fe, ge) {
10959
10955
  var Je;
10960
10956
  Oe.value = !0;
10961
10957
  const Ve = (Je = ae.target) == null ? void 0 : Je.parentElement;
10962
- Ve && (Ve.style.opacity = "1", it.value = Ve), $ || ($ = lr(ge === "horizontal" ? yt : _t, 50)), ge === "vertical" && (qe.value = ae.pageY), ge === "horizontal" && (Ne.value = ae.pageX), pe.value && (pe.value, document.addEventListener("mousemove", $), document.addEventListener("mouseup", ft), document.body.style.userSelect = "none");
10958
+ Ve && (Ve.style.opacity = "1", it.value = Ve), $ || ($ = sr(ge === "horizontal" ? yt : _t, 50)), ge === "vertical" && (qe.value = ae.pageY), ge === "horizontal" && (Ne.value = ae.pageX), fe.value && (fe.value, document.addEventListener("mousemove", $), document.addEventListener("mouseup", ft), document.body.style.userSelect = "none");
10963
10959
  }
10964
10960
  function xt(ae) {
10965
- const pe = c.value.length * h - v.value;
10961
+ const fe = c.value.length * h - v.value;
10966
10962
  let ge = ae * h;
10967
- ge >= pe && (ge = pe), U(-ge - C.value);
10963
+ ge >= fe && (ge = fe), Y(-ge - C.value);
10968
10964
  }
10969
10965
  function bt() {
10970
10966
  xt(c.value.length);
10971
10967
  }
10972
10968
  function Dt(ae) {
10973
- U(ae - C.value);
10969
+ Y(ae - C.value);
10974
10970
  }
10975
10971
  return {
10976
10972
  dataGridWidth: M,
@@ -10989,12 +10985,12 @@ function Zc(n, t, e, o, r, a, i, s, l) {
10989
10985
  onWheel: xe,
10990
10986
  reCalculateVisualDataRows: D,
10991
10987
  resetScroll: J,
10992
- rightFixedGridDataStyle: z,
10988
+ rightFixedGridDataStyle: U,
10993
10989
  rightFixedGridHeaderColumnsStyle: ot,
10994
- rightFixedGridMergedDataStyle: ne,
10990
+ rightFixedGridMergedDataStyle: re,
10995
10991
  shouldShowHorizontalScrollbar: G,
10996
10992
  shouldShowVirticalScrollbar: O,
10997
- updateVirticalScroll: fe,
10993
+ updateVirticalScroll: me,
10998
10994
  updateVisibleRowsOnLatestVisibleScope: A,
10999
10995
  verticalScrollThumbStyle: dt,
11000
10996
  viewPortWidth: S,
@@ -11006,7 +11002,7 @@ function Zc(n, t, e, o, r, a, i, s, l) {
11006
11002
  }
11007
11003
  function ed(n) {
11008
11004
  var a;
11009
- const { isUndefined: t } = Gr(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
11005
+ const { isUndefined: t } = qr(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
11010
11006
  function o(i, s) {
11011
11007
  const l = i.pre;
11012
11008
  if (l) {
@@ -11061,7 +11057,7 @@ function nd() {
11061
11057
  function od() {
11062
11058
  const {
11063
11059
  formatTo: n
11064
- } = zr();
11060
+ } = Gr();
11065
11061
  function t(o, r) {
11066
11062
  if (o) {
11067
11063
  let a = "yyyy-MM-dd";
@@ -11086,7 +11082,7 @@ function od() {
11086
11082
  function rd() {
11087
11083
  const {
11088
11084
  formatTo: n
11089
- } = Yr();
11085
+ } = zr();
11090
11086
  function t(e, o) {
11091
11087
  const r = {
11092
11088
  precision: o.precision,
@@ -11237,17 +11233,17 @@ function ld(n, t, e, o, r, a, i) {
11237
11233
  checked: V,
11238
11234
  disabled: q,
11239
11235
  indeterminate: N,
11240
- setRef: (U) => {
11241
- O.ref = U;
11236
+ setRef: (Y) => {
11237
+ O.ref = Y;
11242
11238
  },
11243
11239
  visible: R && D || R && !n.hierarchy,
11244
11240
  status: ht.initial,
11245
- updateCell: (U, K) => {
11246
- p(U, v, O, K);
11241
+ updateCell: (Y, K) => {
11242
+ p(Y, v, O, K);
11247
11243
  },
11248
- updateCells: (U, K) => {
11244
+ updateCells: (Y, K) => {
11249
11245
  K.forEach((Z) => {
11250
- p(U, v, O, Z);
11246
+ p(Y, v, O, Z);
11251
11247
  });
11252
11248
  }
11253
11249
  };
@@ -11327,8 +11323,8 @@ function ud(n, t, e, o, r) {
11327
11323
  if (G != null && G.closest(".popover"))
11328
11324
  return;
11329
11325
  const j = G.closest(".fv-grid-cell");
11330
- m && m.ref && m.ref === j || k(m).then((U) => {
11331
- U && document.body.removeEventListener("click", M, !0);
11326
+ m && m.ref && m.ref === j || k(m).then((Y) => {
11327
+ Y && document.body.removeEventListener("click", M, !0);
11332
11328
  });
11333
11329
  }
11334
11330
  function v(D, O, G) {
@@ -11394,10 +11390,10 @@ function ud(n, t, e, o, r) {
11394
11390
  selectOnCreated: n.selectOnEditingCell,
11395
11391
  editor: A,
11396
11392
  modelValue: D.editingData,
11397
- "onUpdate:modelValue": (U) => D.editingData = U,
11393
+ "onUpdate:modelValue": (Y) => D.editingData = Y,
11398
11394
  id: O.id,
11399
- onMousedown: (U) => E(U),
11400
- onMouseup: (U) => y(U)
11395
+ onMousedown: (Y) => E(Y),
11396
+ onMouseup: (Y) => y(Y)
11401
11397
  }, null)) : D.data;
11402
11398
  }
11403
11399
  function V() {
@@ -11559,36 +11555,36 @@ function dd(n, t, e, o) {
11559
11555
  };
11560
11556
  }
11561
11557
  function fd(n, t, e, o, r) {
11562
- const { idField: a } = e, { dataView: i, getSelectionItems: s } = t, l = I(""), c = Y(() => n.selection.enableSelectRow), d = I(n.selection.multiSelect ?? !1), u = I(n.selection.multiSelectMode || "DependOnCheck"), m = I(n.selection.showCheckbox), f = I(n.selection.showSelectAll), p = I(n.selectionValues || []), F = I(!!p.value.length && o.value.length === p.value.length), w = I(!!p.value.length && o.value.length !== p.value.length);
11558
+ const { idField: a } = e, { dataView: i, getSelectionItems: s } = t, l = I(""), c = z(() => n.selection.enableSelectRow), d = I(n.selection.multiSelect ?? !1), u = I(n.selection.multiSelectMode || "DependOnCheck"), m = I(n.selection.showCheckbox), f = I(n.selection.showSelectAll), p = I(n.selectionValues || []), F = I(!!p.value.length && o.value.length === p.value.length), w = I(!!p.value.length && o.value.length !== p.value.length);
11563
11559
  Me(() => n.selection.showSelectAll, (X, de) => {
11564
11560
  X !== de && (f.value = X);
11565
11561
  });
11566
11562
  function h() {
11567
- const X = i.value.every((z) => p.value.includes(z[a.value])), de = i.value.every((z) => !p.value.includes(z[a.value]));
11563
+ const X = i.value.every((U) => p.value.includes(U[a.value])), de = i.value.every((U) => !p.value.includes(U[a.value]));
11568
11564
  X && (F.value = !0, w.value = !1), de && (F.value = !1, w.value = !1), !X && !de && (F.value = !1, w.value = !0);
11569
11565
  }
11570
11566
  function C() {
11571
11567
  return s(p.value);
11572
11568
  }
11573
11569
  function g() {
11574
- const X = o.value.reduce((z, ne) => (z.set(ne.raw[a.value], ne), z), /* @__PURE__ */ new Map());
11575
- return p.value.map((z) => X.get(z)).filter((z) => !!z);
11570
+ const X = o.value.reduce((U, re) => (U.set(re.raw[a.value], re), U), /* @__PURE__ */ new Map());
11571
+ return p.value.map((U) => X.get(U)).filter((U) => !!U);
11576
11572
  }
11577
11573
  function _(X) {
11578
- var z;
11574
+ var U;
11579
11575
  const de = X.raw.__fv_children_index__;
11580
11576
  if (de && de.length) {
11581
- const ne = de.map((be) => i.value[be]);
11582
- (z = p.value) != null && z.length && ne.some((Fe) => !p.value.includes(Fe[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
11577
+ const re = de.map((be) => i.value[be]);
11578
+ (U = p.value) != null && U.length && re.some((Fe) => !p.value.includes(Fe[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
11583
11579
  }
11584
11580
  }
11585
- const k = Y(() => c.value && d.value), M = Y(
11581
+ const k = z(() => c.value && d.value), M = z(
11586
11582
  () => c.value && !d.value && !m.value
11587
- ), v = Y(() => !!n.hierarchy), S = Y(() => {
11583
+ ), v = z(() => !!n.hierarchy), S = z(() => {
11588
11584
  const X = m.value && u.value === "DependOnCheck";
11589
11585
  return k.value && X;
11590
- }), x = Y(() => k.value && !m.value), E = Y(() => k.value && m.value && u.value === "OnCheckAndClick");
11591
- Y(() => E.value);
11586
+ }), x = z(() => k.value && !m.value), E = z(() => k.value && m.value && u.value === "OnCheckAndClick");
11587
+ z(() => E.value);
11592
11588
  function y() {
11593
11589
  const X = s(p.value);
11594
11590
  r.emit("selectionChange", X);
@@ -11597,14 +11593,14 @@ function fd(n, t, e, o, r) {
11597
11593
  r.emit("unSelectItem", X);
11598
11594
  }
11599
11595
  function W() {
11600
- const X = o.value.filter((z) => z.indeterminate).map((z) => z.raw[a.value]);
11601
- o.value.forEach((z) => {
11602
- z.checked = !1, z.indeterminate = !1, z.raw.__fv_checked__ = !1, z.raw.__fv_indeterminate__ = !1;
11603
- }), g().forEach((z) => {
11604
- z.checked = !0, z.raw.__fv_checked__ = !0;
11605
- }), X.forEach((z) => {
11606
- const ne = o.value.find((be) => be.raw[a.value] === z);
11607
- _(ne);
11596
+ const X = o.value.filter((U) => U.indeterminate).map((U) => U.raw[a.value]);
11597
+ o.value.forEach((U) => {
11598
+ U.checked = !1, U.indeterminate = !1, U.raw.__fv_checked__ = !1, U.raw.__fv_indeterminate__ = !1;
11599
+ }), g().forEach((U) => {
11600
+ U.checked = !0, U.raw.__fv_checked__ = !0;
11601
+ }), X.forEach((U) => {
11602
+ const re = o.value.find((be) => be.raw[a.value] === U);
11603
+ _(re);
11608
11604
  });
11609
11605
  }
11610
11606
  Me(() => o.value, () => {
@@ -11614,39 +11610,39 @@ function fd(n, t, e, o, r) {
11614
11610
  }, { immediate: !0 }), Me(() => n.selection, (X) => {
11615
11611
  d.value = !!X.multiSelect, u.value = X.multiSelectMode || "DependOnCheck", m.value = !!X.showCheckbox;
11616
11612
  });
11617
- const b = Y(() => !d.value);
11613
+ const b = z(() => !d.value);
11618
11614
  function T(X) {
11619
11615
  return X.raw[a.value];
11620
11616
  }
11621
11617
  function B(X) {
11622
- return p.value.findIndex((z) => z === T(X));
11618
+ return p.value.findIndex((U) => U === T(X));
11623
11619
  }
11624
11620
  function R() {
11625
- g().forEach((z) => {
11626
- z.checked = !1;
11627
- }), s(p.value).forEach((z) => {
11628
- z.__fv_checked__ = !1;
11621
+ g().forEach((U) => {
11622
+ U.checked = !1;
11623
+ }), s(p.value).forEach((U) => {
11624
+ U.__fv_checked__ = !1;
11629
11625
  }), p.value = [], l.value = "", h();
11630
11626
  }
11631
11627
  function V(X) {
11632
11628
  const de = X;
11633
11629
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
11634
- const z = new Set(p.value);
11635
- z.add(de[a.value]), p.value = Array.from(z.values());
11630
+ const U = new Set(p.value);
11631
+ U.add(de[a.value]), p.value = Array.from(U.values());
11636
11632
  }
11637
11633
  function N(X) {
11638
11634
  const de = X;
11639
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((z) => z !== de[a.value]);
11635
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((U) => U !== de[a.value]);
11640
11636
  }
11641
11637
  function q(X) {
11642
11638
  const de = X.raw;
11643
11639
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
11644
- const z = new Set(p.value);
11645
- z.add(de[a.value]), p.value = Array.from(z.values()), X.checked = !0, X.indeterminate = !1;
11640
+ const U = new Set(p.value);
11641
+ U.add(de[a.value]), p.value = Array.from(U.values()), X.checked = !0, X.indeterminate = !1;
11646
11642
  }
11647
11643
  function D(X) {
11648
11644
  const de = X.raw;
11649
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((z) => z !== de[a.value]), X.checked = !1, X.indeterminate = !1;
11645
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((U) => U !== de[a.value]), X.checked = !1, X.indeterminate = !1;
11650
11646
  }
11651
11647
  function O(X) {
11652
11648
  q(X), l.value = X.raw[a.value];
@@ -11659,30 +11655,30 @@ function fd(n, t, e, o, r) {
11659
11655
  }
11660
11656
  function A(X) {
11661
11657
  const de = X.raw;
11662
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, p.value = p.value.filter((z) => z !== de[a.value]), X.checked = !1, X.indeterminate = !0;
11658
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, p.value = p.value.filter((U) => U !== de[a.value]), X.checked = !1, X.indeterminate = !0;
11663
11659
  }
11664
- function U(X) {
11660
+ function Y(X) {
11665
11661
  b.value && R(), X.checked ? D(X) : q(X), y();
11666
11662
  }
11667
11663
  function K(X, de = !0) {
11668
- const z = X.checked;
11669
- b.value && R(), de ? X.checked ? G(X) : O(X) : z ? G(X) : O(X), y(), X.checked || $(X);
11664
+ const U = X.checked;
11665
+ b.value && R(), de ? X.checked ? G(X) : O(X) : U ? G(X) : O(X), y(), X.checked || $(X);
11670
11666
  }
11671
11667
  function Z(X) {
11672
11668
  X.raw[a.value] !== l.value && (R(), O(X), y());
11673
11669
  }
11674
11670
  function J(X) {
11675
- const de = o.value.find((z) => z.raw[a.value] === X);
11671
+ const de = o.value.find((U) => U.raw[a.value] === X);
11676
11672
  de && Z(de);
11677
11673
  }
11678
- function fe(X) {
11679
- const de = o.value.filter((be) => X.includes(be.raw[a.value])), z = de.map((be) => be.raw[a.value]), ne = i.value.filter((be) => {
11674
+ function me(X) {
11675
+ const de = o.value.filter((be) => X.includes(be.raw[a.value])), U = de.map((be) => be.raw[a.value]), re = i.value.filter((be) => {
11680
11676
  const Fe = be[a.value];
11681
- return !z.includes(Fe) && X.includes(Fe);
11677
+ return !U.includes(Fe) && X.includes(Fe);
11682
11678
  });
11683
- (de.length || ne.length) && (R(), M.value && (l.value = X[0])), de.forEach((be) => {
11679
+ (de.length || re.length) && (R(), M.value && (l.value = X[0])), de.forEach((be) => {
11684
11680
  O(be);
11685
- }), ne.forEach((be) => {
11681
+ }), re.forEach((be) => {
11686
11682
  V(be);
11687
11683
  }), y();
11688
11684
  }
@@ -11690,12 +11686,12 @@ function fd(n, t, e, o, r) {
11690
11686
  for (const de of X) {
11691
11687
  if (!p.value.includes(de))
11692
11688
  continue;
11693
- const z = o.value.find((ne) => ne.raw[a.value] === de);
11694
- if (z)
11695
- G(z);
11689
+ const U = o.value.find((re) => re.raw[a.value] === de);
11690
+ if (U)
11691
+ G(U);
11696
11692
  else {
11697
- const ne = i.value.find((be) => be[a.value] === de);
11698
- ne && N(ne);
11693
+ const re = i.value.find((be) => be[a.value] === de);
11694
+ re && N(re);
11699
11695
  }
11700
11696
  }
11701
11697
  p.value = p.value.filter(
@@ -11736,11 +11732,11 @@ function fd(n, t, e, o, r) {
11736
11732
  selectDataItem: V,
11737
11733
  selectItem: Z,
11738
11734
  selectItemById: J,
11739
- selectItemByIds: fe,
11735
+ selectItemByIds: me,
11740
11736
  showCheckBox: m,
11741
11737
  showSelectAll: f,
11742
11738
  toggleSelectItem: K,
11743
- toggleSelectItemWithoutRow: U,
11739
+ toggleSelectItemWithoutRow: Y,
11744
11740
  unSelect: G,
11745
11741
  unSelectAll: Pe,
11746
11742
  unSelectDataItem: N,
@@ -11753,10 +11749,10 @@ function fd(n, t, e, o, r) {
11753
11749
  }
11754
11750
  function pd(n, t) {
11755
11751
  var w, h;
11756
- const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = I(((w = n.rowNumber) == null ? void 0 : w.enable) ?? !1), s = Y(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = I(i.value ? ((h = n.rowNumber) == null ? void 0 : h.width) ?? 32 : 0), c = I(s.value ? o : 0), d = Y(() => {
11752
+ const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = I(((w = n.rowNumber) == null ? void 0 : w.enable) ?? !1), s = z(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = I(i.value ? ((h = n.rowNumber) == null ? void 0 : h.width) ?? 32 : 0), c = I(s.value ? o : 0), d = z(() => {
11757
11753
  var C;
11758
11754
  return i.value ? ((C = n.rowNumber) == null ? void 0 : C.heading) ?? "序号" : "";
11759
- }), u = Y(() => (s.value && !n.hierarchy ? Number(c.value) : 0) + (i.value ? Number(l.value) : 0));
11755
+ }), u = z(() => (s.value && !n.hierarchy ? Number(c.value) : 0) + (i.value ? Number(l.value) : 0));
11760
11756
  Me(() => n.rowNumber, (C) => {
11761
11757
  C && C.enable !== void 0 && (i.value = C.enable), C && C.width !== void 0 && (l.value = C.width);
11762
11758
  });
@@ -11767,7 +11763,7 @@ function pd(n, t) {
11767
11763
  height: `${C.height || ""}px`
11768
11764
  };
11769
11765
  }
11770
- const f = Y(() => ({
11766
+ const f = z(() => ({
11771
11767
  width: `${u.value}px`
11772
11768
  }));
11773
11769
  function p(C) {
@@ -11895,73 +11891,73 @@ const an = /* @__PURE__ */ Xe({
11895
11891
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
11896
11892
  setup(n, t) {
11897
11893
  var Ue, st;
11898
- const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = I(20), a = I(n.columns), i = ur(n), {
11894
+ const o = ((Ue = n.rowOption) == null ? void 0 : Ue.height) || 28, r = I(20), a = I(n.columns), i = lr(n), {
11899
11895
  idField: s
11900
- } = i, l = I(), c = I(), d = I(), u = I(), m = I(), f = I([]), p = I(!1), F = I(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), w = cr(n, i), h = dr(), C = fr(n), {
11896
+ } = i, l = I(), c = I(), d = I(), u = I(), m = I(), f = I([]), p = I(!1), F = I(((st = n.rowOption) == null ? void 0 : st.wrapContent) || !1), w = ur(n, i), h = cr(), C = dr(n), {
11901
11897
  collapseField: g
11902
11898
  } = C, {
11903
11899
  showLoading: _,
11904
11900
  renderLoading: k
11905
- } = pr(n, l), M = mr(n, /* @__PURE__ */ new Map(), h, C, i), {
11901
+ } = fr(n, l), M = pr(n, /* @__PURE__ */ new Map(), h, C, i), {
11906
11902
  dataView: v
11907
- } = M, S = hr(n, M, i, f, t), x = vr(n, f, M, i, S, t), E = Y(() => n.disabled), y = Y(() => n.virtualized ? Math.min(M.dataView.value.length, r.value) : M.dataView.value.length), {
11903
+ } = M, S = mr(n, M, i, f, t), x = hr(n, f, M, i, S, t), E = z(() => n.disabled), y = z(() => n.virtualized ? Math.min(M.dataView.value.length, r.value) : M.dataView.value.length), {
11908
11904
  containerStyleObject: $
11909
- } = gr(n), W = yr(n), {
11905
+ } = vr(n), W = gr(n), {
11910
11906
  applyCommands: b
11911
11907
  } = W;
11912
11908
  b(a);
11913
- const T = br(n), B = wr(n), {
11909
+ const T = yr(n), B = br(n), {
11914
11910
  applyColumnSorter: R,
11915
11911
  columnContext: V,
11916
11912
  updateColumnRenderContext: N
11917
11913
  } = T;
11918
11914
  R(M, B);
11919
- const q = Cr(n, V), D = _r(n, t, S, i), O = xr(n, t, i, D, f), G = Tr(n), j = Sr(n, O, G), A = Fr(n, M, O, C, i, G, j), U = Mr(n, a, M, y, 0, A), {
11915
+ const q = wr(n, V), D = Cr(n, t, S, i), O = _r(n, t, i, D, f), G = xr(n), j = Tr(n, O, G), A = Sr(n, M, O, C, i, G, j), Y = Fr(n, a, M, y, 0, A), {
11920
11916
  getVisualData: K
11921
- } = U, Z = kr(n, V), J = Ir(n, S), {
11922
- sidebarWidth: fe
11923
- } = J, ve = Er(n, M, f, V, U, y, 0, fe), {
11917
+ } = Y, Z = Mr(n, V), J = kr(n, S), {
11918
+ sidebarWidth: me
11919
+ } = J, ve = Ir(n, M, f, V, Y, y, 0, me), {
11924
11920
  onWheel: xe,
11925
11921
  dataGridWidth: Pe,
11926
11922
  viewPortHeight: Re,
11927
11923
  viewPortWidth: X,
11928
11924
  resetScroll: de,
11929
- updateVisibleRowsOnLatestVisibleScope: z
11930
- } = ve, ne = Or(n, V, c, X, q), {
11925
+ updateVisibleRowsOnLatestVisibleScope: U
11926
+ } = ve, re = Er(n, V, c, X, q), {
11931
11927
  calculateColumnsSize: be
11932
- } = ne, Fe = Dr(), De = Pr(c, m, M, Fe, ve), ot = Vr(n, t, T, M, q, w, ve), gt = Y(() => ({
11928
+ } = re, Fe = Or(), De = Dr(c, m, M, Fe, ve), ot = Pr(n, t, T, M, q, w, ve), gt = z(() => ({
11933
11929
  "fv-grid": !0,
11934
11930
  "fv-grid-bordered": n.showBorder,
11935
11931
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
11936
11932
  "fv-datagrid-strip": n.showStripe
11937
- })), dt = Y(() => ({
11933
+ })), dt = z(() => ({
11938
11934
  "fv-grid-content": !0,
11939
11935
  "fv-grid-content-hover": p.value,
11940
11936
  "fv-grid-wrap-content": F.value
11941
11937
  })), {
11942
11938
  renderDataArea: ee
11943
- } = wd(n, t, d, u, m, Z, T, M, O, C, D, S, x, ve, U, G, f), {
11939
+ } = wd(n, t, d, u, m, Z, T, M, O, C, D, S, x, ve, Y, G, f), {
11944
11940
  renderGridHeader: Te,
11945
11941
  renderGridColumnResizeOverlay: Oe,
11946
11942
  shouldShowHeader: qe
11947
- } = Br(n, t, c, u, m, T, M, ot, De, h, Fe, ne, q, S, J, B, ve, X, f), {
11943
+ } = Vr(n, t, c, u, m, T, M, ot, De, h, Fe, re, q, S, J, B, ve, X, f), {
11948
11944
  renderDataGridSidebar: Ne
11949
- } = Nr(n, D, S, J, ve), {
11945
+ } = Br(n, D, S, J, ve), {
11950
11946
  renderDisableMask: it
11951
- } = Rr(), {
11947
+ } = Nr(), {
11952
11948
  renderHorizontalScrollbar: yt
11953
- } = Lr(n, c, ve), {
11949
+ } = Rr(n, c, ve), {
11954
11950
  renderVerticalScrollbar: _t
11955
- } = $r(n, c, ve);
11951
+ } = Lr(n, c, ve);
11956
11952
  function ft() {
11957
11953
  var he, _e, Ze;
11958
11954
  if (c.value && c.value.clientHeight > 0 && ((he = c.value) == null ? void 0 : he.clientWidth) > 0) {
11959
11955
  const Ke = Math.ceil(c.value.clientHeight / o);
11960
- Ke > r.value && (r.value = Ke, z()), Re.value = ((_e = d.value) == null ? void 0 : _e.clientHeight) || 0, Pe.value = ((Ze = c.value) == null ? void 0 : Ze.clientWidth) || 0, be();
11956
+ Ke > r.value && (r.value = Ke, U()), Re.value = ((_e = d.value) == null ? void 0 : _e.clientHeight) || 0, Pe.value = ((Ze = c.value) == null ? void 0 : Ze.clientWidth) || 0, be();
11961
11957
  }
11962
11958
  }
11963
11959
  Et(() => {
11964
- c.value && (r.value = Math.max(Math.ceil(c.value.clientHeight / o), r.value), f.value = K(0, y.value + 0 - 1), to(c.value, ft), be(), ln(() => {
11960
+ c.value && (r.value = Math.max(Math.ceil(c.value.clientHeight / o), r.value), f.value = K(0, y.value + 0 - 1), eo(c.value, ft), be(), ln(() => {
11965
11961
  c.value && (Pe.value = c.value.clientWidth), d.value && (X.value = d.value.clientWidth, Re.value = d.value.clientHeight);
11966
11962
  })), _.value && k();
11967
11963
  }), sn(() => {
@@ -11990,7 +11986,7 @@ const an = /* @__PURE__ */ Xe({
11990
11986
  const he = bt(), _e = x.getNextSelectableHierarchyItemId(he);
11991
11987
  M.removeHierarchyDataItem(he), f.value = K(0, y.value + 0 - 1), _e && S.selectItemById(_e);
11992
11988
  }
11993
- function pe(he) {
11989
+ function fe(he) {
11994
11990
  O.onEditingRow(he);
11995
11991
  }
11996
11992
  function ge(he) {
@@ -12008,7 +12004,7 @@ const an = /* @__PURE__ */ Xe({
12008
12004
  function Q(he) {
12009
12005
  S.selectItemById(he);
12010
12006
  }
12011
- function me(he) {
12007
+ function pe(he) {
12012
12008
  const _e = f.value.find((Ze) => Ze.raw[i.idField.value] === he);
12013
12009
  _e && D.clickRowItem(_e);
12014
12010
  }
@@ -12024,9 +12020,9 @@ const an = /* @__PURE__ */ Xe({
12024
12020
  function te() {
12025
12021
  S.clearSelection();
12026
12022
  }
12027
- const re = Y(() => !f.value || !f.value.length), {
12028
- renderEmpty: oe
12029
- } = Wr(t);
12023
+ const oe = z(() => !f.value || !f.value.length), {
12024
+ renderEmpty: ne
12025
+ } = $r(t);
12030
12026
  function we() {
12031
12027
  return S.getSelectionRow();
12032
12028
  }
@@ -12081,7 +12077,7 @@ const an = /* @__PURE__ */ Xe({
12081
12077
  collapseTo: Ot,
12082
12078
  expandTo: xt,
12083
12079
  removeDataItem: ae,
12084
- editDataItem: pe,
12080
+ editDataItem: fe,
12085
12081
  acceptDataItem: ge,
12086
12082
  cancelDataItem: Ve,
12087
12083
  updateColumns: Ge,
@@ -12091,7 +12087,7 @@ const an = /* @__PURE__ */ Xe({
12091
12087
  getSelectedItems: H,
12092
12088
  clearSelection: te,
12093
12089
  getSelectionRow: we,
12094
- clickRowItemById: me,
12090
+ clickRowItemById: pe,
12095
12091
  unSelectItemByIds: ye,
12096
12092
  getCurrentRowId: Be,
12097
12093
  reassignRowData: Se,
@@ -12107,7 +12103,7 @@ const an = /* @__PURE__ */ Xe({
12107
12103
  class: dt.value,
12108
12104
  onMouseover: () => p.value = !0,
12109
12105
  onMouseleave: () => p.value = !1
12110
- }, [c.value && Ne(f), c.value && ee(), c.value && re.value && oe(), c.value && yt(), c.value && _t()]), Oe(), E.value && it()]);
12106
+ }, [c.value && Ne(f), c.value && ee(), c.value && oe.value && ne(), c.value && yt(), c.value && _t()]), Oe(), E.value && it()]);
12111
12107
  }
12112
12108
  }), Cd = {
12113
12109
  id: { type: String, default: "" },
@@ -12133,11 +12129,11 @@ const an = /* @__PURE__ */ Xe({
12133
12129
  props: _d,
12134
12130
  emits: [],
12135
12131
  setup(n) {
12136
- const t = Y(() => ({
12132
+ const t = z(() => ({
12137
12133
  "drag-and-drop-alert": !0,
12138
12134
  "no-drag": !0,
12139
12135
  "w-100": !0
12140
- })), e = Y(() => ({
12136
+ })), e = z(() => ({
12141
12137
  height: "60px",
12142
12138
  display: "flex",
12143
12139
  "justify-content": "center",
@@ -12160,7 +12156,7 @@ const an = /* @__PURE__ */ Xe({
12160
12156
  }
12161
12157
  });
12162
12158
  function Td(n) {
12163
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !sr(n);
12159
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !ir(n);
12164
12160
  }
12165
12161
  const Tn = /* @__PURE__ */ Xe({
12166
12162
  name: "FDesignerItem",
@@ -12174,8 +12170,8 @@ const Tn = /* @__PURE__ */ Xe({
12174
12170
  parent: p,
12175
12171
  setupContext: t
12176
12172
  };
12177
- ar("design-item-context", F);
12178
- const w = ct("useFormSchema"), h = ct("designer-host-service"), C = Y(() => {
12173
+ rr("design-item-context", F);
12174
+ const w = ct("useFormSchema"), h = ct("designer-host-service"), C = z(() => {
12179
12175
  var q;
12180
12176
  const R = n.modelValue.appearance && n.modelValue.appearance.class || "", V = ((q = f.value) == null ? void 0 : q.getCustomButtons) && f.value.getCustomButtons();
12181
12177
  let N = {
@@ -12190,7 +12186,7 @@ const Tn = /* @__PURE__ */ Xe({
12190
12186
  dgComponentFocused: u.value && u.value.classList.contains("dgComponentFocused")
12191
12187
  };
12192
12188
  return N[`farris-component-${i.value.type}`] = !0, N = pn(N, R), N = pn(N, c.value), N = pn(N, d.value), N;
12193
- }), g = Y(() => {
12189
+ }), g = z(() => {
12194
12190
  const R = {}, V = n.modelValue.appearance && n.modelValue.appearance.style || "";
12195
12191
  return V && V.split(";").reduce((N, q) => {
12196
12192
  const [D, O] = q.split(":");
@@ -12205,7 +12201,7 @@ const Tn = /* @__PURE__ */ Xe({
12205
12201
  if (R && (R.preventDefault(), R.stopPropagation()), f.value.triggerBelongedComponentToDeleteWhenDeleted) {
12206
12202
  const G = f.value.getBelongedComponentInstance(f);
12207
12203
  if (G && G.parent) {
12208
- const j = I(G == null ? void 0 : G.parent), A = j.value.contents.findIndex((U) => U.id === G.schema.id);
12204
+ const j = I(G == null ? void 0 : G.parent), A = j.value.contents.findIndex((Y) => Y.id === G.schema.id);
12209
12205
  (O = (D = j.value) == null ? void 0 : D.contents) == null || O.splice(A, 1), zt.value++;
12210
12206
  }
12211
12207
  return;
@@ -12276,7 +12272,7 @@ const Tn = /* @__PURE__ */ Xe({
12276
12272
  }, O), Td(V = R.contents.map((A) => P(Tn, {
12277
12273
  key: A.id,
12278
12274
  modelValue: A,
12279
- "onUpdate:modelValue": (U) => A = U,
12275
+ "onUpdate:modelValue": (Y) => A = Y,
12280
12276
  componentId: s.value,
12281
12277
  onSelectionChange: x,
12282
12278
  onDragEnd: E,
@@ -12307,7 +12303,7 @@ const Tn = /* @__PURE__ */ Xe({
12307
12303
  }
12308
12304
  }
12309
12305
  Me(() => n.modelValue, (R) => {
12310
- i.value = R, e.value = `${R.id}-component`, ir(u);
12306
+ i.value = R, e.value = `${R.id}-component`, ar(u);
12311
12307
  }, {
12312
12308
  deep: !0
12313
12309
  });
@@ -12334,7 +12330,7 @@ const Tn = /* @__PURE__ */ Xe({
12334
12330
  m && R && m.attachComponents(R, 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 || "", c.value = f.value.designerClass || "", u.value && (u.value.componentInstance = f, u.value.designItemContext = F), f.value.belongedComponentId = s.value;
12335
12331
  }
12336
12332
  T(), zt.value++;
12337
- }), eo(() => {
12333
+ }), Zn(() => {
12338
12334
  u.value && u.value.removeEventListener("scroll", b);
12339
12335
  });
12340
12336
  function B(R) {
@@ -12345,7 +12341,7 @@ const Tn = /* @__PURE__ */ Xe({
12345
12341
  const q = document.getElementsByClassName("dgComponentFocused");
12346
12342
  q && q.length === 1 && q[0] === u.value || (Array.from(q).forEach((O) => O.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((O) => O.classList.remove("dgComponentSelected")), N.classList.add("dgComponentFocused"), t.emit("selectionChange", i.value.type, i.value, s.value, f.value), f.value.getDraggableDesignItemElement && (V = f.value.getDraggableDesignItemElement(F), V && V.value && V.value.classList.add("dgComponentSelected")));
12347
12343
  }
12348
- io(V == null ? void 0 : V.value);
12344
+ ao(V == null ? void 0 : V.value);
12349
12345
  }
12350
12346
  return () => i.value.type === "component-ref" ? $(i.value) : P("div", {
12351
12347
  id: `${i.value.id}-design-item`,
@@ -12376,10 +12372,10 @@ function Sd(n, t, e, o, r = "data-grid-column") {
12376
12372
  };
12377
12373
  return a.value.headerDepth > 1 && (W["line-height"] = `${E.depth * m}px`), f.set(y + 1, $ + (E.actualWidth || u)), W;
12378
12374
  }
12379
- const F = Y(() => ({
12375
+ const F = z(() => ({
12380
12376
  "fv-grid-header": !0,
12381
12377
  "fv-grid-header-group-columns": a.value.headerDepth > 1
12382
- })), w = Y(() => ({
12378
+ })), w = z(() => ({
12383
12379
  height: `${a.value.headerDepth * m}px`
12384
12380
  })), h = function(E) {
12385
12381
  return t.showSetting && !!E.showSetting;
@@ -12669,21 +12665,21 @@ function Md(n, t) {
12669
12665
  };
12670
12666
  }
12671
12667
  function kd(n, t, e, o, r) {
12672
- const { getGridHeaderCells: a } = r, i = 120, s = 50, l = Y(() => {
12668
+ const { getGridHeaderCells: a } = r, i = 120, s = 50, l = z(() => {
12673
12669
  var v;
12674
12670
  return ((v = n.rowNumber) == null ? void 0 : v.enable) || !1;
12675
- }), c = Y(() => {
12671
+ }), c = z(() => {
12676
12672
  var v, S;
12677
12673
  return ((v = n.selection) == null ? void 0 : v.multiSelect) || ((S = n.selection) == null ? void 0 : S.showCheckbox) || !1;
12678
- }), d = Y(
12674
+ }), d = z(
12679
12675
  () => {
12680
12676
  var v;
12681
12677
  return 0 + (l.value ? ((v = n.rowNumber) == null ? void 0 : v.width) || 32 : 0) + (c.value ? s : 0);
12682
12678
  }
12683
- ), u = Y(() => {
12679
+ ), u = z(() => {
12684
12680
  var v;
12685
12681
  return (v = n.columnOption) == null ? void 0 : v.fitColumns;
12686
- }), m = Y(() => {
12682
+ }), m = z(() => {
12687
12683
  var v;
12688
12684
  return u.value && ((v = n.columnOption) == null ? void 0 : v.fitMode) || "none";
12689
12685
  });
@@ -12835,7 +12831,7 @@ function Ed(n) {
12835
12831
  summaryColumns: []
12836
12832
  };
12837
12833
  }
12838
- const a = I(n.summary), i = Y(() => {
12834
+ const a = I(n.summary), i = z(() => {
12839
12835
  const g = a.value;
12840
12836
  return (g == null ? void 0 : g.groupFields) || [];
12841
12837
  });
@@ -12854,7 +12850,7 @@ function Ed(n) {
12854
12850
  return i.value && i.value.reduce((k, M) => (k.set(M, !0), k), _), g.reduce((k, M) => (M.filter = M.filter || Id, M.fixed === "left" ? (o.value.leftColumns.push(M), o.value.leftColumnsMap.set(M.field, M), o.value.leftColumnsWidth += M.actualWidth) : M.fixed === "right" ? (o.value.rightColumns.push(M), o.value.rightColumnsMap.set(M.field, M), o.value.rightColumnsWidth += M.actualWidth) : (o.value.primaryColumns.push(M), o.value.primaryColumnsMap.set(M.field, M), o.value.primaryColumnsWidth += M.actualWidth), _.has(M.field) && o.value.summaryColumns.push(M), k), o), s(), o;
12855
12851
  }
12856
12852
  l(n.columns);
12857
- const c = Y(() => o.value.leftColumns.length > 0), d = Y(() => o.value.rightColumns.length > 0);
12853
+ const c = z(() => o.value.leftColumns.length > 0), d = z(() => o.value.rightColumns.length > 0);
12858
12854
  function u(g, _) {
12859
12855
  return _.sortable && _.sort && _.sort !== "none" && g.push(_), g;
12860
12856
  }
@@ -12935,13 +12931,13 @@ function Od(n, t, e, o, r, a, i, s) {
12935
12931
  }
12936
12932
  const Dd = /* @__PURE__ */ Xe({
12937
12933
  name: "FTreeGridDesign",
12938
- props: po,
12934
+ props: fo,
12939
12935
  emits: [],
12940
12936
  setup(n, t) {
12941
- var ne, be;
12942
- const e = I(), o = 0, r = ((ne = n.rowOption) == null ? void 0 : ne.height) || 28, a = I(20), i = I(n.columns), s = cd(n), l = I(), c = I(), d = I([]), u = I(!1), m = I(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = ct("designer-host-service"), p = ct("design-item-context"), F = Md(p, f), w = kn(e, p, F);
12937
+ var re, be;
12938
+ const e = I(), o = 0, r = ((re = n.rowOption) == null ? void 0 : re.height) || 28, a = I(20), i = I(n.columns), s = cd(n), l = I(), c = I(), d = I([]), u = I(!1), m = I(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), f = ct("designer-host-service"), p = ct("design-item-context"), F = Md(p, f), w = kn(e, p, F);
12943
12939
  w.value.designerClass = "f-utils-fill-flex-column";
12944
- const h = Kc(), C = Jc(n), g = Ms(n, /* @__PURE__ */ new Map(), h, C, s), _ = fd(n, g, s, d, t), k = Y(() => g.dataView.value.length), {
12940
+ const h = Kc(), C = Jc(n), g = Ms(n, /* @__PURE__ */ new Map(), h, C, s), _ = fd(n, g, s, d, t), k = z(() => g.dataView.value.length), {
12945
12941
  containerStyleObject: M
12946
12942
  } = _s(n), v = xs(n), {
12947
12943
  applyCommands: S
@@ -12959,18 +12955,18 @@ const Dd = /* @__PURE__ */ Xe({
12959
12955
  d.value = D(0, k.value + o - 1);
12960
12956
  const j = Zc(n, g, d, y, q, k, o, G), {
12961
12957
  onWheel: A,
12962
- dataGridWidth: U,
12958
+ dataGridWidth: Y,
12963
12959
  viewPortHeight: K,
12964
12960
  viewPortWidth: Z,
12965
12961
  updateVisibleRowsOnLatestVisibleScope: J
12966
- } = j, fe = kd(n, y, l, Z, b), {
12962
+ } = j, me = kd(n, y, l, Z, b), {
12967
12963
  calculateColumnsSize: ve
12968
- } = fe, xe = Y(() => ({
12964
+ } = me, xe = z(() => ({
12969
12965
  "drag-container": !0,
12970
12966
  "fv-grid": !0,
12971
12967
  "fv-grid-bordered": n.showBorder,
12972
12968
  "fv-datagrid-strip": n.showStripe
12973
- })), Pe = Y(() => ({
12969
+ })), Pe = z(() => ({
12974
12970
  "fv-grid-content": !0,
12975
12971
  "fv-grid-content-hover": u.value,
12976
12972
  "fv-grid-wrap-content": m.value
@@ -12982,18 +12978,18 @@ const Dd = /* @__PURE__ */ Xe({
12982
12978
  function de() {
12983
12979
  var De, ot;
12984
12980
  const Fe = Math.ceil(l.value.clientHeight / r);
12985
- Fe > a.value && (a.value = Fe, J()), K.value = ((De = c.value) == null ? void 0 : De.clientHeight) || 0, U.value = ((ot = l.value) == null ? void 0 : ot.clientWidth) || 0, ve();
12981
+ Fe > a.value && (a.value = Fe, J()), K.value = ((De = c.value) == null ? void 0 : De.clientHeight) || 0, Y.value = ((ot = l.value) == null ? void 0 : ot.clientWidth) || 0, ve();
12986
12982
  }
12987
12983
  Et(() => {
12988
- e.value.componentInstance = w, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), d.value = D(0, k.value + o - 1), to(l.value, de), ve(), ln(() => {
12989
- l.value && (U.value = l.value.clientWidth), c.value && (Z.value = c.value.clientWidth, K.value = c.value.clientHeight);
12984
+ e.value.componentInstance = w, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), d.value = D(0, k.value + o - 1), eo(l.value, de), ve(), ln(() => {
12985
+ l.value && (Y.value = l.value.clientWidth), c.value && (Z.value = c.value.clientWidth, K.value = c.value.clientHeight);
12990
12986
  }));
12991
12987
  });
12992
- function z(Fe) {
12988
+ function U(Fe) {
12993
12989
  Fe && (i.value = Fe, S(i), $(i.value), E(g, W), ve());
12994
12990
  }
12995
12991
  return Me(() => n.columns, (Fe) => {
12996
- z(Fe);
12992
+ U(Fe);
12997
12993
  }), Me(Z, () => {
12998
12994
  l.value && ve();
12999
12995
  }), t.expose(w.value), () => P("div", {
@@ -13020,7 +13016,7 @@ an.register = (n, t, e, o) => {
13020
13016
  an.registerDesigner = (n, t, e) => {
13021
13017
  n["tree-grid"] = Dd, t["tree-grid"] = fs;
13022
13018
  };
13023
- Ur(an);
13019
+ Yr(an);
13024
13020
  const Pd = /* @__PURE__ */ new Map([
13025
13021
  ["appearance", cn]
13026
13022
  ]);
@@ -13206,7 +13202,7 @@ function Qd(n, t) {
13206
13202
  if (f.componentCategory === "input") {
13207
13203
  const { label: C } = f;
13208
13204
  let g;
13209
- return (F = f.bindingSourceContext) != null && F.entityFieldNode ? g = (t == null ? void 0 : t.controlCreatorUtils).setFormFieldProperty((w = f.bindingSourceContext) == null ? void 0 : w.entityFieldNode, p == null ? void 0 : p.type, "col-12") : (g = un("form-group"), g.editor = p, g.label = C, g.appearance = { class: "col-12" }), l(), Xn(n, t).syncFieldToViewModel(f, (h = g.editor) == null ? void 0 : h.type), g;
13205
+ return (F = f.bindingSourceContext) != null && F.entityFieldNode ? g = (t == null ? void 0 : t.controlCreatorUtils).setFormFieldProperty((w = f.bindingSourceContext) == null ? void 0 : w.entityFieldNode, p == null ? void 0 : p.type, "col-12") : (g = un("form-group"), g.editor = p, g.label = C, g.appearance = { class: "col-12" }), l(), Un(n, t).syncFieldToViewModel(f, (h = g.editor) == null ? void 0 : h.type), g;
13210
13206
  }
13211
13207
  return p;
13212
13208
  }
@@ -13217,7 +13213,7 @@ function Qd(n, t) {
13217
13213
  if (!w.binding || !w.binding.field)
13218
13214
  return;
13219
13215
  w.type === "form-group" && l();
13220
- const h = Xn(n, t);
13216
+ const h = Un(n, t);
13221
13217
  h.onAcceptMovedChildElement && h.onAcceptMovedChildElement(f, p);
13222
13218
  }
13223
13219
  function u() {
@@ -13279,9 +13275,9 @@ const Kd = /* @__PURE__ */ Xe({
13279
13275
  type: nf,
13280
13276
  properties: of,
13281
13277
  required: rf
13282
- }, Xo = {
13278
+ }, Uo = {
13283
13279
  layout: { type: Array }
13284
- }, sf = Ct(Xo, af);
13280
+ }, sf = Ct(Uo, af);
13285
13281
  function lf(n, t) {
13286
13282
  const e = ct("FMessageBoxService"), o = [
13287
13283
  "12",
@@ -13358,7 +13354,7 @@ function lf(n, t) {
13358
13354
  }
13359
13355
  const uf = /* @__PURE__ */ Xe({
13360
13356
  name: "FResponseLayoutSplitter",
13361
- props: Xo,
13357
+ props: Uo,
13362
13358
  emits: ["change"],
13363
13359
  setup(n, t) {
13364
13360
  const {
@@ -13367,7 +13363,7 @@ const uf = /* @__PURE__ */ Xe({
13367
13363
  selectedLayout: r,
13368
13364
  isStandardLayout: a,
13369
13365
  onSelectColumnLayout: i
13370
- } = lf(n, t), s = Y(() => (c) => ({
13366
+ } = lf(n, t), s = z(() => (c) => ({
13371
13367
  "columns-layout-option": !0,
13372
13368
  active: r.value === c
13373
13369
  }));
@@ -13418,10 +13414,10 @@ const uf = /* @__PURE__ */ Xe({
13418
13414
  n.component(mn.name, mn).component(hn.name, hn);
13419
13415
  },
13420
13416
  register(n, t, e, o) {
13421
- n["response-layout"] = mn, n["response-layout-item"] = hn, t["response-layout"] = jn, t["response-layout-item"] = An, n["response-layout-splitter"] = uf, t["response-layout-splitter"] = sf;
13417
+ n["response-layout"] = mn, n["response-layout-item"] = hn, t["response-layout"] = Wn, t["response-layout-item"] = jn, n["response-layout-splitter"] = uf, t["response-layout-splitter"] = sf;
13422
13418
  },
13423
13419
  registerDesigner(n, t, e) {
13424
- n["response-layout"] = Yi, n["response-layout-item"] = Kd, t["response-layout"] = jn, t["response-layout-item"] = An;
13420
+ n["response-layout"] = Yi, n["response-layout-item"] = Kd, t["response-layout"] = Wn, t["response-layout-item"] = jn;
13425
13421
  }
13426
13422
  };
13427
13423
  export {
@@ -13430,5 +13426,5 @@ export {
13430
13426
  uf as FResponseLayoutSplitter,
13431
13427
  Hp as default,
13432
13428
  Fn as responseLayoutProps,
13433
- jn as responseLayoutPropsResolver
13429
+ Wn as responseLayoutPropsResolver
13434
13430
  };