@farris/ui-vue 1.3.5 → 1.3.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 (147) hide show
  1. package/components/accordion/index.esm.js +16 -16
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +65 -65
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +13 -13
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +504 -490
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +247 -233
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/checkbox/index.esm.js +356 -344
  12. package/components/checkbox/index.umd.cjs +1 -1
  13. package/components/color-picker/index.esm.js +159 -145
  14. package/components/color-picker/index.umd.cjs +2 -2
  15. package/components/combo-list/index.esm.js +127 -128
  16. package/components/combo-list/index.umd.cjs +1 -1
  17. package/components/combo-tree/index.esm.js +15 -15
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/component/index.esm.js +101 -87
  20. package/components/component/index.umd.cjs +1 -1
  21. package/components/condition/index.esm.js +7 -5
  22. package/components/condition/index.umd.cjs +1 -1
  23. package/components/content-container/index.esm.js +181 -167
  24. package/components/content-container/index.umd.cjs +1 -1
  25. package/components/data-grid/index.esm.js +4057 -4304
  26. package/components/data-grid/index.umd.cjs +1 -1
  27. package/components/data-view/index.esm.js +2450 -2467
  28. package/components/data-view/index.umd.cjs +1 -1
  29. package/components/date-picker/index.esm.js +789 -777
  30. package/components/date-picker/index.umd.cjs +1 -1
  31. package/components/designer-canvas/index.esm.js +3593 -3585
  32. package/components/designer-canvas/index.umd.cjs +1 -1
  33. package/components/dropdown/index.esm.js +257 -243
  34. package/components/dropdown/index.umd.cjs +2 -2
  35. package/components/dynamic-form/index.esm.js +322 -306
  36. package/components/dynamic-form/index.umd.cjs +1 -1
  37. package/components/dynamic-resolver/index.esm.js +177 -163
  38. package/components/dynamic-resolver/index.umd.cjs +1 -1
  39. package/components/event-parameter/index.esm.js +163 -2643
  40. package/components/event-parameter/index.umd.cjs +1 -1
  41. package/components/events-editor/index.esm.js +500 -486
  42. package/components/events-editor/index.umd.cjs +1 -1
  43. package/components/expression-editor/index.esm.js +37 -37
  44. package/components/expression-editor/index.umd.cjs +1 -1
  45. package/components/external-container/index.esm.js +485 -470
  46. package/components/external-container/index.umd.cjs +1 -1
  47. package/components/field-selector/index.esm.js +2611 -2623
  48. package/components/field-selector/index.umd.cjs +1 -1
  49. package/components/filter-bar/index.esm.js +3825 -3837
  50. package/components/filter-bar/index.umd.cjs +1 -1
  51. package/components/flow-canvas/index.esm.js +3720 -3712
  52. package/components/flow-canvas/index.umd.cjs +1 -1
  53. package/components/image-cropper/index.esm.js +402 -388
  54. package/components/image-cropper/index.umd.cjs +1 -1
  55. package/components/input-group/index.esm.js +201 -202
  56. package/components/input-group/index.umd.cjs +1 -1
  57. package/components/layout/index.esm.js +264 -245
  58. package/components/layout/index.umd.cjs +1 -1
  59. package/components/list-nav/index.esm.js +157 -143
  60. package/components/list-nav/index.umd.cjs +1 -1
  61. package/components/list-view/index.esm.js +312 -296
  62. package/components/list-view/index.umd.cjs +1 -1
  63. package/components/lookup/index.esm.js +4748 -4992
  64. package/components/lookup/index.umd.cjs +1 -1
  65. package/components/mapping-editor/index.esm.js +4215 -4462
  66. package/components/mapping-editor/index.umd.cjs +1 -1
  67. package/components/nav/index.esm.js +169 -155
  68. package/components/nav/index.umd.cjs +2 -2
  69. package/components/number-range/index.esm.js +150 -137
  70. package/components/number-range/index.umd.cjs +1 -1
  71. package/components/number-spinner/index.esm.js +207 -194
  72. package/components/number-spinner/index.umd.cjs +1 -1
  73. package/components/order/index.esm.js +427 -414
  74. package/components/order/index.umd.cjs +1 -1
  75. package/components/page-footer/index.esm.js +22 -22
  76. package/components/page-footer/index.umd.cjs +1 -1
  77. package/components/page-header/index.esm.js +510 -492
  78. package/components/page-header/index.umd.cjs +1 -1
  79. package/components/pagination/index.esm.js +192 -178
  80. package/components/pagination/index.umd.cjs +1 -1
  81. package/components/progress/index.esm.js +234 -220
  82. package/components/progress/index.umd.cjs +3 -3
  83. package/components/property-editor/index.esm.js +288 -277
  84. package/components/property-editor/index.umd.cjs +2 -2
  85. package/components/property-panel/index.esm.js +62 -61
  86. package/components/property-panel/index.umd.cjs +1 -1
  87. package/components/query-solution/index.esm.js +3015 -3027
  88. package/components/query-solution/index.umd.cjs +5 -5
  89. package/components/radio-button/index.esm.js +64 -64
  90. package/components/radio-button/index.umd.cjs +1 -1
  91. package/components/radio-group/index.esm.js +293 -280
  92. package/components/radio-group/index.umd.cjs +1 -1
  93. package/components/rate/index.esm.js +222 -208
  94. package/components/rate/index.umd.cjs +1 -1
  95. package/components/response-layout/index.esm.js +187 -173
  96. package/components/response-layout/index.umd.cjs +1 -1
  97. package/components/response-layout-editor/index.esm.js +554 -542
  98. package/components/response-layout-editor/index.umd.cjs +1 -1
  99. package/components/response-toolbar/index.esm.js +483 -469
  100. package/components/response-toolbar/index.umd.cjs +1 -1
  101. package/components/schema-selector/index.esm.js +632 -617
  102. package/components/schema-selector/index.umd.cjs +2 -2
  103. package/components/search-box/index.esm.js +228 -214
  104. package/components/search-box/index.umd.cjs +1 -1
  105. package/components/section/index.esm.js +419 -406
  106. package/components/section/index.umd.cjs +1 -1
  107. package/components/smoke-detector/index.esm.js +162 -148
  108. package/components/smoke-detector/index.umd.cjs +1 -1
  109. package/components/splitter/index.esm.js +308 -284
  110. package/components/splitter/index.umd.cjs +1 -1
  111. package/components/step/index.esm.js +279 -265
  112. package/components/step/index.umd.cjs +1 -1
  113. package/components/switch/index.esm.js +183 -170
  114. package/components/switch/index.umd.cjs +1 -1
  115. package/components/tabs/index.esm.js +307 -294
  116. package/components/tabs/index.umd.cjs +1 -1
  117. package/components/tags/index.esm.js +320 -306
  118. package/components/tags/index.umd.cjs +1 -1
  119. package/components/text/index.esm.js +245 -231
  120. package/components/text/index.umd.cjs +1 -1
  121. package/components/textarea/index.esm.js +260 -247
  122. package/components/textarea/index.umd.cjs +1 -1
  123. package/components/time-picker/index.esm.js +409 -396
  124. package/components/time-picker/index.umd.cjs +1 -1
  125. package/components/transfer/index.esm.js +424 -410
  126. package/components/transfer/index.umd.cjs +1 -1
  127. package/components/tree-grid/index.esm.js +2994 -3006
  128. package/components/tree-grid/index.umd.cjs +1 -1
  129. package/components/tree-view/index.esm.js +749 -733
  130. package/components/tree-view/index.umd.cjs +1 -1
  131. package/components/uploader/index.esm.js +325 -311
  132. package/components/uploader/index.umd.cjs +2 -2
  133. package/components/verify-detail/index.esm.js +304 -290
  134. package/components/verify-detail/index.umd.cjs +1 -1
  135. package/components/video/index.esm.js +99 -85
  136. package/components/video/index.umd.cjs +1 -1
  137. package/components/weather/index.esm.js +947 -933
  138. package/components/weather/index.umd.cjs +4 -4
  139. package/farris.all.esm.js +7750 -7990
  140. package/farris.all.umd.cjs +12 -12
  141. package/package.json +1 -1
  142. package/types/data-view/composition/types.d.ts +0 -1
  143. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +3 -0
  144. package/types/entity-binding-selector/composition/use-field-tree.d.ts +1 -0
  145. package/components/event-parameter/index.css +0 -1
  146. package/types/data-grid/src/components/data/data-grid-area.component.d.ts +0 -8
  147. package/types/data-grid/src/components/data/data-grid-area.props.d.ts +0 -3
@@ -1,8 +1,8 @@
1
1
  var yn = Object.defineProperty;
2
2
  var bn = (e, t, n) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var z = (e, t, n) => bn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as ae, createVNode as r, computed as P, createTextVNode as re, ref as c, inject as ke, provide as Cn, watch as Q, onMounted as me, onBeforeUnmount as It, mergeProps as Te, isVNode as wn, Fragment as ye, onUnmounted as pt, Teleport as _n, Transition as Mt, shallowRef as xn, createApp as Bt, nextTick as st, render as tt, h as Sn, cloneVNode as kn, withModifiers as Tn, withDirectives as Vt, vModelText as Fn, resolveComponent as En, reactive as ve, resolveDirective as In } from "vue";
5
- import { isPlainObject as wt, cloneDeep as _e } from "lodash-es";
4
+ import { defineComponent as ae, createVNode as r, computed as P, createTextVNode as re, ref as c, inject as ke, provide as Cn, watch as Z, onMounted as me, onBeforeUnmount as It, mergeProps as Te, isVNode as wn, Fragment as ye, onUnmounted as pt, Teleport as _n, Transition as Mt, shallowRef as xn, createApp as Bt, nextTick as st, render as tt, h as Sn, cloneVNode as kn, withModifiers as Tn, withDirectives as Vt, vModelText as Fn, resolveComponent as En, reactive as ve, resolveDirective as In } from "vue";
5
+ import { isPlainObject as wt, cloneDeep as be } from "lodash-es";
6
6
  import Mn from "../accordion/index.esm.js";
7
7
  import Bn from "../avatar/index.esm.js";
8
8
  import Vn from "../button-edit/index.esm.js";
@@ -23,10 +23,10 @@ import Wn from "../filter-bar/index.esm.js";
23
23
  import Un from "../image-cropper/index.esm.js";
24
24
  import Xn from "../input-group/index.esm.js";
25
25
  import Yn from "../layout/index.esm.js";
26
- import Kn from "../list-nav/index.esm.js";
27
- import Jn from "../list-view/index.esm.js";
28
- import Qn from "../lookup/index.esm.js";
29
- import Zn from "../nav/index.esm.js";
26
+ import Jn from "../list-nav/index.esm.js";
27
+ import Qn from "../list-view/index.esm.js";
28
+ import Zn from "../lookup/index.esm.js";
29
+ import Kn from "../nav/index.esm.js";
30
30
  import eo, { useNumber as to, useFormat as no, useSpinner as oo, useTextBox as ao } from "../number-spinner/index.esm.js";
31
31
  import lo from "../number-range/index.esm.js";
32
32
  import so from "../order/index.esm.js";
@@ -60,7 +60,7 @@ import Do from "../video/index.esm.js";
60
60
  import No from "../textarea/index.esm.js";
61
61
  import Ro from "../tree-grid/index.esm.js";
62
62
  import { getCustomClass as nt, useTextBox as $o, useClear as Po, useDateFormat as Lo, useNumberFormat as jo, resolveField as $e, setFieldValue as _t } from "../common/index.esm.js";
63
- import { useIdentify as Ao, useHierarchy as Ho, useGroupData as zo, usePagination as Go, useDataView as qo, useSelection as Wo, useEdit as Uo, useVisualDataBound as Xo, useVisualDataCell as Yo, useVisualDataRow as Ko, useVisualGroupRow as Jo, useVisualSummaryRow as Qo, useVisualData as Zo } from "../data-view/index.esm.js";
63
+ import { useIdentify as Ao, useHierarchy as Ho, useGroupData as zo, usePagination as Go, useDataView as qo, useSelection as Wo, useEdit as Uo, useVisualDataBound as Xo, useVisualDataCell as Yo, useVisualDataRow as Jo, useVisualGroupRow as Qo, useVisualSummaryRow as Zo, useVisualData as Ko } from "../data-view/index.esm.js";
64
64
  import "../modal/index.esm.js";
65
65
  import "../condition/index.esm.js";
66
66
  import "../designer-canvas/index.esm.js";
@@ -73,27 +73,41 @@ import la from "../event-parameter/index.esm.js";
73
73
  import { createPropsResolver as sa } from "../dynamic-resolver/index.esm.js";
74
74
  const Ot = {}, Dt = {};
75
75
  function vt(e) {
76
- const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), l = Object.keys(t).reduce((s, i) => ((!a || !o.find((f) => f === i)) && (s[i] = t[i].type === "object" && t[i].properties ? vt(t[i]) : _e(t[i].default)), s), {});
76
+ const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), l = Object.keys(t).reduce((s, i) => ((!a || !o.find((f) => f === i)) && (s[i] = t[i].type === "object" && t[i].properties ? vt(t[i]) : be(t[i].default)), s), {});
77
77
  if (n && (!a || !o.find((s) => s === "id"))) {
78
78
  const s = n.toLowerCase().replace(/-/g, "_");
79
79
  l.id = `${s}_${Math.random().toString().slice(2, 6)}`;
80
80
  }
81
81
  return l;
82
82
  }
83
+ function ra(e) {
84
+ const { properties: t, title: n, required: o } = e;
85
+ if (o && Array.isArray(o)) {
86
+ const a = o.reduce((l, s) => (l[s] = t[s].type === "object" && t[s].properties ? vt(t[s]) : be(t[s].default), l), {});
87
+ if (n && o.find((l) => l === "id")) {
88
+ const l = n.toLowerCase().replace(/-/g, "_");
89
+ a.id = `${l}_${Math.random().toString().slice(2, 6)}`;
90
+ }
91
+ return a;
92
+ }
93
+ return {
94
+ type: n
95
+ };
96
+ }
83
97
  function Nt(e, t = {}, n) {
84
98
  const o = Ot[e];
85
99
  if (o) {
86
- let a = vt(o);
100
+ let a = ra(o);
87
101
  const l = Dt[e];
88
102
  return a = l ? l({ getSchemaByType: Nt }, a, t, n) : a, a;
89
103
  }
90
104
  return null;
91
105
  }
