@farris/ui-vue 1.4.0 → 1.4.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 (103) hide show
  1. package/components/avatar/index.esm.js +2 -1
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/checkbox/index.esm.js +2 -1
  4. package/components/checkbox/index.umd.cjs +1 -1
  5. package/components/combo-list/index.esm.js +2 -1
  6. package/components/combo-list/index.umd.cjs +1 -1
  7. package/components/condition/index.css +1 -1
  8. package/components/condition/index.esm.js +715 -704
  9. package/components/condition/index.umd.cjs +1 -1
  10. package/components/content-container/index.css +1 -1
  11. package/components/content-container/index.esm.js +1180 -1169
  12. package/components/content-container/index.umd.cjs +1 -1
  13. package/components/data-grid/index.css +1 -1
  14. package/components/data-grid/index.esm.js +2949 -2901
  15. package/components/data-grid/index.umd.cjs +1 -1
  16. package/components/data-view/index.css +1 -1
  17. package/components/data-view/index.esm.js +609 -598
  18. package/components/data-view/index.umd.cjs +1 -1
  19. package/components/date-picker/index.esm.js +3 -2
  20. package/components/date-picker/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.css +1 -1
  22. package/components/designer-canvas/index.esm.js +2081 -2062
  23. package/components/designer-canvas/index.umd.cjs +1 -1
  24. package/components/designer-outline/index.css +1 -1
  25. package/components/drawer/index.esm.js +23 -21
  26. package/components/drawer/index.umd.cjs +1 -1
  27. package/components/dynamic-form/index.css +1 -1
  28. package/components/dynamic-form/index.esm.js +2745 -2691
  29. package/components/dynamic-form/index.umd.cjs +1 -1
  30. package/components/external-container/index.css +1 -1
  31. package/components/external-container/index.esm.js +1322 -1311
  32. package/components/external-container/index.umd.cjs +1 -1
  33. package/components/field-selector/index.css +1 -1
  34. package/components/field-selector/index.esm.js +85 -74
  35. package/components/field-selector/index.umd.cjs +1 -1
  36. package/components/filter-bar/index.esm.js +4618 -4320
  37. package/components/filter-bar/index.umd.cjs +3 -3
  38. package/components/flow-canvas/index.css +1 -1
  39. package/components/flow-canvas/index.esm.js +1982 -1963
  40. package/components/flow-canvas/index.umd.cjs +1 -1
  41. package/components/input-group/index.esm.js +2 -1
  42. package/components/input-group/index.umd.cjs +1 -1
  43. package/components/list-view/index.css +1 -1
  44. package/components/list-view/index.esm.js +822 -811
  45. package/components/list-view/index.umd.cjs +1 -1
  46. package/components/lookup/index.css +1 -1
  47. package/components/lookup/index.esm.js +3268 -3219
  48. package/components/lookup/index.umd.cjs +1 -1
  49. package/components/mapping-editor/index.css +1 -1
  50. package/components/mapping-editor/index.esm.js +1985 -1937
  51. package/components/mapping-editor/index.umd.cjs +1 -1
  52. package/components/number-range/index.esm.js +136 -135
  53. package/components/number-range/index.umd.cjs +1 -1
  54. package/components/number-spinner/index.esm.js +2 -1
  55. package/components/number-spinner/index.umd.cjs +1 -1
  56. package/components/order/index.esm.js +2 -1
  57. package/components/order/index.umd.cjs +1 -1
  58. package/components/property-editor/index.esm.js +2 -1
  59. package/components/property-editor/index.umd.cjs +1 -1
  60. package/components/property-panel/index.esm.js +295 -283
  61. package/components/property-panel/index.umd.cjs +2 -2
  62. package/components/query-solution/index.css +1 -1
  63. package/components/query-solution/index.esm.js +5430 -5374
  64. package/components/query-solution/index.umd.cjs +7 -7
  65. package/components/radio-group/index.esm.js +2 -1
  66. package/components/radio-group/index.umd.cjs +1 -1
  67. package/components/schema-selector/index.css +1 -1
  68. package/components/schema-selector/index.esm.js +1259 -1248
  69. package/components/schema-selector/index.umd.cjs +2 -2
  70. package/components/section/index.css +1 -1
  71. package/components/section/index.esm.js +1272 -1261
  72. package/components/section/index.umd.cjs +1 -1
  73. package/components/switch/index.esm.js +2 -1
  74. package/components/switch/index.umd.cjs +1 -1
  75. package/components/textarea/index.esm.js +14 -13
  76. package/components/textarea/index.umd.cjs +1 -1
  77. package/components/time-picker/index.esm.js +2 -1
  78. package/components/time-picker/index.umd.cjs +1 -1
  79. package/components/tree-grid/index.css +1 -1
  80. package/components/tree-grid/index.esm.js +715 -704
  81. package/components/tree-grid/index.umd.cjs +1 -1
  82. package/components/tree-view/index.css +1 -1
  83. package/components/tree-view/index.esm.js +107 -96
  84. package/components/tree-view/index.umd.cjs +1 -1
  85. package/farris.all.esm.js +14687 -14334
  86. package/farris.all.umd.cjs +11 -11
  87. package/index.css +1 -1
  88. package/package.json +1 -1
  89. package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
  90. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +6 -0
  91. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.props.d.ts +8 -0
  92. package/types/dynamic-form/src/composition/form-binding-resolver-design.d.ts +6 -0
  93. package/types/filter-bar/src/components/drawer.component.d.ts +4 -0
  94. package/types/filter-bar/src/components/filter-item/filter-item.component.d.ts +10 -0
  95. package/types/filter-bar/src/components/filter-item/filter-item.props.d.ts +3 -0
  96. package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.component.d.ts +11 -0
  97. package/types/filter-bar/src/components/filter-item-condition/filter-item-condition.props.d.ts +3 -0
  98. package/types/filter-bar/src/composition/types.d.ts +2 -0
  99. package/types/filter-bar/src/composition/use-condition.d.ts +19 -0
  100. package/types/filter-bar/src/filter-bar.component.d.ts +2 -1
  101. package/types/filter-bar/src/types.d.ts +4 -6
  102. package/types/filter-bar/src/components/filter-item.component.d.ts +0 -5
  103. /package/types/filter-bar/src/components/{toolbar-component.d.ts → toolbar.component.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  var Ln = Object.defineProperty;
2
2
  var An = (e, t, n) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ee = (e, t, n) => An(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { createVNode as M, resolveComponent as qe, createTextVNode as Re, ref as V, isVNode as on, nextTick as Tt, computed as W, inject as vt, watch as me, Fragment as _t, onMounted as yt, withDirectives as rn, vModelCheckbox as zn, defineComponent as Ke, reactive as st, createApp as an, onUnmounted as Bt, Transition as ln, mergeProps as ht, onBeforeUnmount as sn, resolveDirective as Gn, provide as qn, Teleport as Un, shallowRef as Xn, render as Pt, h as Yn, cloneVNode as Kn } from "vue";
4
+ import { createVNode as M, resolveComponent as qe, createTextVNode as Re, ref as V, isVNode as on, nextTick as Tt, computed as W, inject as vt, watch as pe, Fragment as _t, onMounted as yt, withDirectives as rn, vModelCheckbox as zn, defineComponent as Ke, reactive as st, createApp as an, onUnmounted as Bt, Transition as ln, mergeProps as ht, onBeforeUnmount as sn, resolveDirective as Gn, provide as qn, Teleport as Un, shallowRef as Xn, render as Pt, h as Yn, cloneVNode as Kn } from "vue";
5
5
  import { F_MODAL_SERVICE_TOKEN as Jn } from "../modal/index.esm.js";
6
6
  import un from "../transfer/index.esm.js";
7
7
  import cn, { FTabPage as Wt } from "../tabs/index.esm.js";
@@ -12,7 +12,7 @@ import no, { FFilterBar as oo } from "../filter-bar/index.esm.js";
12
12
  import dn from "../pagination/index.esm.js";
13
13
  import ro, { FSearchBox as io } from "../search-box/index.esm.js";
14
14
  import ao, { FTags as lo } from "../tags/index.esm.js";
15
- import { cloneDeep as ut, isPlainObject as Zt, throttle as so, isUndefined as uo } from "lodash-es";
15
+ import { cloneDeep as pt, isPlainObject as Zt, throttle as so, isUndefined as uo } from "lodash-es";
16
16
  import co, { FDynamicFormGroup as fo, FDynamicFormInput as po } from "../dynamic-form/index.esm.js";
17
17
  import "../designer-canvas/index.esm.js";
18
18
  import { useResizeObserver as fn } from "@vueuse/core";
@@ -123,15 +123,15 @@ function qr(e, t, n, o, r, i, a) {
123
123
  let x = O ? f ^ L.sorted : f;
124
124
  return x = g ? x ^ L.ascending : x, x = p ? x ^ L.descending : x, x;
125
125
  }
126
- function h(c) {
126
+ function v(c) {
127
127
  c.sortType = "none", c.status = s(c);
128
128
  const f = c.column;
129
129
  f && (f.sort = "none", f.sortOrder = 0, e.applyColumnSorter(t, i));
130
130
  }
131
131
  function m(c, f) {
132
- f.column && (f.column.filter = null), t.removeFilter(`field_filter_${f.field}`), h(f);
132
+ f.column && (f.column.filter = null), t.removeFilter(`field_filter_${f.field}`), v(f);
133
133
  }
134
- function v(c) {
134
+ function h(c) {
135
135
  const f = s(c), O = c.sortType === "none" ? f : c.sortType === "asc" ? f | L.sorted | L.ascending : f | L.sorted | L.descending;
136
136
  c.status = O;
137
137
  const g = c.column;
@@ -144,7 +144,7 @@ function qr(e, t, n, o, r, i, a) {
144
144
  }
145
145
  function E(c, f) {
146
146
  var O;
147
- f.showPopover = !1, f.filterHistory = void 0, r.updateFilterHistory(f, (O = f.column) == null ? void 0 : O.filter), w(f), v(f), a.reCalculateVisualDataRows();
147
+ f.showPopover = !1, f.filterHistory = void 0, r.updateFilterHistory(f, (O = f.column) == null ? void 0 : O.filter), w(f), h(f), a.reCalculateVisualDataRows();
148
148
  }
149
149
  function _(c) {
150
150
  const f = c.status, O = (f & L.sorted) === L.sorted, g = O && (f & L.ascending) === L.ascending;
@@ -204,8 +204,8 @@ function qr(e, t, n, o, r, i, a) {
204
204
  function Ur(e) {
205
205
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !on(e);
206
206
  }
207
- function Xr(e, t, n, o, r, i, a, u, s, h, m) {
208
- function v(C) {
207
+ function Xr(e, t, n, o, r, i, a, u, s, v, m) {
208
+ function h(C) {
209
209
  const I = C.status;
210
210
  return {
211
211
  "fv-column-handler": !0,
@@ -246,7 +246,7 @@ function Xr(e, t, n, o, r, i, a, u, s, h, m) {
246
246
  };
247
247
  }, g = /* @__PURE__ */ new Map([[L.sortable, L.sortable | L.sorted | L.ascending], [L.sortable | L.sorted | L.ascending, L.sortable | L.sorted | L.descending], [L.sortable | L.sorted | L.descending, L.sortable]]), {
248
248
  renderFilterContainer: p
249
- } = qr(r, i, a, u, s, h, m), x = V();
249
+ } = qr(r, i, a, u, s, v, m), x = V();
250
250
  function l(C, I) {
251
251
  I.filter((k) => k !== C && k.showPopover).forEach((k) => {
252
252
  k.showPopover = !1;
@@ -278,7 +278,7 @@ function Xr(e, t, n, o, r, i, a, u, s, h, m) {
278
278
  const I = C.status;
279
279
  if ((I & L.sortable) === L.sortable && (I & L.filterable) === L.none && g.has(I)) {
280
280
  const R = g.get(I), D = (R & L.sorted) === L.sorted, A = (R & L.ascending) === L.ascending, z = (R & L.descending) === L.descending, U = C.column;
281
- U && (U.sort = A ? "asc" : z ? "desc" : "none", U.sortOrder = D ? U.sortOrder : 0, C.status = R, r.applyColumnSorter(i, h), m.reCalculateVisualDataRows());
281
+ U && (U.sort = A ? "asc" : z ? "desc" : "none", U.sortOrder = D ? U.sortOrder : 0, C.status = R, r.applyColumnSorter(i, v), m.reCalculateVisualDataRows());
282
282
  }
283
283
  }
284
284
  function y(C, I, k) {
@@ -286,7 +286,7 @@ function Xr(e, t, n, o, r, i, a, u, s, h, m) {
286
286
  }
287
287
  function T(C, I, k) {
288
288
  return [M("span", {
289
- class: v(C),
289
+ class: h(C),
290
290
  onClick: (R) => y(R, C, k)
291
291
  }, [M("i", {
292
292
  class: O(C)
@@ -296,8 +296,8 @@ function Xr(e, t, n, o, r, i, a, u, s, h, m) {
296
296
  renderHeaderCellHandler: T
297
297
  };
298
298
  }
299
- function Yr(e, t, n, o, r, i, a, u, s, h) {
300
- const m = "id", v = V();
299
+ function Yr(e, t, n, o, r, i, a, u, s, v) {
300
+ const m = "id", h = V();
301
301
  let w;
302
302
  const {
303
303
  applySortableColumns: E,
@@ -397,7 +397,7 @@ function Yr(e, t, n, o, r, i, a, u, s, h) {
397
397
  class: "container"
398
398
  }, {
399
399
  default: () => [M(eo, {
400
- ref: v,
400
+ ref: h,
401
401
  style: "height: 480px",
402
402
  fields: S.value,
403
403
  conditions: f.value
@@ -428,7 +428,7 @@ function Yr(e, t, n, o, r, i, a, u, s, h) {
428
428
  }
429
429
  }
430
430
  function z() {
431
- v.value && (f.value = v.value.getConditions(), r.refresh(), s.reCalculateVisualDataRows());
431
+ h.value && (f.value = h.value.getConditions(), r.refresh(), s.reCalculateVisualDataRows());
432
432
  }
433
433
  function U() {
434
434
  A(), z();
@@ -436,7 +436,7 @@ function Yr(e, t, n, o, r, i, a, u, s, h) {
436
436
  function te() {
437
437
  }
438
438
  function oe() {
439
- w = h.open({
439
+ w = v.open({
440
440
  title: "",
441
441
  width: 800,
442
442
  showButtons: !0,
@@ -454,14 +454,14 @@ function Yr(e, t, n, o, r, i, a, u, s, h) {
454
454
  };
455
455
  }
456
456
  function Kr(e, t, n, o, r, i, a, u, s) {
457
- const h = vt(Jn);
457
+ const v = vt(Jn);
458
458
  function m(w) {
459
459
  const {
460
460
  openSettingPanel: E
461
- } = Yr(e, t, n, o, r, i, a, u, s, h);
461
+ } = Yr(e, t, n, o, r, i, a, u, s, v);
462
462
  E();
463
463
  }
464
- function v() {
464
+ function h() {
465
465
  return M("span", {
466
466
  class: "fv-grid-settings-icon",
467
467
  onClick: m
@@ -470,19 +470,19 @@ function Kr(e, t, n, o, r, i, a, u, s) {
470
470
  }, null)]);
471
471
  }
472
472
  return {
473
- renderGridSettingsIcon: v
473
+ renderGridSettingsIcon: h
474
474
  };
475
475
  }
476
476
  function Jr(e, t, n, o) {
477
477
  const i = V(-1), a = V(0), u = V(!1);
478
478
  let s = "";
479
- const h = W(() => ({
479
+ const v = W(() => ({
480
480
  display: u.value ? "block" : "none",
481
481
  left: `${a.value}px`
482
482
  })), m = W(() => ({
483
483
  display: u.value ? "block" : "none"
484
484
  }));
485
- function v(_) {
485
+ function h(_) {
486
486
  const B = _.target.parentElement;
487
487
  if (B) {
488
488
  const { left: F } = B.getBoundingClientRect();
@@ -495,19 +495,19 @@ function Jr(e, t, n, o) {
495
495
  const { left: c } = F.getBoundingClientRect(), f = _.clientX - c, O = (B.actualWidth || 0) + (f - i.value);
496
496
  B.actualWidth = Math.max(40, O), n.calculateColumnsSize();
497
497
  }
498
- a.value = 0, u.value = !1, o.reCalculateVisualDataRows(), document.removeEventListener("mousemove", v), document.body.style.userSelect = "", s = "";
498
+ a.value = 0, u.value = !1, o.reCalculateVisualDataRows(), document.removeEventListener("mousemove", h), document.body.style.userSelect = "", s = "";
499
499
  }
500
500
  function E(_, B) {
501
501
  s = B, u.value = !0;
502
502
  const c = _.composedPath().find((f) => f.className.split(" ")[0] === "fv-grid");
503
503
  if (c) {
504
504
  const { left: f } = c.getBoundingClientRect();
505
- a.value = _.clientX - f, i.value = _.clientX - f, document.addEventListener("mousemove", v), document.addEventListener("mouseup", w), document.body.style.userSelect = "none";
505
+ a.value = _.clientX - f, i.value = _.clientX - f, document.addEventListener("mousemove", h), document.addEventListener("mouseup", w), document.body.style.userSelect = "none";
506
506
  }
507
507
  }
508
- return { onClickColumnResizeBar: E, resizeHandleStyle: h, resizeOverlayStyle: m };
508
+ return { onClickColumnResizeBar: E, resizeHandleStyle: v, resizeOverlayStyle: m };
509
509
  }
510
- function Xu(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F, c, f) {
510
+ function Xu(e, t, n, o, r, i, a, u, s, v, m, h, w, E, _, B, F, c, f) {
511
511
  const {
512
512
  showSelectAll: O,
513
513
  selectAll: g,
@@ -526,7 +526,7 @@ function Xu(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F, c, f) {
526
526
  onClickColumnResizeBar: I,
527
527
  resizeHandleStyle: k,
528
528
  resizeOverlayStyle: N
529
- } = Jr(e, y, v, F), {
529
+ } = Jr(e, y, h, F), {
530
530
  gridHeaderColumnsStyle: R,
531
531
  leftFixedGridHeaderColumnsStyle: D,
532
532
  rightFixedGridHeaderColumnsStyle: A
@@ -554,11 +554,11 @@ function Xu(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F, c, f) {
554
554
  return (de.status & L.sortable) === L.sortable || (de.status & L.filterable) === L.filterable;
555
555
  }, {
556
556
  renderHeaderCellHandler: He
557
- } = Xr(e, n, o, r, i, a, s, h, m, B, F), Ae = function(de) {
557
+ } = Xr(e, n, o, r, i, a, s, v, m, B, F), Ae = function(de) {
558
558
  return e.showSetting && !!de.showSetting;
559
559
  }, {
560
560
  renderGridSettingsIcon: De
561
- } = Kr(e, n, c, i, a, h, v, B, F);
561
+ } = Kr(e, n, c, i, a, v, h, B, F);
562
562
  function Ee(de) {
563
563
  var xe;
564
564
  const _e = {
@@ -613,10 +613,10 @@ function Xu(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F, c, f) {
613
613
  }, [Be(y.value.rightHeaderColumns)])]);
614
614
  }
615
615
  const J = V(f.value.length === x.value.length);
616
- me(J, (de, _e) => {
616
+ pe(J, (de, _e) => {
617
617
  de !== _e && (de ? g() : p());
618
618
  }), W(() => x.value.length > 0 && f.value.length !== x.value.length);
619
- function pe() {
619
+ function me() {
620
620
  return M("div", {
621
621
  class: "fv-grid-header-corner d-flex",
622
622
  style: S.value
@@ -645,7 +645,7 @@ function Xu(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F, c, f) {
645
645
  return M("div", {
646
646
  class: K.value,
647
647
  style: he.value
648
- }, [X.value && pe(), T.value && Pe(), M("div", {
648
+ }, [X.value && me(), T.value && Pe(), M("div", {
649
649
  class: "fv-grid-header-primary"
650
650
  }, [M("div", {
651
651
  class: "fv-grid-header-columns",
@@ -684,7 +684,7 @@ function Ku(e, t, n, o, r) {
684
684
  conditions: a,
685
685
  clearCondition: u,
686
686
  removeCondition: s
687
- } = o, h = V([]);
687
+ } = o, v = V([]);
688
688
  function m() {
689
689
  const B = [];
690
690
  Array.from(a.value).forEach((F, c) => {
@@ -699,10 +699,10 @@ function Ku(e, t, n, o, r) {
699
699
  }
700
700
  };
701
701
  B.push(f);
702
- }), h.value = B;
702
+ }), v.value = B;
703
703
  }
704
- me(a, () => m());
705
- function v(B) {
704
+ pe(a, () => m());
705
+ function h(B) {
706
706
  if (B && B.column) {
707
707
  B.column.filter = null;
708
708
  let F = B.status;
@@ -712,17 +712,17 @@ function Ku(e, t, n, o, r) {
712
712
  function w(B) {
713
713
  s(`field_filter_${B}`);
714
714
  const F = i.value.primaryHeaderColumns.find((c) => c.field === B);
715
- v(F), n.refresh(), r.reCalculateVisualDataRows();
715
+ h(F), n.refresh(), r.reCalculateVisualDataRows();
716
716
  }
717
717
  function E() {
718
- u(), i.value.primaryHeaderColumns.forEach((B) => v(B)), n.refresh(), r.reCalculateVisualDataRows();
718
+ u(), i.value.primaryHeaderColumns.forEach((B) => h(B)), n.refresh(), r.reCalculateVisualDataRows();
719
719
  }
720
720
  function _() {
721
721
  return M("div", {
722
722
  class: "fv-grid-filter-panel"
723
723
  }, [M(oo, {
724
724
  data: a.value,
725
- fields: h.value,
725
+ fields: v.value,
726
726
  mode: "display-only",
727
727
  "show-reset": !0,
728
728
  onRemove: w,
@@ -740,16 +740,16 @@ function Ju(e, t, n, o, r) {
740
740
  } = n, {
741
741
  groupFields: u,
742
742
  shouldGroupingData: s,
743
- showGroupPanel: h
743
+ showGroupPanel: v
744
744
  } = o, m = V();
745
- function v(_) {
745
+ function h(_) {
746
746
  u.value = _.map((B) => B.value), t.updateDataView(), r.reCalculateVisualDataRows();
747
747
  }
748
748
  function w(_) {
749
749
  _.preventDefault();
750
750
  }
751
751
  function E() {
752
- return s.value && h.value && M("div", {
752
+ return s.value && v.value && M("div", {
753
753
  class: "fv-grid-group-panel",
754
754
  onDrop: i,
755
755
  onDragover: w
@@ -760,7 +760,7 @@ function Ju(e, t, n, o, r) {
760
760
  data: a.value,
761
761
  "tag-style": "capsule",
762
762
  "show-close": !0,
763
- onChange: v
763
+ onChange: h
764
764
  }, null)]);
765
765
  }
766
766
  return {
@@ -804,7 +804,7 @@ function Qr(e, t) {
804
804
  width: isNaN(Number(B[_.field].width)) ? "100%" : `${B[_.field].width}px`
805
805
  };
806
806
  }
807
- function h(_, B, F) {
807
+ function v(_, B, F) {
808
808
  const f = (B.spanned || []).reduce((g, p) => g + (p.parent.height || 0), 0) + (_.height || 0);
809
809
  return {
810
810
  top: `${_.top}px`,
@@ -819,7 +819,7 @@ function Qr(e, t) {
819
819
  function m(_, B) {
820
820
  return `${n}_${_.type}_r_${_.index}_c_${B}_${_.refreshKey || ""}`;
821
821
  }
822
- function v(_) {
822
+ function h(_) {
823
823
  return `${n}_${_.type}_r_${_.index}_${_.refreshKey || ""}`;
824
824
  }
825
825
  function w(_) {
@@ -830,16 +830,16 @@ function Qr(e, t) {
830
830
  height: `${B}`
831
831
  };
832
832
  }
833
- return me(t, () => {
833
+ return pe(t, () => {
834
834
  r.value = t.value.primaryColumnsWidth;
835
835
  }), {
836
836
  calculateCellPositionInRow: i,
837
837
  cellKey: m,
838
838
  cellPosition: s,
839
839
  groupCellPosition: a,
840
- rowKey: v,
840
+ rowKey: h,
841
841
  rowPosition: w,
842
- rowSpanCellPosition: h,
842
+ rowSpanCellPosition: v,
843
843
  summaryCellPosition: u
844
844
  };
845
845
  }
@@ -851,22 +851,22 @@ function Zr(e, t, n) {
851
851
  ).sort((w, E) => Number(w) - Number(E));
852
852
  }
853
853
  function u(m) {
854
- const v = new Array(t.value.length).fill(0);
854
+ const h = new Array(t.value.length).fill(0);
855
855
  if (e.showLines) {
856
856
  const w = a();
857
857
  t.value.forEach((E, _) => {
858
858
  const B = w.includes(_), F = E.raw[o.value];
859
- v[_] = `repeating-linear-gradient(90deg, ${r.value} 0 1px, transparent 0px 2px) ${F ? "-10px" : "0px"} ${i.value / 2}px/20px 1px no-repeat,repeating-linear-gradient(${r.value} 0 1px, transparent 0px 2px) 0px 0px/1px ${B ? "50%" : "100%"} no-repeat`;
860
- }), v[0] = "";
859
+ h[_] = `repeating-linear-gradient(90deg, ${r.value} 0 1px, transparent 0px 2px) ${F ? "-10px" : "0px"} ${i.value / 2}px/20px 1px no-repeat,repeating-linear-gradient(${r.value} 0 1px, transparent 0px 2px) 0px 0px/1px ${B ? "50%" : "100%"} no-repeat`;
860
+ }), h[0] = "";
861
861
  }
862
- return v[m];
862
+ return h[m];
863
863
  }
864
- function s(m, v, w) {
864
+ function s(m, h, w) {
865
865
  return w[m].parents.set(m, !0).forEach((_) => {
866
- w[_].childsLength = w[_].childWithLines.filter((B) => v[B].visible).length;
867
- }), v;
866
+ w[_].childsLength = w[_].childWithLines.filter((B) => h[B].visible).length;
867
+ }), h;
868
868
  }
869
- function h(m) {
869
+ function v(m) {
870
870
  const E = m.raw.__fv_parent_index__ === void 0 || m.raw.__fv_parent_index__ === -1 ? 0 : 8, _ = 0, B = m.raw[o.value], F = m.visible ? {
871
871
  left: `${m.layer * 10 + m.layer * E + _}px`,
872
872
  // paddingBottom: handlePaddingBottomReturnValue(visualTreeNode.index),
@@ -880,7 +880,7 @@ function Zr(e, t, n) {
880
880
  };
881
881
  return B || (F.paddingLeft = "2rem"), F;
882
882
  }
883
- return { hierarchyCellContentStyle: h, handleCollapsedPaddingBottom: s };
883
+ return { hierarchyCellContentStyle: v, handleCollapsedPaddingBottom: s };
884
884
  }
885
885
  function ei(e, t, n) {
886
886
  const o = V(e.iconField);
@@ -893,7 +893,7 @@ function ei(e, t, n) {
893
893
  return { treeNodeIconsClass: r };
894
894
  }
895
895
  function ti(e, t, n, o, r, i, a, u) {
896
- const { dataView: s, fold: h, hasRealChildren: m, unFold: v, reOrderVisibleIndex: w } = o, { collapseField: E, hasChildrenField: _ } = r, { reCalculateVisualDataRows: B, updateVirticalScroll: F } = i;
896
+ const { dataView: s, fold: v, hasRealChildren: m, unFold: h, reOrderVisibleIndex: w } = o, { collapseField: E, hasChildrenField: _ } = r, { reCalculateVisualDataRows: B, updateVirticalScroll: F } = i;
897
897
  function c(g, p) {
898
898
  var b, S;
899
899
  const x = p[g], l = x.__fv_parents__ ? (b = x.__fv_parents__) == null ? void 0 : b.size : 0;
@@ -933,7 +933,7 @@ function ti(e, t, n, o, r, i, a, u) {
933
933
  }
934
934
  return { toggleTreeNode: O };
935
935
  }
936
- function ni(e, t, n, o, r, i, a, u, s, h, m, v, w) {
936
+ function ni(e, t, n, o, r, i, a, u, s, v, m, h, w) {
937
937
  const {
938
938
  onClickCell: E
939
939
  } = i, {
@@ -956,7 +956,7 @@ function ni(e, t, n, o, r, i, a, u, s, h, m, v, w) {
956
956
  toggleTreeNode: S
957
957
  } = ti(e, t, o, r, a, m), {
958
958
  toggleSelectHierarchyItem: y
959
- } = h, {
959
+ } = v, {
960
960
  cellKey: T,
961
961
  cellPosition: C,
962
962
  rowKey: I,
@@ -1071,9 +1071,9 @@ function Qu(e, t, n, o, r) {
1071
1071
  totalItems: a
1072
1072
  } = n, u = V(), {
1073
1073
  pageSize: s,
1074
- pageList: h,
1074
+ pageList: v,
1075
1075
  showGotoPage: m,
1076
- showPageIndex: v,
1076
+ showPageIndex: h,
1077
1077
  showPageList: w,
1078
1078
  mode: E,
1079
1079
  disabled: _,
@@ -1139,9 +1139,9 @@ function Qu(e, t, n, o, r) {
1139
1139
  "onUpdate:pageSize": (p) => s.value = p,
1140
1140
  showGoButton: m.value,
1141
1141
  showPageList: w.value,
1142
- showPageNumbers: v.value,
1142
+ showPageNumbers: h.value,
1143
1143
  totalItems: a.value,
1144
- pageList: h.value,
1144
+ pageList: v.value,
1145
1145
  onPageIndexChanged: c,
1146
1146
  onPageSizeChanged: f,
1147
1147
  onChanged: O
@@ -1157,10 +1157,10 @@ function Zu(e, t, n, o, r) {
1157
1157
  multiSelectOnClickRow: a,
1158
1158
  multiSelectOnlyOnCheck: u,
1159
1159
  selectItem: s,
1160
- toggleSelectItem: h,
1160
+ toggleSelectItem: v,
1161
1161
  toggleSelectItemWithoutRow: m
1162
1162
  } = n, {
1163
- onMouseoverRow: v,
1163
+ onMouseoverRow: h,
1164
1164
  sidebarRowClass: w
1165
1165
  } = t, {
1166
1166
  showRowNumer: E,
@@ -1198,7 +1198,7 @@ function Zu(e, t, n, o, r) {
1198
1198
  return M("div", {
1199
1199
  class: "fv-grid-sidebar-row-number justify-content-center",
1200
1200
  style: "padding:0",
1201
- onMouseover: (S) => v(S, b)
1201
+ onMouseover: (S) => h(S, b)
1202
1202
  }, [M("div", {
1203
1203
  title: b.dataIndex,
1204
1204
  class: {
@@ -1209,7 +1209,7 @@ function Zu(e, t, n, o, r) {
1209
1209
  }, [b.dataIndex])]);
1210
1210
  }
1211
1211
  function x(b, S, y) {
1212
- i.value ? a.value ? h(y) : s(y) : a.value ? h(y) : u.value ? m(y) : s(y);
1212
+ i.value ? a.value ? v(y) : s(y) : a.value ? v(y) : u.value ? m(y) : s(y);
1213
1213
  }
1214
1214
  function l(b) {
1215
1215
  return (_.value || E.value) && b.value.map((S) => M("div", {
@@ -1331,13 +1331,13 @@ function nc(e) {
1331
1331
  }
1332
1332
  function ii(e) {
1333
1333
  const t = V(e.minHeight), n = V(e.minWidth), o = V(e.height), r = V(e.width), i = W(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = W(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
1334
- return me([
1334
+ return pe([
1335
1335
  () => e.height,
1336
1336
  () => e.width,
1337
1337
  () => e.minHeight,
1338
1338
  () => e.minWidth
1339
- ], ([s, h, m, v]) => {
1340
- t.value = Number(m), n.value = Number(v), o.value = Number(s), r.value = Number(h);
1339
+ ], ([s, v, m, h]) => {
1340
+ t.value = Number(m), n.value = Number(h), o.value = Number(s), r.value = Number(v);
1341
1341
  }), { containerStyleObject: W(() => ({
1342
1342
  height: i.value > 0 ? `${i.value}px` : e.fit ? "100%" : "",
1343
1343
  width: a.value > 0 ? `${a.value}px` : e.fit ? "100%" : "",
@@ -1401,8 +1401,8 @@ function li(e) {
1401
1401
  return a.value && a.value.reduce((p, x) => (p.set(x, !0), p), g), O.reduce((p, x) => (x.visible = x.visible !== !1, x.filter = x.filter || ai, x.fixed === "left" ? (o.value.leftColumns.push(x), o.value.leftColumnsMap.set(x.field, x), o.value.leftColumnsWidth += x.actualWidth) : x.fixed === "right" ? (o.value.rightColumns.push(x), o.value.rightColumnsMap.set(x.field, x), o.value.rightColumnsWidth += x.actualWidth) : (o.value.primaryColumns.push(x), o.value.primaryColumnsMap.set(x.field, x), o.value.primaryColumnsWidth += x.actualWidth), g.has(x.field) && o.value.summaryColumns.push(x), p), o), u(), o;
1402
1402
  }
1403
1403
  s(e.columns);
1404
- const h = W(() => o.value.leftColumns.length > 0), m = W(() => o.value.rightColumns.length > 0);
1405
- function v(O, g) {
1404
+ const v = W(() => o.value.leftColumns.length > 0), m = W(() => o.value.rightColumns.length > 0);
1405
+ function h(O, g) {
1406
1406
  return g.sortable && g.sort && g.sort !== "none" && O.push(g), O;
1407
1407
  }
1408
1408
  function w(O, g) {
@@ -1420,7 +1420,7 @@ function li(e) {
1420
1420
  }
1421
1421
  function F() {
1422
1422
  const O = [];
1423
- o.value.leftColumns.reduce(v, O), o.value.primaryColumns.reduce(v, O), o.value.rightColumns.reduce(v, O);
1423
+ o.value.leftColumns.reduce(h, O), o.value.primaryColumns.reduce(h, O), o.value.rightColumns.reduce(h, O);
1424
1424
  const g = Math.max(...O.map((p) => p.sortOrder || 0));
1425
1425
  return O.sort(E).map((p) => {
1426
1426
  const x = p.sortOrder || g + 1;
@@ -1447,7 +1447,7 @@ function li(e) {
1447
1447
  applySortableColumns: c,
1448
1448
  collectionSortableColumns: F,
1449
1449
  columnContext: o,
1450
- hasLeftFixedColumn: h,
1450
+ hasLeftFixedColumn: v,
1451
1451
  hasRightFixedColumn: m,
1452
1452
  updateColumnRenderContext: s,
1453
1453
  updateColumnSettingIcon: u
@@ -1472,7 +1472,7 @@ function ui(e) {
1472
1472
  showCheckbox: !0
1473
1473
  };
1474
1474
  function o(s) {
1475
- return (s == null ? void 0 : s.split(t).filter((h) => h !== "").map((h) => h.toLowerCase() === "true")) || [];
1475
+ return (s == null ? void 0 : s.split(t).filter((v) => v !== "").map((v) => v.toLowerCase() === "true")) || [];
1476
1476
  }
1477
1477
  function r(s) {
1478
1478
  return s.map((m) => m.value).join(t);
@@ -1569,13 +1569,13 @@ function pi(e, t, n, o, r, i) {
1569
1569
  function s(B, F) {
1570
1570
  r.removeFilterHistory(e, B.remove.name), e.filterHistory = r.getFilterHistory(e);
1571
1571
  }
1572
- function h(B) {
1572
+ function v(B) {
1573
1573
  a.value = B.name, u(a.value);
1574
1574
  }
1575
1575
  function m(B) {
1576
1576
  e.filterHistory = B;
1577
1577
  }
1578
- const v = o.rawView.value.reduce((B, F, c) => (B.push(F[e.field]), B), []), E = [...new Set(v)].map((B, F) => ({
1578
+ const h = o.rawView.value.reduce((B, F, c) => (B.push(F[e.field]), B), []), E = [...new Set(h)].map((B, F) => ({
1579
1579
  id: F,
1580
1580
  name: B
1581
1581
  }));
@@ -1596,7 +1596,7 @@ function pi(e, t, n, o, r, i) {
1596
1596
  "show-close": !0,
1597
1597
  selectable: !0,
1598
1598
  onRemove: s,
1599
- onSelectionChange: h,
1599
+ onSelectionChange: v,
1600
1600
  onChange: m
1601
1601
  }, null)]);
1602
1602
  }
@@ -1615,7 +1615,7 @@ function mi(e, t, n, o, r, i) {
1615
1615
  name: B,
1616
1616
  value: B
1617
1617
  }));
1618
- function v(B) {
1618
+ function h(B) {
1619
1619
  return (B == null ? void 0 : B.split(a)) || [];
1620
1620
  }
1621
1621
  function w(B) {
@@ -1633,7 +1633,7 @@ function mi(e, t, n, o, r, i) {
1633
1633
  header: "Search",
1634
1634
  size: "Small",
1635
1635
  selection: u,
1636
- "selection-values": v(((_ = e.column) == null ? void 0 : _.filter) || ""),
1636
+ "selection-values": h(((_ = e.column) == null ? void 0 : _.filter) || ""),
1637
1637
  onSelectionChange: (B) => E(B)
1638
1638
  }, {
1639
1639
  default: () => [Re(" ")]
@@ -1701,9 +1701,9 @@ function oc(e, t, n, o, r) {
1701
1701
  ]);
1702
1702
  function u(s) {
1703
1703
  var w;
1704
- const h = ((w = s.column) == null ? void 0 : w.dataType) || "string", m = i.get(h) || "text-editor", v = a.get(m);
1705
- if (v)
1706
- return v(
1704
+ const v = ((w = s.column) == null ? void 0 : w.dataType) || "string", m = i.get(v) || "text-editor", h = a.get(m);
1705
+ if (h)
1706
+ return h(
1707
1707
  s,
1708
1708
  e,
1709
1709
  t,
@@ -1733,7 +1733,7 @@ function hi(e) {
1733
1733
  return { applyCommands: r };
1734
1734
  }
1735
1735
  function rc(e, t, n, o, r, i, a) {
1736
- const { columnContext: u } = n, { getGridHeaderCells: s } = r, { groupFields: h } = i, m = V(-1), v = V(!1), w = W(() => h.value && h.value.map((f) => {
1736
+ const { columnContext: u } = n, { getGridHeaderCells: s } = r, { groupFields: v } = i, m = V(-1), h = V(!1), w = W(() => v.value && v.value.map((f) => {
1737
1737
  var O;
1738
1738
  return {
1739
1739
  name: ((O = u.value.primaryColumnsMap.get(f)) == null ? void 0 : O.title) || f,
@@ -1745,7 +1745,7 @@ function rc(e, t, n, o, r, i, a) {
1745
1745
  if (f.stopPropagation(), O) {
1746
1746
  const d = `${(p = O.column) == null ? void 0 : p.title}:${(x = O.column) == null ? void 0 : x.field}`;
1747
1747
  (l = f.dataTransfer) == null || l.setData("Text", d), setTimeout(() => {
1748
- m.value = g, v.value = !0;
1748
+ m.value = g, h.value = !0;
1749
1749
  });
1750
1750
  }
1751
1751
  }
@@ -1759,7 +1759,7 @@ function rc(e, t, n, o, r, i, a) {
1759
1759
  f.preventDefault(), f.dataTransfer && (f.dataTransfer.dropEffect = "move");
1760
1760
  }
1761
1761
  function F(f, O) {
1762
- v.value = !1, o.updateDataView(), a.reCalculateVisualDataRows();
1762
+ h.value = !1, o.updateDataView(), a.reCalculateVisualDataRows();
1763
1763
  }
1764
1764
  function c(f) {
1765
1765
  var g;
@@ -1779,7 +1779,7 @@ function rc(e, t, n, o, r, i, a) {
1779
1779
  dragover: B,
1780
1780
  dragend: F,
1781
1781
  dropOnGroupPanel: c,
1782
- isDragging: v,
1782
+ isDragging: h,
1783
1783
  groupColumnItems: w
1784
1784
  };
1785
1785
  }
@@ -1787,20 +1787,20 @@ function ic(e, t, n, o, r) {
1787
1787
  const { getGridHeaderCells: i } = r, a = 120, u = 50, s = W(() => {
1788
1788
  var d;
1789
1789
  return ((d = e.rowNumber) == null ? void 0 : d.enable) || !1;
1790
- }), h = W(() => {
1790
+ }), v = W(() => {
1791
1791
  var d, b;
1792
1792
  return ((d = e.selection) == null ? void 0 : d.multiSelect) || ((b = e.selection) == null ? void 0 : b.showCheckbox) || !1;
1793
1793
  }), m = W(
1794
1794
  () => {
1795
1795
  var d;
1796
- return 0 + (s.value ? ((d = e.rowNumber) == null ? void 0 : d.width) || 32 : 0) + (h.value ? u : 0);
1796
+ return 0 + (s.value ? ((d = e.rowNumber) == null ? void 0 : d.width) || 32 : 0) + (v.value ? u : 0);
1797
1797
  }
1798
- ), v = W(() => {
1798
+ ), h = W(() => {
1799
1799
  var d;
1800
1800
  return ((d = e.columnOption) == null ? void 0 : d.fitColumns) || !1;
1801
1801
  }), w = W(() => {
1802
1802
  var d;
1803
- return v.value ? ((d = e.columnOption) == null ? void 0 : d.fitMode) || "average" : "none";
1803
+ return h.value ? ((d = e.columnOption) == null ? void 0 : d.fitMode) || "average" : "none";
1804
1804
  });
1805
1805
  function E(d, b, S) {
1806
1806
  const y = parseInt(d.width, 10) / 100;
@@ -1910,19 +1910,19 @@ function ic(e, t, n, o, r) {
1910
1910
  g(t), t.value = Object.assign({}, t.value);
1911
1911
  }
1912
1912
  }
1913
- return me(() => {
1913
+ return pe(() => {
1914
1914
  var d;
1915
1915
  return (d = e.columnOption) == null ? void 0 : d.fitColumns;
1916
1916
  }, (d, b) => {
1917
1917
  d !== b && d && l();
1918
- }), me(w, (d, b) => {
1919
- d !== b && v.value && l();
1918
+ }), pe(w, (d, b) => {
1919
+ d !== b && h.value && l();
1920
1920
  }), { calculateColumnHeaders: g, calculateColumnsSize: l, calculateColumnsWidth: p };
1921
1921
  }
1922
1922
  function gi(e, t) {
1923
- var h;
1924
- const n = V((h = e.columnOption) == null ? void 0 : h.groups);
1925
- function o(m, v, w, E, _) {
1923
+ var v;
1924
+ const n = V((v = e.columnOption) == null ? void 0 : v.groups);
1925
+ function o(m, h, w, E, _) {
1926
1926
  const B = {
1927
1927
  actualWidth: 0,
1928
1928
  children: [],
@@ -1943,10 +1943,10 @@ function gi(e, t) {
1943
1943
  let c = 1;
1944
1944
  m.group.reduce((f, O) => {
1945
1945
  if (typeof O == "string") {
1946
- const g = v.get(O);
1946
+ const g = h.get(O);
1947
1947
  g && (_.fieldToRootMap.set(O, F), f.actualWidth += g.actualWidth, f.children.push(g));
1948
1948
  } else {
1949
- const g = o(O, v, f, F, _);
1949
+ const g = o(O, h, f, F, _);
1950
1950
  c = Math.max(c, g.depth), f.actualWidth += g.actualWidth, f.children.push(g);
1951
1951
  }
1952
1952
  return f;
@@ -1955,38 +1955,38 @@ function gi(e, t) {
1955
1955
  return t.value.headerDepth = Math.max(t.value.headerDepth, B.depth), B;
1956
1956
  }
1957
1957
  function r(m) {
1958
- const v = {
1958
+ const h = {
1959
1959
  groupedCells: /* @__PURE__ */ new Map(),
1960
1960
  fieldToRootMap: /* @__PURE__ */ new Map()
1961
1961
  };
1962
1962
  return n.value && n.value.reduce((w, E) => {
1963
- const _ = o(E, m, null, null, v);
1963
+ const _ = o(E, m, null, null, h);
1964
1964
  return w.groupedCells.set(E.field, _), w;
1965
- }, v), v;
1965
+ }, h), h;
1966
1966
  }
1967
1967
  function i(m) {
1968
1968
  if (!m || m.length === 0)
1969
1969
  return 0;
1970
- const v = m[0];
1971
- return v.children && v.children.length > 0 && (v.left = i(v.children)), v.left;
1970
+ const h = m[0];
1971
+ return h.children && h.children.length > 0 && (h.left = i(h.children)), h.left;
1972
1972
  }
1973
- function a(m, v) {
1973
+ function a(m, h) {
1974
1974
  const w = t.value.headerDepth;
1975
1975
  m.forEach((E) => {
1976
- E.layer = v ? v.layer + 1 : 1;
1976
+ E.layer = h ? h.layer + 1 : 1;
1977
1977
  const _ = E.children && E.children.length === 0;
1978
1978
  E.depth = _ ? w - (E.layer - 1) : 1, E.left = _ ? E.left : i(E.children), E.children && a(E.children, E);
1979
1979
  });
1980
1980
  }
1981
- function u(m, v) {
1981
+ function u(m, h) {
1982
1982
  const w = /* @__PURE__ */ new Map();
1983
1983
  return m.forEach((E) => {
1984
- const _ = v.fieldToRootMap.get(E.field), B = _ != null;
1984
+ const _ = h.fieldToRootMap.get(E.field), B = _ != null;
1985
1985
  B && !w.has(_.field) && w.set(_.field, _), B || w.set(E.field, E);
1986
1986
  }), a(Array.from(w.values())), w;
1987
1987
  }
1988
1988
  function s(m) {
1989
- let v = /* @__PURE__ */ new Map(), w = 0;
1989
+ let h = /* @__PURE__ */ new Map(), w = 0;
1990
1990
  if (m.reduce((E, _) => {
1991
1991
  let B = L.none;
1992
1992
  B = _.filterable ? B | L.filterable : B, B = _.sort && _.sort !== "none" ? B | L.sorted | (_.sort === "asc" ? L.ascending : L.descending) : B;
@@ -2009,11 +2009,11 @@ function gi(e, t) {
2009
2009
  sortType: _.sort || "none",
2010
2010
  showSetting: _.showSetting
2011
2011
  }), w += _.actualWidth || 0, E;
2012
- }, v), n.value) {
2013
- const E = r(v);
2014
- v = u(v, E);
2012
+ }, h), n.value) {
2013
+ const E = r(h);
2014
+ h = u(h, E);
2015
2015
  }
2016
- return v;
2016
+ return h;
2017
2017
  }
2018
2018
  return { getGridHeaderCells: s };
2019
2019
  }
@@ -2028,11 +2028,11 @@ function yi(e, t) {
2028
2028
  }), s = W(() => {
2029
2029
  const f = o.value;
2030
2030
  return (f == null ? void 0 : f.groupFields) || [];
2031
- }), h = W(() => {
2031
+ }), v = W(() => {
2032
2032
  const f = r.value;
2033
2033
  return f && f.showSummary;
2034
2034
  }), m = /* @__PURE__ */ new Map();
2035
- let v = [];
2035
+ let h = [];
2036
2036
  function w(f, O, g, p, x) {
2037
2037
  const l = p[g];
2038
2038
  l && (O.reduce((d, b, S) => {
@@ -2078,7 +2078,7 @@ function yi(e, t) {
2078
2078
  const l = _(g.nestGroup);
2079
2079
  O.push(...l), x += l.length;
2080
2080
  }
2081
- if (g.details && g.details.length && (O.push(...g.details), x += g.details.length), h.value) {
2081
+ if (g.details && g.details.length && (O.push(...g.details), x += g.details.length), v.value) {
2082
2082
  const l = {
2083
2083
  __fv_data_grid_group_field__: g.field,
2084
2084
  __fv_data_grid_group_layer__: g.layer,
@@ -2097,7 +2097,7 @@ function yi(e, t) {
2097
2097
  }), O;
2098
2098
  }
2099
2099
  function B(f, O, g) {
2100
- return !f || f.length === 0 || !O.length ? O : (f.join(","), m.clear(), v = [], O = O.filter((p) => !p.__fv_data_grid_group_row__), w(m, O, 0, f, g), v = _(m), v);
2100
+ return !f || f.length === 0 || !O.length ? O : (f.join(","), m.clear(), h = [], O = O.filter((p) => !p.__fv_data_grid_group_row__), w(m, O, 0, f, g), h = _(m), h);
2101
2101
  }
2102
2102
  function F(f) {
2103
2103
  return {
@@ -2109,7 +2109,7 @@ function yi(e, t) {
2109
2109
  return { collpaseGroupIconClass: F, generateGroupData: B, groupFields: i, shouldGroupingData: a, showGroupPanel: u };
2110
2110
  }
2111
2111
  function bi(e, t, n, o) {
2112
- const r = V(!!e.hierarchy), { idField: i } = o, { collapseField: a, hasChildrenField: u, parentIdField: s } = n, h = /* @__PURE__ */ new Map();
2112
+ const r = V(!!e.hierarchy), { idField: i } = o, { collapseField: a, hasChildrenField: u, parentIdField: s } = n, v = /* @__PURE__ */ new Map();
2113
2113
  function m(T, C) {
2114
2114
  const I = /* @__PURE__ */ new Map();
2115
2115
  return T.reduce((k, N) => {
@@ -2122,7 +2122,7 @@ function bi(e, t, n, o) {
2122
2122
  return D.push(N), k.set(R, D), k;
2123
2123
  }, I), I;
2124
2124
  }
2125
- function v(T) {
2125
+ function h(T) {
2126
2126
  const C = /* @__PURE__ */ new Map();
2127
2127
  return T.reduce((I, k) => {
2128
2128
  const N = k[i.value];
@@ -2192,15 +2192,15 @@ function bi(e, t, n, o) {
2192
2192
  });
2193
2193
  }
2194
2194
  function p(T) {
2195
- h.clear(), T.forEach((k, N) => {
2195
+ v.clear(), T.forEach((k, N) => {
2196
2196
  const R = k[i.value];
2197
- h.set(R, F(R, N));
2197
+ v.set(R, F(R, N));
2198
2198
  });
2199
- const C = v(T), I = m(T, C);
2200
- return c(h, I), O(T, h), g(h), h;
2199
+ const C = h(T), I = m(T, C);
2200
+ return c(v, I), O(T, v), g(v), v;
2201
2201
  }
2202
2202
  function x(T) {
2203
- const C = T[i.value], I = h.get(C);
2203
+ const C = T[i.value], I = v.get(C);
2204
2204
  return I && I.children.size > 0;
2205
2205
  }
2206
2206
  function l(T) {
@@ -2208,7 +2208,7 @@ function bi(e, t, n, o) {
2208
2208
  }
2209
2209
  function d(T) {
2210
2210
  p(t.value);
2211
- const C = v(T), I = m(T, C);
2211
+ const C = h(T), I = m(T, C);
2212
2212
  return T.forEach((k, N) => {
2213
2213
  var z;
2214
2214
  const R = k[i.value], D = I.has(R) ? (z = I.get(R)) == null ? void 0 : z.map((U) => U.__fv_index__) : [], A = F(R, N);
@@ -2216,9 +2216,9 @@ function bi(e, t, n, o) {
2216
2216
  }), w(T), _(T, C), e.showLines && B(T), T;
2217
2217
  }
2218
2218
  function b(T, C, I) {
2219
- const N = I.value[T][i.value], R = h.get(N);
2219
+ const N = I.value[T][i.value], R = v.get(N);
2220
2220
  if (R) {
2221
- const D = h.get(R.parentId);
2221
+ const D = v.get(R.parentId);
2222
2222
  let A = I.value.length - 1;
2223
2223
  if (D) {
2224
2224
  const z = Array.from(D.children.keys()).indexOf(R.id);
@@ -2235,15 +2235,15 @@ function bi(e, t, n, o) {
2235
2235
  }
2236
2236
  function S(T, C, I) {
2237
2237
  const k = I.value[T], N = k[i.value];
2238
- if (h.get(N)) {
2238
+ if (v.get(N)) {
2239
2239
  const A = I.value.findIndex((z) => z[i.value] === N) + 1;
2240
2240
  k[u.value] = !0, k[a.value] = !1, C[u.value] = !1, C[s.value] = N, I.value.splice(A, 0, C);
2241
2241
  }
2242
2242
  }
2243
2243
  function y(T, C) {
2244
- const I = T[i.value], k = h.get(I), N = Array.from(k.descendant.keys());
2244
+ const I = T[i.value], k = v.get(I), N = Array.from(k.descendant.keys());
2245
2245
  N.unshift(I);
2246
- const R = h.get(k.parentId);
2246
+ const R = v.get(k.parentId);
2247
2247
  if (R && (R.children.delete(I), R.children.size === 0)) {
2248
2248
  const A = C.find((z) => z[i.value] === k.parentId);
2249
2249
  A[u.value] = !1, A[a.value] = !1;
@@ -2284,7 +2284,7 @@ const wi = {
2284
2284
  "f-icon": !0
2285
2285
  };
2286
2286
  return g[O] = !0, g;
2287
- }), s = W(() => r.value.title || r.value.message), h = W(() => r.value.title && r.value.message), m = W(() => !r.value.title && r.value.message), v = W(() => e.showCloseButton), w = W(() => !!r.value.buttons || !!t.slots.default);
2287
+ }), s = W(() => r.value.title || r.value.message), v = W(() => r.value.title && r.value.message), m = W(() => !r.value.title && r.value.message), h = W(() => e.showCloseButton), w = W(() => !!r.value.buttons || !!t.slots.default);
2288
2288
  function E(c) {
2289
2289
  c.stopPropagation(), c.preventDefault(), i.value = !1, setTimeout(() => {
2290
2290
  t.emit("close", r.value);
@@ -2295,7 +2295,7 @@ const wi = {
2295
2295
  function B(c) {
2296
2296
  return `f-preten-link ${c.customClass ? c.customClass : ""}`;
2297
2297
  }
2298
- me(n, () => {
2298
+ pe(n, () => {
2299
2299
  n.value;
2300
2300
  });
2301
2301
  const F = () => {
@@ -2309,7 +2309,7 @@ const wi = {
2309
2309
  };
2310
2310
  return () => M("div", {
2311
2311
  class: a.value
2312
- }, [v.value && M("button", {
2312
+ }, [h.value && M("button", {
2313
2313
  title: "close",
2314
2314
  class: "toast-close f-btn-icon f-bare",
2315
2315
  onClick: E
@@ -2323,7 +2323,7 @@ const wi = {
2323
2323
  class: u.value
2324
2324
  }, null)]), M("div", {
2325
2325
  class: "modal-tips-content"
2326
- }, [h.value && M(_t, null, [M("h5", {
2326
+ }, [v.value && M(_t, null, [M("h5", {
2327
2327
  class: "toast-title modal-tips-title",
2328
2328
  innerHTML: r.value.title
2329
2329
  }, null), M("p", {
@@ -2353,7 +2353,7 @@ const wi = {
2353
2353
  right: 12,
2354
2354
  top: 20,
2355
2355
  bottom: 12
2356
- }, r = V(), i = V(e.options), a = V(e.showCloseButton), u = W(() => e.position || "bottom-right"), s = W(() => e.timeout != null ? e.timeout : 3e3), h = W(() => {
2356
+ }, r = V(), i = V(e.options), a = V(e.showCloseButton), u = W(() => e.position || "bottom-right"), s = W(() => e.timeout != null ? e.timeout : 3e3), v = W(() => {
2357
2357
  const w = e.bottom ? e.bottom : o.bottom, E = e.top ? e.top : o.top, _ = {
2358
2358
  transition: "all 0.2s ease",
2359
2359
  left: u.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -2373,18 +2373,18 @@ const wi = {
2373
2373
  container: r,
2374
2374
  notifyPosition: u
2375
2375
  });
2376
- function v(w, E) {
2376
+ function h(w, E) {
2377
2377
  m();
2378
2378
  }
2379
2379
  return () => M("div", {
2380
2380
  class: n.value,
2381
- style: h.value,
2381
+ style: v.value,
2382
2382
  ref: r
2383
2383
  }, [M(qt, {
2384
2384
  options: i.value,
2385
2385
  showCloseButton: a.value,
2386
2386
  animate: e.animate,
2387
- onClose: (w) => v(w, i.value)
2387
+ onClose: (w) => h(w, i.value)
2388
2388
  }, null)]);
2389
2389
  }
2390
2390
  });
@@ -2411,10 +2411,10 @@ class pn {
2411
2411
  }, 220);
2412
2412
  }
2413
2413
  if (r.position.indexOf("top") > -1) {
2414
- const h = n.getNotifyInstances(r.position), m = h[h.length - 1];
2414
+ const v = n.getNotifyInstances(r.position), m = v[v.length - 1];
2415
2415
  if (m) {
2416
- const v = m.value.container.getBoundingClientRect();
2417
- r.top = v.bottom;
2416
+ const h = m.value.container.getBoundingClientRect();
2417
+ r.top = h.bottom;
2418
2418
  }
2419
2419
  }
2420
2420
  return Bt(() => {
@@ -2465,14 +2465,14 @@ class pn {
2465
2465
  buildNotifyProps(t, n) {
2466
2466
  let o = "", r = "", i, a, u;
2467
2467
  typeof n == "string" ? o = n : n && (o = n.message || "", r = n.title || "", a = n.position || null, u = n.showCloseButton != null ? n.showCloseButton : null, i = n.timeout != null ? n.timeout : null);
2468
- const h = {
2468
+ const v = {
2469
2469
  options: {
2470
2470
  type: t,
2471
2471
  message: o,
2472
2472
  title: r
2473
2473
  }
2474
2474
  };
2475
- return a != null && (h.position = a), u != null && (h.showCloseButton = u), i != null && (h.timeout = i), h;
2475
+ return a != null && (v.position = a), u != null && (v.showCloseButton = u), i != null && (v.timeout = i), v;
2476
2476
  }
2477
2477
  info(t) {
2478
2478
  const n = this.buildNotifyProps("info", t);
@@ -2507,7 +2507,7 @@ kt.install = (e) => {
2507
2507
  };
2508
2508
  function Si(e, t, n, o, r) {
2509
2509
  var at;
2510
- const i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), m = V([]), v = V([]), w = yi(e, r), { generateGroupData: E, groupFields: _, shouldGroupingData: B } = w, F = V(e.data), c = bi(e, F, o, r), {
2510
+ const i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), m = V([]), h = V([]), w = yi(e, r), { generateGroupData: E, groupFields: _, shouldGroupingData: B } = w, F = V(e.data), c = bi(e, F, o, r), {
2511
2511
  generateHierarchyData: f,
2512
2512
  hasRealChildren: O,
2513
2513
  insertSibling: g,
@@ -2574,22 +2574,22 @@ function Si(e, t, n, o, r) {
2574
2574
  }), H.value;
2575
2575
  }
2576
2576
  function j(P) {
2577
- return h.clear(), v.value = P, v.value.reduce((q, Q) => (q.set(Q.field, Q), q), h), ne([], v.value);
2577
+ return v.clear(), h.value = P, h.value.reduce((q, Q) => (q.set(Q.field, Q), q), v), ne([], h.value);
2578
2578
  }
2579
2579
  function K(P, q) {
2580
- return h.set(P, q), v.value = Array.from(h.values()), ne([], v.value);
2580
+ return v.set(P, q), h.value = Array.from(v.values()), ne([], h.value);
2581
2581
  }
2582
2582
  function he(P) {
2583
- return h.delete(P), v.value = Array.from(h.values()), ne([], v.value);
2583
+ return v.delete(P), h.value = Array.from(v.values()), ne([], h.value);
2584
2584
  }
2585
2585
  function ve(P, q) {
2586
- return a.set(P, q), m.value = Array.from(a.values()), ne([], Array.from(h.values()));
2586
+ return a.set(P, q), m.value = Array.from(a.values()), ne([], Array.from(v.values()));
2587
2587
  }
2588
2588
  function He(P) {
2589
- return a.delete(P), m.value = Array.from(a.values()), ne([], Array.from(h.values()), !0);
2589
+ return a.delete(P), m.value = Array.from(a.values()), ne([], Array.from(v.values()), !0);
2590
2590
  }
2591
2591
  function Ae() {
2592
- return a.clear(), m.value = [], ne([], Array.from(h.values()), !0);
2592
+ return a.clear(), m.value = [], ne([], Array.from(v.values()), !0);
2593
2593
  }
2594
2594
  function De(P, q) {
2595
2595
  const Q = `group_of_${P}_${q}`;
@@ -2601,11 +2601,11 @@ function Si(e, t, n, o, r) {
2601
2601
  fieldType: "string",
2602
2602
  filterValue: q,
2603
2603
  filter: fe
2604
- }), ne(Array.from(u.values()), Array.from(h.values()));
2604
+ }), ne(Array.from(u.values()), Array.from(v.values()));
2605
2605
  }
2606
2606
  function Ee(P, q) {
2607
2607
  const Q = `group_of_${P}_${q}`;
2608
- return i.set(Q, !1), u.delete(`collapse_${P}_${q}`), ne(Array.from(u.values()), Array.from(h.values()), !0);
2608
+ return i.set(Q, !1), u.delete(`collapse_${P}_${q}`), ne(Array.from(u.values()), Array.from(v.values()), !0);
2609
2609
  }
2610
2610
  function ze(P) {
2611
2611
  const q = P.raw[d.value], Q = (fe) => !fe.__fv_parents__.has(q);
@@ -2615,24 +2615,24 @@ function Si(e, t, n, o, r) {
2615
2615
  fieldType: "string",
2616
2616
  filterValue: String(q),
2617
2617
  filter: Q
2618
- }), ne(Array.from(s.values()), Array.from(h.values())), f(H.value);
2618
+ }), ne(Array.from(s.values()), Array.from(v.values())), f(H.value);
2619
2619
  }
2620
2620
  function Be(P) {
2621
2621
  const q = P[d.value];
2622
2622
  s.delete(`fold_${q}`);
2623
2623
  }
2624
2624
  function Pe(P) {
2625
- Be(P.raw), ne(Array.from(s.values()), Array.from(h.values()), !0), f(H.value);
2625
+ Be(P.raw), ne(Array.from(s.values()), Array.from(v.values()), !0), f(H.value);
2626
2626
  }
2627
2627
  function ye() {
2628
2628
  const P = X();
2629
- H.value = P, e.hierarchy && (ne(Array.from(s.values()), Array.from(h.values())), f(H.value));
2629
+ H.value = P, e.hierarchy && (ne(Array.from(s.values()), Array.from(v.values())), f(H.value));
2630
2630
  }
2631
2631
  function J(P) {
2632
2632
  const Q = P && P.length && P[0].children ? I(P) : P;
2633
2633
  F.value = Q, ye();
2634
2634
  }
2635
- function pe(P, q, Q) {
2635
+ function me(P, q, Q) {
2636
2636
  return (P && P.length ? H.value.filter((be, Ve) => P.reduce((ke, Ce) => ke && Ce.filter(be), !0)) : H.value).slice(q, Q);
2637
2637
  }
2638
2638
  function $e(P) {
@@ -2640,7 +2640,7 @@ function Si(e, t, n, o, r) {
2640
2640
  0 < Q && Q <= D.value && (U.value = P, ye());
2641
2641
  }
2642
2642
  function je(P) {
2643
- F.value.push(ut(P)), H.value = X();
2643
+ F.value.push(pt(P)), H.value = X();
2644
2644
  }
2645
2645
  function de(P = 0) {
2646
2646
  if (!(P > -1))
@@ -2670,7 +2670,7 @@ function Si(e, t, n, o, r) {
2670
2670
  }
2671
2671
  function et() {
2672
2672
  const P = u.size > 0 ? Array.from(u.values()) : [];
2673
- return ne(P, Array.from(h.values()));
2673
+ return ne(P, Array.from(v.values()));
2674
2674
  }
2675
2675
  function Je(P) {
2676
2676
  A.value && (A.value.size = P, ye());
@@ -2701,7 +2701,7 @@ function Si(e, t, n, o, r) {
2701
2701
  expand: Ee,
2702
2702
  filters: m,
2703
2703
  fold: ze,
2704
- getRange: pe,
2704
+ getRange: me,
2705
2705
  getSelectionItems: it,
2706
2706
  hasRealChildren: O,
2707
2707
  insertNewChildDataItem: _e,
@@ -2719,7 +2719,7 @@ function Si(e, t, n, o, r) {
2719
2719
  removeSorter: he,
2720
2720
  reOrderVisibleIndex: ae,
2721
2721
  setSorters: j,
2722
- sorters: v,
2722
+ sorters: h,
2723
2723
  summaries: R,
2724
2724
  totalItems: D,
2725
2725
  unFold: Pe,
@@ -2780,11 +2780,11 @@ class hn {
2780
2780
  return t[n[0]];
2781
2781
  }
2782
2782
  getTextValue(t) {
2783
- const n = t.split("."), o = this.value.split(",").map((r) => this.getPropValue(r, ut(n)));
2783
+ const n = t.split("."), o = this.value.split(",").map((r) => this.getPropValue(r, pt(n)));
2784
2784
  return o && o.length ? o.join(",") : "";
2785
2785
  }
2786
2786
  getValue() {
2787
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, ut(t)));
2787
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, pt(t)));
2788
2788
  return n && n.length ? n.join(",") : "";
2789
2789
  }
2790
2790
  getDisplayText() {
@@ -2877,13 +2877,13 @@ class bn {
2877
2877
  this.value = t.value;
2878
2878
  }
2879
2879
  clear() {
2880
- this.value = [];
2880
+ this.value = "";
2881
2881
  }
2882
2882
  getValue() {
2883
2883
  return this.value;
2884
2884
  }
2885
2885
  getDisplayText() {
2886
- return this.value.map((t) => t.name).join(",");
2886
+ return this.value;
2887
2887
  }
2888
2888
  // setValue(data: { value: string; displayText: string }) {
2889
2889
  // // this.displayText = data.dispalyText;
@@ -2899,7 +2899,7 @@ class bn {
2899
2899
  }
2900
2900
  }
2901
2901
  class xi {
2902
- constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
2902
+ constructor(t = { value: "", displayText: "", displayField: "", isInputText: !1 }) {
2903
2903
  ee(this, "editorType", "input-group");
2904
2904
  // 通过弹窗返回的若干个值对象构成的数组
2905
2905
  ee(this, "value");
@@ -2913,7 +2913,7 @@ class xi {
2913
2913
  this.value = t.value, this.displayText = t.displayText, this.valueField = t.displayField, this.isInputText = t.isInputText;
2914
2914
  }
2915
2915
  clear() {
2916
- this.value = [], this.displayText = "", this.valueField = "";
2916
+ this.value = "", this.displayText = "", this.valueField = "";
2917
2917
  }
2918
2918
  getPropValue(t, n) {
2919
2919
  if (n.length > 1) {
@@ -2923,12 +2923,11 @@ class xi {
2923
2923
  return t[n[0]];
2924
2924
  }
2925
2925
  getTextValue(t) {
2926
- const n = t.split("."), o = this.value.map((r) => this.getPropValue(r, ut(n)));
2926
+ const n = t.split("."), o = this.value.map((r) => this.getPropValue(r, pt(n)));
2927
2927
  return o && o.length ? o.join(",") : "";
2928
2928
  }
2929
2929
  getValue() {
2930
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, ut(t)));
2931
- return n && n.length ? n.join(",") : "";
2930
+ return this.value;
2932
2931
  }
2933
2932
  getDisplayText() {
2934
2933
  return this.getValue();
@@ -3168,21 +3167,21 @@ function kn(e, t) {
3168
3167
  return m.map((w) => Object.assign({}, w)).map((w) => (w.editor = a(w), w));
3169
3168
  }
3170
3169
  function s(m = !0) {
3171
- n.value.reduce((v, w) => (m || (w.editor = a(w)), v.set(w.labelCode, w), v), r);
3170
+ n.value.reduce((h, w) => (m || (w.editor = a(w)), h.set(w.labelCode, w), h), r);
3172
3171
  }
3173
- function h(m) {
3174
- return m.forEach((v) => {
3175
- if (v) {
3176
- const w = r.get(v.fieldCode);
3177
- v.value = i(w.editor.type, v.value);
3172
+ function v(m) {
3173
+ return m.forEach((h) => {
3174
+ if (h) {
3175
+ const w = r.get(h.fieldCode);
3176
+ h.value = i(w.editor.type, h.value);
3178
3177
  }
3179
3178
  }), m;
3180
3179
  }
3181
- return { convertToSingleControl: u, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: s, initialConditionValue: h };
3180
+ return { convertToSingleControl: u, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: s, initialConditionValue: v };
3182
3181
  }
3183
3182
  function Ti(e, t, n) {
3184
3183
  const o = V(null), r = V(n), i = V(0);
3185
- function a(m, v) {
3184
+ function a(m, h) {
3186
3185
  let w = null;
3187
3186
  return function() {
3188
3187
  const E = arguments;
@@ -3195,19 +3194,19 @@ function Ti(e, t, n) {
3195
3194
  }
3196
3195
  function u() {
3197
3196
  r.value && (o.value = new ResizeObserver(a((m) => {
3198
- const v = m[0];
3199
- i.value = v.contentRect.width;
3197
+ const h = m[0];
3198
+ i.value = h.contentRect.width;
3200
3199
  })), o.value.observe(r.value));
3201
3200
  }
3202
3201
  function s(m) {
3203
3202
  let w = "col-12";
3204
3203
  return m > 250 * 6 ? w = "col-2" : m > 250 * 4 ? w = "col-3" : m > 250 * 3 ? w = "col-4" : m > 250 * 2 && (w = "col-6"), w;
3205
3204
  }
3206
- const h = W(() => s(i.value));
3207
- return me([n], ([m]) => {
3205
+ const v = W(() => s(i.value));
3206
+ return pe([n], ([m]) => {
3208
3207
  r.value = m, u();
3209
3208
  }), {
3210
- conditionClass: h,
3209
+ conditionClass: v,
3211
3210
  resizeObserver: o
3212
3211
  };
3213
3212
  }
@@ -3222,14 +3221,14 @@ const en = /* @__PURE__ */ Ke({
3222
3221
  initialConditionValue: a,
3223
3222
  fieldMap: u,
3224
3223
  loadFieldConfigs: s
3225
- } = i, h = Ti(e, t, n), {
3224
+ } = i, v = Ti(e, t, n), {
3226
3225
  conditionClass: m,
3227
- resizeObserver: v
3228
- } = h;
3226
+ resizeObserver: h
3227
+ } = v;
3229
3228
  s(!0), a(r.value), sn(() => {
3230
3229
  var F;
3231
- (F = v.value) == null || F.unobserve(n.value);
3232
- }), me(() => e.conditions, () => {
3230
+ (F = h.value) == null || F.unobserve(n.value);
3231
+ }), pe(() => e.conditions, () => {
3233
3232
  r.value = e.conditions, a(r.value);
3234
3233
  });
3235
3234
  const w = W(() => ({
@@ -3275,7 +3274,7 @@ const en = /* @__PURE__ */ Ke({
3275
3274
  }
3276
3275
  }), On = {}, En = {};
3277
3276
  function Yt(e) {
3278
- const { properties: t, title: n, ignore: o } = e, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, u) => ((!r || !o.find((s) => s === u)) && (a[u] = t[u].type === "object" && t[u].properties ? Yt(t[u]) : ut(t[u].default)), a), {});
3277
+ const { properties: t, title: n, ignore: o } = e, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, u) => ((!r || !o.find((s) => s === u)) && (a[u] = t[u].type === "object" && t[u].properties ? Yt(t[u]) : pt(t[u].default)), a), {});
3279
3278
  if (n && (!r || !o.find((a) => a === "id"))) {
3280
3279
  const a = n.toLowerCase().replace(/-/g, "_");
3281
3280
  i.id = `${a}_${Math.random().toString().slice(2, 6)}`;
@@ -3285,7 +3284,7 @@ function Yt(e) {
3285
3284
  function Fi(e) {
3286
3285
  const { properties: t, title: n, required: o } = e;
3287
3286
  if (o && Array.isArray(o)) {
3288
- const r = o.reduce((i, a) => (i[a] = t[a].type === "object" && t[a].properties ? Yt(t[a]) : ut(t[a].default), i), {});
3287
+ const r = o.reduce((i, a) => (i[a] = t[a].type === "object" && t[a].properties ? Yt(t[a]) : pt(t[a].default), i), {});
3289
3288
  if (n && o.find((i) => i === "id")) {
3290
3289
  const i = n.toLowerCase().replace(/-/g, "_");
3291
3290
  r.id = `${i}_${Math.random().toString().slice(2, 6)}`;
@@ -3329,55 +3328,55 @@ function Ei(e, t, n = /* @__PURE__ */ new Map()) {
3329
3328
  return Oi(o, n);
3330
3329
  }
3331
3330
  function Ii(e = {}) {
3332
- function t(h, m, v, w) {
3333
- if (typeof v == "number")
3334
- return w[h].length === v;
3335
- if (typeof v == "object") {
3336
- const E = Object.keys(v)[0], _ = v[E];
3331
+ function t(v, m, h, w) {
3332
+ if (typeof h == "number")
3333
+ return w[v].length === h;
3334
+ if (typeof h == "object") {
3335
+ const E = Object.keys(h)[0], _ = h[E];
3337
3336
  if (E === "not")
3338
- return Number(w[h].length) !== Number(_);
3337
+ return Number(w[v].length) !== Number(_);
3339
3338
  if (E === "moreThan")
3340
- return Number(w[h].length) >= Number(_);
3339
+ return Number(w[v].length) >= Number(_);
3341
3340
  if (E === "lessThan")
3342
- return Number(w[h].length) <= Number(_);
3341
+ return Number(w[v].length) <= Number(_);
3343
3342
  }
3344
3343
  return !1;
3345
3344
  }
3346
- function n(h, m, v, w) {
3347
- return w[h] && w[h].propertyValue && String(w[h].propertyValue.value) === String(v);
3345
+ function n(v, m, h, w) {
3346
+ return w[v] && w[v].propertyValue && String(w[v].propertyValue.value) === String(h);
3348
3347
  }
3349
3348
  const o = /* @__PURE__ */ new Map([
3350
3349
  ["length", t],
3351
3350
  ["getProperty", n]
3352
3351
  ]);
3353
- Object.keys(e).reduce((h, m) => (h.set(m, e[m]), h), o);
3354
- function r(h, m) {
3355
- const v = h;
3356
- return typeof m == "number" ? [{ target: v, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: v, operator: "getProperty", param: h, value: !!m }] : typeof m == "object" ? Object.keys(m).map((w) => {
3352
+ Object.keys(e).reduce((v, m) => (v.set(m, e[m]), v), o);
3353
+ function r(v, m) {
3354
+ const h = v;
3355
+ return typeof m == "number" ? [{ target: h, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: h, operator: "getProperty", param: v, value: !!m }] : typeof m == "object" ? Object.keys(m).map((w) => {
3357
3356
  if (w === "length")
3358
- return { target: v, operator: "length", param: null, value: m[w] };
3357
+ return { target: h, operator: "length", param: null, value: m[w] };
3359
3358
  const E = w, _ = m[w];
3360
- return { target: v, operator: "getProperty", param: E, value: _ };
3359
+ return { target: h, operator: "getProperty", param: E, value: _ };
3361
3360
  }) : [];
3362
3361
  }
3363
- function i(h) {
3364
- return Object.keys(h).reduce((v, w) => {
3365
- const E = r(w, h[w]);
3366
- return v.push(...E), v;
3362
+ function i(v) {
3363
+ return Object.keys(v).reduce((h, w) => {
3364
+ const E = r(w, v[w]);
3365
+ return h.push(...E), h;
3367
3366
  }, []);
3368
3367
  }
3369
- function a(h, m) {
3370
- if (o.has(h.operator)) {
3371
- const v = o.get(h.operator);
3372
- return v && v(h.target, h.param, h.value, m) || !1;
3368
+ function a(v, m) {
3369
+ if (o.has(v.operator)) {
3370
+ const h = o.get(v.operator);
3371
+ return h && h(v.target, v.param, v.value, m) || !1;
3373
3372
  }
3374
3373
  return !1;
3375
3374
  }
3376
- function u(h, m) {
3377
- return i(h).reduce((E, _) => E && a(_, m), !0);
3375
+ function u(v, m) {
3376
+ return i(v).reduce((E, _) => E && a(_, m), !0);
3378
3377
  }
3379
- function s(h, m) {
3380
- const v = Object.keys(h), w = v.includes("allOf"), E = v.includes("anyOf"), _ = w || E, c = (_ ? h[_ ? w ? "allOf" : "anyOf" : "allOf"] : [h]).map((O) => u(O, m));
3378
+ function s(v, m) {
3379
+ const h = Object.keys(v), w = h.includes("allOf"), E = h.includes("anyOf"), _ = w || E, c = (_ ? v[_ ? w ? "allOf" : "anyOf" : "allOf"] : [v]).map((O) => u(O, m));
3381
3380
  return w ? !c.includes(!1) : c.includes(!0);
3382
3381
  }
3383
3382
  return { parseValueSchema: s };
@@ -3424,9 +3423,9 @@ const ue = {
3424
3423
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
3425
3424
  }, Mi = {}, Bi = {};
3426
3425
  Ii();
3427
- function bt(e, t, n = /* @__PURE__ */ new Map(), o = (a, u, s, h) => u, r = {}, i = (a) => a) {
3426
+ function bt(e, t, n = /* @__PURE__ */ new Map(), o = (a, u, s, v) => u, r = {}, i = (a) => a) {
3428
3427
  return On[t.title] = t, En[t.title] = o, Mi[t.title] = r, Bi[t.title] = i, (a = {}) => {
3429
- const u = Ei(a, t, n), s = Object.keys(e).reduce((h, m) => (h[m] = e[m].default, h), {});
3428
+ const u = Ei(a, t, n), s = Object.keys(e).reduce((v, m) => (v[m] = e[m].default, v), {});
3430
3429
  return Object.assign(s, u);
3431
3430
  };
3432
3431
  }
@@ -3521,7 +3520,7 @@ class Wi {
3521
3520
  }), n.contents = [o];
3522
3521
  const { selectedFields: i } = t;
3523
3522
  i == null || i.forEach((u) => {
3524
- const s = ut(u), h = this.resolveControlClassByFormColumns(t), m = this.controlCreatorUtils.setFormFieldProperty(s, "", h);
3523
+ const s = pt(u), v = this.resolveControlClassByFormColumns(t), m = this.controlCreatorUtils.setFormFieldProperty(s, "", v);
3525
3524
  m && r.push(m);
3526
3525
  });
3527
3526
  const { templateId: a } = this.formSchemaUtils.getFormSchema().module;
@@ -3586,16 +3585,16 @@ class Wi {
3586
3585
  }
3587
3586
  }
3588
3587
  function Hi(e, t, n, o) {
3589
- var i, a, u, s, h, m;
3588
+ var i, a, u, s, v, m;
3590
3589
  const r = n.parentComponentInstance;
3591
3590
  if (r && o) {
3592
- const v = (i = r.schema) == null ? void 0 : i.type, E = {
3591
+ const h = (i = r.schema) == null ? void 0 : i.type, E = {
3593
3592
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
3594
3593
  componentName: ((a = n.bindingSourceContext) == null ? void 0 : a.entityTitle) || ((s = (u = n.bindingSourceContext) == null ? void 0 : u.bindingEntity) == null ? void 0 : s.name) || "标题",
3595
3594
  componentType: "form",
3596
- formColumns: v === "splitter-pane" ? 1 : 4,
3595
+ formColumns: h === "splitter-pane" ? 1 : 4,
3597
3596
  parentContainerId: r.schema.id,
3598
- bindTo: ((h = n.bindingSourceContext) == null ? void 0 : h.bindTo) || "/",
3597
+ bindTo: ((v = n.bindingSourceContext) == null ? void 0 : v.bindTo) || "/",
3599
3598
  selectedFields: (m = n.bindingSourceContext) == null ? void 0 : m.bindingEntityFields
3600
3599
  };
3601
3600
  return new Wi(e, o).createComponent(E);
@@ -3722,7 +3721,8 @@ const Ki = "https://json-schema.org/draft/2020-12/schema", Ji = "https://farris-
3722
3721
  visible: { type: Boolean, default: !0 },
3723
3722
  required: { type: Boolean, default: !1 },
3724
3723
  showLabel: { type: Boolean, default: !0 },
3725
- type: { type: String, default: "input-group" }
3724
+ type: { type: String, default: "input-group" },
3725
+ componentId: { type: String, default: "" }
3726
3726
  };
3727
3727
  bt(
3728
3728
  Bn,
@@ -3742,7 +3742,7 @@ function oa(e, t, n) {
3742
3742
  function s() {
3743
3743
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanDeleteComponent ? n.checkCanDeleteComponent() : !0;
3744
3744
  }
3745
- function h() {
3745
+ function v() {
3746
3746
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !0 : n && n.hideNestedPaddingInDesginerView ? n.hideNestedPaddingInDesginerView() : !1;
3747
3747
  }
3748
3748
  function m(l) {
@@ -3753,13 +3753,13 @@ function oa(e, t, n) {
3753
3753
  const d = V(l == null ? void 0 : l.value.parent), b = m(d);
3754
3754
  return b || null;
3755
3755
  }
3756
- function v(l = t) {
3756
+ function h(l = t) {
3757
3757
  var y;
3758
3758
  const { componentInstance: d, designerItemElementRef: b } = l;
3759
3759
  if (!d || !d.value)
3760
3760
  return null;
3761
3761
  const { getCustomButtons: S } = d.value;
3762
- return d.value.canMove || S && ((y = S()) != null && y.length) ? b : v(l.parent);
3762
+ return d.value.canMove || S && ((y = S()) != null && y.length) ? b : h(l.parent);
3763
3763
  }
3764
3764
  function w(l) {
3765
3765
  return !!n && n.canAccepts(l);
@@ -3808,7 +3808,7 @@ function oa(e, t, n) {
3808
3808
  canMove: a(),
3809
3809
  canSelectParent: u(),
3810
3810
  canDelete: s(),
3811
- canNested: !h(),
3811
+ canNested: !v(),
3812
3812
  contents: t == null ? void 0 : t.schema.contents,
3813
3813
  elementRef: e,
3814
3814
  parent: (x = t == null ? void 0 : t.parent) == null ? void 0 : x.componentInstance,
@@ -3817,7 +3817,7 @@ function oa(e, t, n) {
3817
3817
  designerClass: r,
3818
3818
  canAccepts: w,
3819
3819
  getBelongedComponentInstance: m,
3820
- getDraggableDesignItemElement: v,
3820
+ getDraggableDesignItemElement: h,
3821
3821
  getDraggingDisplayText: E,
3822
3822
  getPropConfig: f,
3823
3823
  getDragScopeElement: _,
@@ -3922,7 +3922,7 @@ class ra {
3922
3922
  const o = n && n.parent && n.parent.schema;
3923
3923
  if (!o)
3924
3924
  return;
3925
- const r = o.contents.findIndex((a) => a.id === t), i = ut(o.contents[r]);
3925
+ const r = o.contents.findIndex((a) => a.id === t), i = pt(o.contents[r]);
3926
3926
  o.contents.splice(r, 1), o.contents.splice(r, 0, i);
3927
3927
  }
3928
3928
  }
@@ -3982,7 +3982,7 @@ function sa(e) {
3982
3982
  let t;
3983
3983
  e.className.includes("dgComponentSelected") ? t = e : t = e.querySelector(".dgComponentSelected"), t && Vn(t);
3984
3984
  }
3985
- var ft = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3985
+ var dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3986
3986
  function Ft(e) {
3987
3987
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
3988
3988
  }
@@ -3993,22 +3993,22 @@ var ua = { exports: {} };
3993
3993
  })(function() {
3994
3994
  return (/* @__PURE__ */ function() {
3995
3995
  function n(o, r, i) {
3996
- function a(h, m) {
3997
- if (!r[h]) {
3998
- if (!o[h]) {
3999
- var v = typeof Ft == "function" && Ft;
4000
- if (!m && v) return v(h, !0);
4001
- if (u) return u(h, !0);
4002
- var w = new Error("Cannot find module '" + h + "'");
3996
+ function a(v, m) {
3997
+ if (!r[v]) {
3998
+ if (!o[v]) {
3999
+ var h = typeof Ft == "function" && Ft;
4000
+ if (!m && h) return h(v, !0);
4001
+ if (u) return u(v, !0);
4002
+ var w = new Error("Cannot find module '" + v + "'");
4003
4003
  throw w.code = "MODULE_NOT_FOUND", w;
4004
4004
  }
4005
- var E = r[h] = { exports: {} };
4006
- o[h][0].call(E.exports, function(_) {
4007
- var B = o[h][1][_];
4005
+ var E = r[v] = { exports: {} };
4006
+ o[v][0].call(E.exports, function(_) {
4007
+ var B = o[v][1][_];
4008
4008
  return a(B || _);
4009
4009
  }, E, E.exports, n, o, r, i);
4010
4010
  }
4011
- return r[h].exports;
4011
+ return r[v].exports;
4012
4012
  }
4013
4013
  for (var u = typeof Ft == "function" && Ft, s = 0; s < i.length; s++) a(i[s]);
4014
4014
  return a;
@@ -4017,30 +4017,30 @@ var ua = { exports: {} };
4017
4017
  }())({
4018
4018
  1: [function(n, o, r) {
4019
4019
  var i = {}, a = "(?:^|\\s)", u = "(?:\\s|$)";
4020
- function s(v) {
4021
- var w = i[v];
4022
- return w ? w.lastIndex = 0 : i[v] = w = new RegExp(a + v + u, "g"), w;
4020
+ function s(h) {
4021
+ var w = i[h];
4022
+ return w ? w.lastIndex = 0 : i[h] = w = new RegExp(a + h + u, "g"), w;
4023
4023
  }
4024
- function h(v, w) {
4025
- var E = v.className;
4026
- E.length ? s(w).test(E) || (v.className += " " + w) : v.className = w;
4024
+ function v(h, w) {
4025
+ var E = h.className;
4026
+ E.length ? s(w).test(E) || (h.className += " " + w) : h.className = w;
4027
4027
  }
4028
- function m(v, w) {
4029
- v.className = v.className.replace(s(w), " ").trim();
4028
+ function m(h, w) {
4029
+ h.className = h.className.replace(s(w), " ").trim();
4030
4030
  }
4031
4031
  o.exports = {
4032
- add: h,
4032
+ add: v,
4033
4033
  rm: m
4034
4034
  };
4035
4035
  }, {}],
4036
4036
  2: [function(n, o, r) {
4037
4037
  (function(i) {
4038
- var a = n("contra/emitter"), u = n("crossvent"), s = n("./classes"), h = document, m = h.documentElement;
4039
- function v(y, T) {
4038
+ var a = n("contra/emitter"), u = n("crossvent"), s = n("./classes"), v = document, m = v.documentElement;
4039
+ function h(y, T) {
4040
4040
  var C = arguments.length;
4041
4041
  C === 1 && Array.isArray(y) === !1 && (T = y, y = []);
4042
4042
  var I, k, N, R, D, A, z, U, te, oe = null, X, H, Y = !1, ae = 0, ne, j = T || {};
4043
- j.moves === void 0 && (j.moves = f), j.accepts === void 0 && (j.accepts = f), j.invalid === void 0 && (j.invalid = $e), j.containers === void 0 && (j.containers = y || []), j.isContainer === void 0 && (j.isContainer = c), 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 = h.body);
4043
+ j.moves === void 0 && (j.moves = f), j.accepts === void 0 && (j.accepts = f), j.invalid === void 0 && (j.invalid = $e), j.containers === void 0 && (j.containers = y || []), j.isContainer === void 0 && (j.isContainer = c), 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 = v.body);
4044
4044
  var K = a({
4045
4045
  containers: j.containers,
4046
4046
  start: J,
@@ -4089,12 +4089,12 @@ var ua = { exports: {} };
4089
4089
  }
4090
4090
  if (!($.clientX !== void 0 && Math.abs($.clientX - R) <= (j.slideFactorX || 0) && $.clientY !== void 0 && Math.abs($.clientY - D) <= (j.slideFactorY || 0))) {
4091
4091
  if (j.ignoreInputTextSelection) {
4092
- var G = S("clientX", $) || 0, Z = S("clientY", $) || 0, ce = h.elementFromPoint(G, Z);
4092
+ var G = S("clientX", $) || 0, Z = S("clientY", $) || 0, ce = v.elementFromPoint(G, Z);
4093
4093
  if (x(ce))
4094
4094
  return;
4095
4095
  }
4096
4096
  var ge = X;
4097
- He(!0), Ae(), je(), pe(ge), s.add(U || N, "gu-transit"), fe(), Q(), ae = 0, it($);
4097
+ He(!0), Ae(), je(), me(ge), s.add(U || N, "gu-transit"), fe(), Q(), ae = 0, it($);
4098
4098
  }
4099
4099
  }
4100
4100
  }
@@ -4119,9 +4119,9 @@ var ua = { exports: {} };
4119
4119
  }
4120
4120
  function J($) {
4121
4121
  var G = Pe($);
4122
- G && pe(G);
4122
+ G && me(G);
4123
4123
  }
4124
- function pe($) {
4124
+ function me($) {
4125
4125
  wt($.item, $.source) && (U = $.item.cloneNode(!0), K.emit("cloned", U, $.item, "copy")), k = $.source, N = $.item, A = z = d($.item), K.dragging = !0, K.emit("drag", N, k);
4126
4126
  }
4127
4127
  function $e() {
@@ -4185,26 +4185,26 @@ var ua = { exports: {} };
4185
4185
  var G = S("clientX", $) || 0, Z = S("clientY", $) || 0;
4186
4186
  I.style.left = G - 2 + "px", I.style.top = Z - 2 + "px";
4187
4187
  var ce = U || N, ge = F(I, G, Z), Se = rt(ge, G, Z), lt = Se !== null && Se !== oe;
4188
- (lt || Se === null) && (Qe(), oe = Se, dt()), Oe(ge, Z);
4188
+ (lt || Se === null) && (Qe(), oe = Se, ct()), Oe(ge, Z);
4189
4189
  var Ye = p(ce);
4190
4190
  if (Se === k && U && !j.copySortSource) {
4191
4191
  Ye && Ye.removeChild(ce);
4192
4192
  return;
4193
4193
  }
4194
- var tt, ct = ke(Se, ge);
4195
- if (Y = Ce(ct, Se), ct !== null)
4196
- tt = Ue(Se, ct, G, Z);
4194
+ var tt, ut = ke(Se, ge);
4195
+ if (Y = Ce(ut, Se), ut !== null)
4196
+ tt = Ue(Se, ut, G, Z);
4197
4197
  else if (j.revertOnSpill === !0 && !U)
4198
4198
  tt = A, Se = k;
4199
4199
  else {
4200
4200
  U && Ye && Ye.removeChild(ce), U && H && (H.style.display = "none");
4201
4201
  return;
4202
4202
  }
4203
- H.style.display = "block", at(tt, ce, lt), tt ? Te(ct, tt) : Fe(Se);
4203
+ H.style.display = "block", at(tt, ce, lt), tt ? Te(ut, tt) : Fe(Se);
4204
4204
  function Le(Ge) {
4205
4205
  K.emit(Ge, ce, oe, k);
4206
4206
  }
4207
- function dt() {
4207
+ function ct() {
4208
4208
  lt && Le("over");
4209
4209
  }
4210
4210
  function Qe() {
@@ -4316,21 +4316,21 @@ var ua = { exports: {} };
4316
4316
  var ge = j.direction === "horizontal", Se = j.direction === "mixed", lt = G !== $ ? tt() : Ye();
4317
4317
  return lt;
4318
4318
  function Ye() {
4319
- var Le = $.children.length, dt, Qe, Ge;
4320
- for (dt = 0; dt < Le; dt++)
4321
- if (Qe = $.children[dt], Ge = Qe.getBoundingClientRect(), ge && Ge.left + Ge.width / 2 > Z || !Se && !ge && Ge.top + Ge.height / 2 > ce || Se && Ge.left + Ge.width > Z && Ge.top + Ge.height > ce)
4319
+ var Le = $.children.length, ct, Qe, Ge;
4320
+ for (ct = 0; ct < Le; ct++)
4321
+ if (Qe = $.children[ct], Ge = Qe.getBoundingClientRect(), ge && Ge.left + Ge.width / 2 > Z || !Se && !ge && Ge.top + Ge.height / 2 > ce || Se && Ge.left + Ge.width > Z && Ge.top + Ge.height > ce)
4322
4322
  return Qe;
4323
4323
  return null;
4324
4324
  }
4325
4325
  function tt() {
4326
4326
  var Le = G.getBoundingClientRect();
4327
4327
  if (Se) {
4328
- var dt = ce - Le.top, Qe = Z - Le.left, Ge = Le.bottom - ce, Rt = Le.right - Z, Nt = Math.min(Qe, Rt, dt, Ge), Dt;
4329
- return Y ? Dt = Rt < Qe : Dt = Ge === Nt || Rt === Nt || Qe === Nt, ct(Dt);
4328
+ var ct = ce - Le.top, Qe = Z - Le.left, Ge = Le.bottom - ce, Rt = Le.right - Z, Nt = Math.min(Qe, Rt, ct, Ge), Dt;
4329
+ return Y ? Dt = Rt < Qe : Dt = Ge === Nt || Rt === Nt || Qe === Nt, ut(Dt);
4330
4330
  }
4331
- return ct(ge ? Z > Le.left + O(Le) / 2 : ce > Le.top + g(Le) / 2);
4331
+ return ut(ge ? Z > Le.left + O(Le) / 2 : ce > Le.top + g(Le) / 2);
4332
4332
  }
4333
- function ct(Le) {
4333
+ function ut(Le) {
4334
4334
  return Le ? d(G) : G;
4335
4335
  }
4336
4336
  }
@@ -4387,7 +4387,7 @@ var ua = { exports: {} };
4387
4387
  function F(y, T, C) {
4388
4388
  y = y || {};
4389
4389
  var I = y.className || "", k;
4390
- return y.className += " gu-hide", k = h.elementFromPoint(T, C), y.className = I, k;
4390
+ return y.className += " gu-hide", k = v.elementFromPoint(T, C), y.className = I, k;
4391
4391
  }
4392
4392
  function c() {
4393
4393
  return !1;
@@ -4402,7 +4402,7 @@ var ua = { exports: {} };
4402
4402
  return y.height || y.bottom - y.top;
4403
4403
  }
4404
4404
  function p(y) {
4405
- return y.parentNode === h ? null : y.parentNode;
4405
+ return y.parentNode === v ? null : y.parentNode;
4406
4406
  }
4407
4407
  function x(y) {
4408
4408
  return y.tagName === "INPUT" || y.tagName === "TEXTAREA" || y.tagName === "SELECT" || l(y);
@@ -4432,8 +4432,8 @@ var ua = { exports: {} };
4432
4432
  };
4433
4433
  return y in I && !(y in C) && I[y] in C && (y = I[y]), C[y];
4434
4434
  }
4435
- o.exports = v;
4436
- }).call(this, typeof ft < "u" ? ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
4435
+ o.exports = h;
4436
+ }).call(this, typeof dt < "u" ? dt : typeof self < "u" ? self : typeof window < "u" ? window : {});
4437
4437
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
4438
4438
  3: [function(n, o, r) {
4439
4439
  o.exports = function(a, u) {
@@ -4442,28 +4442,28 @@ var ua = { exports: {} };
4442
4442
  }, {}],
4443
4443
  4: [function(n, o, r) {
4444
4444
  var i = n("ticky");
4445
- o.exports = function(u, s, h) {
4445
+ o.exports = function(u, s, v) {
4446
4446
  u && i(function() {
4447
- u.apply(h || null, s || []);
4447
+ u.apply(v || null, s || []);
4448
4448
  });
4449
4449
  };
4450
4450
  }, { ticky: 10 }],
4451
4451
  5: [function(n, o, r) {
4452
4452
  var i = n("atoa"), a = n("./debounce");
4453
- o.exports = function(s, h) {
4454
- var m = h || {}, v = {};
4453
+ o.exports = function(s, v) {
4454
+ var m = v || {}, h = {};
4455
4455
  return s === void 0 && (s = {}), s.on = function(w, E) {
4456
- return v[w] ? v[w].push(E) : v[w] = [E], s;
4456
+ return h[w] ? h[w].push(E) : h[w] = [E], s;
4457
4457
  }, s.once = function(w, E) {
4458
4458
  return E._once = !0, s.on(w, E), s;
4459
4459
  }, s.off = function(w, E) {
4460
4460
  var _ = arguments.length;
4461
4461
  if (_ === 1)
4462
- delete v[w];
4462
+ delete h[w];
4463
4463
  else if (_ === 0)
4464
- v = {};
4464
+ h = {};
4465
4465
  else {
4466
- var B = v[w];
4466
+ var B = h[w];
4467
4467
  if (!B)
4468
4468
  return s;
4469
4469
  B.splice(B.indexOf(E), 1);
@@ -4473,7 +4473,7 @@ var ua = { exports: {} };
4473
4473
  var w = i(arguments);
4474
4474
  return s.emitterSnapshot(w.shift()).apply(this, w);
4475
4475
  }, s.emitterSnapshot = function(w) {
4476
- var E = (v[w] || []).slice(0);
4476
+ var E = (h[w] || []).slice(0);
4477
4477
  return function() {
4478
4478
  var _ = i(arguments), B = this || s;
4479
4479
  if (w === "error" && m.throws !== !1 && !E.length)
@@ -4487,9 +4487,9 @@ var ua = { exports: {} };
4487
4487
  }, { "./debounce": 4, atoa: 3 }],
4488
4488
  6: [function(n, o, r) {
4489
4489
  (function(i) {
4490
- var a = n("custom-event"), u = n("./eventmap"), s = i.document, h = w, m = _, v = [];
4491
- i.addEventListener || (h = E, m = B), o.exports = {
4492
- add: h,
4490
+ var a = n("custom-event"), u = n("./eventmap"), s = i.document, v = w, m = _, h = [];
4491
+ i.addEventListener || (v = E, m = B), o.exports = {
4492
+ add: v,
4493
4493
  remove: m,
4494
4494
  fabricate: F
4495
4495
  };
@@ -4530,7 +4530,7 @@ var ua = { exports: {} };
4530
4530
  }
4531
4531
  function f(p, x, l) {
4532
4532
  var d = O(p, x, l) || c(p, x, l);
4533
- return v.push({
4533
+ return h.push({
4534
4534
  wrapper: d,
4535
4535
  element: p,
4536
4536
  type: x,
@@ -4540,17 +4540,17 @@ var ua = { exports: {} };
4540
4540
  function O(p, x, l) {
4541
4541
  var d = g(p, x, l);
4542
4542
  if (d) {
4543
- var b = v[d].wrapper;
4544
- return v.splice(d, 1), b;
4543
+ var b = h[d].wrapper;
4544
+ return h.splice(d, 1), b;
4545
4545
  }
4546
4546
  }
4547
4547
  function g(p, x, l) {
4548
4548
  var d, b;
4549
- for (d = 0; d < v.length; d++)
4550
- if (b = v[d], b.element === p && b.type === x && b.fn === l)
4549
+ for (d = 0; d < h.length; d++)
4550
+ if (b = h[d], b.element === p && b.type === x && b.fn === l)
4551
4551
  return d;
4552
4552
  }
4553
- }).call(this, typeof ft < "u" ? ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
4553
+ }).call(this, typeof dt < "u" ? dt : typeof self < "u" ? self : typeof window < "u" ? window : {});
4554
4554
  }, { "./eventmap": 7, "custom-event": 8 }],
4555
4555
  7: [function(n, o, r) {
4556
4556
  (function(i) {
@@ -4558,7 +4558,7 @@ var ua = { exports: {} };
4558
4558
  for (u in i)
4559
4559
  s.test(u) && a.push(u.slice(2));
4560
4560
  o.exports = a;
4561
- }).call(this, typeof ft < "u" ? ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
4561
+ }).call(this, typeof dt < "u" ? dt : typeof self < "u" ? self : typeof window < "u" ? window : {});
4562
4562
  }, {}],
4563
4563
  8: [function(n, o, r) {
4564
4564
  (function(i) {
@@ -4573,25 +4573,25 @@ var ua = { exports: {} };
4573
4573
  }
4574
4574
  o.exports = u() ? a : (
4575
4575
  // IE >= 9
4576
- typeof document < "u" && typeof document.createEvent == "function" ? function(h, m) {
4577
- var v = document.createEvent("CustomEvent");
4578
- return m ? v.initCustomEvent(h, m.bubbles, m.cancelable, m.detail) : v.initCustomEvent(h, !1, !1, void 0), v;
4576
+ typeof document < "u" && typeof document.createEvent == "function" ? function(v, m) {
4577
+ var h = document.createEvent("CustomEvent");
4578
+ return m ? h.initCustomEvent(v, m.bubbles, m.cancelable, m.detail) : h.initCustomEvent(v, !1, !1, void 0), h;
4579
4579
  } : (
4580
4580
  // IE <= 8
4581
- function(h, m) {
4582
- var v = document.createEventObject();
4583
- return v.type = h, m ? (v.bubbles = !!m.bubbles, v.cancelable = !!m.cancelable, v.detail = m.detail) : (v.bubbles = !1, v.cancelable = !1, v.detail = void 0), v;
4581
+ function(v, m) {
4582
+ var h = document.createEventObject();
4583
+ return h.type = v, m ? (h.bubbles = !!m.bubbles, h.cancelable = !!m.cancelable, h.detail = m.detail) : (h.bubbles = !1, h.cancelable = !1, h.detail = void 0), h;
4584
4584
  }
4585
4585
  )
4586
4586
  );
4587
- }).call(this, typeof ft < "u" ? ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
4587
+ }).call(this, typeof dt < "u" ? dt : typeof self < "u" ? self : typeof window < "u" ? window : {});
4588
4588
  }, {}],
4589
4589
  9: [function(n, o, r) {
4590
4590
  var i = o.exports = {}, a, u;
4591
4591
  function s() {
4592
4592
  throw new Error("setTimeout has not been defined");
4593
4593
  }
4594
- function h() {
4594
+ function v() {
4595
4595
  throw new Error("clearTimeout has not been defined");
4596
4596
  }
4597
4597
  (function() {
@@ -4601,9 +4601,9 @@ var ua = { exports: {} };
4601
4601
  a = s;
4602
4602
  }
4603
4603
  try {
4604
- typeof clearTimeout == "function" ? u = clearTimeout : u = h;
4604
+ typeof clearTimeout == "function" ? u = clearTimeout : u = v;
4605
4605
  } catch {
4606
- u = h;
4606
+ u = v;
4607
4607
  }
4608
4608
  })();
4609
4609
  function m(g) {
@@ -4621,10 +4621,10 @@ var ua = { exports: {} };
4621
4621
  }
4622
4622
  }
4623
4623
  }
4624
- function v(g) {
4624
+ function h(g) {
4625
4625
  if (u === clearTimeout)
4626
4626
  return clearTimeout(g);
4627
- if ((u === h || !u) && clearTimeout)
4627
+ if ((u === v || !u) && clearTimeout)
4628
4628
  return u = clearTimeout, clearTimeout(g);
4629
4629
  try {
4630
4630
  return u(g);
@@ -4649,7 +4649,7 @@ var ua = { exports: {} };
4649
4649
  _ && _[B].run();
4650
4650
  B = -1, p = w.length;
4651
4651
  }
4652
- _ = null, E = !1, v(g);
4652
+ _ = null, E = !1, h(g);
4653
4653
  }
4654
4654
  }
4655
4655
  i.nextTick = function(g) {
@@ -4691,7 +4691,7 @@ var ua = { exports: {} };
4691
4691
  }, { timers: 11 }],
4692
4692
  11: [function(n, o, r) {
4693
4693
  (function(i, a) {
4694
- var u = n("process/browser.js").nextTick, s = Function.prototype.apply, h = Array.prototype.slice, m = {}, v = 0;
4694
+ var u = n("process/browser.js").nextTick, s = Function.prototype.apply, v = Array.prototype.slice, m = {}, h = 0;
4695
4695
  r.setTimeout = function() {
4696
4696
  return new w(s.call(setTimeout, window, arguments), clearTimeout);
4697
4697
  }, r.setInterval = function() {
@@ -4716,7 +4716,7 @@ var ua = { exports: {} };
4716
4716
  E._onTimeout && E._onTimeout();
4717
4717
  }, _));
4718
4718
  }, r.setImmediate = typeof i == "function" ? i : function(E) {
4719
- var _ = v++, B = arguments.length < 2 ? !1 : h.call(arguments, 1);
4719
+ var _ = h++, B = arguments.length < 2 ? !1 : v.call(arguments, 1);
4720
4720
  return m[_] = !0, u(function() {
4721
4721
  m[_] && (B ? E.apply(null, B) : E.call(null), r.clearImmediate(_));
4722
4722
  }), _;
@@ -4733,13 +4733,13 @@ const Rn = /* @__PURE__ */ new Map([
4733
4733
  ["column", "columnOption"]
4734
4734
  ]);
4735
4735
  function ca(e, t, n) {
4736
- var v;
4737
- const o = n.parentComponentInstance, r = o.schema.type, i = String(((v = o.schema.appearance) == null ? void 0 : v.class) || "").split(" "), a = r === "section" || r === "tab-page", u = i.includes("f-page-content-nav"), s = i.includes("f-page-main"), h = e.getSchemaByType("component");
4738
- h.id = `${t.id}-component`, h.componentType = "data-grid";
4736
+ var h;
4737
+ const o = n.parentComponentInstance, r = o.schema.type, i = String(((h = o.schema.appearance) == null ? void 0 : h.class) || "").split(" "), a = r === "section" || r === "tab-page", u = i.includes("f-page-content-nav"), s = i.includes("f-page-main"), v = e.getSchemaByType("component");
4738
+ v.id = `${t.id}-component`, v.componentType = "data-grid";
4739
4739
  let m = "";
4740
- return m += a ? "f-struct-data-grid-in-card f-struct-is-subgrid" : "", m += u ? "f-struct-data-grid-in-nav f-struct-wrapper f-utils-fill-flex-column" : "", m += s ? "f-struct-data-grid f-struct-wrapper" : "", h.appearance = {
4740
+ return m += a ? "f-struct-data-grid-in-card f-struct-is-subgrid" : "", m += u ? "f-struct-data-grid-in-nav f-struct-wrapper f-utils-fill-flex-column" : "", m += s ? "f-struct-data-grid f-struct-wrapper" : "", v.appearance = {
4741
4741
  class: m
4742
- }, h.contents = [t], h;
4742
+ }, v.contents = [t], v;
4743
4743
  }
4744
4744
  function da(e, t, n) {
4745
4745
  const o = n.parentComponentInstance, r = String(o.schema.appearance.class || "").split(" "), i = r.includes("f-page-content-nav"), a = r.includes("f-page-main"), u = e.getSchemaByType("section");
@@ -5671,7 +5671,7 @@ const pa = "https://json-schema.org/draft/2020-12/schema", ma = "https://farris-
5671
5671
  /** 启用虚拟渲染 */
5672
5672
  virtualized: { type: Boolean, default: !1 }
5673
5673
  }, wa = bt(Jt, Dn, Rn, Nn), Ca = Ri(), _a = Vi(), Pn = Object.assign({}, Jt, { componentId: { type: String, default: "" } }), Sa = bt(Pn, Dn, Rn, Nn), xa = Ni();
5674
- function Ta(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F) {
5674
+ function Ta(e, t, n, o, r, i, a, u, s, v, m, h, w, E, _, B, F) {
5675
5675
  const {
5676
5676
  calculateCellPositionInRow: c
5677
5677
  } = i, {
@@ -5684,7 +5684,7 @@ function Ta(e, t, n, o, r, i, a, u, s, h, m, v, w, E, _, B, F) {
5684
5684
  rightFixedGridDataStyle: l
5685
5685
  } = E, {
5686
5686
  renderDataRow: d
5687
- } = ni(e, t, f, F, u, s, h, m, v, w, E), b = [d];
5687
+ } = ni(e, t, f, F, u, s, v, m, h, w, E), b = [d];
5688
5688
  function S(k, N) {
5689
5689
  const R = c(k);
5690
5690
  return F.value.filter((D) => D.visible !== !1).map((D) => b[D.type](D, R, N));
@@ -5730,7 +5730,7 @@ const Mt = /* @__PURE__ */ Ke({
5730
5730
  emits: ["selectionChange", "clickRow", "expandNode"],
5731
5731
  setup(e, t) {
5732
5732
  var wt, $;
5733
- const o = ((wt = e.rowOption) == null ? void 0 : wt.height) || 28, r = V(20), i = V(e.columns), a = mo(e), u = V(), s = V(), h = V(), m = V(), v = V(), w = V([]), E = V(!1), _ = V((($ = e.rowOption) == null ? void 0 : $.wrapContent) || !1), B = vo(e, a), F = ho(), c = go(e), {
5733
+ const o = ((wt = e.rowOption) == null ? void 0 : wt.height) || 28, r = V(20), i = V(e.columns), a = mo(e), u = V(), s = V(), v = V(), m = V(), h = V(), w = V([]), E = V(!1), _ = V((($ = e.rowOption) == null ? void 0 : $.wrapContent) || !1), B = vo(e, a), F = ho(), c = go(e), {
5734
5734
  showLoading: f,
5735
5735
  renderLoading: O
5736
5736
  } = yo(e, u), g = bo(e, /* @__PURE__ */ new Map(), F, c, a), p = wo(e, g, a, w, t), x = Co(e, w, a, p, t), l = W(() => e.disabled), d = W(() => e.virtualized ? Math.min(g.dataView.value.length, r.value) : g.dataView.value.length), {
@@ -5758,7 +5758,7 @@ const Mt = /* @__PURE__ */ Ke({
5758
5758
  updateVisibleRowsOnLatestVisibleScope: Ae
5759
5759
  } = ne, De = Do(e, k, s, ve, R), {
5760
5760
  calculateColumnsSize: Ee
5761
- } = De, ze = Po(), Be = Wo(s, v, g, ze, ne), Pe = Ho(e, t, T, g, R, B, ne), ye = W(() => ({
5761
+ } = De, ze = Po(), Be = Wo(s, h, g, ze, ne), Pe = Ho(e, t, T, g, R, B, ne), ye = W(() => ({
5762
5762
  "fv-grid": !0,
5763
5763
  "fv-grid-bordered": e.showBorder,
5764
5764
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
@@ -5768,12 +5768,12 @@ const Mt = /* @__PURE__ */ Ke({
5768
5768
  "fv-grid-content-hover": E.value,
5769
5769
  "fv-grid-wrap-content": _.value
5770
5770
  })), {
5771
- renderDataArea: pe
5772
- } = Ta(e, t, h, m, v, H, T, g, A, c, D, p, x, ne, oe, z, w), {
5771
+ renderDataArea: me
5772
+ } = Ta(e, t, v, m, h, H, T, g, A, c, D, p, x, ne, oe, z, w), {
5773
5773
  renderGridHeader: $e,
5774
5774
  renderGridColumnResizeOverlay: je,
5775
5775
  shouldShowHeader: de
5776
- } = $o(e, t, s, m, v, T, g, Pe, Be, F, ze, De, R, p, Y, C, ne, ve, w), {
5776
+ } = $o(e, t, s, m, h, T, g, Pe, Be, F, ze, De, R, p, Y, C, ne, ve, w), {
5777
5777
  renderDataGridSidebar: _e
5778
5778
  } = jo(e, D, p, Y, ne), {
5779
5779
  renderDisableMask: xe
@@ -5786,15 +5786,15 @@ const Mt = /* @__PURE__ */ Ke({
5786
5786
  var G, Z, ce;
5787
5787
  if (s.value && s.value.clientHeight > 0 && ((G = s.value) == null ? void 0 : G.clientWidth) > 0) {
5788
5788
  const ge = Math.ceil(s.value.clientHeight / o);
5789
- ge > r.value && (r.value = ge, Ae()), he.value = ((Z = h.value) == null ? void 0 : Z.clientHeight) || 0, K.value = ((ce = s.value) == null ? void 0 : ce.clientWidth) || 0, Ee();
5789
+ ge > r.value && (r.value = ge, Ae()), he.value = ((Z = v.value) == null ? void 0 : Z.clientHeight) || 0, K.value = ((ce = s.value) == null ? void 0 : ce.clientWidth) || 0, Ee();
5790
5790
  }
5791
5791
  }
5792
5792
  yt(() => {
5793
5793
  s.value && (r.value = Math.max(Math.ceil(s.value.clientHeight / o), r.value), w.value = X(0, d.value + 0 - 1), fn(s.value, et), Ee(), Tt(() => {
5794
- s.value && (K.value = s.value.clientWidth), h.value && (ve.value = h.value.clientWidth, he.value = h.value.clientHeight);
5794
+ s.value && (K.value = s.value.clientWidth), v.value && (ve.value = v.value.clientWidth, he.value = v.value.clientHeight);
5795
5795
  })), f.value && O();
5796
5796
  }), Bt(() => {
5797
- }), me(ve, () => {
5797
+ }), pe(ve, () => {
5798
5798
  s.value && Ee();
5799
5799
  });
5800
5800
  function Je() {
@@ -5875,7 +5875,7 @@ const Mt = /* @__PURE__ */ Ke({
5875
5875
  class: J.value,
5876
5876
  onMouseover: () => E.value = !0,
5877
5877
  onMouseleave: () => E.value = !1
5878
- }, [s.value && _e(w), s.value && pe(), s.value && Fe.value && Oe(), s.value && we(), s.value && Xe()]), je(), l.value && xe()]);
5878
+ }, [s.value && _e(w), s.value && me(), s.value && Fe.value && Oe(), s.value && we(), s.value && Xe()]), je(), l.value && xe()]);
5879
5879
  }
5880
5880
  }), Fa = {
5881
5881
  id: { type: String, default: "" },
@@ -5933,8 +5933,8 @@ const Xt = /* @__PURE__ */ Ke({
5933
5933
  props: Fa,
5934
5934
  emits: ["selectionChange"],
5935
5935
  setup(e, t) {
5936
- const n = V(`${e.modelValue.id}-component`), o = V(e.canMove), r = V(e.canDelete), i = V(!1), a = V(e.modelValue), u = V(e.componentId || ""), s = V(""), h = V(""), m = V(e.customClass), v = V(), w = vt("canvas-dragula"), E = V(), _ = vt("design-item-context"), B = {
5937
- designerItemElementRef: v,
5936
+ const n = V(`${e.modelValue.id}-component`), o = V(e.canMove), r = V(e.canDelete), i = V(!1), a = V(e.modelValue), u = V(e.componentId || ""), s = V(""), v = V(""), m = V(e.customClass), h = V(), w = vt("canvas-dragula"), E = V(), _ = vt("design-item-context"), B = {
5937
+ designerItemElementRef: h,
5938
5938
  componentInstance: E,
5939
5939
  schema: a.value,
5940
5940
  parent: _,
@@ -5951,11 +5951,11 @@ const Xt = /* @__PURE__ */ Ke({
5951
5951
  "position-relative": o.value && r.value || (N == null ? void 0 : N.length),
5952
5952
  "farris-nested": i.value,
5953
5953
  "can-move": o.value,
5954
- "d-none": v.value && v.value.classList.contains("d-none"),
5955
- dgComponentSelected: v.value && v.value.classList.contains("dgComponentSelected"),
5956
- dgComponentFocused: v.value && v.value.classList.contains("dgComponentFocused")
5954
+ "d-none": h.value && h.value.classList.contains("d-none"),
5955
+ dgComponentSelected: h.value && h.value.classList.contains("dgComponentSelected"),
5956
+ dgComponentFocused: h.value && h.value.classList.contains("dgComponentFocused")
5957
5957
  };
5958
- return R[`farris-component-${a.value.type}`] = !0, R = Ht(R, k), R = Ht(R, h.value), R = Ht(R, m.value), R;
5958
+ return R[`farris-component-${a.value.type}`] = !0, R = Ht(R, k), R = Ht(R, v.value), R = Ht(R, m.value), R;
5959
5959
  }), f = W(() => {
5960
5960
  const k = {}, N = e.modelValue.appearance && e.modelValue.appearance.style || "";
5961
5961
  return N && N.split(";").reduce((R, D) => {
@@ -6065,7 +6065,7 @@ const Xt = /* @__PURE__ */ Ke({
6065
6065
  }, null);
6066
6066
  }
6067
6067
  }
6068
- me(() => e.modelValue, (k) => {
6068
+ pe(() => e.modelValue, (k) => {
6069
6069
  a.value = k, n.value = `${k.id}-component`;
6070
6070
  });
6071
6071
  function y(k) {
@@ -6079,30 +6079,30 @@ const Xt = /* @__PURE__ */ Ke({
6079
6079
  }
6080
6080
  function C() {
6081
6081
  var k, N;
6082
- (N = (k = a.value) == null ? void 0 : k.contents) != null && N.length && v.value && v.value.addEventListener("scroll", T);
6082
+ (N = (k = a.value) == null ? void 0 : k.contents) != null && N.length && h.value && h.value.addEventListener("scroll", T);
6083
6083
  }
6084
6084
  yt(() => {
6085
- if (v.value && E.value && E.value.schema) {
6086
- const k = v.value.querySelector(`[data-dragref='${E.value.schema.id}-container']`);
6087
- w && k && w.attachComponents(k, a.value), i.value = E.value.canNested !== void 0 ? E.value.canNested : i.value, r.value = E.value.canDelete !== void 0 ? E.value.canDelete : r.value, o.value = E.value.canMove !== void 0 ? E.value.canMove : o.value, s.value = E.value.styles || "", h.value = E.value.designerClass || "", v.value && (v.value.componentInstance = E, v.value.designItemContext = B), E.value.belongedComponentId = u.value;
6085
+ if (h.value && E.value && E.value.schema) {
6086
+ const k = h.value.querySelector(`[data-dragref='${E.value.schema.id}-container']`);
6087
+ w && k && w.attachComponents(k, a.value), i.value = E.value.canNested !== void 0 ? E.value.canNested : i.value, r.value = E.value.canDelete !== void 0 ? E.value.canDelete : r.value, o.value = E.value.canMove !== void 0 ? E.value.canMove : o.value, s.value = E.value.styles || "", v.value = E.value.designerClass || "", h.value && (h.value.componentInstance = E, h.value.designItemContext = B), E.value.belongedComponentId = u.value;
6088
6088
  }
6089
6089
  C(), $t.value++;
6090
6090
  }), sn(() => {
6091
- v.value && v.value.removeEventListener("scroll", T);
6091
+ h.value && h.value.removeEventListener("scroll", T);
6092
6092
  });
6093
6093
  function I(k) {
6094
6094
  k && (k.preventDefault(), k.stopPropagation());
6095
6095
  let N = B.designerItemElementRef;
6096
- const R = v.value;
6096
+ const R = h.value;
6097
6097
  if (R) {
6098
6098
  const D = document.getElementsByClassName("dgComponentFocused");
6099
- D && D.length === 1 && D[0] === v.value || (Array.from(D).forEach((z) => z.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((z) => z.classList.remove("dgComponentSelected")), R.classList.add("dgComponentFocused"), t.emit("selectionChange", a.value.type, a.value, u.value, E.value), E.value.getDraggableDesignItemElement && (N = E.value.getDraggableDesignItemElement(B), N && N.value && N.value.classList.add("dgComponentSelected")));
6099
+ D && D.length === 1 && D[0] === h.value || (Array.from(D).forEach((z) => z.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((z) => z.classList.remove("dgComponentSelected")), R.classList.add("dgComponentFocused"), t.emit("selectionChange", a.value.type, a.value, u.value, E.value), E.value.getDraggableDesignItemElement && (N = E.value.getDraggableDesignItemElement(B), N && N.value && N.value.classList.add("dgComponentSelected")));
6100
6100
  }
6101
6101
  Vn(N == null ? void 0 : N.value);
6102
6102
  }
6103
6103
  return () => a.value.type === "component-ref" ? S(a.value) : M("div", {
6104
6104
  id: `${a.value.id}-design-item`,
6105
- ref: v,
6105
+ ref: h,
6106
6106
  class: c.value,
6107
6107
  style: f.value,
6108
6108
  onClick: I
@@ -6116,9 +6116,9 @@ function Ba(e, t, n, o, r = "data-grid-column") {
6116
6116
  hasRightFixedColumn: u
6117
6117
  } = n, {
6118
6118
  gridHeaderColumnsStyle: s,
6119
- leftFixedGridHeaderColumnsStyle: h,
6119
+ leftFixedGridHeaderColumnsStyle: v,
6120
6120
  rightFixedGridHeaderColumnsStyle: m
6121
- } = o, v = i.value.defaultColumnWidth, w = 32, E = /* @__PURE__ */ new Map([[0, 0]]);
6121
+ } = o, h = i.value.defaultColumnWidth, w = 32, E = /* @__PURE__ */ new Map([[0, 0]]);
6122
6122
  function _(S, y) {
6123
6123
  const T = E.get(y) || 0, C = {
6124
6124
  height: `${S.depth * w}px`,
@@ -6127,7 +6127,7 @@ function Ba(e, t, n, o, r = "data-grid-column") {
6127
6127
  width: `${S.actualWidth}px`,
6128
6128
  padding: 0
6129
6129
  };
6130
- return i.value.headerDepth > 1 && (C["line-height"] = `${S.depth * w}px`), E.set(y + 1, T + (S.actualWidth || v)), C;
6130
+ return i.value.headerDepth > 1 && (C["line-height"] = `${S.depth * w}px`), E.set(y + 1, T + (S.actualWidth || h)), C;
6131
6131
  }
6132
6132
  const B = W(() => ({
6133
6133
  "fv-grid-header": !0,
@@ -6188,7 +6188,7 @@ function Ba(e, t, n, o, r = "data-grid-column") {
6188
6188
  class: "fv-grid-header-left-fixed"
6189
6189
  }, [M("div", {
6190
6190
  class: "fv-grid-header-columns",
6191
- style: h.value
6191
+ style: v.value
6192
6192
  }, [x(i.value.leftHeaderColumns)])]);
6193
6193
  }
6194
6194
  function d() {
@@ -6242,13 +6242,13 @@ class Va extends ra {
6242
6242
  readonly: !0
6243
6243
  }
6244
6244
  },
6245
- setPropertyRelates(h, m) {
6246
- switch (h && h.propertyID) {
6245
+ setPropertyRelates(v, m) {
6246
+ switch (v && v.propertyID) {
6247
6247
  case "dataSource": {
6248
- const v = r.formSchemaUtils.getViewModelById(r.viewModelId);
6249
- if (v) {
6250
- const w = o.find((E) => E.label === h.propertyValue);
6251
- v.bindTo = w.bindTo;
6248
+ const h = r.formSchemaUtils.getViewModelById(r.viewModelId);
6249
+ if (h) {
6250
+ const w = o.find((E) => E.label === v.propertyValue);
6251
+ h.bindTo = w.bindTo;
6252
6252
  }
6253
6253
  r.designViewModelUtils.assembleDesignViewModel();
6254
6254
  break;
@@ -6408,7 +6408,7 @@ function Ra(e, t) {
6408
6408
  function s() {
6409
6409
  return !0;
6410
6410
  }
6411
- function h(m) {
6411
+ function v(m) {
6412
6412
  return new Va(m, t).getPropertyConfig(n);
6413
6413
  }
6414
6414
  return {
@@ -6418,27 +6418,27 @@ function Ra(e, t) {
6418
6418
  hideNestedPaddingInDesginerView: s,
6419
6419
  triggerBelongedComponentToMoveWhenMoved: o,
6420
6420
  triggerBelongedComponentToDeleteWhenDeleted: r,
6421
- getPropsConfig: h
6421
+ getPropsConfig: v
6422
6422
  };
6423
6423
  }
6424
6424
  function Na(e, t, n, o, r) {
6425
6425
  const { getGridHeaderCells: i } = r, a = 120, u = 50, s = W(() => {
6426
6426
  var l;
6427
6427
  return ((l = e.rowNumber) == null ? void 0 : l.enable) || !1;
6428
- }), h = W(() => {
6428
+ }), v = W(() => {
6429
6429
  var l, d;
6430
6430
  return ((l = e.selection) == null ? void 0 : l.multiSelect) || ((d = e.selection) == null ? void 0 : d.showCheckbox) || !1;
6431
6431
  }), m = W(
6432
6432
  () => {
6433
6433
  var l;
6434
- return 0 + (s.value ? ((l = e.rowNumber) == null ? void 0 : l.width) || 32 : 0) + (h.value ? u : 0);
6434
+ return 0 + (s.value ? ((l = e.rowNumber) == null ? void 0 : l.width) || 32 : 0) + (v.value ? u : 0);
6435
6435
  }
6436
- ), v = W(() => {
6436
+ ), h = W(() => {
6437
6437
  var l;
6438
6438
  return (l = e.columnOption) == null ? void 0 : l.fitColumns;
6439
6439
  }), w = W(() => {
6440
6440
  var l;
6441
- return v.value && ((l = e.columnOption) == null ? void 0 : l.fitMode) || "none";
6441
+ return h.value && ((l = e.columnOption) == null ? void 0 : l.fitMode) || "none";
6442
6442
  });
6443
6443
  function E(l, d, b) {
6444
6444
  const S = parseInt(l.width, 10) / 100;
@@ -6541,13 +6541,13 @@ function Na(e, t, n, o, r) {
6541
6541
  O(t), t.value = Object.assign({}, t.value);
6542
6542
  }
6543
6543
  }
6544
- return me(() => {
6544
+ return pe(() => {
6545
6545
  var l;
6546
6546
  return (l = e.columnOption) == null ? void 0 : l.fitColumns;
6547
6547
  }, (l, d) => {
6548
6548
  l !== d && l && x();
6549
- }), me(w, (l, d) => {
6550
- l !== d && v.value && x();
6549
+ }), pe(w, (l, d) => {
6550
+ l !== d && h.value && x();
6551
6551
  }), { calculateColumnHeaders: O, calculateColumnsSize: x, calculateColumnsWidth: g };
6552
6552
  }
6553
6553
  const Da = /* @__PURE__ */ Ke({
@@ -6556,7 +6556,7 @@ const Da = /* @__PURE__ */ Ke({
6556
6556
  emits: [],
6557
6557
  setup(e, t) {
6558
6558
  var Be, Pe;
6559
- const n = V(), o = 0, r = ((Be = e.rowOption) == null ? void 0 : Be.height) || 28, i = V(20), a = V(e.columns), u = ys(e), s = V(), h = V(), m = V([]), v = V(!1), w = V(((Pe = e.rowOption) == null ? void 0 : Pe.wrapContent) || !1), E = vt("designer-host-service"), _ = vt("design-item-context"), B = Ra(_, E), F = oa(n, _, B);
6559
+ const n = V(), o = 0, r = ((Be = e.rowOption) == null ? void 0 : Be.height) || 28, i = V(20), a = V(e.columns), u = ys(e), s = V(), v = V(), m = V([]), h = V(!1), w = V(((Pe = e.rowOption) == null ? void 0 : Pe.wrapContent) || !1), E = vt("designer-host-service"), _ = vt("design-item-context"), B = Ra(_, E), F = oa(n, _, B);
6560
6560
  F.value.designerClass = "f-utils-fill-flex-column";
6561
6561
  const c = rs(), f = is(e), O = Si(e, /* @__PURE__ */ new Map(), c, f, u), g = ws(e, O, u, m, t), p = W(() => O.dataView.value.length), {
6562
6562
  containerStyleObject: x
@@ -6589,7 +6589,7 @@ const Da = /* @__PURE__ */ Ke({
6589
6589
  "fv-datagrid-strip": e.showStripe
6590
6590
  })), He = W(() => ({
6591
6591
  "fv-grid-content": !0,
6592
- "fv-grid-content-hover": v.value,
6592
+ "fv-grid-content-hover": h.value,
6593
6593
  "fv-grid-wrap-content": w.value
6594
6594
  })), {
6595
6595
  renderGridHeader: Ae
@@ -6597,21 +6597,21 @@ const Da = /* @__PURE__ */ Ke({
6597
6597
  renderHorizontalScrollbar: De
6598
6598
  } = oi(e, s, X);
6599
6599
  function Ee() {
6600
- var J, pe;
6600
+ var J, me;
6601
6601
  const ye = Math.ceil(s.value.clientHeight / r);
6602
- ye > i.value && (i.value = ye, j()), ae.value = ((J = h.value) == null ? void 0 : J.clientHeight) || 0, Y.value = ((pe = s.value) == null ? void 0 : pe.clientWidth) || 0, he();
6602
+ ye > i.value && (i.value = ye, j()), ae.value = ((J = v.value) == null ? void 0 : J.clientHeight) || 0, Y.value = ((me = s.value) == null ? void 0 : me.clientWidth) || 0, he();
6603
6603
  }
6604
6604
  yt(() => {
6605
6605
  n.value.componentInstance = F, s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / r), i.value), m.value = U(0, p.value + o - 1), fn(s.value, Ee), he(), Tt(() => {
6606
- s.value && (Y.value = s.value.clientWidth), h.value && (ne.value = h.value.clientWidth, ae.value = h.value.clientHeight);
6606
+ s.value && (Y.value = s.value.clientWidth), v.value && (ne.value = v.value.clientWidth, ae.value = v.value.clientHeight);
6607
6607
  }));
6608
6608
  });
6609
6609
  function ze(ye) {
6610
6610
  ye && (a.value = ye, d(a), T(a.value), S(O, C), he());
6611
6611
  }
6612
- return me(() => e.columns, (ye) => {
6612
+ return pe(() => e.columns, (ye) => {
6613
6613
  ze(ye);
6614
- }), me(ne, () => {
6614
+ }), pe(ne, () => {
6615
6615
  s.value && he();
6616
6616
  }), t.expose(F.value), () => M("div", {
6617
6617
  ref: n,
@@ -6623,10 +6623,10 @@ const Da = /* @__PURE__ */ Ke({
6623
6623
  ref: s,
6624
6624
  class: He.value,
6625
6625
  onMouseover: () => {
6626
- v.value = !0;
6626
+ h.value = !0;
6627
6627
  },
6628
6628
  onMouseleave: () => {
6629
- v.value = !1;
6629
+ h.value = !1;
6630
6630
  }
6631
6631
  }, [De()])]);
6632
6632
  }
@@ -6923,7 +6923,7 @@ class mt {
6923
6923
  }
6924
6924
  }
6925
6925
  function el(e, t) {
6926
- const n = V(), o = V(), r = V(), i = V(), a = V(), u = V(), s = V(), h = V(), m = V(), v = V(), w = V(), E = V(), _ = V(e.draggable), B = V(!1);
6926
+ const n = V(), o = V(), r = V(), i = V(), a = V(), u = V(), s = V(), v = V(), m = V(), h = V(), w = V(), E = V(), _ = V(e.draggable), B = V(!1);
6927
6927
  function F() {
6928
6928
  const R = o.value || document.body, D = window.getComputedStyle(R);
6929
6929
  if (!D || !n.value)
@@ -6931,13 +6931,13 @@ function el(e, t) {
6931
6931
  const A = Me.getTransformInfo(n.value), z = {};
6932
6932
  s.value && (z.deltaL = n.value.offsetLeft - s.value.x, z.deltaT = n.value.offsetTop - s.value.y);
6933
6933
  const U = D.getPropertyValue("position");
6934
- z.width = R.clientWidth, z.height = R.clientHeight, z.pr = parseInt(D.getPropertyValue("padding-right"), 10), z.pb = parseInt(D.getPropertyValue("padding-bottom"), 10), z.position = D.getPropertyValue("position"), U === "static" && (R.style.position = "relative"), z.translateX = A.x, z.translateY = A.y, v.value = z;
6934
+ z.width = R.clientWidth, z.height = R.clientHeight, z.pr = parseInt(D.getPropertyValue("padding-right"), 10), z.pb = parseInt(D.getPropertyValue("padding-bottom"), 10), z.position = D.getPropertyValue("position"), U === "static" && (R.style.position = "relative"), z.translateX = A.x, z.translateY = A.y, h.value = z;
6935
6935
  }
6936
6936
  function c(R) {
6937
6937
  if (n.value) {
6938
6938
  i.value = mt.getCurrent(n.value), a.value = Me.getCurrent(n.value), u.value = i.value ? mt.copy(i.value) : null, s.value = a.value ? Me.copy(a.value) : null, F();
6939
6939
  const D = R.target.getAttribute("type") || "";
6940
- h.value = {
6940
+ v.value = {
6941
6941
  n: !!D.match(/n/),
6942
6942
  s: !!D.match(/s/),
6943
6943
  w: !!D.match(/w/),
@@ -6949,28 +6949,28 @@ function el(e, t) {
6949
6949
  var R, D, A, z;
6950
6950
  if (n.value) {
6951
6951
  const U = n.value;
6952
- h.value && ((h.value.n || h.value.s) && ((R = u.value) != null && R.height) && (U.style.height = u.value.height + "px"), (h.value.w || h.value.e) && ((D = u.value) != null && D.width) && (U.style.width = u.value.width + "px"), s.value && ((A = s.value) != null && A.x && (U.style.left = s.value.x + "px"), (z = s.value) != null && z.y && (U.style.top = s.value.y + "px")));
6952
+ v.value && ((v.value.n || v.value.s) && ((R = u.value) != null && R.height) && (U.style.height = u.value.height + "px"), (v.value.w || v.value.e) && ((D = u.value) != null && D.width) && (U.style.width = u.value.width + "px"), s.value && ((A = s.value) != null && A.x && (U.style.left = s.value.x + "px"), (z = s.value) != null && z.y && (U.style.top = s.value.y + "px")));
6953
6953
  }
6954
6954
  }
6955
6955
  function O() {
6956
6956
  const R = e.minHeight ? e.minHeight : 1, D = e.minWidth ? e.minWidth : 1;
6957
- u.value && s.value && h.value && i.value && (u.value.height < R && (u.value.height = R, h.value.n && a.value && (s.value.y = a.value.y + (i.value.height - R))), u.value.width < D && (u.value.width = D, h.value.w && a.value && (s.value.x = a.value.x + (i.value.width - D))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, a.value && h.value.n && (s.value.y = a.value.y + (i.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, h.value.w && a.value && (s.value.x = a.value.x + (i.value.width - e.maxWidth))));
6957
+ u.value && s.value && v.value && i.value && (u.value.height < R && (u.value.height = R, v.value.n && a.value && (s.value.y = a.value.y + (i.value.height - R))), u.value.width < D && (u.value.width = D, v.value.w && a.value && (s.value.x = a.value.x + (i.value.width - D))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, a.value && v.value.n && (s.value.y = a.value.y + (i.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, v.value.w && a.value && (s.value.x = a.value.x + (i.value.width - e.maxWidth))));
6958
6958
  }
6959
6959
  function g() {
6960
6960
  if (o.value) {
6961
- const R = v.value;
6962
- if (s.value && u.value && h.value && i.value) {
6961
+ const R = h.value;
6962
+ if (s.value && u.value && v.value && i.value) {
6963
6963
  const D = R.width - R.pr - R.deltaL - R.translateX - s.value.x, A = R.height - R.pb - R.deltaT - R.translateY - s.value.y;
6964
- h.value.n && s.value.y + R.translateY < 0 && a.value && (s.value.y = -R.translateY, u.value.height = i.value.height + a.value.y + R.translateY), h.value.w && s.value.x + R.translateX < 0 && a.value && (s.value.x = -R.translateX, u.value.width = i.value.width + a.value.x + R.translateX), u.value.width > D && (u.value.width = D), u.value.height > A && (u.value.height = A);
6964
+ v.value.n && s.value.y + R.translateY < 0 && a.value && (s.value.y = -R.translateY, u.value.height = i.value.height + a.value.y + R.translateY), v.value.w && s.value.x + R.translateX < 0 && a.value && (s.value.x = -R.translateX, u.value.width = i.value.width + a.value.x + R.translateX), u.value.width > D && (u.value.width = D), u.value.height > A && (u.value.height = A);
6965
6965
  }
6966
6966
  }
6967
6967
  }
6968
6968
  function p(R) {
6969
- if (!r.value || !i.value || !a.value || !h.value)
6969
+ if (!r.value || !i.value || !a.value || !v.value)
6970
6970
  return;
6971
6971
  R.subtract(r.value);
6972
6972
  const D = R.x, A = R.y;
6973
- h.value.n ? (s.value.y = a.value.y + A, u.value.height = i.value.height - A) : h.value.s && (u.value.height = i.value.height + A), h.value.e ? u.value.width = i.value.width + D : h.value.w && (u.value.width = i.value.width - D, s.value.x = a.value.x + D), g(), O(), f();
6973
+ v.value.n ? (s.value.y = a.value.y + A, u.value.height = i.value.height - A) : v.value.s && (u.value.height = i.value.height + A), v.value.e ? u.value.width = i.value.width + D : v.value.w && (u.value.width = i.value.width - D, s.value.x = a.value.x + D), g(), O(), f();
6974
6974
  }
6975
6975
  function x(R) {
6976
6976
  if (!m.value)
@@ -7004,7 +7004,7 @@ function el(e, t) {
7004
7004
  const D = l();
7005
7005
  w.value = D;
7006
7006
  }
7007
- r.value = void 0, i.value = null, a.value = null, u.value = null, s.value = null, h.value = null, m.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", d);
7007
+ r.value = void 0, i.value = null, a.value = null, u.value = null, s.value = null, v.value = null, m.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", d);
7008
7008
  }
7009
7009
  function b() {
7010
7010
  document.addEventListener("mousemove", x), document.addEventListener("mouseup", d);
@@ -7109,8 +7109,8 @@ function el(e, t) {
7109
7109
  };
7110
7110
  }
7111
7111
  function tl(e, t, n) {
7112
- const o = V(), r = V(e.draggable), i = V(e.lockAxis), a = V(), u = V(), s = V(!1), h = V(new Me(0, 0)), m = V(new Me(0, 0)), v = V(new Me(0, 0)), w = V(new Me(0, 0));
7113
- me(() => n.value, (l) => {
7112
+ const o = V(), r = V(e.draggable), i = V(e.lockAxis), a = V(), u = V(), s = V(!1), v = V(new Me(0, 0)), m = V(new Me(0, 0)), h = V(new Me(0, 0)), w = V(new Me(0, 0));
7113
+ pe(() => n.value, (l) => {
7114
7114
  a.value.style.cursor = l ? "move" : "default";
7115
7115
  });
7116
7116
  function E(l, d) {
@@ -7125,8 +7125,8 @@ function tl(e, t, n) {
7125
7125
  }
7126
7126
  function _() {
7127
7127
  var S, y;
7128
- let l = v.value.x + m.value.x, d = v.value.y + m.value.y;
7129
- i.value === "x" ? (l = ((S = h.value) == null ? void 0 : S.x) || 0, v.value.x = 0) : i.value === "y" && (d = ((y = h.value) == null ? void 0 : y.y) || 0, v.value.y = 0);
7128
+ let l = h.value.x + m.value.x, d = h.value.y + m.value.y;
7129
+ i.value === "x" ? (l = ((S = v.value) == null ? void 0 : S.x) || 0, h.value.x = 0) : i.value === "y" && (d = ((y = v.value) == null ? void 0 : y.y) || 0, h.value.y = 0);
7130
7130
  const b = `translate3d(${Math.round(l)}px, ${Math.round(d)}px, 0px)`;
7131
7131
  o.value && (o.value.style.transform = b), w.value.x = l, w.value.y = d;
7132
7132
  }
@@ -7139,17 +7139,17 @@ function tl(e, t, n) {
7139
7139
  bottom: l.bottom > d.bottom,
7140
7140
  left: l.left < d.left
7141
7141
  };
7142
- return b.top || (v.value.y -= d.top - l.top), b.bottom || (v.value.y -= d.bottom - l.bottom), b.right || (v.value.x -= d.right - l.right), b.left || (v.value.x -= d.left - l.left), _(), b;
7142
+ return b.top || (h.value.y -= d.top - l.top), b.bottom || (h.value.y -= d.bottom - l.bottom), b.right || (h.value.x -= d.right - l.right), b.left || (h.value.x -= d.left - l.left), _(), b;
7143
7143
  }
7144
7144
  function F(l) {
7145
- l && (h.value && l.subtract(h.value), v.value.set(l), _(), B());
7145
+ l && (v.value && l.subtract(v.value), h.value.set(l), _(), B());
7146
7146
  }
7147
7147
  function c(l) {
7148
7148
  s.value && r.value && (l.stopPropagation(), l.preventDefault(), F(Me.fromEvent(l, a.value)));
7149
7149
  }
7150
7150
  function f() {
7151
7151
  var l;
7152
- s.value && (s.value = !1, m.value.add(v.value), v.value.reset(), (l = o.value) == null || l.classList.remove("ng-dragging"), document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f));
7152
+ s.value && (s.value = !1, m.value.add(h.value), h.value.reset(), (l = o.value) == null || l.classList.remove("ng-dragging"), document.removeEventListener("mousemove", c), document.removeEventListener("mouseup", f));
7153
7153
  }
7154
7154
  function O() {
7155
7155
  !s.value && a.value && (s.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", c), document.addEventListener("mouseup", f));
@@ -7166,7 +7166,7 @@ function tl(e, t, n) {
7166
7166
  if (!n.value || l instanceof MouseEvent && l.button === 2)
7167
7167
  return;
7168
7168
  const d = l.target || l.srcElement;
7169
- a.value !== void 0 && d && !E(d, a.value) || r.value !== !1 && (document.body.click(), l.stopPropagation(), l.preventDefault(), h.value = Me.fromEvent(l, o.value), g(), O());
7169
+ a.value !== void 0 && d && !E(d, a.value) || r.value !== !1 && (document.body.click(), l.stopPropagation(), l.preventDefault(), v.value = Me.fromEvent(l, o.value), g(), O());
7170
7170
  }
7171
7171
  function x(l, d, b) {
7172
7172
  if (r.value && d) {
@@ -7221,9 +7221,9 @@ const St = /* @__PURE__ */ Ke({
7221
7221
  props: Za,
7222
7222
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
7223
7223
  setup(e, t) {
7224
- const n = V(e.width || 300), o = V(e.height || 200), r = V(e.modelValue), i = V(""), a = V(e.class), u = V(e.fitContent), s = V(e.showHeader), h = V(""), m = V(e.showCloseButton), v = V(e.showMaxButton), w = V(!1), E = V(e.dialogType), _ = V(e.src), B = V(""), F = V(e.showButtons), c = V(e.title), f = V(e.resizeable), O = V(e.containment || null), g = V();
7225
- function p(J, pe) {
7226
- r.value = !1, t.emit("update:modelValue", !1), pe != null && t.emit(pe ? "accept" : "cancel"), t.emit("closed", J);
7224
+ const n = V(e.width || 300), o = V(e.height || 200), r = V(e.modelValue), i = V(""), a = V(e.class), u = V(e.fitContent), s = V(e.showHeader), v = V(""), m = V(e.showCloseButton), h = V(e.showMaxButton), w = V(!1), E = V(e.dialogType), _ = V(e.src), B = V(""), F = V(e.showButtons), c = V(e.title), f = V(e.resizeable), O = V(e.containment || null), g = V();
7225
+ function p(J, me) {
7226
+ r.value = !1, t.emit("update:modelValue", !1), me != null && t.emit(me ? "accept" : "cancel"), t.emit("closed", J);
7227
7227
  }
7228
7228
  const x = [{
7229
7229
  name: "cancel",
@@ -7239,7 +7239,7 @@ const St = /* @__PURE__ */ Ke({
7239
7239
  handle: (J) => {
7240
7240
  p(J, !0);
7241
7241
  }
7242
- }], l = V(e.buttons && e.buttons.length ? e.buttons : x), d = W(() => !!h.value), b = W(() => !!F.value && !!l.value), S = V(), y = V(), T = V(!1), {
7242
+ }], l = V(e.buttons && e.buttons.length ? e.buttons : x), d = W(() => !!v.value), b = W(() => !!F.value && !!l.value), S = V(), y = V(), T = V(!1), {
7243
7243
  renderResizeBar: C,
7244
7244
  maximize: I,
7245
7245
  restore: k,
@@ -7254,19 +7254,19 @@ const St = /* @__PURE__ */ Ke({
7254
7254
  const J = document.querySelectorAll(".farris-modal").length;
7255
7255
  (!J || J - 1 <= 0) && document.body.classList.remove("modal-open"), g.value && g.value.classList.remove("show");
7256
7256
  }
7257
- me(() => e.title, (J, pe) => {
7258
- J !== pe && (c.value = J);
7259
- }), me(() => e.modelValue, (J, pe) => {
7260
- J !== pe && (r.value = J, J || U());
7261
- }), me(() => e.showHeader, (J, pe) => {
7262
- J !== pe && (s.value = J);
7263
- }), me(() => e.showButtons, (J, pe) => {
7264
- J !== pe && (F.value = J);
7265
- }), me(() => R.value, (J, pe) => {
7266
- const $e = J || {}, je = pe || {};
7257
+ pe(() => e.title, (J, me) => {
7258
+ J !== me && (c.value = J);
7259
+ }), pe(() => e.modelValue, (J, me) => {
7260
+ J !== me && (r.value = J, J || U());
7261
+ }), pe(() => e.showHeader, (J, me) => {
7262
+ J !== me && (s.value = J);
7263
+ }), pe(() => e.showButtons, (J, me) => {
7264
+ J !== me && (F.value = J);
7265
+ }), pe(() => R.value, (J, me) => {
7266
+ const $e = J || {}, je = me || {};
7267
7267
  JSON.stringify($e) !== JSON.stringify(je) && t.emit("resize", {
7268
7268
  newSize: J,
7269
- oldSize: pe
7269
+ oldSize: me
7270
7270
  });
7271
7271
  });
7272
7272
  const te = W(() => (r.value && document.body.classList.add("modal-open"), r.value)), oe = W(() => {
@@ -7280,8 +7280,8 @@ const St = /* @__PURE__ */ Ke({
7280
7280
  var $e;
7281
7281
  const J = {
7282
7282
  "modal-dialog": !0
7283
- }, pe = ($e = a.value) == null ? void 0 : $e.split(" ");
7284
- return pe == null || pe.reduce((je, de) => (je[de] = !0, je), J), J;
7283
+ }, me = ($e = a.value) == null ? void 0 : $e.split(" ");
7284
+ return me == null || me.reduce((je, de) => (je[de] = !0, je), J), J;
7285
7285
  }), H = W(() => ({
7286
7286
  position: "absolute",
7287
7287
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -7310,8 +7310,8 @@ const St = /* @__PURE__ */ Ke({
7310
7310
  const he = W(() => {
7311
7311
  const J = {
7312
7312
  textAlgin: B.value
7313
- }, pe = K();
7314
- return Object.assign(J, pe);
7313
+ }, me = K();
7314
+ return Object.assign(J, me);
7315
7315
  });
7316
7316
  function ve(J) {
7317
7317
  if (J.stopPropagation(), T.value) {
@@ -7320,8 +7320,8 @@ const St = /* @__PURE__ */ Ke({
7320
7320
  }
7321
7321
  I(), T.value = !0;
7322
7322
  }
7323
- async function He(J, pe) {
7324
- J.handle && await J.handle(pe, J) && t.emit("closed", pe);
7323
+ async function He(J, me) {
7324
+ J.handle && await J.handle(me, J) && t.emit("closed", me);
7325
7325
  }
7326
7326
  function Ae(J) {
7327
7327
  J.width && (n.value = J.width), J.height && (o.value = J.height), J.buttons && (l.value = J.buttons), J.title && (c.value = J.title);
@@ -7342,7 +7342,7 @@ const St = /* @__PURE__ */ Ke({
7342
7342
  class: "f-btn-icon f-bare"
7343
7343
  }, [M("span", {
7344
7344
  class: "f-icon modal_minimize"
7345
- }, null)]), v.value && M("li", {
7345
+ }, null)]), h.value && M("li", {
7346
7346
  onClick: ve,
7347
7347
  class: "f-btn-icon f-bare",
7348
7348
  style: "pointer-events: auto;"
@@ -7364,8 +7364,8 @@ const St = /* @__PURE__ */ Ke({
7364
7364
  name: J.name,
7365
7365
  type: "button",
7366
7366
  class: J.class + (J.iconClass ? " btn-icontext" : ""),
7367
- onClick: (pe) => {
7368
- He(J, pe);
7367
+ onClick: (me) => {
7368
+ He(J, me);
7369
7369
  }
7370
7370
  }, [!!J.iconClass && M("i", {
7371
7371
  class: J.iconClass
@@ -7379,7 +7379,7 @@ const St = /* @__PURE__ */ Ke({
7379
7379
  }, [M("div", {
7380
7380
  class: "modal-title"
7381
7381
  }, [d.value && M("span", {
7382
- class: h.value,
7382
+ class: v.value,
7383
7383
  style: "margin-right: 8px"
7384
7384
  }, null), M("span", {
7385
7385
  class: "modal-title-label"
@@ -7398,7 +7398,7 @@ const St = /* @__PURE__ */ Ke({
7398
7398
  appear: !0
7399
7399
  }, {
7400
7400
  default: () => {
7401
- var J, pe;
7401
+ var J, me;
7402
7402
  return [M("div", {
7403
7403
  class: oe.value,
7404
7404
  style: "display: block",
@@ -7413,7 +7413,7 @@ const St = /* @__PURE__ */ Ke({
7413
7413
  class: Y.value
7414
7414
  }, [s.value && Pe(), M("div", {
7415
7415
  class: j.value
7416
- }, [(pe = (J = t.slots).default) == null ? void 0 : pe.call(J), E.value === "iframe" && M("iframe", {
7416
+ }, [(me = (J = t.slots).default) == null ? void 0 : me.call(J), E.value === "iframe" && M("iframe", {
7417
7417
  title: i.value,
7418
7418
  class: "f-utils-fill",
7419
7419
  width: "100%",
@@ -7439,7 +7439,7 @@ function rl(e) {
7439
7439
  Bt(() => {
7440
7440
  document.body.removeChild(t);
7441
7441
  });
7442
- const i = V(), a = V(e.class || ""), u = V(!!e.showButtons), s = V(!!e.showHeader), h = V(e.showCloseButton == null ? !0 : e.showCloseButton), m = V(!0), v = V(e.title || ""), w = e.acceptCallback || (() => {
7442
+ const i = V(), a = V(e.class || ""), u = V(!!e.showButtons), s = V(!!e.showHeader), v = V(e.showCloseButton == null ? !0 : e.showCloseButton), m = V(!0), h = V(e.title || ""), w = e.acceptCallback || (() => {
7443
7443
  }), E = e.rejectCallback || (() => {
7444
7444
  }), _ = e.closedCallback || ((f) => {
7445
7445
  }), B = e.resizeHandle || ((f) => {
@@ -7454,13 +7454,13 @@ function rl(e) {
7454
7454
  class: a.value,
7455
7455
  modelValue: m.value,
7456
7456
  "onUpdate:modelValue": (f) => m.value = f,
7457
- title: v.value,
7457
+ title: h.value,
7458
7458
  width: e.width,
7459
7459
  height: e.height,
7460
7460
  buttons: e.buttons,
7461
7461
  "show-header": s.value,
7462
7462
  "show-buttons": u.value,
7463
- "show-close-button": h.value,
7463
+ "show-close-button": v.value,
7464
7464
  "show-max-button": !1,
7465
7465
  onAccept: w,
7466
7466
  onCancel: E,
@@ -7520,15 +7520,15 @@ class $n {
7520
7520
  }), u = o.value.closedCallback || ((g, p) => {
7521
7521
  }), s = o.value.resizeHandle || ((g) => {
7522
7522
  });
7523
- let h;
7524
- const m = Hn(o.value), v = (g) => {
7523
+ let v;
7524
+ const m = Hn(o.value), h = (g) => {
7525
7525
  var x;
7526
7526
  r.value = !1;
7527
7527
  const p = (x = g == null ? void 0 : g.target) == null ? void 0 : x.classList.contains("modal_close");
7528
7528
  u(g, this.isUseEscCloseModal.value ? "esc" : p ? "icon" : "button");
7529
7529
  }, w = (g) => {
7530
- v(g), h && Tt(() => {
7531
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Pt(null, n), h = null, this.modalRef.value = null, this.modalRefs) {
7530
+ h(g), v && Tt(() => {
7531
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Pt(null, n), v = null, this.modalRef.value = null, this.modalRefs) {
7532
7532
  const p = Object.keys(this.modalRefs).map((x) => Number(x));
7533
7533
  p.length > 0 ? this.activeModalIndex.value = Math.max(...p) : this.activeModalIndex.value = 0;
7534
7534
  }
@@ -7555,7 +7555,7 @@ class $n {
7555
7555
  }), {
7556
7556
  default: () => [m && m(this.app)]
7557
7557
  });
7558
- return h = ((g) => {
7558
+ return v = ((g) => {
7559
7559
  const p = Yn(c, g);
7560
7560
  return p.appContext = this.appContext, Pt(p, n), p;
7561
7561
  })({
@@ -7566,7 +7566,7 @@ class $n {
7566
7566
  o.value = {
7567
7567
  ...o.value,
7568
7568
  ...g
7569
- }, h && Pt(Kn(h, {
7569
+ }, v && Pt(Kn(v, {
7570
7570
  ...o
7571
7571
  }), n);
7572
7572
  },
@@ -7585,21 +7585,32 @@ const al = {
7585
7585
  id: { type: String },
7586
7586
  required: { type: Boolean, default: !1 },
7587
7587
  text: { type: String, default: "" },
7588
- title: { type: String }
7588
+ title: { type: String },
7589
+ valid: { type: Boolean, default: !0 },
7590
+ inValidTip: { type: String, default: "" }
7589
7591
  }, ll = /* @__PURE__ */ Ke({
7590
7592
  name: "FDynamicFormLabel",
7591
7593
  props: al,
7592
7594
  emits: [],
7593
7595
  setup(e, t) {
7594
- const n = V(e.title || e.text), o = V(e.required), r = V(e.text);
7595
- return me(() => e.text, () => {
7596
+ const n = V(e.title || e.text), o = V(e.required), r = V(e.text), i = V(e.valid), a = V(e.inValidTip);
7597
+ pe(() => e.text, () => {
7596
7598
  r.value = e.text;
7597
- }), me(() => e.required, (i, a) => {
7598
- i !== a && (o.value = i);
7599
- }), () => r.value && M("label", {
7599
+ }), pe(() => e.required, (v, m) => {
7600
+ v !== m && (o.value = v);
7601
+ }), pe([() => e.valid, () => e.inValidTip], ([v, m]) => {
7602
+ i.value = v, a.value = m;
7603
+ });
7604
+ const u = W(() => i.value ? n.value : a.value), s = W(() => i.value ? "" : "color:red");
7605
+ return () => r.value && M("label", {
7600
7606
  class: "col-form-label",
7601
- title: n.value
7602
- }, [o.value && M("span", {
7607
+ title: u.value,
7608
+ style: s.value
7609
+ }, [!i.value && M("span", {
7610
+ class: "f-icon f-icon-warning mr-1",
7611
+ style: "color: red; min-width: 16px;",
7612
+ title: a.value
7613
+ }, null), o.value && M("span", {
7603
7614
  class: "farris-label-info text-danger"
7604
7615
  }, [Re("*")]), M("span", {
7605
7616
  class: "farris-label-text"
@@ -7703,9 +7714,9 @@ const cl = /* @__PURE__ */ Ke({
7703
7714
  emits: ["change", "update:modelValue"],
7704
7715
  setup(e, t) {
7705
7716
  var g;
7706
- const n = V(e.id), o = V(e.customClass), r = V(e.editor), i = V(e.label), a = V(e.modelValue), u = V(e.readonly), s = V(((g = e.editor) == null ? void 0 : g.required) || e.required), h = V(e.showLabel), m = V(e.visible);
7717
+ const n = V(e.id), o = V(e.customClass), r = V(e.editor), i = V(e.label), a = V(e.modelValue), u = V(e.readonly), s = V(((g = e.editor) == null ? void 0 : g.required) || e.required), v = V(e.showLabel), m = V(e.visible);
7707
7718
  V(e.type);
7708
- const v = V(), {
7719
+ const h = V(), {
7709
7720
  resolveEditorProps: w,
7710
7721
  resolveEditorType: E,
7711
7722
  getChangeFunctionName: _,
@@ -7725,17 +7736,17 @@ const cl = /* @__PURE__ */ Ke({
7725
7736
  const O = W(() => {
7726
7737
  const p = r.value.type || "input-group", x = E(p), l = w(p, r.value), d = _(p), b = B(r.value.type);
7727
7738
  return b && (l[b] = f), l[d] = c, (l.id == null || l.id === "") && (l.id = n.value), p === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (l.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (l.onEndValueChange = r.value.onEndValueChange)) : p === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" && (l["onUpdate:idValue"] = r.value["onUpdate:idValue"]), () => M(x, ht({
7728
- ref: v
7739
+ ref: h
7729
7740
  }, l, {
7730
7741
  modelValue: a.value,
7731
7742
  "onUpdate:modelValue": (S) => a.value = S
7732
7743
  }), t.slots);
7733
7744
  });
7734
- return me([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([p, x, l, d, b, S, y, T, C]) => {
7745
+ return pe([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([p, x, l, d, b, S, y, T, C]) => {
7735
7746
  var I;
7736
- n.value = p, o.value = x, r.value = l, i.value = d, a.value = b, u.value = S, s.value = ((I = r.value) == null ? void 0 : I.required) || y, h.value = T, m.value = C;
7747
+ n.value = p, o.value = x, r.value = l, i.value = d, a.value = b, u.value = S, s.value = ((I = r.value) == null ? void 0 : I.required) || y, v.value = T, m.value = C;
7737
7748
  }), t.expose({
7738
- editorRef: v
7749
+ editorRef: h
7739
7750
  }), () => m.value && M("div", {
7740
7751
  id: `${n.value}-input-group`,
7741
7752
  class: o.value,
@@ -7744,7 +7755,7 @@ const cl = /* @__PURE__ */ Ke({
7744
7755
  class: "farris-group-wrap"
7745
7756
  }, [M("div", {
7746
7757
  class: F.value
7747
- }, [h.value && M(ll, {
7758
+ }, [v.value && M(ll, {
7748
7759
  id: `${n.value}-lable`,
7749
7760
  required: s.value,
7750
7761
  text: i.value,
@@ -8254,13 +8265,13 @@ function Pl() {
8254
8265
  return { onCopy: e };
8255
8266
  }
8256
8267
  function Wl(e, t, n, o) {
8257
- const r = V(14), i = V(140), a = V(""), u = V(o.value.length), s = W(() => o.value), h = W(() => ({
8268
+ const r = V(14), i = V(140), a = V(""), u = V(o.value.length), s = W(() => o.value), v = W(() => ({
8258
8269
  "font-size": `${r.value}px`,
8259
8270
  height: "100%"
8260
8271
  }));
8261
- function m(v) {
8262
- if (v.currentTarget) {
8263
- const w = v.currentTarget.value || "";
8272
+ function m(h) {
8273
+ if (h.currentTarget) {
8274
+ const w = h.currentTarget.value || "";
8264
8275
  u.value = w.length;
8265
8276
  }
8266
8277
  }
@@ -8268,10 +8279,10 @@ function Wl(e, t, n, o) {
8268
8279
  title: "promptMessage",
8269
8280
  name: "promptMessage",
8270
8281
  class: "form-control",
8271
- style: h.value,
8282
+ style: v.value,
8272
8283
  rows: "4",
8273
8284
  maxlength: i.value,
8274
- onInput: (v) => m(v)
8285
+ onInput: (h) => m(h)
8275
8286
  }, [s.value]), M("span", {
8276
8287
  class: "textarea-wordcount",
8277
8288
  title: a.value,
@@ -8353,11 +8364,11 @@ function zl(e, t, n, o) {
8353
8364
  "f-icon": !0
8354
8365
  }, E = `f-icon-${t.value}`;
8355
8366
  return w[E] = !0, w;
8356
- }), a = W(() => n.value || r.value && r.value.message), u = W(() => o.value), s = W(() => !!o.value), h = W(() => !!r.value);
8367
+ }), a = W(() => n.value || r.value && r.value.message), u = W(() => o.value), s = W(() => !!o.value), v = W(() => !!r.value);
8357
8368
  function m() {
8358
- return h.value ? Ll(r) : s.value ? Al(u) : () => null;
8369
+ return v.value ? Ll(r) : s.value ? Al(u) : () => null;
8359
8370
  }
8360
- const v = m();
8371
+ const h = m();
8361
8372
  return () => M(_t, null, [M("div", {
8362
8373
  class: "float-left modal-tips-iconwrap"
8363
8374
  }, [M("span", {
@@ -8367,7 +8378,7 @@ function zl(e, t, n, o) {
8367
8378
  }, [M("p", {
8368
8379
  class: "toast-msg-title",
8369
8380
  innerHTML: a.value
8370
- }, null), v()])]);
8381
+ }, null), h()])]);
8371
8382
  }
8372
8383
  function Gl(e, t, n) {
8373
8384
  const {
@@ -8379,8 +8390,8 @@ function Gl(e, t, n) {
8379
8390
  message: "",
8380
8391
  detail: ""
8381
8392
  }), s = W(() => u.value && u.value.detail || "");
8382
- function h(m) {
8383
- o(s.value).catch((v) => {
8393
+ function v(m) {
8394
+ o(s.value).catch((h) => {
8384
8395
  i.value = "复制失败";
8385
8396
  }).finally(() => {
8386
8397
  r.value = !0, setTimeout(() => {
@@ -8391,12 +8402,12 @@ function Gl(e, t, n) {
8391
8402
  return () => M("span", {
8392
8403
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
8393
8404
  }, [M("span", {
8394
- onClick: h,
8405
+ onClick: v,
8395
8406
  style: "cursor: pointer;"
8396
8407
  }, [a.value])]);
8397
8408
  }
8398
8409
  function ql(e, t, n, o) {
8399
- const r = V(e.type), i = V(e.buttons), a = V(e.exceptionInfo), u = V(e.okButtonText), s = V(e.cancelButtonText), h = V(!0), m = V(!0), v = W(() => !!(i.value && i.value.length)), w = W(() => a.value && a.value.date && a.value.message && a.value.detail), E = W(() => !(i.value && i.value.length) && (u.value || s.value)), _ = W(() => m.value && u.value), B = W(() => h.value && s.value), F = Gl(e, n, o);
8410
+ const r = V(e.type), i = V(e.buttons), a = V(e.exceptionInfo), u = V(e.okButtonText), s = V(e.cancelButtonText), v = V(!0), m = V(!0), h = W(() => !!(i.value && i.value.length)), w = W(() => a.value && a.value.date && a.value.message && a.value.detail), E = W(() => !(i.value && i.value.length) && (u.value || s.value)), _ = W(() => m.value && u.value), B = W(() => v.value && s.value), F = Gl(e, n, o);
8400
8411
  function c(O) {
8401
8412
  r.value === "question" && t.emit("reject"), t.emit("close");
8402
8413
  }
@@ -8413,7 +8424,7 @@ function ql(e, t, n, o) {
8413
8424
  type: "button",
8414
8425
  class: "btn btn-primary btn-lg",
8415
8426
  onClick: f
8416
- }, [u.value]), v.value && i.value.length && i.value.map((O) => M("button", {
8427
+ }, [u.value]), h.value && i.value.length && i.value.map((O) => M("button", {
8417
8428
  type: "button",
8418
8429
  onClick: O.handle,
8419
8430
  class: O.class
@@ -8436,14 +8447,14 @@ const Ot = /* @__PURE__ */ Ke({
8436
8447
  }), a = W(() => {
8437
8448
  const F = {};
8438
8449
  return n.value === "prompt" ? F.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (F.padding = "0.5rem 1.5rem 1rem 1.5rem"), F;
8439
- }), u = Pl(), s = Hl(e, n, o, r), h = $l(), {
8450
+ }), u = Pl(), s = Hl(e, n, o, r), v = $l(), {
8440
8451
  feedbackStyle: m,
8441
- feedbackMessage: v
8442
- } = h;
8452
+ feedbackMessage: h
8453
+ } = v;
8443
8454
  function w() {
8444
8455
  return M("div", {
8445
8456
  style: m.value
8446
- }, [v.value]);
8457
+ }, [h.value]);
8447
8458
  }
8448
8459
  function E() {
8449
8460
  switch (n.value) {
@@ -8453,7 +8464,7 @@ const Ot = /* @__PURE__ */ Ke({
8453
8464
  return zl(e, n, o, r);
8454
8465
  }
8455
8466
  }
8456
- const _ = E(), B = ql(e, t, u, h);
8467
+ const _ = E(), B = ql(e, t, u, v);
8457
8468
  return () => M("div", {
8458
8469
  class: "farris-messager"
8459
8470
  }, [M("section", {
@@ -8462,18 +8473,18 @@ const Ot = /* @__PURE__ */ Ke({
8462
8473
  }, [_()]), B(), w()]);
8463
8474
  }
8464
8475
  });
8465
- class pt {
8476
+ class ft {
8466
8477
  static show(t) {
8467
8478
  const n = st({
8468
8479
  ...t
8469
8480
  }), o = !1, r = n.type === "error" || n.type === "prompt", i = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", a = n.acceptCallback || (() => {
8470
8481
  }), u = n.rejectCallback || (() => {
8471
8482
  });
8472
- let s = null, h = new $n(s);
8483
+ let s = null, v = new $n(s);
8473
8484
  const m = () => {
8474
- s && (s == null || s.destroy(), h = null);
8485
+ s && (s == null || s.destroy(), v = null);
8475
8486
  };
8476
- return s = h == null ? void 0 : h.open({
8487
+ return s = v == null ? void 0 : v.open({
8477
8488
  class: "modal-message modal-message-type-info",
8478
8489
  title: i,
8479
8490
  showButtons: o,
@@ -8487,7 +8498,7 @@ class pt {
8487
8498
  onReject: u,
8488
8499
  onClose: m
8489
8500
  }), null)
8490
- }), h == null ? void 0 : h.getCurrentModal();
8501
+ }), v == null ? void 0 : v.getCurrentModal();
8491
8502
  }
8492
8503
  static info(t, n) {
8493
8504
  const o = st({
@@ -8497,7 +8508,7 @@ class pt {
8497
8508
  okButtonText: "知道了",
8498
8509
  cancelButtonText: ""
8499
8510
  });
8500
- pt.show(o);
8511
+ ft.show(o);
8501
8512
  }
8502
8513
  static warning(t, n) {
8503
8514
  const o = st({
@@ -8507,7 +8518,7 @@ class pt {
8507
8518
  okButtonText: "知道了",
8508
8519
  cancelButtonText: ""
8509
8520
  });
8510
- pt.show(o);
8521
+ ft.show(o);
8511
8522
  }
8512
8523
  static success(t, n) {
8513
8524
  const o = st({
@@ -8517,7 +8528,7 @@ class pt {
8517
8528
  okButtonText: "关闭",
8518
8529
  cancelButtonText: ""
8519
8530
  });
8520
- pt.show(o);
8531
+ ft.show(o);
8521
8532
  }
8522
8533
  static error(t, n, o) {
8523
8534
  const r = st({
@@ -8531,7 +8542,7 @@ class pt {
8531
8542
  detail: n
8532
8543
  }
8533
8544
  });
8534
- pt.show(r);
8545
+ ft.show(r);
8535
8546
  }
8536
8547
  static prompt(t, n) {
8537
8548
  const o = st({
@@ -8541,7 +8552,7 @@ class pt {
8541
8552
  okButtonText: "确定",
8542
8553
  cancelButtonText: "取消"
8543
8554
  });
8544
- pt.show(o);
8555
+ ft.show(o);
8545
8556
  }
8546
8557
  static question(t, n, o, r) {
8547
8558
  const i = st({
@@ -8553,11 +8564,11 @@ class pt {
8553
8564
  acceptCallback: o,
8554
8565
  rejectCallback: r
8555
8566
  });
8556
- pt.show(i);
8567
+ ft.show(i);
8557
8568
  }
8558
8569
  }
8559
8570
  Ot.install = (e) => {
8560
- e.component(Ot.name, Ot), e.provide("FMessageBoxService", pt);
8571
+ e.component(Ot.name, Ot), e.provide("FMessageBoxService", ft);
8561
8572
  };
8562
8573
  var xt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(xt || {}), Ze = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e.In = "9", e.NotIn = "10", e))(Ze || {});
8563
8574
  const Ul = [
@@ -8670,7 +8681,7 @@ function jn() {
8670
8681
  }
8671
8682
  return y;
8672
8683
  }
8673
- function h(b, S, y, T, C) {
8684
+ function v(b, S, y, T, C) {
8674
8685
  for (let R = S; R <= 0; R++)
8675
8686
  T.pop();
8676
8687
  const I = T[T.length - 1];
@@ -8684,7 +8695,7 @@ function jn() {
8684
8695
  const C = y[y.length - 1], I = i(T, b);
8685
8696
  return C.children.push(I), n.set(I.groupId, C), S = C.children[C.children.length - 1], y.push(S), S;
8686
8697
  }
8687
- function v(b, S, y, T, C, I) {
8698
+ function h(b, S, y, T, C, I) {
8688
8699
  let k = b[b.length - 1];
8689
8700
  if (!k)
8690
8701
  throw new Error("The group path is out of range");
@@ -8692,12 +8703,12 @@ function jn() {
8692
8703
  if (y < 0 || y === T)
8693
8704
  return b[b.length - 1];
8694
8705
  const D = N - R, A = C && C.relation !== void 0 ? C.relation : 1;
8695
- return k = D > 0 ? s(R, D, k, b, A) : k, k = D < 0 ? h(R, D, k, b, A) : k, k = D === 0 && R > 0 && N > 0 && C && I && !!C.rBracket && !!I.lBracket ? m(R, k, b, A) : k, k;
8706
+ return k = D > 0 ? s(R, D, k, b, A) : k, k = D < 0 ? v(R, D, k, b, A) : k, k = D === 0 && R > 0 && N > 0 && C && I && !!C.rBracket && !!I.lBracket ? m(R, k, b, A) : k, k;
8696
8707
  }
8697
8708
  function w(b) {
8698
8709
  const y = { relation: b.length && b[0].relation !== void 0 ? b[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, T = [y], C = u(b);
8699
8710
  return b.forEach((I, k) => {
8700
- const N = k - 1, R = b[N], D = v(T, C, N, k, R, I);
8711
+ const N = k - 1, R = b[N], D = h(T, C, N, k, R, I);
8701
8712
  D.items.push(I), t.set(I.conditionId, D);
8702
8713
  }), e.value = y, y;
8703
8714
  }
@@ -8800,7 +8811,7 @@ function jn() {
8800
8811
  function Kl(e, t, n) {
8801
8812
  const o = V(/* @__PURE__ */ new Set()), r = V(/* @__PURE__ */ new Set()), { conditionGroupMap: i, groupParentMap: a } = n;
8802
8813
  let u, s;
8803
- function h(c) {
8814
+ function v(c) {
8804
8815
  let f = u.level <= c.level ? u : c, O = u.level > c.level ? u : c;
8805
8816
  const g = [];
8806
8817
  for (; O && f && O !== f; )
@@ -8810,11 +8821,11 @@ function Kl(e, t, n) {
8810
8821
  function m(c) {
8811
8822
  r.value.add(c.groupId), c.items.forEach((f) => o.value.add(f.conditionId)), c.children.forEach((f) => m(f));
8812
8823
  }
8813
- function v(c) {
8824
+ function h(c) {
8814
8825
  const { conditionId: f } = c;
8815
8826
  o.value.add(f), u = o.value.size === 0 ? i.get(f) : u;
8816
8827
  const O = i.get(c.conditionId);
8817
- h(O).forEach((p) => m(p));
8828
+ v(O).forEach((p) => m(p));
8818
8829
  }
8819
8830
  const w = W(() => o.value.size === 0 && r.value.size === 1), E = function(c) {
8820
8831
  r.value.delete(c.groupId), c.items.forEach((O) => s(O)), c.children.forEach((O) => !w.value && E(O));
@@ -8830,7 +8841,7 @@ function Kl(e, t, n) {
8830
8841
  };
8831
8842
  function _(c) {
8832
8843
  const { conditionId: f } = c;
8833
- o.value.size === 0 && (u = i.get(f)), o.value.has(f) ? s(c) : v(c);
8844
+ o.value.size === 0 && (u = i.get(f)), o.value.has(f) ? s(c) : h(c);
8834
8845
  }
8835
8846
  function B() {
8836
8847
  const c = [];
@@ -8851,9 +8862,9 @@ const jt = /* @__PURE__ */ Ke({
8851
8862
  fields: a,
8852
8863
  fieldMap: u,
8853
8864
  loadFieldConfigs: s
8854
- } = r, h = jn(), {
8865
+ } = r, v = jn(), {
8855
8866
  addCondition: m,
8856
- changeGroupRelation: v,
8867
+ changeGroupRelation: h,
8857
8868
  getConditions: w,
8858
8869
  group: E,
8859
8870
  insertConditionTo: _,
@@ -8862,9 +8873,9 @@ const jt = /* @__PURE__ */ Ke({
8862
8873
  removeCondition: c,
8863
8874
  rootGroup: f,
8864
8875
  unGroup: O
8865
- } = h, {
8876
+ } = v, {
8866
8877
  createConditionValue: g
8867
- } = Fn(), p = Kl(e, t, h), {
8878
+ } = Fn(), p = Kl(e, t, v), {
8868
8879
  selectedItems: x,
8869
8880
  toggleSelect: l
8870
8881
  } = p, {
@@ -8964,7 +8975,7 @@ const jt = /* @__PURE__ */ Ke({
8964
8975
  onClick: () => O(te)
8965
8976
  }, null), M("span", {
8966
8977
  class: "condition-list-relation-text btn-link",
8967
- onClick: () => v(te)
8978
+ onClick: () => h(te)
8968
8979
  }, [te.relation === 1 ? "与" : "或"])]);
8969
8980
  }
8970
8981
  function A(te) {
@@ -9210,19 +9221,19 @@ function rs() {
9210
9221
  const c = `field_filter_${F.field}`;
9211
9222
  t.delete(c), e.value = Array.from(t.values());
9212
9223
  }
9213
- function h(F) {
9224
+ function v(F) {
9214
9225
  t.delete(F), e.value = Array.from(t.values());
9215
9226
  }
9216
9227
  function m() {
9217
9228
  t.clear(), e.value = [];
9218
9229
  }
9219
- function v(F) {
9230
+ function h(F) {
9220
9231
  const { valueType: c } = F.value, f = F.compareType || "0", O = Jl[Number(f)];
9221
9232
  return os.get(c)[O];
9222
9233
  }
9223
9234
  function w(F) {
9224
9235
  const c = F.relation === 2 ? 0 : 1, f = F.items.map((g) => {
9225
- const p = v(g);
9236
+ const p = h(g);
9226
9237
  return (l) => p(l, g.fieldCode, g.value.getValue());
9227
9238
  }), O = F.children && F.children.length ? F.children.map((g) => w(g)) : [];
9228
9239
  return { relation: c, filterFunctions: f, children: O };
@@ -9239,7 +9250,7 @@ function rs() {
9239
9250
  const c = E();
9240
9251
  return _(F, c);
9241
9252
  }
9242
- return { addColumnFilter: u, apply: B, clearCondition: m, conditions: e, getFilterEditorType: a, removeColumnFilter: s, removeCondition: h };
9253
+ return { addColumnFilter: u, apply: B, clearCondition: m, conditions: e, getFilterEditorType: a, removeColumnFilter: s, removeCondition: v };
9243
9254
  }
9244
9255
  function ac() {
9245
9256
  function t(a) {
@@ -9256,12 +9267,12 @@ function ac() {
9256
9267
  function r(a, u) {
9257
9268
  if (!u)
9258
9269
  return;
9259
- const s = n(a), m = [s.find((v) => v.name === u) || { id: Date.now(), name: u, selectable: !0 }, ...s.filter((v) => v.name !== u)];
9270
+ const s = n(a), m = [s.find((h) => h.name === u) || { id: Date.now(), name: u, selectable: !0 }, ...s.filter((h) => h.name !== u)];
9260
9271
  m.length > 5 && (m.length = 5), o(a, m);
9261
9272
  }
9262
9273
  function i(a, u) {
9263
- const h = [...n(a).filter((v) => v.name !== u)], m = t(a);
9264
- localStorage.setItem(m, JSON.stringify(h));
9274
+ const v = [...n(a).filter((h) => h.name !== u)], m = t(a);
9275
+ localStorage.setItem(m, JSON.stringify(v));
9265
9276
  }
9266
9277
  return { getFilterHistory: n, removeFilterHistory: i, setFilterHistory: o, updateFilterHistory: r };
9267
9278
  }
@@ -9282,7 +9293,7 @@ function is(e) {
9282
9293
  function as(e, t, n, o) {
9283
9294
  var B, F, c, f, O, g;
9284
9295
  const { idField: r } = n, i = V(((F = (B = e.hierarchy) == null ? void 0 : B.cascadeOption) == null ? void 0 : F.autoCheckChildren) || !1), a = V(((f = (c = e.hierarchy) == null ? void 0 : c.cascadeOption) == null ? void 0 : f.autoCheckParent) || !1), u = V(((g = (O = e.hierarchy) == null ? void 0 : O.cascadeOption) == null ? void 0 : g.selectionRange) || "All");
9285
- me(() => {
9296
+ pe(() => {
9286
9297
  var p;
9287
9298
  return (p = e.hierarchy) == null ? void 0 : p.cascadeOption;
9288
9299
  }, (p) => {
@@ -9294,25 +9305,25 @@ function as(e, t, n, o) {
9294
9305
  return !1;
9295
9306
  return !0;
9296
9307
  }
9297
- function h(p, x) {
9308
+ function v(p, x) {
9298
9309
  return p.filter((d) => x.indexOf(d) === -1);
9299
9310
  }
9300
- const m = W(() => u.value === "OnlyParent"), v = W(() => u.value === "OnlyChildren");
9311
+ const m = W(() => u.value === "OnlyParent"), h = W(() => u.value === "OnlyChildren");
9301
9312
  function w(p, x) {
9302
9313
  let l = p;
9303
9314
  const d = t.value[x], b = d[r.value], S = Array.from(d.raw.__fv_descendant_index__).map((N) => t.value[N]), y = S.map((N) => N.raw[r.value]), T = s(p, y), C = s(p, [b]);
9304
- return C && T && m.value && (l = h(p, y), S.forEach((N) => {
9315
+ return C && T && m.value && (l = v(p, y), S.forEach((N) => {
9305
9316
  N.disabled = !0;
9306
- })), C && T && v.value && (l = h(p, [b]), S.forEach((N) => {
9317
+ })), C && T && h.value && (l = v(p, [b]), S.forEach((N) => {
9307
9318
  N.disabled = !0;
9308
9319
  })), l;
9309
9320
  }
9310
9321
  function E(p, x) {
9311
9322
  let l = p;
9312
9323
  const d = x[r.value], b = Array.from(x.__fv_children_index__).map((k) => t.value[k]), S = b.map((k) => k.raw[r.value]), y = s(p, S), T = s(p, [x[r.value]]);
9313
- return T && y && m.value && (l = h(p, S), b.forEach((k) => {
9324
+ return T && y && m.value && (l = v(p, S), b.forEach((k) => {
9314
9325
  k.disabled = !0;
9315
- })), T && y && v.value && (l = h(p, [d]), b.forEach((k) => {
9326
+ })), T && y && h.value && (l = v(p, [d]), b.forEach((k) => {
9316
9327
  k.disabled = !0;
9317
9328
  })), l;
9318
9329
  }
@@ -9323,7 +9334,7 @@ function as(e, t, n, o) {
9323
9334
  return { autoCheckChildren: i, autoCheckParent: a, interactAfterCheckHierarchyItem: _ };
9324
9335
  }
9325
9336
  function lc(e, t, n, o, r) {
9326
- const { select: i, unSelect: a, indeterminate: u, getSelectedItems: s, selectedValues: h, currentSelectedDataId: m } = o, { autoCheckChildren: v, autoCheckParent: w, interactAfterCheckHierarchyItem: E } = as(e, t, n), { idField: _ } = n;
9337
+ const { select: i, unSelect: a, indeterminate: u, getSelectedItems: s, selectedValues: v, currentSelectedDataId: m } = o, { autoCheckChildren: h, autoCheckParent: w, interactAfterCheckHierarchyItem: E } = as(e, t, n), { idField: _ } = n;
9327
9338
  function B() {
9328
9339
  return t.value.filter((d) => !!d.checked).map((d) => d.raw.__fv_index__);
9329
9340
  }
@@ -9343,7 +9354,7 @@ function lc(e, t, n, o, r) {
9343
9354
  }
9344
9355
  function O(d) {
9345
9356
  const b = !!d.checked;
9346
- v.value && d.raw.__fv_children_index__.map((y) => t.value[y]).forEach((y) => {
9357
+ h.value && d.raw.__fv_children_index__.map((y) => t.value[y]).forEach((y) => {
9347
9358
  b ? i(y) : a(y);
9348
9359
  });
9349
9360
  }
@@ -9375,26 +9386,26 @@ function lc(e, t, n, o, r) {
9375
9386
  }
9376
9387
  function ls(e, t, n, o, r, i, a, u) {
9377
9388
  var at;
9378
- const { dataView: s, visibleDataItems: h } = t, { getVisualData: m, maxVisibleRowIndex: v, minVisibleRowIndex: w } = r, E = W(() => o.value.primaryColumnsWidth), _ = W(() => o.value.leftColumnsWidth), B = W(() => o.value.rightColumnsWidth), F = ((at = e.rowOption) == null ? void 0 : at.height) || 28, c = V(0), f = V(0);
9389
+ const { dataView: s, visibleDataItems: v } = t, { getVisualData: m, maxVisibleRowIndex: h, minVisibleRowIndex: w } = r, E = W(() => o.value.primaryColumnsWidth), _ = W(() => o.value.leftColumnsWidth), B = W(() => o.value.rightColumnsWidth), F = ((at = e.rowOption) == null ? void 0 : at.height) || 28, c = V(0), f = V(0);
9379
9390
  let O = 0, g = i.value - 1;
9380
9391
  const p = V(0), x = V(0), l = V(0), d = V(e.virtualized), b = 24, S = 1.5;
9381
9392
  let y;
9382
9393
  function T() {
9383
- const P = h.value;
9394
+ const P = v.value;
9384
9395
  if (P.length <= 0)
9385
9396
  return 0;
9386
- const q = v.value < P.length ? P[v.value] : P[P.length - 1];
9387
- return q.__fv_data_position__ > P.length * F ? P.length * F : (q.__fv_data_position__ || 0) + (q.__fv_data_height__ || 0) + Math.max(P.length - 1 - v.value, 0) * F;
9397
+ const q = h.value < P.length ? P[h.value] : P[P.length - 1];
9398
+ return q.__fv_data_position__ > P.length * F ? P.length * F : (q.__fv_data_position__ || 0) + (q.__fv_data_height__ || 0) + Math.max(P.length - 1 - h.value, 0) * F;
9388
9399
  }
9389
9400
  const C = W(() => {
9390
- const P = T(), q = h.value;
9401
+ const P = T(), q = v.value;
9391
9402
  let Q = q.length > i.value + a ? (i.value + a) / q.length : x.value / Math.max(P, x.value), fe = Math.floor(Q * x.value);
9392
9403
  for (; x.value > 0 && fe < b; )
9393
9404
  Q *= S, fe = Math.floor(Q * x.value);
9394
9405
  return fe;
9395
9406
  }), I = W(() => Math.floor(l.value / Math.max(E.value, l.value) * p.value)), k = 0, N = 0, R = W(() => p.value - (_.value + E.value + B.value + u.value));
9396
9407
  function D(P) {
9397
- const Q = Math.floor(P / F) + 1, fe = h.value;
9408
+ const Q = Math.floor(P / F) + 1, fe = v.value;
9398
9409
  return fe.length > Q ? fe[Q].__fv_visible_index__ - 1 : 0;
9399
9410
  }
9400
9411
  function A(P, q, Q) {
@@ -9415,7 +9426,7 @@ function ls(e, t, n, o, r, i, a, u) {
9415
9426
  }
9416
9427
  function z(P) {
9417
9428
  var Te, Fe;
9418
- const q = h.value;
9429
+ const q = v.value;
9419
9430
  if (!q.length) {
9420
9431
  n.value = [];
9421
9432
  return;
@@ -9430,7 +9441,7 @@ function ls(e, t, n, o, r, i, a, u) {
9430
9441
  be && Q < x.value - q && (Q = x.value - q), (!be || fe) && (Q = k), c.value !== Q && (c.value = Q);
9431
9442
  }
9432
9443
  function X() {
9433
- d.value && (O = D(Math.abs(c.value)), g = O + i.value - 1, (O < w.value || g > v.value - a / 2) && z());
9444
+ d.value && (O = D(Math.abs(c.value)), g = O + i.value - 1, (O < w.value || g > h.value - a / 2) && z());
9434
9445
  }
9435
9446
  function H(P) {
9436
9447
  let q = c.value + P;
@@ -9456,7 +9467,7 @@ function ls(e, t, n, o, r, i, a, u) {
9456
9467
  const P = T();
9457
9468
  oe(c.value, P);
9458
9469
  }
9459
- me([l, E], () => {
9470
+ pe([l, E], () => {
9460
9471
  Y(0);
9461
9472
  });
9462
9473
  function K(P) {
@@ -9498,12 +9509,12 @@ function ls(e, t, n, o, r, i, a, u) {
9498
9509
  transform: `translateX(${f.value}px)`
9499
9510
  })), J = W(() => ({
9500
9511
  width: `${B.value}px`
9501
- })), pe = W(() => {
9512
+ })), me = W(() => {
9502
9513
  const P = T();
9503
9514
  return oe(c.value, P), c.value / (x.value - P) * (x.value - C.value);
9504
9515
  }), $e = W(() => ({
9505
9516
  height: `${C.value}px`,
9506
- top: `${pe.value}px`
9517
+ top: `${me.value}px`
9507
9518
  })), je = W(() => f.value / R.value * (p.value - I.value)), de = W(() => ({
9508
9519
  width: `${I.value}px`,
9509
9520
  left: `${je.value}px`
@@ -9567,10 +9578,10 @@ function ls(e, t, n, o, r, i, a, u) {
9567
9578
  };
9568
9579
  }
9569
9580
  function ss(e, t, n, o, r, i, a, u) {
9570
- const s = V(o.value - 1 + r), h = V(0), { renderDataRow: m } = i, v = a ? a.renderGroupRow : m, w = u ? u.renderSummaryRow : m;
9581
+ const s = V(o.value - 1 + r), v = V(0), { renderDataRow: m } = i, h = a ? a.renderGroupRow : m, w = u ? u.renderSummaryRow : m;
9571
9582
  function E(F) {
9572
9583
  let c = m;
9573
- return F.__fv_data_grid_group_row__ && (c = v), F.__fv_data_grid_group_summary__ && (c = w), c;
9584
+ return F.__fv_data_grid_group_row__ && (c = h), F.__fv_data_grid_group_summary__ && (c = w), c;
9574
9585
  }
9575
9586
  function _(F, c, f, O) {
9576
9587
  const { visibleDataItems: g } = n, p = [], x = g.value;
@@ -9581,7 +9592,7 @@ function ss(e, t, n, o, r, i, a, u) {
9581
9592
  k.refreshKey = l, p.push(k);
9582
9593
  }
9583
9594
  }
9584
- return h.value = p.length > 0 ? p[0].index : 0, s.value = p.length > 0 ? p[p.length - 1].index : 0, p;
9595
+ return v.value = p.length > 0 ? p[0].index : 0, s.value = p.length > 0 ? p[p.length - 1].index : 0, p;
9585
9596
  }
9586
9597
  function B(F, c, f) {
9587
9598
  const O = c.groupField || "", { groupValue: g } = c;
@@ -9589,7 +9600,7 @@ function ss(e, t, n, o, r, i, a, u) {
9589
9600
  const { dataView: p } = n, x = f[0].index, l = Math.min(x + o.value + r + 1, p.value.length - 1);
9590
9601
  return _(x, l);
9591
9602
  }
9592
- return { getVisualData: _, maxVisibleRowIndex: s, minVisibleRowIndex: h, toggleGroupRow: B };
9603
+ return { getVisualData: _, maxVisibleRowIndex: s, minVisibleRowIndex: v, toggleGroupRow: B };
9593
9604
  }
9594
9605
  function us(e) {
9595
9606
  var r;
@@ -9597,7 +9608,7 @@ function us(e) {
9597
9608
  function n(i, a) {
9598
9609
  const u = i.pre;
9599
9610
  if (u) {
9600
- const s = u ? u.__fv_data_position__ !== void 0 ? u.__fv_data_position__ : u.__fv_index__ * t : 0, h = u ? u.__fv_data_height__ !== void 0 ? u.__fv_data_height__ : t : 0, m = i.visible ? s + h : u.__fv_data_position__;
9611
+ const s = u ? u.__fv_data_position__ !== void 0 ? u.__fv_data_position__ : u.__fv_index__ * t : 0, v = u ? u.__fv_data_height__ !== void 0 ? u.__fv_data_height__ : t : 0, m = i.visible ? s + v : u.__fv_data_position__;
9601
9612
  i.top = m, a.__fv_data_position__ = m;
9602
9613
  } else
9603
9614
  i.top = 0, a.__fv_data_position__ = 0;
@@ -9617,8 +9628,8 @@ function cs() {
9617
9628
  formatter: o
9618
9629
  } = t, r = We(n.raw, t.field);
9619
9630
  if (r.includes(",")) {
9620
- const a = r.split(","), u = o.data.reduce((h, m) => (h[m.value] = m, h), {});
9621
- return a.map((h) => u[h].name).join(",");
9631
+ const a = r.split(","), u = o.data.reduce((v, m) => (v[m.value] = m, v), {});
9632
+ return a.map((v) => u[v].name).join(",");
9622
9633
  }
9623
9634
  const i = o.data.find((a) => a.value === r);
9624
9635
  return (i == null ? void 0 : i.name) || "";
@@ -9706,15 +9717,15 @@ function ms() {
9706
9717
  }
9707
9718
  function i(u, s) {
9708
9719
  const {
9709
- formatter: h
9720
+ formatter: v
9710
9721
  } = s;
9711
- return h.customFormat ? new Function(`return ${h.customFormat}`)() : u;
9722
+ return v.customFormat ? new Function(`return ${v.customFormat}`)() : u;
9712
9723
  }
9713
- function a(u, s, h) {
9714
- const m = We(h.raw, [s.field]), {
9715
- formatter: v
9724
+ function a(u, s, v) {
9725
+ const m = We(v.raw, [s.field]), {
9726
+ formatter: h
9716
9727
  } = s;
9717
- return v.type === "none" ? m : v.type === "custom" ? i(m, s) : v.type === "enum" ? t(s, h) : v.type === "number" ? n(s, h) : v.type === "boolean" ? e(s, h) : v.type === "date" ? o(s, h) : m;
9728
+ return h.type === "none" ? m : h.type === "custom" ? i(m, s) : h.type === "enum" ? t(s, v) : h.type === "number" ? n(s, v) : h.type === "boolean" ? e(s, v) : h.type === "date" ? o(s, v) : m;
9718
9729
  }
9719
9730
  return {
9720
9731
  renderFormatColumn: a
@@ -9751,7 +9762,7 @@ function vs(e, t, n) {
9751
9762
  };
9752
9763
  return l;
9753
9764
  }
9754
- function h(c, f, O) {
9765
+ function v(c, f, O) {
9755
9766
  return c.getEditor = (g) => t.getEditor(g, f, g.parent), c.setRef = (g) => i(g, c, O), c.update = (g) => {
9756
9767
  g !== void 0 && (c.editingData = g);
9757
9768
  }, c.accept = () => {
@@ -9765,7 +9776,7 @@ function vs(e, t, n) {
9765
9776
  function m(c, f) {
9766
9777
  f.dataType === "commands" ? c.formatter = (O, g) => a(f, g) : f.formatter && (c.formatter = (O, g) => typeof f.formatter == "function" ? f.formatter(O, g) : u(f.dataType, f, g));
9767
9778
  }
9768
- function v(c, f, O) {
9779
+ function h(c, f, O) {
9769
9780
  const g = f && f.data[O];
9770
9781
  if (g && g.data === c.data) {
9771
9782
  const x = g && g.spannedBy || g;
@@ -9773,13 +9784,13 @@ function vs(e, t, n) {
9773
9784
  }
9774
9785
  }
9775
9786
  function w(c, f, O) {
9776
- o.value && v(c, f, O.field);
9787
+ o.value && h(c, f, O.field);
9777
9788
  }
9778
9789
  function E(c, f) {
9779
9790
  f.showEllipsis !== void 0 && (c.showEllipsis = f.showEllipsis), c.column = f, c.align = f.align || "left", c.valign = f.valign || "middle";
9780
9791
  }
9781
9792
  function _(c, f, O, g) {
9782
- E(c, f), h(c, f, g), m(c, f), w(c, O, f);
9793
+ E(c, f), v(c, f, g), m(c, f), w(c, O, f);
9783
9794
  }
9784
9795
  function B(c, f, O, g, p) {
9785
9796
  const x = c.readonly ? Ne.readonly : Ne.editable, l = s(c.field, x, f, O, g);
@@ -9789,7 +9800,7 @@ function vs(e, t, n) {
9789
9800
  }
9790
9801
  function hs(e, t, n, o, r, i) {
9791
9802
  var f, O;
9792
- const a = V(e.rowOption), u = ((f = a.value) == null ? void 0 : f.height) || 28, s = ((O = a.value) == null ? void 0 : O.wrapContent) || !1, { idField: h } = o, { collapseField: m } = n, { updateRowPosition: v } = r, { createCellByColumn: w } = i, E = (g, p, x, l) => {
9803
+ const a = V(e.rowOption), u = ((f = a.value) == null ? void 0 : f.height) || 28, s = ((O = a.value) == null ? void 0 : O.wrapContent) || !1, { idField: v } = o, { collapseField: m } = n, { updateRowPosition: h } = r, { createCellByColumn: w } = i, E = (g, p, x, l) => {
9793
9804
  At(We(g, l), p, l), x.data[l].data = We(p, l), x.data[l].editingData = We(p, l);
9794
9805
  };
9795
9806
  function _(g, p, x, l, d, b, S) {
@@ -9798,7 +9809,7 @@ function hs(e, t, n, o, r, i) {
9798
9809
  __fv_data_grid_group_field__: y,
9799
9810
  __fv_data_grid_group_value__: T,
9800
9811
  __fv_data_index__: C
9801
- } = x, I = x.__fv_data_grid_group_layer__ || (x.__fv_parents__ ? (H = x.__fv_parents__) == null ? void 0 : H.size : 0) || 0, k = typeof x.parent == "number" ? Number(x.parent) : -1, N = x.__fv_data_grid_group_collapse__ || x[m.value], R = x.__fv_visible__ === void 0 ? !0 : x.__fv_visible__, D = x.__fv_checked__, A = x.__fv_indeterminate__, z = x.__fv_disabled__ || x[((Y = e.rowOption) == null ? void 0 : Y.disabledField) || "disabled"], U = S == null ? void 0 : S.find((ne) => ne.raw[h.value] === x.parent), te = U && U.collapse;
9812
+ } = x, I = x.__fv_data_grid_group_layer__ || (x.__fv_parents__ ? (H = x.__fv_parents__) == null ? void 0 : H.size : 0) || 0, k = typeof x.parent == "number" ? Number(x.parent) : -1, N = x.__fv_data_grid_group_collapse__ || x[m.value], R = x.__fv_visible__ === void 0 ? !0 : x.__fv_visible__, D = x.__fv_checked__, A = x.__fv_indeterminate__, z = x.__fv_disabled__ || x[((Y = e.rowOption) == null ? void 0 : Y.disabledField) || "disabled"], U = S == null ? void 0 : S.find((ne) => ne.raw[v.value] === x.parent), te = U && U.collapse;
9802
9813
  l && (l.parent, x.parent);
9803
9814
  const oe = te || U && !U.visible, X = {
9804
9815
  collapse: N,
@@ -9830,7 +9841,7 @@ function hs(e, t, n, o, r, i) {
9830
9841
  });
9831
9842
  }
9832
9843
  };
9833
- return l || (x.__fv_data_position__ = 0), s || (X.height = u, x.__fv_data_height__ = X.height, v(X, x)), (ae = a.value) != null && ae.customRowStatus && (a.value.customRowStatus(X), x.__fv_collapse__ = X.collapse, x.__fv_disabled__ = X.disabled, x.__fv_visible__ = X.visible), X;
9844
+ return l || (x.__fv_data_position__ = 0), s || (X.height = u, x.__fv_data_height__ = X.height, h(X, x)), (ae = a.value) != null && ae.customRowStatus && (a.value.customRowStatus(X), x.__fv_collapse__ = X.collapse, x.__fv_disabled__ = X.disabled, x.__fv_visible__ = X.visible), X;
9834
9845
  }
9835
9846
  function B(g, p, x, l, d, b, S) {
9836
9847
  const y = _(gt.data, d, p, x, l, b, S);
@@ -9842,7 +9853,7 @@ function hs(e, t, n, o, r, i) {
9842
9853
  return Object.assign(g, { index: p, dataIndex: x, top: l, pre: d });
9843
9854
  }
9844
9855
  function c(g, p, x, l, d, b, S) {
9845
- const y = g.__fv_data_index__, T = g[h.value], C = t.getEditingSnapshot(T);
9856
+ const y = g.__fv_data_index__, T = g[v.value], C = t.getEditingSnapshot(T);
9846
9857
  return C === null ? B(
9847
9858
  b,
9848
9859
  g,
@@ -9859,12 +9870,12 @@ function sc(e, t, n, o) {
9859
9870
  const r = V(e.summary), { idField: i } = t, { createCellByField: a } = n, { createEmptyRow: u } = o, s = W(() => {
9860
9871
  const w = r.value;
9861
9872
  return (w == null ? void 0 : w.groupFields) || [];
9862
- }), h = W(() => {
9873
+ }), v = W(() => {
9863
9874
  const w = r.value;
9864
9875
  return w && w.enable && w.groupFields && w.groupFields.length > 0;
9865
9876
  });
9866
9877
  function m(w, E, _, B) {
9867
- if (h.value) {
9878
+ if (v.value) {
9868
9879
  const F = w.data[E];
9869
9880
  let c = F.colSpan;
9870
9881
  const f = s.value.reduce((O, g) => (O.set(g, !0), O), /* @__PURE__ */ new Map());
@@ -9877,16 +9888,16 @@ function sc(e, t, n, o) {
9877
9888
  }, w), F.colSpan = c;
9878
9889
  }
9879
9890
  }
9880
- function v(w, E, _, B, F, c, f) {
9891
+ function h(w, E, _, B, F, c, f) {
9881
9892
  const O = w.__fv_data_grid_group_field__, g = u(gt.group, B, w, E, _, F);
9882
9893
  return g.data[i.value] = a(i.value, Ne.readonly, -1, w, g, 0), g.data[O] = a(O, Ne.readonly, 1, w, g, c.length), m(g, O, w, c), g;
9883
9894
  }
9884
- return { renderGroupRow: v };
9895
+ return { renderGroupRow: h };
9885
9896
  }
9886
9897
  function uc(e, t, n, o) {
9887
9898
  const { idField: r } = t, { createCellByField: i } = n, { createEmptyRow: a } = o;
9888
- function u(s, h, m, v, w, E, _) {
9889
- const B = s.__fv_data_grid_group_field__, F = a(gt.summary, v, s, h, m, w);
9899
+ function u(s, v, m, h, w, E, _) {
9900
+ const B = s.__fv_data_grid_group_field__, F = a(gt.summary, h, s, v, m, w);
9890
9901
  return F.data[r.value] = i(r.value, Ne.readonly, -1, s, F), F.data[B] = i(B, Ne.readonly, 1, s, F, E.length), F;
9891
9902
  }
9892
9903
  return { renderSummaryRow: u };
@@ -9898,28 +9909,28 @@ function gs(e, t, n, o) {
9898
9909
  } = n, i = V(e.editable), a = V(e.editOption), u = V(((y = e.rowOption) == null ? void 0 : y.wrapContent) || !1), {
9899
9910
  onClickRow: s
9900
9911
  } = o;
9901
- me(() => e.editable, () => {
9912
+ pe(() => e.editable, () => {
9902
9913
  i.value = e.editable;
9903
- }), me(() => {
9914
+ }), pe(() => {
9904
9915
  var T;
9905
9916
  return (T = e.editOption) == null ? void 0 : T.editMode;
9906
9917
  }, (T) => {
9907
9918
  a.value.editMode = T;
9908
9919
  });
9909
- const h = /* @__PURE__ */ new Map([["boolean", "check-box"], ["datetime", "date-picker"], ["enum", "combo-list"], ["number", "number-spinner"], ["string", "input-group"], ["text", "text"], ["commands", "commands-editor"]]);
9910
- let m, v, w, E;
9920
+ const v = /* @__PURE__ */ new Map([["boolean", "check-box"], ["datetime", "date-picker"], ["enum", "combo-list"], ["number", "number-spinner"], ["string", "input-group"], ["text", "text"], ["commands", "commands-editor"]]);
9921
+ let m, h, w, E;
9911
9922
  function _(T) {
9912
- return v && v.raw[r.value] === T ? v : null;
9923
+ return h && h.raw[r.value] === T ? h : null;
9913
9924
  }
9914
9925
  const B = st({});
9915
9926
  function F(T, C, I = {}) {
9916
- T.mode = Ne.editing, m = T, v = C, w = We(C == null ? void 0 : C.raw, T.field), E = I;
9927
+ T.mode = Ne.editing, m = T, h = C, w = We(C == null ? void 0 : C.raw, T.field), E = I;
9917
9928
  }
9918
9929
  function c(T) {
9919
9930
  T.accept(), T.mode = Ne.editable, m = null, t.emit("endEditCell", {
9920
9931
  cell: T,
9921
- row: v,
9922
- newValue: We(v == null ? void 0 : v.raw, T.field),
9932
+ row: h,
9933
+ newValue: We(h == null ? void 0 : h.raw, T.field),
9923
9934
  oldValue: w,
9924
9935
  column: E,
9925
9936
  editor: B
@@ -9929,7 +9940,7 @@ function gs(e, t, n, o) {
9929
9940
  if (document.body.classList.contains("lookup-modal-open"))
9930
9941
  return;
9931
9942
  const I = T.target.closest(".fv-grid-cell");
9932
- m && m.ref && m.ref === I || (m && (c(m), v && (v = void 0)), document.body.removeEventListener("click", f));
9943
+ m && m.ref && m.ref === I || (m && (c(m), h && (h = void 0)), document.body.removeEventListener("click", f));
9933
9944
  }
9934
9945
  function O(T, C, I, k = {}) {
9935
9946
  T.stopPropagation(), s(T, I), i.value && a.value.editMode === "cell" && C.mode === Ne.editable && (m && c(m), Promise.resolve().then(() => uo(e.beforeEditCell) ? !0 : typeof e.beforeEditCell == "function" ? e.beforeEditCell({
@@ -9944,15 +9955,15 @@ function gs(e, t, n, o) {
9944
9955
  function g(T) {
9945
9956
  Object.values(T.data).filter((C) => C.mode === Ne.editable && C.field !== "__commands__").forEach((C) => {
9946
9957
  C.mode = Ne.editing;
9947
- }), T.status = ot.editing, v = T;
9958
+ }), T.status = ot.editing, h = T;
9948
9959
  }
9949
9960
  function p(T, C) {
9950
9961
  Object.values(T.data).filter((I) => I.mode === Ne.editing).forEach((I) => {
9951
9962
  C ? I.accept() : I.cancel(), I.mode = Ne.editable;
9952
- }), T.status = ot.initial, v === T && (v = void 0);
9963
+ }), T.status = ot.initial, h === T && (h = void 0);
9953
9964
  }
9954
9965
  function x(T) {
9955
- i.value && a.value.editMode === "row" && v !== T && (v && p(v, !1), g(T));
9966
+ i.value && a.value.editMode === "row" && h !== T && (h && p(h, !1), g(T));
9956
9967
  }
9957
9968
  function l(T) {
9958
9969
  p(T, !0), T.status = ot.initial;
@@ -9962,7 +9973,7 @@ function gs(e, t, n, o) {
9962
9973
  }
9963
9974
  function b(T, C, I) {
9964
9975
  const k = C.dataType, N = C.editor || {
9965
- type: h.get(k) || "input-group"
9976
+ type: v.get(k) || "input-group"
9966
9977
  };
9967
9978
  return !u.value && N.type === "text" && (N.type = "input-group"), N ? (N.context = {
9968
9979
  rowData: I.raw,
@@ -10003,7 +10014,7 @@ function ys(e) {
10003
10014
  }
10004
10015
  function cc(e, t, n, o, r, i) {
10005
10016
  const { addNewDataItemAtLast: a } = n, { columnContext: u } = o, { onClickCell: s } = r;
10006
- function h(_, B) {
10017
+ function v(_, B) {
10007
10018
  const F = u.value.primaryColumns.findIndex((l) => l.field === _.field), c = _.parent, f = c.index, O = u.value.primaryColumns.length - 1, g = i.value.length - 1, p = F === O, x = f === g;
10008
10019
  if (F > -1 && !p) {
10009
10020
  const l = u.value.primaryColumns[F + 1], d = c.data[l.field];
@@ -10029,7 +10040,7 @@ function cc(e, t, n, o, r, i) {
10029
10040
  s(B, p, c, g);
10030
10041
  }
10031
10042
  }
10032
- function v(_, B) {
10043
+ function h(_, B) {
10033
10044
  const F = _.field, f = _.parent.index, O = i.value.length - 1;
10034
10045
  if (f > -1 && f < O) {
10035
10046
  const p = i.value[f + 1], x = p.data[F];
@@ -10046,7 +10057,7 @@ function cc(e, t, n, o, r, i) {
10046
10057
  function E(_, B) {
10047
10058
  const { key: F, shiftKey: c } = _;
10048
10059
  if (F === "Enter" && !c) {
10049
- h(B, _);
10060
+ v(B, _);
10050
10061
  return;
10051
10062
  }
10052
10063
  if (c && F === "Enter") {
@@ -10054,7 +10065,7 @@ function cc(e, t, n, o, r, i) {
10054
10065
  return;
10055
10066
  }
10056
10067
  if (F === "ArrowDown") {
10057
- v(B, _);
10068
+ h(B, _);
10058
10069
  return;
10059
10070
  }
10060
10071
  F === "ArrowUp" && w(B, _);
@@ -10067,12 +10078,12 @@ function bs(e, t, n, o) {
10067
10078
  multiSelectOnClickRow: a,
10068
10079
  multiSelectOnClickRowWithShift: u,
10069
10080
  selectItem: s,
10070
- selectedValues: h,
10081
+ selectedValues: v,
10071
10082
  toggleSelectItem: m,
10072
- enableSelectRow: v
10083
+ enableSelectRow: h
10073
10084
  } = n, w = V(0), E = V(-1);
10074
10085
  function _(l) {
10075
- return v.value && (u.value ? h.value.includes(l.raw[r.value]) : l.raw[r.value] === i.value);
10086
+ return h.value && (u.value ? v.value.includes(l.raw[r.value]) : l.raw[r.value] === i.value);
10076
10087
  }
10077
10088
  function B(l) {
10078
10089
  var b;
@@ -10148,9 +10159,9 @@ function bs(e, t, n, o) {
10148
10159
  };
10149
10160
  }
10150
10161
  function ws(e, t, n, o, r) {
10151
- const { idField: i } = n, a = V(""), u = W(() => e.selection.enableSelectRow), s = V(e.selection.multiSelect ?? !1), h = V(e.selection.multiSelectMode), m = V(e.selection.showCheckbox), v = V(e.selection.showSelectAll), w = V(e.selectionValues);
10152
- me(() => e.selection.showSelectAll, (H, Y) => {
10153
- H !== Y && (v.value = H);
10162
+ const { idField: i } = n, a = V(""), u = W(() => e.selection.enableSelectRow), s = V(e.selection.multiSelect ?? !1), v = V(e.selection.multiSelectMode), m = V(e.selection.showCheckbox), h = V(e.selection.showSelectAll), w = V(e.selectionValues);
10163
+ pe(() => e.selection.showSelectAll, (H, Y) => {
10164
+ H !== Y && (h.value = H);
10154
10165
  });
10155
10166
  function E() {
10156
10167
  return t.getSelectionItems(w.value);
@@ -10160,9 +10171,9 @@ function ws(e, t, n, o, r) {
10160
10171
  return w.value.map((ae) => H.get(ae)).filter((ae) => !!ae);
10161
10172
  }
10162
10173
  const B = W(() => u.value && s.value), F = W(() => !!e.hierarchy), c = W(() => {
10163
- const H = m.value && h.value === "DependOnCheck";
10174
+ const H = m.value && v.value === "DependOnCheck";
10164
10175
  return B.value && H;
10165
- }), f = W(() => B.value && !m.value), O = W(() => B.value && m.value && h.value === "OnCheckAndClick");
10176
+ }), f = W(() => B.value && !m.value), O = W(() => B.value && m.value && v.value === "OnCheckAndClick");
10166
10177
  W(() => O.value);
10167
10178
  function g() {
10168
10179
  const H = t.getSelectionItems(w.value);
@@ -10178,12 +10189,12 @@ function ws(e, t, n, o, r) {
10178
10189
  Y.checked = !0, Y.raw.__fv_checked__ = !0;
10179
10190
  });
10180
10191
  }
10181
- me(() => o.value, () => {
10192
+ pe(() => o.value, () => {
10182
10193
  x();
10183
- }), me(() => e.selectionValues, (H) => {
10194
+ }), pe(() => e.selectionValues, (H) => {
10184
10195
  w.value = H, x();
10185
- }, { immediate: !0 }), me(() => e.selection, (H) => {
10186
- s.value = !!H.multiSelect, h.value = H.multiSelectMode || "DependOnCheck", m.value = !!H.showCheckbox;
10196
+ }, { immediate: !0 }), pe(() => e.selection, (H) => {
10197
+ s.value = !!H.multiSelect, v.value = H.multiSelectMode || "DependOnCheck", m.value = !!H.showCheckbox;
10187
10198
  });
10188
10199
  const l = W(() => !s.value);
10189
10200
  function d(H) {
@@ -10267,7 +10278,7 @@ function ws(e, t, n, o, r) {
10267
10278
  getSelectionRow: X,
10268
10279
  indeterminate: k,
10269
10280
  isSelectingHirarchyItem: F,
10270
- multiSelectMode: h,
10281
+ multiSelectMode: v,
10271
10282
  multiSelectOnClickRow: O,
10272
10283
  multiSelectOnClickRowWithShift: f,
10273
10284
  multiSelectOnlyOnCheck: c,
@@ -10278,7 +10289,7 @@ function ws(e, t, n, o, r) {
10278
10289
  selectItemById: A,
10279
10290
  selectItemByIds: z,
10280
10291
  showCheckBox: m,
10281
- showSelectAll: v,
10292
+ showSelectAll: h,
10282
10293
  toggleSelectItem: R,
10283
10294
  toggleSelectItemWithoutRow: N,
10284
10295
  unSelect: I,
@@ -10288,22 +10299,22 @@ function ws(e, t, n, o, r) {
10288
10299
  }
10289
10300
  function Cs(e, t) {
10290
10301
  var F, c;
10291
- const n = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = V(((F = e.rowNumber) == null ? void 0 : F.enable) ?? !1), u = W(() => e.hierarchy && r.value && e.selection.enableSelectRow && e.selection.multiSelect ? !1 : r.value), s = V(a.value ? ((c = e.rowNumber) == null ? void 0 : c.width) ?? 32 : 0), h = V(u.value ? o : 0), m = W(() => {
10302
+ const n = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = V(((F = e.rowNumber) == null ? void 0 : F.enable) ?? !1), u = W(() => e.hierarchy && r.value && e.selection.enableSelectRow && e.selection.multiSelect ? !1 : r.value), s = V(a.value ? ((c = e.rowNumber) == null ? void 0 : c.width) ?? 32 : 0), v = V(u.value ? o : 0), m = W(() => {
10292
10303
  var f;
10293
10304
  return a.value ? ((f = e.rowNumber) == null ? void 0 : f.heading) ?? "序号" : "";
10294
- }), v = W(() => (u.value && !e.hierarchy ? Number(h.value) : 0) + (a.value ? Number(s.value) : 0));
10295
- me(() => e.rowNumber, (f) => {
10305
+ }), h = W(() => (u.value && !e.hierarchy ? Number(v.value) : 0) + (a.value ? Number(s.value) : 0));
10306
+ pe(() => e.rowNumber, (f) => {
10296
10307
  f && f.enable !== void 0 && (a.value = f.enable), f && f.width !== void 0 && (s.value = f.width);
10297
10308
  });
10298
10309
  function w(f) {
10299
10310
  return {
10300
10311
  top: `${f.top}px`,
10301
- width: `${v.value}px`,
10312
+ width: `${h.value}px`,
10302
10313
  height: `${f.height || ""}px`
10303
10314
  };
10304
10315
  }
10305
10316
  const E = W(() => ({
10306
- width: `${v.value}px`
10317
+ width: `${h.value}px`
10307
10318
  }));
10308
10319
  function _(f) {
10309
10320
  return `${n}_${f.type}_r_${f.index}_${f.refreshKey || ""}`;
@@ -10311,7 +10322,7 @@ function Cs(e, t) {
10311
10322
  function B(f) {
10312
10323
  return `${n}_${f.type}_r_${f.index}_${f.refreshKey || ""}`;
10313
10324
  }
10314
- return { showRowNumer: a, showSidebarCheckBox: u, sidebarCellPosition: w, sidebarCornerCellStyle: E, sidebarTitle: m, sidebarWidth: v, rowKey: B, cellKey: _ };
10325
+ return { showRowNumer: a, showSidebarCheckBox: u, sidebarCellPosition: w, sidebarCornerCellStyle: E, sidebarTitle: m, sidebarWidth: h, rowKey: B, cellKey: _ };
10315
10326
  }
10316
10327
  const _s = {
10317
10328
  ascend: (e, t) => e === t ? 0 : e === !1 ? -1 : 1,
@@ -10356,9 +10367,9 @@ function Fs(e) {
10356
10367
  return o(a.column);
10357
10368
  }
10358
10369
  function i(a, u) {
10359
- const s = r(a), h = (a.status & L.sortable) === L.sortable && (a.status & L.sorted) === L.sorted, m = (a.status & L.ascending) === L.ascending, v = (a.status & L.descending) === L.descending;
10360
- if (h && s) {
10361
- const w = m ? s.ascend : v ? s.decend : void 0;
10370
+ const s = r(a), v = (a.status & L.sortable) === L.sortable && (a.status & L.sorted) === L.sorted, m = (a.status & L.ascending) === L.ascending, h = (a.status & L.descending) === L.descending;
10371
+ if (v && s) {
10372
+ const w = m ? s.ascend : h ? s.decend : void 0;
10362
10373
  w ? u.addSorter(a.field, { field: a.field, compare: w }) : u.removeSorter(a.field);
10363
10374
  } else
10364
10375
  u.removeSorter(a.field);
@@ -10408,9 +10419,9 @@ function fc(e, t) {
10408
10419
  };
10409
10420
  return i = n.show(u), i;
10410
10421
  }
10411
- return me(o, (u, s) => {
10412
- var h;
10413
- u !== s && (u ? a() : (h = i == null ? void 0 : i.value) == null || h.close());
10422
+ return pe(o, (u, s) => {
10423
+ var v;
10424
+ u !== s && (u ? a() : (v = i == null ? void 0 : i.value) == null || v.close());
10414
10425
  }), { showLoading: o, loadingMessage: r, renderLoading: a };
10415
10426
  }
10416
10427
  function nt(e) {
@@ -10418,63 +10429,63 @@ function nt(e) {
10418
10429
  }
10419
10430
  function pc(e, t) {
10420
10431
  var E, _, B, F, c, f, O, g;
10421
- const { pageIndex: n, totalItems: o } = t, r = V((E = e.pagination) == null ? void 0 : E.enable), i = V(((_ = e.pagination) == null ? void 0 : _.disabled) || !1), a = V((B = e.pagination) == null ? void 0 : B.size), u = V((F = e.pagination) == null ? void 0 : F.sizeLimits), s = V((c = e.pagination) == null ? void 0 : c.mode), h = V((f = e.pagination) == null ? void 0 : f.showIndex), m = V((O = e.pagination) == null ? void 0 : O.showLimits), v = V(((g = e.pagination) == null ? void 0 : g.showGoto) || !1);
10422
- return me(() => {
10432
+ const { pageIndex: n, totalItems: o } = t, r = V((E = e.pagination) == null ? void 0 : E.enable), i = V(((_ = e.pagination) == null ? void 0 : _.disabled) || !1), a = V((B = e.pagination) == null ? void 0 : B.size), u = V((F = e.pagination) == null ? void 0 : F.sizeLimits), s = V((c = e.pagination) == null ? void 0 : c.mode), v = V((f = e.pagination) == null ? void 0 : f.showIndex), m = V((O = e.pagination) == null ? void 0 : O.showLimits), h = V(((g = e.pagination) == null ? void 0 : g.showGoto) || !1);
10433
+ return pe(() => {
10423
10434
  var p;
10424
10435
  return (p = e.pagination) == null ? void 0 : p.disabled;
10425
10436
  }, (p, x) => {
10426
10437
  p !== x && (i.value = p);
10427
- }), me(() => {
10438
+ }), pe(() => {
10428
10439
  var p;
10429
10440
  return (p = e.pagination) == null ? void 0 : p.sizeLimits;
10430
10441
  }, (p, x) => {
10431
10442
  u.value = p;
10432
- }), me(() => {
10443
+ }), pe(() => {
10433
10444
  var p;
10434
10445
  return (p = e.pagination) == null ? void 0 : p.showIndex;
10435
10446
  }, (p, x) => {
10436
- p !== x && (h.value = p);
10437
- }), me(() => {
10447
+ p !== x && (v.value = p);
10448
+ }), pe(() => {
10438
10449
  var p;
10439
10450
  return (p = e.pagination) == null ? void 0 : p.showLimits;
10440
10451
  }, (p, x) => {
10441
10452
  p !== x && (m.value = p);
10442
- }), me(() => {
10453
+ }), pe(() => {
10443
10454
  var p;
10444
10455
  return (p = e.pagination) == null ? void 0 : p.total;
10445
10456
  }, (p, x) => {
10446
10457
  p !== x && (o.value = p);
10447
- }), me(() => {
10458
+ }), pe(() => {
10448
10459
  var p;
10449
10460
  return (p = e.pagination) == null ? void 0 : p.enable;
10450
10461
  }, (p, x) => {
10451
10462
  p !== x && (r.value = p);
10452
- }), me(() => {
10463
+ }), pe(() => {
10453
10464
  var p;
10454
10465
  return (p = e.pagination) == null ? void 0 : p.showGoto;
10455
10466
  }, (p, x) => {
10456
- p !== x && (v.value = p);
10467
+ p !== x && (h.value = p);
10457
10468
  }), {
10458
10469
  disabled: i,
10459
10470
  pageSize: a,
10460
10471
  pageList: u,
10461
10472
  shouldRenderPagination: r,
10462
- showGotoPage: v,
10463
- showPageIndex: h,
10473
+ showGotoPage: h,
10474
+ showPageIndex: v,
10464
10475
  showPageList: m,
10465
10476
  mode: s,
10466
10477
  updatePagination: (p) => {
10467
10478
  if (!p)
10468
10479
  return;
10469
10480
  const { enable: x, total: l, size: d, index: b, sizeLimits: S, showGoto: y, showIndex: T, showLimits: C, mode: I, disabled: k } = p;
10470
- nt(x) || (r.value = x), nt(b) || (n.value = b), nt(d) || (a.value = d), nt(S) || (u.value = S), nt(y) || (v.value = y), nt(T) || (h.value = T), nt(C) || (m.value = C), nt(I) || (s.value = I), nt(l) || (o.value = l), nt(k) || (i.value = k);
10481
+ nt(x) || (r.value = x), nt(b) || (n.value = b), nt(d) || (a.value = d), nt(S) || (u.value = S), nt(y) || (h.value = y), nt(T) || (v.value = T), nt(C) || (m.value = C), nt(I) || (s.value = I), nt(l) || (o.value = l), nt(k) || (i.value = k);
10471
10482
  }
10472
10483
  };
10473
10484
  }
10474
10485
  function ks(e) {
10475
- const t = "parent", n = "layer", o = "hasChildren", r = (i, a = 1, u = [], s = null) => (i = i || [], i.reduce((h, m) => (m.id = m.id || m.data[e.idField], m[t] = s, m[n] = a, m[o] = !1, Object.keys(m.data).forEach((v) => {
10476
- Object.keys(m).includes(v) || (m[v] = m.data[v]);
10477
- }), u.push(m), m.children && m.children.length && (m[o] = !0, r(m.children, a + 1, u, m.id)), h), u), u);
10486
+ const t = "parent", n = "layer", o = "hasChildren", r = (i, a = 1, u = [], s = null) => (i = i || [], i.reduce((v, m) => (m.id = m.id || m.data[e.idField], m[t] = s, m[n] = a, m[o] = !1, Object.keys(m.data).forEach((h) => {
10487
+ Object.keys(m).includes(h) || (m[h] = m.data[h]);
10488
+ }), u.push(m), m.children && m.children.length && (m[o] = !0, r(m.children, a + 1, u, m.id)), v), u), u);
10478
10489
  return { flatTreeData: r };
10479
10490
  }
10480
10491
  export {