@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 ai = Object.defineProperty;
2
2
  var li = (e, t, n) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var G = (e, t, n) => li(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { createVNode as C, ref as b, watch as ne, resolveComponent as ze, onMounted as $e, withDirectives as xt, vModelCheckbox as ri, computed as R, createTextVNode as Ge, defineComponent as Ve, onBeforeUnmount as Cn, nextTick as Qe, reactive as Xe, resolveDirective as si, Fragment as Ue, mergeProps as ot, onUnmounted as it, Teleport as wn, Transition as Sn, shallowRef as ui, createApp as $t, render as It, h as ci, cloneVNode as di, inject as Le, provide as pi, isVNode as fi, vShow as mi, withModifiers as gi, vModelText as hi } from "vue";
5
- import { isPlainObject as un, cloneDeep as Je } from "lodash-es";
4
+ import { createVNode as C, ref as b, watch as ne, resolveComponent as ze, onMounted as $e, withDirectives as xt, vModelCheckbox as ri, computed as R, createTextVNode as Ge, defineComponent as Ve, onBeforeUnmount as Cn, nextTick as Qe, reactive as Ye, resolveDirective as si, Fragment as Ue, mergeProps as ot, onUnmounted as it, Teleport as wn, Transition as Sn, shallowRef as ui, createApp as $t, render as It, h as ci, cloneVNode as di, inject as Le, provide as pi, isVNode as fi, vShow as mi, withModifiers as gi, vModelText as hi } from "vue";
5
+ import { isPlainObject as un, cloneDeep as qe } from "lodash-es";
6
6
  import "bignumber.js";
7
7
  import { useResizeObserver as _t } from "@vueuse/core";
8
8
  import "../modal/index.esm.js";
@@ -28,8 +28,8 @@ import Wi from "../combo-tree/index.esm.js";
28
28
  import zi from "../component/index.esm.js";
29
29
  import Ui from "../color-picker/index.esm.js";
30
30
  import qi from "../content-container/index.esm.js";
31
- import Ki from "../date-picker/index.esm.js";
32
- import Xi from "../data-grid/index.esm.js";
31
+ import Xi from "../date-picker/index.esm.js";
32
+ import Ki from "../data-grid/index.esm.js";
33
33
  import Yi from "../dropdown/index.esm.js";
34
34
  import Ji from "../events-editor/index.esm.js";
35
35
  import Qi from "../field-selector/index.esm.js";
@@ -74,29 +74,43 @@ import "../external-container/index.esm.js";
74
74
  import { createPropsResolver as Ra, resolveAppearance as $a } from "../dynamic-resolver/index.esm.js";
75
75
  import { useIdentify as Dt, useGroupData as Nt, useFilter as Fn, useHierarchy as jt, useLoading as kn, usePagination as At, useDataView as Ht, useSelection as Gt, useDataViewContainerStyle as In, useCommandColumn as Tn, useColumn as Mn, useSort as Bn, useGroupColumn as On, useEdit as Lt, useVisualDataBound as Wt, useVisualDataCell as zt, useVisualDataRow as Ut, useVisualGroupRow as En, useVisualSummaryRow as Vn, useVisualData as qt, useCellContentStyle as Da, useCellPosition as Pn, useSidebar as Rn, useVirtualScroll as $n, useFitColumn as Dn, useFilterHistory as Nn, useColumnFilter as jn, useRow as An, useDragColumn as Hn, getColumnHeader as Gn, getPagination as Na, getSidebar as Ln, getDisableMask as Wn, getSummary as ja, getHorizontalScrollbar as zn, getVerticalScrollbar as Un, getFilterPanel as Aa, getGroupPanel as Ha, useNavigation as Ga, getEmpty as qn, useSelectHierarchyItem as La } from "../data-view/index.esm.js";
76
76
  import Wa from "../popover/index.esm.js";
77
- const Kn = {}, Xn = {};
78
- function Kt(e) {
79
- const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), i = Object.keys(t).reduce((l, r) => ((!a || !o.find((u) => u === r)) && (l[r] = t[r].type === "object" && t[r].properties ? Kt(t[r]) : Je(t[r].default)), l), {});
77
+ const Xn = {}, Kn = {};
78
+ function Xt(e) {
79
+ const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), i = Object.keys(t).reduce((l, r) => ((!a || !o.find((u) => u === r)) && (l[r] = t[r].type === "object" && t[r].properties ? Xt(t[r]) : qe(t[r].default)), l), {});
80
80
  if (n && (!a || !o.find((l) => l === "id"))) {
81
81
  const l = n.toLowerCase().replace(/-/g, "_");
82
82
  i.id = `${l}_${Math.random().toString().slice(2, 6)}`;
83
83
  }
84
84
  return i;
85
85
  }
86
+ function za(e) {
87
+ const { properties: t, title: n, required: o } = e;
88
+ if (o && Array.isArray(o)) {
89
+ const a = o.reduce((i, l) => (i[l] = t[l].type === "object" && t[l].properties ? Xt(t[l]) : qe(t[l].default), i), {});
90
+ if (n && o.find((i) => i === "id")) {
91
+ const i = n.toLowerCase().replace(/-/g, "_");
92
+ a.id = `${i}_${Math.random().toString().slice(2, 6)}`;
93
+ }
94
+ return a;
95
+ }
96
+ return {
97
+ type: n
98
+ };
99
+ }
86
100
  function Yn(e, t = {}, n) {
87
- const o = Kn[e];
101
+ const o = Xn[e];
88
102
  if (o) {
89
- let a = Kt(o);
90
- const i = Xn[e];
103
+ let a = za(o);
104
+ const i = Kn[e];
91
105
  return a = i ? i({ getSchemaByType: Yn }, a, t, n) : a, a;
92
106
  }
93
107
  return null;
94
108
  }
95
- function za(e, t) {
96
- const n = Kt(t);
97
- return Object.keys(n).reduce((o, a) => (o[a] && un(o[a]) && un(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a], o), n), n;
98
- }
99
109
  function Ua(e, t) {
110
+ const n = Xt(t);
111
+ return Object.keys(n).reduce((o, a) => (Object.prototype.hasOwnProperty.call(e, a) && (o[a] && un(o[a]) && un(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a]), o), n), n;
112
+ }
113
+ function qa(e, t) {
100
114
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
101
115
  if (t.has(a)) {
102
116
  const i = t.get(a);
@@ -111,9 +125,9 @@ function Ua(e, t) {
111
125
  return o;
112
126
  }, {});
113
127
  }