92
- function ra(e, t) {
106
+ function ia(e, t) {
93
107
  const n = vt(t);
94
- return Object.keys(n).reduce((o, a) => (o[a] && wt(o[a]) && wt(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a], o), n), n;
108
+ return Object.keys(n).reduce((o, a) => (Object.prototype.hasOwnProperty.call(e, a) && (o[a] && wt(o[a]) && wt(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a]), o), n), n;
95
109
  }
96
- function ia(e, t) {
110
+ function ua(e, t) {
97
111
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
98
112
  if (t.has(a)) {
99
113
  const l = t.get(a);
@@ -108,11 +122,11 @@ function ia(e, t) {
108
122
  return o;
109
123
  }, {});
110
124
  }
111
- function ua(e, t, n = /* @__PURE__ */ new Map()) {
112
- const o = ra(e, t);
113
- return ia(o, n);
125
+ function ca(e, t, n = /* @__PURE__ */ new Map()) {
126
+ const o = ia(e, t);
127
+ return ua(o, n);
114
128
  }
115
- function ca(e = {}) {
129
+ function da(e = {}) {
116
130
  function t(u, v, d, p) {
117
131
  if (typeof d == "number")
118
132
  return p[u].length === d;
@@ -206,24 +220,24 @@ const Y = {
206
220
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
207
221
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
208
222
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
209
- }, da = {}, fa = {};
210
- ca();
223
+ }, fa = {}, pa = {};
224
+ da();
211
225
  function Ee(e, t, n = /* @__PURE__ */ new Map(), o = (s, i, f, u) => i, a = {}, l = (s) => s) {
212
- return Ot[t.title] = t, Dt[t.title] = o, da[t.title] = a, fa[t.title] = l, (s = {}) => {
213
- const i = ua(s, t, n), f = Object.keys(e).reduce((u, v) => (u[v] = e[v].default, u), {});
226
+ return Ot[t.title] = t, Dt[t.title] = o, fa[t.title] = a, pa[t.title] = l, (s = {}) => {
227
+ const i = ca(s, t, n), f = Object.keys(e).reduce((u, v) => (u[v] = e[v].default, u), {});
214
228
  return Object.assign(f, i);
215
229
  };
216
230
  }
217
231
  function Ge(e, t) {
218
232
  return { customClass: t.class, customStyle: t.style };
219
233
  }
220
- const pa = /* @__PURE__ */ new Map([
234
+ const ma = /* @__PURE__ */ new Map([
221
235
  ["appearance", Ge]
222
236
  ]);
223
- function ma(e, t, n) {
237
+ function va(e, t, n) {
224
238
  return t;
225
239
  }
226
- const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-design.gitee.io/external-container.schema.json", ga = "external-container", ya = "A Farris Visual Component", ba = "object", Ca = {
240
+ const ha = "https://json-schema.org/draft/2020-12/schema", ga = "https://farris-design.gitee.io/external-container.schema.json", ya = "external-container", ba = "A Farris Visual Component", Ca = "object", wa = {
227
241
  id: {
228
242
  description: "The unique identifier for a external-container",
229
243
  type: "string"
@@ -263,19 +277,18 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
263
277
  description: "The unique identifier for component",
264
278
  type: "string"
265
279
  }
266
- }, wa = [
280
+ }, _a = [
267
281
  "id",
268
- "type",
269
- "contents"
270
- ], _a = {
271
- $schema: va,
272
- $id: ha,
273
- title: ga,
274
- description: ya,
275
- type: ba,
276
- properties: Ca,
277
- required: wa
278
- }, xa = "external-container", Sa = "A Farris Component", ka = "object", Ta = {
282
+ "type"
283
+ ], xa = {
284
+ $schema: ha,
285
+ $id: ga,
286
+ title: ya,
287
+ description: ba,
288
+ type: Ca,
289
+ properties: wa,
290
+ required: _a
291
+ }, Sa = "external-container", ka = "A Farris Component", Ta = "object", Fa = {
279
292
  basic: {
280
293
  description: "Basic Infomation",
281
294
  title: "基本信息",
@@ -302,18 +315,18 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
302
315
  }
303
316
  }
304
317
  }
305
- }, Fa = {
306
- title: xa,
307
- description: Sa,
308
- type: ka,
309
- categories: Ta
318
+ }, Ea = {
319
+ title: Sa,
320
+ description: ka,
321
+ type: Ta,
322
+ categories: Fa
310
323
  }, ht = {
311
324
  customClass: { type: String, default: "" },
312
325
  componentType: { type: String, default: "" },
313
326
  url: { type: String, default: "" },
314
327
  schema: { type: Object },
315
328
  useIsolateJs: { type: Boolean, default: !1 }
316
- }, xt = Ee(ht, _a, pa, ma, Fa), ot = /* @__PURE__ */ ae({
329
+ }, xt = Ee(ht, xa, ma, va, Ea), ot = /* @__PURE__ */ ae({
317
330
  name: "FExternalContainer",
318
331
  props: ht,
319
332
  emits: [],
@@ -322,7 +335,7 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
322
335
  class: e.customClass
323
336
  }, [t.slots.default && t.slots.default()]);
324
337
  }
325
- }), Ea = {
338
+ }), Ia = {
326
339
  id: { type: String, default: "" },
327
340
  componentId: { type: String, default: "" },
328
341
  type: { type: String, default: "" },
@@ -337,11 +350,11 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
337
350
  */
338
351
  modelValue: { type: Object },
339
352
  ignore: { type: Boolean, default: !1 }
340
- }, Ia = {}, Ma = {}, Ba = {
353
+ }, Ma = {}, Ba = {}, Va = {
341
354
  id: { type: String }
342
- }, Va = /* @__PURE__ */ ae({
355
+ }, Oa = /* @__PURE__ */ ae({
343
356
  name: "FDesignerPlaceholder",
344
- props: Ba,
357
+ props: Va,
345
358
  emits: [],
346
359
  setup(e) {
347
360
  const t = P(() => ({
@@ -370,11 +383,11 @@ const va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-
370
383
  }, [re("拖拽组件到这里")]);
371
384
  }
372
385
  }), at = c(0);
373
- function Oa(e, t) {
386
+ function Da(e, t) {
374
387
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), a = o.top >= n.top, l = o.top <= n.bottom;
375
388
  return a && l;
376
389
  }
377
- function Da(e) {
390
+ function Na(e) {
378
391
  if (!e)
379
392
  return;
380
393
  let t;
@@ -385,7 +398,7 @@ function Da(e) {
385
398
  return;
386
399
  const o = t.querySelector(".component-btn-group");
387
400
  if (o) {
388
- if (!Oa(t, e)) {
401
+ if (!Da(t, e)) {
389
402
  o.style.display = "none";
390
403
  return;
391
404
  }
@@ -397,12 +410,12 @@ function Da(e) {
397
410
  }
398
411
  }
399
412
  }
400
- function Na(e) {
413
+ function Ra(e) {
401
414
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !wn(e);
402
415
  }
403
416
  const it = /* @__PURE__ */ ae({
404
417
  name: "FDesignerItem",
405
- props: Ea,
418
+ props: Ia,
406
419
  emits: ["selectionChange"],
407
420
  setup(e, t) {
408
421
  const n = c(`${e.modelValue.id}-component`), o = c(e.canMove), a = c(e.canDelete), l = c(!1), s = c(e.modelValue), i = c(e.componentId || ""), f = c(""), u = c(""), v = c(e.customClass), d = c(), p = ke("canvas-dragula"), _ = c(), E = ke("design-item-context"), O = {
@@ -442,8 +455,8 @@ const it = /* @__PURE__ */ ae({
442
455
  if (y && (y.preventDefault(), y.stopPropagation()), _.value.triggerBelongedComponentToDeleteWhenDeleted) {
443
456
  const R = _.value.getBelongedComponentInstance(_);
444
457
  if (R && R.parent) {
445
- const A = c(R == null ? void 0 : R.parent), K = A.value.contents.findIndex((ee) => ee.id === R.schema.id);
446
- (L = (D = A.value) == null ? void 0 : D.contents) == null || L.splice(K, 1), at.value++;
458
+ const A = c(R == null ? void 0 : R.parent), J = A.value.contents.findIndex((ee) => ee.id === R.schema.id);
459
+ (L = (D = A.value) == null ? void 0 : D.contents) == null || L.splice(J, 1), at.value++;
447
460
  }
448
461
  return;
449
462
  }
@@ -499,15 +512,15 @@ const it = /* @__PURE__ */ ae({
499
512
  }
500
513
  function g(y) {
501
514
  let I;
502
- const $ = y.type, x = Ia[$], D = Ma[$], L = D ? D(y) : {};
515
+ const $ = y.type, x = Ma[$], D = Ba[$], L = D ? D(y) : {};
503
516
  L.customClass = e.ignore ? L.customClass : "", L.componentId = i.value, L.id = y.id;
504
517
  const R = y.contents && y.contents.length === 0;
505
518
  return y.contents && !!y.contents.length && x ? r(x, Te({
506
519
  ref: _
507
- }, L), Na(I = y.contents.map((K) => r(it, {
508
- key: K.id,
509
- modelValue: K,
510
- "onUpdate:modelValue": (ee) => K = ee,
520
+ }, L), Ra(I = y.contents.map((J) => r(it, {
521
+ key: J.id,
522
+ modelValue: J,
523
+ "onUpdate:modelValue": (ee) => J = ee,
511
524
  componentId: i.value,
512
525
  onSelectionChange: B
513
526
  }, null))) ? I : {
@@ -515,7 +528,7 @@ const it = /* @__PURE__ */ ae({
515
528
  }) : x ? R ? r(x, Te({
516
529
  ref: _
517
530
  }, L), {
518
- default: () => [r(Va, null, null)]
531
+ default: () => [r(Oa, null, null)]
519
532
  }) : r(x, Te({
520
533
  ref: _
521
534
  }, L), null) : r("div", null, null);
@@ -533,12 +546,12 @@ const it = /* @__PURE__ */ ae({
533
546
  }, null);
534
547
  }
535
548
  }
536
- Q(() => e.modelValue, (y) => {
549
+ Z(() => e.modelValue, (y) => {
537
550
  s.value = y, n.value = `${y.id}-component`;
538
551
  });
539
552
  function k(y) {
540
553
  const I = y == null ? void 0 : y.target;
541
- Da(I);
554
+ Na(I);
542
555
  }
543
556
  function F() {
544
557
  var y, I;
@@ -659,7 +672,7 @@ function gt(e, t, n) {
659
672
  onRemoveComponent: b
660
673
  }, l;
661
674
  }
662
- function Ra(e, t) {
675
+ function $a(e, t) {
663
676
  function n() {
664
677
  return !1;
665
678
  }
@@ -677,9 +690,9 @@ function Ra(e, t) {
677
690
  }
678
691
  return { canAccepts: n, checkCanDeleteComponent: o, checkCanMoveComponent: a, hideNestedPaddingInDesginerView: l, getStyles: s };
679
692
  }
680
- const $a = "data-grid-component", Pa = "component", La = "data-grid", ja = {
693
+ const Pa = "data-grid-component", La = "component", ja = "data-grid", Aa = {
681
694
  class: "f-struct-wrapper f-utils-fill-flex-column"
682
- }, Aa = [
695
+ }, Ha = [
683
696
  {
684
697
  id: "data-grid-section",
685
698
  type: "section",
@@ -749,13 +762,13 @@ const $a = "data-grid-component", Pa = "component", La = "data-grid", ja = {
749
762
  }
750
763
  ]
751
764
  }
752
- ], Ha = {
753
- id: $a,
754
- type: Pa,
755
- componentType: La,
756
- appearance: ja,
757
- contents: Aa
758
- }, za = {
765
+ ], za = {
766
+ id: Pa,
767
+ type: La,
768
+ componentType: ja,
769
+ appearance: Aa,
770
+ contents: Ha
771
+ }, Ga = {
759
772
  /**
760
773
  * 自定义类
761
774
  */
@@ -899,7 +912,7 @@ class Se {
899
912
  return this.width = t.width, this.height = t.height, this;
900
913
  }
901
914
  }
902
- function Ga(e, t) {
915
+ function qa(e, t) {
903
916
  const n = c(), o = c(), a = c(), l = c(), s = c(), i = c(), f = c(), u = c(), v = c(), d = c(), p = c(), _ = c(), E = c(e.draggable), O = c(!1);
904
917
  function N() {
905
918
  const x = o.value || document.body, D = window.getComputedStyle(x);
@@ -1084,9 +1097,9 @@ function Ga(e, t) {
1084
1097
  unWindowResizeHandle: $
1085
1098
  };
1086
1099
  }
1087
- function qa(e, t, n) {
1100
+ function Wa(e, t, n) {
1088
1101
  const o = c(), a = c(e.draggable), l = c(e.lockAxis), s = c(), i = c(), f = c(!1), u = c(new oe(0, 0)), v = c(new oe(0, 0)), d = c(new oe(0, 0)), p = c(new oe(0, 0));
1089
- Q(() => n.value, (S) => {
1102
+ Z(() => n.value, (S) => {
1090
1103
  s.value.style.cursor = S ? "move" : "default";
1091
1104
  });
1092
1105
  function _(S, B) {
@@ -1174,7 +1187,7 @@ function Rt(e, t) {
1174
1187
  };
1175
1188
  }
1176
1189
  }
1177
- function Wa(e, t) {
1190
+ function Ua(e, t) {
1178
1191
  const n = c(e.enableEsc);
1179
1192
  let o = null;
1180
1193
  return n.value ? (o = Rt("Escape", (a) => {
@@ -1183,7 +1196,7 @@ function Wa(e, t) {
1183
1196
  remove: o
1184
1197
  }) : null;
1185
1198
  }
1186
- function Ua(e, t) {
1199
+ function Xa(e, t) {
1187
1200
  const n = c(e.enableEnter);
1188
1201
  let o = null;
1189
1202
  return n.value ? (o = Rt("Enter", (a) => {
@@ -1194,12 +1207,12 @@ function Ua(e, t) {
1194
1207
  }
1195
1208
  const $t = /* @__PURE__ */ ae({
1196
1209
  name: "FModal",
1197
- props: za,
1210
+ props: Ga,
1198
1211
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
1199
1212
  setup(e, t) {
1200
1213
  const n = c(e.width || 300), o = c(e.height || 200), a = c(e.modelValue), l = c(""), s = c(e.class), i = c(e.fitContent), f = c(e.showHeader), u = c(""), v = c(e.showCloseButton), d = c(e.showMaxButton), p = c(!1), _ = c(""), E = c(""), O = c(""), N = c(e.showButtons), m = c(e.title), h = c(e.reiszeable), b = c(e.containment || null), C = c();
1201
- function w(H, Z) {
1202
- a.value = !1, t.emit("update:modelValue", !1), Z != null && t.emit(Z ? "accept" : "cancel"), t.emit("closed", H);
1214
+ function w(H, K) {
1215
+ a.value = !1, t.emit("update:modelValue", !1), K != null && t.emit(K ? "accept" : "cancel"), t.emit("closed", H);
1203
1216
  }
1204
1217
  const V = [{
1205
1218
  name: "cancel",
@@ -1223,41 +1236,41 @@ const $t = /* @__PURE__ */ ae({
1223
1236
  resizedEventParam: x,
1224
1237
  allowDrag: D,
1225
1238
  unWindowResizeHandle: L
1226
- } = Ga(e), {
1239
+ } = qa(e), {
1227
1240
  registerDraggle: R
1228
- } = qa(e, t, D);
1229
- Q(() => e.title, (H, Z) => {
1230
- H !== Z && (m.value = H);
1231
- }), Q(() => e.modelValue, (H, Z) => {
1232
- H !== Z && (a.value = H);
1233
- }), Q(() => e.showHeader, (H, Z) => {
1234
- H !== Z && (f.value = H);
1235
- }), Q(() => e.showButtons, (H, Z) => {
1236
- H !== Z && (N.value = H);
1237
- }), Q(() => x.value, (H, Z) => {
1238
- const le = H || {}, Be = Z || {};
1241
+ } = Wa(e, t, D);
1242
+ Z(() => e.title, (H, K) => {
1243
+ H !== K && (m.value = H);
1244
+ }), Z(() => e.modelValue, (H, K) => {
1245
+ H !== K && (a.value = H);
1246
+ }), Z(() => e.showHeader, (H, K) => {
1247
+ H !== K && (f.value = H);
1248
+ }), Z(() => e.showButtons, (H, K) => {
1249
+ H !== K && (N.value = H);
1250
+ }), Z(() => x.value, (H, K) => {
1251
+ const le = H || {}, Be = K || {};
1239
1252
  JSON.stringify(le) !== JSON.stringify(Be) && t.emit("resize", {
1240
1253
  newSize: H,
1241
- oldSize: Z
1254
+ oldSize: K
1242
1255
  });
1243
1256
  });
1244
1257
  function A() {
1245
1258
  const H = document.querySelectorAll(".farris-modal").length;
1246
1259
  (!H || H - 1 <= 0) && document.body.classList.remove("modal-open"), C.value && C.value.classList.remove("show");
1247
1260
  }
1248
- const K = P(() => (a.value ? document.body.classList.add("modal-open") : A(), a.value)), ee = P(() => {
1261
+ const J = P(() => (a.value ? document.body.classList.add("modal-open") : A(), a.value)), ee = P(() => {
1249
1262
  const H = {
1250
1263
  modal: !0,
1251
1264
  "farris-modal": !0,
1252
1265
  fade: !0
1253
1266
  };
1254
- return H["f-modal-fitContent"] = !!i.value, H.show = !!K.value, H;
1267
+ return H["f-modal-fitContent"] = !!i.value, H.show = !!J.value, H;
1255
1268
  }), ue = P(() => {
1256
1269
  var le;
1257
1270
  const H = {
1258
1271
  "modal-dialog": !0
1259
- }, Z = (le = s.value) == null ? void 0 : le.split(" ");
1260
- return Z == null || Z.reduce((Be, Ze) => (Be[Ze] = !0, Be), H), H;
1272
+ }, K = (le = s.value) == null ? void 0 : le.split(" ");
1273
+ return K == null || K.reduce((Be, Ke) => (Be[Ke] = !0, Be), H), H;
1261
1274
  }), xe = P(() => ({
1262
1275
  position: "absolute",
1263
1276
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -1286,8 +1299,8 @@ const $t = /* @__PURE__ */ ae({
1286
1299
  const ce = P(() => {
1287
1300
  const H = {
1288
1301
  textAlgin: O.value
1289
- }, Z = de();
1290
- return Object.assign(H, Z);
1302
+ }, K = de();
1303
+ return Object.assign(H, K);
1291
1304
  });
1292
1305
  function Le(H) {
1293
1306
  if (H.stopPropagation(), F.value) {
@@ -1296,15 +1309,15 @@ const $t = /* @__PURE__ */ ae({
1296
1309
  }
1297
1310
  y(), F.value = !0;
1298
1311
  }
1299
- async function Ue(H, Z) {
1300
- H.handle && await H.handle(Z, H) && t.emit("closed", Z);
1312
+ async function Ue(H, K) {
1313
+ H.handle && await H.handle(K, H) && t.emit("closed", K);
1301
1314
  }
1302
1315
  function Xe(H) {
1303
1316
  H.width && (n.value = H.width), H.height && (o.value = H.height), H.buttons && (S.value = H.buttons), H.title && (m.value = H.title);
1304
1317
  }
1305
1318
  let De = null, Ne = null;
1306
1319
  me(() => {
1307
- k.value && !b.value && (b.value = k.value.parentElement, $.value = b.value, R(M.value, k.value, $.value)), K.value && document.body.classList.add("modal-open"), De = Wa(e, t), Ne = Ua(e, t);
1320
+ k.value && !b.value && (b.value = k.value.parentElement, $.value = b.value, R(M.value, k.value, $.value)), J.value && document.body.classList.add("modal-open"), De = Ua(e, t), Ne = Xa(e, t);
1308
1321
  }), pt(() => {
1309
1322
  A(), L && L(), De && De.remove(), Ne && Ne.remove();
1310
1323
  }), t.expose({
@@ -1332,7 +1345,7 @@ const $t = /* @__PURE__ */ ae({
1332
1345
  class: "f-icon modal_close"
1333
1346
  }, null)])]);
1334
1347
  }
1335
- function Ke() {
1348
+ function Je() {
1336
1349
  return r("div", {
1337
1350
  class: "modal-footer",
1338
1351
  style: ce.value
@@ -1340,14 +1353,14 @@ const $t = /* @__PURE__ */ ae({
1340
1353
  name: H.name,
1341
1354
  type: "button",
1342
1355
  class: H.class + (H.iconClass ? " btn-icontext" : ""),
1343
- onClick: (Z) => {
1344
- Ue(H, Z);
1356
+ onClick: (K) => {
1357
+ Ue(H, K);
1345
1358
  }
1346
1359
  }, [!!H.iconClass && r("i", {
1347
1360
  class: H.iconClass
1348
1361
  }, null), H.text]))]);
1349
1362
  }
1350
- function Je() {
1363
+ function Qe() {
1351
1364
  return r("div", {
1352
1365
  ref: M,
1353
1366
  class: "modal-header",
@@ -1363,23 +1376,23 @@ const $t = /* @__PURE__ */ ae({
1363
1376
  class: "actions"
1364
1377
  }, [Ye()])]);
1365
1378
  }
1366
- function Qe(H) {
1379
+ function Ze(H) {
1367
1380
  H.stopPropagation();
1368
1381
  }
1369
1382
  return () => r(_n, {
1370
1383
  to: "body"
1371
1384
  }, {
1372
- default: () => [K.value && r(Mt, {
1385
+ default: () => [J.value && r(Mt, {
1373
1386
  name: "fade",
1374
1387
  appear: !0
1375
1388
  }, {
1376
1389
  default: () => {
1377
- var H, Z;
1390
+ var H, K;
1378
1391
  return [r("div", {
1379
1392
  class: ee.value,
1380
1393
  style: "display: block",
1381
1394
  ref: C,
1382
- onClick: Qe
1395
+ onClick: Ze
1383
1396
  }, [r("div", {
1384
1397
  id: l.value,
1385
1398
  class: ue.value,
@@ -1387,15 +1400,15 @@ const $t = /* @__PURE__ */ ae({
1387
1400
  ref: k
1388
1401
  }, [r("div", {
1389
1402
  class: Ie.value
1390
- }, [f.value && Je(), r("div", {
1403
+ }, [f.value && Qe(), r("div", {
1391
1404
  class: Me.value
1392
- }, [(Z = (H = t.slots).default) == null ? void 0 : Z.call(H), _.value === "iframe" && r("iframe", {
1405
+ }, [(K = (H = t.slots).default) == null ? void 0 : K.call(H), _.value === "iframe" && r("iframe", {
1393
1406
  title: l.value,
1394
1407
  class: "f-utils-fill",
1395
1408
  width: "100%",
1396
1409
  frameborder: "0",
1397
1410
  src: E.value
1398
- }, null)]), g.value && Ke()]), !i.value && h.value && k.value && T(k.value)])])];
1411
+ }, null)]), g.value && Je()]), !i.value && h.value && k.value && T(k.value)])])];
1399
1412
  }
1400
1413
  })]
1401
1414
  });
@@ -1407,7 +1420,7 @@ function Pt(e) {
1407
1420
  if (e.render && typeof e.render == "function")
1408
1421
  return e.render;
1409
1422
  }
1410
- function Xa(e) {
1423
+ function Ya(e) {
1411
1424
  const t = document.createElement("div");
1412
1425
  t.style.display = "contents";
1413
1426
  const n = Bt({
@@ -1469,7 +1482,7 @@ class Lt {
1469
1482
  showButtons: !0,
1470
1483
  showHeader: !0
1471
1484
  }, t);
1472
- return Xa(n);
1485
+ return Ya(n);
1473
1486
  }
1474
1487
  open(t) {
1475
1488
  const n = document.createDocumentFragment();
@@ -1539,7 +1552,7 @@ const jt = /* @__PURE__ */ new Map([
1539
1552
  function At(e, t, n) {
1540
1553
  return t;
1541
1554
  }
1542
- const Ya = "https://json-schema.org/draft/2020-12/schema", Ka = "https://farris-design.gitee.io/list-view.schema.json", Ja = "list-view", Qa = "A Farris Component", Za = "object", el = {
1555
+ const Ja = "https://json-schema.org/draft/2020-12/schema", Qa = "https://farris-design.gitee.io/list-view.schema.json", Za = "list-view", Ka = "A Farris Component", el = "object", tl = {
1543
1556
  id: {
1544
1557
  description: "The unique identifier for list-view",
1545
1558
  type: "string"
@@ -1601,18 +1614,18 @@ const Ya = "https://json-schema.org/draft/2020-12/schema", Ka = "https://farris-
1601
1614
  type: "boolean",
1602
1615
  default: !0
1603
1616
  }
1604
- }, tl = [
1617
+ }, nl = [
1605
1618
  "id",
1606
1619
  "type"
1607
- ], nl = {
1608
- $schema: Ya,
1609
- $id: Ka,
1610
- title: Ja,
1611
- description: Qa,
1612
- type: Za,
1613
- properties: el,
1614
- required: tl
1615
- }, ol = "list-view", al = "A Farris Component", ll = "object", sl = {
1620
+ ], ol = {
1621
+ $schema: Ja,
1622
+ $id: Qa,
1623
+ title: Za,
1624
+ description: Ka,
1625
+ type: el,
1626
+ properties: tl,
1627
+ required: nl
1628
+ }, al = "list-view", ll = "A Farris Component", sl = "object", rl = {
1616
1629
  basic: {
1617
1630
  description: "Basic Infomation",
1618
1631
  title: "基本信息",
@@ -1634,11 +1647,11 @@ const Ya = "https://json-schema.org/draft/2020-12/schema", Ka = "https://farris-
1634
1647
  }
1635
1648
  }
1636
1649
  }
1637
- }, rl = {
1638
- title: ol,
1639
- description: al,
1640
- type: ll,
1641
- categories: sl
1650
+ }, il = {
1651
+ title: al,
1652
+ description: ll,
1653
+ type: sl,
1654
+ categories: rl
1642
1655
  }, qe = {
1643
1656
  /** 列集合 */
1644
1657
  columns: {
@@ -1680,7 +1693,7 @@ const Ya = "https://json-schema.org/draft/2020-12/schema", Ka = "https://farris-
1680
1693
  disableField: { type: String, default: "disabled" },
1681
1694
  // 搜索启用高亮
1682
1695
  enableHighlightSearch: { type: Boolean, default: !0 }
1683
- }, Ht = Ee(qe, nl, jt, At, rl);
1696
+ }, Ht = Ee(qe, ol, jt, At, il);
1684
1697
  function zt(e, t) {
1685
1698
  function n(l) {
1686
1699
  const s = [];
@@ -1762,7 +1775,7 @@ function St(e, t, n, o, a, l, s, i, f, u) {
1762
1775
  renderItem: S
1763
1776
  };
1764
1777
  }
1765
- function il(e, t, n, o, a, l, s, i, f, u) {
1778
+ function ul(e, t, n, o, a, l, s, i, f, u) {
1766
1779
  const v = c(e.multiSelect), d = c(e.disableField), {
1767
1780
  onMouseenterItem: p,
1768
1781
  onMouseoverItem: _,
@@ -1809,7 +1822,7 @@ function il(e, t, n, o, a, l, s, i, f, u) {
1809
1822
  renderItem: C
1810
1823
  };
1811
1824
  }
1812
- function ul(e, t, n, o, a, l, s, i, f, u) {
1825
+ function cl(e, t, n, o, a, l, s, i, f, u) {
1813
1826
  const v = c(e.multiSelect), d = c(e.disableField), {
1814
1827
  onMouseenterItem: p,
1815
1828
  onMouseoverItem: _,
@@ -1881,7 +1894,7 @@ function ul(e, t, n, o, a, l, s, i, f, u) {
1881
1894
  renderItem: F
1882
1895
  };
1883
1896
  }
1884
- function cl(e, t, n, o, a, l, s, i, f, u) {
1897
+ function dl(e, t, n, o, a, l, s, i, f, u) {
1885
1898
  var O;
1886
1899
  const v = c(((O = e.group) == null ? void 0 : O.groupFields) || []), {
1887
1900
  collpaseGroupIconClass: d
@@ -1907,7 +1920,7 @@ function cl(e, t, n, o, a, l, s, i, f, u) {
1907
1920
  renderItem: E
1908
1921
  };
1909
1922
  }
1910
- function dl() {
1923
+ function fl() {
1911
1924
  const e = c(-1), t = c(""), n = c(-1), o = c(!1);
1912
1925
  function a(u, v, d) {
1913
1926
  n.value = d;
@@ -1935,7 +1948,7 @@ function dl() {
1935
1948
  suspendHover: i
1936
1949
  };
1937
1950
  }
1938
- function fl(e, t, n, o) {
1951
+ function pl(e, t, n, o) {
1939
1952
  const a = c(e.idField), { dataView: l } = n, s = c(-1), i = c(!1), { activeIndex: f, focusedItemId: u, hoverIndex: v, resumeHover: d, suspendHover: p } = o;
1940
1953
  function _(m, h, b) {
1941
1954
  m.stopPropagation(), p(), h && setTimeout(() => {
@@ -1964,7 +1977,7 @@ function fl(e, t, n, o) {
1964
1977
  isDragging: i
1965
1978
  };
1966
1979
  }
1967
- function pl(e, t, n) {
1980
+ function ml(e, t, n) {
1968
1981
  const { dataView: o } = n;
1969
1982
  function a(l) {
1970
1983
  if (l > -1 && l < o.value.length) {
@@ -1974,7 +1987,7 @@ function pl(e, t, n) {
1974
1987
  }
1975
1988
  return { removeItem: a };
1976
1989
  }
1977
- function ml(e, t, n, o, a, l) {
1990
+ function vl(e, t, n, o, a, l) {
1978
1991
  const s = c(e.idField), i = c(e.disableField), f = c(e.draggable), u = c(e.itemClass), v = c(e.selection.multiSelect ?? !1), d = c(e.selection.multiSelectMode), { isDragging: p } = o, { activeIndex: _, focusedItemId: E, hoverIndex: O } = a, { clearSelection: N, getSelectedItems: m, toggleSelectItem: h } = l, b = c(m());
1979
1992
  function C(k, F) {
1980
1993
  const T = {
@@ -2020,20 +2033,20 @@ function ml(e, t, n, o, a, l) {
2020
2033
  };
2021
2034
  }
2022
2035
  function Gt(e, t, n, o, a, l, s) {
2023
- const i = c(e.view), f = c(e.view === "CardView"), u = c({}), v = c("暂无数据"), d = dl(), p = fl(e, t, o, d), _ = pl(e, t, o), E = ml(e, t, n, p, d, l), O = P(() => ({
2036
+ const i = c(e.view), f = c(e.view === "CardView"), u = c({}), v = c("暂无数据"), d = fl(), p = pl(e, t, o, d), _ = ml(e, t, o), E = vl(e, t, n, p, d, l), O = P(() => ({
2024
2037
  "f-list-view-group": !0,
2025
2038
  "d-flex": f.value,
2026
2039
  "flex-wrap": f.value
2027
2040
  })), N = P(() => !!n.value && n.value.length > 0), m = P(() => n.value.length === 0);
2028
2041
  P(() => m.value && !t.slots.empty);
2029
2042
  function h() {
2030
- return i.value === "SingleView" ? St : i.value === "DraggableView" ? ul : (i.value === "ContentView" || i.value === "CardView") && t.slots.content ? il : St;
2043
+ return i.value === "SingleView" ? St : i.value === "DraggableView" ? cl : (i.value === "ContentView" || i.value === "CardView") && t.slots.content ? ul : St;
2031
2044
  }
2032
2045
  const b = h(), {
2033
2046
  renderItem: C
2034
2047
  } = b(e, t, n, p, a, d, E, l, _, s), {
2035
2048
  renderItem: w
2036
- } = cl(e, t, n, p, a, d, E, l, _, s), V = [C, w];
2049
+ } = dl(e, t, n, p, a, d, E, l, _, s), V = [C, w];
2037
2050
  function S() {
2038
2051
  return n.value.filter((M) => M.visible !== !1).map((M, k) => V[M.type](M, k, u));
2039
2052
  }
@@ -2069,7 +2082,7 @@ function ze(e, t, n) {
2069
2082
  function f(p) {
2070
2083
  l.value = "";
2071
2084
  }
2072
- Q(l, (p) => {
2085
+ Z(l, (p) => {
2073
2086
  e.enableHighlightSearch && n.search(p), t.emit("afterSearch", p);
2074
2087
  });
2075
2088
  const u = P(() => {
@@ -2122,7 +2135,7 @@ const Fe = /* @__PURE__ */ ae({
2122
2135
  props: qe,
2123
2136
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
2124
2137
  setup(e, t) {
2125
- const n = c(), o = c(!0), a = c(!1), l = c([]), s = 0, i = c(e.columns), f = Ao(e), u = Ho(e), v = zo(e, f), d = Go(e), p = qo(e, /* @__PURE__ */ new Map(), u, f, d), _ = Wo(e, p, f, l, t), E = zt(e, n), O = P(() => p.dataView.value.length), N = Uo(e, t, f), m = Xo(), h = Yo(e, {}, m), b = Ko(e, N, u, f, m, h), C = Jo(e, f, h, b), w = Qo(e, f, h, b), V = Zo(e, i, p, O, s, b, C, w), {
2138
+ const n = c(), o = c(!0), a = c(!1), l = c([]), s = 0, i = c(e.columns), f = Ao(e), u = Ho(e), v = zo(e, f), d = Go(e), p = qo(e, /* @__PURE__ */ new Map(), u, f, d), _ = Wo(e, p, f, l, t), E = zt(e, n), O = P(() => p.dataView.value.length), N = Uo(e, t, f), m = Xo(), h = Yo(e, {}, m), b = Jo(e, N, u, f, m, h), C = Qo(e, f, h, b), w = Zo(e, f, h, b), V = Ko(e, i, p, O, s, b, C, w), {
2126
2139
  getVisualData: S
2127
2140
  } = V;
2128
2141
  l.value = S(0, O.value + s - 1);
@@ -2172,7 +2185,7 @@ const Fe = /* @__PURE__ */ ae({
2172
2185
  }
2173
2186
  });
2174
2187
  var ie = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(ie || {}), he = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(he || {}), We = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(We || {}), ut = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(ut || {});
2175
- function vl() {
2188
+ function hl() {
2176
2189
  function e(n, o) {
2177
2190
  const a = n.pre;
2178
2191
  if (a) {
@@ -2189,7 +2202,7 @@ function vl() {
2189
2202
  }
2190
2203
  return { updateRowPosition: e, updateVisualInfomation: t };
2191
2204
  }
2192
- function hl() {
2205
+ function gl() {
2193
2206
  function e(o, a) {
2194
2207
  switch (o.command) {
2195
2208
  case "edit":
@@ -2249,7 +2262,7 @@ const Wt = {
2249
2262
  */
2250
2263
  isControlInline: { type: Boolean, default: !0 }
2251
2264
  };
2252
- class gl {
2265
+ class yl {
2253
2266
  constructor(t = { value: [] }) {
2254
2267
  z(this, "editorType", "check-box");
2255
2268
  z(this, "value");
@@ -2269,7 +2282,7 @@ class gl {
2269
2282
  return this.value.length === 0;
2270
2283
  }
2271
2284
  }
2272
- class yl {
2285
+ class bl {
2273
2286
  constructor(t = { textValue: "", value: "", valueField: "" }) {
2274
2287
  z(this, "editorType", "combo-lookup");
2275
2288
  z(this, "textValue");
@@ -2289,11 +2302,11 @@ class yl {
2289
2302
  return t[n[0]];
2290
2303
  }
2291
2304
  getTextValue(t) {
2292
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, _e(n)));
2305
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, be(n)));
2293
2306
  return o && o.length ? o.join(",") : "";
2294
2307
  }
2295
2308
  getValue() {
2296
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, _e(t)));
2309
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, be(t)));
2297
2310
  return n && n.length ? n.join(",") : "";
2298
2311
  }
2299
2312
  setValue(t) {
@@ -2303,7 +2316,7 @@ class yl {
2303
2316
  return !this.valueField;
2304
2317
  }
2305
2318
  }
2306
- class bl {
2319
+ class Cl {
2307
2320
  constructor(t = { value: "" }) {
2308
2321
  z(this, "editorType", "date-picker");
2309
2322
  z(this, "value");
@@ -2344,7 +2357,7 @@ class kt {
2344
2357
  return !this.begin || !this.end;
2345
2358
  }
2346
2359
  }
2347
- class Cl {
2360
+ class wl {
2348
2361
  constructor(t = { value: "" }) {
2349
2362
  z(this, "editorType", "datetime-picker");
2350
2363
  z(this, "value");
@@ -2364,7 +2377,7 @@ class Cl {
2364
2377
  return !this.value;
2365
2378
  }
2366
2379
  }
2367
- class wl {
2380
+ class _l {
2368
2381
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
2369
2382
  constructor(t = { value: "", dispalyText: "" }) {
2370
2383
  z(this, "editorType", "combo-list");
@@ -2387,7 +2400,7 @@ class wl {
2387
2400
  return !this.displayText && !this.value;
2388
2401
  }
2389
2402
  }
2390
- class _l {
2403
+ class xl {
2391
2404
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
2392
2405
  z(this, "editorType", "input-group");
2393
2406
  // 通过弹窗返回的若干个值对象构成的数组
@@ -2412,11 +2425,11 @@ class _l {
2412
2425
  return t[n[0]];
2413
2426
  }
2414
2427
  getTextValue(t) {
2415
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, _e(n)));
2428
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, be(n)));
2416
2429
  return o && o.length ? o.join(",") : "";
2417
2430
  }
2418
2431
  getValue() {
2419
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, _e(t)));
2432
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, be(t)));
2420
2433
  return n && n.length ? n.join(",") : "";
2421
2434
  }
2422
2435
  setValue(t) {
@@ -2426,7 +2439,7 @@ class _l {
2426
2439
  return !this.displayText && !this.value.length;
2427
2440
  }
2428
2441
  }
2429
- class xl {
2442
+ class Sl {
2430
2443
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
2431
2444
  z(this, "editorType", "lookup");
2432
2445
  z(this, "textValue");
@@ -2462,7 +2475,7 @@ class xl {
2462
2475
  return !this.value.length;
2463
2476
  }
2464
2477
  }
2465
- class Sl {
2478
+ class kl {
2466
2479
  constructor(t = { value: "" }) {
2467
2480
  z(this, "editorType", "month-picker");
2468
2481
  z(this, "value");
@@ -2482,7 +2495,7 @@ class Sl {
2482
2495
  return !this.value;
2483
2496
  }
2484
2497
  }
2485
- class kl {
2498
+ class Tl {
2486
2499
  constructor(t = { begin: "", end: "" }) {
2487
2500
  z(this, "editorType", "month-range");
2488
2501
  z(this, "begin");
@@ -2503,7 +2516,7 @@ class kl {
2503
2516
  return !this.begin || !this.end;
2504
2517
  }
2505
2518
  }
2506
- class Tl {
2519
+ class Fl {
2507
2520
  constructor(t = { begin: null, end: null }) {
2508
2521
  z(this, "editorType", "number-range");
2509
2522
  z(this, "begin");
@@ -2527,7 +2540,7 @@ class Tl {
2527
2540
  return this.begin == null && this.end == null;
2528
2541
  }
2529
2542
  }
2530
- class Fl {
2543
+ class El {
2531
2544
  constructor(t = { value: "" }) {
2532
2545
  z(this, "editorType", "number-spinner");
2533
2546
  z(this, "value");
@@ -2547,7 +2560,7 @@ class Fl {
2547
2560
  return this.value == null || isNaN(this.value);
2548
2561
  }
2549
2562
  }
2550
- class El {
2563
+ class Il {
2551
2564
  constructor(t = { value: null }) {
2552
2565
  z(this, "editorType", "radio-group");
2553
2566
  z(this, "value");
@@ -2591,33 +2604,33 @@ function Xt() {
2591
2604
  function e(t, n) {
2592
2605
  switch (t) {
2593
2606
  case "check-box":
2594
- return new gl(n);
2607
+ return new yl(n);
2595
2608
  case "combo-list":
2596
- return new wl(n);
2609
+ return new _l(n);
2597
2610
  case "combo-lookup":
2598
- return new yl(n);
2611
+ return new bl(n);
2599
2612
  case "input-group":
2600
- return new _l(n);
2613
+ return new xl(n);
2601
2614
  case "date-picker":
2602
- return new bl(n);
2615
+ return new Cl(n);
2603
2616
  case "date-range":
2604
2617
  return new kt(n);
2605
2618
  case "datetime-picker":
2606
- return new Cl(n);
2619
+ return new wl(n);
2607
2620
  case "datetime-range":
2608
2621
  return new kt(n);
2609
2622
  case "lookup":
2610
- return new xl(n);
2611
- case "month-picker":
2612
2623
  return new Sl(n);
2613
- case "month-range":
2624
+ case "month-picker":
2614
2625
  return new kl(n);
2615
- case "number-range":
2626
+ case "month-range":
2616
2627
  return new Tl(n);
2617
- case "number-spinner":
2628
+ case "number-range":
2618
2629
  return new Fl(n);
2619
- case "radio-group":
2630
+ case "number-spinner":
2620
2631
  return new El(n);
2632
+ case "radio-group":
2633
+ return new Il(n);
2621
2634
  default:
2622
2635
  return new Ut(n);
2623
2636
  }
@@ -2656,7 +2669,7 @@ function Yt(e, t) {
2656
2669
  }
2657
2670
  return { convertToSingleControl: i, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: f, initialConditionValue: u };
2658
2671
  }
2659
- function Il(e, t, n) {
2672
+ function Ml(e, t, n) {
2660
2673
  const o = c(null), a = c(n), l = c(0);
2661
2674
  function s(v, d) {
2662
2675
  let p = null;
@@ -2678,7 +2691,7 @@ function Il(e, t, n) {
2678
2691
  return v > 250 * 6 ? p = "col-2" : v > 250 * 4 ? p = "col-3" : v > 250 * 3 ? p = "col-4" : v > 250 * 2 && (p = "col-6"), p;
2679
2692
  }
2680
2693
  const u = P(() => f(l.value));
2681
- return Q([n], ([v]) => {
2694
+ return Z([n], ([v]) => {
2682
2695
  a.value = v, i();
2683
2696
  }), {
2684
2697
  conditionClass: u,
@@ -2694,14 +2707,14 @@ const Tt = /* @__PURE__ */ ae({
2694
2707
  initialConditionValue: i,
2695
2708
  fieldMap: f,
2696
2709
  loadFieldConfigs: u
2697
- } = s, v = Il(e, t, n), {
2710
+ } = s, v = Ml(e, t, n), {
2698
2711
  conditionClass: d,
2699
2712
  resizeObserver: p
2700
2713
  } = v;
2701
2714
  u(!0), i(l.value), It(() => {
2702
2715
  var m;
2703
2716
  (m = p.value) == null || m.unobserve(n.value);
2704
- }), Q(() => e.conditions, () => {
2717
+ }), Z(() => e.conditions, () => {
2705
2718
  l.value = e.conditions, i(l.value);
2706
2719
  });
2707
2720
  const _ = P(() => ({
@@ -2736,10 +2749,10 @@ const Tt = /* @__PURE__ */ ae({
2736
2749
  }
2737
2750
  }), yt = /* @__PURE__ */ new Map([
2738
2751
  ["appearance", Ge]
2739
- ]), Ml = /* @__PURE__ */ new Map([]);
2752
+ ]), Bl = /* @__PURE__ */ new Map([]);
2740
2753
  var ct = /* @__PURE__ */ ((e) => (e.String = "String", e.DateTime = "DateTime", e.Date = "Date", e.Enum = "Enum", e.Boolean = "Boolean", e.Number = "Number", e.Text = "Text", e.BigNumber = "BigNumber", e))(ct || {});
2741
- const Bl = "root-viewmodel";
2742
- class Vl {
2754
+ const Vl = "root-viewmodel";
2755
+ class Ol {
2743
2756
  constructor(t, n) {
2744
2757
  z(this, "formSchemaUtils");
2745
2758
  z(this, "controlCreatorUtils");
@@ -2796,7 +2809,7 @@ class Vl {
2796
2809
  }), n.contents = [o];
2797
2810
  const { selectedFields: l } = t;
2798
2811
  l == null || l.forEach((i) => {
2799
- const f = _e(i), u = this.resolveControlClassByFormColumns(t), v = this.controlCreatorUtils.setFormFieldProperty(f, "", u);
2812
+ const f = be(i), u = this.resolveControlClassByFormColumns(t), v = this.controlCreatorUtils.setFormFieldProperty(f, "", u);
2800
2813
  v && a.push(v);
2801
2814
  });
2802
2815
  const { templateId: s } = this.formSchemaUtils.getFormSchema().module;
@@ -2833,7 +2846,7 @@ class Vl {
2833
2846
  code: `${t.componentId}-component-viewmodel`,
2834
2847
  name: t.componentName,
2835
2848
  bindTo: t.bindTo,
2836
- parent: Bl,
2849
+ parent: Vl,
2837
2850
  fields: this.assembleViewModelFields(t),
2838
2851
  commands: [],
2839
2852
  states: [],
@@ -2860,7 +2873,7 @@ class Vl {
2860
2873
  }), n;
2861
2874
  }
2862
2875
  }
2863
- function Ol(e, t, n, o) {
2876
+ function Dl(e, t, n, o) {
2864
2877
  var l, s, i, f, u;
2865
2878
  const a = n.parentComponentInstance;
2866
2879
  if (a && o) {
@@ -2873,14 +2886,14 @@ function Ol(e, t, n, o) {
2873
2886
  bindTo: ((f = n.bindingSourceContext) == null ? void 0 : f.bindTo) || "/",
2874
2887
  selectedFields: (u = n.bindingSourceContext) == null ? void 0 : u.bindingEntityFields
2875
2888
  };
2876
- return new Vl(e, o).createComponent(p);
2889
+ return new Ol(e, o).createComponent(p);
2877
2890
  } else
2878
2891
  return t;
2879
2892
  }
2880
- function Dl(e, t, n) {
2893
+ function Nl(e, t, n) {
2881
2894
  return t;
2882
2895
  }
2883
- const Nl = "https://json-schema.org/draft/2020-12/schema", Rl = "https://farris-design.gitee.io/response-form.schema.json", $l = "response-form", Pl = "A Farris Data Collection Component", Ll = "object", jl = {
2896
+ const Rl = "https://json-schema.org/draft/2020-12/schema", $l = "https://farris-design.gitee.io/response-form.schema.json", Pl = "response-form", Ll = "A Farris Data Collection Component", jl = "object", Al = {
2884
2897
  id: {
2885
2898
  description: "The unique identifier for a form group",
2886
2899
  type: "string"
@@ -2908,23 +2921,24 @@ const Nl = "https://json-schema.org/draft/2020-12/schema", Rl = "https://farris-
2908
2921
  type: "array",
2909
2922
  default: []
2910
2923
  }
2911
- }, Al = [
2924
+ }, Hl = [
2912
2925
  "id",
2913
- "type"
2914
- ], Hl = {
2915
- $schema: Nl,
2916
- $id: Rl,
2917
- title: $l,
2918
- description: Pl,
2919
- type: Ll,
2920
- properties: jl,
2921
- required: Al
2922
- }, zl = {
2926
+ "type",
2927
+ "contents"
2928
+ ], zl = {
2929
+ $schema: Rl,
2930
+ $id: $l,
2931
+ title: Pl,
2932
+ description: Ll,
2933
+ type: jl,
2934
+ properties: Al,
2935
+ required: Hl
2936
+ }, Gl = {
2923
2937
  customClass: { type: String, default: "" },
2924
2938
  customStyle: { type: String, defaut: "" }
2925
2939
  };
2926
- Ee(zl, Hl, yt, Ol);
2927
- const Gl = "https://json-schema.org/draft/2020-12/schema", ql = "https://farris-design.gitee.io/form-group.schema.json", Wl = "form-group", Ul = "A Farris Input Component", Xl = "object", Yl = {
2940
+ Ee(Gl, zl, yt, Dl);
2941
+ const ql = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-design.gitee.io/form-group.schema.json", Ul = "form-group", Xl = "A Farris Input Component", Yl = "object", Jl = {
2928
2942
  id: {
2929
2943
  description: "The unique identifier for a form group",
2930
2944
  type: "string"
@@ -2954,7 +2968,8 @@ const Gl = "https://json-schema.org/draft/2020-12/schema", ql = "https://farris-
2954
2968
  },
2955
2969
  editor: {
2956
2970
  description: "",
2957
- type: "obejct"
2971
+ type: "obejct",
2972
+ default: {}
2958
2973
  },
2959
2974
  label: {
2960
2975
  description: "",
@@ -2970,18 +2985,19 @@ const Gl = "https://json-schema.org/draft/2020-12/schema", ql = "https://farris-
2970
2985
  type: "object",
2971
2986
  default: {}
2972
2987
  }
2973
- }, Kl = [
2988
+ }, Ql = [
2974
2989
  "id",
2975
- "type"
2976
- ], Kt = {
2977
- $schema: Gl,
2978
- $id: ql,
2979
- title: Wl,
2980
- description: Ul,
2981
- type: Xl,
2982
- properties: Yl,
2983
- required: Kl
2984
- }, Jt = {
2990
+ "type",
2991
+ "editor"
2992
+ ], Jt = {
2993
+ $schema: ql,
2994
+ $id: Wl,
2995
+ title: Ul,
2996
+ description: Xl,
2997
+ type: Yl,
2998
+ properties: Jl,
2999
+ required: Ql
3000
+ }, Qt = {
2985
3001
  id: { type: String, default: "" },
2986
3002
  customClass: { type: String, default: "" },
2987
3003
  customStyle: { type: String, default: "" },
@@ -2997,25 +3013,25 @@ const Gl = "https://json-schema.org/draft/2020-12/schema", ql = "https://farris-
2997
3013
  type: { type: String, default: "input-group" }
2998
3014
  };
2999
3015
  Ee(
3016
+ Qt,
3000
3017
  Jt,
3001
- Kt,
3002
3018
  yt,
3003
3019
  void 0
3004
3020
  );
3005
- const Jl = {
3021
+ const Zl = {
3006
3022
  id: { type: String },
3007
3023
  required: { type: Boolean, default: !1 },
3008
3024
  text: { type: String, default: "" },
3009
3025
  title: { type: String }
3010
- }, Ql = /* @__PURE__ */ ae({
3026
+ }, Kl = /* @__PURE__ */ ae({
3011
3027
  name: "FDynamicFormLabel",
3012
- props: Jl,
3028
+ props: Zl,
3013
3029
  emits: [],
3014
3030
  setup(e, t) {
3015
3031
  const n = c(e.title || e.text), o = c(e.required), a = c(e.text);
3016
- return Q(() => e.text, () => {
3032
+ return Z(() => e.text, () => {
3017
3033
  a.value = e.text;
3018
- }), Q(() => e.required, (l, s) => {
3034
+ }), Z(() => e.required, (l, s) => {
3019
3035
  l !== s && (o.value = l);
3020
3036
  }), () => a.value && r("label", {
3021
3037
  class: "col-form-label",
@@ -3026,13 +3042,13 @@ const Jl = {
3026
3042
  class: "farris-label-text"
3027
3043
  }, [a.value])]);
3028
3044
  }
3029
- }), Zl = /* @__PURE__ */ new Map([
3045
+ }), es = /* @__PURE__ */ new Map([
3030
3046
  ["appearance", Ge]
3031
3047
  ]);
3032
- function es(e, t, n) {
3048
+ function ts(e, t, n) {
3033
3049
  return t;
3034
3050
  }
3035
- const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-design.gitee.io/input-group.schema.json", os = "input-group", as = "A Farris Input Component", ls = "object", ss = {
3051
+ const ns = "https://json-schema.org/draft/2020-12/schema", os = "https://farris-design.gitee.io/input-group.schema.json", as = "input-group", ls = "A Farris Input Component", ss = "object", rs = {
3036
3052
  id: {
3037
3053
  description: "The unique identifier for a Input Group",
3038
3054
  type: "string"
@@ -3229,24 +3245,23 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
3229
3245
  type: "string",
3230
3246
  default: ""
3231
3247
  }
3232
- }, rs = [
3233
- "id",
3248
+ }, is = [
3234
3249
  "type"
3235
- ], is = [
3250
+ ], us = [
3236
3251
  "id",
3237
3252
  "appearance",
3238
3253
  "binding",
3239
3254
  "visible"
3240
- ], us = {
3241
- $schema: ts,
3242
- $id: ns,
3243
- title: os,
3244
- description: as,
3245
- type: ls,
3246
- properties: ss,
3247
- required: rs,
3248
- ignore: is
3249
- }, Qt = {
3255
+ ], cs = {
3256
+ $schema: ns,
3257
+ $id: os,
3258
+ title: as,
3259
+ description: ls,
3260
+ type: ss,
3261
+ properties: rs,
3262
+ required: is,
3263
+ ignore: us
3264
+ }, Zt = {
3250
3265
  id: { Type: String, default: "" },
3251
3266
  /** 是否自动完成 */
3252
3267
  autocomplete: { Type: String, default: "off" },
@@ -3314,17 +3329,17 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
3314
3329
  */
3315
3330
  updateOn: { type: String, default: "blur" }
3316
3331
  };
3317
- Ee(Qt, us, Zl, es);
3318
- function cs(e, t) {
3332
+ Ee(Zt, cs, es, ts);
3333
+ function ds(e, t) {
3319
3334
  const n = c(e.groupText), o = P(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = P(() => e.enableClear || !!e.groupText);
3320
3335
  return { appendedButtonClass: P(() => ({
3321
3336
  "input-group-append": !0,
3322
3337
  "append-force-show": o.value
3323
3338
  })), appendedContent: n, shouldShowAppendedButton: a };
3324
3339
  }
3325
- function ds(e, t, n, o) {
3340
+ function fs(e, t, n, o) {
3326
3341
  const { appendedContent: a } = o, l = c(e.enableViewPassword), s = P(() => e.type === "password"), i = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', f = '<span class="f-icon f-icon-eye"></span>', u = c(!1);
3327
- Q(() => [e.readonly, e.disabled], ([p, _]) => {
3342
+ Z(() => [e.readonly, e.disabled], ([p, _]) => {
3328
3343
  s.value && (n.value = p || _ ? "password" : n.value, a.value = p || _ ? f : a.value);
3329
3344
  });
3330
3345
  function v() {
@@ -3335,7 +3350,7 @@ function ds(e, t, n, o) {
3335
3350
  }
3336
3351
  return d(), { isPassword: s, onClickAppendedButton: v };
3337
3352
  }
3338
- function fs(e, t, n) {
3353
+ function ps(e, t, n) {
3339
3354
  const o = c(), {
3340
3355
  onBlurTextBox: a,
3341
3356
  onFocusTextBox: l,
@@ -3375,7 +3390,7 @@ function fs(e, t, n) {
3375
3390
  onKeydown: i
3376
3391
  }, null);
3377
3392
  }
3378
- function ps(e, t, n) {
3393
+ function ms(e, t, n) {
3379
3394
  const {
3380
3395
  canDownward: o,
3381
3396
  canUpward: a,
@@ -3416,12 +3431,12 @@ function ps(e, t, n) {
3416
3431
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
3417
3432
  }, null)])]);
3418
3433
  }
3419
- function ms(e, t) {
3420
- const n = to(e, t), o = no(e, t, n), a = oo(e, t, o, n), l = ao(e, t, o, n, a), s = ps(e, t, a), {
3434
+ function vs(e, t) {
3435
+ const n = to(e, t), o = no(e, t, n), a = oo(e, t, o, n), l = ao(e, t, o, n, a), s = ms(e, t, a), {
3421
3436
  displayValue: i,
3422
3437
  modelValue: f,
3423
3438
  getRealValue: u
3424
- } = n, v = fs(e, t, l), {
3439
+ } = n, v = ps(e, t, l), {
3425
3440
  format: d
3426
3441
  } = o, {
3427
3442
  isFocus: p
@@ -3429,18 +3444,18 @@ function ms(e, t) {
3429
3444
  return me(() => {
3430
3445
  const E = u(e.modelValue);
3431
3446
  i.value = d(E);
3432
- }), Q(() => [e.value], ([E]) => {
3447
+ }), Z(() => [e.value], ([E]) => {
3433
3448
  const O = u(E);
3434
3449
  f.value = O, i.value = d(O);
3435
- }), Q(() => [e.modelValue], ([E]) => {
3450
+ }), Z(() => [e.modelValue], ([E]) => {
3436
3451
  E !== f.value && (f.value = E, !p.value && (i.value = d(u(E))));
3437
- }), Q(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
3452
+ }), Z(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
3438
3453
  i.value = d(f.value);
3439
3454
  }), () => r("div", {
3440
3455
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
3441
3456
  }, [v(), _.value && s()]);
3442
3457
  }
3443
- function vs(e, t, n, o) {
3458
+ function hs(e, t, n, o) {
3444
3459
  const a = c(), l = c(e.autocomplete), s = c(e.enableTitle), {
3445
3460
  isPassword: i
3446
3461
  } = n, f = c(e.minLength), u = c(e.maxLength), v = c(e.tabIndex), {
@@ -3486,7 +3501,7 @@ function vs(e, t, n, o) {
3486
3501
  onMousedown: C
3487
3502
  }, null);
3488
3503
  }
3489
- function hs(e, t) {
3504
+ function gs(e, t) {
3490
3505
  const n = P(() => e.useExtendInfo && !!e.extendInfo), o = ve({
3491
3506
  content: e.extendInfo
3492
3507
  });
@@ -3502,7 +3517,7 @@ function hs(e, t) {
3502
3517
  class: "tips-arrow"
3503
3518
  }, null)]), [[In("tooltip"), o]]);
3504
3519
  }
3505
- function gs(e, t, n, o, a) {
3520
+ function ys(e, t, n, o, a) {
3506
3521
  const {
3507
3522
  appendedButtonClass: l,
3508
3523
  appendedContent: s
@@ -3554,24 +3569,24 @@ function gs(e, t, n, o, a) {
3554
3569
  class: l.value
3555
3570
  }, [_.value && E(), V && V()]);
3556
3571
  }
3557
- const ys = /* @__PURE__ */ ae({
3572
+ const bs = /* @__PURE__ */ ae({
3558
3573
  name: "FInputGroup",
3559
- props: Qt,
3574
+ props: Zt,
3560
3575
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
3561
3576
  setup(e, t) {
3562
3577
  const n = c(e.modelValue), o = c(e.modelValue), a = $o(e, t, n, o), {
3563
3578
  inputGroupClass: l,
3564
3579
  inputType: s,
3565
3580
  inputGroupStyle: i
3566
- } = a, f = cs(e), {
3581
+ } = a, f = ds(e), {
3567
3582
  shouldShowAppendedButton: u
3568
3583
  } = f, v = Po(e, t, a), {
3569
3584
  onMouseEnter: d,
3570
3585
  onMouseLeave: p
3571
- } = v, _ = ds(e, t, s, f), E = ms(e, t), O = vs(e, t, _, a), N = gs(e, t, f, v, _), m = hs(e, t), h = P(() => e.type === "number");
3572
- Q(() => [e.value], ([C]) => {
3586
+ } = v, _ = fs(e, t, s, f), E = vs(e, t), O = hs(e, t, _, a), N = ys(e, t, f, v, _), m = gs(e, t), h = P(() => e.type === "number");
3587
+ Z(() => [e.value], ([C]) => {
3573
3588
  n.value = C, o.value = C;
3574
- }), Q(() => [e.modelValue], ([C]) => {
3589
+ }), Z(() => [e.modelValue], ([C]) => {
3575
3590
  n.value = C, o.value = C;
3576
3591
  }), me(() => {
3577
3592
  e.value && (n.value = e.value, o.value = e.value);
@@ -3587,13 +3602,13 @@ const ys = /* @__PURE__ */ ae({
3587
3602
  }
3588
3603
  }), G = {}, q = {}, W = {}, U = {};
3589
3604
  let Ft = !1;
3590
- function bs() {
3591
- Ft || (Ft = !0, Bn.register(G, q, W, U), Mn.register(G, q, W, U), Vn.register(G, q, W, U), On.register(G, q, W, U), Dn.register(G, q, W, U), Nn.register(G, q, W, U), Rn.register(G, q, W, U), rt.register(G, q, W, U), ea.register(G, q, W, U), Oo.register(G, q, W, U), Pn.register(G, q, W, U), $n.register(G, q, W, U), jn.register(G, q, W, U), Ln.register(G, q, W, U), An.register(G, q, W, U), Hn.register(G, q, W, U), qn.register(G, q, W, U), Wn.register(G, q, W, U), ta.register(G, q, W, U), Un.register(G, q, W, U), Xn.register(G, q, W, U), Yn.register(G, q, W, U), Jn.register(G, q, W, U), Kn.register(G, q, W, U), Qn.register(G, q, W, U), oa.register(G, q, W, U), Zn.register(G, q, W, U), lo.register(G, q, W, U), eo.register(G, q, W, U), so.register(G, q, W, U), ro.register(G, q, W, U), io.register(G, q, W, U), uo.register(G, q, W, U), co.register(G, q, W, U), fo.register(G, q, W, U), po.register(G, q, W, U), mo.register(G, q, W, U), ho.register(G, q, W, U), go.register(G, q, W, U), vo.register(G, q, W, U), aa.register(G, q, W), yo.register(G, q, W, U), bo.register(G, q, W, U), Co.register(G, q, W, U), wo.register(G, q, W, U), _o.register(G, q, W, U), xo.register(G, q, W, U), So.register(G, q, W, U), ko.register(G, q, W, U), To.register(G, q, W, U), Fo.register(G, q, W, U), Eo.register(G, q, W, U), Io.register(G, q, W, U), Bo.register(G, q, W, U), Mo.register(G, q, W, U), Vo.register(G, q, W, U), Do.register(G, q, W, U), No.register(G, q, W, U), Ro.register(G, q, W, U), na.register(G, q, W, U), la.register(G, q, W, U));
3592
- }
3593
3605
  function Cs() {
3594
- bs();
3606
+ Ft || (Ft = !0, Bn.register(G, q, W, U), Mn.register(G, q, W, U), Vn.register(G, q, W, U), On.register(G, q, W, U), Dn.register(G, q, W, U), Nn.register(G, q, W, U), Rn.register(G, q, W, U), rt.register(G, q, W, U), ea.register(G, q, W, U), Oo.register(G, q, W, U), Pn.register(G, q, W, U), $n.register(G, q, W, U), jn.register(G, q, W, U), Ln.register(G, q, W, U), An.register(G, q, W, U), Hn.register(G, q, W, U), qn.register(G, q, W, U), Wn.register(G, q, W, U), ta.register(G, q, W, U), Un.register(G, q, W, U), Xn.register(G, q, W, U), Yn.register(G, q, W, U), Qn.register(G, q, W, U), Jn.register(G, q, W, U), Zn.register(G, q, W, U), oa.register(G, q, W, U), Kn.register(G, q, W, U), lo.register(G, q, W, U), eo.register(G, q, W, U), so.register(G, q, W, U), ro.register(G, q, W, U), io.register(G, q, W, U), uo.register(G, q, W, U), co.register(G, q, W, U), fo.register(G, q, W, U), po.register(G, q, W, U), mo.register(G, q, W, U), ho.register(G, q, W, U), go.register(G, q, W, U), vo.register(G, q, W, U), aa.register(G, q, W), yo.register(G, q, W, U), bo.register(G, q, W, U), Co.register(G, q, W, U), wo.register(G, q, W, U), _o.register(G, q, W, U), xo.register(G, q, W, U), So.register(G, q, W, U), ko.register(G, q, W, U), To.register(G, q, W, U), Fo.register(G, q, W, U), Eo.register(G, q, W, U), Io.register(G, q, W, U), Bo.register(G, q, W, U), Mo.register(G, q, W, U), Vo.register(G, q, W, U), Do.register(G, q, W, U), No.register(G, q, W, U), Ro.register(G, q, W, U), na.register(G, q, W, U), la.register(G, q, W, U));
3607
+ }
3608
+ function ws() {
3609
+ Cs();
3595
3610
  function e(a) {
3596
- return G[a] || ys;
3611
+ return G[a] || bs;
3597
3612
  }
3598
3613
  function t(a, l) {
3599
3614
  const s = q[a];
@@ -3673,9 +3688,9 @@ function Cs() {
3673
3688
  }
3674
3689
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
3675
3690
  }
3676
- const ws = /* @__PURE__ */ ae({
3691
+ const _s = /* @__PURE__ */ ae({
3677
3692
  name: "FDynamicFormGroup",
3678
- props: Jt,
3693
+ props: Qt,
3679
3694
  emits: ["change", "update:modelValue"],
3680
3695
  setup(e, t) {
3681
3696
  const n = c(e.id), o = c(e.customClass), a = c(e.editor), l = c(e.label), s = c(e.modelValue), i = c(e.readonly), f = c(e.required), u = c(e.showLabel), v = c(e.visible);
@@ -3685,7 +3700,7 @@ const ws = /* @__PURE__ */ ae({
3685
3700
  resolveEditorType: _,
3686
3701
  getChangeFunctionName: E,
3687
3702
  getClearFunctionName: O
3688
- } = Cs(), N = P(() => ({
3703
+ } = ws(), N = P(() => ({
3689
3704
  "form-group": !0,
3690
3705
  "farris-form-group": !0,
3691
3706
  "common-group": !0,
@@ -3706,7 +3721,7 @@ const ws = /* @__PURE__ */ ae({
3706
3721
  "onUpdate:modelValue": (g) => s.value = g
3707
3722
  }), t.slots);
3708
3723
  });
3709
- return Q([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([C, w, V, S, B, g, M, k, F]) => {
3724
+ return Z([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([C, w, V, S, B, g, M, k, F]) => {
3710
3725
  n.value = C, o.value = w, a.value = V, l.value = S, s.value = B, i.value = g, f.value = M, u.value = k, v.value = F;
3711
3726
  }), t.expose({
3712
3727
  editorRef: d
@@ -3718,7 +3733,7 @@ const ws = /* @__PURE__ */ ae({
3718
3733
  class: "farris-group-wrap"
3719
3734
  }, [r("div", {
3720
3735
  class: N.value
3721
- }, [u.value && r(Ql, {
3736
+ }, [u.value && r(Kl, {
3722
3737
  id: `${n.value}-lable`,
3723
3738
  required: f.value,
3724
3739
  text: l.value,
@@ -3798,7 +3813,7 @@ z(Oe, "fieldControlTypeMapping", {
3798
3813
  ]
3799
3814
  });
3800
3815
  let Et = Oe;
3801
- const _s = {
3816
+ const xs = {
3802
3817
  id: { type: String, default: "" },
3803
3818
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
3804
3819
  editor: { type: Object, default: {} },
@@ -3814,12 +3829,12 @@ const _s = {
3814
3829
  selectOnCreated: { type: Boolean, default: !1 }
3815
3830
  };
3816
3831
  Ee(
3817
- _s,
3818
- Kt,
3832
+ xs,
3833
+ Jt,
3819
3834
  yt,
3820
3835
  void 0
3821
3836
  );
3822
- const xs = "https://json-schema.org/draft/2020-12/schema", Ss = "https://farris-design.gitee.io/grid-field-editor.schema.json", ks = "response-form-layout-setting", Ts = "A Farris Data Grid Component", Fs = "object", Es = {
3837
+ const Ss = "https://json-schema.org/draft/2020-12/schema", ks = "https://farris-design.gitee.io/grid-field-editor.schema.json", Ts = "response-form-layout-setting", Fs = "A Farris Data Grid Component", Es = "object", Is = {
3823
3838
  id: {
3824
3839
  description: "The unique identifier for a Input Group",
3825
3840
  type: "string"
@@ -3839,18 +3854,18 @@ const xs = "https://json-schema.org/draft/2020-12/schema", Ss = "https://farris-
3839
3854
  type: "Object",
3840
3855
  default: null
3841
3856
  }
3842
- }, Is = [
3857
+ }, Ms = [
3843
3858
  "id",
3844
3859
  "type"
3845
- ], Ms = {
3846
- $schema: xs,
3847
- $id: Ss,
3848
- title: ks,
3849
- description: Ts,
3850
- type: Fs,
3851
- properties: Es,
3852
- required: Is
3853
- }, Bs = {
3860
+ ], Bs = {
3861
+ $schema: Ss,
3862
+ $id: ks,
3863
+ title: Ts,
3864
+ description: Fs,
3865
+ type: Es,
3866
+ properties: Is,
3867
+ required: Ms
3868
+ }, Vs = {
3854
3869
  initialState: {
3855
3870
  type: Object,
3856
3871
  default: {
@@ -3861,8 +3876,8 @@ const xs = "https://json-schema.org/draft/2020-12/schema", Ss = "https://farris-
3861
3876
  }
3862
3877
  }
3863
3878
  };
3864
- sa(Bs, Ms, Ml, Dl);
3865
- const Vs = {
3879
+ sa(Vs, Bs, Bl, Nl);
3880
+ const Os = {
3866
3881
  width: { Type: Number, default: 400 },
3867
3882
  type: { Type: String, default: "info" },
3868
3883
  title: { Type: String, default: "" },
@@ -3875,12 +3890,12 @@ const Vs = {
3875
3890
  function bt() {
3876
3891
  return new DOMException("The request is not allowed", "NotAllowedError");
3877
3892
  }
3878
- async function Os(e) {
3893
+ async function Ds(e) {
3879
3894
  if (!navigator.clipboard)
3880
3895
  throw bt();
3881
3896
  return navigator.clipboard.writeText(e);
3882
3897
  }
3883
- async function Ds(e) {
3898
+ async function Ns(e) {
3884
3899
  const t = document.createElement("span");
3885
3900
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
3886
3901
  const n = window.getSelection(), o = window.document.createRange();
@@ -3894,24 +3909,24 @@ async function Ds(e) {
3894
3909
  if (!a)
3895
3910
  throw bt();
3896
3911
  }
3897
- async function Ns(e) {
3912
+ async function Rs(e) {
3898
3913
  try {
3899
- await Os(e);
3914
+ await Ds(e);
3900
3915
  } catch (t) {
3901
3916
  try {
3902
- await Ds(e);
3917
+ await Ns(e);
3903
3918
  } catch (n) {
3904
3919
  throw n || t || bt();
3905
3920
  }
3906
3921
  }
3907
3922
  }
3908
- function Rs() {
3923
+ function $s() {
3909
3924
  async function e(t) {
3910
- await Ns(t);
3925
+ await Rs(t);
3911
3926
  }
3912
3927
  return { onCopy: e };
3913
3928
  }
3914
- function $s(e, t, n, o) {
3929
+ function Ps(e, t, n, o) {
3915
3930
  const a = c(14), l = c(140), s = c(""), i = c(o.value.length), f = P(() => o.value), u = P(() => ({
3916
3931
  "font-size": `${a.value}px`,
3917
3932
  height: "100%"
@@ -3936,14 +3951,14 @@ function $s(e, t, n, o) {
3936
3951
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
3937
3952
  }, [i.value + " / " + l.value])]);
3938
3953
  }
3939
- function Ps(e, t, n, o) {
3940
- const a = $s(e, t, n, o), l = /* @__PURE__ */ new Map([["text-area", a]]);
3954
+ function Ls(e, t, n, o) {
3955
+ const a = Ps(e, t, n, o), l = /* @__PURE__ */ new Map([["text-area", a]]);
3941
3956
  function s(i) {
3942
3957
  return l.get(i) || null;
3943
3958
  }
3944
3959
  return { getEditorRender: s };
3945
3960
  }
3946
- function Ls() {
3961
+ function js() {
3947
3962
  const e = c(!1), t = c("复制成功");
3948
3963
  return {
3949
3964
  feedbackStyle: P(() => {
@@ -3969,11 +3984,11 @@ function Ls() {
3969
3984
  toShowFeedback: e
3970
3985
  };
3971
3986
  }
3972
- function js(e, t) {
3987
+ function As(e, t) {
3973
3988
  const n = t.getEditorRender(e.promptEditorType);
3974
3989
  return () => n && n();
3975
3990
  }
3976
- function As(e) {
3991
+ function Hs(e) {
3977
3992
  const t = c(3), n = c(480), o = P(() => !!e.value && !!e.value.date), a = P(() => `发生时间 : ${e.value && e.value.date || ""}`), l = P(() => !!e.value && !!e.value.detail), s = P(() => {
3978
3993
  const N = `${n.value}px`;
3979
3994
  return {
@@ -4018,13 +4033,13 @@ function As(e) {
4018
4033
  style: "cursor: pointer;"
4019
4034
  }, [v.value])])]);
4020
4035
  }
4021
- function Hs(e) {
4036
+ function zs(e) {
4022
4037
  return () => r("p", {
4023
4038
  class: "toast-msg-detail",
4024
4039
  innerHTML: e.value
4025
4040
  }, null);
4026
4041
  }
4027
- function zs(e, t, n, o) {
4042
+ function Gs(e, t, n, o) {
4028
4043
  const a = c(e.exceptionInfo), l = P(() => {
4029
4044
  const p = {
4030
4045
  "f-icon": !0
@@ -4032,7 +4047,7 @@ function zs(e, t, n, o) {
4032
4047
  return p[_] = !0, p;
4033
4048
  }), s = P(() => n.value || a.value && a.value.message), i = P(() => o.value), f = P(() => !!o.value), u = P(() => !!a.value);
4034
4049
  function v() {
4035
- return u.value ? As(a) : f.value ? Hs(i) : () => null;
4050
+ return u.value ? Hs(a) : f.value ? zs(i) : () => null;
4036
4051
  }
4037
4052
  const d = v();
4038
4053
  return () => r(ye, null, [r("div", {
@@ -4046,7 +4061,7 @@ function zs(e, t, n, o) {
4046
4061
  innerHTML: s.value
4047
4062
  }, null), d()])]);
4048
4063
  }
4049
- function Gs(e, t, n) {
4064
+ function qs(e, t, n) {
4050
4065
  const {
4051
4066
  onCopy: o
4052
4067
  } = t, {
@@ -4072,8 +4087,8 @@ function Gs(e, t, n) {
4072
4087
  style: "cursor: pointer;"
4073
4088
  }, [s.value])]);
4074
4089
  }
4075
- function qs(e, t, n, o) {
4076
- const a = c(e.type), l = c([]), s = c(e.exceptionInfo), i = c(e.okButtonText), f = c(e.cancelButtonText), u = c(!0), v = c(!0), d = P(() => !!(l.value && l.value.length)), p = P(() => s.value && s.value.date && s.value.message && s.value.detail), _ = P(() => !(l.value && l.value.length) && (i.value || f.value)), E = P(() => v.value && i.value), O = P(() => u.value && f.value), N = Gs(e, n, o);
4090
+ function Ws(e, t, n, o) {
4091
+ const a = c(e.type), l = c([]), s = c(e.exceptionInfo), i = c(e.okButtonText), f = c(e.cancelButtonText), u = c(!0), v = c(!0), d = P(() => !!(l.value && l.value.length)), p = P(() => s.value && s.value.date && s.value.message && s.value.detail), _ = P(() => !(l.value && l.value.length) && (i.value || f.value)), E = P(() => v.value && i.value), O = P(() => u.value && f.value), N = qs(e, n, o);
4077
4092
  function m(b) {
4078
4093
  a.value === "question" && t.emit("reject"), t.emit("close");
4079
4094
  }
@@ -4100,7 +4115,7 @@ function qs(e, t, n, o) {
4100
4115
  }
4101
4116
  const Ae = /* @__PURE__ */ ae({
4102
4117
  name: "FMessageBox",
4103
- props: Vs,
4118
+ props: Os,
4104
4119
  emits: ["accept", "reject", "close"],
4105
4120
  setup(e, t) {
4106
4121
  const n = c(e.type), o = c(e.title), a = c(e.detail), l = P(() => {
@@ -4113,7 +4128,7 @@ const Ae = /* @__PURE__ */ ae({
4113
4128
  }), s = P(() => {
4114
4129
  const N = {};
4115
4130
  return n.value === "prompt" ? N.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (N.padding = "0.5rem 1.5rem 1rem 1.5rem"), N;
4116
- }), i = Rs(), f = Ps(e, n, o, a), u = Ls(), {
4131
+ }), i = $s(), f = Ls(e, n, o, a), u = js(), {
4117
4132
  feedbackStyle: v,
4118
4133
  feedbackMessage: d
4119
4134
  } = u;
@@ -4125,12 +4140,12 @@ const Ae = /* @__PURE__ */ ae({
4125
4140
  function _() {
4126
4141
  switch (n.value) {
4127
4142
  case "prompt":
4128
- return js(e, f);
4143
+ return As(e, f);
4129
4144
  default:
4130
- return zs(e, n, o, a);
4145
+ return Gs(e, n, o, a);
4131
4146
  }
4132
4147
  }
4133
- const E = _(), O = qs(e, t, i, u);
4148
+ const E = _(), O = Ws(e, t, i, u);
4134
4149
  return () => r("div", {
4135
4150
  class: "farris-messager"
4136
4151
  }, [r("section", {
@@ -4139,7 +4154,7 @@ const Ae = /* @__PURE__ */ ae({
4139
4154
  }, [E()]), O(), p()]);
4140
4155
  }
4141
4156
  });
4142
- class we {
4157
+ class _e {
4143
4158
  static show(t) {
4144
4159
  const n = ve({
4145
4160
  ...t
@@ -4173,7 +4188,7 @@ class we {
4173
4188
  okButtonText: "知道了",
4174
4189
  cancelButtonText: ""
4175
4190
  });
4176
- we.show(o);
4191
+ _e.show(o);
4177
4192
  }
4178
4193
  static warning(t, n) {
4179
4194
  const o = ve({
@@ -4183,7 +4198,7 @@ class we {
4183
4198
  okButtonText: "知道了",
4184
4199
  cancelButtonText: ""
4185
4200
  });
4186
- we.show(o);
4201
+ _e.show(o);
4187
4202
  }
4188
4203
  static success(t, n) {
4189
4204
  const o = ve({
@@ -4193,7 +4208,7 @@ class we {
4193
4208
  okButtonText: "关闭",
4194
4209
  cancelButtonText: ""
4195
4210
  });
4196
- we.show(o);
4211
+ _e.show(o);
4197
4212
  }
4198
4213
  static error(t, n, o) {
4199
4214
  const a = ve({
@@ -4207,7 +4222,7 @@ class we {
4207
4222
  detail: n
4208
4223
  }
4209
4224
  });
4210
- we.show(a);
4225
+ _e.show(a);
4211
4226
  }
4212
4227
  static prompt(t, n) {
4213
4228
  const o = ve({
@@ -4217,7 +4232,7 @@ class we {
4217
4232
  okButtonText: "确定",
4218
4233
  cancelButtonText: "取消"
4219
4234
  });
4220
- we.show(o);
4235
+ _e.show(o);
4221
4236
  }
4222
4237
  static question(t, n, o, a) {
4223
4238
  const l = ve({
@@ -4229,14 +4244,14 @@ class we {
4229
4244
  acceptCallback: o,
4230
4245
  rejectCallback: a
4231
4246
  });
4232
- we.show(l);
4247
+ _e.show(l);
4233
4248
  }
4234
4249
  }
4235
4250
  Ae.install = (e) => {
4236
- e.component(Ae.name, Ae), e.provide("FMessageBoxService", we);
4251
+ e.component(Ae.name, Ae), e.provide("FMessageBoxService", _e);
4237
4252
  };
4238
- var Zt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Zt || {}), en = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e))(en || {});
4239
- const Ws = [
4253
+ var Kt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Kt || {}), en = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e))(en || {});
4254
+ const Us = [
4240
4255
  {
4241
4256
  value: "0",
4242
4257
  name: "等于"
@@ -4273,7 +4288,7 @@ const Ws = [
4273
4288
  value: "8",
4274
4289
  name: "结束是"
4275
4290
  }
4276
- ], Us = {
4291
+ ], Xs = {
4277
4292
  "button-edit": ["0", "1", " 6", "7", "8"],
4278
4293
  "check-box": ["0"],
4279
4294
  "combo-list": ["0", "1"],
@@ -4293,14 +4308,14 @@ const Ws = [
4293
4308
  "radio-group": ["0"],
4294
4309
  text: ["0", "1", " 6", "7", "8"]
4295
4310
  };
4296
- function Xs(e, t, n) {
4311
+ function Ys(e, t, n) {
4297
4312
  const { fieldMap: o } = n;
4298
4313
  function a(l) {
4299
4314
  const s = o.get(l.fieldCode);
4300
4315
  if (!s)
4301
4316
  return [];
4302
- const i = s.editor.type, f = new Set(Us[i]);
4303
- return Ws.filter((v) => f.has(v.value));
4317
+ const i = s.editor.type, f = new Set(Xs[i]);
4318
+ return Us.filter((v) => f.has(v.value));
4304
4319
  }
4305
4320
  return { getCompareOperators: a };
4306
4321
  }
@@ -4313,7 +4328,7 @@ function tn() {
4313
4328
  fieldCode: "",
4314
4329
  fieldName: "",
4315
4330
  compareType: en.Equal,
4316
- valueType: Zt.Value,
4331
+ valueType: Kt.Value,
4317
4332
  value: new Ut(),
4318
4333
  relation: 0,
4319
4334
  conditionId: Date.now()
@@ -4473,7 +4488,7 @@ function tn() {
4473
4488
  unGroup: b
4474
4489
  };
4475
4490
  }
4476
- function Ys(e, t, n) {
4491
+ function Js(e, t, n) {
4477
4492
  const o = c(/* @__PURE__ */ new Set()), a = c(/* @__PURE__ */ new Set()), { conditionGroupMap: l, groupParentMap: s } = n;
4478
4493
  let i, f;
4479
4494
  function u(m) {
@@ -4540,12 +4555,12 @@ const lt = /* @__PURE__ */ ae({
4540
4555
  unGroup: b
4541
4556
  } = u, {
4542
4557
  createConditionValue: C
4543
- } = Xt(), w = Ys(e, t, u), {
4558
+ } = Xt(), w = Js(e, t, u), {
4544
4559
  selectedItems: V,
4545
4560
  toggleSelect: S
4546
4561
  } = w, {
4547
4562
  getCompareOperators: B
4548
- } = Xs(e, t, a);
4563
+ } = Ys(e, t, a);
4549
4564
  f(!1), s.value = l(s.value), O(o.value);
4550
4565
  function g(D) {
4551
4566
  var R;
@@ -4593,7 +4608,7 @@ const lt = /* @__PURE__ */ ae({
4593
4608
  onChange: (A) => M(A, L)
4594
4609
  }, null)]), r("div", {
4595
4610
  class: "condition-list-item-control mr-3"
4596
- }, [r(ws, {
4611
+ }, [r(_s, {
4597
4612
  editor: (R = i.get(L.fieldCode)) == null ? void 0 : R.editor,
4598
4613
  showLabel: !1,
4599
4614
  modelValue: L.value.value,
@@ -4676,7 +4691,7 @@ const lt = /* @__PURE__ */ ae({
4676
4691
  lt.install = (e) => {
4677
4692
  e.component(Tt.name, Tt).component(lt.name, lt);
4678
4693
  };
4679
- const Ks = [
4694
+ const Qs = [
4680
4695
  "equal",
4681
4696
  "notEqual",
4682
4697
  "greaterThan",
@@ -4686,16 +4701,16 @@ const Ks = [
4686
4701
  "contain",
4687
4702
  "startWidth",
4688
4703
  "endWidth"
4689
- ], Js = {
4704
+ ], Zs = {
4690
4705
  equal: (e, t, n) => e && e[t] === n,
4691
4706
  notEqual: (e, t, n) => e && e[t] !== n,
4692
4707
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
4693
4708
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
4694
4709
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
4695
- }, Qs = {
4710
+ }, Ks = {
4696
4711
  equal: (e, t, n) => e && e[t] === n,
4697
4712
  notEqual: (e, t, n) => e && e[t] !== n
4698
- }, Zs = {
4713
+ }, er = {
4699
4714
  equal: (e, t, n) => {
4700
4715
  if (e) {
4701
4716
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -4738,10 +4753,10 @@ const Ks = [
4738
4753
  }
4739
4754
  return !1;
4740
4755
  }
4741
- }, er = {
4756
+ }, tr = {
4742
4757
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
4743
4758
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
4744
- }, tr = {
4759
+ }, nr = {
4745
4760
  equal: (e, t, n) => {
4746
4761
  if (e) {
4747
4762
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -4785,13 +4800,13 @@ const Ks = [
4785
4800
  return !1;
4786
4801
  }
4787
4802
  };
4788
- function nr() {
4803
+ function or() {
4789
4804
  const e = c([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = tn(), o = /* @__PURE__ */ new Map([
4790
- ["boolean", Qs],
4791
- ["datetime", Zs],
4792
- ["enum", er],
4793
- ["number", tr],
4794
- ["text", Js]
4805
+ ["boolean", Ks],
4806
+ ["datetime", er],
4807
+ ["enum", tr],
4808
+ ["number", nr],
4809
+ ["text", Zs]
4795
4810
  ]);
4796
4811
  function a(d) {
4797
4812
  t.delete(d), e.value = Array.from(t.values());
@@ -4800,7 +4815,7 @@ function nr() {
4800
4815
  t.clear(), e.value = [];
4801
4816
  }
4802
4817
  function s(d) {
4803
- const { valueType: p } = d.value, _ = d.compareType || "0", E = Ks[Number(_)];
4818
+ const { valueType: p } = d.value, _ = d.compareType || "0", E = Qs[Number(_)];
4804
4819
  return o.get(p)[E];
4805
4820
  }
4806
4821
  function i(d) {
@@ -4915,7 +4930,7 @@ function nn(e, t) {
4915
4930
  }
4916
4931
  return { collpaseGroupIconClass: N, generateGroupData: O, groupFields: l, shouldGroupingData: s, showGroupPanel: i };
4917
4932
  }
4918
- function or(e, t, n, o) {
4933
+ function ar(e, t, n, o) {
4919
4934
  const a = c(!!e.hierarchy), { idField: l } = o, { collapseField: s, hasChildrenField: i, parentIdField: f } = n, u = /* @__PURE__ */ new Map();
4920
4935
  function v(F, T) {
4921
4936
  const y = /* @__PURE__ */ new Map();
@@ -5030,11 +5045,11 @@ function or(e, t, n, o) {
5030
5045
  if (D) {
5031
5046
  const R = Array.from(D.children.keys()).indexOf(x.id);
5032
5047
  if (R === D.children.size - 1) {
5033
- const K = Array.from(D.descendant.values())[D.descendant.size - 1];
5034
- L = y.value.findIndex((ue) => ue[l.value] === K.id) + 1;
5048
+ const J = Array.from(D.descendant.values())[D.descendant.size - 1];
5049
+ L = y.value.findIndex((ue) => ue[l.value] === J.id) + 1;
5035
5050
  } else {
5036
- const K = Array.from(D.children.values())[R + 1];
5037
- L = y.value.findIndex((ue) => ue[l.value] === K.id);
5051
+ const J = Array.from(D.children.values())[R + 1];
5052
+ L = y.value.findIndex((ue) => ue[l.value] === J.id);
5038
5053
  }
5039
5054
  T[i.value] = !1, T[f.value] = D.id, y.value.splice(L, 0, T);
5040
5055
  }
@@ -5059,7 +5074,7 @@ function or(e, t, n, o) {
5059
5074
  }
5060
5075
  return { generateHierarchyData: B, hasRealChildren: V, insertSibling: g, insertChild: M, shouldStratifyData: a, trimmedOriginalData: k };
5061
5076
  }
5062
- const ar = {
5077
+ const lr = {
5063
5078
  showCloseButton: { type: Boolean, default: !0 },
5064
5079
  position: { type: String, default: "top-center" },
5065
5080
  timeout: { type: Number, default: 3e3 },
@@ -5071,13 +5086,13 @@ const ar = {
5071
5086
  id: { type: String },
5072
5087
  animate: { type: String, default: "fadeIn" },
5073
5088
  options: { type: Object }
5074
- }, lr = {
5089
+ }, sr = {
5075
5090
  showCloseButton: { type: Boolean, default: !0 },
5076
5091
  animate: { type: String, default: "fadeIn" },
5077
5092
  options: { type: Object }
5078
5093
  }, dt = /* @__PURE__ */ ae({
5079
5094
  name: "Toast",
5080
- props: lr,
5095
+ props: sr,
5081
5096
  emits: ["close", "click"],
5082
5097
  setup: (e, t) => {
5083
5098
  const n = c(e.animate), o = "fadeOut", a = P(() => e.options), l = c(!1), s = P(() => {
@@ -5102,7 +5117,7 @@ const ar = {
5102
5117
  function O(m) {
5103
5118
  return `f-preten-link ${m.customClass ? m.customClass : ""}`;
5104
5119
  }
5105
- Q(n, () => {
5120
+ Z(n, () => {
5106
5121
  n.value;
5107
5122
  });
5108
5123
  const N = () => {
@@ -5150,7 +5165,7 @@ const ar = {
5150
5165
  }
5151
5166
  }), He = /* @__PURE__ */ ae({
5152
5167
  name: "Notify",
5153
- props: ar,
5168
+ props: lr,
5154
5169
  emits: ["close", "empty"],
5155
5170
  setup(e, t) {
5156
5171
  const n = P(() => ({
@@ -5306,22 +5321,22 @@ class on {
5306
5321
  }), this.notifyRefs.length = 0;
5307
5322
  }
5308
5323
  }
5309
- const sr = Symbol("NOTIFY_SERVICE_TOKEN");
5324
+ const rr = Symbol("NOTIFY_SERVICE_TOKEN");
5310
5325
  He.install = (e) => {
5311
5326
  e.component(He.name, He), e.component(dt.name, dt);
5312
5327
  const t = new on();
5313
- e.provide(sr, t), e.provide("FNotifyService", t);
5328
+ e.provide(rr, t), e.provide("FNotifyService", t);
5314
5329
  };
5315
- function rr(e, t, n, o, a) {
5330
+ function ir(e, t, n, o, a) {
5316
5331
  var Ct;
5317
- const { pageSize: l, total: s, shouldRenderPagination: i, currentPage: f, mode: u } = a, v = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), O = c([]), N = c([]), m = nr(), h = nn(e, o), { generateGroupData: b, groupFields: C, shouldGroupingData: w } = h, V = c(e.data), S = or(e, V, n, o), {
5332
+ const { pageSize: l, total: s, shouldRenderPagination: i, currentPage: f, mode: u } = a, v = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), O = c([]), N = c([]), m = or(), h = nn(e, o), { generateGroupData: b, groupFields: C, shouldGroupingData: w } = h, V = c(e.data), S = ar(e, V, n, o), {
5318
5333
  generateHierarchyData: B,
5319
5334
  hasRealChildren: g,
5320
5335
  insertSibling: M,
5321
5336
  insertChild: k,
5322
5337
  shouldStratifyData: F,
5323
5338
  trimmedOriginalData: T
5324
- } = S, { idField: y, reviseIdentifyField: I } = o, $ = c(e.newDataItem), x = c(e.data), D = c(e.data), { flatTreeData: L } = xr(e);
5339
+ } = S, { idField: y, reviseIdentifyField: I } = o, $ = c(e.newDataItem), x = c(e.data), D = c(e.data), { flatTreeData: L } = Sr(e);
5325
5340
  function R(j) {
5326
5341
  return L(j);
5327
5342
  }
@@ -5329,7 +5344,7 @@ function rr(e, t, n, o, a) {
5329
5344
  const j = R(e.data);
5330
5345
  V.value = j, x.value = j, D.value = j;
5331
5346
  }
5332
- const A = c(e.summary), K = P(() => {
5347
+ const A = c(e.summary), J = P(() => {
5333
5348
  const j = A.value;
5334
5349
  return (j == null ? void 0 : j.groupFields) || [];
5335
5350
  });
@@ -5338,21 +5353,21 @@ function rr(e, t, n, o, a) {
5338
5353
  var j;
5339
5354
  return ((j = x.value) == null ? void 0 : j.length) || 0;
5340
5355
  }), xe = c(e.pagination), Ie = new on(), ge = P(() => e.hierarchy ? 0 : i.value ? u.value === "server" ? 0 : (f.value - 1) * l.value : 0), Pe = P(() => i.value ? u.value === "server" ? Math.min(l.value, ue.value) : Math.min(ge.value + l.value, s.value, ue.value) : ue.value);
5341
- Q(() => V.value.length, (j, X) => {
5356
+ Z(() => V.value.length, (j, X) => {
5342
5357
  j !== X && (s.value = j);
5343
5358
  });
5344
5359
  function Me() {
5345
5360
  var fe, Ve;
5346
- x.value = _e(V.value), w.value && (x.value = b(C.value, V.value, t)), ee = K.value.reduce((be, te) => (be.set(te, 0), be), ee);
5361
+ x.value = be(V.value), w.value && (x.value = b(C.value, V.value, t)), ee = J.value.reduce((Ce, te) => (Ce.set(te, 0), Ce), ee);
5347
5362
  const j = ge.value, X = Pe.value;
5348
- let J = 0;
5363
+ let Q = 0;
5349
5364
  const se = [];
5350
5365
  if ((fe = x.value) != null && fe.length) {
5351
5366
  I(x.value);
5352
- const be = y.value !== e.idField;
5367
+ const Ce = y.value !== e.idField;
5353
5368
  for (let te = j; te < X; te++) {
5354
5369
  const ne = x.value[te];
5355
- ne.__fv_data_grid_group_row__ ? (J = 0, ne.__fv_data_index__ = "") : ne.__fv_data_grid_group_summary__ ? ne.__fv_data_index__ = "" : (ne.__fv_disabled__ = ne[((Ve = e.rowOption) == null ? void 0 : Ve.disabledField) || "disabled"], J++, i.value ? ne.__fv_data_index__ = J + (f.value - 1) * l.value : ne.__fv_data_index__ = J), ne.__fv_index__ = te, be && (ne[y.value] = te), K.value.forEach((pe) => {
5370
+ ne.__fv_data_grid_group_row__ ? (Q = 0, ne.__fv_data_index__ = "") : ne.__fv_data_grid_group_summary__ ? ne.__fv_data_index__ = "" : (ne.__fv_disabled__ = ne[((Ve = e.rowOption) == null ? void 0 : Ve.disabledField) || "disabled"], Q++, i.value ? ne.__fv_data_index__ = Q + (f.value - 1) * l.value : ne.__fv_data_index__ = Q), ne.__fv_index__ = te, Ce && (ne[y.value] = te), J.value.forEach((pe) => {
5356
5371
  const Re = ee.get(pe) || 0;
5357
5372
  ee.set(pe, Re + ne[pe]);
5358
5373
  }), se.push(ne);
@@ -5361,8 +5376,8 @@ function rr(e, t, n, o, a) {
5361
5376
  return F.value && B(se), D.value = [...se], se;
5362
5377
  }
5363
5378
  const de = c(Me());
5364
- function ce(j, X, J = !1) {
5365
- const fe = (J ? Me() : [...D.value]).filter((te) => m.apply(te)), Ve = j && j.length ? fe.filter((te) => j.reduce((ne, pe) => ne && pe.filter(te), !0)) : fe, be = X && X.length ? Ve.sort((te, ne) => {
5379
+ function ce(j, X, Q = !1) {
5380
+ const fe = (Q ? Me() : [...D.value]).filter((te) => m.apply(te)), Ve = j && j.length ? fe.filter((te) => j.reduce((ne, pe) => ne && pe.filter(te), !0)) : fe, Ce = X && X.length ? Ve.sort((te, ne) => {
5366
5381
  const pe = [...X], Re = pe.shift();
5367
5382
  let et = Re.compare(te[Re.field], ne[Re.field]);
5368
5383
  for (; et === 0 && pe.length !== 0; ) {
@@ -5371,7 +5386,7 @@ function rr(e, t, n, o, a) {
5371
5386
  }
5372
5387
  return et;
5373
5388
  }) : Ve;
5374
- return de.value = be.map((te, ne) => {
5389
+ return de.value = Ce.map((te, ne) => {
5375
5390
  if (te.__fv_data_grid_group_row__) {
5376
5391
  const pe = `group_of_${te.__fv_data_grid_group_field__}_${te.__fv_data_grid_group_value__}`;
5377
5392
  te.__fv_data_grid_group_collapse__ = !!v.get(pe);
@@ -5380,7 +5395,7 @@ function rr(e, t, n, o, a) {
5380
5395
  }), de.value;
5381
5396
  }
5382
5397
  function Le(j) {
5383
- return E.clear(), N.value = j, N.value.reduce((X, J) => (X.set(J.field, J), X), E), ce([], N.value);
5398
+ return E.clear(), N.value = j, N.value.reduce((X, Q) => (X.set(Q.field, Q), X), E), ce([], N.value);
5384
5399
  }
5385
5400
  function Ue(j, X) {
5386
5401
  return E.set(j, X), N.value = Array.from(E.values()), ce([], N.value);
@@ -5397,9 +5412,9 @@ function rr(e, t, n, o, a) {
5397
5412
  function Ye() {
5398
5413
  return d.clear(), O.value = [], ce([], Array.from(E.values()), !0);
5399
5414
  }
5400
- function Ke(j, X) {
5401
- const J = `group_of_${j}_${X}`;
5402
- v.set(J, !0);
5415
+ function Je(j, X) {
5416
+ const Q = `group_of_${j}_${X}`;
5417
+ v.set(Q, !0);
5403
5418
  const se = (fe) => fe[j] !== X;
5404
5419
  return p.set(`collapse_${j}_${X}`, {
5405
5420
  field: j,
@@ -5409,25 +5424,25 @@ function rr(e, t, n, o, a) {
5409
5424
  filter: se
5410
5425
  }), ce(Array.from(p.values()), Array.from(E.values()));
5411
5426
  }
5412
- function Je(j, X) {
5413
- const J = `group_of_${j}_${X}`;
5414
- return v.set(J, !1), p.delete(`collapse_${j}_${X}`), ce(Array.from(p.values()), Array.from(E.values()), !0);
5427
+ function Qe(j, X) {
5428
+ const Q = `group_of_${j}_${X}`;
5429
+ return v.set(Q, !1), p.delete(`collapse_${j}_${X}`), ce(Array.from(p.values()), Array.from(E.values()), !0);
5415
5430
  }
5416
- function Qe(j) {
5417
- const X = j.raw[y.value], J = (se) => !se.__fv_parents__.has(X);
5431
+ function Ze(j) {
5432
+ const X = j.raw[y.value], Q = (se) => !se.__fv_parents__.has(X);
5418
5433
  _.set(`fold_${X}`, {
5419
5434
  field: "id",
5420
5435
  fieldName: "id",
5421
5436
  fieldType: "string",
5422
5437
  filterValue: String(X),
5423
- filter: J
5438
+ filter: Q
5424
5439
  }), ce(Array.from(_.values()), Array.from(E.values())), B(de.value);
5425
5440
  }
5426
5441
  function H(j) {
5427
5442
  const X = j[y.value];
5428
5443
  _.delete(`fold_${X}`);
5429
5444
  }
5430
- function Z(j) {
5445
+ function K(j) {
5431
5446
  H(j.raw), ce(Array.from(_.values()), Array.from(E.values()), !0), B(de.value);
5432
5447
  }
5433
5448
  function le() {
@@ -5437,39 +5452,39 @@ function rr(e, t, n, o, a) {
5437
5452
  function Be(j) {
5438
5453
  var X;
5439
5454
  if (j && ((X = j[0]) != null && X.children)) {
5440
- const J = R(j);
5441
- V.value = J, x.value = J, D.value = J;
5455
+ const Q = R(j);
5456
+ V.value = Q, x.value = Q, D.value = Q;
5442
5457
  } else
5443
5458
  V.value = j, x.value = j, D.value = j;
5444
5459
  le();
5445
5460
  }
5446
- function Ze(j, X, J) {
5447
- return (j && j.length ? de.value.filter((fe, Ve) => j.reduce((be, te) => be && te.filter(fe), !0)) : de.value).slice(X, J);
5461
+ function Ke(j, X, Q) {
5462
+ return (j && j.length ? de.value.filter((fe, Ve) => j.reduce((Ce, te) => Ce && te.filter(fe), !0)) : de.value).slice(X, Q);
5448
5463
  }
5449
5464
  function sn(j) {
5450
5465
  (j - 1) * l.value <= ue.value && le();
5451
5466
  }
5452
5467
  function rn(j) {
5453
- V.value.push(_e(j)), de.value = Me();
5468
+ V.value.push(be(j)), de.value = Me();
5454
5469
  }
5455
5470
  function un(j = 0) {
5456
5471
  if (!(j > -1))
5457
5472
  return !1;
5458
- const J = $.value();
5459
- e.hierarchy ? M(j, J, V) : V.value.splice(j, 0, J), le();
5473
+ const Q = $.value();
5474
+ e.hierarchy ? M(j, Q, V) : V.value.splice(j, 0, Q), le();
5460
5475
  }
5461
5476
  function cn(j = 0) {
5462
5477
  if (!(j > -1 && e.hierarchy))
5463
5478
  return !1;
5464
- const J = $.value(), se = V.value[j];
5465
- H(se), k(j, J, V), le();
5479
+ const Q = $.value(), se = V.value[j];
5480
+ H(se), k(j, Q, V), le();
5466
5481
  }
5467
5482
  function dn(j) {
5468
5483
  const X = j ? j - 1 : 0;
5469
5484
  V.value.splice(X, 1), le();
5470
5485
  }
5471
5486
  function fn(j) {
5472
- const X = V.value.findIndex((J) => J[y.value] === j);
5487
+ const X = V.value.findIndex((Q) => Q[y.value] === j);
5473
5488
  X !== -1 && (V.value.splice(X, 1), le());
5474
5489
  }
5475
5490
  function pn(j) {
@@ -5486,8 +5501,8 @@ function rr(e, t, n, o, a) {
5486
5501
  xe.value && (xe.value.size = j, le());
5487
5502
  }
5488
5503
  function hn(j, X) {
5489
- const J = V.value[Number(j) - 1];
5490
- J.editable !== !1 ? (J.name = X, le()) : Ie.show({
5504
+ const Q = V.value[Number(j) - 1];
5505
+ Q.editable !== !1 ? (Q.name = X, le()) : Ie.show({
5491
5506
  showCloseButton: !1,
5492
5507
  timeout: 3e3,
5493
5508
  animate: "fadeIn",
@@ -5495,23 +5510,23 @@ function rr(e, t, n, o, a) {
5495
5510
  });
5496
5511
  }
5497
5512
  function gn(j) {
5498
- return j.map((J) => {
5499
- const se = D.value.findIndex((fe) => fe[y.value] === J);
5513
+ return j.map((Q) => {
5514
+ const se = D.value.findIndex((fe) => fe[y.value] === Q);
5500
5515
  return se > -1 ? D.value[se] : null;
5501
- }).filter((J) => J != null);
5516
+ }).filter((Q) => Q != null);
5502
5517
  }
5503
5518
  return {
5504
5519
  addFilter: De,
5505
5520
  addNewDataItem: rn,
5506
5521
  addSorter: Ue,
5507
5522
  changePageSizeTo: vn,
5508
- collapse: Ke,
5523
+ collapse: Je,
5509
5524
  dataView: de,
5510
5525
  editDataItem: hn,
5511
- expand: Je,
5526
+ expand: Qe,
5512
5527
  filters: O,
5513
- fold: Qe,
5514
- getRange: Ze,
5528
+ fold: Ze,
5529
+ getRange: Ke,
5515
5530
  getSelectionItems: gn,
5516
5531
  hasRealChildren: g,
5517
5532
  load: Be,
@@ -5531,13 +5546,13 @@ function rr(e, t, n, o, a) {
5531
5546
  setSorters: Le,
5532
5547
  sorters: N,
5533
5548
  updateDataView: le,
5534
- unFold: Z,
5549
+ unFold: K,
5535
5550
  startIndex: ge,
5536
5551
  endIndex: Pe,
5537
5552
  originalData: V
5538
5553
  };
5539
5554
  }
5540
- function ir(e) {
5555
+ function ur(e) {
5541
5556
  c(e.selection.showCheckbox || !1);
5542
5557
  const t = P(() => {
5543
5558
  var s;
@@ -5551,7 +5566,7 @@ function ir(e) {
5551
5566
  }), a = P(() => e.hierarchy && e.selection.showCheckbox), l = P(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
5552
5567
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: l };
5553
5568
  }
5554
- function ur(e, t, n, o, a, l, s, i) {
5569
+ function cr(e, t, n, o, a, l, s, i) {
5555
5570
  const f = c(o.value - 1 + a), u = c(0), { renderDataRow: v } = l, d = s ? s.renderGroupRow : v, p = i ? i.renderSummaryRow : v;
5556
5571
  function _(N) {
5557
5572
  let m = v;
@@ -5576,7 +5591,7 @@ function ur(e, t, n, o, a, l, s, i) {
5576
5591
  }
5577
5592
  return { getVisualData: E, maxVisibleRowIndex: f, minVisibleRowIndex: u, toggleGroupRow: O };
5578
5593
  }
5579
- function cr() {
5594
+ function dr() {
5580
5595
  function e(t, n) {
5581
5596
  const {
5582
5597
  formatter: o
@@ -5587,7 +5602,7 @@ function cr() {
5587
5602
  renderEnumColumn: e
5588
5603
  };
5589
5604
  }
5590
- function dr() {
5605
+ function fr() {
5591
5606
  function e(o, a) {
5592
5607
  return o ? r("span", {
5593
5608
  innerHTML: a.formatter.trueText
@@ -5612,7 +5627,7 @@ function dr() {
5612
5627
  renderBooleanColumn: n
5613
5628
  };
5614
5629
  }
5615
- function fr() {
5630
+ function pr() {
5616
5631
  const {
5617
5632
  formatTo: e
5618
5633
  } = Lo();
@@ -5627,7 +5642,7 @@ function fr() {
5627
5642
  renderDateColumn: n
5628
5643
  };
5629
5644
  }
5630
- function pr() {
5645
+ function mr() {
5631
5646
  const {
5632
5647
  formatTo: e
5633
5648
  } = jo();
@@ -5651,16 +5666,16 @@ function pr() {
5651
5666
  renderNumberColumn: n
5652
5667
  };
5653
5668
  }
5654
- function mr() {
5669
+ function vr() {
5655
5670
  const {
5656
5671
  renderBooleanColumn: e
5657
- } = dr(), {
5672
+ } = fr(), {
5658
5673
  renderEnumColumn: t
5659
- } = cr(), {
5674
+ } = dr(), {
5660
5675
  renderNumberColumn: n
5661
- } = pr(), {
5676
+ } = mr(), {
5662
5677
  renderDateColumn: o
5663
- } = fr();
5678
+ } = pr();
5664
5679
  function a(i) {
5665
5680
  return i;
5666
5681
  }
@@ -5680,9 +5695,9 @@ function mr() {
5680
5695
  renderFormatColumn: s
5681
5696
  };
5682
5697
  }
5683
- function vr(e, t, n) {
5698
+ function hr(e, t, n) {
5684
5699
  var N;
5685
- const o = c(e.mergeCell), l = ((N = c(e.rowOption).value) == null ? void 0 : N.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: i } = hl(), { renderFormatColumn: f } = mr();
5700
+ const o = c(e.mergeCell), l = ((N = c(e.rowOption).value) == null ? void 0 : N.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: i } = gl(), { renderFormatColumn: f } = vr();
5686
5701
  function u(m, h, b, C, w, V = 1) {
5687
5702
  const S = {
5688
5703
  colSpan: V,
@@ -5742,7 +5757,7 @@ function vr(e, t, n) {
5742
5757
  }
5743
5758
  return { createCellByColumn: O, createCellByField: u };
5744
5759
  }
5745
- function hr(e, t, n, o, a, l) {
5760
+ function gr(e, t, n, o, a, l) {
5746
5761
  var m, h;
5747
5762
  const s = c(e.rowOption), i = ((m = s.value) == null ? void 0 : m.height) || 28, f = ((h = s.value) == null ? void 0 : h.wrapContent) || !1, { idField: u } = o, { collapseField: v } = n, { updateRowPosition: d } = a, { createCellByColumn: p } = l;
5748
5763
  function _(b, C, w, V, S, B, g) {
@@ -5753,7 +5768,7 @@ function hr(e, t, n, o, a, l) {
5753
5768
  __fv_data_index__: F
5754
5769
  } = w, T = w.__fv_data_grid_group_layer__ || (w.__fv_parents__ ? (ue = w.__fv_parents__) == null ? void 0 : ue.size : 0) || 0, y = typeof w.parent == "number" ? Number(w.parent) : -1, I = w.__fv_data_grid_group_collapse__ || w[v.value], $ = w.__fv_visible__ === void 0 ? !0 : w.__fv_visible__, x = w.__fv_checked__, D = w.__fv_indeterminate__, L = w.__fv_disabled__ || w[((xe = e.rowOption) == null ? void 0 : xe.disabledField) || "disabled"], R = g == null ? void 0 : g.find((ge) => ge.raw[u.value] === w.parent), A = R && R.collapse;
5755
5770
  V && (V.parent, w.parent);
5756
- const K = A || R && !R.visible, ee = {
5771
+ const J = A || R && !R.visible, ee = {
5757
5772
  collapse: I,
5758
5773
  data: {},
5759
5774
  dataIndex: F,
@@ -5772,7 +5787,7 @@ function hr(e, t, n, o, a, l) {
5772
5787
  setRef: (ge) => {
5773
5788
  ee.ref = ge;
5774
5789
  },
5775
- visible: $ && !K,
5790
+ visible: $ && !J,
5776
5791
  status: he.initial
5777
5792
  };
5778
5793
  return V || (w.__fv_data_position__ = 0), f || (ee.height = i, w.__fv_data_height__ = ee.height, d(ee, w)), (Ie = s.value) != null && Ie.customRowStatus && (s.value.customRowStatus(ee), w.__fv_collapse__ = ee.collapse, w.__fv_visible__ = ee.visible, w.__fv_disabled__ = ee.disabled), ee;
@@ -5800,7 +5815,7 @@ function hr(e, t, n, o, a, l) {
5800
5815
  }
5801
5816
  return { createEmptyRow: _, createNewRowFromDataItem: E, renderDataRow: N };
5802
5817
  }
5803
- function gr(e, t, n, o) {
5818
+ function yr(e, t, n, o) {
5804
5819
  const a = c(e.summary), { idField: l } = t, { createCellByField: s } = n, { createEmptyRow: i } = o, f = P(() => {
5805
5820
  const p = a.value;
5806
5821
  return (p == null ? void 0 : p.groupFields) || [];
@@ -5828,7 +5843,7 @@ function gr(e, t, n, o) {
5828
5843
  }
5829
5844
  return { renderGroupRow: d };
5830
5845
  }
5831
- function yr(e, t, n, o) {
5846
+ function br(e, t, n, o) {
5832
5847
  const { idField: a } = t, { createCellByField: l } = n, { createEmptyRow: s } = o;
5833
5848
  function i(f, u, v, d, p, _, E) {
5834
5849
  const O = f.__fv_data_grid_group_field__, N = s(We.summary, d, f, u, v, p);
@@ -5836,14 +5851,14 @@ function yr(e, t, n, o) {
5836
5851
  }
5837
5852
  return { renderSummaryRow: i };
5838
5853
  }
5839
- function br(e, t, n) {
5854
+ function Cr(e, t, n) {
5840
5855
  var B;
5841
5856
  const {
5842
5857
  idField: o
5843
5858
  } = n, a = c(e.editable), l = c(e.editOption), s = c(((B = e.rowOption) == null ? void 0 : B.wrapContent) || !1);
5844
- Q(() => e.editable, () => {
5859
+ Z(() => e.editable, () => {
5845
5860
  a.value = e.editable;
5846
- }), Q(() => {
5861
+ }), Z(() => {
5847
5862
  var g;
5848
5863
  return (g = e.editOption) == null ? void 0 : g.editMode;
5849
5864
  }, (g) => {
@@ -5920,7 +5935,7 @@ function br(e, t, n) {
5920
5935
  getEditor: S
5921
5936
  };
5922
5937
  }
5923
- function Cr(e) {
5938
+ function wr(e) {
5924
5939
  const t = c(e.idField);
5925
5940
  function n(o) {
5926
5941
  if (o && o.length) {
@@ -5930,17 +5945,17 @@ function Cr(e) {
5930
5945
  }
5931
5946
  return { idField: t, reviseIdentifyField: n };
5932
5947
  }
5933
- function wr(e, t, n, o, a) {
5948
+ function _r(e, t, n, o, a) {
5934
5949
  const { idField: l } = n, s = c(""), i = P(() => e.selection.enableSelectRow), f = c(e.selection.multiSelect ?? !1), u = c(e.selection.multiSelectMode), v = c(e.selection.showCheckbox), d = c(e.selection.showSelectAll), p = c(e.selectionValues);
5935
- Q(() => e.selection.showSelectAll, (R, A) => {
5950
+ Z(() => e.selection.showSelectAll, (R, A) => {
5936
5951
  R !== A && (d.value = R);
5937
5952
  });
5938
5953
  function _() {
5939
5954
  return t.getSelectionItems(p.value);
5940
5955
  }
5941
5956
  function E() {
5942
- const R = o.value.reduce((K, ee) => (K.set(ee.raw[l.value], ee), K), /* @__PURE__ */ new Map());
5943
- return p.value.map((K) => R.get(K)).filter((K) => !!K);
5957
+ const R = o.value.reduce((J, ee) => (J.set(ee.raw[l.value], ee), J), /* @__PURE__ */ new Map());
5958
+ return p.value.map((J) => R.get(J)).filter((J) => !!J);
5944
5959
  }
5945
5960
  const O = P(() => i.value && f.value), N = P(() => !!e.hierarchy), m = P(() => {
5946
5961
  const R = v.value && u.value === "DependOnCheck";
@@ -5958,11 +5973,11 @@ function wr(e, t, n, o, a) {
5958
5973
  A.checked = !0, A.raw.__fv_checked__ = !0;
5959
5974
  });
5960
5975
  }
5961
- Q(() => o.value, () => {
5976
+ Z(() => o.value, () => {
5962
5977
  w();
5963
- }), Q(() => e.selectionValues, (R) => {
5978
+ }), Z(() => e.selectionValues, (R) => {
5964
5979
  p.value = R, w();
5965
- }, { immediate: !0 }), Q(() => e.selection, (R) => {
5980
+ }, { immediate: !0 }), Z(() => e.selection, (R) => {
5966
5981
  f.value = !!R.multiSelect, u.value = R.multiSelectMode || "DependOnCheck", v.value = !!R.showCheckbox;
5967
5982
  });
5968
5983
  const V = P(() => !f.value);
@@ -5970,28 +5985,28 @@ function wr(e, t, n, o, a) {
5970
5985
  return R.raw[l.value] || "";
5971
5986
  }
5972
5987
  function B(R) {
5973
- return p.value.findIndex((K) => K === S(R));
5988
+ return p.value.findIndex((J) => J === S(R));
5974
5989
  }
5975
5990
  function g() {
5976
- E().forEach((K) => {
5977
- K.checked = !1;
5978
- }), t.getSelectionItems(p.value).forEach((K) => {
5979
- K.__fv_checked__ = !1;
5991
+ E().forEach((J) => {
5992
+ J.checked = !1;
5993
+ }), t.getSelectionItems(p.value).forEach((J) => {
5994
+ J.__fv_checked__ = !1;
5980
5995
  }), p.value = [], s.value = "";
5981
5996
  }
5982
5997
  function M(R) {
5983
5998
  const A = R.raw;
5984
5999
  A.__fv_checked__ = !0, A.__fv_indeterminate__ = !1;
5985
- const K = new Set(p.value);
5986
- K.add(A[l.value]), p.value = Array.from(K.values()), R.checked = !0, R.indeterminate = !1, s.value = R.raw[l.value];
6000
+ const J = new Set(p.value);
6001
+ J.add(A[l.value]), p.value = Array.from(J.values()), R.checked = !0, R.indeterminate = !1, s.value = R.raw[l.value];
5987
6002
  }
5988
6003
  function k(R) {
5989
6004
  const A = R.raw;
5990
- A.__fv_checked__ = !1, A.__fv_indeterminate__ = !1, p.value = p.value.filter((K) => K !== A[l.value]), R.checked = !1, R.indeterminate = !1, s.value = "";
6005
+ A.__fv_checked__ = !1, A.__fv_indeterminate__ = !1, p.value = p.value.filter((J) => J !== A[l.value]), R.checked = !1, R.indeterminate = !1, s.value = "";
5991
6006
  }
5992
6007
  function F(R) {
5993
6008
  const A = R.raw;
5994
- A.__fv_checked__ = !1, A.__fv_indeterminate__ = !0, p.value = p.value.filter((K) => K !== A[l.value]), R.checked = !1, R.indeterminate = !0;
6009
+ A.__fv_checked__ = !1, A.__fv_indeterminate__ = !0, p.value = p.value.filter((J) => J !== A[l.value]), R.checked = !1, R.indeterminate = !0;
5995
6010
  }
5996
6011
  function T(R) {
5997
6012
  V.value && g(), R.checked ? k(R) : M(R), C();
@@ -6000,13 +6015,13 @@ function wr(e, t, n, o, a) {
6000
6015
  R.raw[l.value] !== s.value && (g(), M(R), C());
6001
6016
  }
6002
6017
  function I(R) {
6003
- const A = o.value.find((K) => K.raw[l.value] === R);
6018
+ const A = o.value.find((J) => J.raw[l.value] === R);
6004
6019
  A && y(A);
6005
6020
  }
6006
6021
  function $(R) {
6007
- const A = o.value.filter((K) => R.includes(K.raw[l.value]));
6008
- A && A.length && (g(), A.forEach((K) => {
6009
- M(K);
6022
+ const A = o.value.filter((J) => R.includes(J.raw[l.value]));
6023
+ A && A.length && (g(), A.forEach((J) => {
6024
+ M(J);
6010
6025
  }), C());
6011
6026
  }
6012
6027
  function x() {
@@ -6048,13 +6063,13 @@ function wr(e, t, n, o, a) {
6048
6063
  unSelectAll: D
6049
6064
  };
6050
6065
  }
6051
- function Ce(e) {
6066
+ function we(e) {
6052
6067
  return typeof e > "u";
6053
6068
  }
6054
- function _r(e) {
6069
+ function xr(e) {
6055
6070
  var d, p, _, E, O, N, m, h;
6056
6071
  const t = c((d = e.pagination) == null ? void 0 : d.enable), n = c(((p = e.pagination) == null ? void 0 : p.index) || 1), o = c((_ = e.pagination) == null ? void 0 : _.size), a = c((E = e.pagination) == null ? void 0 : E.sizeLimits), l = c((O = e.pagination) == null ? void 0 : O.mode), s = c((N = e.pagination) == null ? void 0 : N.showIndex), i = c((m = e.pagination) == null ? void 0 : m.showLimits), f = c(((h = e.pagination) == null ? void 0 : h.total) || 0), u = c(f.value || e.data.length || 0);
6057
- return Q(() => {
6072
+ return Z(() => {
6058
6073
  var b;
6059
6074
  return (b = e.pagination) == null ? void 0 : b.sizeLimits;
6060
6075
  }, (b, C) => {
@@ -6062,22 +6077,22 @@ function _r(e) {
6062
6077
  }, {
6063
6078
  immediate: !0,
6064
6079
  deep: !0
6065
- }), Q(() => {
6080
+ }), Z(() => {
6066
6081
  var b;
6067
6082
  return (b = e.pagination) == null ? void 0 : b.showIndex;
6068
6083
  }, (b, C) => {
6069
6084
  b !== C && (s.value = b);
6070
- }), Q(() => {
6085
+ }), Z(() => {
6071
6086
  var b;
6072
6087
  return (b = e.pagination) == null ? void 0 : b.showLimits;
6073
6088
  }, (b, C) => {
6074
6089
  b !== C && (i.value = b);
6075
- }), Q(() => {
6090
+ }), Z(() => {
6076
6091
  var b;
6077
6092
  return (b = e.pagination) == null ? void 0 : b.total;
6078
6093
  }, (b, C) => {
6079
6094
  b !== C && (f.value = b, u.value = b);
6080
- }), Q(() => {
6095
+ }), Z(() => {
6081
6096
  var b;
6082
6097
  return (b = e.pagination) == null ? void 0 : b.enable;
6083
6098
  }, (b, C) => {
@@ -6096,20 +6111,20 @@ function _r(e) {
6096
6111
  if (!b)
6097
6112
  return;
6098
6113
  const { enable: C, total: w, size: V, index: S, sizeLimits: B, showIndex: g, showLimits: M, mode: k } = b;
6099
- Ce(C) || (t.value = C), Ce(S) || (n.value = S), Ce(V) || (o.value = V), Ce(B) || (a.value = B), Ce(g) || (s.value = g), Ce(M) || (i.value = M), Ce(w) || (f.value = w), Ce(k) || (l.value = k);
6114
+ we(C) || (t.value = C), we(S) || (n.value = S), we(V) || (o.value = V), we(B) || (a.value = B), we(g) || (s.value = g), we(M) || (i.value = M), we(w) || (f.value = w), we(k) || (l.value = k);
6100
6115
  }
6101
6116
  };
6102
6117
  }
6103
- function xr(e) {
6118
+ function Sr(e) {
6104
6119
  const t = "parent", n = "layer", o = "hasChildren", a = (l, s = 1, i = [], f = null) => (l = l || [], l.reduce((u, v) => (v.id = v.id || v.data[e.idField], v[t] = f, v[n] = s, v[o] = !1, v = { ...v, ...v.data }, i.push(v), v.children && v.children.length && (v[o] = !0, a(v.children, s + 1, i, v.id)), u), i), i);
6105
6120
  return { flatTreeData: a };
6106
6121
  }
6107
- const Sr = /* @__PURE__ */ ae({
6122
+ const kr = /* @__PURE__ */ ae({
6108
6123
  name: "FListViewDesign",
6109
6124
  props: qe,
6110
6125
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
6111
6126
  setup(e, t) {
6112
- const n = c(), o = c(!0), a = c(!1), l = c([]), s = 0, i = c(e.columns), f = Cr(e), u = ir(e), v = nn(e, f), d = _r(e), p = rr(e, /* @__PURE__ */ new Map(), u, f, d), _ = wr(e, p, f, l, t), E = zt(e, n), O = c(), N = ke("design-item-context"), m = gt(O, N), h = P(() => p.dataView.value.length), b = br(e, t, f), C = vl(), w = vr(e, {}, C), V = hr(e, b, u, f, C, w), S = gr(e, f, w, V), B = yr(e, f, w, V), g = ur(e, i, p, h, s, V, S, B), {
6127
+ const n = c(), o = c(!0), a = c(!1), l = c([]), s = 0, i = c(e.columns), f = wr(e), u = ur(e), v = nn(e, f), d = xr(e), p = ir(e, /* @__PURE__ */ new Map(), u, f, d), _ = _r(e, p, f, l, t), E = zt(e, n), O = c(), N = ke("design-item-context"), m = gt(O, N), h = P(() => p.dataView.value.length), b = Cr(e, t, f), C = hl(), w = hr(e, {}, C), V = gr(e, b, u, f, C, w), S = yr(e, f, w, V), B = br(e, f, w, V), g = cr(e, i, p, h, s, V, S, B), {
6113
6128
  getVisualData: M
6114
6129
  } = g;
6115
6130
  l.value = M(0, h.value + s - 1), me(() => {
@@ -6223,7 +6238,7 @@ const Sr = /* @__PURE__ */ ae({
6223
6238
  }, [l.date])])])])]))]);
6224
6239
  };
6225
6240
  }
6226
- }), kr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-design.gitee.io/list-view-table.schema.json", Fr = "list-view-table", Er = "A Farris Component", Ir = "object", Mr = {
6241
+ }), Tr = "https://json-schema.org/draft/2020-12/schema", Fr = "https://farris-design.gitee.io/list-view-table.schema.json", Er = "list-view-table", Ir = "A Farris Component", Mr = "object", Br = {
6227
6242
  id: {
6228
6243
  description: "The unique identifier for list-view-table",
6229
6244
  type: "string"
@@ -6285,18 +6300,18 @@ const Sr = /* @__PURE__ */ ae({
6285
6300
  type: "boolean",
6286
6301
  default: !0
6287
6302
  }
6288
- }, Br = [
6303
+ }, Vr = [
6289
6304
  "id",
6290
6305
  "type"
6291
- ], Vr = {
6292
- $schema: kr,
6293
- $id: Tr,
6294
- title: Fr,
6295
- description: Er,
6296
- type: Ir,
6297
- properties: Mr,
6298
- required: Br
6299
- }, Or = "list-view-table", Dr = "A Farris Component", Nr = "object", Rr = {
6306
+ ], Or = {
6307
+ $schema: Tr,
6308
+ $id: Fr,
6309
+ title: Er,
6310
+ description: Ir,
6311
+ type: Mr,
6312
+ properties: Br,
6313
+ required: Vr
6314
+ }, Dr = "list-view-table", Nr = "A Farris Component", Rr = "object", $r = {
6300
6315
  basic: {
6301
6316
  description: "Basic Infomation",
6302
6317
  title: "基本信息",
@@ -6318,14 +6333,14 @@ const Sr = /* @__PURE__ */ ae({
6318
6333
  }
6319
6334
  }
6320
6335
  }
6321
- }, $r = {
6322
- title: Or,
6323
- description: Dr,
6324
- type: Nr,
6325
- categories: Rr
6336
+ }, Pr = {
6337
+ title: Dr,
6338
+ description: Nr,
6339
+ type: Rr,
6340
+ categories: $r
6326
6341
  }, an = {
6327
6342
  data: { type: Array, default: [] }
6328
- }, ln = Ee(an, Vr, jt, At, $r), Pr = /* @__PURE__ */ ae({
6343
+ }, ln = Ee(an, Or, jt, At, Pr), Lr = /* @__PURE__ */ ae({
6329
6344
  name: "FListViewTableDesign",
6330
6345
  props: an,
6331
6346
  emits: ["outputValue", "currentEvent", "selectionChanged"],
@@ -6427,9 +6442,9 @@ Fe.register = (e, t, n) => {
6427
6442
  e["list-view"] = Fe, t["list-view"] = Ht, e["list-view-table"] = ft, t["list-view-table"] = ln;
6428
6443
  };
6429
6444
  Fe.registerDesigner = (e, t, n) => {
6430
- e["list-view"] = Sr, t["list-view"] = Ht, e["list-view-table"] = Pr, t["list-view-table"] = ln;
6445
+ e["list-view"] = kr, t["list-view"] = Ht, e["list-view-table"] = Lr, t["list-view-table"] = ln;
6431
6446
  };
6432
- const Lr = /* @__PURE__ */ ae({
6447
+ const jr = /* @__PURE__ */ ae({
6433
6448
  name: "FImportExteranlSchema",
6434
6449
  emits: ["close", "submit"],
6435
6450
  setup(e, t) {
@@ -6486,14 +6501,14 @@ const Lr = /* @__PURE__ */ ae({
6486
6501
  class: "f-import-exteranl-component-button-center"
6487
6502
  }, [re("引入组件")])])]);
6488
6503
  }
6489
- }), jr = /* @__PURE__ */ ae({
6504
+ }), Ar = /* @__PURE__ */ ae({
6490
6505
  name: "FExternalContainerDesign",
6491
6506
  props: ht,
6492
6507
  emits: [],
6493
6508
  setup(e, t) {
6494
6509
  const n = c();
6495
6510
  ke("designer-host-service");
6496
- const o = ke("design-item-context"), a = Ra(), l = gt(n, o, a);
6511
+ const o = ke("design-item-context"), a = $a(), l = gt(n, o, a);
6497
6512
  me(() => {
6498
6513
  n.value.componentInstance = l;
6499
6514
  }), t.expose(l.value);
@@ -6505,10 +6520,10 @@ const Lr = /* @__PURE__ */ ae({
6505
6520
  }, null);
6506
6521
  }
6507
6522
  function u(d) {
6508
- s.value = Ha;
6523
+ s.value = za;
6509
6524
  }
6510
6525
  function v() {
6511
- return r(Lr, {
6526
+ return r(jr, {
6512
6527
  onSubmit: u
6513
6528
  }, null);
6514
6529
  }
@@ -6518,7 +6533,7 @@ const Lr = /* @__PURE__ */ ae({
6518
6533
  "data-dragref": `${o.schema.id}-container`
6519
6534
  }, [i.value ? v() : f()]);
6520
6535
  }
6521
- }), au = {
6536
+ }), lu = {
6522
6537
  install(e) {
6523
6538
  e.component(ot.name, ot);
6524
6539
  },
@@ -6526,13 +6541,13 @@ const Lr = /* @__PURE__ */ ae({
6526
6541
  e["external-container"] = ot, t["external-container"] = xt;
6527
6542
  },
6528
6543
  registerDesigner(e, t) {
6529
- e["external-container"] = jr, t["external-container"] = xt;
6544
+ e["external-container"] = Ar, t["external-container"] = xt;
6530
6545
  }
6531
6546
  };
6532
6547
  export {
6533
6548
  ot as FExternalContainer,
6534
- jr as FExternalContainerDesign,
6535
- au as default,
6549
+ Ar as FExternalContainerDesign,
6550
+ lu as default,
6536
6551
  ht as externalContainerProps,
6537
6552
  xt as propsResolver
6538
6553
  };