@farris/ui-vue 1.6.5 → 1.6.6

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 (108) hide show
  1. package/components/avatar/index.esm.js +1 -1
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +2 -2
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/combo-list/index.esm.js +7 -5
  6. package/components/combo-list/index.umd.cjs +1 -1
  7. package/components/common/index.esm.js +1 -1
  8. package/components/common/index.umd.cjs +1 -1
  9. package/components/component/index.esm.js +1 -1
  10. package/components/component/index.umd.cjs +1 -1
  11. package/components/condition/index.esm.js +3 -2
  12. package/components/condition/index.umd.cjs +1 -1
  13. package/components/content-container/index.esm.js +1 -1
  14. package/components/content-container/index.umd.cjs +1 -1
  15. package/components/data-view/index.esm.js +498 -495
  16. package/components/data-view/index.umd.cjs +1 -1
  17. package/components/date-picker/index.esm.js +833 -832
  18. package/components/date-picker/index.umd.cjs +1 -1
  19. package/components/designer-canvas/index.esm.js +1 -1
  20. package/components/designer-canvas/index.umd.cjs +1 -1
  21. package/components/dynamic-form/index.esm.js +3 -2
  22. package/components/dynamic-form/index.umd.cjs +1 -1
  23. package/components/events-editor/index.esm.js +1 -1
  24. package/components/events-editor/index.umd.cjs +1 -1
  25. package/components/expression-editor/index.esm.js +256 -254
  26. package/components/expression-editor/index.umd.cjs +2 -2
  27. package/components/filter-bar/index.esm.js +416 -394
  28. package/components/filter-bar/index.umd.cjs +1 -1
  29. package/components/filter-condition-editor/index.esm.js +388 -386
  30. package/components/filter-condition-editor/index.umd.cjs +1 -1
  31. package/components/flow-canvas/index.esm.js +1 -1
  32. package/components/flow-canvas/index.umd.cjs +1 -1
  33. package/components/language-textbox/index.esm.js +77 -76
  34. package/components/language-textbox/index.umd.cjs +1 -1
  35. package/components/list-nav/index.esm.js +4 -2
  36. package/components/list-nav/index.umd.cjs +1 -1
  37. package/components/lookup/index.esm.js +118 -118
  38. package/components/lookup/index.umd.cjs +1 -1
  39. package/components/mapping-editor/index.esm.js +80 -81
  40. package/components/mapping-editor/index.umd.cjs +1 -1
  41. package/components/message-box/index.esm.js +237 -237
  42. package/components/message-box/index.umd.cjs +1 -1
  43. package/components/modal/index.esm.js +1 -1
  44. package/components/modal/index.umd.cjs +1 -1
  45. package/components/number-range/index.esm.js +1 -1
  46. package/components/number-range/index.umd.cjs +1 -1
  47. package/components/number-spinner/index.esm.js +9 -3
  48. package/components/number-spinner/index.umd.cjs +1 -1
  49. package/components/order/index.esm.js +114 -112
  50. package/components/order/index.umd.cjs +1 -1
  51. package/components/page-header/index.esm.js +1 -1
  52. package/components/page-header/index.umd.cjs +1 -1
  53. package/components/property-panel/index.esm.js +1 -1
  54. package/components/property-panel/index.umd.cjs +1 -1
  55. package/components/query-solution/index.esm.js +485 -463
  56. package/components/query-solution/index.umd.cjs +3 -3
  57. package/components/radio-group/index.esm.js +30 -30
  58. package/components/radio-group/index.umd.cjs +1 -1
  59. package/components/response-layout/index.esm.js +1 -1
  60. package/components/response-layout/index.umd.cjs +1 -1
  61. package/components/response-layout-editor/index.esm.js +544 -545
  62. package/components/response-layout-editor/index.umd.cjs +1 -1
  63. package/components/response-toolbar/index.esm.js +1 -1
  64. package/components/response-toolbar/index.umd.cjs +1 -1
  65. package/components/schema-selector/index.esm.js +6 -4
  66. package/components/schema-selector/index.umd.cjs +2 -2
  67. package/components/section/index.esm.js +1 -1
  68. package/components/section/index.umd.cjs +1 -1
  69. package/components/sort-condition-editor/index.esm.js +9 -7
  70. package/components/sort-condition-editor/index.umd.cjs +1 -1
  71. package/components/switch/index.esm.js +77 -78
  72. package/components/switch/index.umd.cjs +1 -1
  73. package/components/tabs/index.esm.js +5 -3
  74. package/components/tabs/index.umd.cjs +1 -1
  75. package/components/textarea/index.esm.js +1 -1
  76. package/components/textarea/index.umd.cjs +1 -1
  77. package/components/time-picker/index.esm.js +2 -2
  78. package/components/time-picker/index.umd.cjs +1 -1
  79. package/components/video/index.esm.js +1 -1
  80. package/components/video/index.umd.cjs +1 -1
  81. package/designer/button-edit/index.esm.js +211 -211
  82. package/designer/button-edit/index.umd.cjs +1 -1
  83. package/designer/checkbox/index.esm.js +1 -1
  84. package/designer/checkbox/index.umd.cjs +1 -1
  85. package/designer/checkbox-group/index.esm.js +25 -26
  86. package/designer/checkbox-group/index.umd.cjs +1 -1
  87. package/designer/data-grid/index.esm.js +15 -9
  88. package/designer/data-grid/index.umd.cjs +2 -2
  89. package/designer/farris-designer.all.esm.js +917 -916
  90. package/designer/farris-designer.all.umd.cjs +5 -5
  91. package/designer/input-group/index.esm.js +2 -1
  92. package/designer/input-group/index.umd.cjs +1 -1
  93. package/designer/list-view/index.esm.js +685 -689
  94. package/designer/list-view/index.umd.cjs +3 -3
  95. package/designer/radio-group/index.esm.js +7 -3
  96. package/designer/radio-group/index.umd.cjs +1 -1
  97. package/farris.all.esm.js +5641 -5603
  98. package/farris.all.umd.cjs +21 -21
  99. package/locales/data-grid/ui/en.json +2 -1
  100. package/locales/data-grid/ui/zh-CHS.json +2 -1
  101. package/locales/data-grid/ui/zh-CHT.json +2 -1
  102. package/locales/designer/en.json +2 -1
  103. package/locales/designer/zh-CHS.json +2 -1
  104. package/locales/designer/zh-CHT.json +2 -1
  105. package/locales/ui/en.json +2 -1
  106. package/locales/ui/zh-CHS.json +2 -1
  107. package/locales/ui/zh-CHT.json +2 -1
  108. package/package.json +1 -1
@@ -86,7 +86,7 @@ import "../external-container/index.esm.js";
86
86
  import "../language-textbox/index.esm.js";
87
87
  import "../designer-canvas/index.esm.js";
88
88
  import { useResizeObserver as _n } from "@vueuse/core";
89
- import { getHierarchyRow as Un, useIdentify as Gn, useGroupData as Xn, useFilter as Yn, useHierarchy as Jn, useLoading as Qn, useDataView as Zn, useSelection as Kn, useSelectHierarchyItem as eo, usePagination as to, useDataViewContainerStyle as no, useCommandColumn as oo, useSettingColumn as ao, useColumn as io, useSort as lo, useGroupColumn as ro, useRow as so, useEdit as uo, useVisualDataBound as co, useVisualDataCell as fo, useVisualDataRow as po, useVisualData as mo, useCellPosition as vo, useSidebar as ho, useVirtualScroll as go, useFitColumn as yo, useFilterHistory as bo, useColumnFilter as wo, useDragColumn as Co, getColumnHeader as So, getSidebar as xo, getDisableMask as To, getHorizontalScrollbar as Fo, getVerticalScrollbar as Bo, getEmpty as Mo, getPagination as ko, getSummary as Eo } from "../data-view/index.esm.js";
89
+ import { getHierarchyRow as Un, useIdentify as Gn, useGroupData as Xn, useFilter as Yn, useHierarchy as Jn, useLoading as Qn, useDataView as Zn, useSelection as Kn, useSelectHierarchyItem as eo, usePagination as to, useDataViewContainerStyle as no, useCommandColumn as oo, useSettingColumn as ao, useColumn as io, useSort as lo, useGroupColumn as ro, useRow as so, useEdit as uo, useVisualDataBound as co, useVisualDataCell as fo, useVisualDataRow as po, useVisualData as mo, useCellPosition as vo, useSidebar as ho, useVirtualScroll as yo, useFitColumn as go, useFilterHistory as bo, useColumnFilter as wo, useDragColumn as Co, getColumnHeader as So, getSidebar as xo, getDisableMask as To, getHorizontalScrollbar as Fo, getVerticalScrollbar as Bo, getEmpty as Mo, getPagination as ko, getSummary as Eo } from "../data-view/index.esm.js";
90
90
  import "../property-panel/index.esm.js";
91
91
  import "../notify/index.esm.js";
