@farris/ui-vue 1.2.4 → 1.2.5

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 (70) hide show
  1. package/components/accordion/index.esm.js +58 -58
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/capsule/index.esm.js +1 -1
  4. package/components/capsule/index.umd.cjs +1 -1
  5. package/components/common/index.esm.js +2 -2
  6. package/components/common/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +137 -135
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/data-grid/index.esm.js +2316 -2299
  10. package/components/data-grid/index.umd.cjs +1 -1
  11. package/components/data-view/index.esm.js +1929 -1920
  12. package/components/data-view/index.umd.cjs +1 -1
  13. package/components/designer-canvas/index.esm.js +1 -1
  14. package/components/designer-canvas/index.umd.cjs +1 -1
  15. package/components/designer-canvas/style.css +1 -1
  16. package/components/designer-outline/index.esm.js +44 -42
  17. package/components/designer-outline/index.umd.cjs +1 -1
  18. package/components/designer-toolbox/index.esm.js +28 -467
  19. package/components/designer-toolbox/index.umd.cjs +1 -1
  20. package/components/dynamic-form/index.esm.js +836 -790
  21. package/components/dynamic-form/index.umd.cjs +1 -1
  22. package/components/external-container/index.esm.js +382 -378
  23. package/components/external-container/index.umd.cjs +1 -1
  24. package/components/field-selector/index.esm.js +1167 -1150
  25. package/components/field-selector/index.umd.cjs +1 -1
  26. package/components/filter-bar/index.esm.js +131 -127
  27. package/components/filter-bar/index.umd.cjs +1 -1
  28. package/components/flow-canvas/index.esm.js +1 -1
  29. package/components/flow-canvas/index.umd.cjs +1 -1
  30. package/components/flow-canvas/style.css +1 -1
  31. package/components/list-view/index.esm.js +128 -124
  32. package/components/list-view/index.umd.cjs +1 -1
  33. package/components/lookup/index.esm.js +2156 -2139
  34. package/components/lookup/index.umd.cjs +1 -1
  35. package/components/mapping-editor/index.esm.js +3137 -3120
  36. package/components/mapping-editor/index.umd.cjs +1 -1
  37. package/components/nav/index.esm.js +511 -469
  38. package/components/nav/index.umd.cjs +2 -2
  39. package/components/order/index.esm.js +859 -815
  40. package/components/order/index.umd.cjs +1 -1
  41. package/components/pagination/index.esm.js +491 -449
  42. package/components/pagination/index.umd.cjs +1 -1
  43. package/components/property-panel/index.esm.js +75 -73
  44. package/components/property-panel/index.umd.cjs +1 -1
  45. package/components/response-layout-editor/index.esm.js +63 -61
  46. package/components/response-layout-editor/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +2002 -1956
  48. package/components/schema-selector/index.umd.cjs +1 -1
  49. package/components/switch/index.esm.js +165 -192
  50. package/components/switch/index.umd.cjs +1 -1
  51. package/components/tabs/index.esm.js +2 -2
  52. package/components/tabs/index.umd.cjs +1 -1
  53. package/components/transfer/index.esm.js +95 -93
  54. package/components/transfer/index.umd.cjs +1 -1
  55. package/components/tree-grid/index.esm.js +2316 -2299
  56. package/components/tree-grid/index.umd.cjs +1 -1
  57. package/components/tree-view/index.esm.js +296 -295
  58. package/components/tree-view/index.umd.cjs +1 -1
  59. package/farris.all.esm.js +2517 -2483
  60. package/farris.all.umd.cjs +7 -7
  61. package/package.json +1 -1
  62. package/style.css +1 -1
  63. package/types/condition/index.d.ts +60 -1
  64. package/types/data-view/components/column-setting/column-setting.component.d.ts +2 -1
  65. package/types/data-view/composition/types.d.ts +2 -0
  66. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +3 -3
  67. package/types/list-view/src/composition/types.d.ts +1 -1
  68. package/types/message-box/index.d.ts +84 -1
  69. package/types/notify/index.d.ts +84 -1
  70. package/types/tree-grid/src/schema/column-resolver.d.ts +3 -0
@@ -90,8 +90,8 @@ function ho(e, t) {
90
90
  if (typeof l == "string")
91
91
  o[l] = e[r];
92
92
  else {
93
- const f = l(r, e[r], e);
94
- Object.assign(o, f);
93
+ const d = l(r, e[r], e);
94
+ Object.assign(o, d);
95
95
  }
96
96
  } else
97
97
  o[r] = e[r];
@@ -103,64 +103,64 @@ function po(e, t, n = /* @__PURE__ */ new Map()) {
103
103
  return ho(o, n);
104
104
  }
