@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 ia = Object.defineProperty;
2
2
  var aa = (e, t, n) => t in e ? ia(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var A = (e, t, n) => aa(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as ge, ref as y, computed as R, createVNode as w, Teleport as Yn, createApp as nn, onUnmounted as rt, Fragment as Je, watch as G, onMounted as ke, Transition as Jn, shallowRef as la, nextTick as at, render as Gt, h as ra, cloneVNode as sa, mergeProps as nt, inject as ue, withDirectives as jt, vShow as ua, resolveComponent as Ye, vModelCheckbox as ca, createTextVNode as Ue, onBeforeUnmount as Qn, reactive as ze, resolveDirective as da, provide as _t, isVNode as Zn, withModifiers as fa, vModelText as pa, toRaw as ma } from "vue";
5
- import { isPlainObject as $n, cloneDeep as Qe, flatten as ga, isEmpty as ha } from "lodash-es";
4
+ import { defineComponent as ge, ref as y, computed as R, createVNode as w, Teleport as Yn, createApp as nn, onUnmounted as rt, Fragment as Qe, watch as G, onMounted as ke, Transition as Jn, shallowRef as la, nextTick as at, render as Gt, h as ra, cloneVNode as sa, mergeProps as nt, inject as ue, withDirectives as jt, vShow as ua, resolveComponent as Je, vModelCheckbox as ca, createTextVNode as qe, onBeforeUnmount as Qn, reactive as ze, resolveDirective as da, provide as _t, isVNode as Zn, withModifiers as fa, vModelText as pa, toRaw as ma } from "vue";
5
+ import { isPlainObject as $n, cloneDeep as Ye, flatten as ga, isEmpty as ha } from "lodash-es";
6
6
  import { resolveAppearance as va, createPropsResolver as ya } from "../dynamic-resolver/index.esm.js";
7
7
  import { useDesignerComponent as eo, DgControl as Nn } from "../designer-canvas/index.esm.js";
8
8
  import to from "../tags/index.esm.js";
@@ -20,7 +20,7 @@ import ko from "../pagination/index.esm.js";
20
20
  import Va, { FDynamicFormGroup as Ea, FDynamicFormInput as Da } from "../dynamic-form/index.esm.js";
21
21
  import Xt from "../combo-list/index.esm.js";
22
22
  import { useTextBox as Ra, useClear as $a, useDateFormat as Na, useNumberFormat as ja, resolveField as Mt, setFieldValue as jn, CHECKBOX_CONTEXT as La, useCheck as Ha, getCustomClass as Wt, withInstall as gn, encrypt as Aa } from "../common/index.esm.js";
23
- import za, { useNumber as Ga, useFormat as Wa, useSpinner as Ua, useTextBox as qa } from "../number-spinner/index.esm.js";
23
+ import za, { useNumber as Ga, useFormat as Wa, useSpinner as qa, useTextBox as Ua } from "../number-spinner/index.esm.js";
24
24
  import Ka from "../accordion/index.esm.js";
25
25
  import Xa from "../avatar/index.esm.js";
26
26
  import Io from "../button-edit/index.esm.js";
@@ -76,27 +76,41 @@ import "../external-container/index.esm.js";
76
76
  import "bignumber.js";
77
77
  const Mo = {}, Oo = {};
78
78
  function hn(e) {
79
- const { properties: t, title: n, ignore: o } = e, i = o && Array.isArray(o), a = Object.keys(t).reduce((l, r) => ((!i || !o.find((c) => c === r)) && (l[r] = t[r].type === "object" && t[r].properties ? hn(t[r]) : Qe(t[r].default)), l), {});
79
+ const { properties: t, title: n, ignore: o } = e, i = o && Array.isArray(o), a = Object.keys(t).reduce((l, r) => ((!i || !o.find((c) => c === r)) && (l[r] = t[r].type === "object" && t[r].properties ? hn(t[r]) : Ye(t[r].default)), l), {});
80
80
  if (n && (!i || !o.find((l) => l === "id"))) {
81
81
  const l = n.toLowerCase().replace(/-/g, "_");
82
82
  a.id = `${l}_${Math.random().toString().slice(2, 6)}`;
83
83
  }
84
84
  return a;
85
85
  }
86
+ function zl(e) {
87
+ const { properties: t, title: n, required: o } = e;
88
+ if (o && Array.isArray(o)) {
89
+ const i = o.reduce((a, l) => (a[l] = t[l].type === "object" && t[l].properties ? hn(t[l]) : Ye(t[l].default), a), {});
90
+ if (n && o.find((a) => a === "id")) {
91
+ const a = n.toLowerCase().replace(/-/g, "_");
92
+ i.id = `${a}_${Math.random().toString().slice(2, 6)}`;
93
+ }
94
+ return i;
95
+ }
96
+ return {
97
+ type: n
98
+ };
99
+ }
86
100
  function Bo(e, t = {}, n) {
87
101
  const o = Mo[e];
88
102
  if (o) {
89
- let i = hn(o);
103
+ let i = zl(o);
90
104
  const a = Oo[e];
91
105
  return i = a ? a({ getSchemaByType: Bo }, i, t, n) : i, i;
92
106
  }
93
107
  return null;
94
108
  }
95
- function zl(e, t) {
109
+ function Gl(e, t) {
96
110
  const n = hn(t);
97
- return Object.keys(n).reduce((o, i) => (o[i] && $n(o[i]) && $n(e[i] || !e[i]) ? Object.assign(o[i], e[i] || {}) : o[i] = e[i], o), n), n;
111
+ return Object.keys(n).reduce((o, i) => (Object.prototype.hasOwnProperty.call(e, i) && (o[i] && $n(o[i]) && $n(e[i] || !e[i]) ? Object.assign(o[i], e[i] || {}) : o[i] = e[i]), o), n), n;
98
112
  }
99
- function Gl(e, t) {
113
+ function Wl(e, t) {
100
114
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, i) => {
101
115
  if (t.has(i)) {
102
116
  const a = t.get(i);
@@ -111,9 +125,9 @@ function Gl(e, t) {
111
125
  return o;
112
126
  }, {});
113
127
  }
114
- function Wl(e, t, n = /* @__PURE__ */ new Map()) {
115
- const o = zl(e, t);
116
- return Gl(o, n);
128
+ function ql(e, t, n = /* @__PURE__ */ new Map()) {
129
+ const o = Gl(e, t);
130
+ return Wl(o, n);
117
131
  }
118
132
  function Ul(e = {}) {
119
133
  function t(u, f, s, p) {
@@ -209,18 +223,18 @@ const J = {
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
- }, ql = {}, Kl = {};
226
+ }, Kl = {}, Xl = {};
213
227
  Ul();
214
228
  function Le(e, t, n = /* @__PURE__ */ new Map(), o = (l, r, c, u) => r, i = {}, a = (l) => l) {
215
- return Mo[t.title] = t, Oo[t.title] = o, ql[t.title] = i, Kl[t.title] = a, (l = {}) => {
216
- const r = Wl(l, t, n), c = Object.keys(e).reduce((u, f) => (u[f] = e[f].default, u), {});
229
+ return Mo[t.title] = t, Oo[t.title] = o, Kl[t.title] = i, Xl[t.title] = a, (l = {}) => {
230
+ const r = ql(l, t, n), c = Object.keys(e).reduce((u, f) => (u[f] = e[f].default, u), {});
217
231
  return Object.assign(c, r);
218
232
  };
219
233
  }
220
234
  function ot(e, t) {
221
235
  return { customClass: t.class, customStyle: t.style };
222
236
  }
223
- function Xl() {
237
+ function Yl() {
224
238
  function e(t, n) {
225
239
  const { id: o } = t || {}, { dataSource: i } = t || {};
226
240
  return i === void 0 ? {} : {
@@ -233,7 +247,7 @@ function Xl() {
233
247
  resolve: e
234
248
  };
235
249
  }
236
- function Yl() {
250
+ function Jl() {
237
251
  function e(t, n) {
238
252
  const { dataSource: o } = t || {};
239
253
  return o === void 0 ? {} : {};
@@ -242,7 +256,7 @@ function Yl() {
242
256
  resolve: e
243
257
  };
244
258
  }
245
- function Jl() {
259
+ function Ql() {
246
260
  function e(t, n) {
247
261
  return t.selectItemById(n);
248
262
  }
@@ -250,7 +264,7 @@ function Jl() {
250
264
  selectItemById: e
251
265
  };
252
266
  }
253
- function Ql() {
267
+ function Zl() {
254
268
  function e(t, n) {
255
269
  return t.selectItemById(n);
256
270
  }
@@ -258,13 +272,13 @@ function Ql() {
258
272
  selectItemById: e
259
273
  };
260
274
  }
261
- const Zl = /* @__PURE__ */ new Map([
275
+ const er = /* @__PURE__ */ new Map([
262
276
  ["appearance", va]
263
277
  ]);
264
- function er(e, t, n) {
278
+ function tr(e, t, n) {
265
279
  return t;
266
280
  }
267
- const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-design.gitee.io/button-edit.schema.json", or = "button-edit", ir = "A Farris Input Component", ar = "object", lr = {
281
+ const nr = "https://json-schema.org/draft/2020-12/schema", or = "https://farris-design.gitee.io/button-edit.schema.json", ir = "button-edit", ar = "A Farris Input Component", lr = "object", rr = {
268
282
  id: {
269
283
  description: "The unique identifier for a Input Group",
270
284
  type: "string"
@@ -448,18 +462,18 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
448
462
  type: "string",
449
463
  default: ""
450
464
  }
451
- }, rr = [
465
+ }, sr = [
452
466
  "id",
453
467
  "type"
454
- ], sr = {
455
- $schema: tr,
456
- $id: nr,
457
- title: or,
458
- description: ir,
459
- type: ar,
460
- properties: lr,
461
- required: rr
462
- }, ur = "buttonEdit", cr = "A Farris Component", dr = "object", fr = {
468
+ ], ur = {
469
+ $schema: nr,
470
+ $id: or,
471
+ title: ir,
472
+ description: ar,
473
+ type: lr,
474
+ properties: rr,
475
+ required: sr
476
+ }, cr = "buttonEdit", dr = "A Farris Component", fr = "object", pr = {
463
477
  basic: {
464
478
  description: "Basic Infomation",
465
479
  title: "基本信息",
@@ -541,11 +555,11 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
541
555
  }
542
556
  }
543
557
  }
544
- }, pr = {
545
- title: ur,
546
- description: cr,
547
- type: dr,
548
- categories: fr
558
+ }, mr = {
559
+ title: cr,
560
+ description: dr,
561
+ type: fr,
562
+ categories: pr
549
563
  }, vn = {
550
564
  /**
551
565
  * 组件标识
@@ -654,13 +668,13 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
654
668
  beforeOpen: { type: Function, default: null },
655
669
  /** 更新方式 blur | change */
656
670
  updateOn: { type: String, default: "change" }
657
- }, Po = Le(vn, sr, Zl, er, pr), mr = {
671
+ }, Po = Le(vn, ur, er, tr, mr), gr = {
658
672
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
659
673
  host: { type: Object },
660
674
  backgroundColor: { type: String, default: "" }
661
- }, gr = /* @__PURE__ */ ge({
675
+ }, hr = /* @__PURE__ */ ge({
662
676
  name: "FOverlay",
663
- props: mr,
677
+ props: gr,
664
678
  emits: ["click"],
665
679
  setup(e, t) {
666
680
  const n = y(e.popupContentPosition), o = y(e.host), i = R(() => ({
@@ -706,13 +720,13 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
706
720
  });
707
721
  }
708
722
  });
709
- function hr(e) {
723
+ function vr(e) {
710
724
  if (e.content && e.content.render)
711
725
  return e.content.render;
712
726
  if (e.render && typeof e.render == "function")
713
727
  return e.render;
714
728
  }
715
- function vr(e) {
729
+ function yr(e) {
716
730
  const t = document.createElement("div");
717
731
  t.style.display = "contents";
718
732
  let n;
@@ -725,8 +739,8 @@ function vr(e) {
725
739
  rt(() => {
726
740
  document.body.removeChild(t);
727
741
  });
728
- const a = hr(e);
729
- return () => w(gr, {
742
+ const a = vr(e);
743
+ return () => w(hr, {
730
744
  "popup-content-position": e.popupPosition,
731
745
  host: e.host,
732
746
  onClick: i,
@@ -737,12 +751,12 @@ function vr(e) {
737
751
  }
738
752
  }), document.body.appendChild(t), n.mount(t), n;
739
753
  }
740
- class yr {
754
+ class br {
741
755
  static show(t) {
742
- return vr(t);
756
+ return yr(t);
743
757
  }
744
758
  }
745
- const br = {
759
+ const Cr = {
746
760
  /**
747
761
  * 自定义类
748
762
  */
@@ -886,7 +900,7 @@ class ht {
886
900
  return this.width = t.width, this.height = t.height, this;
887
901
  }
888
902
  }
889
- function Cr(e, t) {
903
+ function wr(e, t) {
890
904
  const n = y(), o = y(), i = y(), a = y(), l = y(), r = y(), c = y(), u = y(), f = y(), s = y(), p = y(), C = y(), v = y(e.draggable), F = y(!1);
891
905
  function h() {
892
906
  const V = o.value || document.body, $ = window.getComputedStyle(V);
@@ -977,7 +991,7 @@ function Cr(e, t) {
977
991
  V instanceof MouseEvent && V.button === 2 || v.value && (V.stopPropagation(), V.preventDefault(), i.value = je.fromEvent(V), f.value = V.target, m(V), S());
978
992
  }
979
993
  function P(V) {
980
- return n.value = V, w(Je, null, [w("div", {
994
+ return n.value = V, w(Qe, null, [w("div", {
981
995
  class: "fv-resizable-handle fv-resizable-n",
982
996
  type: "n",
983
997
  onMousedown: ($) => T($)
@@ -1071,7 +1085,7 @@ function Cr(e, t) {
1071
1085
  unWindowResizeHandle: D
1072
1086
  };
1073
1087
  }
1074
- function wr(e, t, n) {
1088
+ function Sr(e, t, n) {
1075
1089
  const o = y(), i = y(e.draggable), a = y(e.lockAxis), l = y(), r = y(), c = y(!1), u = y(new je(0, 0)), f = y(new je(0, 0)), s = y(new je(0, 0)), p = y(new je(0, 0));
1076
1090
  G(() => n.value, (I) => {
1077
1091
  l.value.style.cursor = I ? "move" : "default";
@@ -1161,7 +1175,7 @@ function Vo(e, t) {
1161
1175
  };
1162
1176
  }
1163
1177
  }
1164
- function Sr(e, t) {
1178
+ function xr(e, t) {
1165
1179
  const n = y(e.enableEsc);
1166
1180
  let o = null;
1167
1181
  return n.value ? (o = Vo("Escape", (i) => {
@@ -1170,7 +1184,7 @@ function Sr(e, t) {
1170
1184
  remove: o
1171
1185
  }) : null;
1172
1186
  }
1173
- function xr(e, t) {
1187
+ function Fr(e, t) {
1174
1188
  const n = y(e.enableEnter);
1175
1189
  let o = null;
1176
1190
  return n.value ? (o = Vo("Enter", (i) => {
@@ -1181,7 +1195,7 @@ function xr(e, t) {
1181
1195
  }
1182
1196
  const Eo = /* @__PURE__ */ ge({
1183
1197
  name: "FModal",
1184
- props: br,
1198
+ props: Cr,
1185
1199
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
1186
1200
  setup(e, t) {
1187
1201
  const n = y(e.width || 300), o = y(e.height || 200), i = y(e.modelValue), a = y(""), l = y(e.class), r = y(e.fitContent), c = y(e.showHeader), u = y(""), f = y(e.showCloseButton), s = y(e.showMaxButton), p = y(!1), C = y(""), v = y(""), F = y(""), h = y(e.showButtons), m = y(e.title), d = y(e.reiszeable), g = y(e.containment || null), k = y();
@@ -1210,9 +1224,9 @@ const Eo = /* @__PURE__ */ ge({
1210
1224
  resizedEventParam: V,
1211
1225
  allowDrag: $,
1212
1226
  unWindowResizeHandle: L
1213
- } = Cr(e), {
1227
+ } = wr(e), {
1214
1228
  registerDraggle: N
1215
- } = wr(e, t, $);
1229
+ } = Sr(e, t, $);
1216
1230
  G(() => e.title, (j, Y) => {
1217
1231
  j !== Y && (m.value = j);
1218
1232
  }), G(() => e.modelValue, (j, Y) => {
@@ -1222,8 +1236,8 @@ const Eo = /* @__PURE__ */ ge({
1222
1236
  }), G(() => e.showButtons, (j, Y) => {
1223
1237
  j !== Y && (h.value = j);
1224
1238
  }), G(() => V.value, (j, Y) => {
1225
- const le = j || {}, q = Y || {};
1226
- JSON.stringify(le) !== JSON.stringify(q) && t.emit("resize", {
1239
+ const le = j || {}, U = Y || {};
1240
+ JSON.stringify(le) !== JSON.stringify(U) && t.emit("resize", {
1227
1241
  newSize: j,
1228
1242
  oldSize: Y
1229
1243
  });
@@ -1232,19 +1246,19 @@ const Eo = /* @__PURE__ */ ge({
1232
1246
  const j = document.querySelectorAll(".farris-modal").length;
1233
1247
  (!j || j - 1 <= 0) && document.body.classList.remove("modal-open"), k.value && k.value.classList.remove("show");
1234
1248
  }
1235
- const U = R(() => (i.value ? document.body.classList.add("modal-open") : H(), i.value)), oe = R(() => {
1249
+ const q = R(() => (i.value ? document.body.classList.add("modal-open") : H(), i.value)), oe = R(() => {
1236
1250
  const j = {
1237
1251
  modal: !0,
1238
1252
  "farris-modal": !0,
1239
1253
  fade: !0
1240
1254
  };
1241
- return j["f-modal-fitContent"] = !!r.value, j.show = !!U.value, j;
1255
+ return j["f-modal-fitContent"] = !!r.value, j.show = !!q.value, j;
1242
1256
  }), pe = R(() => {
1243
1257
  var le;
1244
1258
  const j = {
1245
1259
  "modal-dialog": !0
1246
1260
  }, Y = (le = l.value) == null ? void 0 : le.split(" ");
1247
- return Y == null || Y.reduce((q, Me) => (q[Me] = !0, q), j), j;
1261
+ return Y == null || Y.reduce((U, Me) => (U[Me] = !0, U), j), j;
1248
1262
  }), Be = R(() => ({
1249
1263
  position: "absolute",
1250
1264
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -1291,7 +1305,7 @@ const Eo = /* @__PURE__ */ ge({
1291
1305
  }
1292
1306
  let _e = null, re = null;
1293
1307
  ke(() => {
1294
- P.value && !g.value && (g.value = P.value.parentElement, D.value = g.value, N(T.value, P.value, D.value)), U.value && document.body.classList.add("modal-open"), _e = Sr(e, t), re = xr(e, t);
1308
+ P.value && !g.value && (g.value = P.value.parentElement, D.value = g.value, N(T.value, P.value, D.value)), q.value && document.body.classList.add("modal-open"), _e = xr(e, t), re = Fr(e, t);
1295
1309
  }), rt(() => {
1296
1310
  H(), L && L(), _e && _e.remove(), re && re.remove();
1297
1311
  }), t.expose({
@@ -1356,7 +1370,7 @@ const Eo = /* @__PURE__ */ ge({
1356
1370
  return () => w(Yn, {
1357
1371
  to: "body"
1358
1372
  }, {
1359
- default: () => [U.value && w(Jn, {
1373
+ default: () => [q.value && w(Jn, {
1360
1374
  name: "fade",
1361
1375
  appear: !0
1362
1376
  }, {
@@ -1394,7 +1408,7 @@ function Do(e) {
1394
1408
  if (e.render && typeof e.render == "function")
1395
1409
  return e.render;
1396
1410
  }
1397
- function Fr(e) {
1411
+ function _r(e) {
1398
1412
  const t = document.createElement("div");
1399
1413
  t.style.display = "contents";
1400
1414
  const n = nn({
@@ -1437,7 +1451,7 @@ function Fr(e) {
1437
1451
  });
1438
1452
  return document.body.appendChild(t), n.mount(t), n;
1439
1453
  }
1440
- class _r {
1454
+ class kr {
1441
1455
  constructor(t) {
1442
1456
  A(this, "appContext", null);
1443
1457
  A(this, "modalRef", y());
@@ -1456,7 +1470,7 @@ class _r {
1456
1470
  showButtons: !0,
1457
1471
  showHeader: !0
1458
1472
  }, t);
1459
- return Fr(n);
1473
+ return _r(n);
1460
1474
  }
1461
1475
  open(t) {
1462
1476
  const n = document.createDocumentFragment();
@@ -1550,7 +1564,7 @@ function No(e, t, n, o, i) {
1550
1564
  });
1551
1565
  s.value = d == null ? void 0 : d.modalRef;
1552
1566
  }
1553
- a.value === "Overlay" && yr.show({
1567
+ a.value === "Overlay" && br.show({
1554
1568
  // host: buttonEditRef.value,
1555
1569
  host: document.body,
1556
1570
  backgroundColor: "rgba(0,0,0,.15)",
@@ -1597,7 +1611,7 @@ function jo(e, t, n, o) {
1597
1611
  }
1598
1612
  return { hidePopup: f, popup: u, shouldPopupContent: a, togglePopup: c, popoverRef: i };
1599
1613
  }
1600
- function kr(e, t, n) {
1614
+ function Ir(e, t, n) {
1601
1615
  const {
1602
1616
  buttonGroupClass: o
1603
1617
  } = n, i = y();
@@ -1639,7 +1653,7 @@ const yn = /* @__PURE__ */ ge({
1639
1653
  return a.value && a.value.split(" ").reduce((v, F) => (v[F] = !0, v), C), C;
1640
1654
  }), {
1641
1655
  renderButtonGroup: p
1642
- } = kr(e, t, c);
1656
+ } = Ir(e, t, c);
1643
1657
  return () => w("div", nt(t.attrs, {
1644
1658
  ref: n,
1645
1659
  class: s.value,
@@ -1742,7 +1756,7 @@ function It(e, t, n) {
1742
1756
  function Ln(e) {
1743
1757
  return typeof e == "string" && e.startsWith("{") && e.endsWith("}") ? (e = e.replace(/'/g, '"'), { mappingFields: JSON.parse(e) }) : { mappingFields: e };
1744
1758
  }
1745
- const Ir = /* @__PURE__ */ new Map([
1759
+ const Tr = /* @__PURE__ */ new Map([
1746
1760
  ["appearance", ot],
1747
1761
  ["mappingFields", (e, t, n) => {
1748
1762
  if (t)
@@ -1754,7 +1768,7 @@ const Ir = /* @__PURE__ */ new Map([
1754
1768
  var o;
1755
1769
  return t ? { uri: t } : { uri: (o = n == null ? void 0 : n.dataSource) == null ? void 0 : o.uri };
1756
1770
  }]
1757
- ]), Tr = "https://json-schema.org/draft/2020-12/schema", Mr = "https://farris-design.gitee.io/lookup.schema.json", Or = "lookup", Br = "A Farris Input Component", Pr = "object", Vr = {
1771
+ ]), Mr = "https://json-schema.org/draft/2020-12/schema", Or = "https://farris-design.gitee.io/lookup.schema.json", Br = "lookup", Pr = "A Farris Input Component", Vr = "object", Er = {
1758
1772
  id: {
1759
1773
  description: "The unique identifier for a combo list",
1760
1774
  type: "string"
@@ -1854,32 +1868,31 @@ const Ir = /* @__PURE__ */ new Map([
1854
1868
  type: "object",
1855
1869
  default: null
1856
1870
  }
1857
- }, Er = [
1858
- "id",
1871
+ }, Dr = [
1859
1872
  "type"
1860
- ], Dr = [
1873
+ ], Rr = [
1861
1874
  "id",
1862
1875
  "appearance",
1863
1876
  "binding",
1864
1877
  "visible"
1865
- ], Rr = {
1866
- $schema: Tr,
1867
- $id: Mr,
1868
- title: Or,
1869
- description: Br,
1870
- type: Pr,
1871
- properties: Vr,
1872
- required: Er,
1873
- ignore: Dr
1878
+ ], $r = {
1879
+ $schema: Mr,
1880
+ $id: Or,
1881
+ title: Br,
1882
+ description: Pr,
1883
+ type: Vr,
1884
+ properties: Er,
1885
+ required: Dr,
1886
+ ignore: Rr
1874
1887
  };
1875
- function $r(e, t, n) {
1888
+ function Nr(e, t, n) {
1876
1889
  return t;
1877
1890
  }
1878
1891
  var dt = /* @__PURE__ */ ((e) => (e.List = "LIST", e.Tree = "TREELIST", e.ListList = "NAVLIST", e.TreeList = "NAVTREELIST", e.ListTree = "NAVLISTTREE", e))(dt || {}), Lo = /* @__PURE__ */ ((e) => (e.default = "default", e.all = "all", e.async = "async", e))(Lo || {});
1879
- const bn = "__lookup_active_tab__", Ng = "__lookup_user_data_id__";
1880
- var qe = /* @__PURE__ */ ((e) => (e.dataList = "datalist", e.favorite = "favorite", e))(qe || {});
1892
+ const bn = "__lookup_active_tab__", Ag = "__lookup_user_data_id__";
1893
+ var Ue = /* @__PURE__ */ ((e) => (e.dataList = "datalist", e.favorite = "favorite", e))(Ue || {});
1881
1894
  const Ho = Symbol("f_lookup-http-service_token");
1882
- var Ao = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(Ao || {}), Yt = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(Yt || {}), Nr = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e.FrontExpress = "frontExpress", e))(Nr || {});
1895
+ var Ao = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(Ao || {}), Yt = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(Yt || {}), jr = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e.FrontExpress = "frontExpress", e))(jr || {});
1883
1896
  const At = {
1884
1897
  id: { type: String, require: !0 },
1885
1898
  uri: { type: String, default: "" },
@@ -1933,7 +1946,7 @@ const At = {
1933
1946
  enableUserData: { type: Boolean, default: !1 },
1934
1947
  onReady: { type: Function, default: null },
1935
1948
  context: { type: Object, default: {} }
1936
- }, Hn = Le(At, Rr, Ir, $r);
1949
+ }, Hn = Le(At, $r, Tr, Nr);
1937
1950
  class zt {
1938
1951
  constructor(t, n) {
1939
1952
  A(this, "componentId");
@@ -2026,7 +2039,7 @@ class zt {
2026
2039
  const o = n && n.parent && n.parent.schema;
2027
2040
  if (!o)
2028
2041
  return;
2029
- const i = o.contents.findIndex((l) => l.id === t), a = Qe(o.contents[i]);
2042
+ const i = o.contents.findIndex((l) => l.id === t), a = Ye(o.contents[i]);
2030
2043
  o.contents.splice(i, 1), o.contents.splice(i, 0, a);
2031
2044
  }
2032
2045
  }
@@ -2102,11 +2115,11 @@ A(Ft, "fieldControlTypeMapping", {
2102
2115
  });
2103
2116
  let Bt = Ft;
2104
2117
  const Rt = y(0);
2105
- function jr(e, t) {
2118
+ function Lr(e, t) {
2106
2119
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), i = o.top >= n.top, a = o.top <= n.bottom;
2107
2120
  return i && a;
2108
2121
  }
2109
- function Lr(e) {
2122
+ function Hr(e) {
2110
2123
  if (!e)
2111
2124
  return;
2112
2125
  let t;
@@ -2117,7 +2130,7 @@ function Lr(e) {
2117
2130
  return;
2118
2131
  const o = t.querySelector(".component-btn-group");
2119
2132
  if (o) {
2120
- if (!jr(t, e)) {
2133
+ if (!Lr(t, e)) {
2121
2134
  o.style.display = "none";
2122
2135
  return;
2123
2136
  }
@@ -2129,7 +2142,7 @@ function Lr(e) {
2129
2142
  }
2130
2143
  }
2131
2144
  }
2132
- class Hr {
2145
+ class Ar {
2133
2146
  constructor() {
2134
2147
  /** 控件标题 */
2135
2148
  A(this, "label", "");
@@ -2159,7 +2172,7 @@ class Hr {
2159
2172
  A(this, "fieldSetId", "");
2160
2173
  }
2161
2174
  }
2162
- function Ar(e) {
2175
+ function zr(e) {
2163
2176
  let t, n;
2164
2177
  const o = /* @__PURE__ */ new Map();
2165
2178
  let i = [];
@@ -2180,7 +2193,7 @@ function Ar(e) {
2180
2193
  return;
2181
2194
  }
2182
2195
  v && (p += 1, v = !1);
2183
- const h = F.appearance && F.appearance.class, m = new Hr();
2196
+ const h = F.appearance && F.appearance.class, m = new Ar();
2184
2197
  h ? a(h, m) : m.isSupportedClass = !1, m.label = F.label || F.id, m.id = F.id, m.group = p, C && (m.fieldSetId = f.id), n === F.id && (t = p), o.set(F.id, F), s.push(m);
2185
2198
  });
2186
2199
  }
@@ -2239,7 +2252,7 @@ class Xe extends zt {
2239
2252
  constructor(n, o) {
2240
2253
  super(n, o);
2241
2254
  A(this, "responseLayoutEditorFunction");
2242
- this.responseLayoutEditorFunction = Ar(this.formSchemaUtils);
2255
+ this.responseLayoutEditorFunction = zr(this.formSchemaUtils);
2243
2256
  }
2244
2257
  getPropertyConfig(n, o) {
2245
2258
  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;
@@ -2247,7 +2260,7 @@ class Xe extends zt {
2247
2260
  getBasicProperties(n, o) {
2248
2261
  var a;
2249
2262
  const i = this;
2250
- return this.setDesignViewModelField(n), this.formSchemaUtils.getFormMetadataBasicInfo(), {
2263
+ return this.setDesignViewModelField(n), {
2251
2264
  description: "Basic Information",
2252
2265
  title: "基本信息",
2253
2266
  properties: {
@@ -2470,7 +2483,7 @@ class Xe extends zt {
2470
2483
  return Array.from(o).length === 1;
2471
2484
  }
2472
2485
  }
2473
- function zr(e, t, n, o, i, a) {
2486
+ function Gr(e, t, n, o, i, a) {
2474
2487
  const l = y(!1), r = R(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: c } = a;
2475
2488
  function u(C) {
2476
2489
  l.value = C;
@@ -2502,7 +2515,7 @@ function zr(e, t, n, o, i, a) {
2502
2515
  onMouseLeaveTextBox: p
2503
2516
  };
2504
2517
  }
2505
- function Gr(e, t, n, o, i) {
2518
+ function Wr(e, t, n, o, i) {
2506
2519
  const a = R(() => e.popupOnInput), l = R(() => e.popupOnFocus), { shouldPopupContent: r } = i, c = R(() => e.enableTitle ? n.value : ""), u = R(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = R(() => e.readonly || !e.editable), s = y(!1), p = R(() => !e.disable && s.value), C = R(() => ({
2507
2520
  "text-left": e.textAlign === "left",
2508
2521
  "text-center": e.textAlign === "center",
@@ -2574,7 +2587,7 @@ function Gr(e, t, n, o, i) {
2574
2587
  onTextBoxValueChange: x
2575
2588
  };
2576
2589
  }
2577
- function Wr(e, t, n) {
2590
+ function qr(e, t, n) {
2578
2591
  const o = y(), {
2579
2592
  isTextBoxReadonly: i,
2580
2593
  textBoxClass: a,
@@ -2635,7 +2648,7 @@ function Ur(e, t, n) {
2635
2648
  onChange: l
2636
2649
  }, null);
2637
2650
  }
2638
- function qr(e, t, n, o) {
2651
+ function Kr(e, t, n, o) {
2639
2652
  const {
2640
2653
  buttonGroupClass: i,
2641
2654
  onClickButton: a,
@@ -2671,7 +2684,7 @@ function qr(e, t, n, o) {
2671
2684
  buttonHandleElement: s
2672
2685
  };
2673
2686
  }
2674
- function Kr(e, t, n) {
2687
+ function Xr(e, t, n) {
2675
2688
  const o = y(e.popupMinWidth), {
2676
2689
  hidePopup: i,
2677
2690
  popoverRef: a
@@ -2704,11 +2717,11 @@ const bt = /* @__PURE__ */ ge({
2704
2717
  shouldPopupContent: l,
2705
2718
  hidePopup: r,
2706
2719
  togglePopup: c
2707
- } = a, u = No(e, t, n, a, i), f = y(""), s = Gr(e, t, i, f, a), {
2720
+ } = a, u = No(e, t, n, a, i), f = y(""), s = Wr(e, t, i, f, a), {
2708
2721
  hasFocusedTextBox: p,
2709
2722
  commitValue: C,
2710
2723
  inputGroupClass: v
2711
- } = s, F = zr(e, t, i, p, f, s), {
2724
+ } = s, F = Gr(e, t, i, p, f, s), {
2712
2725
  onMouseEnterTextBox: h,
2713
2726
  onMouseLeaveTextBox: m
2714
2727
  } = F, d = R(() => {
@@ -2720,7 +2733,7 @@ const bt = /* @__PURE__ */ ge({
2720
2733
  return o.value && o.value.split(" ").reduce((T, P) => (T[P] = !0, T), S), S;
2721
2734
  });
2722
2735
  function g() {
2723
- return e.multiSelect && e.inputType === "tag" ? Ur(e, i, s) : Wr(e, i, s);
2736
+ return e.multiSelect && e.inputType === "tag" ? Ur(e, i, s) : qr(e, i, s);
2724
2737
  }
2725
2738
  let k = g();
2726
2739
  G([() => e.multiSelect, () => e.inputType], () => {
@@ -2729,7 +2742,7 @@ const bt = /* @__PURE__ */ ge({
2729
2742
  const {
2730
2743
  renderButtonGroup: b,
2731
2744
  buttonHandleElement: _
2732
- } = qr(e, t, u, F), I = Kr(e, t, a), x = {
2745
+ } = Kr(e, t, u, F), I = Xr(e, t, a), x = {
2733
2746
  commitValue: C,
2734
2747
  elementRef: n,
2735
2748
  hidePopup: r,
@@ -2747,7 +2760,7 @@ const bt = /* @__PURE__ */ ge({
2747
2760
  n.value.componentInstance = x, window.onresize = () => {
2748
2761
  document.body.click();
2749
2762
  };
2750
- }), t.expose(x), () => w(Je, null, [w("div", nt(t.attrs, {
2763
+ }), t.expose(x), () => w(Qe, null, [w("div", nt(t.attrs, {
2751
2764
  ref: n,
2752
2765
  class: d.value,
2753
2766
  id: e.id
@@ -2758,7 +2771,7 @@ const bt = /* @__PURE__ */ ge({
2758
2771
  onMouseleave: m
2759
2772
  }, [k(), b()])]), l.value && I()]);
2760
2773
  }
2761
- }), Xr = "https://json-schema.org/draft/2020-12/schema", Yr = "https://farris-design.gitee.io/field-selector.schema.json", Jr = "field-selector", Qr = "A Farris Input Component", Zr = "object", es = {
2774
+ }), Yr = "https://json-schema.org/draft/2020-12/schema", Jr = "https://farris-design.gitee.io/field-selector.schema.json", Qr = "field-selector", Zr = "A Farris Input Component", es = "object", ts = {
2762
2775
  disabled: {
2763
2776
  description: "",
2764
2777
  type: "boolean",
@@ -2849,24 +2862,24 @@ const bt = /* @__PURE__ */ ge({
2849
2862
  type: "object",
2850
2863
  default: null
2851
2864
  }
2852
- }, ts = {
2853
- $schema: Xr,
2854
- $id: Yr,
2855
- title: Jr,
2856
- description: Qr,
2857
- type: Zr,
2858
- properties: es
2859
- }, ns = [
2865
+ }, ns = {
2866
+ $schema: Yr,
2867
+ $id: Jr,
2868
+ title: Qr,
2869
+ description: Zr,
2870
+ type: es,
2871
+ properties: ts
2872
+ }, os = [
2860
2873
  { field: "code", title: "绑定字段" },
2861
2874
  { field: "name", title: "名称" },
2862
2875
  { field: "fieldType", title: "字段类型" }
2863
- ], Ut = Symbol("Field_Selector Component Repository Service Token"), os = {
2876
+ ], qt = Symbol("Field_Selector Component Repository Service Token"), is = {
2864
2877
  disabled: { type: Boolean, default: !1 },
2865
2878
  readonly: { type: Boolean, default: !1 },
2866
2879
  modelValue: { type: [String, Array], default: null },
2867
2880
  data: { type: Array, default: [] },
2868
2881
  idField: { type: String, default: "id" },
2869
- columns: { type: Array, default: ns },
2882
+ columns: { type: Array, default: os },
2870
2883
  title: { type: String, default: "字段选择器" },
2871
2884
  modalWidth: { type: Number, default: 800 },
2872
2885
  modalHeight: { type: Number, default: 600 },
@@ -2884,12 +2897,12 @@ const bt = /* @__PURE__ */ ge({
2884
2897
  onFieldSelected: { type: Function, default: null },
2885
2898
  repositoryToken: { type: Symbol, default: null }
2886
2899
  };
2887
- Le(os, ts);
2900
+ Le(is, ns);
2888
2901
  const zo = /* @__PURE__ */ new Map([
2889
2902
  ["appearance", ot],
2890
2903
  ["column", "columnOption"]
2891
2904
  ]);
2892
- function is(e, t, n) {
2905
+ function as(e, t, n) {
2893
2906
  var s;
2894
2907
  const o = n.parentComponentInstance, i = o.schema.type, a = String(((s = o.schema.appearance) == null ? void 0 : s.class) || "").split(" "), l = i === "section" || i === "tab-page", r = a.includes("f-page-content-nav"), c = a.includes("f-page-main"), u = e.getSchemaByType("component");
2895
2908
  u.id = `${t.id}-component`, u.componentType = "data-grid";
@@ -2898,23 +2911,23 @@ function is(e, t, n) {
2898
2911
  class: f
2899
2912
  }, u.contents = [t], u;
2900
2913
  }
2901
- function as(e, t, n) {
2914
+ function ls(e, t, n) {
2902
2915
  const o = n.parentComponentInstance, i = String(o.schema.appearance.class || "").split(" "), a = i.includes("f-page-content-nav"), l = i.includes("f-page-main"), r = e.getSchemaByType("section");
2903
2916
  r.id = `${t.id}-section`;
2904
2917
  let c = "";
2905
2918
  return c += a ? "f-section-in-nav " : "", c += l ? "f-section-in-managelist " : "", c += "f-section-grid", r.appearance = { class: c }, r.contents = [t], r;
2906
2919
  }
2907
- function ls(e, t, n) {
2920
+ function rs(e, t, n) {
2908
2921
  const o = e.getSchemaByType("content-container");
2909
2922
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
2910
2923
  }
2911
2924
  function Go(e, t, n) {
2912
2925
  const i = n.parentComponentInstance.schema.type, a = i === "section" || i === "tab-page";
2913
2926
  t.appearance = { class: "f-component-grid" };
2914
- const r = (a ? ls : as)(e, t, n);
2915
- return is(e, r, n);
2927
+ const r = (a ? rs : ls)(e, t, n);
2928
+ return as(e, r, n);
2916
2929
  }
2917
- const rs = "https://json-schema.org/draft/2020-12/schema", ss = "https://farris-design.gitee.io/tree-grid.schema.json", us = "tree-grid", cs = "A Farris Data Grid Component", ds = "object", fs = {
2930
+ const ss = "https://json-schema.org/draft/2020-12/schema", us = "https://farris-design.gitee.io/tree-grid.schema.json", cs = "tree-grid", ds = "A Farris Data Grid Component", fs = "object", ps = {
2918
2931
  id: {
2919
2932
  description: "The unique identifier for a Input Group",
2920
2933
  type: "string"
@@ -3687,17 +3700,18 @@ const rs = "https://json-schema.org/draft/2020-12/schema", ss = "https://farris-
3687
3700
  type: "string",
3688
3701
  default: ""
3689
3702
  }
3690
- }, ps = [
3703
+ }, ms = [
3691
3704
  "id",
3692
- "type"
3705
+ "type",
3706
+ "columns"
3693
3707
  ], Wo = {
3694
- $schema: rs,
3695
- $id: ss,
3696
- title: us,
3697
- description: cs,
3698
- type: ds,
3699
- properties: fs,
3700
- required: ps
3708
+ $schema: ss,
3709
+ $id: us,
3710
+ title: cs,
3711
+ description: ds,
3712
+ type: fs,
3713
+ properties: ps,
3714
+ required: ms
3701
3715
  }, Cn = {
3702
3716
  /** 列集合 */
3703
3717
  columns: { type: Array, default: [] },
@@ -3812,9 +3826,9 @@ const rs = "https://json-schema.org/draft/2020-12/schema", ss = "https://farris-
3812
3826
  autoCheckChildren: { type: Boolean, default: !1 },
3813
3827
  /** 显示设置按钮 */
3814
3828
  showSetting: { type: Boolean, default: !1 }
3815
- }, ms = Le(Cn, Wo, zo, Go), gs = Ql(), hs = Yl(), Uo = Object.assign({}, Cn, { componentId: { type: String, default: "" } }), vs = Le(Uo, Wo, zo, Go);
3829
+ }, gs = Le(Cn, Wo, zo, Go), hs = Zl(), vs = Jl(), qo = Object.assign({}, Cn, { componentId: { type: String, default: "" } }), ys = Le(qo, Wo, zo, Go);
3816
3830
  var Ae = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Ae || {}), tt = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(tt || {}), vt = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(vt || {}), $e = /* @__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))($e || {}), Jt = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(Jt || {});
3817
- function ys() {
3831
+ function bs() {
3818
3832
  function e() {
3819
3833
  return w("div", {
3820
3834
  class: "fv-grid-disable"
@@ -3824,7 +3838,7 @@ function ys() {
3824
3838
  renderDisableMask: e
3825
3839
  };
3826
3840
  }
3827
- function bs(e, t, n, o, i) {
3841
+ function Cs(e, t, n, o, i) {
3828
3842
  const {
3829
3843
  columnContext: a
3830
3844
  } = t, {
@@ -3882,7 +3896,7 @@ function bs(e, t, n, o, i) {
3882
3896
  renderFilterPanel: C
3883
3897
  };
3884
3898
  }
3885
- function Cs(e, t, n, o, i) {
3899
+ function ws(e, t, n, o, i) {
3886
3900
  const {
3887
3901
  dropOnGroupPanel: a,
3888
3902
  groupColumnItems: l
@@ -3902,7 +3916,7 @@ function Cs(e, t, n, o, i) {
3902
3916
  class: "fv-grid-group-panel",
3903
3917
  onDrop: a,
3904
3918
  onDragover: p
3905
- }, [l.value && w(Ye("f-tags"), {
3919
+ }, [l.value && w(Je("f-tags"), {
3906
3920
  ref: f,
3907
3921
  style: "margin:0.375rem",
3908
3922
  "tag-type": "default",
@@ -3992,7 +4006,7 @@ function wn(e, t) {
3992
4006
  summaryCellPosition: r
3993
4007
  };
3994
4008
  }
3995
- function ws(e, t, n) {
4009
+ function Ss(e, t, n) {
3996
4010
  const { hasChildrenField: o } = n, i = y("#9399a0"), a = y(28);
3997
4011
  function l() {
3998
4012
  return [].concat(
@@ -4031,7 +4045,7 @@ function ws(e, t, n) {
4031
4045
  }
4032
4046
  return { hierarchyCellContentStyle: u, handleCollapsedPaddingBottom: c };
4033
4047
  }
4034
- function Ss(e, t, n) {
4048
+ function xs(e, t, n) {
4035
4049
  const o = y(e.iconField);
4036
4050
  function i(a, l) {
4037
4051
  if (o.value)
@@ -4058,7 +4072,7 @@ function Sn() {
4058
4072
  }
4059
4073
  return { updateRowPosition: e, updateVisualInfomation: t };
4060
4074
  }
4061
- function xs(e, t, n, o, i, a) {
4075
+ function Fs(e, t, n, o, i, a) {
4062
4076
  const { dataView: l, fold: r, hasRealChildren: c, unFold: u } = o, { collapseField: f, hasChildrenField: s } = i, { updateRowPosition: p } = Sn();
4063
4077
  function C(h, m) {
4064
4078
  const d = m[h].layer;
@@ -4096,7 +4110,7 @@ function xs(e, t, n, o, i, a) {
4096
4110
  }
4097
4111
  return { toggleTreeNode: F };
4098
4112
  }
4099
- function Fs(e, t, n, o, i, a, l, r, c, u, f) {
4113
+ function _s(e, t, n, o, i, a, l, r, c, u, f) {
4100
4114
  const {
4101
4115
  onClickCell: s
4102
4116
  } = a, {
@@ -4122,7 +4136,7 @@ function Fs(e, t, n, o, i, a, l, r, c, u, f) {
4122
4136
  shouldShowIcon: B
4123
4137
  } = l, {
4124
4138
  toggleTreeNode: O
4125
- } = xs(e, t, o, i, l), {
4139
+ } = Fs(e, t, o, i, l), {
4126
4140
  toggleSelectHierarchyItem: M
4127
4141
  } = u, {
4128
4142
  cellKey: E,
@@ -4131,9 +4145,9 @@ function Fs(e, t, n, o, i, a, l, r, c, u, f) {
4131
4145
  rowPosition: $
4132
4146
  } = wn(e, n), {
4133
4147
  hierarchyCellContentStyle: L
4134
- } = ws(e, o, l), {
4148
+ } = Ss(e, o, l), {
4135
4149
  treeNodeIconsClass: N
4136
- } = Ss(e, S, T);
4150
+ } = xs(e, S, T);
4137
4151
  function H(W, K) {
4138
4152
  const de = W.raw[T.value];
4139
4153
  return {
@@ -4141,13 +4155,13 @@ function Fs(e, t, n, o, i, a, l, r, c, u, f) {
4141
4155
  "fv-tree-node-toggle-minus": de && !W.collapse
4142
4156
  };
4143
4157
  }
4144
- function U(W, K) {
4158
+ function q(W, K) {
4145
4159
  W.stopPropagation(), O(K);
4146
4160
  }
4147
4161
  function oe(W, K) {
4148
4162
  return w("div", {
4149
4163
  class: H(W),
4150
- onClick: (de) => U(de, W)
4164
+ onClick: (de) => q(de, W)
4151
4165
  }, null);
4152
4166
  }
4153
4167
  function pe(W, K) {
@@ -4213,7 +4227,7 @@ function Fs(e, t, n, o, i, a, l, r, c, u, f) {
4213
4227
  renderDataRow: we
4214
4228
  };
4215
4229
  }
4216
- function qo(e, t, n) {
4230
+ function Uo(e, t, n) {
4217
4231
  const {
4218
4232
  horizontalScrollThumbStyle: o,
4219
4233
  onMouseDownScrollThumb: i,
@@ -4232,7 +4246,7 @@ function qo(e, t, n) {
4232
4246
  renderHorizontalScrollbar: l
4233
4247
  };
4234
4248
  }
4235
- function _s(e, t, n, o, i) {
4249
+ function ks(e, t, n, o, i) {
4236
4250
  const {
4237
4251
  currentPage: a,
4238
4252
  pageSize: l,
@@ -4374,7 +4388,7 @@ function Ko(e, t, n, o, i) {
4374
4388
  renderDataGridSidebar: I
4375
4389
  };
4376
4390
  }
4377
- function ks(e, t, n) {
4391
+ function Is(e, t, n) {
4378
4392
  const {
4379
4393
  columnContext: o
4380
4394
  } = n, i = y(e.summary), a = R(() => {
@@ -4388,7 +4402,7 @@ function ks(e, t, n) {
4388
4402
  class: "fv-datagird-summary-panel"
4389
4403
  }, [w("span", {
4390
4404
  class: "fv-datagrid-summary-title"
4391
- }, [Ue("当页合计")]), w("div", {
4405
+ }, [qe("当页合计")]), w("div", {
4392
4406
  class: "fv-datagrid-summary-content"
4393
4407
  }, [o.value.summaryColumns.map((r) => w("div", {
4394
4408
  class: "fv-datagrid-summary-field"
@@ -4421,7 +4435,7 @@ function Xo(e, t, n) {
4421
4435
  renderVerticalScrollbar: l
4422
4436
  };
4423
4437
  }
4424
- function Is() {
4438
+ function Ts() {
4425
4439
  function e(o, i) {
4426
4440
  switch (o.command) {
4427
4441
  case "edit":
@@ -4446,27 +4460,27 @@ function Is() {
4446
4460
  }
4447
4461
  }
4448
4462
  function n(o, i) {
4449
- return w("div", null, [o.commands && o.commands.map((a) => e(a, i) && w(Ye("f-button"), {
4463
+ return w("div", null, [o.commands && o.commands.map((a) => e(a, i) && w(Je("f-button"), {
4450
4464
  class: "ml-2",
4451
4465
  type: a.type,
4452
4466
  size: a.size || "small",
4453
4467
  onClick: (l) => t(a, l, i)
4454
4468
  }, {
4455
- default: () => [Ue(" "), a.text, Ue(" ")]
4469
+ default: () => [qe(" "), a.text, qe(" ")]
4456
4470
  }))]);
4457
4471
  }
4458
4472
  return {
4459
4473
  renderCommandColumn: n
4460
4474
  };
4461
4475
  }
4462
- function Ts(e) {
4476
+ function Ms(e) {
4463
4477
  function t() {
4464
4478
  return w("div", {
4465
4479
  class: "d-flex flex-column f-datagrid-norecords"
4466
4480
  }, [w("div", {
4467
4481
  class: "f-datagrid-norecords-content",
4468
4482
  style: "margin: 0;width: 100%;position: relative; top: 0"
4469
- }, [Ue(" "), e.slots.empty && e.slots.empty() || "暂无数据"])]);
4483
+ }, [qe(" "), e.slots.empty && e.slots.empty() || "暂无数据"])]);
4470
4484
  }
4471
4485
  return {
4472
4486
  renderEmpty: t
@@ -4594,23 +4608,23 @@ function Jo(e) {
4594
4608
  updateColumnSettingIcon: r
4595
4609
  };
4596
4610
  }
4597
- const Ms = [{
4611
+ const Os = [{
4598
4612
  name: "是",
4599
4613
  value: !0
4600
4614
  }, {
4601
4615
  name: "否",
4602
4616
  value: !1
4603
4617
  }];
4604
- function Os(e) {
4618
+ function Bs(e) {
4605
4619
  return e.filter = e.filter || function(t) {
4606
4620
  return String(e.filterValue).split(",").includes(String(t[e.field]));
4607
- }, w("div", null, [w(Ye("f-checkbox-group"), {
4621
+ }, w("div", null, [w(Je("f-checkbox-group"), {
4608
4622
  modelValue: e.filterValue,
4609
4623
  "onUpdate:modelValue": (t) => e.filterValue = t,
4610
- "enum-data": Ms
4624
+ "enum-data": Os
4611
4625
  }, null)]);
4612
4626
  }
4613
- const Bs = y([{
4627
+ const Ps = y([{
4614
4628
  name: "七天",
4615
4629
  selectable: !0
4616
4630
  }, {
@@ -4623,7 +4637,7 @@ const Bs = y([{
4623
4637
  name: "半年",
4624
4638
  selectable: !0
4625
4639
  }]);
4626
- function Ps(e) {
4640
+ function Vs(e) {
4627
4641
  const t = y(!1);
4628
4642
  return e.filter = e.filter || function(n) {
4629
4643
  const o = new Date(new Date(e.filterValue).toLocaleDateString()).valueOf();
@@ -4634,21 +4648,21 @@ function Ps(e) {
4634
4648
  style: "display:flex;margin-bottom:6px;"
4635
4649
  }, [w("label", {
4636
4650
  style: "margin-right:8px"
4637
- }, [Ue("按区间筛选")]), w(Ye("f-switch"), {
4651
+ }, [qe("按区间筛选")]), w(Je("f-switch"), {
4638
4652
  modelValue: t.value,
4639
4653
  "onUpdate:modelValue": (n) => t.value = n,
4640
4654
  size: "small"
4641
- }, null)]), w(Ye("f-date-picker"), {
4655
+ }, null)]), w(Je("f-date-picker"), {
4642
4656
  modelValue: e.filterValue,
4643
4657
  "onUpdate:modelValue": (n) => e.filterValue = n
4644
- }, null), w(Ye("f-tags"), {
4658
+ }, null), w(Je("f-tags"), {
4645
4659
  style: "margin-top:10px",
4646
- data: Bs.value,
4660
+ data: Ps.value,
4647
4661
  selectable: !0,
4648
4662
  "tag-style": "capsule"
4649
4663
  }, null)]);
4650
4664
  }
4651
- function Vs(e) {
4665
+ function Es(e) {
4652
4666
  e.filter = e.filter || function(n) {
4653
4667
  const o = Number.parseFloat(e.filterValue), i = Number.parseFloat(n[e.field]);
4654
4668
  return isNaN(o) ? isNaN(i) : o === i;
@@ -4656,14 +4670,14 @@ function Vs(e) {
4656
4670
  function t(n) {
4657
4671
  e.filterValue = n;
4658
4672
  }
4659
- return w("div", null, [w(Ye("f-number-spinner"), {
4673
+ return w("div", null, [w(Je("f-number-spinner"), {
4660
4674
  "can-null": !0,
4661
4675
  precision: "2",
4662
4676
  value: e.filterValue,
4663
4677
  onValueChange: t
4664
4678
  }, null)]);
4665
4679
  }
4666
- function Es(e, t, n, o, i, a) {
4680
+ function Ds(e, t, n, o, i, a) {
4667
4681
  e.filterHistory = e.filterHistory || i.getFilterHistory(e), e.filter = e.filter || function(p) {
4668
4682
  return (p[e.field] || "").startsWith(e.filterValue);
4669
4683
  };
@@ -4682,14 +4696,14 @@ function Es(e, t, n, o, i, a) {
4682
4696
  }));
4683
4697
  return w("div", {
4684
4698
  style: "display:flex;flex-direction:column;"
4685
- }, [w(Ye("f-search-box"), {
4699
+ }, [w(Je("f-search-box"), {
4686
4700
  modelValue: e.filterValue,
4687
4701
  "onUpdate:modelValue": (p) => e.filterValue = p,
4688
4702
  "popup-host": t.value,
4689
4703
  "popup-right-boundary": n.value,
4690
4704
  "popup-offset-x": a.offsetX,
4691
4705
  "recommended-data": s
4692
- }, null), w(Ye("f-tags"), {
4706
+ }, null), w(Je("f-tags"), {
4693
4707
  style: "margin-top:10px",
4694
4708
  "tag-type": "default",
4695
4709
  data: e.filterHistory,
@@ -4700,7 +4714,7 @@ function Es(e, t, n, o, i, a) {
4700
4714
  onChange: c
4701
4715
  }, null)]);
4702
4716
  }
4703
- function Ds(e, t, n, o, i, a) {
4717
+ function Rs(e, t, n, o, i, a) {
4704
4718
  e.filter = e.filter || function(C) {
4705
4719
  return String(e.filterValue).split(",").includes(String(C[e.field]));
4706
4720
  };
@@ -4717,7 +4731,7 @@ function Ds(e, t, n, o, i, a) {
4717
4731
  function p(C) {
4718
4732
  e.filterValue = s(C);
4719
4733
  }
4720
- return w(Ye("f-list-view"), {
4734
+ return w(Je("f-list-view"), {
4721
4735
  data: u,
4722
4736
  "multi-select": !0,
4723
4737
  "multi-select-mode": "OnCheckAndClick",
@@ -4728,10 +4742,10 @@ function Ds(e, t, n, o, i, a) {
4728
4742
  "selection-values": f(e.filterValue),
4729
4743
  onSelectChange: (C) => p(C)
4730
4744
  }, {
4731
- default: () => [Ue(" ")]
4745
+ default: () => [qe(" ")]
4732
4746
  });
4733
4747
  }
4734
- function Rs(e) {
4748
+ function $s(e) {
4735
4749
  y("请输入关键词"), y('<i class="f-icon f-icon-search"></i>');
4736
4750
  const t = [{
4737
4751
  name: "发票类型",
@@ -4764,13 +4778,13 @@ function Rs(e) {
4764
4778
  name: "所属单位",
4765
4779
  checked: !1
4766
4780
  }];
4767
- return w(Ye("f-list-view"), {
4781
+ return w(Je("f-list-view"), {
4768
4782
  data: t,
4769
4783
  "multi-select": !0,
4770
4784
  view: "SingleView",
4771
4785
  size: "Small"
4772
4786
  }, {
4773
- default: () => [Ue(" ")]
4787
+ default: () => [qe(" ")]
4774
4788
  });
4775
4789
  }
4776
4790
  function Qo(e, t, n, o, i) {
@@ -4784,12 +4798,12 @@ function Qo(e, t, n, o, i) {
4784
4798
  ["enum", "enum-filter"],
4785
4799
  ["reference", "list-filter"]
4786
4800
  ]), l = /* @__PURE__ */ new Map([
4787
- ["boolean-filter", Os],
4788
- ["date-filter", Ps],
4789
- ["enum-filter", Ds],
4790
- ["list-filter", Rs],
4791
- ["numeric-filter", Vs],
4792
- ["text-filter", Es]
4801
+ ["boolean-filter", Bs],
4802
+ ["date-filter", Vs],
4803
+ ["enum-filter", Rs],
4804
+ ["list-filter", $s],
4805
+ ["numeric-filter", Es],
4806
+ ["text-filter", Ds]
4793
4807
  ]);
4794
4808
  function r(c) {
4795
4809
  var p, C;
@@ -5119,7 +5133,7 @@ const oi = {
5119
5133
  */
5120
5134
  isControlInline: { type: Boolean, default: !0 }
5121
5135
  };
5122
- class $s {
5136
+ class Ns {
5123
5137
  constructor(t = { value: [] }) {
5124
5138
  A(this, "editorType", "check-box");
5125
5139
  A(this, "value");
@@ -5139,7 +5153,7 @@ class $s {
5139
5153
  return this.value.length === 0;
5140
5154
  }
5141
5155
  }
5142
- class Ns {
5156
+ class js {
5143
5157
  constructor(t = { textValue: "", value: "", valueField: "" }) {
5144
5158
  A(this, "editorType", "combo-lookup");
5145
5159
  A(this, "textValue");
@@ -5159,11 +5173,11 @@ class Ns {
5159
5173
  return t[n[0]];
5160
5174
  }
5161
5175
  getTextValue(t) {
5162
- const n = t.split("."), o = this.value.split(",").map((i) => this.getPropValue(i, Qe(n)));
5176
+ const n = t.split("."), o = this.value.split(",").map((i) => this.getPropValue(i, Ye(n)));
5163
5177
  return o && o.length ? o.join(",") : "";
5164
5178
  }
5165
5179
  getValue() {
5166
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Qe(t)));
5180
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Ye(t)));
5167
5181
  return n && n.length ? n.join(",") : "";
5168
5182
  }
5169
5183
  setValue(t) {
@@ -5173,7 +5187,7 @@ class Ns {
5173
5187
  return !this.valueField;
5174
5188
  }
5175
5189
  }
5176
- class js {
5190
+ class Ls {
5177
5191
  constructor(t = { value: "" }) {
5178
5192
  A(this, "editorType", "date-picker");
5179
5193
  A(this, "value");
@@ -5214,7 +5228,7 @@ class An {
5214
5228
  return !this.begin || !this.end;
5215
5229
  }
5216
5230
  }
5217
- class Ls {
5231
+ class Hs {
5218
5232
  constructor(t = { value: "" }) {
5219
5233
  A(this, "editorType", "datetime-picker");
5220
5234
  A(this, "value");
@@ -5234,7 +5248,7 @@ class Ls {
5234
5248
  return !this.value;
5235
5249
  }
5236
5250
  }
5237
- class Hs {
5251
+ class As {
5238
5252
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
5239
5253
  constructor(t = { value: "", dispalyText: "" }) {
5240
5254
  A(this, "editorType", "combo-list");
@@ -5257,7 +5271,7 @@ class Hs {
5257
5271
  return !this.displayText && !this.value;
5258
5272
  }
5259
5273
  }
5260
- class As {
5274
+ class zs {
5261
5275
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
5262
5276
  A(this, "editorType", "input-group");
5263
5277
  // 通过弹窗返回的若干个值对象构成的数组
@@ -5282,21 +5296,21 @@ class As {
5282
5296
  return t[n[0]];
5283
5297
  }
5284
5298
  getTextValue(t) {
5285
- const n = t.split("."), o = this.value.map((i) => this.getPropValue(i, Qe(n)));
5299
+ const n = t.split("."), o = this.value.map((i) => this.getPropValue(i, Ye(n)));
5286
5300
  return o && o.length ? o.join(",") : "";
5287
5301
  }
5288
5302
  getValue() {
5289
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Qe(t)));
5303
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Ye(t)));
5290
5304
  return n && n.length ? n.join(",") : "";
5291
5305
  }
5292
5306
  setValue(t) {
5293
5307
  throw new Error("Method not implemented.");
5294
5308
  }
5295
5309
  isEmpty() {
5296
- return !this.displayText && !this.value;
5310
+ return !this.displayText && !this.value.length;
5297
5311
  }
5298
5312
  }
5299
- class zs {
5313
+ class Gs {
5300
5314
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
5301
5315
  A(this, "editorType", "lookup");
5302
5316
  A(this, "textValue");
@@ -5332,7 +5346,7 @@ class zs {
5332
5346
  return !this.value.length;
5333
5347
  }
5334
5348
  }
5335
- class Gs {
5349
+ class Ws {
5336
5350
  constructor(t = { value: "" }) {
5337
5351
  A(this, "editorType", "month-picker");
5338
5352
  A(this, "value");
@@ -5352,7 +5366,7 @@ class Gs {
5352
5366
  return !this.value;
5353
5367
  }
5354
5368
  }
5355
- class Ws {
5369
+ class qs {
5356
5370
  constructor(t = { begin: "", end: "" }) {
5357
5371
  A(this, "editorType", "month-range");
5358
5372
  A(this, "begin");
@@ -5397,7 +5411,7 @@ class Us {
5397
5411
  return this.begin == null && this.end == null;
5398
5412
  }
5399
5413
  }
5400
- class qs {
5414
+ class Ks {
5401
5415
  constructor(t = { value: "" }) {
5402
5416
  A(this, "editorType", "number-spinner");
5403
5417
  A(this, "value");
@@ -5414,10 +5428,10 @@ class qs {
5414
5428
  this.value = isNaN(parseFloat(t)) ? null : t;
5415
5429
  }
5416
5430
  isEmpty() {
5417
- return this.value == null;
5431
+ return this.value == null || isNaN(this.value);
5418
5432
  }
5419
5433
  }
5420
- class Ks {
5434
+ class Xs {
5421
5435
  constructor(t = { value: null }) {
5422
5436
  A(this, "editorType", "radio-group");
5423
5437
  A(this, "value");
@@ -5461,33 +5475,33 @@ function ai() {
5461
5475
  function e(t, n) {
5462
5476
  switch (t) {
5463
5477
  case "check-box":
5464
- return new $s(n);
5478
+ return new Ns(n);
5465
5479
  case "combo-list":
5466
- return new Hs(n);
5480
+ return new As(n);
5467
5481
  case "combo-lookup":
5468
- return new Ns(n);
5482
+ return new js(n);
5469
5483
  case "input-group":
5470
- return new As(n);
5484
+ return new zs(n);
5471
5485
  case "date-picker":
5472
- return new js(n);
5486
+ return new Ls(n);
5473
5487
  case "date-range":
5474
5488
  return new An(n);
5475
5489
  case "datetime-picker":
5476
- return new Ls(n);
5490
+ return new Hs(n);
5477
5491
  case "datetime-range":
5478
5492
  return new An(n);
5479
5493
  case "lookup":
5480
- return new zs(n);
5481
- case "month-picker":
5482
5494
  return new Gs(n);
5483
- case "month-range":
5495
+ case "month-picker":
5484
5496
  return new Ws(n);
5497
+ case "month-range":
5498
+ return new qs(n);
5485
5499
  case "number-range":
5486
5500
  return new Us(n);
5487
5501
  case "number-spinner":
5488
- return new qs(n);
5489
- case "radio-group":
5490
5502
  return new Ks(n);
5503
+ case "radio-group":
5504
+ return new Xs(n);
5491
5505
  default:
5492
5506
  return new ii(n);
5493
5507
  }
@@ -5526,7 +5540,7 @@ function li(e, t) {
5526
5540
  }
5527
5541
  return { convertToSingleControl: r, fields: n, fieldMap: i, fieldConditions: o, loadFieldConfigs: c, initialConditionValue: u };
5528
5542
  }
5529
- function Xs(e, t, n) {
5543
+ function Ys(e, t, n) {
5530
5544
  const o = y(null), i = y(n), a = y(0);
5531
5545
  function l(f, s) {
5532
5546
  let p = null;
@@ -5564,7 +5578,7 @@ const zn = /* @__PURE__ */ ge({
5564
5578
  initialConditionValue: r,
5565
5579
  fieldMap: c,
5566
5580
  loadFieldConfigs: u
5567
- } = l, f = Xs(e, t, n), {
5581
+ } = l, f = Ys(e, t, n), {
5568
5582
  conditionClass: s,
5569
5583
  resizeObserver: p
5570
5584
  } = f;
@@ -5606,10 +5620,10 @@ const zn = /* @__PURE__ */ ge({
5606
5620
  }
5607
5621
  }), xn = /* @__PURE__ */ new Map([
5608
5622
  ["appearance", ot]
5609
- ]), Ys = /* @__PURE__ */ new Map([]);
5623
+ ]), Js = /* @__PURE__ */ new Map([]);
5610
5624
  var ri = /* @__PURE__ */ ((e) => (e.SimpleField = "SimpleField", e.ComplexField = "ComplexField", e))(ri || {}), Pt = /* @__PURE__ */ ((e) => (e.String = "String", e.DateTime = "DateTime", e.Date = "Date", e.Enum = "Enum", e.Boolean = "Boolean", e.Number = "Number", e.Text = "Text", e.BigNumber = "BigNumber", e))(Pt || {});
5611
- const Js = "root-viewmodel";
5612
- class Qs {
5625
+ const Qs = "root-viewmodel";
5626
+ class Zs {
5613
5627
  constructor(t, n) {
5614
5628
  A(this, "formSchemaUtils");
5615
5629
  A(this, "controlCreatorUtils");
@@ -5666,7 +5680,7 @@ class Qs {
5666
5680
  }), n.contents = [o];
5667
5681
  const { selectedFields: a } = t;
5668
5682
  a == null || a.forEach((r) => {
5669
- const c = Qe(r), u = this.resolveControlClassByFormColumns(t), f = this.controlCreatorUtils.setFormFieldProperty(c, "", u);
5683
+ const c = Ye(r), u = this.resolveControlClassByFormColumns(t), f = this.controlCreatorUtils.setFormFieldProperty(c, "", u);
5670
5684
  f && i.push(f);
5671
5685
  });
5672
5686
  const { templateId: l } = this.formSchemaUtils.getFormSchema().module;
@@ -5703,7 +5717,7 @@ class Qs {
5703
5717
  code: `${t.componentId}-component-viewmodel`,
5704
5718
  name: t.componentName,
5705
5719
  bindTo: t.bindTo,
5706
- parent: Js,
5720
+ parent: Qs,
5707
5721
  fields: this.assembleViewModelFields(t),
5708
5722
  commands: [],
5709
5723
  states: [],
@@ -5730,7 +5744,7 @@ class Qs {
5730
5744
  }), n;
5731
5745
  }
5732
5746
  }
5733
- function Zs(e, t, n, o) {
5747
+ function eu(e, t, n, o) {
5734
5748
  var a, l, r, c, u;
5735
5749
  const i = n.parentComponentInstance;
5736
5750
  if (i && o) {
@@ -5743,14 +5757,14 @@ function Zs(e, t, n, o) {
5743
5757
  bindTo: ((c = n.bindingSourceContext) == null ? void 0 : c.bindTo) || "/",
5744
5758
  selectedFields: (u = n.bindingSourceContext) == null ? void 0 : u.bindingEntityFields
5745
5759
  };
5746
- return new Qs(e, o).createComponent(p);
5760
+ return new Zs(e, o).createComponent(p);
5747
5761
  } else
5748
5762
  return t;
5749
5763
  }
5750
- function eu(e, t, n) {
5764
+ function tu(e, t, n) {
5751
5765
  return t;
5752
5766
  }
5753
- const tu = "https://json-schema.org/draft/2020-12/schema", nu = "https://farris-design.gitee.io/response-form.schema.json", ou = "response-form", iu = "A Farris Data Collection Component", au = "object", lu = {
5767
+ const nu = "https://json-schema.org/draft/2020-12/schema", ou = "https://farris-design.gitee.io/response-form.schema.json", iu = "response-form", au = "A Farris Data Collection Component", lu = "object", ru = {
5754
5768
  id: {
5755
5769
  description: "The unique identifier for a form group",
5756
5770
  type: "string"
@@ -5778,23 +5792,24 @@ const tu = "https://json-schema.org/draft/2020-12/schema", nu = "https://farris-
5778
5792
  type: "array",
5779
5793
  default: []
5780
5794
  }
5781
- }, ru = [
5795
+ }, su = [
5782
5796
  "id",
5783
- "type"
5784
- ], su = {
5785
- $schema: tu,
5786
- $id: nu,
5787
- title: ou,
5788
- description: iu,
5789
- type: au,
5790
- properties: lu,
5791
- required: ru
5792
- }, uu = {
5797
+ "type",
5798
+ "contents"
5799
+ ], uu = {
5800
+ $schema: nu,
5801
+ $id: ou,
5802
+ title: iu,
5803
+ description: au,
5804
+ type: lu,
5805
+ properties: ru,
5806
+ required: su
5807
+ }, cu = {
5793
5808
  customClass: { type: String, default: "" },
5794
5809
  customStyle: { type: String, defaut: "" }
5795
5810
  };
5796
- Le(uu, su, xn, Zs);
5797
- const cu = "https://json-schema.org/draft/2020-12/schema", du = "https://farris-design.gitee.io/form-group.schema.json", fu = "form-group", pu = "A Farris Input Component", mu = "object", gu = {
5811
+ Le(cu, uu, xn, eu);
5812
+ const du = "https://json-schema.org/draft/2020-12/schema", fu = "https://farris-design.gitee.io/form-group.schema.json", pu = "form-group", mu = "A Farris Input Component", gu = "object", hu = {
5798
5813
  id: {
5799
5814
  description: "The unique identifier for a form group",
5800
5815
  type: "string"
@@ -5824,7 +5839,8 @@ const cu = "https://json-schema.org/draft/2020-12/schema", du = "https://farris-
5824
5839
  },
5825
5840
  editor: {
5826
5841
  description: "",
5827
- type: "obejct"
5842
+ type: "obejct",
5843
+ default: {}
5828
5844
  },
5829
5845
  label: {
5830
5846
  description: "",
@@ -5840,17 +5856,18 @@ const cu = "https://json-schema.org/draft/2020-12/schema", du = "https://farris-
5840
5856
  type: "object",
5841
5857
  default: {}
5842
5858
  }
5843
- }, hu = [
5859
+ }, vu = [
5844
5860
  "id",
5845
- "type"
5861
+ "type",
5862
+ "editor"
5846
5863
  ], si = {
5847
- $schema: cu,
5848
- $id: du,
5849
- title: fu,
5850
- description: pu,
5851
- type: mu,
5852
- properties: gu,
5853
- required: hu
5864
+ $schema: du,
5865
+ $id: fu,
5866
+ title: pu,
5867
+ description: mu,
5868
+ type: gu,
5869
+ properties: hu,
5870
+ required: vu
5854
5871
  }, ui = {
5855
5872
  id: { type: String, default: "" },
5856
5873
  customClass: { type: String, default: "" },
@@ -5872,7 +5889,7 @@ Le(
5872
5889
  xn,
5873
5890
  void 0
5874
5891
  );
5875
- function vu() {
5892
+ function yu() {
5876
5893
  function e(t, n) {
5877
5894
  var l;
5878
5895
  if (!t)
@@ -5887,14 +5904,14 @@ function vu() {
5887
5904
  basalDragulaRuleForContainer: e
5888
5905
  };
5889
5906
  }
5890
- const yu = {
5907
+ const bu = {
5891
5908
  id: { type: String },
5892
5909
  required: { type: Boolean, default: !1 },
5893
5910
  text: { type: String, default: "" },
5894
5911
  title: { type: String }
5895
- }, bu = /* @__PURE__ */ ge({
5912
+ }, Cu = /* @__PURE__ */ ge({
5896
5913
  name: "FDynamicFormLabel",
5897
- props: yu,
5914
+ props: bu,
5898
5915
  emits: [],
5899
5916
  setup(e, t) {
5900
5917
  const n = y(e.title || e.text), o = y(e.required), i = y(e.text);
@@ -5907,17 +5924,17 @@ const yu = {
5907
5924
  title: n.value
5908
5925
  }, [o.value && w("span", {
5909
5926
  class: "farris-label-info text-danger"
5910
- }, [Ue("*")]), w("span", {
5927
+ }, [qe("*")]), w("span", {
5911
5928
  class: "farris-label-text"
5912
5929
  }, [i.value])]);
5913
5930
  }
5914
- }), Cu = /* @__PURE__ */ new Map([
5931
+ }), wu = /* @__PURE__ */ new Map([
5915
5932
  ["appearance", ot]
5916
5933
  ]);
5917
- function wu(e, t, n) {
5934
+ function Su(e, t, n) {
5918
5935
  return t;
5919
5936
  }
5920
- const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-design.gitee.io/input-group.schema.json", Fu = "input-group", _u = "A Farris Input Component", ku = "object", Iu = {
5937
+ const xu = "https://json-schema.org/draft/2020-12/schema", Fu = "https://farris-design.gitee.io/input-group.schema.json", _u = "input-group", ku = "A Farris Input Component", Iu = "object", Tu = {
5921
5938
  id: {
5922
5939
  description: "The unique identifier for a Input Group",
5923
5940
  type: "string"
@@ -6114,23 +6131,22 @@ const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-
6114
6131
  type: "string",
6115
6132
  default: ""
6116
6133
  }
6117
- }, Tu = [
6118
- "id",
6134
+ }, Mu = [
6119
6135
  "type"
6120
- ], Mu = [
6136
+ ], Ou = [
6121
6137
  "id",
6122
6138
  "appearance",
6123
6139
  "binding",
6124
6140
  "visible"
6125
- ], Ou = {
6126
- $schema: Su,
6127
- $id: xu,
6128
- title: Fu,
6129
- description: _u,
6130
- type: ku,
6131
- properties: Iu,
6132
- required: Tu,
6133
- ignore: Mu
6141
+ ], Bu = {
6142
+ $schema: xu,
6143
+ $id: Fu,
6144
+ title: _u,
6145
+ description: ku,
6146
+ type: Iu,
6147
+ properties: Tu,
6148
+ required: Mu,
6149
+ ignore: Ou
6134
6150
  }, ci = {
6135
6151
  id: { Type: String, default: "" },
6136
6152
  /** 是否自动完成 */
@@ -6199,15 +6215,15 @@ const Su = "https://json-schema.org/draft/2020-12/schema", xu = "https://farris-
6199
6215
  */
6200
6216
  updateOn: { type: String, default: "blur" }
6201
6217
  };
6202
- Le(ci, Ou, Cu, wu);
6203
- function Bu(e, t) {
6218
+ Le(ci, Bu, wu, Su);
6219
+ function Pu(e, t) {
6204
6220
  const n = y(e.groupText), o = R(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), i = R(() => e.enableClear || !!e.groupText);
6205
6221
  return { appendedButtonClass: R(() => ({
6206
6222
  "input-group-append": !0,
6207
6223
  "append-force-show": o.value
6208
6224
  })), appendedContent: n, shouldShowAppendedButton: i };
6209
6225
  }
6210
- function Pu(e, t, n, o) {
6226
+ function Vu(e, t, n, o) {
6211
6227
  const { appendedContent: i } = o, a = y(e.enableViewPassword), l = R(() => e.type === "password"), r = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', c = '<span class="f-icon f-icon-eye"></span>', u = y(!1);
6212
6228
  G(() => [e.readonly, e.disabled], ([p, C]) => {
6213
6229
  l.value && (n.value = p || C ? "password" : n.value, i.value = p || C ? c : i.value);
@@ -6220,7 +6236,7 @@ function Pu(e, t, n, o) {
6220
6236
  }
6221
6237
  return s(), { isPassword: l, onClickAppendedButton: f };
6222
6238
  }
6223
- function Vu(e, t, n) {
6239
+ function Eu(e, t, n) {
6224
6240
  const o = y(), {
6225
6241
  onBlurTextBox: i,
6226
6242
  onFocusTextBox: a,
@@ -6260,7 +6276,7 @@ function Vu(e, t, n) {
6260
6276
  onKeydown: r
6261
6277
  }, null);
6262
6278
  }
6263
- function Eu(e, t, n) {
6279
+ function Du(e, t, n) {
6264
6280
  const {
6265
6281
  canDownward: o,
6266
6282
  canUpward: i,
@@ -6301,12 +6317,12 @@ function Eu(e, t, n) {
6301
6317
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
6302
6318
  }, null)])]);
6303
6319
  }
6304
- function Du(e, t) {
6305
- const n = Ga(e, t), o = Wa(e, t, n), i = Ua(e, t, o, n), a = qa(e, t, o, n, i), l = Eu(e, t, i), {
6320
+ function Ru(e, t) {
6321
+ const n = Ga(e, t), o = Wa(e, t, n), i = qa(e, t, o, n), a = Ua(e, t, o, n, i), l = Du(e, t, i), {
6306
6322
  displayValue: r,
6307
6323
  modelValue: c,
6308
6324
  getRealValue: u
6309
- } = n, f = Vu(e, t, a), {
6325
+ } = n, f = Eu(e, t, a), {
6310
6326
  format: s
6311
6327
  } = o, {
6312
6328
  isFocus: p
@@ -6325,7 +6341,7 @@ function Du(e, t) {
6325
6341
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
6326
6342
  }, [f(), C.value && l()]);
6327
6343
  }
6328
- function Ru(e, t, n, o) {
6344
+ function $u(e, t, n, o) {
6329
6345
  const i = y(), a = y(e.autocomplete), l = y(e.enableTitle), {
6330
6346
  isPassword: r
6331
6347
  } = n, c = y(e.minLength), u = y(e.maxLength), f = y(e.tabIndex), {
@@ -6371,7 +6387,7 @@ function Ru(e, t, n, o) {
6371
6387
  onMousedown: k
6372
6388
  }, null);
6373
6389
  }
6374
- function $u(e, t) {
6390
+ function Nu(e, t) {
6375
6391
  const n = R(() => e.useExtendInfo && !!e.extendInfo), o = ze({
6376
6392
  content: e.extendInfo
6377
6393
  });
@@ -6387,7 +6403,7 @@ function $u(e, t) {
6387
6403
  class: "tips-arrow"
6388
6404
  }, null)]), [[da("tooltip"), o]]);
6389
6405
  }
6390
- function Nu(e, t, n, o, i) {
6406
+ function ju(e, t, n, o, i) {
6391
6407
  const {
6392
6408
  appendedButtonClass: a,
6393
6409
  appendedContent: l
@@ -6439,7 +6455,7 @@ function Nu(e, t, n, o, i) {
6439
6455
  class: a.value
6440
6456
  }, [C.value && v(), _ && _()]);
6441
6457
  }
6442
- const ju = /* @__PURE__ */ ge({
6458
+ const Lu = /* @__PURE__ */ ge({
6443
6459
  name: "FInputGroup",
6444
6460
  props: ci,
6445
6461
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -6448,12 +6464,12 @@ const ju = /* @__PURE__ */ ge({
6448
6464
  inputGroupClass: a,
6449
6465
  inputType: l,
6450
6466
  inputGroupStyle: r
6451
- } = i, c = Bu(e), {
6467
+ } = i, c = Pu(e), {
6452
6468
  shouldShowAppendedButton: u
6453
6469
  } = c, f = $a(e, t, i), {
6454
6470
  onMouseEnter: s,
6455
6471
  onMouseLeave: p
6456
- } = f, C = Pu(e, t, l, c), v = Du(e, t), F = Ru(e, t, C, i), h = Nu(e, t, c, f, C), m = $u(e, t), d = R(() => e.type === "number");
6472
+ } = f, C = Vu(e, t, l, c), v = Ru(e, t), F = $u(e, t, C, i), h = ju(e, t, c, f, C), m = Nu(e, t), d = R(() => e.type === "number");
6457
6473
  G(() => [e.value], ([k]) => {
6458
6474
  n.value = k, o.value = k;
6459
6475
  }), G(() => [e.modelValue], ([k]) => {
@@ -6461,24 +6477,24 @@ const ju = /* @__PURE__ */ ge({
6461
6477
  }), ke(() => {
6462
6478
  e.value && (n.value = e.value, o.value = e.value);
6463
6479
  });
6464
- const g = () => w(Je, null, [w("div", {
6480
+ const g = () => w(Qe, null, [w("div", {
6465
6481
  id: e.id,
6466
6482
  class: a.value,
6467
6483
  style: r.value,
6468
6484
  onMouseenter: s,
6469
6485
  onMouseleave: p
6470
- }, [d.value ? v() : w(Je, null, [m(), F(), u.value && h()])])]);
6486
+ }, [d.value ? v() : w(Qe, null, [m(), F(), u.value && h()])])]);
6471
6487
  return () => g();
6472
6488
  }
6473
6489
  }), Q = {}, Z = {}, ee = {}, te = {};
6474
6490
  let Gn = !1;
6475
- function Lu() {
6491
+ function Hu() {
6476
6492
  Gn || (Gn = !0, Xa.register(Q, Z, ee, te), Ka.register(Q, Z, ee, te), Io.register(Q, Z, ee, te), Ya.register(Q, Z, ee, te), Ja.register(Q, Z, ee, te), Qa.register(Q, Z, ee, te), Oa.register(Q, Z, ee, te), Xt.register(Q, Z, ee, te), Za.register(Q, Z, ee, te), el.register(Q, Z, ee, te), nl.register(Q, Z, ee, te), tl.register(Q, Z, ee, te), ol.register(Q, Z, ee, te), il.register(Q, Z, ee, te), al.register(Q, Z, ee, te), Va.register(Q, Z, ee, te), ll.register(Q, Z, ee, te), Ba.register(Q, Z, ee, te), rl.register(Q, Z, ee, te), ul.register(Q, Z, ee, te), cl.register(Q, Z, ee, te), dl.register(Q, Z, ee, te), To.register(Q, Z, ee, te), fl.register(Q, Z, ee, te), pl.register(Q, Z, ee, te), ml.register(Q, Z, ee, te), gl.register(Q, Z, ee, te), hl.register(Q, Z, ee, te), za.register(Q, Z, ee, te), Ma.register(Q, Z, ee, te), vl.register(Q, Z, ee, te), yl.register(Q, Z, ee, te), ko.register(Q, Z, ee, te), bl.register(Q, Z, ee, te), Cl.register(Q, Z, ee, te), wl.register(Q, Z, ee, te), Sl.register(Q, Z, ee, te), Fl.register(Q, Z, ee, te), _l.register(Q, Z, ee, te), xl.register(Q, Z, ee, te), Ll.register(Q, Z, ee), kl.register(Q, Z, ee, te), Il.register(Q, Z, ee, te), Tl.register(Q, Z, ee, te), Ml.register(Q, Z, ee, te), Ol.register(Q, Z, ee, te), Bl.register(Q, Z, ee, te), Ta.register(Q, Z, ee, te), to.register(Q, Z, ee, te), Pl.register(Q, Z, ee, te), Vl.register(Q, Z, ee, te), Ia.register(Q, Z, ee, te), El.register(Q, Z, ee, te), Rl.register(Q, Z, ee, te), Dl.register(Q, Z, ee, te), $l.register(Q, Z, ee, te), Nl.register(Q, Z, ee, te), jl.register(Q, Z, ee, te), Hl.register(Q, Z, ee, te), sl.register(Q, Z, ee, te), Al.register(Q, Z, ee, te));
6477
6493
  }
6478
- function Hu() {
6479
- Lu();
6494
+ function Au() {
6495
+ Hu();
6480
6496
  function e(i) {
6481
- return Q[i] || ju;
6497
+ return Q[i] || Lu;
6482
6498
  }
6483
6499
  function t(i, a) {
6484
6500
  const l = Z[i];
@@ -6558,7 +6574,7 @@ function Hu() {
6558
6574
  }
6559
6575
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
6560
6576
  }
6561
- const Au = /* @__PURE__ */ ge({
6577
+ const zu = /* @__PURE__ */ ge({
6562
6578
  name: "FDynamicFormGroup",
6563
6579
  props: ui,
6564
6580
  emits: ["change", "update:modelValue"],
@@ -6570,7 +6586,7 @@ const Au = /* @__PURE__ */ ge({
6570
6586
  resolveEditorType: C,
6571
6587
  getChangeFunctionName: v,
6572
6588
  getClearFunctionName: F
6573
- } = Hu(), h = R(() => ({
6589
+ } = Au(), h = R(() => ({
6574
6590
  "form-group": !0,
6575
6591
  "farris-form-group": !0,
6576
6592
  "common-group": !0,
@@ -6603,7 +6619,7 @@ const Au = /* @__PURE__ */ ge({
6603
6619
  class: "farris-group-wrap"
6604
6620
  }, [w("div", {
6605
6621
  class: h.value
6606
- }, [u.value && w(bu, {
6622
+ }, [u.value && w(Cu, {
6607
6623
  id: `${n.value}-lable`,
6608
6624
  required: c.value,
6609
6625
  text: a.value,
@@ -6612,8 +6628,8 @@ const Au = /* @__PURE__ */ ge({
6612
6628
  class: "farris-input-wrap"
6613
6629
  }, [g.value()])])])]);
6614
6630
  }
6615
- }), zu = {}, Gu = {};
6616
- class Wu extends Xe {
6631
+ }), Gu = {}, Wu = {};
6632
+ class qu extends Xe {
6617
6633
  constructor(t, n) {
6618
6634
  super(t, n);
6619
6635
  }
@@ -6639,7 +6655,7 @@ Le(
6639
6655
  xn,
6640
6656
  void 0
6641
6657
  );
6642
- const qu = "https://json-schema.org/draft/2020-12/schema", Ku = "https://farris-design.gitee.io/grid-field-editor.schema.json", Xu = "response-form-layout-setting", Yu = "A Farris Data Grid Component", Ju = "object", Qu = {
6658
+ const Ku = "https://json-schema.org/draft/2020-12/schema", Xu = "https://farris-design.gitee.io/grid-field-editor.schema.json", Yu = "response-form-layout-setting", Ju = "A Farris Data Grid Component", Qu = "object", Zu = {
6643
6659
  id: {
6644
6660
  description: "The unique identifier for a Input Group",
6645
6661
  type: "string"
@@ -6659,18 +6675,18 @@ const qu = "https://json-schema.org/draft/2020-12/schema", Ku = "https://farris-
6659
6675
  type: "Object",
6660
6676
  default: null
6661
6677
  }
6662
- }, Zu = [
6678
+ }, ec = [
6663
6679
  "id",
6664
6680
  "type"
6665
- ], ec = {
6666
- $schema: qu,
6667
- $id: Ku,
6668
- title: Xu,
6669
- description: Yu,
6670
- type: Ju,
6671
- properties: Qu,
6672
- required: Zu
6673
- }, tc = {
6681
+ ], tc = {
6682
+ $schema: Ku,
6683
+ $id: Xu,
6684
+ title: Yu,
6685
+ description: Ju,
6686
+ type: Qu,
6687
+ properties: Zu,
6688
+ required: ec
6689
+ }, nc = {
6674
6690
  initialState: {
6675
6691
  type: Object,
6676
6692
  default: {
@@ -6681,8 +6697,8 @@ const qu = "https://json-schema.org/draft/2020-12/schema", Ku = "https://farris-
6681
6697
  }
6682
6698
  }
6683
6699
  };
6684
- ya(tc, ec, Ys, eu);
6685
- const nc = {
6700
+ ya(nc, tc, Js, tu);
6701
+ const oc = {
6686
6702
  width: { Type: Number, default: 400 },
6687
6703
  type: { Type: String, default: "info" },
6688
6704
  title: { Type: String, default: "" },
@@ -6695,12 +6711,12 @@ const nc = {
6695
6711
  function Fn() {
6696
6712
  return new DOMException("The request is not allowed", "NotAllowedError");
6697
6713
  }
6698
- async function oc(e) {
6714
+ async function ic(e) {
6699
6715
  if (!navigator.clipboard)
6700
6716
  throw Fn();
6701
6717
  return navigator.clipboard.writeText(e);
6702
6718
  }
6703
- async function ic(e) {
6719
+ async function ac(e) {
6704
6720
  const t = document.createElement("span");
6705
6721
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
6706
6722
  const n = window.getSelection(), o = window.document.createRange();
@@ -6714,24 +6730,24 @@ async function ic(e) {
6714
6730
  if (!i)
6715
6731
  throw Fn();
6716
6732
  }
6717
- async function ac(e) {
6733
+ async function lc(e) {
6718
6734
  try {
6719
- await oc(e);
6735
+ await ic(e);
6720
6736
  } catch (t) {
6721
6737
  try {
6722
- await ic(e);
6738
+ await ac(e);
6723
6739
  } catch (n) {
6724
6740
  throw n || t || Fn();
6725
6741
  }
6726
6742
  }
6727
6743
  }
6728
- function lc() {
6744
+ function rc() {
6729
6745
  async function e(t) {
6730
- await ac(t);
6746
+ await lc(t);
6731
6747
  }
6732
6748
  return { onCopy: e };
6733
6749
  }
6734
- function rc(e, t, n, o) {
6750
+ function sc(e, t, n, o) {
6735
6751
  const i = y(14), a = y(140), l = y(""), r = y(o.value.length), c = R(() => o.value), u = R(() => ({
6736
6752
  "font-size": `${i.value}px`,
6737
6753
  height: "100%"
@@ -6742,7 +6758,7 @@ function rc(e, t, n, o) {
6742
6758
  r.value = p.length;
6743
6759
  }
6744
6760
  }
6745
- return () => w(Je, null, [w("textarea", {
6761
+ return () => w(Qe, null, [w("textarea", {
6746
6762
  title: "promptMessage",
6747
6763
  name: "promptMessage",
6748
6764
  class: "form-control",
@@ -6756,14 +6772,14 @@ function rc(e, t, n, o) {
6756
6772
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
6757
6773
  }, [r.value + " / " + a.value])]);
6758
6774
  }
6759
- function sc(e, t, n, o) {
6760
- const i = rc(e, t, n, o), a = /* @__PURE__ */ new Map([["text-area", i]]);
6775
+ function uc(e, t, n, o) {
6776
+ const i = sc(e, t, n, o), a = /* @__PURE__ */ new Map([["text-area", i]]);
6761
6777
  function l(r) {
6762
6778
  return a.get(r) || null;
6763
6779
  }
6764
6780
  return { getEditorRender: l };
6765
6781
  }
6766
- function uc() {
6782
+ function cc() {
6767
6783
  const e = y(!1), t = y("复制成功");
6768
6784
  return {
6769
6785
  feedbackStyle: R(() => {
@@ -6789,11 +6805,11 @@ function uc() {
6789
6805
  toShowFeedback: e
6790
6806
  };
6791
6807
  }
6792
- function cc(e, t) {
6808
+ function dc(e, t) {
6793
6809
  const n = t.getEditorRender(e.promptEditorType);
6794
6810
  return () => n && n();
6795
6811
  }
6796
- function dc(e) {
6812
+ function fc(e) {
6797
6813
  const t = y(3), n = y(480), o = R(() => !!e.value && !!e.value.date), i = R(() => `发生时间 : ${e.value && e.value.date || ""}`), a = R(() => !!e.value && !!e.value.detail), l = R(() => {
6798
6814
  const h = `${n.value}px`;
6799
6815
  return {
@@ -6826,7 +6842,7 @@ function dc(e) {
6826
6842
  id: "exception_error_msg",
6827
6843
  ref: "exceptionMessageRef",
6828
6844
  style: l.value
6829
- }, [Ue("详细信息 : "), w("span", {
6845
+ }, [qe("详细信息 : "), w("span", {
6830
6846
  innerHTML: r.value
6831
6847
  }, null)]), c.value && w("span", {
6832
6848
  style: p.value
@@ -6838,13 +6854,13 @@ function dc(e) {
6838
6854
  style: "cursor: pointer;"
6839
6855
  }, [f.value])])]);
6840
6856
  }
6841
- function fc(e) {
6857
+ function pc(e) {
6842
6858
  return () => w("p", {
6843
6859
  class: "toast-msg-detail",
6844
6860
  innerHTML: e.value
6845
6861
  }, null);
6846
6862
  }
6847
- function pc(e, t, n, o) {
6863
+ function mc(e, t, n, o) {
6848
6864
  const i = y(e.exceptionInfo), a = R(() => {
6849
6865
  const p = {
6850
6866
  "f-icon": !0
@@ -6852,10 +6868,10 @@ function pc(e, t, n, o) {
6852
6868
  return p[C] = !0, p;
6853
6869
  }), l = R(() => n.value || i.value && i.value.message), r = R(() => o.value), c = R(() => !!o.value), u = R(() => !!i.value);
6854
6870
  function f() {
6855
- return u.value ? dc(i) : c.value ? fc(r) : () => null;
6871
+ return u.value ? fc(i) : c.value ? pc(r) : () => null;
6856
6872
  }
6857
6873
  const s = f();
6858
- return () => w(Je, null, [w("div", {
6874
+ return () => w(Qe, null, [w("div", {
6859
6875
  class: "float-left modal-tips-iconwrap"
6860
6876
  }, [w("span", {
6861
6877
  class: a.value
@@ -6866,7 +6882,7 @@ function pc(e, t, n, o) {
6866
6882
  innerHTML: l.value
6867
6883
  }, null), s()])]);
6868
6884
  }
6869
- function mc(e, t, n) {
6885
+ function gc(e, t, n) {
6870
6886
  const {
6871
6887
  onCopy: o
6872
6888
  } = t, {
@@ -6892,8 +6908,8 @@ function mc(e, t, n) {
6892
6908
  style: "cursor: pointer;"
6893
6909
  }, [l.value])]);
6894
6910
  }
6895
- function gc(e, t, n, o) {
6896
- const i = y(e.type), a = y([]), l = y(e.exceptionInfo), r = y(e.okButtonText), c = y(e.cancelButtonText), u = y(!0), f = y(!0), s = R(() => !!(a.value && a.value.length)), p = R(() => l.value && l.value.date && l.value.message && l.value.detail), C = R(() => !(a.value && a.value.length) && (r.value || c.value)), v = R(() => f.value && r.value), F = R(() => u.value && c.value), h = mc(e, n, o);
6911
+ function hc(e, t, n, o) {
6912
+ const i = y(e.type), a = y([]), l = y(e.exceptionInfo), r = y(e.okButtonText), c = y(e.cancelButtonText), u = y(!0), f = y(!0), s = R(() => !!(a.value && a.value.length)), p = R(() => l.value && l.value.date && l.value.message && l.value.detail), C = R(() => !(a.value && a.value.length) && (r.value || c.value)), v = R(() => f.value && r.value), F = R(() => u.value && c.value), h = gc(e, n, o);
6897
6913
  function m(g) {
6898
6914
  i.value === "question" && t.emit("reject"), t.emit("close");
6899
6915
  }
@@ -6920,7 +6936,7 @@ function gc(e, t, n, o) {
6920
6936
  }
6921
6937
  const $t = /* @__PURE__ */ ge({
6922
6938
  name: "FMessageBox",
6923
- props: nc,
6939
+ props: oc,
6924
6940
  emits: ["accept", "reject", "close"],
6925
6941
  setup(e, t) {
6926
6942
  const n = y(e.type), o = y(e.title), i = y(e.detail), a = R(() => {
@@ -6933,7 +6949,7 @@ const $t = /* @__PURE__ */ ge({
6933
6949
  }), l = R(() => {
6934
6950
  const h = {};
6935
6951
  return n.value === "prompt" ? h.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (h.padding = "0.5rem 1.5rem 1rem 1.5rem"), h;
6936
- }), r = lc(), c = sc(e, n, o, i), u = uc(), {
6952
+ }), r = rc(), c = uc(e, n, o, i), u = cc(), {
6937
6953
  feedbackStyle: f,
6938
6954
  feedbackMessage: s
6939
6955
  } = u;
@@ -6945,12 +6961,12 @@ const $t = /* @__PURE__ */ ge({
6945
6961
  function C() {
6946
6962
  switch (n.value) {
6947
6963
  case "prompt":
6948
- return cc(e, c);
6964
+ return dc(e, c);
6949
6965
  default:
6950
- return pc(e, n, o, i);
6966
+ return mc(e, n, o, i);
6951
6967
  }
6952
6968
  }
6953
- const v = C(), F = gc(e, t, r, u);
6969
+ const v = C(), F = hc(e, t, r, u);
6954
6970
  return () => w("div", {
6955
6971
  class: "farris-messager"
6956
6972
  }, [w("section", {
@@ -6966,7 +6982,7 @@ class ft {
6966
6982
  }), o = !1, i = n.type === "error" || n.type === "prompt", a = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
6967
6983
  }), r = n.rejectCallback || (() => {
6968
6984
  });
6969
- let c = null, u = new _r(c);
6985
+ let c = null, u = new kr(c);
6970
6986
  const f = () => {
6971
6987
  c && (c == null || c.destroy(), u = null);
6972
6988
  };
@@ -7056,7 +7072,7 @@ $t.install = (e) => {
7056
7072
  e.component($t.name, $t), e.provide("FMessageBoxService", ft);
7057
7073
  };
7058
7074
  var di = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(di || {}), fi = /* @__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))(fi || {});
7059
- const hc = [
7075
+ const vc = [
7060
7076
  {
7061
7077
  value: "0",
7062
7078
  name: "等于"
@@ -7093,7 +7109,7 @@ const hc = [
7093
7109
  value: "8",
7094
7110
  name: "结束是"
7095
7111
  }
7096
- ], vc = {
7112
+ ], yc = {
7097
7113
  "button-edit": ["0", "1", " 6", "7", "8"],
7098
7114
  "check-box": ["0"],
7099
7115
  "combo-list": ["0", "1"],
@@ -7113,14 +7129,14 @@ const hc = [
7113
7129
  "radio-group": ["0"],
7114
7130
  text: ["0", "1", " 6", "7", "8"]
7115
7131
  };
7116
- function yc(e, t, n) {
7132
+ function bc(e, t, n) {
7117
7133
  const { fieldMap: o } = n;
7118
7134
  function i(a) {
7119
7135
  const l = o.get(a.fieldCode);
7120
7136
  if (!l)
7121
7137
  return [];
7122
- const r = l.editor.type, c = new Set(vc[r]);
7123
- return hc.filter((f) => c.has(f.value));
7138
+ const r = l.editor.type, c = new Set(yc[r]);
7139
+ return vc.filter((f) => c.has(f.value));
7124
7140
  }
7125
7141
  return { getCompareOperators: i };
7126
7142
  }
@@ -7293,7 +7309,7 @@ function pi() {
7293
7309
  unGroup: g
7294
7310
  };
7295
7311
  }
7296
- function bc(e, t, n) {
7312
+ function Cc(e, t, n) {
7297
7313
  const o = y(/* @__PURE__ */ new Set()), i = y(/* @__PURE__ */ new Set()), { conditionGroupMap: a, groupParentMap: l } = n;
7298
7314
  let r, c;
7299
7315
  function u(m) {
@@ -7337,7 +7353,7 @@ function bc(e, t, n) {
7337
7353
  }
7338
7354
  return { clear: h, getSelectedGroupItem: F, selectedItems: o, toggleSelect: v };
7339
7355
  }
7340
- const qt = /* @__PURE__ */ ge({
7356
+ const Ut = /* @__PURE__ */ ge({
7341
7357
  name: "FConditionList",
7342
7358
  props: oi,
7343
7359
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
@@ -7360,12 +7376,12 @@ const qt = /* @__PURE__ */ ge({
7360
7376
  unGroup: g
7361
7377
  } = u, {
7362
7378
  createConditionValue: k
7363
- } = ai(), b = bc(e, t, u), {
7379
+ } = ai(), b = Cc(e, t, u), {
7364
7380
  selectedItems: _,
7365
7381
  toggleSelect: I
7366
7382
  } = b, {
7367
7383
  getCompareOperators: x
7368
- } = yc(e, t, i);
7384
+ } = bc(e, t, i);
7369
7385
  c(!1), l.value = a(l.value), F(o.value);
7370
7386
  function S($) {
7371
7387
  var N;
@@ -7413,7 +7429,7 @@ const qt = /* @__PURE__ */ ge({
7413
7429
  onChange: (H) => T(H, L)
7414
7430
  }, null)]), w("div", {
7415
7431
  class: "condition-list-item-control mr-3"
7416
- }, [w(Au, {
7432
+ }, [w(zu, {
7417
7433
  editor: (N = r.get(L.fieldCode)) == null ? void 0 : N.editor,
7418
7434
  showLabel: !1,
7419
7435
  modelValue: L.value.value,
@@ -7473,17 +7489,17 @@ const qt = /* @__PURE__ */ ge({
7473
7489
  class: "f-icon f-icon-filter-add"
7474
7490
  }, null), w("span", {
7475
7491
  class: "ml-1"
7476
- }, [Ue("添加条件")])]), w("div", {
7492
+ }, [qe("添加条件")])]), w("div", {
7477
7493
  class: "add-condition-btn mb-1",
7478
7494
  onClick: D
7479
7495
  }, [w("span", {
7480
7496
  class: "f-icon f-icon-filter-grouping"
7481
7497
  }, null), w("span", {
7482
7498
  class: "ml-1"
7483
- }, [Ue("生成条件组")])]), w("div", {
7499
+ }, [qe("生成条件组")])]), w("div", {
7484
7500
  class: "condition-list-reset add-condition-btn",
7485
7501
  onClick: P
7486
- }, [Ue("重置")])]);
7502
+ }, [qe("重置")])]);
7487
7503
  }
7488
7504
  return () => w("div", {
7489
7505
  class: "condition-list",
@@ -7493,10 +7509,10 @@ const qt = /* @__PURE__ */ ge({
7493
7509
  }, [E(d.value)]), V()]);
7494
7510
  }
7495
7511
  });
7496
- qt.install = (e) => {
7497
- e.component(zn.name, zn).component(qt.name, qt);
7512
+ Ut.install = (e) => {
7513
+ e.component(zn.name, zn).component(Ut.name, Ut);
7498
7514
  };
7499
- const Cc = [
7515
+ const wc = [
7500
7516
  "equal",
7501
7517
  "notEqual",
7502
7518
  "greaterThan",
@@ -7506,16 +7522,16 @@ const Cc = [
7506
7522
  "contain",
7507
7523
  "startWidth",
7508
7524
  "endWidth"
7509
- ], wc = {
7525
+ ], Sc = {
7510
7526
  equal: (e, t, n) => e && e[t] === n,
7511
7527
  notEqual: (e, t, n) => e && e[t] !== n,
7512
7528
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
7513
7529
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
7514
7530
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
7515
- }, Sc = {
7531
+ }, xc = {
7516
7532
  equal: (e, t, n) => e && e[t] === n,
7517
7533
  notEqual: (e, t, n) => e && e[t] !== n
7518
- }, xc = {
7534
+ }, Fc = {
7519
7535
  equal: (e, t, n) => {
7520
7536
  if (e) {
7521
7537
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -7558,10 +7574,10 @@ const Cc = [
7558
7574
  }
7559
7575
  return !1;
7560
7576
  }
7561
- }, Fc = {
7577
+ }, _c = {
7562
7578
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
7563
7579
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((i) => i === String(e[t])) === -1 : !1
7564
- }, _c = {
7580
+ }, kc = {
7565
7581
  equal: (e, t, n) => {
7566
7582
  if (e) {
7567
7583
  const o = Number.parseFloat(String(n)), i = Number.parseFloat(String(e[t]));
@@ -7607,11 +7623,11 @@ const Cc = [
7607
7623
  };
7608
7624
  function _n() {
7609
7625
  const e = y([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = pi(), o = /* @__PURE__ */ new Map([
7610
- ["boolean", Sc],
7611
- ["datetime", xc],
7612
- ["enum", Fc],
7613
- ["number", _c],
7614
- ["text", wc]
7626
+ ["boolean", xc],
7627
+ ["datetime", Fc],
7628
+ ["enum", _c],
7629
+ ["number", kc],
7630
+ ["text", Sc]
7615
7631
  ]);
7616
7632
  function i(s) {
7617
7633
  t.delete(s), e.value = Array.from(t.values());
@@ -7620,7 +7636,7 @@ function _n() {
7620
7636
  t.clear(), e.value = [];
7621
7637
  }
7622
7638
  function l(s) {
7623
- const { valueType: p } = s.value, C = s.compareType || "0", v = Cc[Number(C)];
7639
+ const { valueType: p } = s.value, C = s.compareType || "0", v = wc[Number(C)];
7624
7640
  return o.get(p)[v];
7625
7641
  }
7626
7642
  function r(s) {
@@ -7735,7 +7751,7 @@ function kn(e, t) {
7735
7751
  }
7736
7752
  return { collpaseGroupIconClass: h, generateGroupData: F, groupFields: a, shouldGroupingData: l, showGroupPanel: r };
7737
7753
  }
7738
- function kc(e, t, n, o) {
7754
+ function Ic(e, t, n, o) {
7739
7755
  const i = y(!!e.hierarchy), { idField: a } = o, { collapseField: l, hasChildrenField: r, parentIdField: c } = n, u = /* @__PURE__ */ new Map();
7740
7756
  function f(B, O) {
7741
7757
  const M = /* @__PURE__ */ new Map();
@@ -7850,11 +7866,11 @@ function kc(e, t, n, o) {
7850
7866
  if ($) {
7851
7867
  const N = Array.from($.children.keys()).indexOf(V.id);
7852
7868
  if (N === $.children.size - 1) {
7853
- const U = Array.from($.descendant.values())[$.descendant.size - 1];
7854
- L = M.value.findIndex((pe) => pe[a.value] === U.id) + 1;
7869
+ const q = Array.from($.descendant.values())[$.descendant.size - 1];
7870
+ L = M.value.findIndex((pe) => pe[a.value] === q.id) + 1;
7855
7871
  } else {
7856
- const U = Array.from($.children.values())[N + 1];
7857
- L = M.value.findIndex((pe) => pe[a.value] === U.id);
7872
+ const q = Array.from($.children.values())[N + 1];
7873
+ L = M.value.findIndex((pe) => pe[a.value] === q.id);
7858
7874
  }
7859
7875
  O[r.value] = !1, O[c.value] = $.id, M.value.splice(L, 0, O);
7860
7876
  }
@@ -7879,7 +7895,7 @@ function kc(e, t, n, o) {
7879
7895
  }
7880
7896
  return { generateHierarchyData: x, hasRealChildren: _, insertSibling: S, insertChild: T, shouldStratifyData: i, trimmedOriginalData: P };
7881
7897
  }
7882
- const Ic = {
7898
+ const Tc = {
7883
7899
  showCloseButton: { type: Boolean, default: !0 },
7884
7900
  position: { type: String, default: "top-center" },
7885
7901
  timeout: { type: Number, default: 3e3 },
@@ -7891,13 +7907,13 @@ const Ic = {
7891
7907
  id: { type: String },
7892
7908
  animate: { type: String, default: "fadeIn" },
7893
7909
  options: { type: Object }
7894
- }, Tc = {
7910
+ }, Mc = {
7895
7911
  showCloseButton: { type: Boolean, default: !0 },
7896
7912
  animate: { type: String, default: "fadeIn" },
7897
7913
  options: { type: Object }
7898
7914
  }, Qt = /* @__PURE__ */ ge({
7899
7915
  name: "Toast",
7900
- props: Tc,
7916
+ props: Mc,
7901
7917
  emits: ["close", "click"],
7902
7918
  setup: (e, t) => {
7903
7919
  const n = y(e.animate), o = "fadeOut", i = R(() => e.options), a = y(!1), l = R(() => {
@@ -7927,7 +7943,7 @@ const Ic = {
7927
7943
  });
7928
7944
  const h = () => {
7929
7945
  var m;
7930
- return w(Je, null, [w("div", {
7946
+ return w(Qe, null, [w("div", {
7931
7947
  class: "after-toast-msg text-right"
7932
7948
  }, [!t.slots.default && ((m = i.value.buttons) == null ? void 0 : m.map((d) => w("span", {
7933
7949
  class: F(d),
@@ -7950,7 +7966,7 @@ const Ic = {
7950
7966
  class: r.value
7951
7967
  }, null)]), w("div", {
7952
7968
  class: "modal-tips-content"
7953
- }, [u.value && w(Je, null, [w("h5", {
7969
+ }, [u.value && w(Qe, null, [w("h5", {
7954
7970
  class: "toast-title modal-tips-title",
7955
7971
  innerHTML: i.value.title
7956
7972
  }, null), w("p", {
@@ -7970,7 +7986,7 @@ const Ic = {
7970
7986
  }
7971
7987
  }), Nt = /* @__PURE__ */ ge({
7972
7988
  name: "Notify",
7973
- props: Ic,
7989
+ props: Tc,
7974
7990
  emits: ["close", "empty"],
7975
7991
  setup(e, t) {
7976
7992
  const n = R(() => ({
@@ -8134,14 +8150,14 @@ Nt.install = (e) => {
8134
8150
  };
8135
8151
  function gi(e, t, n, o, i) {
8136
8152
  var st;
8137
- const { pageSize: a, total: l, shouldRenderPagination: r, currentPage: c, mode: u } = i, f = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), F = y([]), h = y([]), m = _n(), d = kn(e, o), { generateGroupData: g, groupFields: k, shouldGroupingData: b } = d, _ = y(e.data), I = kc(e, _, n, o), {
8153
+ const { pageSize: a, total: l, shouldRenderPagination: r, currentPage: c, mode: u } = i, f = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), F = y([]), h = y([]), m = _n(), d = kn(e, o), { generateGroupData: g, groupFields: k, shouldGroupingData: b } = d, _ = y(e.data), I = Ic(e, _, n, o), {
8138
8154
  generateHierarchyData: x,
8139
8155
  hasRealChildren: S,
8140
8156
  insertSibling: T,
8141
8157
  insertChild: P,
8142
8158
  shouldStratifyData: B,
8143
8159
  trimmedOriginalData: O
8144
- } = I, { idField: M, reviseIdentifyField: E } = o, D = y(e.newDataItem), V = y(e.data), $ = y(e.data), { flatTreeData: L } = Gc(e);
8160
+ } = I, { idField: M, reviseIdentifyField: E } = o, D = y(e.newDataItem), V = y(e.data), $ = y(e.data), { flatTreeData: L } = Wc(e);
8145
8161
  function N(z) {
8146
8162
  return L(z);
8147
8163
  }
@@ -8149,7 +8165,7 @@ function gi(e, t, n, o, i) {
8149
8165
  const z = N(e.data);
8150
8166
  _.value = z, V.value = z, $.value = z;
8151
8167
  }
8152
- const H = y(e.summary), U = R(() => {
8168
+ const H = y(e.summary), q = R(() => {
8153
8169
  const z = H.value;
8154
8170
  return (z == null ? void 0 : z.groupFields) || [];
8155
8171
  });
@@ -8163,7 +8179,7 @@ function gi(e, t, n, o, i) {
8163
8179
  });
8164
8180
  function me() {
8165
8181
  var Re, ce;
8166
- V.value = Qe(_.value), b.value && (V.value = g(k.value, _.value, t)), oe = U.value.reduce((He, Oe) => (He.set(Oe, 0), He), oe);
8182
+ V.value = Ye(_.value), b.value && (V.value = g(k.value, _.value, t)), oe = q.value.reduce((He, Oe) => (He.set(Oe, 0), He), oe);
8167
8183
  const z = Ie.value, ne = Te.value;
8168
8184
  let se = 0;
8169
8185
  const De = [];
@@ -8172,7 +8188,7 @@ function gi(e, t, n, o, i) {
8172
8188
  const He = M.value !== e.idField;
8173
8189
  for (let Oe = z; Oe < ne; Oe++) {
8174
8190
  const Ve = V.value[Oe];
8175
- Ve.__fv_data_grid_group_row__ ? (se = 0, Ve.__fv_data_index__ = "") : Ve.__fv_data_grid_group_summary__ ? Ve.__fv_data_index__ = "" : (Ve.__fv_disabled__ = Ve[((ce = e.rowOption) == null ? void 0 : ce.disabledField) || "disabled"], se++, r.value ? Ve.__fv_data_index__ = se + (c.value - 1) * a.value : Ve.__fv_data_index__ = se), Ve.__fv_index__ = Oe, He && (Ve[M.value] = Oe), U.value.forEach((We) => {
8191
+ Ve.__fv_data_grid_group_row__ ? (se = 0, Ve.__fv_data_index__ = "") : Ve.__fv_data_grid_group_summary__ ? Ve.__fv_data_index__ = "" : (Ve.__fv_disabled__ = Ve[((ce = e.rowOption) == null ? void 0 : ce.disabledField) || "disabled"], se++, r.value ? Ve.__fv_data_index__ = se + (c.value - 1) * a.value : Ve.__fv_data_index__ = se), Ve.__fv_index__ = Oe, He && (Ve[M.value] = Oe), q.value.forEach((We) => {
8176
8192
  const Fe = oe.get(We) || 0;
8177
8193
  oe.set(We, Fe + Ve[We]);
8178
8194
  }), De.push(Ve);
@@ -8254,7 +8270,7 @@ function gi(e, t, n, o, i) {
8254
8270
  const z = me();
8255
8271
  he.value = z, e.hierarchy && (we(Array.from(C.values()), Array.from(v.values())), x(he.value));
8256
8272
  }
8257
- function q(z) {
8273
+ function U(z) {
8258
8274
  var ne;
8259
8275
  if (z && ((ne = z[0]) != null && ne.children)) {
8260
8276
  const se = N(z);
@@ -8270,7 +8286,7 @@ function gi(e, t, n, o, i) {
8270
8286
  (z - 1) * a.value <= pe.value && le();
8271
8287
  }
8272
8288
  function ie(z) {
8273
- _.value.push(Qe(z)), he.value = me();
8289
+ _.value.push(Ye(z)), he.value = me();
8274
8290
  }
8275
8291
  function ve(z = 0) {
8276
8292
  if (!(z > -1))
@@ -8334,7 +8350,7 @@ function gi(e, t, n, o, i) {
8334
8350
  getRange: Me,
8335
8351
  getSelectionItems: gt,
8336
8352
  hasRealChildren: S,
8337
- load: q,
8353
+ load: U,
8338
8354
  navigatePageTo: X,
8339
8355
  summaries: oe,
8340
8356
  totalItems: pe,
@@ -8395,7 +8411,7 @@ function vi(e) {
8395
8411
  }), i = R(() => e.hierarchy && e.selection.showCheckbox), a = R(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
8396
8412
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: i, shouldShowIcon: a };
8397
8413
  }
8398
- function Mc(e, t, n, o) {
8414
+ function Oc(e, t, n, o) {
8399
8415
  var F, h, m, d, g, k;
8400
8416
  const { idField: i } = n, a = y(((h = (F = e.hierarchy) == null ? void 0 : F.cascadeOption) == null ? void 0 : h.autoCheckChildren) || !1), l = y(((d = (m = e.hierarchy) == null ? void 0 : m.cascadeOption) == null ? void 0 : d.autoCheckParent) || !1), r = y(((k = (g = e.hierarchy) == null ? void 0 : g.cascadeOption) == null ? void 0 : k.selectionRange) || "All");
8401
8417
  G(() => {
@@ -8438,8 +8454,8 @@ function Mc(e, t, n, o) {
8438
8454
  }
8439
8455
  return { autoCheckChildren: a, autoCheckParent: l, interactAfterCheckHierarchyItem: v };
8440
8456
  }
8441
- function Oc(e, t, n, o, i) {
8442
- const { select: a, unSelect: l, indeterminate: r, getSelectedItems: c, selectedValues: u, currentSelectedDataId: f } = o, { autoCheckChildren: s, autoCheckParent: p, interactAfterCheckHierarchyItem: C } = Mc(e, t, n), { idField: v } = n;
8457
+ function Bc(e, t, n, o, i) {
8458
+ const { select: a, unSelect: l, indeterminate: r, getSelectedItems: c, selectedValues: u, currentSelectedDataId: f } = o, { autoCheckChildren: s, autoCheckParent: p, interactAfterCheckHierarchyItem: C } = Oc(e, t, n), { idField: v } = n;
8443
8459
  function F() {
8444
8460
  return t.value.filter((x) => !!x.checked).map((x) => x.raw.__fv_index__);
8445
8461
  }
@@ -8547,7 +8563,7 @@ function yi(e, t, n, o, i, a, l, r) {
8547
8563
  let { deltaX: ie } = X.deltaX, ve = -1 * X.deltaY;
8548
8564
  return typeof ie > "u" && (ie = -1 * X.wheelDeltaX / 6), typeof ve > "u" && (ve = X.wheelDeltaY / 6), X.deltaMode && X.deltaMode === 1 && (ie *= 10, ve *= 10), X.shiftKey ? { deltaY: -ve, deltaX: -ie } : { deltaX: ie, deltaY: ve };
8549
8565
  }
8550
- function U(X) {
8566
+ function q(X) {
8551
8567
  if (e.disabled)
8552
8568
  return;
8553
8569
  X.preventDefault(), X.stopPropagation();
@@ -8613,7 +8629,7 @@ function yi(e, t, n, o, i, a, l, r) {
8613
8629
  function le(X) {
8614
8630
  ae.value = !1, be.value = -1, Ce.value = -1, document.removeEventListener("mouseup", le), document.removeEventListener("mousemove", j), document.removeEventListener("mousemove", Y), document.body.style.userSelect = "", Se.value && (Se.value.style.opacity = null);
8615
8631
  }
8616
- function q(X, ie, ve) {
8632
+ function U(X, ie, ve) {
8617
8633
  var Ge;
8618
8634
  ae.value = !0;
8619
8635
  const Pe = (Ge = X.target) == null ? void 0 : Ge.parentElement;
@@ -8622,8 +8638,8 @@ function yi(e, t, n, o, i, a, l, r) {
8622
8638
  ve === "vertical" && (be.value = X.pageY), ve === "horizontal" && (Ce.value = X.pageX), ie.value && (ie.value, document.addEventListener("mousemove", Ne), document.addEventListener("mouseup", le), document.body.style.userSelect = "none");
8623
8639
  }
8624
8640
  return {
8625
- onMouseDownScrollThumb: q,
8626
- onWheel: U,
8641
+ onMouseDownScrollThumb: U,
8642
+ onWheel: q,
8627
8643
  dataGridWidth: k,
8628
8644
  gridDataStyle: Be,
8629
8645
  gridHeaderColumnsStyle: we,
@@ -8673,7 +8689,7 @@ function bi(e, t, n, o, i, a, l, r) {
8673
8689
  }
8674
8690
  return { getVisualData: v, maxVisibleRowIndex: c, minVisibleRowIndex: u, toggleGroupRow: F };
8675
8691
  }
8676
- function Bc() {
8692
+ function Pc() {
8677
8693
  function e(t, n) {
8678
8694
  const {
8679
8695
  formatter: o
@@ -8684,7 +8700,7 @@ function Bc() {
8684
8700
  renderEnumColumn: e
8685
8701
  };
8686
8702
  }
8687
- function Pc() {
8703
+ function Vc() {
8688
8704
  function e(o, i) {
8689
8705
  return o ? w("span", {
8690
8706
  innerHTML: i.formatter.trueText
@@ -8709,7 +8725,7 @@ function Pc() {
8709
8725
  renderBooleanColumn: n
8710
8726
  };
8711
8727
  }
8712
- function Vc() {
8728
+ function Ec() {
8713
8729
  const {
8714
8730
  formatTo: e
8715
8731
  } = Na();
@@ -8724,7 +8740,7 @@ function Vc() {
8724
8740
  renderDateColumn: n
8725
8741
  };
8726
8742
  }
8727
- function Ec() {
8743
+ function Dc() {
8728
8744
  const {
8729
8745
  formatTo: e
8730
8746
  } = ja();
@@ -8748,16 +8764,16 @@ function Ec() {
8748
8764
  renderNumberColumn: n
8749
8765
  };
8750
8766
  }
8751
- function Dc() {
8767
+ function Rc() {
8752
8768
  const {
8753
8769
  renderBooleanColumn: e
8754
- } = Pc(), {
8770
+ } = Vc(), {
8755
8771
  renderEnumColumn: t
8756
- } = Bc(), {
8772
+ } = Pc(), {
8757
8773
  renderNumberColumn: n
8758
- } = Ec(), {
8774
+ } = Dc(), {
8759
8775
  renderDateColumn: o
8760
- } = Vc();
8776
+ } = Ec();
8761
8777
  function i(r) {
8762
8778
  return r;
8763
8779
  }
@@ -8779,7 +8795,7 @@ function Dc() {
8779
8795
  }
8780
8796
  function Ci(e, t, n) {
8781
8797
  var h;
8782
- const o = y(e.mergeCell), a = ((h = y(e.rowOption).value) == null ? void 0 : h.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = Is(), { renderFormatColumn: c } = Dc();
8798
+ const o = y(e.mergeCell), a = ((h = y(e.rowOption).value) == null ? void 0 : h.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = Ts(), { renderFormatColumn: c } = Rc();
8783
8799
  function u(m, d, g, k, b, _ = 1) {
8784
8800
  const I = {
8785
8801
  colSpan: _,
@@ -8850,7 +8866,7 @@ function wi(e, t, n, o, i, a) {
8850
8866
  __fv_data_index__: B
8851
8867
  } = b, O = b.__fv_data_grid_group_layer__ || (b.__fv_parents__ ? (pe = b.__fv_parents__) == null ? void 0 : pe.size : 0) || 0, M = typeof b.parent == "number" ? Number(b.parent) : -1, E = b.__fv_data_grid_group_collapse__ || b[f.value], D = b.__fv_visible__ === void 0 ? !0 : b.__fv_visible__, V = b.__fv_checked__, $ = b.__fv_indeterminate__, L = b.__fv_disabled__ || b[((Be = e.rowOption) == null ? void 0 : Be.disabledField) || "disabled"], N = S == null ? void 0 : S.find((Ie) => Ie.raw[u.value] === b.parent), H = N && N.collapse;
8852
8868
  _ && (_.parent, b.parent);
8853
- const U = H || N && !N.visible, oe = {
8869
+ const q = H || N && !N.visible, oe = {
8854
8870
  collapse: E,
8855
8871
  data: {},
8856
8872
  dataIndex: B,
@@ -8869,7 +8885,7 @@ function wi(e, t, n, o, i, a) {
8869
8885
  setRef: (Ie) => {
8870
8886
  oe.ref = Ie;
8871
8887
  },
8872
- visible: D && !U,
8888
+ visible: D && !q,
8873
8889
  status: tt.initial
8874
8890
  };
8875
8891
  return _ || (b.__fv_data_position__ = 0), c || (oe.height = r, b.__fv_data_height__ = oe.height, s(oe, b)), (ye = l.value) != null && ye.customRowStatus && (l.value.customRowStatus(oe), b.__fv_collapse__ = oe.collapse, b.__fv_visible__ = oe.visible, b.__fv_disabled__ = oe.disabled), oe;
@@ -8897,7 +8913,7 @@ function wi(e, t, n, o, i, a) {
8897
8913
  }
8898
8914
  return { createEmptyRow: C, createNewRowFromDataItem: v, renderDataRow: h };
8899
8915
  }
8900
- function Rc(e, t, n, o) {
8916
+ function $c(e, t, n, o) {
8901
8917
  const i = y(e.summary), { idField: a } = t, { createCellByField: l } = n, { createEmptyRow: r } = o, c = R(() => {
8902
8918
  const p = i.value;
8903
8919
  return (p == null ? void 0 : p.groupFields) || [];
@@ -8925,7 +8941,7 @@ function Rc(e, t, n, o) {
8925
8941
  }
8926
8942
  return { renderGroupRow: s };
8927
8943
  }
8928
- function $c(e, t, n, o) {
8944
+ function Nc(e, t, n, o) {
8929
8945
  const { idField: i } = t, { createCellByField: a } = n, { createEmptyRow: l } = o;
8930
8946
  function r(c, u, f, s, p, C, v) {
8931
8947
  const F = c.__fv_data_grid_group_field__, h = l(vt.summary, s, c, u, f, p);
@@ -9027,7 +9043,7 @@ function xi(e) {
9027
9043
  }
9028
9044
  return { idField: t, reviseIdentifyField: n };
9029
9045
  }
9030
- function Nc(e, t, n, o, i, a) {
9046
+ function jc(e, t, n, o, i, a) {
9031
9047
  const { addNewDataItemAtLast: l } = n, { columnContext: r } = o, { onClickCell: c } = i;
9032
9048
  function u(v, F) {
9033
9049
  const h = r.value.primaryColumns.findIndex((I) => I.field === v.field), m = v.parent, d = m.index, g = r.value.primaryColumns.length - 1, k = a.value.length - 1, b = h === g, _ = d === k;
@@ -9176,8 +9192,8 @@ function _i(e, t, n, o, i) {
9176
9192
  return t.getSelectionItems(p.value);
9177
9193
  }
9178
9194
  function v() {
9179
- const N = o.value.reduce((U, oe) => (U.set(oe.raw[a.value], oe), U), /* @__PURE__ */ new Map());
9180
- return p.value.map((U) => N.get(U)).filter((U) => !!U);
9195
+ const N = o.value.reduce((q, oe) => (q.set(oe.raw[a.value], oe), q), /* @__PURE__ */ new Map());
9196
+ return p.value.map((q) => N.get(q)).filter((q) => !!q);
9181
9197
  }
9182
9198
  const F = R(() => r.value && c.value), h = R(() => !!e.hierarchy), m = R(() => {
9183
9199
  const N = f.value && u.value === "DependOnCheck";
@@ -9207,28 +9223,28 @@ function _i(e, t, n, o, i) {
9207
9223
  return N.raw[a.value] || "";
9208
9224
  }
9209
9225
  function x(N) {
9210
- return p.value.findIndex((U) => U === I(N));
9226
+ return p.value.findIndex((q) => q === I(N));
9211
9227
  }
9212
9228
  function S() {
9213
- v().forEach((U) => {
9214
- U.checked = !1;
9215
- }), t.getSelectionItems(p.value).forEach((U) => {
9216
- U.__fv_checked__ = !1;
9229
+ v().forEach((q) => {
9230
+ q.checked = !1;
9231
+ }), t.getSelectionItems(p.value).forEach((q) => {
9232
+ q.__fv_checked__ = !1;
9217
9233
  }), p.value = [], l.value = "";
9218
9234
  }
9219
9235
  function T(N) {
9220
9236
  const H = N.raw;
9221
9237
  H.__fv_checked__ = !0, H.__fv_indeterminate__ = !1;
9222
- const U = new Set(p.value);
9223
- U.add(H[a.value]), p.value = Array.from(U.values()), N.checked = !0, N.indeterminate = !1, l.value = N.raw[a.value];
9238
+ const q = new Set(p.value);
9239
+ q.add(H[a.value]), p.value = Array.from(q.values()), N.checked = !0, N.indeterminate = !1, l.value = N.raw[a.value];
9224
9240
  }
9225
9241
  function P(N) {
9226
9242
  const H = N.raw;
9227
- H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, p.value = p.value.filter((U) => U !== H[a.value]), N.checked = !1, N.indeterminate = !1, l.value = "";
9243
+ H.__fv_checked__ = !1, H.__fv_indeterminate__ = !1, p.value = p.value.filter((q) => q !== H[a.value]), N.checked = !1, N.indeterminate = !1, l.value = "";
9228
9244
  }
9229
9245
  function B(N) {
9230
9246
  const H = N.raw;
9231
- H.__fv_checked__ = !1, H.__fv_indeterminate__ = !0, p.value = p.value.filter((U) => U !== H[a.value]), N.checked = !1, N.indeterminate = !0;
9247
+ H.__fv_checked__ = !1, H.__fv_indeterminate__ = !0, p.value = p.value.filter((q) => q !== H[a.value]), N.checked = !1, N.indeterminate = !0;
9232
9248
  }
9233
9249
  function O(N) {
9234
9250
  _.value && S(), N.checked ? P(N) : T(N), k();
@@ -9237,13 +9253,13 @@ function _i(e, t, n, o, i) {
9237
9253
  N.raw[a.value] !== l.value && (S(), T(N), k());
9238
9254
  }
9239
9255
  function E(N) {
9240
- const H = o.value.find((U) => U.raw[a.value] === N);
9256
+ const H = o.value.find((q) => q.raw[a.value] === N);
9241
9257
  H && M(H);
9242
9258
  }
9243
9259
  function D(N) {
9244
- const H = o.value.filter((U) => N.includes(U.raw[a.value]));
9245
- H && H.length && (S(), H.forEach((U) => {
9246
- T(U);
9260
+ const H = o.value.filter((q) => N.includes(q.raw[a.value]));
9261
+ H && H.length && (S(), H.forEach((q) => {
9262
+ T(q);
9247
9263
  }), k());
9248
9264
  }
9249
9265
  function V() {
@@ -9312,10 +9328,10 @@ function ki(e, t) {
9312
9328
  }
9313
9329
  return { showRowNumer: l, showSidebarCheckBox: r, sidebarCellPosition: p, sidebarCornerCellStyle: C, sidebarTitle: f, sidebarWidth: s, rowKey: F, cellKey: v };
9314
9330
  }
9315
- const jc = {
9331
+ const Lc = {
9316
9332
  ascend: (e, t) => e === t ? 0 : e === !1 ? -1 : 1,
9317
9333
  decend: (e, t) => e === t ? 0 : e === !0 ? -1 : 1
9318
- }, Lc = {
9334
+ }, Hc = {
9319
9335
  ascend: (e, t) => {
9320
9336
  const n = new Date(new Date(e).toLocaleDateString()).valueOf(), o = new Date(new Date(t).toLocaleDateString()).valueOf();
9321
9337
  return n === o ? 0 : n < o ? -1 : 1;
@@ -9324,10 +9340,10 @@ const jc = {
9324
9340
  const n = new Date(new Date(e).toLocaleDateString()).valueOf(), o = new Date(new Date(t).toLocaleDateString()).valueOf();
9325
9341
  return n === o ? 0 : n < o ? 1 : -1;
9326
9342
  }
9327
- }, Hc = {
9343
+ }, Ac = {
9328
9344
  ascend: (e, t) => e === t ? 0 : e < t ? -1 : 1,
9329
9345
  decend: (e, t) => e === t ? 0 : e < t ? 1 : -1
9330
- }, Ac = {
9346
+ }, zc = {
9331
9347
  ascend: (e, t) => e === t ? 0 : e < t ? -1 : 1,
9332
9348
  decend: (e, t) => e === t ? 0 : e < t ? 1 : -1
9333
9349
  };
@@ -9342,10 +9358,10 @@ function Ii(e) {
9342
9358
  ["enum", "text-sorter"],
9343
9359
  ["reference", "text-sorter"]
9344
9360
  ]), n = /* @__PURE__ */ new Map([
9345
- ["boolean-sorter", jc],
9346
- ["datetime-sorter", Lc],
9347
- ["numeric-sorter", Hc],
9348
- ["text-sorter", Ac]
9361
+ ["boolean-sorter", Lc],
9362
+ ["datetime-sorter", Hc],
9363
+ ["numeric-sorter", Ac],
9364
+ ["text-sorter", zc]
9349
9365
  ]);
9350
9366
  function o(l) {
9351
9367
  const r = (l == null ? void 0 : l.dataType) || "string", c = t.get(r) || "text-sorter";
@@ -9364,7 +9380,7 @@ function Ii(e) {
9364
9380
  }
9365
9381
  return { getSorterByColumn: o, updateSorter: a };
9366
9382
  }
9367
- function zc(e) {
9383
+ function Gc(e) {
9368
9384
  function t(i) {
9369
9385
  return {};
9370
9386
  }
@@ -9446,7 +9462,7 @@ function Ti(e) {
9446
9462
  }
9447
9463
  };
9448
9464
  }
9449
- function Gc(e) {
9465
+ function Wc(e) {
9450
9466
  const t = "parent", n = "layer", o = "hasChildren", i = (a, l = 1, r = [], c = null) => (a = a || [], a.reduce((u, f) => (f.id = f.id || f.data[e.idField], f[t] = c, f[n] = l, f[o] = !1, f = { ...f, ...f.data }, r.push(f), f.children && f.children.length && (f[o] = !0, i(f.children, l + 1, r, f.id)), u), r), r);
9451
9467
  return { flatTreeData: i };
9452
9468
  }
@@ -9463,7 +9479,7 @@ function Mi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v, F) {
9463
9479
  rightFixedGridDataStyle: _
9464
9480
  } = C, {
9465
9481
  renderDataRow: I
9466
- } = Fs(e, t, m, F, r, c, u, f, s, p), x = [I];
9482
+ } = _s(e, t, m, F, r, c, u, f, s, p), x = [I];
9467
9483
  function S(M, E) {
9468
9484
  const D = h(M);
9469
9485
  return F.value.filter((V) => V.visible !== !1).map((V) => x[V.type](V, D, E, M));
@@ -9525,11 +9541,11 @@ const Ct = /* @__PURE__ */ ge({
9525
9541
  } = P;
9526
9542
  O(g, B);
9527
9543
  const D = so(e, M), V = cn(e, t, v), $ = dn(), L = fn(e, V, $), N = pn(e, V, m, v, $, L), H = mn(e, S, g, _, 0, N), {
9528
- getVisualData: U
9544
+ getVisualData: q
9529
9545
  } = H, oe = uo(e, M), pe = co(e, k), {
9530
9546
  sidebarWidth: Be
9531
9547
  } = pe;
9532
- u.value = U(0, _.value + 0 - 1);
9548
+ u.value = q(0, _.value + 0 - 1);
9533
9549
  const ye = fo(e, g, u, M, H, _, 0, Be), {
9534
9550
  onWheel: Ie,
9535
9551
  dataGridWidth: Te,
@@ -9554,7 +9570,7 @@ const Ct = /* @__PURE__ */ ge({
9554
9570
  } = yo(e, a, r, c, P, g, ae, _e, h, de, W, D, k, pe, B, ye, he, u), {
9555
9571
  renderDataGridSidebar: le
9556
9572
  } = bo(e, re, k, pe, ye), {
9557
- renderDisableMask: q
9573
+ renderDisableMask: U
9558
9574
  } = Co(), {
9559
9575
  renderHorizontalScrollbar: Me
9560
9576
  } = wo(e, a, ye), {
@@ -9578,15 +9594,15 @@ const Ct = /* @__PURE__ */ ge({
9578
9594
  }
9579
9595
  function Pe() {
9580
9596
  const ce = ve();
9581
- g.insertNewDataItem(ce), u.value = U(0, _.value + 0 - 1);
9597
+ g.insertNewDataItem(ce), u.value = q(0, _.value + 0 - 1);
9582
9598
  }
9583
9599
  function Ne() {
9584
9600
  const ce = ve();
9585
- g.insertNewChildDataItem(ce), u.value = U(0, _.value + 0 - 1);
9601
+ g.insertNewChildDataItem(ce), u.value = q(0, _.value + 0 - 1);
9586
9602
  }
9587
9603
  function Ge() {
9588
9604
  const ce = ve(), He = b.getNextSelectableHierarchyItemId(ce);
9589
- g.removeHierarchyDataItem(ce), u.value = U(0, _.value + 0 - 1), He && k.selectItemById(He);
9605
+ g.removeHierarchyDataItem(ce), u.value = q(0, _.value + 0 - 1), He && k.selectItemById(He);
9590
9606
  }
9591
9607
  function Ze(ce) {
9592
9608
  V.onEditingRow(ce);
@@ -9601,7 +9617,7 @@ const Ct = /* @__PURE__ */ ge({
9601
9617
  ce && (S.value = ce, T(S), E(S.value), O(g, B), K());
9602
9618
  }
9603
9619
  function gt(ce) {
9604
- ce && (we(), g.load(ce), u.value = U(0, _.value + 0 - 1));
9620
+ ce && (we(), g.load(ce), u.value = q(0, _.value + 0 - 1));
9605
9621
  }
9606
9622
  function st(ce) {
9607
9623
  k.selectItemById(ce);
@@ -9641,9 +9657,9 @@ const Ct = /* @__PURE__ */ ge({
9641
9657
  onMouseleave: () => {
9642
9658
  f.value = !1;
9643
9659
  }
9644
- }, [le(u), Se(), Me(), X()]), Y(), e.disabled && q()]);
9660
+ }, [le(u), Se(), Me(), X()]), Y(), e.disabled && U()]);
9645
9661
  }
9646
- }), Wc = "https://json-schema.org/draft/2020-12/schema", Uc = "https://farris-design.gitee.io/check-box.schema.json", qc = "check-box", Kc = "A Farris Input Component", Xc = "object", Yc = {
9662
+ }), qc = "https://json-schema.org/draft/2020-12/schema", Uc = "https://farris-design.gitee.io/check-box.schema.json", Kc = "check-box", Xc = "A Farris Input Component", Yc = "object", Jc = {
9647
9663
  id: {
9648
9664
  description: "The unique identifier for a check box",
9649
9665
  type: "string"
@@ -9710,27 +9726,26 @@ const Ct = /* @__PURE__ */ ge({
9710
9726
  type: "boolean",
9711
9727
  default: !0
9712
9728
  }
9713
- }, Jc = [
9714
- "id",
9729
+ }, Qc = [
9715
9730
  "type"
9716
- ], Qc = [
9731
+ ], Zc = [
9717
9732
  "id",
9718
9733
  "appearance",
9719
9734
  "binding",
9720
9735
  "visible"
9721
- ], Zc = {
9722
- $schema: Wc,
9736
+ ], ed = {
9737
+ $schema: qc,
9723
9738
  $id: Uc,
9724
- title: qc,
9725
- description: Kc,
9726
- type: Xc,
9727
- properties: Yc,
9728
- required: Jc,
9729
- ignore: Qc
9730
- }, ed = /* @__PURE__ */ new Map([
9739
+ title: Kc,
9740
+ description: Xc,
9741
+ type: Yc,
9742
+ properties: Jc,
9743
+ required: Qc,
9744
+ ignore: Zc
9745
+ }, td = /* @__PURE__ */ new Map([
9731
9746
  ["appearance", ot]
9732
9747
  ]);
9733
- function td(e, t, n) {
9748
+ function nd(e, t, n) {
9734
9749
  return t;
9735
9750
  }
9736
9751
  const Oi = {
@@ -9761,8 +9776,8 @@ const Oi = {
9761
9776
  /** 标识是否被选中 */
9762
9777
  checked: { type: Boolean, default: !1 }
9763
9778
  };
9764
- Le(Oi, Zc, ed, td);
9765
- const nd = /* @__PURE__ */ ge({
9779
+ Le(Oi, ed, td, nd);
9780
+ const od = /* @__PURE__ */ ge({
9766
9781
  name: "FCheckBox",
9767
9782
  props: Oi,
9768
9783
  emits: ["change", "changeValue", "update:modelValue", "update:checked"],
@@ -9793,7 +9808,7 @@ const nd = /* @__PURE__ */ ge({
9793
9808
  }), ke(() => {
9794
9809
  }), () => {
9795
9810
  var h, m, d, g, k, b;
9796
- return w(Je, null, [l.value && w("div", {
9811
+ return w(Qe, null, [l.value && w("div", {
9797
9812
  class: o.value,
9798
9813
  style: "border-radius:0;border: 1px solid #E8EBF2;",
9799
9814
  onClick: s
@@ -9823,7 +9838,7 @@ const nd = /* @__PURE__ */ ge({
9823
9838
  }, [(b = (k = t.slots).default) == null ? void 0 : b.call(k)])])]);
9824
9839
  };
9825
9840
  }
9826
- }), od = {
9841
+ }), id = {
9827
9842
  id: { type: String, default: "" },
9828
9843
  componentId: { type: String, default: "" },
9829
9844
  type: { type: String, default: "" },
@@ -9838,11 +9853,11 @@ const nd = /* @__PURE__ */ ge({
9838
9853
  */
9839
9854
  modelValue: { type: Object },
9840
9855
  ignore: { type: Boolean, default: !1 }
9841
- }, id = {
9856
+ }, ad = {
9842
9857
  id: { type: String }
9843
- }, ad = /* @__PURE__ */ ge({
9858
+ }, ld = /* @__PURE__ */ ge({
9844
9859
  name: "FDesignerPlaceholder",
9845
- props: id,
9860
+ props: ad,
9846
9861
  emits: [],
9847
9862
  setup(e) {
9848
9863
  const t = R(() => ({
@@ -9868,15 +9883,15 @@ const nd = /* @__PURE__ */ ge({
9868
9883
  role: "alert",
9869
9884
  "data-noattach": "true",
9870
9885
  "data-position": "0"
9871
- }, [Ue("拖拽组件到这里")]);
9886
+ }, [qe("拖拽组件到这里")]);
9872
9887
  }
9873
9888
  });
9874
- function ld(e) {
9889
+ function rd(e) {
9875
9890
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Zn(e);
9876
9891
  }
9877
9892
  const Zt = /* @__PURE__ */ ge({
9878
9893
  name: "FDesignerItem",
9879
- props: od,
9894
+ props: id,
9880
9895
  emits: ["selectionChange"],
9881
9896
  setup(e, t) {
9882
9897
  const n = y(`${e.modelValue.id}-component`), o = y(e.canMove), i = y(e.canDelete), a = y(!1), l = y(e.modelValue), r = y(e.componentId || ""), c = y(""), u = y(""), f = y(e.customClass), s = y(), p = ue("canvas-dragula"), C = y(), v = ue("design-item-context"), F = {
@@ -9916,8 +9931,8 @@ const Zt = /* @__PURE__ */ ge({
9916
9931
  if (M && (M.preventDefault(), M.stopPropagation()), C.value.triggerBelongedComponentToDeleteWhenDeleted) {
9917
9932
  const N = C.value.getBelongedComponentInstance(C);
9918
9933
  if (N && N.parent) {
9919
- const H = y(N == null ? void 0 : N.parent), U = H.value.contents.findIndex((oe) => oe.id === N.schema.id);
9920
- (L = ($ = H.value) == null ? void 0 : $.contents) == null || L.splice(U, 1), Rt.value++;
9934
+ const H = y(N == null ? void 0 : N.parent), q = H.value.contents.findIndex((oe) => oe.id === N.schema.id);
9935
+ (L = ($ = H.value) == null ? void 0 : $.contents) == null || L.splice(q, 1), Rt.value++;
9921
9936
  }
9922
9937
  return;
9923
9938
  }
@@ -9973,15 +9988,15 @@ const Zt = /* @__PURE__ */ ge({
9973
9988
  }
9974
9989
  function S(M) {
9975
9990
  let E;
9976
- const D = M.type, V = zu[D], $ = Gu[D], L = $ ? $(M) : {};
9991
+ const D = M.type, V = Gu[D], $ = Wu[D], L = $ ? $(M) : {};
9977
9992
  L.customClass = e.ignore ? L.customClass : "", L.componentId = r.value, L.id = M.id;
9978
9993
  const N = M.contents && M.contents.length === 0;
9979
9994
  return M.contents && !!M.contents.length && V ? w(V, nt({
9980
9995
  ref: C
9981
- }, L), ld(E = M.contents.map((U) => w(Zt, {
9982
- key: U.id,
9983
- modelValue: U,
9984
- "onUpdate:modelValue": (oe) => U = oe,
9996
+ }, L), rd(E = M.contents.map((q) => w(Zt, {
9997
+ key: q.id,
9998
+ modelValue: q,
9999
+ "onUpdate:modelValue": (oe) => q = oe,
9985
10000
  componentId: r.value,
9986
10001
  onSelectionChange: x
9987
10002
  }, null))) ? E : {
@@ -9989,7 +10004,7 @@ const Zt = /* @__PURE__ */ ge({
9989
10004
  }) : V ? N ? w(V, nt({
9990
10005
  ref: C
9991
10006
  }, L), {
9992
- default: () => [w(ad, null, null)]
10007
+ default: () => [w(ld, null, null)]
9993
10008
  }) : w(V, nt({
9994
10009
  ref: C
9995
10010
  }, L), null) : w("div", null, null);
@@ -10012,7 +10027,7 @@ const Zt = /* @__PURE__ */ ge({
10012
10027
  });
10013
10028
  function P(M) {
10014
10029
  const E = M == null ? void 0 : M.target;
10015
- Lr(E);
10030
+ Hr(E);
10016
10031
  }
10017
10032
  function B() {
10018
10033
  var M, E;
@@ -10068,7 +10083,7 @@ function Bi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v, F, h, m, d, g = "data-g
10068
10083
  leftFixedGridHeaderColumnsStyle: D,
10069
10084
  rightFixedGridHeaderColumnsStyle: V
10070
10085
  } = h, $ = R(() => k.value || S.value || x.value), L = B.value.defaultColumnWidth, N = 32, H = /* @__PURE__ */ new Map([[0, 0]]);
10071
- function U(ae, be) {
10086
+ function q(ae, be) {
10072
10087
  const Ce = H.get(be) || 0, Se = {
10073
10088
  height: `${ae.depth * N}px`,
10074
10089
  left: `${ae.left}px`,
@@ -10102,7 +10117,7 @@ function Bi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v, F, h, m, d, g = "data-g
10102
10117
  const Se = y(ae.column);
10103
10118
  return w("div", {
10104
10119
  class: "fv-grid-header-cell",
10105
- style: U(ae, Ce)
10120
+ style: q(ae, Ce)
10106
10121
  }, [w(Zt, {
10107
10122
  modelValue: Se.value,
10108
10123
  "onUpdate:modelValue": (Y) => Se.value = Y,
@@ -10153,7 +10168,7 @@ function Bi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v, F, h, m, d, g = "data-g
10153
10168
  return w("div", {
10154
10169
  class: "fv-grid-header-corner d-flex",
10155
10170
  style: P.value
10156
- }, [k.value && w(nd, {
10171
+ }, [k.value && w(od, {
10157
10172
  id: "checkbox_for_select_all",
10158
10173
  indeterminate: de.value,
10159
10174
  modelValue: W.value,
@@ -10179,7 +10194,7 @@ function Bi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v, F, h, m, d, g = "data-g
10179
10194
  renderGridHeader: re
10180
10195
  };
10181
10196
  }
10182
- class rd extends zt {
10197
+ class sd extends zt {
10183
10198
  constructor(t, n) {
10184
10199
  super(t, n);
10185
10200
  }
@@ -10253,19 +10268,6 @@ class rd extends zt {
10253
10268
  type: "boolean",
10254
10269
  description: "是否显示设置按钮"
10255
10270
  }
10256
- // useBlankWhenDataIsEmpty: {
10257
- // title: '空数据表格显示空白行',
10258
- // description: '表格没有数据时是否显示空白行',
10259
- // type: 'boolean',
10260
- // refreshPanelAfterChanged: true
10261
- // },
10262
- // emptyDataHeight: {
10263
- // title: '空数据高度',
10264
- // type: 'number',
10265
- // description: '空数据行高度设置',
10266
- // min: 1,
10267
- // max: 1000
10268
- // },
10269
10271
  },
10270
10272
  setPropertyRelates(a, l) {
10271
10273
  switch (a && a.propertyID) {
@@ -10315,6 +10317,10 @@ class rd extends zt {
10315
10317
  {
10316
10318
  label: "onSelectionChange",
10317
10319
  name: "行切换事件"
10320
+ },
10321
+ {
10322
+ label: "onClickRow",
10323
+ name: "行点击事件"
10318
10324
  }
10319
10325
  ], o = this, i = o.eventsEditorUtils.formProperties(t, o.viewModelId, n), a = {};
10320
10326
  a[o.viewModelId] = {
@@ -10337,7 +10343,7 @@ class rd extends zt {
10337
10343
  };
10338
10344
  }
10339
10345
  }
10340
- function sd(e, t) {
10346
+ function ud(e, t) {
10341
10347
  const n = e.schema, o = y(!0), i = y(!0);
10342
10348
  function a(f) {
10343
10349
  return f && f.sourceType === "control" ? f.componentCategory === "input" : !1;
@@ -10352,7 +10358,7 @@ function sd(e, t) {
10352
10358
  return !0;
10353
10359
  }
10354
10360
  function u(f) {
10355
- return new rd(f, t).getPropertyConfig(n);
10361
+ return new sd(f, t).getPropertyConfig(n);
10356
10362
  }
10357
10363
  return {
10358
10364
  canAccepts: a,
@@ -10364,15 +10370,15 @@ function sd(e, t) {
10364
10370
  getPropsConfig: u
10365
10371
  };
10366
10372
  }
10367
- const ud = /* @__PURE__ */ ge({
10373
+ const cd = /* @__PURE__ */ ge({
10368
10374
  name: "FTreeGridDesign",
10369
- props: Uo,
10375
+ props: qo,
10370
10376
  emits: [],
10371
10377
  setup(e, t) {
10372
10378
  var Pe;
10373
- const n = y(), o = 0, i = 100, a = y(), l = y(), r = y(), c = y(), u = y([]), f = y(!1), s = y(((Pe = e.rowOption) == null ? void 0 : Pe.wrapContent) || !1), p = ue("designer-host-service"), C = ue("design-item-context"), v = sd(C, p), F = It(n, C, v);
10379
+ const n = y(), o = 0, i = 100, a = y(), l = y(), r = y(), c = y(), u = y([]), f = y(!1), s = y(((Pe = e.rowOption) == null ? void 0 : Pe.wrapContent) || !1), p = ue("designer-host-service"), C = ue("design-item-context"), v = ud(C, p), F = It(n, C, v);
10374
10380
  F.value.designerClass = "f-utils-fill-flex-column";
10375
- const h = xi(e), m = kn(e, h), d = _n(), g = vi(e), k = Ti(e), b = gi(e, /* @__PURE__ */ new Map(), g, h, k), _ = _i(e, b, h, u, t), I = Oc(e, u, h, _, t), x = R(() => Math.min(b.dataView.value.length, i)), {
10381
+ const h = xi(e), m = kn(e, h), d = _n(), g = vi(e), k = Ti(e), b = gi(e, /* @__PURE__ */ new Map(), g, h, k), _ = _i(e, b, h, u, t), I = Bc(e, u, h, _, t), x = R(() => Math.min(b.dataView.value.length, i)), {
10376
10382
  containerStyleObject: S
10377
10383
  } = Yo(e), T = Zo(e), P = y(e.columns), {
10378
10384
  applyCommands: B
@@ -10384,7 +10390,7 @@ const ud = /* @__PURE__ */ ge({
10384
10390
  updateColumnRenderContext: V
10385
10391
  } = O;
10386
10392
  E(b, M);
10387
- const $ = ni(e, D), L = Si(e, t, h), N = Sn(), H = Ci(e, L, N), U = wi(e, L, g, h, N, H), oe = bi(e, P, b, x, o, U), {
10393
+ const $ = ni(e, D), L = Si(e, t, h), N = Sn(), H = Ci(e, L, N), q = wi(e, L, g, h, N, H), oe = bi(e, P, b, x, o, q), {
10388
10394
  getVisualData: pe
10389
10395
  } = oe, Be = wn(e, D), ye = ki(e, _), {
10390
10396
  sidebarWidth: Ie
@@ -10413,8 +10419,8 @@ const ud = /* @__PURE__ */ ge({
10413
10419
  } = Bi(C, e, a, r, c, O, b, be, re, d, _e, K, $, _, ye, M, Te, W, u, "tree-grid-column"), {
10414
10420
  renderDataGridSidebar: le
10415
10421
  } = Ko(e, ae, _, ye, Te), {
10416
- renderHorizontalScrollbar: q
10417
- } = qo(e, a, Te), {
10422
+ renderHorizontalScrollbar: U
10423
+ } = Uo(e, a, Te), {
10418
10424
  renderVerticalScrollbar: Me
10419
10425
  } = Xo(e, a, Te);
10420
10426
  function X() {
@@ -10431,7 +10437,7 @@ const ud = /* @__PURE__ */ ge({
10431
10437
  });
10432
10438
  const ie = R(() => !u.value || !u.value.length), {
10433
10439
  renderEmpty: ve
10434
- } = Ts(t);
10440
+ } = Ms(t);
10435
10441
  return t.expose(F.value), () => w("div", {
10436
10442
  ref: n,
10437
10443
  dragref: `${C.schema.id}-container`,
@@ -10447,14 +10453,14 @@ const ud = /* @__PURE__ */ ge({
10447
10453
  onMouseleave: () => {
10448
10454
  f.value = !1;
10449
10455
  }
10450
- }, [le(u), j(), q(), Me()])]);
10456
+ }, [le(u), j(), U(), Me()])]);
10451
10457
  }
10452
10458
  });
10453
10459
  Ct.register = (e, t, n, o) => {
10454
- e["tree-grid"] = Ct, t["tree-grid"] = ms, o["tree-grid"] = { bindingResolver: hs, selectionItemResolver: gs };
10460
+ e["tree-grid"] = Ct, t["tree-grid"] = gs, o["tree-grid"] = { bindingResolver: vs, selectionItemResolver: hs };
10455
10461
  };
10456
10462
  Ct.registerDesigner = (e, t, n) => {
10457
- e["tree-grid"] = ud, t["tree-grid"] = vs;
10463
+ e["tree-grid"] = cd, t["tree-grid"] = ys;
10458
10464
  };
10459
10465
  gn(Ct);
10460
10466
  const xt = {
@@ -10462,17 +10468,17 @@ const xt = {
10462
10468
  convertTo: (e, t, n) => {
10463
10469
  e.editor[t] = n;
10464
10470
  }
10465
- }, cd = {
10471
+ }, dd = {
10466
10472
  convertFrom: (e, t) => e[t] == null ? !0 : e[t],
10467
10473
  convertTo: (e, t, n) => {
10468
10474
  e[t] = n;
10469
10475
  }
10470
10476
  };
10471
- function dd(e) {
10477
+ function fd(e) {
10472
10478
  let t = "form_group_" + Date.now();
10473
10479
  return e && (t = e.replaceAll("-", "_").replaceAll(".", "_")), "lookup." + t;
10474
10480
  }
10475
- const fd = {
10481
+ const pd = {
10476
10482
  convertFrom: (e, t) => {
10477
10483
  var n;
10478
10484
  return (n = e.editor[t]) == null ? void 0 : n.displayName;
@@ -10482,10 +10488,10 @@ const fd = {
10482
10488
  const o = n[0], { name: i, id: a, metadataContent: l } = o;
10483
10489
  e.editor.dataSource || (e.editor.dataSource = {}), e.editor.dataSource.displayName = i, e.editor.helpId = a;
10484
10490
  const { displayType: r, idField: c, textField: u } = l;
10485
- e.editor.displayType = r, e.editor.dataSource.idField = c, e.editor.textField = u, e.editor.dataSource.type = "ViewObject", e.editor.dataSource.uri || (e.editor.dataSource.uri = dd(e.id));
10491
+ e.editor.displayType = r, e.editor.dataSource.idField = c, e.editor.textField = u, e.editor.dataSource.type = "ViewObject", e.editor.dataSource.uri || (e.editor.dataSource.uri = fd(e.id));
10486
10492
  }
10487
10493
  }
10488
- }, pd = {
10494
+ }, md = {
10489
10495
  convertFrom: (e, t) => {
10490
10496
  var n;
10491
10497
  return (n = e.editor.dataSource) == null ? void 0 : n.idField;
@@ -10496,7 +10502,7 @@ const fd = {
10496
10502
  e.editor.dataSource.idField = o == null ? void 0 : o.bindingPath;
10497
10503
  }
10498
10504
  }
10499
- }, md = {
10505
+ }, gd = {
10500
10506
  convertFrom: (e, t) => {
10501
10507
  var n;
10502
10508
  return (n = e.editor) == null ? void 0 : n.textField;
@@ -10507,12 +10513,12 @@ const fd = {
10507
10513
  e.editor.textField = o == null ? void 0 : o.bindingPath;
10508
10514
  }
10509
10515
  }
10510
- }, gd = {
10516
+ }, hd = {
10511
10517
  convertFrom: (e, t) => e.editor.displayType ? e.editor.displayType.toUpperCase() : "LIST",
10512
10518
  convertTo: (e, t, n) => {
10513
10519
  e.editor.displayType = n;
10514
10520
  }
10515
- }, hd = Symbol("schema_repository_token");
10521
+ }, vd = Symbol("schema_repository_token");
10516
10522
  class Pi extends Xe {
10517
10523
  getPropertyConfig(t, n) {
10518
10524
  const o = this.getBasicProperties(t, n), i = this.getAppearanceConfig(), a = this.getBehaviorConfig(t), l = this.getLookupConfig(t.editor);
@@ -10554,7 +10560,7 @@ class Pi extends Xe {
10554
10560
  description: "",
10555
10561
  title: "可见",
10556
10562
  type: "boolean",
10557
- $converter: cd
10563
+ $converter: dd
10558
10564
  },
10559
10565
  placeHolder: {
10560
10566
  visible: !1,
@@ -10600,7 +10606,7 @@ class Pi extends Xe {
10600
10606
  },
10601
10607
  { id: "total", title: "全部", type: "List", dataSource: "Total" }
10602
10608
  ],
10603
- repositoryToken: hd,
10609
+ repositoryToken: vd,
10604
10610
  onSubmitModal: (n) => {
10605
10611
  if (n) {
10606
10612
  const o = this.formSchemaUtils.getFormMetadataBasicInfo();
@@ -10608,13 +10614,13 @@ class Pi extends Xe {
10608
10614
  }
10609
10615
  }
10610
10616
  },
10611
- $converter: fd
10617
+ $converter: pd
10612
10618
  },
10613
10619
  displayType: {
10614
10620
  description: "类型: 树列表、列表、双列表、左树右列表",
10615
10621
  title: "展示类型",
10616
10622
  type: "string",
10617
- $converter: gd,
10623
+ $converter: hd,
10618
10624
  editor: {
10619
10625
  type: "combo-list",
10620
10626
  editable: !1,
@@ -10647,15 +10653,15 @@ class Pi extends Xe {
10647
10653
  { field: "code", title: "编号" },
10648
10654
  { field: "bindingPath", title: "绑定字段" }
10649
10655
  ],
10650
- repositoryToken: Ut
10656
+ repositoryToken: qt
10651
10657
  },
10652
- $converter: pd
10658
+ $converter: md
10653
10659
  },
10654
10660
  textField: {
10655
10661
  description: "显示文本字段",
10656
10662
  title: "文本字段",
10657
10663
  type: "string",
10658
- $converter: md,
10664
+ $converter: gd,
10659
10665
  editor: {
10660
10666
  type: "field-selector",
10661
10667
  textField: "bindingPath",
@@ -10669,7 +10675,7 @@ class Pi extends Xe {
10669
10675
  { field: "code", title: "编号" },
10670
10676
  { field: "bindingPath", title: "绑定字段" }
10671
10677
  ],
10672
- repositoryToken: Ut
10678
+ repositoryToken: qt
10673
10679
  }
10674
10680
  },
10675
10681
  mappingFields: {
@@ -10692,7 +10698,7 @@ class Pi extends Xe {
10692
10698
  idField: "id",
10693
10699
  textField: "bindingPath",
10694
10700
  valueField: "bindingPath",
10695
- repositoryToken: Ut
10701
+ repositoryToken: qt
10696
10702
  },
10697
10703
  toData: {
10698
10704
  idField: "id",
@@ -10725,19 +10731,19 @@ class Pi extends Xe {
10725
10731
  };
10726
10732
  }
10727
10733
  }
10728
- function vd(e, t) {
10734
+ function yd(e, t) {
10729
10735
  function n(o, i) {
10730
10736
  const a = e.schema;
10731
10737
  return new Pi(o, t).getPropertyConfig(a, i);
10732
10738
  }
10733
10739
  return { getPropsConfig: n };
10734
10740
  }
10735
- const yd = /* @__PURE__ */ ge({
10741
+ const bd = /* @__PURE__ */ ge({
10736
10742
  name: "FLookupDesign",
10737
10743
  props: At,
10738
10744
  emits: [],
10739
10745
  setup(e, t) {
10740
- const n = y(), o = ue("design-item-context"), i = ue("designer-host-service"), a = vd(o, i), l = It(n, o, a);
10746
+ const n = y(), o = ue("design-item-context"), i = ue("designer-host-service"), a = yd(o, i), l = It(n, o, a);
10741
10747
  return ke(() => {
10742
10748
  n.value.componentInstance = l;
10743
10749
  }), t.expose(l.value), () => w("div", {
@@ -10764,7 +10770,7 @@ const Vi = /* @__PURE__ */ new Map([
10764
10770
  function Ei(e, t, n) {
10765
10771
  return t;
10766
10772
  }
10767
- const bd = "https://json-schema.org/draft/2020-12/schema", Cd = "https://farris-design.gitee.io/layout.schema.json", wd = "layout", Sd = "A Farris Container Component", xd = "object", Fd = {
10773
+ const Cd = "https://json-schema.org/draft/2020-12/schema", wd = "https://farris-design.gitee.io/layout.schema.json", Sd = "layout", xd = "A Farris Container Component", Fd = "object", _d = {
10768
10774
  id: {
10769
10775
  description: "The unique identifier for layout component",
10770
10776
  type: "string"
@@ -10807,19 +10813,19 @@ const bd = "https://json-schema.org/draft/2020-12/schema", Cd = "https://farris-
10807
10813
  type: "boolean",
10808
10814
  default: !0
10809
10815
  }
10810
- }, _d = [
10816
+ }, kd = [
10811
10817
  "id",
10812
10818
  "type",
10813
10819
  "contents"
10814
- ], kd = {
10815
- $schema: bd,
10816
- $id: Cd,
10817
- title: wd,
10818
- description: Sd,
10819
- type: xd,
10820
- properties: Fd,
10821
- required: _d
10822
- }, Id = "layout", Td = "A Farris Component", Md = "object", Od = {
10820
+ ], Id = {
10821
+ $schema: Cd,
10822
+ $id: wd,
10823
+ title: Sd,
10824
+ description: xd,
10825
+ type: Fd,
10826
+ properties: _d,
10827
+ required: kd
10828
+ }, Td = "layout", Md = "A Farris Component", Od = "object", Bd = {
10823
10829
  basic: {
10824
10830
  description: "Basic Infomation",
10825
10831
  title: "基本信息",
@@ -10854,15 +10860,15 @@ const bd = "https://json-schema.org/draft/2020-12/schema", Cd = "https://farris-
10854
10860
  }
10855
10861
  }
10856
10862
  }
10857
- }, Bd = {
10858
- title: Id,
10859
- description: Td,
10860
- type: Md,
10861
- categories: Od
10863
+ }, Pd = {
10864
+ title: Td,
10865
+ description: Md,
10866
+ type: Od,
10867
+ categories: Bd
10862
10868
  }, Tn = {
10863
10869
  customStyle: { type: String, defaut: "" },
10864
10870
  customClass: { type: String, defaut: "" }
10865
- }, Di = Le(Tn, kd, Vi, Ei, Bd);
10871
+ }, Di = Le(Tn, Id, Vi, Ei, Pd);
10866
10872
  function Ri(e) {
10867
10873
  const t = y(-1), n = y(-1), o = y(0), i = y(0), a = y(!1), l = y(!1), r = R(() => ({
10868
10874
  display: a.value ? "block" : "none",
@@ -10965,8 +10971,8 @@ function Wn() {
10965
10971
  }
10966
10972
  return { guid: e, uuid: t };
10967
10973
  }
10968
- const Pd = ["moz", "ms", "webkit"];
10969
- function Vd() {
10974
+ const Vd = ["moz", "ms", "webkit"];
10975
+ function Ed() {
10970
10976
  let e = 0;
10971
10977
  return (t) => {
10972
10978
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), i = setTimeout(() => {
@@ -10975,19 +10981,19 @@ function Vd() {
10975
10981
  return e = n + o, i;
10976
10982
  };
10977
10983
  }
10978
- function Ed() {
10984
+ function Dd() {
10979
10985
  if (typeof window > "u")
10980
10986
  return () => 0;
10981
10987
  if (window.requestAnimationFrame)
10982
10988
  return window.requestAnimationFrame.bind(window);
10983
- const e = Pd.filter((t) => `${t}RequestAnimationFrame` in window)[0];
10984
- return e ? window[`${e}RequestAnimationFrame`] : Vd();
10989
+ const e = Vd.filter((t) => `${t}RequestAnimationFrame` in window)[0];
10990
+ return e ? window[`${e}RequestAnimationFrame`] : Ed();
10985
10991
  }
10986
- Ed();
10987
- function Dd(e, t) {
10992
+ Dd();
10993
+ function Rd(e, t) {
10988
10994
  return ((t == null ? void 0 : t.split(" ")) || []).reduce((o, i) => (i && (o[i] = !0), o), e), e;
10989
10995
  }
10990
- function Rd(e, t) {
10996
+ function $d(e, t) {
10991
10997
  return ((t == null ? void 0 : t.split(";")) || []).reduce((o, i) => {
10992
10998
  if (i) {
10993
10999
  const a = i.split(":");
@@ -11009,9 +11015,9 @@ const yt = /* @__PURE__ */ ge({
11009
11015
  _t("layout", {
11010
11016
  useResizeHandleComposition: o
11011
11017
  });
11012
- const r = R(() => Dd({
11018
+ const r = R(() => Rd({
11013
11019
  "f-layout": !0
11014
- }, e == null ? void 0 : e.customClass)), c = R(() => Rd({}, e == null ? void 0 : e.customStyle));
11020
+ }, e == null ? void 0 : e.customClass)), c = R(() => $d({}, e == null ? void 0 : e.customStyle));
11015
11021
  return () => w("div", {
11016
11022
  class: r.value,
11017
11023
  style: c.value,
@@ -11027,7 +11033,7 @@ const yt = /* @__PURE__ */ ge({
11027
11033
  style: a.value
11028
11034
  }, null)]);
11029
11035
  }
11030
- }), $d = "https://json-schema.org/draft/2020-12/schema", Nd = "https://farris-design.gitee.io/layout-pane.schema.json", jd = "layout-pane", Ld = "A Farris Container Component", Hd = "object", Ad = {
11036
+ }), Nd = "https://json-schema.org/draft/2020-12/schema", jd = "https://farris-design.gitee.io/layout-pane.schema.json", Ld = "layout-pane", Hd = "A Farris Container Component", Ad = "object", zd = {
11031
11037
  id: {
11032
11038
  description: "The unique identifier for a layout pane",
11033
11039
  type: "string"
@@ -11090,14 +11096,19 @@ const yt = /* @__PURE__ */ ge({
11090
11096
  type: "number",
11091
11097
  default: !0
11092
11098
  }
11093
- }, zd = {
11094
- $schema: $d,
11095
- $id: Nd,
11096
- title: jd,
11097
- description: Ld,
11098
- type: Hd,
11099
- properties: Ad
11100
- }, Gd = "layout-pane", Wd = "A Farris Container Component", Ud = "object", qd = {
11099
+ }, Gd = [
11100
+ "id",
11101
+ "type",
11102
+ "contents"
11103
+ ], Wd = {
11104
+ $schema: Nd,
11105
+ $id: jd,
11106
+ title: Ld,
11107
+ description: Hd,
11108
+ type: Ad,
11109
+ properties: zd,
11110
+ required: Gd
11111
+ }, qd = "layout-pane", Ud = "A Farris Container Component", Kd = "object", Xd = {
11101
11112
  basic: {
11102
11113
  description: "Basic Infomation",
11103
11114
  title: "基本信息",
@@ -11192,11 +11203,11 @@ const yt = /* @__PURE__ */ ge({
11192
11203
  }
11193
11204
  }
11194
11205
  }
11195
- }, Kd = {
11196
- title: Gd,
11197
- description: Wd,
11198
- type: Ud,
11199
- categories: qd
11206
+ }, Yd = {
11207
+ title: qd,
11208
+ description: Ud,
11209
+ type: Kd,
11210
+ categories: Xd
11200
11211
  }, Mn = {
11201
11212
  customClass: { type: String, defaut: "" },
11202
11213
  customStyle: { type: String, defaut: "" },
@@ -11216,7 +11227,7 @@ const yt = /* @__PURE__ */ ge({
11216
11227
  minWidth: { type: Number, default: 100 },
11217
11228
  /** 面板最小高度 */
11218
11229
  minHeight: { type: Number, default: 100 }
11219
- }, $i = Le(Mn, zd, Vi, Ei, Kd);
11230
+ }, $i = Le(Mn, Wd, Vi, Ei, Yd);
11220
11231
  function Ni(e, t, n, o, i) {
11221
11232
  const {
11222
11233
  horizontalResizeBarPosition: a,
@@ -11312,19 +11323,19 @@ const Vt = /* @__PURE__ */ ge({
11312
11323
  }, null)]);
11313
11324
  }
11314
11325
  });
11315
- function Xd(e, t) {
11326
+ function Jd(e, t) {
11316
11327
  function n() {
11317
11328
  return !1;
11318
11329
  }
11319
11330
  return { canAccepts: n };
11320
11331
  }
11321
- const Yd = /* @__PURE__ */ ge({
11332
+ const Qd = /* @__PURE__ */ ge({
11322
11333
  name: "FLayoutDesign",
11323
11334
  props: Tn,
11324
11335
  emits: [],
11325
11336
  setup(e, t) {
11326
11337
  var f;
11327
- const n = y(), o = ue("design-item-context"), i = Xd(o.schema, (f = o.parent) == null ? void 0 : f.schema), a = It(n, o, i);
11338
+ const n = y(), o = ue("design-item-context"), i = Jd(o.schema, (f = o.parent) == null ? void 0 : f.schema), a = It(n, o, i);
11328
11339
  a.value.canNested = !1;
11329
11340
  const l = Ri(n), {
11330
11341
  horizontalResizeHandleStyle: r,
@@ -11350,10 +11361,10 @@ const Yd = /* @__PURE__ */ ge({
11350
11361
  }, null)]);
11351
11362
  }
11352
11363
  });
11353
- function Jd(e, t) {
11364
+ function Zd(e, t) {
11354
11365
  const n = e.schema;
11355
11366
  function o(a) {
11356
- return !!vu().basalDragulaRuleForContainer(a);
11367
+ return !!yu().basalDragulaRuleForContainer(a);
11357
11368
  }
11358
11369
  function i() {
11359
11370
  const a = ["f-layout-pane"];
@@ -11361,14 +11372,14 @@ function Jd(e, t) {
11361
11372
  }
11362
11373
  return { canAccepts: o, getDesignerClass: i };
11363
11374
  }
11364
- const Qd = /* @__PURE__ */ ge({
11375
+ const ef = /* @__PURE__ */ ge({
11365
11376
  name: "FLayoutPaneDesign",
11366
11377
  props: Mn,
11367
11378
  emits: [],
11368
11379
  setup(e, t) {
11369
11380
  const n = y(), o = y();
11370
11381
  ue("designer-host-service");
11371
- const i = ue("design-item-context"), a = Jd(i), l = It(o, i, a);
11382
+ const i = ue("design-item-context"), a = Zd(i), l = It(o, i, a);
11372
11383
  l.value.canNested = !1, l.value.canMove = !1, l.value.canDelete = !1, ke(() => {
11373
11384
  o.value.componentInstance = l;
11374
11385
  }), t.expose(l.value);
@@ -11421,14 +11432,14 @@ yt.register = (e, t, n, o) => {
11421
11432
  e.layout = yt, t.layout = Di, e["layout-pane"] = Vt, t["layout-pane"] = $i;
11422
11433
  };
11423
11434
  yt.registerDesigner = (e, t, n) => {
11424
- e.layout = Yd, t.layout = Di, e["layout-pane"] = Qd, t["layout-pane"] = $i;
11435
+ e.layout = Qd, t.layout = Di, e["layout-pane"] = ef, t["layout-pane"] = $i;
11425
11436
  };
11426
11437
  const ji = /* @__PURE__ */ new Map([
11427
11438
  ["appearance", ot],
11428
11439
  ["column", "columnOption"]
11429
11440
  // ['fields', resolveGridColumns]
11430
- ]), Li = /* @__PURE__ */ new Map([]), Zd = "root-viewmodel";
11431
- class ef {
11441
+ ]), Li = /* @__PURE__ */ new Map([]), tf = "root-viewmodel";
11442
+ class nf {
11432
11443
  constructor(t, n) {
11433
11444
  A(this, "formSchemaUtils");
11434
11445
  A(this, "controlCreatorUtils");
@@ -11586,7 +11597,7 @@ class ef {
11586
11597
  code: `${t.componentId}-component-viewmodel`,
11587
11598
  name: t.componentName,
11588
11599
  bindTo: t.bindTo,
11589
- parent: Zd,
11600
+ parent: tf,
11590
11601
  fields: this.assembleViewModelFields(t),
11591
11602
  commands: [],
11592
11603
  states: [],
@@ -11642,7 +11653,7 @@ class ef {
11642
11653
  return l == null || l.forEach((r) => {
11643
11654
  if (r.$type === ri.ComplexField)
11644
11655
  return;
11645
- const c = Qe(r), u = this.controlCreatorUtils.setGridFieldProperty("data-grid-column", c, "", t.editable);
11656
+ const c = Ye(r), u = this.controlCreatorUtils.setGridFieldProperty("data-grid-column", c, "", t.editable);
11646
11657
  u && a.push(u);
11647
11658
  }), [o];
11648
11659
  }
@@ -11681,14 +11692,14 @@ function Hi(e, t, n, o) {
11681
11692
  dataSource: (u = (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntity) == null ? void 0 : u.label,
11682
11693
  selectedFields: (f = n.bindingSourceContext) == null ? void 0 : f.bindingEntityFields
11683
11694
  };
11684
- return new ef(e, o).createComponent(p);
11695
+ return new nf(e, o).createComponent(p);
11685
11696
  } else
11686
11697
  return t;
11687
11698
  }
11688
11699
  function Ai(e, t, n) {
11689
11700
  return t;
11690
11701
  }
11691
- const tf = "https://json-schema.org/draft/2020-12/schema", nf = "https://farris-design.gitee.io/data-grid.schema.json", of = "data-grid", af = "A Farris Data Grid Component", lf = "object", rf = {
11702
+ const of = "https://json-schema.org/draft/2020-12/schema", af = "https://farris-design.gitee.io/data-grid.schema.json", lf = "data-grid", rf = "A Farris Data Grid Component", sf = "object", uf = {
11692
11703
  id: {
11693
11704
  description: "The unique identifier for a Input Group",
11694
11705
  type: "string"
@@ -12472,17 +12483,18 @@ const tf = "https://json-schema.org/draft/2020-12/schema", nf = "https://farris-
12472
12483
  default: !1
12473
12484
  }
12474
12485
  }
12475
- }, sf = [
12486
+ }, cf = [
12476
12487
  "id",
12477
- "type"
12478
- ], uf = {
12479
- $schema: tf,
12480
- $id: nf,
12481
- title: of,
12482
- description: af,
12483
- type: lf,
12484
- properties: rf,
12485
- required: sf
12488
+ "type",
12489
+ "columns"
12490
+ ], df = {
12491
+ $schema: of,
12492
+ $id: af,
12493
+ title: lf,
12494
+ description: rf,
12495
+ type: sf,
12496
+ properties: uf,
12497
+ required: cf
12486
12498
  }, On = {
12487
12499
  /** 变更策略 默认主动更新 */
12488
12500
  changePolicy: { type: String, default: "push" },
@@ -12609,7 +12621,7 @@ const tf = "https://json-schema.org/draft/2020-12/schema", nf = "https://farris-
12609
12621
  type: Boolean,
12610
12622
  default: !1
12611
12623
  }
12612
- }, cf = Object.assign({}, On, { componentId: { type: String, default: "" } }), zi = Le(On, uf, ji, Hi), df = Xl(), ff = Jl();
12624
+ }, ff = Object.assign({}, On, { componentId: { type: String, default: "" } }), zi = Le(On, df, ji, Hi), pf = Yl(), mf = Ql();
12613
12625
  function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12614
12626
  const {
12615
12627
  calculateCellPositionInRow: F,
@@ -12643,7 +12655,7 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12643
12655
  } = r, {
12644
12656
  navigateOnKeyUp: H
12645
12657
  } = f, {
12646
- gridDataStyle: U,
12658
+ gridDataStyle: q,
12647
12659
  gridMergedDataStyle: oe,
12648
12660
  leftFixedGridDataStyle: pe,
12649
12661
  leftFixedGridMergedDataStyle: Be,
@@ -12663,13 +12675,13 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12663
12675
  }, [w("span", {
12664
12676
  class: T(j)
12665
12677
  }, null)]));
12666
- const q = j.data[j.groupField];
12678
+ const U = j.data[j.groupField];
12667
12679
  le.push(w("div", {
12668
- ref: q.setRef,
12680
+ ref: U.setRef,
12669
12681
  key: h(j, j.layer + 1),
12670
12682
  class: "fv-grid-cell",
12671
- style: b(q, Y, j.layer)
12672
- }, [q.data])), Object.values(j.data).filter((Me) => Me.field !== j.groupField && Me.colSpan !== 0).forEach((Me) => {
12683
+ style: b(U, Y, j.layer)
12684
+ }, [U.data])), Object.values(j.data).filter((Me) => Me.field !== j.groupField && Me.colSpan !== 0).forEach((Me) => {
12673
12685
  le.push(w("div", {
12674
12686
  ref: Me.setRef,
12675
12687
  key: h(j, Me.index),
@@ -12686,20 +12698,20 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12686
12698
  key: d(j),
12687
12699
  class: B(j),
12688
12700
  style: g(j),
12689
- onClick: (q) => O(q, j),
12690
- onMouseover: (q) => M(q, j)
12701
+ onClick: (U) => O(U, j),
12702
+ onMouseover: (U) => M(U, j)
12691
12703
  }, [me(j, Y)]);
12692
12704
  }
12693
12705
  function we(j, Y) {
12694
12706
  const le = [];
12695
12707
  if (j.groupField && Y[j.groupField]) {
12696
- const q = j.data[j.groupField];
12708
+ const U = j.data[j.groupField];
12697
12709
  le.push(w("div", {
12698
- ref: q.setRef,
12710
+ ref: U.setRef,
12699
12711
  key: h(j, j.layer + 1),
12700
12712
  class: "fv-grid-cell",
12701
- style: _(q, Y, j.layer)
12702
- }, [q.data]));
12713
+ style: _(U, Y, j.layer)
12714
+ }, [U.data]));
12703
12715
  }
12704
12716
  return le;
12705
12717
  }
@@ -12709,8 +12721,8 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12709
12721
  key: d(j),
12710
12722
  class: B(j),
12711
12723
  style: g(j),
12712
- onClick: (q) => O(q, j),
12713
- onMouseover: (q) => M(q, j)
12724
+ onClick: (U) => O(U, j),
12725
+ onMouseover: (U) => M(U, j)
12714
12726
  }, [we(j, Y)]);
12715
12727
  }
12716
12728
  function K(j, Y, le) {
@@ -12719,41 +12731,41 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12719
12731
  key: d(j),
12720
12732
  class: B(j),
12721
12733
  style: g(j),
12722
- onClick: (q) => O(q, j),
12723
- onMouseover: (q) => M(q, j),
12724
- onMouseout: (q) => E(q, j)
12725
- }, [Object.values(j.data).filter((q) => Y[q.field] && q.rowSpan === 1).map((q) => {
12726
- const Me = le == null ? void 0 : le.find((X) => X.field === q.field);
12734
+ onClick: (U) => O(U, j),
12735
+ onMouseover: (U) => M(U, j),
12736
+ onMouseout: (U) => E(U, j)
12737
+ }, [Object.values(j.data).filter((U) => Y[U.field] && U.rowSpan === 1).map((U) => {
12738
+ const Me = le == null ? void 0 : le.find((X) => X.field === U.field);
12727
12739
  return w("div", {
12728
- ref: q.setRef,
12729
- key: h(j, q.index),
12730
- class: P(q),
12731
- style: m(q, Y),
12732
- onClick: (X) => D(X, q, j, Me),
12733
- onKeyup: (X) => H(X, q)
12740
+ ref: U.setRef,
12741
+ key: h(j, U.index),
12742
+ class: P(U),
12743
+ style: m(U, Y),
12744
+ onClick: (X) => D(X, U, j, Me),
12745
+ onKeyup: (X) => H(X, U)
12734
12746
  }, [w("div", {
12735
- class: I(q, Me),
12736
- style: x(q)
12747
+ class: I(U, Me),
12748
+ style: x(U)
12737
12749
  }, [w("div", {
12738
- class: S(q)
12739
- }, [q.data != null && t.slots.cellTemplate ? t.slots.cellTemplate({
12740
- cell: q,
12750
+ class: S(U)
12751
+ }, [U.data != null && t.slots.cellTemplate ? t.slots.cellTemplate({
12752
+ cell: U,
12741
12753
  row: j
12742
- }) : q.mode === Ae.editing ? q.getEditor(q) : q.formatter ? q.formatter(q, j) : q.data != null ? q.data.toString() : q.data])])]);
12754
+ }) : U.mode === Ae.editing ? U.getEditor(U) : U.formatter ? U.formatter(U, j) : U.data != null ? U.data.toString() : U.data])])]);
12743
12755
  })]);
12744
12756
  }
12745
12757
  const de = [K, he, W];
12746
12758
  function _e(j, Y) {
12747
12759
  const le = F(j);
12748
- return v.value.map((q) => de[q.type](q, le, j));
12760
+ return v.value.map((U) => de[U.type](U, le, j));
12749
12761
  }
12750
12762
  function re(j) {
12751
12763
  const Y = F(j);
12752
- return v.value.map((le) => Object.values(le.data).filter((q) => Y[q.field] && q.rowSpan > 1).map((q) => w("div", {
12753
- key: h(le, q.index),
12764
+ return v.value.map((le) => Object.values(le.data).filter((U) => Y[U.field] && U.rowSpan > 1).map((U) => w("div", {
12765
+ key: h(le, U.index),
12754
12766
  class: "fv-grid-cell fv-grid-merged-cell",
12755
- style: k(le, q, Y)
12756
- }, [q.data])));
12767
+ style: k(le, U, Y)
12768
+ }, [U.data])));
12757
12769
  }
12758
12770
  function ae() {
12759
12771
  return w("div", {
@@ -12773,7 +12785,7 @@ function Gi(e, t, n, o, i, a, l, r, c, u, f, s, p, C, v) {
12773
12785
  class: "fv-grid-content-primary"
12774
12786
  }, [w("div", {
12775
12787
  class: "fv-grid-data",
12776
- style: U.value
12788
+ style: q.value
12777
12789
  }, [_e($.value.primaryColumns.filter((j) => j.visible))]), w("div", {
12778
12790
  class: "fv-grid-merge-date",
12779
12791
  style: oe.value
@@ -12824,7 +12836,7 @@ const it = /* @__PURE__ */ ge({
12824
12836
  updateColumnRenderContext: E
12825
12837
  } = P;
12826
12838
  O(b, B);
12827
- const D = so(e, M), V = cn(e, t, a), $ = dn(), L = fn(e, V, $), N = pn(e, V, h, a, $, L), H = Fo(e, a, L, N), U = _o(e, a, L, N), oe = mn(e, i, b, I, 0, N, H, U), {
12839
+ const D = so(e, M), V = cn(e, t, a), $ = dn(), L = fn(e, V, $), N = pn(e, V, h, a, $, L), H = Fo(e, a, L, N), q = _o(e, a, L, N), oe = mn(e, i, b, I, 0, N, H, q), {
12828
12840
  getVisualData: pe
12829
12841
  } = oe, Be = wa(M), ye = uo(e, M), Ie = co(e, _), {
12830
12842
  sidebarWidth: Te
@@ -12847,7 +12859,7 @@ const it = /* @__PURE__ */ ge({
12847
12859
  "fv-grid-wrap-content": C.value
12848
12860
  })), {
12849
12861
  renderGridHeader: le,
12850
- renderGridColumnResizeOverlay: q
12862
+ renderGridColumnResizeOverlay: U
12851
12863
  } = yo(e, r, u, f, P, b, Se, be, F, ae, _e, D, _, Ie, B, me, K, s), {
12852
12864
  renderDataGridPagination: Me
12853
12865
  } = Sa(e, t, b, me, g), {
@@ -12962,10 +12974,10 @@ const it = /* @__PURE__ */ ge({
12962
12974
  onMouseleave: () => {
12963
12975
  p.value = !1;
12964
12976
  }
12965
- }, [X(s), wt(), Pe(), Ne()]), ve(), k.value && Me(), q(), e.disabled && ie()]);
12977
+ }, [X(s), wt(), Pe(), Ne()]), ve(), k.value && Me(), U(), e.disabled && ie()]);
12966
12978
  }
12967
12979
  });
12968
- class pf extends zt {
12980
+ class gf extends zt {
12969
12981
  constructor(t, n) {
12970
12982
  super(t, n);
12971
12983
  }
@@ -13197,7 +13209,7 @@ class pf extends zt {
13197
13209
  };
13198
13210
  }
13199
13211
  }
13200
- function mf(e, t) {
13212
+ function hf(e, t) {
13201
13213
  const n = e.schema, o = y(!0), i = y(!0);
13202
13214
  function a(f) {
13203
13215
  return f && f.sourceType === "control" ? f.componentCategory === "input" : !1;
@@ -13212,7 +13224,7 @@ function mf(e, t) {
13212
13224
  return !0;
13213
13225
  }
13214
13226
  function u(f) {
13215
- return new pf(f, t).getPropertyConfig(n);
13227
+ return new gf(f, t).getPropertyConfig(n);
13216
13228
  }
13217
13229
  return {
13218
13230
  canAccepts: a,
@@ -13226,11 +13238,11 @@ function mf(e, t) {
13226
13238
  }
13227
13239
  const en = /* @__PURE__ */ ge({
13228
13240
  name: "FDataGridDesign",
13229
- props: cf,
13241
+ props: ff,
13230
13242
  emits: ["ClickRow", "DoubleClickRow", "selectionChange", "enterUpInLastCell", "pageIndexChanged", "pageSizeChanged"],
13231
13243
  setup(e, t) {
13232
13244
  var We;
13233
- const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = mf(i, o), l = It(n, i, a);
13245
+ const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = hf(i, o), l = It(n, i, a);
13234
13246
  l.value.styles = "display:flex;flex:1;", ke(() => {
13235
13247
  n.value.componentInstance = l;
13236
13248
  }), t.expose(l.value);
@@ -13246,9 +13258,9 @@ const en = /* @__PURE__ */ ge({
13246
13258
  updateColumnRenderContext: $
13247
13259
  } = M;
13248
13260
  D(I, E);
13249
- const L = ni(e, V), N = Si(e, t, u), H = Sn(), U = Ci(e, N, H), oe = wi(e, N, b, u, H, U), pe = Rc(e, u, U, oe), Be = $c(e, u, U, oe), ye = bi(e, r, I, T, f, oe, pe, Be), {
13261
+ const L = ni(e, V), N = Si(e, t, u), H = Sn(), q = Ci(e, N, H), oe = wi(e, N, b, u, H, q), pe = $c(e, u, q, oe), Be = Nc(e, u, q, oe), ye = bi(e, r, I, T, f, oe, pe, Be), {
13250
13262
  getVisualData: Ie
13251
- } = ye, Te = zc(), me = wn(e, V), he = ki(e, x), {
13263
+ } = ye, Te = Gc(), me = wn(e, V), he = ki(e, x), {
13252
13264
  sidebarWidth: we
13253
13265
  } = he;
13254
13266
  h.value = Ie(0, T.value + f - 1);
@@ -13260,7 +13272,7 @@ const en = /* @__PURE__ */ ge({
13260
13272
  resetScroll: ae
13261
13273
  } = W, be = ti(e, V, s, re, L), {
13262
13274
  calculateColumnsSize: Ce
13263
- } = be, Se = hi(), j = Qo(s, v, I, Se, W), Y = Fi(e, t, x, u), le = ei(e, t, M, I, L, g, W), q = R(() => ({
13275
+ } = be, Se = hi(), j = Qo(s, v, I, Se, W), Y = Fi(e, t, x, u), le = ei(e, t, M, I, L, g, W), U = R(() => ({
13264
13276
  "fv-grid": !0,
13265
13277
  "fv-datagrid-strip": F.value
13266
13278
  })), Me = R(() => ({
@@ -13270,22 +13282,22 @@ const en = /* @__PURE__ */ ge({
13270
13282
  })), {
13271
13283
  renderGridHeader: X
13272
13284
  } = Bi(i, e, s, C, v, M, I, le, j, k, Se, be, L, x, he, E, W, re, h);
13273
- _s(e, t, I, W, _);
13285
+ ks(e, t, I, W, _);
13274
13286
  const {
13275
13287
  renderDataGridSidebar: ie
13276
13288
  } = Ko(e, Y, x, he, W), {
13277
13289
  renderDisableMask: ve
13278
- } = ys(), {
13290
+ } = bs(), {
13279
13291
  renderDataGridSummery: Pe
13280
- } = ks(e, I, M), {
13292
+ } = Is(e, I, M), {
13281
13293
  renderHorizontalScrollbar: Ne
13282
- } = qo(e, s, W), {
13294
+ } = Uo(e, s, W), {
13283
13295
  renderVerticalScrollbar: Ge
13284
13296
  } = Xo(e, s, W), {
13285
13297
  renderFilterPanel: Ze
13286
- } = bs(e, M, I, k, W), {
13298
+ } = Cs(e, M, I, k, W), {
13287
13299
  renderGroupPanel: et
13288
- } = Cs(e, I, le, g, W);
13300
+ } = ws(e, I, le, g, W);
13289
13301
  function pt() {
13290
13302
  var Fe, ut;
13291
13303
  _e.value = ((Fe = p.value) == null ? void 0 : Fe.clientHeight) || 0, de.value = ((ut = s.value) == null ? void 0 : ut.clientWidth) || 0, Ce();
@@ -13325,7 +13337,7 @@ const en = /* @__PURE__ */ ge({
13325
13337
  function ce(Fe) {
13326
13338
  Fe && (I.load(Fe), h.value = Ie(0, T.value + f - 1));
13327
13339
  }
13328
- const Oe = Nc(e, t, {
13340
+ const Oe = jc(e, t, {
13329
13341
  addNewDataItem: mt,
13330
13342
  addNewDataItemAtLast: gt,
13331
13343
  removeDataItem: z,
@@ -13344,7 +13356,7 @@ const en = /* @__PURE__ */ ge({
13344
13356
  } = Gi(e, t, p, C, v, Te, me, M, N, g, Oe, Y, ye, W, h);
13345
13357
  return () => w("div", {
13346
13358
  ref: n,
13347
- class: q.value,
13359
+ class: U.value,
13348
13360
  style: P.value,
13349
13361
  onWheel: K
13350
13362
  }, [Ze(), et(), X(), w("div", {
@@ -13358,7 +13370,7 @@ const en = /* @__PURE__ */ ge({
13358
13370
  }
13359
13371
  }, [ie(h), Ve(), Ne(), Ge()]), Pe(), S.value && ve()]);
13360
13372
  }
13361
- }), gf = "https://json-schema.org/draft/2020-12/schema", hf = "https://farris-design.gitee.io/grid-field-editor.schema.json", vf = "grid-field-editor", yf = "A Farris Data Grid Component", bf = "object", Cf = {
13373
+ }), vf = "https://json-schema.org/draft/2020-12/schema", yf = "https://farris-design.gitee.io/grid-field-editor.schema.json", bf = "grid-field-editor", Cf = "A Farris Data Grid Component", wf = "object", Sf = {
13362
13374
  id: {
13363
13375
  description: "The unique identifier for a Input Group",
13364
13376
  type: "string"
@@ -13378,17 +13390,17 @@ const en = /* @__PURE__ */ ge({
13378
13390
  type: "Object",
13379
13391
  default: null
13380
13392
  }
13381
- }, wf = [
13393
+ }, xf = [
13382
13394
  "id",
13383
13395
  "type"
13384
- ], Sf = {
13385
- $schema: gf,
13386
- $id: hf,
13387
- title: vf,
13388
- description: yf,
13389
- type: bf,
13390
- properties: Cf,
13391
- required: wf
13396
+ ], Ff = {
13397
+ $schema: vf,
13398
+ $id: yf,
13399
+ title: bf,
13400
+ description: Cf,
13401
+ type: wf,
13402
+ properties: Sf,
13403
+ required: xf
13392
13404
  }, Wi = {
13393
13405
  modelValue: { type: String, default: "" },
13394
13406
  /** 组件唯一标识 */
@@ -13398,13 +13410,13 @@ const en = /* @__PURE__ */ ge({
13398
13410
  gridType: { Type: String, default: "data-grid-column" },
13399
13411
  /** 弹出选择窗口前,获取最新的表格数据 */
13400
13412
  getLatestGridData: { Type: Function }
13401
- }, xf = Le(Wi, Sf, ji, Hi), Ff = /* @__PURE__ */ new Map([
13413
+ }, _f = Le(Wi, Ff, ji, Hi), kf = /* @__PURE__ */ new Map([
13402
13414
  ["appearance", ot]
13403
13415
  ]);
13404
- function _f(e, t, n) {
13416
+ function If(e, t, n) {
13405
13417
  return t;
13406
13418
  }
13407
- const kf = "transfer", If = "A Farris Component", Tf = "object", Mf = {
13419
+ const Tf = "transfer", Mf = "A Farris Component", Of = "object", Bf = {
13408
13420
  basic: {
13409
13421
  description: "Basic Infomation",
13410
13422
  title: "基本信息",
@@ -13426,12 +13438,12 @@ const kf = "transfer", If = "A Farris Component", Tf = "object", Mf = {
13426
13438
  }
13427
13439
  }
13428
13440
  }
13429
- }, Of = {
13430
- title: kf,
13431
- description: If,
13432
- type: Tf,
13433
- categories: Mf
13434
- }, Bf = "https://json-schema.org/draft/2020-12/schema", Pf = "https://farris-design.gitee.io/transfer.schema.json", Vf = "transfer", Ef = "A Farris Component", Df = "object", Rf = {
13441
+ }, Pf = {
13442
+ title: Tf,
13443
+ description: Mf,
13444
+ type: Of,
13445
+ categories: Bf
13446
+ }, Vf = "https://json-schema.org/draft/2020-12/schema", Ef = "https://farris-design.gitee.io/transfer.schema.json", Df = "transfer", Rf = "A Farris Component", $f = "object", Nf = {
13435
13447
  id: {
13436
13448
  description: "The unique identifier for transfer",
13437
13449
  type: "string"
@@ -13493,18 +13505,18 @@ const kf = "transfer", If = "A Farris Component", Tf = "object", Mf = {
13493
13505
  type: "boolean",
13494
13506
  default: !0
13495
13507
  }
13496
- }, $f = [
13508
+ }, jf = [
13497
13509
  "id",
13498
13510
  "type"
13499
- ], Nf = {
13500
- $schema: Bf,
13501
- $id: Pf,
13502
- title: Vf,
13503
- description: Ef,
13504
- type: Df,
13505
- properties: Rf,
13506
- required: $f
13507
- }, Ui = {
13511
+ ], Lf = {
13512
+ $schema: Vf,
13513
+ $id: Ef,
13514
+ title: Df,
13515
+ description: Rf,
13516
+ type: $f,
13517
+ properties: Nf,
13518
+ required: jf
13519
+ }, qi = {
13508
13520
  dataSource: {
13509
13521
  type: Array,
13510
13522
  default: []
@@ -13517,14 +13529,14 @@ const kf = "transfer", If = "A Farris Component", Tf = "object", Mf = {
13517
13529
  selections: { type: Array, default: [] },
13518
13530
  selectionValues: { type: Array, default: [] }
13519
13531
  };
13520
- Le(Ui, Nf, Ff, _f, Of);
13521
- const jf = /* @__PURE__ */ new Map([
13532
+ Le(qi, Lf, kf, If, Pf);
13533
+ const Hf = /* @__PURE__ */ new Map([
13522
13534
  ["appearance", ot]
13523
13535
  ]);
13524
- function Lf(e, t, n) {
13536
+ function Af(e, t, n) {
13525
13537
  return t;
13526
13538
  }
13527
- const Hf = "https://json-schema.org/draft/2020-12/schema", Af = "https://farris-design.gitee.io/list-view.schema.json", zf = "list-view", Gf = "A Farris Component", Wf = "object", Uf = {
13539
+ const zf = "https://json-schema.org/draft/2020-12/schema", Gf = "https://farris-design.gitee.io/list-view.schema.json", Wf = "list-view", qf = "A Farris Component", Uf = "object", Kf = {
13528
13540
  id: {
13529
13541
  description: "The unique identifier for list-view",
13530
13542
  type: "string"
@@ -13586,18 +13598,18 @@ const Hf = "https://json-schema.org/draft/2020-12/schema", Af = "https://farris-
13586
13598
  type: "boolean",
13587
13599
  default: !0
13588
13600
  }
13589
- }, qf = [
13601
+ }, Xf = [
13590
13602
  "id",
13591
13603
  "type"
13592
- ], Kf = {
13593
- $schema: Hf,
13594
- $id: Af,
13595
- title: zf,
13596
- description: Gf,
13597
- type: Wf,
13598
- properties: Uf,
13599
- required: qf
13600
- }, Xf = "list-view", Yf = "A Farris Component", Jf = "object", Qf = {
13604
+ ], Yf = {
13605
+ $schema: zf,
13606
+ $id: Gf,
13607
+ title: Wf,
13608
+ description: qf,
13609
+ type: Uf,
13610
+ properties: Kf,
13611
+ required: Xf
13612
+ }, Jf = "list-view", Qf = "A Farris Component", Zf = "object", ep = {
13601
13613
  basic: {
13602
13614
  description: "Basic Infomation",
13603
13615
  title: "基本信息",
@@ -13619,12 +13631,12 @@ const Hf = "https://json-schema.org/draft/2020-12/schema", Af = "https://farris-
13619
13631
  }
13620
13632
  }
13621
13633
  }
13622
- }, Zf = {
13623
- title: Xf,
13624
- description: Yf,
13625
- type: Jf,
13626
- categories: Qf
13627
- }, qi = {
13634
+ }, tp = {
13635
+ title: Jf,
13636
+ description: Qf,
13637
+ type: Zf,
13638
+ categories: ep
13639
+ }, Ui = {
13628
13640
  /** 列集合 */
13629
13641
  columns: {
13630
13642
  type: Array,
@@ -13666,8 +13678,8 @@ const Hf = "https://json-schema.org/draft/2020-12/schema", Af = "https://farris-
13666
13678
  // 搜索启用高亮
13667
13679
  enableHighlightSearch: { type: Boolean, default: !0 }
13668
13680
  };
13669
- Le(qi, Kf, jf, Lf, Zf);
13670
- function ep(e, t) {
13681
+ Le(Ui, Yf, Hf, Af, tp);
13682
+ function np(e, t) {
13671
13683
  function n(a) {
13672
13684
  const l = [];
13673
13685
  let r = a.nextNode();
@@ -13700,7 +13712,7 @@ function ep(e, t) {
13700
13712
  }
13701
13713
  return { search: i };
13702
13714
  }
13703
- function Un(e, t, n, o, i, a, l, r, c, u) {
13715
+ function qn(e, t, n, o, i, a, l, r, c, u) {
13704
13716
  const f = y(e.size), s = y(e.textField), p = y(e.titleField), C = y(e.disableField), v = R(() => {
13705
13717
  var x, S;
13706
13718
  return ((x = e.selection) == null ? void 0 : x.multiSelect) && ((S = e.selection) == null ? void 0 : S.showCheckbox);
@@ -13748,7 +13760,7 @@ function Un(e, t, n, o, i, a, l, r, c, u) {
13748
13760
  renderItem: I
13749
13761
  };
13750
13762
  }
13751
- function tp(e, t, n, o, i, a, l, r, c, u) {
13763
+ function op(e, t, n, o, i, a, l, r, c, u) {
13752
13764
  const f = y(e.multiSelect), s = y(e.disableField), {
13753
13765
  onMouseenterItem: p,
13754
13766
  onMouseoverItem: C,
@@ -13760,7 +13772,7 @@ function tp(e, t, n, o, i, a, l, r, c, u) {
13760
13772
  onClickItem: d
13761
13773
  } = l;
13762
13774
  function g(b, _, I) {
13763
- return t.slots.content ? w(Je, null, [t.slots.content && t.slots.content({
13775
+ return t.slots.content ? w(Qe, null, [t.slots.content && t.slots.content({
13764
13776
  item: b.raw,
13765
13777
  index: _,
13766
13778
  selectedItem: I
@@ -13795,7 +13807,7 @@ function tp(e, t, n, o, i, a, l, r, c, u) {
13795
13807
  renderItem: k
13796
13808
  };
13797
13809
  }
13798
- function np(e, t, n, o, i, a, l, r, c, u) {
13810
+ function ip(e, t, n, o, i, a, l, r, c, u) {
13799
13811
  const f = y(e.multiSelect), s = y(e.disableField), {
13800
13812
  onMouseenterItem: p,
13801
13813
  onMouseoverItem: C,
@@ -13867,7 +13879,7 @@ function np(e, t, n, o, i, a, l, r, c, u) {
13867
13879
  renderItem: B
13868
13880
  };
13869
13881
  }
13870
- function op(e, t, n, o, i, a, l, r, c, u) {
13882
+ function ap(e, t, n, o, i, a, l, r, c, u) {
13871
13883
  var F;
13872
13884
  const f = y(((F = e.group) == null ? void 0 : F.groupFields) || []), {
13873
13885
  collpaseGroupIconClass: s
@@ -13893,7 +13905,7 @@ function op(e, t, n, o, i, a, l, r, c, u) {
13893
13905
  renderItem: v
13894
13906
  };
13895
13907
  }
13896
- function ip() {
13908
+ function lp() {
13897
13909
  const e = y(-1), t = y(""), n = y(-1), o = y(!1);
13898
13910
  function i(u, f, s) {
13899
13911
  n.value = s;
@@ -13921,7 +13933,7 @@ function ip() {
13921
13933
  suspendHover: r
13922
13934
  };
13923
13935
  }
13924
- function ap(e, t, n, o) {
13936
+ function rp(e, t, n, o) {
13925
13937
  const i = y(e.idField), { dataView: a } = n, l = y(-1), r = y(!1), { activeIndex: c, focusedItemId: u, hoverIndex: f, resumeHover: s, suspendHover: p } = o;
13926
13938
  function C(m, d, g) {
13927
13939
  m.stopPropagation(), p(), d && setTimeout(() => {
@@ -13950,7 +13962,7 @@ function ap(e, t, n, o) {
13950
13962
  isDragging: r
13951
13963
  };
13952
13964
  }
13953
- function lp(e, t, n) {
13965
+ function sp(e, t, n) {
13954
13966
  const { dataView: o } = n;
13955
13967
  function i(a) {
13956
13968
  if (a > -1 && a < o.value.length) {
@@ -13960,7 +13972,7 @@ function lp(e, t, n) {
13960
13972
  }
13961
13973
  return { removeItem: i };
13962
13974
  }
13963
- function rp(e, t, n, o, i, a) {
13975
+ function up(e, t, n, o, i, a) {
13964
13976
  const l = y(e.idField), r = y(e.disableField), c = y(e.draggable), u = y(e.itemClass), f = y(e.selection.multiSelect ?? !1), s = y(e.selection.multiSelectMode), { isDragging: p } = o, { activeIndex: C, focusedItemId: v, hoverIndex: F } = i, { clearSelection: h, getSelectedItems: m, toggleSelectItem: d } = a, g = y(m());
13965
13977
  function k(P, B) {
13966
13978
  const O = {
@@ -14005,21 +14017,21 @@ function rp(e, t, n, o, i, a) {
14005
14017
  onClickItem: T
14006
14018
  };
14007
14019
  }
14008
- function sp(e, t, n, o, i, a, l) {
14009
- const r = y(e.view), c = y(e.view === "CardView"), u = y({}), f = y("暂无数据"), s = ip(), p = ap(e, t, o, s), C = lp(e, t, o), v = rp(e, t, n, p, s, a), F = R(() => ({
14020
+ function cp(e, t, n, o, i, a, l) {
14021
+ const r = y(e.view), c = y(e.view === "CardView"), u = y({}), f = y("暂无数据"), s = lp(), p = rp(e, t, o, s), C = sp(e, t, o), v = up(e, t, n, p, s, a), F = R(() => ({
14010
14022
  "f-list-view-group": !0,
14011
14023
  "d-flex": c.value,
14012
14024
  "flex-wrap": c.value
14013
14025
  })), h = R(() => !!n.value && n.value.length > 0), m = R(() => n.value.length === 0);
14014
14026
  R(() => m.value && !t.slots.empty);
14015
14027
  function d() {
14016
- return r.value === "SingleView" ? Un : r.value === "DraggableView" ? np : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? tp : Un;
14028
+ return r.value === "SingleView" ? qn : r.value === "DraggableView" ? ip : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? op : qn;
14017
14029
  }
14018
14030
  const g = d(), {
14019
14031
  renderItem: k
14020
14032
  } = g(e, t, n, p, i, s, v, a, C, l), {
14021
14033
  renderItem: b
14022
- } = op(e, t, n, p, i, s, v, a, C, l), _ = [k, b];
14034
+ } = ap(e, t, n, p, i, s, v, a, C, l), _ = [k, b];
14023
14035
  function I() {
14024
14036
  return n.value.filter((T) => T.visible !== !1).map((T, P) => _[T.type](T, P, u));
14025
14037
  }
@@ -14040,7 +14052,7 @@ function sp(e, t, n, o, i, a, l) {
14040
14052
  renderListArea: S
14041
14053
  };
14042
14054
  }
14043
- function up(e, t, n) {
14055
+ function dp(e, t, n) {
14044
14056
  function o() {
14045
14057
  return t.slots.header && w("div", {
14046
14058
  class: "f-list-view-header"
@@ -14050,7 +14062,7 @@ function up(e, t, n) {
14050
14062
  renderHeader: o
14051
14063
  };
14052
14064
  }
14053
- function qn(e, t, n) {
14065
+ function Un(e, t, n) {
14054
14066
  const o = y(e.headerClass), i = y(e.placeholder), a = y(""), l = R(() => !a.value), r = R(() => !!a.value);
14055
14067
  function c(p) {
14056
14068
  a.value = "";
@@ -14105,10 +14117,10 @@ function qn(e, t, n) {
14105
14117
  }
14106
14118
  const Kn = /* @__PURE__ */ ge({
14107
14119
  name: "FListView",
14108
- props: qi,
14120
+ props: Ui,
14109
14121
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
14110
14122
  setup(e, t) {
14111
- const n = y(), o = y(!0), i = y(!1), a = y([]), l = 0, r = y(e.columns), c = on(e), u = ln(e), f = an(e, c), s = rn(e), p = sn(e, /* @__PURE__ */ new Map(), u, c, s), C = un(e, p, c, a, t), v = ep(e, n), F = R(() => p.dataView.value.length), h = cn(e, t, c), m = dn(), d = fn(e, {}, m), g = pn(e, h, u, c, m, d), k = Fo(e, c, d, g), b = _o(e, c, d, g), _ = mn(e, r, p, F, l, g, k, b), {
14123
+ const n = y(), o = y(!0), i = y(!1), a = y([]), l = 0, r = y(e.columns), c = on(e), u = ln(e), f = an(e, c), s = rn(e), p = sn(e, /* @__PURE__ */ new Map(), u, c, s), C = un(e, p, c, a, t), v = np(e, n), F = R(() => p.dataView.value.length), h = cn(e, t, c), m = dn(), d = fn(e, {}, m), g = pn(e, h, u, c, m, d), k = Fo(e, c, d, g), b = _o(e, c, d, g), _ = mn(e, r, p, F, l, g, k, b), {
14112
14124
  getVisualData: I
14113
14125
  } = _;
14114
14126
  a.value = I(0, F.value + l - 1);
@@ -14120,13 +14132,13 @@ const Kn = /* @__PURE__ */ ge({
14120
14132
  return e.size !== "default" && (V[`${e.size}-item`] = !0), V;
14121
14133
  }), S = R(() => !!t.slots.footer || o.value);
14122
14134
  function T() {
14123
- return e.header === "SearchBar" ? qn : e.header === "ContentHeader" ? up : qn;
14135
+ return e.header === "SearchBar" ? Un : e.header === "ContentHeader" ? dp : Un;
14124
14136
  }
14125
14137
  const P = T(), {
14126
14138
  renderHeader: B
14127
14139
  } = P(e, t, v), {
14128
14140
  renderListArea: O
14129
- } = sp(e, t, a, p, f, C, _);
14141
+ } = cp(e, t, a, p, f, C, _);
14130
14142
  function M(V) {
14131
14143
  v.search(V);
14132
14144
  }
@@ -14156,9 +14168,9 @@ const Kn = /* @__PURE__ */ ge({
14156
14168
  class: "f-list-view-footer"
14157
14169
  }, [t.slots.footer && t.slots.footer()])]);
14158
14170
  }
14159
- }), cp = /* @__PURE__ */ ge({
14171
+ }), fp = /* @__PURE__ */ ge({
14160
14172
  name: "FTransfer",
14161
- props: Ui,
14173
+ props: qi,
14162
14174
  emits: ["change", "activeChange"],
14163
14175
  setup(e, t) {
14164
14176
  const n = y(e.identifyField), o = y("已选:"), i = y("项数据"), a = y(e.displayType), l = y(!1), r = y(e.dataSource), c = y(e.selections || []), u = R(() => c.value.map((S) => S[n.value])), f = /* @__PURE__ */ new Map(), s = y();
@@ -14195,11 +14207,11 @@ const Kn = /* @__PURE__ */ ge({
14195
14207
  "selection-values": u.value,
14196
14208
  onSelectionChange: F
14197
14209
  }, {
14198
- default: () => [Ue(" ")]
14210
+ default: () => [qe(" ")]
14199
14211
  });
14200
14212
  }
14201
14213
  function m() {
14202
- return w(Je, null, null);
14214
+ return w(Qe, null, null);
14203
14215
  }
14204
14216
  function d() {
14205
14217
  return w("div", {
@@ -14268,7 +14280,7 @@ const Kn = /* @__PURE__ */ ge({
14268
14280
  style: "height:480px"
14269
14281
  }, [d(), I()]);
14270
14282
  }
14271
- }), dp = /* @__PURE__ */ ge({
14283
+ }), pp = /* @__PURE__ */ ge({
14272
14284
  name: "FGridFieldEditor",
14273
14285
  props: Wi,
14274
14286
  emits: ["change"],
@@ -14356,7 +14368,7 @@ const Kn = /* @__PURE__ */ ge({
14356
14368
  }, {
14357
14369
  default: () => [w("div", {
14358
14370
  class: "f-utils-absolute-all"
14359
- }, [w(cp, {
14371
+ }, [w(fp, {
14360
14372
  selections: c.value,
14361
14373
  "data-source": u.value,
14362
14374
  class: "mx-2",
@@ -14364,11 +14376,11 @@ const Kn = /* @__PURE__ */ ge({
14364
14376
  }, null)])]
14365
14377
  });
14366
14378
  }
14367
- }), fp = "https://json-schema.org/draft/2020-12/schema", pp = "https://farris-design.gitee.io/data-grid-column.schema.json", mp = "data-grid-column", gp = "A Farris data-grid-column Component", hp = "object", vp = {
14379
+ }), mp = "https://json-schema.org/draft/2020-12/schema", gp = "https://farris-design.gitee.io/data-grid-column.schema.json", hp = "data-grid-column", vp = "A Farris data-grid-column Component", yp = "object", bp = {
14368
14380
  id: {
14369
14381
  description: "The unique identifier for a data-grid-column",
14370
14382
  type: "string",
14371
- default: "col"
14383
+ default: ""
14372
14384
  },
14373
14385
  type: {
14374
14386
  description: "The type string of data-grid-column component",
@@ -14489,14 +14501,18 @@ const Kn = /* @__PURE__ */ ge({
14489
14501
  type: "number",
14490
14502
  default: 120
14491
14503
  }
14492
- }, yp = {
14493
- $schema: fp,
14494
- $id: pp,
14495
- title: mp,
14496
- description: gp,
14497
- type: hp,
14498
- properties: vp
14499
- }, bp = "https://json-schema.org/draft/2020-12/schema", Cp = "https://farris-design.gitee.io/data-grid-column.schema.json", wp = "tree-grid-column", Sp = "A Farris data-grid-column Component", xp = "object", Fp = {
14504
+ }, Cp = [
14505
+ "id",
14506
+ "type"
14507
+ ], wp = {
14508
+ $schema: mp,
14509
+ $id: gp,
14510
+ title: hp,
14511
+ description: vp,
14512
+ type: yp,
14513
+ properties: bp,
14514
+ required: Cp
14515
+ }, Sp = "https://json-schema.org/draft/2020-12/schema", xp = "https://farris-design.gitee.io/data-grid-column.schema.json", Fp = "tree-grid-column", _p = "A Farris data-grid-column Component", kp = "object", Ip = {
14500
14516
  id: {
14501
14517
  description: "The unique identifier for a data-grid-column",
14502
14518
  type: "string"
@@ -14617,13 +14633,17 @@ const Kn = /* @__PURE__ */ ge({
14617
14633
  description: "",
14618
14634
  type: "number"
14619
14635
  }
14620
- }, _p = {
14621
- $schema: bp,
14622
- $id: Cp,
14623
- title: wp,
14624
- description: Sp,
14625
- type: xp,
14626
- properties: Fp
14636
+ }, Tp = [
14637
+ "id",
14638
+ "type"
14639
+ ], Mp = {
14640
+ $schema: Sp,
14641
+ $id: xp,
14642
+ title: Fp,
14643
+ description: _p,
14644
+ type: kp,
14645
+ properties: Ip,
14646
+ required: Tp
14627
14647
  }, Bn = {
14628
14648
  id: { type: String, default: "" },
14629
14649
  type: { type: String, default: "" },
@@ -14686,8 +14706,8 @@ const Kn = /* @__PURE__ */ ge({
14686
14706
  formatter: { type: Function, default: () => {
14687
14707
  } },
14688
14708
  componentId: { type: String, default: "" }
14689
- }, kp = Le(Bn, yp, Li, Ai), Ip = Le(Bn, _p, Li, Ai);
14690
- class Tp extends Xe {
14709
+ }, Op = Le(Bn, wp, Li, Ai), Bp = Le(Bn, Mp, Li, Ai);
14710
+ class Pp extends Xe {
14691
14711
  constructor(t, n) {
14692
14712
  super(t, n);
14693
14713
  }
@@ -14722,7 +14742,7 @@ class Tp extends Xe {
14722
14742
  };
14723
14743
  }
14724
14744
  }
14725
- class Mp extends Xe {
14745
+ class Vp extends Xe {
14726
14746
  constructor(t, n) {
14727
14747
  super(t, n);
14728
14748
  }
@@ -14775,7 +14795,7 @@ class Mp extends Xe {
14775
14795
  }, n;
14776
14796
  }
14777
14797
  }
14778
- class Op extends Xe {
14798
+ class Ep extends Xe {
14779
14799
  constructor(t, n) {
14780
14800
  super(t, n);
14781
14801
  }
@@ -14865,7 +14885,7 @@ class Ki extends Xe {
14865
14885
  }, n;
14866
14886
  }
14867
14887
  }
14868
- class Bp extends Xe {
14888
+ class Dp extends Xe {
14869
14889
  constructor(t, n) {
14870
14890
  super(t, n);
14871
14891
  }
@@ -14884,7 +14904,7 @@ class Bp extends Xe {
14884
14904
  });
14885
14905
  }
14886
14906
  }
14887
- class Pp extends Xe {
14907
+ class Rp extends Xe {
14888
14908
  constructor(t, n) {
14889
14909
  super(t, n);
14890
14910
  }
@@ -14967,7 +14987,7 @@ class Pp extends Xe {
14967
14987
  });
14968
14988
  }
14969
14989
  }
14970
- class Vp extends Xe {
14990
+ class $p extends Xe {
14971
14991
  constructor(t, n) {
14972
14992
  super(t, n);
14973
14993
  }
@@ -14981,7 +15001,7 @@ class Vp extends Xe {
14981
15001
  });
14982
15002
  }
14983
15003
  }
14984
- class Ep extends Xe {
15004
+ class Np extends Xe {
14985
15005
  constructor(t, n) {
14986
15006
  super(t, n);
14987
15007
  }
@@ -15040,7 +15060,7 @@ class Ep extends Xe {
15040
15060
  });
15041
15061
  }
15042
15062
  }
15043
- class Dp extends Xe {
15063
+ class jp extends Xe {
15044
15064
  constructor(t, n) {
15045
15065
  super(t, n);
15046
15066
  }
@@ -15100,7 +15120,7 @@ class Dp extends Xe {
15100
15120
  }, n;
15101
15121
  }
15102
15122
  }
15103
- class Rp extends Xe {
15123
+ class Lp extends Xe {
15104
15124
  constructor(t, n) {
15105
15125
  super(t, n);
15106
15126
  }
@@ -15156,7 +15176,7 @@ class Rp extends Xe {
15156
15176
  });
15157
15177
  }
15158
15178
  }
15159
- class $p extends Xe {
15179
+ class Hp extends Xe {
15160
15180
  constructor(t, n) {
15161
15181
  super(t, n);
15162
15182
  }
@@ -15196,7 +15216,7 @@ class $p extends Xe {
15196
15216
  });
15197
15217
  }
15198
15218
  }
15199
- class Np extends zt {
15219
+ class Ap extends zt {
15200
15220
  constructor(t, n) {
15201
15221
  super(t, n);
15202
15222
  }
@@ -15271,43 +15291,43 @@ class Np extends zt {
15271
15291
  let a;
15272
15292
  switch (i) {
15273
15293
  case "avatar":
15274
- a = new Tp(this.componentId, this.designerHostService);
15294
+ a = new Pp(this.componentId, this.designerHostService);
15275
15295
  break;
15276
15296
  case "check-group":
15277
- a = new Mp(this.componentId, this.designerHostService);
15297
+ a = new Vp(this.componentId, this.designerHostService);
15278
15298
  break;
15279
15299
  case "check-box":
15280
- a = new Op(this.componentId, this.designerHostService);
15300
+ a = new Ep(this.componentId, this.designerHostService);
15281
15301
  break;
15282
15302
  case "combo-list":
15283
15303
  a = new Ki(this.componentId, this.designerHostService);
15284
15304
  break;
15285
15305
  case "date-picker":
15286
- a = new Pp(this.componentId, this.designerHostService);
15306
+ a = new Rp(this.componentId, this.designerHostService);
15287
15307
  break;
15288
15308
  case "lookup":
15289
15309
  a = new Pi(this.componentId, this.designerHostService);
15290
15310
  break;
15291
15311
  case "number-range":
15292
- a = new Vp(this.componentId, this.designerHostService);
15312
+ a = new $p(this.componentId, this.designerHostService);
15293
15313
  break;
15294
15314
  case "number-spinner":
15295
- a = new Ep(this.componentId, this.designerHostService);
15315
+ a = new Np(this.componentId, this.designerHostService);
15296
15316
  break;
15297
15317
  case "radio-group":
15298
- a = new Dp(this.componentId, this.designerHostService);
15318
+ a = new jp(this.componentId, this.designerHostService);
15299
15319
  break;
15300
15320
  case "switch":
15301
- a = new Rp(this.componentId, this.designerHostService);
15321
+ a = new Lp(this.componentId, this.designerHostService);
15302
15322
  break;
15303
15323
  case "textarea":
15304
- a = new Bp(this.componentId, this.designerHostService);
15324
+ a = new Dp(this.componentId, this.designerHostService);
15305
15325
  break;
15306
15326
  case "time-picker":
15307
- a = new $p(this.componentId, this.designerHostService);
15327
+ a = new Hp(this.componentId, this.designerHostService);
15308
15328
  break;
15309
15329
  default:
15310
- a = new Wu(this.componentId, this.designerHostService);
15330
+ a = new qu(this.componentId, this.designerHostService);
15311
15331
  }
15312
15332
  this.setDesignViewModelField(t);
15313
15333
  const l = this;
@@ -15394,7 +15414,7 @@ class Np extends zt {
15394
15414
  }));
15395
15415
  }
15396
15416
  }
15397
- function jp(e, t) {
15417
+ function zp(e, t) {
15398
15418
  const n = e.schema, o = y(!0), i = y(!0);
15399
15419
  function a(s) {
15400
15420
  return !1;
@@ -15412,7 +15432,7 @@ function jp(e, t) {
15412
15432
  }
15413
15433
  function f(s) {
15414
15434
  var C;
15415
- return new Np(s, t).getPropertyConfig(n, (C = e == null ? void 0 : e.parent) == null ? void 0 : C.schema);
15435
+ return new Ap(s, t).getPropertyConfig(n, (C = e == null ? void 0 : e.parent) == null ? void 0 : C.schema);
15416
15436
  }
15417
15437
  return {
15418
15438
  canAccepts: a,
@@ -15430,7 +15450,7 @@ const Xn = /* @__PURE__ */ ge({
15430
15450
  props: Bn,
15431
15451
  emits: [],
15432
15452
  setup(e, t) {
15433
- const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = jp(i, o), l = It(n, i, a);
15453
+ const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = zp(i, o), l = It(n, i, a);
15434
15454
  ke(() => {
15435
15455
  n.value.componentInstance = l;
15436
15456
  }), t.expose(l.value);
@@ -15449,10 +15469,10 @@ it.install = (e) => {
15449
15469
  e.component(it.name, it), e.component(en.name, en);
15450
15470
  };
15451
15471
  it.register = (e, t, n, o) => {
15452
- e["data-grid"] = it, t["data-grid"] = zi, e["grid-field-editor"] = dp, t["grid-field-editor"] = xf, o["data-grid"] = { bindingResolver: df, selectionItemResolver: ff };
15472
+ e["data-grid"] = it, t["data-grid"] = zi, e["grid-field-editor"] = pp, t["grid-field-editor"] = _f, o["data-grid"] = { bindingResolver: pf, selectionItemResolver: mf };
15453
15473
  };
15454
15474
  it.registerDesigner = (e, t, n) => {
15455
- e["data-grid"] = en, t["data-grid"] = zi, t["data-grid-column"] = kp, e["data-grid-column"] = Xn, t["tree-grid-column"] = Ip, e["tree-grid-column"] = Xn;
15475
+ e["data-grid"] = en, t["data-grid"] = zi, t["data-grid-column"] = Op, e["data-grid-column"] = Xn, t["tree-grid-column"] = Bp, e["tree-grid-column"] = Xn;
15456
15476
  };
15457
15477
  function Tt(e) {
15458
15478
  function t(u) {
@@ -15518,7 +15538,7 @@ function Xi(e) {
15518
15538
  };
15519
15539
  }
15520
15540
  const tn = y(), Dt = "F_LOOKUP_HTTP_COMPOSITION_TOKEN";
15521
- function Lp(e, t) {
15541
+ function Gp(e, t) {
15522
15542
  const n = ue("FLoadingService"), o = ue(Ho), { searchFieldItems: i } = Xi(e), a = y(e.uri), l = y(e.idValue);
15523
15543
  function r(h, m, d = !1) {
15524
15544
  if (!m.trim())
@@ -15627,14 +15647,14 @@ function Yi(e) {
15627
15647
  };
15628
15648
  }
15629
15649
  const Pn = "F_LOOKUP_USER_DATA_SERVICE";
15630
- function Hp(e, t) {
15650
+ function Wp(e, t) {
15631
15651
  const n = ue("FLoadingService", null), o = ue(Ho, null), i = y(e.id);
15632
15652
  function a() {
15633
15653
  return Aa(i.value);
15634
15654
  }
15635
15655
  const l = ze({ key: a(), data: {} });
15636
15656
  function r() {
15637
- return e.enableFavorite && o ? o.getSettings(l.key).then((p) => (p && p.textValue ? l.data = JSON.parse(p.textValue) : l.data = {}, e.enableUserData || (l.data.tabIndex = qe.dataList), p)) : Promise.resolve();
15657
+ return e.enableFavorite && o ? o.getSettings(l.key).then((p) => (p && p.textValue ? l.data = JSON.parse(p.textValue) : l.data = {}, e.enableUserData || (l.data.tabIndex = Ue.dataList), p)) : Promise.resolve();
15638
15658
  }
15639
15659
  function c({ width: p, height: C }) {
15640
15660
  var v;
@@ -15730,14 +15750,14 @@ function Ji(e) {
15730
15750
  }, null)
15731
15751
  };
15732
15752
  return G(() => fe == null ? void 0 : fe.columns, (p) => {
15733
- i.value = Qe([...p || []]);
15753
+ i.value = Ye([...p || []]);
15734
15754
  }), {
15735
15755
  favorite: s,
15736
15756
  columns: i,
15737
15757
  removeFavoriteItem: l
15738
15758
  };
15739
15759
  }
15740
- function Ap(e, t, n) {
15760
+ function qp(e, t, n) {
15741
15761
  const o = ue(Dt), {
15742
15762
  checkPaination: i,
15743
15763
  checkMultiSelect: a,
@@ -15884,7 +15904,7 @@ function Ap(e, t, n) {
15884
15904
  renderDataGrid: B
15885
15905
  };
15886
15906
  }
15887
- function zp(e, t) {
15907
+ function Up(e, t) {
15888
15908
  const n = ue(Dt), {
15889
15909
  checkMultiSelect: o,
15890
15910
  checkColumnOptions: i
@@ -15948,9 +15968,9 @@ function zp(e, t) {
15948
15968
  renderTreeGrid: h
15949
15969
  };
15950
15970
  }
15951
- const Gp = /* @__PURE__ */ new Map([
15971
+ const Kp = /* @__PURE__ */ new Map([
15952
15972
  ["appearance", ot]
15953
- ]), Wp = "https://json-schema.org/draft/2020-12/schema", Up = "https://farris-design.gitee.io/combo-list.schema.json", qp = "combo-list", Kp = "A Farris Input Component", Xp = "object", Yp = {
15973
+ ]), Xp = "https://json-schema.org/draft/2020-12/schema", Yp = "https://farris-design.gitee.io/combo-list.schema.json", Jp = "combo-list", Qp = "A Farris Input Component", Zp = "object", em = {
15954
15974
  id: {
15955
15975
  description: "The unique identifier for a combo list",
15956
15976
  type: "string"
@@ -16076,25 +16096,24 @@ const Gp = /* @__PURE__ */ new Map([
16076
16096
  type: "sting",
16077
16097
  default: ""
16078
16098
  }
16079
- }, Jp = [
16080
- "id",
16099
+ }, tm = [
16081
16100
  "type"
16082
- ], Qp = [
16101
+ ], nm = [
16083
16102
  "id",
16084
16103
  "appearance",
16085
16104
  "binding",
16086
16105
  "visible"
16087
- ], Zp = {
16088
- $schema: Wp,
16089
- $id: Up,
16090
- title: qp,
16091
- description: Kp,
16092
- type: Xp,
16093
- properties: Yp,
16094
- required: Jp,
16095
- ignore: Qp
16106
+ ], om = {
16107
+ $schema: Xp,
16108
+ $id: Yp,
16109
+ title: Jp,
16110
+ description: Qp,
16111
+ type: Zp,
16112
+ properties: em,
16113
+ required: tm,
16114
+ ignore: nm
16096
16115
  };
16097
- function em(e, t, n) {
16116
+ function im(e, t, n) {
16098
16117
  return t;
16099
16118
  }
16100
16119
  const Vn = {
@@ -16263,7 +16282,7 @@ const Vn = {
16263
16282
  },
16264
16283
  // 搜索启用高亮
16265
16284
  enableHighlightSearch: { type: Boolean, default: !0 }
16266
- }, Qi = Le(Vn, Zp, Gp, em), tm = {
16285
+ }, Qi = Le(Vn, om, Kp, im), am = {
16267
16286
  dataSource: { type: Array, default: [] },
16268
16287
  enableSearch: { type: Boolean, default: !1 },
16269
16288
  idField: { type: String, default: "id" },
@@ -16284,9 +16303,9 @@ const Vn = {
16284
16303
  },
16285
16304
  // 搜索启用高亮
16286
16305
  enableHighlightSearch: { type: Boolean, default: !0 }
16287
- }, nm = /* @__PURE__ */ ge({
16306
+ }, lm = /* @__PURE__ */ ge({
16288
16307
  name: "FComboListContainer",
16289
- props: tm,
16308
+ props: am,
16290
16309
  emits: ["selectionChange"],
16291
16310
  setup(e, t) {
16292
16311
  const n = y(), o = y(e.dataSource), i = y([]), a = y(e.separator), l = y(e.width), r = y(e.maxHeight), c = y(String(e.selectedValues).split(a.value)), u = R(() => e.multiSelect), f = R(() => ({
@@ -16340,7 +16359,7 @@ const Vn = {
16340
16359
  }, null)]);
16341
16360
  }
16342
16361
  });
16343
- function om(e) {
16362
+ function rm(e) {
16344
16363
  const t = y(""), n = y(e.modelValue), o = y(e.data || []), i = y(e.editable);
16345
16364
  function a(s) {
16346
16365
  const p = String(s).split(e.separator), C = p.map((h) => [h, !0]), v = new Map(C);
@@ -16402,7 +16421,7 @@ const Et = /* @__PURE__ */ ge({
16402
16421
  editable: u,
16403
16422
  modelValue: f,
16404
16423
  getSelectedItemsByDisplayText: s
16405
- } = om(e), p = R(() => e.multiSelect), C = R(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
16424
+ } = rm(e), p = R(() => e.multiSelect), C = R(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
16406
16425
  function v() {
16407
16426
  !p.value && n.value && n.value.hidePopup();
16408
16427
  }
@@ -16454,7 +16473,7 @@ const Et = /* @__PURE__ */ ge({
16454
16473
  onInput: k,
16455
16474
  beforeOpen: e.beforeOpen
16456
16475
  }, {
16457
- default: () => [w(nm, {
16476
+ default: () => [w(lm, {
16458
16477
  idField: e.idField,
16459
16478
  valueField: e.valueField,
16460
16479
  textField: e.textField,
@@ -16471,7 +16490,7 @@ const Et = /* @__PURE__ */ ge({
16471
16490
  });
16472
16491
  }
16473
16492
  });
16474
- function im(e, t) {
16493
+ function sm(e, t) {
16475
16494
  const n = e.schema;
16476
16495
  function o(i, a) {
16477
16496
  return new Ki(i, t).getPropertyConfig(n, a);
@@ -16480,12 +16499,12 @@ function im(e, t) {
16480
16499
  getPropsConfig: o
16481
16500
  };
16482
16501
  }
16483
- const am = /* @__PURE__ */ ge({
16502
+ const um = /* @__PURE__ */ ge({
16484
16503
  name: "FComboListDesign",
16485
16504
  props: Vn,
16486
16505
  emits: ["clear", "update:modelValue", "change"],
16487
16506
  setup(e, t) {
16488
- const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = im(i, o), l = eo(n, i, a);
16507
+ const n = y(), o = ue("designer-host-service"), i = ue("design-item-context"), a = sm(i, o), l = eo(n, i, a);
16489
16508
  return ke(() => {
16490
16509
  n.value.componentInstance = l;
16491
16510
  }), t.expose(l.value), () => w(yn, {
@@ -16503,15 +16522,15 @@ Et.register = (e, t, n, o) => {
16503
16522
  e["combo-list"] = Et, t["combo-list"] = Qi;
16504
16523
  };
16505
16524
  Et.registerDesigner = (e, t, n) => {
16506
- e["combo-list"] = am, t["combo-list"] = Qi;
16525
+ e["combo-list"] = um, t["combo-list"] = Qi;
16507
16526
  };
16508
16527
  gn(Et);
16509
- const lm = {
16528
+ const cm = {
16510
16529
  fields: { type: Array, default: () => [] },
16511
16530
  showAllColumns: { type: Boolean, default: !0 }
16512
- }, rm = /* @__PURE__ */ ge({
16531
+ }, dm = /* @__PURE__ */ ge({
16513
16532
  name: "FLookupSearchBar",
16514
- props: lm,
16533
+ props: cm,
16515
16534
  emits: ["search"],
16516
16535
  setup(e, t) {
16517
16536
  const n = y(e.fields || []), o = y(""), i = y(kt.value), a = R(() => ({
@@ -16597,7 +16616,7 @@ function Zi(e, t) {
16597
16616
  if (e.enableSearchBar && c.value.length > 0)
16598
16617
  return w("div", {
16599
16618
  class: "p-2"
16600
- }, [w(rm, {
16619
+ }, [w(dm, {
16601
16620
  fields: c.value,
16602
16621
  showAllColumns: e.showSearchAllColumns,
16603
16622
  onSearch: r
@@ -16607,7 +16626,7 @@ function Zi(e, t) {
16607
16626
  renderSearchBar: u
16608
16627
  };
16609
16628
  }
16610
- function sm(e, t) {
16629
+ function fm(e, t) {
16611
16630
  var B;
16612
16631
  const n = ue(Dt), {
16613
16632
  renderSearchBar: o
@@ -16648,13 +16667,13 @@ function sm(e, t) {
16648
16667
  pageIndex: L,
16649
16668
  pageSize: N,
16650
16669
  enablePager: H,
16651
- pageList: U
16670
+ pageList: q
16652
16671
  } = E;
16653
16672
  Object.assign($, {
16654
16673
  index: L,
16655
16674
  size: N,
16656
16675
  enable: H,
16657
- sizeLimits: U
16676
+ sizeLimits: q
16658
16677
  });
16659
16678
  }
16660
16679
  r($, !0), (D = v.value) == null || D.updateDataSource(O);
@@ -16769,7 +16788,7 @@ function sm(e, t) {
16769
16788
  } = E, $ = {
16770
16789
  fieldName: V,
16771
16790
  fieldValue: ""
16772
- }, L = O.map((N) => D.split(".").reduce((H, U) => H[U], N));
16791
+ }, L = O.map((N) => D.split(".").reduce((H, q) => H[q], N));
16773
16792
  return $.fieldValue = L.join(","), $;
16774
16793
  }) : "";
16775
16794
  }
@@ -16780,15 +16799,15 @@ function sm(e, t) {
16780
16799
  getRelationFilter: P
16781
16800
  };
16782
16801
  }
16783
- function um(e) {
16802
+ function pm(e) {
16784
16803
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Zn(e);
16785
16804
  }
16786
- const cm = /* @__PURE__ */ ge({
16805
+ const mm = /* @__PURE__ */ ge({
16787
16806
  name: "LookupContainer",
16788
16807
  props: At,
16789
16808
  emits: ["update:modelValue", "search", "navSelectionsChanged", "pageIndexChanged", "pageSizeChanged", "changeDialogOptions", "clearSearch"],
16790
16809
  setup(e, t) {
16791
- const n = ue(bn, y(qe.dataList)), o = ue(Dt), {
16810
+ const n = ue(bn, y(Ue.dataList)), o = ue(Dt), {
16792
16811
  renderSearchBar: i
16793
16812
  } = Zi(e, !1), {
16794
16813
  isDoubleList: a,
@@ -16799,17 +16818,17 @@ const cm = /* @__PURE__ */ ge({
16799
16818
  selectedItems: u,
16800
16819
  getNavigationIdField: f,
16801
16820
  getRelationFilter: s
16802
- } = sm(e, t);
16821
+ } = fm(e, t);
16803
16822
  function p() {
16804
16823
  if (r()) {
16805
16824
  const {
16806
16825
  renderTreeGrid: d
16807
- } = zp(e, t);
16826
+ } = Up(e, t);
16808
16827
  return d;
16809
16828
  }
16810
16829
  const {
16811
16830
  renderDataGrid: m
16812
- } = Ap(e, t, {
16831
+ } = qp(e, t, {
16813
16832
  navSelectedItems: u,
16814
16833
  getNavigationIdField: f,
16815
16834
  getRelationFilter: s
@@ -16873,7 +16892,7 @@ const cm = /* @__PURE__ */ ge({
16873
16892
  width: v == null ? void 0 : v.width,
16874
16893
  minWidth: v == null ? void 0 : v.minWidth,
16875
16894
  visible: a()
16876
- }, um(m = c()) ? m : {
16895
+ }, pm(m = c()) ? m : {
16877
16896
  default: () => [m]
16878
16897
  }), w(Vt, {
16879
16898
  position: "center"
@@ -16888,18 +16907,18 @@ const cm = /* @__PURE__ */ ge({
16888
16907
  });
16889
16908
  };
16890
16909
  }
16891
- }), dm = {
16910
+ }), gm = {
16892
16911
  multiSelect: { type: Boolean, default: !1 },
16893
16912
  idField: { type: String },
16894
16913
  displayType: { type: String, default: "list" }
16895
- }, fm = /* @__PURE__ */ ge({
16914
+ }, hm = /* @__PURE__ */ ge({
16896
16915
  name: "FLookupFavorite",
16897
- props: dm,
16916
+ props: gm,
16898
16917
  setup(e, t) {
16899
16918
  const {
16900
16919
  userDataState: n,
16901
16920
  getFavoriteData: o
16902
- } = ue(Pn), i = ue(bn, y(qe.dataList)), {
16921
+ } = ue(Pn), i = ue(bn, y(Ue.dataList)), {
16903
16922
  columns: a,
16904
16923
  favorite: l,
16905
16924
  removeFavoriteItem: r
@@ -16922,9 +16941,9 @@ const cm = /* @__PURE__ */ ge({
16922
16941
  });
16923
16942
  }
16924
16943
  G(() => i.value, (g, k) => {
16925
- g === qe.favorite && (s() ? C() : p([], null));
16944
+ g === Ue.favorite && (s() ? C() : p([], null));
16926
16945
  }), G(() => r.value, (g, k) => {
16927
- i.value === qe.favorite && g && (c() ? C() : p(n.favoriteItems || [], null), r.value = !1);
16946
+ i.value === Ue.favorite && g && (c() ? C() : p(n.favoriteItems || [], null), r.value = !1);
16928
16947
  });
16929
16948
  const v = {
16930
16949
  fitColumns: !0,
@@ -16978,19 +16997,19 @@ const cm = /* @__PURE__ */ ge({
16978
16997
  }
16979
16998
  return () => c() ? m() : d();
16980
16999
  }
16981
- }), pm = {
17000
+ }), vm = {
16982
17001
  title: { type: String },
16983
17002
  height: { type: Number, default: 50 },
16984
17003
  draggable: { type: Boolean, default: !0 },
16985
17004
  enableFavorite: { type: Boolean, default: !1 },
16986
17005
  useHttpComposition: { type: Object, default: {} },
16987
17006
  userDataService: { type: Object, default: {} }
16988
- }, mm = /* @__PURE__ */ ge({
17007
+ }, ym = /* @__PURE__ */ ge({
16989
17008
  name: "FLookupModalContainer",
16990
- props: pm,
17009
+ props: vm,
16991
17010
  emits: ["closeModal", "maximize"],
16992
17011
  setup(e, t) {
16993
- const n = y(qe.dataList);
17012
+ const n = y(Ue.dataList);
16994
17013
  _t(bn, n), _t(Dt, e.useHttpComposition), _t(Pn, e.userDataService);
16995
17014
  const {
16996
17015
  userDataState: o,
@@ -17006,14 +17025,14 @@ const cm = /* @__PURE__ */ ge({
17006
17025
  n.value = f, o.data.tabIndex = f;
17007
17026
  }
17008
17027
  const c = R(() => ({
17009
- transform: `translate3d(${n.value === qe.favorite ? 84 : 0}px, 0px, 0px)`
17028
+ transform: `translate3d(${n.value === Ue.favorite ? 84 : 0}px, 0px, 0px)`
17010
17029
  })), u = R(() => (f) => ({
17011
17030
  display: n.value === f ? "block" : "none!important"
17012
17031
  }));
17013
17032
  return ke(() => {
17014
17033
  i().then((f) => {
17015
17034
  var s;
17016
- o.data.favorites && o.data.favorites.length && (n.value = ((s = o.data) == null ? void 0 : s.tabIndex) || qe.dataList);
17035
+ o.data.favorites && o.data.favorites.length && (n.value = ((s = o.data) == null ? void 0 : s.tabIndex) || Ue.dataList);
17017
17036
  });
17018
17037
  }), () => w("div", {
17019
17038
  class: "d-flex flex-column h-100 lookup-modal"
@@ -17032,15 +17051,15 @@ const cm = /* @__PURE__ */ ge({
17032
17051
  style: c.value
17033
17052
  }, null), w("div", {
17034
17053
  class: ["tab-item", "d-flex", {
17035
- active: n.value === qe.dataList
17054
+ active: n.value === Ue.dataList
17036
17055
  }],
17037
- onClick: () => r(qe.dataList)
17038
- }, [Ue("数据列表")]), w("div", {
17056
+ onClick: () => r(Ue.dataList)
17057
+ }, [qe("数据列表")]), w("div", {
17039
17058
  class: ["tab-item", "d-flex", {
17040
- active: n.value === qe.favorite
17059
+ active: n.value === Ue.favorite
17041
17060
  }],
17042
- onClick: () => r(qe.favorite)
17043
- }, [Ue("收藏夹")])])]), w("div", {
17061
+ onClick: () => r(Ue.favorite)
17062
+ }, [qe("收藏夹")])])]), w("div", {
17044
17063
  class: "d-flex flex-row h-100 justify-content-between align-items-center lookup-modal-header-buttons",
17045
17064
  onMousedown: (f) => f.stopPropagation()
17046
17065
  }, [w("span", {
@@ -17055,14 +17074,14 @@ const cm = /* @__PURE__ */ ge({
17055
17074
  class: "f-utils-fill"
17056
17075
  }, [w("div", {
17057
17076
  class: "h-100 d-flex flex-column mx-2 f-utils-fill",
17058
- style: u.value(qe.dataList)
17077
+ style: u.value(Ue.dataList)
17059
17078
  }, [t.slots.default && t.slots.default()]), w("div", {
17060
17079
  class: "h-100 d-flex flex-column mx-2 f-utils-fill",
17061
- style: u.value(qe.favorite)
17080
+ style: u.value(Ue.favorite)
17062
17081
  }, [t.slots.fav && t.slots.fav()])])]);
17063
17082
  }
17064
17083
  });
17065
- function gm(e, t, n, {
17084
+ function bm(e, t, n, {
17066
17085
  dictPicked: o,
17067
17086
  modelValue: i,
17068
17087
  buttonEditInstance: a,
@@ -17117,8 +17136,8 @@ function gm(e, t, n, {
17117
17136
  return V;
17118
17137
  }
17119
17138
  function b() {
17120
- var H, U, oe, pe, Be;
17121
- const D = ((H = u.value) == null ? void 0 : H.height) || 620, V = ((U = u.value) == null ? void 0 : U.width) || 590, $ = ((oe = u.value) == null ? void 0 : oe.minWidth) || 300, L = ((pe = u.value) == null ? void 0 : pe.minHeight) || 200, N = {
17139
+ var H, q, oe, pe, Be;
17140
+ const D = ((H = u.value) == null ? void 0 : H.height) || 620, V = ((q = u.value) == null ? void 0 : q.width) || 590, $ = ((oe = u.value) == null ? void 0 : oe.minWidth) || 300, L = ((pe = u.value) == null ? void 0 : pe.minHeight) || 200, N = {
17122
17141
  height: D,
17123
17142
  width: V,
17124
17143
  minWidth: $,
@@ -17187,13 +17206,13 @@ function gm(e, t, n, {
17187
17206
  updateModelValue: v
17188
17207
  };
17189
17208
  }
17190
- function hm(e) {
17209
+ function Cm(e) {
17191
17210
  const { mapFields: t, separator: n } = e, o = { mapFields: t, separator: n };
17192
17211
  return { dictPicked: async (a) => {
17193
17212
  e.dictPicked && typeof e.dictPicked == "function" && await e.dictPicked(a, o);
17194
17213
  } };
17195
17214
  }
17196
- function vm(e, t, n) {
17215
+ function wm(e, t, n) {
17197
17216
  const o = R(() => e.textChangeType === "blur" || e.textChangeType === "any"), i = R(() => e.textChangeType === "enter" || e.textChangeType === "any"), { beforeOpenDialog: a, updateModelValue: l, selectedItems: r, openDialog: c, modelValue: u, useHttpComposition: f } = n;
17198
17217
  function s(h) {
17199
17218
  if (ha(h))
@@ -17242,19 +17261,19 @@ const Kt = /* @__PURE__ */ ge({
17242
17261
  setup(e, t) {
17243
17262
  const n = '<i class="f-icon f-icon-lookup"></i>', o = y(), i = y(e.modelValue), a = y();
17244
17263
  tn.value = y(e.customData);
17245
- const l = Lp(e), r = Hp(e);
17264
+ const l = Gp(e), r = Wp(e);
17246
17265
  function c() {
17247
17266
  o.value && !o.value.getModal() && o.value.openDialog();
17248
17267
  }
17249
17268
  const {
17250
17269
  dictPicked: u
17251
- } = hm(e), {
17270
+ } = Cm(e), {
17252
17271
  modalOptions: f,
17253
17272
  beforeOpenDialog: s,
17254
17273
  dialogSize: p,
17255
17274
  customData: C,
17256
17275
  updateModelValue: v
17257
- } = gm(e, t, Ot, {
17276
+ } = bm(e, t, Ot, {
17258
17277
  dictPicked: u,
17259
17278
  modelValue: i,
17260
17279
  buttonEditInstance: o,
@@ -17262,7 +17281,7 @@ const Kt = /* @__PURE__ */ ge({
17262
17281
  }), {
17263
17282
  onInputBlur: F,
17264
17283
  onEnterKeyDown: h
17265
- } = vm(e, t, {
17284
+ } = wm(e, t, {
17266
17285
  beforeOpenDialog: s,
17267
17286
  updateModelValue: v,
17268
17287
  selectedItems: Ot,
@@ -17342,7 +17361,7 @@ const Kt = /* @__PURE__ */ ge({
17342
17361
  onBlur: F,
17343
17362
  onKeydown: h
17344
17363
  }, {
17345
- default: () => [w(mm, {
17364
+ default: () => [w(ym, {
17346
17365
  title: a.value || "请选择",
17347
17366
  enableFavorite: e.enableFavorite,
17348
17367
  onCloseModal: T,
@@ -17350,21 +17369,21 @@ const Kt = /* @__PURE__ */ ge({
17350
17369
  useHttpComposition: l,
17351
17370
  userDataService: r
17352
17371
  }, {
17353
- default: () => w(cm, nt(e, {
17372
+ default: () => w(mm, nt(e, {
17354
17373
  onSearch: b,
17355
17374
  onNavSelectionsChanged: _,
17356
17375
  onPageIndexChanged: I,
17357
17376
  onPageSizeChanged: x,
17358
17377
  onChangeDialogOptions: S
17359
17378
  }), null),
17360
- fav: () => w(fm, {
17379
+ fav: () => w(hm, {
17361
17380
  idField: e.idField,
17362
17381
  displayType: e.displayType
17363
17382
  }, null)
17364
17383
  })]
17365
17384
  });
17366
17385
  }
17367
- }), jg = {
17386
+ }), zg = {
17368
17387
  install(e) {
17369
17388
  e.component(Kt.name, Kt);
17370
17389
  },
@@ -17372,22 +17391,22 @@ const Kt = /* @__PURE__ */ ge({
17372
17391
  e.lookup = Kt, t.lookup = Hn;
17373
17392
  },
17374
17393
  registerDesigner(e, t, n) {
17375
- e.lookup = yd, t.lookup = Hn;
17394
+ e.lookup = bd, t.lookup = Hn;
17376
17395
  }
17377
17396
  };
17378
17397
  export {
17379
17398
  Ao as Compare,
17380
- Nr as ExpressValueType,
17399
+ jr as ExpressValueType,
17381
17400
  Kt as FLookup,
17382
17401
  Ho as F_LOOKUP_HTTP_SERVICE_TOKEN,
17383
17402
  Yt as FilterRelation,
17384
17403
  bn as LOOKUP_ACTIVE_TAB,
17385
- Ng as LOOKUP_USER_DATA_ID,
17404
+ Ag as LOOKUP_USER_DATA_ID,
17386
17405
  Lo as LoadTreeDataType,
17387
17406
  dt as LookupDisplayType,
17388
- hd as LookupSchemaRepositoryToken,
17389
- qe as LookupTabs,
17390
- jg as default,
17407
+ vd as LookupSchemaRepositoryToken,
17408
+ Ue as LookupTabs,
17409
+ zg as default,
17391
17410
  At as lookupProps,
17392
17411
  Hn as propsResolver
17393
17412
  };