92
92
  const Ro = {
@@ -181,79 +181,79 @@ const Ro = {
181
181
  function on(e, t) {
182
182
  let n;
183
183
  function o(r) {
184
- const { properties: s, title: c, ignore: p } = r, g = p && Array.isArray(p), b = Object.keys(s).reduce((R, M) => ((!g || !p.find((I) => I === M)) && (R[M] = s[M].type === "object" && s[M].properties ? o(s[M]) : Te(s[M].default)), R), {});
185
- if (c && (!g || !p.find((R) => R === "id"))) {
184
+ const { properties: s, title: c, ignore: f } = r, y = f && Array.isArray(f), b = Object.keys(s).reduce((R, M) => ((!y || !f.find((I) => I === M)) && (R[M] = s[M].type === "object" && s[M].properties ? o(s[M]) : Te(s[M].default)), R), {});
185
+ if (c && (!y || !f.find((R) => R === "id"))) {
186
186
  const R = c.toLowerCase().replace(/-/g, "_");
187
187
  b.id = `${R}_${Math.random().toString().slice(2, 6)}`;
188
188
  }
189
189
  return b;
190
190
  }
191
191
  function a(r) {
192
- const { properties: s, title: c, required: p } = r;
193
- if (p && Array.isArray(p)) {
194
- const g = p.reduce((b, R) => (b[R] = s[R].type === "object" && s[R].properties ? o(s[R]) : Te(s[R].default), b), {});
195
- if (c && p.find((b) => b === "id")) {
192
+ const { properties: s, title: c, required: f } = r;
193
+ if (f && Array.isArray(f)) {
194
+ const y = f.reduce((b, R) => (b[R] = s[R].type === "object" && s[R].properties ? o(s[R]) : Te(s[R].default), b), {});
195
+ if (c && f.find((b) => b === "id")) {
196
196
  const b = c.toLowerCase().replace(/-/g, "_");
197
- g.id = `${b}_${Math.random().toString().slice(2, 6)}`;
197
+ y.id = `${b}_${Math.random().toString().slice(2, 6)}`;
198
198
  }
199
- return g;
199
+ return y;
200
200
  }
201
201
  return {
202
202
  type: c
203
203
  };
204
204
  }
205
205
  function i(r, s = {}, c) {
206
- const p = e[r];
207
- if (p) {
208
- let g = a(p);
206
+ const f = e[r];
207
+ if (f) {
208
+ let y = a(f);
209
209
  const b = t[r];
210
- return g = b ? b({ getSchemaByType: i }, g, s, c) : g, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(g), g;
210
+ return y = b ? b({ getSchemaByType: i }, y, s, c) : y, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(y), y;
211
211
  }
212
212
  return null;
213
213
  }
214
214
  function l(r, s) {
215
215
  const c = o(s);
216
- return Object.keys(c).reduce((p, g) => (Object.prototype.hasOwnProperty.call(r, g) && (p[g] && Yt(p[g]) && Yt(r[g] || !r[g]) ? Object.assign(p[g], r[g] || {}) : p[g] = r[g]), p), c), c;
216
+ return Object.keys(c).reduce((f, y) => (Object.prototype.hasOwnProperty.call(r, y) && (f[y] && Yt(f[y]) && Yt(r[y] || !r[y]) ? Object.assign(f[y], r[y] || {}) : f[y] = r[y]), f), c), c;
217
217
  }
218
- function f(r, s) {
219
- return Object.keys(r).filter((p) => r[p] != null).reduce((p, g) => {
220
- if (s.has(g)) {
221
- const b = s.get(g);
218
+ function p(r, s) {
219
+ return Object.keys(r).filter((f) => r[f] != null).reduce((f, y) => {
220
+ if (s.has(y)) {
221
+ const b = s.get(y);
222
222
  if (typeof b == "string")
223
- p[b] = r[g];
223
+ f[b] = r[y];
224
224
  else {
225
- const R = b(g, r[g], r);
226
- Object.assign(p, R);
225
+ const R = b(y, r[y], r);
226
+ Object.assign(f, R);
227
227
  }
228
228
  } else
229
- p[g] = r[g];
230
- return p;
229
+ f[y] = r[y];
230
+ return f;
231
231
  }, {});
232
232
  }
233
233
  function m(r, s, c = /* @__PURE__ */ new Map()) {
234
- const p = l(r, s);
235
- return f(p, c);
234
+ const f = l(r, s);
235
+ return p(f, c);
236
236
  }
237
237
  function u(r) {
238
238
  var c;
239
239
  const s = r.type;
240
240
  if (s) {
241
- const p = e[s];
242
- if (!p)
241
+ const f = e[s];
242
+ if (!f)
243
243
  return r;
244
- const g = l(r, p), b = ((c = r.editor) == null ? void 0 : c.type) || "";
244
+ const y = l(r, f), b = ((c = r.editor) == null ? void 0 : c.type) || "";
245
245
  if (b) {
246
246
  const R = e[b], M = l(r.editor, R);
247
- g.editor = M;
247
+ y.editor = M;
248
248
  }
249
- return g;
249
+ return y;
250
250
  }
251
251
  return r;
252
252
  }
253
253
  function h(r) {
254
254
  n = r;
255
255
  }
256
- return { getSchemaByType: i, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: m, mappingSchemaToProps: f, setDesignerContext: h };
256
+ return { getSchemaByType: i, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: m, mappingSchemaToProps: p, setDesignerContext: h };
257
257
  }
258
258
  const an = {}, ln = {}, { getSchemaByType: Su, resolveSchemaWithDefaultValue: Vo, resolveSchemaToProps: Ho, mappingSchemaToProps: zo, setDesignerContext: xu } = on(an, ln);
259
259
  function Wo(e = {}) {
@@ -261,13 +261,13 @@ function Wo(e = {}) {
261
261
  if (typeof r == "number")
262
262
  return s[u].length === r;
263
263
  if (typeof r == "object") {
264
- const c = Object.keys(r)[0], p = r[c];
264
+ const c = Object.keys(r)[0], f = r[c];
265
265
  if (c === "not")
266
- return Number(s[u].length) !== Number(p);
266
+ return Number(s[u].length) !== Number(f);
267
267
  if (c === "moreThan")
268
- return Number(s[u].length) >= Number(p);
268
+ return Number(s[u].length) >= Number(f);
269
269
  if (c === "lessThan")
270
- return Number(s[u].length) <= Number(p);
270
+ return Number(s[u].length) <= Number(f);
271
271
  }
272
272
  return !1;
273
273
  }
@@ -284,8 +284,8 @@ function Wo(e = {}) {
284
284
  return typeof h == "number" ? [{ target: r, operator: "length", param: null, value: Number(h) }] : typeof h == "boolean" ? [{ target: r, operator: "getProperty", param: u, value: !!h }] : typeof h == "object" ? Object.keys(h).map((s) => {
285
285
  if (s === "length")
286
286
  return { target: r, operator: "length", param: null, value: h[s] };
287
- const c = s, p = h[s];
288
- return { target: r, operator: "getProperty", param: c, value: p };
287
+ const c = s, f = h[s];
288
+ return { target: r, operator: "getProperty", param: c, value: f };
289
289
  }) : [];
290
290
  }
291
291
  function i(u) {
@@ -301,11 +301,11 @@ function Wo(e = {}) {
301
301
  }
302
302
  return !1;
303
303
  }
304
- function f(u, h) {
305
- return i(u).reduce((c, p) => c && l(p, h), !0);
304
+ function p(u, h) {
305
+ return i(u).reduce((c, f) => c && l(f, h), !0);
306
306
  }
307
307
  function m(u, h) {
308
- const r = Object.keys(u), s = r.includes("allOf"), c = r.includes("anyOf"), p = s || c, R = (p ? u[p ? s ? "allOf" : "anyOf" : "allOf"] : [u]).map((I) => f(I, h));
308
+ const r = Object.keys(u), s = r.includes("allOf"), c = r.includes("anyOf"), f = s || c, R = (f ? u[f ? s ? "allOf" : "anyOf" : "allOf"] : [u]).map((I) => p(I, h));
309
309
  return s ? !R.includes(!1) : R.includes(!0);
310
310
  }
311
311
  return { parseValueSchema: m };
@@ -599,24 +599,24 @@ function rn(e, t, n) {
599
599
  ["number", { type: "number-spinner", placeholder: "" }],
600
600
  ["events-editor", { type: "events-editor", hide: !0 }]
601
601
  ]), i = Wo();
602
- function l(p, g) {
603
- return () => i.parseValueSchema(p, g);
602
+ function l(f, y) {
603
+ return () => i.parseValueSchema(f, y);
604
604
  }
605
- function f(p, g, b) {
606
- return p.includes("visible") && g.visible !== void 0 ? typeof g.visible == "boolean" ? () => !!g.visible : g.visible === void 0 ? !0 : l(g.visible, b) : () => !0;
605
+ function p(f, y, b) {
606
+ return f.includes("visible") && y.visible !== void 0 ? typeof y.visible == "boolean" ? () => !!y.visible : y.visible === void 0 ? !0 : l(y.visible, b) : () => !0;
607
607
  }
608
- function m(p, g, b) {
609
- return p.includes("readonly") && g.readonly !== void 0 ? typeof g.readonly == "boolean" ? () => !!g.readonly : l(g.readonly, b) : () => !1;
608
+ function m(f, y, b) {
609
+ return f.includes("readonly") && y.readonly !== void 0 ? typeof y.readonly == "boolean" ? () => !!y.readonly : l(y.readonly, b) : () => !1;
610
610
  }
611
- function u(p, g) {
612
- const b = p.$converter || g;
611
+ function u(f, y) {
612
+ const b = f.$converter || y;
613
613
  return typeof b == "string" && b && o.has(b) ? o.get(b) || null : b || null;
614
614
  }
615
- function h(p, g, b, R, M, I = "", $ = "") {
616
- return Object.keys(p).map((x) => {
617
- const w = d(1), C = x, S = p[x], j = Object.keys(S), F = S.title, D = S.type, O = a.get(D) || { type: "input-group", enableClear: !1 }, y = S.editor ? Object.assign({}, O, S.editor) : Object.assign({}, O), B = f(j, S, g), P = m(j, S, g);
618
- y.readonly = y.readonly === void 0 ? P() : y.readonly;
619
- const J = S.type === "cascade" ? h(S.properties, g, b, R, M, I, $) : [], A = !0;
615
+ function h(f, y, b, R, M, I = "", $ = "") {
616
+ return Object.keys(f).map((x) => {
617
+ const w = d(1), C = x, S = f[x], j = Object.keys(S), F = S.title, D = S.type, O = a.get(D) || { type: "input-group", enableClear: !1 }, g = S.editor ? Object.assign({}, O, S.editor) : Object.assign({}, O), B = p(j, S, y), P = m(j, S, y);
618
+ g.readonly = g.readonly === void 0 ? P() : g.readonly;
619
+ const J = S.type === "cascade" ? h(S.properties, y, b, R, M, I, $) : [], A = !0;
620
620
  let E = u(S, $);
621
621
  const q = V({
622
622
  get() {
@@ -631,42 +631,42 @@ function rn(e, t, n) {
631
631
  set(ie) {
632
632
  w.value += 1, E && E.convertTo ? (E.convertTo(R, x, ie, M, I), E.convertTo(b, x, ie, M, I)) : (R[x] = ie, b[x] = ie);
633
633
  }
634
- }), { refreshPanelAfterChanged: z, description: ee, isExpand: ye, parentPropertyID: be } = S, Y = { propertyID: C, propertyName: F, propertyType: D, propertyValue: q, editor: y, visible: B, readonly: P, cascadeConfig: J, hideCascadeTitle: A, refreshPanelAfterChanged: z, description: ee, isExpand: ye, parentPropertyID: be };
635
- return g[C] = Y, Y;
634
+ }), { refreshPanelAfterChanged: z, description: ee, isExpand: ge, parentPropertyID: be } = S, Y = { propertyID: C, propertyName: F, propertyType: D, propertyValue: q, editor: g, visible: B, readonly: P, cascadeConfig: J, hideCascadeTitle: A, refreshPanelAfterChanged: z, description: ee, isExpand: ge, parentPropertyID: be };
635
+ return y[C] = Y, Y;
636
636
  });
637
637
  }
638
- function r(p, g, b = {}) {
639
- const R = {}, M = e[p];
638
+ function r(f, y, b = {}) {
639
+ const R = {}, M = e[f];
640
640
  return M && M.categories ? Object.keys(M.categories).map(($) => {
641
- const T = M.categories[$], x = T == null ? void 0 : T.title, w = h(T.properties || {}, R, {}, b, g);
641
+ const T = M.categories[$], x = T == null ? void 0 : T.title, w = h(T.properties || {}, R, {}, b, y);
642
642
  return { categoryId: $, categoryName: x, properties: w };
643
643
  }) : [];
644
644
  }
645
- function s(p, g, b, R, M = "") {
646
- const I = g.$ref.schema, $ = g.$ref.converter, T = b[I], x = T.type, w = n(T), C = {}, S = e[x];
645
+ function s(f, y, b, R, M = "") {
646
+ const I = y.$ref.schema, $ = y.$ref.converter, T = b[I], x = T.type, w = n(T), C = {}, S = e[x];
647
647
  if (S && S.categories) {
648
- const j = S.categories[p], F = j == null ? void 0 : j.title;
649
- $ && Object.keys(j.properties).forEach((y) => {
650
- j.properties[y].$converter = $;
648
+ const j = S.categories[f], F = j == null ? void 0 : j.title;
649
+ $ && Object.keys(j.properties).forEach((g) => {
650
+ j.properties[g].$converter = $;
651
651
  });
652
652
  const D = (j == null ? void 0 : j.properties) || {}, O = h(D, C, w, T, R, M);
653
- return { categoryId: p, categoryName: F, properties: O };
653
+ return { categoryId: f, categoryName: F, properties: O };
654
654
  }
655
- return { categoryId: p, categoryName: "", properties: [] };
655
+ return { categoryId: f, categoryName: "", properties: [] };
656
656
  }
657
- function c(p, g, b, R, M) {
658
- const I = p.type, $ = n(p), T = {};
657
+ function c(f, y, b, R, M) {
658
+ const I = f.type, $ = n(f), T = {};
659
659
  let x = M || e[I];
660
660
  if (x && Object.keys(x).length === 0 && b && b.getPropConfig && (x = b.getPropConfig(R)), x && x.categories) {
661
661
  const w = [];
662
662
  return Object.keys(x.categories).map((C) => {
663
663
  const S = x.categories[C];
664
664
  if (S.$ref) {
665
- w.push(s(C, S, p, g, R));
665
+ w.push(s(C, S, f, y, R));
666
666
  return;
667
667
  }
668
- const j = S == null ? void 0 : S.title, F = S == null ? void 0 : S.tabId, D = S == null ? void 0 : S.tabName, O = S == null ? void 0 : S.hide, y = S == null ? void 0 : S.hideTitle, B = h(S.properties || {}, T, $, p, g, R, S.$converter), { setPropertyRelates: P } = S, J = S == null ? void 0 : S.parentPropertyID;
669
- w.push({ categoryId: C, categoryName: j, tabId: F, tabName: D, hide: O, properties: B, hideTitle: y, setPropertyRelates: P, parentPropertyID: J });
668
+ const j = S == null ? void 0 : S.title, F = S == null ? void 0 : S.tabId, D = S == null ? void 0 : S.tabName, O = S == null ? void 0 : S.hide, g = S == null ? void 0 : S.hideTitle, B = h(S.properties || {}, T, $, f, y, R, S.$converter), { setPropertyRelates: P } = S, J = S == null ? void 0 : S.parentPropertyID;
669
+ w.push({ categoryId: C, categoryName: j, tabId: F, tabName: D, hide: O, properties: B, hideTitle: g, setPropertyRelates: P, parentPropertyID: J });
670
670
  }), w;
671
671
  }
672
672
  return [];
@@ -681,9 +681,9 @@ const sn = {}, un = {};
681
681
  rn(sn, un, Vo);
682
682
  const cn = {}, dn = {}, { getSchemaByType: Tu, resolveSchemaWithDefaultValue: da, resolveSchemaToProps: Fu, mappingSchemaToProps: Bu, setDesignerContext: Mu } = on(cn, dn), fn = {}, pn = {};
683
683
  rn(fn, pn, da);
684
- function je(e, t, n = /* @__PURE__ */ new Map(), o = (l, f, m, u) => f, a = {}, i = (l) => l) {
685
- return an[t.title] = t, ln[t.title] = o, sn[t.title] = a, un[t.title] = i, cn[t.title] = t, dn[t.title] = o, fn[t.title] = a, pn[t.title] = i, (l = {}, f = !0) => {
686
- if (!f)
684
+ function je(e, t, n = /* @__PURE__ */ new Map(), o = (l, p, m, u) => p, a = {}, i = (l) => l) {
685
+ return an[t.title] = t, ln[t.title] = o, sn[t.title] = a, un[t.title] = i, cn[t.title] = t, dn[t.title] = o, fn[t.title] = a, pn[t.title] = i, (l = {}, p = !0) => {
686
+ if (!p)
687
687
  return zo(l, n);
688
688
  const m = Ho(l, t, n), u = Object.keys(e).reduce((h, r) => (h[r] = e[r].default, h), {});
689
689
  return Object.assign(u, m);
@@ -698,7 +698,7 @@ const fa = /* @__PURE__ */ new Map([
698
698
  function pa(e, t, n) {
699
699
  return t;
700
700
  }
701
- const ma = "capsule", va = "A Farris Component", ha = "object", ga = {
701
+ const ma = "capsule", va = "A Farris Component", ha = "object", ya = {
702
702
  basic: {
703
703
  description: "Basic Infomation",
704
704
  title: "基本信息",
@@ -720,11 +720,11 @@ const ma = "capsule", va = "A Farris Component", ha = "object", ga = {
720
720
  }
721
721
  }
722
722
  }
723
- }, ya = {
723
+ }, ga = {
724
724
  title: ma,
725
725
  description: va,
726
726
  type: ha,
727
- categories: ga
727
+ categories: ya
728
728
  }, mn = {
729
729
  items: {
730
730
  Type: Array,
@@ -747,7 +747,7 @@ const ma = "capsule", va = "A Farris Component", ha = "object", ga = {
747
747
  show: { type: Boolean, default: !0 },
748
748
  disabled: { type: Boolean, default: !1 }
749
749
  };
750
- je(mn, Lo, fa, pa, ya);
750
+ je(mn, Lo, fa, pa, ga);
751
751
  const wa = /* @__PURE__ */ le({
752
752
  name: "FCapsuleItem",
753
753
  props: ba,
@@ -784,18 +784,18 @@ const wa = /* @__PURE__ */ le({
784
784
  props: mn,
785
785
  emits: ["change", "update:modelValue"],
786
786
  setup(e, t) {
787
- const n = d(e.items), o = d(), a = 2, i = d(e.modelValue), l = d("none"), f = d(e.type), m = V(() => {
787
+ const n = d(e.items), o = d(), a = 2, i = d(e.modelValue), l = d("none"), p = d(e.type), m = V(() => {
788
788
  const C = {
789
789
  "f-capsule-container": !0
790
790
  };
791
- return f.value && (C[f.value] = !0), C;
791
+ return p.value && (C[p.value] = !0), C;
792
792
  }), u = V(() => ({})), h = V(() => ({
793
793
  "f-capsule": !0
794
- })), r = d(a), s = d(0), c = d(0), p = V(() => ({
794
+ })), r = d(a), s = d(0), c = d(0), f = V(() => ({
795
795
  left: `${r.value}px`,
796
796
  width: `${s.value}px`,
797
797
  transition: l.value
798
- })), g = V(() => ({
798
+ })), y = V(() => ({
799
799
  width: `${c.value}px`
800
800
  })), b = /* @__PURE__ */ new Map();
801
801
  function R(C) {
@@ -855,15 +855,14 @@ const wa = /* @__PURE__ */ le({
855
855
  class: "f-capsule-pane"
856
856
  }, [n.value.map((C, S) => w(C, S))]), v("small", {
857
857
  class: h.value,
858
- style: p.value
858
+ style: f.value
859
859
  }, null), v("div", {
860
860
  class: "f-capsule-board",
861
- style: g.value
861
+ style: y.value
862
862
  }, null)]);
863
863
  }
864
864
  }), Sa = /* @__PURE__ */ new Map([
865
- ["appearance", Vt],
866
- ["onChange", "onModelValueChanged"]
865
+ ["appearance", Vt]
867
866
  ]), xa = "https://json-schema.org/draft/2020-12/schema", Ta = "https://farris-design.gitee.io/switch.schema.json", Fa = "switch", Ba = "A Farris Component", Ma = "object", ka = {
868
867
  id: {
869
868
  description: "The unique identifier for a switch",
@@ -951,9 +950,9 @@ const wa = /* @__PURE__ */ le({
951
950
  type: "boolean",
952
951
  default: !1
953
952
  },
954
- onChange: {
953
+ "onUpdate:modelValue": {
955
954
  description: "",
956
- type: "string"
955
+ type: "object"
957
956
  }
958
957
  }, Ea = [
959
958
  "type"
@@ -1009,25 +1008,25 @@ const Ia = /* @__PURE__ */ le({
1009
1008
  onLabel: a,
1010
1009
  offLabel: i,
1011
1010
  onBackground: l,
1012
- offBackground: f,
1011
+ offBackground: p,
1013
1012
  onColor: m,
1014
1013
  offColor: u,
1015
1014
  readonly: h
1016
- } = In(e), r = d(e.modelValue), s = d(), c = d(""), p = V(() => e.trueValue != null ? r.value === e.trueValue : !!r.value), g = V(() => ({
1015
+ } = In(e), r = d(e.modelValue), s = d(), c = d(""), f = V(() => e.trueValue != null ? r.value === e.trueValue : !!r.value), y = V(() => ({
1017
1016
  switch: !0,
1018
1017
  "f-cmp-switch": !0,
1019
- checked: p.value,
1018
+ checked: f.value,
1020
1019
  disabled: h.value || n.value,
1021
1020
  "switch-large": o.value === "large",
1022
1021
  "switch-medium": o.value === "medium",
1023
1022
  "switch-small": o.value === "small"
1024
- })), b = V(() => p.value ? {
1023
+ })), b = V(() => f.value ? {
1025
1024
  outline: "none",
1026
1025
  background: l.value
1027
1026
  } : {
1028
1027
  outline: "none",
1029
- backgroundColor: f.value
1030
- }), R = V(() => p.value ? {
1028
+ backgroundColor: p.value
1029
+ }), R = V(() => f.value ? {
1031
1030
  background: m.value
1032
1031
  } : {
1033
1032
  backgroundColor: u.value
@@ -1039,7 +1038,7 @@ const Ia = /* @__PURE__ */ le({
1039
1038
  });
1040
1039
  }
1041
1040
  function $() {
1042
- h.value || n.value || (r.value = p.value ? e.falseValue : e.trueValue, t.emit("update:modelValue", r.value), I());
1041
+ h.value || n.value || (r.value = f.value ? e.falseValue : e.trueValue, t.emit("update:modelValue", r.value), I());
1043
1042
  }
1044
1043
  return Z(r, (T, x) => {
1045
1044
  T !== x && t.emit("modelValueChanged", T);
@@ -1052,7 +1051,7 @@ const Ia = /* @__PURE__ */ le({
1052
1051
  ref: s,
1053
1052
  tabindex: "0",
1054
1053
  role: "button",
1055
- class: g.value,
1054
+ class: y.value,
1056
1055
  style: b.value,
1057
1056
  onClick: $,
1058
1057
  title: c.value
@@ -1092,7 +1091,7 @@ const Ia = /* @__PURE__ */ le({
1092
1091
  value: "EL",
1093
1092
  active: !1
1094
1093
  }]), o = d(e.defaultStates), a = d("MD"), i = d("中等屏幕"), l = d(!0);
1095
- function f(h) {
1094
+ function p(h) {
1096
1095
  n.value.forEach((r) => {
1097
1096
  r.active = r.code === h, r.active && (a.value = r.code, i.value = r.name, t.emit("screenNameChanged", i.value), t.emit("currentScreenResolutionChanged", a.value));
1098
1097
  });
@@ -1110,7 +1109,7 @@ const Ia = /* @__PURE__ */ le({
1110
1109
  items: n.value,
1111
1110
  modelValue: a.value,
1112
1111
  "onUpdate:modelValue": (h) => a.value = h,
1113
- onChange: f
1112
+ onChange: p
1114
1113
  }, null);
1115
1114
  }
1116
1115
  return () => v("div", {
@@ -1154,8 +1153,8 @@ const Ia = /* @__PURE__ */ le({
1154
1153
  emits: [],
1155
1154
  setup(e, t) {
1156
1155
  const n = d(e.item), o = d(e.currentScreenResolution), a = V(() => `col-${n.value[`columnIn${o.value}`]}`);
1157
- return Z([() => e.item, () => e.currentScreenResolution], ([i, l], [f, m]) => {
1158
- i !== f && (n.value = i), l !== m && (o.value = l);
1156
+ return Z([() => e.item, () => e.currentScreenResolution], ([i, l], [p, m]) => {
1157
+ i !== p && (n.value = i), l !== m && (o.value = l);
1159
1158
  }), () => v("div", {
1160
1159
  class: a.value
1161
1160
  }, [v("div", {
@@ -1171,22 +1170,22 @@ const Ia = /* @__PURE__ */ le({
1171
1170
  emits: ["update:twoDimensionalArray"],
1172
1171
  setup(e, t) {
1173
1172
  const n = d(e.currentScreenResolution), o = d(e.switchInStandardMode), a = d(e.currentArea), i = d(e.twoDimensionalArray), l = d([]);
1174
- Z([() => e.currentArea, () => e.switchInStandardMode, () => e.currentScreenResolution], ([r, s, c], [p, g, b]) => {
1175
- r !== p && (a.value = r), s !== g && (o.value = s), c !== b && (n.value = c);
1173
+ Z([() => e.currentArea, () => e.switchInStandardMode, () => e.currentScreenResolution], ([r, s, c], [f, y, b]) => {
1174
+ r !== f && (a.value = r), s !== y && (o.value = s), c !== b && (n.value = c);
1176
1175
  });
1177
- function f(r, s) {
1176
+ function p(r, s) {
1178
1177
  const c = [];
1179
- let p = [];
1180
- return r.forEach((g) => {
1181
- s !== g.componentRow && (s += 1, c.push(p), p = []), p.push(g);
1182
- }), c.push(p), c;
1178
+ let f = [];
1179
+ return r.forEach((y) => {
1180
+ s !== y.componentRow && (s += 1, c.push(f), f = []), f.push(y);
1181
+ }), c.push(f), c;
1183
1182
  }
1184
1183
  function m() {
1185
1184
  const r = [];
1186
1185
  let s = 1;
1187
1186
  return l.value.forEach((c) => {
1188
- const p = f(c, s);
1189
- s += p.length, r.push(p);
1187
+ const f = p(c, s);
1188
+ s += f.length, r.push(f);
1190
1189
  }), r;
1191
1190
  }
1192
1191
  function u() {
@@ -1221,11 +1220,11 @@ const Ia = /* @__PURE__ */ le({
1221
1220
  class: "f-layout-editor-preview-row-group"
1222
1221
  }, [l.value.map((r) => {
1223
1222
  var s, c;
1224
- return ((s = r[0][0]) == null ? void 0 : s.group.toString()) === ((c = a.value[0]) == null ? void 0 : c.id) && r.map((p) => v("div", {
1223
+ return ((s = r[0][0]) == null ? void 0 : s.group.toString()) === ((c = a.value[0]) == null ? void 0 : c.id) && r.map((f) => v("div", {
1225
1224
  class: "f-layout-editor-row"
1226
- }, [p.map((g) => v(Aa, {
1227
- item: g,
1228
- "onUpdate:item": (b) => g = b,
1225
+ }, [f.map((y) => v(Aa, {
1226
+ item: y,
1227
+ "onUpdate:item": (b) => y = b,
1229
1228
  currentScreenResolution: n.value,
1230
1229
  switchInStandardMode: o.value
1231
1230
  }, null))]));
@@ -1253,8 +1252,8 @@ function Va(e, t) {
1253
1252
  const n = d(-1), o = d(!1);
1254
1253
  function a(r) {
1255
1254
  if (r.target.offsetParent) {
1256
- const s = r.target.offsetParent, c = s.offsetWidth - r.target.offsetWidth / 2 - 4, p = s.offsetHeight / 2;
1257
- r.dataTransfer && r.dataTransfer.setDragImage(s, c, p);
1255
+ const s = r.target.offsetParent, c = s.offsetWidth - r.target.offsetWidth / 2 - 4, f = s.offsetHeight / 2;
1256
+ r.dataTransfer && r.dataTransfer.setDragImage(s, c, f);
1258
1257
  }
1259
1258
  }
1260
1259
  function i(r) {
@@ -1268,15 +1267,15 @@ function Va(e, t) {
1268
1267
  function l(r, s) {
1269
1268
  r.stopPropagation(), a(r), i(s);
1270
1269
  }
1271
- function f(r) {
1270
+ function p(r) {
1272
1271
  const s = e.value.findIndex((c) => c.label === r.label);
1273
1272
  if (n.value !== s) {
1274
- const c = e.value[n.value], p = e.value;
1275
- p.splice(n.value, 1), p.splice(s, 0, c), n.value = s, t && t();
1273
+ const c = e.value[n.value], f = e.value;
1274
+ f.splice(n.value, 1), f.splice(s, 0, c), n.value = s, t && t();
1276
1275
  }
1277
1276
  }
1278
1277
  function m(r, s) {
1279
- r.preventDefault(), f(s);
1278
+ r.preventDefault(), p(s);
1280
1279
  }
1281
1280
  function u(r) {
1282
1281
  r.preventDefault(), r.dataTransfer && (r.dataTransfer.dropEffect = "move");
@@ -1474,9 +1473,9 @@ const Ha = /* @__PURE__ */ new Map([
1474
1473
  type: "boolean",
1475
1474
  default: !1
1476
1475
  },
1477
- onChange: {
1476
+ "onUpdate:modelValue": {
1478
1477
  description: "",
1479
- type: "string"
1478
+ type: "object"
1480
1479
  }
1481
1480
  }, Xa = [
1482
1481
  "type"
@@ -1697,7 +1696,7 @@ const Za = {
1697
1696
  props: Za,
1698
1697
  emits: ["selectionChange"],
1699
1698
  setup(e, t) {
1700
- const n = d(), o = d(e.dataSource), a = d([]), i = d(e.separator), l = d(e.width), f = d(e.maxHeight), m = d(String(e.selectedValues).split(i.value)), u = V(() => e.multiSelect), h = V(() => ({
1699
+ const n = d(), o = d(e.dataSource), a = d([]), i = d(e.separator), l = d(e.width), p = d(e.maxHeight), m = d(String(e.selectedValues).split(i.value)), u = V(() => e.multiSelect), h = V(() => ({
1701
1700
  enableSelectRow: !0,
1702
1701
  multiSelect: e.multiSelect,
1703
1702
  multiSelectMode: "OnCheckAndClick",
@@ -1710,7 +1709,7 @@ const Za = {
1710
1709
  }), V(() => e.enableSearch ? "SearchBar" : "ContentHeader");
1711
1710
  const r = V(() => {
1712
1711
  const b = {};
1713
- return l.value !== void 0 && (b.width = `${l.value}px`), f.value !== void 0 && f.value > 0 && (b.maxHeight = `${f.value}px`), b;
1712
+ return l.value !== void 0 && (b.width = `${l.value}px`), p.value !== void 0 && p.value > 0 && (b.maxHeight = `${p.value}px`), b;
1714
1713
  });
1715
1714
  function s(b) {
1716
1715
  n.value.search(b);
@@ -1718,7 +1717,7 @@ const Za = {
1718
1717
  function c(b) {
1719
1718
  a.value = b.map((R) => Object.assign({}, R)), m.value = b.map((R) => R[e.idField]), t.emit("selectionChange", a.value);
1720
1719
  }
1721
- function p(b) {
1720
+ function f(b) {
1722
1721
  if (e.enableHighlightSearch)
1723
1722
  return;
1724
1723
  let R = [];
@@ -1730,7 +1729,7 @@ const Za = {
1730
1729
  Z([() => e.selectedValues], ([b]) => {
1731
1730
  e.multiSelect ? m.value = b.split(i.value) : m.value = [b];
1732
1731
  });
1733
- function g(b) {
1732
+ function y(b) {
1734
1733
  n.value.activeRowById(b);
1735
1734
  }
1736
1735
  return Be(() => {
@@ -1740,12 +1739,12 @@ const Za = {
1740
1739
  let I = M;
1741
1740
  if (!$e(M)) {
1742
1741
  const $ = typeof M, T = typeof ((R = o.value[0]) == null ? void 0 : R[e.valueField || e.idField]);
1743
- T === "number" && $ !== T && (I = Number(M)), T === "boolean" && $ !== T && (I = M === "true" ? !0 : M === "false" ? !1 : M), g(I);
1742
+ T === "number" && $ !== T && (I = Number(M)), T === "boolean" && $ !== T && (I = M === "true" ? !0 : M === "false" ? !1 : M), y(I);
1744
1743
  }
1745
1744
  }
1746
1745
  }), t.expose({
1747
1746
  search: s,
1748
- activeRowById: g
1747
+ activeRowById: y
1749
1748
  }), () => v("div", {
1750
1749
  class: "f-combo-list-container",
1751
1750
  style: r.value
@@ -1765,27 +1764,27 @@ const Za = {
1765
1764
  enableHighlightSearch: e.enableHighlightSearch,
1766
1765
  selectionValues: m.value,
1767
1766
  onSelectionUpdate: c,
1768
- onAfterSearch: p
1767
+ onAfterSearch: f
1769
1768
  }, null)]);
1770
1769
  }
1771
1770
  });
1772
1771
  function ei(e) {
1773
1772
  const { t } = ft(), n = d(""), o = d(e.modelValue), a = d(e.data || []), i = d(e.editable);
1774
1773
  function l(s) {
1775
- const c = e.multiSelect ? String(s).split(e.separator) : [String(s)], p = c.map((R) => [R, !0]), g = new Map(p);
1776
- return a.value.filter((R) => g.has(String(R[e.valueField]))).sort((R, M) => {
1774
+ const c = e.multiSelect ? String(s).split(e.separator) : [String(s)], f = c.map((R) => [R, !0]), y = new Map(f);
1775
+ return a.value.filter((R) => y.has(String(R[e.valueField]))).sort((R, M) => {
1777
1776
  const I = c.indexOf(R[e.valueField]), $ = c.indexOf(M[e.valueField]);
1778
1777
  return I - $;
1779
1778
  });
1780
1779
  }
1781
- function f(s) {
1782
- const c = l(s).map((p) => p[e.textField]).join(e.separator);
1780
+ function p(s) {
1781
+ const c = l(s).map((f) => f[e.textField]).join(e.separator);
1783
1782
  n.value = i.value ? c || s : c;
1784
1783
  }
1785
1784
  function m(s) {
1786
1785
  if (e.multiSelect) {
1787
- const c = s.split(e.separator).map((g) => [g, !0]), p = new Map(c);
1788
- return a.value.filter((g) => p.has(g[e.textField]));
1786
+ const c = s.split(e.separator).map((y) => [y, !0]), f = new Map(c);
1787
+ return a.value.filter((y) => f.has(y[e.textField]));
1789
1788
  }
1790
1789
  return a.value.filter((c) => "" + c[e.textField] === s);
1791
1790
  }
@@ -1795,11 +1794,11 @@ function ei(e) {
1795
1794
  }
1796
1795
  function h(s) {
1797
1796
  let c = m(s);
1798
- const p = c && c.length > 0;
1799
- return i.value && !p && (c = u(s)), c;
1797
+ const f = c && c.length > 0;
1798
+ return i.value && !f && (c = u(s)), c;
1800
1799
  }
1801
1800
  function r() {
1802
- const { url: s, method: c = "GET", headers: p = { "Content-Type": "application/json;charset=utf-8;" }, body: g = null } = e.remote, b = c.toLowerCase() === "get" ? { method: c, headers: p } : { method: c, headers: p, body: g };
1801
+ const { url: s, method: c = "GET", headers: f = { "Content-Type": "application/json;charset=utf-8;" }, body: y = null } = e.remote, b = c.toLowerCase() === "get" ? { method: c, headers: f } : { method: c, headers: f, body: y };
1803
1802
  let R = !1;
1804
1803
  fetch(new Request(s, b)).then((M) => {
1805
1804
  var $, T;
@@ -1816,12 +1815,12 @@ function ei(e) {
1816
1815
  a.value = e.data;
1817
1816
  }), Z([a], ([s]) => {
1818
1817
  if (e.modelValue != null) {
1819
- const c = s.find((p) => p[e.valueField] === e.modelValue);
1818
+ const c = s.find((f) => f[e.valueField] === e.modelValue);
1820
1819
  c && (n.value = c[e.textField]);
1821
1820
  }
1822
1821
  }), Z(() => e.modelValue, (s) => {
1823
- o.value = s, f(s);
1824
- }), f(e.modelValue), { dataSource: a, displayText: n, editable: i, modelValue: o, getItemsByDisplayText: m, getItemsByValue: l, getSelectedItemsByDisplayText: h };
1822
+ o.value = s, p(s);
1823
+ }), p(e.modelValue), { dataSource: a, displayText: n, editable: i, modelValue: o, getItemsByDisplayText: m, getItemsByValue: l, getSelectedItemsByDisplayText: h };
1825
1824
  }
1826
1825
  const ti = /* @__PURE__ */ le({
1827
1826
  name: "FComboList",
@@ -1830,14 +1829,14 @@ const ti = /* @__PURE__ */ le({
1830
1829
  setup(e, t) {
1831
1830
  const {
1832
1831
  t: n
1833
- } = ft(), o = d(), a = d(), i = d(e.disabled || e.readonly), l = d(e.enableClear), f = d(e.enableSearch), m = d(e.readonly), {
1832
+ } = ft(), o = d(), a = d(), i = d(e.disabled || e.readonly), l = d(e.enableClear), p = d(e.enableSearch), m = d(e.readonly), {
1834
1833
  dataSource: u,
1835
1834
  displayText: h,
1836
1835
  editable: r,
1837
1836
  modelValue: s,
1838
1837
  getSelectedItemsByDisplayText: c,
1839
- getItemsByDisplayText: p,
1840
- getItemsByValue: g
1838
+ getItemsByDisplayText: f,
1839
+ getItemsByValue: y
1841
1840
  } = ei(e), b = d(e.dropDownIcon);
1842
1841
  b.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (b.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
1843
1842
  const R = V(() => e.multiSelect), M = V(() => a.value ? a.value.elementRef.getBoundingClientRect().width : 0);
@@ -1846,30 +1845,30 @@ const ti = /* @__PURE__ */ le({
1846
1845
  }
1847
1846
  function $(O) {
1848
1847
  h.value = O.map((B) => B[e.textField]).join(e.separator);
1849
- let y = "";
1850
- O.length === 1 ? y = O[0][e.valueField] : y = O.map((B) => B[e.valueField]).join(e.separator), s.value !== y && (s.value = y, t.emit("update:modelValue", s.value), t.emit("change", O, s.value));
1848
+ let g = "";
1849
+ O.length === 1 ? g = O[0][e.valueField] : g = O.map((B) => B[e.valueField]).join(e.separator), s.value !== g && (s.value = g, t.emit("update:modelValue", s.value), t.emit("change", O, s.value));
1851
1850
  }
1852
1851
  function T() {
1853
- const O = g(s.value);
1852
+ const O = y(s.value);
1854
1853
  $(O);
1855
1854
  }
1856
1855
  function x() {
1857
1856
  m.value || h.value;
1858
1857
  }
1859
1858
  function w(O) {
1860
- var y;
1861
- s.value = "", (y = o.value) == null || y.activeRowById(""), t.emit("update:modelValue", ""), t.emit("change", [], ""), t.emit("clear");
1859
+ var g;
1860
+ s.value = "", (g = o.value) == null || g.activeRowById(""), t.emit("update:modelValue", ""), t.emit("change", [], ""), t.emit("clear");
1862
1861
  }
1863
1862
  function C(O) {
1864
- var y, B;
1865
- e.enableSearch && e.enableHighlightSearch && ((y = o.value) == null || y.search(O)), (B = o.value) == null || B.activeRowById(O), t.emit("change", [s.value], s.value);
1863
+ var g, B;
1864
+ e.enableSearch && e.enableHighlightSearch && ((g = o.value) == null || g.search(O)), (B = o.value) == null || B.activeRowById(O), t.emit("change", [s.value], s.value);
1866
1865
  }
1867
1866
  function S(O) {
1868
1867
  if (e.multiSelect) {
1869
- const y = p(O);
1868
+ const g = f(O);
1870
1869
  e.viewType;
1871
- const P = y.map((J) => J[e.idField || e.valueField]).join(e.separator);
1872
- s.value !== P && (s.value = P, t.emit("update:modelValue", s.value), t.emit("change", y, s.value));
1870
+ const P = g.map((J) => J[e.idField || e.valueField]).join(e.separator);
1871
+ s.value !== P && (s.value = P, t.emit("update:modelValue", s.value), t.emit("change", g, s.value));
1873
1872
  }
1874
1873
  }
1875
1874
  function j() {
@@ -1877,9 +1876,9 @@ const ti = /* @__PURE__ */ le({
1877
1876
  }
1878
1877
  function F(O) {
1879
1878
  const {
1880
- value: y
1879
+ value: g
1881
1880
  } = O.target;
1882
- C(y), t.emit("input", y);
1881
+ C(g), t.emit("input", g);
1883
1882
  }
1884
1883
  function D() {
1885
1884
  a.value.hidePopup();
@@ -1887,8 +1886,8 @@ const ti = /* @__PURE__ */ le({
1887
1886
  return t.expose({
1888
1887
  getDisplayText: j,
1889
1888
  hidePopup: D
1890
- }), Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([O, y, B, P, J]) => {
1891
- i.value = O, r.value = y, l.value = B, f.value = P, m.value = J;
1889
+ }), Z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([O, g, B, P, J]) => {
1890
+ i.value = O, r.value = g, l.value = B, p.value = P, m.value = J;
1892
1891
  }), () => v(Vn, {
1893
1892
  ref: a,
1894
1893
  id: e.id,
@@ -1930,7 +1929,7 @@ const ti = /* @__PURE__ */ le({
1930
1929
  selectedValues: s.value,
1931
1930
  separator: e.separator,
1932
1931
  multiSelect: e.multiSelect,
1933
- enableSearch: f.value,
1932
+ enableSearch: p.value,
1934
1933
  maxHeight: e.maxHeight,
1935
1934
  enableHighlightSearch: e.enableHighlightSearch,
1936
1935
  width: e.fitEditor ? M.value : void 0,
@@ -2051,7 +2050,7 @@ const ii = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
2051
2050
  }
2052
2051
  }
2053
2052
  }
2054
- }, gi = {
2053
+ }, yi = {
2055
2054
  title: pi,
2056
2055
  description: mi,
2057
2056
  type: vi,
@@ -2071,8 +2070,8 @@ const ii = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
2071
2070
  onSelectedValueChanged: { type: Function, default: () => {
2072
2071
  } }
2073
2072
  };
2074
- je(hn, fi, oi, ai, gi);
2075
- const yi = /* @__PURE__ */ le({
2073
+ je(hn, fi, oi, ai, yi);
2074
+ const gi = /* @__PURE__ */ le({
2076
2075
  name: "FRadioButton",
2077
2076
  props: hn,
2078
2077
  emits: ["selectedValueChanged"],
@@ -2081,9 +2080,9 @@ const yi = /* @__PURE__ */ le({
2081
2080
  function o(i, l) {
2082
2081
  if (i.currentTarget.classList.value = "btn btn-secondary active", i.currentTarget.tagName.toLowerCase() === "label") {
2083
2082
  const {
2084
- currentTarget: f
2085
- } = i, m = f.parentElement;
2086
- Array.from(m.querySelectorAll("label")).filter((h) => h !== f).forEach((h) => h.classList.remove("active"));
2083
+ currentTarget: p
2084
+ } = i, m = p.parentElement;
2085
+ Array.from(m.querySelectorAll("label")).filter((h) => h !== p).forEach((h) => h.classList.remove("active"));
2087
2086
  }
2088
2087
  t.emit("selectedValueChanged", l);
2089
2088
  }
@@ -2098,7 +2097,7 @@ const yi = /* @__PURE__ */ le({
2098
2097
  class: ["farris-input-wrap"]
2099
2098
  }, [n.value.map((i, l) => v(ot, null, [v("label", {
2100
2099
  class: i.active ? "btn btn-secondary active" : "btn btn-secondary",
2101
- onClick: (f) => o(f, i)
2100
+ onClick: (p) => o(p, i)
2102
2101
  }, [v("span", {
2103
2102
  class: "f-radio-button-text"
2104
2103
  }, [a(i)])])]))])]);
@@ -2214,7 +2213,7 @@ const Ci = "https://json-schema.org/draft/2020-12/schema", Si = "https://farris-
2214
2213
  description: Oi,
2215
2214
  type: Di,
2216
2215
  categories: Ii
2217
- }, ji = ["很不满意", "不满意", "一般", "满意", "非常满意"], gn = {
2216
+ }, ji = ["很不满意", "不满意", "一般", "满意", "非常满意"], yn = {
2218
2217
  /** 星星大小 */
2219
2218
  size: { type: String, default: "large" },
2220
2219
  /** 启用半颗星模式 */
@@ -2246,14 +2245,14 @@ const Ci = "https://json-schema.org/draft/2020-12/schema", Si = "https://farris-
2246
2245
  */
2247
2246
  modelValue: { type: Number, default: 0 }
2248
2247
  };
2249
- je(gn, Ei, bi, wi, $i);
2248
+ je(yn, Ei, bi, wi, $i);
2250
2249
  const Ni = /* @__PURE__ */ le({
2251
2250
  name: "FRate",
2252
- props: gn,
2251
+ props: yn,
2253
2252
  emits: ["selectedValue", "update:modelValue"],
2254
2253
  setup(e, t) {
2255
- const n = d(e.size), o = d(e.enableHalf), a = d(e.enableClear), i = d(e.disabled), l = d(e.pointSystem), f = d(e.lightColor), m = d(e.darkColor), u = d(e.iconClass), h = d(e.numOfStar), r = d(e.toolTipDisabled), s = d(e.toolTipContents), c = d(e.enableScore), p = d(e.enableSatisfaction);
2256
- let g;
2254
+ const n = d(e.size), o = d(e.enableHalf), a = d(e.enableClear), i = d(e.disabled), l = d(e.pointSystem), p = d(e.lightColor), m = d(e.darkColor), u = d(e.iconClass), h = d(e.numOfStar), r = d(e.toolTipDisabled), s = d(e.toolTipContents), c = d(e.enableScore), f = d(e.enableSatisfaction);
2255
+ let y;
2257
2256
  const b = d(0), R = d(0), M = d(0), I = d(e.modelValue);
2258
2257
  let $ = 1, T, x, w;
2259
2258
  const C = 4;
@@ -2267,21 +2266,21 @@ const Ni = /* @__PURE__ */ le({
2267
2266
  }
2268
2267
  function j() {
2269
2268
  let E;
2270
- o.value ? E = Math.ceil(I.value / $) : E = I.value, R.value = (g * I.value + Math.floor(I.value) * C) / $, T = s.value[E - 1];
2269
+ o.value ? E = Math.ceil(I.value / $) : E = I.value, R.value = (y * I.value + Math.floor(I.value) * C) / $, T = s.value[E - 1];
2271
2270
  }
2272
2271
  function F() {
2273
2272
  switch (n.value) {
2274
2273
  case "small":
2275
- g = 14;
2274
+ y = 14;
2276
2275
  break;
2277
2276
  case "middle":
2278
- g = 16;
2277
+ y = 16;
2279
2278
  break;
2280
2279
  case "large":
2281
- g = 18;
2280
+ y = 18;
2282
2281
  break;
2283
2282
  case "extraLarge":
2284
- g = 24;
2283
+ y = 24;
2285
2284
  break;
2286
2285
  }
2287
2286
  S(), h.value && ($ = l.value / h.value), I.value && j();
@@ -2293,8 +2292,8 @@ const Ni = /* @__PURE__ */ le({
2293
2292
  function O() {
2294
2293
  return I.value === M.value && a.value && R.value !== 0 ? (R.value = 0, I.value = 0, x = null, b.value = 0, M.value = 0, t.emit("selectedValue", I.value), t.emit("update:modelValue", I.value), !0) : !1;
2295
2294
  }
2296
- function y(E, q, z) {
2297
- if (!i.value && ((E.movementX || E.movementY) && (p.value && (T = s.value[q - 1]), E.offsetX < g / 2 && o.value === !0 ? (b.value = g * q - g / 2 + C * (q - 1), M.value = $ * q - $ / 2) : (b.value = g * q + C * (q - 1), M.value = $ * q)), z === !0)) {
2295
+ function g(E, q, z) {
2296
+ if (!i.value && ((E.movementX || E.movementY) && (f.value && (T = s.value[q - 1]), E.offsetX < y / 2 && o.value === !0 ? (b.value = y * q - y / 2 + C * (q - 1), M.value = $ * q - $ / 2) : (b.value = y * q + C * (q - 1), M.value = $ * q)), z === !0)) {
2298
2297
  if (O())
2299
2298
  return;
2300
2299
  I.value = M.value, R.value = b.value, x = T, t.emit("update:modelValue", I.value), t.emit("selectedValue", I.value);
@@ -2304,7 +2303,7 @@ const Ni = /* @__PURE__ */ le({
2304
2303
  var z;
2305
2304
  if (D(E.target) && E.target) {
2306
2305
  const ee = parseInt((z = E.target) == null ? void 0 : z.id);
2307
- y(E, ee, q);
2306
+ g(E, ee, q);
2308
2307
  }
2309
2308
  }
2310
2309
  const P = V(() => M.value ? M.value + "分" : I.value + "分"), J = V(() => ({
@@ -2340,7 +2339,7 @@ const Ni = /* @__PURE__ */ le({
2340
2339
  }],
2341
2340
  id: E.id,
2342
2341
  style: {
2343
- color: f.value
2342
+ color: p.value
2344
2343
  }
2345
2344
  }, null))]), v("div", {
2346
2345
  class: ["star-dark-area", {
@@ -2374,7 +2373,7 @@ const Ni = /* @__PURE__ */ le({
2374
2373
  }, {
2375
2374
  "font-exlarge": n.value === "extraLarge"
2376
2375
  }]
2377
- }, [c.value && v("span", null, [ce(" "), P.value, ce(" ")]), p.value && (x || T) && v("span", null, [ce(" "), T || x])])]);
2376
+ }, [c.value && v("span", null, [ce(" "), P.value, ce(" ")]), f.value && (x || T) && v("span", null, [ce(" "), T || x])])]);
2378
2377
  }
2379
2378
  }), Ai = /* @__PURE__ */ le({
2380
2379
  name: "FColumnWidthEditor",
@@ -2386,14 +2385,14 @@ const Ni = /* @__PURE__ */ le({
2386
2385
  MD: ["1", "2"],
2387
2386
  LG: ["1", "2", "3", "4"],
2388
2387
  EL: ["1", "2", "3", "4", "5", "6"]
2389
- }, o = d(e.currentScreenResolution), a = d(e.field), i = d(e.switchInStandardMode), l = d(), f = d(""), m = d(), u = d("customize"), h = d(), r = en("ResponseLayoutEditorDraggableComposition"), {
2388
+ }, o = d(e.currentScreenResolution), a = d(e.field), i = d(e.switchInStandardMode), l = d(), p = d(""), m = d(), u = d("customize"), h = d(), r = en("ResponseLayoutEditorDraggableComposition"), {
2390
2389
  dragstart: s,
2391
2390
  dragenter: c,
2392
- dragover: p,
2393
- dragend: g
2391
+ dragover: f,
2392
+ dragend: y
2394
2393
  } = r;
2395
2394
  function b() {
2396
- l.value = n == null ? void 0 : n[o.value], i.value ? (f.value = `displayWidthIn${o.value}`, u.value = `${a.value[f.value]}`) : (f.value = `columnIn${o.value}`, h.value = a.value[f.value]);
2395
+ l.value = n == null ? void 0 : n[o.value], i.value ? (p.value = `displayWidthIn${o.value}`, u.value = `${a.value[p.value]}`) : (p.value = `columnIn${o.value}`, h.value = a.value[p.value]);
2397
2396
  }
2398
2397
  function R(S) {
2399
2398
  if (i.value === !0) {
@@ -2437,7 +2436,7 @@ const Ni = /* @__PURE__ */ le({
2437
2436
  }
2438
2437
  function T() {
2439
2438
  const S = $();
2440
- return v(yi, {
2439
+ return v(gi, {
2441
2440
  enumData: S,
2442
2441
  suffixValue: "列",
2443
2442
  onSelectedValueChanged: R
@@ -2466,8 +2465,8 @@ const Ni = /* @__PURE__ */ le({
2466
2465
  }, [T()])]) : v("div", {
2467
2466
  class: "f-column-width-editor-switch-customize",
2468
2467
  onDragenter: (S) => c(S, a.value),
2469
- onDragend: (S) => g(S, a.value),
2470
- onDragover: (S) => p(S)
2468
+ onDragend: (S) => y(S, a.value),
2469
+ onDragover: (S) => f(S)
2471
2470
  }, [v("div", {
2472
2471
  class: "f-layout-editor-column-width-editor-rectangle"
2473
2472
  }, [I(), v("div", {
@@ -2487,8 +2486,8 @@ const Ni = /* @__PURE__ */ le({
2487
2486
  title: (S = a == null ? void 0 : a.value) == null ? void 0 : S.label
2488
2487
  }, [(j = a == null ? void 0 : a.value) == null ? void 0 : j.label]), w()]);
2489
2488
  }
2490
- return Z(() => [e.field, e.switchInStandardMode, e.currentScreenResolution], ([S, j, F], [D, O, y]) => {
2491
- F !== y && (o.value = F, l.value = n[o.value], b()), j !== O && (i.value = j), i.value === !1 && b(), S !== D && (a.value = S);
2489
+ return Z(() => [e.field, e.switchInStandardMode, e.currentScreenResolution], ([S, j, F], [D, O, g]) => {
2490
+ F !== g && (o.value = F, l.value = n[o.value], b()), j !== O && (i.value = j), i.value === !1 && b(), S !== D && (a.value = S);
2492
2491
  }), Be(() => {
2493
2492
  b();
2494
2493
  }), () => v("div", {
@@ -2500,84 +2499,84 @@ const Ni = /* @__PURE__ */ le({
2500
2499
  props: La,
2501
2500
  emits: ["update:currentArea", "twoDimensionalArrayChanged", "originalDataChanged"],
2502
2501
  setup(e, t) {
2503
- const n = d(e.currentScreenResolution), o = d(e.switchInStandardMode), a = d(e.originalData), i = d(e.originalDataCopy), l = d(e.defaultStates), f = d(""), m = d([]), u = d(e.currentArea), h = d(0), r = d(), s = d(0), c = d("1"), p = d([]);
2504
- function g() {
2505
- const y = [];
2502
+ const n = d(e.currentScreenResolution), o = d(e.switchInStandardMode), a = d(e.originalData), i = d(e.originalDataCopy), l = d(e.defaultStates), p = d(""), m = d([]), u = d(e.currentArea), h = d(0), r = d(), s = d(0), c = d("1"), f = d([]);
2503
+ function y() {
2504
+ const g = [];
2506
2505
  return a.value.forEach((B) => {
2507
- y.indexOf(B.group) === -1 && y.push(B.group);
2508
- }), y;
2506
+ g.indexOf(B.group) === -1 && g.push(B.group);
2507
+ }), g;
2509
2508
  }
2510
2509
  function b() {
2511
- c.value = l.value.defaultGroupNumber.toString(), f.value = `区域${c.value}`, u.value = [m.value[Number(c.value) - 1]], t.emit("update:currentArea", u.value);
2510
+ c.value = l.value.defaultGroupNumber.toString(), p.value = `区域${c.value}`, u.value = [m.value[Number(c.value) - 1]], t.emit("update:currentArea", u.value);
2512
2511
  }
2513
2512
  function R() {
2514
2513
  var B;
2515
- const y = g();
2516
- for (let P = 0; P < y.length; P++) {
2514
+ const g = y();
2515
+ for (let P = 0; P < g.length; P++) {
2517
2516
  const J = {
2518
- id: (B = y[P]) == null ? void 0 : B.toString(),
2519
- label: "区域" + y[P]
2517
+ id: (B = g[P]) == null ? void 0 : B.toString(),
2518
+ label: "区域" + g[P]
2520
2519
  };
2521
2520
  m.value.push(J);
2522
2521
  }
2523
2522
  b();
2524
2523
  }
2525
2524
  function M() {
2526
- let y = [];
2525
+ let g = [];
2527
2526
  r.value = [];
2528
2527
  let B = 1;
2529
2528
  a.value.forEach((P) => {
2530
- P.group === B || (B += 1, r.value.push(y), y = []), y.push(P);
2531
- }), r.value.push(y);
2529
+ P.group === B || (B += 1, r.value.push(g), g = []), g.push(P);
2530
+ }), r.value.push(g);
2532
2531
  }
2533
- function I(y, B) {
2532
+ function I(g, B) {
2534
2533
  let J = 12;
2535
- return h.value = 1 + B, y.forEach((A) => {
2534
+ return h.value = 1 + B, g.forEach((A) => {
2536
2535
  A.showTopBorder = 0;
2537
2536
  const E = A[`columnIn${n.value}`];
2538
2537
  J >= E ? (A.componentRow = h.value, J -= E) : (h.value += 1, A.componentRow = h.value, J = 12 - E, A.showTopBorder = 1);
2539
- }), y[0].showTopBorder = 1, y;
2538
+ }), g[0].showTopBorder = 1, g;
2540
2539
  }
2541
- function $(y) {
2540
+ function $(g) {
2542
2541
  let B = [];
2543
- for (const P of y)
2542
+ for (const P of g)
2544
2543
  B = B.concat(P);
2545
2544
  a.value = Te(B), s.value = 0;
2546
2545
  }
2547
2546
  function T() {
2548
- r.value[u.value[0].id - 1] = Te(p.value);
2549
- const y = [];
2547
+ r.value[u.value[0].id - 1] = Te(f.value);
2548
+ const g = [];
2550
2549
  s.value = 0, r.value.forEach((B) => {
2551
2550
  const P = I(B, s.value);
2552
- y.push(P), s.value = P[P.length - 1].componentRow;
2553
- }), $(y);
2551
+ g.push(P), s.value = P[P.length - 1].componentRow;
2552
+ }), $(g);
2554
2553
  }
2555
2554
  function x() {
2556
2555
  M();
2557
- const y = [];
2556
+ const g = [];
2558
2557
  return s.value = 0, r.value.forEach((B) => {
2559
2558
  const P = I(B, s.value);
2560
- y.push(P), s.value = P[P.length - 1].componentRow;
2561
- }), t.emit("twoDimensionalArrayChanged", r.value), $(y), a.value;
2559
+ g.push(P), s.value = P[P.length - 1].componentRow;
2560
+ }), t.emit("twoDimensionalArrayChanged", r.value), $(g), a.value;
2562
2561
  }
2563
2562
  function w() {
2564
- p.value = [], a.value.forEach((y) => {
2565
- y.group === Number(u.value[0].id) && p.value.push(y);
2563
+ f.value = [], a.value.forEach((g) => {
2564
+ g.group === Number(u.value[0].id) && f.value.push(g);
2566
2565
  });
2567
2566
  }
2568
2567
  function C() {
2569
2568
  a.value = Te(x()), t.emit("originalDataChanged", a.value);
2570
2569
  }
2571
- function S(y) {
2572
- p.value.forEach((B) => {
2573
- B.id === y.id && Object.assign(B, y);
2570
+ function S(g) {
2571
+ f.value.forEach((B) => {
2572
+ B.id === g.id && Object.assign(B, g);
2574
2573
  }), T(), C(), w();
2575
2574
  }
2576
- function j(y) {
2577
- for (let B = 0; B < y.length; B++)
2575
+ function j(g) {
2576
+ for (let B = 0; B < g.length; B++)
2578
2577
  u.value = [{
2579
- id: y[B].id,
2580
- label: y[B].label
2578
+ id: g[B].id,
2579
+ label: g[B].label
2581
2580
  }];
2582
2581
  t.emit("update:currentArea", u.value), w(), T();
2583
2582
  }
@@ -2590,7 +2589,7 @@ const Ni = /* @__PURE__ */ le({
2590
2589
  class: "f-layout-editor-choose-group"
2591
2590
  }, [v(ti, {
2592
2591
  modelValue: c.value,
2593
- "onUpdate:modelValue": (y) => c.value = y,
2592
+ "onUpdate:modelValue": (g) => c.value = g,
2594
2593
  placeholder: "当前可编辑组",
2595
2594
  enableClear: !1,
2596
2595
  "id-field": "id",
@@ -2603,31 +2602,31 @@ const Ni = /* @__PURE__ */ le({
2603
2602
  function D() {
2604
2603
  return v("div", {
2605
2604
  class: "f-layout-editor-field-list-content f-utils-overflow-xhya"
2606
- }, [p.value.map((y) => v(Ai, {
2607
- key: y.label,
2605
+ }, [f.value.map((g) => v(Ai, {
2606
+ key: g.label,
2608
2607
  currentScreenResolution: n.value,
2609
- field: y,
2610
- "onUpdate:field": (B) => y = B,
2608
+ field: g,
2609
+ "onUpdate:field": (B) => g = B,
2611
2610
  switchInStandardMode: o.value,
2612
2611
  "onUpdate:switchInStandardMode": (B) => o.value = B,
2613
2612
  onFieldChanged: S
2614
2613
  }, null))]);
2615
2614
  }
2616
- const O = Va(p, () => {
2615
+ const O = Va(f, () => {
2617
2616
  T(), C(), w();
2618
2617
  });
2619
- return $n("ResponseLayoutEditorDraggableComposition", O), Z(() => e.currentArea, (y, B) => {
2620
- y !== B && (u.value = e.currentArea, w());
2621
- }), Z(u, (y, B) => {
2622
- y !== B && w();
2623
- }), Z(() => e.currentGroup, (y, B) => {
2624
- y !== B && (f.value = e.currentGroup);
2625
- }), Z(() => e.currentScreenResolution, (y, B) => {
2626
- y !== B && (n.value = e.currentScreenResolution, C(), M(), u.value[0] && (p.value = Te(r.value[Number(u.value[0].id) - 1])));
2627
- }), Z(() => e.switchInStandardMode, (y, B) => {
2628
- y !== B && (o.value = e.switchInStandardMode, a.value = Te(i.value));
2629
- }), Z(l, (y, B) => {
2630
- y !== B && C();
2618
+ return $n("ResponseLayoutEditorDraggableComposition", O), Z(() => e.currentArea, (g, B) => {
2619
+ g !== B && (u.value = e.currentArea, w());
2620
+ }), Z(u, (g, B) => {
2621
+ g !== B && w();
2622
+ }), Z(() => e.currentGroup, (g, B) => {
2623
+ g !== B && (p.value = e.currentGroup);
2624
+ }), Z(() => e.currentScreenResolution, (g, B) => {
2625
+ g !== B && (n.value = e.currentScreenResolution, C(), M(), u.value[0] && (f.value = Te(r.value[Number(u.value[0].id) - 1])));
2626
+ }), Z(() => e.switchInStandardMode, (g, B) => {
2627
+ g !== B && (o.value = e.switchInStandardMode, a.value = Te(i.value));
2628
+ }), Z(l, (g, B) => {
2629
+ g !== B && C();
2631
2630
  }), wt(() => {
2632
2631
  R(), x(), w();
2633
2632
  }), () => v("div", {
@@ -2649,14 +2648,14 @@ const Ni = /* @__PURE__ */ le({
2649
2648
  props: Ro,
2650
2649
  emits: ["close", "submit"],
2651
2650
  setup(e, t) {
2652
- const n = d(e.initialState), o = d(), a = d(), i = d(""), l = d(""), f = d(!0), m = d([{
2651
+ const n = d(e.initialState), o = d(), a = d(), i = d(""), l = d(""), p = d(!0), m = d([{
2653
2652
  id: "1",
2654
2653
  label: "区域1"
2655
2654
  }]), u = d([]), h = d();
2656
2655
  d(e.width), d(e.height), Z(() => e.initialState, (w) => {
2657
2656
  n.value = w;
2658
2657
  }), Z([() => e.currentArea, () => e.switchInStandardMode], ([w, C], [S, j]) => {
2659
- w !== S && (m.value = w), C !== j && (f.value = C);
2658
+ w !== S && (m.value = w), C !== j && (p.value = C);
2660
2659
  });
2661
2660
  function r(w) {
2662
2661
  i.value = w;
@@ -2665,12 +2664,12 @@ const Ni = /* @__PURE__ */ le({
2665
2664
  l.value = w;
2666
2665
  }
2667
2666
  function c(w) {
2668
- f.value = w;
2667
+ p.value = w;
2669
2668
  }
2670
- function p(w) {
2669
+ function f(w) {
2671
2670
  m.value = [].concat(w);
2672
2671
  }
2673
- function g(w) {
2672
+ function y(w) {
2674
2673
  o.value = Te(w);
2675
2674
  }
2676
2675
  function b(w) {
@@ -2691,13 +2690,13 @@ const Ni = /* @__PURE__ */ le({
2691
2690
  "onUpdate:currentScreenResolution": (w) => l.value = w,
2692
2691
  originalData: o.value,
2693
2692
  "onUpdate:originalData": (w) => o.value = w,
2694
- switchInStandardMode: f.value,
2695
- "onUpdate:switchInStandardMode": (w) => f.value = w,
2693
+ switchInStandardMode: p.value,
2694
+ "onUpdate:switchInStandardMode": (w) => p.value = w,
2696
2695
  currentArea: m.value,
2697
2696
  "onUpdate:currentArea": (w) => m.value = w,
2698
- onCurrentAreaChanged: p,
2697
+ onCurrentAreaChanged: f,
2699
2698
  onTwoDimensionalArrayChanged: b,
2700
- onOriginalDataChanged: g
2699
+ onOriginalDataChanged: y
2701
2700
  }, null);
2702
2701
  }
2703
2702
  function $() {
@@ -2707,12 +2706,12 @@ const Ni = /* @__PURE__ */ le({
2707
2706
  "onUpdate:currentArea": (w) => m.value = w,
2708
2707
  currentScreenResolution: l.value,
2709
2708
  "onUpdate:currentScreenResolution": (w) => l.value = w,
2710
- switchInStandardMode: f.value,
2709
+ switchInStandardMode: p.value,
2711
2710
  twoDimensionalArray: u.value,
2712
2711
  "onUpdate:twoDimensionalArray": (w) => u.value = w
2713
2712
  }, null);
2714
2713
  }
2715
- const T = V(() => f.value ? "f-layout-editor-left-standard f-utils-fill-flex-column" : "f-layout-editor-left-customize f-utils-fill-flex-column"), x = V(() => f.value ? "f-layout-editor-right-standard f-utils-fill-flex-column" : "f-layout-editor-right-customize f-utils-fill-flex-column");
2714
+ const T = V(() => p.value ? "f-layout-editor-left-standard f-utils-fill-flex-column" : "f-layout-editor-left-customize f-utils-fill-flex-column"), x = V(() => p.value ? "f-layout-editor-right-standard f-utils-fill-flex-column" : "f-layout-editor-right-customize f-utils-fill-flex-column");
2716
2715
  return wt(() => {
2717
2716
  o.value = Te(n.value.importData), h.value = Te(n.value.importData), a.value = n.value.defaultState, i.value = "中等屏幕", l.value = "MD";
2718
2717
  }), (w) => v("div", {
@@ -2983,7 +2982,7 @@ function pl() {
2983
2982
  resolve: e
2984
2983
  };
2985
2984
  }
2986
- const yn = {
2985
+ const gn = {
2987
2986
  /**
2988
2987
  * 允许点击遮罩关闭对话框
2989
2988
  */
@@ -3063,7 +3062,7 @@ const yn = {
3063
3062
  src: { type: String, default: "" },
3064
3063
  footerHeight: { type: Number, default: 60 },
3065
3064
  host: { type: Object, default: "body" }
3066
- }, ml = Ht(yn, cl, dl, fl), vl = pl();
3065
+ }, ml = Ht(gn, cl, dl, fl), vl = pl();
3067
3066
  class re {
3068
3067
  constructor(t, n) {
3069
3068
  this.x = t, this.y = n;
@@ -3148,7 +3147,7 @@ class Ye {
3148
3147
  }
3149
3148
  }
3150
3149
  function hl(e, t) {
3151
- const n = d(), o = d(), a = d(), i = d(), l = d(), f = d(), m = d(), u = d(), h = d(), r = d(), s = d(), c = d(e.resizeable), p = d(), g = d(e.draggable), b = d(!1);
3150
+ const n = d(), o = d(), a = d(), i = d(), l = d(), p = d(), m = d(), u = d(), h = d(), r = d(), s = d(), c = d(e.resizeable), f = d(), y = d(e.draggable), b = d(!1);
3152
3151
  function R() {
3153
3152
  const A = o.value || document.body, E = window.getComputedStyle(A);
3154
3153
  if (!E || !n.value)
@@ -3160,7 +3159,7 @@ function hl(e, t) {
3160
3159
  }
3161
3160
  function M(A) {
3162
3161
  if (n.value) {
3163
- i.value = Ye.getCurrent(n.value), l.value = re.getCurrent(n.value), f.value = i.value ? Ye.copy(i.value) : null, m.value = l.value ? re.copy(l.value) : null, R();
3162
+ i.value = Ye.getCurrent(n.value), l.value = re.getCurrent(n.value), p.value = i.value ? Ye.copy(i.value) : null, m.value = l.value ? re.copy(l.value) : null, R();
3164
3163
  const E = A.target.getAttribute("type") || "";
3165
3164
  u.value = {
3166
3165
  n: !!E.match(/n/),
@@ -3174,19 +3173,19 @@ function hl(e, t) {
3174
3173
  var A, E, q, z;
3175
3174
  if (n.value) {
3176
3175
  const ee = n.value;
3177
- u.value && ((u.value.n || u.value.s) && ((A = f.value) != null && A.height) && (ee.style.height = f.value.height + "px"), (u.value.w || u.value.e) && ((E = f.value) != null && E.width) && (ee.style.width = f.value.width + "px"), m.value && ((q = m.value) != null && q.x && (ee.style.left = m.value.x + "px"), (z = m.value) != null && z.y && (ee.style.top = m.value.y + "px")));
3176
+ u.value && ((u.value.n || u.value.s) && ((A = p.value) != null && A.height) && (ee.style.height = p.value.height + "px"), (u.value.w || u.value.e) && ((E = p.value) != null && E.width) && (ee.style.width = p.value.width + "px"), m.value && ((q = m.value) != null && q.x && (ee.style.left = m.value.x + "px"), (z = m.value) != null && z.y && (ee.style.top = m.value.y + "px")));
3178
3177
  }
3179
3178
  }
3180
3179
  function $() {
3181
3180
  const A = e.minHeight ? e.minHeight : 1, E = e.minWidth ? e.minWidth : 1;
3182
- f.value && m.value && u.value && i.value && (f.value.height < A && (f.value.height = A, u.value.n && l.value && (m.value.y = l.value.y + (i.value.height - A))), f.value.width < E && (f.value.width = E, u.value.w && l.value && (m.value.x = l.value.x + (i.value.width - E))), e.maxHeight && f.value.height > e.maxHeight && (f.value.height = e.maxHeight, l.value && u.value.n && (m.value.y = l.value.y + (i.value.height - e.maxHeight))), e.maxWidth && f.value.width > e.maxWidth && (f.value.width = e.maxWidth, u.value.w && l.value && (m.value.x = l.value.x + (i.value.width - e.maxWidth))));
3181
+ p.value && m.value && u.value && i.value && (p.value.height < A && (p.value.height = A, u.value.n && l.value && (m.value.y = l.value.y + (i.value.height - A))), p.value.width < E && (p.value.width = E, u.value.w && l.value && (m.value.x = l.value.x + (i.value.width - E))), e.maxHeight && p.value.height > e.maxHeight && (p.value.height = e.maxHeight, l.value && u.value.n && (m.value.y = l.value.y + (i.value.height - e.maxHeight))), e.maxWidth && p.value.width > e.maxWidth && (p.value.width = e.maxWidth, u.value.w && l.value && (m.value.x = l.value.x + (i.value.width - e.maxWidth))));
3183
3182
  }
3184
3183
  function T() {
3185
3184
  if (o.value) {
3186
3185
  const A = r.value;
3187
- if (m.value && f.value && u.value && i.value) {
3186
+ if (m.value && p.value && u.value && i.value) {
3188
3187
  const E = A.width - A.pr - A.deltaL - A.translateX - m.value.x, q = A.height - A.pb - A.deltaT - A.translateY - m.value.y;
3189
- u.value.n && m.value.y + A.translateY < 0 && l.value && (m.value.y = -A.translateY, f.value.height = i.value.height + l.value.y + A.translateY), u.value.w && m.value.x + A.translateX < 0 && l.value && (m.value.x = -A.translateX, f.value.width = i.value.width + l.value.x + A.translateX), f.value.width > E && (f.value.width = E), f.value.height > q && (f.value.height = q);
3188
+ u.value.n && m.value.y + A.translateY < 0 && l.value && (m.value.y = -A.translateY, p.value.height = i.value.height + l.value.y + A.translateY), u.value.w && m.value.x + A.translateX < 0 && l.value && (m.value.x = -A.translateX, p.value.width = i.value.width + l.value.x + A.translateX), p.value.width > E && (p.value.width = E), p.value.height > q && (p.value.height = q);
3190
3189
  }
3191
3190
  }
3192
3191
  }
@@ -3195,7 +3194,7 @@ function hl(e, t) {
3195
3194
  return;
3196
3195
  A.subtract(a.value);
3197
3196
  const E = A.x, q = A.y;
3198
- u.value.n ? (m.value.y = l.value.y + q, f.value.height = i.value.height - q) : u.value.s && (f.value.height = i.value.height + q), u.value.e ? f.value.width = i.value.width + E : u.value.w && (f.value.width = i.value.width - E, m.value.x = l.value.x + E), T(), $(), I();
3197
+ u.value.n ? (m.value.y = l.value.y + q, p.value.height = i.value.height - q) : u.value.s && (p.value.height = i.value.height + q), u.value.e ? p.value.width = i.value.width + E : u.value.w && (p.value.width = i.value.width - E, m.value.x = l.value.x + E), T(), $(), I();
3199
3198
  }
3200
3199
  function w(A) {
3201
3200
  if (!h.value)
@@ -3229,13 +3228,13 @@ function hl(e, t) {
3229
3228
  const E = C();
3230
3229
  s.value = E;
3231
3230
  }
3232
- a.value = void 0, i.value = null, l.value = null, f.value = null, m.value = null, u.value = null, h.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", S);
3231
+ a.value = void 0, i.value = null, l.value = null, p.value = null, m.value = null, u.value = null, h.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", S);
3233
3232
  }
3234
3233
  function j() {
3235
3234
  document.addEventListener("mousemove", w), document.addEventListener("mouseup", S);
3236
3235
  }
3237
3236
  function F(A) {
3238
- A instanceof MouseEvent && A.button === 2 || g.value && (document.body.click(), A.stopPropagation(), A.preventDefault(), a.value = re.fromEvent(A), h.value = A.target, M(A), j());
3237
+ A instanceof MouseEvent && A.button === 2 || y.value && (document.body.click(), A.stopPropagation(), A.preventDefault(), a.value = re.fromEvent(A), h.value = A.target, M(A), j());
3239
3238
  }
3240
3239
  function D(A) {
3241
3240
  return n.value = A, c.value && v(ot, null, [v("div", {
@@ -3275,30 +3274,30 @@ function hl(e, t) {
3275
3274
  function O(A = !0) {
3276
3275
  document.body.click();
3277
3276
  const E = o.value || document.body, q = Ye.getCurrent(E), z = n.value;
3278
- A && z && (p.value = C(), p.value.transform = z.style.transform), q && z && (f.value = q, f.value.height -= 14, f.value.width -= 14, z.style.height = f.value.height + "px", z.style.width = f.value.width + "px", z.style.left = "7px", z.style.top = "7px", z.style.transform = "", s.value = {
3279
- size: f.value,
3277
+ A && z && (f.value = C(), f.value.transform = z.style.transform), q && z && (p.value = q, p.value.height -= 14, p.value.width -= 14, z.style.height = p.value.height + "px", z.style.width = p.value.width + "px", z.style.left = "7px", z.style.top = "7px", z.style.transform = "", s.value = {
3278
+ size: p.value,
3280
3279
  position: {
3281
3280
  x: 0,
3282
3281
  y: 0
3283
3282
  }
3284
- }, g.value = !1, b.value = !0);
3283
+ }, y.value = !1, b.value = !0);
3285
3284
  }
3286
- function y() {
3285
+ function g() {
3287
3286
  var A, E;
3288
- if (document.body.click(), p.value) {
3287
+ if (document.body.click(), f.value) {
3289
3288
  const q = {
3290
- width: p.value.size.width || 0,
3291
- height: p.value.size.height || 0
3289
+ width: f.value.size.width || 0,
3290
+ height: f.value.size.height || 0
3292
3291
  }, z = {
3293
3292
  x: (window.innerWidth - q.width) / 2,
3294
3293
  y: (window.innerHeight - q.height) / 2
3295
3294
  };
3296
- (A = f.value) == null || A.set(q), (E = m.value) == null || E.set(z);
3295
+ (A = p.value) == null || A.set(q), (E = m.value) == null || E.set(z);
3297
3296
  const ee = n.value;
3298
3297
  ee.style.height = q.height + "px", ee.style.width = q.width + "px", ee.style.left = `${z.x}px`, ee.style.top = `${z.y}px`, ee.style.transform = "", s.value = {
3299
3298
  size: q,
3300
3299
  position: z
3301
- }, g.value = e.draggable, b.value = !1;
3300
+ }, y.value = e.draggable, b.value = !1;
3302
3301
  }
3303
3302
  }
3304
3303
  function B() {
@@ -3327,15 +3326,15 @@ function hl(e, t) {
3327
3326
  boundingElement: o,
3328
3327
  resizedEventParam: s,
3329
3328
  maximize: O,
3330
- restore: y,
3331
- allowDrag: g,
3329
+ restore: g,
3330
+ allowDrag: y,
3332
3331
  isMaximized: b,
3333
3332
  unWindowResizeHandle: J,
3334
3333
  moveToCenter: B
3335
3334
  };
3336
3335
  }
3337
- function gl(e, t, n) {
3338
- const o = d(), a = d(e.draggable), i = d(e.lockAxis), l = d(), f = d(), m = d(!1), u = d(new re(0, 0)), h = d(new re(0, 0)), r = d(new re(0, 0)), s = d(new re(0, 0));
3336
+ function yl(e, t, n) {
3337
+ const o = d(), a = d(e.draggable), i = d(e.lockAxis), l = d(), p = d(), m = d(!1), u = d(new re(0, 0)), h = d(new re(0, 0)), r = d(new re(0, 0)), s = d(new re(0, 0));
3339
3338
  Z(() => n.value, (w) => {
3340
3339
  l.value.style.cursor = w ? "move" : "default";
3341
3340
  });
@@ -3349,26 +3348,26 @@ function gl(e, t, n) {
3349
3348
  return !0;
3350
3349
  return !1;
3351
3350
  }
3352
- function p() {
3351
+ function f() {
3353
3352
  var j, F;
3354
3353
  let w = r.value.x + h.value.x, C = r.value.y + h.value.y;
3355
3354
  i.value === "x" ? (w = ((j = u.value) == null ? void 0 : j.x) || 0, r.value.x = 0) : i.value === "y" && (C = ((F = u.value) == null ? void 0 : F.y) || 0, r.value.y = 0);
3356
3355
  const S = `translate3d(${Math.round(w)}px, ${Math.round(C)}px, 0px)`;
3357
3356
  o.value && (o.value.style.transform = S), s.value.x = w, s.value.y = C;
3358
3357
  }
3359
- function g() {
3360
- if (!f.value || !o.value)
3358
+ function y() {
3359
+ if (!p.value || !o.value)
3361
3360
  return null;
3362
- const w = f.value.getBoundingClientRect(), C = o.value.getBoundingClientRect(), S = {
3361
+ const w = p.value.getBoundingClientRect(), C = o.value.getBoundingClientRect(), S = {
3363
3362
  top: w.top < C.top,
3364
3363
  right: w.right > C.right,
3365
3364
  bottom: w.bottom > C.bottom,
3366
3365
  left: w.left < C.left
3367
3366
  };
3368
- return S.top || (r.value.y -= C.top - w.top), S.bottom || (r.value.y -= C.bottom - w.bottom), S.right || (r.value.x -= C.right - w.right), S.left || (r.value.x -= C.left - w.left), p(), S;
3367
+ return S.top || (r.value.y -= C.top - w.top), S.bottom || (r.value.y -= C.bottom - w.bottom), S.right || (r.value.x -= C.right - w.right), S.left || (r.value.x -= C.left - w.left), f(), S;
3369
3368
  }
3370
3369
  function b(w) {
3371
- w && (u.value && w.subtract(u.value), r.value.set(w), p(), g());
3370
+ w && (u.value && w.subtract(u.value), r.value.set(w), f(), y());
3372
3371
  }
3373
3372
  function R(w) {
3374
3373
  m.value && a.value && (w.stopPropagation(), w.preventDefault(), b(re.fromEvent(w, l.value)));
@@ -3406,7 +3405,7 @@ function gl(e, t, n) {
3406
3405
  j && (l.value = j);
3407
3406
  }
3408
3407
  }
3409
- o.value = C, f.value = S, l.value ? (l.value.classList.add("ng-draggable"), l.value.addEventListener("mousedown", T)) : a.value = !1;
3408
+ o.value = C, p.value = S, l.value ? (l.value.classList.add("ng-draggable"), l.value.addEventListener("mousedown", T)) : a.value = !1;
3410
3409
  }
3411
3410
  }
3412
3411
  return {
@@ -3424,7 +3423,7 @@ function bn(e, t) {
3424
3423
  };
3425
3424
  }
3426
3425
  }
3427
- function yl(e, t) {
3426
+ function gl(e, t) {
3428
3427
  const n = d(e.enableEsc);
3429
3428
  let o = null;
3430
3429
  return n.value ? (o = bn("Escape", (a) => {
@@ -3444,10 +3443,10 @@ function bl(e, t) {
3444
3443
  }
3445
3444
  const Je = /* @__PURE__ */ le({
3446
3445
  name: "FModal",
3447
- props: yn,
3446
+ props: gn,
3448
3447
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
3449
3448
  setup(e, t) {
3450
- const n = d(e.width || 300), o = d(e.height || 200), a = d(e.modelValue), i = d(""), l = d(e.class), f = d(e.fitContent), m = d(e.showHeader), u = d(""), h = d(e.showCloseButton), r = d(e.showMaxButton), s = d(!1), c = d(e.dialogType), p = d(e.src), g = d(""), b = d(e.showButtons), R = d(e.title), M = d(e.containment || null), I = d(), {
3449
+ const n = d(e.width || 300), o = d(e.height || 200), a = d(e.modelValue), i = d(""), l = d(e.class), p = d(e.fitContent), m = d(e.showHeader), u = d(""), h = d(e.showCloseButton), r = d(e.showMaxButton), s = d(!1), c = d(e.dialogType), f = d(e.src), y = d(""), b = d(e.showButtons), R = d(e.title), M = d(e.containment || null), I = d(), {
3451
3450
  t: $
3452
3451
  } = ft();
3453
3452
  R.value === "错误提示" && (R.value = $("messageBox.errorTitle"));
@@ -3478,7 +3477,7 @@ const Je = /* @__PURE__ */ le({
3478
3477
  x(N, !0);
3479
3478
  }
3480
3479
  }], C = d(e.buttons && e.buttons.length ? e.buttons : w), S = V(() => !!u.value), j = V(() => !!b.value && !!C.value), F = d(), D = d(), O = d(!1), {
3481
- renderResizeBar: y,
3480
+ renderResizeBar: g,
3482
3481
  maximize: B,
3483
3482
  restore: P,
3484
3483
  boundingElement: J,
@@ -3488,8 +3487,8 @@ const Je = /* @__PURE__ */ le({
3488
3487
  moveToCenter: z
3489
3488
  } = hl(e), {
3490
3489
  registerDraggle: ee
3491
- } = gl(e, t, E);
3492
- function ye() {
3490
+ } = yl(e, t, E);
3491
+ function ge() {
3493
3492
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
3494
3493
  }
3495
3494
  function be() {
@@ -3501,7 +3500,7 @@ const Je = /* @__PURE__ */ le({
3501
3500
  }), Z(() => e.modelValue, (N, Q) => {
3502
3501
  N !== Q && (a.value = N, a.value && e.draggable && nt(() => {
3503
3502
  D.value && !M.value && (M.value = D.value.parentElement, J.value = M.value, ee(F.value, D.value, J.value), z());
3504
- }), N || (M.value && (M.value = null), be())), a.value ? T.value = ye() : (O.value = !1, E.value = e.draggable);
3503
+ }), N || (M.value && (M.value = null), be())), a.value ? T.value = ge() : (O.value = !1, E.value = e.draggable);
3505
3504
  }), Z(() => e.showHeader, (N, Q) => {
3506
3505
  N !== Q && (m.value = N);
3507
3506
  }), Z(() => e.showButtons, (N, Q) => {
@@ -3521,7 +3520,7 @@ const Je = /* @__PURE__ */ le({
3521
3520
  "farris-modal": !0,
3522
3521
  fade: !0
3523
3522
  };
3524
- N["f-modal-fitContent"] = !!f.value, N.show = !!Y.value;
3523
+ N["f-modal-fitContent"] = !!p.value, N.show = !!Y.value;
3525
3524
  const Q = (ue = e.maskClass) == null ? void 0 : ue.split(" ");
3526
3525
  return Q == null || Q.reduce((fe, Ie) => (fe[Ie] = !0, fe), N), N;
3527
3526
  }), de = V(() => {
@@ -3536,7 +3535,7 @@ const Je = /* @__PURE__ */ le({
3536
3535
  top: `${(window.innerHeight - o.value) / 2}px`,
3537
3536
  left: `${(window.innerWidth - n.value) / 2}px`,
3538
3537
  width: `${n.value}px`,
3539
- height: f.value ? "auto" : `${o.value}px`
3538
+ height: p.value ? "auto" : `${o.value}px`
3540
3539
  };
3541
3540
  return e.mask || (N.pointerEvents = "auto"), N;
3542
3541
  }), U = () => zn() || 1040, ae = V(() => {
@@ -3569,7 +3568,7 @@ const Je = /* @__PURE__ */ le({
3569
3568
  }
3570
3569
  const Ze = V(() => {
3571
3570
  const N = {
3572
- textAlgin: g.value
3571
+ textAlgin: y.value
3573
3572
  }, Q = qe();
3574
3573
  return Object.assign(N, Q);
3575
3574
  });
@@ -3588,9 +3587,9 @@ const Je = /* @__PURE__ */ le({
3588
3587
  }
3589
3588
  let Pe = null, ke = null;
3590
3589
  wt(() => {
3591
- T.value = ye();
3590
+ T.value = ge();
3592
3591
  }), Be(() => {
3593
- D.value && !M.value && (M.value = D.value.parentElement, J.value = M.value, ee(F.value, D.value, J.value)), Y.value && document.body.classList.add("modal-open"), Pe = yl(e, t), ke = bl(e, t);
3592
+ D.value && !M.value && (M.value = D.value.parentElement, J.value = M.value, ee(F.value, D.value, J.value)), Y.value && document.body.classList.add("modal-open"), Pe = gl(e, t), ke = bl(e, t);
3594
3593
  }), Ct(() => {
3595
3594
  q && q(), Pe && Pe.remove(), ke && ke.remove();
3596
3595
  }), t.expose({
@@ -3680,8 +3679,8 @@ const Je = /* @__PURE__ */ le({
3680
3679
  class: "f-utils-fill",
3681
3680
  width: "100%",
3682
3681
  frameborder: "0",
3683
- src: p.value
3684
- }, null)]), De()]), !f.value && D.value && !O.value && y(D.value)]);
3682
+ src: f.value
3683
+ }, null)]), De()]), !p.value && D.value && !O.value && g(D.value)]);
3685
3684
  }
3686
3685
  function et(N) {
3687
3686
  return N || "body";
@@ -3717,13 +3716,13 @@ function wl(e) {
3717
3716
  Ct(() => {
3718
3717
  document.body.removeChild(t);
3719
3718
  });
3720
- const i = d(), l = d(e.class || ""), f = d(!!e.showButtons), m = d(!!e.showHeader), u = d(e.showCloseButton == null ? !0 : e.showCloseButton), h = d(!0), r = d(e.title || ""), s = e.acceptCallback || (() => {
3719
+ const i = d(), l = d(e.class || ""), p = d(!!e.showButtons), m = d(!!e.showHeader), u = d(e.showCloseButton == null ? !0 : e.showCloseButton), h = d(!0), r = d(e.title || ""), s = e.acceptCallback || (() => {
3721
3720
  }), c = e.rejectCallback || (() => {
3722
- }), p = e.closedCallback || ((I) => {
3723
- }), g = e.resizeHandle || ((I) => {
3721
+ }), f = e.closedCallback || ((I) => {
3722
+ }), y = e.resizeHandle || ((I) => {
3724
3723
  }), b = e.stopMoveHandle || ((I) => {
3725
3724
  }), R = wn(e), M = (I) => {
3726
- h.value = !1, n.unmount(), p(I);
3725
+ h.value = !1, n.unmount(), f(I);
3727
3726
  };
3728
3727
  return Be(() => {
3729
3728
  }), a.expose({
@@ -3738,14 +3737,14 @@ function wl(e) {
3738
3737
  height: e.height,
3739
3738
  buttons: e.buttons,
3740
3739
  "show-header": m.value,
3741
- "show-buttons": f.value,
3740
+ "show-buttons": p.value,
3742
3741
  "show-close-button": u.value,
3743
3742
  "show-max-button": !1,
3744
3743
  onAccept: s,
3745
3744
  onCancel: c,
3746
3745
  fitContent: e.fitContent == null ? !0 : e.fitContent,
3747
3746
  onClosed: M,
3748
- onResize: g,
3747
+ onResize: y,
3749
3748
  onStopMove: b
3750
3749
  }, {
3751
3750
  default: () => [R && R(n)]
@@ -3801,7 +3800,7 @@ class xt {
3801
3800
  showHeader: !0
3802
3801
  }, t)), a = d(!0), i = o.value.acceptCallback || (() => {
3803
3802
  }), l = o.value.rejectCallback || (() => {
3804
- }), f = o.value.closedCallback || ((T, x) => {
3803
+ }), p = o.value.closedCallback || ((T, x) => {
3805
3804
  }), m = o.value.resizeHandle || ((T) => {
3806
3805
  }), u = t.stopMoveHandle || ((T) => {
3807
3806
  });
@@ -3810,7 +3809,7 @@ class xt {
3810
3809
  var w;
3811
3810
  a.value = !1;
3812
3811
  const x = (w = T == null ? void 0 : T.target) == null ? void 0 : w.classList.contains("modal_close");
3813
- f(T, this.isUseEscCloseModal.value ? "esc" : x ? "icon" : "button");
3812
+ p(T, this.isUseEscCloseModal.value ? "esc" : x ? "icon" : "button");
3814
3813
  }, c = (T) => {
3815
3814
  s(T), h && nt(() => {
3816
3815
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Nt(null, n), h = null, this.modalRef.value = null, this.modalRefs) {
@@ -3819,13 +3818,13 @@ class xt {
3819
3818
  }
3820
3819
  this.isUseEscCloseModal.value = !1;
3821
3820
  });
3822
- }, p = (T) => {
3821
+ }, f = (T) => {
3823
3822
  var x;
3824
3823
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((x = this.activeModalInstance.value) == null || x.close(T == null ? void 0 : T.event));
3825
3824
  }, {
3826
- width: g,
3825
+ width: y,
3827
3826
  height: b
3828
- } = o.value, R = this.adaptToWindow(g || 500, b || 320);
3827
+ } = o.value, R = this.adaptToWindow(y || 500, b || 320);
3829
3828
  Object.assign(o.value, R);
3830
3829
  const M = () => v(Je, Lt({
3831
3830
  ref: this.modalRef,
@@ -3836,7 +3835,7 @@ class xt {
3836
3835
  onCancel: l,
3837
3836
  onClosed: c,
3838
3837
  onResize: m,
3839
- onEsc: p,
3838
+ onEsc: f,
3840
3839
  onStopMove: u
3841
3840
  }), {
3842
3841
  default: () => [r && r(this.app)]
@@ -4113,28 +4112,28 @@ var Rl = { exports: {} };
4113
4112
  if (!o[u]) {
4114
4113
  var r = typeof ht == "function" && ht;
4115
4114
  if (!h && r) return r(u, !0);
4116
- if (f) return f(u, !0);
4115
+ if (p) return p(u, !0);
4117
4116
  var s = new Error("Cannot find module '" + u + "'");
4118
4117
  throw s.code = "MODULE_NOT_FOUND", s;
4119
4118
  }
4120
4119
  var c = a[u] = { exports: {} };
4121
- o[u][0].call(c.exports, function(p) {
4122
- var g = o[u][1][p];
4123
- return l(g || p);
4120
+ o[u][0].call(c.exports, function(f) {
4121
+ var y = o[u][1][f];
4122
+ return l(y || f);
4124
4123
  }, c, c.exports, n, o, a, i);
4125
4124
  }
4126
4125
  return a[u].exports;
4127
4126
  }
4128
- for (var f = typeof ht == "function" && ht, m = 0; m < i.length; m++) l(i[m]);
4127
+ for (var p = typeof ht == "function" && ht, m = 0; m < i.length; m++) l(i[m]);
4129
4128
  return l;
4130
4129
  }
4131
4130
  return n;
4132
4131
  }())({
4133
4132
  1: [function(n, o, a) {
4134
- var i = {}, l = "(?:^|\\s)", f = "(?:\\s|$)";
4133
+ var i = {}, l = "(?:^|\\s)", p = "(?:\\s|$)";
4135
4134
  function m(r) {
4136
4135
  var s = i[r];
4137
- return s ? s.lastIndex = 0 : i[r] = s = new RegExp(l + r + f, "g"), s;
4136
+ return s ? s.lastIndex = 0 : i[r] = s = new RegExp(l + r + p, "g"), s;
4138
4137
  }
4139
4138
  function u(r, s) {
4140
4139
  var c = r.className;
@@ -4150,11 +4149,11 @@ var Rl = { exports: {} };
4150
4149
  }, {}],
4151
4150
  2: [function(n, o, a) {
4152
4151
  (function(i) {
4153
- var l = n("contra/emitter"), f = n("crossvent"), m = n("./classes"), u = document, h = u.documentElement;
4152
+ var l = n("contra/emitter"), p = n("crossvent"), m = n("./classes"), u = document, h = u.documentElement;
4154
4153
  function r(F, D) {
4155
4154
  var O = arguments.length;
4156
4155
  O === 1 && Array.isArray(F) === !1 && (D = F, F = []);
4157
- var y, B, P, J, A, E, q, z, ee, ye = null, be, Y, ie = !1, de = 0, oe, U = D || {};
4156
+ var g, B, P, J, A, E, q, z, ee, ge = null, be, Y, ie = !1, de = 0, oe, U = D || {};
4158
4157
  U.moves === void 0 && (U.moves = M), U.accepts === void 0 && (U.accepts = M), U.invalid === void 0 && (U.invalid = lt), U.containers === void 0 && (U.containers = F || []), U.isContainer === void 0 && (U.isContainer = R), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = u.body);
4159
4158
  var ae = l({
4160
4159
  containers: U.containers,
@@ -4172,15 +4171,15 @@ var Rl = { exports: {} };
4172
4171
  }
4173
4172
  function Ne(k) {
4174
4173
  var L = k ? "remove" : "add";
4175
- p(h, L, "mousedown", se), p(h, L, "mouseup", Ve);
4174
+ f(h, L, "mousedown", se), f(h, L, "mouseup", Ve);
4176
4175
  }
4177
4176
  function Me(k) {
4178
4177
  var L = k ? "remove" : "add";
4179
- p(h, L, "mousemove", it);
4178
+ f(h, L, "mousemove", it);
4180
4179
  }
4181
4180
  function Qe(k) {
4182
4181
  var L = k ? "remove" : "add";
4183
- f[L](h, "selectstart", Ze), f[L](h, "click", Ze);
4182
+ p[L](h, "selectstart", Ze), p[L](h, "click", Ze);
4184
4183
  }
4185
4184
  function qe() {
4186
4185
  Ne(!0), Ve({});
@@ -4190,7 +4189,7 @@ var Rl = { exports: {} };
4190
4189
  }
4191
4190
  function se(k) {
4192
4191
  J = k.clientX, A = k.clientY;
4193
- var L = g(k) !== 1 || k.metaKey || k.ctrlKey;
4192
+ var L = y(k) !== 1 || k.metaKey || k.ctrlKey;
4194
4193
  if (!L) {
4195
4194
  var W = k.target, G = Ae(W);
4196
4195
  G && (be = G, Me(), k.type === "mousedown" && (x(W) ? W.focus() : k.preventDefault()));
@@ -4198,7 +4197,7 @@ var Rl = { exports: {} };
4198
4197
  }
4199
4198
  function it(k) {
4200
4199
  if (be) {
4201
- if (g(k) === 0) {
4200
+ if (y(k) === 0) {
4202
4201
  Ve({});
4203
4202
  return;
4204
4203
  }
@@ -4214,7 +4213,7 @@ var Rl = { exports: {} };
4214
4213
  }
4215
4214
  }
4216
4215
  function Ae(k) {
4217
- if (!(ae.dragging && y) && !We(k)) {
4216
+ if (!(ae.dragging && g) && !We(k)) {
4218
4217
  for (var L = k; T(k) && We(T(k)) === !1; )
4219
4218
  if (U.invalid(k, L) || (k = T(k), !k))
4220
4219
  return;
@@ -4253,7 +4252,7 @@ var Rl = { exports: {} };
4253
4252
  }
4254
4253
  function Ve(k) {
4255
4254
  if (De(), !!ae.dragging) {
4256
- var L = z || P, W = j("clientX", k) || 0, G = j("clientY", k) || 0, K = b(y, W, G), te = fe(K, W, G);
4255
+ var L = z || P, W = j("clientX", k) || 0, G = j("clientY", k) || 0, K = b(g, W, G), te = fe(K, W, G);
4257
4256
  te && (z && U.copySortSource || !z || te !== B) ? Ke(L, te) : U.removeOnSpill ? et() : N();
4258
4257
  }
4259
4258
  }
@@ -4275,11 +4274,11 @@ var Rl = { exports: {} };
4275
4274
  }
4276
4275
  function Q() {
4277
4276
  var k = z || P;
4278
- De(), Et(), Rt(), k && m.rm(k, "gu-transit"), ee && clearTimeout(ee), ae.dragging = !1, ye && ae.emit("out", k, ye, B), ae.emit("dragend", k, de), B = P = z = E = q = ee = ye = null;
4277
+ De(), Et(), Rt(), k && m.rm(k, "gu-transit"), ee && clearTimeout(ee), ae.dragging = !1, ge && ae.emit("out", k, ge, B), ae.emit("dragend", k, de), B = P = z = E = q = ee = ge = null;
4279
4278
  }
4280
4279
  function ue(k, L) {
4281
4280
  var W;
4282
- return L !== void 0 ? W = L : y ? W = q : W = C(z || P), k === B && W === E;
4281
+ return L !== void 0 ? W = L : g ? W = q : W = C(z || P), k === B && W === E;
4283
4282
  }
4284
4283
  function fe(k, L, W) {
4285
4284
  for (var G = k; G && !K(); )
@@ -4294,13 +4293,13 @@ var Rl = { exports: {} };
4294
4293
  }
4295
4294
  }
4296
4295
  function Ie(k) {
4297
- if (!y)
4296
+ if (!g)
4298
4297
  return;
4299
4298
  k.preventDefault();
4300
4299
  var L = j("clientX", k) || 0, W = j("clientY", k) || 0;
4301
- y.style.left = L - 2 + "px", y.style.top = W - 2 + "px";
4302
- var G = z || P, K = b(y, L, W), te = fe(K, L, W), Fe = te !== null && te !== ye;
4303
- (Fe || te === null) && (Se(), ye = te, Re()), $t(K, W);
4300
+ g.style.left = L - 2 + "px", g.style.top = W - 2 + "px";
4301
+ var G = z || P, K = b(g, L, W), te = fe(K, L, W), Fe = te !== null && te !== ge;
4302
+ (Fe || te === null) && (Se(), ge = te, Re()), $t(K, W);
4304
4303
  var we = T(G);
4305
4304
  if (te === B && z && !U.copySortSource) {
4306
4305
  we && we.removeChild(G);
@@ -4317,13 +4316,13 @@ var Rl = { exports: {} };
4317
4316
  }
4318
4317
  Y.style.display = "block", Tt(Ce, G, Fe), Ce ? Dt(Ee, Ce) : It(te);
4319
4318
  function pe(he) {
4320
- ae.emit(he, G, ye, B);
4319
+ ae.emit(he, G, ge, B);
4321
4320
  }
4322
4321
  function Re() {
4323
4322
  Fe && pe("over");
4324
4323
  }
4325
4324
  function Se() {
4326
- ye && pe("out");
4325
+ ge && pe("out");
4327
4326
  }
4328
4327
  }
4329
4328
  function Tt(k, L, W) {
@@ -4336,7 +4335,7 @@ var Rl = { exports: {} };
4336
4335
  ae.dragging && m.add(k, "gu-hide");
4337
4336
  }
4338
4337
  function Mt() {
4339
- y || (y = document.createElement("div"), y.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", y.innerHTML = U.getMirrorText && U.getMirrorText(P) || "控件", m.add(y, "gu-mirror"), U.mirrorContainer.appendChild(y), p(h, "add", "mousemove", Ie), m.add(U.mirrorContainer, "gu-unselectable"), ae.emit("cloned", y, P, "mirror"));
4338
+ g || (g = document.createElement("div"), g.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", g.innerHTML = U.getMirrorText && U.getMirrorText(P) || "控件", m.add(g, "gu-mirror"), U.mirrorContainer.appendChild(g), f(h, "add", "mousemove", Ie), m.add(U.mirrorContainer, "gu-unselectable"), ae.emit("cloned", g, P, "mirror"));
4340
4339
  }
4341
4340
  function kt() {
4342
4341
  if (Y = document.createElement("div"), m.add(Y, "gu-insertion"), P) {
@@ -4346,7 +4345,7 @@ var Rl = { exports: {} };
4346
4345
  ie = !1, U.mirrorContainer.appendChild(Y);
4347
4346
  }
4348
4347
  function Et() {
4349
- y && (m.rm(U.mirrorContainer, "gu-unselectable"), p(h, "remove", "mousemove", Ie), T(y).removeChild(y), y = null);
4348
+ g && (m.rm(U.mirrorContainer, "gu-unselectable"), f(h, "remove", "mousemove", Ie), T(g).removeChild(g), g = null);
4350
4349
  }
4351
4350
  function Rt() {
4352
4351
  Y && (T(Y).removeChild(Y), Y = null);
@@ -4456,23 +4455,23 @@ var Rl = { exports: {} };
4456
4455
  function s(F) {
4457
4456
  const D = Array.from(window.scrollContainerList);
4458
4457
  if (D.length === 1) {
4459
- const y = Array.from(window.scrollContainerList)[0];
4460
- return document.getElementById(y);
4458
+ const g = Array.from(window.scrollContainerList)[0];
4459
+ return document.getElementById(g);
4461
4460
  }
4462
4461
  const O = c(D);
4463
- for (const y of O)
4464
- if (y.contains(F))
4465
- return y;
4462
+ for (const g of O)
4463
+ if (g.contains(F))
4464
+ return g;
4466
4465
  return null;
4467
4466
  }
4468
4467
  function c(F) {
4469
4468
  const D = [];
4470
4469
  return F.forEach((O) => {
4471
- const y = document.getElementById(O);
4472
- y && D.push(y);
4473
- }), D.sort((O, y) => O.contains(y) ? 1 : y.contains(O) ? -1 : 0), D;
4470
+ const g = document.getElementById(O);
4471
+ g && D.push(g);
4472
+ }), D.sort((O, g) => O.contains(g) ? 1 : g.contains(O) ? -1 : 0), D;
4474
4473
  }
4475
- function p(F, D, O, y) {
4474
+ function f(F, D, O, g) {
4476
4475
  var B = {
4477
4476
  mouseup: "touchend",
4478
4477
  mousedown: "touchstart",
@@ -4486,9 +4485,9 @@ var Rl = { exports: {} };
4486
4485
  mousedown: "MSPointerDown",
4487
4486
  mousemove: "MSPointerMove"
4488
4487
  };
4489
- i.navigator.pointerEnabled ? f[D](F, P[O], y) : i.navigator.msPointerEnabled ? f[D](F, J[O], y) : (f[D](F, B[O], y), f[D](F, O, y));
4488
+ i.navigator.pointerEnabled ? p[D](F, P[O], g) : i.navigator.msPointerEnabled ? p[D](F, J[O], g) : (p[D](F, B[O], g), p[D](F, O, g));
4490
4489
  }
4491
- function g(F) {
4490
+ function y(F) {
4492
4491
  if (F.touches !== void 0)
4493
4492
  return F.touches.length;
4494
4493
  if (F.which !== void 0 && F.which !== 0)
@@ -4501,8 +4500,8 @@ var Rl = { exports: {} };
4501
4500
  }
4502
4501
  function b(F, D, O) {
4503
4502
  F = F || {};
4504
- var y = F.className || "", B;
4505
- return F.className += " gu-hide", B = u.elementFromPoint(D, O), F.className = y, B;
4503
+ var g = F.className || "", B;
4504
+ return F.className += " gu-hide", B = u.elementFromPoint(D, O), F.className = g, B;
4506
4505
  }
4507
4506
  function R() {
4508
4507
  return !1;
@@ -4539,27 +4538,27 @@ var Rl = { exports: {} };
4539
4538
  return F.targetTouches && F.targetTouches.length ? F.targetTouches[0] : F.changedTouches && F.changedTouches.length ? F.changedTouches[0] : F;
4540
4539
  }
4541
4540
  function j(F, D) {
4542
- var O = S(D), y = {
4541
+ var O = S(D), g = {
4543
4542
  pageX: "clientX",
4544
4543
  // IE8
4545
4544
  pageY: "clientY"
4546
4545
  // IE8
4547
4546
  };
4548
- return F in y && !(F in O) && y[F] in O && (F = y[F]), O[F];
4547
+ return F in g && !(F in O) && g[F] in O && (F = g[F]), O[F];
4549
4548
  }
4550
4549
  o.exports = r;
4551
4550
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
4552
4551
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
4553
4552
  3: [function(n, o, a) {
4554
- o.exports = function(l, f) {
4555
- return Array.prototype.slice.call(l, f);
4553
+ o.exports = function(l, p) {
4554
+ return Array.prototype.slice.call(l, p);
4556
4555
  };
4557
4556
  }, {}],
4558
4557
  4: [function(n, o, a) {
4559
4558
  var i = n("ticky");
4560
- o.exports = function(f, m, u) {
4561
- f && i(function() {
4562
- f.apply(u || null, m || []);
4559
+ o.exports = function(p, m, u) {
4560
+ p && i(function() {
4561
+ p.apply(u || null, m || []);
4563
4562
  });
4564
4563
  };
4565
4564
  }, { ticky: 10 }],
@@ -4572,16 +4571,16 @@ var Rl = { exports: {} };
4572
4571
  }, m.once = function(s, c) {
4573
4572
  return c._once = !0, m.on(s, c), m;
4574
4573
  }, m.off = function(s, c) {
4575
- var p = arguments.length;
4576
- if (p === 1)
4574
+ var f = arguments.length;
4575
+ if (f === 1)
4577
4576
  delete r[s];
4578
- else if (p === 0)
4577
+ else if (f === 0)
4579
4578
  r = {};
4580
4579
  else {
4581
- var g = r[s];
4582
- if (!g)
4580
+ var y = r[s];
4581
+ if (!y)
4583
4582
  return m;
4584
- g.splice(g.indexOf(c), 1);
4583
+ y.splice(y.indexOf(c), 1);
4585
4584
  }
4586
4585
  return m;
4587
4586
  }, m.emit = function() {
@@ -4590,11 +4589,11 @@ var Rl = { exports: {} };
4590
4589
  }, m.emitterSnapshot = function(s) {
4591
4590
  var c = (r[s] || []).slice(0);
4592
4591
  return function() {
4593
- var p = i(arguments), g = this || m;
4592
+ var f = i(arguments), y = this || m;
4594
4593
  if (s === "error" && h.throws !== !1 && !c.length)
4595
- throw p.length === 1 ? p[0] : p;
4594
+ throw f.length === 1 ? f[0] : f;
4596
4595
  return c.forEach(function(R) {
4597
- h.async ? l(R, p, g) : R.apply(g, p), R._once && m.off(s, R);
4596
+ h.async ? l(R, f, y) : R.apply(y, f), R._once && m.off(s, R);
4598
4597
  }), m;
4599
4598
  };
4600
4599
  }, m;
@@ -4602,8 +4601,8 @@ var Rl = { exports: {} };
4602
4601
  }, { "./debounce": 4, atoa: 3 }],
4603
4602
  6: [function(n, o, a) {
4604
4603
  (function(i) {
4605
- var l = n("custom-event"), f = n("./eventmap"), m = i.document, u = s, h = p, r = [];
4606
- i.addEventListener || (u = c, h = g), o.exports = {
4604
+ var l = n("custom-event"), p = n("./eventmap"), m = i.document, u = s, h = f, r = [];
4605
+ i.addEventListener || (u = c, h = y), o.exports = {
4607
4606
  add: u,
4608
4607
  remove: h,
4609
4608
  fabricate: b
@@ -4614,16 +4613,16 @@ var Rl = { exports: {} };
4614
4613
  function c(T, x, w) {
4615
4614
  return T.attachEvent("on" + x, M(T, x, w));
4616
4615
  }
4617
- function p(T, x, w, C) {
4616
+ function f(T, x, w, C) {
4618
4617
  return T.removeEventListener(x, w, C);
4619
4618
  }
4620
- function g(T, x, w) {
4619
+ function y(T, x, w) {
4621
4620
  var C = I(T, x, w);
4622
4621
  if (C)
4623
4622
  return T.detachEvent("on" + x, C);
4624
4623
  }
4625
4624
  function b(T, x, w) {
4626
- var C = f.indexOf(x) === -1 ? j() : S();
4625
+ var C = p.indexOf(x) === -1 ? j() : S();
4627
4626
  T.dispatchEvent ? T.dispatchEvent(C) : T.fireEvent("on" + x, C);
4628
4627
  function S() {
4629
4628
  var F;
@@ -4669,16 +4668,16 @@ var Rl = { exports: {} };
4669
4668
  }, { "./eventmap": 7, "custom-event": 8 }],
4670
4669
  7: [function(n, o, a) {
4671
4670
  (function(i) {
4672
- var l = [], f = "", m = /^on/;
4673
- for (f in i)
4674
- m.test(f) && l.push(f.slice(2));
4671
+ var l = [], p = "", m = /^on/;
4672
+ for (p in i)
4673
+ m.test(p) && l.push(p.slice(2));
4675
4674
  o.exports = l;
4676
4675
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
4677
4676
  }, {}],
4678
4677
  8: [function(n, o, a) {
4679
4678
  (function(i) {
4680
4679
  var l = i.CustomEvent;
4681
- function f() {
4680
+ function p() {
4682
4681
  try {
4683
4682
  var m = new l("cat", { detail: { foo: "bar" } });
4684
4683
  return m.type === "cat" && m.detail.foo === "bar";
@@ -4686,7 +4685,7 @@ var Rl = { exports: {} };
4686
4685
  }
4687
4686
  return !1;
4688
4687
  }
4689
- o.exports = f() ? l : (
4688
+ o.exports = p() ? l : (
4690
4689
  // IE >= 9
4691
4690
  typeof document < "u" && typeof document.createEvent == "function" ? function(u, h) {
4692
4691
  var r = document.createEvent("CustomEvent");
@@ -4702,7 +4701,7 @@ var Rl = { exports: {} };
4702
4701
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
4703
4702
  }, {}],
4704
4703
  9: [function(n, o, a) {
4705
- var i = o.exports = {}, l, f;
4704
+ var i = o.exports = {}, l, p;
4706
4705
  function m() {
4707
4706
  throw new Error("setTimeout has not been defined");
4708
4707
  }
@@ -4716,9 +4715,9 @@ var Rl = { exports: {} };
4716
4715
  l = m;
4717
4716
  }
4718
4717
  try {
4719
- typeof clearTimeout == "function" ? f = clearTimeout : f = u;
4718
+ typeof clearTimeout == "function" ? p = clearTimeout : p = u;
4720
4719
  } catch {
4721
- f = u;
4720
+ p = u;
4722
4721
  }
4723
4722
  })();
4724
4723
  function h($) {
@@ -4737,34 +4736,34 @@ var Rl = { exports: {} };
4737
4736
  }
4738
4737
  }
4739
4738
  function r($) {
4740
- if (f === clearTimeout)
4739
+ if (p === clearTimeout)
4741
4740
  return clearTimeout($);
4742
- if ((f === u || !f) && clearTimeout)
4743
- return f = clearTimeout, clearTimeout($);
4741
+ if ((p === u || !p) && clearTimeout)
4742
+ return p = clearTimeout, clearTimeout($);
4744
4743
  try {
4745
- return f($);
4744
+ return p($);
4746
4745
  } catch {
4747
4746
  try {
4748
- return f.call(null, $);
4747
+ return p.call(null, $);
4749
4748
  } catch {
4750
- return f.call(this, $);
4749
+ return p.call(this, $);
4751
4750
  }
4752
4751
  }
4753
4752
  }
4754
- var s = [], c = !1, p, g = -1;
4753
+ var s = [], c = !1, f, y = -1;
4755
4754
  function b() {
4756
- !c || !p || (c = !1, p.length ? s = p.concat(s) : g = -1, s.length && R());
4755
+ !c || !f || (c = !1, f.length ? s = f.concat(s) : y = -1, s.length && R());
4757
4756
  }
4758
4757
  function R() {
4759
4758
  if (!c) {
4760
4759
  var $ = h(b);
4761
4760
  c = !0;
4762
4761
  for (var T = s.length; T; ) {
4763
- for (p = s, s = []; ++g < T; )
4764
- p && p[g].run();
4765
- g = -1, T = s.length;
4762
+ for (f = s, s = []; ++y < T; )
4763
+ f && f[y].run();
4764
+ y = -1, T = s.length;
4766
4765
  }
4767
- p = null, c = !1, r($);
4766
+ f = null, c = !1, r($);
4768
4767
  }
4769
4768
  }
4770
4769
  i.nextTick = function($) {
@@ -4796,17 +4795,17 @@ var Rl = { exports: {} };
4796
4795
  }, {}],
4797
4796
  10: [function(n, o, a) {
4798
4797
  (function(i) {
4799
- var l = typeof i == "function", f;
4800
- l ? f = function(m) {
4798
+ var l = typeof i == "function", p;
4799
+ l ? p = function(m) {
4801
4800
  i(m);
4802
- } : f = function(m) {
4801
+ } : p = function(m) {
4803
4802
  setTimeout(m, 0);
4804
- }, o.exports = f;
4803
+ }, o.exports = p;
4805
4804
  }).call(this, n("timers").setImmediate);
4806
4805
  }, { timers: 11 }],
4807
4806
  11: [function(n, o, a) {
4808
4807
  (function(i, l) {
4809
- var f = n("process/browser.js").nextTick, m = Function.prototype.apply, u = Array.prototype.slice, h = {}, r = 0;
4808
+ var p = n("process/browser.js").nextTick, m = Function.prototype.apply, u = Array.prototype.slice, h = {}, r = 0;
4810
4809
  a.setTimeout = function() {
4811
4810
  return new s(m.call(setTimeout, window, arguments), clearTimeout);
4812
4811
  }, a.setInterval = function() {
@@ -4814,27 +4813,27 @@ var Rl = { exports: {} };
4814
4813
  }, a.clearTimeout = a.clearInterval = function(c) {
4815
4814
  c.close();
4816
4815
  };
4817
- function s(c, p) {
4818
- this._id = c, this._clearFn = p;
4816
+ function s(c, f) {
4817
+ this._id = c, this._clearFn = f;
4819
4818
  }
4820
4819
  s.prototype.unref = s.prototype.ref = function() {
4821
4820
  }, s.prototype.close = function() {
4822
4821
  this._clearFn.call(window, this._id);
4823
- }, a.enroll = function(c, p) {
4824
- clearTimeout(c._idleTimeoutId), c._idleTimeout = p;
4822
+ }, a.enroll = function(c, f) {
4823
+ clearTimeout(c._idleTimeoutId), c._idleTimeout = f;
4825
4824
  }, a.unenroll = function(c) {
4826
4825
  clearTimeout(c._idleTimeoutId), c._idleTimeout = -1;
4827
4826
  }, a._unrefActive = a.active = function(c) {
4828
4827
  clearTimeout(c._idleTimeoutId);
4829
- var p = c._idleTimeout;
4830
- p >= 0 && (c._idleTimeoutId = setTimeout(function() {
4828
+ var f = c._idleTimeout;
4829
+ f >= 0 && (c._idleTimeoutId = setTimeout(function() {
4831
4830
  c._onTimeout && c._onTimeout();
4832
- }, p));
4831
+ }, f));
4833
4832
  }, a.setImmediate = typeof i == "function" ? i : function(c) {
4834
- var p = r++, g = arguments.length < 2 ? !1 : u.call(arguments, 1);
4835
- return h[p] = !0, f(function() {
4836
- h[p] && (g ? c.apply(null, g) : c.call(null), a.clearImmediate(p));
4837
- }), p;
4833
+ var f = r++, y = arguments.length < 2 ? !1 : u.call(arguments, 1);
4834
+ return h[f] = !0, p(function() {
4835
+ h[f] && (y ? c.apply(null, y) : c.call(null), a.clearImmediate(f));
4836
+ }), f;
4838
4837
  }, a.clearImmediate = typeof l == "function" ? l : function(c) {
4839
4838
  delete h[c];
4840
4839
  };
@@ -4868,24 +4867,24 @@ const Ol = {
4868
4867
  const {
4869
4868
  locale: n,
4870
4869
  t: o
4871
- } = ft(), a = d(e.animate), i = "fadeOut", l = V(() => e.options), f = d(!1), m = V(() => l.value.title && l.value.message), u = V(() => !l.value.title && l.value.message), h = V(() => {
4870
+ } = ft(), a = d(e.animate), i = "fadeOut", l = V(() => e.options), p = d(!1), m = V(() => l.value.title && l.value.message), u = V(() => !l.value.title && l.value.message), h = V(() => {
4872
4871
  const $ = {
4873
- animated: f.value,
4872
+ animated: p.value,
4874
4873
  toast: !0,
4875
4874
  "toast--only-content": !m.value
4876
4875
  };
4877
- return $[e.animate] = !1, $[i] = f.value, $["toasty-type-" + l.value.type] = !0, l.value.theme && ($[l.value.theme] = !0), $;
4876
+ return $[e.animate] = !1, $[i] = p.value, $["toasty-type-" + l.value.type] = !0, l.value.theme && ($[l.value.theme] = !0), $;
4878
4877
  }), r = V(() => {
4879
4878
  const x = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, w = {
4880
4879
  "f-icon": !0
4881
4880
  };
4882
4881
  return w[x] = !0, w;
4883
- }), s = V(() => l.value.title || l.value.message), c = V(() => e.showCloseButton), p = V(() => !!l.value.buttons || !!t.slots.default), g = V(() => n.value === "en" ? {
4882
+ }), s = V(() => l.value.title || l.value.message), c = V(() => e.showCloseButton), f = V(() => !!l.value.buttons || !!t.slots.default), y = V(() => n.value === "en" ? {
4884
4883
  wordBreak: "keep-all",
4885
4884
  overflowWrap: "break-word"
4886
4885
  } : {});
4887
4886
  function b($) {
4888
- $.stopPropagation(), $.preventDefault(), f.value = !1, setTimeout(() => {
4887
+ $.stopPropagation(), $.preventDefault(), p.value = !1, setTimeout(() => {
4889
4888
  t.emit("close", l.value);
4890
4889
  }, 200);
4891
4890
  }
@@ -4929,22 +4928,22 @@ const Ol = {
4929
4928
  }, null), v("p", {
4930
4929
  class: "toast-msg",
4931
4930
  innerHTML: l.value.message,
4932
- style: g.value
4933
- }, null), p.value && I()]), u.value && (l.value.buttons ? v("div", {
4931
+ style: y.value
4932
+ }, null), f.value && I()]), u.value && (l.value.buttons ? v("div", {
4934
4933
  class: "toast-title-btns-wrapper d-flex"
4935
4934
  }, [v("h5", {
4936
4935
  class: "toast-title modal-tips-title only-toast-msg",
4937
- style: g.value,
4936
+ style: y.value,
4938
4937
  innerHTML: l.value.message
4939
4938
  }, null), v("div", {
4940
4939
  class: "after-toast-title text-right ml-auto"
4941
4940
  }, [I()])]) : v("h5", {
4942
4941
  class: "toast-title modal-tips-title only-toast-msg",
4943
- style: g.value,
4942
+ style: y.value,
4944
4943
  innerHTML: l.value.message
4945
4944
  }, null))])])]);
4946
4945
  }
4947
- }), gt = /* @__PURE__ */ le({
4946
+ }), yt = /* @__PURE__ */ le({
4948
4947
  name: "Notify",
4949
4948
  props: Ol,
4950
4949
  emits: ["close", "empty"],
@@ -4956,15 +4955,15 @@ const Ol = {
4956
4955
  right: 12,
4957
4956
  top: 20,
4958
4957
  bottom: 12
4959
- }, a = d(), i = d(e.options), l = d(e.showCloseButton), f = V(() => e.position || "bottom-right"), m = V(() => e.timeout != null ? e.timeout : 3e3), u = V(() => {
4960
- const s = e.bottom ? e.bottom : o.bottom, c = e.top ? e.top : o.top, p = {
4958
+ }, a = d(), i = d(e.options), l = d(e.showCloseButton), p = V(() => e.position || "bottom-right"), m = V(() => e.timeout != null ? e.timeout : 3e3), u = V(() => {
4959
+ const s = e.bottom ? e.bottom : o.bottom, c = e.top ? e.top : o.top, f = {
4961
4960
  transition: "all 0.2s ease",
4962
- left: f.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
4963
- right: f.value.indexOf("right") > -1 ? `${e.right ? e.right : o.right}px` : "",
4964
- top: f.value.indexOf("top") > -1 ? `${c}px` : "",
4965
- bottom: f.value.indexOf("bottom") > -1 ? `${s}px` : ""
4961
+ left: p.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
4962
+ right: p.value.indexOf("right") > -1 ? `${e.right ? e.right : o.right}px` : "",
4963
+ top: p.value.indexOf("top") > -1 ? `${c}px` : "",
4964
+ bottom: p.value.indexOf("bottom") > -1 ? `${s}px` : ""
4966
4965
  };
4967
- return f.value.indexOf("center") > -1 && (p.left = "50%", p.marginLeft = "calc(-24rem / 2)", f.value === "center-center" && (p.top = "50%", p.transform = "translate(-50%, -50%)")), p;
4966
+ return p.value.indexOf("center") > -1 && (f.left = "50%", f.marginLeft = "calc(-24rem / 2)", p.value === "center-center" && (f.top = "50%", f.transform = "translate(-50%, -50%)")), f;
4968
4967
  });
4969
4968
  function h(s) {
4970
4969
  t.emit("close");
@@ -4974,7 +4973,7 @@ const Ol = {
4974
4973
  }, m.value), t.expose({
4975
4974
  closeToast: h,
4976
4975
  container: a,
4977
- notifyPosition: f
4976
+ notifyPosition: p
4978
4977
  });
4979
4978
  function r(s, c) {
4980
4979
  h();
@@ -5015,10 +5014,10 @@ class Il {
5015
5014
  const l = nn({
5016
5015
  setup() {
5017
5016
  var u;
5018
- const f = d();
5017
+ const p = d();
5019
5018
  function m() {
5020
- f.value.container.style.transform = "scale(0)", setTimeout(() => {
5021
- n.updateNotifyPositionForClose(a, f), l.unmount();
5019
+ p.value.container.style.transform = "scale(0)", setTimeout(() => {
5020
+ n.updateNotifyPositionForClose(a, p), l.unmount();
5022
5021
  }, 220);
5023
5022
  }
5024
5023
  if (a.position.indexOf("top") > -1) {
@@ -5031,14 +5030,14 @@ class Il {
5031
5030
  return a.safeHtml && ((u = a.options) != null && u.message) && (a.options.message = n.escapeAllHtml(a.options.message)), Ct(() => {
5032
5031
  document.body.removeChild(i);
5033
5032
  }), Be(() => {
5034
- n.updateNotifyPositionForCreate(a, f);
5033
+ n.updateNotifyPositionForCreate(a, p);
5035
5034
  }), () => v(tn, {
5036
5035
  mode: "out-in",
5037
5036
  name: "fade",
5038
5037
  appear: !0
5039
5038
  }, {
5040
- default: () => [v(gt, Lt({
5041
- ref: f
5039
+ default: () => [v(yt, Lt({
5040
+ ref: p
5042
5041
  }, a, {
5043
5042
  onClose: m
5044
5043
  }), null)]
@@ -5074,8 +5073,8 @@ class Il {
5074
5073
  return this.createNotifyInstance(t);
5075
5074
  }
5076
5075
  buildNotifyProps(t, n) {
5077
- let o = "", a = "", i, l, f;
5078
- typeof n == "string" ? o = n : n && (o = n.message || "", a = n.title || "", l = n.position || null, f = n.showCloseButton != null ? n.showCloseButton : null, i = n.timeout != null ? n.timeout : null);
5076
+ let o = "", a = "", i, l, p;
5077
+ typeof n == "string" ? o = n : n && (o = n.message || "", a = n.title || "", l = n.position || null, p = n.showCloseButton != null ? n.showCloseButton : null, i = n.timeout != null ? n.timeout : null);
5079
5078
  const u = {
5080
5079
  options: {
5081
5080
  type: t,
@@ -5083,7 +5082,7 @@ class Il {
5083
5082
  title: a
5084
5083
  }
5085
5084
  };
5086
- return l != null && (u.position = l), f != null && (u.showCloseButton = f), i != null && (u.timeout = i), u;
5085
+ return l != null && (u.position = l), p != null && (u.showCloseButton = p), i != null && (u.timeout = i), u;
5087
5086
  }
5088
5087
  info(t) {
5089
5088
  const n = this.buildNotifyProps("info", t);
@@ -5111,8 +5110,8 @@ class Il {
5111
5110
  }
5112
5111
  }
5113
5112
  const $l = Symbol("NOTIFY_SERVICE_TOKEN");
5114
- gt.install = (e) => {
5115
- e.component(gt.name, gt), e.component(Pt.name, Pt);
5113
+ yt.install = (e) => {
5114
+ e.component(yt.name, yt), e.component(Pt.name, Pt);
5116
5115
  const t = new Il();
5117
5116
  e.provide($l, t), e.provide("FNotifyService", t);
5118
5117
  };
@@ -5266,7 +5265,7 @@ const jl = {
5266
5265
  }
5267
5266
  }
5268
5267
  };
5269
- function Nl(e, t, n, o, a, i, l, f, m, u, h, r, s, c, p, g, b) {
5268
+ function Nl(e, t, n, o, a, i, l, p, m, u, h, r, s, c, f, y, b) {
5270
5269
  const {
5271
5270
  calculateCellPositionInRow: R
5272
5271
  } = i, {
@@ -5279,7 +5278,7 @@ function Nl(e, t, n, o, a, i, l, f, m, u, h, r, s, c, p, g, b) {
5279
5278
  rightFixedGridDataStyle: w
5280
5279
  } = c, {
5281
5280
  renderDataRow: C
5282
- } = Un(e, t, M, b, f, m, u, h, r, s, c, p, g), S = [C];
5281
+ } = Un(e, t, M, b, p, m, u, h, r, s, c, f, y), S = [C];
5283
5282
  function j(B, P) {
5284
5283
  const J = R(B);
5285
5284
  return b.value.filter((A) => A.visible !== !1).map((A, E) => S[A.type](A, J, P, E));
@@ -5311,12 +5310,12 @@ function Nl(e, t, n, o, a, i, l, f, m, u, h, r, s, c, p, g, b) {
5311
5310
  style: w.value
5312
5311
  }, [j(M.value.rightColumns.filter((B) => B.visible), "right")])]);
5313
5312
  }
5314
- function y() {
5313
+ function g() {
5315
5314
  const B = [];
5316
5315
  return I.value && B.push(F()), B.push(D()), $.value && B.push(O()), B;
5317
5316
  }
5318
5317
  return {
5319
- renderDataArea: y
5318
+ renderDataArea: g
5320
5319
  };
5321
5320
  }
5322
5321
  const Al = /* @__PURE__ */ le({
@@ -5326,8 +5325,8 @@ const Al = /* @__PURE__ */ le({
5326
5325
  setup(e, t) {
5327
5326
  var Ut, Gt;
5328
5327
  const o = ((Ut = e.rowOption) == null ? void 0 : Ut.height) || 28, a = d(20), i = d(e.columns), l = Gn(e), {
5329
- idField: f
5330
- } = l, m = d(), u = d(), h = d(), r = d(), s = d(), c = d([]), p = d(!1), g = d(((Gt = e.rowOption) == null ? void 0 : Gt.wrapContent) || !1), b = Xn(e, l), R = Yn(e, t), M = Jn(e), {
5328
+ idField: p
5329
+ } = l, m = d(), u = d(), h = d(), r = d(), s = d(), c = d([]), f = d(!1), y = d(((Gt = e.rowOption) == null ? void 0 : Gt.wrapContent) || !1), b = Xn(e, l), R = Yn(e, t), M = Jn(e), {
5331
5330
  collapseField: I
5332
5331
  } = M, {
5333
5332
  showLoading: $,
@@ -5337,9 +5336,9 @@ const Al = /* @__PURE__ */ le({
5337
5336
  } = x, C = Kn(e, x, l, c, t), {
5338
5337
  showSelection: S,
5339
5338
  selectedValues: j
5340
- } = C, F = eo(e, c, x, l, C, t), D = V(() => e.disabled), O = V(() => e.virtualized ? Math.min(x.dataView.value.length, a.value) : x.dataView.value.length), y = to(e, x), {
5339
+ } = C, F = eo(e, c, x, l, C, t), D = V(() => e.disabled), O = V(() => e.virtualized ? Math.min(x.dataView.value.length, a.value) : x.dataView.value.length), g = to(e, x), {
5341
5340
  shouldRenderPagination: B
5342
- } = y, {
5341
+ } = g, {
5343
5342
  containerStyleObject: P
5344
5343
  } = no(e), J = oo(e), {
5345
5344
  applyCommands: A
@@ -5351,23 +5350,23 @@ const Al = /* @__PURE__ */ le({
5351
5350
  } = ao(e);
5352
5351
  e.showSetting && E(i);
5353
5352
  const z = io(e, t), ee = lo(e), {
5354
- applyColumnSorter: ye,
5353
+ applyColumnSorter: ge,
5355
5354
  columnContext: be,
5356
5355
  updateColumnRenderContext: Y
5357
5356
  } = z;
5358
- ye(x, ee);
5357
+ ge(x, ee);
5359
5358
  const ie = ro(e, be), de = so(e, t, C, l), oe = uo(e, t, l, de, c), U = co(e), ae = fo(e, oe, U), We = po(e, x, oe, M, l, U, ae), Ne = mo(e, i, x, O, 0, We), {
5360
5359
  getVisualData: Me
5361
5360
  } = Ne, Qe = vo(e, be), qe = ho(e, C), {
5362
5361
  sidebarWidth: Ze
5363
- } = qe, se = go(e, x, c, be, Ne, O, 0, Ze), {
5362
+ } = qe, se = yo(e, x, c, be, Ne, O, 0, Ze), {
5364
5363
  onWheel: it,
5365
5364
  dataGridWidth: Ae,
5366
5365
  viewPortHeight: Pe,
5367
5366
  viewPortWidth: ke,
5368
5367
  resetScroll: Le,
5369
5368
  updateVisibleRowsOnLatestVisibleScope: lt
5370
- } = se, _e = yo(e, be, u, ke, ie), {
5369
+ } = se, _e = go(e, be, u, ke, ie), {
5371
5370
  calculateColumnsSize: De
5372
5371
  } = _e, Ve = bo(), Ke = wo(u, s, x, Ve, se), et = Co(e, t, z, x, ie, b, se), N = V(() => {
5373
5372
  const _ = {
@@ -5379,8 +5378,8 @@ const Al = /* @__PURE__ */ le({
5379
5378
  return Wn(_, e.customClass);
5380
5379
  }), Q = V(() => ({
5381
5380
  "fv-grid-content": !0,
5382
- "fv-grid-content-hover": p.value,
5383
- "fv-grid-wrap-content": g.value
5381
+ "fv-grid-content-hover": f.value,
5382
+ "fv-grid-wrap-content": y.value
5384
5383
  })), {
5385
5384
  renderDataArea: ue
5386
5385
  } = Nl(e, t, h, r, s, Qe, z, x, oe, M, de, C, F, se, Ne, U, c), {
@@ -5399,8 +5398,8 @@ const Al = /* @__PURE__ */ le({
5399
5398
  function Et() {
5400
5399
  var _, X, me;
5401
5400
  if (u.value && u.value.clientHeight > 0 && ((_ = u.value) == null ? void 0 : _.clientWidth) > 0) {
5402
- const ge = Math.ceil(u.value.clientHeight / o);
5403
- ge > a.value && (a.value = ge, lt()), Pe.value = ((X = h.value) == null ? void 0 : X.clientHeight) || 0, Ae.value = ((me = u.value) == null ? void 0 : me.clientWidth) || 0, De();
5401
+ const ye = Math.ceil(u.value.clientHeight / o);
5402
+ ye > a.value && (a.value = ye, lt()), Pe.value = ((X = h.value) == null ? void 0 : X.clientHeight) || 0, Ae.value = ((me = u.value) == null ? void 0 : me.clientWidth) || 0, De();
5404
5403
  }
5405
5404
  }
5406
5405
  Be(() => {
@@ -5430,8 +5429,8 @@ const Al = /* @__PURE__ */ le({
5430
5429
  x.insertNewChildDataItem(_), c.value = Me(0, O.value + 0 - 1);
5431
5430
  }
5432
5431
  function It(_, X) {
5433
- const me = c.value.find((xe) => xe.raw[f.value] === X), ge = me ? me.dataIndex - 1 : -1;
5434
- x.insertNewChildDataItems(_, ge);
5432
+ const me = c.value.find((xe) => xe.raw[p.value] === X), ye = me ? me.dataIndex - 1 : -1;
5433
+ x.insertNewChildDataItems(_, ye);
5435
5434
  }
5436
5435
  function $t() {
5437
5436
  const _ = rt(), X = F.getNextSelectableHierarchyItemId(_);
@@ -5447,7 +5446,7 @@ const Al = /* @__PURE__ */ le({
5447
5446
  oe.cancelEditingRow(_);
5448
5447
  }
5449
5448
  function L(_) {
5450
- _ && (i.value = _, A(i), Y(i.value), ye(x, ee), De());
5449
+ _ && (i.value = _, A(i), Y(i.value), ge(x, ee), De());
5451
5450
  }
5452
5451
  Z(() => e.columns, (_) => {
5453
5452
  L(_);
@@ -5487,10 +5486,10 @@ const Al = /* @__PURE__ */ le({
5487
5486
  return C.currentSelectedDataId.value;
5488
5487
  }
5489
5488
  function st(_, X, me) {
5490
- const ge = w.value.find((xe) => xe[f.value] === _);
5491
- if (ge) {
5492
- if (Object.keys(ge).forEach((ve) => {
5493
- Object.prototype.hasOwnProperty.call(X, ve) && (ge[ve] = X[ve]);
5489
+ const ye = w.value.find((xe) => xe[p.value] === _);
5490
+ if (ye) {
5491
+ if (Object.keys(ye).forEach((ve) => {
5492
+ Object.prototype.hasOwnProperty.call(X, ve) && (ye[ve] = X[ve]);
5494
5493
  }), me) {
5495
5494
  const {
5496
5495
  collapseField: ve,
@@ -5498,12 +5497,12 @@ const Al = /* @__PURE__ */ le({
5498
5497
  checkedField: Ge,
5499
5498
  visibleField: Xe
5500
5499
  } = me;
5501
- ve && !$e(X[ve]) && (ge.__fv_collapse__ = X[ve]), Ge && !$e(X[Ge]) && (ge.__fv_checked__ = X[Ge]), Ue && !$e(X[Ue]) && (ge.__fv_disabled__ = X[Ue]), Xe && !$e(X[Xe]) && (ge.__fv_visible__ = X[Xe]);
5500
+ ve && !$e(X[ve]) && (ye.__fv_collapse__ = X[ve]), Ge && !$e(X[Ge]) && (ye.__fv_checked__ = X[Ge]), Ue && !$e(X[Ue]) && (ye.__fv_disabled__ = X[Ue]), Xe && !$e(X[Xe]) && (ye.__fv_visible__ = X[Xe]);
5502
5501
  }
5503
- const xe = c.value.find((ve) => ve.raw[f.value] === _), Xt = c.value.findIndex((ve) => ve.raw[f.value] === _);
5502
+ const xe = c.value.find((ve) => ve.raw[p.value] === _), Xt = c.value.findIndex((ve) => ve.raw[p.value] === _);
5504
5503
  if (xe) {
5505
- if (xe.raw = ge, Object.keys(xe.data).forEach((ve) => {
5506
- xe.data[ve].updateData(ge);
5504
+ if (xe.raw = ye, Object.keys(xe.data).forEach((ve) => {
5505
+ xe.data[ve].updateData(ye);
5507
5506
  }), me) {
5508
5507
  const {
5509
5508
  collapseField: ve,
@@ -5521,7 +5520,7 @@ const Al = /* @__PURE__ */ le({
5521
5520
  return Object.prototype.hasOwnProperty.call(_, "raw") ? x.hasRealChildren(_.raw) : x.hasRealChildren(_);
5522
5521
  }
5523
5522
  function ct(_) {
5524
- const X = x.dataView.value.find((me) => me[f.value] === _);
5523
+ const X = x.dataView.value.find((me) => me[p.value] === _);
5525
5524
  return X ? X[I.value] : "";
5526
5525
  }
5527
5526
  function Sn() {
@@ -5534,7 +5533,7 @@ const Al = /* @__PURE__ */ le({
5534
5533
  return c.value.filter((X) => _.includes(X.raw[e.idField]));
5535
5534
  }
5536
5535
  function Tn(_) {
5537
- const X = l.idField.value, me = c.value.find((ge) => ge.raw[X] === _);
5536
+ const X = l.idField.value, me = c.value.find((ye) => ye.raw[X] === _);
5538
5537
  me && de.changeRow(me);
5539
5538
  }
5540
5539
  function Fn() {
@@ -5576,7 +5575,7 @@ const Al = /* @__PURE__ */ le({
5576
5575
  ...P.value,
5577
5576
  borderRadius: "5px"
5578
5577
  }));
5579
- ko(e, t, x, se, y, C);
5578
+ ko(e, t, x, se, g, C);
5580
5579
  const kn = V(() => ({
5581
5580
  "d-flex": !0,
5582
5581
  "justify-content-between": B.value && S.value,
@@ -5596,8 +5595,8 @@ const Al = /* @__PURE__ */ le({
5596
5595
  }, [u.value && Tt.value && fe(), v("div", {
5597
5596
  ref: u,
5598
5597
  class: Q.value,
5599
- onMouseover: () => p.value = !0,
5600
- onMouseleave: () => p.value = !1,
5598
+ onMouseover: () => f.value = !0,
5599
+ onMouseleave: () => f.value = !1,
5601
5600
  style: Bn.value
5602
5601
  }, [u.value && Ft(c), u.value && ue(), u.value && Ee.value && pe(), u.value && Mt(), u.value && kt()]), u.value && Rn(), S.value && v("div", {
5603
5602
  class: kn.value
@@ -5749,7 +5748,7 @@ function er(e, t, n) {
5749
5748
  var F;
5750
5749
  const o = "", a = "", i = d();
5751
5750
  let l;
5752
- function f() {
5751
+ function p() {
5753
5752
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
5754
5753
  }
5755
5754
  function m() {
@@ -5766,34 +5765,34 @@ function er(e, t, n) {
5766
5765
  return null;
5767
5766
  if (D.value.schema && D.value.schema.type === "component")
5768
5767
  return D.value;
5769
- const O = d(D == null ? void 0 : D.value.parent), y = r(O);
5770
- return y || null;
5768
+ const O = d(D == null ? void 0 : D.value.parent), g = r(O);
5769
+ return g || null;
5771
5770
  }
5772
5771
  function s(D = t) {
5773
5772
  var P;
5774
- const { componentInstance: O, designerItemElementRef: y } = D;
5773
+ const { componentInstance: O, designerItemElementRef: g } = D;
5775
5774
  if (!O || !O.value)
5776
5775
  return null;
5777
5776
  const { getCustomButtons: B } = O.value;
5778
- return O.value.canMove || B && ((P = B()) != null && P.length) ? y : s(D.parent);
5777
+ return O.value.canMove || B && ((P = B()) != null && P.length) ? g : s(D.parent);
5779
5778
  }
5780
5779
  function c(D) {
5781
5780
  return !!n;
5782
5781
  }
5783
- function p() {
5782
+ function f() {
5784
5783
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
5785
5784
  }
5786
- function g() {
5785
+ function y() {
5787
5786
  }
5788
5787
  function b(D, O) {
5789
- var y;
5790
- !D || !O || (y = t == null ? void 0 : t.setupContext) == null || y.emit("dragEnd");
5788
+ var g;
5789
+ !D || !O || (g = t == null ? void 0 : t.setupContext) == null || g.emit("dragEnd");
5791
5790
  }
5792
5791
  function R(D, O) {
5793
- const { componentType: y } = D;
5794
- let B = Ln(y, D, O);
5795
- const P = y.toLowerCase().replace(/-/g, "_");
5796
- return B && !B.id && B.type === y && (B.id = `${P}_${Math.random().toString().slice(2, 6)}`), B;
5792
+ const { componentType: g } = D;
5793
+ let B = Ln(g, D, O);
5794
+ const P = g.toLowerCase().replace(/-/g, "_");
5795
+ return B && !B.id && B.type === g && (B.id = `${P}_${Math.random().toString().slice(2, 6)}`), B;
5797
5796
  }
5798
5797
  function M(D) {
5799
5798
  }
@@ -5802,23 +5801,23 @@ function er(e, t, n) {
5802
5801
  function $(D) {
5803
5802
  if (!D)
5804
5803
  return;
5805
- const O = t == null ? void 0 : t.schema, { formSchemaUtils: y } = D;
5806
- if (O && y.getExpressions().length) {
5807
- const B = y.getExpressions().findIndex((P) => P.target === O.id);
5808
- B > -1 && y.getExpressions().splice(B, 1);
5804
+ const O = t == null ? void 0 : t.schema, { formSchemaUtils: g } = D;
5805
+ if (O && g.getExpressions().length) {
5806
+ const B = g.getExpressions().findIndex((P) => P.target === O.id);
5807
+ B > -1 && g.getExpressions().splice(B, 1);
5809
5808
  }
5810
5809
  }
5811
5810
  function T(D) {
5812
5811
  if (!D || !(t != null && t.schema))
5813
5812
  return;
5814
- const O = t.schema, { formSchemaUtils: y } = D;
5815
- y.removeCommunicationInComponent(O);
5813
+ const O = t.schema, { formSchemaUtils: g } = D;
5814
+ g.removeCommunicationInComponent(O);
5816
5815
  }
5817
5816
  function x(D) {
5818
5817
  $(D), T(D), t != null && t.schema.contents && t.schema.contents.map((O) => {
5819
- let y = O.id;
5820
- O.type === "component-ref" && (y = O.component);
5821
- const B = e.value.querySelectorAll(`#${y}-design-item`);
5818
+ let g = O.id;
5819
+ O.type === "component-ref" && (g = O.component);
5820
+ const B = e.value.querySelectorAll(`#${g}-design-item`);
5822
5821
  B != null && B.length && Array.from(B).map((P) => {
5823
5822
  var J;
5824
5823
  (J = P == null ? void 0 : P.componentInstance) != null && J.value.onRemoveComponent && P.componentInstance.value.onRemoveComponent(D);
@@ -5828,8 +5827,8 @@ function er(e, t, n) {
5828
5827
  function w() {
5829
5828
  }
5830
5829
  function C(D) {
5831
- var y, B;
5832
- if (!((y = t == null ? void 0 : t.schema) != null && y.id))
5830
+ var g, B;
5831
+ if (!((g = t == null ? void 0 : t.schema) != null && g.id))
5833
5832
  return;
5834
5833
  !l && D && (l = D.formSchemaUtils);
5835
5834
  let O = "";
@@ -5844,8 +5843,8 @@ function er(e, t, n) {
5844
5843
  }
5845
5844
  function S(D) {
5846
5845
  var P;
5847
- const { changeObject: O } = D, { propertyID: y, propertyValue: B } = O;
5848
- if (["text", "title", "label", "name", "mainTitle"].includes((P = D == null ? void 0 : D.changeObject) == null ? void 0 : P.propertyID) && y && B && (C(), l)) {
5846
+ const { changeObject: O } = D, { propertyID: g, propertyValue: B } = O;
5847
+ if (["text", "title", "label", "name", "mainTitle"].includes((P = D == null ? void 0 : D.changeObject) == null ? void 0 : P.propertyID) && g && B && (C(), l)) {
5849
5848
  const J = l.getControlBasicInfoMap(), A = J.keys().toArray().filter((E) => {
5850
5849
  var q, z;
5851
5850
  return ((q = J.get(E)) == null ? void 0 : q.reliedComponentId) === ((z = t == null ? void 0 : t.schema) == null ? void 0 : z.id);
@@ -5860,7 +5859,7 @@ function er(e, t, n) {
5860
5859
  S(D);
5861
5860
  }
5862
5861
  return i.value = {
5863
- canMove: f(),
5862
+ canMove: p(),
5864
5863
  canSelectParent: m(),
5865
5864
  canDelete: u(),
5866
5865
  canNested: !h(),
@@ -5873,9 +5872,9 @@ function er(e, t, n) {
5873
5872
  canAccepts: c,
5874
5873
  getBelongedComponentInstance: r,
5875
5874
  getDraggableDesignItemElement: s,
5876
- getDraggingDisplayText: p,
5875
+ getDraggingDisplayText: f,
5877
5876
  getPropConfig: I,
5878
- getDragScopeElement: g,
5877
+ getDragScopeElement: y,
5879
5878
  onAcceptMovedChildElement: b,
5880
5879
  onChildElementMovedOut: M,
5881
5880
  addNewChildComponentSchema: R,
@@ -5945,9 +5944,9 @@ class nr {
5945
5944
  contents: a
5946
5945
  }), n.contents = [o];
5947
5946
  const { selectedFields: i } = t;
5948
- i == null || i.forEach((f) => {
5949
- if (f.$type === Jt.SimpleField) {
5950
- const m = Te(f), u = this.resolveControlClassByFormColumns(t), h = this.controlCreatorUtils.setFormFieldProperty(m, "", u);
5947
+ i == null || i.forEach((p) => {
5948
+ if (p.$type === Jt.SimpleField) {
5949
+ const m = Te(p), u = this.resolveControlClassByFormColumns(t), h = this.controlCreatorUtils.setFormFieldProperty(m, "", u);
5951
5950
  h && a.push(h);
5952
5951
  }
5953
5952
  });
@@ -6015,12 +6014,12 @@ class nr {
6015
6014
  }
6016
6015
  }
6017
6016
  function or(e, t, n, o) {
6018
- var i, l, f, m, u, h;
6017
+ var i, l, p, m, u, h;
6019
6018
  const a = n.parentComponentInstance;
6020
6019
  if (a && o) {
6021
6020
  const r = (i = a.schema) == null ? void 0 : i.type, c = {
6022
6021
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
6023
- componentName: ((l = n.bindingSourceContext) == null ? void 0 : l.entityTitle) || ((m = (f = n.bindingSourceContext) == null ? void 0 : f.bindingEntity) == null ? void 0 : m.name) || "标题",
6022
+ componentName: ((l = n.bindingSourceContext) == null ? void 0 : l.entityTitle) || ((m = (p = n.bindingSourceContext) == null ? void 0 : p.bindingEntity) == null ? void 0 : m.name) || "标题",
6024
6023
  componentType: "form",
6025
6024
  formColumns: r === "splitter-pane" ? 1 : 4,
6026
6025
  parentContainerId: a.schema.id,
@@ -6119,7 +6118,7 @@ je(
6119
6118
  qt,
6120
6119
  void 0
6121
6120
  );
6122
- const vr = "https://json-schema.org/draft/2020-12/schema", hr = "https://farris-design.gitee.io/grid-field-editor.schema.json", gr = "response-form-layout-setting", yr = "A Farris Data Grid Component", br = "object", wr = {
6121
+ const vr = "https://json-schema.org/draft/2020-12/schema", hr = "https://farris-design.gitee.io/grid-field-editor.schema.json", yr = "response-form-layout-setting", gr = "A Farris Data Grid Component", br = "object", wr = {
6123
6122
  id: {
6124
6123
  description: "The unique identifier for a Input Group",
6125
6124
  type: "string"
@@ -6139,8 +6138,8 @@ const vr = "https://json-schema.org/draft/2020-12/schema", hr = "https://farris-
6139
6138
  ], Sr = {
6140
6139
  $schema: vr,
6141
6140
  $id: hr,
6142
- title: gr,
6143
- description: yr,
6141
+ title: yr,
6142
+ description: gr,
6144
6143
  type: br,
6145
6144
  properties: wr,
6146
6145
  required: Cr
@@ -6209,14 +6208,14 @@ function kr() {
6209
6208
  return { onCopy: e };
6210
6209
  }
6211
6210
  function Er(e, t, n, o) {
6212
- const a = d(14), i = d(140), l = d(""), f = d(o.value.length), m = V(() => o.value), u = V(() => ({
6211
+ const a = d(14), i = d(140), l = d(""), p = d(o.value.length), m = V(() => o.value), u = V(() => ({
6213
6212
  "font-size": `${a.value}px`,
6214
6213
  height: "100%"
6215
6214
  }));
6216
6215
  function h(r) {
6217
6216
  if (r.currentTarget) {
6218
6217
  const s = r.currentTarget.value || "";
6219
- f.value = s.length;
6218
+ p.value = s.length;
6220
6219
  }
6221
6220
  }
6222
6221
  return () => v(ot, null, [v("textarea", {
@@ -6231,12 +6230,12 @@ function Er(e, t, n, o) {
6231
6230
  class: "textarea-wordcount",
6232
6231
  title: l.value,
6233
6232
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
6234
- }, [f.value + " / " + i.value])]);
6233
+ }, [p.value + " / " + i.value])]);
6235
6234
  }
6236
6235
  function Rr(e, t, n, o) {
6237
6236
  const a = Er(e, t, n, o), i = /* @__PURE__ */ new Map([["text-area", a]]);
6238
- function l(f) {
6239
- return i.get(f) || null;
6237
+ function l(p) {
6238
+ return i.get(p) || null;
6240
6239
  }
6241
6240
  return { getEditorRender: l };
6242
6241
  }
@@ -6275,24 +6274,24 @@ function Ir(e, t) {
6275
6274
  function n(c) {
6276
6275
  if (c == null)
6277
6276
  return 0;
6278
- let p = 0;
6279
- for (let g = 0; g < c.length; g++) {
6280
- const b = c.charCodeAt(g);
6281
- b >= 0 && b <= 128 ? p++ : p = p + 2;
6277
+ let f = 0;
6278
+ for (let y = 0; y < c.length; y++) {
6279
+ const b = c.charCodeAt(y);
6280
+ b >= 0 && b <= 128 ? f++ : f = f + 2;
6282
6281
  }
6283
- return p;
6282
+ return f;
6284
6283
  }
6285
- function o(c, p) {
6284
+ function o(c, f) {
6286
6285
  if (c !== "" && c !== void 0 && c !== null) {
6287
6286
  c = "" + c;
6288
- const g = c.length;
6287
+ const y = c.length;
6289
6288
  let b = "", R = 0;
6290
- for (let M = 0; M < g; M++) {
6289
+ for (let M = 0; M < y; M++) {
6291
6290
  const I = c.charAt(M);
6292
- if (R++, encodeURI(I).length > 4 && R++, b = b.concat(I), R >= p)
6291
+ if (R++, encodeURI(I).length > 4 && R++, b = b.concat(I), R >= f)
6293
6292
  return b = b.concat("..."), b;
6294
6293
  }
6295
- if (R < p)
6294
+ if (R < f)
6296
6295
  return c;
6297
6296
  }
6298
6297
  return "";
@@ -6300,7 +6299,7 @@ function Ir(e, t) {
6300
6299
  const a = V(() => !!e.value && !!e.value.date), i = V(() => {
6301
6300
  const c = e.value && e.value.date || "";
6302
6301
  return `${t.exception.happend} : ${c}`;
6303
- }), l = V(() => !!e.value && !!e.value.detail), f = V(() => e.value ? n(e.value.detail) > 160 : !1), m = d(!1), u = V(() => m.value ? t.exception.collapse : t.exception.expand), h = V(() => {
6302
+ }), l = V(() => !!e.value && !!e.value.detail), p = V(() => e.value ? n(e.value.detail) > 160 : !1), m = d(!1), u = V(() => m.value ? t.exception.collapse : t.exception.expand), h = V(() => {
6304
6303
  const c = t.exception.detail + " : " + (e.value && e.value.detail) || "";
6305
6304
  return m.value ? c : o(c, 160);
6306
6305
  }), r = V(() => ({
@@ -6321,7 +6320,7 @@ function Ir(e, t) {
6321
6320
  class: "exception_error_msg"
6322
6321
  }, [v("div", {
6323
6322
  innerHTML: h.value
6324
- }, null), f.value && v("span", {
6323
+ }, null), p.value && v("span", {
6325
6324
  style: r.value,
6326
6325
  onClick: s
6327
6326
  }, [u.value])])])]);
@@ -6334,11 +6333,11 @@ function $r(e) {
6334
6333
  }
6335
6334
  function jr(e, t, n, o, a) {
6336
6335
  const i = d(e.exceptionInfo), l = V(() => {
6337
- const p = t.value === "question" ? "warning" : t.value, g = {
6336
+ const f = t.value === "question" ? "warning" : t.value, y = {
6338
6337
  "f-icon": !0
6339
- }, b = `f-icon-${p}`;
6340
- return g[b] = !0, g;
6341
- }), f = V(() => n.value || i.value && i.value.message), m = V(() => o.value), u = V(() => !!o.value), h = V(() => !!i.value);
6338
+ }, b = `f-icon-${f}`;
6339
+ return y[b] = !0, y;
6340
+ }), p = V(() => n.value || i.value && i.value.message), m = V(() => o.value), u = V(() => !!o.value), h = V(() => !!i.value);
6342
6341
  function r() {
6343
6342
  return h.value ? Ir(i, a) : u.value ? $r(m) : () => null;
6344
6343
  }
@@ -6354,7 +6353,7 @@ function jr(e, t, n, o, a) {
6354
6353
  class: "modal-tips-content"
6355
6354
  }, [v("p", {
6356
6355
  class: "toast-msg-title",
6357
- innerHTML: f.value,
6356
+ innerHTML: p.value,
6358
6357
  style: c.value
6359
6358
  }, null), s()])]);
6360
6359
  }
@@ -6363,7 +6362,7 @@ function Nr(e, t, n, o) {
6363
6362
  onCopy: a
6364
6363
  } = t, {
6365
6364
  toShowFeedback: i
6366
- } = n, l = d(o.exception.copySuccess || "复制成功"), f = d(o.exception.copy || "复制详细信息"), m = d(e.exceptionInfo || {
6365
+ } = n, l = d(o.exception.copySuccess || "复制成功"), p = d(o.exception.copy || "复制详细信息"), m = d(e.exceptionInfo || {
6367
6366
  date: "",
6368
6367
  message: "",
6369
6368
  detail: ""
@@ -6382,10 +6381,10 @@ function Nr(e, t, n, o) {
6382
6381
  }, [v("span", {
6383
6382
  onClick: h,
6384
6383
  style: "cursor: pointer;"
6385
- }, [f.value])]);
6384
+ }, [p.value])]);
6386
6385
  }
6387
6386
  function Ar(e, t, n, o, a) {
6388
- const i = d(e.type), l = d(e.buttons), f = d(e.exceptionInfo), m = d(a.ok || e.okButtonText), u = d(a.cancel || e.cancelButtonText), h = d(e.showCancelButton), r = d(e.showOkButton), s = V(() => !!(l.value && l.value.length)), c = V(() => f.value && f.value.message && f.value.detail), p = V(() => !(l.value && l.value.length) && (r.value || h.value)), g = Nr(e, n, o, a);
6387
+ const i = d(e.type), l = d(e.buttons), p = d(e.exceptionInfo), m = d(a.ok || e.okButtonText), u = d(a.cancel || e.cancelButtonText), h = d(e.showCancelButton), r = d(e.showOkButton), s = V(() => !!(l.value && l.value.length)), c = V(() => !!(p.value && p.value.detail)), f = V(() => !(l.value && l.value.length) && (r.value || h.value)), y = Nr(e, n, o, a);
6389
6388
  m.value === "关闭" ? m.value = a.close : m.value === "知道了" && (m.value = a.exception.roger);
6390
6389
  function b(M) {
6391
6390
  i.value === "question" && t.emit("reject"), t.emit("close");
@@ -6395,11 +6394,11 @@ function Ar(e, t, n, o, a) {
6395
6394
  }
6396
6395
  return () => v("div", {
6397
6396
  class: "modal-footer"
6398
- }, [c.value && g(), p.value && h.value && v("button", {
6397
+ }, [c.value && y(), f.value && h.value && v("button", {
6399
6398
  type: "button",
6400
6399
  class: "btn btn-secondary btn-lg",
6401
6400
  onClick: b
6402
- }, [u.value]), p.value && r.value && v("button", {
6401
+ }, [u.value]), f.value && r.value && v("button", {
6403
6402
  type: "button",
6404
6403
  class: "btn btn-primary btn-lg",
6405
6404
  onClick: R
@@ -6437,7 +6436,7 @@ function Pr(e) {
6437
6436
  locale: n.value
6438
6437
  };
6439
6438
  }
6440
- const yt = /* @__PURE__ */ le({
6439
+ const gt = /* @__PURE__ */ le({
6441
6440
  name: "FMessageBox",
6442
6441
  props: Tr,
6443
6442
  emits: ["accept", "reject", "close"],
@@ -6449,7 +6448,7 @@ const yt = /* @__PURE__ */ le({
6449
6448
  "flex-row": !0
6450
6449
  }, M = `messager-type-${o.value}`;
6451
6450
  return R[M] = !0, R;
6452
- }), f = V(() => {
6451
+ }), p = V(() => {
6453
6452
  const R = {
6454
6453
  cursor: "default"
6455
6454
  };
@@ -6464,7 +6463,7 @@ const yt = /* @__PURE__ */ le({
6464
6463
  style: r.value
6465
6464
  }, [s.value]);
6466
6465
  }
6467
- function p() {
6466
+ function f() {
6468
6467
  switch (o.value) {
6469
6468
  case "prompt":
6470
6469
  return Dr(e, u);
@@ -6472,7 +6471,7 @@ const yt = /* @__PURE__ */ le({
6472
6471
  return jr(e, o, a, i, n);
6473
6472
  }
6474
6473
  }
6475
- const g = p(), b = Ar(e, t, m, h, n);
6474
+ const y = f(), b = Ar(e, t, m, h, n);
6476
6475
  return () => v("div", {
6477
6476
  class: "farris-messager"
6478
6477
  }, [!e.exceptionInfo && v("div", {
@@ -6480,15 +6479,15 @@ const yt = /* @__PURE__ */ le({
6480
6479
  class: "messager-draggable"
6481
6480
  }, null), v("section", {
6482
6481
  class: l.value,
6483
- style: f.value
6484
- }, [g()]), b(), c()]);
6482
+ style: p.value
6483
+ }, [y()]), b(), c()]);
6485
6484
  }
6486
6485
  }), Oe = class Oe {
6487
6486
  static show(t) {
6488
6487
  const n = ze({
6489
6488
  ...t
6490
6489
  }), o = !1, a = n.type === "error" || n.type === "prompt", i = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
6491
- }), f = n.rejectCallback || (() => {
6490
+ }), p = n.rejectCallback || (() => {
6492
6491
  });
6493
6492
  let m = null, u = new xt(Oe.app);
6494
6493
  const h = () => {
@@ -6504,9 +6503,9 @@ const yt = /* @__PURE__ */ le({
6504
6503
  showMaxButton: !1,
6505
6504
  draggable: !0,
6506
6505
  dragHandle: ".messager-draggable",
6507
- render: () => v(yt, Lt(n, {
6506
+ render: () => v(gt, Lt(n, {
6508
6507
  onAccept: l,
6509
- onReject: f,
6508
+ onReject: p,
6510
6509
  onClose: h
6511
6510
  }), null)
6512
6511
  }), u == null ? void 0 : u.getCurrentModal();
@@ -6580,8 +6579,8 @@ const yt = /* @__PURE__ */ le({
6580
6579
  };
6581
6580
  ne(Oe, "app", null);
6582
6581
  let dt = Oe;
6583
- yt.install = (e) => {
6584
- e.component(yt.name, yt), dt.app = e, e.provide("FMessageBoxService", dt);
6582
+ gt.install = (e) => {
6583
+ e.component(gt.name, gt), dt.app = e, e.provide("FMessageBoxService", dt);
6585
6584
  };
6586
6585
  const Lr = Symbol("FModalService");
6587
6586
  Je.install = (e) => {
@@ -6597,10 +6596,10 @@ const Vr = /* @__PURE__ */ le({
6597
6596
  props: Wt,
6598
6597
  emits: [],
6599
6598
  setup(e, t) {
6600
- const n = d(e.initialState), o = d(e.width), a = d(e.height), i = d(), l = en("design-item-context"), f = er(i, l);
6599
+ const n = d(e.initialState), o = d(e.width), a = d(e.height), i = d(), l = en("design-item-context"), p = er(i, l);
6601
6600
  Be(() => {
6602
- i.value.componentInstance = f;
6603
- }), t.expose(f.value);
6601
+ i.value.componentInstance = p;
6602
+ }), t.expose(p.value);
6604
6603
  function m() {
6605
6604
  const u = xt.show({
6606
6605
  // title: '响应式列宽编辑器',
@@ -6655,7 +6654,7 @@ const Vr = /* @__PURE__ */ le({
6655
6654
  function l(u) {
6656
6655
  u && u.unmount();
6657
6656
  }
6658
- function f() {
6657
+ function p() {
6659
6658
  if (e.width > 0 && e.width > 0)
6660
6659
  return;
6661
6660
  const u = document.documentElement.clientWidth, h = document.documentElement.clientHeight;
@@ -6667,7 +6666,7 @@ const Vr = /* @__PURE__ */ le({
6667
6666
  dt.info(u, "");
6668
6667
  return;
6669
6668
  }
6670
- f(), xt.show({
6669
+ p(), xt.show({
6671
6670
  render: (u) => v(bt, {
6672
6671
  initialState: n,
6673
6672
  onClose: () => l(u),