@farris/ui-vue 1.3.4 → 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 (145) 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 +9 -7
  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 +746 -730
  26. package/components/data-grid/index.umd.cjs +1 -1
  27. package/components/data-view/index.esm.js +9 -7
  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 +3096 -3069
  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 +78 -82
  40. package/components/event-parameter/index.umd.cjs +1 -1
  41. package/components/events-editor/index.esm.js +501 -487
  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 +487 -472
  46. package/components/external-container/index.umd.cjs +1 -1
  47. package/components/field-selector/index.esm.js +440 -433
  48. package/components/field-selector/index.umd.cjs +1 -1
  49. package/components/filter-bar/index.esm.js +594 -587
  50. package/components/filter-bar/index.umd.cjs +1 -1
  51. package/components/flow-canvas/index.esm.js +2766 -2739
  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 +314 -298
  62. package/components/list-view/index.umd.cjs +1 -1
  63. package/components/lookup/index.esm.js +862 -843
  64. package/components/lookup/index.umd.cjs +1 -1
  65. package/components/mapping-editor/index.esm.js +1031 -1015
  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 +776 -770
  88. package/components/query-solution/index.umd.cjs +6 -6
  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 +296 -283
  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 +634 -619
  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 +383 -376
  128. package/components/tree-grid/index.umd.cjs +1 -1
  129. package/components/tree-view/index.esm.js +595 -575
  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 +5492 -5470
  140. package/farris.all.umd.cjs +13 -13
  141. package/index.css +1 -1
  142. package/package.json +1 -1
  143. package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
  144. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +3 -0
  145. package/types/entity-binding-selector/composition/use-field-tree.d.ts +1 -0
@@ -1,8 +1,8 @@
1
1
  var cn = Object.defineProperty;
2
2
  var dn = (e, t, n) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var z = (e, t, n) => dn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as f, computed as D, createVNode as c, Fragment as ge, watch as Z, withModifiers as fn, withDirectives as Ct, vModelText as pn, defineComponent as ue, resolveComponent as vn, createTextVNode as pe, onBeforeUnmount as mn, onMounted as ye, nextTick as tt, reactive as ve, resolveDirective as hn, mergeProps as He, onUnmounted as rt, Teleport as gn, Transition as _t, shallowRef as yn, createApp as xt, render as Ke, h as bn, cloneVNode as wn, inject as St } from "vue";
5
- import { isPlainObject as vt, cloneDeep as _e } from "lodash-es";
4
+ import { ref as f, computed as D, createVNode as c, Fragment as ge, watch as Z, withModifiers as fn, withDirectives as Ct, vModelText as pn, defineComponent as ue, resolveComponent as vn, createTextVNode as pe, onBeforeUnmount as mn, onMounted as be, nextTick as tt, reactive as ve, resolveDirective as hn, mergeProps as He, onUnmounted as rt, Teleport as gn, Transition as _t, shallowRef as yn, createApp as xt, render as Ke, h as bn, cloneVNode as wn, inject as St } from "vue";
5
+ import { isPlainObject as vt, cloneDeep as ye } from "lodash-es";
6
6
  import { useIdentify as Cn, useHierarchy as _n, useGroupData as xn, usePagination as Sn, useDataView as kn, useSelection as Tn, useEdit as Fn, useVisualDataBound as En, useVisualDataCell as Mn, useVisualDataRow as In, useVisualGroupRow as Bn, useVisualSummaryRow as Vn, useVisualData as On } from "../data-view/index.esm.js";
7
7
  import Nn, { FCheckBox as it } from "../checkbox/index.esm.js";
8
8
  import "../modal/index.esm.js";
@@ -73,27 +73,41 @@ import "../external-container/index.esm.js";
73
73
  import { createPropsResolver as Jo } from "../dynamic-resolver/index.esm.js";
74
74
  const kt = {}, Tt = {};
