@farris/ui-vue 1.8.1 → 1.8.4

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 (41) hide show
  1. package/components/batch-editor/index.esm.js +7332 -7299
  2. package/components/batch-editor/index.umd.cjs +22 -22
  3. package/components/button/index.esm.js +7334 -7301
  4. package/components/button/index.umd.cjs +22 -22
  5. package/components/collection-property-editor/index.esm.js +2 -2
  6. package/components/collection-property-editor/index.umd.cjs +1 -1
  7. package/components/component/index.esm.js +880 -874
  8. package/components/component/index.umd.cjs +2 -2
  9. package/components/data-grid/index.esm.js +841 -835
  10. package/components/data-grid/index.umd.cjs +2 -2
  11. package/components/data-view/index.esm.js +14551 -14472
  12. package/components/data-view/index.umd.cjs +27 -27
  13. package/components/designer-canvas/index.esm.js +820 -814
  14. package/components/designer-canvas/index.umd.cjs +1 -1
  15. package/components/mapping-editor/index.esm.js +848 -842
  16. package/components/mapping-editor/index.umd.cjs +2 -2
  17. package/components/popover/index.esm.js +264 -243
  18. package/components/popover/index.umd.cjs +1 -1
  19. package/components/tree-grid/index.esm.js +315 -309
  20. package/components/tree-grid/index.umd.cjs +1 -1
  21. package/designer/data-grid/index.esm.js +8304 -8257
  22. package/designer/data-grid/index.umd.cjs +26 -26
  23. package/designer/farris-designer.all.esm.js +3235 -3223
  24. package/designer/farris-designer.all.umd.cjs +14 -14
  25. package/designer/radio-group/index.esm.js +80 -62
  26. package/designer/radio-group/index.umd.cjs +2 -2
  27. package/designer/tabs/index.esm.js +830 -824
  28. package/designer/tabs/index.umd.cjs +2 -2
  29. package/designer/tree-grid/index.esm.js +348 -342
  30. package/designer/tree-grid/index.umd.cjs +1 -1
  31. package/farris.all.esm.js +18919 -18822
  32. package/farris.all.umd.cjs +39 -39
  33. package/package.json +1 -1
  34. package/types/data-view/components/column-header/column-header.component.d.ts +2 -2
  35. package/types/data-view/composition/column/persist-column-widths.d.ts +15 -0
  36. package/types/data-view/composition/column/use-resize.d.ts +3 -2
  37. package/types/data-view/index.d.ts +1 -0
  38. package/types/popover/src/composition/measure-host.d.ts +10 -5
  39. package/types/popover/src/composition/types.d.ts +2 -2
  40. package/types/popover/src/composition/use-host.d.ts +1 -2
  41. package/types/radio-group/src/property-config/radio-group.property-config.d.ts +21 -0