105
105
  function vo(e = {}) {
106
- function t(d, c, s, u) {
106
+ function t(f, c, s, u) {
107
107
  if (typeof s == "number")
108
- return u[d].length === s;
108
+ return u[f].length === s;
109
109
  if (typeof s == "object") {
110
110
  const N = Object.keys(s)[0], w = s[N];
111
111
  if (N === "not")
112
- return Number(u[d].length) !== Number(w);
112
+ return Number(u[f].length) !== Number(w);
113
113
  if (N === "moreThan")
114
- return Number(u[d].length) >= Number(w);
114
+ return Number(u[f].length) >= Number(w);
115
115
  if (N === "lessThan")
116
- return Number(u[d].length) <= Number(w);
116
+ return Number(u[f].length) <= Number(w);
117
117
  }
118
118
  return !1;
119
119
  }
120
- function n(d, c, s, u) {
121
- return u[d] && u[d].propertyValue && String(u[d].propertyValue.value) === String(s);
120
+ function n(f, c, s, u) {
121
+ return u[f] && u[f].propertyValue && String(u[f].propertyValue.value) === String(s);
122
122
  }
123
123
  const o = /* @__PURE__ */ new Map([
124
124
  ["length", t],
125
125
  ["getProperty", n]
126
126
  ]);
127
- Object.keys(e).reduce((d, c) => (d.set(c, e[c]), d), o);
128
- function r(d, c) {
129
- const s = d;
130
- return typeof c == "number" ? [{ target: s, operator: "length", param: null, value: Number(c) }] : typeof c == "boolean" ? [{ target: s, operator: "getProperty", param: d, value: !!c }] : typeof c == "object" ? Object.keys(c).map((u) => {
127
+ Object.keys(e).reduce((f, c) => (f.set(c, e[c]), f), o);
128
+ function r(f, c) {
129
+ const s = f;
130
+ return typeof c == "number" ? [{ target: s, operator: "length", param: null, value: Number(c) }] : typeof c == "boolean" ? [{ target: s, operator: "getProperty", param: f, value: !!c }] : typeof c == "object" ? Object.keys(c).map((u) => {
131
131
  if (u === "length")
132
132
  return { target: s, operator: "length", param: null, value: c[u] };
133
133
  const N = u, w = c[u];
134
134
  return { target: s, operator: "getProperty", param: N, value: w };
135
135
  }) : [];
136
136
  }
137
- function l(d) {
138
- return Object.keys(d).reduce((s, u) => {
139
- const N = r(u, d[u]);
137
+ function l(f) {
138
+ return Object.keys(f).reduce((s, u) => {
139
+ const N = r(u, f[u]);
140
140
  return s.push(...N), s;
141
141
  }, []);
142
142
  }
143
- function f(d, c) {
144
- if (o.has(d.operator)) {
145
- const s = o.get(d.operator);
146
- return s && s(d.target, d.param, d.value, c) || !1;
143
+ function d(f, c) {
144
+ if (o.has(f.operator)) {
145
+ const s = o.get(f.operator);
146
+ return s && s(f.target, f.param, f.value, c) || !1;
147
147
  }
148
148
  return !1;
149
149
  }
150
- function b(d, c) {
151
- return l(d).reduce((N, w) => N && f(w, c), !0);
150
+ function b(f, c) {
151
+ return l(f).reduce((N, w) => N && d(w, c), !0);
152
152
  }
153
- function m(d, c) {
154
- const s = Object.keys(d), u = s.includes("allOf"), N = s.includes("anyOf"), w = u || N, y = (w ? d[w ? u ? "allOf" : "anyOf" : "allOf"] : [d]).map((h) => b(h, c));
153
+ function m(f, c) {
154
+ const s = Object.keys(f), u = s.includes("allOf"), N = s.includes("anyOf"), w = u || N, y = (w ? f[w ? u ? "allOf" : "anyOf" : "allOf"] : [f]).map((h) => b(h, c));
155
155
  return u ? !y.includes(!1) : y.includes(!0);
156
156
  }
157
157
  return { parseValueSchema: m };
158
158
  }
159
159
  const mo = {}, go = {};
160
160
  vo();
161
- function Ee(e, t, n = /* @__PURE__ */ new Map(), o = (f, b, m) => b, r = {}, l = (f) => f) {
162
- return dt[t.title] = t, ft[t.title] = o, mo[t.title] = r, go[t.title] = l, (f = {}) => {
163
- const b = po(f, t, n), m = Object.keys(e).reduce((d, c) => (d[c] = e[c].default, d), {});
161
+ function Ee(e, t, n = /* @__PURE__ */ new Map(), o = (d, b, m) => b, r = {}, l = (d) => d) {
162
+ return dt[t.title] = t, ft[t.title] = o, mo[t.title] = r, go[t.title] = l, (d = {}) => {
163
+ const b = po(d, t, n), m = Object.keys(e).reduce((f, c) => (f[c] = e[c].default, f), {});
164
164
  return Object.assign(m, b);
165
165
  };
166
166
  }
@@ -375,7 +375,7 @@ function nt(e, t) {
375
375
  _
376
376
  ), _;
377
377
  }
378
- function f(w, _, F) {
378
+ function d(w, _, F) {
379
379
  const y = o * (F + 1), h = _[w.field].left - y + (_[w.field].width || 0), g = w.parent.height ? `${w.parent.height}px` : "";
380
380
  return {
381
381
  left: `${y}px`,
@@ -397,7 +397,7 @@ function nt(e, t) {
397
397
  width: isNaN(Number(_[w.field].width)) ? "100%" : `${_[w.field].width}px`
398
398
  };
399
399
  }
400
- function d(w, _, F) {
400
+ function f(w, _, F) {
401
401
  const O = (_.spanned || []).reduce((g, a) => g + (a.parent.height || 0), 0) + (w.height || 0);
402
402
  return {
403
403
  top: `${w.top}px`,
@@ -429,16 +429,16 @@ function nt(e, t) {
429
429
  calculateCellPositionInRow: l,
430
430
  cellKey: c,
431
431
  cellPosition: m,
432
- groupCellPosition: f,
432
+ groupCellPosition: d,
433
433
  rowKey: s,
434
434
  rowPosition: u,
435
- rowSpanCellPosition: d,
435
+ rowSpanCellPosition: f,
436
436
  summaryCellPosition: b
437
437
  };
438
438
  }
439
439
  function Ro(e, t, n) {
440
440
  const { hasChildrenField: o } = n, r = T("#9399a0"), l = T(28);
441
- function f() {
441
+ function d() {
442
442
  return [].concat(
443
443
  ...t.value.filter((u) => u.raw.__fv_descendant_index__.length !== 0).map((u) => [...u.raw.__fv_descendant_index__.slice(-1)]).flat()
444
444
  ).sort((u, N) => Number(u) - Number(N));
@@ -446,7 +446,7 @@ function Ro(e, t, n) {
446
446
  function b(c) {
447
447
  const s = new Array(t.value.length).fill(0);
448
448
  if (e.showLines) {
449
- const u = f();
449
+ const u = d();
450
450
  t.value.forEach((N, w) => {
451
451
  const _ = u.includes(w), F = N.raw[o.value];
452
452
  s[w] = `repeating-linear-gradient(90deg, ${r.value} 0 1px, transparent 0px 2px) ${F ? "-10px" : "0px"} ${l.value / 2}px/20px 1px no-repeat,repeating-linear-gradient(${r.value} 0 1px, transparent 0px 2px) 0px 0px/1px ${_ ? "50%" : "100%"} no-repeat`;
@@ -459,7 +459,7 @@ function Ro(e, t, n) {
459
459
  u[w].childsLength = u[w].childWithLines.filter((_) => s[_].visible).length;
460
460
  }), s;
461
461
  }
462
- function d(c) {
462
+ function f(c) {
463
463
  const N = c.raw.__fv_parent_index__ === void 0 || c.raw.__fv_parent_index__ === -1 ? 0 : 8, w = 0, _ = c.raw[o.value], F = c.visible ? {
464
464
  left: `${c.layer * 10 + c.layer * N + w}px`,
465
465
  // paddingBottom: handlePaddingBottomReturnValue(visualTreeNode.index),
@@ -473,11 +473,11 @@ function Ro(e, t, n) {
473
473
  };
474
474
  return _ || (F.paddingLeft = "2rem"), F;
475
475
  }
476
- return { hierarchyCellContentStyle: d, handleCollapsedPaddingBottom: m };
476
+ return { hierarchyCellContentStyle: f, handleCollapsedPaddingBottom: m };
477
477
  }
478
478
  function Bo(e, t, n) {
479
479
  const o = T(e.iconField);
480
- function r(l, f) {
480
+ function r(l, d) {
481
481
  if (o.value)
482
482
  return l.raw[e.iconField];
483
483
  let b = "";
@@ -503,7 +503,7 @@ function ot() {
503
503
  return { updateRowPosition: e, updateVisualInfomation: t };
504
504
  }
505
505
  function Mo(e, t, n, o, r, l) {
506
- const { dataView: f, fold: b, hasRealChildren: m, unFold: d } = o, { collapseField: c, hasChildrenField: s } = r, { updateRowPosition: u } = ot();
506
+ const { dataView: d, fold: b, hasRealChildren: m, unFold: f } = o, { collapseField: c, hasChildrenField: s } = r, { updateRowPosition: u } = ot();
507
507
  function N(F, y) {
508
508
  const O = y[F].layer;
509
509
  let h = F + 1;
@@ -539,7 +539,7 @@ function Mo(e, t, n, o, r, l) {
539
539
  }
540
540
  return { toggleTreeNode: _ };
541
541
  }
542
- function $o(e, t, n, o, r, l, f, b, m, d, c) {
542
+ function $o(e, t, n, o, r, l, d, b, m, f, c) {
543
543
  const {
544
544
  onClickCell: s
545
545
  } = l, {
@@ -557,18 +557,18 @@ function $o(e, t, n, o, r, l, f, b, m, d, c) {
557
557
  hasChildrenField: g,
558
558
  shouldShowCheckBox: a,
559
559
  shouldShowIcon: i
560
- } = f, {
560
+ } = d, {
561
561
  toggleTreeNode: C
562
- } = Mo(e, t, o, r, f), {
562
+ } = Mo(e, t, o, r, d), {
563
563
  toggleSelectHierarchyItem: V
564
- } = d, {
564
+ } = f, {
565
565
  cellKey: p,
566
566
  cellPosition: k,
567
567
  rowKey: E,
568
568
  rowPosition: S
569
569
  } = nt(e, n), {
570
570
  hierarchyCellContentStyle: v
571
- } = Ro(e, o, f), {
571
+ } = Ro(e, o, d), {
572
572
  treeNodeIconsClass: x
573
573
  } = Bo(e, h, g);
574
574
  function I(j, H) {
@@ -620,7 +620,7 @@ function $o(e, t, n, o, r, l, f, b, m, d, c) {
620
620
  style: v(j)
621
621
  }, [A(j), D(j, H), L(j, H), X(j, H)])]);
622
622
  }
623
- function ie(j, H, te) {
623
+ function ae(j, H, te) {
624
624
  return M("div", {
625
625
  ref: H.setRef,
626
626
  key: p(j, H.index),
@@ -629,7 +629,7 @@ function $o(e, t, n, o, r, l, f, b, m, d, c) {
629
629
  onClick: (ee) => s(ee, H)
630
630
  }, [H.mode === pe.editing ? H.getEditor(H) : H.formatter ? H.formatter(H, j) : H.data != null ? H.data.toString() : H.data]);
631
631
  }
632
- function le(j, H) {
632
+ function ie(j, H) {
633
633
  return H === "left" && n.value.leftColumns.length > 0 && n.value.leftColumns[0].field === j.field || H === "primary" && n.value.primaryColumns.length > 0 && n.value.primaryColumns[0].field === j.field;
634
634
  }
635
635
  function be(j, H, te = "primary") {
@@ -641,7 +641,7 @@ function $o(e, t, n, o, r, l, f, b, m, d, c) {
641
641
  onMouseover: (ee) => w(ee, j),
642
642
  onMouseout: (ee) => _(ee, j),
643
643
  onClick: (ee) => N(ee, j)
644
- }, [Object.values(j.data).filter((ee) => H[ee.field] && ee.rowSpan === 1).map((ee, de) => le(ee, te) ? ne(j, ee, H) : ie(j, ee, H))]);
644
+ }, [Object.values(j.data).filter((ee) => H[ee.field] && ee.rowSpan === 1).map((ee, de) => ie(ee, te) ? ne(j, ee, H) : ae(j, ee, H))]);
645
645
  }
646
646
  return {
647
647
  renderDataRow: be
@@ -676,7 +676,7 @@ function Po() {
676
676
  class: "ml-2",
677
677
  type: l.type,
678
678
  size: l.size || "small",
679
- onClick: (f) => t(l, f, r)
679
+ onClick: (d) => t(l, d, r)
680
680
  }, {
681
681
  default: () => [Oe(" "), l.text, Oe(" ")]
682
682
  }))]);
@@ -686,18 +686,17 @@ function Po() {
686
686
  };
687
687
  }
688
688
  function pt(e) {
689
- const t = T(e.minHeight), n = T(e.minWidth), o = T(e.height), r = T(e.width), l = B(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), f = B(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
689
+ const t = T(e.minHeight), n = T(e.minWidth), o = T(e.height), r = T(e.width), l = B(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), d = B(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
690
690
  return Z([
691
691
  () => e.height,
692
692
  () => e.width,
693
693
  () => e.minHeight,
694
694
  () => e.minWidth
695
- ], ([m, d, c, s]) => {
696
- t.value = Number(c), n.value = Number(s), o.value = Number(m), r.value = Number(d);
695
+ ], ([m, f, c, s]) => {
696
+ t.value = Number(c), n.value = Number(s), o.value = Number(m), r.value = Number(f);
697
697
  }), { containerStyleObject: B(() => ({
698
698
  height: l.value > 0 ? `${l.value}px` : e.fit ? "100%" : "",
699
- width: f.value > 0 ? `${f.value}px` : e.fit ? "100%" : "",
700
- flex: "none"
699
+ width: d.value > 0 ? `${d.value}px` : e.fit ? "100%" : ""
701
700
  })) };
702
701
  }
703
702
  function vt(e) {
@@ -737,7 +736,7 @@ function vt(e) {
737
736
  summaryColumns: []
738
737
  };
739
738
  }
740
- const l = T(e.summary), f = B(() => {
739
+ const l = T(e.summary), d = B(() => {
741
740
  const h = l.value;
742
741
  return (h == null ? void 0 : h.groupFields) || [];
743
742
  });
@@ -753,10 +752,10 @@ function vt(e) {
753
752
  function m(h) {
754
753
  r();
755
754
  const g = /* @__PURE__ */ new Map();
756
- return f.value && f.value.reduce((a, i) => (a.set(i, !0), a), g), h.reduce((a, i) => (i.visible = i.visible !== !1, i.fixed === "left" ? (o.value.leftColumns.push(i), o.value.leftColumnsMap.set(i.field, i), o.value.leftColumnsWidth += i.actualWidth) : i.fixed === "right" ? (o.value.rightColumns.push(i), o.value.rightColumnsMap.set(i.field, i), o.value.rightColumnsWidth += i.actualWidth) : (o.value.primaryColumns.push(i), o.value.primaryColumnsMap.set(i.field, i), o.value.primaryColumnsWidth += i.actualWidth), g.has(i.field) && o.value.summaryColumns.push(i), a), o), b(), o;
755
+ return d.value && d.value.reduce((a, i) => (a.set(i, !0), a), g), h.reduce((a, i) => (i.visible = i.visible !== !1, i.fixed === "left" ? (o.value.leftColumns.push(i), o.value.leftColumnsMap.set(i.field, i), o.value.leftColumnsWidth += i.actualWidth) : i.fixed === "right" ? (o.value.rightColumns.push(i), o.value.rightColumnsMap.set(i.field, i), o.value.rightColumnsWidth += i.actualWidth) : (o.value.primaryColumns.push(i), o.value.primaryColumnsMap.set(i.field, i), o.value.primaryColumnsWidth += i.actualWidth), g.has(i.field) && o.value.summaryColumns.push(i), a), o), b(), o;
757
756
  }
758
757
  m(e.columns);
759
- const d = B(() => o.value.leftColumns.length > 0), c = B(() => o.value.rightColumns.length > 0);
758
+ const f = B(() => o.value.leftColumns.length > 0), c = B(() => o.value.rightColumns.length > 0);
760
759
  function s(h, g) {
761
760
  return g.sortable && g.sort && g.sort !== "none" && h.push(g), h;
762
761
  }
@@ -802,7 +801,7 @@ function vt(e) {
802
801
  applySortableColumns: y,
803
802
  collectionSortableColumns: F,
804
803
  columnContext: o,
805
- hasLeftFixedColumn: d,
804
+ hasLeftFixedColumn: f,
806
805
  hasRightFixedColumn: c,
807
806
  updateColumnRenderContext: m,
808
807
  updateColumnSettingIcon: b
@@ -1207,7 +1206,7 @@ function yt() {
1207
1206
  }
1208
1207
  function _t(e, t) {
1209
1208
  const n = T(e.fields), o = T([]), r = /* @__PURE__ */ new Map(), { createConditionValue: l } = yt();
1210
- function f(c) {
1209
+ function d(c) {
1211
1210
  switch (c.editor ? c.editor.type : "input-group") {
1212
1211
  case "date-range":
1213
1212
  c.editor.type = "date-picker";
@@ -1222,12 +1221,12 @@ function _t(e, t) {
1222
1221
  return c.editor;
1223
1222
  }
1224
1223
  function b(c) {
1225
- return c.map((u) => Object.assign({}, u)).map((u) => (u.editor = f(u), u));
1224
+ return c.map((u) => Object.assign({}, u)).map((u) => (u.editor = d(u), u));
1226
1225
  }
1227
1226
  function m(c = !0) {
1228
- n.value.reduce((s, u) => (c || (u.editor = f(u)), s.set(u.labelCode, u), s), r);
1227
+ n.value.reduce((s, u) => (c || (u.editor = d(u)), s.set(u.labelCode, u), s), r);
1229
1228
  }
1230
- function d(c) {
1229
+ function f(c) {
1231
1230
  return c.forEach((s) => {
1232
1231
  if (s && typeof s.valueConfig == "object") {
1233
1232
  const u = r.get(s.fieldCode);
@@ -1235,10 +1234,10 @@ function _t(e, t) {
1235
1234
  }
1236
1235
  }), c;
1237
1236
  }
1238
- return { convertToSingleControl: b, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: m, initialConditionValue: d };
1237
+ return { convertToSingleControl: b, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: m, initialConditionValue: f };
1239
1238
  }
1240
1239
  function Ko(e, t, n) {
1241
- const o = T(null), r = T(n), l = T(0), f = B(() => d(l.value));
1240
+ const o = T(null), r = T(n), l = T(0), d = B(() => f(l.value));
1242
1241
  function b() {
1243
1242
  r.value && (o.value = new ResizeObserver(m((c) => {
1244
1243
  const s = c[0];
@@ -1254,14 +1253,14 @@ function Ko(e, t, n) {
1254
1253
  }, 500), c(...N));
1255
1254
  };
1256
1255
  }
1257
- function d(c) {
1256
+ function f(c) {
1258
1257
  let u = "col-12";
1259
1258
  return c > 250 * 6 ? u = "col-2" : c > 250 * 4 ? u = "col-3" : c > 250 * 3 ? u = "col-4" : c > 250 * 2 && (u = "col-6"), u;
1260
1259
  }
1261
1260
  return Z([n], ([c]) => {
1262
1261
  r.value = c, b();
1263
1262
  }), {
1264
- conditionClass: f,
1263
+ conditionClass: d,
1265
1264
  resizeObserver: o
1266
1265
  };
1267
1266
  }
@@ -1270,15 +1269,15 @@ const st = /* @__PURE__ */ ye({
1270
1269
  props: mt,
1271
1270
  emits: ["valueChange", "blur", "focus", "click", "input"],
1272
1271
  setup(e, t) {
1273
- const n = T(), o = T(e.key), r = T(e.isControlInline), l = T(e.conditions), f = _t(e), {
1272
+ const n = T(), o = T(e.key), r = T(e.isControlInline), l = T(e.conditions), d = _t(e), {
1274
1273
  initialConditionValue: b,
1275
1274
  fieldMap: m,
1276
- loadFieldConfigs: d
1277
- } = f, c = Ko(e, t, n), {
1275
+ loadFieldConfigs: f
1276
+ } = d, c = Ko(e, t, n), {
1278
1277
  conditionClass: s,
1279
1278
  resizeObserver: u
1280
1279
  } = c;
1281
- d(!0), b(l.value), Ut(() => {
1280
+ f(!0), b(l.value), Ut(() => {
1282
1281
  var y;
1283
1282
  (y = u.value) == null || y.unobserve(n.value);
1284
1283
  }), Z(() => e.conditions, () => {
@@ -1478,14 +1477,14 @@ function wr(e, t, n) {
1478
1477
  var a;
1479
1478
  function o() {
1480
1479
  }
1481
- const r = "", l = "", f = T();
1480
+ const r = "", l = "", d = T();
1482
1481
  function b() {
1483
1482
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1484
1483
  }
1485
1484
  function m() {
1486
1485
  return !1;
1487
1486
  }
1488
- function d() {
1487
+ function f() {
1489
1488
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1490
1489
  }
1491
1490
  function c() {
@@ -1521,7 +1520,7 @@ function wr(e, t, n) {
1521
1520
  }
1522
1521
  function O(i, C) {
1523
1522
  const V = String(i.getAttribute("data-controltype")), p = i.getAttribute("data-feature"), k = p ? JSON.parse(p) : {};
1524
- k.parentComponentInstance = f.value;
1523
+ k.parentComponentInstance = d.value;
1525
1524
  let E = Ke(V, k);
1526
1525
  const S = V.toLowerCase().replace("-", "_");
1527
1526
  return E && !E.id && E.type === V && (E.id = `${S}_${Math.random().toString().slice(2, 6)}`), E;
@@ -1530,10 +1529,10 @@ function wr(e, t, n) {
1530
1529
  }
1531
1530
  function g(...i) {
1532
1531
  }
1533
- return f.value = {
1532
+ return d.value = {
1534
1533
  canMove: b(),
1535
1534
  canSelectParent: m(),
1536
- canDelete: d(),
1535
+ canDelete: f(),
1537
1536
  canNested: !c(),
1538
1537
  contents: t == null ? void 0 : t.schema.contents,
1539
1538
  elementRef: e,
@@ -1554,7 +1553,7 @@ function wr(e, t, n) {
1554
1553
  updateDragAndDropRules: o,
1555
1554
  triggerBelongedComponentToMoveWhenMoved: T(!1),
1556
1555
  triggerBelongedComponentToDeleteWhenDeleted: T(!1)
1557
- }, f;
1556
+ }, d;
1558
1557
  }
1559
1558
  const Cr = {
1560
1559
  id: { type: String },
@@ -1569,8 +1568,8 @@ const Cr = {
1569
1568
  const n = T(e.title || e.text), o = T(e.required), r = T(e.text);
1570
1569
  return Z(() => e.text, () => {
1571
1570
  r.value = e.text;
1572
- }), Z(() => e.required, (l, f) => {
1573
- l !== f && (o.value = l);
1571
+ }), Z(() => e.required, (l, d) => {
1572
+ l !== d && (o.value = l);
1574
1573
  }), () => M("label", {
1575
1574
  class: "col-form-label",
1576
1575
  title: n.value
@@ -1868,7 +1867,7 @@ const Or = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-
1868
1867
  };
1869
1868
  Ee(Ct, Rr, xr, Fr);
1870
1869
  function Br(e, t, n, o) {
1871
- const r = T(e.disabled), l = T(!1), f = T("text"), b = T(e.showBorder), m = T(e.textAlign), d = T(e.updateOn), c = B(() => e.editable || !e.readonly), s = B(() => e.editable && !e.disabled && !e.readonly), u = B(() => !e.disabled && l.value), N = B(() => n.value === "" || n.value === null || n.value === void 0), w = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), _ = B(() => e.readonly || !e.editable), F = B(() => e.enableTitle ? n.value : ""), y = B(() => ({
1870
+ const r = T(e.disabled), l = T(!1), d = T("text"), b = T(e.showBorder), m = T(e.textAlign), f = T(e.updateOn), c = B(() => e.editable || !e.readonly), s = B(() => e.editable && !e.disabled && !e.readonly), u = B(() => !e.disabled && l.value), N = B(() => n.value === "" || n.value === null || n.value === void 0), w = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), _ = B(() => e.readonly || !e.editable), F = B(() => e.enableTitle ? n.value : ""), y = B(() => ({
1872
1871
  "form-control": !0,
1873
1872
  "f-utils-fill": !0,
1874
1873
  "text-left": m.value === "left",
@@ -1908,7 +1907,7 @@ function Br(e, t, n, o) {
1908
1907
  function V(v) {
1909
1908
  t.emit("input", v.target.value);
1910
1909
  const x = v.target.value;
1911
- o.value = x, d.value === "input" && (t.emit("update:modelValue", x), t.emit("update:value", x));
1910
+ o.value = x, f.value === "input" && (t.emit("update:modelValue", x), t.emit("update:value", x));
1912
1911
  }
1913
1912
  function p(v) {
1914
1913
  t.emit("keydown", v);
@@ -1920,7 +1919,7 @@ function Br(e, t, n, o) {
1920
1919
  v.target.tagName !== "INPUT" && v.preventDefault(), v.stopPropagation();
1921
1920
  }
1922
1921
  function S(v) {
1923
- if (d.value === "blur") {
1922
+ if (f.value === "blur") {
1924
1923
  const x = v.target.value;
1925
1924
  v.stopPropagation(), g(x);
1926
1925
  }
@@ -1932,7 +1931,7 @@ function Br(e, t, n, o) {
1932
1931
  editable: s,
1933
1932
  hasFocused: u,
1934
1933
  inputGroupClass: O,
1935
- inputType: f,
1934
+ inputType: d,
1936
1935
  isEmpty: N,
1937
1936
  modelValue: n,
1938
1937
  readonly: _,
@@ -1951,12 +1950,12 @@ function Br(e, t, n, o) {
1951
1950
  };
1952
1951
  }
1953
1952
  function Mr(e, t, n) {
1954
- const o = T(!1), r = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: l, displayText: f, hasFocused: b, isEmpty: m } = n;
1955
- function d(_) {
1953
+ const o = T(!1), r = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: l, displayText: d, hasFocused: b, isEmpty: m } = n;
1954
+ function f(_) {
1956
1955
  o.value = _;
1957
1956
  }
1958
- Z(f, () => {
1959
- b != null && b.value ? d(!!(f != null && f.value)) : d(!1);
1957
+ Z(d, () => {
1958
+ b != null && b.value ? f(!!(d != null && d.value)) : f(!1);
1960
1959
  });
1961
1960
  const c = B(() => ({
1962
1961
  "input-group-text": !0,
@@ -1966,13 +1965,13 @@ function Mr(e, t, n) {
1966
1965
  display: o.value ? "flex" : "none"
1967
1966
  }));
1968
1967
  function u(_) {
1969
- _.stopPropagation(), r.value && (l("", !0), d(!o.value), t.emit("clear"));
1968
+ _.stopPropagation(), r.value && (l("", !0), f(!o.value), t.emit("clear"));
1970
1969
  }
1971
1970
  function N(_) {
1972
- r.value && !m.value && d(!0);
1971
+ r.value && !m.value && f(!0);
1973
1972
  }
1974
1973
  function w(_) {
1975
- r.value && d(!1);
1974
+ r.value && f(!1);
1976
1975
  }
1977
1976
  return { clearButtonClass: c, clearButtonStyle: s, hasShownClearButton: o, onClearValue: u, onMouseEnter: N, onMouseLeave: w, shouldShowClearButton: r };
1978
1977
  }
@@ -2003,26 +2002,26 @@ function Ar(e, t) {
2003
2002
  })), appendedContent: n, shouldShowAppendedButton: r };
2004
2003
  }
2005
2004
  function Dr(e, t, n, o) {
2006
- const { appendedContent: r } = o, l = T(e.enableViewPassword), f = B(() => e.type === "password"), b = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', m = '<span class="f-icon f-icon-eye"></span>', d = T(!1);
2005
+ const { appendedContent: r } = o, l = T(e.enableViewPassword), d = B(() => e.type === "password"), b = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', m = '<span class="f-icon f-icon-eye"></span>', f = T(!1);
2007
2006
  Z(() => [e.readonly, e.disabled], ([u, N]) => {
2008
- f.value && (n.value = u || N ? "password" : n.value, r.value = u || N ? m : r.value);
2007
+ d.value && (n.value = u || N ? "password" : n.value, r.value = u || N ? m : r.value);
2009
2008
  });
2010
2009
  function c() {
2011
- return d.value = !d.value, n.value = d.value ? "text" : "password", r.value = d.value ? b : m, !1;
2010
+ return f.value = !f.value, n.value = f.value ? "text" : "password", r.value = f.value ? b : m, !1;
2012
2011
  }
2013
2012
  function s() {
2014
- n.value = f.value ? "password" : "text", r.value = f.value ? l.value ? m : "" : r.value;
2013
+ n.value = d.value ? "password" : "text", r.value = d.value ? l.value ? m : "" : r.value;
2015
2014
  }
2016
- return s(), { isPassword: f, onClickAppendedButton: c };
2015
+ return s(), { isPassword: d, onClickAppendedButton: c };
2017
2016
  }
2018
2017
  function Hr(e, t, n) {
2019
2018
  const o = T(), {
2020
2019
  onBlurTextBox: r,
2021
2020
  onFocusTextBox: l,
2022
- onInput: f,
2021
+ onInput: d,
2023
2022
  onKeyDown: b,
2024
2023
  textBoxValue: m
2025
- } = n, d = B(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), c = B(() => ({
2024
+ } = n, f = B(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), c = B(() => ({
2026
2025
  "form-control": !0,
2027
2026
  "f-utils-fill": !0
2028
2027
  })), s = B(() => ({
@@ -2047,11 +2046,11 @@ function Hr(e, t, n) {
2047
2046
  value: m.value,
2048
2047
  disabled: e.disabled,
2049
2048
  readonly: e.readonly || !e.editable,
2050
- placeholder: d.value,
2049
+ placeholder: f.value,
2051
2050
  onBlur: r,
2052
2051
  onChange: u,
2053
2052
  onFocus: w,
2054
- onInput: f,
2053
+ onInput: d,
2055
2054
  onKeydown: b
2056
2055
  }, null);
2057
2056
  }
@@ -2060,7 +2059,7 @@ function Lr(e, t, n) {
2060
2059
  canDownward: o,
2061
2060
  canUpward: r,
2062
2061
  onClickDownButton: l,
2063
- onClickUpButton: f
2062
+ onClickUpButton: d
2064
2063
  } = n, b = B(() => ({
2065
2064
  "input-group-append": !0,
2066
2065
  "btn-group": !0,
@@ -2069,7 +2068,7 @@ function Lr(e, t, n) {
2069
2068
  btn: !0,
2070
2069
  "btn-secondary": !0,
2071
2070
  "btn-number-flag": !0
2072
- })), d = B(() => ({
2071
+ })), f = B(() => ({
2073
2072
  cursor: r() ? "pointer" : "not-allowed",
2074
2073
  "margin-left": 0
2075
2074
  })), c = B(() => ({
@@ -2081,8 +2080,8 @@ function Lr(e, t, n) {
2081
2080
  }, [M("button", {
2082
2081
  title: "upButton",
2083
2082
  class: m.value,
2084
- style: d.value,
2085
- onClick: f,
2083
+ style: f.value,
2084
+ onClick: d,
2086
2085
  disabled: !r()
2087
2086
  }, [M("span", {
2088
2087
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
@@ -2097,33 +2096,33 @@ function Lr(e, t, n) {
2097
2096
  }, null)])]);
2098
2097
  }
2099
2098
  function Gr(e, t) {
2100
- const n = fn(e, t), o = hn(e, t, n), r = pn(e, t, o, n), l = vn(e, t, o, n, r), f = Lr(e, t, r), {
2099
+ const n = fn(e, t), o = hn(e, t, n), r = pn(e, t, o, n), l = vn(e, t, o, n, r), d = Lr(e, t, r), {
2101
2100
  displayValue: b,
2102
2101
  modelValue: m,
2103
- getRealValue: d
2102
+ getRealValue: f
2104
2103
  } = n, c = Hr(e, t, l), {
2105
2104
  format: s
2106
2105
  } = o, {
2107
2106
  isFocus: u
2108
2107
  } = l, N = B(() => !e.disabled && !e.readonly);
2109
2108
  return Ve(() => {
2110
- const w = d(e.modelValue);
2109
+ const w = f(e.modelValue);
2111
2110
  b.value = s(w);
2112
2111
  }), Z(() => [e.value], ([w]) => {
2113
- const _ = d(w);
2112
+ const _ = f(w);
2114
2113
  m.value = _, b.value = s(_);
2115
2114
  }), Z(() => [e.modelValue], ([w]) => {
2116
- w !== m.value && (m.value = w, !u.value && (b.value = s(d(w))));
2115
+ w !== m.value && (m.value = w, !u.value && (b.value = s(f(w))));
2117
2116
  }), Z(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2118
2117
  b.value = s(m.value);
2119
2118
  }), () => M("div", {
2120
2119
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2121
- }, [c(), N.value && f()]);
2120
+ }, [c(), N.value && d()]);
2122
2121
  }
2123
2122
  function Wr(e, t, n, o) {
2124
- const r = T(), l = T(e.autocomplete), f = T(e.enableTitle), {
2123
+ const r = T(), l = T(e.autocomplete), d = T(e.enableTitle), {
2125
2124
  isPassword: b
2126
- } = n, m = T(e.minLength), d = T(e.maxLength), c = T(e.tabIndex), {
2125
+ } = n, m = T(e.minLength), f = T(e.maxLength), c = T(e.tabIndex), {
2127
2126
  disabled: s,
2128
2127
  displayText: u,
2129
2128
  inputType: N,
@@ -2148,12 +2147,12 @@ function Wr(e, t, n, o) {
2148
2147
  autocomplete: l.value,
2149
2148
  class: V.value,
2150
2149
  disabled: s == null ? void 0 : s.value,
2151
- maxlength: d.value,
2150
+ maxlength: f.value,
2152
2151
  minlength: m.value,
2153
2152
  placeholder: C.value,
2154
2153
  readonly: i == null ? void 0 : i.value,
2155
2154
  tabindex: c.value,
2156
- title: f.value && !b.value ? p.value : "",
2155
+ title: d.value && !b.value ? p.value : "",
2157
2156
  type: N.value,
2158
2157
  value: u == null ? void 0 : u.value,
2159
2158
  onBlur: w,
@@ -2185,8 +2184,8 @@ function qr(e, t) {
2185
2184
  function zr(e, t, n, o, r) {
2186
2185
  const {
2187
2186
  appendedButtonClass: l,
2188
- appendedContent: f
2189
- } = n, b = B(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), m = B(() => f.value && !t.slots.groupTextTemplate), d = B(() => !!t.slots.groupTextTemplate), {
2187
+ appendedContent: d
2188
+ } = n, b = B(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), m = B(() => d.value && !t.slots.groupTextTemplate), f = B(() => !!t.slots.groupTextTemplate), {
2190
2189
  clearButtonClass: c,
2191
2190
  clearButtonStyle: s,
2192
2191
  onClearValue: u,
@@ -2219,7 +2218,7 @@ function zr(e, t, n, o, r) {
2219
2218
  class: "input-group-text",
2220
2219
  onMouseenter: (C) => _(C),
2221
2220
  onMouseleave: (C) => F(C),
2222
- innerHTML: f.value,
2221
+ innerHTML: d.value,
2223
2222
  onClick: (C) => O(C)
2224
2223
  }, null);
2225
2224
  }
@@ -2227,7 +2226,7 @@ function zr(e, t, n, o, r) {
2227
2226
  return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
2228
2227
  }
2229
2228
  function a() {
2230
- return m.value ? h : d.value ? g : "";
2229
+ return m.value ? h : f.value ? g : "";
2231
2230
  }
2232
2231
  const i = a();
2233
2232
  return () => M("div", {
@@ -2241,14 +2240,14 @@ const Yr = /* @__PURE__ */ ye({
2241
2240
  setup(e, t) {
2242
2241
  const n = T(e.modelValue), o = T(e.modelValue), r = Br(e, t, n, o), {
2243
2242
  inputGroupClass: l,
2244
- inputType: f,
2243
+ inputType: d,
2245
2244
  inputGroupStyle: b
2246
2245
  } = r, m = Ar(e), {
2247
- shouldShowAppendedButton: d
2246
+ shouldShowAppendedButton: f
2248
2247
  } = m, c = Mr(e, t, r), {
2249
2248
  onMouseEnter: s,
2250
2249
  onMouseLeave: u
2251
- } = c, N = Dr(e, t, f, m), w = Gr(e, t), _ = Wr(e, t, N, r), F = zr(e, t, m, c, N), y = qr(e, t), O = B(() => e.type === "number");
2250
+ } = c, N = Dr(e, t, d, m), w = Gr(e, t), _ = Wr(e, t, N, r), F = zr(e, t, m, c, N), y = qr(e, t), O = B(() => e.type === "number");
2252
2251
  Z(() => [e.value], ([g]) => {
2253
2252
  n.value = g, o.value = g;
2254
2253
  }), Z(() => [e.modelValue], ([g]) => {
@@ -2262,7 +2261,7 @@ const Yr = /* @__PURE__ */ ye({
2262
2261
  style: b.value,
2263
2262
  onMouseenter: s,
2264
2263
  onMouseleave: u
2265
- }, [O.value ? w() : M(De, null, [y(), _(), d.value && F()])])]);
2264
+ }, [O.value ? w() : M(De, null, [y(), _(), f.value && F()])])]);
2266
2265
  return () => h();
2267
2266
  }
2268
2267
  }), G = {}, W = {}, z = {}, Y = {};
@@ -2273,8 +2272,8 @@ function Xr() {
2273
2272
  function St() {
2274
2273
  Xr();
2275
2274
  function e(r, l) {
2276
- const f = W[r];
2277
- return f ? f(l) : {};
2275
+ const d = W[r];
2276
+ return d ? d(l) : {};
2278
2277
  }
2279
2278
  function t(r) {
2280
2279
  return G[r] || Yr;
@@ -2283,6 +2282,8 @@ function St() {
2283
2282
  switch (r) {
2284
2283
  case "check-box":
2285
2284
  return "onChangeValue";
2285
+ case "switch":
2286
+ return "onModelValueChanged";
2286
2287
  case "check-group":
2287
2288
  return "onChangeValue";
2288
2289
  case "combo-list":
@@ -2345,7 +2346,7 @@ const Ur = /* @__PURE__ */ ye({
2345
2346
  props: wt,
2346
2347
  emits: ["change", "update:modelValue"],
2347
2348
  setup(e, t) {
2348
- const n = T(e.id), o = T(e.customClass), r = T(e.editor), l = T(e.label), f = T(e.modelValue), b = T(e.readonly), m = T(e.required), d = T(e.showLabel), c = T(e.visible);
2349
+ const n = T(e.id), o = T(e.customClass), r = T(e.editor), l = T(e.label), d = T(e.modelValue), b = T(e.readonly), m = T(e.required), f = T(e.showLabel), c = T(e.visible);
2349
2350
  T(e.type);
2350
2351
  const s = T(), {
2351
2352
  resolveEditorProps: u,
@@ -2359,7 +2360,7 @@ const Ur = /* @__PURE__ */ ye({
2359
2360
  "q-state-readonly": b.value
2360
2361
  }));
2361
2362
  function y(g, a) {
2362
- f.value = a !== void 0 ? a : g, t.emit("update:modelValue", f.value), t.emit("change", f.value);
2363
+ d.value = a !== void 0 ? a : g, t.emit("update:modelValue", d.value), t.emit("change", d.value);
2363
2364
  }
2364
2365
  function O() {
2365
2366
  t.emit("update:modelValue", "");
@@ -2369,12 +2370,12 @@ const Ur = /* @__PURE__ */ ye({
2369
2370
  return i[C] = y, i[V] = O, () => M(a, Je({
2370
2371
  ref: s
2371
2372
  }, i, {
2372
- modelValue: f.value,
2373
- "onUpdate:modelValue": (p) => f.value = p
2373
+ modelValue: d.value,
2374
+ "onUpdate:modelValue": (p) => d.value = p
2374
2375
  }), null);
2375
2376
  });
2376
2377
  return Z([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([g, a, i, C, V, p, k, E, S]) => {
2377
- n.value = g, o.value = a, r.value = i, l.value = C, f.value = V, b.value = p, m.value = k, d.value = E, c.value = S;
2378
+ n.value = g, o.value = a, r.value = i, l.value = C, d.value = V, b.value = p, m.value = k, f.value = E, c.value = S;
2378
2379
  }), t.expose({
2379
2380
  editorRef: s
2380
2381
  }), () => c.value && M("div", {
@@ -2384,7 +2385,7 @@ const Ur = /* @__PURE__ */ ye({
2384
2385
  class: "farris-group-wrap"
2385
2386
  }, [M("div", {
2386
2387
  class: F.value
2387
- }, [d.value && M(Sr, {
2388
+ }, [f.value && M(Sr, {
2388
2389
  id: `${n.value}-lable`,
2389
2390
  required: m.value,
2390
2391
  text: l.value,
@@ -2421,14 +2422,14 @@ const Kr = /* @__PURE__ */ ye({
2421
2422
  setup(e, t) {
2422
2423
  const n = T(e.id), o = T(e.editor), r = T(e.modelValue), {
2423
2424
  resolveEditorProps: l,
2424
- resolveEditorType: f,
2425
+ resolveEditorType: d,
2425
2426
  getChangeFunctionName: b
2426
2427
  } = St();
2427
2428
  function m(c, s) {
2428
2429
  r.value = s !== void 0 ? s : c, t.emit("update:modelValue", r.value), t.emit("change", r.value);
2429
2430
  }
2430
- const d = B(() => {
2431
- const c = f(o.value.type), s = l(o.value.type, o.value);
2431
+ const f = B(() => {
2432
+ const c = d(o.value.type), s = l(o.value.type, o.value);
2432
2433
  s.focusOnCreated = e.focusOnCreated, s.selectOnCreated = e.selectOnCreated;
2433
2434
  const u = b(o.value.type);
2434
2435
  return s[u] = m, () => M(c, Je(s, {
@@ -2438,7 +2439,7 @@ const Kr = /* @__PURE__ */ ye({
2438
2439
  });
2439
2440
  return Z([() => e.id, () => e.editor, () => e.modelValue], ([c, s, u]) => {
2440
2441
  n.value = c, o.value = s, r.value = u;
2441
- }), () => d.value();
2442
+ }), () => f.value();
2442
2443
  }
2443
2444
  });
2444
2445
  var Ft = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Ft || {}), Ot = /* @__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))(Ot || {});
@@ -2502,10 +2503,10 @@ const Qr = [
2502
2503
  function Zr(e, t, n) {
2503
2504
  const { fieldMap: o } = n;
2504
2505
  function r(l) {
2505
- const f = o.get(l.fieldCode);
2506
- if (!f)
2506
+ const d = o.get(l.fieldCode);
2507
+ if (!d)
2507
2508
  return [];
2508
- const b = f.editor.type, m = new Set(Jr[b]);
2509
+ const b = d.editor.type, m = new Set(Jr[b]);
2509
2510
  return Qr.filter((c) => m.has(c.value));
2510
2511
  }
2511
2512
  return { getCompareOperators: r };
@@ -2528,7 +2529,7 @@ function Tt() {
2528
2529
  function l(p, k) {
2529
2530
  return { relation: p, items: [], children: [], path: [], groupId: ++o, level: k };
2530
2531
  }
2531
- function f() {
2532
+ function d() {
2532
2533
  const p = Object.assign({}, e.value);
2533
2534
  n.forEach((k, E) => {
2534
2535
  k.groupId === p.groupId && n.set(E, p);
@@ -2552,7 +2553,7 @@ function Tt() {
2552
2553
  }
2553
2554
  return E;
2554
2555
  }
2555
- function d(p, k, E, S, v) {
2556
+ function f(p, k, E, S, v) {
2556
2557
  for (let A = k; A <= 0; A++)
2557
2558
  S.pop();
2558
2559
  const x = S[S.length - 1];
@@ -2574,7 +2575,7 @@ function Tt() {
2574
2575
  if (E < 0 || E === S)
2575
2576
  return p[p.length - 1];
2576
2577
  const D = $ - A, R = v && v.relation !== void 0 ? v.relation : 1;
2577
- return I = D > 0 ? m(A, D, I, p, R) : I, I = D < 0 ? d(A, D, I, p, R) : I, I = D === 0 && A > 0 && $ > 0 && v && x && !!v.rBracket && !!x.lBracket ? c(A, I, p, R) : I, I;
2578
+ return I = D > 0 ? m(A, D, I, p, R) : I, I = D < 0 ? f(A, D, I, p, R) : I, I = D === 0 && A > 0 && $ > 0 && v && x && !!v.rBracket && !!x.lBracket ? c(A, I, p, R) : I, I;
2578
2579
  }
2579
2580
  function u(p) {
2580
2581
  const E = { relation: p.length && p[0].relation !== void 0 ? p[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, S = [E], v = b(p);
@@ -2593,12 +2594,12 @@ function Tt() {
2593
2594
  const k = t.get(p.conditionId);
2594
2595
  if (k) {
2595
2596
  const E = k.items.findIndex((v) => v.conditionId === p.conditionId) + 1, S = r();
2596
- t.set(S.conditionId, k), k.items.splice(E, 0, S), f();
2597
+ t.set(S.conditionId, k), k.items.splice(E, 0, S), d();
2597
2598
  }
2598
2599
  }
2599
2600
  function _(p) {
2600
2601
  const k = t.get(p.conditionId);
2601
- k && (k.items = k.items.filter((E) => E.conditionId !== p.conditionId), t.delete(p.conditionId), V(), f());
2602
+ k && (k.items = k.items.filter((E) => E.conditionId !== p.conditionId), t.delete(p.conditionId), V(), d());
2602
2603
  }
2603
2604
  function F(p, k, E, S) {
2604
2605
  p.reduce((v, x) => {
@@ -2629,7 +2630,7 @@ function Tt() {
2629
2630
  if (E) {
2630
2631
  F(p, S, v, x), y(E, v, S.items, x, S.groups);
2631
2632
  const I = l(E.relation, E.level + 1);
2632
- O(I, v, x), E.children.push(I), n.set(I.groupId, E), f();
2633
+ O(I, v, x), E.children.push(I), n.set(I.groupId, E), d();
2633
2634
  }
2634
2635
  }
2635
2636
  function g(p) {
@@ -2638,10 +2639,10 @@ function Tt() {
2638
2639
  S.items.push(v), t.set(v.conditionId, S);
2639
2640
  }), E.forEach((v) => {
2640
2641
  S.children.push(v), n.set(v.groupId, S);
2641
- }), f());
2642
+ }), d());
2642
2643
  }
2643
2644
  function a(p) {
2644
- p.relation = p.relation === 1 ? 2 : 1, f();
2645
+ p.relation = p.relation === 1 ? 2 : 1, d();
2645
2646
  }
2646
2647
  let i;
2647
2648
  function C(p) {
@@ -2673,20 +2674,20 @@ function Tt() {
2673
2674
  groupParentMap: n,
2674
2675
  insertConditionTo: w,
2675
2676
  loadConditionGroup: u,
2676
- refresh: f,
2677
+ refresh: d,
2677
2678
  removeCondition: _,
2678
2679
  rootGroup: e,
2679
2680
  unGroup: g
2680
2681
  };
2681
2682
  }
2682
2683
  function ea(e, t, n) {
2683
- const o = T(/* @__PURE__ */ new Set()), r = T(/* @__PURE__ */ new Set()), { conditionGroupMap: l, groupParentMap: f } = n;
2684
+ const o = T(/* @__PURE__ */ new Set()), r = T(/* @__PURE__ */ new Set()), { conditionGroupMap: l, groupParentMap: d } = n;
2684
2685
  let b, m;
2685
- function d(y) {
2686
+ function f(y) {
2686
2687
  let O = b.level <= y.level ? b : y, h = b.level > y.level ? b : y;
2687
2688
  const g = [];
2688
2689
  for (; h && O && h !== O; )
2689
- h.level > O.level ? (g.push(h), h = f.get(h.groupId)) : h.level === O.level && (O = f.get(O.groupId), O && g.unshift(O));
2690
+ h.level > O.level ? (g.push(h), h = d.get(h.groupId)) : h.level === O.level && (O = d.get(O.groupId), O && g.unshift(O));
2690
2691
  return g;
2691
2692
  }
2692
2693
  function c(y) {
@@ -2696,11 +2697,11 @@ function ea(e, t, n) {
2696
2697
  const { conditionId: O } = y;
2697
2698
  o.value.add(O), b = o.value.size === 0 ? l.get(O) : b;
2698
2699
  const h = l.get(y.conditionId);
2699
- d(h).forEach((a) => c(a));
2700
+ f(h).forEach((a) => c(a));
2700
2701
  }
2701
2702
  const u = B(() => o.value.size === 0 && r.value.size === 1), N = function(y) {
2702
2703
  r.value.delete(y.groupId), y.items.forEach((h) => m(h)), y.children.forEach((h) => !u.value && N(h));
2703
- const O = f.get(y.groupId);
2704
+ const O = d.get(y.groupId);
2704
2705
  O && r.value.has(O.groupId) && N(O);
2705
2706
  };
2706
2707
  m = function(y) {
@@ -2730,10 +2731,10 @@ const Xe = /* @__PURE__ */ ye({
2730
2731
  setup(e, t) {
2731
2732
  const n = T(e.key), o = T(e.conditions), r = _t(e), {
2732
2733
  convertToSingleControl: l,
2733
- fields: f,
2734
+ fields: d,
2734
2735
  fieldMap: b,
2735
2736
  loadFieldConfigs: m
2736
- } = r, d = Tt(), {
2737
+ } = r, f = Tt(), {
2737
2738
  addCondition: c,
2738
2739
  changeGroupRelation: s,
2739
2740
  getConditions: u,
@@ -2744,15 +2745,15 @@ const Xe = /* @__PURE__ */ ye({
2744
2745
  removeCondition: y,
2745
2746
  rootGroup: O,
2746
2747
  unGroup: h
2747
- } = d, {
2748
+ } = f, {
2748
2749
  createConditionValue: g
2749
- } = yt(), a = ea(e, t, d), {
2750
+ } = yt(), a = ea(e, t, f), {
2750
2751
  selectedItems: i,
2751
2752
  toggleSelect: C
2752
2753
  } = a, {
2753
2754
  getCompareOperators: V
2754
2755
  } = Zr(e, t, r);
2755
- m(!1), f.value = l(f.value), _(o.value);
2756
+ m(!1), d.value = l(d.value), _(o.value);
2756
2757
  function p(D) {
2757
2758
  var L;
2758
2759
  const R = ((L = b.get(D.fieldCode)) == null ? void 0 : L.editor) || {
@@ -2783,7 +2784,7 @@ const Xe = /* @__PURE__ */ ye({
2783
2784
  "value-field": "labelCode",
2784
2785
  "text-field": "name",
2785
2786
  "id-field": "id",
2786
- data: f.value,
2787
+ data: d.value,
2787
2788
  modelValue: R.fieldCode,
2788
2789
  "onUpdate:modelValue": (X) => R.fieldCode = X,
2789
2790
  onChange: (X) => p(R)
@@ -3005,13 +3006,13 @@ function la() {
3005
3006
  function l() {
3006
3007
  t.clear(), e.value = [];
3007
3008
  }
3008
- function f(s) {
3009
+ function d(s) {
3009
3010
  const { valueType: u } = s.value, N = s.compareType || "0", w = ta[Number(N)];
3010
3011
  return o.get(u)[w];
3011
3012
  }
3012
3013
  function b(s) {
3013
3014
  const u = s.relation === 2 ? 0 : 1, N = s.items.map((_) => {
3014
- const F = f(_);
3015
+ const F = d(_);
3015
3016
  return (O) => F(O, _.fieldCode, _.value.getValue());
3016
3017
  }), w = s.children && s.children.length ? s.children.map((_) => b(_)) : [];
3017
3018
  return { relation: u, filterFunctions: N, children: w };
@@ -3020,25 +3021,25 @@ function la() {
3020
3021
  const s = n(e.value);
3021
3022
  return b(s);
3022
3023
  }
3023
- function d(s, u) {
3024
- const N = u.filterFunctions.map((_) => _(s)), w = u.children.map((_) => d(s, _));
3024
+ function f(s, u) {
3025
+ const N = u.filterFunctions.map((_) => _(s)), w = u.children.map((_) => f(s, _));
3025
3026
  return u.relation === 1 ? N.every((_) => _) && w.every((_) => _) : N.includes(!0) || w.includes(!0);
3026
3027
  }
3027
3028
  function c(s) {
3028
3029
  const u = m();
3029
- return d(s, u);
3030
+ return f(s, u);
3030
3031
  }
3031
3032
  return { apply: c, clearCondition: l, conditions: e, removeCondition: r };
3032
3033
  }
3033
3034
  function sa(e, t) {
3034
3035
  var y, O;
3035
- const { idField: n } = t, o = T(e.summary), r = T(e.group), l = T(((y = e.group) == null ? void 0 : y.groupFields) || []), f = T(((O = e.group) == null ? void 0 : O.enable) || !1), b = B(() => {
3036
+ const { idField: n } = t, o = T(e.summary), r = T(e.group), l = T(((y = e.group) == null ? void 0 : y.groupFields) || []), d = T(((O = e.group) == null ? void 0 : O.enable) || !1), b = B(() => {
3036
3037
  const h = o.value;
3037
3038
  return (h == null ? void 0 : h.groupFields) || [];
3038
3039
  }), m = B(() => {
3039
3040
  const h = r.value;
3040
3041
  return h && h.showSummary;
3041
- }), d = /* @__PURE__ */ new Map();
3042
+ }), f = /* @__PURE__ */ new Map();
3042
3043
  let c = [], s = "";
3043
3044
  function u(h, g, a, i, C) {
3044
3045
  const V = i[a];
@@ -3107,7 +3108,7 @@ function sa(e, t) {
3107
3108
  if (!h || h.length === 0)
3108
3109
  return g;
3109
3110
  const i = h.join(",");
3110
- return i !== s && (d.clear(), c = [], s = i, u(d, g, 0, h, a), c = w(d)), c;
3111
+ return i !== s && (f.clear(), c = [], s = i, u(f, g, 0, h, a), c = w(f)), c;
3111
3112
  }
3112
3113
  function F(h) {
3113
3114
  return {
@@ -3116,10 +3117,10 @@ function sa(e, t) {
3116
3117
  "fv-grid-group-row-icon-collapse": h.collapse
3117
3118
  };
3118
3119
  }
3119
- return { collpaseGroupIconClass: F, generateGroupData: _, groupFields: l, shouldGroupingData: f };
3120
+ return { collpaseGroupIconClass: F, generateGroupData: _, groupFields: l, shouldGroupingData: d };
3120
3121
  }
3121
3122
  function ua(e, t, n, o) {
3122
- const r = T(!!e.hierarchy), { idField: l } = o, { collapseField: f, hasChildrenField: b, parentIdField: m } = n, d = /* @__PURE__ */ new Map();
3123
+ const r = T(!!e.hierarchy), { idField: l } = o, { collapseField: d, hasChildrenField: b, parentIdField: m } = n, f = /* @__PURE__ */ new Map();
3123
3124
  function c(S, v) {
3124
3125
  const x = /* @__PURE__ */ new Map();
3125
3126
  return S.reduce((I, $) => {
@@ -3202,15 +3203,15 @@ function ua(e, t, n, o) {
3202
3203
  });
3203
3204
  }
3204
3205
  function a(S) {
3205
- d.clear(), S.forEach((I, $) => {
3206
+ f.clear(), S.forEach((I, $) => {
3206
3207
  const A = I[l.value];
3207
- d.set(A, F(A, $));
3208
+ f.set(A, F(A, $));
3208
3209
  });
3209
3210
  const v = s(S), x = c(S, v);
3210
- return y(d, x), h(S, d), g(d), d;
3211
+ return y(f, x), h(S, f), g(f), f;
3211
3212
  }
3212
3213
  function i(S) {
3213
- const v = S[l.value], x = d.get(v);
3214
+ const v = S[l.value], x = f.get(v);
3214
3215
  return x && x.children.size > 0;
3215
3216
  }
3216
3217
  function C(S) {
@@ -3222,22 +3223,22 @@ function ua(e, t, n, o) {
3222
3223
  return S.forEach((I, $) => {
3223
3224
  var L;
3224
3225
  const A = I[l.value], D = x.has(A) ? (L = x.get(A)) == null ? void 0 : L.map((X) => X.__fv_index__) : [], R = F(A, $);
3225
- I.__fv_graph_node__ = R, I.__fv_children_index__ = D, I.__fv_descendant_index__ = [...D], I.__fv_parents__ = /* @__PURE__ */ new Map(), C(I) && (I[f.value] = !0);
3226
+ I.__fv_graph_node__ = R, I.__fv_children_index__ = D, I.__fv_descendant_index__ = [...D], I.__fv_parents__ = /* @__PURE__ */ new Map(), C(I) && (I[d.value] = !0);
3226
3227
  }), u(S), w(S, v), e.showLines && _(S), S;
3227
3228
  }
3228
3229
  function p(S, v, x) {
3229
- const $ = x.value[S][l.value], A = d.get($);
3230
+ const $ = x.value[S][l.value], A = f.get($);
3230
3231
  if (A) {
3231
- const D = d.get(A.parentId);
3232
+ const D = f.get(A.parentId);
3232
3233
  let R = x.value.length - 1;
3233
3234
  if (D) {
3234
3235
  const L = Array.from(D.children.keys()).indexOf(A.id);
3235
3236
  if (L === D.children.size - 1) {
3236
3237
  const ne = Array.from(D.descendant.values())[D.descendant.size - 1];
3237
- R = x.value.findIndex((le) => le[l.value] === ne.id) + 1;
3238
+ R = x.value.findIndex((ie) => ie[l.value] === ne.id) + 1;
3238
3239
  } else {
3239
3240
  const ne = Array.from(D.children.values())[L + 1];
3240
- R = x.value.findIndex((le) => le[l.value] === ne.id);
3241
+ R = x.value.findIndex((ie) => ie[l.value] === ne.id);
3241
3242
  }
3242
3243
  v[b.value] = !1, v[m.value] = D.id, x.value.splice(R, 0, v);
3243
3244
  }
@@ -3245,18 +3246,18 @@ function ua(e, t, n, o) {
3245
3246
  }
3246
3247
  function k(S, v, x) {
3247
3248
  const I = x.value[S], $ = I[l.value];
3248
- if (d.get($)) {
3249
+ if (f.get($)) {
3249
3250
  const R = x.value.findIndex((L) => L[l.value] === $) + 1;
3250
- I[b.value] = !0, I[f.value] = !1, v[b.value] = !1, v[m.value] = $, x.value.splice(R, 0, v);
3251
+ I[b.value] = !0, I[d.value] = !1, v[b.value] = !1, v[m.value] = $, x.value.splice(R, 0, v);
3251
3252
  }
3252
3253
  }
3253
3254
  function E(S, v) {
3254
- const x = S[l.value], I = d.get(x), $ = Array.from(I.descendant.keys());
3255
+ const x = S[l.value], I = f.get(x), $ = Array.from(I.descendant.keys());
3255
3256
  $.unshift(x);
3256
- const A = d.get(I.parentId);
3257
+ const A = f.get(I.parentId);
3257
3258
  if (A && (A.children.delete(x), A.children.size === 0)) {
3258
3259
  const R = v.find((L) => L[l.value] === I.parentId);
3259
- R[b.value] = !1, R[f.value] = !1;
3260
+ R[b.value] = !1, R[d.value] = !1;
3260
3261
  }
3261
3262
  return v.filter((R) => $.indexOf(R.id) === -1);
3262
3263
  }
@@ -3283,7 +3284,7 @@ const ca = {
3283
3284
  props: da,
3284
3285
  emits: ["close", "click"],
3285
3286
  setup: (e, t) => {
3286
- const n = T(e.animate), o = "fadeOut", r = B(() => e.options), l = T(!1), f = B(() => {
3287
+ const n = T(e.animate), o = "fadeOut", r = B(() => e.options), l = T(!1), d = B(() => {
3287
3288
  const y = {
3288
3289
  animated: l.value,
3289
3290
  toast: !0
@@ -3294,7 +3295,7 @@ const ca = {
3294
3295
  "f-icon": !0
3295
3296
  };
3296
3297
  return g[h] = !0, g;
3297
- }), m = B(() => r.value.title || r.value.message), d = B(() => r.value.title && r.value.message), c = B(() => !r.value.title && r.value.message), s = B(() => e.showCloseButton), u = B(() => !!r.value.buttons || !!t.slots.default);
3298
+ }), m = B(() => r.value.title || r.value.message), f = B(() => r.value.title && r.value.message), c = B(() => !r.value.title && r.value.message), s = B(() => e.showCloseButton), u = B(() => !!r.value.buttons || !!t.slots.default);
3298
3299
  function N(y) {
3299
3300
  y.stopPropagation(), y.preventDefault(), l.value = !1, setTimeout(() => {
3300
3301
  t.emit("close", r.value);
@@ -3318,7 +3319,7 @@ const ca = {
3318
3319
  }, [O.text]))), t.slots.default && t.slots.default()])]);
3319
3320
  };
3320
3321
  return () => M("div", {
3321
- class: f.value
3322
+ class: d.value
3322
3323
  }, [s.value && M("button", {
3323
3324
  title: "close",
3324
3325
  class: "toast-close f-btn-icon f-bare",
@@ -3333,7 +3334,7 @@ const ca = {
3333
3334
  class: b.value
3334
3335
  }, null)]), M("div", {
3335
3336
  class: "modal-tips-content"
3336
- }, [d.value && M(De, null, [M("h5", {
3337
+ }, [f.value && M(De, null, [M("h5", {
3337
3338
  class: "toast-title modal-tips-title",
3338
3339
  innerHTML: r.value.title
3339
3340
  }, null), M("p", {
@@ -3363,7 +3364,7 @@ const ca = {
3363
3364
  right: 12,
3364
3365
  top: 20,
3365
3366
  bottom: 12
3366
- }, r = T(), l = T(e.options), f = T(e.showCloseButton), b = B(() => e.position || "bottom-right"), m = B(() => e.timeout != null ? e.timeout : 3e3), d = B(() => {
3367
+ }, r = T(), l = T(e.options), d = T(e.showCloseButton), b = B(() => e.position || "bottom-right"), m = B(() => e.timeout != null ? e.timeout : 3e3), f = B(() => {
3367
3368
  const u = e.bottom ? e.bottom : o.bottom, N = e.top ? e.top : o.top, w = {
3368
3369
  transition: "all 0.2s ease",
3369
3370
  left: b.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -3388,11 +3389,11 @@ const ca = {
3388
3389
  }
3389
3390
  return () => M("div", {
3390
3391
  class: n.value,
3391
- style: d.value,
3392
+ style: f.value,
3392
3393
  ref: r
3393
3394
  }, [M(Qe, {
3394
3395
  options: l.value,
3395
- showCloseButton: f.value,
3396
+ showCloseButton: d.value,
3396
3397
  animate: e.animate,
3397
3398
  onClose: (u) => s(u, l.value)
3398
3399
  }, null)]);
@@ -3412,16 +3413,16 @@ class kt {
3412
3413
  ...t
3413
3414
  }), l = document.createElement("div");
3414
3415
  l.style.display = "contents";
3415
- const f = Jt({
3416
+ const d = Jt({
3416
3417
  setup() {
3417
3418
  const b = T();
3418
3419
  function m() {
3419
3420
  b.value.container.style.transform = "scale(0)", setTimeout(() => {
3420
- n.updateNotifyPositionForClose(r, b), f.unmount();
3421
+ n.updateNotifyPositionForClose(r, b), d.unmount();
3421
3422
  }, 220);
3422
3423
  }
3423
3424
  if (r.position.indexOf("top") > -1) {
3424
- const d = n.getNotifyInstances(r.position), c = d[d.length - 1];
3425
+ const f = n.getNotifyInstances(r.position), c = f[f.length - 1];
3425
3426
  if (c) {
3426
3427
  const s = c.value.container.getBoundingClientRect();
3427
3428
  r.top = s.bottom;
@@ -3438,7 +3439,7 @@ class kt {
3438
3439
  }), null);
3439
3440
  }
3440
3441
  });
3441
- return f.provide("NotifyService", this), document.body.appendChild(l), f.mount(l), f;
3442
+ return d.provide("NotifyService", this), document.body.appendChild(l), d.mount(l), d;
3442
3443
  }
3443
3444
  getNotifyInstances(t) {
3444
3445
  return this.notifyRefs.filter((n) => n.value.notifyPosition === t);
@@ -3457,8 +3458,8 @@ class kt {
3457
3458
  const o = this.notifyRefs.indexOf(n);
3458
3459
  if (t.position.indexOf("top") > -1) {
3459
3460
  const r = this.getNotifyInstances(t.position), l = r.indexOf(n);
3460
- r.slice(l + 1).forEach((f) => {
3461
- f.value.container.style.top = f.value.container.offsetTop - f.value.container.offsetHeight + "px";
3461
+ r.slice(l + 1).forEach((d) => {
3462
+ d.value.container.style.top = d.value.container.offsetTop - d.value.container.offsetHeight + "px";
3462
3463
  });
3463
3464
  }
3464
3465
  o > -1 && this.notifyRefs.splice(o, 1);
@@ -3467,16 +3468,16 @@ class kt {
3467
3468
  return this.createNotifyInstance(t);
3468
3469
  }
3469
3470
  buildNotifyProps(t, n) {
3470
- let o = "", r = "", l, f, b;
3471
- typeof n == "string" ? o = n : n && (o = n.message || "", r = n.title || "", f = n.position || null, b = n.showCloseButton != null ? n.showCloseButton : null, l = n.timeout != null ? n.timeout : null);
3472
- const d = {
3471
+ let o = "", r = "", l, d, b;
3472
+ typeof n == "string" ? o = n : n && (o = n.message || "", r = n.title || "", d = n.position || null, b = n.showCloseButton != null ? n.showCloseButton : null, l = n.timeout != null ? n.timeout : null);
3473
+ const f = {
3473
3474
  options: {
3474
3475
  type: t,
3475
3476
  message: o,
3476
3477
  title: r
3477
3478
  }
3478
3479
  };
3479
- return f != null && (d.position = f), b != null && (d.showCloseButton = b), l != null && (d.timeout = l), d;
3480
+ return d != null && (f.position = d), b != null && (f.showCloseButton = b), l != null && (f.timeout = l), f;
3480
3481
  }
3481
3482
  info(t) {
3482
3483
  const n = this.buildNotifyProps("info", t);
@@ -3511,7 +3512,7 @@ Ae.install = (e) => {
3511
3512
  };
3512
3513
  function It(e, t, n, o, r) {
3513
3514
  var at;
3514
- const { pageSize: l, total: f, shouldRenderPagination: b, currentPage: m, mode: d } = r, c = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), _ = T([]), F = T([]), y = la(), O = sa(e, o), { generateGroupData: h, groupFields: g, shouldGroupingData: a } = O, i = T(e.data), C = ua(e, i, n, o), {
3515
+ const { pageSize: l, total: d, shouldRenderPagination: b, currentPage: m, mode: f } = r, c = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), _ = T([]), F = T([]), y = la(), O = sa(e, o), { generateGroupData: h, groupFields: g, shouldGroupingData: a } = O, i = T(e.data), C = ua(e, i, n, o), {
3515
3516
  generateHierarchyData: V,
3516
3517
  hasRealChildren: p,
3517
3518
  insertSibling: k,
@@ -3528,7 +3529,7 @@ function It(e, t, n, o, r) {
3528
3529
  return (P == null ? void 0 : P.groupFields) || [];
3529
3530
  });
3530
3531
  let ne = /* @__PURE__ */ new Map();
3531
- const ie = B(() => A.value.length), le = T(e.pagination), be = new kt(), j = B(() => b.value ? d.value === "server" ? 0 : (m.value - 1) * l.value : 0), H = B(() => b.value ? d.value === "server" ? Math.min(l.value, f.value, ie.value) : Math.min(j.value + l.value, f.value, ie.value) : ie.value);
3532
+ const ae = B(() => A.value.length), ie = T(e.pagination), be = new kt(), j = B(() => b.value ? f.value === "server" ? 0 : (m.value - 1) * l.value : 0), H = B(() => b.value ? f.value === "server" ? Math.min(l.value, d.value, ae.value) : Math.min(j.value + l.value, d.value, ae.value) : ae.value);
3532
3533
  function te(P) {
3533
3534
  return R(P);
3534
3535
  }
@@ -3536,7 +3537,7 @@ function It(e, t, n, o, r) {
3536
3537
  A.value = i.value, a.value && (A.value = h(g.value, i.value, t)), ne = X.value.reduce((fe, ve) => (fe.set(ve, 0), fe), ne);
3537
3538
  const P = j.value, K = H.value;
3538
3539
  let Q = 0;
3539
- const ae = [];
3540
+ const le = [];
3540
3541
  if (A.value.length) {
3541
3542
  I(A.value);
3542
3543
  const fe = x.value !== e.idField;
@@ -3545,10 +3546,10 @@ function It(e, t, n, o, r) {
3545
3546
  ce.__fv_data_grid_group_row__ ? (Q = 0, ce.__fv_data_index__ = "") : ce.__fv_data_grid_group_summary__ ? ce.__fv_data_index__ = "" : (Q++, b.value ? ce.__fv_data_index__ = Q + (m.value - 1) * l.value : ce.__fv_data_index__ = Q), ce.__fv_index__ = ve, fe && (ce[x.value] = ve), X.value.forEach((oe) => {
3546
3547
  const _e = ne.get(oe) || 0;
3547
3548
  ne.set(oe, _e + ce[oe]);
3548
- }), ae.push(ce);
3549
+ }), le.push(ce);
3549
3550
  }
3550
3551
  }
3551
- return S.value && V(ae), D.value = [...ae], ae;
3552
+ return S.value && V(le), D.value = [...le], le;
3552
3553
  }
3553
3554
  const de = T(ee());
3554
3555
  function se(P, K, Q = !1) {
@@ -3590,13 +3591,13 @@ function It(e, t, n, o, r) {
3590
3591
  function Ce(P, K) {
3591
3592
  const Q = `group_of_${P}_${K}`;
3592
3593
  c.set(Q, !0);
3593
- const ae = (fe) => fe[P] !== K;
3594
+ const le = (fe) => fe[P] !== K;
3594
3595
  return u.set(`collapse_${P}_${K}`, {
3595
3596
  field: P,
3596
3597
  fieldName: P,
3597
3598
  fieldType: "string",
3598
3599
  filterValue: K,
3599
- filter: ae
3600
+ filter: le
3600
3601
  }), se(Array.from(u.values()), Array.from(w.values()));
3601
3602
  }
3602
3603
  function ke(P, K) {
@@ -3604,7 +3605,7 @@ function It(e, t, n, o, r) {
3604
3605
  return c.set(Q, !1), u.delete(`collapse_${P}_${K}`), se(Array.from(u.values()), Array.from(w.values()), !0);
3605
3606
  }
3606
3607
  function Re(P) {
3607
- const K = P.raw[x.value], Q = (ae) => !ae.__fv_parents__.has(K);
3608
+ const K = P.raw[x.value], Q = (le) => !le.__fv_parents__.has(K);
3608
3609
  N.set(`fold_${K}`, {
3609
3610
  field: "id",
3610
3611
  fieldName: "id",
@@ -3637,7 +3638,7 @@ function It(e, t, n, o, r) {
3637
3638
  return (P && P.length ? de.value.filter((fe, ve) => P.reduce((ce, oe) => ce && oe.filter(fe), !0)) : de.value).slice(K, Q);
3638
3639
  }
3639
3640
  function J(P) {
3640
- (P - 1) * l.value <= ie.value && he();
3641
+ (P - 1) * l.value <= ae.value && he();
3641
3642
  }
3642
3643
  function re(P) {
3643
3644
  i.value.push(Te(P)), de.value = ee();
@@ -3651,8 +3652,8 @@ function It(e, t, n, o, r) {
3651
3652
  function me(P = 0) {
3652
3653
  if (!(P > -1 && e.hierarchy))
3653
3654
  return !1;
3654
- const Q = $.value(), ae = i.value[P];
3655
- Ie(ae), E(P, Q, i), he();
3655
+ const Q = $.value(), le = i.value[P];
3656
+ Ie(le), E(P, Q, i), he();
3656
3657
  }
3657
3658
  function Se(P) {
3658
3659
  const K = P ? P - 1 : 0;
@@ -3673,7 +3674,7 @@ function It(e, t, n, o, r) {
3673
3674
  return se(P, Array.from(w.values()));
3674
3675
  }
3675
3676
  function Gt(P) {
3676
- le.value && (le.value.size = P, he());
3677
+ ie.value && (ie.value.size = P, he());
3677
3678
  }
3678
3679
  function Wt(P, K) {
3679
3680
  const Q = i.value[Number(P) - 1];
@@ -3686,8 +3687,8 @@ function It(e, t, n, o, r) {
3686
3687
  }
3687
3688
  function qt(P) {
3688
3689
  return P.map((Q) => {
3689
- const ae = D.value.findIndex((fe) => fe[x.value] === Q);
3690
- return ae > -1 ? D.value[ae] : null;
3690
+ const le = D.value.findIndex((fe) => fe[x.value] === Q);
3691
+ return le > -1 ? D.value[le] : null;
3691
3692
  }).filter((Q) => Q != null);
3692
3693
  }
3693
3694
  return {
@@ -3707,7 +3708,7 @@ function It(e, t, n, o, r) {
3707
3708
  load: Me,
3708
3709
  navigatePageTo: J,
3709
3710
  summaries: ne,
3710
- totalItems: ie,
3711
+ totalItems: ae,
3711
3712
  insertNewDataItem: ue,
3712
3713
  insertNewChildDataItem: me,
3713
3714
  removeAllFilter: we,
@@ -3730,25 +3731,25 @@ function It(e, t, n, o, r) {
3730
3731
  function Nt(e) {
3731
3732
  T(e.selection.showCheckbox || !1);
3732
3733
  const t = B(() => {
3733
- var f;
3734
- return ((f = e.hierarchy) == null ? void 0 : f.collapseField) || "__fv_collapse__";
3734
+ var d;
3735
+ return ((d = e.hierarchy) == null ? void 0 : d.collapseField) || "__fv_collapse__";
3735
3736
  }), n = B(() => {
3736
- var f;
3737
- return ((f = e.hierarchy) == null ? void 0 : f.hasChildrenField) || "__fv_hasChildren__";
3737
+ var d;
3738
+ return ((d = e.hierarchy) == null ? void 0 : d.hasChildrenField) || "__fv_hasChildren__";
3738
3739
  }), o = B(() => {
3739
- var f;
3740
- return ((f = e.hierarchy) == null ? void 0 : f.parentIdField) || "parent";
3740
+ var d;
3741
+ return ((d = e.hierarchy) == null ? void 0 : d.parentIdField) || "parent";
3741
3742
  }), r = B(() => e.hierarchy && e.selection.showCheckbox && e.selection.enableSelectRow && e.selection.multiSelect), l = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
3742
3743
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: l };
3743
3744
  }
3744
3745
  function ha(e, t, n, o) {
3745
3746
  var _, F, y, O, h, g;
3746
- const { idField: r } = n, l = T(((F = (_ = e.hierarchy) == null ? void 0 : _.cascadeOption) == null ? void 0 : F.autoCheckChildren) || !1), f = T(((O = (y = e.hierarchy) == null ? void 0 : y.cascadeOption) == null ? void 0 : O.autoCheckParent) || !1), b = T(((g = (h = e.hierarchy) == null ? void 0 : h.cascadeOption) == null ? void 0 : g.selectionRange) || "All");
3747
+ const { idField: r } = n, l = T(((F = (_ = e.hierarchy) == null ? void 0 : _.cascadeOption) == null ? void 0 : F.autoCheckChildren) || !1), d = T(((O = (y = e.hierarchy) == null ? void 0 : y.cascadeOption) == null ? void 0 : O.autoCheckParent) || !1), b = T(((g = (h = e.hierarchy) == null ? void 0 : h.cascadeOption) == null ? void 0 : g.selectionRange) || "All");
3747
3748
  Z(() => {
3748
3749
  var a;
3749
3750
  return (a = e.hierarchy) == null ? void 0 : a.cascadeOption;
3750
3751
  }, (a) => {
3751
- l.value = a ? !!a.autoCheckChildren : !1, f.value = a ? !!a.autoCheckParent : !1, b.value = a ? a.selectionRange : "All";
3752
+ l.value = a ? !!a.autoCheckChildren : !1, d.value = a ? !!a.autoCheckParent : !1, b.value = a ? a.selectionRange : "All";
3752
3753
  });
3753
3754
  function m(a, i) {
3754
3755
  for (let C = 0; C < i.length; C++)
@@ -3756,25 +3757,25 @@ function ha(e, t, n, o) {
3756
3757
  return !1;
3757
3758
  return !0;
3758
3759
  }
3759
- function d(a, i) {
3760
+ function f(a, i) {
3760
3761
  return a.filter((V) => i.indexOf(V) === -1);
3761
3762
  }
3762
3763
  const c = B(() => b.value === "OnlyParent"), s = B(() => b.value === "OnlyChildren");
3763
3764
  function u(a, i) {
3764
3765
  let C = a;
3765
3766
  const V = t.value[i], p = V.raw[r.value], k = Array.from(V.raw.__fv_descendant_index__).map(($) => t.value[$]), E = k.map(($) => $.raw[r.value]), S = m(a, E), v = m(a, [p]);
3766
- return v && S && c.value && (C = d(a, E), k.forEach(($) => {
3767
+ return v && S && c.value && (C = f(a, E), k.forEach(($) => {
3767
3768
  $.disable = !0;
3768
- })), v && S && s.value && (C = d(a, [p]), k.forEach(($) => {
3769
+ })), v && S && s.value && (C = f(a, [p]), k.forEach(($) => {
3769
3770
  $.disable = !0;
3770
3771
  })), C;
3771
3772
  }
3772
3773
  function N(a, i) {
3773
3774
  let C = a;
3774
3775
  const V = i[r.value], p = Array.from(i.__fv_children_index__).map((I) => t.value[I]), k = p.map((I) => I.raw[r.value]), E = m(a, k), S = m(a, [i[r.value]]);
3775
- return S && E && c.value && (C = d(a, k), p.forEach((I) => {
3776
+ return S && E && c.value && (C = f(a, k), p.forEach((I) => {
3776
3777
  I.disable = !0;
3777
- })), S && E && s.value && (C = d(a, [V]), p.forEach((I) => {
3778
+ })), S && E && s.value && (C = f(a, [V]), p.forEach((I) => {
3778
3779
  I.disable = !0;
3779
3780
  })), C;
3780
3781
  }
@@ -3782,10 +3783,10 @@ function ha(e, t, n, o) {
3782
3783
  let C = a.map((E) => E[r.value]);
3783
3784
  return i.__fv_parent_index__ > 0 && (C = u(C, i.__fv_parent_index__)), i.__fv_children_index__.length > 0 && (C = N(C, i)), a.filter((E) => C.includes(E[r.value]));
3784
3785
  }
3785
- return { autoCheckChildren: l, autoCheckParent: f, interactAfterCheckHierarchyItem: w };
3786
+ return { autoCheckChildren: l, autoCheckParent: d, interactAfterCheckHierarchyItem: w };
3786
3787
  }
3787
3788
  function Vt(e, t, n, o, r) {
3788
- const { select: l, unSelect: f, indeterminate: b, getSelectedItems: m } = o, { autoCheckChildren: d, autoCheckParent: c, interactAfterCheckHierarchyItem: s } = ha(e, t, n), { idField: u } = n;
3789
+ const { select: l, unSelect: d, indeterminate: b, getSelectedItems: m } = o, { autoCheckChildren: f, autoCheckParent: c, interactAfterCheckHierarchyItem: s } = ha(e, t, n), { idField: u } = n;
3789
3790
  function N() {
3790
3791
  return t.value.filter((i) => !!i.checked).map((i) => i.raw.__fv_index__);
3791
3792
  }
@@ -3800,13 +3801,13 @@ function Vt(e, t, n, o, r) {
3800
3801
  let C = i.raw.__fv_parent_index__;
3801
3802
  for (; C !== void 0; ) {
3802
3803
  const V = N(), p = t.value[C], k = w(p.raw.__fv_children_index__, V);
3803
- k.length === p.raw.__fv_children_index__.length && k.length !== 0 ? f(p) : k.length === 0 ? c.value && l(p) : k.length < p.raw.__fv_children_index__.length && p.checked !== !0 && b(p), C = p.raw.__fv_parent_index__;
3804
+ k.length === p.raw.__fv_children_index__.length && k.length !== 0 ? d(p) : k.length === 0 ? c.value && l(p) : k.length < p.raw.__fv_children_index__.length && p.checked !== !0 && b(p), C = p.raw.__fv_parent_index__;
3804
3805
  }
3805
3806
  }
3806
3807
  function y(i) {
3807
3808
  const C = !!i.checked;
3808
- d.value && i.raw.__fv_children_index__.map((V) => t.value[V]).forEach((V) => {
3809
- C ? l(V) : f(V);
3809
+ f.value && i.raw.__fv_children_index__.map((V) => t.value[V]).forEach((V) => {
3810
+ C ? l(V) : d(V);
3810
3811
  });
3811
3812
  }
3812
3813
  function O(i) {
@@ -3835,9 +3836,9 @@ function Vt(e, t, n, o, r) {
3835
3836
  }
3836
3837
  return { getNextSelectableHierarchyItemId: a, toggleSelectHierarchyItem: O };
3837
3838
  }
3838
- function Et(e, t, n, o, r, l, f, b) {
3839
+ function Et(e, t, n, o, r, l, d, b) {
3839
3840
  var Me;
3840
- const { dataView: m } = t, { getVisualData: d, maxVisibleRowIndex: c, minVisibleRowIndex: s } = r, u = T(o.value.primaryColumnsWidth), N = T(o.value.leftColumnsWidth), w = T(o.value.rightColumnsWidth), _ = ((Me = e.rowOption) == null ? void 0 : Me.height) || 28, F = T(0), y = T(0);
3841
+ const { dataView: m } = t, { getVisualData: f, maxVisibleRowIndex: c, minVisibleRowIndex: s } = r, u = T(o.value.primaryColumnsWidth), N = T(o.value.leftColumnsWidth), w = T(o.value.rightColumnsWidth), _ = ((Me = e.rowOption) == null ? void 0 : Me.height) || 28, F = T(0), y = T(0);
3841
3842
  let O = 0, h = l.value - 1;
3842
3843
  const g = T(0), a = T(0), i = T(0);
3843
3844
  function C() {
@@ -3848,7 +3849,7 @@ function Et(e, t, n, o, r, l, f, b) {
3848
3849
  }
3849
3850
  const V = B(() => {
3850
3851
  const U = C();
3851
- return m.value.length > l.value + f ? Math.floor((l.value + f) / m.value.length * a.value) : Math.floor(a.value / Math.max(U, a.value) * a.value);
3852
+ return m.value.length > l.value + d ? Math.floor((l.value + d) / m.value.length * a.value) : Math.floor(a.value / Math.max(U, a.value) * a.value);
3852
3853
  }), p = B(() => Math.floor(i.value / Math.max(u.value, i.value) * g.value)), k = 0, E = 0, S = B(() => g.value - (N.value + u.value + w.value + b.value));
3853
3854
  function v(U) {
3854
3855
  const J = m.value.find((re) => re.__fv_data_position__ > U);
@@ -3860,7 +3861,7 @@ function Et(e, t, n, o, r, l, f, b) {
3860
3861
  n.value = [];
3861
3862
  return;
3862
3863
  }
3863
- const J = ($e = e.pagination) != null && $e.enable ? 0 : Math.max(O - f, 0), re = m.value[m.value.length - 1].__fv_index__, ue = (Pe = e.pagination) != null && Pe.enable ? m.value.length - 1 : Math.min(h + f - 1, re), me = m.value[J - 1], Se = d(J, ue, me, U);
3864
+ const J = ($e = e.pagination) != null && $e.enable ? 0 : Math.max(O - d, 0), re = m.value[m.value.length - 1].__fv_index__, ue = (Pe = e.pagination) != null && Pe.enable ? m.value.length - 1 : Math.min(h + d - 1, re), me = m.value[J - 1], Se = f(J, ue, me, U);
3864
3865
  Se.length && (n.value = [...Se]);
3865
3866
  }
3866
3867
  const I = B(() => C() > a.value), $ = B(() => u.value > i.value);
@@ -3868,7 +3869,7 @@ function Et(e, t, n, o, r, l, f, b) {
3868
3869
  let J = F.value + U;
3869
3870
  J > k && (J = k);
3870
3871
  const re = J > k, ue = C(), me = I.value;
3871
- me && J < a.value - ue && (J = a.value - ue), (!me || re) && (J = k), F.value !== J && (F.value = J, O = v(Math.abs(F.value)), h = O + l.value, (O < s.value || h > c.value - f / 2) && x());
3872
+ me && J < a.value - ue && (J = a.value - ue), (!me || re) && (J = k), F.value !== J && (F.value = J, O = v(Math.abs(F.value)), h = O + l.value, (O < s.value || h > c.value - d / 2) && x());
3872
3873
  }
3873
3874
  function D(U) {
3874
3875
  if (!$.value) {
@@ -3898,9 +3899,9 @@ function Et(e, t, n, o, r, l, f, b) {
3898
3899
  height: `${m.value.length * _}px`,
3899
3900
  width: `${N.value}px`,
3900
3901
  transform: `translateY(${F.value}px)`
3901
- })), ie = B(() => ({
3902
+ })), ae = B(() => ({
3902
3903
  transform: `translateY(${F.value}px)`
3903
- })), le = B(() => ({
3904
+ })), ie = B(() => ({
3904
3905
  height: `${m.value.length * _}px`,
3905
3906
  width: `${u.value}px`,
3906
3907
  transform: `translate(${y.value}px, ${F.value}px)`
@@ -3965,7 +3966,7 @@ function Et(e, t, n, o, r, l, f, b) {
3965
3966
  onMouseDownScrollThumb: he,
3966
3967
  onWheel: X,
3967
3968
  dataGridWidth: g,
3968
- gridDataStyle: le,
3969
+ gridDataStyle: ie,
3969
3970
  gridHeaderColumnsStyle: de,
3970
3971
  gridMergedDataStyle: be,
3971
3972
  gridSideStyle: te,
@@ -3975,7 +3976,7 @@ function Et(e, t, n, o, r, l, f, b) {
3975
3976
  horizontalScrollThumbStyle: qe,
3976
3977
  leftFixedGridDataStyle: ne,
3977
3978
  leftFixedGridHeaderColumnsStyle: ee,
3978
- leftFixedGridMergedDataStyle: ie,
3979
+ leftFixedGridMergedDataStyle: ae,
3979
3980
  reCalculateVisualDataRows: x,
3980
3981
  resetScroll: L,
3981
3982
  rightFixedGridDataStyle: j,
@@ -3988,8 +3989,8 @@ function Et(e, t, n, o, r, l, f, b) {
3988
3989
  offsetY: F
3989
3990
  };
3990
3991
  }
3991
- function Rt(e, t, n, o, r, l, f, b) {
3992
- const m = T(o.value - 1 + r), d = T(0), { renderDataRow: c } = l, s = c, u = c;
3992
+ function Rt(e, t, n, o, r, l, d, b) {
3993
+ const m = T(o.value - 1 + r), f = T(0), { renderDataRow: c } = l, s = c, u = c;
3993
3994
  function N(F) {
3994
3995
  let y = c;
3995
3996
  return F.__fv_data_grid_group_row__ && (y = s), F.__fv_data_grid_group_summary__ && (y = u), y;
@@ -4003,7 +4004,7 @@ function Rt(e, t, n, o, r, l, f, b) {
4003
4004
  x.refreshKey = i, a.push(x);
4004
4005
  }
4005
4006
  }
4006
- return d.value = a.length > 0 ? a[0].index : 0, m.value = a.length > 0 ? a[a.length - 1].index : 0, a;
4007
+ return f.value = a.length > 0 ? a[0].index : 0, m.value = a.length > 0 ? a[a.length - 1].index : 0, a;
4007
4008
  }
4008
4009
  function _(F, y, O) {
4009
4010
  const h = y.groupField || "", { groupValue: g } = y;
@@ -4011,11 +4012,11 @@ function Rt(e, t, n, o, r, l, f, b) {
4011
4012
  const { dataView: a } = n, i = O[0].index, C = Math.min(i + o.value + r + 1, a.value.length - 1);
4012
4013
  return w(i, C);
4013
4014
  }
4014
- return { getVisualData: w, maxVisibleRowIndex: m, minVisibleRowIndex: d, toggleGroupRow: _ };
4015
+ return { getVisualData: w, maxVisibleRowIndex: m, minVisibleRowIndex: f, toggleGroupRow: _ };
4015
4016
  }
4016
4017
  function Bt(e, t, n) {
4017
4018
  var w;
4018
- const o = T(e.mergeCell), l = ((w = T(e.rowOption).value) == null ? void 0 : w.wrapContent) || !1, { updateVisualInfomation: f } = n, { renderCommandColumn: b } = Po();
4019
+ const o = T(e.mergeCell), l = ((w = T(e.rowOption).value) == null ? void 0 : w.wrapContent) || !1, { updateVisualInfomation: d } = n, { renderCommandColumn: b } = Po();
4019
4020
  function m(_, F, y, O, h, g = 1) {
4020
4021
  const a = {
4021
4022
  colSpan: g,
@@ -4027,7 +4028,7 @@ function Bt(e, t, n) {
4027
4028
  parent: h,
4028
4029
  mode: F,
4029
4030
  getEditor: (i) => i.data,
4030
- setRef: (i) => f(i, a, O),
4031
+ setRef: (i) => d(i, a, O),
4031
4032
  update: () => {
4032
4033
  },
4033
4034
  accept: () => {
@@ -4037,8 +4038,8 @@ function Bt(e, t, n) {
4037
4038
  };
4038
4039
  return a;
4039
4040
  }
4040
- function d(_, F, y) {
4041
- return _.getEditor = (O) => t.getEditor(O, F, O.parent), _.setRef = (O) => l && f(O, _, y), _.update = (O) => {
4041
+ function f(_, F, y) {
4042
+ return _.getEditor = (O) => t.getEditor(O, F, O.parent), _.setRef = (O) => l && d(O, _, y), _.update = (O) => {
4042
4043
  O !== void 0 && (_.editingData = O);
4043
4044
  }, _.accept = () => {
4044
4045
  y[F.field] = _.editingData, _.data = y[F.field];
@@ -4065,20 +4066,20 @@ function Bt(e, t, n) {
4065
4066
  }
4066
4067
  function N(_, F, y, O, h) {
4067
4068
  const g = _.readonly ? pe.readonly : pe.editable, a = m(_.field, g, F, y, O);
4068
- return d(a, _, y), c(a, _), u(a, h, _), a;
4069
+ return f(a, _, y), c(a, _), u(a, h, _), a;
4069
4070
  }
4070
4071
  return { createCellByColumn: N, createCellByField: m };
4071
4072
  }
4072
4073
  function Mt(e, t, n, o, r, l) {
4073
4074
  var y, O;
4074
- const f = T(e.rowOption), b = ((y = f.value) == null ? void 0 : y.height) || 28, m = ((O = f.value) == null ? void 0 : O.wrapContent) || !1, { idField: d } = o, { collapseField: c } = n, { updateRowPosition: s } = r, { createCellByColumn: u } = l;
4075
+ const d = T(e.rowOption), b = ((y = d.value) == null ? void 0 : y.height) || 28, m = ((O = d.value) == null ? void 0 : O.wrapContent) || !1, { idField: f } = o, { collapseField: c } = n, { updateRowPosition: s } = r, { createCellByColumn: u } = l;
4075
4076
  function N(h, g, a, i, C, V) {
4076
- var ne;
4077
+ var ne, ae;
4077
4078
  const {
4078
4079
  __fv_data_grid_group_field__: p,
4079
4080
  __fv_data_grid_group_value__: k,
4080
4081
  __fv_data_index__: E
4081
- } = a, S = a.__fv_data_grid_group_layer__ || a.__fv_parents__ ? (ne = a.__fv_parents__) == null ? void 0 : ne.size : 0, v = typeof a.parent == "number" ? Number(a.parent) : -1, x = a.__fv_data_grid_group_collapse__ || a[c.value], I = a.__fv_visible__ === void 0 ? !0 : a.__fv_visible__, $ = a.__fv_checked__, A = a.__fv_indeterminate__, D = i && i[d.value] === a.parent, R = i && i.parent === a.parent, L = D && C && (C.collapse || !C.visible) || R && C && !C.visible, X = {
4082
+ } = a, S = a.__fv_data_grid_group_layer__ || a.__fv_parents__ ? (ne = a.__fv_parents__) == null ? void 0 : ne.size : 0, v = typeof a.parent == "number" ? Number(a.parent) : -1, x = a.__fv_data_grid_group_collapse__ || a[c.value], I = a.__fv_visible__ === void 0 ? !0 : a.__fv_visible__, $ = a.__fv_checked__, A = a.__fv_indeterminate__, D = i && i[f.value] === a.parent, R = i && i.parent === a.parent, L = D && C && (C.collapse || !C.visible) || R && C && !C.visible, X = {
4082
4083
  collapse: x,
4083
4084
  data: {},
4084
4085
  dataIndex: E,
@@ -4099,7 +4100,7 @@ function Mt(e, t, n, o, r, l) {
4099
4100
  visible: I && !L,
4100
4101
  status: ge.initial
4101
4102
  };
4102
- return i || (a.__fv_data_position__ = 0), m || (X.height = b, a.__fv_data_height__ = X.height, s(X, a)), X;
4103
+ return i || (a.__fv_data_position__ = 0), m || (X.height = b, a.__fv_data_height__ = X.height, s(X, a)), (ae = d.value) != null && ae.customRowStatus && (d.value.customRowStatus(X), a.__fv_collapse__ = X.collapse, a.__fv_visible__ = X.visible), X;
4103
4104
  }
4104
4105
  function w(h, g, a, i, C, V) {
4105
4106
  const p = N(Ne.data, C, g, a, i, V);
@@ -4111,7 +4112,7 @@ function Mt(e, t, n, o, r, l) {
4111
4112
  return Object.assign(h, { index: g, dataIndex: a, top: i, pre: C });
4112
4113
  }
4113
4114
  function F(h, g, a, i, C, V) {
4114
- const p = h.__fv_data_index__, k = h[d.value], E = t.getEditingSnapshot(k);
4115
+ const p = h.__fv_data_index__, k = h[f.value], E = t.getEditingSnapshot(k);
4115
4116
  return E === null ? w(V, h, g, a, i, C) : _(E, i, p, C, a);
4116
4117
  }
4117
4118
  return { createEmptyRow: N, createNewRowFromDataItem: w, renderDataRow: F };
@@ -4129,9 +4130,9 @@ function $t(e, t) {
4129
4130
  }, (a) => {
4130
4131
  r.value.editMode = a;
4131
4132
  });
4132
- const f = /* @__PURE__ */ new Map([["boolean", "check-box"], ["datetime", "date-picker"], ["number", "number-spinner"], ["string", "input-group"], ["text", "text"], ["commands", "commands-editor"]]);
4133
+ const d = /* @__PURE__ */ new Map([["boolean", "check-box"], ["datetime", "date-picker"], ["number", "number-spinner"], ["string", "input-group"], ["text", "text"], ["commands", "commands-editor"]]);
4133
4134
  let b, m;
4134
- function d(a) {
4135
+ function f(a) {
4135
4136
  return m && m.raw[n.value] === a ? m : null;
4136
4137
  }
4137
4138
  function c(a) {
@@ -4167,7 +4168,7 @@ function $t(e, t) {
4167
4168
  }
4168
4169
  function h(a, i, C) {
4169
4170
  const V = i.dataType, p = i.editor || {
4170
- type: f.get(V) || "input-group"
4171
+ type: d.get(V) || "input-group"
4171
4172
  };
4172
4173
  return !l.value && p.type === "text" && (p.type = "input-group"), p ? M(Kr, {
4173
4174
  focusOnCreated: e.focusOnEditingCell,
@@ -4182,7 +4183,7 @@ function $t(e, t) {
4182
4183
  onEditingRow: F,
4183
4184
  acceptEditingRow: y,
4184
4185
  cancelEditingRow: O,
4185
- getEditingSnapshot: d,
4186
+ getEditingSnapshot: f,
4186
4187
  getEditor: h
4187
4188
  };
4188
4189
  }
@@ -4199,14 +4200,14 @@ function Pt(e) {
4199
4200
  function jt(e, t, n, o) {
4200
4201
  const { idField: r } = o, {
4201
4202
  currentSelectedDataId: l,
4202
- multiSelectOnClickRow: f,
4203
+ multiSelectOnClickRow: d,
4203
4204
  multiSelectOnClickRowWithShift: b,
4204
4205
  selectItem: m,
4205
- selectedValues: d,
4206
+ selectedValues: f,
4206
4207
  toggleSelectItem: c
4207
4208
  } = n, s = T(0), u = T(-1);
4208
4209
  function N(a) {
4209
- return b.value ? d.value.includes(a.raw[r.value]) : a.raw[r.value] === l.value;
4210
+ return b.value ? f.value.includes(a.raw[r.value]) : a.raw[r.value] === l.value;
4210
4211
  }
4211
4212
  function w(a) {
4212
4213
  var C;
@@ -4242,7 +4243,7 @@ function jt(e, t, n, o) {
4242
4243
  }, 250), s.value > 1 && (t.emit("DoubleClickRow", a.index, a.raw), console.log(`on double click row: ${a.index}`), s.value = 0);
4243
4244
  }
4244
4245
  function y(a, i) {
4245
- b.value && a.shiftKey || f.value ? c(i) : m(i), F(i), a.stopPropagation();
4246
+ b.value && a.shiftKey || d.value ? c(i) : m(i), F(i), a.stopPropagation();
4246
4247
  }
4247
4248
  function O(a, i) {
4248
4249
  u.value = i.index;
@@ -4275,7 +4276,7 @@ function jt(e, t, n, o) {
4275
4276
  };
4276
4277
  }
4277
4278
  function At(e, t, n, o, r) {
4278
- const { idField: l } = n, f = T(""), b = T(e.selection.enableSelectRow ?? !0), m = T(e.selection.multiSelect ?? !1), d = T(e.selection.multiSelectMode), c = T(e.selection.showCheckbox), s = T(e.selection.showSelectAll), u = T(e.selectionValues);
4279
+ const { idField: l } = n, d = T(""), b = T(e.selection.enableSelectRow ?? !0), m = T(e.selection.multiSelect ?? !1), f = T(e.selection.multiSelectMode), c = T(e.selection.showCheckbox), s = T(e.selection.showSelectAll), u = T(e.selectionValues);
4279
4280
  Z(() => e.selection.showSelectAll, (R, L) => {
4280
4281
  R !== L && (s.value = R);
4281
4282
  });
@@ -4288,9 +4289,9 @@ function At(e, t, n, o, r) {
4288
4289
  }
4289
4290
  B(() => b.value && !m.value);
4290
4291
  const _ = B(() => b.value && m.value), F = B(() => !!e.hierarchy), y = B(() => {
4291
- const R = c.value && d.value === "DependOnCheck";
4292
+ const R = c.value && f.value === "DependOnCheck";
4292
4293
  return _.value && R;
4293
- }), O = B(() => _.value && !c.value), h = B(() => _.value && c.value && d.value === "OnCheckAndClick");
4294
+ }), O = B(() => _.value && !c.value), h = B(() => _.value && c.value && f.value === "OnCheckAndClick");
4294
4295
  B(() => h.value);
4295
4296
  function g() {
4296
4297
  const R = t.getSelectionItems(u.value);
@@ -4308,7 +4309,7 @@ function At(e, t, n, o, r) {
4308
4309
  }), Z(() => e.selectionValues, (R) => {
4309
4310
  u.value = R, a();
4310
4311
  }, { immediate: !0 }), Z(() => e.selection, (R) => {
4311
- b.value = !!R.enableSelectRow, m.value = !!R.multiSelect, d.value = R.multiSelectMode || "DependOnCheck", c.value = !!R.showCheckbox;
4312
+ b.value = !!R.enableSelectRow, m.value = !!R.multiSelect, f.value = R.multiSelectMode || "DependOnCheck", c.value = !!R.showCheckbox;
4312
4313
  });
4313
4314
  const i = B(() => !m.value);
4314
4315
  function C(R) {
@@ -4328,11 +4329,11 @@ function At(e, t, n, o, r) {
4328
4329
  const L = R.raw;
4329
4330
  L.__fv_checked__ = !0, L.__fv_indeterminate__ = !1;
4330
4331
  const X = new Set(u.value);
4331
- X.add(L[l.value]), u.value = Array.from(X.values()), R.checked = !0, R.indeterminate = !1, f.value = R.raw[l.value];
4332
+ X.add(L[l.value]), u.value = Array.from(X.values()), R.checked = !0, R.indeterminate = !1, d.value = R.raw[l.value];
4332
4333
  }
4333
4334
  function E(R) {
4334
4335
  const L = R.raw;
4335
- L.__fv_checked__ = !1, L.__fv_indeterminate__ = !1, u.value = u.value.filter((X) => X !== L[l.value]), R.checked = !1, R.indeterminate = !1, f.value = "";
4336
+ L.__fv_checked__ = !1, L.__fv_indeterminate__ = !1, u.value = u.value.filter((X) => X !== L[l.value]), R.checked = !1, R.indeterminate = !1, d.value = "";
4336
4337
  }
4337
4338
  function S(R) {
4338
4339
  const L = R.raw;
@@ -4342,7 +4343,7 @@ function At(e, t, n, o, r) {
4342
4343
  i.value && p(), R.checked ? E(R) : k(R), g();
4343
4344
  }
4344
4345
  function x(R) {
4345
- R.raw[l.value] !== f.value && (p(), k(R), g());
4346
+ R.raw[l.value] !== d.value && (p(), k(R), g());
4346
4347
  }
4347
4348
  function I(R) {
4348
4349
  const L = o.value.find((X) => X.raw[l.value] === R);
@@ -4352,17 +4353,17 @@ function At(e, t, n, o, r) {
4352
4353
  o.value.forEach((R) => k(R)), g();
4353
4354
  }
4354
4355
  function A() {
4355
- u.value.splice(0, u.value.length), f.value = "", o.value.forEach((R) => {
4356
+ u.value.splice(0, u.value.length), d.value = "", o.value.forEach((R) => {
4356
4357
  const L = R.raw;
4357
4358
  L.__fv_checked__ = !1, L.__fv_indeterminate__ = !1, R.checked = !1, R.indeterminate = !1;
4358
4359
  }), g();
4359
4360
  }
4360
4361
  function D() {
4361
- return o.value.find((R) => R.raw[l.value] === f.value);
4362
+ return o.value.find((R) => R.raw[l.value] === d.value);
4362
4363
  }
4363
4364
  return {
4364
4365
  clearSelection: p,
4365
- currentSelectedDataId: f,
4366
+ currentSelectedDataId: d,
4366
4367
  enableMultiSelect: m,
4367
4368
  enableSelectRow: b,
4368
4369
  findIndexInSelectedItems: V,
@@ -4370,7 +4371,7 @@ function At(e, t, n, o, r) {
4370
4371
  getSelectionRow: D,
4371
4372
  indeterminate: S,
4372
4373
  isSelectingHirarchyItem: F,
4373
- multiSelectMode: d,
4374
+ multiSelectMode: f,
4374
4375
  multiSelectOnClickRow: h,
4375
4376
  multiSelectOnClickRowWithShift: O,
4376
4377
  multiSelectOnlyOnCheck: y,
@@ -4387,14 +4388,14 @@ function At(e, t, n, o, r) {
4387
4388
  };
4388
4389
  }
4389
4390
  function Dt(e) {
4390
- var b, m, d, c;
4391
+ var b, m, f, c;
4391
4392
  const t = B(() => {
4392
4393
  var s;
4393
4394
  return (s = e.pagination) == null ? void 0 : s.enable;
4394
- }), n = T(((b = e.pagination) == null ? void 0 : b.index) || 1), o = T((m = e.pagination) == null ? void 0 : m.size), r = T((d = e.pagination) == null ? void 0 : d.sizeLimits), l = B(() => {
4395
+ }), n = T(((b = e.pagination) == null ? void 0 : b.index) || 1), o = T((m = e.pagination) == null ? void 0 : m.size), r = T((f = e.pagination) == null ? void 0 : f.sizeLimits), l = B(() => {
4395
4396
  var s;
4396
4397
  return ((s = e.pagination) == null ? void 0 : s.total) || e.data.length;
4397
- }), f = T((c = e.pagination) == null ? void 0 : c.mode);
4398
+ }), d = T((c = e.pagination) == null ? void 0 : c.mode);
4398
4399
  return Z(() => {
4399
4400
  var s;
4400
4401
  return (s = e.pagination) == null ? void 0 : s.sizeLimits;
@@ -4409,14 +4410,14 @@ function Dt(e) {
4409
4410
  pageList: r,
4410
4411
  total: l,
4411
4412
  shouldRenderPagination: t,
4412
- mode: f
4413
+ mode: d
4413
4414
  };
4414
4415
  }
4415
4416
  function pa(e) {
4416
- const t = "parent", n = "layer", o = "hasChildren", r = (l, f = 1, b = [], m = null) => (l = l || [], l.reduce((d, c) => (c.id = c.id || c.data[e.idField], c.data[t] = m, c.data[n] = f, c.data[o] = !1, d.push(c.data), c.children && c.children.length && (c.data[o] = !0, r(c.children, f + 1, b, c.id)), d), b), b);
4417
+ const t = "parent", n = "layer", o = "hasChildren", r = (l, d = 1, b = [], m = null) => (l = l || [], l.reduce((f, c) => (c.id = c.id || c.data[e.idField], c.data[t] = m, c.data[n] = d, c.data[o] = !1, f.push(c.data), c.children && c.children.length && (c.data[o] = !0, r(c.children, d + 1, b, c.id)), f), b), b);
4417
4418
  return { flatTreeData: r };
4418
4419
  }
4419
- function Ht(e, t, n, o, r, l, f, b, m, d, c, s, u) {
4420
+ function Ht(e, t, n, o, r, l, d, b, m, f, c, s, u) {
4420
4421
  const {
4421
4422
  calculateCellPositionInRow: N
4422
4423
  } = o, {
@@ -4425,7 +4426,7 @@ function Ht(e, t, n, o, r, l, f, b, m, d, c, s, u) {
4425
4426
  gridDataStyle: _
4426
4427
  } = u, {
4427
4428
  renderDataRow: F
4428
- } = $o(e, t, w, n, l, f, b, m, d, c);
4429
+ } = $o(e, t, w, n, l, d, b, m, f, c);
4429
4430
  function y() {
4430
4431
  const h = N(w.value.primaryColumns);
4431
4432
  return n.value.filter((g) => g.visible !== !1).map((g) => F(g, h));
@@ -4445,7 +4446,7 @@ const He = /* @__PURE__ */ ye({
4445
4446
  props: tt,
4446
4447
  emits: ["outputValue", "currentEvent", "selectionChange"],
4447
4448
  setup(e, t) {
4448
- const n = T(), o = T(!1), r = T([]), l = Pt(e), f = Nt(e), b = Dt(e), m = It(e, /* @__PURE__ */ new Map(), f, l, b), d = At(e, m, l, r, t), c = Vt(e, r, l, d, t), s = B(() => ({
4449
+ const n = T(), o = T(!1), r = T([]), l = Pt(e), d = Nt(e), b = Dt(e), m = It(e, /* @__PURE__ */ new Map(), d, l, b), f = At(e, m, l, r, t), c = Vt(e, r, l, f, t), s = B(() => ({
4449
4450
  "fv-tree": !0
4450
4451
  })), u = B(() => ({
4451
4452
  "fv-tree-content": !0
@@ -4462,15 +4463,15 @@ const He = /* @__PURE__ */ ye({
4462
4463
  }
4463
4464
  const y = T(e.columns), O = vt(e), {
4464
4465
  columnContext: h
4465
- } = O, g = 0, a = 100, i = B(() => Math.min(m.dataView.value.length, a)), C = $t(e, l), V = ot(), p = Bt(e, {}, V), k = Mt(e, C, f, l, V, p), E = Rt(e, y, m, i, g, k), {
4466
+ } = O, g = 0, a = 100, i = B(() => Math.min(m.dataView.value.length, a)), C = $t(e, l), V = ot(), p = Bt(e, {}, V), k = Mt(e, C, d, l, V, p), E = Rt(e, y, m, i, g, k), {
4466
4467
  getVisualData: S
4467
4468
  } = E, v = nt(e, h);
4468
4469
  r.value = S(0, i.value + g - 1);
4469
- const x = jt(e, t, d, l), I = Et(e, m, r, h, E, i, g, T(0)), {
4470
+ const x = jt(e, t, f, l), I = Et(e, m, r, h, E, i, g, T(0)), {
4470
4471
  renderTreeArea: $
4471
- } = Ht(e, t, r, v, O, m, C, f, x, d, c, E, I);
4472
+ } = Ht(e, t, r, v, O, m, C, d, x, f, c, E, I);
4472
4473
  function A() {
4473
- const j = d.getSelectionRow();
4474
+ const j = f.getSelectionRow();
4474
4475
  return j ? j.dataIndex - 1 : -1;
4475
4476
  }
4476
4477
  function D() {
@@ -4483,27 +4484,27 @@ const He = /* @__PURE__ */ ye({
4483
4484
  }
4484
4485
  function L() {
4485
4486
  const j = A(), H = c.getNextSelectableHierarchyItemId(j);
4486
- m.removeHierarchyDataItem(j), r.value = S(0, i.value + g - 1), H && d.selectItemById(H);
4487
+ m.removeHierarchyDataItem(j), r.value = S(0, i.value + g - 1), H && f.selectItemById(H);
4487
4488
  }
4488
4489
  function X(j, H) {
4489
4490
  m.editDataItem(j, H), r.value = S(0, i.value + g - 1);
4490
4491
  }
4491
4492
  function ne() {
4492
4493
  }
4493
- function ie() {
4494
+ function ae() {
4494
4495
  }
4495
- function le(j) {
4496
+ function ie(j) {
4496
4497
  if (j > -1) {
4497
4498
  const H = r.value[j];
4498
- H && d.selectItem(H);
4499
+ H && f.selectItem(H);
4499
4500
  }
4500
4501
  }
4501
4502
  function be(j) {
4502
4503
  if (j) {
4503
- const H = d.getSelectionRow();
4504
+ const H = f.getSelectionRow();
4504
4505
  if (m.load(j), r.value = S(0, i.value + g - 1), H && H.raw && H.raw.originalId) {
4505
4506
  const te = j.findIndex((ee) => ee.originalId === H.raw.originalId);
4506
- te > -1 && le(te);
4507
+ te > -1 && ie(te);
4507
4508
  }
4508
4509
  }
4509
4510
  }
@@ -4513,14 +4514,14 @@ const He = /* @__PURE__ */ ye({
4513
4514
  removeDataItem: L,
4514
4515
  editDataItem: X,
4515
4516
  acceptDataItem: ne,
4516
- cancelDataItem: ie,
4517
- selectItem: le,
4517
+ cancelDataItem: ae,
4518
+ selectItem: ie,
4518
4519
  updateDataSource: be
4519
4520
  }), Z(() => [e.data], ([j]) => {
4520
- const H = d.getSelectionRow();
4521
+ const H = f.getSelectionRow();
4521
4522
  if (m.load(j), r.value = S(0, i.value + g - 1), H && H.raw && H.raw.originalId) {
4522
4523
  const te = j.findIndex((ee) => ee.originalId === H.raw.originalId);
4523
- te > -1 && le(te);
4524
+ te > -1 && ie(te);
4524
4525
  }
4525
4526
  }), () => M("div", {
4526
4527
  class: s.value,
@@ -4544,7 +4545,7 @@ const He = /* @__PURE__ */ ye({
4544
4545
  setup(e, t) {
4545
4546
  const n = T(), o = en("design-item-context"), r = wr(n, o);
4546
4547
  T(e.idField);
4547
- const l = T(), f = T(!1), b = T([]), m = Nt(e), d = Pt(e), c = Dt(e), s = It(e, /* @__PURE__ */ new Map(), m, d, c), u = At(e, s, d, b, t), N = Vt(e, b, d, u, t), w = B(() => ({
4548
+ const l = T(), d = T(!1), b = T([]), m = Nt(e), f = Pt(e), c = Dt(e), s = It(e, /* @__PURE__ */ new Map(), m, f, c), u = At(e, s, f, b, t), N = Vt(e, b, f, u, t), w = B(() => ({
4548
4549
  "fv-tree": !0
4549
4550
  })), _ = B(() => ({
4550
4551
  "fv-tree-content": !0
@@ -4561,11 +4562,11 @@ const He = /* @__PURE__ */ ye({
4561
4562
  }
4562
4563
  const g = T(e.columns), a = vt(e), {
4563
4564
  columnContext: i
4564
- } = a, C = 0, V = B(() => s.dataView.value.length), p = $t(e, d), k = ot(), E = Bt(e, {}, k), S = Mt(e, p, m, d, k, E), v = Rt(e, g, s, V, C, S), {
4565
+ } = a, C = 0, V = B(() => s.dataView.value.length), p = $t(e, f), k = ot(), E = Bt(e, {}, k), S = Mt(e, p, m, f, k, E), v = Rt(e, g, s, V, C, S), {
4565
4566
  getVisualData: x
4566
4567
  } = v, I = nt(e, i);
4567
4568
  b.value = x(0, V.value + C - 1);
4568
- const $ = jt(e, t, u, d), A = Et(e, s, b, i, v, V, C, T(0)), {
4569
+ const $ = jt(e, t, u, f), A = Et(e, s, b, i, v, V, C, T(0)), {
4569
4570
  renderTreeArea: D
4570
4571
  } = Ht(e, t, b, I, a, s, p, m, $, u, N, v, A);
4571
4572
  return t.expose(r.value), () => M("div", {
@@ -4576,10 +4577,10 @@ const He = /* @__PURE__ */ ye({
4576
4577
  ref: l,
4577
4578
  class: _.value,
4578
4579
  onMouseover: () => {
4579
- f.value = !0;
4580
+ d.value = !0;
4580
4581
  },
4581
4582
  onMouseleave: () => {
4582
- f.value = !1;
4583
+ d.value = !1;
4583
4584
  }
4584
4585
  }, [D(), O(), h()])]);
4585
4586
  }