114
- function qa(e, t, n = /* @__PURE__ */ new Map()) {
115
- const o = za(e, t);
116
- return Ua(o, n);
128
+ function Xa(e, t, n = /* @__PURE__ */ new Map()) {
129
+ const o = Ua(e, t);
130
+ return qa(o, n);
117
131
  }
118
132
  function Ka(e = {}) {
119
133
  function t(c, d, s, p) {
@@ -209,18 +223,18 @@ const ee = {
209
223
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
210
224
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
211
225
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
212
- }, Xa = {}, Ya = {};
226
+ }, Ya = {}, Ja = {};
213
227
  Ka();
214
228
  function He(e, t, n = /* @__PURE__ */ new Map(), o = (l, r, u, c) => r, a = {}, i = (l) => l) {
215
- return Kn[t.title] = t, Xn[t.title] = o, Xa[t.title] = a, Ya[t.title] = i, (l = {}) => {
216
- const r = qa(l, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
229
+ return Xn[t.title] = t, Kn[t.title] = o, Ya[t.title] = a, Ja[t.title] = i, (l = {}) => {
230
+ const r = Xa(l, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
217
231
  return Object.assign(u, r);
218
232
  };
219
233
  }
220
234
  function ct(e, t) {
221
235
  return { customClass: t.class, customStyle: t.style };
222
236
  }
223
- function Ja() {
237
+ function Qa() {
224
238
  function e(t, n) {
225
239
  const { id: o } = t || {}, { dataSource: a } = t || {};
226
240
  return a === void 0 ? {} : {
@@ -233,7 +247,7 @@ function Ja() {
233
247
  resolve: e
234
248
  };
235
249
  }
236
- function Qa() {
250
+ function Za() {
237
251
  function e(t, n) {
238
252
  const { dataSource: o } = t || {};
239
253
  return o === void 0 ? {} : {};
@@ -242,7 +256,7 @@ function Qa() {
242
256
  resolve: e
243
257
  };
244
258
  }
245
- function Za() {
259
+ function el() {
246
260
  function e(t, n) {
247
261
  return t.selectItemById(n);
248
262
  }
@@ -250,7 +264,7 @@ function Za() {
250
264
  selectItemById: e
251
265
  };
252
266
  }
253
- function el() {
267
+ function tl() {
254
268
  function e(t, n) {
255
269
  return t.selectItemById(n);
256
270
  }
@@ -287,8 +301,8 @@ function pn() {
287
301
  }
288
302
  return { guid: e, uuid: t };
289
303
  }
290
- const tl = ["moz", "ms", "webkit"];
291
- function nl() {
304
+ const nl = ["moz", "ms", "webkit"];
305
+ function ol() {
292
306
  let e = 0;
293
307
  return (t) => {
294
308
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -297,17 +311,17 @@ function nl() {
297
311
  return e = n + o, a;
298
312
  };
299
313
  }
300
- function ol() {
314
+ function il() {
301
315
  if (typeof window > "u")
302
316
  return () => 0;
303
317
  if (window.requestAnimationFrame)
304
318
  return window.requestAnimationFrame.bind(window);
305
- const e = tl.filter((t) => `${t}RequestAnimationFrame` in window)[0];
306
- return e ? window[`${e}RequestAnimationFrame`] : nl();
319
+ const e = nl.filter((t) => `${t}RequestAnimationFrame` in window)[0];
320
+ return e ? window[`${e}RequestAnimationFrame`] : ol();
307
321
  }
308
- ol();
309
- const il = "root-viewmodel";
310
- class al {
322
+ il();
323
+ const al = "root-viewmodel";
324
+ class ll {
311
325
  constructor(t, n) {
312
326
  G(this, "formSchemaUtils");
313
327
  G(this, "controlCreatorUtils");
@@ -465,7 +479,7 @@ class al {
465
479
  code: `${t.componentId}-component-viewmodel`,
466
480
  name: t.componentName,
467
481
  bindTo: t.bindTo,
468
- parent: il,
482
+ parent: al,
469
483
  fields: this.assembleViewModelFields(t),
470
484
  commands: [],
471
485
  states: [],
@@ -521,7 +535,7 @@ class al {
521
535
  return l == null || l.forEach((r) => {
522
536
  if (r.$type === Zn.ComplexField)
523
537
  return;
524
- const u = Je(r), c = this.controlCreatorUtils.setGridFieldProperty("data-grid-column", u, "", t.editable);
538
+ const u = qe(r), c = this.controlCreatorUtils.setGridFieldProperty("data-grid-column", u, "", t.editable);
525
539
  c && i.push(c);
526
540
  }), [o];
527
541
  }
@@ -560,14 +574,14 @@ function eo(e, t, n, o) {
560
574
  dataSource: (c = (u = n.bindingSourceContext) == null ? void 0 : u.bindingEntity) == null ? void 0 : c.label,
561
575
  selectedFields: (d = n.bindingSourceContext) == null ? void 0 : d.bindingEntityFields
562
576
  };
563
- return new al(e, o).createComponent(p);
577
+ return new ll(e, o).createComponent(p);
564
578
  } else
565
579
  return t;
566
580
  }
567
581
  function to(e, t, n) {
568
582
  return t;
569
583
  }
570
- const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-design.gitee.io/data-grid.schema.json", sl = "data-grid", ul = "A Farris Data Grid Component", cl = "object", dl = {
584
+ const rl = "https://json-schema.org/draft/2020-12/schema", sl = "https://farris-design.gitee.io/data-grid.schema.json", ul = "data-grid", cl = "A Farris Data Grid Component", dl = "object", pl = {
571
585
  id: {
572
586
  description: "The unique identifier for a Input Group",
573
587
  type: "string"
@@ -1351,18 +1365,19 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1351
1365
  default: !1
1352
1366
  }
1353
1367
  }
1354
- }, pl = [
1368
+ }, fl = [
1355
1369
  "id",
1356
- "type"
1357
- ], fl = {
1358
- $schema: ll,
1359
- $id: rl,
1360
- title: sl,
1361
- description: ul,
1362
- type: cl,
1363
- properties: dl,
1364
- required: pl
1365
- }, Sf = {
1370
+ "type",
1371
+ "columns"
1372
+ ], ml = {
1373
+ $schema: rl,
1374
+ $id: sl,
1375
+ title: ul,
1376
+ description: cl,
1377
+ type: dl,
1378
+ properties: pl,
1379
+ required: fl
1380
+ }, Ff = {
1366
1381
  /** 启用分页 */
1367
1382
  enable: { type: Boolean, default: !1 },
1368
1383
  /** 当前页码 */
@@ -1383,7 +1398,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1383
1398
  sizeLimits: { type: Array, default: [10, 20, 30, 50, 100] },
1384
1399
  /** 总记录数 */
1385
1400
  total: { type: Number, default: 0 }
1386
- }, xf = {
1401
+ }, kf = {
1387
1402
  /** 启用排序 */
1388
1403
  enable: { type: Boolean, default: !1 },
1389
1404
  /** 排序字段集合 */
@@ -1392,7 +1407,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1392
1407
  mode: { type: String, default: "client" },
1393
1408
  /** 多列排序 */
1394
1409
  multiSort: { type: Boolean, default: !1 }
1395
- }, _f = {
1410
+ }, If = {
1396
1411
  /** 自定义分组合计内容 */
1397
1412
  customGroupRow: { type: Function, default: () => {
1398
1413
  } },
@@ -1416,7 +1431,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1416
1431
  showSummary: { type: Boolean, default: !1 },
1417
1432
  /** 显示合计行位置; */
1418
1433
  summaryPosition: { type: String, default: "separate" }
1419
- }, Ff = {
1434
+ }, Tf = {
1420
1435
  /** 启用筛选 */
1421
1436
  enable: { type: Boolean, default: !1 },
1422
1437
  /** DataGrid筛选风格 */
@@ -1425,10 +1440,10 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1425
1440
  mode: { type: String, default: "server" },
1426
1441
  /** 显示过滤条件工具条 */
1427
1442
  showSummary: { type: Boolean, default: !0 }
1428
- }, kf = {
1443
+ }, Mf = {
1429
1444
  /** 允许折行显示列标题 */
1430
1445
  wrapHeadings: { type: Boolean, default: !1 }
1431
- }, If = {
1446
+ }, Bf = {
1432
1447
  /** 显示行号 */
1433
1448
  enable: { type: Boolean, default: !1 },
1434
1449
  /** 行号列表头标题 */
@@ -1437,7 +1452,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1437
1452
  width: { type: Number, default: 36 },
1438
1453
  /** 是否展示省略号 */
1439
1454
  showEllipsis: { type: Boolean, default: !0 }
1440
- }, Tf = {
1455
+ }, Of = {
1441
1456
  /** 自定义行样式 */
1442
1457
  customRowStyle: { type: Function, default: () => {
1443
1458
  } },
@@ -1453,7 +1468,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1453
1468
  showHovering: { type: Boolean, default: !0 },
1454
1469
  /** 禁止数据折行 */
1455
1470
  wrapContent: { type: Boolean, default: !1 }
1456
- }, Mf = {
1471
+ }, Ef = {
1457
1472
  /** 显示合计信息 */
1458
1473
  enable: { type: Boolean, default: !1 },
1459
1474
  /** 合计行自定义样式,对启用合计行模板无效 */
@@ -1465,7 +1480,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1465
1480
  mode: { type: String, default: "client" },
1466
1481
  /** 合计行显示位置, top: 顶部 bottom: 底部, both: 顶部与底部同时显示 */
1467
1482
  position: { type: String, default: "bottom" }
1468
- }, Bf = {
1483
+ }, Vf = {
1469
1484
  /** 自动列宽。设为true后,所有列将填满表格并不会出现横向滚动条。 */
1470
1485
  fitColumns: { type: Boolean, default: !1 },
1471
1486
  /** 自动适配列宽度模式 */
@@ -1477,7 +1492,7 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1477
1492
  resizeColumn: { type: Boolean, default: !0 },
1478
1493
  /** 双击表头列自适应内容宽度 */
1479
1494
  resizeColumnOnDoubleClick: { type: Boolean, default: !0 }
1480
- }, Of = {
1495
+ }, Pf = {
1481
1496
  /** 启用多选且显示checkbox, 选中行后勾选前面的checkbox */
1482
1497
  checkOnSelect: { type: Boolean, default: !1 },
1483
1498
  /** 当数据源为空时,清空已选记录 */
@@ -1503,17 +1518,17 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1503
1518
  showSelectAll: { type: Boolean, default: !1 },
1504
1519
  /** 显示已选数据 */
1505
1520
  showSelection: { type: Boolean, default: !1 }
1506
- }, Ef = {
1521
+ }, Rf = {
1507
1522
  /** 编辑时选中文本 */
1508
1523
  selectOnEditing: { type: Boolean, default: !1 },
1509
1524
  /** 编辑模式; row:整行编辑,cell: 单元格编辑 */
1510
1525
  editMode: { type: String, default: "cell" }
1511
- }, Vf = {
1526
+ }, $f = {
1512
1527
  /** show loading */
1513
1528
  show: { type: Boolean, default: !1 },
1514
1529
  /** message on display when loading */
1515
1530
  message: { type: String, default: "加载中..." }
1516
- }, Xt = {
1531
+ }, Kt = {
1517
1532
  /** 变更策略 默认主动更新 */
1518
1533
  changePolicy: { type: String, default: "push" },
1519
1534
  /** 列集合 */
@@ -1639,9 +1654,9 @@ const ll = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-
1639
1654
  type: Boolean,
1640
1655
  default: !1
1641
1656
  }
1642
- }, ml = Object.assign({}, Xt, { componentId: { type: String, default: "" } }), no = He(Xt, fl, Jn, eo), gl = Ja(), hl = Za();
1643
- var Ne = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Ne || {}), Ye = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(Ye || {}), ut = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(ut || {}), Ee = /* @__PURE__ */ ((e) => (e[e.none = 0] = "none", e[e.filterable = 1] = "filterable", e[e.sortable = 2] = "sortable", e[e.filtered = 4] = "filtered", e[e.sorted = 8] = "sorted", e[e.ascending = 16] = "ascending", e[e.descending = 32] = "descending", e))(Ee || {}), Et = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(Et || {});
1644
- function vl() {
1657
+ }, gl = Object.assign({}, Kt, { componentId: { type: String, default: "" } }), no = He(Kt, ml, Jn, eo), hl = Qa(), vl = el();
1658
+ var Ne = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Ne || {}), Je = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(Je || {}), ut = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(ut || {}), Ee = /* @__PURE__ */ ((e) => (e[e.none = 0] = "none", e[e.filterable = 1] = "filterable", e[e.sortable = 2] = "sortable", e[e.filtered = 4] = "filtered", e[e.sorted = 8] = "sorted", e[e.ascending = 16] = "ascending", e[e.descending = 32] = "descending", e))(Ee || {}), Et = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(Et || {});
1659
+ function yl() {
1645
1660
  function e() {
1646
1661
  return C("div", {
1647
1662
  class: "fv-grid-disable"
@@ -1651,7 +1666,7 @@ function vl() {
1651
1666
  renderDisableMask: e
1652
1667
  };
1653
1668
  }
1654
- function yl(e, t, n, o, a) {
1669
+ function bl(e, t, n, o, a) {
1655
1670
  const {
1656
1671
  columnContext: i
1657
1672
  } = t, {
@@ -1709,7 +1724,7 @@ function yl(e, t, n, o, a) {
1709
1724
  renderFilterPanel: w
1710
1725
  };
1711
1726
  }
1712
- function bl(e, t, n, o, a) {
1727
+ function Cl(e, t, n, o, a) {
1713
1728
  const {
1714
1729
  dropOnGroupPanel: i,
1715
1730
  groupColumnItems: l
@@ -1819,7 +1834,7 @@ function Yt(e, t) {
1819
1834
  summaryCellPosition: r
1820
1835
  };
1821
1836
  }
1822
- function Cl(e, t, n) {
1837
+ function wl(e, t, n) {
1823
1838
  const { hasChildrenField: o } = n, a = b("#9399a0"), i = b(28);
1824
1839
  function l() {
1825
1840
  return [].concat(
@@ -1858,7 +1873,7 @@ function Cl(e, t, n) {
1858
1873
  }
1859
1874
  return { hierarchyCellContentStyle: c, handleCollapsedPaddingBottom: u };
1860
1875
  }
1861
- function wl(e, t, n) {
1876
+ function Sl(e, t, n) {
1862
1877
  const o = b(e.iconField);
1863
1878
  function a(i, l) {
1864
1879
  if (o.value)
@@ -1885,7 +1900,7 @@ function Jt() {
1885
1900
  }
1886
1901
  return { updateRowPosition: e, updateVisualInfomation: t };
1887
1902
  }
1888
- function Sl(e, t, n, o, a, i) {
1903
+ function xl(e, t, n, o, a, i) {
1889
1904
  const { dataView: l, fold: r, hasRealChildren: u, unFold: c } = o, { collapseField: d, hasChildrenField: s } = a, { updateRowPosition: p } = Jt();
1890
1905
  function w(x, y) {
1891
1906
  const m = y[x].layer;
@@ -1923,7 +1938,7 @@ function Sl(e, t, n, o, a, i) {
1923
1938
  }
1924
1939
  return { toggleTreeNode: _ };
1925
1940
  }
1926
- function xl(e, t, n, o, a, i, l, r, u, c, d) {
1941
+ function _l(e, t, n, o, a, i, l, r, u, c, d) {
1927
1942
  const {
1928
1943
  onClickCell: s
1929
1944
  } = i, {
@@ -1949,7 +1964,7 @@ function xl(e, t, n, o, a, i, l, r, u, c, d) {
1949
1964
  shouldShowIcon: O
1950
1965
  } = l, {
1951
1966
  toggleTreeNode: P
1952
- } = Sl(e, t, o, a, l), {
1967
+ } = xl(e, t, o, a, l), {
1953
1968
  toggleSelectHierarchyItem: M
1954
1969
  } = c, {
1955
1970
  cellKey: V,
@@ -1958,9 +1973,9 @@ function xl(e, t, n, o, a, i, l, r, u, c, d) {
1958
1973
  rowPosition: D
1959
1974
  } = Yt(e, n), {
1960
1975
  hierarchyCellContentStyle: A
1961
- } = Cl(e, o, l), {
1976
+ } = wl(e, o, l), {
1962
1977
  treeNodeIconsClass: j
1963
- } = wl(e, f, T);
1978
+ } = Sl(e, f, T);
1964
1979
  function H(W, U) {
1965
1980
  const ce = W.raw[T.value];
1966
1981
  return {
@@ -1968,13 +1983,13 @@ function xl(e, t, n, o, a, i, l, r, u, c, d) {
1968
1983
  "fv-tree-node-toggle-minus": ce && !W.collapse
1969
1984
  };
1970
1985
  }
1971
- function K(W, U) {
1986
+ function X(W, U) {
1972
1987
  W.stopPropagation(), P(U);
1973
1988
  }
1974
1989
  function ie(W, U) {
1975
1990
  return C("div", {
1976
1991
  class: H(W),
1977
- onClick: (ce) => K(ce, W)
1992
+ onClick: (ce) => X(ce, W)
1978
1993
  }, null);
1979
1994
  }
1980
1995
  function me(W, U) {
@@ -2059,7 +2074,7 @@ function oo(e, t, n) {
2059
2074
  renderHorizontalScrollbar: l
2060
2075
  };
2061
2076
  }
2062
- function _l(e, t, n, o, a) {
2077
+ function Fl(e, t, n, o, a) {
2063
2078
  const {
2064
2079
  currentPage: i,
2065
2080
  pageSize: l,
@@ -2201,7 +2216,7 @@ function io(e, t, n, o, a) {
2201
2216
  renderDataGridSidebar: I
2202
2217
  };
2203
2218
  }
2204
- function Fl(e, t, n) {
2219
+ function kl(e, t, n) {
2205
2220
  const {
2206
2221
  columnContext: o
2207
2222
  } = n, a = b(e.summary), i = R(() => {
@@ -2248,15 +2263,15 @@ function ao(e, t, n) {
2248
2263
  renderVerticalScrollbar: l
2249
2264
  };
2250
2265
  }
2251
- function kl() {
2266
+ function Il() {
2252
2267
  function e(o, a) {
2253
2268
  switch (o.command) {
2254
2269
  case "edit":
2255
2270
  case "remove":
2256
- return a.status === Ye.initial;
2271
+ return a.status === Je.initial;
2257
2272
  case "accept":
2258
2273
  case "cancel":
2259
- return a.status === Ye.editing;
2274
+ return a.status === Je.editing;
2260
2275
  default:
2261
2276
  return !o.hidden;
2262
2277
  }
@@ -2264,11 +2279,11 @@ function kl() {
2264
2279
  function t(o, a, i) {
2265
2280
  switch (o.onClick(a, i.dataIndex, i), o.command) {
2266
2281
  case "edit":
2267
- i.status, Ye.editing;
2282
+ i.status, Je.editing;
2268
2283
  break;
2269
2284
  case "accept":
2270
2285
  case "cancel":
2271
- i.status, Ye.initial;
2286
+ i.status, Je.initial;
2272
2287
  break;
2273
2288
  }
2274
2289
  }
@@ -2286,7 +2301,7 @@ function kl() {
2286
2301
  renderCommandColumn: n
2287
2302
  };
2288
2303
  }
2289
- function Il(e) {
2304
+ function Tl(e) {
2290
2305
  function t() {
2291
2306
  return C("div", {
2292
2307
  class: "d-flex flex-column f-datagrid-norecords"
@@ -2421,23 +2436,23 @@ function ro(e) {
2421
2436
  updateColumnSettingIcon: r
2422
2437
  };
2423
2438
  }
2424
- const Tl = [{
2439
+ const Ml = [{
2425
2440
  name: "是",
2426
2441
  value: !0
2427
2442
  }, {
2428
2443
  name: "否",
2429
2444
  value: !1
2430
2445
  }];
2431
- function Ml(e) {
2446
+ function Bl(e) {
2432
2447
  return e.filter = e.filter || function(t) {
2433
2448
  return String(e.filterValue).split(",").includes(String(t[e.field]));
2434
2449
  }, C("div", null, [C(ze("f-checkbox-group"), {
2435
2450
  modelValue: e.filterValue,
2436
2451
  "onUpdate:modelValue": (t) => e.filterValue = t,
2437
- "enum-data": Tl
2452
+ "enum-data": Ml
2438
2453
  }, null)]);
2439
2454
  }
2440
- const Bl = b([{
2455
+ const Ol = b([{
2441
2456
  name: "七天",
2442
2457
  selectable: !0
2443
2458
  }, {
@@ -2450,7 +2465,7 @@ const Bl = b([{
2450
2465
  name: "半年",
2451
2466
  selectable: !0
2452
2467
  }]);
2453
- function Ol(e) {
2468
+ function El(e) {
2454
2469
  const t = b(!1);
2455
2470
  return e.filter = e.filter || function(n) {
2456
2471
  const o = new Date(new Date(e.filterValue).toLocaleDateString()).valueOf();
@@ -2470,12 +2485,12 @@ function Ol(e) {
2470
2485
  "onUpdate:modelValue": (n) => e.filterValue = n
2471
2486
  }, null), C(ze("f-tags"), {
2472
2487
  style: "margin-top:10px",
2473
- data: Bl.value,
2488
+ data: Ol.value,
2474
2489
  selectable: !0,
2475
2490
  "tag-style": "capsule"
2476
2491
  }, null)]);
2477
2492
  }
2478
- function El(e) {
2493
+ function Vl(e) {
2479
2494
  e.filter = e.filter || function(n) {
2480
2495
  const o = Number.parseFloat(e.filterValue), a = Number.parseFloat(n[e.field]);
2481
2496
  return isNaN(o) ? isNaN(a) : o === a;
@@ -2490,7 +2505,7 @@ function El(e) {
2490
2505
  onValueChange: t
2491
2506
  }, null)]);
2492
2507
  }
2493
- function Vl(e, t, n, o, a, i) {
2508
+ function Pl(e, t, n, o, a, i) {
2494
2509
  e.filterHistory = e.filterHistory || a.getFilterHistory(e), e.filter = e.filter || function(p) {
2495
2510
  return (p[e.field] || "").startsWith(e.filterValue);
2496
2511
  };
@@ -2527,7 +2542,7 @@ function Vl(e, t, n, o, a, i) {
2527
2542
  onChange: u
2528
2543
  }, null)]);
2529
2544
  }
2530
- function Pl(e, t, n, o, a, i) {
2545
+ function Rl(e, t, n, o, a, i) {
2531
2546
  e.filter = e.filter || function(w) {
2532
2547
  return String(e.filterValue).split(",").includes(String(w[e.field]));
2533
2548
  };
@@ -2558,7 +2573,7 @@ function Pl(e, t, n, o, a, i) {
2558
2573
  default: () => [Ge(" ")]
2559
2574
  });
2560
2575
  }
2561
- function Rl(e) {
2576
+ function $l(e) {
2562
2577
  b("请输入关键词"), b('<i class="f-icon f-icon-search"></i>');
2563
2578
  const t = [{
2564
2579
  name: "发票类型",
@@ -2611,12 +2626,12 @@ function so(e, t, n, o, a) {
2611
2626
  ["enum", "enum-filter"],
2612
2627
  ["reference", "list-filter"]
2613
2628
  ]), l = /* @__PURE__ */ new Map([
2614
- ["boolean-filter", Ml],
2615
- ["date-filter", Ol],
2616
- ["enum-filter", Pl],
2617
- ["list-filter", Rl],
2618
- ["numeric-filter", El],
2619
- ["text-filter", Vl]
2629
+ ["boolean-filter", Bl],
2630
+ ["date-filter", El],
2631
+ ["enum-filter", Rl],
2632
+ ["list-filter", $l],
2633
+ ["numeric-filter", Vl],
2634
+ ["text-filter", Pl]
2620
2635
  ]);
2621
2636
  function r(u) {
2622
2637
  var p, w;
@@ -2946,7 +2961,7 @@ const mo = {
2946
2961
  */
2947
2962
  isControlInline: { type: Boolean, default: !0 }
2948
2963
  };
2949
- class $l {
2964
+ class Dl {
2950
2965
  constructor(t = { value: [] }) {
2951
2966
  G(this, "editorType", "check-box");
2952
2967
  G(this, "value");
@@ -2966,7 +2981,7 @@ class $l {
2966
2981
  return this.value.length === 0;
2967
2982
  }
2968
2983
  }
2969
- class Dl {
2984
+ class Nl {
2970
2985
  constructor(t = { textValue: "", value: "", valueField: "" }) {
2971
2986
  G(this, "editorType", "combo-lookup");
2972
2987
  G(this, "textValue");
@@ -2986,11 +3001,11 @@ class Dl {
2986
3001
  return t[n[0]];
2987
3002
  }
2988
3003
  getTextValue(t) {
2989
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Je(n)));
3004
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, qe(n)));
2990
3005
  return o && o.length ? o.join(",") : "";
2991
3006
  }
2992
3007
  getValue() {
2993
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Je(t)));
3008
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, qe(t)));
2994
3009
  return n && n.length ? n.join(",") : "";
2995
3010
  }
2996
3011
  setValue(t) {
@@ -3000,7 +3015,7 @@ class Dl {
3000
3015
  return !this.valueField;
3001
3016
  }
3002
3017
  }
3003
- class Nl {
3018
+ class jl {
3004
3019
  constructor(t = { value: "" }) {
3005
3020
  G(this, "editorType", "date-picker");
3006
3021
  G(this, "value");
@@ -3041,7 +3056,7 @@ class fn {
3041
3056
  return !this.begin || !this.end;
3042
3057
  }
3043
3058
  }
3044
- class jl {
3059
+ class Al {
3045
3060
  constructor(t = { value: "" }) {
3046
3061
  G(this, "editorType", "datetime-picker");
3047
3062
  G(this, "value");
@@ -3061,7 +3076,7 @@ class jl {
3061
3076
  return !this.value;
3062
3077
  }
3063
3078
  }
3064
- class Al {
3079
+ class Hl {
3065
3080
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
3066
3081
  constructor(t = { value: "", dispalyText: "" }) {
3067
3082
  G(this, "editorType", "combo-list");
@@ -3084,7 +3099,7 @@ class Al {
3084
3099
  return !this.displayText && !this.value;
3085
3100
  }
3086
3101
  }
3087
- class Hl {
3102
+ class Gl {
3088
3103
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
3089
3104
  G(this, "editorType", "input-group");
3090
3105
  // 通过弹窗返回的若干个值对象构成的数组
@@ -3109,21 +3124,21 @@ class Hl {
3109
3124
  return t[n[0]];
3110
3125
  }
3111
3126
  getTextValue(t) {
3112
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Je(n)));
3127
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, qe(n)));
3113
3128
  return o && o.length ? o.join(",") : "";
3114
3129
  }
3115
3130
  getValue() {
3116
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Je(t)));
3131
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, qe(t)));
3117
3132
  return n && n.length ? n.join(",") : "";
3118
3133
  }
3119
3134
  setValue(t) {
3120
3135
  throw new Error("Method not implemented.");
3121
3136
  }
3122
3137
  isEmpty() {
3123
- return !this.displayText && !this.value;
3138
+ return !this.displayText && !this.value.length;
3124
3139
  }
3125
3140
  }
3126
- class Gl {
3141
+ class Ll {
3127
3142
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
3128
3143
  G(this, "editorType", "lookup");
3129
3144
  G(this, "textValue");
@@ -3159,7 +3174,7 @@ class Gl {
3159
3174
  return !this.value.length;
3160
3175
  }
3161
3176
  }
3162
- class Ll {
3177
+ class Wl {
3163
3178
  constructor(t = { value: "" }) {
3164
3179
  G(this, "editorType", "month-picker");
3165
3180
  G(this, "value");
@@ -3179,7 +3194,7 @@ class Ll {
3179
3194
  return !this.value;
3180
3195
  }
3181
3196
  }
3182
- class Wl {
3197
+ class zl {
3183
3198
  constructor(t = { begin: "", end: "" }) {
3184
3199
  G(this, "editorType", "month-range");
3185
3200
  G(this, "begin");
@@ -3200,7 +3215,7 @@ class Wl {
3200
3215
  return !this.begin || !this.end;
3201
3216
  }
3202
3217
  }
3203
- class zl {
3218
+ class Ul {
3204
3219
  constructor(t = { begin: null, end: null }) {
3205
3220
  G(this, "editorType", "number-range");
3206
3221
  G(this, "begin");
@@ -3224,7 +3239,7 @@ class zl {
3224
3239
  return this.begin == null && this.end == null;
3225
3240
  }
3226
3241
  }
3227
- class Ul {
3242
+ class ql {
3228
3243
  constructor(t = { value: "" }) {
3229
3244
  G(this, "editorType", "number-spinner");
3230
3245
  G(this, "value");
@@ -3241,10 +3256,10 @@ class Ul {
3241
3256
  this.value = isNaN(parseFloat(t)) ? null : t;
3242
3257
  }
3243
3258
  isEmpty() {
3244
- return this.value == null;
3259
+ return this.value == null || isNaN(this.value);
3245
3260
  }
3246
3261
  }
3247
- class ql {
3262
+ class Xl {
3248
3263
  constructor(t = { value: null }) {
3249
3264
  G(this, "editorType", "radio-group");
3250
3265
  G(this, "value");
@@ -3288,33 +3303,33 @@ function ho() {
3288
3303
  function e(t, n) {
3289
3304
  switch (t) {
3290
3305
  case "check-box":
3291
- return new $l(n);
3306
+ return new Dl(n);
3292
3307
  case "combo-list":
3293
- return new Al(n);
3308
+ return new Hl(n);
3294
3309
  case "combo-lookup":
3295
- return new Dl(n);
3310
+ return new Nl(n);
3296
3311
  case "input-group":
3297
- return new Hl(n);
3312
+ return new Gl(n);
3298
3313
  case "date-picker":
3299
- return new Nl(n);
3314
+ return new jl(n);
3300
3315
  case "date-range":
3301
3316
  return new fn(n);
3302
3317
  case "datetime-picker":
3303
- return new jl(n);
3318
+ return new Al(n);
3304
3319
  case "datetime-range":
3305
3320
  return new fn(n);
3306
3321
  case "lookup":
3307
- return new Gl(n);
3308
- case "month-picker":
3309
3322
  return new Ll(n);
3310
- case "month-range":
3323
+ case "month-picker":
3311
3324
  return new Wl(n);
3312
- case "number-range":
3325
+ case "month-range":
3313
3326
  return new zl(n);
3314
- case "number-spinner":
3327
+ case "number-range":
3315
3328
  return new Ul(n);
3316
- case "radio-group":
3329
+ case "number-spinner":
3317
3330
  return new ql(n);
3331
+ case "radio-group":
3332
+ return new Xl(n);
3318
3333
  default:
3319
3334
  return new go(n);
3320
3335
  }
@@ -3433,8 +3448,8 @@ const mn = /* @__PURE__ */ Ve({
3433
3448
  }
3434
3449
  }), Qt = /* @__PURE__ */ new Map([
3435
3450
  ["appearance", ct]
3436
- ]), Xl = /* @__PURE__ */ new Map([]), Yl = "root-viewmodel";
3437
- class Jl {
3451
+ ]), Yl = /* @__PURE__ */ new Map([]), Jl = "root-viewmodel";
3452
+ class Ql {
3438
3453
  constructor(t, n) {
3439
3454
  G(this, "formSchemaUtils");
3440
3455
  G(this, "controlCreatorUtils");
@@ -3491,7 +3506,7 @@ class Jl {
3491
3506
  }), n.contents = [o];
3492
3507
  const { selectedFields: i } = t;
3493
3508
  i == null || i.forEach((r) => {
3494
- const u = Je(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
3509
+ const u = qe(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
3495
3510
  d && a.push(d);
3496
3511
  });
3497
3512
  const { templateId: l } = this.formSchemaUtils.getFormSchema().module;
@@ -3528,7 +3543,7 @@ class Jl {
3528
3543
  code: `${t.componentId}-component-viewmodel`,
3529
3544
  name: t.componentName,
3530
3545
  bindTo: t.bindTo,
3531
- parent: Yl,
3546
+ parent: Jl,
3532
3547
  fields: this.assembleViewModelFields(t),
3533
3548
  commands: [],
3534
3549
  states: [],
@@ -3555,7 +3570,7 @@ class Jl {
3555
3570
  }), n;
3556
3571
  }
3557
3572
  }
3558
- function Ql(e, t, n, o) {
3573
+ function Zl(e, t, n, o) {
3559
3574
  var i, l, r, u, c;
3560
3575
  const a = n.parentComponentInstance;
3561
3576
  if (a && o) {
@@ -3568,14 +3583,14 @@ function Ql(e, t, n, o) {
3568
3583
  bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
3569
3584
  selectedFields: (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntityFields
3570
3585
  };
3571
- return new Jl(e, o).createComponent(p);
3586
+ return new Ql(e, o).createComponent(p);
3572
3587
  } else
3573
3588
  return t;
3574
3589
  }
3575
- function Zl(e, t, n) {
3590
+ function er(e, t, n) {
3576
3591
  return t;
3577
3592
  }
3578
- const er = "https://json-schema.org/draft/2020-12/schema", tr = "https://farris-design.gitee.io/response-form.schema.json", nr = "response-form", or = "A Farris Data Collection Component", ir = "object", ar = {
3593
+ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-design.gitee.io/response-form.schema.json", or = "response-form", ir = "A Farris Data Collection Component", ar = "object", lr = {
3579
3594
  id: {
3580
3595
  description: "The unique identifier for a form group",
3581
3596
  type: "string"
@@ -3603,23 +3618,24 @@ const er = "https://json-schema.org/draft/2020-12/schema", tr = "https://farris-
3603
3618
  type: "array",
3604
3619
  default: []
3605
3620
  }
3606
- }, lr = [
3621
+ }, rr = [
3607
3622
  "id",
3608
- "type"
3609
- ], rr = {
3610
- $schema: er,
3611
- $id: tr,
3612
- title: nr,
3613
- description: or,
3614
- type: ir,
3615
- properties: ar,
3616
- required: lr
3617
- }, sr = {
3623
+ "type",
3624
+ "contents"
3625
+ ], sr = {
3626
+ $schema: tr,
3627
+ $id: nr,
3628
+ title: or,
3629
+ description: ir,
3630
+ type: ar,
3631
+ properties: lr,
3632
+ required: rr
3633
+ }, ur = {
3618
3634
  customClass: { type: String, default: "" },
3619
3635
  customStyle: { type: String, defaut: "" }
3620
3636
  };
3621
- He(sr, rr, Qt, Ql);
3622
- const ur = "https://json-schema.org/draft/2020-12/schema", cr = "https://farris-design.gitee.io/form-group.schema.json", dr = "form-group", pr = "A Farris Input Component", fr = "object", mr = {
3637
+ He(ur, sr, Qt, Zl);
3638
+ const cr = "https://json-schema.org/draft/2020-12/schema", dr = "https://farris-design.gitee.io/form-group.schema.json", pr = "form-group", fr = "A Farris Input Component", mr = "object", gr = {
3623
3639
  id: {
3624
3640
  description: "The unique identifier for a form group",
3625
3641
  type: "string"
@@ -3649,7 +3665,8 @@ const ur = "https://json-schema.org/draft/2020-12/schema", cr = "https://farris-
3649
3665
  },
3650
3666
  editor: {
3651
3667
  description: "",
3652
- type: "obejct"
3668
+ type: "obejct",
3669
+ default: {}
3653
3670
  },
3654
3671
  label: {
3655
3672
  description: "",
@@ -3665,17 +3682,18 @@ const ur = "https://json-schema.org/draft/2020-12/schema", cr = "https://farris-
3665
3682
  type: "object",
3666
3683
  default: {}
3667
3684
  }
3668
- }, gr = [
3685
+ }, hr = [
3669
3686
  "id",
3670
- "type"
3687
+ "type",
3688
+ "editor"
3671
3689
  ], yo = {
3672
- $schema: ur,
3673
- $id: cr,
3674
- title: dr,
3675
- description: pr,
3676
- type: fr,
3677
- properties: mr,
3678
- required: gr
3690
+ $schema: cr,
3691
+ $id: dr,
3692
+ title: pr,
3693
+ description: fr,
3694
+ type: mr,
3695
+ properties: gr,
3696
+ required: hr
3679
3697
  }, bo = {
3680
3698
  id: { type: String, default: "" },
3681
3699
  customClass: { type: String, default: "" },
@@ -3874,11 +3892,11 @@ class kt {
3874
3892
  const o = n && n.parent && n.parent.schema;
3875
3893
  if (!o)
3876
3894
  return;
3877
- const a = o.contents.findIndex((l) => l.id === t), i = Je(o.contents[a]);
3895
+ const a = o.contents.findIndex((l) => l.id === t), i = qe(o.contents[a]);
3878
3896
  o.contents.splice(a, 1), o.contents.splice(a, 0, i);
3879
3897
  }
3880
3898
  }
3881
- class hr {
3899
+ class vr {
3882
3900
  constructor() {
3883
3901
  /** 控件标题 */
3884
3902
  G(this, "label", "");
@@ -3908,7 +3926,7 @@ class hr {
3908
3926
  G(this, "fieldSetId", "");
3909
3927
  }
3910
3928
  }
3911
- function vr(e) {
3929
+ function yr(e) {
3912
3930
  let t, n;
3913
3931
  const o = /* @__PURE__ */ new Map();
3914
3932
  let a = [];
@@ -3929,7 +3947,7 @@ function vr(e) {
3929
3947
  return;
3930
3948
  }
3931
3949
  g && (p += 1, g = !1);
3932
- const x = _.appearance && _.appearance.class, y = new hr();
3950
+ const x = _.appearance && _.appearance.class, y = new vr();
3933
3951
  x ? i(x, y) : y.isSupportedClass = !1, y.label = _.label || _.id, y.id = _.id, y.group = p, w && (y.fieldSetId = d.id), n === _.id && (t = p), o.set(_.id, _), s.push(y);
3934
3952
  });
3935
3953
  }
@@ -3984,14 +4002,14 @@ function vr(e) {
3984
4002
  getResonseFormLayoutConfig: l
3985
4003
  };
3986
4004
  }
3987
- const yr = {
4005
+ const br = {
3988
4006
  id: { type: String },
3989
4007
  required: { type: Boolean, default: !1 },
3990
4008
  text: { type: String, default: "" },
3991
4009
  title: { type: String }
3992
- }, br = /* @__PURE__ */ Ve({
4010
+ }, Cr = /* @__PURE__ */ Ve({
3993
4011
  name: "FDynamicFormLabel",
3994
- props: yr,
4012
+ props: br,
3995
4013
  emits: [],
3996
4014
  setup(e, t) {
3997
4015
  const n = b(e.title || e.text), o = b(e.required), a = b(e.text);
@@ -4008,13 +4026,13 @@ const yr = {
4008
4026
  class: "farris-label-text"
4009
4027
  }, [a.value])]);
4010
4028
  }
4011
- }), Cr = /* @__PURE__ */ new Map([
4029
+ }), wr = /* @__PURE__ */ new Map([
4012
4030
  ["appearance", ct]
4013
4031
  ]);
4014
- function wr(e, t, n) {
4032
+ function Sr(e, t, n) {
4015
4033
  return t;
4016
4034
  }
4017
- const Sr = "https://json-schema.org/draft/2020-12/schema", xr = "https://farris-design.gitee.io/input-group.schema.json", _r = "input-group", Fr = "A Farris Input Component", kr = "object", Ir = {
4035
+ const xr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-design.gitee.io/input-group.schema.json", Fr = "input-group", kr = "A Farris Input Component", Ir = "object", Tr = {
4018
4036
  id: {
4019
4037
  description: "The unique identifier for a Input Group",
4020
4038
  type: "string"
@@ -4211,23 +4229,22 @@ const Sr = "https://json-schema.org/draft/2020-12/schema", xr = "https://farris-
4211
4229
  type: "string",
4212
4230
  default: ""
4213
4231
  }
4214
- }, Tr = [
4215
- "id",
4232
+ }, Mr = [
4216
4233
  "type"
4217
- ], Mr = [
4234
+ ], Br = [
4218
4235
  "id",
4219
4236
  "appearance",
4220
4237
  "binding",
4221
4238
  "visible"
4222
- ], Br = {
4223
- $schema: Sr,
4224
- $id: xr,
4225
- title: _r,
4226
- description: Fr,
4227
- type: kr,
4228
- properties: Ir,
4229
- required: Tr,
4230
- ignore: Mr
4239
+ ], Or = {
4240
+ $schema: xr,
4241
+ $id: _r,
4242
+ title: Fr,
4243
+ description: kr,
4244
+ type: Ir,
4245
+ properties: Tr,
4246
+ required: Mr,
4247
+ ignore: Br
4231
4248
  }, Co = {
4232
4249
  id: { Type: String, default: "" },
4233
4250
  /** 是否自动完成 */
@@ -4296,15 +4313,15 @@ const Sr = "https://json-schema.org/draft/2020-12/schema", xr = "https://farris-
4296
4313
  */
4297
4314
  updateOn: { type: String, default: "blur" }
4298
4315
  };
4299
- He(Co, Br, Cr, wr);
4300
- function Or(e, t) {
4316
+ He(Co, Or, wr, Sr);
4317
+ function Er(e, t) {
4301
4318
  const n = b(e.groupText), o = R(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = R(() => e.enableClear || !!e.groupText);
4302
4319
  return { appendedButtonClass: R(() => ({
4303
4320
  "input-group-append": !0,
4304
4321
  "append-force-show": o.value
4305
4322
  })), appendedContent: n, shouldShowAppendedButton: a };
4306
4323
  }
4307
- function Er(e, t, n, o) {
4324
+ function Vr(e, t, n, o) {
4308
4325
  const { appendedContent: a } = o, i = b(e.enableViewPassword), l = R(() => e.type === "password"), r = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', c = b(!1);
4309
4326
  ne(() => [e.readonly, e.disabled], ([p, w]) => {
4310
4327
  l.value && (n.value = p || w ? "password" : n.value, a.value = p || w ? u : a.value);
@@ -4317,7 +4334,7 @@ function Er(e, t, n, o) {
4317
4334
  }
4318
4335
  return s(), { isPassword: l, onClickAppendedButton: d };
4319
4336
  }
4320
- function Vr(e, t, n) {
4337
+ function Pr(e, t, n) {
4321
4338
  const o = b(), {
4322
4339
  onBlurTextBox: a,
4323
4340
  onFocusTextBox: i,
@@ -4357,7 +4374,7 @@ function Vr(e, t, n) {
4357
4374
  onKeydown: r
4358
4375
  }, null);
4359
4376
  }
4360
- function Pr(e, t, n) {
4377
+ function Rr(e, t, n) {
4361
4378
  const {
4362
4379
  canDownward: o,
4363
4380
  canUpward: a,
@@ -4398,12 +4415,12 @@ function Pr(e, t, n) {
4398
4415
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
4399
4416
  }, null)])]);
4400
4417
  }
4401
- function Rr(e, t) {
4402
- const n = Pi(e, t), o = Ri(e, t, n), a = $i(e, t, o, n), i = Di(e, t, o, n, a), l = Pr(e, t, a), {
4418
+ function $r(e, t) {
4419
+ const n = Pi(e, t), o = Ri(e, t, n), a = $i(e, t, o, n), i = Di(e, t, o, n, a), l = Rr(e, t, a), {
4403
4420
  displayValue: r,
4404
4421
  modelValue: u,
4405
4422
  getRealValue: c
4406
- } = n, d = Vr(e, t, i), {
4423
+ } = n, d = Pr(e, t, i), {
4407
4424
  format: s
4408
4425
  } = o, {
4409
4426
  isFocus: p
@@ -4422,7 +4439,7 @@ function Rr(e, t) {
4422
4439
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
4423
4440
  }, [d(), w.value && l()]);
4424
4441
  }
4425
- function $r(e, t, n, o) {
4442
+ function Dr(e, t, n, o) {
4426
4443
  const a = b(), i = b(e.autocomplete), l = b(e.enableTitle), {
4427
4444
  isPassword: r
4428
4445
  } = n, u = b(e.minLength), c = b(e.maxLength), d = b(e.tabIndex), {
@@ -4468,8 +4485,8 @@ function $r(e, t, n, o) {
4468
4485
  onMousedown: F
4469
4486
  }, null);
4470
4487
  }
4471
- function Dr(e, t) {
4472
- const n = R(() => e.useExtendInfo && !!e.extendInfo), o = Xe({
4488
+ function Nr(e, t) {
4489
+ const n = R(() => e.useExtendInfo && !!e.extendInfo), o = Ye({
4473
4490
  content: e.extendInfo
4474
4491
  });
4475
4492
  function a() {
@@ -4484,7 +4501,7 @@ function Dr(e, t) {
4484
4501
  class: "tips-arrow"
4485
4502
  }, null)]), [[si("tooltip"), o]]);
4486
4503
  }
4487
- function Nr(e, t, n, o, a) {
4504
+ function jr(e, t, n, o, a) {
4488
4505
  const {
4489
4506
  appendedButtonClass: i,
4490
4507
  appendedContent: l
@@ -4536,7 +4553,7 @@ function Nr(e, t, n, o, a) {
4536
4553
  class: i.value
4537
4554
  }, [w.value && g(), k && k()]);
4538
4555
  }
4539
- const jr = /* @__PURE__ */ Ve({
4556
+ const Ar = /* @__PURE__ */ Ve({
4540
4557
  name: "FInputGroup",
4541
4558
  props: Co,
4542
4559
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -4545,12 +4562,12 @@ const jr = /* @__PURE__ */ Ve({
4545
4562
  inputGroupClass: i,
4546
4563
  inputType: l,
4547
4564
  inputGroupStyle: r
4548
- } = a, u = Or(e), {
4565
+ } = a, u = Er(e), {
4549
4566
  shouldShowAppendedButton: c
4550
4567
  } = u, d = Ii(e, t, a), {
4551
4568
  onMouseEnter: s,
4552
4569
  onMouseLeave: p
4553
- } = d, w = Er(e, t, l, u), g = Rr(e, t), _ = $r(e, t, w, a), x = Nr(e, t, u, d, w), y = Dr(e, t), m = R(() => e.type === "number");
4570
+ } = d, w = Vr(e, t, l, u), g = $r(e, t), _ = Dr(e, t, w, a), x = jr(e, t, u, d, w), y = Nr(e, t), m = R(() => e.type === "number");
4554
4571
  ne(() => [e.value], ([F]) => {
4555
4572
  n.value = F, o.value = F;
4556
4573
  }), ne(() => [e.modelValue], ([F]) => {
@@ -4569,13 +4586,13 @@ const jr = /* @__PURE__ */ Ve({
4569
4586
  }
4570
4587
  }), Y = {}, J = {}, Q = {}, Z = {};
4571
4588
  let gn = !1;
4572
- function Ar() {
4573
- gn || (gn = !0, ji.register(Y, J, Q, Z), Ni.register(Y, J, Q, Z), Ai.register(Y, J, Q, Z), Hi.register(Y, J, Q, Z), Gi.register(Y, J, Q, Z), Li.register(Y, J, Q, Z), Ci.register(Y, J, Q, Z), Ot.register(Y, J, Q, Z), Wi.register(Y, J, Q, Z), zi.register(Y, J, Q, Z), qi.register(Y, J, Q, Z), Ui.register(Y, J, Q, Z), Ki.register(Y, J, Q, Z), Xi.register(Y, J, Q, Z), Yi.register(Y, J, Q, Z), xi.register(Y, J, Q, Z), Ji.register(Y, J, Q, Z), wi.register(Y, J, Q, Z), Qi.register(Y, J, Q, Z), ea.register(Y, J, Q, Z), ta.register(Y, J, Q, Z), na.register(Y, J, Q, Z), ia.register(Y, J, Q, Z), oa.register(Y, J, Q, Z), aa.register(Y, J, Q, Z), la.register(Y, J, Q, Z), ra.register(Y, J, Q, Z), sa.register(Y, J, Q, Z), Vi.register(Y, J, Q, Z), bi.register(Y, J, Q, Z), ua.register(Y, J, Q, Z), ca.register(Y, J, Q, Z), xn.register(Y, J, Q, Z), da.register(Y, J, Q, Z), pa.register(Y, J, Q, Z), fa.register(Y, J, Q, Z), ma.register(Y, J, Q, Z), ha.register(Y, J, Q, Z), va.register(Y, J, Q, Z), ga.register(Y, J, Q, Z), Ea.register(Y, J, Q), ya.register(Y, J, Q, Z), ba.register(Y, J, Q, Z), Ca.register(Y, J, Q, Z), wa.register(Y, J, Q, Z), Sa.register(Y, J, Q, Z), xa.register(Y, J, Q, Z), yi.register(Y, J, Q, Z), _n.register(Y, J, Q, Z), _a.register(Y, J, Q, Z), Fa.register(Y, J, Q, Z), vi.register(Y, J, Q, Z), ka.register(Y, J, Q, Z), Ta.register(Y, J, Q, Z), Ia.register(Y, J, Q, Z), Ma.register(Y, J, Q, Z), Ba.register(Y, J, Q, Z), Oa.register(Y, J, Q, Z), Va.register(Y, J, Q, Z), Zi.register(Y, J, Q, Z), Pa.register(Y, J, Q, Z));
4574
- }
4575
4589
  function Hr() {
4576
- Ar();
4590
+ gn || (gn = !0, ji.register(Y, J, Q, Z), Ni.register(Y, J, Q, Z), Ai.register(Y, J, Q, Z), Hi.register(Y, J, Q, Z), Gi.register(Y, J, Q, Z), Li.register(Y, J, Q, Z), Ci.register(Y, J, Q, Z), Ot.register(Y, J, Q, Z), Wi.register(Y, J, Q, Z), zi.register(Y, J, Q, Z), qi.register(Y, J, Q, Z), Ui.register(Y, J, Q, Z), Xi.register(Y, J, Q, Z), Ki.register(Y, J, Q, Z), Yi.register(Y, J, Q, Z), xi.register(Y, J, Q, Z), Ji.register(Y, J, Q, Z), wi.register(Y, J, Q, Z), Qi.register(Y, J, Q, Z), ea.register(Y, J, Q, Z), ta.register(Y, J, Q, Z), na.register(Y, J, Q, Z), ia.register(Y, J, Q, Z), oa.register(Y, J, Q, Z), aa.register(Y, J, Q, Z), la.register(Y, J, Q, Z), ra.register(Y, J, Q, Z), sa.register(Y, J, Q, Z), Vi.register(Y, J, Q, Z), bi.register(Y, J, Q, Z), ua.register(Y, J, Q, Z), ca.register(Y, J, Q, Z), xn.register(Y, J, Q, Z), da.register(Y, J, Q, Z), pa.register(Y, J, Q, Z), fa.register(Y, J, Q, Z), ma.register(Y, J, Q, Z), ha.register(Y, J, Q, Z), va.register(Y, J, Q, Z), ga.register(Y, J, Q, Z), Ea.register(Y, J, Q), ya.register(Y, J, Q, Z), ba.register(Y, J, Q, Z), Ca.register(Y, J, Q, Z), wa.register(Y, J, Q, Z), Sa.register(Y, J, Q, Z), xa.register(Y, J, Q, Z), yi.register(Y, J, Q, Z), _n.register(Y, J, Q, Z), _a.register(Y, J, Q, Z), Fa.register(Y, J, Q, Z), vi.register(Y, J, Q, Z), ka.register(Y, J, Q, Z), Ta.register(Y, J, Q, Z), Ia.register(Y, J, Q, Z), Ma.register(Y, J, Q, Z), Ba.register(Y, J, Q, Z), Oa.register(Y, J, Q, Z), Va.register(Y, J, Q, Z), Zi.register(Y, J, Q, Z), Pa.register(Y, J, Q, Z));
4591
+ }
4592
+ function Gr() {
4593
+ Hr();
4577
4594
  function e(a) {
4578
- return Y[a] || jr;
4595
+ return Y[a] || Ar;
4579
4596
  }
4580
4597
  function t(a, i) {
4581
4598
  const l = J[a];
@@ -4655,7 +4672,7 @@ function Hr() {
4655
4672
  }
4656
4673
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
4657
4674
  }
4658
- const Gr = /* @__PURE__ */ Ve({
4675
+ const Lr = /* @__PURE__ */ Ve({
4659
4676
  name: "FDynamicFormGroup",
4660
4677
  props: bo,
4661
4678
  emits: ["change", "update:modelValue"],
@@ -4667,7 +4684,7 @@ const Gr = /* @__PURE__ */ Ve({
4667
4684
  resolveEditorType: w,
4668
4685
  getChangeFunctionName: g,
4669
4686
  getClearFunctionName: _
4670
- } = Hr(), x = R(() => ({
4687
+ } = Gr(), x = R(() => ({
4671
4688
  "form-group": !0,
4672
4689
  "farris-form-group": !0,
4673
4690
  "common-group": !0,
@@ -4700,7 +4717,7 @@ const Gr = /* @__PURE__ */ Ve({
4700
4717
  class: "farris-group-wrap"
4701
4718
  }, [C("div", {
4702
4719
  class: x.value
4703
- }, [c.value && C(br, {
4720
+ }, [c.value && C(Cr, {
4704
4721
  id: `${n.value}-lable`,
4705
4722
  required: u.value,
4706
4723
  text: i.value,
@@ -4709,7 +4726,7 @@ const Gr = /* @__PURE__ */ Ve({
4709
4726
  class: "farris-input-wrap"
4710
4727
  }, [h.value()])])])]);
4711
4728
  }
4712
- }), Lr = {}, Wr = {}, mt = class mt {
4729
+ }), Wr = {}, zr = {}, mt = class mt {
4713
4730
  /**
4714
4731
  * 根据绑定字段类型获取可用的输入类控件
4715
4732
  */
@@ -4781,11 +4798,11 @@ G(mt, "fieldControlTypeMapping", {
4781
4798
  });
4782
4799
  let yt = mt;
4783
4800
  const bt = b(0);
4784
- function zr(e, t) {
4801
+ function Ur(e, t) {
4785
4802
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), a = o.top >= n.top, i = o.top <= n.bottom;
4786
4803
  return a && i;
4787
4804
  }
4788
- function Ur(e) {
4805
+ function qr(e) {
4789
4806
  if (!e)
4790
4807
  return;
4791
4808
  let t;
@@ -4796,7 +4813,7 @@ function Ur(e) {
4796
4813
  return;
4797
4814
  const o = t.querySelector(".component-btn-group");
4798
4815
  if (o) {
4799
- if (!zr(t, e)) {
4816
+ if (!Ur(t, e)) {
4800
4817
  o.style.display = "none";
4801
4818
  return;
4802
4819
  }
@@ -4812,7 +4829,7 @@ class We extends kt {
4812
4829
  constructor(n, o) {
4813
4830
  super(n, o);
4814
4831
  G(this, "responseLayoutEditorFunction");
4815
- this.responseLayoutEditorFunction = vr(this.formSchemaUtils);
4832
+ this.responseLayoutEditorFunction = yr(this.formSchemaUtils);
4816
4833
  }
4817
4834
  getPropertyConfig(n, o) {
4818
4835
  return this.propertyConfig.categories.basic = this.getBasicProperties(n, o), this.propertyConfig.categories.appearance = this.getAppearanceProperties(n, o), this.propertyConfig.categories.editor = this.getEditorProperties(n), this.propertyConfig;
@@ -4820,7 +4837,7 @@ class We extends kt {
4820
4837
  getBasicProperties(n, o) {
4821
4838
  var i;
4822
4839
  const a = this;
4823
- return this.setDesignViewModelField(n), this.formSchemaUtils.getFormMetadataBasicInfo(), {
4840
+ return this.setDesignViewModelField(n), {
4824
4841
  description: "Basic Information",
4825
4842
  title: "基本信息",
4826
4843
  properties: {
@@ -5043,7 +5060,7 @@ class We extends kt {
5043
5060
  return Array.from(o).length === 1;
5044
5061
  }
5045
5062
  }
5046
- class qr extends We {
5063
+ class Xr extends We {
5047
5064
  constructor(t, n) {
5048
5065
  super(t, n);
5049
5066
  }
@@ -5069,7 +5086,7 @@ He(
5069
5086
  Qt,
5070
5087
  void 0
5071
5088
  );
5072
- const Xr = "https://json-schema.org/draft/2020-12/schema", Yr = "https://farris-design.gitee.io/grid-field-editor.schema.json", Jr = "response-form-layout-setting", Qr = "A Farris Data Grid Component", Zr = "object", es = {
5089
+ const Yr = "https://json-schema.org/draft/2020-12/schema", Jr = "https://farris-design.gitee.io/grid-field-editor.schema.json", Qr = "response-form-layout-setting", Zr = "A Farris Data Grid Component", es = "object", ts = {
5073
5090
  id: {
5074
5091
  description: "The unique identifier for a Input Group",
5075
5092
  type: "string"
@@ -5089,18 +5106,18 @@ const Xr = "https://json-schema.org/draft/2020-12/schema", Yr = "https://farris-
5089
5106
  type: "Object",
5090
5107
  default: null
5091
5108
  }
5092
- }, ts = [
5109
+ }, ns = [
5093
5110
  "id",
5094
5111
  "type"
5095
- ], ns = {
5096
- $schema: Xr,
5097
- $id: Yr,
5098
- title: Jr,
5099
- description: Qr,
5100
- type: Zr,
5101
- properties: es,
5102
- required: ts
5103
- }, os = {
5112
+ ], os = {
5113
+ $schema: Yr,
5114
+ $id: Jr,
5115
+ title: Qr,
5116
+ description: Zr,
5117
+ type: es,
5118
+ properties: ts,
5119
+ required: ns
5120
+ }, is = {
5104
5121
  initialState: {
5105
5122
  type: Object,
5106
5123
  default: {
@@ -5111,8 +5128,8 @@ const Xr = "https://json-schema.org/draft/2020-12/schema", Yr = "https://farris-
5111
5128
  }
5112
5129
  }
5113
5130
  };
5114
- Ra(os, ns, Xl, Zl);
5115
- const is = {
5131
+ Ra(is, os, Yl, er);
5132
+ const as = {
5116
5133
  width: { Type: Number, default: 400 },
5117
5134
  type: { Type: String, default: "info" },
5118
5135
  title: { Type: String, default: "" },
@@ -5125,12 +5142,12 @@ const is = {
5125
5142
  function en() {
5126
5143
  return new DOMException("The request is not allowed", "NotAllowedError");
5127
5144
  }
5128
- async function as(e) {
5145
+ async function ls(e) {
5129
5146
  if (!navigator.clipboard)
5130
5147
  throw en();
5131
5148
  return navigator.clipboard.writeText(e);
5132
5149
  }
5133
- async function ls(e) {
5150
+ async function rs(e) {
5134
5151
  const t = document.createElement("span");
5135
5152
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
5136
5153
  const n = window.getSelection(), o = window.document.createRange();
@@ -5144,24 +5161,24 @@ async function ls(e) {
5144
5161
  if (!a)
5145
5162
  throw en();
5146
5163
  }
5147
- async function rs(e) {
5164
+ async function ss(e) {
5148
5165
  try {
5149
- await as(e);
5166
+ await ls(e);
5150
5167
  } catch (t) {
5151
5168
  try {
5152
- await ls(e);
5169
+ await rs(e);
5153
5170
  } catch (n) {
5154
5171
  throw n || t || en();
5155
5172
  }
5156
5173
  }
5157
5174
  }
5158
- function ss() {
5175
+ function us() {
5159
5176
  async function e(t) {
5160
- await rs(t);
5177
+ await ss(t);
5161
5178
  }
5162
5179
  return { onCopy: e };
5163
5180
  }
5164
- function us(e, t, n, o) {
5181
+ function cs(e, t, n, o) {
5165
5182
  const a = b(14), i = b(140), l = b(""), r = b(o.value.length), u = R(() => o.value), c = R(() => ({
5166
5183
  "font-size": `${a.value}px`,
5167
5184
  height: "100%"
@@ -5186,14 +5203,14 @@ function us(e, t, n, o) {
5186
5203
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
5187
5204
  }, [r.value + " / " + i.value])]);
5188
5205
  }
5189
- function cs(e, t, n, o) {
5190
- const a = us(e, t, n, o), i = /* @__PURE__ */ new Map([["text-area", a]]);
5206
+ function ds(e, t, n, o) {
5207
+ const a = cs(e, t, n, o), i = /* @__PURE__ */ new Map([["text-area", a]]);
5191
5208
  function l(r) {
5192
5209
  return i.get(r) || null;
5193
5210
  }
5194
5211
  return { getEditorRender: l };
5195
5212
  }
5196
- function ds() {
5213
+ function ps() {
5197
5214
  const e = b(!1), t = b("复制成功");
5198
5215
  return {
5199
5216
  feedbackStyle: R(() => {
@@ -5219,11 +5236,11 @@ function ds() {
5219
5236
  toShowFeedback: e
5220
5237
  };
5221
5238
  }
5222
- function ps(e, t) {
5239
+ function fs(e, t) {
5223
5240
  const n = t.getEditorRender(e.promptEditorType);
5224
5241
  return () => n && n();
5225
5242
  }
5226
- function fs(e) {
5243
+ function ms(e) {
5227
5244
  const t = b(3), n = b(480), o = R(() => !!e.value && !!e.value.date), a = R(() => `发生时间 : ${e.value && e.value.date || ""}`), i = R(() => !!e.value && !!e.value.detail), l = R(() => {
5228
5245
  const x = `${n.value}px`;
5229
5246
  return {
@@ -5268,13 +5285,13 @@ function fs(e) {
5268
5285
  style: "cursor: pointer;"
5269
5286
  }, [d.value])])]);
5270
5287
  }
5271
- function ms(e) {
5288
+ function gs(e) {
5272
5289
  return () => C("p", {
5273
5290
  class: "toast-msg-detail",
5274
5291
  innerHTML: e.value
5275
5292
  }, null);
5276
5293
  }
5277
- function gs(e, t, n, o) {
5294
+ function hs(e, t, n, o) {
5278
5295
  const a = b(e.exceptionInfo), i = R(() => {
5279
5296
  const p = {
5280
5297
  "f-icon": !0
@@ -5282,7 +5299,7 @@ function gs(e, t, n, o) {
5282
5299
  return p[w] = !0, p;
5283
5300
  }), l = R(() => n.value || a.value && a.value.message), r = R(() => o.value), u = R(() => !!o.value), c = R(() => !!a.value);
5284
5301
  function d() {
5285
- return c.value ? fs(a) : u.value ? ms(r) : () => null;
5302
+ return c.value ? ms(a) : u.value ? gs(r) : () => null;
5286
5303
  }
5287
5304
  const s = d();
5288
5305
  return () => C(Ue, null, [C("div", {
@@ -5296,7 +5313,7 @@ function gs(e, t, n, o) {
5296
5313
  innerHTML: l.value
5297
5314
  }, null), s()])]);
5298
5315
  }
5299
- function hs(e, t, n) {
5316
+ function vs(e, t, n) {
5300
5317
  const {
5301
5318
  onCopy: o
5302
5319
  } = t, {
@@ -5322,8 +5339,8 @@ function hs(e, t, n) {
5322
5339
  style: "cursor: pointer;"
5323
5340
  }, [l.value])]);
5324
5341
  }
5325
- function vs(e, t, n, o) {
5326
- const a = b(e.type), i = b([]), l = b(e.exceptionInfo), r = b(e.okButtonText), u = b(e.cancelButtonText), c = b(!0), d = b(!0), s = R(() => !!(i.value && i.value.length)), p = R(() => l.value && l.value.date && l.value.message && l.value.detail), w = R(() => !(i.value && i.value.length) && (r.value || u.value)), g = R(() => d.value && r.value), _ = R(() => c.value && u.value), x = hs(e, n, o);
5342
+ function ys(e, t, n, o) {
5343
+ const a = b(e.type), i = b([]), l = b(e.exceptionInfo), r = b(e.okButtonText), u = b(e.cancelButtonText), c = b(!0), d = b(!0), s = R(() => !!(i.value && i.value.length)), p = R(() => l.value && l.value.date && l.value.message && l.value.detail), w = R(() => !(i.value && i.value.length) && (r.value || u.value)), g = R(() => d.value && r.value), _ = R(() => c.value && u.value), x = vs(e, n, o);
5327
5344
  function y(h) {
5328
5345
  a.value === "question" && t.emit("reject"), t.emit("close");
5329
5346
  }
@@ -5350,7 +5367,7 @@ function vs(e, t, n, o) {
5350
5367
  }
5351
5368
  const Ct = /* @__PURE__ */ Ve({
5352
5369
  name: "FMessageBox",
5353
- props: is,
5370
+ props: as,
5354
5371
  emits: ["accept", "reject", "close"],
5355
5372
  setup(e, t) {
5356
5373
  const n = b(e.type), o = b(e.title), a = b(e.detail), i = R(() => {
@@ -5363,7 +5380,7 @@ const Ct = /* @__PURE__ */ Ve({
5363
5380
  }), l = R(() => {
5364
5381
  const x = {};
5365
5382
  return n.value === "prompt" ? x.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (x.padding = "0.5rem 1.5rem 1rem 1.5rem"), x;
5366
- }), r = ss(), u = cs(e, n, o, a), c = ds(), {
5383
+ }), r = us(), u = ds(e, n, o, a), c = ps(), {
5367
5384
  feedbackStyle: d,
5368
5385
  feedbackMessage: s
5369
5386
  } = c;
@@ -5375,12 +5392,12 @@ const Ct = /* @__PURE__ */ Ve({
5375
5392
  function w() {
5376
5393
  switch (n.value) {
5377
5394
  case "prompt":
5378
- return ps(e, u);
5395
+ return fs(e, u);
5379
5396
  default:
5380
- return gs(e, n, o, a);
5397
+ return hs(e, n, o, a);
5381
5398
  }
5382
5399
  }
5383
- const g = w(), _ = vs(e, t, r, c);
5400
+ const g = w(), _ = ys(e, t, r, c);
5384
5401
  return () => C("div", {
5385
5402
  class: "farris-messager"
5386
5403
  }, [C("section", {
@@ -5388,7 +5405,7 @@ const Ct = /* @__PURE__ */ Ve({
5388
5405
  style: l.value
5389
5406
  }, [g()]), _(), p()]);
5390
5407
  }
5391
- }), ys = {
5408
+ }), bs = {
5392
5409
  /**
5393
5410
  * 自定义类
5394
5411
  */
@@ -5532,7 +5549,7 @@ class st {
5532
5549
  return this.width = t.width, this.height = t.height, this;
5533
5550
  }
5534
5551
  }
5535
- function bs(e, t) {
5552
+ function Cs(e, t) {
5536
5553
  const n = b(), o = b(), a = b(), i = b(), l = b(), r = b(), u = b(), c = b(), d = b(), s = b(), p = b(), w = b(), g = b(e.draggable), _ = b(!1);
5537
5554
  function x() {
5538
5555
  const E = o.value || document.body, D = window.getComputedStyle(E);
@@ -5717,7 +5734,7 @@ function bs(e, t) {
5717
5734
  unWindowResizeHandle: $
5718
5735
  };
5719
5736
  }
5720
- function Cs(e, t, n) {
5737
+ function ws(e, t, n) {
5721
5738
  const o = b(), a = b(e.draggable), i = b(e.lockAxis), l = b(), r = b(), u = b(!1), c = b(new Re(0, 0)), d = b(new Re(0, 0)), s = b(new Re(0, 0)), p = b(new Re(0, 0));
5722
5739
  ne(() => n.value, (I) => {
5723
5740
  l.value.style.cursor = I ? "move" : "default";
@@ -5807,7 +5824,7 @@ function wo(e, t) {
5807
5824
  };
5808
5825
  }
5809
5826
  }
5810
- function ws(e, t) {
5827
+ function Ss(e, t) {
5811
5828
  const n = b(e.enableEsc);
5812
5829
  let o = null;
5813
5830
  return n.value ? (o = wo("Escape", (a) => {
@@ -5816,7 +5833,7 @@ function ws(e, t) {
5816
5833
  remove: o
5817
5834
  }) : null;
5818
5835
  }
5819
- function Ss(e, t) {
5836
+ function xs(e, t) {
5820
5837
  const n = b(e.enableEnter);
5821
5838
  let o = null;
5822
5839
  return n.value ? (o = wo("Enter", (a) => {
@@ -5827,12 +5844,12 @@ function Ss(e, t) {
5827
5844
  }
5828
5845
  const So = /* @__PURE__ */ Ve({
5829
5846
  name: "FModal",
5830
- props: ys,
5847
+ props: bs,
5831
5848
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
5832
5849
  setup(e, t) {
5833
5850
  const n = b(e.width || 300), o = b(e.height || 200), a = b(e.modelValue), i = b(""), l = b(e.class), r = b(e.fitContent), u = b(e.showHeader), c = b(""), d = b(e.showCloseButton), s = b(e.showMaxButton), p = b(!1), w = b(""), g = b(""), _ = b(""), x = b(e.showButtons), y = b(e.title), m = b(e.reiszeable), h = b(e.containment || null), F = b();
5834
- function S(N, X) {
5835
- a.value = !1, t.emit("update:modelValue", !1), X != null && t.emit(X ? "accept" : "cancel"), t.emit("closed", N);
5851
+ function S(N, K) {
5852
+ a.value = !1, t.emit("update:modelValue", !1), K != null && t.emit(K ? "accept" : "cancel"), t.emit("closed", N);
5836
5853
  }
5837
5854
  const k = [{
5838
5855
  name: "cancel",
@@ -5856,41 +5873,41 @@ const So = /* @__PURE__ */ Ve({
5856
5873
  resizedEventParam: E,
5857
5874
  allowDrag: D,
5858
5875
  unWindowResizeHandle: A
5859
- } = bs(e), {
5876
+ } = Cs(e), {
5860
5877
  registerDraggle: j
5861
- } = Cs(e, t, D);
5862
- ne(() => e.title, (N, X) => {
5863
- N !== X && (y.value = N);
5864
- }), ne(() => e.modelValue, (N, X) => {
5865
- N !== X && (a.value = N);
5866
- }), ne(() => e.showHeader, (N, X) => {
5867
- N !== X && (u.value = N);
5868
- }), ne(() => e.showButtons, (N, X) => {
5869
- N !== X && (x.value = N);
5870
- }), ne(() => E.value, (N, X) => {
5871
- const le = N || {}, z = X || {};
5878
+ } = ws(e, t, D);
5879
+ ne(() => e.title, (N, K) => {
5880
+ N !== K && (y.value = N);
5881
+ }), ne(() => e.modelValue, (N, K) => {
5882
+ N !== K && (a.value = N);
5883
+ }), ne(() => e.showHeader, (N, K) => {
5884
+ N !== K && (u.value = N);
5885
+ }), ne(() => e.showButtons, (N, K) => {
5886
+ N !== K && (x.value = N);
5887
+ }), ne(() => E.value, (N, K) => {
5888
+ const le = N || {}, z = K || {};
5872
5889
  JSON.stringify(le) !== JSON.stringify(z) && t.emit("resize", {
5873
5890
  newSize: N,
5874
- oldSize: X
5891
+ oldSize: K
5875
5892
  });
5876
5893
  });
5877
5894
  function H() {
5878
5895
  const N = document.querySelectorAll(".farris-modal").length;
5879
5896
  (!N || N - 1 <= 0) && document.body.classList.remove("modal-open"), F.value && F.value.classList.remove("show");
5880
5897
  }
5881
- const K = R(() => (a.value ? document.body.classList.add("modal-open") : H(), a.value)), ie = R(() => {
5898
+ const X = R(() => (a.value ? document.body.classList.add("modal-open") : H(), a.value)), ie = R(() => {
5882
5899
  const N = {
5883
5900
  modal: !0,
5884
5901
  "farris-modal": !0,
5885
5902
  fade: !0
5886
5903
  };
5887
- return N["f-modal-fitContent"] = !!r.value, N.show = !!K.value, N;
5904
+ return N["f-modal-fitContent"] = !!r.value, N.show = !!X.value, N;
5888
5905
  }), me = R(() => {
5889
5906
  var le;
5890
5907
  const N = {
5891
5908
  "modal-dialog": !0
5892
- }, X = (le = l.value) == null ? void 0 : le.split(" ");
5893
- return X == null || X.reduce((z, Fe) => (z[Fe] = !0, z), N), N;
5909
+ }, K = (le = l.value) == null ? void 0 : le.split(" ");
5910
+ return K == null || K.reduce((z, Fe) => (z[Fe] = !0, z), N), N;
5894
5911
  }), Ie = R(() => ({
5895
5912
  position: "absolute",
5896
5913
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -5919,8 +5936,8 @@ const So = /* @__PURE__ */ Ve({
5919
5936
  const ye = R(() => {
5920
5937
  const N = {
5921
5938
  textAlgin: _.value
5922
- }, X = pe();
5923
- return Object.assign(N, X);
5939
+ }, K = pe();
5940
+ return Object.assign(N, K);
5924
5941
  });
5925
5942
  function W(N) {
5926
5943
  if (N.stopPropagation(), O.value) {
@@ -5929,15 +5946,15 @@ const So = /* @__PURE__ */ Ve({
5929
5946
  }
5930
5947
  M(), O.value = !0;
5931
5948
  }
5932
- async function U(N, X) {
5933
- N.handle && await N.handle(X, N) && t.emit("closed", X);
5949
+ async function U(N, K) {
5950
+ N.handle && await N.handle(K, N) && t.emit("closed", K);
5934
5951
  }
5935
5952
  function ce(N) {
5936
5953
  N.width && (n.value = N.width), N.height && (o.value = N.height), N.buttons && (I.value = N.buttons), N.title && (y.value = N.title);
5937
5954
  }
5938
5955
  let Se = null, re = null;
5939
5956
  $e(() => {
5940
- B.value && !h.value && (h.value = B.value.parentElement, $.value = h.value, j(T.value, B.value, $.value)), K.value && document.body.classList.add("modal-open"), Se = ws(e, t), re = Ss(e, t);
5957
+ B.value && !h.value && (h.value = B.value.parentElement, $.value = h.value, j(T.value, B.value, $.value)), X.value && document.body.classList.add("modal-open"), Se = Ss(e, t), re = xs(e, t);
5941
5958
  }), it(() => {
5942
5959
  H(), A && A(), Se && Se.remove(), re && re.remove();
5943
5960
  }), t.expose({
@@ -5973,8 +5990,8 @@ const So = /* @__PURE__ */ Ve({
5973
5990
  name: N.name,
5974
5991
  type: "button",
5975
5992
  class: N.class + (N.iconClass ? " btn-icontext" : ""),
5976
- onClick: (X) => {
5977
- U(N, X);
5993
+ onClick: (K) => {
5994
+ U(N, K);
5978
5995
  }
5979
5996
  }, [!!N.iconClass && C("i", {
5980
5997
  class: N.iconClass
@@ -6002,12 +6019,12 @@ const So = /* @__PURE__ */ Ve({
6002
6019
  return () => C(wn, {
6003
6020
  to: "body"
6004
6021
  }, {
6005
- default: () => [K.value && C(Sn, {
6022
+ default: () => [X.value && C(Sn, {
6006
6023
  name: "fade",
6007
6024
  appear: !0
6008
6025
  }, {
6009
6026
  default: () => {
6010
- var N, X;
6027
+ var N, K;
6011
6028
  return [C("div", {
6012
6029
  class: ie.value,
6013
6030
  style: "display: block",
@@ -6022,7 +6039,7 @@ const So = /* @__PURE__ */ Ve({
6022
6039
  class: ge.value
6023
6040
  }, [u.value && ve(), C("div", {
6024
6041
  class: de.value
6025
- }, [(X = (N = t.slots).default) == null ? void 0 : X.call(N), w.value === "iframe" && C("iframe", {
6042
+ }, [(K = (N = t.slots).default) == null ? void 0 : K.call(N), w.value === "iframe" && C("iframe", {
6026
6043
  title: i.value,
6027
6044
  class: "f-utils-fill",
6028
6045
  width: "100%",
@@ -6040,7 +6057,7 @@ function xo(e) {
6040
6057
  if (e.render && typeof e.render == "function")
6041
6058
  return e.render;
6042
6059
  }
6043
- function xs(e) {
6060
+ function _s(e) {
6044
6061
  const t = document.createElement("div");
6045
6062
  t.style.display = "contents";
6046
6063
  const n = $t({
@@ -6083,7 +6100,7 @@ function xs(e) {
6083
6100
  });
6084
6101
  return document.body.appendChild(t), n.mount(t), n;
6085
6102
  }
6086
- class _s {
6103
+ class Fs {
6087
6104
  constructor(t) {
6088
6105
  G(this, "appContext", null);
6089
6106
  G(this, "modalRef", b());
@@ -6102,7 +6119,7 @@ class _s {
6102
6119
  showButtons: !0,
6103
6120
  showHeader: !0
6104
6121
  }, t);
6105
- return xs(n);
6122
+ return _s(n);
6106
6123
  }
6107
6124
  open(t) {
6108
6125
  const n = document.createDocumentFragment();
@@ -6166,15 +6183,15 @@ class _s {
6166
6183
  };
6167
6184
  }
6168
6185
  }
6169
- const Fs = Symbol("FModalService");
6186
+ const ks = Symbol("FModalService");
6170
6187
  class nt {
6171
6188
  static show(t) {
6172
- const n = Xe({
6189
+ const n = Ye({
6173
6190
  ...t
6174
6191
  }), o = !1, a = n.type === "error" || n.type === "prompt", i = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
6175
6192
  }), r = n.rejectCallback || (() => {
6176
6193
  });
6177
- let u = null, c = new _s(u);
6194
+ let u = null, c = new Fs(u);
6178
6195
  const d = () => {
6179
6196
  u && (u == null || u.destroy(), c = null);
6180
6197
  };
@@ -6194,7 +6211,7 @@ class nt {
6194
6211
  });
6195
6212
  }
6196
6213
  static info(t, n) {
6197
- const o = Xe({
6214
+ const o = Ye({
6198
6215
  type: "info",
6199
6216
  title: t,
6200
6217
  detail: n,
@@ -6204,7 +6221,7 @@ class nt {
6204
6221
  nt.show(o);
6205
6222
  }
6206
6223
  static warning(t, n) {
6207
- const o = Xe({
6224
+ const o = Ye({
6208
6225
  type: "warning",
6209
6226
  title: t,
6210
6227
  detail: n,
@@ -6214,7 +6231,7 @@ class nt {
6214
6231
  nt.show(o);
6215
6232
  }
6216
6233
  static success(t, n) {
6217
- const o = Xe({
6234
+ const o = Ye({
6218
6235
  type: "success",
6219
6236
  title: t,
6220
6237
  detail: n,
@@ -6224,7 +6241,7 @@ class nt {
6224
6241
  nt.show(o);
6225
6242
  }
6226
6243
  static error(t, n, o) {
6227
- const a = Xe({
6244
+ const a = Ye({
6228
6245
  width: 500,
6229
6246
  type: "error",
6230
6247
  okButtonText: "关闭",
@@ -6238,7 +6255,7 @@ class nt {
6238
6255
  nt.show(a);
6239
6256
  }
6240
6257
  static prompt(t, n) {
6241
- const o = Xe({
6258
+ const o = Ye({
6242
6259
  type: "prompt",
6243
6260
  title: t,
6244
6261
  detail: n,
@@ -6248,7 +6265,7 @@ class nt {
6248
6265
  nt.show(o);
6249
6266
  }
6250
6267
  static question(t, n, o, a) {
6251
- const i = Xe({
6268
+ const i = Ye({
6252
6269
  type: "question",
6253
6270
  title: t,
6254
6271
  detail: n,
@@ -6264,7 +6281,7 @@ Ct.install = (e) => {
6264
6281
  e.component(Ct.name, Ct), e.provide("FMessageBoxService", nt);
6265
6282
  };
6266
6283
  var _o = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(_o || {}), Fo = /* @__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))(Fo || {});
6267
- const ks = [
6284
+ const Is = [
6268
6285
  {
6269
6286
  value: "0",
6270
6287
  name: "等于"
@@ -6301,7 +6318,7 @@ const ks = [
6301
6318
  value: "8",
6302
6319
  name: "结束是"
6303
6320
  }
6304
- ], Is = {
6321
+ ], Ts = {
6305
6322
  "button-edit": ["0", "1", " 6", "7", "8"],
6306
6323
  "check-box": ["0"],
6307
6324
  "combo-list": ["0", "1"],
@@ -6321,14 +6338,14 @@ const ks = [
6321
6338
  "radio-group": ["0"],
6322
6339
  text: ["0", "1", " 6", "7", "8"]
6323
6340
  };
6324
- function Ts(e, t, n) {
6341
+ function Ms(e, t, n) {
6325
6342
  const { fieldMap: o } = n;
6326
6343
  function a(i) {
6327
6344
  const l = o.get(i.fieldCode);
6328
6345
  if (!l)
6329
6346
  return [];
6330
- const r = l.editor.type, u = new Set(Is[r]);
6331
- return ks.filter((d) => u.has(d.value));
6347
+ const r = l.editor.type, u = new Set(Ts[r]);
6348
+ return Is.filter((d) => u.has(d.value));
6332
6349
  }
6333
6350
  return { getCompareOperators: a };
6334
6351
  }
@@ -6501,7 +6518,7 @@ function ko() {
6501
6518
  unGroup: h
6502
6519
  };
6503
6520
  }
6504
- function Ms(e, t, n) {
6521
+ function Bs(e, t, n) {
6505
6522
  const o = b(/* @__PURE__ */ new Set()), a = b(/* @__PURE__ */ new Set()), { conditionGroupMap: i, groupParentMap: l } = n;
6506
6523
  let r, u;
6507
6524
  function c(y) {
@@ -6568,12 +6585,12 @@ const Mt = /* @__PURE__ */ Ve({
6568
6585
  unGroup: h
6569
6586
  } = c, {
6570
6587
  createConditionValue: F
6571
- } = ho(), S = Ms(e, t, c), {
6588
+ } = ho(), S = Bs(e, t, c), {
6572
6589
  selectedItems: k,
6573
6590
  toggleSelect: I
6574
6591
  } = S, {
6575
6592
  getCompareOperators: v
6576
- } = Ts(e, t, a);
6593
+ } = Ms(e, t, a);
6577
6594
  u(!1), l.value = i(l.value), _(o.value);
6578
6595
  function f(D) {
6579
6596
  var j;
@@ -6621,7 +6638,7 @@ const Mt = /* @__PURE__ */ Ve({
6621
6638
  onChange: (H) => T(H, A)
6622
6639
  }, null)]), C("div", {
6623
6640
  class: "condition-list-item-control mr-3"
6624
- }, [C(Gr, {
6641
+ }, [C(Lr, {
6625
6642
  editor: (j = r.get(A.fieldCode)) == null ? void 0 : j.editor,
6626
6643
  showLabel: !1,
6627
6644
  modelValue: A.value.value,
@@ -6704,7 +6721,7 @@ const Mt = /* @__PURE__ */ Ve({
6704
6721
  Mt.install = (e) => {
6705
6722
  e.component(mn.name, mn).component(Mt.name, Mt);
6706
6723
  };
6707
- const Bs = [
6724
+ const Os = [
6708
6725
  "equal",
6709
6726
  "notEqual",
6710
6727
  "greaterThan",
@@ -6714,16 +6731,16 @@ const Bs = [
6714
6731
  "contain",
6715
6732
  "startWidth",
6716
6733
  "endWidth"
6717
- ], Os = {
6734
+ ], Es = {
6718
6735
  equal: (e, t, n) => e && e[t] === n,
6719
6736
  notEqual: (e, t, n) => e && e[t] !== n,
6720
6737
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
6721
6738
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
6722
6739
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
6723
- }, Es = {
6740
+ }, Vs = {
6724
6741
  equal: (e, t, n) => e && e[t] === n,
6725
6742
  notEqual: (e, t, n) => e && e[t] !== n
6726
- }, Vs = {
6743
+ }, Ps = {
6727
6744
  equal: (e, t, n) => {
6728
6745
  if (e) {
6729
6746
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -6766,10 +6783,10 @@ const Bs = [
6766
6783
  }
6767
6784
  return !1;
6768
6785
  }
6769
- }, Ps = {
6786
+ }, Rs = {
6770
6787
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
6771
6788
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
6772
- }, Rs = {
6789
+ }, $s = {
6773
6790
  equal: (e, t, n) => {
6774
6791
  if (e) {
6775
6792
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -6815,11 +6832,11 @@ const Bs = [
6815
6832
  };
6816
6833
  function tn() {
6817
6834
  const e = b([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = ko(), o = /* @__PURE__ */ new Map([
6818
- ["boolean", Es],
6819
- ["datetime", Vs],
6820
- ["enum", Ps],
6821
- ["number", Rs],
6822
- ["text", Os]
6835
+ ["boolean", Vs],
6836
+ ["datetime", Ps],
6837
+ ["enum", Rs],
6838
+ ["number", $s],
6839
+ ["text", Es]
6823
6840
  ]);
6824
6841
  function a(s) {
6825
6842
  t.delete(s), e.value = Array.from(t.values());
@@ -6828,7 +6845,7 @@ function tn() {
6828
6845
  t.clear(), e.value = [];
6829
6846
  }
6830
6847
  function l(s) {
6831
- const { valueType: p } = s.value, w = s.compareType || "0", g = Bs[Number(w)];
6848
+ const { valueType: p } = s.value, w = s.compareType || "0", g = Os[Number(w)];
6832
6849
  return o.get(p)[g];
6833
6850
  }
6834
6851
  function r(s) {
@@ -6943,7 +6960,7 @@ function nn(e, t) {
6943
6960
  }
6944
6961
  return { collpaseGroupIconClass: x, generateGroupData: _, groupFields: i, shouldGroupingData: l, showGroupPanel: r };
6945
6962
  }
6946
- function $s(e, t, n, o) {
6963
+ function Ds(e, t, n, o) {
6947
6964
  const a = b(!!e.hierarchy), { idField: i } = o, { collapseField: l, hasChildrenField: r, parentIdField: u } = n, c = /* @__PURE__ */ new Map();
6948
6965
  function d(O, P) {
6949
6966
  const M = /* @__PURE__ */ new Map();
@@ -7058,11 +7075,11 @@ function $s(e, t, n, o) {
7058
7075
  if (D) {
7059
7076
  const j = Array.from(D.children.keys()).indexOf(E.id);
7060
7077
  if (j === D.children.size - 1) {
7061
- const K = Array.from(D.descendant.values())[D.descendant.size - 1];
7062
- A = M.value.findIndex((me) => me[i.value] === K.id) + 1;
7078
+ const X = Array.from(D.descendant.values())[D.descendant.size - 1];
7079
+ A = M.value.findIndex((me) => me[i.value] === X.id) + 1;
7063
7080
  } else {
7064
- const K = Array.from(D.children.values())[j + 1];
7065
- A = M.value.findIndex((me) => me[i.value] === K.id);
7081
+ const X = Array.from(D.children.values())[j + 1];
7082
+ A = M.value.findIndex((me) => me[i.value] === X.id);
7066
7083
  }
7067
7084
  P[r.value] = !1, P[u.value] = D.id, M.value.splice(A, 0, P);
7068
7085
  }
@@ -7087,7 +7104,7 @@ function $s(e, t, n, o) {
7087
7104
  }
7088
7105
  return { generateHierarchyData: v, hasRealChildren: k, insertSibling: f, insertChild: T, shouldStratifyData: a, trimmedOriginalData: B };
7089
7106
  }
7090
- const Ds = {
7107
+ const Ns = {
7091
7108
  showCloseButton: { type: Boolean, default: !0 },
7092
7109
  position: { type: String, default: "top-center" },
7093
7110
  timeout: { type: Number, default: 3e3 },
@@ -7099,13 +7116,13 @@ const Ds = {
7099
7116
  id: { type: String },
7100
7117
  animate: { type: String, default: "fadeIn" },
7101
7118
  options: { type: Object }
7102
- }, Ns = {
7119
+ }, js = {
7103
7120
  showCloseButton: { type: Boolean, default: !0 },
7104
7121
  animate: { type: String, default: "fadeIn" },
7105
7122
  options: { type: Object }
7106
7123
  }, Vt = /* @__PURE__ */ Ve({
7107
7124
  name: "Toast",
7108
- props: Ns,
7125
+ props: js,
7109
7126
  emits: ["close", "click"],
7110
7127
  setup: (e, t) => {
7111
7128
  const n = b(e.animate), o = "fadeOut", a = R(() => e.options), i = b(!1), l = R(() => {
@@ -7178,7 +7195,7 @@ const Ds = {
7178
7195
  }
7179
7196
  }), wt = /* @__PURE__ */ Ve({
7180
7197
  name: "Notify",
7181
- props: Ds,
7198
+ props: Ns,
7182
7199
  emits: ["close", "empty"],
7183
7200
  setup(e, t) {
7184
7201
  const n = R(() => ({
@@ -7226,7 +7243,7 @@ const Ds = {
7226
7243
  class Io {
7227
7244
  constructor() {
7228
7245
  G(this, "notifyRefs", []);
7229
- G(this, "globalConfig", Xe({}));
7246
+ G(this, "globalConfig", Ye({}));
7230
7247
  }
7231
7248
  createNotifyInstance(t) {
7232
7249
  const n = this, a = Object.assign({
@@ -7334,22 +7351,22 @@ class Io {
7334
7351
  }), this.notifyRefs.length = 0;
7335
7352
  }
7336
7353
  }
7337
- const js = Symbol("NOTIFY_SERVICE_TOKEN");
7354
+ const As = Symbol("NOTIFY_SERVICE_TOKEN");
7338
7355
  wt.install = (e) => {
7339
7356
  e.component(wt.name, wt), e.component(Vt.name, Vt);
7340
7357
  const t = new Io();
7341
- e.provide(js, t), e.provide("FNotifyService", t);
7358
+ e.provide(As, t), e.provide("FNotifyService", t);
7342
7359
  };
7343
7360
  function To(e, t, n, o, a) {
7344
7361
  var Ze;
7345
- const { pageSize: i, total: l, shouldRenderPagination: r, currentPage: u, mode: c } = a, d = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), _ = b([]), x = b([]), y = tn(), m = nn(e, o), { generateGroupData: h, groupFields: F, shouldGroupingData: S } = m, k = b(e.data), I = $s(e, k, n, o), {
7362
+ const { pageSize: i, total: l, shouldRenderPagination: r, currentPage: u, mode: c } = a, d = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), _ = b([]), x = b([]), y = tn(), m = nn(e, o), { generateGroupData: h, groupFields: F, shouldGroupingData: S } = m, k = b(e.data), I = Ds(e, k, n, o), {
7346
7363
  generateHierarchyData: v,
7347
7364
  hasRealChildren: f,
7348
7365
  insertSibling: T,
7349
7366
  insertChild: B,
7350
7367
  shouldStratifyData: O,
7351
7368
  trimmedOriginalData: P
7352
- } = I, { idField: M, reviseIdentifyField: V } = o, $ = b(e.newDataItem), E = b(e.data), D = b(e.data), { flatTreeData: A } = tu(e);
7369
+ } = I, { idField: M, reviseIdentifyField: V } = o, $ = b(e.newDataItem), E = b(e.data), D = b(e.data), { flatTreeData: A } = nu(e);
7353
7370
  function j(L) {
7354
7371
  return A(L);
7355
7372
  }
@@ -7357,7 +7374,7 @@ function To(e, t, n, o, a) {
7357
7374
  const L = j(e.data);
7358
7375
  k.value = L, E.value = L, D.value = L;
7359
7376
  }
7360
- const H = b(e.summary), K = R(() => {
7377
+ const H = b(e.summary), X = R(() => {
7361
7378
  const L = H.value;
7362
7379
  return (L == null ? void 0 : L.groupFields) || [];
7363
7380
  });
@@ -7371,7 +7388,7 @@ function To(e, t, n, o, a) {
7371
7388
  });
7372
7389
  function de() {
7373
7390
  var Oe, ue;
7374
- E.value = Je(k.value), S.value && (E.value = h(F.value, k.value, t)), ie = K.value.reduce((De, ke) => (De.set(ke, 0), De), ie);
7391
+ E.value = qe(k.value), S.value && (E.value = h(F.value, k.value, t)), ie = X.value.reduce((De, ke) => (De.set(ke, 0), De), ie);
7375
7392
  const L = xe.value, te = _e.value;
7376
7393
  let se = 0;
7377
7394
  const Be = [];
@@ -7380,7 +7397,7 @@ function To(e, t, n, o, a) {
7380
7397
  const De = M.value !== e.idField;
7381
7398
  for (let ke = L; ke < te; ke++) {
7382
7399
  const Me = E.value[ke];
7383
- Me.__fv_data_grid_group_row__ ? (se = 0, Me.__fv_data_index__ = "") : Me.__fv_data_grid_group_summary__ ? Me.__fv_data_index__ = "" : (Me.__fv_disabled__ = Me[((ue = e.rowOption) == null ? void 0 : ue.disabledField) || "disabled"], se++, r.value ? Me.__fv_data_index__ = se + (u.value - 1) * i.value : Me.__fv_data_index__ = se), Me.__fv_index__ = ke, De && (Me[M.value] = ke), K.value.forEach((Ae) => {
7400
+ Me.__fv_data_grid_group_row__ ? (se = 0, Me.__fv_data_index__ = "") : Me.__fv_data_grid_group_summary__ ? Me.__fv_data_index__ = "" : (Me.__fv_disabled__ = Me[((ue = e.rowOption) == null ? void 0 : ue.disabledField) || "disabled"], se++, r.value ? Me.__fv_data_index__ = se + (u.value - 1) * i.value : Me.__fv_data_index__ = se), Me.__fv_index__ = ke, De && (Me[M.value] = ke), X.value.forEach((Ae) => {
7384
7401
  const we = ie.get(Ae) || 0;
7385
7402
  ie.set(Ae, we + Me[Ae]);
7386
7403
  }), Be.push(Me);
@@ -7455,7 +7472,7 @@ function To(e, t, n, o, a) {
7455
7472
  const te = L[M.value];
7456
7473
  w.delete(`fold_${te}`);
7457
7474
  }
7458
- function X(L) {
7475
+ function K(L) {
7459
7476
  N(L.raw), ye(Array.from(w.values()), Array.from(g.values()), !0), v(pe.value);
7460
7477
  }
7461
7478
  function le() {
@@ -7478,7 +7495,7 @@ function To(e, t, n, o, a) {
7478
7495
  (L - 1) * i.value <= me.value && le();
7479
7496
  }
7480
7497
  function oe(L) {
7481
- k.value.push(Je(L)), pe.value = de();
7498
+ k.value.push(qe(L)), pe.value = de();
7482
7499
  }
7483
7500
  function fe(L = 0) {
7484
7501
  if (!(L > -1))
@@ -7500,7 +7517,7 @@ function To(e, t, n, o, a) {
7500
7517
  const te = k.value.findIndex((se) => se[M.value] === L);
7501
7518
  te !== -1 && (k.value.splice(te, 1), le());
7502
7519
  }
7503
- function qe(L) {
7520
+ function Xe(L) {
7504
7521
  const te = L > -1 ? k.value[L] : null;
7505
7522
  if (!(te && te.deletable !== !1))
7506
7523
  return !1;
@@ -7552,14 +7569,14 @@ function To(e, t, n, o, a) {
7552
7569
  removeDataItem: Pe,
7553
7570
  removeDataItemById: je,
7554
7571
  removeFilter: re,
7555
- removeHierarchyDataItem: qe,
7572
+ removeHierarchyDataItem: Xe,
7556
7573
  removeSorter: ce,
7557
7574
  rawView: D,
7558
7575
  refresh: Ke,
7559
7576
  setSorters: W,
7560
7577
  sorters: x,
7561
7578
  updateDataView: le,
7562
- unFold: X,
7579
+ unFold: K,
7563
7580
  startIndex: xe,
7564
7581
  endIndex: _e,
7565
7582
  originalData: k
@@ -7603,7 +7620,7 @@ function Bo(e) {
7603
7620
  }), a = R(() => e.hierarchy && e.selection.showCheckbox), i = R(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
7604
7621
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: i };
7605
7622
  }
7606
- function As(e, t, n, o) {
7623
+ function Hs(e, t, n, o) {
7607
7624
  var _, x, y, m, h, F;
7608
7625
  const { idField: a } = n, i = b(((x = (_ = e.hierarchy) == null ? void 0 : _.cascadeOption) == null ? void 0 : x.autoCheckChildren) || !1), l = b(((m = (y = e.hierarchy) == null ? void 0 : y.cascadeOption) == null ? void 0 : m.autoCheckParent) || !1), r = b(((F = (h = e.hierarchy) == null ? void 0 : h.cascadeOption) == null ? void 0 : F.selectionRange) || "All");
7609
7626
  ne(() => {
@@ -7646,8 +7663,8 @@ function As(e, t, n, o) {
7646
7663
  }
7647
7664
  return { autoCheckChildren: i, autoCheckParent: l, interactAfterCheckHierarchyItem: g };
7648
7665
  }
7649
- function Hs(e, t, n, o, a) {
7650
- const { select: i, unSelect: l, indeterminate: r, getSelectedItems: u, selectedValues: c, currentSelectedDataId: d } = o, { autoCheckChildren: s, autoCheckParent: p, interactAfterCheckHierarchyItem: w } = As(e, t, n), { idField: g } = n;
7666
+ function Gs(e, t, n, o, a) {
7667
+ const { select: i, unSelect: l, indeterminate: r, getSelectedItems: u, selectedValues: c, currentSelectedDataId: d } = o, { autoCheckChildren: s, autoCheckParent: p, interactAfterCheckHierarchyItem: w } = Hs(e, t, n), { idField: g } = n;
7651
7668
  function _() {
7652
7669
  return t.value.filter((v) => !!v.checked).map((v) => v.raw.__fv_index__);
7653
7670
  }
@@ -7717,12 +7734,12 @@ function Oo(e, t, n, o, a, i, l, r) {
7717
7734
  return oe ? oe.__fv_index__ - 1 : 0;
7718
7735
  }
7719
7736
  function M(q) {
7720
- var qe, Ke;
7737
+ var Xe, Ke;
7721
7738
  if (!u.value.length) {
7722
7739
  n.value = [];
7723
7740
  return;
7724
7741
  }
7725
- const oe = (qe = e.pagination) != null && qe.enable ? 0 : Math.max(m - l, 0), fe = u.value[u.value.length - 1].__fv_index__, Te = (Ke = e.pagination) != null && Ke.enable ? u.value.length - 1 : Math.min(h + l - 1, fe), Pe = u.value[oe - 1], je = c(oe, Te, Pe, q);
7742
+ const oe = (Xe = e.pagination) != null && Xe.enable ? 0 : Math.max(m - l, 0), fe = u.value[u.value.length - 1].__fv_index__, Te = (Ke = e.pagination) != null && Ke.enable ? u.value.length - 1 : Math.min(h + l - 1, fe), Pe = u.value[oe - 1], je = c(oe, Te, Pe, q);
7726
7743
  je.length && (n.value = [...je]);
7727
7744
  }
7728
7745
  const V = R(() => I() > S.value), $ = R(() => Math.floor(p.value) > k.value);
@@ -7755,7 +7772,7 @@ function Oo(e, t, n, o, a, i, l, r) {
7755
7772
  let { deltaX: oe } = q.deltaX, fe = -1 * q.deltaY;
7756
7773
  return typeof oe > "u" && (oe = -1 * q.wheelDeltaX / 6), typeof fe > "u" && (fe = q.wheelDeltaY / 6), q.deltaMode && q.deltaMode === 1 && (oe *= 10, fe *= 10), q.shiftKey ? { deltaY: -fe, deltaX: -oe } : { deltaX: oe, deltaY: fe };
7757
7774
  }
7758
- function K(q) {
7775
+ function X(q) {
7759
7776
  if (e.disabled)
7760
7777
  return;
7761
7778
  q.preventDefault(), q.stopPropagation();
@@ -7809,7 +7826,7 @@ function Oo(e, t, n, o, a, i, l, r) {
7809
7826
  }
7810
7827
  }
7811
7828
  }
7812
- function X(q) {
7829
+ function K(q) {
7813
7830
  if (ae.value && he.value !== -1) {
7814
7831
  const oe = he.value - q.pageY, fe = I(), Te = fe - v.value;
7815
7832
  if (Math.abs(oe) <= Te) {
@@ -7819,19 +7836,19 @@ function Oo(e, t, n, o, a, i, l, r) {
7819
7836
  }
7820
7837
  }
7821
7838
  function le(q) {
7822
- ae.value = !1, he.value = -1, ve.value = -1, document.removeEventListener("mouseup", le), document.removeEventListener("mousemove", N), document.removeEventListener("mousemove", X), document.body.style.userSelect = "", be.value && (be.value.style.opacity = null);
7839
+ ae.value = !1, he.value = -1, ve.value = -1, document.removeEventListener("mouseup", le), document.removeEventListener("mousemove", N), document.removeEventListener("mousemove", K), document.body.style.userSelect = "", be.value && (be.value.style.opacity = null);
7823
7840
  }
7824
7841
  function z(q, oe, fe) {
7825
7842
  var je;
7826
7843
  ae.value = !0;
7827
7844
  const Te = (je = q.target) == null ? void 0 : je.parentElement;
7828
7845
  Te && (Te.style.opacity = "1", be.value = Te);
7829
- const Pe = fe === "horizontal" ? N : X;
7846
+ const Pe = fe === "horizontal" ? N : K;
7830
7847
  fe === "vertical" && (he.value = q.pageY), fe === "horizontal" && (ve.value = q.pageX), oe.value && (oe.value, document.addEventListener("mousemove", Pe), document.addEventListener("mouseup", le), document.body.style.userSelect = "none");
7831
7848
  }
7832
7849
  return {
7833
7850
  onMouseDownScrollThumb: z,
7834
- onWheel: K,
7851
+ onWheel: X,
7835
7852
  dataGridWidth: F,
7836
7853
  gridDataStyle: Ie,
7837
7854
  gridHeaderColumnsStyle: ye,
@@ -7881,7 +7898,7 @@ function Eo(e, t, n, o, a, i, l, r) {
7881
7898
  }
7882
7899
  return { getVisualData: g, maxVisibleRowIndex: u, minVisibleRowIndex: c, toggleGroupRow: _ };
7883
7900
  }
7884
- function Gs() {
7901
+ function Ls() {
7885
7902
  function e(t, n) {
7886
7903
  const {
7887
7904
  formatter: o
@@ -7892,7 +7909,7 @@ function Gs() {
7892
7909
  renderEnumColumn: e
7893
7910
  };
7894
7911
  }
7895
- function Ls() {
7912
+ function Ws() {
7896
7913
  function e(o, a) {
7897
7914
  return o ? C("span", {
7898
7915
  innerHTML: a.formatter.trueText
@@ -7917,7 +7934,7 @@ function Ls() {
7917
7934
  renderBooleanColumn: n
7918
7935
  };
7919
7936
  }
7920
- function Ws() {
7937
+ function zs() {
7921
7938
  const {
7922
7939
  formatTo: e
7923
7940
  } = Ti();
@@ -7932,7 +7949,7 @@ function Ws() {
7932
7949
  renderDateColumn: n
7933
7950
  };
7934
7951
  }
7935
- function zs() {
7952
+ function Us() {
7936
7953
  const {
7937
7954
  formatTo: e
7938
7955
  } = Mi();
@@ -7956,16 +7973,16 @@ function zs() {
7956
7973
  renderNumberColumn: n
7957
7974
  };
7958
7975
  }
7959
- function Us() {
7976
+ function qs() {
7960
7977
  const {
7961
7978
  renderBooleanColumn: e
7962
- } = Ls(), {
7979
+ } = Ws(), {
7963
7980
  renderEnumColumn: t
7964
- } = Gs(), {
7981
+ } = Ls(), {
7965
7982
  renderNumberColumn: n
7966
- } = zs(), {
7983
+ } = Us(), {
7967
7984
  renderDateColumn: o
7968
- } = Ws();
7985
+ } = zs();
7969
7986
  function a(r) {
7970
7987
  return r;
7971
7988
  }
@@ -7987,7 +8004,7 @@ function Us() {
7987
8004
  }
7988
8005
  function Vo(e, t, n) {
7989
8006
  var x;
7990
- const o = b(e.mergeCell), i = ((x = b(e.rowOption).value) == null ? void 0 : x.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = kl(), { renderFormatColumn: u } = Us();
8007
+ const o = b(e.mergeCell), i = ((x = b(e.rowOption).value) == null ? void 0 : x.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = Il(), { renderFormatColumn: u } = qs();
7991
8008
  function c(y, m, h, F, S, k = 1) {
7992
8009
  const I = {
7993
8010
  colSpan: k,
@@ -8058,7 +8075,7 @@ function Po(e, t, n, o, a, i) {
8058
8075
  __fv_data_index__: O
8059
8076
  } = S, P = S.__fv_data_grid_group_layer__ || (S.__fv_parents__ ? (me = S.__fv_parents__) == null ? void 0 : me.size : 0) || 0, M = typeof S.parent == "number" ? Number(S.parent) : -1, V = S.__fv_data_grid_group_collapse__ || S[d.value], $ = S.__fv_visible__ === void 0 ? !0 : S.__fv_visible__, E = S.__fv_checked__, D = S.__fv_indeterminate__, A = S.__fv_disabled__ || S[((Ie = e.rowOption) == null ? void 0 : Ie.disabledField) || "disabled"], j = f == null ? void 0 : f.find((xe) => xe.raw[c.value] === S.parent), H = j && j.collapse;
8060
8077
  k && (k.parent, S.parent);
8061
- const K = H || j && !j.visible, ie = {
8078
+ const X = H || j && !j.visible, ie = {
8062
8079
  collapse: V,
8063
8080
  data: {},
8064
8081
  dataIndex: O,
@@ -8077,8 +8094,8 @@ function Po(e, t, n, o, a, i) {
8077
8094
  setRef: (xe) => {
8078
8095
  ie.ref = xe;
8079
8096
  },
8080
- visible: $ && !K,
8081
- status: Ye.initial
8097
+ visible: $ && !X,
8098
+ status: Je.initial
8082
8099
  };
8083
8100
  return k || (S.__fv_data_position__ = 0), u || (ie.height = r, S.__fv_data_height__ = ie.height, s(ie, S)), (ge = l.value) != null && ge.customRowStatus && (l.value.customRowStatus(ie), S.__fv_collapse__ = ie.collapse, S.__fv_visible__ = ie.visible, S.__fv_disabled__ = ie.disabled), ie;
8084
8101
  }
@@ -8105,7 +8122,7 @@ function Po(e, t, n, o, a, i) {
8105
8122
  }
8106
8123
  return { createEmptyRow: w, createNewRowFromDataItem: g, renderDataRow: x };
8107
8124
  }
8108
- function qs(e, t, n, o) {
8125
+ function Xs(e, t, n, o) {
8109
8126
  const a = b(e.summary), { idField: i } = t, { createCellByField: l } = n, { createEmptyRow: r } = o, u = R(() => {
8110
8127
  const p = a.value;
8111
8128
  return (p == null ? void 0 : p.groupFields) || [];
@@ -8159,7 +8176,7 @@ function Ro(e, t, n) {
8159
8176
  function p(f) {
8160
8177
  return c && c.raw[o.value] === f ? c : null;
8161
8178
  }
8162
- const w = Xe({});
8179
+ const w = Ye({});
8163
8180
  function g(f, T, B = {}) {
8164
8181
  f.mode = Ne.editing, u = f, c = T, d = T == null ? void 0 : T.raw[f.field], s = B;
8165
8182
  }
@@ -8182,21 +8199,21 @@ function Ro(e, t, n) {
8182
8199
  function m(f) {
8183
8200
  Object.values(f.data).filter((T) => T.mode === Ne.editable && T.field !== "__commands__").forEach((T) => {
8184
8201
  T.mode = Ne.editing;
8185
- }), f.status = Ye.editing, c = f;
8202
+ }), f.status = Je.editing, c = f;
8186
8203
  }
8187
8204
  function h(f, T) {
8188
8205
  Object.values(f.data).filter((B) => B.mode === Ne.editing).forEach((B) => {
8189
8206
  T ? B.accept() : B.cancel(), B.mode = Ne.editable;
8190
- }), f.status = Ye.initial, c === f && (c = void 0);
8207
+ }), f.status = Je.initial, c === f && (c = void 0);
8191
8208
  }
8192
8209
  function F(f) {
8193
8210
  a.value && i.value.editMode === "row" && c !== f && (c && h(c, !1), m(f));
8194
8211
  }
8195
8212
  function S(f) {
8196
- h(f, !0), f.status = Ye.initial;
8213
+ h(f, !0), f.status = Je.initial;
8197
8214
  }
8198
8215
  function k(f) {
8199
- h(f, !1), f.status = Ye.initial;
8216
+ h(f, !1), f.status = Je.initial;
8200
8217
  }
8201
8218
  function I(f, T, B) {
8202
8219
  const O = T.dataType, P = T.editor || {
@@ -8235,7 +8252,7 @@ function $o(e) {
8235
8252
  }
8236
8253
  return { idField: t, reviseIdentifyField: n };
8237
8254
  }
8238
- function Xs(e, t, n, o, a, i) {
8255
+ function Ys(e, t, n, o, a, i) {
8239
8256
  const { addNewDataItemAtLast: l } = n, { columnContext: r } = o, { onClickCell: u } = a;
8240
8257
  function c(g, _) {
8241
8258
  const x = r.value.primaryColumns.findIndex((I) => I.field === g.field), y = g.parent, m = y.index, h = r.value.primaryColumns.length - 1, F = i.value.length - 1, S = x === h, k = m === F;
@@ -8384,8 +8401,8 @@ function No(e, t, n, o, a) {
8384
8401
  return t.getSelectionItems(p.value);
8385
8402
  }
8386
8403
  function g() {
8387
- const j = o.value.reduce((K, ie) => (K.set(ie.raw[i.value], ie), K), /* @__PURE__ */ new Map());
8388
- return p.value.map((K) => j.get(K)).filter((K) => !!K);
8404
+ const j = o.value.reduce((X, ie) => (X.set(ie.raw[i.value], ie), X), /* @__PURE__ */ new Map());
8405
+ return p.value.map((X) => j.get(X)).filter((X) => !!X);
8389
8406
  }
8390
8407
  const _ = R(() => r.value && u.value), x = R(() => !!e.hierarchy), y = R(() => {
8391
8408
  const j = d.value && c.value === "DependOnCheck";
@@ -8415,28 +8432,28 @@ function No(e, t, n, o, a) {
8415
8432
  return j.raw[i.value] || "";
8416
8433
  }
8417
8434
  function v(j) {
8418
- return p.value.findIndex((K) => K === I(j));
8435
+ return p.value.findIndex((X) => X === I(j));
8419
8436
  }
8420
8437
  function f() {
8421
- g().forEach((K) => {
8422
- K.checked = !1;
8423
- }), t.getSelectionItems(p.value).forEach((K) => {
8424
- K.__fv_checked__ = !1;
8438
+ g().forEach((X) => {
8439
+ X.checked = !1;
8440
+ }), t.getSelectionItems(p.value).forEach((X) => {
8441
+ X.__fv_checked__ = !1;
8425
8442
  }), p.value = [], l.value = "";
8426
8443
  }
8427
8444
  function T(j) {
8428
8445
  const H = j.raw;
8429
8446
  H.__fv_checked__ = !0, H.__fv_indeterminate__ = !1;
8430
- const K = new Set(p.value);
8431
- K.add(H[i.value]), p.value = Array.from(K.values()), j.checked = !0, j.indeterminate = !1, l.value = j.raw[i.value];
8447
+ const X = new Set(p.value);
8448
+ X.add(H[i.value]), p.value = Array.from(X.values()), j.checked = !0, j.indeterminate = !1, l.value = j.raw[i.value];
8432
8449
  }
8433
8450
  function B(j) {
8434
8451
  const H = j.raw;
8435
- H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, p.value = p.value.filter((K) => K !== H[i.value]), j.checked = !1, j.indeterminate = !1, l.value = "";
8452
+ H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, p.value = p.value.filter((X) => X !== H[i.value]), j.checked = !1, j.indeterminate = !1, l.value = "";
8436
8453
  }
8437
8454
  function O(j) {
8438
8455
  const H = j.raw;
8439
- H.__fv_checked__ = !1, H.__fv_indeterminate__ = !0, p.value = p.value.filter((K) => K !== H[i.value]), j.checked = !1, j.indeterminate = !0;
8456
+ H.__fv_checked__ = !1, H.__fv_indeterminate__ = !0, p.value = p.value.filter((X) => X !== H[i.value]), j.checked = !1, j.indeterminate = !0;
8440
8457
  }
8441
8458
  function P(j) {
8442
8459
  k.value && f(), j.checked ? B(j) : T(j), F();
@@ -8445,13 +8462,13 @@ function No(e, t, n, o, a) {
8445
8462
  j.raw[i.value] !== l.value && (f(), T(j), F());
8446
8463
  }
8447
8464
  function V(j) {
8448
- const H = o.value.find((K) => K.raw[i.value] === j);
8465
+ const H = o.value.find((X) => X.raw[i.value] === j);
8449
8466
  H && M(H);
8450
8467
  }
8451
8468
  function $(j) {
8452
- const H = o.value.filter((K) => j.includes(K.raw[i.value]));
8453
- H && H.length && (f(), H.forEach((K) => {
8454
- T(K);
8469
+ const H = o.value.filter((X) => j.includes(X.raw[i.value]));
8470
+ H && H.length && (f(), H.forEach((X) => {
8471
+ T(X);
8455
8472
  }), F());
8456
8473
  }
8457
8474
  function E() {
@@ -8520,10 +8537,10 @@ function jo(e, t) {
8520
8537
  }
8521
8538
  return { showRowNumer: l, showSidebarCheckBox: r, sidebarCellPosition: p, sidebarCornerCellStyle: w, sidebarTitle: d, sidebarWidth: s, rowKey: _, cellKey: g };
8522
8539
  }
8523
- const Ys = {
8540
+ const Js = {
8524
8541
  ascend: (e, t) => e === t ? 0 : e === !1 ? -1 : 1,
8525
8542
  decend: (e, t) => e === t ? 0 : e === !0 ? -1 : 1
8526
- }, Js = {
8543
+ }, Qs = {
8527
8544
  ascend: (e, t) => {
8528
8545
  const n = new Date(new Date(e).toLocaleDateString()).valueOf(), o = new Date(new Date(t).toLocaleDateString()).valueOf();
8529
8546
  return n === o ? 0 : n < o ? -1 : 1;
@@ -8532,10 +8549,10 @@ const Ys = {
8532
8549
  const n = new Date(new Date(e).toLocaleDateString()).valueOf(), o = new Date(new Date(t).toLocaleDateString()).valueOf();
8533
8550
  return n === o ? 0 : n < o ? 1 : -1;
8534
8551
  }
8535
- }, Qs = {
8552
+ }, Zs = {
8536
8553
  ascend: (e, t) => e === t ? 0 : e < t ? -1 : 1,
8537
8554
  decend: (e, t) => e === t ? 0 : e < t ? 1 : -1
8538
- }, Zs = {
8555
+ }, eu = {
8539
8556
  ascend: (e, t) => e === t ? 0 : e < t ? -1 : 1,
8540
8557
  decend: (e, t) => e === t ? 0 : e < t ? 1 : -1
8541
8558
  };
@@ -8550,10 +8567,10 @@ function Ao(e) {
8550
8567
  ["enum", "text-sorter"],
8551
8568
  ["reference", "text-sorter"]
8552
8569
  ]), n = /* @__PURE__ */ new Map([
8553
- ["boolean-sorter", Ys],
8554
- ["datetime-sorter", Js],
8555
- ["numeric-sorter", Qs],
8556
- ["text-sorter", Zs]
8570
+ ["boolean-sorter", Js],
8571
+ ["datetime-sorter", Qs],
8572
+ ["numeric-sorter", Zs],
8573
+ ["text-sorter", eu]
8557
8574
  ]);
8558
8575
  function o(l) {
8559
8576
  const r = (l == null ? void 0 : l.dataType) || "string", u = t.get(r) || "text-sorter";
@@ -8572,7 +8589,7 @@ function Ao(e) {
8572
8589
  }
8573
8590
  return { getSorterByColumn: o, updateSorter: i };
8574
8591
  }
8575
- function eu(e) {
8592
+ function tu(e) {
8576
8593
  function t(a) {
8577
8594
  return {};
8578
8595
  }
@@ -8654,7 +8671,7 @@ function Ho(e) {
8654
8671
  }
8655
8672
  };
8656
8673
  }
8657
- function tu(e) {
8674
+ function nu(e) {
8658
8675
  const t = "parent", n = "layer", o = "hasChildren", a = (i, l = 1, r = [], u = null) => (i = i || [], i.reduce((c, d) => (d.id = d.id || d.data[e.idField], d[t] = u, d[n] = l, d[o] = !1, d = { ...d, ...d.data }, r.push(d), d.children && d.children.length && (d[o] = !0, a(d.children, l + 1, r, d.id)), c), r), r);
8659
8676
  return { flatTreeData: a };
8660
8677
  }
@@ -8691,19 +8708,19 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8691
8708
  } = r, {
8692
8709
  navigateOnKeyUp: H
8693
8710
  } = d, {
8694
- gridDataStyle: K,
8711
+ gridDataStyle: X,
8695
8712
  gridMergedDataStyle: ie,
8696
8713
  leftFixedGridDataStyle: me,
8697
8714
  leftFixedGridMergedDataStyle: Ie,
8698
8715
  rightFixedGridDataStyle: ge,
8699
8716
  rightFixedGridMergedDataStyle: xe
8700
8717
  } = w;
8701
- function _e(N, X) {
8702
- X.collapse = !X.collapse, g.value = E(X.collapse ? "collapse" : "expand", X, g.value);
8718
+ function _e(N, K) {
8719
+ K.collapse = !K.collapse, g.value = E(K.collapse ? "collapse" : "expand", K, g.value);
8703
8720
  }
8704
- function de(N, X) {
8721
+ function de(N, K) {
8705
8722
  const le = [];
8706
- if (N.groupField && X[N.groupField]) {
8723
+ if (N.groupField && K[N.groupField]) {
8707
8724
  for (let Fe = 0; Fe <= N.layer; Fe++)
8708
8725
  le.push(C("div", {
8709
8726
  class: "fv-grid-group-row-icon",
@@ -8716,19 +8733,19 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8716
8733
  ref: z.setRef,
8717
8734
  key: x(N, N.layer + 1),
8718
8735
  class: "fv-grid-cell",
8719
- style: S(z, X, N.layer)
8736
+ style: S(z, K, N.layer)
8720
8737
  }, [z.data])), Object.values(N.data).filter((Fe) => Fe.field !== N.groupField && Fe.colSpan !== 0).forEach((Fe) => {
8721
8738
  le.push(C("div", {
8722
8739
  ref: Fe.setRef,
8723
8740
  key: x(N, Fe.index),
8724
8741
  class: "fv-grid-cell",
8725
- style: y(Fe, X)
8742
+ style: y(Fe, K)
8726
8743
  }, [Fe.data]));
8727
8744
  });
8728
8745
  }
8729
8746
  return le;
8730
8747
  }
8731
- function pe(N, X, le) {
8748
+ function pe(N, K, le) {
8732
8749
  return N.layer > -1 && C("div", {
8733
8750
  ref: N.setRef,
8734
8751
  key: m(N),
@@ -8736,22 +8753,22 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8736
8753
  style: h(N),
8737
8754
  onClick: (z) => P(z, N),
8738
8755
  onMouseover: (z) => M(z, N)
8739
- }, [de(N, X)]);
8756
+ }, [de(N, K)]);
8740
8757
  }
8741
- function ye(N, X) {
8758
+ function ye(N, K) {
8742
8759
  const le = [];
8743
- if (N.groupField && X[N.groupField]) {
8760
+ if (N.groupField && K[N.groupField]) {
8744
8761
  const z = N.data[N.groupField];
8745
8762
  le.push(C("div", {
8746
8763
  ref: z.setRef,
8747
8764
  key: x(N, N.layer + 1),
8748
8765
  class: "fv-grid-cell",
8749
- style: k(z, X, N.layer)
8766
+ style: k(z, K, N.layer)
8750
8767
  }, [z.data]));
8751
8768
  }
8752
8769
  return le;
8753
8770
  }
8754
- function W(N, X, le) {
8771
+ function W(N, K, le) {
8755
8772
  return N.layer > -1 && C("div", {
8756
8773
  ref: N.setRef,
8757
8774
  key: m(N),
@@ -8759,9 +8776,9 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8759
8776
  style: h(N),
8760
8777
  onClick: (z) => P(z, N),
8761
8778
  onMouseover: (z) => M(z, N)
8762
- }, [ye(N, X)]);
8779
+ }, [ye(N, K)]);
8763
8780
  }
8764
- function U(N, X, le) {
8781
+ function U(N, K, le) {
8765
8782
  return C("div", {
8766
8783
  ref: N.setRef,
8767
8784
  key: m(N),
@@ -8770,13 +8787,13 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8770
8787
  onClick: (z) => P(z, N),
8771
8788
  onMouseover: (z) => M(z, N),
8772
8789
  onMouseout: (z) => V(z, N)
8773
- }, [Object.values(N.data).filter((z) => X[z.field] && z.rowSpan === 1).map((z) => {
8790
+ }, [Object.values(N.data).filter((z) => K[z.field] && z.rowSpan === 1).map((z) => {
8774
8791
  const Fe = le == null ? void 0 : le.find((q) => q.field === z.field);
8775
8792
  return C("div", {
8776
8793
  ref: z.setRef,
8777
8794
  key: x(N, z.index),
8778
8795
  class: B(z),
8779
- style: y(z, X),
8796
+ style: y(z, K),
8780
8797
  onClick: (q) => $(q, z, N, Fe),
8781
8798
  onKeyup: (q) => H(q, z)
8782
8799
  }, [C("div", {
@@ -8791,16 +8808,16 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8791
8808
  })]);
8792
8809
  }
8793
8810
  const ce = [U, pe, W];
8794
- function Se(N, X) {
8811
+ function Se(N, K) {
8795
8812
  const le = _(N);
8796
8813
  return g.value.map((z) => ce[z.type](z, le, N));
8797
8814
  }
8798
8815
  function re(N) {
8799
- const X = _(N);
8800
- return g.value.map((le) => Object.values(le.data).filter((z) => X[z.field] && z.rowSpan > 1).map((z) => C("div", {
8816
+ const K = _(N);
8817
+ return g.value.map((le) => Object.values(le.data).filter((z) => K[z.field] && z.rowSpan > 1).map((z) => C("div", {
8801
8818
  key: x(le, z.index),
8802
8819
  class: "fv-grid-cell fv-grid-merged-cell",
8803
- style: F(le, z, X)
8820
+ style: F(le, z, K)
8804
8821
  }, [z.data])));
8805
8822
  }
8806
8823
  function ae() {
@@ -8821,7 +8838,7 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8821
8838
  class: "fv-grid-content-primary"
8822
8839
  }, [C("div", {
8823
8840
  class: "fv-grid-data",
8824
- style: K.value
8841
+ style: X.value
8825
8842
  }, [Se(D.value.primaryColumns.filter((N) => N.visible))]), C("div", {
8826
8843
  class: "fv-grid-merge-date",
8827
8844
  style: ie.value
@@ -8849,7 +8866,7 @@ function Go(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g) {
8849
8866
  }
8850
8867
  const gt = /* @__PURE__ */ Ve({
8851
8868
  name: "FDataGrid",
8852
- props: Xt,
8869
+ props: Kt,
8853
8870
  emits: ["changed", "clickRow", "doubleClickRow", "selectionChange", "enterUpInLastCell", "pageIndexChanged", "pageSizeChanged", "beginEditCell", "endEditCell"],
8854
8871
  setup(e, t) {
8855
8872
  var ln;
@@ -8872,7 +8889,7 @@ const gt = /* @__PURE__ */ Ve({
8872
8889
  updateColumnRenderContext: V
8873
8890
  } = B;
8874
8891
  P(S, O);
8875
- const $ = On(e, M), E = Lt(e, t, i), D = Wt(), A = zt(e, E, D), j = Ut(e, E, x, i, D, A), H = En(e, i, A, j), K = Vn(e, i, A, j), ie = qt(e, a, S, I, 0, j, H, K), {
8892
+ const $ = On(e, M), E = Lt(e, t, i), D = Wt(), A = zt(e, E, D), j = Ut(e, E, x, i, D, A), H = En(e, i, A, j), X = Vn(e, i, A, j), ie = qt(e, a, S, I, 0, j, H, X), {
8876
8893
  getVisualData: me
8877
8894
  } = ie, Ie = Da(M), ge = Pn(e, M), xe = Rn(e, k), {
8878
8895
  sidebarWidth: _e
@@ -8889,7 +8906,7 @@ const gt = /* @__PURE__ */ Ve({
8889
8906
  } = Se, ae = Nn(), he = jn(r, d, S, ae, de), ve = An(e, t, k, i), be = Hn(e, t, B, S, $, g, de), N = R(() => ({
8890
8907
  "fv-grid": !0,
8891
8908
  "fv-datagrid-strip": e.showStripe
8892
- })), X = R(() => ({
8909
+ })), K = R(() => ({
8893
8910
  "fv-grid-content": !0,
8894
8911
  "fv-grid-content-hover": p.value,
8895
8912
  "fv-grid-wrap-content": w.value
@@ -8911,7 +8928,7 @@ const gt = /* @__PURE__ */ Ve({
8911
8928
  } = Un(e, r, de), {
8912
8929
  renderFilterPanel: je
8913
8930
  } = Aa(e, B, S, _, de), {
8914
- renderGroupPanel: qe
8931
+ renderGroupPanel: Xe
8915
8932
  } = Ha(e, S, be, g, de);
8916
8933
  function Ke() {
8917
8934
  var Ce, pt;
@@ -9001,9 +9018,9 @@ const gt = /* @__PURE__ */ Ve({
9001
9018
  class: N.value,
9002
9019
  style: v.value,
9003
9020
  onWheel: pe
9004
- }, [je(), qe(), le(), ti.value && ni(), C("div", {
9021
+ }, [je(), Xe(), le(), ti.value && ni(), C("div", {
9005
9022
  ref: r,
9006
- class: X.value,
9023
+ class: K.value,
9007
9024
  onMouseover: () => {
9008
9025
  p.value = !0;
9009
9026
  },
@@ -9012,7 +9029,7 @@ const gt = /* @__PURE__ */ Ve({
9012
9029
  }
9013
9030
  }, [q(s), dt(), Te(), Pe()]), fe(), F.value && Fe(), z(), e.disabled && oe()]);
9014
9031
  }
9015
- }), nu = "https://json-schema.org/draft/2020-12/schema", ou = "https://farris-design.gitee.io/check-box.schema.json", iu = "check-box", au = "A Farris Input Component", lu = "object", ru = {
9032
+ }), ou = "https://json-schema.org/draft/2020-12/schema", iu = "https://farris-design.gitee.io/check-box.schema.json", au = "check-box", lu = "A Farris Input Component", ru = "object", su = {
9016
9033
  id: {
9017
9034
  description: "The unique identifier for a check box",
9018
9035
  type: "string"
@@ -9079,27 +9096,26 @@ const gt = /* @__PURE__ */ Ve({
9079
9096
  type: "boolean",
9080
9097
  default: !0
9081
9098
  }
9082
- }, su = [
9083
- "id",
9099
+ }, uu = [
9084
9100
  "type"
9085
- ], uu = [
9101
+ ], cu = [
9086
9102
  "id",
9087
9103
  "appearance",
9088
9104
  "binding",
9089
9105
  "visible"
9090
- ], cu = {
9091
- $schema: nu,
9092
- $id: ou,
9093
- title: iu,
9094
- description: au,
9095
- type: lu,
9096
- properties: ru,
9097
- required: su,
9098
- ignore: uu
9099
- }, du = /* @__PURE__ */ new Map([
9106
+ ], du = {
9107
+ $schema: ou,
9108
+ $id: iu,
9109
+ title: au,
9110
+ description: lu,
9111
+ type: ru,
9112
+ properties: su,
9113
+ required: uu,
9114
+ ignore: cu
9115
+ }, pu = /* @__PURE__ */ new Map([
9100
9116
  ["appearance", ct]
9101
9117
  ]);
9102
- function pu(e, t, n) {
9118
+ function fu(e, t, n) {
9103
9119
  return t;
9104
9120
  }
9105
9121
  const Lo = {
@@ -9130,8 +9146,8 @@ const Lo = {
9130
9146
  /** 标识是否被选中 */
9131
9147
  checked: { type: Boolean, default: !1 }
9132
9148
  };
9133
- He(Lo, cu, du, pu);
9134
- const fu = /* @__PURE__ */ Ve({
9149
+ He(Lo, du, pu, fu);
9150
+ const mu = /* @__PURE__ */ Ve({
9135
9151
  name: "FCheckBox",
9136
9152
  props: Lo,
9137
9153
  emits: ["change", "changeValue", "update:modelValue", "update:checked"],
@@ -9192,7 +9208,7 @@ const fu = /* @__PURE__ */ Ve({
9192
9208
  }, [(S = (F = t.slots).default) == null ? void 0 : S.call(F)])])]);
9193
9209
  };
9194
9210
  }
9195
- }), mu = {
9211
+ }), gu = {
9196
9212
  id: { type: String, default: "" },
9197
9213
  componentId: { type: String, default: "" },
9198
9214
  type: { type: String, default: "" },
@@ -9207,11 +9223,11 @@ const fu = /* @__PURE__ */ Ve({
9207
9223
  */
9208
9224
  modelValue: { type: Object },
9209
9225
  ignore: { type: Boolean, default: !1 }
9210
- }, gu = {
9226
+ }, hu = {
9211
9227
  id: { type: String }
9212
- }, hu = /* @__PURE__ */ Ve({
9228
+ }, vu = /* @__PURE__ */ Ve({
9213
9229
  name: "FDesignerPlaceholder",
9214
- props: gu,
9230
+ props: hu,
9215
9231
  emits: [],
9216
9232
  setup(e) {
9217
9233
  const t = R(() => ({
@@ -9240,12 +9256,12 @@ const fu = /* @__PURE__ */ Ve({
9240
9256
  }, [Ge("拖拽组件到这里")]);
9241
9257
  }
9242
9258
  });
9243
- function vu(e) {
9259
+ function yu(e) {
9244
9260
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !fi(e);
9245
9261
  }
9246
9262
  const Pt = /* @__PURE__ */ Ve({
9247
9263
  name: "FDesignerItem",
9248
- props: mu,
9264
+ props: gu,
9249
9265
  emits: ["selectionChange"],
9250
9266
  setup(e, t) {
9251
9267
  const n = b(`${e.modelValue.id}-component`), o = b(e.canMove), a = b(e.canDelete), i = b(!1), l = b(e.modelValue), r = b(e.componentId || ""), u = b(""), c = b(""), d = b(e.customClass), s = b(), p = Le("canvas-dragula"), w = b(), g = Le("design-item-context"), _ = {
@@ -9285,8 +9301,8 @@ const Pt = /* @__PURE__ */ Ve({
9285
9301
  if (M && (M.preventDefault(), M.stopPropagation()), w.value.triggerBelongedComponentToDeleteWhenDeleted) {
9286
9302
  const j = w.value.getBelongedComponentInstance(w);
9287
9303
  if (j && j.parent) {
9288
- const H = b(j == null ? void 0 : j.parent), K = H.value.contents.findIndex((ie) => ie.id === j.schema.id);
9289
- (A = (D = H.value) == null ? void 0 : D.contents) == null || A.splice(K, 1), bt.value++;
9304
+ const H = b(j == null ? void 0 : j.parent), X = H.value.contents.findIndex((ie) => ie.id === j.schema.id);
9305
+ (A = (D = H.value) == null ? void 0 : D.contents) == null || A.splice(X, 1), bt.value++;
9290
9306
  }
9291
9307
  return;
9292
9308
  }
@@ -9342,15 +9358,15 @@ const Pt = /* @__PURE__ */ Ve({
9342
9358
  }
9343
9359
  function f(M) {
9344
9360
  let V;
9345
- const $ = M.type, E = Lr[$], D = Wr[$], A = D ? D(M) : {};
9361
+ const $ = M.type, E = Wr[$], D = zr[$], A = D ? D(M) : {};
9346
9362
  A.customClass = e.ignore ? A.customClass : "", A.componentId = r.value, A.id = M.id;
9347
9363
  const j = M.contents && M.contents.length === 0;
9348
9364
  return M.contents && !!M.contents.length && E ? C(E, ot({
9349
9365
  ref: w
9350
- }, A), vu(V = M.contents.map((K) => C(Pt, {
9351
- key: K.id,
9352
- modelValue: K,
9353
- "onUpdate:modelValue": (ie) => K = ie,
9366
+ }, A), yu(V = M.contents.map((X) => C(Pt, {
9367
+ key: X.id,
9368
+ modelValue: X,
9369
+ "onUpdate:modelValue": (ie) => X = ie,
9354
9370
  componentId: r.value,
9355
9371
  onSelectionChange: v
9356
9372
  }, null))) ? V : {
@@ -9358,7 +9374,7 @@ const Pt = /* @__PURE__ */ Ve({
9358
9374
  }) : E ? j ? C(E, ot({
9359
9375
  ref: w
9360
9376
  }, A), {
9361
- default: () => [C(hu, null, null)]
9377
+ default: () => [C(vu, null, null)]
9362
9378
  }) : C(E, ot({
9363
9379
  ref: w
9364
9380
  }, A), null) : C("div", null, null);
@@ -9381,7 +9397,7 @@ const Pt = /* @__PURE__ */ Ve({
9381
9397
  });
9382
9398
  function B(M) {
9383
9399
  const V = M == null ? void 0 : M.target;
9384
- Ur(V);
9400
+ qr(V);
9385
9401
  }
9386
9402
  function O() {
9387
9403
  var M, V;
@@ -9437,7 +9453,7 @@ function Wo(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _, x, y, m, h = "data-g
9437
9453
  leftFixedGridHeaderColumnsStyle: $,
9438
9454
  rightFixedGridHeaderColumnsStyle: E
9439
9455
  } = x, D = R(() => F.value || f.value || v.value), A = O.value.defaultColumnWidth, j = 32, H = /* @__PURE__ */ new Map([[0, 0]]);
9440
- function K(ae, he) {
9456
+ function X(ae, he) {
9441
9457
  const ve = H.get(he) || 0, be = {
9442
9458
  height: `${ae.depth * j}px`,
9443
9459
  left: `${ae.left}px`,
@@ -9471,10 +9487,10 @@ function Wo(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _, x, y, m, h = "data-g
9471
9487
  const be = b(ae.column);
9472
9488
  return C("div", {
9473
9489
  class: "fv-grid-header-cell",
9474
- style: K(ae, ve)
9490
+ style: X(ae, ve)
9475
9491
  }, [C(Pt, {
9476
9492
  modelValue: be.value,
9477
- "onUpdate:modelValue": (X) => be.value = X,
9493
+ "onUpdate:modelValue": (K) => be.value = K,
9478
9494
  customClass: "w-100 d-flex align-items-center justify-content-center",
9479
9495
  canAdd: !1,
9480
9496
  canDelete: !1,
@@ -9522,7 +9538,7 @@ function Wo(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _, x, y, m, h = "data-g
9522
9538
  return C("div", {
9523
9539
  class: "fv-grid-header-corner d-flex",
9524
9540
  style: B.value
9525
- }, [F.value && C(fu, {
9541
+ }, [F.value && C(mu, {
9526
9542
  id: "checkbox_for_select_all",
9527
9543
  indeterminate: ce.value,
9528
9544
  modelValue: W.value,
@@ -9548,7 +9564,7 @@ function Wo(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _, x, y, m, h = "data-g
9548
9564
  renderGridHeader: re
9549
9565
  };
9550
9566
  }
9551
- class yu extends kt {
9567
+ class bu extends kt {
9552
9568
  constructor(t, n) {
9553
9569
  super(t, n);
9554
9570
  }
@@ -9780,7 +9796,7 @@ class yu extends kt {
9780
9796
  };
9781
9797
  }
9782
9798
  }
9783
- function bu(e, t) {
9799
+ function Cu(e, t) {
9784
9800
  const n = e.schema, o = b(!0), a = b(!0);
9785
9801
  function i(d) {
9786
9802
  return d && d.sourceType === "control" ? d.componentCategory === "input" : !1;
@@ -9795,7 +9811,7 @@ function bu(e, t) {
9795
9811
  return !0;
9796
9812
  }
9797
9813
  function c(d) {
9798
- return new yu(d, t).getPropertyConfig(n);
9814
+ return new bu(d, t).getPropertyConfig(n);
9799
9815
  }
9800
9816
  return {
9801
9817
  canAccepts: i,
@@ -9809,11 +9825,11 @@ function bu(e, t) {
9809
9825
  }
9810
9826
  const Rt = /* @__PURE__ */ Ve({
9811
9827
  name: "FDataGridDesign",
9812
- props: ml,
9828
+ props: gl,
9813
9829
  emits: ["ClickRow", "DoubleClickRow", "selectionChange", "enterUpInLastCell", "pageIndexChanged", "pageSizeChanged"],
9814
9830
  setup(e, t) {
9815
9831
  var Ae;
9816
- const n = b(), o = Le("designer-host-service"), a = Le("design-item-context"), i = bu(a, o), l = Zt(n, a, i);
9832
+ const n = b(), o = Le("designer-host-service"), a = Le("design-item-context"), i = Cu(a, o), l = Zt(n, a, i);
9817
9833
  l.value.styles = "display:flex;flex:1;", $e(() => {
9818
9834
  n.value.componentInstance = l;
9819
9835
  }), t.expose(l.value);
@@ -9829,9 +9845,9 @@ const Rt = /* @__PURE__ */ Ve({
9829
9845
  updateColumnRenderContext: D
9830
9846
  } = M;
9831
9847
  $(I, V);
9832
- const A = fo(e, E), j = Ro(e, t, c), H = Jt(), K = Vo(e, j, H), ie = Po(e, j, S, c, H, K), me = qs(e, c, K, ie), Ie = Ks(e, c, K, ie), ge = Eo(e, r, I, T, d, ie, me, Ie), {
9848
+ const A = fo(e, E), j = Ro(e, t, c), H = Jt(), X = Vo(e, j, H), ie = Po(e, j, S, c, H, X), me = Xs(e, c, X, ie), Ie = Ks(e, c, X, ie), ge = Eo(e, r, I, T, d, ie, me, Ie), {
9833
9849
  getVisualData: xe
9834
- } = ge, _e = eu(), de = Yt(e, E), pe = jo(e, v), {
9850
+ } = ge, _e = tu(), de = Yt(e, E), pe = jo(e, v), {
9835
9851
  sidebarWidth: ye
9836
9852
  } = pe;
9837
9853
  x.value = xe(0, T.value + d - 1);
@@ -9843,7 +9859,7 @@ const Rt = /* @__PURE__ */ Ve({
9843
9859
  resetScroll: ae
9844
9860
  } = W, he = po(e, E, s, re, A), {
9845
9861
  calculateColumnsSize: ve
9846
- } = he, be = Mo(), N = so(s, g, I, be, W), X = Do(e, t, v, c), le = co(e, t, M, I, A, h, W), z = R(() => ({
9862
+ } = he, be = Mo(), N = so(s, g, I, be, W), K = Do(e, t, v, c), le = co(e, t, M, I, A, h, W), z = R(() => ({
9847
9863
  "fv-grid": !0,
9848
9864
  "fv-datagrid-strip": _.value
9849
9865
  })), Fe = R(() => ({
@@ -9853,22 +9869,22 @@ const Rt = /* @__PURE__ */ Ve({
9853
9869
  })), {
9854
9870
  renderGridHeader: q
9855
9871
  } = Wo(a, e, s, w, g, M, I, le, N, F, be, he, A, v, pe, V, W, re, x);
9856
- _l(e, t, I, W, k);
9872
+ Fl(e, t, I, W, k);
9857
9873
  const {
9858
9874
  renderDataGridSidebar: oe
9859
- } = io(e, X, v, pe, W), {
9875
+ } = io(e, K, v, pe, W), {
9860
9876
  renderDisableMask: fe
9861
- } = vl(), {
9877
+ } = yl(), {
9862
9878
  renderDataGridSummery: Te
9863
- } = Fl(e, I, M), {
9879
+ } = kl(e, I, M), {
9864
9880
  renderHorizontalScrollbar: Pe
9865
9881
  } = oo(e, s, W), {
9866
9882
  renderVerticalScrollbar: je
9867
9883
  } = ao(e, s, W), {
9868
- renderFilterPanel: qe
9869
- } = yl(e, M, I, F, W), {
9884
+ renderFilterPanel: Xe
9885
+ } = bl(e, M, I, F, W), {
9870
9886
  renderGroupPanel: Ke
9871
- } = bl(e, I, le, h, W);
9887
+ } = Cl(e, I, le, h, W);
9872
9888
  function at() {
9873
9889
  var we, et;
9874
9890
  Se.value = ((we = p.value) == null ? void 0 : we.clientHeight) || 0, ce.value = ((et = s.value) == null ? void 0 : et.clientWidth) || 0, ve();
@@ -9908,7 +9924,7 @@ const Rt = /* @__PURE__ */ Ve({
9908
9924
  function ue(we) {
9909
9925
  we && (I.load(we), x.value = xe(0, T.value + d - 1));
9910
9926
  }
9911
- const ke = Xs(e, t, {
9927
+ const ke = Ys(e, t, {
9912
9928
  addNewDataItem: lt,
9913
9929
  addNewDataItemAtLast: rt,
9914
9930
  removeDataItem: L,
@@ -9924,13 +9940,13 @@ const Rt = /* @__PURE__ */ Ve({
9924
9940
  });
9925
9941
  const {
9926
9942
  renderDataArea: Me
9927
- } = Go(e, t, p, w, g, _e, de, M, j, h, ke, X, ge, W, x);
9943
+ } = Go(e, t, p, w, g, _e, de, M, j, h, ke, K, ge, W, x);
9928
9944
  return () => C("div", {
9929
9945
  ref: n,
9930
9946
  class: z.value,
9931
9947
  style: B.value,
9932
9948
  onWheel: U
9933
- }, [qe(), Ke(), q(), C("div", {
9949
+ }, [Xe(), Ke(), q(), C("div", {
9934
9950
  ref: s,
9935
9951
  class: Fe.value,
9936
9952
  onMouseover: () => {
@@ -9941,13 +9957,13 @@ const Rt = /* @__PURE__ */ Ve({
9941
9957
  }
9942
9958
  }, [oe(x), Me(), Pe(), je()]), Te(), f.value && fe()]);
9943
9959
  }
9944
- }), Cu = /* @__PURE__ */ new Map([
9960
+ }), wu = /* @__PURE__ */ new Map([
9945
9961
  ["appearance", $a]
9946
9962
  ]);
9947
- function wu(e, t, n) {
9963
+ function Su(e, t, n) {
9948
9964
  return t;
9949
9965
  }
9950
- const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-design.gitee.io/button-edit.schema.json", _u = "button-edit", Fu = "A Farris Input Component", ku = "object", Iu = {
9966
+ const xu = "https://json-schema.org/draft/2020-12/schema", _u = "https://farris-design.gitee.io/button-edit.schema.json", Fu = "button-edit", ku = "A Farris Input Component", Iu = "object", Tu = {
9951
9967
  id: {
9952
9968
  description: "The unique identifier for a Input Group",
9953
9969
  type: "string"
@@ -10131,18 +10147,18 @@ const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-
10131
10147
  type: "string",
10132
10148
  default: ""
10133
10149
  }
10134
- }, Tu = [
10150
+ }, Mu = [
10135
10151
  "id",
10136
10152
  "type"
10137
- ], Mu = {
10138
- $schema: Su,
10139
- $id: xu,
10140
- title: _u,
10141
- description: Fu,
10142
- type: ku,
10143
- properties: Iu,
10144
- required: Tu
10145
- }, Bu = "buttonEdit", Ou = "A Farris Component", Eu = "object", Vu = {
10153
+ ], Bu = {
10154
+ $schema: xu,
10155
+ $id: _u,
10156
+ title: Fu,
10157
+ description: ku,
10158
+ type: Iu,
10159
+ properties: Tu,
10160
+ required: Mu
10161
+ }, Ou = "buttonEdit", Eu = "A Farris Component", Vu = "object", Pu = {
10146
10162
  basic: {
10147
10163
  description: "Basic Infomation",
10148
10164
  title: "基本信息",
@@ -10224,11 +10240,11 @@ const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-
10224
10240
  }
10225
10241
  }
10226
10242
  }
10227
- }, Pu = {
10228
- title: Bu,
10229
- description: Ou,
10230
- type: Eu,
10231
- categories: Vu
10243
+ }, Ru = {
10244
+ title: Ou,
10245
+ description: Eu,
10246
+ type: Vu,
10247
+ categories: Pu
10232
10248
  }, zo = {
10233
10249
  /**
10234
10250
  * 组件标识
@@ -10338,14 +10354,14 @@ const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-
10338
10354
  /** 更新方式 blur | change */
10339
10355
  updateOn: { type: String, default: "change" }
10340
10356
  };
10341
- He(zo, Mu, Cu, wu, Pu);
10342
- const Ru = {
10357
+ He(zo, Bu, wu, Su, Ru);
10358
+ const $u = {
10343
10359
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
10344
10360
  host: { type: Object },
10345
10361
  backgroundColor: { type: String, default: "" }
10346
- }, $u = /* @__PURE__ */ Ve({
10362
+ }, Du = /* @__PURE__ */ Ve({
10347
10363
  name: "FOverlay",
10348
- props: Ru,
10364
+ props: $u,
10349
10365
  emits: ["click"],
10350
10366
  setup(e, t) {
10351
10367
  const n = b(e.popupContentPosition), o = b(e.host), a = R(() => ({
@@ -10391,13 +10407,13 @@ const Ru = {
10391
10407
  });
10392
10408
  }
10393
10409
  });
10394
- function Du(e) {
10410
+ function Nu(e) {
10395
10411
  if (e.content && e.content.render)
10396
10412
  return e.content.render;
10397
10413
  if (e.render && typeof e.render == "function")
10398
10414
  return e.render;
10399
10415
  }
10400
- function Nu(e) {
10416
+ function ju(e) {
10401
10417
  const t = document.createElement("div");
10402
10418
  t.style.display = "contents";
10403
10419
  let n;
@@ -10410,8 +10426,8 @@ function Nu(e) {
10410
10426
  it(() => {
10411
10427
  document.body.removeChild(t);
10412
10428
  });
10413
- const i = Du(e);
10414
- return () => C($u, {
10429
+ const i = Nu(e);
10430
+ return () => C(Du, {
10415
10431
  "popup-content-position": e.popupPosition,
10416
10432
  host: e.host,
10417
10433
  onClick: a,
@@ -10422,9 +10438,9 @@ function Nu(e) {
10422
10438
  }
10423
10439
  }), document.body.appendChild(t), n.mount(t), n;
10424
10440
  }
10425
- class ju {
10441
+ class Au {
10426
10442
  static show(t) {
10427
- return Nu(t);
10443
+ return ju(t);
10428
10444
  }
10429
10445
  }
10430
10446
  function Uo(e, t) {
@@ -10441,11 +10457,11 @@ function Uo(e, t) {
10441
10457
  }
10442
10458
  return { judgeCanOpen: n };
10443
10459
  }
10444
- function Au(e, t, n, o, a) {
10460
+ function Hu(e, t, n, o, a) {
10445
10461
  const i = b(e.buttonBehavior), l = b(e.popupOnInput), r = R(() => ({
10446
10462
  "input-group-append": !0,
10447
10463
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
10448
- })), { judgeCanOpen: u } = Uo(e, a), c = R(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = Le(Fs, null), s = b();
10464
+ })), { judgeCanOpen: u } = Uo(e, a), c = R(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = Le(ks, null), s = b();
10449
10465
  async function p(_) {
10450
10466
  if (await u() && c.value) {
10451
10467
  const x = !!t.slots.default;
@@ -10456,7 +10472,7 @@ function Au(e, t, n, o, a) {
10456
10472
  });
10457
10473
  s.value = m == null ? void 0 : m.modalRef;
10458
10474
  }
10459
- i.value === "Overlay" && ju.show({
10475
+ i.value === "Overlay" && Au.show({
10460
10476
  // host: buttonEditRef.value,
10461
10477
  host: document.body,
10462
10478
  backgroundColor: "rgba(0,0,0,.15)",
@@ -10478,7 +10494,7 @@ function Au(e, t, n, o, a) {
10478
10494
  modalRef: s
10479
10495
  };
10480
10496
  }
10481
- function Hu(e, t, n, o, a, i) {
10497
+ function Gu(e, t, n, o, a, i) {
10482
10498
  const l = b(!1), r = R(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = i;
10483
10499
  function c(w) {
10484
10500
  l.value = w;
@@ -10510,7 +10526,7 @@ function Hu(e, t, n, o, a, i) {
10510
10526
  onMouseLeaveTextBox: p
10511
10527
  };
10512
10528
  }
10513
- function Gu(e, t, n, o, a) {
10529
+ function Lu(e, t, n, o, a) {
10514
10530
  const i = R(() => e.popupOnInput), l = R(() => e.popupOnFocus), { shouldPopupContent: r } = a, u = R(() => e.enableTitle ? n.value : ""), c = R(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = R(() => e.readonly || !e.editable), s = b(!1), p = R(() => !e.disable && s.value), w = R(() => ({
10515
10531
  "text-left": e.textAlign === "left",
10516
10532
  "text-center": e.textAlign === "center",
@@ -10582,7 +10598,7 @@ function Gu(e, t, n, o, a) {
10582
10598
  onTextBoxValueChange: v
10583
10599
  };
10584
10600
  }
10585
- function Lu(e, t, n, o) {
10601
+ function Wu(e, t, n, o) {
10586
10602
  const a = b(), i = b(!1), { judgeCanOpen: l } = Uo(e, o);
10587
10603
  function r() {
10588
10604
  const s = a.value;
@@ -10607,7 +10623,7 @@ function Lu(e, t, n, o) {
10607
10623
  }
10608
10624
  return { hidePopup: d, popup: c, shouldPopupContent: i, togglePopup: u, popoverRef: a };
10609
10625
  }
10610
- function Wu(e, t, n) {
10626
+ function zu(e, t, n) {
10611
10627
  const o = b(), {
10612
10628
  isTextBoxReadonly: a,
10613
10629
  textBoxClass: i,
@@ -10649,7 +10665,7 @@ function Wu(e, t, n) {
10649
10665
  onMousedown: g
10650
10666
  }, null);
10651
10667
  }
10652
- function zu(e, t, n) {
10668
+ function Uu(e, t, n) {
10653
10669
  const o = b(e.separator), {
10654
10670
  changeTextBoxValue: a
10655
10671
  } = n, i = R(() => t.value ? t.value.split(o.value).map((r) => ({
@@ -10668,7 +10684,7 @@ function zu(e, t, n) {
10668
10684
  onChange: l
10669
10685
  }, null);
10670
10686
  }
10671
- function Uu(e, t, n, o) {
10687
+ function qu(e, t, n, o) {
10672
10688
  const {
10673
10689
  buttonGroupClass: a,
10674
10690
  onClickButton: i,
@@ -10704,7 +10720,7 @@ function Uu(e, t, n, o) {
10704
10720
  buttonHandleElement: s
10705
10721
  };
10706
10722
  }
10707
- function qu(e, t, n) {
10723
+ function Xu(e, t, n) {
10708
10724
  const o = b(e.popupMinWidth), {
10709
10725
  hidePopup: a,
10710
10726
  popoverRef: i
@@ -10733,15 +10749,15 @@ const Ku = /* @__PURE__ */ Ve({
10733
10749
  props: zo,
10734
10750
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
10735
10751
  setup(e, t) {
10736
- const n = b(), o = b(e.customClass), a = b(e.modelValue), i = Lu(e, t, n, a), {
10752
+ const n = b(), o = b(e.customClass), a = b(e.modelValue), i = Wu(e, t, n, a), {
10737
10753
  shouldPopupContent: l,
10738
10754
  hidePopup: r,
10739
10755
  togglePopup: u
10740
- } = i, c = Au(e, t, n, i, a), d = b(""), s = Gu(e, t, a, d, i), {
10756
+ } = i, c = Hu(e, t, n, i, a), d = b(""), s = Lu(e, t, a, d, i), {
10741
10757
  hasFocusedTextBox: p,
10742
10758
  commitValue: w,
10743
10759
  inputGroupClass: g
10744
- } = s, _ = Hu(e, t, a, p, d, s), {
10760
+ } = s, _ = Gu(e, t, a, p, d, s), {
10745
10761
  onMouseEnterTextBox: x,
10746
10762
  onMouseLeaveTextBox: y
10747
10763
  } = _, m = R(() => {
@@ -10753,7 +10769,7 @@ const Ku = /* @__PURE__ */ Ve({
10753
10769
  return o.value && o.value.split(" ").reduce((T, B) => (T[B] = !0, T), f), f;
10754
10770
  });
10755
10771
  function h() {
10756
- return e.multiSelect && e.inputType === "tag" ? zu(e, a, s) : Wu(e, a, s);
10772
+ return e.multiSelect && e.inputType === "tag" ? Uu(e, a, s) : zu(e, a, s);
10757
10773
  }
10758
10774
  let F = h();
10759
10775
  ne([() => e.multiSelect, () => e.inputType], () => {
@@ -10762,7 +10778,7 @@ const Ku = /* @__PURE__ */ Ve({
10762
10778
  const {
10763
10779
  renderButtonGroup: S,
10764
10780
  buttonHandleElement: k
10765
- } = Uu(e, t, c, _), I = qu(e, t, i), v = {
10781
+ } = qu(e, t, c, _), I = Xu(e, t, i), v = {
10766
10782
  commitValue: w,
10767
10783
  elementRef: n,
10768
10784
  hidePopup: r,
@@ -10791,7 +10807,7 @@ const Ku = /* @__PURE__ */ Ve({
10791
10807
  onMouseleave: y
10792
10808
  }, [F(), S()])]), l.value && I()]);
10793
10809
  }
10794
- }), Xu = "https://json-schema.org/draft/2020-12/schema", Yu = "https://farris-design.gitee.io/grid-field-editor.schema.json", Ju = "grid-field-editor", Qu = "A Farris Data Grid Component", Zu = "object", ec = {
10810
+ }), Yu = "https://json-schema.org/draft/2020-12/schema", Ju = "https://farris-design.gitee.io/grid-field-editor.schema.json", Qu = "grid-field-editor", Zu = "A Farris Data Grid Component", ec = "object", tc = {
10795
10811
  id: {
10796
10812
  description: "The unique identifier for a Input Group",
10797
10813
  type: "string"
@@ -10811,17 +10827,17 @@ const Ku = /* @__PURE__ */ Ve({
10811
10827
  type: "Object",
10812
10828
  default: null
10813
10829
  }
10814
- }, tc = [
10830
+ }, nc = [
10815
10831
  "id",
10816
10832
  "type"
10817
- ], nc = {
10818
- $schema: Xu,
10819
- $id: Yu,
10820
- title: Ju,
10821
- description: Qu,
10822
- type: Zu,
10823
- properties: ec,
10824
- required: tc
10833
+ ], oc = {
10834
+ $schema: Yu,
10835
+ $id: Ju,
10836
+ title: Qu,
10837
+ description: Zu,
10838
+ type: ec,
10839
+ properties: tc,
10840
+ required: nc
10825
10841
  }, qo = {
10826
10842
  modelValue: { type: String, default: "" },
10827
10843
  /** 组件唯一标识 */
@@ -10831,13 +10847,13 @@ const Ku = /* @__PURE__ */ Ve({
10831
10847
  gridType: { Type: String, default: "data-grid-column" },
10832
10848
  /** 弹出选择窗口前,获取最新的表格数据 */
10833
10849
  getLatestGridData: { Type: Function }
10834
- }, oc = He(qo, nc, Jn, eo), ic = /* @__PURE__ */ new Map([
10850
+ }, ic = He(qo, oc, Jn, eo), ac = /* @__PURE__ */ new Map([
10835
10851
  ["appearance", ct]
10836
10852
  ]);
10837
- function ac(e, t, n) {
10853
+ function lc(e, t, n) {
10838
10854
  return t;
10839
10855
  }
10840
- const lc = "transfer", rc = "A Farris Component", sc = "object", uc = {
10856
+ const rc = "transfer", sc = "A Farris Component", uc = "object", cc = {
10841
10857
  basic: {
10842
10858
  description: "Basic Infomation",
10843
10859
  title: "基本信息",
@@ -10859,12 +10875,12 @@ const lc = "transfer", rc = "A Farris Component", sc = "object", uc = {
10859
10875
  }
10860
10876
  }
10861
10877
  }
10862
- }, cc = {
10863
- title: lc,
10864
- description: rc,
10865
- type: sc,
10866
- categories: uc
10867
- }, dc = "https://json-schema.org/draft/2020-12/schema", pc = "https://farris-design.gitee.io/transfer.schema.json", fc = "transfer", mc = "A Farris Component", gc = "object", hc = {
10878
+ }, dc = {
10879
+ title: rc,
10880
+ description: sc,
10881
+ type: uc,
10882
+ categories: cc
10883
+ }, pc = "https://json-schema.org/draft/2020-12/schema", fc = "https://farris-design.gitee.io/transfer.schema.json", mc = "transfer", gc = "A Farris Component", hc = "object", vc = {
10868
10884
  id: {
10869
10885
  description: "The unique identifier for transfer",
10870
10886
  type: "string"
@@ -10926,18 +10942,18 @@ const lc = "transfer", rc = "A Farris Component", sc = "object", uc = {
10926
10942
  type: "boolean",
10927
10943
  default: !0
10928
10944
  }
10929
- }, vc = [
10945
+ }, yc = [
10930
10946
  "id",
10931
10947
  "type"
10932
- ], yc = {
10933
- $schema: dc,
10934
- $id: pc,
10935
- title: fc,
10936
- description: mc,
10937
- type: gc,
10938
- properties: hc,
10939
- required: vc
10940
- }, Ko = {
10948
+ ], bc = {
10949
+ $schema: pc,
10950
+ $id: fc,
10951
+ title: mc,
10952
+ description: gc,
10953
+ type: hc,
10954
+ properties: vc,
10955
+ required: yc
10956
+ }, Xo = {
10941
10957
  dataSource: {
10942
10958
  type: Array,
10943
10959
  default: []
@@ -10950,14 +10966,14 @@ const lc = "transfer", rc = "A Farris Component", sc = "object", uc = {
10950
10966
  selections: { type: Array, default: [] },
10951
10967
  selectionValues: { type: Array, default: [] }
10952
10968
  };
10953
- He(Ko, yc, ic, ac, cc);
10954
- const bc = /* @__PURE__ */ new Map([
10969
+ He(Xo, bc, ac, lc, dc);
10970
+ const Cc = /* @__PURE__ */ new Map([
10955
10971
  ["appearance", ct]
10956
10972
  ]);
10957
- function Cc(e, t, n) {
10973
+ function wc(e, t, n) {
10958
10974
  return t;
10959
10975
  }
10960
- const wc = "https://json-schema.org/draft/2020-12/schema", Sc = "https://farris-design.gitee.io/list-view.schema.json", xc = "list-view", _c = "A Farris Component", Fc = "object", kc = {
10976
+ const Sc = "https://json-schema.org/draft/2020-12/schema", xc = "https://farris-design.gitee.io/list-view.schema.json", _c = "list-view", Fc = "A Farris Component", kc = "object", Ic = {
10961
10977
  id: {
10962
10978
  description: "The unique identifier for list-view",
10963
10979
  type: "string"
@@ -11019,18 +11035,18 @@ const wc = "https://json-schema.org/draft/2020-12/schema", Sc = "https://farris-
11019
11035
  type: "boolean",
11020
11036
  default: !0
11021
11037
  }
11022
- }, Ic = [
11038
+ }, Tc = [
11023
11039
  "id",
11024
11040
  "type"
11025
- ], Tc = {
11026
- $schema: wc,
11027
- $id: Sc,
11028
- title: xc,
11029
- description: _c,
11030
- type: Fc,
11031
- properties: kc,
11032
- required: Ic
11033
- }, Mc = "list-view", Bc = "A Farris Component", Oc = "object", Ec = {
11041
+ ], Mc = {
11042
+ $schema: Sc,
11043
+ $id: xc,
11044
+ title: _c,
11045
+ description: Fc,
11046
+ type: kc,
11047
+ properties: Ic,
11048
+ required: Tc
11049
+ }, Bc = "list-view", Oc = "A Farris Component", Ec = "object", Vc = {
11034
11050
  basic: {
11035
11051
  description: "Basic Infomation",
11036
11052
  title: "基本信息",
@@ -11052,12 +11068,12 @@ const wc = "https://json-schema.org/draft/2020-12/schema", Sc = "https://farris-
11052
11068
  }
11053
11069
  }
11054
11070
  }
11055
- }, Vc = {
11056
- title: Mc,
11057
- description: Bc,
11058
- type: Oc,
11059
- categories: Ec
11060
- }, Xo = {
11071
+ }, Pc = {
11072
+ title: Bc,
11073
+ description: Oc,
11074
+ type: Ec,
11075
+ categories: Vc
11076
+ }, Ko = {
11061
11077
  /** 列集合 */
11062
11078
  columns: {
11063
11079
  type: Array,
@@ -11099,8 +11115,8 @@ const wc = "https://json-schema.org/draft/2020-12/schema", Sc = "https://farris-
11099
11115
  // 搜索启用高亮
11100
11116
  enableHighlightSearch: { type: Boolean, default: !0 }
11101
11117
  };
11102
- He(Xo, Tc, bc, Cc, Vc);
11103
- function Pc(e, t) {
11118
+ He(Ko, Mc, Cc, wc, Pc);
11119
+ function Rc(e, t) {
11104
11120
  function n(i) {
11105
11121
  const l = [];
11106
11122
  let r = i.nextNode();
@@ -11181,7 +11197,7 @@ function hn(e, t, n, o, a, i, l, r, u, c) {
11181
11197
  renderItem: I
11182
11198
  };
11183
11199
  }
11184
- function Rc(e, t, n, o, a, i, l, r, u, c) {
11200
+ function $c(e, t, n, o, a, i, l, r, u, c) {
11185
11201
  const d = b(e.multiSelect), s = b(e.disableField), {
11186
11202
  onMouseenterItem: p,
11187
11203
  onMouseoverItem: w,
@@ -11228,7 +11244,7 @@ function Rc(e, t, n, o, a, i, l, r, u, c) {
11228
11244
  renderItem: F
11229
11245
  };
11230
11246
  }
11231
- function $c(e, t, n, o, a, i, l, r, u, c) {
11247
+ function Dc(e, t, n, o, a, i, l, r, u, c) {
11232
11248
  const d = b(e.multiSelect), s = b(e.disableField), {
11233
11249
  onMouseenterItem: p,
11234
11250
  onMouseoverItem: w,
@@ -11300,7 +11316,7 @@ function $c(e, t, n, o, a, i, l, r, u, c) {
11300
11316
  renderItem: O
11301
11317
  };
11302
11318
  }
11303
- function Dc(e, t, n, o, a, i, l, r, u, c) {
11319
+ function Nc(e, t, n, o, a, i, l, r, u, c) {
11304
11320
  var _;
11305
11321
  const d = b(((_ = e.group) == null ? void 0 : _.groupFields) || []), {
11306
11322
  collpaseGroupIconClass: s
@@ -11326,7 +11342,7 @@ function Dc(e, t, n, o, a, i, l, r, u, c) {
11326
11342
  renderItem: g
11327
11343
  };
11328
11344
  }
11329
- function Nc() {
11345
+ function jc() {
11330
11346
  const e = b(-1), t = b(""), n = b(-1), o = b(!1);
11331
11347
  function a(c, d, s) {
11332
11348
  n.value = s;
@@ -11354,7 +11370,7 @@ function Nc() {
11354
11370
  suspendHover: r
11355
11371
  };
11356
11372
  }
11357
- function jc(e, t, n, o) {
11373
+ function Ac(e, t, n, o) {
11358
11374
  const a = b(e.idField), { dataView: i } = n, l = b(-1), r = b(!1), { activeIndex: u, focusedItemId: c, hoverIndex: d, resumeHover: s, suspendHover: p } = o;
11359
11375
  function w(y, m, h) {
11360
11376
  y.stopPropagation(), p(), m && setTimeout(() => {
@@ -11383,7 +11399,7 @@ function jc(e, t, n, o) {
11383
11399
  isDragging: r
11384
11400
  };
11385
11401
  }
11386
- function Ac(e, t, n) {
11402
+ function Hc(e, t, n) {
11387
11403
  const { dataView: o } = n;
11388
11404
  function a(i) {
11389
11405
  if (i > -1 && i < o.value.length) {
@@ -11393,7 +11409,7 @@ function Ac(e, t, n) {
11393
11409
  }
11394
11410
  return { removeItem: a };
11395
11411
  }
11396
- function Hc(e, t, n, o, a, i) {
11412
+ function Gc(e, t, n, o, a, i) {
11397
11413
  const l = b(e.idField), r = b(e.disableField), u = b(e.draggable), c = b(e.itemClass), d = b(e.selection.multiSelect ?? !1), s = b(e.selection.multiSelectMode), { isDragging: p } = o, { activeIndex: w, focusedItemId: g, hoverIndex: _ } = a, { clearSelection: x, getSelectedItems: y, toggleSelectItem: m } = i, h = b(y());
11398
11414
  function F(B, O) {
11399
11415
  const P = {
@@ -11438,21 +11454,21 @@ function Hc(e, t, n, o, a, i) {
11438
11454
  onClickItem: T
11439
11455
  };
11440
11456
  }
11441
- function Gc(e, t, n, o, a, i, l) {
11442
- const r = b(e.view), u = b(e.view === "CardView"), c = b({}), d = b("暂无数据"), s = Nc(), p = jc(e, t, o, s), w = Ac(e, t, o), g = Hc(e, t, n, p, s, i), _ = R(() => ({
11457
+ function Lc(e, t, n, o, a, i, l) {
11458
+ const r = b(e.view), u = b(e.view === "CardView"), c = b({}), d = b("暂无数据"), s = jc(), p = Ac(e, t, o, s), w = Hc(e, t, o), g = Gc(e, t, n, p, s, i), _ = R(() => ({
11443
11459
  "f-list-view-group": !0,
11444
11460
  "d-flex": u.value,
11445
11461
  "flex-wrap": u.value
11446
11462
  })), x = R(() => !!n.value && n.value.length > 0), y = R(() => n.value.length === 0);
11447
11463
  R(() => y.value && !t.slots.empty);
11448
11464
  function m() {
11449
- return r.value === "SingleView" ? hn : r.value === "DraggableView" ? $c : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? Rc : hn;
11465
+ return r.value === "SingleView" ? hn : r.value === "DraggableView" ? Dc : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? $c : hn;
11450
11466
  }
11451
11467
  const h = m(), {
11452
11468
  renderItem: F
11453
11469
  } = h(e, t, n, p, a, s, g, i, w, l), {
11454
11470
  renderItem: S
11455
- } = Dc(e, t, n, p, a, s, g, i, w, l), k = [F, S];
11471
+ } = Nc(e, t, n, p, a, s, g, i, w, l), k = [F, S];
11456
11472
  function I() {
11457
11473
  return n.value.filter((T) => T.visible !== !1).map((T, B) => k[T.type](T, B, c));
11458
11474
  }
@@ -11473,7 +11489,7 @@ function Gc(e, t, n, o, a, i, l) {
11473
11489
  renderListArea: f
11474
11490
  };
11475
11491
  }
11476
- function Lc(e, t, n) {
11492
+ function Wc(e, t, n) {
11477
11493
  function o() {
11478
11494
  return t.slots.header && C("div", {
11479
11495
  class: "f-list-view-header"
@@ -11538,10 +11554,10 @@ function vn(e, t, n) {
11538
11554
  }
11539
11555
  const yn = /* @__PURE__ */ Ve({
11540
11556
  name: "FListView",
11541
- props: Xo,
11557
+ props: Ko,
11542
11558
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
11543
11559
  setup(e, t) {
11544
- const n = b(), o = b(!0), a = b(!1), i = b([]), l = 0, r = b(e.columns), u = Dt(e), c = jt(e), d = Nt(e, u), s = At(e), p = Ht(e, /* @__PURE__ */ new Map(), c, u, s), w = Gt(e, p, u, i, t), g = Pc(e, n), _ = R(() => p.dataView.value.length), x = Lt(e, t, u), y = Wt(), m = zt(e, {}, y), h = Ut(e, x, c, u, y, m), F = En(e, u, m, h), S = Vn(e, u, m, h), k = qt(e, r, p, _, l, h, F, S), {
11560
+ const n = b(), o = b(!0), a = b(!1), i = b([]), l = 0, r = b(e.columns), u = Dt(e), c = jt(e), d = Nt(e, u), s = At(e), p = Ht(e, /* @__PURE__ */ new Map(), c, u, s), w = Gt(e, p, u, i, t), g = Rc(e, n), _ = R(() => p.dataView.value.length), x = Lt(e, t, u), y = Wt(), m = zt(e, {}, y), h = Ut(e, x, c, u, y, m), F = En(e, u, m, h), S = Vn(e, u, m, h), k = qt(e, r, p, _, l, h, F, S), {
11545
11561
  getVisualData: I
11546
11562
  } = k;
11547
11563
  i.value = I(0, _.value + l - 1);
@@ -11553,13 +11569,13 @@ const yn = /* @__PURE__ */ Ve({
11553
11569
  return e.size !== "default" && (E[`${e.size}-item`] = !0), E;
11554
11570
  }), f = R(() => !!t.slots.footer || o.value);
11555
11571
  function T() {
11556
- return e.header === "SearchBar" ? vn : e.header === "ContentHeader" ? Lc : vn;
11572
+ return e.header === "SearchBar" ? vn : e.header === "ContentHeader" ? Wc : vn;
11557
11573
  }
11558
11574
  const B = T(), {
11559
11575
  renderHeader: O
11560
11576
  } = B(e, t, g), {
11561
11577
  renderListArea: P
11562
- } = Gc(e, t, i, p, d, w, k);
11578
+ } = Lc(e, t, i, p, d, w, k);
11563
11579
  function M(E) {
11564
11580
  g.search(E);
11565
11581
  }
@@ -11589,9 +11605,9 @@ const yn = /* @__PURE__ */ Ve({
11589
11605
  class: "f-list-view-footer"
11590
11606
  }, [t.slots.footer && t.slots.footer()])]);
11591
11607
  }
11592
- }), Wc = /* @__PURE__ */ Ve({
11608
+ }), zc = /* @__PURE__ */ Ve({
11593
11609
  name: "FTransfer",
11594
- props: Ko,
11610
+ props: Xo,
11595
11611
  emits: ["change", "activeChange"],
11596
11612
  setup(e, t) {
11597
11613
  const n = b(e.identifyField), o = b("已选:"), a = b("项数据"), i = b(e.displayType), l = b(!1), r = b(e.dataSource), u = b(e.selections || []), c = R(() => u.value.map((f) => f[n.value])), d = /* @__PURE__ */ new Map(), s = b();
@@ -11701,7 +11717,7 @@ const yn = /* @__PURE__ */ Ve({
11701
11717
  style: "height:480px"
11702
11718
  }, [m(), I()]);
11703
11719
  }
11704
- }), zc = /* @__PURE__ */ Ve({
11720
+ }), Uc = /* @__PURE__ */ Ve({
11705
11721
  name: "FGridFieldEditor",
11706
11722
  props: qo,
11707
11723
  emits: ["change"],
@@ -11789,7 +11805,7 @@ const yn = /* @__PURE__ */ Ve({
11789
11805
  }, {
11790
11806
  default: () => [C("div", {
11791
11807
  class: "f-utils-absolute-all"
11792
- }, [C(Wc, {
11808
+ }, [C(zc, {
11793
11809
  selections: u.value,
11794
11810
  "data-source": c.value,
11795
11811
  class: "mx-2",
@@ -11797,11 +11813,11 @@ const yn = /* @__PURE__ */ Ve({
11797
11813
  }, null)])]
11798
11814
  });
11799
11815
  }
11800
- }), Uc = "https://json-schema.org/draft/2020-12/schema", qc = "https://farris-design.gitee.io/data-grid-column.schema.json", Kc = "data-grid-column", Xc = "A Farris data-grid-column Component", Yc = "object", Jc = {
11816
+ }), qc = "https://json-schema.org/draft/2020-12/schema", Xc = "https://farris-design.gitee.io/data-grid-column.schema.json", Kc = "data-grid-column", Yc = "A Farris data-grid-column Component", Jc = "object", Qc = {
11801
11817
  id: {
11802
11818
  description: "The unique identifier for a data-grid-column",
11803
11819
  type: "string",
11804
- default: "col"
11820
+ default: ""
11805
11821
  },
11806
11822
  type: {
11807
11823
  description: "The type string of data-grid-column component",
@@ -11922,14 +11938,18 @@ const yn = /* @__PURE__ */ Ve({
11922
11938
  type: "number",
11923
11939
  default: 120
11924
11940
  }
11925
- }, Qc = {
11926
- $schema: Uc,
11927
- $id: qc,
11941
+ }, Zc = [
11942
+ "id",
11943
+ "type"
11944
+ ], ed = {
11945
+ $schema: qc,
11946
+ $id: Xc,
11928
11947
  title: Kc,
11929
- description: Xc,
11930
- type: Yc,
11931
- properties: Jc
11932
- }, Zc = "https://json-schema.org/draft/2020-12/schema", ed = "https://farris-design.gitee.io/data-grid-column.schema.json", td = "tree-grid-column", nd = "A Farris data-grid-column Component", od = "object", id = {
11948
+ description: Yc,
11949
+ type: Jc,
11950
+ properties: Qc,
11951
+ required: Zc
11952
+ }, td = "https://json-schema.org/draft/2020-12/schema", nd = "https://farris-design.gitee.io/data-grid-column.schema.json", od = "tree-grid-column", id = "A Farris data-grid-column Component", ad = "object", ld = {
11933
11953
  id: {
11934
11954
  description: "The unique identifier for a data-grid-column",
11935
11955
  type: "string"
@@ -12050,13 +12070,17 @@ const yn = /* @__PURE__ */ Ve({
12050
12070
  description: "",
12051
12071
  type: "number"
12052
12072
  }
12053
- }, ad = {
12054
- $schema: Zc,
12055
- $id: ed,
12056
- title: td,
12057
- description: nd,
12058
- type: od,
12059
- properties: id
12073
+ }, rd = [
12074
+ "id",
12075
+ "type"
12076
+ ], sd = {
12077
+ $schema: td,
12078
+ $id: nd,
12079
+ title: od,
12080
+ description: id,
12081
+ type: ad,
12082
+ properties: ld,
12083
+ required: rd
12060
12084
  }, on = {
12061
12085
  id: { type: String, default: "" },
12062
12086
  type: { type: String, default: "" },
@@ -12119,8 +12143,8 @@ const yn = /* @__PURE__ */ Ve({
12119
12143
  formatter: { type: Function, default: () => {
12120
12144
  } },
12121
12145
  componentId: { type: String, default: "" }
12122
- }, ld = He(on, Qc, Qn, to), rd = He(on, ad, Qn, to);
12123
- class sd extends We {
12146
+ }, ud = He(on, ed, Qn, to), cd = He(on, sd, Qn, to);
12147
+ class dd extends We {
12124
12148
  constructor(t, n) {
12125
12149
  super(t, n);
12126
12150
  }
@@ -12155,7 +12179,7 @@ class sd extends We {
12155
12179
  };
12156
12180
  }
12157
12181
  }
12158
- class ud extends We {
12182
+ class pd extends We {
12159
12183
  constructor(t, n) {
12160
12184
  super(t, n);
12161
12185
  }
@@ -12208,7 +12232,7 @@ class ud extends We {
12208
12232
  }, n;
12209
12233
  }
12210
12234
  }
12211
- class cd extends We {
12235
+ class fd extends We {
12212
12236
  constructor(t, n) {
12213
12237
  super(t, n);
12214
12238
  }
@@ -12233,7 +12257,7 @@ class cd extends We {
12233
12257
  });
12234
12258
  }
12235
12259
  }
12236
- class dd extends We {
12260
+ class md extends We {
12237
12261
  constructor(t, n) {
12238
12262
  super(t, n);
12239
12263
  }
@@ -12298,7 +12322,7 @@ class dd extends We {
12298
12322
  }, n;
12299
12323
  }
12300
12324
  }
12301
- class pd extends We {
12325
+ class gd extends We {
12302
12326
  constructor(t, n) {
12303
12327
  super(t, n);
12304
12328
  }
@@ -12317,7 +12341,7 @@ class pd extends We {
12317
12341
  });
12318
12342
  }
12319
12343
  }
12320
- class fd extends We {
12344
+ class hd extends We {
12321
12345
  constructor(t, n) {
12322
12346
  super(t, n);
12323
12347
  }
@@ -12400,7 +12424,7 @@ class fd extends We {
12400
12424
  });
12401
12425
  }
12402
12426
  }
12403
- const md = "https://json-schema.org/draft/2020-12/schema", gd = "https://farris-design.gitee.io/field-selector.schema.json", hd = "field-selector", vd = "A Farris Input Component", yd = "object", bd = {
12427
+ const vd = "https://json-schema.org/draft/2020-12/schema", yd = "https://farris-design.gitee.io/field-selector.schema.json", bd = "field-selector", Cd = "A Farris Input Component", wd = "object", Sd = {
12404
12428
  disabled: {
12405
12429
  description: "",
12406
12430
  type: "boolean",
@@ -12491,24 +12515,24 @@ const md = "https://json-schema.org/draft/2020-12/schema", gd = "https://farris-
12491
12515
  type: "object",
12492
12516
  default: null
12493
12517
  }
12494
- }, Cd = {
12495
- $schema: md,
12496
- $id: gd,
12497
- title: hd,
12498
- description: vd,
12499
- type: yd,
12500
- properties: bd
12501
- }, wd = [
12518
+ }, xd = {
12519
+ $schema: vd,
12520
+ $id: yd,
12521
+ title: bd,
12522
+ description: Cd,
12523
+ type: wd,
12524
+ properties: Sd
12525
+ }, _d = [
12502
12526
  { field: "code", title: "绑定字段" },
12503
12527
  { field: "name", title: "名称" },
12504
12528
  { field: "fieldType", title: "字段类型" }
12505
- ], Bt = Symbol("Field_Selector Component Repository Service Token"), Sd = {
12529
+ ], Bt = Symbol("Field_Selector Component Repository Service Token"), Fd = {
12506
12530
  disabled: { type: Boolean, default: !1 },
12507
12531
  readonly: { type: Boolean, default: !1 },
12508
12532
  modelValue: { type: [String, Array], default: null },
12509
12533
  data: { type: Array, default: [] },
12510
12534
  idField: { type: String, default: "id" },
12511
- columns: { type: Array, default: wd },
12535
+ columns: { type: Array, default: _d },
12512
12536
  title: { type: String, default: "字段选择器" },
12513
12537
  modalWidth: { type: Number, default: 800 },
12514
12538
  modalHeight: { type: Number, default: 600 },
@@ -12526,12 +12550,12 @@ const md = "https://json-schema.org/draft/2020-12/schema", gd = "https://farris-
12526
12550
  onFieldSelected: { type: Function, default: null },
12527
12551
  repositoryToken: { type: Symbol, default: null }
12528
12552
  };
12529
- He(Sd, Cd);
12553
+ He(Fd, xd);
12530
12554
  const Yo = /* @__PURE__ */ new Map([
12531
12555
  ["appearance", ct],
12532
12556
  ["column", "columnOption"]
12533
12557
  ]);
12534
- function xd(e, t, n) {
12558
+ function kd(e, t, n) {
12535
12559
  var s;
12536
12560
  const o = n.parentComponentInstance, a = o.schema.type, i = String(((s = o.schema.appearance) == null ? void 0 : s.class) || "").split(" "), l = a === "section" || a === "tab-page", r = i.includes("f-page-content-nav"), u = i.includes("f-page-main"), c = e.getSchemaByType("component");
12537
12561
  c.id = `${t.id}-component`, c.componentType = "data-grid";
@@ -12540,23 +12564,23 @@ function xd(e, t, n) {
12540
12564
  class: d
12541
12565
  }, c.contents = [t], c;
12542
12566
  }
12543
- function _d(e, t, n) {
12567
+ function Id(e, t, n) {
12544
12568
  const o = n.parentComponentInstance, a = String(o.schema.appearance.class || "").split(" "), i = a.includes("f-page-content-nav"), l = a.includes("f-page-main"), r = e.getSchemaByType("section");
12545
12569
  r.id = `${t.id}-section`;
12546
12570
  let u = "";
12547
12571
  return u += i ? "f-section-in-nav " : "", u += l ? "f-section-in-managelist " : "", u += "f-section-grid", r.appearance = { class: u }, r.contents = [t], r;
12548
12572
  }
12549
- function Fd(e, t, n) {
12573
+ function Td(e, t, n) {
12550
12574
  const o = e.getSchemaByType("content-container");
12551
12575
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
12552
12576
  }
12553
12577
  function Jo(e, t, n) {
12554
12578
  const a = n.parentComponentInstance.schema.type, i = a === "section" || a === "tab-page";
12555
12579
  t.appearance = { class: "f-component-grid" };
12556
- const r = (i ? Fd : _d)(e, t, n);
12557
- return xd(e, r, n);
12580
+ const r = (i ? Td : Id)(e, t, n);
12581
+ return kd(e, r, n);
12558
12582
  }
12559
- const kd = "https://json-schema.org/draft/2020-12/schema", Id = "https://farris-design.gitee.io/tree-grid.schema.json", Td = "tree-grid", Md = "A Farris Data Grid Component", Bd = "object", Od = {
12583
+ const Md = "https://json-schema.org/draft/2020-12/schema", Bd = "https://farris-design.gitee.io/tree-grid.schema.json", Od = "tree-grid", Ed = "A Farris Data Grid Component", Vd = "object", Pd = {
12560
12584
  id: {
12561
12585
  description: "The unique identifier for a Input Group",
12562
12586
  type: "string"
@@ -13329,17 +13353,18 @@ const kd = "https://json-schema.org/draft/2020-12/schema", Id = "https://farris-
13329
13353
  type: "string",
13330
13354
  default: ""
13331
13355
  }
13332
- }, Ed = [
13356
+ }, Rd = [
13333
13357
  "id",
13334
- "type"
13358
+ "type",
13359
+ "columns"
13335
13360
  ], Qo = {
13336
- $schema: kd,
13337
- $id: Id,
13338
- title: Td,
13339
- description: Md,
13340
- type: Bd,
13341
- properties: Od,
13342
- required: Ed
13361
+ $schema: Md,
13362
+ $id: Bd,
13363
+ title: Od,
13364
+ description: Ed,
13365
+ type: Vd,
13366
+ properties: Pd,
13367
+ required: Rd
13343
13368
  }, an = {
13344
13369
  /** 列集合 */
13345
13370
  columns: { type: Array, default: [] },
@@ -13454,7 +13479,7 @@ const kd = "https://json-schema.org/draft/2020-12/schema", Id = "https://farris-
13454
13479
  autoCheckChildren: { type: Boolean, default: !1 },
13455
13480
  /** 显示设置按钮 */
13456
13481
  showSetting: { type: Boolean, default: !1 }
13457
- }, Vd = He(an, Qo, Yo, Jo), Pd = el(), Rd = Qa(), Zo = Object.assign({}, an, { componentId: { type: String, default: "" } }), $d = He(Zo, Qo, Yo, Jo);
13482
+ }, $d = He(an, Qo, Yo, Jo), Dd = tl(), Nd = Za(), Zo = Object.assign({}, an, { componentId: { type: String, default: "" } }), jd = He(Zo, Qo, Yo, Jo);
13458
13483
  function ei(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _) {
13459
13484
  const {
13460
13485
  calculateCellPositionInRow: x
@@ -13468,7 +13493,7 @@ function ei(e, t, n, o, a, i, l, r, u, c, d, s, p, w, g, _) {
13468
13493
  rightFixedGridDataStyle: k
13469
13494
  } = w, {
13470
13495
  renderDataRow: I
13471
- } = xl(e, t, y, _, r, u, c, d, s, p), v = [I];
13496
+ } = _l(e, t, y, _, r, u, c, d, s, p), v = [I];
13472
13497
  function f(M, V) {
13473
13498
  const $ = x(M);
13474
13499
  return _.value.filter((E) => E.visible !== !1).map((E) => v[E.type](E, $, V, M));
@@ -13530,11 +13555,11 @@ const St = /* @__PURE__ */ Ve({
13530
13555
  } = B;
13531
13556
  P(h, O);
13532
13557
  const $ = On(e, M), E = Lt(e, t, g), D = Wt(), A = zt(e, E, D), j = Ut(e, E, y, g, D, A), H = qt(e, f, h, k, 0, j), {
13533
- getVisualData: K
13558
+ getVisualData: X
13534
13559
  } = H, ie = Pn(e, M), me = Rn(e, F), {
13535
13560
  sidebarWidth: Ie
13536
13561
  } = me;
13537
- c.value = K(0, k.value + 0 - 1);
13562
+ c.value = X(0, k.value + 0 - 1);
13538
13563
  const ge = $n(e, h, c, M, H, k, 0, Ie), {
13539
13564
  onWheel: xe,
13540
13565
  dataGridWidth: _e,
@@ -13555,7 +13580,7 @@ const St = /* @__PURE__ */ Ve({
13555
13580
  renderDataArea: be
13556
13581
  } = ei(e, t, l, r, u, ie, B, h, E, y, re, F, S, ge, H, c), {
13557
13582
  renderGridHeader: N,
13558
- renderGridColumnResizeOverlay: X
13583
+ renderGridColumnResizeOverlay: K
13559
13584
  } = Gn(e, i, r, u, B, h, ae, Se, x, ce, W, $, F, me, O, ge, pe, c), {
13560
13585
  renderDataGridSidebar: le
13561
13586
  } = Ln(e, re, F, me, ge), {
@@ -13583,17 +13608,17 @@ const St = /* @__PURE__ */ Ve({
13583
13608
  }
13584
13609
  function Te() {
13585
13610
  const ue = fe();
13586
- h.insertNewDataItem(ue), c.value = K(0, k.value + 0 - 1);
13611
+ h.insertNewDataItem(ue), c.value = X(0, k.value + 0 - 1);
13587
13612
  }
13588
13613
  function Pe() {
13589
13614
  const ue = fe();
13590
- h.insertNewChildDataItem(ue), c.value = K(0, k.value + 0 - 1);
13615
+ h.insertNewChildDataItem(ue), c.value = X(0, k.value + 0 - 1);
13591
13616
  }
13592
13617
  function je() {
13593
13618
  const ue = fe(), De = S.getNextSelectableHierarchyItemId(ue);
13594
- h.removeHierarchyDataItem(ue), c.value = K(0, k.value + 0 - 1), De && F.selectItemById(De);
13619
+ h.removeHierarchyDataItem(ue), c.value = X(0, k.value + 0 - 1), De && F.selectItemById(De);
13595
13620
  }
13596
- function qe(ue) {
13621
+ function Xe(ue) {
13597
13622
  E.onEditingRow(ue);
13598
13623
  }
13599
13624
  function Ke(ue) {
@@ -13606,7 +13631,7 @@ const St = /* @__PURE__ */ Ve({
13606
13631
  ue && (f.value = ue, T(f), V(f.value), P(h, O), U());
13607
13632
  }
13608
13633
  function rt(ue) {
13609
- ue && (ye(), h.load(ue), c.value = K(0, k.value + 0 - 1));
13634
+ ue && (ye(), h.load(ue), c.value = X(0, k.value + 0 - 1));
13610
13635
  }
13611
13636
  function Ze(ue) {
13612
13637
  F.selectItemById(ue);
@@ -13624,7 +13649,7 @@ const St = /* @__PURE__ */ Ve({
13624
13649
  addNewDataItem: Te,
13625
13650
  addNewChildDataItem: Pe,
13626
13651
  removeDataItem: je,
13627
- editDataItem: qe,
13652
+ editDataItem: Xe,
13628
13653
  acceptDataItem: Ke,
13629
13654
  cancelDataItem: at,
13630
13655
  updateColumns: lt,
@@ -13646,10 +13671,10 @@ const St = /* @__PURE__ */ Ve({
13646
13671
  onMouseleave: () => {
13647
13672
  d.value = !1;
13648
13673
  }
13649
- }, [le(c), be(), Fe(), q()]), X(), e.disabled && z()]);
13674
+ }, [le(c), be(), Fe(), q()]), K(), e.disabled && z()]);
13650
13675
  }
13651
13676
  });
13652
- class Dd extends kt {
13677
+ class Ad extends kt {
13653
13678
  constructor(t, n) {
13654
13679
  super(t, n);
13655
13680
  }
@@ -13723,19 +13748,6 @@ class Dd extends kt {
13723
13748
  type: "boolean",
13724
13749
  description: "是否显示设置按钮"
13725
13750
  }
13726
- // useBlankWhenDataIsEmpty: {
13727
- // title: '空数据表格显示空白行',
13728
- // description: '表格没有数据时是否显示空白行',
13729
- // type: 'boolean',
13730
- // refreshPanelAfterChanged: true
13731
- // },
13732
- // emptyDataHeight: {
13733
- // title: '空数据高度',
13734
- // type: 'number',
13735
- // description: '空数据行高度设置',
13736
- // min: 1,
13737
- // max: 1000
13738
- // },
13739
13751
  },
13740
13752
  setPropertyRelates(i, l) {
13741
13753
  switch (i && i.propertyID) {
@@ -13785,6 +13797,10 @@ class Dd extends kt {
13785
13797
  {
13786
13798
  label: "onSelectionChange",
13787
13799
  name: "行切换事件"
13800
+ },
13801
+ {
13802
+ label: "onClickRow",
13803
+ name: "行点击事件"
13788
13804
  }
13789
13805
  ], o = this, a = o.eventsEditorUtils.formProperties(t, o.viewModelId, n), i = {};
13790
13806
  i[o.viewModelId] = {
@@ -13807,7 +13823,7 @@ class Dd extends kt {
13807
13823
  };
13808
13824
  }
13809
13825
  }
13810
- function Nd(e, t) {
13826
+ function Hd(e, t) {
13811
13827
  const n = e.schema, o = b(!0), a = b(!0);
13812
13828
  function i(d) {
13813
13829
  return d && d.sourceType === "control" ? d.componentCategory === "input" : !1;
@@ -13822,7 +13838,7 @@ function Nd(e, t) {
13822
13838
  return !0;
13823
13839
  }
13824
13840
  function c(d) {
13825
- return new Dd(d, t).getPropertyConfig(n);
13841
+ return new Ad(d, t).getPropertyConfig(n);
13826
13842
  }
13827
13843
  return {
13828
13844
  canAccepts: i,
@@ -13834,15 +13850,15 @@ function Nd(e, t) {
13834
13850
  getPropsConfig: c
13835
13851
  };
13836
13852
  }
13837
- const jd = /* @__PURE__ */ Ve({
13853
+ const Gd = /* @__PURE__ */ Ve({
13838
13854
  name: "FTreeGridDesign",
13839
13855
  props: Zo,
13840
13856
  emits: [],
13841
13857
  setup(e, t) {
13842
13858
  var Te;
13843
- const n = b(), o = 0, a = 100, i = b(), l = b(), r = b(), u = b(), c = b([]), d = b(!1), s = b(((Te = e.rowOption) == null ? void 0 : Te.wrapContent) || !1), p = Le("designer-host-service"), w = Le("design-item-context"), g = Nd(w, p), _ = Zt(n, w, g);
13859
+ const n = b(), o = 0, a = 100, i = b(), l = b(), r = b(), u = b(), c = b([]), d = b(!1), s = b(((Te = e.rowOption) == null ? void 0 : Te.wrapContent) || !1), p = Le("designer-host-service"), w = Le("design-item-context"), g = Hd(w, p), _ = Zt(n, w, g);
13844
13860
  _.value.designerClass = "f-utils-fill-flex-column";
13845
- const x = $o(e), y = nn(e, x), m = tn(), h = Bo(e), F = Ho(e), S = To(e, /* @__PURE__ */ new Map(), h, x, F), k = No(e, S, x, c, t), I = Hs(e, c, x, k, t), v = R(() => Math.min(S.dataView.value.length, a)), {
13861
+ const x = $o(e), y = nn(e, x), m = tn(), h = Bo(e), F = Ho(e), S = To(e, /* @__PURE__ */ new Map(), h, x, F), k = No(e, S, x, c, t), I = Gs(e, c, x, k, t), v = R(() => Math.min(S.dataView.value.length, a)), {
13846
13862
  containerStyleObject: f
13847
13863
  } = lo(e), T = uo(e), B = b(e.columns), {
13848
13864
  applyCommands: O
@@ -13854,7 +13870,7 @@ const jd = /* @__PURE__ */ Ve({
13854
13870
  updateColumnRenderContext: E
13855
13871
  } = P;
13856
13872
  V(S, M);
13857
- const D = fo(e, $), A = Ro(e, t, x), j = Jt(), H = Vo(e, A, j), K = Po(e, A, h, x, j, H), ie = Eo(e, B, S, v, o, K), {
13873
+ const D = fo(e, $), A = Ro(e, t, x), j = Jt(), H = Vo(e, A, j), X = Po(e, A, h, x, j, H), ie = Eo(e, B, S, v, o, X), {
13858
13874
  getVisualData: me
13859
13875
  } = ie, Ie = Yt(e, $), ge = jo(e, k), {
13860
13876
  sidebarWidth: xe
@@ -13879,7 +13895,7 @@ const jd = /* @__PURE__ */ Ve({
13879
13895
  })), {
13880
13896
  renderDataArea: N
13881
13897
  } = ei(e, t, l, r, u, Ie, P, S, A, h, ae, k, I, _e, ie, c), {
13882
- renderGridHeader: X
13898
+ renderGridHeader: K
13883
13899
  } = Wo(w, e, i, r, u, P, S, he, re, m, Se, U, D, k, ge, M, _e, W, c, "tree-grid-column"), {
13884
13900
  renderDataGridSidebar: le
13885
13901
  } = io(e, ae, k, ge, _e), {
@@ -13901,14 +13917,14 @@ const jd = /* @__PURE__ */ Ve({
13901
13917
  });
13902
13918
  const oe = R(() => !c.value || !c.value.length), {
13903
13919
  renderEmpty: fe
13904
- } = Il(t);
13920
+ } = Tl(t);
13905
13921
  return t.expose(_.value), () => C("div", {
13906
13922
  ref: n,
13907
13923
  dragref: `${w.schema.id}-container`,
13908
13924
  class: ve.value,
13909
13925
  style: f.value,
13910
13926
  onWheel: de
13911
- }, [X(), oe.value && fe(), C("div", {
13927
+ }, [K(), oe.value && fe(), C("div", {
13912
13928
  ref: i,
13913
13929
  class: be.value,
13914
13930
  onMouseover: () => {
@@ -13921,10 +13937,10 @@ const jd = /* @__PURE__ */ Ve({
13921
13937
  }
13922
13938
  });
13923
13939
  St.register = (e, t, n, o) => {
13924
- e["tree-grid"] = St, t["tree-grid"] = Vd, o["tree-grid"] = { bindingResolver: Rd, selectionItemResolver: Pd };
13940
+ e["tree-grid"] = St, t["tree-grid"] = $d, o["tree-grid"] = { bindingResolver: Nd, selectionItemResolver: Dd };
13925
13941
  };
13926
13942
  St.registerDesigner = (e, t, n) => {
13927
- e["tree-grid"] = jd, t["tree-grid"] = $d;
13943
+ e["tree-grid"] = Gd, t["tree-grid"] = jd;
13928
13944
  };
13929
13945
  Ei(St);
13930
13946
  const ft = {
@@ -13932,17 +13948,17 @@ const ft = {
13932
13948
  convertTo: (e, t, n) => {
13933
13949
  e.editor[t] = n;
13934
13950
  }
13935
- }, Ad = {
13951
+ }, Ld = {
13936
13952
  convertFrom: (e, t) => e[t] == null ? !0 : e[t],
13937
13953
  convertTo: (e, t, n) => {
13938
13954
  e[t] = n;
13939
13955
  }
13940
13956
  };
13941
- function Hd(e) {
13957
+ function Wd(e) {
13942
13958
  let t = "form_group_" + Date.now();
13943
13959
  return e && (t = e.replaceAll("-", "_").replaceAll(".", "_")), "lookup." + t;
13944
13960
  }
13945
- const Gd = {
13961
+ const zd = {
13946
13962
  convertFrom: (e, t) => {
13947
13963
  var n;
13948
13964
  return (n = e.editor[t]) == null ? void 0 : n.displayName;
@@ -13952,10 +13968,10 @@ const Gd = {
13952
13968
  const o = n[0], { name: a, id: i, metadataContent: l } = o;
13953
13969
  e.editor.dataSource || (e.editor.dataSource = {}), e.editor.dataSource.displayName = a, e.editor.helpId = i;
13954
13970
  const { displayType: r, idField: u, textField: c } = l;
13955
- e.editor.displayType = r, e.editor.dataSource.idField = u, e.editor.textField = c, e.editor.dataSource.type = "ViewObject", e.editor.dataSource.uri || (e.editor.dataSource.uri = Hd(e.id));
13971
+ e.editor.displayType = r, e.editor.dataSource.idField = u, e.editor.textField = c, e.editor.dataSource.type = "ViewObject", e.editor.dataSource.uri || (e.editor.dataSource.uri = Wd(e.id));
13956
13972
  }
13957
13973
  }
13958
- }, Ld = {
13974
+ }, Ud = {
13959
13975
  convertFrom: (e, t) => {
13960
13976
  var n;
13961
13977
  return (n = e.editor.dataSource) == null ? void 0 : n.idField;
@@ -13966,7 +13982,7 @@ const Gd = {
13966
13982
  e.editor.dataSource.idField = o == null ? void 0 : o.bindingPath;
13967
13983
  }
13968
13984
  }
13969
- }, Wd = {
13985
+ }, qd = {
13970
13986
  convertFrom: (e, t) => {
13971
13987
  var n;
13972
13988
  return (n = e.editor) == null ? void 0 : n.textField;
@@ -13977,13 +13993,13 @@ const Gd = {
13977
13993
  e.editor.textField = o == null ? void 0 : o.bindingPath;
13978
13994
  }
13979
13995
  }
13980
- }, zd = {
13996
+ }, Xd = {
13981
13997
  convertFrom: (e, t) => e.editor.displayType ? e.editor.displayType.toUpperCase() : "LIST",
13982
13998
  convertTo: (e, t, n) => {
13983
13999
  e.editor.displayType = n;
13984
14000
  }
13985
- }, Ud = Symbol("schema_repository_token");
13986
- class qd extends We {
14001
+ }, Kd = Symbol("schema_repository_token");
14002
+ class Yd extends We {
13987
14003
  getPropertyConfig(t, n) {
13988
14004
  const o = this.getBasicProperties(t, n), a = this.getAppearanceConfig(), i = this.getBehaviorConfig(t), l = this.getLookupConfig(t.editor);
13989
14005
  return {
@@ -14024,7 +14040,7 @@ class qd extends We {
14024
14040
  description: "",
14025
14041
  title: "可见",
14026
14042
  type: "boolean",
14027
- $converter: Ad
14043
+ $converter: Ld
14028
14044
  },
14029
14045
  placeHolder: {
14030
14046
  visible: !1,
@@ -14070,7 +14086,7 @@ class qd extends We {
14070
14086
  },
14071
14087
  { id: "total", title: "全部", type: "List", dataSource: "Total" }
14072
14088
  ],
14073
- repositoryToken: Ud,
14089
+ repositoryToken: Kd,
14074
14090
  onSubmitModal: (n) => {
14075
14091
  if (n) {
14076
14092
  const o = this.formSchemaUtils.getFormMetadataBasicInfo();
@@ -14078,13 +14094,13 @@ class qd extends We {
14078
14094
  }
14079
14095
  }
14080
14096
  },
14081
- $converter: Gd
14097
+ $converter: zd
14082
14098
  },
14083
14099
  displayType: {
14084
14100
  description: "类型: 树列表、列表、双列表、左树右列表",
14085
14101
  title: "展示类型",
14086
14102
  type: "string",
14087
- $converter: zd,
14103
+ $converter: Xd,
14088
14104
  editor: {
14089
14105
  type: "combo-list",
14090
14106
  editable: !1,
@@ -14119,13 +14135,13 @@ class qd extends We {
14119
14135
  ],
14120
14136
  repositoryToken: Bt
14121
14137
  },
14122
- $converter: Ld
14138
+ $converter: Ud
14123
14139
  },
14124
14140
  textField: {
14125
14141
  description: "显示文本字段",
14126
14142
  title: "文本字段",
14127
14143
  type: "string",
14128
- $converter: Wd,
14144
+ $converter: qd,
14129
14145
  editor: {
14130
14146
  type: "field-selector",
14131
14147
  textField: "bindingPath",
@@ -14195,7 +14211,7 @@ class qd extends We {
14195
14211
  };
14196
14212
  }
14197
14213
  }
14198
- class Kd extends We {
14214
+ class Jd extends We {
14199
14215
  constructor(t, n) {
14200
14216
  super(t, n);
14201
14217
  }
@@ -14209,7 +14225,7 @@ class Kd extends We {
14209
14225
  });
14210
14226
  }
14211
14227
  }
14212
- class Xd extends We {
14228
+ class Qd extends We {
14213
14229
  constructor(t, n) {
14214
14230
  super(t, n);
14215
14231
  }
@@ -14268,7 +14284,7 @@ class Xd extends We {
14268
14284
  });
14269
14285
  }
14270
14286
  }
14271
- class Yd extends We {
14287
+ class Zd extends We {
14272
14288
  constructor(t, n) {
14273
14289
  super(t, n);
14274
14290
  }
@@ -14328,7 +14344,7 @@ class Yd extends We {
14328
14344
  }, n;
14329
14345
  }
14330
14346
  }
14331
- class Jd extends We {
14347
+ class ep extends We {
14332
14348
  constructor(t, n) {
14333
14349
  super(t, n);
14334
14350
  }
@@ -14384,7 +14400,7 @@ class Jd extends We {
14384
14400
  });
14385
14401
  }
14386
14402
  }
14387
- class Qd extends We {
14403
+ class tp extends We {
14388
14404
  constructor(t, n) {
14389
14405
  super(t, n);
14390
14406
  }
@@ -14424,7 +14440,7 @@ class Qd extends We {
14424
14440
  });
14425
14441
  }
14426
14442
  }
14427
- class Zd extends kt {
14443
+ class np extends kt {
14428
14444
  constructor(t, n) {
14429
14445
  super(t, n);
14430
14446
  }
@@ -14499,43 +14515,43 @@ class Zd extends kt {
14499
14515
  let i;
14500
14516
  switch (a) {
14501
14517
  case "avatar":
14502
- i = new sd(this.componentId, this.designerHostService);
14518
+ i = new dd(this.componentId, this.designerHostService);
14503
14519
  break;
14504
14520
  case "check-group":
14505
- i = new ud(this.componentId, this.designerHostService);
14521
+ i = new pd(this.componentId, this.designerHostService);
14506
14522
  break;
14507
14523
  case "check-box":
14508
- i = new cd(this.componentId, this.designerHostService);
14524
+ i = new fd(this.componentId, this.designerHostService);
14509
14525
  break;
14510
14526
  case "combo-list":
14511
- i = new dd(this.componentId, this.designerHostService);
14527
+ i = new md(this.componentId, this.designerHostService);
14512
14528
  break;
14513
14529
  case "date-picker":
14514
- i = new fd(this.componentId, this.designerHostService);
14530
+ i = new hd(this.componentId, this.designerHostService);
14515
14531
  break;
14516
14532
  case "lookup":
14517
- i = new qd(this.componentId, this.designerHostService);
14533
+ i = new Yd(this.componentId, this.designerHostService);
14518
14534
  break;
14519
14535
  case "number-range":
14520
- i = new Kd(this.componentId, this.designerHostService);
14536
+ i = new Jd(this.componentId, this.designerHostService);
14521
14537
  break;
14522
14538
  case "number-spinner":
14523
- i = new Xd(this.componentId, this.designerHostService);
14539
+ i = new Qd(this.componentId, this.designerHostService);
14524
14540
  break;
14525
14541
  case "radio-group":
14526
- i = new Yd(this.componentId, this.designerHostService);
14542
+ i = new Zd(this.componentId, this.designerHostService);
14527
14543
  break;
14528
14544
  case "switch":
14529
- i = new Jd(this.componentId, this.designerHostService);
14545
+ i = new ep(this.componentId, this.designerHostService);
14530
14546
  break;
14531
14547
  case "textarea":
14532
- i = new pd(this.componentId, this.designerHostService);
14548
+ i = new gd(this.componentId, this.designerHostService);
14533
14549
  break;
14534
14550
  case "time-picker":
14535
- i = new Qd(this.componentId, this.designerHostService);
14551
+ i = new tp(this.componentId, this.designerHostService);
14536
14552
  break;
14537
14553
  default:
14538
- i = new qr(this.componentId, this.designerHostService);
14554
+ i = new Xr(this.componentId, this.designerHostService);
14539
14555
  }
14540
14556
  this.setDesignViewModelField(t);
14541
14557
  const l = this;
@@ -14622,7 +14638,7 @@ class Zd extends kt {
14622
14638
  }));
14623
14639
  }
14624
14640
  }
14625
- function ep(e, t) {
14641
+ function op(e, t) {
14626
14642
  const n = e.schema, o = b(!0), a = b(!0);
14627
14643
  function i(s) {
14628
14644
  return !1;
@@ -14640,7 +14656,7 @@ function ep(e, t) {
14640
14656
  }
14641
14657
  function d(s) {
14642
14658
  var w;
14643
- return new Zd(s, t).getPropertyConfig(n, (w = e == null ? void 0 : e.parent) == null ? void 0 : w.schema);
14659
+ return new np(s, t).getPropertyConfig(n, (w = e == null ? void 0 : e.parent) == null ? void 0 : w.schema);
14644
14660
  }
14645
14661
  return {
14646
14662
  canAccepts: i,
@@ -14658,7 +14674,7 @@ const bn = /* @__PURE__ */ Ve({
14658
14674
  props: on,
14659
14675
  emits: [],
14660
14676
  setup(e, t) {
14661
- const n = b(), o = Le("designer-host-service"), a = Le("design-item-context"), i = ep(a, o), l = Zt(n, a, i);
14677
+ const n = b(), o = Le("designer-host-service"), a = Le("design-item-context"), i = op(a, o), l = Zt(n, a, i);
14662
14678
  $e(() => {
14663
14679
  n.value.componentInstance = l;
14664
14680
  }), t.expose(l.value);
@@ -14677,29 +14693,29 @@ gt.install = (e) => {
14677
14693
  e.component(gt.name, gt), e.component(Rt.name, Rt);
14678
14694
  };
14679
14695
  gt.register = (e, t, n, o) => {
14680
- e["data-grid"] = gt, t["data-grid"] = no, e["grid-field-editor"] = zc, t["grid-field-editor"] = oc, o["data-grid"] = { bindingResolver: gl, selectionItemResolver: hl };
14696
+ e["data-grid"] = gt, t["data-grid"] = no, e["grid-field-editor"] = Uc, t["grid-field-editor"] = ic, o["data-grid"] = { bindingResolver: hl, selectionItemResolver: vl };
14681
14697
  };
14682
14698
  gt.registerDesigner = (e, t, n) => {
14683
- e["data-grid"] = Rt, t["data-grid"] = no, t["data-grid-column"] = ld, e["data-grid-column"] = bn, t["tree-grid-column"] = rd, e["tree-grid-column"] = bn;
14699
+ e["data-grid"] = Rt, t["data-grid"] = no, t["data-grid-column"] = ud, e["data-grid-column"] = bn, t["tree-grid-column"] = cd, e["tree-grid-column"] = bn;
14684
14700
  };
14685
14701
  export {
14686
14702
  gt as FDataGrid,
14687
- gl as bindingResolver,
14688
- Bf as columnOptions,
14689
- ml as dataGridDesignProps,
14690
- Xt as dataGridProps,
14703
+ hl as bindingResolver,
14704
+ Vf as columnOptions,
14705
+ gl as dataGridDesignProps,
14706
+ Kt as dataGridProps,
14691
14707
  gt as default,
14692
- Ef as editOptions,
14693
- Ff as filterOptions,
14694
- _f as groupOptions,
14695
- kf as headerOptions,
14696
- Vf as loadingOptions,
14697
- Sf as paginationOptions,
14708
+ Rf as editOptions,
14709
+ Tf as filterOptions,
14710
+ If as groupOptions,
14711
+ Mf as headerOptions,
14712
+ $f as loadingOptions,
14713
+ Ff as paginationOptions,
14698
14714
  no as propsResolver,
14699
- If as rowNumberOptions,
14700
- Tf as rowOptions,
14701
- hl as selectionItemResolver,
14702
- Of as selectionOptions,
14703
- xf as sortOptions,
14704
- Mf as summaryOptions
14715
+ Bf as rowNumberOptions,
14716
+ Of as rowOptions,
14717
+ vl as selectionItemResolver,
14718
+ Pf as selectionOptions,
14719
+ kf as sortOptions,
14720
+ Ef as summaryOptions
14705
14721
  };