75
75
  function ut(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((u) => u === i)) && (s[i] = t[i].type === "object" && t[i].properties ? ut(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((u) => u === i)) && (s[i] = t[i].type === "object" && t[i].properties ? ut(t[i]) : ye(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 Zo(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 ? ut(t[s]) : ye(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 Ft(e, t = {}, n) {
84
98
  const o = kt[e];
85
99
  if (o) {
86
- let a = ut(o);
100
+ let a = Zo(o);
87
101
  const l = Tt[e];
88
102
  return a = l ? l({ getSchemaByType: Ft }, a, t, n) : a, a;
89
103
  }
90
104
  return null;
91
105
  }
92
- function Zo(e, t) {
106
+ function Ko(e, t) {
93
107
  const n = ut(t);
94
- return Object.keys(n).reduce((o, a) => (o[a] && vt(o[a]) && vt(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] && vt(o[a]) && vt(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a]), o), n), n;
95
109
  }
96
- function Ko(e, t) {
110
+ function ea(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 Ko(e, t) {
108
122
  return o;
109
123
  }, {});
110
124
  }
111
- function ea(e, t, n = /* @__PURE__ */ new Map()) {
112
- const o = Zo(e, t);
113
- return Ko(o, n);
125
+ function ta(e, t, n = /* @__PURE__ */ new Map()) {
126
+ const o = Ko(e, t);
127
+ return ea(o, n);
114
128
  }
115
- function ta(e = {}) {
129
+ function na(e = {}) {
116
130
  function t(r, v, m, d) {
117
131
  if (typeof m == "number")
118
132
  return d[r].length === m;
@@ -206,11 +220,11 @@ 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
- }, na = {}, oa = {};
210
- ta();
223
+ }, oa = {}, aa = {};
224
+ na();
211
225
  function Be(e, t, n = /* @__PURE__ */ new Map(), o = (s, i, u, r) => i, a = {}, l = (s) => s) {
212
- return kt[t.title] = t, Tt[t.title] = o, na[t.title] = a, oa[t.title] = l, (s = {}) => {
213
- const i = ea(s, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
226
+ return kt[t.title] = t, Tt[t.title] = o, oa[t.title] = a, aa[t.title] = l, (s = {}) => {
227
+ const i = ta(s, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
214
228
  return Object.assign(u, i);
215
229
  };
216
230
  }
@@ -223,7 +237,7 @@ const Et = /* @__PURE__ */ new Map([
223
237
  function Mt(e, t, n) {
224
238
  return t;
225
239
  }
226
- const aa = "https://json-schema.org/draft/2020-12/schema", la = "https://farris-design.gitee.io/list-view.schema.json", sa = "list-view", ra = "A Farris Component", ia = "object", ua = {
240
+ const la = "https://json-schema.org/draft/2020-12/schema", sa = "https://farris-design.gitee.io/list-view.schema.json", ra = "list-view", ia = "A Farris Component", ua = "object", ca = {
227
241
  id: {
228
242
  description: "The unique identifier for list-view",
229
243
  type: "string"
@@ -285,18 +299,18 @@ const aa = "https://json-schema.org/draft/2020-12/schema", la = "https://farris-
285
299
  type: "boolean",
286
300
  default: !0
287
301
  }
288
- }, ca = [
302
+ }, da = [
289
303
  "id",
290
304
  "type"
291
- ], da = {
292
- $schema: aa,
293
- $id: la,
294
- title: sa,
295
- description: ra,
296
- type: ia,
297
- properties: ua,
298
- required: ca
299
- }, fa = "list-view", pa = "A Farris Component", va = "object", ma = {
305
+ ], fa = {
306
+ $schema: la,
307
+ $id: sa,
308
+ title: ra,
309
+ description: ia,
310
+ type: ua,
311
+ properties: ca,
312
+ required: da
313
+ }, pa = "list-view", va = "A Farris Component", ma = "object", ha = {
300
314
  basic: {
301
315
  description: "Basic Infomation",
302
316
  title: "基本信息",
@@ -318,11 +332,11 @@ const aa = "https://json-schema.org/draft/2020-12/schema", la = "https://farris-
318
332
  }
319
333
  }
320
334
  }
321
- }, ha = {
322
- title: fa,
323
- description: pa,
324
- type: va,
325
- categories: ma
335
+ }, ga = {
336
+ title: pa,
337
+ description: va,
338
+ type: ma,
339
+ categories: ha
326
340
  }, ze = {
327
341
  /** 列集合 */
328
342
  columns: {
@@ -364,7 +378,7 @@ const aa = "https://json-schema.org/draft/2020-12/schema", la = "https://farris-
364
378
  disableField: { type: String, default: "disabled" },
365
379
  // 搜索启用高亮
366
380
  enableHighlightSearch: { type: Boolean, default: !0 }
367
- }, It = Be(ze, da, Et, Mt, ha);
381
+ }, It = Be(ze, fa, Et, Mt, ga);
368
382
  function Bt(e, t) {
369
383
  function n(l) {
370
384
  const s = [];
@@ -446,7 +460,7 @@ function ht(e, t, n, o, a, l, s, i, u, r) {
446
460
  renderItem: C
447
461
  };
448
462
  }
449
- function ga(e, t, n, o, a, l, s, i, u, r) {
463
+ function ya(e, t, n, o, a, l, s, i, u, r) {
450
464
  const v = f(e.multiSelect), m = f(e.disableField), {
451
465
  onMouseenterItem: d,
452
466
  onMouseoverItem: M,
@@ -493,7 +507,7 @@ function ga(e, t, n, o, a, l, s, i, u, r) {
493
507
  renderItem: b
494
508
  };
495
509
  }
496
- function ya(e, t, n, o, a, l, s, i, u, r) {
510
+ function ba(e, t, n, o, a, l, s, i, u, r) {
497
511
  const v = f(e.multiSelect), m = f(e.disableField), {
498
512
  onMouseenterItem: d,
499
513
  onMouseoverItem: M,
@@ -565,7 +579,7 @@ function ya(e, t, n, o, a, l, s, i, u, r) {
565
579
  renderItem: S
566
580
  };
567
581
  }
568
- function ba(e, t, n, o, a, l, s, i, u, r) {
582
+ function wa(e, t, n, o, a, l, s, i, u, r) {
569
583
  var V;
570
584
  const v = f(((V = e.group) == null ? void 0 : V.groupFields) || []), {
571
585
  collpaseGroupIconClass: m
@@ -591,7 +605,7 @@ function ba(e, t, n, o, a, l, s, i, u, r) {
591
605
  renderItem: T
592
606
  };
593
607
  }
594
- function wa() {
608
+ function Ca() {
595
609
  const e = f(-1), t = f(""), n = f(-1), o = f(!1);
596
610
  function a(r, v, m) {
597
611
  n.value = m;
@@ -619,7 +633,7 @@ function wa() {
619
633
  suspendHover: i
620
634
  };
621
635
  }
622
- function Ca(e, t, n, o) {
636
+ function _a(e, t, n, o) {
623
637
  const a = f(e.idField), { dataView: l } = n, s = f(-1), i = f(!1), { activeIndex: u, focusedItemId: r, hoverIndex: v, resumeHover: m, suspendHover: d } = o;
624
638
  function M(p, h, y) {
625
639
  p.stopPropagation(), d(), h && setTimeout(() => {
@@ -648,7 +662,7 @@ function Ca(e, t, n, o) {
648
662
  isDragging: i
649
663
  };
650
664
  }
651
- function _a(e, t, n) {
665
+ function xa(e, t, n) {
652
666
  const { dataView: o } = n;
653
667
  function a(l) {
654
668
  if (l > -1 && l < o.value.length) {
@@ -658,7 +672,7 @@ function _a(e, t, n) {
658
672
  }
659
673
  return { removeItem: a };
660
674
  }
661
- function xa(e, t, n, o, a, l) {
675
+ function Sa(e, t, n, o, a, l) {
662
676
  const s = f(e.idField), i = f(e.disableField), u = f(e.draggable), r = f(e.itemClass), v = f(e.selection.multiSelect ?? !1), m = f(e.selection.multiSelectMode), { isDragging: d } = o, { activeIndex: M, focusedItemId: T, hoverIndex: V } = a, { clearSelection: O, getSelectedItems: p, toggleSelectItem: h } = l, y = f(p());
663
677
  function b(x, S) {
664
678
  const _ = {
@@ -704,20 +718,20 @@ function xa(e, t, n, o, a, l) {
704
718
  };
705
719
  }
706
720
  function Vt(e, t, n, o, a, l, s) {
707
- const i = f(e.view), u = f(e.view === "CardView"), r = f({}), v = f("暂无数据"), m = wa(), d = Ca(e, t, o, m), M = _a(e, t, o), T = xa(e, t, n, d, m, l), V = D(() => ({
721
+ const i = f(e.view), u = f(e.view === "CardView"), r = f({}), v = f("暂无数据"), m = Ca(), d = _a(e, t, o, m), M = xa(e, t, o), T = Sa(e, t, n, d, m, l), V = D(() => ({
708
722
  "f-list-view-group": !0,
709
723
  "d-flex": u.value,
710
724
  "flex-wrap": u.value
711
725
  })), O = D(() => !!n.value && n.value.length > 0), p = D(() => n.value.length === 0);
712
726
  D(() => p.value && !t.slots.empty);
713
727
  function h() {
714
- return i.value === "SingleView" ? ht : i.value === "DraggableView" ? ya : (i.value === "ContentView" || i.value === "CardView") && t.slots.content ? ga : ht;
728
+ return i.value === "SingleView" ? ht : i.value === "DraggableView" ? ba : (i.value === "ContentView" || i.value === "CardView") && t.slots.content ? ya : ht;
715
729
  }
716
730
  const y = h(), {
717
731
  renderItem: b
718
732
  } = y(e, t, n, d, a, m, T, l, M, s), {
719
733
  renderItem: w
720
- } = ba(e, t, n, d, a, m, T, l, M, s), I = [b, w];
734
+ } = wa(e, t, n, d, a, m, T, l, M, s), I = [b, w];
721
735
  function C() {
722
736
  return n.value.filter((F) => F.visible !== !1).map((F, x) => I[F.type](F, x, r));
723
737
  }
@@ -937,7 +951,7 @@ function Nt(e, t, n) {
937
951
  }, l;
938
952
  }
939
953
  var se = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(se || {}), me = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(me || {}), Ge = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(Ge || {}), ot = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(ot || {});
940
- function Sa() {
954
+ function ka() {
941
955
  function e(n, o) {
942
956
  const a = n.pre;
943
957
  if (a) {
@@ -954,7 +968,7 @@ function Sa() {
954
968
  }
955
969
  return { updateRowPosition: e, updateVisualInfomation: t };
956
970
  }
957
- function ka() {
971
+ function Ta() {
958
972
  function e(o, a) {
959
973
  switch (o.command) {
960
974
  case "edit":
@@ -1014,7 +1028,7 @@ const Rt = {
1014
1028
  */
1015
1029
  isControlInline: { type: Boolean, default: !0 }
1016
1030
  };
1017
- class Ta {
1031
+ class Fa {
1018
1032
  constructor(t = { value: [] }) {
1019
1033
  z(this, "editorType", "check-box");
1020
1034
  z(this, "value");
@@ -1034,7 +1048,7 @@ class Ta {
1034
1048
  return this.value.length === 0;
1035
1049
  }
1036
1050
  }
1037
- class Fa {
1051
+ class Ea {
1038
1052
  constructor(t = { textValue: "", value: "", valueField: "" }) {
1039
1053
  z(this, "editorType", "combo-lookup");
1040
1054
  z(this, "textValue");
@@ -1054,11 +1068,11 @@ class Fa {
1054
1068
  return t[n[0]];
1055
1069
  }
1056
1070
  getTextValue(t) {
1057
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, _e(n)));
1071
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, ye(n)));
1058
1072
  return o && o.length ? o.join(",") : "";
1059
1073
  }
1060
1074
  getValue() {
1061
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, _e(t)));
1075
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, ye(t)));
1062
1076
  return n && n.length ? n.join(",") : "";
1063
1077
  }
1064
1078
  setValue(t) {
@@ -1068,7 +1082,7 @@ class Fa {
1068
1082
  return !this.valueField;
1069
1083
  }
1070
1084
  }
1071
- class Ea {
1085
+ class Ma {
1072
1086
  constructor(t = { value: "" }) {
1073
1087
  z(this, "editorType", "date-picker");
1074
1088
  z(this, "value");
@@ -1109,7 +1123,7 @@ class gt {
1109
1123
  return !this.begin || !this.end;
1110
1124
  }
1111
1125
  }
1112
- class Ma {
1126
+ class Ia {
1113
1127
  constructor(t = { value: "" }) {
1114
1128
  z(this, "editorType", "datetime-picker");
1115
1129
  z(this, "value");
@@ -1129,7 +1143,7 @@ class Ma {
1129
1143
  return !this.value;
1130
1144
  }
1131
1145
  }
1132
- class Ia {
1146
+ class Ba {
1133
1147
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
1134
1148
  constructor(t = { value: "", dispalyText: "" }) {
1135
1149
  z(this, "editorType", "combo-list");
@@ -1152,7 +1166,7 @@ class Ia {
1152
1166
  return !this.displayText && !this.value;
1153
1167
  }
1154
1168
  }
1155
- class Ba {
1169
+ class Va {
1156
1170
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
1157
1171
  z(this, "editorType", "input-group");
1158
1172
  // 通过弹窗返回的若干个值对象构成的数组
@@ -1177,21 +1191,21 @@ class Ba {
1177
1191
  return t[n[0]];
1178
1192
  }
1179
1193
  getTextValue(t) {
1180
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, _e(n)));
1194
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, ye(n)));
1181
1195
  return o && o.length ? o.join(",") : "";
1182
1196
  }
1183
1197
  getValue() {
1184
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, _e(t)));
1198
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, ye(t)));
1185
1199
  return n && n.length ? n.join(",") : "";
1186
1200
  }
1187
1201
  setValue(t) {
1188
1202
  throw new Error("Method not implemented.");
1189
1203
  }
1190
1204
  isEmpty() {
1191
- return !this.displayText && !this.value;
1205
+ return !this.displayText && !this.value.length;
1192
1206
  }
1193
1207
  }
1194
- class Va {
1208
+ class Oa {
1195
1209
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
1196
1210
  z(this, "editorType", "lookup");
1197
1211
  z(this, "textValue");
@@ -1227,7 +1241,7 @@ class Va {
1227
1241
  return !this.value.length;
1228
1242
  }
1229
1243
  }
1230
- class Oa {
1244
+ class Na {
1231
1245
  constructor(t = { value: "" }) {
1232
1246
  z(this, "editorType", "month-picker");
1233
1247
  z(this, "value");
@@ -1247,7 +1261,7 @@ class Oa {
1247
1261
  return !this.value;
1248
1262
  }
1249
1263
  }
1250
- class Na {
1264
+ class Ra {
1251
1265
  constructor(t = { begin: "", end: "" }) {
1252
1266
  z(this, "editorType", "month-range");
1253
1267
  z(this, "begin");
@@ -1268,7 +1282,7 @@ class Na {
1268
1282
  return !this.begin || !this.end;
1269
1283
  }
1270
1284
  }
1271
- class Ra {
1285
+ class Da {
1272
1286
  constructor(t = { begin: null, end: null }) {
1273
1287
  z(this, "editorType", "number-range");
1274
1288
  z(this, "begin");
@@ -1292,7 +1306,7 @@ class Ra {
1292
1306
  return this.begin == null && this.end == null;
1293
1307
  }
1294
1308
  }
1295
- class Da {
1309
+ class $a {
1296
1310
  constructor(t = { value: "" }) {
1297
1311
  z(this, "editorType", "number-spinner");
1298
1312
  z(this, "value");
@@ -1309,10 +1323,10 @@ class Da {
1309
1323
  this.value = isNaN(parseFloat(t)) ? null : t;
1310
1324
  }
1311
1325
  isEmpty() {
1312
- return this.value == null;
1326
+ return this.value == null || isNaN(this.value);
1313
1327
  }
1314
1328
  }
1315
- class $a {
1329
+ class La {
1316
1330
  constructor(t = { value: null }) {
1317
1331
  z(this, "editorType", "radio-group");
1318
1332
  z(this, "value");
@@ -1356,33 +1370,33 @@ function $t() {
1356
1370
  function e(t, n) {
1357
1371
  switch (t) {
1358
1372
  case "check-box":
1359
- return new Ta(n);
1373
+ return new Fa(n);
1360
1374
  case "combo-list":
1361
- return new Ia(n);
1375
+ return new Ba(n);
1362
1376
  case "combo-lookup":
1363
- return new Fa(n);
1377
+ return new Ea(n);
1364
1378
  case "input-group":
1365
- return new Ba(n);
1379
+ return new Va(n);
1366
1380
  case "date-picker":
1367
- return new Ea(n);
1381
+ return new Ma(n);
1368
1382
  case "date-range":
1369
1383
  return new gt(n);
1370
1384
  case "datetime-picker":
1371
- return new Ma(n);
1385
+ return new Ia(n);
1372
1386
  case "datetime-range":
1373
1387
  return new gt(n);
1374
1388
  case "lookup":
1375
- return new Va(n);
1376
- case "month-picker":
1377
1389
  return new Oa(n);
1378
- case "month-range":
1390
+ case "month-picker":
1379
1391
  return new Na(n);
1380
- case "number-range":
1392
+ case "month-range":
1381
1393
  return new Ra(n);
1382
- case "number-spinner":
1394
+ case "number-range":
1383
1395
  return new Da(n);
1384
- case "radio-group":
1396
+ case "number-spinner":
1385
1397
  return new $a(n);
1398
+ case "radio-group":
1399
+ return new La(n);
1386
1400
  default:
1387
1401
  return new Dt(n);
1388
1402
  }
@@ -1421,7 +1435,7 @@ function Lt(e, t) {
1421
1435
  }
1422
1436
  return { convertToSingleControl: i, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: u, initialConditionValue: r };
1423
1437
  }
1424
- function La(e, t, n) {
1438
+ function Pa(e, t, n) {
1425
1439
  const o = f(null), a = f(n), l = f(0);
1426
1440
  function s(v, m) {
1427
1441
  let d = null;
@@ -1459,7 +1473,7 @@ const yt = /* @__PURE__ */ ue({
1459
1473
  initialConditionValue: i,
1460
1474
  fieldMap: u,
1461
1475
  loadFieldConfigs: r
1462
- } = s, v = La(e, t, n), {
1476
+ } = s, v = Pa(e, t, n), {
1463
1477
  conditionClass: m,
1464
1478
  resizeObserver: d
1465
1479
  } = v;
@@ -1501,10 +1515,10 @@ const yt = /* @__PURE__ */ ue({
1501
1515
  }
1502
1516
  }), dt = /* @__PURE__ */ new Map([
1503
1517
  ["appearance", ct]
1504
- ]), Pa = /* @__PURE__ */ new Map([]);
1518
+ ]), Aa = /* @__PURE__ */ new Map([]);
1505
1519
  var at = /* @__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))(at || {});
1506
- const Aa = "root-viewmodel";
1507
- class ja {
1520
+ const ja = "root-viewmodel";
1521
+ class Ha {
1508
1522
  constructor(t, n) {
1509
1523
  z(this, "formSchemaUtils");
1510
1524
  z(this, "controlCreatorUtils");
@@ -1561,7 +1575,7 @@ class ja {
1561
1575
  }), n.contents = [o];
1562
1576
  const { selectedFields: l } = t;
1563
1577
  l == null || l.forEach((i) => {
1564
- const u = _e(i), r = this.resolveControlClassByFormColumns(t), v = this.controlCreatorUtils.setFormFieldProperty(u, "", r);
1578
+ const u = ye(i), r = this.resolveControlClassByFormColumns(t), v = this.controlCreatorUtils.setFormFieldProperty(u, "", r);
1565
1579
  v && a.push(v);
1566
1580
  });
1567
1581
  const { templateId: s } = this.formSchemaUtils.getFormSchema().module;
@@ -1598,7 +1612,7 @@ class ja {
1598
1612
  code: `${t.componentId}-component-viewmodel`,
1599
1613
  name: t.componentName,
1600
1614
  bindTo: t.bindTo,
1601
- parent: Aa,
1615
+ parent: ja,
1602
1616
  fields: this.assembleViewModelFields(t),
1603
1617
  commands: [],
1604
1618
  states: [],
@@ -1625,7 +1639,7 @@ class ja {
1625
1639
  }), n;
1626
1640
  }
1627
1641
  }
1628
- function Ha(e, t, n, o) {
1642
+ function za(e, t, n, o) {
1629
1643
  var l, s, i, u, r;
1630
1644
  const a = n.parentComponentInstance;
1631
1645
  if (a && o) {
@@ -1638,14 +1652,14 @@ function Ha(e, t, n, o) {
1638
1652
  bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
1639
1653
  selectedFields: (r = n.bindingSourceContext) == null ? void 0 : r.bindingEntityFields
1640
1654
  };
1641
- return new ja(e, o).createComponent(d);
1655
+ return new Ha(e, o).createComponent(d);
1642
1656
  } else
1643
1657
  return t;
1644
1658
  }
1645
- function za(e, t, n) {
1659
+ function Ga(e, t, n) {
1646
1660
  return t;
1647
1661
  }
1648
- const Ga = "https://json-schema.org/draft/2020-12/schema", qa = "https://farris-design.gitee.io/response-form.schema.json", Wa = "response-form", Ua = "A Farris Data Collection Component", Xa = "object", Ya = {
1662
+ const qa = "https://json-schema.org/draft/2020-12/schema", Wa = "https://farris-design.gitee.io/response-form.schema.json", Ua = "response-form", Xa = "A Farris Data Collection Component", Ya = "object", Qa = {
1649
1663
  id: {
1650
1664
  description: "The unique identifier for a form group",
1651
1665
  type: "string"
@@ -1673,23 +1687,24 @@ const Ga = "https://json-schema.org/draft/2020-12/schema", qa = "https://farris-
1673
1687
  type: "array",
1674
1688
  default: []
1675
1689
  }
1676
- }, Qa = [
1690
+ }, Ja = [
1677
1691
  "id",
1678
- "type"
1679
- ], Ja = {
1680
- $schema: Ga,
1681
- $id: qa,
1682
- title: Wa,
1683
- description: Ua,
1684
- type: Xa,
1685
- properties: Ya,
1686
- required: Qa
1687
- }, Za = {
1692
+ "type",
1693
+ "contents"
1694
+ ], Za = {
1695
+ $schema: qa,
1696
+ $id: Wa,
1697
+ title: Ua,
1698
+ description: Xa,
1699
+ type: Ya,
1700
+ properties: Qa,
1701
+ required: Ja
1702
+ }, Ka = {
1688
1703
  customClass: { type: String, default: "" },
1689
1704
  customStyle: { type: String, defaut: "" }
1690
1705
  };
1691
- Be(Za, Ja, dt, Ha);
1692
- const Ka = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-design.gitee.io/form-group.schema.json", tl = "form-group", nl = "A Farris Input Component", ol = "object", al = {
1706
+ Be(Ka, Za, dt, za);
1707
+ const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-design.gitee.io/form-group.schema.json", nl = "form-group", ol = "A Farris Input Component", al = "object", ll = {
1693
1708
  id: {
1694
1709
  description: "The unique identifier for a form group",
1695
1710
  type: "string"
@@ -1719,7 +1734,8 @@ const Ka = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-
1719
1734
  },
1720
1735
  editor: {
1721
1736
  description: "",
1722
- type: "obejct"
1737
+ type: "obejct",
1738
+ default: {}
1723
1739
  },
1724
1740
  label: {
1725
1741
  description: "",
@@ -1735,17 +1751,18 @@ const Ka = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-
1735
1751
  type: "object",
1736
1752
  default: {}
1737
1753
  }
1738
- }, ll = [
1754
+ }, sl = [
1739
1755
  "id",
1740
- "type"
1756
+ "type",
1757
+ "editor"
1741
1758
  ], Pt = {
1742
- $schema: Ka,
1743
- $id: el,
1744
- title: tl,
1745
- description: nl,
1746
- type: ol,
1747
- properties: al,
1748
- required: ll
1759
+ $schema: el,
1760
+ $id: tl,
1761
+ title: nl,
1762
+ description: ol,
1763
+ type: al,
1764
+ properties: ll,
1765
+ required: sl
1749
1766
  }, At = {
1750
1767
  id: { type: String, default: "" },
1751
1768
  customClass: { type: String, default: "" },
@@ -1767,14 +1784,14 @@ Be(
1767
1784
  dt,
1768
1785
  void 0
1769
1786
  );
1770
- const sl = {
1787
+ const rl = {
1771
1788
  id: { type: String },
1772
1789
  required: { type: Boolean, default: !1 },
1773
1790
  text: { type: String, default: "" },
1774
1791
  title: { type: String }
1775
- }, rl = /* @__PURE__ */ ue({
1792
+ }, il = /* @__PURE__ */ ue({
1776
1793
  name: "FDynamicFormLabel",
1777
- props: sl,
1794
+ props: rl,
1778
1795
  emits: [],
1779
1796
  setup(e, t) {
1780
1797
  const n = f(e.title || e.text), o = f(e.required), a = f(e.text);
@@ -1791,13 +1808,13 @@ const sl = {
1791
1808
  class: "farris-label-text"
1792
1809
  }, [a.value])]);
1793
1810
  }
1794
- }), il = /* @__PURE__ */ new Map([
1811
+ }), ul = /* @__PURE__ */ new Map([
1795
1812
  ["appearance", ct]
1796
1813
  ]);
1797
- function ul(e, t, n) {
1814
+ function cl(e, t, n) {
1798
1815
  return t;
1799
1816
  }
1800
- const cl = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-design.gitee.io/input-group.schema.json", fl = "input-group", pl = "A Farris Input Component", vl = "object", ml = {
1817
+ const dl = "https://json-schema.org/draft/2020-12/schema", fl = "https://farris-design.gitee.io/input-group.schema.json", pl = "input-group", vl = "A Farris Input Component", ml = "object", hl = {
1801
1818
  id: {
1802
1819
  description: "The unique identifier for a Input Group",
1803
1820
  type: "string"
@@ -1994,23 +2011,22 @@ const cl = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
1994
2011
  type: "string",
1995
2012
  default: ""
1996
2013
  }
1997
- }, hl = [
1998
- "id",
2014
+ }, gl = [
1999
2015
  "type"
2000
- ], gl = [
2016
+ ], yl = [
2001
2017
  "id",
2002
2018
  "appearance",
2003
2019
  "binding",
2004
2020
  "visible"
2005
- ], yl = {
2006
- $schema: cl,
2007
- $id: dl,
2008
- title: fl,
2009
- description: pl,
2010
- type: vl,
2011
- properties: ml,
2012
- required: hl,
2013
- ignore: gl
2021
+ ], bl = {
2022
+ $schema: dl,
2023
+ $id: fl,
2024
+ title: pl,
2025
+ description: vl,
2026
+ type: ml,
2027
+ properties: hl,
2028
+ required: gl,
2029
+ ignore: yl
2014
2030
  }, jt = {
2015
2031
  id: { Type: String, default: "" },
2016
2032
  /** 是否自动完成 */
@@ -2079,15 +2095,15 @@ const cl = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
2079
2095
  */
2080
2096
  updateOn: { type: String, default: "blur" }
2081
2097
  };
2082
- Be(jt, yl, il, ul);
2083
- function bl(e, t) {
2098
+ Be(jt, bl, ul, cl);
2099
+ function wl(e, t) {
2084
2100
  const n = f(e.groupText), o = D(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = D(() => e.enableClear || !!e.groupText);
2085
2101
  return { appendedButtonClass: D(() => ({
2086
2102
  "input-group-append": !0,
2087
2103
  "append-force-show": o.value
2088
2104
  })), appendedContent: n, shouldShowAppendedButton: a };
2089
2105
  }
2090
- function wl(e, t, n, o) {
2106
+ function Cl(e, t, n, o) {
2091
2107
  const { appendedContent: a } = o, l = f(e.enableViewPassword), s = D(() => e.type === "password"), i = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', r = f(!1);
2092
2108
  Z(() => [e.readonly, e.disabled], ([d, M]) => {
2093
2109
  s.value && (n.value = d || M ? "password" : n.value, a.value = d || M ? u : a.value);
@@ -2100,7 +2116,7 @@ function wl(e, t, n, o) {
2100
2116
  }
2101
2117
  return m(), { isPassword: s, onClickAppendedButton: v };
2102
2118
  }
2103
- function Cl(e, t, n) {
2119
+ function _l(e, t, n) {
2104
2120
  const o = f(), {
2105
2121
  onBlurTextBox: a,
2106
2122
  onFocusTextBox: l,
@@ -2122,7 +2138,7 @@ function Cl(e, t, n) {
2122
2138
  async function T(V) {
2123
2139
  l(V), await tt, M();
2124
2140
  }
2125
- return ye(async () => {
2141
+ return be(async () => {
2126
2142
  await tt, M();
2127
2143
  }), () => c("input", {
2128
2144
  ref: o,
@@ -2140,7 +2156,7 @@ function Cl(e, t, n) {
2140
2156
  onKeydown: i
2141
2157
  }, null);
2142
2158
  }
2143
- function _l(e, t, n) {
2159
+ function xl(e, t, n) {
2144
2160
  const {
2145
2161
  canDownward: o,
2146
2162
  canUpward: a,
@@ -2181,17 +2197,17 @@ function _l(e, t, n) {
2181
2197
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2182
2198
  }, null)])]);
2183
2199
  }
2184
- function xl(e, t) {
2185
- const n = Xn(e, t), o = Yn(e, t, n), a = Qn(e, t, o, n), l = Jn(e, t, o, n, a), s = _l(e, t, a), {
2200
+ function Sl(e, t) {
2201
+ const n = Xn(e, t), o = Yn(e, t, n), a = Qn(e, t, o, n), l = Jn(e, t, o, n, a), s = xl(e, t, a), {
2186
2202
  displayValue: i,
2187
2203
  modelValue: u,
2188
2204
  getRealValue: r
2189
- } = n, v = Cl(e, t, l), {
2205
+ } = n, v = _l(e, t, l), {
2190
2206
  format: m
2191
2207
  } = o, {
2192
2208
  isFocus: d
2193
2209
  } = l, M = D(() => !e.disabled && !e.readonly);
2194
- return ye(() => {
2210
+ return be(() => {
2195
2211
  const T = r(e.modelValue);
2196
2212
  i.value = m(T);
2197
2213
  }), Z(() => [e.value], ([T]) => {
@@ -2205,7 +2221,7 @@ function xl(e, t) {
2205
2221
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2206
2222
  }, [v(), M.value && s()]);
2207
2223
  }
2208
- function Sl(e, t, n, o) {
2224
+ function kl(e, t, n, o) {
2209
2225
  const a = f(), l = f(e.autocomplete), s = f(e.enableTitle), {
2210
2226
  isPassword: i
2211
2227
  } = n, u = f(e.minLength), r = f(e.maxLength), v = f(e.tabIndex), {
@@ -2225,7 +2241,7 @@ function Sl(e, t, n, o) {
2225
2241
  textBoxClass: E,
2226
2242
  textBoxTitle: g
2227
2243
  } = o;
2228
- return ye(() => {
2244
+ return be(() => {
2229
2245
  e.selectOnCreated, e.focusOnCreated;
2230
2246
  }), () => c("input", {
2231
2247
  ref: a,
@@ -2251,7 +2267,7 @@ function Sl(e, t, n, o) {
2251
2267
  onMousedown: b
2252
2268
  }, null);
2253
2269
  }
2254
- function kl(e, t) {
2270
+ function Tl(e, t) {
2255
2271
  const n = D(() => e.useExtendInfo && !!e.extendInfo), o = ve({
2256
2272
  content: e.extendInfo
2257
2273
  });
@@ -2267,7 +2283,7 @@ function kl(e, t) {
2267
2283
  class: "tips-arrow"
2268
2284
  }, null)]), [[hn("tooltip"), o]]);
2269
2285
  }
2270
- function Tl(e, t, n, o, a) {
2286
+ function Fl(e, t, n, o, a) {
2271
2287
  const {
2272
2288
  appendedButtonClass: l,
2273
2289
  appendedContent: s
@@ -2319,7 +2335,7 @@ function Tl(e, t, n, o, a) {
2319
2335
  class: l.value
2320
2336
  }, [M.value && T(), I && I()]);
2321
2337
  }
2322
- const Fl = /* @__PURE__ */ ue({
2338
+ const El = /* @__PURE__ */ ue({
2323
2339
  name: "FInputGroup",
2324
2340
  props: jt,
2325
2341
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -2328,17 +2344,17 @@ const Fl = /* @__PURE__ */ ue({
2328
2344
  inputGroupClass: l,
2329
2345
  inputType: s,
2330
2346
  inputGroupStyle: i
2331
- } = a, u = bl(e), {
2347
+ } = a, u = wl(e), {
2332
2348
  shouldShowAppendedButton: r
2333
2349
  } = u, v = Gn(e, t, a), {
2334
2350
  onMouseEnter: m,
2335
2351
  onMouseLeave: d
2336
- } = v, M = wl(e, t, s, u), T = xl(e, t), V = Sl(e, t, M, a), O = Tl(e, t, u, v, M), p = kl(e, t), h = D(() => e.type === "number");
2352
+ } = v, M = Cl(e, t, s, u), T = Sl(e, t), V = kl(e, t, M, a), O = Fl(e, t, u, v, M), p = Tl(e, t), h = D(() => e.type === "number");
2337
2353
  Z(() => [e.value], ([b]) => {
2338
2354
  n.value = b, o.value = b;
2339
2355
  }), Z(() => [e.modelValue], ([b]) => {
2340
2356
  n.value = b, o.value = b;
2341
- }), ye(() => {
2357
+ }), be(() => {
2342
2358
  e.value && (n.value = e.value, o.value = e.value);
2343
2359
  });
2344
2360
  const y = () => c(ge, null, [c("div", {
@@ -2352,13 +2368,13 @@ const Fl = /* @__PURE__ */ ue({
2352
2368
  }
2353
2369
  }), G = {}, q = {}, W = {}, U = {};
2354
2370
  let bt = !1;
2355
- function El() {
2371
+ function Ml() {
2356
2372
  bt || (bt = !0, Kn.register(G, q, W, U), Zn.register(G, q, W, U), eo.register(G, q, W, U), to.register(G, q, W, U), no.register(G, q, W, U), oo.register(G, q, W, U), Nn.register(G, q, W, U), nt.register(G, q, W, U), ao.register(G, q, W, U), lo.register(G, q, W, U), ro.register(G, q, W, U), so.register(G, q, W, U), io.register(G, q, W, U), uo.register(G, q, W, U), co.register(G, q, W, U), An.register(G, q, W, U), fo.register(G, q, W, U), Ln.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), bo.register(G, q, W, U), yo.register(G, q, W, U), wo.register(G, q, W, U), Co.register(G, q, W, U), _o.register(G, q, W, U), xo.register(G, q, W, U), Un.register(G, q, W, U), $n.register(G, q, W, U), So.register(G, q, W, U), ko.register(G, q, W, U), Pn.register(G, q, W, U), To.register(G, q, W, U), Fo.register(G, q, W, U), Eo.register(G, q, W, U), Mo.register(G, q, W, U), Bo.register(G, q, W, U), Vo.register(G, q, W, U), Io.register(G, q, W, U), Xo.register(G, q, W), Oo.register(G, q, W, U), No.register(G, q, W, U), Ro.register(G, q, W, U), Do.register(G, q, W, U), $o.register(G, q, W, U), Lo.register(G, q, W, U), Dn.register(G, q, W, U), Po.register(G, q, W, U), Ao.register(G, q, W, U), jo.register(G, q, W, U), Rn.register(G, q, W, U), Ho.register(G, q, W, U), Go.register(G, q, W, U), zo.register(G, q, W, U), qo.register(G, q, W, U), Wo.register(G, q, W, U), Uo.register(G, q, W, U), Yo.register(G, q, W, U), vo.register(G, q, W, U), Qo.register(G, q, W, U));
2357
2373
  }
2358
- function Ml() {
2359
- El();
2374
+ function Il() {
2375
+ Ml();
2360
2376
  function e(a) {
2361
- return G[a] || Fl;
2377
+ return G[a] || El;
2362
2378
  }
2363
2379
  function t(a, l) {
2364
2380
  const s = q[a];
@@ -2438,7 +2454,7 @@ function Ml() {
2438
2454
  }
2439
2455
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
2440
2456
  }
2441
- const Il = /* @__PURE__ */ ue({
2457
+ const Bl = /* @__PURE__ */ ue({
2442
2458
  name: "FDynamicFormGroup",
2443
2459
  props: At,
2444
2460
  emits: ["change", "update:modelValue"],
@@ -2450,7 +2466,7 @@ const Il = /* @__PURE__ */ ue({
2450
2466
  resolveEditorType: M,
2451
2467
  getChangeFunctionName: T,
2452
2468
  getClearFunctionName: V
2453
- } = Ml(), O = D(() => ({
2469
+ } = Il(), O = D(() => ({
2454
2470
  "form-group": !0,
2455
2471
  "farris-form-group": !0,
2456
2472
  "common-group": !0,
@@ -2483,7 +2499,7 @@ const Il = /* @__PURE__ */ ue({
2483
2499
  class: "farris-group-wrap"
2484
2500
  }, [c("div", {
2485
2501
  class: O.value
2486
- }, [r.value && c(rl, {
2502
+ }, [r.value && c(il, {
2487
2503
  id: `${n.value}-lable`,
2488
2504
  required: u.value,
2489
2505
  text: l.value,
@@ -2564,7 +2580,7 @@ z(Me, "fieldControlTypeMapping", {
2564
2580
  });
2565
2581
  let wt = Me;
2566
2582
  f(0);
2567
- const Bl = {
2583
+ const Vl = {
2568
2584
  id: { type: String, default: "" },
2569
2585
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
2570
2586
  editor: { type: Object, default: {} },
@@ -2580,12 +2596,12 @@ const Bl = {
2580
2596
  selectOnCreated: { type: Boolean, default: !1 }
2581
2597
  };
2582
2598
  Be(
2583
- Bl,
2599
+ Vl,
2584
2600
  Pt,
2585
2601
  dt,
2586
2602
  void 0
2587
2603
  );
2588
- const Vl = "https://json-schema.org/draft/2020-12/schema", Ol = "https://farris-design.gitee.io/grid-field-editor.schema.json", Nl = "response-form-layout-setting", Rl = "A Farris Data Grid Component", Dl = "object", $l = {
2604
+ const Ol = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-design.gitee.io/grid-field-editor.schema.json", Rl = "response-form-layout-setting", Dl = "A Farris Data Grid Component", $l = "object", Ll = {
2589
2605
  id: {
2590
2606
  description: "The unique identifier for a Input Group",
2591
2607
  type: "string"
@@ -2605,18 +2621,18 @@ const Vl = "https://json-schema.org/draft/2020-12/schema", Ol = "https://farris-
2605
2621
  type: "Object",
2606
2622
  default: null
2607
2623
  }
2608
- }, Ll = [
2624
+ }, Pl = [
2609
2625
  "id",
2610
2626
  "type"
2611
- ], Pl = {
2612
- $schema: Vl,
2613
- $id: Ol,
2614
- title: Nl,
2615
- description: Rl,
2616
- type: Dl,
2617
- properties: $l,
2618
- required: Ll
2619
- }, Al = {
2627
+ ], Al = {
2628
+ $schema: Ol,
2629
+ $id: Nl,
2630
+ title: Rl,
2631
+ description: Dl,
2632
+ type: $l,
2633
+ properties: Ll,
2634
+ required: Pl
2635
+ }, jl = {
2620
2636
  initialState: {
2621
2637
  type: Object,
2622
2638
  default: {
@@ -2627,8 +2643,8 @@ const Vl = "https://json-schema.org/draft/2020-12/schema", Ol = "https://farris-
2627
2643
  }
2628
2644
  }
2629
2645
  };
2630
- Jo(Al, Pl, Pa, za);
2631
- const jl = {
2646
+ Jo(jl, Al, Aa, Ga);
2647
+ const Hl = {
2632
2648
  width: { Type: Number, default: 400 },
2633
2649
  type: { Type: String, default: "info" },
2634
2650
  title: { Type: String, default: "" },
@@ -2641,12 +2657,12 @@ const jl = {
2641
2657
  function ft() {
2642
2658
  return new DOMException("The request is not allowed", "NotAllowedError");
2643
2659
  }
2644
- async function Hl(e) {
2660
+ async function zl(e) {
2645
2661
  if (!navigator.clipboard)
2646
2662
  throw ft();
2647
2663
  return navigator.clipboard.writeText(e);
2648
2664
  }
2649
- async function zl(e) {
2665
+ async function Gl(e) {
2650
2666
  const t = document.createElement("span");
2651
2667
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
2652
2668
  const n = window.getSelection(), o = window.document.createRange();
@@ -2660,24 +2676,24 @@ async function zl(e) {
2660
2676
  if (!a)
2661
2677
  throw ft();
2662
2678
  }
2663
- async function Gl(e) {
2679
+ async function ql(e) {
2664
2680
  try {
2665
- await Hl(e);
2681
+ await zl(e);
2666
2682
  } catch (t) {
2667
2683
  try {
2668
- await zl(e);
2684
+ await Gl(e);
2669
2685
  } catch (n) {
2670
2686
  throw n || t || ft();
2671
2687
  }
2672
2688
  }
2673
2689
  }
2674
- function ql() {
2690
+ function Wl() {
2675
2691
  async function e(t) {
2676
- await Gl(t);
2692
+ await ql(t);
2677
2693
  }
2678
2694
  return { onCopy: e };
2679
2695
  }
2680
- function Wl(e, t, n, o) {
2696
+ function Ul(e, t, n, o) {
2681
2697
  const a = f(14), l = f(140), s = f(""), i = f(o.value.length), u = D(() => o.value), r = D(() => ({
2682
2698
  "font-size": `${a.value}px`,
2683
2699
  height: "100%"
@@ -2702,14 +2718,14 @@ function Wl(e, t, n, o) {
2702
2718
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
2703
2719
  }, [i.value + " / " + l.value])]);
2704
2720
  }
2705
- function Ul(e, t, n, o) {
2706
- const a = Wl(e, t, n, o), l = /* @__PURE__ */ new Map([["text-area", a]]);
2721
+ function Xl(e, t, n, o) {
2722
+ const a = Ul(e, t, n, o), l = /* @__PURE__ */ new Map([["text-area", a]]);
2707
2723
  function s(i) {
2708
2724
  return l.get(i) || null;
2709
2725
  }
2710
2726
  return { getEditorRender: s };
2711
2727
  }
2712
- function Xl() {
2728
+ function Yl() {
2713
2729
  const e = f(!1), t = f("复制成功");
2714
2730
  return {
2715
2731
  feedbackStyle: D(() => {
@@ -2735,11 +2751,11 @@ function Xl() {
2735
2751
  toShowFeedback: e
2736
2752
  };
2737
2753
  }
2738
- function Yl(e, t) {
2754
+ function Ql(e, t) {
2739
2755
  const n = t.getEditorRender(e.promptEditorType);
2740
2756
  return () => n && n();
2741
2757
  }
2742
- function Ql(e) {
2758
+ function Jl(e) {
2743
2759
  const t = f(3), n = f(480), o = D(() => !!e.value && !!e.value.date), a = D(() => `发生时间 : ${e.value && e.value.date || ""}`), l = D(() => !!e.value && !!e.value.detail), s = D(() => {
2744
2760
  const O = `${n.value}px`;
2745
2761
  return {
@@ -2784,13 +2800,13 @@ function Ql(e) {
2784
2800
  style: "cursor: pointer;"
2785
2801
  }, [v.value])])]);
2786
2802
  }
2787
- function Jl(e) {
2803
+ function Zl(e) {
2788
2804
  return () => c("p", {
2789
2805
  class: "toast-msg-detail",
2790
2806
  innerHTML: e.value
2791
2807
  }, null);
2792
2808
  }
2793
- function Zl(e, t, n, o) {
2809
+ function Kl(e, t, n, o) {
2794
2810
  const a = f(e.exceptionInfo), l = D(() => {
2795
2811
  const d = {
2796
2812
  "f-icon": !0
@@ -2798,7 +2814,7 @@ function Zl(e, t, n, o) {
2798
2814
  return d[M] = !0, d;
2799
2815
  }), s = D(() => n.value || a.value && a.value.message), i = D(() => o.value), u = D(() => !!o.value), r = D(() => !!a.value);
2800
2816
  function v() {
2801
- return r.value ? Ql(a) : u.value ? Jl(i) : () => null;
2817
+ return r.value ? Jl(a) : u.value ? Zl(i) : () => null;
2802
2818
  }
2803
2819
  const m = v();
2804
2820
  return () => c(ge, null, [c("div", {
@@ -2812,7 +2828,7 @@ function Zl(e, t, n, o) {
2812
2828
  innerHTML: s.value
2813
2829
  }, null), m()])]);
2814
2830
  }
2815
- function Kl(e, t, n) {
2831
+ function es(e, t, n) {
2816
2832
  const {
2817
2833
  onCopy: o
2818
2834
  } = t, {
@@ -2838,8 +2854,8 @@ function Kl(e, t, n) {
2838
2854
  style: "cursor: pointer;"
2839
2855
  }, [s.value])]);
2840
2856
  }
2841
- function es(e, t, n, o) {
2842
- const a = f(e.type), l = f([]), s = f(e.exceptionInfo), i = f(e.okButtonText), u = f(e.cancelButtonText), r = f(!0), v = f(!0), m = D(() => !!(l.value && l.value.length)), d = D(() => s.value && s.value.date && s.value.message && s.value.detail), M = D(() => !(l.value && l.value.length) && (i.value || u.value)), T = D(() => v.value && i.value), V = D(() => r.value && u.value), O = Kl(e, n, o);
2857
+ function ts(e, t, n, o) {
2858
+ const a = f(e.type), l = f([]), s = f(e.exceptionInfo), i = f(e.okButtonText), u = f(e.cancelButtonText), r = f(!0), v = f(!0), m = D(() => !!(l.value && l.value.length)), d = D(() => s.value && s.value.date && s.value.message && s.value.detail), M = D(() => !(l.value && l.value.length) && (i.value || u.value)), T = D(() => v.value && i.value), V = D(() => r.value && u.value), O = es(e, n, o);
2843
2859
  function p(y) {
2844
2860
  a.value === "question" && t.emit("reject"), t.emit("close");
2845
2861
  }
@@ -2866,7 +2882,7 @@ function es(e, t, n, o) {
2866
2882
  }
2867
2883
  const Pe = /* @__PURE__ */ ue({
2868
2884
  name: "FMessageBox",
2869
- props: jl,
2885
+ props: Hl,
2870
2886
  emits: ["accept", "reject", "close"],
2871
2887
  setup(e, t) {
2872
2888
  const n = f(e.type), o = f(e.title), a = f(e.detail), l = D(() => {
@@ -2879,7 +2895,7 @@ const Pe = /* @__PURE__ */ ue({
2879
2895
  }), s = D(() => {
2880
2896
  const O = {};
2881
2897
  return n.value === "prompt" ? O.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (O.padding = "0.5rem 1.5rem 1rem 1.5rem"), O;
2882
- }), i = ql(), u = Ul(e, n, o, a), r = Xl(), {
2898
+ }), i = Wl(), u = Xl(e, n, o, a), r = Yl(), {
2883
2899
  feedbackStyle: v,
2884
2900
  feedbackMessage: m
2885
2901
  } = r;
@@ -2891,12 +2907,12 @@ const Pe = /* @__PURE__ */ ue({
2891
2907
  function M() {
2892
2908
  switch (n.value) {
2893
2909
  case "prompt":
2894
- return Yl(e, u);
2910
+ return Ql(e, u);
2895
2911
  default:
2896
- return Zl(e, n, o, a);
2912
+ return Kl(e, n, o, a);
2897
2913
  }
2898
2914
  }
2899
- const T = M(), V = es(e, t, i, r);
2915
+ const T = M(), V = ts(e, t, i, r);
2900
2916
  return () => c("div", {
2901
2917
  class: "farris-messager"
2902
2918
  }, [c("section", {
@@ -2904,7 +2920,7 @@ const Pe = /* @__PURE__ */ ue({
2904
2920
  style: s.value
2905
2921
  }, [T()]), V(), d()]);
2906
2922
  }
2907
- }), ts = {
2923
+ }), ns = {
2908
2924
  /**
2909
2925
  * 自定义类
2910
2926
  */
@@ -3048,7 +3064,7 @@ class Se {
3048
3064
  return this.width = t.width, this.height = t.height, this;
3049
3065
  }
3050
3066
  }
3051
- function ns(e, t) {
3067
+ function os(e, t) {
3052
3068
  const n = f(), o = f(), a = f(), l = f(), s = f(), i = f(), u = f(), r = f(), v = f(), m = f(), d = f(), M = f(), T = f(e.draggable), V = f(!1);
3053
3069
  function O() {
3054
3070
  const B = o.value || document.body, N = window.getComputedStyle(B);
@@ -3233,7 +3249,7 @@ function ns(e, t) {
3233
3249
  unWindowResizeHandle: L
3234
3250
  };
3235
3251
  }
3236
- function os(e, t, n) {
3252
+ function as(e, t, n) {
3237
3253
  const o = f(), a = f(e.draggable), l = f(e.lockAxis), s = f(), i = f(), u = f(!1), r = f(new oe(0, 0)), v = f(new oe(0, 0)), m = f(new oe(0, 0)), d = f(new oe(0, 0));
3238
3254
  Z(() => n.value, (C) => {
3239
3255
  s.value.style.cursor = C ? "move" : "default";
@@ -3323,7 +3339,7 @@ function Ht(e, t) {
3323
3339
  };
3324
3340
  }
3325
3341
  }
3326
- function as(e, t) {
3342
+ function ls(e, t) {
3327
3343
  const n = f(e.enableEsc);
3328
3344
  let o = null;
3329
3345
  return n.value ? (o = Ht("Escape", (a) => {
@@ -3332,7 +3348,7 @@ function as(e, t) {
3332
3348
  remove: o
3333
3349
  }) : null;
3334
3350
  }
3335
- function ls(e, t) {
3351
+ function ss(e, t) {
3336
3352
  const n = f(e.enableEnter);
3337
3353
  let o = null;
3338
3354
  return n.value ? (o = Ht("Enter", (a) => {
@@ -3343,7 +3359,7 @@ function ls(e, t) {
3343
3359
  }
3344
3360
  const zt = /* @__PURE__ */ ue({
3345
3361
  name: "FModal",
3346
- props: ts,
3362
+ props: ns,
3347
3363
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
3348
3364
  setup(e, t) {
3349
3365
  const n = f(e.width || 300), o = f(e.height || 200), a = f(e.modelValue), l = f(""), s = f(e.class), i = f(e.fitContent), u = f(e.showHeader), r = f(""), v = f(e.showCloseButton), m = f(e.showMaxButton), d = f(!1), M = f(""), T = f(""), V = f(""), O = f(e.showButtons), p = f(e.title), h = f(e.reiszeable), y = f(e.containment || null), b = f();
@@ -3372,9 +3388,9 @@ const zt = /* @__PURE__ */ ue({
3372
3388
  resizedEventParam: B,
3373
3389
  allowDrag: N,
3374
3390
  unWindowResizeHandle: A
3375
- } = ns(e), {
3391
+ } = os(e), {
3376
3392
  registerDraggle: R
3377
- } = os(e, t, N);
3393
+ } = as(e, t, N);
3378
3394
  Z(() => e.title, (H, K) => {
3379
3395
  H !== K && (p.value = H);
3380
3396
  }), Z(() => e.modelValue, (H, K) => {
@@ -3452,8 +3468,8 @@ const zt = /* @__PURE__ */ ue({
3452
3468
  H.width && (n.value = H.width), H.height && (o.value = H.height), H.buttons && (C.value = H.buttons), H.title && (p.value = H.title);
3453
3469
  }
3454
3470
  let Ve = null, Oe = null;
3455
- ye(() => {
3456
- x.value && !y.value && (y.value = x.value.parentElement, L.value = y.value, R(F.value, x.value, L.value)), Q.value && document.body.classList.add("modal-open"), Ve = as(e, t), Oe = ls(e, t);
3471
+ be(() => {
3472
+ x.value && !y.value && (y.value = x.value.parentElement, L.value = y.value, R(F.value, x.value, L.value)), Q.value && document.body.classList.add("modal-open"), Ve = ls(e, t), Oe = ss(e, t);
3457
3473
  }), rt(() => {
3458
3474
  j(), A && A(), Ve && Ve.remove(), Oe && Oe.remove();
3459
3475
  }), t.expose({
@@ -3556,7 +3572,7 @@ function Gt(e) {
3556
3572
  if (e.render && typeof e.render == "function")
3557
3573
  return e.render;
3558
3574
  }
3559
- function ss(e) {
3575
+ function rs(e) {
3560
3576
  const t = document.createElement("div");
3561
3577
  t.style.display = "contents";
3562
3578
  const n = xt({
@@ -3571,7 +3587,7 @@ function ss(e) {
3571
3587
  }), O = Gt(e), p = (h) => {
3572
3588
  v.value = !1, n.unmount(), T(h);
3573
3589
  };
3574
- return ye(() => {
3590
+ return be(() => {
3575
3591
  }), a.expose({
3576
3592
  modalRef: l
3577
3593
  }), () => c(zt, {
@@ -3599,7 +3615,7 @@ function ss(e) {
3599
3615
  });
3600
3616
  return document.body.appendChild(t), n.mount(t), n;
3601
3617
  }
3602
- class rs {
3618
+ class is {
3603
3619
  constructor(t) {
3604
3620
  z(this, "appContext", null);
3605
3621
  z(this, "modalRef", f());
@@ -3618,7 +3634,7 @@ class rs {
3618
3634
  showButtons: !0,
3619
3635
  showHeader: !0
3620
3636
  }, t);
3621
- return ss(n);
3637
+ return rs(n);
3622
3638
  }
3623
3639
  open(t) {
3624
3640
  const n = document.createDocumentFragment();
@@ -3682,14 +3698,14 @@ class rs {
3682
3698
  };
3683
3699
  }
3684
3700
  }
3685
- class Ce {
3701
+ class _e {
3686
3702
  static show(t) {
3687
3703
  const n = ve({
3688
3704
  ...t
3689
3705
  }), o = !1, a = n.type === "error" || n.type === "prompt", l = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", s = n.acceptCallback || (() => {
3690
3706
  }), i = n.rejectCallback || (() => {
3691
3707
  });
3692
- let u = null, r = new rs(u);
3708
+ let u = null, r = new is(u);
3693
3709
  const v = () => {
3694
3710
  u && (u == null || u.destroy(), r = null);
3695
3711
  };
@@ -3716,7 +3732,7 @@ class Ce {
3716
3732
  okButtonText: "知道了",
3717
3733
  cancelButtonText: ""
3718
3734
  });
3719
- Ce.show(o);
3735
+ _e.show(o);
3720
3736
  }
3721
3737
  static warning(t, n) {
3722
3738
  const o = ve({
@@ -3726,7 +3742,7 @@ class Ce {
3726
3742
  okButtonText: "知道了",
3727
3743
  cancelButtonText: ""
3728
3744
  });
3729
- Ce.show(o);
3745
+ _e.show(o);
3730
3746
  }
3731
3747
  static success(t, n) {
3732
3748
  const o = ve({
@@ -3736,7 +3752,7 @@ class Ce {
3736
3752
  okButtonText: "关闭",
3737
3753
  cancelButtonText: ""
3738
3754
  });
3739
- Ce.show(o);
3755
+ _e.show(o);
3740
3756
  }
3741
3757
  static error(t, n, o) {
3742
3758
  const a = ve({
@@ -3750,7 +3766,7 @@ class Ce {
3750
3766
  detail: n
3751
3767
  }
3752
3768
  });
3753
- Ce.show(a);
3769
+ _e.show(a);
3754
3770
  }
3755
3771
  static prompt(t, n) {
3756
3772
  const o = ve({
@@ -3760,7 +3776,7 @@ class Ce {
3760
3776
  okButtonText: "确定",
3761
3777
  cancelButtonText: "取消"
3762
3778
  });
3763
- Ce.show(o);
3779
+ _e.show(o);
3764
3780
  }
3765
3781
  static question(t, n, o, a) {
3766
3782
  const l = ve({
@@ -3772,14 +3788,14 @@ class Ce {
3772
3788
  acceptCallback: o,
3773
3789
  rejectCallback: a
3774
3790
  });
3775
- Ce.show(l);
3791
+ _e.show(l);
3776
3792
  }
3777
3793
  }
3778
3794
  Pe.install = (e) => {
3779
- e.component(Pe.name, Pe), e.provide("FMessageBoxService", Ce);
3795
+ e.component(Pe.name, Pe), e.provide("FMessageBoxService", _e);
3780
3796
  };
3781
3797
  var qt = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(qt || {}), Wt = /* @__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))(Wt || {});
3782
- const is = [
3798
+ const us = [
3783
3799
  {
3784
3800
  value: "0",
3785
3801
  name: "等于"
@@ -3816,7 +3832,7 @@ const is = [
3816
3832
  value: "8",
3817
3833
  name: "结束是"
3818
3834
  }
3819
- ], us = {
3835
+ ], cs = {
3820
3836
  "button-edit": ["0", "1", " 6", "7", "8"],
3821
3837
  "check-box": ["0"],
3822
3838
  "combo-list": ["0", "1"],
@@ -3836,14 +3852,14 @@ const is = [
3836
3852
  "radio-group": ["0"],
3837
3853
  text: ["0", "1", " 6", "7", "8"]
3838
3854
  };
3839
- function cs(e, t, n) {
3855
+ function ds(e, t, n) {
3840
3856
  const { fieldMap: o } = n;
3841
3857
  function a(l) {
3842
3858
  const s = o.get(l.fieldCode);
3843
3859
  if (!s)
3844
3860
  return [];
3845
- const i = s.editor.type, u = new Set(us[i]);
3846
- return is.filter((v) => u.has(v.value));
3861
+ const i = s.editor.type, u = new Set(cs[i]);
3862
+ return us.filter((v) => u.has(v.value));
3847
3863
  }
3848
3864
  return { getCompareOperators: a };
3849
3865
  }
@@ -4016,7 +4032,7 @@ function Ut() {
4016
4032
  unGroup: y
4017
4033
  };
4018
4034
  }
4019
- function ds(e, t, n) {
4035
+ function fs(e, t, n) {
4020
4036
  const o = f(/* @__PURE__ */ new Set()), a = f(/* @__PURE__ */ new Set()), { conditionGroupMap: l, groupParentMap: s } = n;
4021
4037
  let i, u;
4022
4038
  function r(p) {
@@ -4083,12 +4099,12 @@ const et = /* @__PURE__ */ ue({
4083
4099
  unGroup: y
4084
4100
  } = r, {
4085
4101
  createConditionValue: b
4086
- } = $t(), w = ds(e, t, r), {
4102
+ } = $t(), w = fs(e, t, r), {
4087
4103
  selectedItems: I,
4088
4104
  toggleSelect: C
4089
4105
  } = w, {
4090
4106
  getCompareOperators: E
4091
- } = cs(e, t, a);
4107
+ } = ds(e, t, a);
4092
4108
  u(!1), s.value = l(s.value), V(o.value);
4093
4109
  function g(N) {
4094
4110
  var R;
@@ -4136,7 +4152,7 @@ const et = /* @__PURE__ */ ue({
4136
4152
  onChange: (j) => F(j, A)
4137
4153
  }, null)]), c("div", {
4138
4154
  class: "condition-list-item-control mr-3"
4139
- }, [c(Il, {
4155
+ }, [c(Bl, {
4140
4156
  editor: (R = i.get(A.fieldCode)) == null ? void 0 : R.editor,
4141
4157
  showLabel: !1,
4142
4158
  modelValue: A.value.value,
@@ -4219,7 +4235,7 @@ const et = /* @__PURE__ */ ue({
4219
4235
  et.install = (e) => {
4220
4236
  e.component(yt.name, yt).component(et.name, et);
4221
4237
  };
4222
- const fs = [
4238
+ const ps = [
4223
4239
  "equal",
4224
4240
  "notEqual",
4225
4241
  "greaterThan",
@@ -4229,16 +4245,16 @@ const fs = [
4229
4245
  "contain",
4230
4246
  "startWidth",
4231
4247
  "endWidth"
4232
- ], ps = {
4248
+ ], vs = {
4233
4249
  equal: (e, t, n) => e && e[t] === n,
4234
4250
  notEqual: (e, t, n) => e && e[t] !== n,
4235
4251
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
4236
4252
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
4237
4253
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
4238
- }, vs = {
4254
+ }, ms = {
4239
4255
  equal: (e, t, n) => e && e[t] === n,
4240
4256
  notEqual: (e, t, n) => e && e[t] !== n
4241
- }, ms = {
4257
+ }, hs = {
4242
4258
  equal: (e, t, n) => {
4243
4259
  if (e) {
4244
4260
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -4281,10 +4297,10 @@ const fs = [
4281
4297
  }
4282
4298
  return !1;
4283
4299
  }
4284
- }, hs = {
4300
+ }, gs = {
4285
4301
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
4286
4302
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
4287
- }, gs = {
4303
+ }, ys = {
4288
4304
  equal: (e, t, n) => {
4289
4305
  if (e) {
4290
4306
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -4328,13 +4344,13 @@ const fs = [
4328
4344
  return !1;
4329
4345
  }
4330
4346
  };
4331
- function ys() {
4347
+ function bs() {
4332
4348
  const e = f([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Ut(), o = /* @__PURE__ */ new Map([
4333
- ["boolean", vs],
4334
- ["datetime", ms],
4335
- ["enum", hs],
4336
- ["number", gs],
4337
- ["text", ps]
4349
+ ["boolean", ms],
4350
+ ["datetime", hs],
4351
+ ["enum", gs],
4352
+ ["number", ys],
4353
+ ["text", vs]
4338
4354
  ]);
4339
4355
  function a(m) {
4340
4356
  t.delete(m), e.value = Array.from(t.values());
@@ -4343,7 +4359,7 @@ function ys() {
4343
4359
  t.clear(), e.value = [];
4344
4360
  }
4345
4361
  function s(m) {
4346
- const { valueType: d } = m.value, M = m.compareType || "0", T = fs[Number(M)];
4362
+ const { valueType: d } = m.value, M = m.compareType || "0", T = ps[Number(M)];
4347
4363
  return o.get(d)[T];
4348
4364
  }
4349
4365
  function i(m) {
@@ -4458,7 +4474,7 @@ function Xt(e, t) {
4458
4474
  }
4459
4475
  return { collpaseGroupIconClass: O, generateGroupData: V, groupFields: l, shouldGroupingData: s, showGroupPanel: i };
4460
4476
  }
4461
- function bs(e, t, n, o) {
4477
+ function ws(e, t, n, o) {
4462
4478
  const a = f(!!e.hierarchy), { idField: l } = o, { collapseField: s, hasChildrenField: i, parentIdField: u } = n, r = /* @__PURE__ */ new Map();
4463
4479
  function v(S, _) {
4464
4480
  const k = /* @__PURE__ */ new Map();
@@ -4602,7 +4618,7 @@ function bs(e, t, n, o) {
4602
4618
  }
4603
4619
  return { generateHierarchyData: E, hasRealChildren: I, insertSibling: g, insertChild: F, shouldStratifyData: a, trimmedOriginalData: x };
4604
4620
  }
4605
- const ws = {
4621
+ const Cs = {
4606
4622
  showCloseButton: { type: Boolean, default: !0 },
4607
4623
  position: { type: String, default: "top-center" },
4608
4624
  timeout: { type: Number, default: 3e3 },
@@ -4614,13 +4630,13 @@ const ws = {
4614
4630
  id: { type: String },
4615
4631
  animate: { type: String, default: "fadeIn" },
4616
4632
  options: { type: Object }
4617
- }, Cs = {
4633
+ }, _s = {
4618
4634
  showCloseButton: { type: Boolean, default: !0 },
4619
4635
  animate: { type: String, default: "fadeIn" },
4620
4636
  options: { type: Object }
4621
4637
  }, lt = /* @__PURE__ */ ue({
4622
4638
  name: "Toast",
4623
- props: Cs,
4639
+ props: _s,
4624
4640
  emits: ["close", "click"],
4625
4641
  setup: (e, t) => {
4626
4642
  const n = f(e.animate), o = "fadeOut", a = D(() => e.options), l = f(!1), s = D(() => {
@@ -4693,7 +4709,7 @@ const ws = {
4693
4709
  }
4694
4710
  }), Ae = /* @__PURE__ */ ue({
4695
4711
  name: "Notify",
4696
- props: ws,
4712
+ props: Cs,
4697
4713
  emits: ["close", "empty"],
4698
4714
  setup(e, t) {
4699
4715
  const n = D(() => ({
@@ -4769,7 +4785,7 @@ class Yt {
4769
4785
  }
4770
4786
  return rt(() => {
4771
4787
  document.body.removeChild(l);
4772
- }), ye(() => {
4788
+ }), be(() => {
4773
4789
  n.updateNotifyPositionForCreate(a, i);
4774
4790
  }), () => c(_t, {
4775
4791
  mode: "out-in",
@@ -4849,22 +4865,22 @@ class Yt {
4849
4865
  }), this.notifyRefs.length = 0;
4850
4866
  }
4851
4867
  }
4852
- const _s = Symbol("NOTIFY_SERVICE_TOKEN");
4868
+ const xs = Symbol("NOTIFY_SERVICE_TOKEN");
4853
4869
  Ae.install = (e) => {
4854
4870
  e.component(Ae.name, Ae), e.component(lt.name, lt);
4855
4871
  const t = new Yt();
4856
- e.provide(_s, t), e.provide("FNotifyService", t);
4872
+ e.provide(xs, t), e.provide("FNotifyService", t);
4857
4873
  };
4858
- function xs(e, t, n, o, a) {
4874
+ function Ss(e, t, n, o, a) {
4859
4875
  var pt;
4860
- const { pageSize: l, total: s, shouldRenderPagination: i, currentPage: u, mode: r } = a, v = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), V = f([]), O = f([]), p = ys(), h = Xt(e, o), { generateGroupData: y, groupFields: b, shouldGroupingData: w } = h, I = f(e.data), C = bs(e, I, n, o), {
4876
+ const { pageSize: l, total: s, shouldRenderPagination: i, currentPage: u, mode: r } = a, v = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), V = f([]), O = f([]), p = bs(), h = Xt(e, o), { generateGroupData: y, groupFields: b, shouldGroupingData: w } = h, I = f(e.data), C = ws(e, I, n, o), {
4861
4877
  generateHierarchyData: E,
4862
4878
  hasRealChildren: g,
4863
4879
  insertSibling: F,
4864
4880
  insertChild: x,
4865
4881
  shouldStratifyData: S,
4866
4882
  trimmedOriginalData: _
4867
- } = C, { idField: k, reviseIdentifyField: $ } = o, L = f(e.newDataItem), B = f(e.data), N = f(e.data), { flatTreeData: A } = Ps(e);
4883
+ } = C, { idField: k, reviseIdentifyField: $ } = o, L = f(e.newDataItem), B = f(e.data), N = f(e.data), { flatTreeData: A } = As(e);
4868
4884
  function R(P) {
4869
4885
  return A(P);
4870
4886
  }
@@ -4886,16 +4902,16 @@ function xs(e, t, n, o, a) {
4886
4902
  });
4887
4903
  function Te() {
4888
4904
  var de, Ee;
4889
- B.value = _e(I.value), w.value && (B.value = y(b.value, I.value, t)), te = Q.value.reduce((be, ee) => (be.set(ee, 0), be), te);
4905
+ B.value = ye(I.value), w.value && (B.value = y(b.value, I.value, t)), te = Q.value.reduce((we, ee) => (we.set(ee, 0), we), te);
4890
4906
  const P = he.value, X = De.value;
4891
4907
  let J = 0;
4892
4908
  const le = [];
4893
4909
  if ((de = B.value) != null && de.length) {
4894
4910
  $(B.value);
4895
- const be = k.value !== e.idField;
4911
+ const we = k.value !== e.idField;
4896
4912
  for (let ee = P; ee < X; ee++) {
4897
4913
  const ne = B.value[ee];
4898
- 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[((Ee = e.rowOption) == null ? void 0 : Ee.disabledField) || "disabled"], J++, i.value ? ne.__fv_data_index__ = J + (u.value - 1) * l.value : ne.__fv_data_index__ = J), ne.__fv_index__ = ee, be && (ne[k.value] = ee), Q.value.forEach((fe) => {
4914
+ 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[((Ee = e.rowOption) == null ? void 0 : Ee.disabledField) || "disabled"], J++, i.value ? ne.__fv_data_index__ = J + (u.value - 1) * l.value : ne.__fv_data_index__ = J), ne.__fv_index__ = ee, we && (ne[k.value] = ee), Q.value.forEach((fe) => {
4899
4915
  const Ne = te.get(fe) || 0;
4900
4916
  te.set(fe, Ne + ne[fe]);
4901
4917
  }), le.push(ne);
@@ -4905,7 +4921,7 @@ function xs(e, t, n, o, a) {
4905
4921
  }
4906
4922
  const ce = f(Te());
4907
4923
  function ie(P, X, J = !1) {
4908
- const de = (J ? Te() : [...N.value]).filter((ee) => p.apply(ee)), Ee = P && P.length ? de.filter((ee) => P.reduce((ne, fe) => ne && fe.filter(ee), !0)) : de, be = X && X.length ? Ee.sort((ee, ne) => {
4924
+ const de = (J ? Te() : [...N.value]).filter((ee) => p.apply(ee)), Ee = P && P.length ? de.filter((ee) => P.reduce((ne, fe) => ne && fe.filter(ee), !0)) : de, we = X && X.length ? Ee.sort((ee, ne) => {
4909
4925
  const fe = [...X], Ne = fe.shift();
4910
4926
  let Ze = Ne.compare(ee[Ne.field], ne[Ne.field]);
4911
4927
  for (; Ze === 0 && fe.length !== 0; ) {
@@ -4914,7 +4930,7 @@ function xs(e, t, n, o, a) {
4914
4930
  }
4915
4931
  return Ze;
4916
4932
  }) : Ee;
4917
- return ce.value = be.map((ee, ne) => {
4933
+ return ce.value = we.map((ee, ne) => {
4918
4934
  if (ee.__fv_data_grid_group_row__) {
4919
4935
  const fe = `group_of_${ee.__fv_data_grid_group_field__}_${ee.__fv_data_grid_group_value__}`;
4920
4936
  ee.__fv_data_grid_group_collapse__ = !!v.get(fe);
@@ -4987,13 +5003,13 @@ function xs(e, t, n, o, a) {
4987
5003
  ae();
4988
5004
  }
4989
5005
  function Je(P, X, J) {
4990
- return (P && P.length ? ce.value.filter((de, Ee) => P.reduce((be, ee) => be && ee.filter(de), !0)) : ce.value).slice(X, J);
5006
+ return (P && P.length ? ce.value.filter((de, Ee) => P.reduce((we, ee) => we && ee.filter(de), !0)) : ce.value).slice(X, J);
4991
5007
  }
4992
5008
  function Zt(P) {
4993
5009
  (P - 1) * l.value <= re.value && ae();
4994
5010
  }
4995
5011
  function Kt(P) {
4996
- I.value.push(_e(P)), ce.value = Te();
5012
+ I.value.push(ye(P)), ce.value = Te();
4997
5013
  }
4998
5014
  function en(P = 0) {
4999
5015
  if (!(P > -1))
@@ -5080,7 +5096,7 @@ function xs(e, t, n, o, a) {
5080
5096
  originalData: I
5081
5097
  };
5082
5098
  }
5083
- function Ss(e) {
5099
+ function ks(e) {
5084
5100
  f(e.selection.showCheckbox || !1);
5085
5101
  const t = D(() => {
5086
5102
  var s;
@@ -5094,7 +5110,7 @@ function Ss(e) {
5094
5110
  }), a = D(() => e.hierarchy && e.selection.showCheckbox), l = D(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
5095
5111
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: l };
5096
5112
  }
5097
- function ks(e, t, n, o, a, l, s, i) {
5113
+ function Ts(e, t, n, o, a, l, s, i) {
5098
5114
  const u = f(o.value - 1 + a), r = f(0), { renderDataRow: v } = l, m = s ? s.renderGroupRow : v, d = i ? i.renderSummaryRow : v;
5099
5115
  function M(O) {
5100
5116
  let p = v;
@@ -5119,7 +5135,7 @@ function ks(e, t, n, o, a, l, s, i) {
5119
5135
  }
5120
5136
  return { getVisualData: T, maxVisibleRowIndex: u, minVisibleRowIndex: r, toggleGroupRow: V };
5121
5137
  }
5122
- function Ts() {
5138
+ function Fs() {
5123
5139
  function e(t, n) {
5124
5140
  const {
5125
5141
  formatter: o
@@ -5130,7 +5146,7 @@ function Ts() {
5130
5146
  renderEnumColumn: e
5131
5147
  };
5132
5148
  }
5133
- function Fs() {
5149
+ function Es() {
5134
5150
  function e(o, a) {
5135
5151
  return o ? c("span", {
5136
5152
  innerHTML: a.formatter.trueText
@@ -5155,7 +5171,7 @@ function Fs() {
5155
5171
  renderBooleanColumn: n
5156
5172
  };
5157
5173
  }
5158
- function Es() {
5174
+ function Ms() {
5159
5175
  const {
5160
5176
  formatTo: e
5161
5177
  } = qn();
@@ -5170,7 +5186,7 @@ function Es() {
5170
5186
  renderDateColumn: n
5171
5187
  };
5172
5188
  }
5173
- function Ms() {
5189
+ function Is() {
5174
5190
  const {
5175
5191
  formatTo: e
5176
5192
  } = Wn();
@@ -5194,16 +5210,16 @@ function Ms() {
5194
5210
  renderNumberColumn: n
5195
5211
  };
5196
5212
  }
5197
- function Is() {
5213
+ function Bs() {
5198
5214
  const {
5199
5215
  renderBooleanColumn: e
5200
- } = Fs(), {
5216
+ } = Es(), {
5201
5217
  renderEnumColumn: t
5202
- } = Ts(), {
5218
+ } = Fs(), {
5203
5219
  renderNumberColumn: n
5204
- } = Ms(), {
5220
+ } = Is(), {
5205
5221
  renderDateColumn: o
5206
- } = Es();
5222
+ } = Ms();
5207
5223
  function a(i) {
5208
5224
  return i;
5209
5225
  }
@@ -5223,9 +5239,9 @@ function Is() {
5223
5239
  renderFormatColumn: s
5224
5240
  };
5225
5241
  }
5226
- function Bs(e, t, n) {
5242
+ function Vs(e, t, n) {
5227
5243
  var O;
5228
- const o = f(e.mergeCell), l = ((O = f(e.rowOption).value) == null ? void 0 : O.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: i } = ka(), { renderFormatColumn: u } = Is();
5244
+ const o = f(e.mergeCell), l = ((O = f(e.rowOption).value) == null ? void 0 : O.wrapContent) || !1, { updateVisualInfomation: s } = n, { renderCommandColumn: i } = Ta(), { renderFormatColumn: u } = Bs();
5229
5245
  function r(p, h, y, b, w, I = 1) {
5230
5246
  const C = {
5231
5247
  colSpan: I,
@@ -5285,7 +5301,7 @@ function Bs(e, t, n) {
5285
5301
  }
5286
5302
  return { createCellByColumn: V, createCellByField: r };
5287
5303
  }
5288
- function Vs(e, t, n, o, a, l) {
5304
+ function Os(e, t, n, o, a, l) {
5289
5305
  var p, h;
5290
5306
  const s = f(e.rowOption), i = ((p = s.value) == null ? void 0 : p.height) || 28, u = ((h = s.value) == null ? void 0 : h.wrapContent) || !1, { idField: r } = o, { collapseField: v } = n, { updateRowPosition: m } = a, { createCellByColumn: d } = l;
5291
5307
  function M(y, b, w, I, C, E, g) {
@@ -5343,7 +5359,7 @@ function Vs(e, t, n, o, a, l) {
5343
5359
  }
5344
5360
  return { createEmptyRow: M, createNewRowFromDataItem: T, renderDataRow: O };
5345
5361
  }
5346
- function Os(e, t, n, o) {
5362
+ function Ns(e, t, n, o) {
5347
5363
  const a = f(e.summary), { idField: l } = t, { createCellByField: s } = n, { createEmptyRow: i } = o, u = D(() => {
5348
5364
  const d = a.value;
5349
5365
  return (d == null ? void 0 : d.groupFields) || [];
@@ -5371,7 +5387,7 @@ function Os(e, t, n, o) {
5371
5387
  }
5372
5388
  return { renderGroupRow: m };
5373
5389
  }
5374
- function Ns(e, t, n, o) {
5390
+ function Rs(e, t, n, o) {
5375
5391
  const { idField: a } = t, { createCellByField: l } = n, { createEmptyRow: s } = o;
5376
5392
  function i(u, r, v, m, d, M, T) {
5377
5393
  const V = u.__fv_data_grid_group_field__, O = s(Ge.summary, m, u, r, v, d);
@@ -5379,7 +5395,7 @@ function Ns(e, t, n, o) {
5379
5395
  }
5380
5396
  return { renderSummaryRow: i };
5381
5397
  }
5382
- function Rs(e, t, n) {
5398
+ function Ds(e, t, n) {
5383
5399
  var E;
5384
5400
  const {
5385
5401
  idField: o
@@ -5463,7 +5479,7 @@ function Rs(e, t, n) {
5463
5479
  getEditor: C
5464
5480
  };
5465
5481
  }
5466
- function Ds(e) {
5482
+ function $s(e) {
5467
5483
  const t = f(e.idField);
5468
5484
  function n(o) {
5469
5485
  if (o && o.length) {
@@ -5473,7 +5489,7 @@ function Ds(e) {
5473
5489
  }
5474
5490
  return { idField: t, reviseIdentifyField: n };
5475
5491
  }
5476
- function $s(e, t, n, o, a) {
5492
+ function Ls(e, t, n, o, a) {
5477
5493
  const { idField: l } = n, s = f(""), i = D(() => e.selection.enableSelectRow), u = f(e.selection.multiSelect ?? !1), r = f(e.selection.multiSelectMode), v = f(e.selection.showCheckbox), m = f(e.selection.showSelectAll), d = f(e.selectionValues);
5478
5494
  Z(() => e.selection.showSelectAll, (R, j) => {
5479
5495
  R !== j && (m.value = R);
@@ -5591,10 +5607,10 @@ function $s(e, t, n, o, a) {
5591
5607
  unSelectAll: N
5592
5608
  };
5593
5609
  }
5594
- function we(e) {
5610
+ function Ce(e) {
5595
5611
  return typeof e > "u";
5596
5612
  }
5597
- function Ls(e) {
5613
+ function Ps(e) {
5598
5614
  var m, d, M, T, V, O, p, h;
5599
5615
  const t = f((m = e.pagination) == null ? void 0 : m.enable), n = f(((d = e.pagination) == null ? void 0 : d.index) || 1), o = f((M = e.pagination) == null ? void 0 : M.size), a = f((T = e.pagination) == null ? void 0 : T.sizeLimits), l = f((V = e.pagination) == null ? void 0 : V.mode), s = f((O = e.pagination) == null ? void 0 : O.showIndex), i = f((p = e.pagination) == null ? void 0 : p.showLimits), u = f(((h = e.pagination) == null ? void 0 : h.total) || 0), r = f(u.value || e.data.length || 0);
5600
5616
  return Z(() => {
@@ -5639,23 +5655,23 @@ function Ls(e) {
5639
5655
  if (!y)
5640
5656
  return;
5641
5657
  const { enable: b, total: w, size: I, index: C, sizeLimits: E, showIndex: g, showLimits: F, mode: x } = y;
5642
- we(b) || (t.value = b), we(C) || (n.value = C), we(I) || (o.value = I), we(E) || (a.value = E), we(g) || (s.value = g), we(F) || (i.value = F), we(w) || (u.value = w), we(x) || (l.value = x);
5658
+ Ce(b) || (t.value = b), Ce(C) || (n.value = C), Ce(I) || (o.value = I), Ce(E) || (a.value = E), Ce(g) || (s.value = g), Ce(F) || (i.value = F), Ce(w) || (u.value = w), Ce(x) || (l.value = x);
5643
5659
  }
5644
5660
  };
5645
5661
  }
5646
- function Ps(e) {
5662
+ function As(e) {
5647
5663
  const t = "parent", n = "layer", o = "hasChildren", a = (l, s = 1, i = [], u = null) => (l = l || [], l.reduce((r, v) => (v.id = v.id || v.data[e.idField], v[t] = u, 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)), r), i), i);
5648
5664
  return { flatTreeData: a };
5649
5665
  }
5650
- const As = /* @__PURE__ */ ue({
5666
+ const js = /* @__PURE__ */ ue({
5651
5667
  name: "FListViewDesign",
5652
5668
  props: ze,
5653
5669
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
5654
5670
  setup(e, t) {
5655
- const n = f(), o = f(!0), a = f(!1), l = f([]), s = 0, i = f(e.columns), u = Ds(e), r = Ss(e), v = Xt(e, u), m = Ls(e), d = xs(e, /* @__PURE__ */ new Map(), r, u, m), M = $s(e, d, u, l, t), T = Bt(e, n), V = f(), O = St("design-item-context"), p = Nt(V, O), h = D(() => d.dataView.value.length), y = Rs(e, t, u), b = Sa(), w = Bs(e, {}, b), I = Vs(e, y, r, u, b, w), C = Os(e, u, w, I), E = Ns(e, u, w, I), g = ks(e, i, d, h, s, I, C, E), {
5671
+ const n = f(), o = f(!0), a = f(!1), l = f([]), s = 0, i = f(e.columns), u = $s(e), r = ks(e), v = Xt(e, u), m = Ps(e), d = Ss(e, /* @__PURE__ */ new Map(), r, u, m), M = Ls(e, d, u, l, t), T = Bt(e, n), V = f(), O = St("design-item-context"), p = Nt(V, O), h = D(() => d.dataView.value.length), y = Ds(e, t, u), b = ka(), w = Vs(e, {}, b), I = Os(e, y, r, u, b, w), C = Ns(e, u, w, I), E = Rs(e, u, w, I), g = Ts(e, i, d, h, s, I, C, E), {
5656
5672
  getVisualData: F
5657
5673
  } = g;
5658
- l.value = F(0, h.value + s - 1), ye(() => {
5674
+ l.value = F(0, h.value + s - 1), be(() => {
5659
5675
  V.value.componentInstance = p;
5660
5676
  }), t.expose(p.value);
5661
5677
  const x = D(() => {
@@ -5766,7 +5782,7 @@ const As = /* @__PURE__ */ ue({
5766
5782
  }, [l.date])])])])]))]);
5767
5783
  };
5768
5784
  }
5769
- }), js = "https://json-schema.org/draft/2020-12/schema", Hs = "https://farris-design.gitee.io/list-view-table.schema.json", zs = "list-view-table", Gs = "A Farris Component", qs = "object", Ws = {
5785
+ }), Hs = "https://json-schema.org/draft/2020-12/schema", zs = "https://farris-design.gitee.io/list-view-table.schema.json", Gs = "list-view-table", qs = "A Farris Component", Ws = "object", Us = {
5770
5786
  id: {
5771
5787
  description: "The unique identifier for list-view-table",
5772
5788
  type: "string"
@@ -5828,18 +5844,18 @@ const As = /* @__PURE__ */ ue({
5828
5844
  type: "boolean",
5829
5845
  default: !0
5830
5846
  }
5831
- }, Us = [
5847
+ }, Xs = [
5832
5848
  "id",
5833
5849
  "type"
5834
- ], Xs = {
5835
- $schema: js,
5836
- $id: Hs,
5837
- title: zs,
5838
- description: Gs,
5839
- type: qs,
5840
- properties: Ws,
5841
- required: Us
5842
- }, Ys = "list-view-table", Qs = "A Farris Component", Js = "object", Zs = {
5850
+ ], Ys = {
5851
+ $schema: Hs,
5852
+ $id: zs,
5853
+ title: Gs,
5854
+ description: qs,
5855
+ type: Ws,
5856
+ properties: Us,
5857
+ required: Xs
5858
+ }, Qs = "list-view-table", Js = "A Farris Component", Zs = "object", Ks = {
5843
5859
  basic: {
5844
5860
  description: "Basic Infomation",
5845
5861
  title: "基本信息",
@@ -5861,14 +5877,14 @@ const As = /* @__PURE__ */ ue({
5861
5877
  }
5862
5878
  }
5863
5879
  }
5864
- }, Ks = {
5865
- title: Ys,
5866
- description: Qs,
5867
- type: Js,
5868
- categories: Zs
5880
+ }, er = {
5881
+ title: Qs,
5882
+ description: Js,
5883
+ type: Zs,
5884
+ categories: Ks
5869
5885
  }, Qt = {
5870
5886
  data: { type: Array, default: [] }
5871
- }, Jt = Be(Qt, Xs, Et, Mt, Ks), er = /* @__PURE__ */ ue({
5887
+ }, Jt = Be(Qt, Ys, Et, Mt, er), tr = /* @__PURE__ */ ue({
5872
5888
  name: "FListViewTableDesign",
5873
5889
  props: Qt,
5874
5890
  emits: ["outputValue", "currentEvent", "selectionChanged"],
@@ -5923,7 +5939,7 @@ const As = /* @__PURE__ */ ue({
5923
5939
  amount: 84.13,
5924
5940
  avatar: "./assets/avatar7.png"
5925
5941
  }], o = D(() => e.data.length > 0 ? e.data : n), a = f(), l = St("design-item-context"), s = Nt(a, l);
5926
- return ye(() => {
5942
+ return be(() => {
5927
5943
  a.value.componentInstance = s;
5928
5944
  }), t.expose(s.value), () => {
5929
5945
  var i;
@@ -5970,7 +5986,7 @@ Ie.register = (e, t, n) => {
5970
5986
  e["list-view"] = Ie, t["list-view"] = It, e["list-view-table"] = st, t["list-view-table"] = Jt;
5971
5987
  };
5972
5988
  Ie.registerDesigner = (e, t, n) => {
5973
- e["list-view"] = As, t["list-view"] = It, e["list-view-table"] = er, t["list-view-table"] = Jt;
5989
+ e["list-view"] = js, t["list-view"] = It, e["list-view-table"] = tr, t["list-view-table"] = Jt;
5974
5990
  };
5975
5991
  export {
5976
5992
  Ie as FListView,