@@ -1,25 +1,25 @@
1
- import { useCommonUtils as Ft, resolveField as yn, getCustomClass as pn, withInstall as Cn } from "../common/index.esm.js";
2
- import { ref as de, computed as ne, reactive as nt, watch as Le, createVNode as f, isVNode as dt, Comment as xt, Fragment as ot, createTextVNode as Je, defineComponent as Tt, onMounted as hn, nextTick as bn, onUnmounted as Sn, provide as wn, getCurrentInstance as Fn } from "vue";
3
- import { useResizeObserver as xn } from "@vueuse/core";
4
- import { isPlainObject as bt, cloneDeep as St } from "lodash-es";
5
- import { SETTING_COLUMN_FIELD as Tn, COMMAND_COLUMN_FIELD as On, CellMode as Ot, SETTING_COLUMN_DATA_TYPE as _e, COMMAND_COLUMN_DATA_TYPE as He, useScreen as kn, useIdentify as Bn, useGroupData as En, useFilter as Pn, useHierarchy as Dn, useLoading as In, useDataView as Mn, usePagination as Gn, useSelection as Nn, useDataViewContainerStyle as jn, useCommandColumn as Vn, useSettingColumn as An, useColumn as zn, useSort as _n, useGroupColumn as Hn, useRow as Ln, useEdit as Wn, useVisualDataBound as Rn, useVisualDataCell as $n, useVisualDataRow as Un, useVisualGroupRow as Yn, useVisualSummaryRow as qn, useVisualData as Xn, useCellContentStyle as Jn, useCellPosition as Qn, useSidebar as Zn, useVirtualScroll as Kn, useFitColumn as eo, useFilterHistory as to, useColumnFilter as no, useDragColumn as oo, getColumnHeader as ro, getPagination as io, getSidebar as lo, getDisableMask as ao, getSummary as uo, getHorizontalScrollbar as so, getVerticalScrollbar as co, getFilterPanel as fo, getGroupPanel as mo, useAdapt as vo, useNavigation as go, getEmpty as yo, ColumnSettingSolution as po, refreshScrollAfterDataSourceLoad as Co } from "../data-view/index.esm.js";
6
- import ho, { FDynamicForm as bo, FDynamicFormLabel as So } from "../dynamic-form/index.esm.js";
7
- import { FButton as wt } from "../button/index.esm.js";
8
- import wo from "../drawer/index.esm.js";
9
- function kt(e, t) {
10
- let i;
1
+ import { useCommonUtils as xt, resolveField as Cn, getCustomClass as hn, withInstall as bn } from "../common/index.esm.js";
2
+ import { ref as de, computed as oe, reactive as it, watch as We, createVNode as f, isVNode as st, Comment as Tt, Fragment as rt, createTextVNode as Je, defineComponent as Ot, onMounted as Sn, nextTick as wn, onUnmounted as Fn, provide as xn, getCurrentInstance as Tn } from "vue";
3
+ import { useResizeObserver as On } from "@vueuse/core";
4
+ import { isPlainObject as St, cloneDeep as wt } from "lodash-es";
5
+ import { SETTING_COLUMN_FIELD as kn, COMMAND_COLUMN_FIELD as Bn, CellMode as kt, SETTING_COLUMN_DATA_TYPE as _e, COMMAND_COLUMN_DATA_TYPE as He, useScreen as En, useIdentify as Pn, useGroupData as Dn, useFilter as In, useHierarchy as Mn, useLoading as Gn, useDataView as Nn, usePagination as jn, useSelection as Vn, useDataViewContainerStyle as An, useCommandColumn as zn, useSettingColumn as _n, useColumn as Hn, useSort as Wn, useGroupColumn as Ln, useRow as Rn, useEdit as $n, useVisualDataBound as Un, useVisualDataCell as Yn, useVisualDataRow as qn, useVisualGroupRow as Xn, useVisualSummaryRow as Jn, useVisualData as Qn, useCellContentStyle as Zn, useCellPosition as Kn, useSidebar as eo, useVirtualScroll as to, useFitColumn as no, useFilterHistory as oo, useColumnFilter as io, useDragColumn as ro, getColumnHeader as lo, getPagination as ao, getSidebar as uo, getDisableMask as so, getSummary as co, getHorizontalScrollbar as fo, getVerticalScrollbar as mo, getFilterPanel as vo, getGroupPanel as go, useAdapt as yo, useNavigation as po, getEmpty as Co, ColumnSettingSolution as ho, refreshScrollAfterDataSourceLoad as bo } from "../data-view/index.esm.js";
6
+ import So, { FDynamicForm as wo, FDynamicFormLabel as Fo } from "../dynamic-form/index.esm.js";
7
+ import { FButton as Ft } from "../button/index.esm.js";
8
+ import xo from "../drawer/index.esm.js";
9
+ function Bt(e, t) {
10
+ let r;
11
11
  function u(d) {
12
- const { properties: C, title: p, ignore: a } = d, c = a && Array.isArray(a), h = Object.keys(C).reduce((g, E) => ((!c || !a.find((U) => U === E)) && (g[E] = C[E].type === "object" && C[E].properties ? u(C[E]) : St(C[E].default)), g), {});
13
- if (p && (!c || !a.find((g) => g === "id"))) {
14
- const g = p.toLowerCase().replace(/-/g, "_");
15
- h.id = `${g}_${Math.random().toString().slice(2, 6)}`;
12
+ const { properties: C, title: p, ignore: a } = d, c = a && Array.isArray(a), h = Object.keys(C).reduce((y, E) => ((!c || !a.find((U) => U === E)) && (y[E] = C[E].type === "object" && C[E].properties ? u(C[E]) : wt(C[E].default)), y), {});
13
+ if (p && (!c || !a.find((y) => y === "id"))) {
14
+ const y = p.toLowerCase().replace(/-/g, "_");
15
+ h.id = `${y}_${Math.random().toString().slice(2, 6)}`;
16
16
  }
17
17
  return h;
18
18
  }
19
- function F(d) {
19
+ function x(d) {
20
20
  const { properties: C, title: p, required: a } = d;
21
21
  if (a && Array.isArray(a)) {
22
- const c = a.reduce((h, g) => (h[g] = C[g].type === "object" && C[g].properties ? u(C[g]) : St(C[g].default), h), {});
22
+ const c = a.reduce((h, y) => (h[y] = C[y].type === "object" && C[y].properties ? u(C[y]) : wt(C[y].default), h), {});
23
23
  if (p && a.find((h) => h === "id")) {
24
24
  const h = p.toLowerCase().replace(/-/g, "_");
25
25
  c.id = `${h}_${Math.random().toString().slice(2, 6)}`;
@@ -33,25 +33,25 @@ function kt(e, t) {
33
33
  function N(d, C = {}, p) {
34
34
  const a = e[d];
35
35
  if (a) {
36
- let c = F(a);
36
+ let c = x(a);
37
37
  const h = t[d];
38
- return c = h ? h({ getSchemaByType: N }, c, C, p) : c, i != null && i.appendIdentifyForNewControl && i.appendIdentifyForNewControl(c), c;
38
+ return c = h ? h({ getSchemaByType: N }, c, C, p) : c, r != null && r.appendIdentifyForNewControl && r.appendIdentifyForNewControl(c), c;
39
39
  }
40
40
  return null;
41
41
  }
42
42
  function A(d, C) {
43
43
  const p = u(C);
44
- return Object.keys(p).reduce((a, c) => (Object.prototype.hasOwnProperty.call(d, c) && (a[c] && bt(a[c]) && bt(d[c] || !d[c]) ? Object.assign(a[c], d[c] || {}) : a[c] = d[c]), a), p), p;
44
+ return Object.keys(p).reduce((a, c) => (Object.prototype.hasOwnProperty.call(d, c) && (a[c] && St(a[c]) && St(d[c] || !d[c]) ? Object.assign(a[c], d[c] || {}) : a[c] = d[c]), a), p), p;
45
45
  }
46
- function L(d, C) {
46
+ function W(d, C) {
47
47
  return Object.keys(d).filter((a) => d[a] != null).reduce((a, c) => {
48
48
  if (C.has(c)) {
49
49
  const h = C.get(c);
50
50
  if (typeof h == "string")
51
51
  a[h] = d[c];
52
52
  else {
53
- const g = h(c, d[c], d);
54
- Object.assign(a, g);
53
+ const y = h(c, d[c], d);
54
+ Object.assign(a, y);
55
55
  }
56
56
  } else
57
57
  a[c] = d[c];
@@ -60,9 +60,9 @@ function kt(e, t) {
60
60
  }
61
61
  function z(d, C, p = /* @__PURE__ */ new Map()) {
62
62
  const a = A(d, C);
63
- return L(a, p);
63
+ return W(a, p);
64
64
  }
65
- function x(d) {
65
+ function T(d) {
66
66
  var p;
67
67
  const C = d.type;
68
68
  if (C) {
@@ -71,7 +71,7 @@ function kt(e, t) {
71
71
  return d;
72
72
  const c = A(d, a), h = ((p = d.editor) == null ? void 0 : p.type) || "";
73
73
  if (h) {
74
- const g = e[h], E = A(d.editor, g);
74
+ const y = e[h], E = A(d.editor, y);
75
75
  c.editor = E;
76
76
  }
77
77
  return c;
@@ -79,78 +79,78 @@ function kt(e, t) {
79
79
  return d;
80
80
  }
81
81
  function b(d) {
82
- i = d;
82
+ r = d;
83
83
  }
84
- return { getSchemaByType: N, resolveSchemaWithDefaultValue: x, resolveSchemaToProps: z, mappingSchemaToProps: L, setDesignerContext: b };
84
+ return { getSchemaByType: N, resolveSchemaWithDefaultValue: T, resolveSchemaToProps: z, mappingSchemaToProps: W, setDesignerContext: b };
85
85
  }
86
- const Fo = {}, xo = {}, { resolveSchemaWithDefaultValue: To } = kt(Fo, xo);
87
- function Oo(e = {}) {
88
- function t(x, b, d, C) {
86
+ const To = {}, Oo = {}, { resolveSchemaWithDefaultValue: ko } = Bt(To, Oo);
87
+ function Bo(e = {}) {
88
+ function t(T, b, d, C) {
89
89
  if (typeof d == "number")
90
- return C[x].length === d;
90
+ return C[T].length === d;
91
91
  if (typeof d == "object") {
92
92
  const p = Object.keys(d)[0], a = d[p];
93
93
  if (p === "not")
94
- return Number(C[x].length) !== Number(a);
94
+ return Number(C[T].length) !== Number(a);
95
95
  if (p === "moreThan")
96
- return Number(C[x].length) >= Number(a);
96
+ return Number(C[T].length) >= Number(a);
97
97
  if (p === "lessThan")
98
- return Number(C[x].length) <= Number(a);
98
+ return Number(C[T].length) <= Number(a);
99
99
  }
100
100
  return !1;
101
101
  }
102
- function i(x, b, d, C) {
103
- return C[x] && C[x].propertyValue && String(C[x].propertyValue.value) === String(d);
102
+ function r(T, b, d, C) {
103
+ return C[T] && C[T].propertyValue && String(C[T].propertyValue.value) === String(d);
104
104
  }
105
105
  const u = /* @__PURE__ */ new Map([
106
106
  ["length", t],
107
- ["getProperty", i]
107
+ ["getProperty", r]
108
108
  ]);
109
- Object.keys(e).reduce((x, b) => (x.set(b, e[b]), x), u);
110
- function F(x, b) {
111
- const d = x;
112
- return typeof b == "number" ? [{ target: d, operator: "length", param: null, value: Number(b) }] : typeof b == "boolean" ? [{ target: d, operator: "getProperty", param: x, value: !!b }] : typeof b == "object" ? Object.keys(b).map((C) => {
109
+ Object.keys(e).reduce((T, b) => (T.set(b, e[b]), T), u);
110
+ function x(T, b) {
111
+ const d = T;
112
+ return typeof b == "number" ? [{ target: d, operator: "length", param: null, value: Number(b) }] : typeof b == "boolean" ? [{ target: d, operator: "getProperty", param: T, value: !!b }] : typeof b == "object" ? Object.keys(b).map((C) => {
113
113
  if (C === "length")
114
114
  return { target: d, operator: "length", param: null, value: b[C] };
115
115
  const p = C, a = b[C];
116
116
  return { target: d, operator: "getProperty", param: p, value: a };
117
117
  }) : [];
118
118
  }
119
- function N(x) {
120
- return Object.keys(x).reduce((d, C) => {
121
- const p = F(C, x[C]);
119
+ function N(T) {
120
+ return Object.keys(T).reduce((d, C) => {
121
+ const p = x(C, T[C]);
122
122
  return d.push(...p), d;
123
123
  }, []);
124
124
  }
125
- function A(x, b) {
126
- if (u.has(x.operator)) {
127
- const d = u.get(x.operator);
128
- return d && d(x.target, x.param, x.value, b) || !1;
125
+ function A(T, b) {
126
+ if (u.has(T.operator)) {
127
+ const d = u.get(T.operator);
128
+ return d && d(T.target, T.param, T.value, b) || !1;
129
129
  }
130
130
  return !1;
131
131
  }
132
- function L(x, b) {
133
- return N(x).reduce((p, a) => p && A(a, b), !0);
132
+ function W(T, b) {
133
+ return N(T).reduce((p, a) => p && A(a, b), !0);
134
134
  }
135
- function z(x, b) {
136
- const d = Object.keys(x), C = d.includes("allOf"), p = d.includes("anyOf"), a = C || p, g = (a ? x[a ? C ? "allOf" : "anyOf" : "allOf"] : [x]).map((U) => L(U, b));
137
- return C ? !g.includes(!1) : g.includes(!0);
135
+ function z(T, b) {
136
+ const d = Object.keys(T), C = d.includes("allOf"), p = d.includes("anyOf"), a = C || p, y = (a ? T[a ? C ? "allOf" : "anyOf" : "allOf"] : [T]).map((U) => W(U, b));
137
+ return C ? !y.includes(!1) : y.includes(!0);
138
138
  }
139
139
  return { parseValueSchema: z };
140
140
  }
141
- const ko = {
142
- convertTo: (e, t, i, u) => {
143
- e.appearance || (e.appearance = {}), e.appearance[t] = i;
144
- },
145
- convertFrom: (e, t, i) => e.appearance ? e.appearance[t] : e[t]
146
- }, Bo = {
147
- convertFrom: (e, t, i) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
148
- }, Eo = {
149
- convertTo: (e, t, i, u) => {
150
- e.editor && (e.editor[t] = i);
141
+ const Eo = {
142
+ convertTo: (e, t, r, u) => {
143
+ e.appearance || (e.appearance = {}), e.appearance[t] = r;
151
144
  },
152
- convertFrom: (e, t, i) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
145
+ convertFrom: (e, t, r) => e.appearance ? e.appearance[t] : e[t]
153
146
  }, Po = {
147
+ convertFrom: (e, t, r) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
148
+ }, Do = {
149
+ convertTo: (e, t, r, u) => {
150
+ e.editor && (e.editor[t] = r);
151
+ },
152
+ convertFrom: (e, t, r) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
153
+ }, Io = {
154
154
  button: { type: "button", name: "按钮" },
155
155
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
156
156
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -215,24 +215,24 @@ const ko = {
215
215
  "wizard-page-detail": { type: "wizard-page-detail", name: "向导详情", icon: "wizard" },
216
216
  step: { type: "step", name: "步骤条", icon: "step" },
217
217
  "dynamic-form": { type: "dynamic-form", name: "动态表单" }
218
- }, Do = {
219
- convertFrom: (e, t, i) => {
220
- var F;
218
+ }, Mo = {
219
+ convertFrom: (e, t, r) => {
220
+ var x;
221
221
  const u = e.editor && e.editor[t] ? e.editor[t] : e[t];
222
- return ((F = Po[u]) == null ? void 0 : F.name) || u;
222
+ return ((x = Io[u]) == null ? void 0 : x.name) || u;
223
223
  }
224
- }, Io = {
225
- convertTo: (e, t, i, u) => {
224
+ }, Go = {
225
+ convertTo: (e, t, r, u) => {
226
226
  e[t] = e[t];
227
227
  },
228
- convertFrom: (e, t, i) => e.editor ? i.getRealEditorType(e.editor.type) : ""
229
- }, Mo = {
230
- convertTo: (e, t, i, u) => {
231
- (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = i : e.formatter = {
232
- [t]: i
228
+ convertFrom: (e, t, r) => e.editor ? r.getRealEditorType(e.editor.type) : ""
229
+ }, No = {
230
+ convertTo: (e, t, r, u) => {
231
+ (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e.formatter ? e.formatter[t] = r : e.formatter = {
232
+ [t]: r
233
233
  });
234
234
  },
235
- convertFrom: (e, t, i) => {
235
+ convertFrom: (e, t, r) => {
236
236
  if (e.formatter) {
237
237
  if (t === "trueText")
238
238
  return e.formatter.trueText;
@@ -257,11 +257,11 @@ const ko = {
257
257
  }
258
258
  return "none";
259
259
  }
260
- }, Go = {
261
- convertTo: (e, t, i, u) => {
262
- e.command ? e.command[t] = i : e.command = {
263
- [t]: i
264
- }, t === "enableType" && i === "default" && (e.command.enable = !0, e.command.formatter = "", e.command.commands = [
260
+ }, jo = {
261
+ convertTo: (e, t, r, u) => {
262
+ e.command ? e.command[t] = r : e.command = {
263
+ [t]: r
264
+ }, t === "enableType" && r === "default" && (e.command.enable = !0, e.command.formatter = "", e.command.commands = [
265
265
  {
266
266
  text: "编辑",
267
267
  type: "primary",
@@ -272,7 +272,7 @@ const ko = {
272
272
  type: "danger",
273
273
  command: "remove"
274
274
  }
275
- ]), t === "enableType" && i === "custom" && (e.command.enable = !0, e.command.commands = [
275
+ ]), t === "enableType" && r === "custom" && (e.command.enable = !0, e.command.commands = [
276
276
  {
277
277
  value: "add",
278
278
  text: "增加",
@@ -288,15 +288,15 @@ const ko = {
288
288
  text: "删除",
289
289
  type: "link"
290
290
  }
291
- ]), t === "enableType" && i === "unable" && (e.command.enable = !1, e.command.formatter = "");
291
+ ]), t === "enableType" && r === "unable" && (e.command.enable = !1, e.command.formatter = "");
292
292
  },
293
- convertFrom: (e, t, i) => {
294
- var u, F;
293
+ convertFrom: (e, t, r) => {
294
+ var u, x;
295
295
  if (e.command) {
296
296
  if (t === "enableType") {
297
297
  if (e.command.enableType)
298
298
  return e.command.enableType;
299
- const N = (F = (u = e.command) == null ? void 0 : u.commands) == null ? void 0 : F.find((A) => A.command === "edit" && A.type === "primary");
299
+ const N = (x = (u = e.command) == null ? void 0 : u.commands) == null ? void 0 : x.find((A) => A.command === "edit" && A.type === "primary");
300
300
  return e.command.enable ? N ? "default" : "custom" : "unable";
301
301
  }
302
302
  if (t === "commands")
@@ -310,19 +310,19 @@ const ko = {
310
310
  }
311
311
  return "";
312
312
  }
313
- }, No = {
314
- convertTo: (e, t, i, u) => {
313
+ }, Vo = {
314
+ convertTo: (e, t, r, u) => {
315
315
  if (e.column || (e.column = {}), t === "fitMode") {
316
- i && i !== "none" ? (e.column.fitColumns = !0, e.column.fitMode = i) : (e.column.fitColumns = !1, e.column.fitMode = "average");
316
+ r && r !== "none" ? (e.column.fitColumns = !0, e.column.fitMode = r) : (e.column.fitColumns = !1, e.column.fitMode = "average");
317
317
  return;
318
318
  }
319
319
  if (t === "fitColumns") {
320
- e.column.fitColumns = i, i && !e.column.fitMode && (e.column.fitMode = "average");
320
+ e.column.fitColumns = r, r && !e.column.fitMode && (e.column.fitMode = "average");
321
321
  return;
322
322
  }
323
- e.column[t] = i;
323
+ e.column[t] = r;
324
324
  },
325
- convertFrom: (e, t, i) => {
325
+ convertFrom: (e, t, r) => {
326
326
  if (e.column) {
327
327
  if (t === "fitMode")
328
328
  return e.column.fitColumns ? e.column.fitMode || "average" : "none";
@@ -331,31 +331,31 @@ const ko = {
331
331
  }
332
332
  return t === "fitMode" ? "none" : "";
333
333
  }
334
- }, jo = {
335
- convertTo: (e, t, i, u) => {
336
- e.summary ? e.summary[t] = i : e.summary = {
337
- [t]: i
338
- }, t === "enable" && i && (e.summary ? e.summary.groupFields || (e.summary.groupFields = []) : e.summary = {
339
- enable: i,
334
+ }, Ao = {
335
+ convertTo: (e, t, r, u) => {
336
+ e.summary ? e.summary[t] = r : e.summary = {
337
+ [t]: r
338
+ }, t === "enable" && r && (e.summary ? e.summary.groupFields || (e.summary.groupFields = []) : e.summary = {
339
+ enable: r,
340
340
  groupFields: []
341
341
  });
342
342
  },
343
- convertFrom: (e, t, i) => {
344
- var u, F;
345
- return t === "customSummaryStyle" ? e.summary.customSummaryStyle : t === "position" ? ((u = e.summary) == null ? void 0 : u[t]) || "bottom" : t === "customRender" ? ((F = e.summary) == null ? void 0 : F[t]) || "" : e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : "";
343
+ convertFrom: (e, t, r) => {
344
+ var u, x;
345
+ return t === "customSummaryStyle" ? e.summary.customSummaryStyle : t === "position" ? ((u = e.summary) == null ? void 0 : u[t]) || "bottom" : t === "customRender" ? ((x = e.summary) == null ? void 0 : x[t]) || "" : e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : "";
346
346
  }
347
- }, Vo = {
348
- convertTo: (e, t, i, u) => {
349
- e.group ? e.group[t] = i : e.group = {
350
- [t]: i
351
- }, t === "enable" && i && (e.group ? e.group.groupFields || (e.group.groupFields = []) : e.group = {
352
- enable: i,
347
+ }, zo = {
348
+ convertTo: (e, t, r, u) => {
349
+ e.group ? e.group[t] = r : e.group = {
350
+ [t]: r
351
+ }, t === "enable" && r && (e.group ? e.group.groupFields || (e.group.groupFields = []) : e.group = {
352
+ enable: r,
353
353
  groupFields: [],
354
354
  showSummary: !1,
355
355
  customRender: ""
356
356
  });
357
357
  },
358
- convertFrom: (e, t, i) => {
358
+ convertFrom: (e, t, r) => {
359
359
  if (e.group) {
360
360
  if (t === "enable")
361
361
  return e.group.enable;
@@ -367,90 +367,90 @@ const ko = {
367
367
  return e.group.groupFields;
368
368
  }
369
369
  }
370
- }, Ao = {
370
+ }, _o = {
371
371
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
372
- convertTo: (e, t, i) => {
373
- if (i && i.length > 0) {
374
- const u = i[0];
372
+ convertTo: (e, t, r) => {
373
+ if (r && r.length > 0) {
374
+ const u = r[0];
375
375
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = u.bindingField, e.binding.field = u.id, e.binding.fullPath = u.path, e.path = u.bindingPath;
376
376
  }
377
377
  }
378
- }, zo = {
379
- convertTo: (e, t, i, u) => {
378
+ }, Ho = {
379
+ convertTo: (e, t, r, u) => {
380
380
  if (e.pagination || (e.pagination = {}), t === "sizeLimits")
381
- if (i == null)
381
+ if (r == null)
382
382
  delete e.pagination.sizeLimits;
383
383
  else {
384
- const F = [...new Set(
385
- String(i).split(",").map((N) => N.trim()).filter((N) => N !== "").map((N) => parseInt(N, 10)).filter((N) => !Number.isNaN(N) && N > 0)
384
+ const x = [...new Set(
385
+ String(r).split(",").map((N) => N.trim()).filter((N) => N !== "").map((N) => parseInt(N, 10)).filter((N) => !Number.isNaN(N) && N > 0)
386
386
  )];
387
- F.length > 0 ? e.pagination.sizeLimits = F : delete e.pagination.sizeLimits;
387
+ x.length > 0 ? e.pagination.sizeLimits = x : delete e.pagination.sizeLimits;
388
388
  }
389
389
  else
390
- e.pagination[t] = i;
390
+ e.pagination[t] = r;
391
391
  },
392
- convertFrom: (e, t, i) => {
392
+ convertFrom: (e, t, r) => {
393
393
  var u;
394
394
  return e.pagination ? t === "sizeLimits" ? ((u = e.pagination.sizeLimits) == null ? void 0 : u.join(",")) ?? "" : e.pagination[t] : e[t];
395
395
  }
396
- }, _o = {
397
- convertTo: (e, t, i, u) => {
398
- e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = i;
396
+ }, Wo = {
397
+ convertTo: (e, t, r, u) => {
398
+ e.rowNumber || (e.rowNumber = {}), e.rowNumber[t] = r;
399
399
  },
400
- convertFrom: (e, t, i) => e.rowNumber ? e.rowNumber[t] : e[t]
401
- }, Ho = {
402
- convertTo: (e, t, i, u) => {
403
- e.selection || (e.selection = {}), e.selection[t] = i;
400
+ convertFrom: (e, t, r) => e.rowNumber ? e.rowNumber[t] : e[t]
401
+ }, Lo = {
402
+ convertTo: (e, t, r, u) => {
403
+ e.selection || (e.selection = {}), e.selection[t] = r;
404
404
  },
405
- convertFrom: (e, t, i) => {
405
+ convertFrom: (e, t, r) => {
406
406
  if (!e.selection)
407
407
  return !!e[t];
408
408
  const u = !!e.selection[t];
409
409
  return t === "showCheckbox" && u == null && e.selection.multiSelect === !0 ? !0 : u;
410
410
  }
411
- }, Lo = {
412
- convertFrom: (e, t, i) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
413
- }, Wo = {
414
- convertFrom: (e, t) => e[t] || "",
415
- convertTo: (e, t, i) => {
416
- e[t] = i;
417
- }
418
411
  }, Ro = {
419
- convertTo: (e, t, i, u) => {
420
- e.size || (e.size = {}), e.size[t] = i;
421
- },
422
- convertFrom: (e, t, i) => e.size ? e.size[t] : e[t]
412
+ convertFrom: (e, t, r) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
423
413
  }, $o = {
424
- convertFrom: (e, t, i) => {
425
- var u, F;
426
- return (u = e.formatter) != null && u.data && t === "formatterEnumData" && !e.formatterEnumData ? (F = e.formatter) == null ? void 0 : F.data : e.formatterEnumData;
414
+ convertFrom: (e, t) => e[t] || "",
415
+ convertTo: (e, t, r) => {
416
+ e[t] = r;
427
417
  }
428
418
  }, Uo = {
429
- convertTo: (e, t, i, u) => {
430
- e.sort || (e.sort = {}), e.sort[t] = i;
419
+ convertTo: (e, t, r, u) => {
420
+ e.size || (e.size = {}), e.size[t] = r;
431
421
  },
432
- convertFrom: (e, t, i) => {
433
- var u, F;
422
+ convertFrom: (e, t, r) => e.size ? e.size[t] : e[t]
423
+ }, Yo = {
424
+ convertFrom: (e, t, r) => {
425
+ var u, x;
426
+ return (u = e.formatter) != null && u.data && t === "formatterEnumData" && !e.formatterEnumData ? (x = e.formatter) == null ? void 0 : x.data : e.formatterEnumData;
427
+ }
428
+ }, qo = {
429
+ convertTo: (e, t, r, u) => {
430
+ e.sort || (e.sort = {}), e.sort[t] = r;
431
+ },
432
+ convertFrom: (e, t, r) => {
433
+ var u, x;
434
434
  if (t === "mode")
435
435
  return ((u = e.sort) == null ? void 0 : u.mode) || "client";
436
436
  if (t === "multiSort")
437
- return !!((F = e.sort) != null && F.multiSort);
437
+ return !!((x = e.sort) != null && x.multiSort);
438
438
  }
439
- }, Yo = {
440
- convertTo: (e, t, i, u) => {
441
- e.filter || (e.filter = {}), e.filter[t] = i, t === "enable" && (e.enableFilter = !1);
439
+ }, Xo = {
440
+ convertTo: (e, t, r, u) => {
441
+ e.filter || (e.filter = {}), e.filter[t] = r, t === "enable" && (e.enableFilter = !1);
442
442
  },
443
- convertFrom: (e, t, i) => {
444
- var u, F, N, A;
445
- return t === "mode" ? ((u = e.filter) == null ? void 0 : u.mode) || "server" : t === "filterStyle" ? ((F = e.filter) == null ? void 0 : F.filterStyle) || "filter-column" : t === "enable" ? ((N = e.filter) == null ? void 0 : N.enable) !== void 0 ? !!e.filter.enable : !!e.enableFilter : ((A = e.filter) == null ? void 0 : A[t]) || void 0;
443
+ convertFrom: (e, t, r) => {
444
+ var u, x, N, A;
445
+ return t === "mode" ? ((u = e.filter) == null ? void 0 : u.mode) || "server" : t === "filterStyle" ? ((x = e.filter) == null ? void 0 : x.filterStyle) || "filter-column" : t === "enable" ? ((N = e.filter) == null ? void 0 : N.enable) !== void 0 ? !!e.filter.enable : !!e.enableFilter : ((A = e.filter) == null ? void 0 : A[t]) || void 0;
446
446
  }
447
- }, qo = {
448
- convertTo: (e, t, i, u) => {
449
- e.rowOption ? e.rowOption[t] = i : e.rowOption = {
450
- [t]: i
447
+ }, Jo = {
448
+ convertTo: (e, t, r, u) => {
449
+ e.rowOption ? e.rowOption[t] = r : e.rowOption = {
450
+ [t]: r
451
451
  };
452
452
  },
453
- convertFrom: (e, t, i) => {
453
+ convertFrom: (e, t, r) => {
454
454
  if (e.rowOption) {
455
455
  if (t === "customRowStyle")
456
456
  return e.rowOption.customRowStyle;
@@ -461,55 +461,55 @@ const ko = {
461
461
  }
462
462
  return "";
463
463
  }
464
- }, Xo = {
465
- convertTo: (e, t, i, u) => {
466
- (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = i, t === "columnTemplateType" && i === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
464
+ }, Qo = {
465
+ convertTo: (e, t, r, u) => {
466
+ (e.type === "data-grid-column" || e.type === "tree-grid-column") && (e[t] = r, t === "columnTemplateType" && r === "hyperlink" && (e.onClickLinkCommand ? e.columnTemplate = `
467
467
  <span class="f-pretend-link f-cursor-pointer"
468
468
  @click="(ctx)=>viewModel.current.${e.onClickLinkCommand || ""}({id: rowData.id,context: ctx})">
469
469
  {{rowData.${e.field}}}
470
470
  </span>` : e.columnTemplate = `
471
471
  <span class="f-pretend-link f-cursor-pointer">
472
472
  {{rowData.${e.field}}}
473
- </span>`), t === "columnTemplateType" && i === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && i === "custom" && (e.columnTemplate = ""));
473
+ </span>`), t === "columnTemplateType" && r === "default" && (e.columnTemplate = ""), t === "columnTemplateType" && r === "custom" && (e.columnTemplate = ""));
474
474
  },
475
- convertFrom: (e, t, i) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
476
- }, Jo = {
477
- convertTo: (e, t, i, u) => {
475
+ convertFrom: (e, t, r) => t === "columnTemplate" ? e.columnTemplate : t === "columnTemplateType" ? e.columnTemplateType ? e.columnTemplateType || "default" : e.columnTemplate && !e.onClickLinkCommand ? "custom" : e.columnTemplate && e.onClickLinkCommand ? "hyperlink" : "default" : ""
476
+ }, Zo = {
477
+ convertTo: (e, t, r, u) => {
478
478
  e.hierarchy || (e.hierarchy = {
479
479
  cascadeOption: {}
480
- }), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = i;
480
+ }), e.hierarchy.cascadeOption || (e.hierarchy.cascadeOption = {}), e.hierarchy.cascadeOption[t] = r;
481
481
  },
482
- convertFrom: (e, t, i) => {
483
- var u, F;
484
- return !!((F = (u = e.hierarchy) == null ? void 0 : u.cascadeOption) != null && F[t]);
482
+ convertFrom: (e, t, r) => {
483
+ var u, x;
484
+ return !!((x = (u = e.hierarchy) == null ? void 0 : u.cascadeOption) != null && x[t]);
485
485
  }
486
486
  };
487
- function Bt(e, t, i) {
487
+ function Et(e, t, r) {
488
488
  const u = /* @__PURE__ */ new Map([
489
- ["/converter/appearance.converter", ko],
490
- ["/converter/buttons.converter", Bo],
491
- ["/converter/property-editor.converter", Eo],
492
- ["/converter/items-count.converter", Lo],
493
- ["/converter/type.converter", Do],
494
- ["/converter/change-editor.converter", Io],
495
- ["/converter/change-formatter.converter", Mo],
496
- ["/converter/column-command.converter", Go],
497
- ["/converter/column-option.converter", No],
498
- ["/converter/summary.converter", jo],
499
- ["/converter/group.converter", Vo],
500
- ["/converter/form-group-label.converter", Wo],
501
- ["/converter/field-selector.converter", Ao],
502
- ["/converter/pagination.converter", zo],
503
- ["/converter/row-number.converter", _o],
504
- ["/converter/grid-selection.converter", Ho],
505
- ["/converter/size.converter", Ro],
506
- ["/converter/change-formatter-enum.converter", $o],
507
- ["/converter/grid-sort.converter", Uo],
508
- ["/converter/grid-filter.converter", Yo],
509
- ["/converter/row-option.converter", qo],
510
- ["/converter/change-formatter-type.converter", Xo],
511
- ["/converter/tree-auto-check.converter", Jo]
512
- ]), F = /* @__PURE__ */ new Map([
489
+ ["/converter/appearance.converter", Eo],
490
+ ["/converter/buttons.converter", Po],
491
+ ["/converter/property-editor.converter", Do],
492
+ ["/converter/items-count.converter", Ro],
493
+ ["/converter/type.converter", Mo],
494
+ ["/converter/change-editor.converter", Go],
495
+ ["/converter/change-formatter.converter", No],
496
+ ["/converter/column-command.converter", jo],
497
+ ["/converter/column-option.converter", Vo],
498
+ ["/converter/summary.converter", Ao],
499
+ ["/converter/group.converter", zo],
500
+ ["/converter/form-group-label.converter", $o],
501
+ ["/converter/field-selector.converter", _o],
502
+ ["/converter/pagination.converter", Ho],
503
+ ["/converter/row-number.converter", Wo],
504
+ ["/converter/grid-selection.converter", Lo],
505
+ ["/converter/size.converter", Uo],
506
+ ["/converter/change-formatter-enum.converter", Yo],
507
+ ["/converter/grid-sort.converter", qo],
508
+ ["/converter/grid-filter.converter", Xo],
509
+ ["/converter/row-option.converter", Jo],
510
+ ["/converter/change-formatter-type.converter", Qo],
511
+ ["/converter/tree-auto-check.converter", Zo]
512
+ ]), x = /* @__PURE__ */ new Map([
513
513
  ["string", { type: "input-group", enableClear: !1 }],
514
514
  ["boolean", {
515
515
  type: "combo-list",
@@ -534,77 +534,77 @@ function Bt(e, t, i) {
534
534
  ["number", { type: "number-spinner", placeholder: "" }],
535
535
  ["events-editor", { type: "events-editor", hide: !0 }],
536
536
  ["multiLanguage", { type: "language-textbox" }]
537
- ]), N = Oo();
537
+ ]), N = Bo();
538
538
  function A(a, c) {
539
539
  return () => N.parseValueSchema(a, c);
540
540
  }
541
- function L(a, c, h) {
541
+ function W(a, c, h) {
542
542
  return a.includes("visible") && c.visible !== void 0 ? typeof c.visible == "boolean" ? () => !!c.visible : c.visible === void 0 ? !0 : A(c.visible, h) : () => !0;
543
543
  }
544
544
  function z(a, c, h) {
545
545
  return a.includes("readonly") && c.readonly !== void 0 ? typeof c.readonly == "boolean" ? () => !!c.readonly : A(c.readonly, h) : () => !1;
546
546
  }
547
- function x(a, c) {
547
+ function T(a, c) {
548
548
  const h = a.$converter || c;
549
549
  return typeof h == "string" && h && u.has(h) ? u.get(h) || null : h || null;
550
550
  }
551
- function b(a, c, h, g, E, U = "", Y = "") {
552
- return Object.keys(a).map((D) => {
553
- const Q = de(1), X = D, P = a[D], s = Object.keys(P), se = P.title, ee = P.type, G = F.get(ee) || { type: "input-group", enableClear: !1 }, oe = P.editor ? Object.assign({}, G, P.editor) : Object.assign({}, G), te = L(s, P, c), re = z(s, P, c);
554
- oe.readonly = oe.readonly === void 0 ? re() : oe.readonly;
555
- const pe = P.type === "cascade" ? b(P.properties, c, h, g, E, U, Y) : [], ve = !0;
556
- let H = x(P, Y);
557
- const ue = ne({
551
+ function b(a, c, h, y, E, U = "", Y = "") {
552
+ return Object.keys(a).map((I) => {
553
+ const Q = de(1), X = I, P = a[I], s = Object.keys(P), ce = P.title, ee = P.type, G = x.get(ee) || { type: "input-group", enableClear: !1 }, ie = P.editor ? Object.assign({}, G, P.editor) : Object.assign({}, G), te = W(s, P, c), re = z(s, P, c);
554
+ ie.readonly = ie.readonly === void 0 ? re() : ie.readonly;
555
+ const pe = P.type === "cascade" ? b(P.properties, c, h, y, E, U, Y) : [], ve = !0;
556
+ let H = T(P, Y);
557
+ const se = oe({
558
558
  get() {
559
559
  if (Q.value) {
560
560
  if (["class", "style"].find((J) => J === X) && !H && (H = u.get("/converter/appearance.converter") || null), H && H.convertFrom) {
561
- const J = H.convertFrom(h, D, E, U);
561
+ const J = H.convertFrom(h, I, E, U);
562
562
  return J === void 0 && Object.prototype.hasOwnProperty.call(P, "defaultValue") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : J;
563
563
  }
564
- const le = h[D];
565
- return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (le === void 0 || typeof le == "string" && le === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : le;
564
+ const ae = h[I];
565
+ return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (ae === void 0 || typeof ae == "string" && ae === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : ae;
566
566
  }
567
567
  return null;
568
568
  },
569
- set(le) {
570
- Q.value += 1, H && H.convertTo ? (H.convertTo(g, D, le, E, U), H.convertTo(h, D, le, E, U)) : (g[D] = le, h[D] = le);
569
+ set(ae) {
570
+ Q.value += 1, H && H.convertTo ? (H.convertTo(y, I, ae, E, U), H.convertTo(h, I, ae, E, U)) : (y[I] = ae, h[I] = ae);
571
571
  }
572
- }), { refreshPanelAfterChanged: ie, description: ye, isExpand: De, parentPropertyID: we } = P, K = { propertyID: X, propertyName: se, propertyType: ee, propertyValue: ue, editor: oe, visible: te, readonly: re, cascadeConfig: pe, hideCascadeTitle: ve, refreshPanelAfterChanged: ie, description: ye, isExpand: De, parentPropertyID: we };
573
- return c[X] = K, K;
572
+ }), { refreshPanelAfterChanged: le, description: ye, isExpand: Pe, parentPropertyID: Se } = P, Z = { propertyID: X, propertyName: ce, propertyType: ee, propertyValue: se, editor: ie, visible: te, readonly: re, cascadeConfig: pe, hideCascadeTitle: ve, refreshPanelAfterChanged: le, description: ye, isExpand: Pe, parentPropertyID: Se };
573
+ return c[X] = Z, Z;
574
574
  });
575
575
  }
576
576
  function d(a, c, h = {}) {
577
- const g = {}, E = e[a];
577
+ const y = {}, E = e[a];
578
578
  return E && E.categories ? Object.keys(E.categories).map((Y) => {
579
- const _ = E.categories[Y], D = _ == null ? void 0 : _.title, Q = b(_.properties || {}, g, {}, h, c);
580
- return { categoryId: Y, categoryName: D, properties: Q };
579
+ const _ = E.categories[Y], I = _ == null ? void 0 : _.title, Q = b(_.properties || {}, y, {}, h, c);
580
+ return { categoryId: Y, categoryName: I, properties: Q };
581
581
  }) : [];
582
582
  }
583
- function C(a, c, h, g, E = "") {
584
- const U = c.$ref.schema, Y = c.$ref.converter, _ = h[U], D = _.type, Q = i(_), X = {}, P = e[D];
583
+ function C(a, c, h, y, E = "") {
584
+ const U = c.$ref.schema, Y = c.$ref.converter, _ = h[U], I = _.type, Q = r(_), X = {}, P = e[I];
585
585
  if (P && P.categories) {
586
- const s = P.categories[a], se = s == null ? void 0 : s.title;
587
- Y && Object.keys(s.properties).forEach((oe) => {
588
- s.properties[oe].$converter = Y;
586
+ const s = P.categories[a], ce = s == null ? void 0 : s.title;
587
+ Y && Object.keys(s.properties).forEach((ie) => {
588
+ s.properties[ie].$converter = Y;
589
589
  });
590
- const ee = (s == null ? void 0 : s.properties) || {}, G = b(ee, X, Q, _, g, E);
591
- return { categoryId: a, categoryName: se, properties: G };
590
+ const ee = (s == null ? void 0 : s.properties) || {}, G = b(ee, X, Q, _, y, E);
591
+ return { categoryId: a, categoryName: ce, properties: G };
592
592
  }
593
593
  return { categoryId: a, categoryName: "", properties: [] };
594
594
  }
595
- function p(a, c, h, g, E) {
596
- const U = a.type, Y = i(a), _ = {};
597
- let D = E || e[U];
598
- if (!(D && Object.keys(D).length > 0) && h && h.getPropConfig && (D = h.getPropConfig(g)), D && D.categories) {
595
+ function p(a, c, h, y, E) {
596
+ const U = a.type, Y = r(a), _ = {};
597
+ let I = E || e[U];
598
+ if (!(I && Object.keys(I).length > 0) && h && h.getPropConfig && (I = h.getPropConfig(y)), I && I.categories) {
599
599
  const X = [];
600
- return Object.keys(D.categories).map((P) => {
601
- const s = D.categories[P];
600
+ return Object.keys(I.categories).map((P) => {
601
+ const s = I.categories[P];
602
602
  if (s.$ref) {
603
- X.push(C(P, s, a, c, g));
603
+ X.push(C(P, s, a, c, y));
604
604
  return;
605
605
  }
606
- const se = s == null ? void 0 : s.title, ee = s == null ? void 0 : s.tabId, G = s == null ? void 0 : s.tabName, oe = s == null ? void 0 : s.hide, te = s == null ? void 0 : s.hideTitle, re = b(s.properties || {}, _, Y, a, c, g, s.$converter), { setPropertyRelates: pe } = s, ve = s == null ? void 0 : s.parentPropertyID;
607
- X.push({ categoryId: P, categoryName: se, tabId: ee, tabName: G, hide: oe, properties: re, hideTitle: te, setPropertyRelates: pe, parentPropertyID: ve });
606
+ const ce = s == null ? void 0 : s.title, ee = s == null ? void 0 : s.tabId, G = s == null ? void 0 : s.tabName, ie = s == null ? void 0 : s.hide, te = s == null ? void 0 : s.hideTitle, re = b(s.properties || {}, _, Y, a, c, y, s.$converter), { setPropertyRelates: pe } = s, ve = s == null ? void 0 : s.parentPropertyID;
607
+ X.push({ categoryId: P, categoryName: ce, tabId: ee, tabName: G, hide: ie, properties: re, hideTitle: te, setPropertyRelates: pe, parentPropertyID: ve });
608
608
  }), X;
609
609
  }
610
610
  return [];
@@ -615,44 +615,44 @@ function Bt(e, t, i) {
615
615
  propertyConverterMap: u
616
616
  };
617
617
  }
618
- const Qo = {}, Zo = {};
619
- Bt(Qo, Zo, To);
620
- const Ko = {}, er = {}, { resolveSchemaWithDefaultValue: tr } = kt(Ko, er), nr = {}, or = {};
621
- Bt(nr, or, tr);
622
- function rr(e, t) {
618
+ const Ko = {}, ei = {};
619
+ Et(Ko, ei, ko);
620
+ const ti = {}, ni = {}, { resolveSchemaWithDefaultValue: oi } = Bt(ti, ni), ii = {}, ri = {};
621
+ Et(ii, ri, oi);
622
+ function li(e, t) {
623
623
  if (!e || e.length < 1)
624
624
  return null;
625
- for (const i of e) {
626
- if (i.id === t)
627
- return i;
628
- if (i.children) {
629
- const u = i.children.find((F) => F.id === t);
625
+ for (const r of e) {
626
+ if (r.id === t)
627
+ return r;
628
+ if (r.children) {
629
+ const u = r.children.find((x) => x.id === t);
630
630
  if (u)
631
631
  return u;
632
632
  }
633
633
  }
634
634
  return null;
635
635
  }
636
- function ir() {
637
- function e(t, i) {
638
- const { name: u } = i;
636
+ function ai() {
637
+ function e(t, r) {
638
+ const { name: u } = r;
639
639
  if (u !== "fieldsClick")
640
640
  return t[`on${u.charAt(0).toUpperCase()}${u.slice(1)}`] || t[u];
641
- const F = t.cardToolbar;
642
- if (!F || F.length < 1)
641
+ const x = t.cardToolbar;
642
+ if (!x || x.length < 1)
643
643
  return null;
644
- const [N, A] = i.payloads, L = rr(F, A);
645
- return L ? L.onClick || L.click : null;
644
+ const [N, A] = r.payloads, W = li(x, A);
645
+ return W ? W.onClick || W.click : null;
646
646
  }
647
647
  return {
648
648
  resolve: e
649
649
  };
650
650
  }
651
- var lr = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.ALWAYS = "always", e))(lr || {});
652
- function ar(e, t) {
651
+ var ui = /* @__PURE__ */ ((e) => (e.AUTO = "auto", e.ALWAYS = "always", e))(ui || {});
652
+ function di(e, t) {
653
653
  return null;
654
654
  }
655
- const Fr = {
655
+ const Ti = {
656
656
  /** 是否启用分页。 */
657
657
  enable: { type: Boolean, default: !1 },
658
658
  /** 当前页码。 */
@@ -675,7 +675,7 @@ const Fr = {
675
675
  total: { type: Number, default: 0 },
676
676
  /** 是否禁用分页。 */
677
677
  disabled: { type: Boolean, default: !1 }
678
- }, xr = {
678
+ }, Oi = {
679
679
  /** 是否启用排序。 */
680
680
  enable: { type: Boolean, default: !1 },
681
681
  /** 排序字段集合。 */
@@ -684,7 +684,7 @@ const Fr = {
684
684
  mode: { type: String, default: "client" },
685
685
  /** 是否支持多列排序。 */
686
686
  multiSort: { type: Boolean, default: !1 }
687
- }, Tr = {
687
+ }, ki = {
688
688
  /** 自定义分组行内容。 */
689
689
  customGroupRow: { type: Function, default: () => {
690
690
  } },
@@ -711,7 +711,7 @@ const Fr = {
711
711
  /** 自定义分组合计内容渲染函数。 */
712
712
  customRender: { type: Function, default: () => {
713
713
  } }
714
- }, Or = {
714
+ }, Bi = {
715
715
  /** 是否启用筛选总开关。 */
716
716
  enable: { type: Boolean, default: !1 },
717
717
  /** 筛选风格,可选 `filter-column` 或 `filter-row`。 */
@@ -720,10 +720,10 @@ const Fr = {
720
720
  mode: { type: String, default: "server" },
721
721
  /** 是否显示过滤条件工具条。 */
722
722
  showSummary: { type: Boolean, default: !0 }
723
- }, kr = {
723
+ }, Ei = {
724
724
  /** 是否允许折行显示列标题。 */
725
725
  wrapHeadings: { type: Boolean, default: !1 }
726
- }, Br = {
726
+ }, Pi = {
727
727
  /** 是否显示行号。 */
728
728
  enable: { type: Boolean, default: !1 },
729
729
  /** 行号列表头标题。 */
@@ -732,7 +732,7 @@ const Fr = {
732
732
  width: { type: Number, default: 36 },
733
733
  /** 是否展示省略号。 */
734
734
  showEllipsis: { type: Boolean, default: !0 }
735
- }, Er = {
735
+ }, Di = {
736
736
  /** 自定义行样式函数。 */
737
737
  customRowStyle: { type: Function, default: () => {
738
738
  } },
@@ -751,7 +751,7 @@ const Fr = {
751
751
  showHovering: { type: Boolean, default: !0 },
752
752
  /** 是否允许数据折行。 */
753
753
  wrapContent: { type: Boolean, default: !1 }
754
- }, Pr = {
754
+ }, Ii = {
755
755
  /** 是否启用合计行。 */
756
756
  enable: { type: Boolean, default: !1 },
757
757
  /** 合计行自定义样式函数。 */
@@ -766,7 +766,7 @@ const Fr = {
766
766
  /** 自定义合计行内容渲染函数。 */
767
767
  customRender: { type: Function, default: () => {
768
768
  } }
769
- }, Dr = {
769
+ }, Mi = {
770
770
  /** 是否自动列宽,设为 true 后所有列将填满表格,不出现横向滚动条。 */
771
771
  fitColumns: { type: Boolean, default: !1 },
772
772
  /** 自动适配列宽度模式。 */
@@ -780,11 +780,11 @@ const Fr = {
780
780
  /** 双击表头列是否自适应内容宽度。 */
781
781
  resizeColumnOnDoubleClick: { type: Boolean, default: !0 }
782
782
  };
783
- function tt(e) {
783
+ function ot(e) {
784
784
  const t = e == null ? void 0 : e.fitColumns;
785
785
  return t === !0 || typeof t == "object" && t !== null && "enable" in t && t.enable === !0;
786
786
  }
787
- const Ir = {
787
+ const Gi = {
788
788
  /** 启用多选且显示 checkbox,选中行后勾选前面的 checkbox。 */
789
789
  checkOnSelect: { type: Boolean, default: !1 },
790
790
  /** 数据源为空时是否清空已选记录。 */
@@ -810,17 +810,17 @@ const Ir = {
810
810
  showSelectAll: { type: Boolean, default: !1 },
811
811
  /** 是否显示已选数据。 */
812
812
  showSelection: { type: Boolean, default: !1 }
813
- }, Mr = {
813
+ }, Ni = {
814
814
  /** 编辑时是否选中文本。 */
815
815
  selectOnEditing: { type: Boolean, default: !1 },
816
816
  /** 编辑模式,`row` 为整行编辑,`cell` 为单元格编辑。 */
817
817
  editMode: { type: String, default: "cell" }
818
- }, Gr = {
818
+ }, ji = {
819
819
  /** 是否显示 loading。 */
820
820
  show: { type: Boolean, default: !1 },
821
821
  /** loading 提示文本。 */
822
822
  message: { type: String, default: "加载中..." }
823
- }, ur = {
823
+ }, si = {
824
824
  /** 自定义表格 CSS 类名。 */
825
825
  customClass: { type: String, default: "" },
826
826
  /** 是否在最后一个单元格回车时新增一行。 */
@@ -955,7 +955,7 @@ const Ir = {
955
955
  /** 数据更新前的回调函数。 */
956
956
  beforeUpdate: { type: Function },
957
957
  /** 绑定动态字段的解析器。 */
958
- fieldsResolver: { type: Function, default: ar },
958
+ fieldsResolver: { type: Function, default: di },
959
959
  /** 绑定动态字段的值回调函数。 */
960
960
  fieldsCallback: { type: Function, default: () => {
961
961
  } },
@@ -1002,8 +1002,8 @@ const Ir = {
1002
1002
  },
1003
1003
  /** 是否启用列设置方案。 */
1004
1004
  enableColumnSettingSolution: { type: Boolean, default: !1 }
1005
- }, Nr = ir();
1006
- function dr() {
1005
+ }, Vi = ai();
1006
+ function ci() {
1007
1007
  const e = /* @__PURE__ */ new Map([
1008
1008
  ["boolean", "check-box"],
1009
1009
  ["datetime", "date-picker"],
@@ -1012,65 +1012,65 @@ function dr() {
1012
1012
  ["string", "input-group"],
1013
1013
  ["text", "text"]
1014
1014
  ]);
1015
- function t(i) {
1016
- if (!i.editor) {
1017
- const u = i.dataType, F = { type: e.get(u) || "input-group", readonly: !0 };
1015
+ function t(r) {
1016
+ if (!r.editor) {
1017
+ const u = r.dataType, x = { type: e.get(u) || "input-group", readonly: !0 };
1018
1018
  return {
1019
- ...i,
1019
+ ...r,
1020
1020
  type: "form-group",
1021
- label: i.title,
1022
- editor: F
1021
+ label: r.title,
1022
+ editor: x
1023
1023
  };
1024
1024
  }
1025
1025
  return {
1026
- ...i,
1026
+ ...r,
1027
1027
  type: "form-group",
1028
- label: i.title
1028
+ label: r.title
1029
1029
  };
1030
1030
  }
1031
1031
  return { transformColumnToField: t };
1032
1032
  }
1033
- function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1033
+ function fi(e, t, r, u, x, N, A, W, z, T, b, d, C, p, a, c, h) {
1034
1034
  const {
1035
- isNull: g,
1035
+ isNull: y,
1036
1036
  isUndefined: E
1037
- } = Ft(), {
1037
+ } = xt(), {
1038
1038
  totalItems: U,
1039
1039
  rawView: Y
1040
1040
  } = c, {
1041
1041
  calculateCellPositionInRow: _,
1042
- cellKey: D,
1042
+ cellKey: I,
1043
1043
  cellPosition: Q,
1044
1044
  rowKey: X,
1045
1045
  rowPosition: P,
1046
1046
  rowSpanCellPosition: s,
1047
- groupCellPosition: se,
1047
+ groupCellPosition: ce,
1048
1048
  summaryCellPosition: ee
1049
1049
  } = A, {
1050
1050
  cellContentClass: G,
1051
- cellContentPosition: oe,
1051
+ cellContentPosition: ie,
1052
1052
  cellContentClassWithEllipsis: te
1053
1053
  } = N, {
1054
1054
  collpaseGroupIconClass: re
1055
- } = x, {
1055
+ } = T, {
1056
1056
  gridCellClass: pe,
1057
1057
  gridRowClass: ve,
1058
1058
  onClickRow: H,
1059
- onMouseoverRow: ue,
1060
- onMouseoutRow: ie
1059
+ onMouseoverRow: se,
1060
+ onMouseoutRow: le
1061
1061
  } = d, {
1062
1062
  onClickCell: ye,
1063
- showRowEditPanel: De
1063
+ showRowEditPanel: Pe
1064
1064
  } = z, {
1065
- toggleGroupRow: we
1065
+ toggleGroupRow: Se
1066
1066
  } = C, {
1067
- columnContext: K,
1068
- hasLeftFixedColumn: le,
1067
+ columnContext: Z,
1068
+ hasLeftFixedColumn: ae,
1069
1069
  hasRightFixedColumn: J
1070
- } = L, {
1070
+ } = W, {
1071
1071
  navigateOnKeyUp: ge,
1072
- navigateOnKeyDown: We
1073
- } = b, Ce = (o) => (o || []).some((S) => dt(S) ? !(S.type === xt || S.type === ot && !Ce(S.children)) : !0) ? o : null, Ie = (o) => {
1072
+ navigateOnKeyDown: Le
1073
+ } = b, Ce = (o) => (o || []).some((S) => st(S) ? !(S.type === Tt || S.type === rt && !Ce(S.children)) : !0) ? o : null, De = (o) => {
1074
1074
  var S, n, l;
1075
1075
  return ((n = (S = o.column) == null ? void 0 : S.editor) == null ? void 0 : n.type) === "switch" || ((l = o.column) == null ? void 0 : l.dataType) === "boolean" ? {
1076
1076
  display: "flex",
@@ -1081,30 +1081,30 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1081
1081
  flexGrow: "1",
1082
1082
  minWidth: 0
1083
1083
  };
1084
- }, he = nt({
1084
+ }, he = it({
1085
1085
  "fv-grid-content-left-fixed": !0
1086
- }), ae = nt({
1086
+ }), ue = it({
1087
1087
  "fv-grid-content-right-fixed": !0
1088
1088
  });
1089
- Le([U, Y], (o) => {
1090
- !o[0] && !o[1].length ? (he["fv-grid-content-left-fixed"] = !1, ae["fv-grid-content-right-fixed"] = !1) : (he["fv-grid-content-left-fixed"] = !0, ae["fv-grid-content-right-fixed"] = !0);
1089
+ We([U, Y], (o) => {
1090
+ !o[0] && !o[1].length ? (he["fv-grid-content-left-fixed"] = !1, ue["fv-grid-content-right-fixed"] = !1) : (he["fv-grid-content-left-fixed"] = !0, ue["fv-grid-content-right-fixed"] = !0);
1091
1091
  });
1092
1092
  const {
1093
1093
  gridDataStyle: R,
1094
- gridMergedDataStyle: Me,
1095
- leftFixedGridDataStyle: Fe,
1096
- leftFixedGridMergedDataStyle: Ge,
1094
+ gridMergedDataStyle: Ie,
1095
+ leftFixedGridDataStyle: we,
1096
+ leftFixedGridMergedDataStyle: Me,
1097
1097
  rightFixedGridDataStyle: Qe,
1098
1098
  rightFixedGridMergedDataStyle: Ze
1099
1099
  } = p;
1100
- function Te(o, S) {
1101
- o.stopPropagation(), S.collapse = !S.collapse, a.value = we(S.collapse ? "collapse" : "expand", S, a.value);
1100
+ function xe(o, S) {
1101
+ o.stopPropagation(), S.collapse = !S.collapse, a.value = Se(S.collapse ? "collapse" : "expand", S, a.value);
1102
1102
  }
1103
1103
  function Re(o, S, n) {
1104
- var v, m;
1104
+ var g, m;
1105
1105
  const l = [];
1106
1106
  if (o.groupField) {
1107
- const I = S[o.groupField], T = o.data[o.groupField];
1107
+ const M = S[o.groupField], O = o.data[o.groupField];
1108
1108
  if (n === "primary")
1109
1109
  for (let w = 0; w <= o.layer; w++)
1110
1110
  l.push(f("div", {
@@ -1113,13 +1113,13 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1113
1113
  position: "relative",
1114
1114
  zIndex: 10
1115
1115
  },
1116
- onClick: ($) => Te($, o)
1116
+ onClick: ($) => xe($, o)
1117
1117
  }, [f("span", {
1118
1118
  class: re(o)
1119
1119
  }, null)]));
1120
- n === "primary" && ((v = e.group) != null && v.customRender) ? l.push(f("div", {
1121
- ref: T == null ? void 0 : T.setRef,
1122
- key: D(o, o.layer + 1),
1120
+ n === "primary" && ((g = e.group) != null && g.customRender) ? l.push(f("div", {
1121
+ ref: O == null ? void 0 : O.setRef,
1122
+ key: I(o, o.layer + 1),
1123
1123
  style: {
1124
1124
  flex: "1",
1125
1125
  overflow: "hidden",
@@ -1127,9 +1127,9 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1127
1127
  whiteSpace: "nowrap",
1128
1128
  paddingLeft: "4px"
1129
1129
  }
1130
- }, [e.group.customRender(o)])) : (m = e.group) != null && m.customRender || (n === "primary" && T && l.push(f("div", {
1131
- ref: T.setRef,
1132
- key: D(o, o.layer + 1),
1130
+ }, [e.group.customRender(o)])) : (m = e.group) != null && m.customRender || (n === "primary" && O && l.push(f("div", {
1131
+ ref: O.setRef,
1132
+ key: I(o, o.layer + 1),
1133
1133
  style: {
1134
1134
  flex: "1",
1135
1135
  minWidth: 0,
@@ -1139,17 +1139,17 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1139
1139
  lineHeight: "26px",
1140
1140
  padding: "0 0.75rem"
1141
1141
  },
1142
- title: T.data
1143
- }, [T.data])), Object.values(o.data).filter((w) => w.field !== o.groupField && S[w.field] && w.colSpan !== 0 && w.field !== Tn && w.field !== On).forEach((w) => {
1144
- var Z;
1142
+ title: O.data
1143
+ }, [O.data])), Object.values(o.data).filter((w) => w.field !== o.groupField && S[w.field] && w.colSpan !== 0 && w.field !== kn && w.field !== Bn).forEach((w) => {
1144
+ var K;
1145
1145
  const $ = Q(o, w, S);
1146
- if (!I) {
1147
- const O = (o.layer + 1) * (((Z = T == null ? void 0 : T.parent) == null ? void 0 : Z.height) || 0);
1148
- $.left = `${Number($.left.replace("px", "")) + O}px`;
1146
+ if (!M) {
1147
+ const B = (o.layer + 1) * (((K = O == null ? void 0 : O.parent) == null ? void 0 : K.height) || 0);
1148
+ $.left = `${Number($.left.replace("px", "")) + B}px`;
1149
1149
  }
1150
1150
  l.push(f("div", {
1151
1151
  ref: w.setRef,
1152
- key: D(o, w.index),
1152
+ key: I(o, w.index),
1153
1153
  class: "fv-grid-cell",
1154
1154
  style: $
1155
1155
  }, [w.data]));
@@ -1157,7 +1157,7 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1157
1157
  }
1158
1158
  return l;
1159
1159
  }
1160
- function Ne(o, S, n, l) {
1160
+ function Ge(o, S, n, l) {
1161
1161
  return o.layer > -1 && f("div", {
1162
1162
  ref: o.setRef,
1163
1163
  key: X(o),
@@ -1167,36 +1167,36 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1167
1167
  "align-items-center": !0
1168
1168
  },
1169
1169
  style: P(o),
1170
- onClick: (v) => H(v, o),
1171
- onMouseover: (v) => ue(v, o)
1170
+ onClick: (g) => H(g, o),
1171
+ onMouseover: (g) => se(g, o)
1172
1172
  }, [Re(o, S, l)]);
1173
1173
  }
1174
- function je(o, S) {
1174
+ function Ne(o, S) {
1175
1175
  const n = [];
1176
1176
  if (o.groupField && S[o.groupField]) {
1177
1177
  const l = o.data[o.groupField];
1178
1178
  n.push(f("div", {
1179
1179
  ref: l.setRef,
1180
- key: D(o, o.layer + 1),
1180
+ key: I(o, o.layer + 1),
1181
1181
  class: "fv-grid-cell",
1182
1182
  style: ee(l, S, o.layer)
1183
1183
  }, [l.data]));
1184
1184
  }
1185
1185
  return n;
1186
1186
  }
1187
- function Oe(o, S, n, l) {
1187
+ function Te(o, S, n, l) {
1188
1188
  return o.layer > -1 && f("div", {
1189
1189
  ref: o.setRef,
1190
1190
  key: X(o),
1191
1191
  class: ve(o, n),
1192
1192
  style: P(o),
1193
- onClick: (v) => H(v, o),
1194
- onMouseover: (v) => ue(v, o)
1195
- }, [je(o, S)]);
1193
+ onClick: (g) => H(g, o),
1194
+ onMouseover: (g) => se(g, o)
1195
+ }, [Ne(o, S)]);
1196
1196
  }
1197
1197
  function $e(o, S) {
1198
- var n, l, v;
1199
- return o.showTips && typeof ((n = o.column) == null ? void 0 : n.formatter) != "function" && ((l = o.column) == null ? void 0 : l.dataType) !== "commands" && ((v = o.column) == null ? void 0 : v.dataType) !== "setting" ? f("div", {
1198
+ var n, l, g;
1199
+ return o.showTips && typeof ((n = o.column) == null ? void 0 : n.formatter) != "function" && ((l = o.column) == null ? void 0 : l.dataType) !== "commands" && ((g = o.column) == null ? void 0 : g.dataType) !== "setting" ? f("div", {
1200
1200
  class: te(o),
1201
1201
  title: o.formatter(o, S)
1202
1202
  }, [o.formatter(o, S)]) : f("div", {
@@ -1207,9 +1207,9 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1207
1207
  return f("div", null, [Je("******")]);
1208
1208
  }
1209
1209
  function j(o) {
1210
- var l, v;
1211
- const S = !g(o.data) && !E(o.data) ? o.data.toString() : o.data;
1212
- return ((v = (l = o.column) == null ? void 0 : l.editor) == null ? void 0 : v.showType) === "password" ? Ue() : o.showTips ? f("div", {
1210
+ var l, g;
1211
+ const S = !y(o.data) && !E(o.data) ? o.data.toString() : o.data;
1212
+ return ((g = (l = o.column) == null ? void 0 : l.editor) == null ? void 0 : g.showType) === "password" ? Ue() : o.showTips ? f("div", {
1213
1213
  class: te(o),
1214
1214
  title: S
1215
1215
  }, [S]) : f("div", {
@@ -1217,28 +1217,28 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1217
1217
  }, [S]);
1218
1218
  }
1219
1219
  function Ye(o, S) {
1220
- return o.mode === Ot.editing ? f("div", {
1221
- style: Ie(o)
1220
+ return o.mode === kt.editing ? f("div", {
1221
+ style: De(o)
1222
1222
  }, [o.getEditor(o)]) : o.column.columnTemplate ? o.column.columnTemplate(o, S) : o.formatter ? $e(o, S) : j(o);
1223
1223
  }
1224
- function Ve(o, S, n, l, v) {
1224
+ function je(o, S, n, l, g) {
1225
1225
  return f("div", {
1226
1226
  ref: o.setRef,
1227
1227
  key: X(o),
1228
1228
  class: ve(o, n),
1229
1229
  style: l,
1230
1230
  onClick: (m) => H(m, o),
1231
- onMouseover: (m) => ue(m, o),
1232
- onMouseout: (m) => ie(m, o)
1231
+ onMouseover: (m) => se(m, o),
1232
+ onMouseout: (m) => le(m, o)
1233
1233
  }, [Object.values(o.data).filter((m) => S[m.field] && m.rowSpan === 1).map((m) => {
1234
- var T, w;
1235
- const I = t.slots.cellTemplate && Ce(t.slots.cellTemplate({
1234
+ var O, w;
1235
+ const M = t.slots.cellTemplate && Ce(t.slots.cellTemplate({
1236
1236
  cell: m,
1237
1237
  row: o
1238
1238
  }));
1239
1239
  return f("div", {
1240
1240
  ref: m.setRef,
1241
- key: D(o, m.index),
1241
+ key: I(o, m.index),
1242
1242
  class: pe(m, o),
1243
1243
  style: Q(o, m, S),
1244
1244
  onClick: ($) => {
@@ -1247,74 +1247,74 @@ function sr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1247
1247
  onKeydown: ($) => ge($, m)
1248
1248
  }, [f("div", {
1249
1249
  class: G(m),
1250
- style: oe(m)
1251
- }, [I ? (w = (T = t.slots).cellTemplate) == null ? void 0 : w.call(T, {
1250
+ style: ie(m)
1251
+ }, [M ? (w = (O = t.slots).cellTemplate) == null ? void 0 : w.call(O, {
1252
1252
  cell: m,
1253
1253
  row: o
1254
1254
  }) : Ye(m, o)])]);
1255
1255
  })]);
1256
1256
  }
1257
- function ke(o, S, n, l) {
1258
- return Ve(o, S, n, P(o));
1257
+ function Oe(o, S, n, l) {
1258
+ return je(o, S, n, P(o));
1259
1259
  }
1260
- const xe = [ke, Ne, Oe];
1261
- function ce(o, S) {
1260
+ const Fe = [Oe, Ge, Te];
1261
+ function fe(o, S) {
1262
1262
  const n = _(o);
1263
- return a.value.map((l, v) => xe[l.type](l, n, v, S));
1263
+ return a.value.map((l, g) => Fe[l.type](l, n, g, S));
1264
1264
  }
1265
- function Be(o) {
1265
+ function ke(o) {
1266
1266
  const S = _(o);
1267
1267
  return a.value.map((n) => Object.values(n.data).filter((l) => S[l.field] && l.rowSpan > 1).map((l) => f("div", {
1268
- key: D(n, l.index),
1268
+ key: I(n, l.index),
1269
1269
  class: "fv-grid-cell fv-grid-merged-cell",
1270
1270
  style: s(n, l, S)
1271
1271
  }, [l.data])));
1272
1272
  }
1273
- function Ee() {
1273
+ function Be() {
1274
1274
  return f("div", {
1275
1275
  ref: u,
1276
1276
  class: he
1277
1277
  }, [f("div", {
1278
1278
  class: "fv-grid-data",
1279
- style: Fe.value
1280
- }, [ce(K.value.leftColumns.filter((o) => o.visible), "left")]), f("div", {
1279
+ style: we.value
1280
+ }, [fe(Z.value.leftColumns.filter((o) => o.visible), "left")]), f("div", {
1281
1281
  class: "fv-grid-merge-date",
1282
- style: Ge.value
1283
- }, [Be(K.value.leftColumns.filter((o) => o.visible))])]);
1282
+ style: Me.value
1283
+ }, [ke(Z.value.leftColumns.filter((o) => o.visible))])]);
1284
1284
  }
1285
- function Pe() {
1285
+ function Ee() {
1286
1286
  return f("div", {
1287
- ref: i,
1287
+ ref: r,
1288
1288
  class: "fv-grid-content-primary"
1289
1289
  }, [f("div", {
1290
1290
  class: "fv-grid-data",
1291
1291
  style: R.value
1292
- }, [ce(K.value.primaryColumns.filter((o) => o.visible), "primary")]), f("div", {
1292
+ }, [fe(Z.value.primaryColumns.filter((o) => o.visible), "primary")]), f("div", {
1293
1293
  class: "fv-grid-merge-date",
1294
- style: Me.value
1295
- }, [Be(K.value.primaryColumns.filter((o) => o.visible))])]);
1294
+ style: Ie.value
1295
+ }, [ke(Z.value.primaryColumns.filter((o) => o.visible))])]);
1296
1296
  }
1297
- function Ae() {
1297
+ function Ve() {
1298
1298
  return f("div", {
1299
- ref: F,
1300
- class: ae
1299
+ ref: x,
1300
+ class: ue
1301
1301
  }, [f("div", {
1302
1302
  class: "fv-grid-data",
1303
1303
  style: Qe.value
1304
- }, [ce(K.value.rightColumns.filter((o) => o.visible), "right")]), f("div", {
1304
+ }, [fe(Z.value.rightColumns.filter((o) => o.visible), "right")]), f("div", {
1305
1305
  class: "fv-grid-merge-date",
1306
1306
  style: Ze.value
1307
- }, [Be(K.value.rightColumns.filter((o) => o.visible))])]);
1307
+ }, [ke(Z.value.rightColumns.filter((o) => o.visible))])]);
1308
1308
  }
1309
1309
  function qe() {
1310
1310
  const o = [];
1311
- return le.value && o.push(Ee()), o.push(Pe()), J.value && o.push(Ae()), o;
1311
+ return ae.value && o.push(Be()), o.push(Ee()), J.value && o.push(Ve()), o;
1312
1312
  }
1313
1313
  return {
1314
1314
  renderDataArea: qe
1315
1315
  };
1316
1316
  }
1317
- const cr = /* @__PURE__ */ Tt({
1317
+ const mi = /* @__PURE__ */ Ot({
1318
1318
  name: "FDataGridRowForm",
1319
1319
  props: {
1320
1320
  columns: {
@@ -1378,7 +1378,7 @@ const cr = /* @__PURE__ */ Tt({
1378
1378
  setup(e, {
1379
1379
  emit: t
1380
1380
  }) {
1381
- return () => f(bo, {
1381
+ return () => f(wo, {
1382
1382
  fields: e.fields,
1383
1383
  formData: e.formData,
1384
1384
  showHeader: e.showHeader,
@@ -1389,69 +1389,69 @@ const cr = /* @__PURE__ */ Tt({
1389
1389
  headerTitleRenderFunction: e.headerTitleRenderFunction,
1390
1390
  headerContentRenderFunction: e.headerContentRenderFunction,
1391
1391
  footerRenderFunction: e.footerRenderFunction,
1392
- callback: (...i) => e.fieldsCallback(...i),
1393
- "onUpdate:modelValue": (i) => {
1394
- t("fieldsValueChange", i, e.data);
1392
+ callback: (...r) => e.fieldsCallback(...r),
1393
+ "onUpdate:modelValue": (r) => {
1394
+ t("fieldsValueChange", r, e.data);
1395
1395
  },
1396
- onEvent: (i) => {
1397
- t("fieldsEvent", i);
1396
+ onEvent: (r) => {
1397
+ t("fieldsEvent", r);
1398
1398
  },
1399
- onClick: (...i) => {
1400
- t("click", ...i);
1399
+ onClick: (...r) => {
1400
+ t("click", ...r);
1401
1401
  }
1402
1402
  }, null);
1403
1403
  }
1404
1404
  });
1405
- function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1405
+ function vi(e, t, r, u, x, N, A, W, z, T, b, d, C, p, a, c, h) {
1406
1406
  const {
1407
- transformColumnToField: g
1408
- } = dr(), {
1407
+ transformColumnToField: y
1408
+ } = ci(), {
1409
1409
  isNull: E,
1410
1410
  isUndefined: U
1411
- } = Ft(), {
1411
+ } = xt(), {
1412
1412
  totalItems: Y,
1413
1413
  rawView: _
1414
1414
  } = c, {
1415
- calculateCellPositionInRow: D,
1415
+ calculateCellPositionInRow: I,
1416
1416
  cellKey: Q,
1417
1417
  cellPosition: X,
1418
1418
  rowKey: P,
1419
1419
  rowPosition: s,
1420
- rowSpanCellPosition: se,
1420
+ rowSpanCellPosition: ce,
1421
1421
  groupCellPosition: ee,
1422
1422
  summaryCellPosition: G
1423
1423
  } = A, {
1424
- cellContentClass: oe,
1424
+ cellContentClass: ie,
1425
1425
  cellContentPosition: te,
1426
1426
  cellContentClassWithEllipsis: re
1427
1427
  } = N, {
1428
1428
  collpaseGroupIconClass: pe
1429
- } = x, {
1429
+ } = T, {
1430
1430
  gridCellClass: ve,
1431
1431
  gridRowClass: H,
1432
- onClickRow: ue,
1433
- onMouseoverRow: ie,
1432
+ onClickRow: se,
1433
+ onMouseoverRow: le,
1434
1434
  onMouseoutRow: ye
1435
1435
  } = d, {
1436
- onClickCell: De
1436
+ onClickCell: Pe
1437
1437
  } = z, {
1438
- toggleGroupRow: we
1438
+ toggleGroupRow: Se
1439
1439
  } = C, {
1440
- columnContext: K,
1441
- hasLeftFixedColumn: le,
1440
+ columnContext: Z,
1441
+ hasLeftFixedColumn: ae,
1442
1442
  hasRightFixedColumn: J
1443
- } = L, ge = ne(() => {
1443
+ } = W, ge = oe(() => {
1444
1444
  var l;
1445
- if (e.displayType !== "Card" || (((l = e.columns) == null ? void 0 : l.length) ?? 0) === 0 || e.fit && tt(e.columnOption))
1445
+ if (e.displayType !== "Card" || (((l = e.columns) == null ? void 0 : l.length) ?? 0) === 0 || e.fit && ot(e.columnOption))
1446
1446
  return;
1447
- const n = K.value.primaryColumnsWidth || 0;
1447
+ const n = Z.value.primaryColumnsWidth || 0;
1448
1448
  return n > 0 ? `${n}px` : void 0;
1449
1449
  }), {
1450
- navigateOnKeyUp: We,
1450
+ navigateOnKeyUp: Le,
1451
1451
  navigateOnKeyDown: Ce
1452
- } = b, Ie = (n) => (n || []).some((l) => dt(l) ? !(l.type === xt || l.type === ot && !Ie(l.children)) : !0) ? n : null, he = (n) => {
1453
- var l, v, m;
1454
- return ((v = (l = n.column) == null ? void 0 : l.editor) == null ? void 0 : v.type) === "switch" || ((m = n.column) == null ? void 0 : m.dataType) === "boolean" ? {
1452
+ } = b, De = (n) => (n || []).some((l) => st(l) ? !(l.type === Tt || l.type === rt && !De(l.children)) : !0) ? n : null, he = (n) => {
1453
+ var l, g, m;
1454
+ return ((g = (l = n.column) == null ? void 0 : l.editor) == null ? void 0 : g.type) === "switch" || ((m = n.column) == null ? void 0 : m.dataType) === "boolean" ? {
1455
1455
  display: "flex",
1456
1456
  flexGrow: "1",
1457
1457
  minWidth: 0,
@@ -1460,33 +1460,33 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1460
1460
  flexGrow: "1",
1461
1461
  minWidth: 0
1462
1462
  };
1463
- }, ae = nt({
1463
+ }, ue = it({
1464
1464
  "fv-grid-content-left-fixed": !0
1465
- }), R = nt({
1465
+ }), R = it({
1466
1466
  "fv-grid-content-right-fixed": !0
1467
1467
  });
1468
- Le([Y, _], (n) => {
1469
- !n[0] && !n[1].length ? (ae["fv-grid-content-left-fixed"] = !1, R["fv-grid-content-right-fixed"] = !1) : (ae["fv-grid-content-left-fixed"] = !0, R["fv-grid-content-right-fixed"] = !0);
1468
+ We([Y, _], (n) => {
1469
+ !n[0] && !n[1].length ? (ue["fv-grid-content-left-fixed"] = !1, R["fv-grid-content-right-fixed"] = !1) : (ue["fv-grid-content-left-fixed"] = !0, R["fv-grid-content-right-fixed"] = !0);
1470
1470
  });
1471
1471
  const {
1472
- gridDataStyle: Me,
1473
- gridMergedDataStyle: Fe,
1474
- leftFixedGridDataStyle: Ge,
1472
+ gridDataStyle: Ie,
1473
+ gridMergedDataStyle: we,
1474
+ leftFixedGridDataStyle: Me,
1475
1475
  leftFixedGridMergedDataStyle: Qe,
1476
1476
  rightFixedGridDataStyle: Ze,
1477
- rightFixedGridMergedDataStyle: Te
1477
+ rightFixedGridMergedDataStyle: xe
1478
1478
  } = p;
1479
1479
  function Re(n, l) {
1480
- n.stopPropagation(), l.collapse = !l.collapse, a.value = we(l.collapse ? "collapse" : "expand", l, a.value);
1480
+ n.stopPropagation(), l.collapse = !l.collapse, a.value = Se(l.collapse ? "collapse" : "expand", l, a.value);
1481
1481
  }
1482
- function Ne(n, l) {
1483
- var I;
1484
- const v = [];
1482
+ function Ge(n, l) {
1483
+ var M;
1484
+ const g = [];
1485
1485
  if (!n.groupField)
1486
- return v;
1486
+ return g;
1487
1487
  const m = !!l[n.groupField];
1488
- for (let T = 0; T <= n.layer; T++)
1489
- v.push(f("div", {
1488
+ for (let O = 0; O <= n.layer; O++)
1489
+ g.push(f("div", {
1490
1490
  class: "fv-grid-group-row-icon",
1491
1491
  style: {
1492
1492
  position: "relative",
@@ -1496,29 +1496,29 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1496
1496
  }, [f("span", {
1497
1497
  class: pe(n)
1498
1498
  }, null)]));
1499
- if ((I = e.group) != null && I.customRender)
1500
- v.push(e.group.customRender(n));
1499
+ if ((M = e.group) != null && M.customRender)
1500
+ g.push(e.group.customRender(n));
1501
1501
  else {
1502
- const T = n.data[n.groupField];
1503
- if (T) {
1502
+ const O = n.data[n.groupField];
1503
+ if (O) {
1504
1504
  const w = {
1505
1505
  flex: "1",
1506
1506
  wordBreak: "break-all",
1507
1507
  minWidth: 0
1508
1508
  };
1509
- v.push(f("div", {
1510
- ref: T.setRef,
1509
+ g.push(f("div", {
1510
+ ref: O.setRef,
1511
1511
  key: Q(n, n.layer + 1),
1512
1512
  class: e.displayType !== "Card" ? "fv-grid-cell" : void 0,
1513
- style: e.displayType === "Card" ? w : m ? ee(T, l, n.layer) : {
1513
+ style: e.displayType === "Card" ? w : m ? ee(O, l, n.layer) : {
1514
1514
  flex: "1",
1515
1515
  minWidth: 0
1516
1516
  },
1517
- title: T.data
1518
- }, [T.data]));
1517
+ title: O.data
1518
+ }, [O.data]));
1519
1519
  }
1520
1520
  Object.values(n.data).filter((w) => w.field !== n.groupField && w.colSpan !== 0).filter((w) => !!l[w.field]).forEach((w) => {
1521
- v.push(f("div", {
1521
+ g.push(f("div", {
1522
1522
  ref: w.setRef,
1523
1523
  key: Q(n, w.index),
1524
1524
  class: "fv-grid-cell",
@@ -1527,17 +1527,17 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1527
1527
  }, [w.data]));
1528
1528
  });
1529
1529
  }
1530
- return v;
1530
+ return g;
1531
1531
  }
1532
- function je(n, l, v) {
1533
- var I;
1534
- n.height = ((I = e.rowOption) == null ? void 0 : I.height) || 28, n.raw.__fv_data_height__ = n.height;
1532
+ function Ne(n, l, g) {
1533
+ var M;
1534
+ n.height = ((M = e.rowOption) == null ? void 0 : M.height) || 28, n.raw.__fv_data_height__ = n.height;
1535
1535
  const m = (n.layer + 1) * 18;
1536
1536
  return n.layer > -1 && f("div", {
1537
1537
  ref: n.setRef,
1538
1538
  key: P(n),
1539
1539
  class: {
1540
- ...H(n, v),
1540
+ ...H(n, g),
1541
1541
  "d-flex": !0,
1542
1542
  "align-items-center": !0
1543
1543
  },
@@ -1547,41 +1547,41 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1547
1547
  paddingLeft: `${m}px`,
1548
1548
  width: "100%"
1549
1549
  },
1550
- onClick: (T) => ue(T, n),
1551
- onMouseover: (T) => ie(T, n)
1552
- }, [Ne(n, l)]);
1550
+ onClick: (O) => se(O, n),
1551
+ onMouseover: (O) => le(O, n)
1552
+ }, [Ge(n, l)]);
1553
1553
  }
1554
- function Oe(n, l) {
1555
- const v = [];
1554
+ function Te(n, l) {
1555
+ const g = [];
1556
1556
  if (!n.groupField)
1557
- return v;
1557
+ return g;
1558
1558
  const m = n.data[n.groupField];
1559
1559
  if (!m)
1560
- return v;
1561
- const I = !!l[n.groupField], T = e.displayType === "Card" ? {
1560
+ return g;
1561
+ const M = !!l[n.groupField], O = e.displayType === "Card" ? {
1562
1562
  flex: "1",
1563
1563
  minWidth: 0,
1564
1564
  lineHeight: "26px"
1565
- } : I ? G(m, l, n.layer) : {
1565
+ } : M ? G(m, l, n.layer) : {
1566
1566
  flex: "1",
1567
1567
  minWidth: 0,
1568
1568
  lineHeight: "26px"
1569
1569
  };
1570
- return v.push(f("div", {
1570
+ return g.push(f("div", {
1571
1571
  ref: m.setRef,
1572
1572
  key: Q(n, n.layer + 1),
1573
1573
  class: {
1574
1574
  "fv-grid-cell": e.displayType !== "Card"
1575
1575
  },
1576
- style: T
1577
- }, [m.data])), v;
1576
+ style: O
1577
+ }, [m.data])), g;
1578
1578
  }
1579
- function $e(n, l, v) {
1579
+ function $e(n, l, g) {
1580
1580
  var m;
1581
1581
  return n.height = ((m = e.rowOption) == null ? void 0 : m.height) || 28, n.raw.__fv_data_height__ = n.height, n.layer > -1 && f("div", {
1582
1582
  ref: n.setRef,
1583
1583
  key: P(n),
1584
- class: H(n, v),
1584
+ class: H(n, g),
1585
1585
  style: {
1586
1586
  // top: `${summaryRow.top}px`,
1587
1587
  // width: `${Math.max(columnContext.value.primaryColumnsWidth, useVirtualScrollComposition.viewPortWidth.value)}px`,
@@ -1591,13 +1591,13 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1591
1591
  justifyContent: "end",
1592
1592
  width: "100%"
1593
1593
  },
1594
- onClick: (I) => ue(I, n),
1595
- onMouseover: (I) => ie(I, n)
1596
- }, [Oe(n, l)]);
1594
+ onClick: (M) => se(M, n),
1595
+ onMouseover: (M) => le(M, n)
1596
+ }, [Te(n, l)]);
1597
1597
  }
1598
1598
  function Ue(n, l) {
1599
- var v, m, I;
1600
- return n.showTips && typeof ((v = n.column) == null ? void 0 : v.formatter) != "function" && ((m = n.column) == null ? void 0 : m.dataType) !== "commands" && ((I = n.column) == null ? void 0 : I.dataType) !== "setting" ? f("div", {
1599
+ var g, m, M;
1600
+ return n.showTips && typeof ((g = n.column) == null ? void 0 : g.formatter) != "function" && ((m = n.column) == null ? void 0 : m.dataType) !== "commands" && ((M = n.column) == null ? void 0 : M.dataType) !== "setting" ? f("div", {
1601
1601
  class: re(n),
1602
1602
  title: n.formatter(n, l)
1603
1603
  }, [n.formatter(n, l)]) : f("div", {
@@ -1608,96 +1608,96 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1608
1608
  return f("div", null, [Je("******")]);
1609
1609
  }
1610
1610
  function Ye(n) {
1611
- var m, I;
1611
+ var m, M;
1612
1612
  const l = !E(n.data) && !U(n.data) ? n.data.toString() : n.data;
1613
- return ((I = (m = n.column) == null ? void 0 : m.editor) == null ? void 0 : I.showType) === "password" ? j() : n.showTips ? f("div", {
1613
+ return ((M = (m = n.column) == null ? void 0 : m.editor) == null ? void 0 : M.showType) === "password" ? j() : n.showTips ? f("div", {
1614
1614
  class: re(n),
1615
1615
  title: l
1616
1616
  }, [l]) : f("div", {
1617
1617
  class: re(n)
1618
1618
  }, [l]);
1619
1619
  }
1620
- function Ve(n, l) {
1621
- return n.mode === Ot.editing ? f("div", {
1620
+ function je(n, l) {
1621
+ return n.mode === kt.editing ? f("div", {
1622
1622
  style: he(n)
1623
1623
  }, [n.getEditor(n)]) : n.column.columnTemplate ? n.column.columnTemplate(n, l) : n.formatter ? Ue(n, l) : Ye(n);
1624
1624
  }
1625
- function ke(n, l, v, m, I, T) {
1626
- var Z;
1627
- const w = s(n), $ = n.height || ((Z = e.rowOption) == null ? void 0 : Z.height) || 28;
1625
+ function Oe(n, l, g, m, M, O) {
1626
+ var K;
1627
+ const w = s(n), $ = n.height || ((K = e.rowOption) == null ? void 0 : K.height) || 28;
1628
1628
  return f("div", {
1629
1629
  ref: n.setRef,
1630
1630
  key: P(n),
1631
- class: H(n, v),
1631
+ class: H(n, g),
1632
1632
  style: {
1633
1633
  ...w,
1634
1634
  position: m,
1635
- display: I,
1636
- width: T,
1635
+ display: M,
1636
+ width: O,
1637
1637
  minHeight: `${$}px`,
1638
1638
  height: m === "static" ? void 0 : w.height
1639
1639
  },
1640
- onClick: (O) => ue(O, n),
1641
- onMouseover: (O) => ie(O, n),
1642
- onMouseout: (O) => ye(O, n)
1643
- }, [Object.values(n.data).filter((O) => l[O.field] && O.rowSpan === 1).map((O) => {
1644
- var it, Ke, be;
1645
- const rt = t.slots.cellTemplate && Ie(t.slots.cellTemplate({
1646
- cell: O,
1640
+ onClick: (B) => se(B, n),
1641
+ onMouseover: (B) => le(B, n),
1642
+ onMouseout: (B) => ye(B, n)
1643
+ }, [Object.values(n.data).filter((B) => l[B.field] && B.rowSpan === 1).map((B) => {
1644
+ var et, tt, lt;
1645
+ const Ke = t.slots.cellTemplate && De(t.slots.cellTemplate({
1646
+ cell: B,
1647
1647
  row: n
1648
- })), fe = X(n, O, l);
1649
- return m === "static" && (delete fe.height, delete fe.left, (it = e.columnOption) != null && it.fitColumns && e.fit ? (fe.flex = "1", fe.overflow = "hidden", fe.textOverflow = "ellipsis", fe.whiteSpace = "nowrap", delete fe.width) : fe.flexShrink = "0", fe.borderTop = "1px solid #e6e9f0"), f("div", {
1650
- ref: O.setRef,
1651
- key: Q(n, O.index),
1652
- class: ve(O, n),
1648
+ })), ne = X(n, B, l);
1649
+ return m === "static" && (delete ne.height, delete ne.left, (et = e.columnOption) != null && et.fitColumns && e.fit ? (ne.flex = "1", ne.overflow = "hidden", ne.textOverflow = "ellipsis", ne.whiteSpace = "nowrap", delete ne.width) : ne.flexShrink = "0", ne.borderTop = "1px solid #e6e9f0"), f("div", {
1650
+ ref: B.setRef,
1651
+ key: Q(n, B.index),
1652
+ class: ve(B, n),
1653
1653
  style: {
1654
- ...fe,
1654
+ ...ne,
1655
1655
  position: m
1656
1656
  },
1657
1657
  onClick: (Xe) => {
1658
- De(Xe, O, n, O.column);
1658
+ Pe(Xe, B, n, B.column);
1659
1659
  },
1660
- onKeydown: (Xe) => We(Xe, O)
1660
+ onKeydown: (Xe) => Le(Xe, B)
1661
1661
  }, [f("div", {
1662
- class: oe(O),
1663
- style: te(O)
1664
- }, [rt ? (be = (Ke = t.slots).cellTemplate) == null ? void 0 : be.call(Ke, {
1665
- cell: O,
1662
+ class: ie(B),
1663
+ style: te(B)
1664
+ }, [Ke ? (lt = (tt = t.slots).cellTemplate) == null ? void 0 : lt.call(tt, {
1665
+ cell: B,
1666
1666
  row: n
1667
- }) : Ve(O, n)])]);
1667
+ }) : je(B, n)])]);
1668
1668
  })]);
1669
1669
  }
1670
- function xe(n, l) {
1670
+ function Fe(n, l) {
1671
1671
  if (!l)
1672
1672
  return {};
1673
- const v = {};
1673
+ const g = {};
1674
1674
  return l.forEach((m) => {
1675
- v[m.id] = yn(n.raw, m.field);
1676
- }), v;
1675
+ g[m.id] = Cn(n.raw, m.field);
1676
+ }), g;
1677
1677
  }
1678
- function ce(n, l, v) {
1679
- var $, Z;
1680
- const m = n.height || (($ = e.rowOption) == null ? void 0 : $.height) || 28, T = e.displayType === "Card" && (((Z = e.columns) == null ? void 0 : Z.length) ?? 0) > 0 && !(e.fit && tt(e.columnOption)), w = f(cr, {
1678
+ function fe(n, l, g) {
1679
+ var $, K;
1680
+ const m = n.height || (($ = e.rowOption) == null ? void 0 : $.height) || 28, O = e.displayType === "Card" && (((K = e.columns) == null ? void 0 : K.length) ?? 0) > 0 && !(e.fit && ot(e.columnOption)), w = f(mi, {
1681
1681
  columns: h.value,
1682
- fields: v,
1682
+ fields: g,
1683
1683
  mainTitle: e.cardMainTitle,
1684
1684
  showHeader: e.showCardHeader,
1685
1685
  showFooter: e.showCardFooter,
1686
1686
  data: n.raw,
1687
- formData: xe(n, v),
1687
+ formData: Fe(n, g),
1688
1688
  headerTitleRenderFunction: e.cardTitleTemplate ? () => e.cardTitleTemplate(n.raw) : null,
1689
1689
  headerContentRenderFunction: e.cardHeaderTemplate ? () => e.cardHeaderTemplate(n.raw) : null,
1690
1690
  footerRenderFunction: e.cardFooterTemplate ? () => e.cardFooterTemplate(n.raw) : null,
1691
1691
  toolbar: e.cardToolbar,
1692
- fieldsCallback: e.fieldsCallback ? (...O) => e.fieldsCallback(...O) : null,
1693
- onFieldsEvent: (O) => {
1694
- t.emit("fieldsEvent", O);
1692
+ fieldsCallback: e.fieldsCallback ? (...B) => e.fieldsCallback(...B) : null,
1693
+ onFieldsEvent: (B) => {
1694
+ t.emit("fieldsEvent", B);
1695
1695
  },
1696
- onFieldsValueChange: (...O) => {
1697
- t.emit("fieldsValueChange", ...O);
1696
+ onFieldsValueChange: (...B) => {
1697
+ t.emit("fieldsValueChange", ...B);
1698
1698
  },
1699
- onClick: (...O) => {
1700
- t.emit("fieldsClick", ...O);
1699
+ onClick: (...B) => {
1700
+ t.emit("fieldsClick", ...B);
1701
1701
  }
1702
1702
  }, null);
1703
1703
  return f("div", {
@@ -1710,22 +1710,22 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1710
1710
  ...e.displayType === "Card" ? {
1711
1711
  width: "100%",
1712
1712
  boxSizing: "border-box",
1713
- ...T ? {
1713
+ ...O ? {
1714
1714
  overflowX: "auto",
1715
1715
  overflowY: "visible"
1716
1716
  } : {},
1717
1717
  ...ge.value ? {
1718
1718
  minWidth: ge.value
1719
1719
  } : {},
1720
- ...tt(e.columnOption) && e.fit ? {
1720
+ ...ot(e.columnOption) && e.fit ? {
1721
1721
  maxWidth: "100%"
1722
1722
  } : {}
1723
1723
  } : {}
1724
1724
  },
1725
- onClick: (O) => ue(O, n),
1726
- onMouseover: (O) => ie(O, n),
1727
- onMouseout: (O) => ye(O, n)
1728
- }, [T ? f("div", {
1725
+ onClick: (B) => se(B, n),
1726
+ onMouseover: (B) => le(B, n),
1727
+ onMouseout: (B) => ye(B, n)
1728
+ }, [O ? f("div", {
1729
1729
  style: {
1730
1730
  display: "inline-block",
1731
1731
  minWidth: "100%",
@@ -1734,21 +1734,21 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1734
1734
  }
1735
1735
  }, [w]) : w]);
1736
1736
  }
1737
- function Be(n, l, v, m, I, T) {
1737
+ function ke(n, l, g, m, M, O) {
1738
1738
  const w = [];
1739
- return m && T.length > 0 && w.push(ke(n, l, v, "static", "flex", "100%")), I && m.length > 0 && w.push(ce(n, v, m)), w;
1740
- }
1741
- function Ee(n, l, v, m, I, T) {
1742
- return e.displayType === "Card" ? Be(n, l, v, m, I, T) : ke(n, l, v);
1743
- }
1744
- const Pe = [Ee, je, $e];
1745
- function Ae(n, l) {
1746
- let v = D(n);
1747
- return a.value.map((m, I) => {
1748
- const T = e.fieldsResolver(m.raw);
1749
- let w = T || [];
1750
- const $ = h.value.filter((Z) => Z.visible && Z.dataType !== _e && Z.dataType !== He);
1751
- return T || $.length > 0 && (w = $.map((Z) => g(Z))), (!v || Object.keys(v).length === 0) && (v = D(w)), Pe[m.type](m, v, I, w, T, $);
1739
+ return m && O.length > 0 && w.push(Oe(n, l, g, "static", "flex", "100%")), M && m.length > 0 && w.push(fe(n, g, m)), w;
1740
+ }
1741
+ function Be(n, l, g, m, M, O) {
1742
+ return e.displayType === "Card" ? ke(n, l, g, m, M, O) : Oe(n, l, g);
1743
+ }
1744
+ const Ee = [Be, Ne, $e];
1745
+ function Ve(n, l) {
1746
+ let g = I(n);
1747
+ return a.value.map((m, M) => {
1748
+ const O = e.fieldsResolver(m.raw);
1749
+ let w = O || [];
1750
+ const $ = h.value.filter((K) => K.visible && K.dataType !== _e && K.dataType !== He);
1751
+ return O || $.length > 0 && (w = $.map((K) => y(K))), (!g || Object.keys(g).length === 0) && (g = I(w)), Ee[m.type](m, g, M, w, O, $);
1752
1752
  });
1753
1753
  }
1754
1754
  function qe() {
@@ -1773,13 +1773,13 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1773
1773
  }
1774
1774
  function o() {
1775
1775
  return f("div", {
1776
- ref: i,
1776
+ ref: r,
1777
1777
  class: "fv-grid-content-primary",
1778
1778
  style: qe()
1779
1779
  }, [f("div", {
1780
1780
  class: "fv-grid-data",
1781
- style: Me.value
1782
- }, [Ae(K.value.primaryColumns.filter((n) => n.visible))])]);
1781
+ style: Ie.value
1782
+ }, [Ve(Z.value.primaryColumns.filter((n) => n.visible))])]);
1783
1783
  }
1784
1784
  function S() {
1785
1785
  const n = [];
@@ -1789,49 +1789,49 @@ function fr(e, t, i, u, F, N, A, L, z, x, b, d, C, p, a, c, h) {
1789
1789
  renderDataArea: S
1790
1790
  };
1791
1791
  }
1792
- function mr(e) {
1793
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !dt(e);
1792
+ function gi(e) {
1793
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !st(e);
1794
1794
  }
1795
- const vr = /* @__PURE__ */ Tt({
1795
+ const yi = /* @__PURE__ */ Ot({
1796
1796
  name: "FDataGrid",
1797
- props: ur,
1797
+ props: si,
1798
1798
  emits: ["changed", "clickRow", "doubleClickRow", "selectionChange", "unSelectItem", "selectItem", "enterUpInLastCell", "selectAll", "unSelectAll", "pageIndexChanged", "pageSizeChanged", "beginEditCell", "endEditCell", "filterChanged", "sortChanged", "selectionUpdate", "endEditRow", "fieldsEvent", "fieldsValueChange", "fieldsClick"],
1799
1799
  setup(e, t) {
1800
- var yt, pt;
1800
+ var pt, Ct;
1801
1801
  const {
1802
- isSmall: i
1803
- } = kn();
1804
- let u = [], F = [];
1805
- const N = de(!1), A = 0, L = de(((yt = e.rowOption) == null ? void 0 : yt.height) || 28), z = ne(() => e.displayType === "Card"), x = de(20), b = de(e.columns), d = Bn(e), C = de(), p = de(), a = de(), c = de(), h = de(), g = de([]), E = de(e.scrollbarMode === "always"), U = de(((pt = e.rowOption) == null ? void 0 : pt.wrapContent) || !1), Y = En(e, d), _ = Pn(e, t), D = Dn(e), {
1802
+ isSmall: r
1803
+ } = En();
1804
+ let u = [], x = [];
1805
+ const N = de(!1), A = 0, W = de(((pt = e.rowOption) == null ? void 0 : pt.height) || 28), z = oe(() => e.displayType === "Card"), T = de(20), b = de(e.columns), d = Pn(e), C = de(), p = de(), a = de(), c = de(), h = de(), y = de([]), E = de(e.scrollbarMode === "always"), U = de(((Ct = e.rowOption) == null ? void 0 : Ct.wrapContent) || !1), Y = Dn(e, d), _ = In(e, t), I = Mn(e), {
1806
1806
  showLoading: Q,
1807
1807
  renderLoading: X
1808
- } = In(e, C), P = new Map(b.value.map((r) => [r.field, r])), s = Mn(e, P, _, D, d), se = Gn(e, s), {
1808
+ } = Gn(e, C), P = new Map(b.value.map((i) => [i.field, i])), s = Nn(e, P, _, I, d), ce = jn(e, s), {
1809
1809
  shouldRenderPagination: ee
1810
- } = se, G = Nn(e, s, d, g, t), {
1811
- showSelectAll: oe,
1810
+ } = ce, G = Vn(e, s, d, y, t), {
1811
+ showSelectAll: ie,
1812
1812
  showSelection: te,
1813
1813
  selectedValues: re,
1814
1814
  updateSelectAllStatus: pe
1815
- } = G, ve = ne(() => e.disabled), H = ne(() => e.virtualized && e.displayType !== "Card" ? Math.min(s.dataView.value.length, x.value) : s.dataView.value.length), {
1816
- containerStyleObject: ue
1817
- } = jn(e, g), ie = ne(() => {
1818
- var r;
1819
- return e.displayType === "Card" && (((r = e.columns) == null ? void 0 : r.length) ?? 0) === 0;
1820
- }), ye = ne(() => {
1821
- var r;
1822
- return e.displayType === "Card" && (((r = e.columns) == null ? void 0 : r.length) ?? 0) > 0 && !!e.fit && tt(e.columnOption);
1815
+ } = G, ve = oe(() => e.disabled), H = oe(() => e.virtualized && e.displayType !== "Card" ? Math.min(s.dataView.value.length, T.value) : s.dataView.value.length), {
1816
+ containerStyleObject: se
1817
+ } = An(e, y), le = oe(() => {
1818
+ var i;
1819
+ return e.displayType === "Card" && (((i = e.columns) == null ? void 0 : i.length) ?? 0) === 0;
1820
+ }), ye = oe(() => {
1821
+ var i;
1822
+ return e.displayType === "Card" && (((i = e.columns) == null ? void 0 : i.length) ?? 0) > 0 && !!e.fit && ot(e.columnOption);
1823
1823
  });
1824
- ne(() => {
1825
- const r = ue.value;
1826
- if (!ie.value)
1827
- return r;
1824
+ oe(() => {
1825
+ const i = se.value;
1826
+ if (!le.value)
1827
+ return i;
1828
1828
  const {
1829
- overflow: y,
1830
- overflowX: B,
1831
- overflowY: M,
1832
- height: W,
1829
+ overflow: v,
1830
+ overflowX: F,
1831
+ overflowY: D,
1832
+ height: L,
1833
1833
  ...k
1834
- } = r, q = e.height > 0 ? {
1834
+ } = i, q = e.height > 0 ? {
1835
1835
  height: `${e.height}px`
1836
1836
  } : {
1837
1837
  height: "100%",
@@ -1854,388 +1854,393 @@ const vr = /* @__PURE__ */ Tt({
1854
1854
  } : {}
1855
1855
  };
1856
1856
  });
1857
- const De = Vn(e), {
1858
- applyCommands: we
1859
- } = De, {
1860
- applyColumnSetting: K,
1861
- removeColumnSetting: le
1862
- } = An(e);
1863
- we(b), e.showSetting && K(b);
1864
- const J = zn(e, t), ge = _n(e), {
1865
- applyColumnSorter: We,
1857
+ const Pe = zn(e), {
1858
+ applyCommands: Se
1859
+ } = Pe, {
1860
+ applyColumnSetting: Z,
1861
+ removeColumnSetting: ae
1862
+ } = _n(e);
1863
+ Se(b), e.showSetting && Z(b);
1864
+ const J = Hn(e, t), ge = Wn(e), {
1865
+ applyColumnSorter: Le,
1866
1866
  columnContext: Ce,
1867
- updateColumnRenderContext: Ie
1867
+ updateColumnRenderContext: De
1868
1868
  } = J;
1869
- We(s, ge);
1870
- const he = Hn(e, Ce), ae = Ln(e, t, G, d), R = Wn(e, t, d, ae, g), Me = Rn(e, s, L), Fe = $n(e, R, Me), Ge = Un(e, s, R, D, d, Me, Fe, L), Qe = Yn(e, d, Fe, Ge), Ze = qn(e, d, Fe, Ge), Te = Xn(e, b, s, H, A, Ge, Qe, Ze), {
1869
+ Le(s, ge);
1870
+ const he = Ln(e, Ce), ue = Rn(e, t, G, d), R = $n(e, t, d, ue, y), Ie = Un(e, s, W), we = Yn(e, R, Ie), Me = qn(e, s, R, I, d, Ie, we, W), Qe = Xn(e, d, we, Me), Ze = Jn(e, d, we, Me), xe = Qn(e, b, s, H, A, Me, Qe, Ze), {
1871
1871
  getVisualData: Re
1872
- } = Te, Ne = Jn(Ce), je = Qn(e, Ce, L, z), Oe = Zn(e, G), {
1872
+ } = xe, Ge = Zn(Ce), Ne = Kn(e, Ce, W, z), Te = eo(e, G), {
1873
1873
  sidebarWidth: $e,
1874
1874
  showSidebarCheckBox: Ue
1875
- } = Oe, j = Kn(e, s, g, Ce, Te, H, A, $e, L, z, R, E), {
1875
+ } = Te, j = to(e, s, y, Ce, xe, H, A, $e, W, z, R, E), {
1876
1876
  onWheel: Ye,
1877
- dataGridWidth: Ve,
1878
- viewPortHeight: ke,
1879
- viewPortWidth: xe,
1880
- resetScroll: ce,
1881
- updateVisibleRowsOnLatestVisibleScope: Be
1882
- } = j, Ee = eo(e, Ce, p, xe, he), {
1883
- calculateColumnsSize: Pe
1884
- } = Ee, Ae = to(), qe = no(p, h, s, Ae, j), o = oo(e, t, J, s, he, Y, j), S = ne(() => {
1885
- const r = {
1877
+ dataGridWidth: je,
1878
+ viewPortHeight: Oe,
1879
+ viewPortWidth: Fe,
1880
+ resetScroll: fe,
1881
+ updateVisibleRowsOnLatestVisibleScope: ke
1882
+ } = j, Be = no(e, Ce, p, Fe, he), {
1883
+ calculateColumnsSize: Ee
1884
+ } = Be, Ve = oo(), qe = io(p, h, s, Ve, j), o = ro(e, t, J, s, he, Y, j), S = oe(() => {
1885
+ const i = {
1886
1886
  "fv-grid": !0,
1887
1887
  "fv-grid-bordered": e.showBorder,
1888
1888
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
1889
1889
  "fv-datagrid-strip": e.showStripe
1890
1890
  };
1891
- return pn(r, e.customClass);
1892
- }), n = ne(() => ({
1891
+ return hn(i, e.customClass);
1892
+ }), n = oe(() => ({
1893
1893
  "fv-grid-content": !0,
1894
1894
  "fv-grid-content-hover": E.value,
1895
1895
  "fv-grid-wrap-content": U.value,
1896
1896
  "fv-grid-scrollbar-visible": j.shouldShowVirticalScrollbar.value && E.value
1897
- })), l = ne(() => {
1898
- var B, M;
1899
- const r = {}, y = z.value && ie.value;
1900
- return !y && j.shouldShowHorizontalScrollbar.value && E.value && (r.paddingBottom = "10px"), !y && j.shouldShowVirticalScrollbar.value && E.value, z.value && (r.display = "block", ie.value || ye.value ? (r.overflowX = "hidden", r.overflowY = "hidden", r.display = "flex", r.flexDirection = "column", r.flex = "1 1 auto", r.minHeight = "0", r.width = "100%", r.maxWidth = "100%", r.minWidth = "0", r.boxSizing = "border-box") : (((B = e.columns) == null ? void 0 : B.length) ?? 0) > 0 ? r.overflow = !g.value || g.value.length === 0 ? "hidden" : "auto" : (M = e.columnOption) != null && M.fitColumns && e.fit ? r.overflow = "visible" : r.overflow = !g.value || g.value.length === 0 ? "hidden" : "auto"), r;
1901
- }), {
1902
- renderGridHeader: v,
1903
- renderGridColumnResizeOverlay: m,
1904
- shouldShowHeader: I
1905
- } = ro(e, t, p, c, h, J, s, o, qe, _, Ae, Ee, he, G, Oe, ge, j, xe, g, N), {
1906
- renderDataGridPagination: T
1907
- } = io(e, t, s, j, se, G), {
1908
- renderDataGridSidebar: w
1909
- } = lo(e, ae, G, Oe, j), {
1910
- renderDisableMask: $
1911
- } = ao(), {
1912
- renderDataGridSummary: Z,
1913
- summaryPosition: O
1914
- } = uo(e, s, J), {
1915
- renderHorizontalScrollbar: rt
1916
- } = so(e, p, j), {
1917
- renderVerticalScrollbar: fe
1918
- } = co(e, p, j), {
1919
- renderFilterPanel: it
1920
- } = fo(e, J, s, _, ge, j), {
1921
- renderGroupPanel: Ke
1922
- } = mo(e, s, o, Y, j);
1923
- let be = null;
1924
- function Xe() {
1925
- var y;
1897
+ })), l = oe(() => {
1898
+ var F, D;
1899
+ const i = {}, v = z.value && le.value;
1900
+ return !v && j.shouldShowHorizontalScrollbar.value && E.value && (i.paddingBottom = "10px"), !v && j.shouldShowVirticalScrollbar.value && E.value, z.value && (i.display = "block", le.value || ye.value ? (i.overflowX = "hidden", i.overflowY = "hidden", i.display = "flex", i.flexDirection = "column", i.flex = "1 1 auto", i.minHeight = "0", i.width = "100%", i.maxWidth = "100%", i.minWidth = "0", i.boxSizing = "border-box") : (((F = e.columns) == null ? void 0 : F.length) ?? 0) > 0 ? i.overflow = !y.value || y.value.length === 0 ? "hidden" : "auto" : (D = e.columnOption) != null && D.fitColumns && e.fit ? i.overflow = "visible" : i.overflow = !y.value || y.value.length === 0 ? "hidden" : "auto"), i;
1901
+ }), g = de(null);
1902
+ function m(i, v) {
1903
+ var F, D;
1904
+ e.enableColumnSettingSolution && ((D = (F = g.value) == null ? void 0 : F.persistColumnWidths) == null || D.call(F, v));
1905
+ }
1906
+ const {
1907
+ renderGridHeader: M,
1908
+ renderGridColumnResizeOverlay: O,
1909
+ shouldShowHeader: w
1910
+ } = lo(e, t, p, c, h, J, s, o, qe, _, Ve, Be, he, G, Te, ge, j, Fe, y, N, m), {
1911
+ renderDataGridPagination: $
1912
+ } = ao(e, t, s, j, ce, G), {
1913
+ renderDataGridSidebar: K
1914
+ } = uo(e, ue, G, Te, j), {
1915
+ renderDisableMask: B
1916
+ } = so(), {
1917
+ renderDataGridSummary: Ke,
1918
+ summaryPosition: ne
1919
+ } = co(e, s, J), {
1920
+ renderHorizontalScrollbar: et
1921
+ } = fo(e, p, j), {
1922
+ renderVerticalScrollbar: tt
1923
+ } = mo(e, p, j), {
1924
+ renderFilterPanel: lt
1925
+ } = vo(e, J, s, _, ge, j), {
1926
+ renderGroupPanel: Xe
1927
+ } = go(e, s, o, Y, j);
1928
+ let Ae = null;
1929
+ function Pt() {
1930
+ var v;
1926
1931
  if (!p.value)
1927
1932
  return;
1928
- const r = Math.ceil(p.value.clientHeight / L.value);
1929
- r > x.value && (x.value = r, Be()), ke.value = ((y = a.value) == null ? void 0 : y.clientHeight) || 0, Ve.value = p.value.clientWidth || 0, a.value && (xe.value = a.value.clientWidth), Pe();
1933
+ const i = Math.ceil(p.value.clientHeight / W.value);
1934
+ i > T.value && (T.value = i, ke()), Oe.value = ((v = a.value) == null ? void 0 : v.clientHeight) || 0, je.value = p.value.clientWidth || 0, a.value && (Fe.value = a.value.clientWidth), Ee();
1930
1935
  }
1931
- function Et() {
1932
- be !== null && cancelAnimationFrame(be), be = requestAnimationFrame(() => {
1933
- be = null, Xe();
1936
+ function Dt() {
1937
+ Ae !== null && cancelAnimationFrame(Ae), Ae = requestAnimationFrame(() => {
1938
+ Ae = null, Pt();
1934
1939
  });
1935
1940
  }
1936
- hn(() => {
1937
- p.value && (x.value = Math.max(Math.ceil(p.value.clientHeight / L.value), x.value), g.value = Re(0, H.value + A - 1), xn(p.value, Et), Pe(), bn(() => {
1938
- p.value && (Ve.value = p.value.clientWidth), a.value && (xe.value = a.value.clientWidth, ke.value = a.value.clientHeight);
1941
+ Sn(() => {
1942
+ p.value && (T.value = Math.max(Math.ceil(p.value.clientHeight / W.value), T.value), y.value = Re(0, H.value + A - 1), On(p.value, Dt), Ee(), wn(() => {
1943
+ p.value && (je.value = p.value.clientWidth), a.value && (Fe.value = a.value.clientWidth, Oe.value = a.value.clientHeight);
1939
1944
  })), Q.value && X();
1940
- }), Sn(() => {
1941
- be !== null && cancelAnimationFrame(be);
1945
+ }), Fn(() => {
1946
+ Ae !== null && cancelAnimationFrame(Ae);
1942
1947
  });
1943
- function Pt() {
1944
- const r = s.insertNewDataItem();
1945
- return ce(), r;
1948
+ function It() {
1949
+ const i = s.insertNewDataItem();
1950
+ return fe(), i;
1946
1951
  }
1947
- function Dt() {
1948
- const r = s.insertNewDataItem(g.value.length);
1949
- return ce(), r;
1952
+ function Mt() {
1953
+ const i = s.insertNewDataItem(y.value.length);
1954
+ return fe(), i;
1950
1955
  }
1951
- function It(r) {
1952
- R.onEditingRow(r);
1956
+ function Gt(i) {
1957
+ R.onEditingRow(i);
1953
1958
  }
1954
- function Mt(r) {
1955
- s.removeDataItem(r), ce();
1959
+ function Nt(i) {
1960
+ s.removeDataItem(i), fe();
1956
1961
  }
1957
- function Gt(r) {
1958
- s.removeDataItemById(r), ce();
1962
+ function jt(i) {
1963
+ s.removeDataItemById(i), fe();
1959
1964
  }
1960
- function Nt(r) {
1961
- R.acceptEditingRow(r);
1965
+ function Vt(i) {
1966
+ R.acceptEditingRow(i);
1962
1967
  }
1963
- function jt(r) {
1964
- R.cancelEditingRow(r);
1968
+ function At(i) {
1969
+ R.cancelEditingRow(i);
1965
1970
  }
1966
- function st(r) {
1967
- g.value.forEach((y, B) => {
1968
- const M = s.getVisibleDataItems().findIndex((V) => V === y.raw), W = g.value[B - 1];
1969
- r.forEach((V) => {
1970
- y.data[V.field] ? Fe.updateCellByColumn(y.data[V.field], V, W, y.raw) : y.data[V.field] = Fe.createCellByColumn(V, M, y.raw, y, W);
1971
+ function ct(i) {
1972
+ y.value.forEach((v, F) => {
1973
+ const D = s.getVisibleDataItems().findIndex((V) => V === v.raw), L = y.value[F - 1];
1974
+ i.forEach((V) => {
1975
+ v.data[V.field] ? we.updateCellByColumn(v.data[V.field], V, L, v.raw) : v.data[V.field] = we.createCellByColumn(V, D, v.raw, v, L);
1971
1976
  });
1972
- const k = Object.keys(y.data), q = r.map((V) => V.field);
1977
+ const k = Object.keys(v.data), q = i.map((V) => V.field);
1973
1978
  k.filter((V) => !q.includes(V)).forEach((V) => {
1974
- delete y.data[V];
1979
+ delete v.data[V];
1975
1980
  });
1976
1981
  });
1977
1982
  }
1978
- Le(() => e.editable, () => {
1979
- st(b.value);
1983
+ We(() => e.editable, () => {
1984
+ ct(b.value);
1980
1985
  });
1981
- function ze(r) {
1982
- r && (b.value = r, we(b), st(b.value), e.showSetting && K(b), Ie(b.value), We(s, ge), Pe());
1986
+ function ze(i) {
1987
+ i && (b.value = i, Se(b), ct(b.value), e.showSetting && Z(b), De(b.value), Le(s, ge), Ee());
1983
1988
  }
1984
- function Vt() {
1989
+ function zt() {
1985
1990
  G.emptyCurrentRowId();
1986
1991
  }
1987
- Le(() => e.showSetting, (r, y) => {
1988
- r !== y && (r ? K(b) : le(b), ze(b.value));
1992
+ We(() => e.showSetting, (i, v) => {
1993
+ i !== v && (i ? Z(b) : ae(b), ze(b.value));
1989
1994
  });
1990
- function lt(r) {
1991
- se.updatePagination(r);
1992
- }
1993
- function ct(r, y) {
1994
- if (r) {
1995
- const B = !!(y != null && y.keepScrollTop || y != null && y.keepScrollPosition), M = B ? j.offsetY.value : 0;
1996
- s.load(r), Co({
1997
- keepScroll: B,
1998
- savedOffsetY: M,
1999
- resetScroll: ce,
1995
+ function at(i) {
1996
+ ce.updatePagination(i);
1997
+ }
1998
+ function ft(i, v) {
1999
+ if (i) {
2000
+ const F = !!(v != null && v.keepScrollTop || v != null && v.keepScrollPosition), D = F ? j.offsetY.value : 0;
2001
+ s.load(i), bo({
2002
+ keepScroll: F,
2003
+ savedOffsetY: D,
2004
+ resetScroll: fe,
2000
2005
  scrollTo: j.scrollTo
2001
- }), g.value.length || (re.value = []), Ue.value && oe.value && pe();
2006
+ }), y.value.length || (re.value = []), Ue.value && ie.value && pe();
2002
2007
  }
2003
2008
  }
2004
- Le(s.shouldGroupingData, (r, y) => {
2005
- r !== y && (s.updateDataView(), ce());
2006
- }), Le(() => e.columns, (r) => {
2009
+ We(s.shouldGroupingData, (i, v) => {
2010
+ i !== v && (s.updateDataView(), fe());
2011
+ }), We(() => e.columns, (i) => {
2007
2012
  if (e.showSetting && e.enableColumnSettingSolution) {
2008
2013
  ze(b.value);
2009
2014
  return;
2010
2015
  }
2011
- ze(r);
2016
+ ze(i);
2012
2017
  });
2013
- function at(r) {
2014
- ae.activeRowById(r);
2018
+ function ut(i) {
2019
+ ue.activeRowById(i);
2015
2020
  }
2016
- const At = vo(G, s, _, b, se, d, J, ge, ze, ct, lt);
2017
- function zt(r, y = {
2021
+ const _t = yo(G, s, _, b, ce, d, J, ge, ze, ft, at);
2022
+ function Ht(i, v = {
2018
2023
  isCurrent: !0
2019
2024
  }) {
2020
- y != null && y.isCurrent && at(r), G.selectItemById(r);
2025
+ v != null && v.isCurrent && ut(i), G.selectItemById(i);
2021
2026
  }
2022
- function _t(r) {
2023
- const y = d.idField.value, B = g.value.find((M) => M.raw[y] === r);
2024
- B && ae.clickRowItem(B);
2027
+ function Wt(i) {
2028
+ const v = d.idField.value, F = y.value.find((D) => D.raw[v] === i);
2029
+ F && ue.clickRowItem(F);
2025
2030
  }
2026
- function Ht(r) {
2027
- const y = d.idField.value, B = g.value.find((M) => M.raw[y] === r);
2028
- B && ae.changeRow(B);
2031
+ function Lt(i) {
2032
+ const v = d.idField.value, F = y.value.find((D) => D.raw[v] === i);
2033
+ F && ue.changeRow(F);
2029
2034
  }
2030
- function Lt(r) {
2031
- G.selectItemByIds(r);
2035
+ function Rt(i) {
2036
+ G.selectItemByIds(i);
2032
2037
  }
2033
- function Wt() {
2034
- return g.value;
2038
+ function $t() {
2039
+ return y.value;
2035
2040
  }
2036
- function Rt(r) {
2037
- return g.value.filter((y) => r.includes(y.raw[e.idField]));
2041
+ function Ut(i) {
2042
+ return y.value.filter((v) => i.includes(v.raw[e.idField]));
2038
2043
  }
2039
- function $t() {
2044
+ function Yt() {
2040
2045
  return G.getSelectedItems();
2041
2046
  }
2042
- function Ut() {
2047
+ function qt() {
2043
2048
  return G.getSelectionRow();
2044
2049
  }
2045
- function Yt() {
2050
+ function Xt() {
2046
2051
  R.endEditCell();
2047
2052
  }
2048
- function qt(r, y = {
2053
+ function Jt(i, v = {
2049
2054
  clearCurrent: !0
2050
2055
  }) {
2051
- y != null && y.clearCurrent && at(""), G.unSelectItemByIds(r);
2056
+ v != null && v.clearCurrent && ut(""), G.unSelectItemByIds(i);
2052
2057
  }
2053
- function ft() {
2058
+ function mt() {
2054
2059
  G.clearSelection();
2055
2060
  }
2056
- function Xt() {
2061
+ function Qt() {
2057
2062
  return G.currentSelectedDataId.value;
2058
2063
  }
2059
- function Jt() {
2064
+ function Zt() {
2060
2065
  j.scrollToBottom();
2061
2066
  }
2062
- function Qt(r) {
2063
- j.scrollToRowByIndex(r);
2067
+ function Kt(i) {
2068
+ j.scrollToRowByIndex(i);
2064
2069
  }
2065
- function Zt(r) {
2066
- j.scrollRowIntoView(r);
2070
+ function en(i) {
2071
+ j.scrollRowIntoView(i);
2067
2072
  }
2068
- function Kt() {
2069
- G.keepSelectingOnPaging.value || ft(), s.updateVisibleDataSummary(g.value), lt({
2073
+ function tn() {
2074
+ G.keepSelectingOnPaging.value || mt(), s.updateVisibleDataSummary(y.value), at({
2070
2075
  total: s.dataView.value.length,
2071
2076
  index: 1
2072
2077
  });
2073
2078
  }
2074
- function en(r) {
2075
- G.updateSelectedValues(r);
2079
+ function nn(i) {
2080
+ G.updateSelectedValues(i);
2076
2081
  }
2077
- function tn(r) {
2078
- G.removeSelectedValues(r);
2082
+ function on(i) {
2083
+ G.removeSelectedValues(i);
2079
2084
  }
2080
- function nn() {
2085
+ function rn() {
2081
2086
  return e.displayType;
2082
2087
  }
2083
- function on() {
2084
- var r;
2085
- (r = Fn()) == null || r.update();
2088
+ function ln() {
2089
+ var i;
2090
+ (i = Tn()) == null || i.update();
2086
2091
  }
2087
- function rn(r) {
2088
- const y = d.idField.value;
2089
- let B = 0;
2090
- const M = s.dataView.value;
2091
- for (let W = 0; W < M.length; W++) {
2092
- const k = M[W];
2092
+ function an(i) {
2093
+ const v = d.idField.value;
2094
+ let F = 0;
2095
+ const D = s.dataView.value;
2096
+ for (let L = 0; L < D.length; L++) {
2097
+ const k = D[L];
2093
2098
  if (!(k.__fv_data_grid_group_row__ || k.__fv_data_grid_group_summary__)) {
2094
- if (k[y] === r)
2095
- return B;
2096
- B++;
2099
+ if (k[v] === i)
2100
+ return F;
2101
+ F++;
2097
2102
  }
2098
2103
  }
2099
2104
  return -1;
2100
2105
  }
2101
- const ut = {
2102
- activeRowById: at,
2103
- selectRowById: Ht,
2104
- addNewDataItem: Pt,
2105
- addNewDataItemAtLast: Dt,
2106
- removeDataItem: Mt,
2107
- removeDataItemById: Gt,
2108
- editDataItem: It,
2109
- acceptDataItem: Nt,
2110
- cancelDataItem: jt,
2111
- selectItemById: zt,
2112
- selectItemByIds: Lt,
2106
+ const dt = {
2107
+ activeRowById: ut,
2108
+ selectRowById: Lt,
2109
+ addNewDataItem: It,
2110
+ addNewDataItemAtLast: Mt,
2111
+ removeDataItem: Nt,
2112
+ removeDataItemById: jt,
2113
+ editDataItem: Gt,
2114
+ acceptDataItem: Vt,
2115
+ cancelDataItem: At,
2116
+ selectItemById: Ht,
2117
+ selectItemByIds: Rt,
2113
2118
  updateColumns: ze,
2114
- updateDataSource: ct,
2115
- updatePagination: lt,
2116
- getVisibleData: Wt,
2117
- getVisibleDataByIds: Rt,
2118
- getSelectedItems: $t,
2119
- getSelectionRow: Ut,
2120
- getCurrentRowId: Xt,
2121
- endEditCell: Yt,
2122
- clickRowItemById: _t,
2123
- clearSelection: ft,
2124
- unSelectItemByIds: qt,
2125
- scrollToBottom: Jt,
2126
- scrollToRowByIndex: Qt,
2127
- scrollRowIntoView: Zt,
2128
- updateDerivedData: Kt,
2129
- emptyCurrentRowId: Vt,
2130
- updateSelectedValues: en,
2131
- removeSelectedValues: tn,
2132
- getDisplayType: nn,
2133
- ...At,
2134
- forceUpdate: on,
2135
- getDataIndexById: rn
2119
+ updateDataSource: ft,
2120
+ updatePagination: at,
2121
+ getVisibleData: $t,
2122
+ getVisibleDataByIds: Ut,
2123
+ getSelectedItems: Yt,
2124
+ getSelectionRow: qt,
2125
+ getCurrentRowId: Qt,
2126
+ endEditCell: Xt,
2127
+ clickRowItemById: Wt,
2128
+ clearSelection: mt,
2129
+ unSelectItemByIds: Jt,
2130
+ scrollToBottom: Zt,
2131
+ scrollToRowByIndex: Kt,
2132
+ scrollRowIntoView: en,
2133
+ updateDerivedData: tn,
2134
+ emptyCurrentRowId: zt,
2135
+ updateSelectedValues: nn,
2136
+ removeSelectedValues: on,
2137
+ getDisplayType: rn,
2138
+ ..._t,
2139
+ forceUpdate: ln,
2140
+ getDataIndexById: an
2136
2141
  };
2137
- t.expose(ut);
2138
- const mt = go(e, t, ut, J, R, g), {
2139
- renderDataArea: ln
2140
- } = sr(e, t, a, c, h, Ne, je, J, R, Y, mt, ae, Te, j, g, s), {
2141
- renderDataArea: an
2142
- } = fr(e, t, a, c, h, Ne, je, J, R, Y, mt, ae, Te, j, g, s, b), et = ne(() => !g.value || !g.value.length), {
2143
- renderEmpty: vt
2144
- } = yo(e, t), un = ne(() => ({
2142
+ t.expose(dt);
2143
+ const vt = po(e, t, dt, J, R, y), {
2144
+ renderDataArea: un
2145
+ } = fi(e, t, a, c, h, Ge, Ne, J, R, Y, vt, ue, xe, j, y, s), {
2146
+ renderDataArea: dn
2147
+ } = vi(e, t, a, c, h, Ge, Ne, J, R, Y, vt, ue, xe, j, y, s, b), nt = oe(() => !y.value || !y.value.length), {
2148
+ renderEmpty: gt
2149
+ } = Co(e, t), sn = oe(() => ({
2145
2150
  "d-flex": !0,
2146
2151
  "justify-content-between": ee.value && te.value,
2147
2152
  "justify-content-end": ee.value && !te.value,
2148
2153
  "position-relative": !0,
2149
2154
  "fv-datagrid-pagination": !0
2150
- })), dn = ne(() => ({
2155
+ })), cn = oe(() => ({
2151
2156
  "flex-direction": "row"
2152
- })), sn = ne(() => ({
2157
+ })), fn = oe(() => ({
2153
2158
  "d-flex": !0,
2154
2159
  "align-items-center": !0
2155
2160
  }));
2156
- wn("dataGridContext", {
2161
+ xn("dataGridContext", {
2157
2162
  useColumnComposition: J,
2158
2163
  dataView: s,
2159
2164
  useFilterComposition: _,
2160
- useFitColumnComposition: Ee,
2165
+ useFitColumnComposition: Be,
2161
2166
  useSortComposition: ge,
2162
2167
  useVirtualScrollComposition: j,
2163
- dataGridComponentInstance: ut
2168
+ dataGridComponentInstance: dt
2164
2169
  });
2165
- function cn(r) {
2166
- let y;
2167
- return f(ho, {
2170
+ function mn(i) {
2171
+ let v;
2172
+ return f(So, {
2168
2173
  class: "f-form-layout farris-form farris-form-controls-inline col-12 col-md-6 col-xl-3 col-el-2"
2169
- }, mr(y = Object.keys(r.data).filter((B) => {
2170
- var M, W;
2171
- return ((M = r.data[B].column) == null ? void 0 : M.dataType) !== He && ((W = r.data[B].column) == null ? void 0 : W.dataType) !== _e;
2172
- }).map((B) => {
2173
- var W, k;
2174
- const M = r.data[B];
2174
+ }, gi(v = Object.keys(i.data).filter((F) => {
2175
+ var D, L;
2176
+ return ((D = i.data[F].column) == null ? void 0 : D.dataType) !== He && ((L = i.data[F].column) == null ? void 0 : L.dataType) !== _e;
2177
+ }).map((F) => {
2178
+ var L, k;
2179
+ const D = i.data[F];
2175
2180
  return f("div", {
2176
2181
  class: "farris-group-wrap w-100"
2177
2182
  }, [f("div", {
2178
2183
  class: "form-group farris-form-group common-group"
2179
- }, [f(So, {
2180
- text: (W = M.column) == null ? void 0 : W.title,
2181
- title: (k = M.column) == null ? void 0 : k.title
2184
+ }, [f(Fo, {
2185
+ text: (L = D.column) == null ? void 0 : L.title,
2186
+ title: (k = D.column) == null ? void 0 : k.title
2182
2187
  }, null), f("div", {
2183
2188
  class: "farris-input-wrap"
2184
- }, [M.getEditor(M)])])]);
2185
- })) ? y : {
2186
- default: () => [y]
2189
+ }, [D.getEditor(D)])])]);
2190
+ })) ? v : {
2191
+ default: () => [v]
2187
2192
  });
2188
2193
  }
2189
- function fn(r, y) {
2190
- const B = {}, M = {}, W = [], k = [], q = {};
2191
- Object.keys(y.data).filter((me) => {
2192
- var V, Se;
2193
- return ((V = y.data[me].column) == null ? void 0 : V.dataType) !== He && ((Se = y.data[me].column) == null ? void 0 : Se.dataType) !== _e;
2194
+ function vn(i, v) {
2195
+ const F = {}, D = {}, L = [], k = [], q = {};
2196
+ Object.keys(v.data).filter((me) => {
2197
+ var V, be;
2198
+ return ((V = v.data[me].column) == null ? void 0 : V.dataType) !== He && ((be = v.data[me].column) == null ? void 0 : be.dataType) !== _e;
2194
2199
  }).forEach((me) => {
2195
- var Se, Ct, ht;
2196
- const V = y.data[me];
2197
- B[me] = V.data, R.endEditByCell(V), M[me] = V.data, W.push(V.column), k.push(V), q[me] = (ht = (Ct = (Se = V.column) == null ? void 0 : Se.editor) == null ? void 0 : Ct.context) == null ? void 0 : ht.editor;
2200
+ var be, ht, bt;
2201
+ const V = v.data[me];
2202
+ F[me] = V.data, R.endEditByCell(V), D[me] = V.data, L.push(V.column), k.push(V), q[me] = (bt = (ht = (be = V.column) == null ? void 0 : be.editor) == null ? void 0 : ht.context) == null ? void 0 : bt.editor;
2198
2203
  }), t.emit("endEditRow", {
2199
- row: y,
2204
+ row: v,
2200
2205
  cells: k,
2201
- columns: W,
2202
- oldValues: B,
2203
- newValues: M,
2206
+ columns: L,
2207
+ oldValues: F,
2208
+ newValues: D,
2204
2209
  editors: q
2205
2210
  }), R.showRowEditPanel.value = !1;
2206
2211
  }
2207
- function mn() {
2208
- const r = G.currentSelectedDataId.value, y = g.value.find((B) => B.raw[e.idField] === r);
2209
- return y ? f(wo, {
2212
+ function gn() {
2213
+ const i = G.currentSelectedDataId.value, v = y.value.find((F) => F.raw[e.idField] === i);
2214
+ return v ? f(xo, {
2210
2215
  showHeader: !1,
2211
2216
  modelValue: R.showRowEditPanel.value,
2212
- "onUpdate:modelValue": (B) => R.showRowEditPanel.value = B,
2217
+ "onUpdate:modelValue": (F) => R.showRowEditPanel.value = F,
2213
2218
  width: 600
2214
2219
  }, {
2215
- default: () => cn(y),
2216
- footerTemplate: () => f(ot, null, [f(wt, {
2220
+ default: () => mn(v),
2221
+ footerTemplate: () => f(rt, null, [f(Ft, {
2217
2222
  class: "mr-3",
2218
2223
  type: "secondary",
2219
- onClick: (B) => {
2224
+ onClick: (F) => {
2220
2225
  R.showRowEditPanel.value = !1;
2221
2226
  }
2222
2227
  }, {
2223
2228
  default: () => [Je("取消")]
2224
- }), f(wt, {
2225
- onClick: (B) => {
2226
- fn(B, y);
2229
+ }), f(Ft, {
2230
+ onClick: (F) => {
2231
+ vn(F, v);
2227
2232
  }
2228
2233
  }, {
2229
2234
  default: () => [Je("确定")]
2230
2235
  })])
2231
2236
  }) : null;
2232
2237
  }
2233
- function gt() {
2234
- return z.value ? an() : ln();
2238
+ function yt() {
2239
+ return z.value ? dn() : un();
2235
2240
  }
2236
- function vn() {
2241
+ function yn() {
2237
2242
  var q;
2238
- const r = ie.value || ye.value ? {
2243
+ const i = le.value || ye.value ? {
2239
2244
  width: "100%",
2240
2245
  maxWidth: "100%",
2241
2246
  minWidth: 0,
@@ -2244,17 +2249,17 @@ const vr = /* @__PURE__ */ Tt({
2244
2249
  } : {
2245
2250
  width: "max-content",
2246
2251
  minWidth: "100%"
2247
- }, y = I.value && b.value.length > 0 ? v() : null, B = gt(), M = et.value ? vt() : null, W = ie.value || ye.value, k = (((q = g.value) == null ? void 0 : q.length) ?? 0) > 0 ? "auto" : "visible";
2248
- return W ? f("div", {
2252
+ }, v = w.value && b.value.length > 0 ? M() : null, F = yt(), D = nt.value ? gt() : null, L = le.value || ye.value, k = (((q = y.value) == null ? void 0 : q.length) ?? 0) > 0 ? "auto" : "visible";
2253
+ return L ? f("div", {
2249
2254
  style: {
2250
- ...r,
2255
+ ...i,
2251
2256
  display: "flex",
2252
2257
  flexDirection: "column",
2253
2258
  flex: "1 1 auto",
2254
2259
  minHeight: 0,
2255
2260
  overflow: "hidden"
2256
2261
  }
2257
- }, [y, f("div", {
2262
+ }, [v, f("div", {
2258
2263
  style: {
2259
2264
  flex: "1 1 auto",
2260
2265
  minHeight: 0,
@@ -2262,69 +2267,70 @@ const vr = /* @__PURE__ */ Tt({
2262
2267
  overflowY: k,
2263
2268
  boxSizing: "border-box"
2264
2269
  }
2265
- }, [B, M])]) : f("div", {
2266
- style: r
2267
- }, [y, B, M]);
2268
- }
2269
- function gn(r) {
2270
- const y = r.map((k) => k.id), B = [...b.value, ...u, ...F];
2271
- B.filter((k) => k.dataType !== He && k.dataType !== _e).forEach((k) => {
2272
- const q = r.find((me) => me.id === k.id);
2270
+ }, [F, D])]) : f("div", {
2271
+ style: i
2272
+ }, [v, F, D]);
2273
+ }
2274
+ function pn(i) {
2275
+ const v = i.map((k) => k.id), F = [...b.value, ...u, ...x];
2276
+ F.filter((k) => k.dataType !== He && k.dataType !== _e).forEach((k) => {
2277
+ const q = i.find((me) => me.id === k.id);
2273
2278
  q && (k.width = q.actualWidth || k.width || 120, q.actualWidth !== void 0 && (k.actualWidth = q.actualWidth), k.title = q.title, k.halign = q.halign, k.align = q.align);
2274
- }), F = B.filter((k) => k.dataType === He || k.dataType === _e);
2275
- const M = B.filter((k) => k.dataType !== He && k.dataType !== _e), W = M.filter((k) => y.includes(k.id));
2276
- u = M.filter((k) => !y.includes(k.id)), W.sort((k, q) => {
2277
- const me = r.findIndex((Se) => Se.id === k.id), V = r.findIndex((Se) => Se.id === q.id);
2279
+ }), x = F.filter((k) => k.dataType === He || k.dataType === _e);
2280
+ const D = F.filter((k) => k.dataType !== He && k.dataType !== _e), L = D.filter((k) => v.includes(k.id));
2281
+ u = D.filter((k) => !v.includes(k.id)), L.sort((k, q) => {
2282
+ const me = i.findIndex((be) => be.id === k.id), V = i.findIndex((be) => be.id === q.id);
2278
2283
  return me - V;
2279
- }), ze(W);
2284
+ }), ze(L);
2280
2285
  }
2281
- return () => e.visible && f(ot, null, [f("div", {
2286
+ return () => e.visible && f(rt, null, [f("div", {
2282
2287
  ref: C,
2283
2288
  class: S.value,
2284
- style: ue.value,
2289
+ style: se.value,
2285
2290
  onWheel: Ye
2286
- }, [p.value && Ke(), p.value && !z.value && I.value && b.value.length > 0 && v(), p.value && (O.value === "top" || O.value === "both") && Z(), f("div", {
2291
+ }, [p.value && Xe(), p.value && !z.value && w.value && b.value.length > 0 && M(), p.value && (ne.value === "top" || ne.value === "both") && Ke(), f("div", {
2287
2292
  ref: p,
2288
2293
  class: n.value,
2289
2294
  style: l.value,
2290
- onMouseover: (r) => {
2291
- r.stopPropagation(), e.scrollbarMode !== "always" && !E.value && !z.value && (E.value = !0);
2295
+ onMouseover: (i) => {
2296
+ i.stopPropagation(), e.scrollbarMode !== "always" && !E.value && !z.value && (E.value = !0);
2292
2297
  },
2293
- onMouseleave: (r) => {
2294
- r.stopPropagation(), e.scrollbarMode !== "always" && E.value && !z.value && (E.value = !1);
2298
+ onMouseleave: (i) => {
2299
+ i.stopPropagation(), e.scrollbarMode !== "always" && E.value && !z.value && (E.value = !1);
2295
2300
  }
2296
- }, [p.value && z.value ? vn() : [p.value && !z.value && w(g), p.value && gt(), p.value && et.value && !z.value && vt()], p.value && !et.value && rt(), p.value && !et.value && fe()]), p.value && (O.value === "bottom" || O.value === "both") && !z.value && Z(), (ee.value || te.value) && !z.value && f("div", {
2297
- class: un.value,
2298
- style: dn.value
2301
+ }, [p.value && z.value ? yn() : [p.value && !z.value && K(y), p.value && yt(), p.value && nt.value && !z.value && gt()], p.value && !nt.value && et(), p.value && !nt.value && tt()]), p.value && (ne.value === "bottom" || ne.value === "both") && !z.value && Ke(), (ee.value || te.value) && !z.value && f("div", {
2302
+ class: sn.value,
2303
+ style: cn.value
2299
2304
  }, [te.value && f("div", {
2300
- class: sn.value
2301
- }, [f("div", null, ["已选:" + re.value.length, Je(" 条")])]), ee.value && T()]), m(), ve.value && $()]), i() && mn(), e.enableColumnSettingSolution && f(po, {
2305
+ class: fn.value
2306
+ }, [f("div", null, ["已选:" + re.value.length, Je(" 条")])]), ee.value && $()]), O(), ve.value && B()]), r() && gn(), e.enableColumnSettingSolution && f(ho, {
2307
+ ref: g,
2302
2308
  columns: [...b.value, ...u],
2303
2309
  componentId: e.id,
2304
2310
  modelValue: N.value,
2305
- "onUpdate:modelValue": (r) => N.value = r,
2306
- onChangeColumnSetting: gn
2311
+ "onUpdate:modelValue": (i) => N.value = i,
2312
+ onChangeColumnSetting: pn
2307
2313
  }, null)]);
2308
2314
  }
2309
- }), jr = Cn(vr);
2315
+ }), Ai = bn(yi);
2310
2316
  export {
2311
- vr as FDataGrid,
2312
- lr as ScrollbarMode,
2313
- Dr as columnOptions,
2314
- ur as dataGridProps,
2315
- jr as default,
2316
- ar as defaultDataGridFieldsResolver,
2317
- Mr as editOptions,
2318
- Nr as eventHandlerResolver,
2319
- Or as filterOptions,
2320
- Tr as groupOptions,
2321
- kr as headerOptions,
2322
- tt as isFitColumnsEnabled,
2323
- Gr as loadingOptions,
2324
- Fr as paginationOptions,
2325
- Br as rowNumberOptions,
2326
- Er as rowOptions,
2327
- Ir as selectionOptions,
2328
- xr as sortOptions,
2329
- Pr as summaryOptions
2317
+ yi as FDataGrid,
2318
+ ui as ScrollbarMode,
2319
+ Mi as columnOptions,
2320
+ si as dataGridProps,
2321
+ Ai as default,
2322
+ di as defaultDataGridFieldsResolver,
2323
+ Ni as editOptions,
2324
+ Vi as eventHandlerResolver,
2325
+ Bi as filterOptions,
2326
+ ki as groupOptions,
2327
+ Ei as headerOptions,
2328
+ ot as isFitColumnsEnabled,
2329
+ ji as loadingOptions,
2330
+ Ti as paginationOptions,
2331
+ Pi as rowNumberOptions,
2332
+ Di as rowOptions,
2333
+ Gi as selectionOptions,
2334
+ Oi as sortOptions,
2335
+ Ii as summaryOptions
2330
2336
  };