@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,9 +1,9 @@
1
1
  var kt = Object.defineProperty;
2
2
  var It = (t, e, n) => e in t ? kt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var N = (t, e, n) => It(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { defineComponent as X, ref as p, computed as S, createVNode as f, nextTick as ce, inject as ee, onMounted as J, withDirectives as Ae, resolveDirective as $e, watch as W, createTextVNode as Y, reactive as Z, Fragment as ae, mergeProps as te, onUnmounted as Ue, Teleport as Et, Transition as St, shallowRef as Lt, createApp as Dt, render as ge, h as Pt, cloneVNode as Vt } from "vue";
5
- import { isPlainObject as De, cloneDeep as Te } from "lodash-es";
6
- import { DgControl as Me, useDesignerComponent as Rt } from "../designer-canvas/index.esm.js";
4
+ import { defineComponent as X, ref as p, computed as S, createVNode as f, nextTick as ce, inject as ee, onMounted as J, withDirectives as Ae, resolveDirective as $e, watch as W, createTextVNode as Y, reactive as Z, Fragment as ae, mergeProps as te, onUnmounted as Ue, Teleport as Et, Transition as St, shallowRef as Lt, createApp as Dt, render as Ce, h as Pt, cloneVNode as Vt } from "vue";
5
+ import { isPlainObject as De, cloneDeep as pe } from "lodash-es";
6
+ import { DgControl as xe, useDesignerComponent as Rt } from "../designer-canvas/index.esm.js";
7
7
  import { useTextBox as Nt, useClear as je, useTextBoxDesign as Ot } from "../common/index.esm.js";
8
8
  import At, { useNumber as $t, useFormat as Ut, useSpinner as jt, useTextBox as zt } from "../number-spinner/index.esm.js";
9
9
  import qt from "../accordion/index.esm.js";
@@ -40,8 +40,8 @@ import Cn from "../page-header/index.esm.js";
40
40
  import bn from "../page-footer/index.esm.js";
41
41
  import wn from "../pagination/index.esm.js";
42
42
  import Mn from "../progress/index.esm.js";
43
- import Fn from "../query-solution/index.esm.js";
44
- import xn from "../radio-group/index.esm.js";
43
+ import xn from "../query-solution/index.esm.js";
44
+ import Fn from "../radio-group/index.esm.js";
45
45
  import Tn from "../rate/index.esm.js";
46
46
  import Bn from "../response-toolbar/index.esm.js";
47
47
  import kn from "../response-layout/index.esm.js";
@@ -70,27 +70,41 @@ import "../external-container/index.esm.js";
70
70
  import { createPropsResolver as Jn } from "../dynamic-resolver/index.esm.js";
71
71
  const ze = {}, qe = {};
72
72
  function Be(t) {
73
- const { properties: e, title: n, ignore: o } = t, a = o && Array.isArray(o), s = Object.keys(e).reduce((l, c) => ((!a || !o.find((u) => u === c)) && (l[c] = e[c].type === "object" && e[c].properties ? Be(e[c]) : Te(e[c].default)), l), {});
73
+ const { properties: e, title: n, ignore: o } = t, a = o && Array.isArray(o), s = Object.keys(e).reduce((l, c) => ((!a || !o.find((u) => u === c)) && (l[c] = e[c].type === "object" && e[c].properties ? Be(e[c]) : pe(e[c].default)), l), {});
74
74
  if (n && (!a || !o.find((l) => l === "id"))) {
75
75
  const l = n.toLowerCase().replace(/-/g, "_");
76
76
  s.id = `${l}_${Math.random().toString().slice(2, 6)}`;
77
77
  }
78
78
  return s;
79
79
  }
80
+ function Qn(t) {
81
+ const { properties: e, title: n, required: o } = t;
82
+ if (o && Array.isArray(o)) {
83
+ const a = o.reduce((s, l) => (s[l] = e[l].type === "object" && e[l].properties ? Be(e[l]) : pe(e[l].default), s), {});
84
+ if (n && o.find((s) => s === "id")) {
85
+ const s = n.toLowerCase().replace(/-/g, "_");
86
+ a.id = `${s}_${Math.random().toString().slice(2, 6)}`;
87
+ }
88
+ return a;
89
+ }
90
+ return {
91
+ type: n
92
+ };
93
+ }
80
94
  function ke(t, e = {}, n) {
81
95
  const o = ze[t];
82
96
  if (o) {
83
- let a = Be(o);
97
+ let a = Qn(o);
84
98
  const s = qe[t];
85
99
  return a = s ? s({ getSchemaByType: ke }, a, e, n) : a, a;
86
100
  }
87
101
  return null;
88
102
  }
89
- function Qn(t, e) {
103
+ function Zn(t, e) {
90
104
  const n = Be(e);
91
- return Object.keys(n).reduce((o, a) => (o[a] && De(o[a]) && De(t[a] || !t[a]) ? Object.assign(o[a], t[a] || {}) : o[a] = t[a], o), n), n;
105
+ return Object.keys(n).reduce((o, a) => (Object.prototype.hasOwnProperty.call(t, a) && (o[a] && De(o[a]) && De(t[a] || !t[a]) ? Object.assign(o[a], t[a] || {}) : o[a] = t[a]), o), n), n;
92
106
  }
93
- function Zn(t, e) {
107
+ function _n(t, e) {
94
108
  return Object.keys(t).filter((o) => t[o] != null).reduce((o, a) => {
95
109
  if (e.has(a)) {
96
110
  const s = e.get(a);
@@ -105,11 +119,11 @@ function Zn(t, e) {
105
119
  return o;
106
120
  }, {});
107
121
  }
108
- function _n(t, e, n = /* @__PURE__ */ new Map()) {
109
- const o = Qn(t, e);
110
- return Zn(o, n);
122
+ function Kn(t, e, n = /* @__PURE__ */ new Map()) {
123
+ const o = Zn(t, e);
124
+ return _n(o, n);
111
125
  }
112
- function Kn(t = {}) {
126
+ function eo(t = {}) {
113
127
  function e(i, d, r, m) {
114
128
  if (typeof r == "number")
115
129
  return m[i].length === r;
@@ -203,18 +217,18 @@ const V = {
203
217
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
204
218
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
205
219
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
206
- }, Ge = {}, eo = {};
207
- Kn();
208
- function pe(t, e, n = /* @__PURE__ */ new Map(), o = (l, c, u, i) => c, a = {}, s = (l) => l) {
209
- return ze[e.title] = e, qe[e.title] = o, Ge[e.title] = a, eo[e.title] = s, (l = {}) => {
210
- const c = _n(l, e, n), u = Object.keys(t).reduce((i, d) => (i[d] = t[d].default, i), {});
220
+ }, Ge = {}, to = {};
221
+ eo();
222
+ function me(t, e, n = /* @__PURE__ */ new Map(), o = (l, c, u, i) => c, a = {}, s = (l) => l) {
223
+ return ze[e.title] = e, qe[e.title] = o, Ge[e.title] = a, to[e.title] = s, (l = {}) => {
224
+ const c = Kn(l, e, n), u = Object.keys(t).reduce((i, d) => (i[d] = t[d].default, i), {});
211
225
  return Object.assign(u, c);
212
226
  };
213
227
  }
214
228
  function We(t, e) {
215
229
  return { customClass: e.class, customStyle: e.style };
216
230
  }
217
- function to() {
231
+ function no() {
218
232
  function t(e) {
219
233
  return e.editor;
220
234
  }
@@ -224,10 +238,10 @@ function to() {
224
238
  }
225
239
  const Ie = /* @__PURE__ */ new Map([
226
240
  ["appearance", We]
227
- ]), no = /* @__PURE__ */ new Map([]);
241
+ ]), oo = /* @__PURE__ */ new Map([]);
228
242
  var Fe = /* @__PURE__ */ ((t) => (t.String = "String", t.DateTime = "DateTime", t.Date = "Date", t.Enum = "Enum", t.Boolean = "Boolean", t.Number = "Number", t.Text = "Text", t.BigNumber = "BigNumber", t))(Fe || {});
229
- const oo = "root-viewmodel";
230
- class ao {
243
+ const ao = "root-viewmodel";
244
+ class lo {
231
245
  constructor(e, n) {
232
246
  N(this, "formSchemaUtils");
233
247
  N(this, "controlCreatorUtils");
@@ -284,7 +298,7 @@ class ao {
284
298
  }), n.contents = [o];
285
299
  const { selectedFields: s } = e;
286
300
  s == null || s.forEach((c) => {
287
- const u = Te(c), i = this.resolveControlClassByFormColumns(e), d = this.controlCreatorUtils.setFormFieldProperty(u, "", i);
301
+ const u = pe(c), i = this.resolveControlClassByFormColumns(e), d = this.controlCreatorUtils.setFormFieldProperty(u, "", i);
288
302
  d && a.push(d);
289
303
  });
290
304
  const { templateId: l } = this.formSchemaUtils.getFormSchema().module;
@@ -321,7 +335,7 @@ class ao {
321
335
  code: `${e.componentId}-component-viewmodel`,
322
336
  name: e.componentName,
323
337
  bindTo: e.bindTo,
324
- parent: oo,
338
+ parent: ao,
325
339
  fields: this.assembleViewModelFields(e),
326
340
  commands: [],
327
341
  states: [],
@@ -348,7 +362,7 @@ class ao {
348
362
  }), n;
349
363
  }
350
364
  }
351
- function lo(t, e, n, o) {
365
+ function so(t, e, n, o) {
352
366
  var s, l, c, u, i;
353
367
  const a = n.parentComponentInstance;
354
368
  if (a && o) {
@@ -361,14 +375,14 @@ function lo(t, e, n, o) {
361
375
  bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
362
376
  selectedFields: (i = n.bindingSourceContext) == null ? void 0 : i.bindingEntityFields
363
377
  };
364
- return new ao(t, o).createComponent(m);
378
+ return new lo(t, o).createComponent(m);
365
379
  } else
366
380
  return e;
367
381
  }
368
- function so(t, e, n) {
382
+ function ro(t, e, n) {
369
383
  return e;
370
384
  }
371
- const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-design.gitee.io/response-form.schema.json", uo = "response-form", co = "A Farris Data Collection Component", po = "object", mo = {
385
+ const io = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-design.gitee.io/response-form.schema.json", co = "response-form", po = "A Farris Data Collection Component", mo = "object", fo = {
372
386
  id: {
373
387
  description: "The unique identifier for a form group",
374
388
  type: "string"
@@ -396,21 +410,22 @@ const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-
396
410
  type: "array",
397
411
  default: []
398
412
  }
399
- }, fo = [
413
+ }, vo = [
400
414
  "id",
401
- "type"
402
- ], vo = {
403
- $schema: ro,
404
- $id: io,
405
- title: uo,
406
- description: co,
407
- type: po,
408
- properties: mo,
409
- required: fo
415
+ "type",
416
+ "contents"
417
+ ], ho = {
418
+ $schema: io,
419
+ $id: uo,
420
+ title: co,
421
+ description: po,
422
+ type: mo,
423
+ properties: fo,
424
+ required: vo
410
425
  }, He = {
411
426
  customClass: { type: String, default: "" },
412
427
  customStyle: { type: String, defaut: "" }
413
- }, Pe = pe(He, vo, Ie, lo), Ce = /* @__PURE__ */ X({
428
+ }, Pe = me(He, ho, Ie, so), be = /* @__PURE__ */ X({
414
429
  name: "FResponseForm",
415
430
  props: He,
416
431
  emits: [],
@@ -427,7 +442,7 @@ const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-
427
442
  style: t.customStyle
428
443
  }, [e.slots.default && e.slots.default()]);
429
444
  }
430
- }), ho = "https://json-schema.org/draft/2020-12/schema", yo = "https://farris-design.gitee.io/form-group.schema.json", go = "form-group", Co = "A Farris Input Component", bo = "object", wo = {
445
+ }), yo = "https://json-schema.org/draft/2020-12/schema", go = "https://farris-design.gitee.io/form-group.schema.json", Co = "form-group", bo = "A Farris Input Component", wo = "object", Mo = {
431
446
  id: {
432
447
  description: "The unique identifier for a form group",
433
448
  type: "string"
@@ -457,7 +472,8 @@ const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-
457
472
  },
458
473
  editor: {
459
474
  description: "",
460
- type: "obejct"
475
+ type: "obejct",
476
+ default: {}
461
477
  },
462
478
  label: {
463
479
  description: "",
@@ -473,17 +489,18 @@ const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-
473
489
  type: "object",
474
490
  default: {}
475
491
  }
476
- }, Mo = [
492
+ }, xo = [
477
493
  "id",
478
- "type"
494
+ "type",
495
+ "editor"
479
496
  ], Xe = {
480
- $schema: ho,
481
- $id: yo,
482
- title: go,
483
- description: Co,
484
- type: bo,
485
- properties: wo,
486
- required: Mo
497
+ $schema: yo,
498
+ $id: go,
499
+ title: Co,
500
+ description: bo,
501
+ type: wo,
502
+ properties: Mo,
503
+ required: xo
487
504
  }, le = {
488
505
  id: { type: String, default: "" },
489
506
  customClass: { type: String, default: "" },
@@ -498,12 +515,12 @@ const ro = "https://json-schema.org/draft/2020-12/schema", io = "https://farris-
498
515
  required: { type: Boolean, default: !1 },
499
516
  showLabel: { type: Boolean, default: !0 },
500
517
  type: { type: String, default: "input-group" }
501
- }, Ve = pe(
518
+ }, Ve = me(
502
519
  le,
503
520
  Xe,
504
521
  Ie,
505
522
  void 0
506
- ), Fo = to();
523
+ ), Fo = no();
507
524
  function Ye(t, e, n) {
508
525
  var w;
509
526
  const o = n && n.getStyles && n.getStyles() || "", a = n && n.getDesignerClass && n.getDesignerClass() || "", s = p();
@@ -542,7 +559,7 @@ function Ye(t, e, n) {
542
559
  function b(g, L) {
543
560
  L && n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(L);
544
561
  }
545
- function F(g, L) {
562
+ function x(g, L) {
546
563
  const { componentType: y } = g;
547
564
  let P = ke(y, g, L);
548
565
  n && n.onResolveNewComponentSchema && (P = n.onResolveNewComponentSchema(g, P));
@@ -583,13 +600,13 @@ function Ye(t, e, n) {
583
600
  getDragScopeElement: v,
584
601
  onAcceptMovedChildElement: b,
585
602
  onChildElementMovedOut: M,
586
- addNewChildComponentSchema: F,
603
+ addNewChildComponentSchema: x,
587
604
  triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || p(!1),
588
605
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || p(!1),
589
606
  onRemoveComponent: R
590
607
  }, s;
591
608
  }
592
- function xo() {
609
+ function To() {
593
610
  function t(e, n) {
594
611
  var l;
595
612
  if (!e)
@@ -604,7 +621,7 @@ function xo() {
604
621
  basalDragulaRuleForContainer: t
605
622
  };
606
623
  }
607
- class To {
624
+ class Bo {
608
625
  getTemplateRule(e, n) {
609
626
  const o = n == null ? void 0 : n.formSchemaUtils, a = o == null ? void 0 : o.getFormTemplateRule(), s = { canAccept: !0, canDelete: !0, canMove: !0 };
610
627
  if (!a)
@@ -678,8 +695,8 @@ class To {
678
695
  return !a;
679
696
  }
680
697
  getComponentContext(e) {
681
- var b, F, M, C;
682
- const n = e.schema, o = n.appearance && n.appearance.class || "", a = o.split(" ") || [], s = n.contents || [], l = s.length ? s[0] : null, c = l && l.appearance ? l.appearance.class : "", u = c ? c.split(" ") : [], i = (b = l == null ? void 0 : l.contents) != null && b.length ? l == null ? void 0 : l.contents[0] : null, d = i && i.appearance ? i.appearance.class : "", r = d ? d.split(" ") : [], m = n.type === "component" ? (M = (F = e.parent) == null ? void 0 : F.parent) == null ? void 0 : M.schema : (C = e.parent) == null ? void 0 : C.schema, h = m && m.appearance && m.appearance.class || "", v = h ? h.split(" ") : [];
698
+ var b, x, M, C;
699
+ const n = e.schema, o = n.appearance && n.appearance.class || "", a = o.split(" ") || [], s = n.contents || [], l = s.length ? s[0] : null, c = l && l.appearance ? l.appearance.class : "", u = c ? c.split(" ") : [], i = (b = l == null ? void 0 : l.contents) != null && b.length ? l == null ? void 0 : l.contents[0] : null, d = i && i.appearance ? i.appearance.class : "", r = d ? d.split(" ") : [], m = n.type === "component" ? (M = (x = e.parent) == null ? void 0 : x.parent) == null ? void 0 : M.schema : (C = e.parent) == null ? void 0 : C.schema, h = m && m.appearance && m.appearance.class || "", v = h ? h.split(" ") : [];
683
700
  return {
684
701
  componentClass: o,
685
702
  componentClassList: a,
@@ -788,11 +805,11 @@ class Je {
788
805
  const o = n && n.parent && n.parent.schema;
789
806
  if (!o)
790
807
  return;
791
- const a = o.contents.findIndex((l) => l.id === e), s = Te(o.contents[a]);
808
+ const a = o.contents.findIndex((l) => l.id === e), s = pe(o.contents[a]);
792
809
  o.contents.splice(a, 1), o.contents.splice(a, 0, s);
793
810
  }
794
811
  }
795
- class Bo {
812
+ class ko {
796
813
  constructor() {
797
814
  /** 控件标题 */
798
815
  N(this, "label", "");
@@ -832,8 +849,8 @@ function Qe(t) {
832
849
  r.isSupportedClass = !1;
833
850
  return;
834
851
  }
835
- let v = h.find((C) => /^col-([1-9]|10|11|12)$/.test(C)), b = h.find((C) => /^col-md-([1-9]|10|11|12)$/.test(C)), F = h.find((C) => /^col-xl-([1-9]|10|11|12)$/.test(C)), M = h.find((C) => /^col-el-([1-9]|10|11|12)$/.test(C));
836
- v = v || "col-12", r.columnInSM = parseInt(v.replace("col-", ""), 10), r.displayWidthInSM = r.columnInSM / 12, r.displayWidthInSM !== 1 && (r.isSupportedClass = !1), b = b || "col-md-" + r.columnInSM, r.columnInMD = parseInt(b.replace("col-md-", ""), 10), r.displayWidthInMD = r.columnInMD / 6, [1, 2].includes(r.displayWidthInMD) || (r.isSupportedClass = !1), F = F || "col-xl-" + r.columnInMD, r.columnInLG = parseInt(F.replace("col-xl-", ""), 10), r.displayWidthInLG = r.columnInLG / 3, [1, 2, 3, 4].includes(r.displayWidthInLG) || (r.isSupportedClass = !1), M = M || "col-el-" + r.columnInLG, r.columnInEL = parseInt(M.replace("col-el-", ""), 10), r.displayWidthInEL = r.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(r.displayWidthInEL) || (r.isSupportedClass = !1);
852
+ let v = h.find((C) => /^col-([1-9]|10|11|12)$/.test(C)), b = h.find((C) => /^col-md-([1-9]|10|11|12)$/.test(C)), x = h.find((C) => /^col-xl-([1-9]|10|11|12)$/.test(C)), M = h.find((C) => /^col-el-([1-9]|10|11|12)$/.test(C));
853
+ v = v || "col-12", r.columnInSM = parseInt(v.replace("col-", ""), 10), r.displayWidthInSM = r.columnInSM / 12, r.displayWidthInSM !== 1 && (r.isSupportedClass = !1), b = b || "col-md-" + r.columnInSM, r.columnInMD = parseInt(b.replace("col-md-", ""), 10), r.displayWidthInMD = r.columnInMD / 6, [1, 2].includes(r.displayWidthInMD) || (r.isSupportedClass = !1), x = x || "col-xl-" + r.columnInMD, r.columnInLG = parseInt(x.replace("col-xl-", ""), 10), r.displayWidthInLG = r.columnInLG / 3, [1, 2, 3, 4].includes(r.displayWidthInLG) || (r.isSupportedClass = !1), M = M || "col-el-" + r.columnInLG, r.columnInEL = parseInt(M.replace("col-el-", ""), 10), r.displayWidthInEL = r.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(r.displayWidthInEL) || (r.isSupportedClass = !1);
837
854
  }
838
855
  function l(d, r, m, h = !1) {
839
856
  let v = !1;
@@ -843,15 +860,15 @@ function Qe(t) {
843
860
  return;
844
861
  }
845
862
  v && (m += 1, v = !1);
846
- const F = b.appearance && b.appearance.class, M = new Bo();
847
- F ? s(F, M) : M.isSupportedClass = !1, M.label = b.label || b.id, M.id = b.id, M.group = m, h && (M.fieldSetId = d.id), n === b.id && (e = m), o.set(b.id, b), r.push(M);
863
+ const x = b.appearance && b.appearance.class, M = new ko();
864
+ x ? s(x, M) : M.isSupportedClass = !1, M.label = b.label || b.id, M.id = b.id, M.group = m, h && (M.fieldSetId = d.id), n === b.id && (e = m), o.set(b.id, b), r.push(M);
848
865
  });
849
866
  }
850
867
  function c(d) {
851
868
  const r = t.getComponentById(d);
852
869
  if (!r || !r.componentType || !r.componentType.startsWith("form"))
853
870
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
854
- const m = t.selectNode(r, (h) => h.type === Me["response-form"].type);
871
+ const m = t.selectNode(r, (h) => h.type === xe["response-form"].type);
855
872
  return !m || !m.contents || m.contents.length === 0 ? { result: !1, message: "Form区域内没有控件,请先添加控件" } : { result: !0, message: "", formNode: m };
856
873
  }
857
874
  function u(d, r) {
@@ -860,13 +877,13 @@ function Qe(t) {
860
877
  if (!m)
861
878
  return { result: m, message: h };
862
879
  n = d.id, a = [], o.clear();
863
- const b = v.contents[0].type === Me.fieldset.type ? 0 : 1;
880
+ const b = v.contents[0].type === xe.fieldset.type ? 0 : 1;
864
881
  l(v, a, b);
865
- const F = a.find((C) => !C.isSupportedClass);
882
+ const x = a.find((C) => !C.isSupportedClass);
866
883
  return {
867
884
  defaultState: {
868
885
  defaultGroupNumber: e || 1,
869
- model: F ? "customize" : "standard"
886
+ model: x ? "customize" : "standard"
870
887
  },
871
888
  importData: a
872
889
  };
@@ -879,16 +896,16 @@ function Qe(t) {
879
896
  const v = [];
880
897
  return d.forEach((b) => {
881
898
  var C;
882
- const F = o.get(b.id), M = F.appearance && F.appearance.class;
899
+ const x = o.get(b.id), M = x.appearance && x.appearance.class;
883
900
  if (M) {
884
901
  const w = M.split(" ").filter((U) => !U.startsWith("col-")), g = "col-" + b.columnInSM, L = "col-md-" + b.columnInMD, y = "col-xl-" + b.columnInLG, P = "col-el-" + b.columnInEL, O = [g, L, y, P].concat(w);
885
- F.appearance.class = O.join(" ");
902
+ x.appearance.class = O.join(" ");
886
903
  }
887
904
  if (b.fieldSetId) {
888
905
  const R = h.contents.find((g) => g.id === b.fieldSetId), w = v.find((g) => g.id === b.fieldSetId);
889
- w ? (C = w.contents) == null || C.push(F) : (v.push(R), R.contents = [F]);
906
+ w ? (C = w.contents) == null || C.push(x) : (v.push(R), R.contents = [x]);
890
907
  } else
891
- v.push(F);
908
+ v.push(x);
892
909
  }), h.contents = v, h.id;
893
910
  }
894
911
  return {
@@ -898,7 +915,7 @@ function Qe(t) {
898
915
  getResonseFormLayoutConfig: l
899
916
  };
900
917
  }
901
- function ko(t, e) {
918
+ function Io(t, e) {
902
919
  function n(c, u = null) {
903
920
  if (u)
904
921
  return u;
@@ -917,9 +934,9 @@ function ko(t, e) {
917
934
  const g = new Set(w);
918
935
  return Array.from(g).length === 1;
919
936
  }
920
- const F = b(r) ? r[0] : 0, M = b(m) ? m[0] : 0, C = b(h) ? h[0] : 0, R = b(v) ? v[0] : 0;
937
+ const x = b(r) ? r[0] : 0, M = b(m) ? m[0] : 0, C = b(h) ? h[0] : 0, R = b(v) ? v[0] : 0;
921
938
  return {
922
- uniqueColClassInSM: F,
939
+ uniqueColClassInSM: x,
923
940
  uniqueColClassInMD: M,
924
941
  uniqueColClassInLG: C,
925
942
  uniqueColClassInEL: R
@@ -931,12 +948,12 @@ function ko(t, e) {
931
948
  const R = c.split(" "), w = R.filter((g) => g.startsWith("col-"));
932
949
  i = w.find((g) => /^col-([1-9]|10|11|12)$/.test(g)), d = w.find((g) => /^col-md-([1-9]|10|11|12)$/.test(g)), r = w.find((g) => /^col-xl-([1-9]|10|11|12)$/.test(g)), m = w.find((g) => /^col-el-([1-9]|10|11|12)$/.test(g)), h = R.filter((g) => !g.startsWith("col-"));
933
950
  }
934
- const v = u.uniqueColClassInSM ? "col-" + u.uniqueColClassInSM : i, b = u.uniqueColClassInMD ? "col-md-" + u.uniqueColClassInMD : d, F = u.uniqueColClassInLG ? "col-xl-" + u.uniqueColClassInLG : r, M = u.uniqueColClassInEL ? "col-el-" + u.uniqueColClassInEL : m;
935
- return [v, b, F, M].concat(h).join(" ");
951
+ const v = u.uniqueColClassInSM ? "col-" + u.uniqueColClassInSM : i, b = u.uniqueColClassInMD ? "col-md-" + u.uniqueColClassInMD : d, x = u.uniqueColClassInLG ? "col-xl-" + u.uniqueColClassInLG : r, M = u.uniqueColClassInEL ? "col-el-" + u.uniqueColClassInEL : m;
952
+ return [v, b, x, M].concat(h).join(" ");
936
953
  }
937
954
  function l(c, u, i) {
938
955
  c = n(i, c), c.contents.forEach((d) => {
939
- if (d.type === Me.fieldset.type) {
956
+ if (d.type === xe.fieldset.type) {
940
957
  l(d, u, d.id);
941
958
  return;
942
959
  }
@@ -947,14 +964,14 @@ function ko(t, e) {
947
964
  }
948
965
  return { checkIsInFormComponent: o, assembleUnifiedLayoutContext: a, changeFormControlsByUnifiedLayoutConfig: l };
949
966
  }
950
- class Io extends Je {
967
+ class Eo extends Je {
951
968
  constructor(e, n) {
952
969
  super(e, n);
953
970
  }
954
971
  getPropertyConfig(e, n) {
955
972
  const o = this;
956
973
  this.propertyConfig.categories.basic = this.getBasicPropConfig(e);
957
- const { checkIsInFormComponent: a, assembleUnifiedLayoutContext: s, changeFormControlsByUnifiedLayoutConfig: l } = ko(this.formSchemaUtils, this.componentId), c = this.getAppearanceConfig(e);
974
+ const { checkIsInFormComponent: a, assembleUnifiedLayoutContext: s, changeFormControlsByUnifiedLayoutConfig: l } = Io(this.formSchemaUtils, this.componentId), c = this.getAppearanceConfig(e);
958
975
  return c.properties.unifiedLayout = {
959
976
  title: "统一布局配置",
960
977
  description: "统一配置卡片区域内所有控件的宽度,只支持标准模式",
@@ -975,8 +992,8 @@ class Io extends Je {
975
992
  }, this.propertyConfig.categories.appearance = c, this.propertyConfig;
976
993
  }
977
994
  }
978
- function Eo(t, e) {
979
- const n = t.schema, o = new To(), { canMove: a, canAccept: s, canDelete: l } = o.getTemplateRule(t, e);
995
+ function So(t, e) {
996
+ const n = t.schema, o = new Bo(), { canMove: a, canAccept: s, canDelete: l } = o.getTemplateRule(t, e);
980
997
  function c(w) {
981
998
  const { sourceElement: g } = w, { componentInstance: L } = g, y = e == null ? void 0 : e.formSchemaUtils;
982
999
  if (!y)
@@ -989,7 +1006,7 @@ function Eo(t, e) {
989
1006
  return g && g.componentClassList && g.componentClassList.includes("f-form-layout") && g.componentClassList.includes("farris-form") ? w.sourceType === "control" && w.componentCategory === "input" ? !0 : w.sourceType === "move" && w.componentType === "form-group" ? c(w) : !1 : !0;
990
1007
  }
991
1008
  function i(w) {
992
- return !(!xo().basalDragulaRuleForContainer(w, e) || !s || !u(w));
1009
+ return !(!To().basalDragulaRuleForContainer(w, e) || !s || !u(w));
993
1010
  }
994
1011
  function d(w) {
995
1012
  ce();
@@ -1044,7 +1061,7 @@ function Eo(t, e) {
1044
1061
  }
1045
1062
  return g;
1046
1063
  }
1047
- function F() {
1064
+ function x() {
1048
1065
  return a;
1049
1066
  }
1050
1067
  function M() {
@@ -1054,12 +1071,12 @@ function Eo(t, e) {
1054
1071
  return !1;
1055
1072
  }
1056
1073
  function R(w) {
1057
- return new Io(w, e).getPropertyConfig(n, t.componentInstance.value);
1074
+ return new Eo(w, e).getPropertyConfig(n, t.componentInstance.value);
1058
1075
  }
1059
1076
  return {
1060
1077
  canAccepts: i,
1061
1078
  checkCanDeleteComponent: M,
1062
- checkCanMoveComponent: F,
1079
+ checkCanMoveComponent: x,
1063
1080
  getStyles: r,
1064
1081
  getPropsConfig: R,
1065
1082
  hideNestedPaddingInDesginerView: C,
@@ -1077,13 +1094,13 @@ function _e(t, e) {
1077
1094
  const n = Ze(t);
1078
1095
  n && n.classList.remove(e);
1079
1096
  }
1080
- function xe(t, e) {
1097
+ function Te(t, e) {
1081
1098
  if (e === void 0)
1082
1099
  return;
1083
1100
  const n = Ze(t);
1084
1101
  n && n.classList.add(e);
1085
1102
  }
1086
- const be = [
1103
+ const we = [
1087
1104
  { size: "sm", width: 576 },
1088
1105
  { size: "md", width: 768 },
1089
1106
  { size: "lg", width: 888 },
@@ -1098,19 +1115,19 @@ function et(t, e, n = 0) {
1098
1115
  if (!e)
1099
1116
  return;
1100
1117
  const a = n || e.getBoundingClientRect().width, s = parseFloat(a);
1101
- for (let l = 0; l < be.length; l++)
1102
- be[l].width <= s && o.push(be[l].size);
1118
+ for (let l = 0; l < we.length; l++)
1119
+ we[l].width <= s && o.push(we[l].size);
1103
1120
  if (t.className.join(",") !== o.join(",")) {
1104
1121
  if (t.className.length - o.length > 0)
1105
1122
  for (let c = o.length; c < t.className.length; c++)
1106
1123
  _e(e, "f-area-response--" + t.className[c]);
1107
1124
  else
1108
1125
  for (let c = t.className.length; c < o.length; c++)
1109
- xe(e, "f-area-response--" + o[c]);
1126
+ Te(e, "f-area-response--" + o[c]);
1110
1127
  t.className = [...o];
1111
1128
  }
1112
1129
  }
1113
- function So(t, e) {
1130
+ function Lo(t, e) {
1114
1131
  t.enable && t.autoWidth ? t.resizeObserver || (t.resizeObserver = new ResizeObserver((n) => {
1115
1132
  if (!n || n.length < 1 || !n[0].contentRect)
1116
1133
  return;
@@ -1120,19 +1137,19 @@ function So(t, e) {
1120
1137
  }
1121
1138
  function Re(t, e) {
1122
1139
  if (t.enable)
1123
- xe(e, "f-area-response"), et(t, e);
1140
+ Te(e, "f-area-response"), et(t, e);
1124
1141
  else {
1125
1142
  _e(e, "f-area-response");
1126
1143
  for (let n = t.className.length; n > 0; n--)
1127
- xe(e, "f-area-response--" + t.className[n]);
1144
+ Te(e, "f-area-response--" + t.className[n]);
1128
1145
  t.className = [];
1129
1146
  }
1130
- So(t, e);
1147
+ Lo(t, e);
1131
1148
  }
1132
1149
  function Ne(t, e) {
1133
1150
  e.value && Object.prototype.hasOwnProperty.call(e.value, "enable") && (t.enable = e.value.enable), e.value && Object.prototype.hasOwnProperty.call(e.value, "autoWidth") && (t.autoWidth = e.value.autoWidth);
1134
1151
  }
1135
- const Lo = {
1152
+ const Do = {
1136
1153
  // 在绑定元素的父组件
1137
1154
  // 及他自己的所有子节点都挂载完成后调用
1138
1155
  mounted: (t, e, n) => {
@@ -1154,15 +1171,15 @@ const Lo = {
1154
1171
  beforeUnmount(t, e, n) {
1155
1172
  Ke(n.sharedObject);
1156
1173
  }
1157
- }, Do = /* @__PURE__ */ X({
1174
+ }, Po = /* @__PURE__ */ X({
1158
1175
  name: "FResponseFormDesign",
1159
1176
  directives: {
1160
- "area-response": Lo
1177
+ "area-response": Do
1161
1178
  },
1162
1179
  props: le,
1163
1180
  emits: [],
1164
1181
  setup(t, e) {
1165
- const n = p(), o = ee("design-item-context"), a = ee("designer-host-service"), s = Eo(o, a), l = Ye(n, o, s);
1182
+ const n = p(), o = ee("design-item-context"), a = ee("designer-host-service"), s = So(o, a), l = Ye(n, o, s);
1166
1183
  J(() => {
1167
1184
  n.value.componentInstance = l;
1168
1185
  }), e.expose(l.value);
@@ -1180,14 +1197,14 @@ const Lo = {
1180
1197
  "data-associate": `${o.schema.id}-component`
1181
1198
  }, [e.slots.default && e.slots.default()]), [[$e("area-response")]]);
1182
1199
  }
1183
- }), Po = {
1200
+ }), Vo = {
1184
1201
  id: { type: String },
1185
1202
  required: { type: Boolean, default: !1 },
1186
1203
  text: { type: String, default: "" },
1187
1204
  title: { type: String }
1188
1205
  }, tt = /* @__PURE__ */ X({
1189
1206
  name: "FDynamicFormLabel",
1190
- props: Po,
1207
+ props: Vo,
1191
1208
  emits: [],
1192
1209
  setup(t, e) {
1193
1210
  const n = p(t.title || t.text), o = p(t.required), a = p(t.text);
@@ -1204,13 +1221,13 @@ const Lo = {
1204
1221
  class: "farris-label-text"
1205
1222
  }, [a.value])]);
1206
1223
  }
1207
- }), Vo = /* @__PURE__ */ new Map([
1224
+ }), Ro = /* @__PURE__ */ new Map([
1208
1225
  ["appearance", We]
1209
1226
  ]);
1210
- function Ro(t, e, n) {
1227
+ function No(t, e, n) {
1211
1228
  return e;
1212
1229
  }
1213
- const No = "https://json-schema.org/draft/2020-12/schema", Oo = "https://farris-design.gitee.io/input-group.schema.json", Ao = "input-group", $o = "A Farris Input Component", Uo = "object", jo = {
1230
+ const Oo = "https://json-schema.org/draft/2020-12/schema", Ao = "https://farris-design.gitee.io/input-group.schema.json", $o = "input-group", Uo = "A Farris Input Component", jo = "object", zo = {
1214
1231
  id: {
1215
1232
  description: "The unique identifier for a Input Group",
1216
1233
  type: "string"
@@ -1407,23 +1424,22 @@ const No = "https://json-schema.org/draft/2020-12/schema", Oo = "https://farris-
1407
1424
  type: "string",
1408
1425
  default: ""
1409
1426
  }
1410
- }, zo = [
1411
- "id",
1427
+ }, qo = [
1412
1428
  "type"
1413
- ], qo = [
1429
+ ], Go = [
1414
1430
  "id",
1415
1431
  "appearance",
1416
1432
  "binding",
1417
1433
  "visible"
1418
- ], Go = {
1419
- $schema: No,
1420
- $id: Oo,
1421
- title: Ao,
1422
- description: $o,
1423
- type: Uo,
1424
- properties: jo,
1425
- required: zo,
1426
- ignore: qo
1434
+ ], Wo = {
1435
+ $schema: Oo,
1436
+ $id: Ao,
1437
+ title: $o,
1438
+ description: Uo,
1439
+ type: jo,
1440
+ properties: zo,
1441
+ required: qo,
1442
+ ignore: Go
1427
1443
  }, Ee = {
1428
1444
  id: { Type: String, default: "" },
1429
1445
  /** 是否自动完成 */
@@ -1492,7 +1508,7 @@ const No = "https://json-schema.org/draft/2020-12/schema", Oo = "https://farris-
1492
1508
  */
1493
1509
  updateOn: { type: String, default: "blur" }
1494
1510
  };
1495
- pe(Ee, Go, Vo, Ro);
1511
+ me(Ee, Wo, Ro, No);
1496
1512
  function nt(t, e) {
1497
1513
  const n = p(t.groupText), o = S(() => t.showButtonWhenDisabled && (t.readonly || t.disabled)), a = S(() => t.enableClear || !!t.groupText);
1498
1514
  return { appendedButtonClass: S(() => ({
@@ -1513,7 +1529,7 @@ function ot(t, e, n, o) {
1513
1529
  }
1514
1530
  return r(), { isPassword: l, onClickAppendedButton: d };
1515
1531
  }
1516
- function Wo(t, e, n) {
1532
+ function Ho(t, e, n) {
1517
1533
  const o = p(), {
1518
1534
  onBlurTextBox: a,
1519
1535
  onFocusTextBox: s,
@@ -1553,7 +1569,7 @@ function Wo(t, e, n) {
1553
1569
  onKeydown: c
1554
1570
  }, null);
1555
1571
  }
1556
- function Ho(t, e, n) {
1572
+ function Xo(t, e, n) {
1557
1573
  const {
1558
1574
  canDownward: o,
1559
1575
  canUpward: a,
@@ -1594,12 +1610,12 @@ function Ho(t, e, n) {
1594
1610
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1595
1611
  }, null)])]);
1596
1612
  }
1597
- function Xo(t, e) {
1598
- const n = $t(t, e), o = Ut(t, e, n), a = jt(t, e, o, n), s = zt(t, e, o, n, a), l = Ho(t, e, a), {
1613
+ function Yo(t, e) {
1614
+ const n = $t(t, e), o = Ut(t, e, n), a = jt(t, e, o, n), s = zt(t, e, o, n, a), l = Xo(t, e, a), {
1599
1615
  displayValue: c,
1600
1616
  modelValue: u,
1601
1617
  getRealValue: i
1602
- } = n, d = Wo(t, e, s), {
1618
+ } = n, d = Ho(t, e, s), {
1603
1619
  format: r
1604
1620
  } = o, {
1605
1621
  isFocus: m
@@ -1618,7 +1634,7 @@ function Xo(t, e) {
1618
1634
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1619
1635
  }, [d(), h.value && l()]);
1620
1636
  }
1621
- function Yo(t, e, n, o) {
1637
+ function Jo(t, e, n, o) {
1622
1638
  const a = p(), s = p(t.autocomplete), l = p(t.enableTitle), {
1623
1639
  isPassword: c
1624
1640
  } = n, u = p(t.minLength), i = p(t.maxLength), d = p(t.tabIndex), {
@@ -1627,7 +1643,7 @@ function Yo(t, e, n, o) {
1627
1643
  inputType: h,
1628
1644
  onBlur: v,
1629
1645
  onFocus: b,
1630
- onInput: F,
1646
+ onInput: x,
1631
1647
  onClick: M,
1632
1648
  onKeydown: C,
1633
1649
  onKeyup: R,
@@ -1658,13 +1674,13 @@ function Yo(t, e, n, o) {
1658
1674
  onClick: M,
1659
1675
  onChange: g,
1660
1676
  onFocus: b,
1661
- onInput: F,
1677
+ onInput: x,
1662
1678
  onKeydown: C,
1663
1679
  onKeyup: R,
1664
1680
  onMousedown: w
1665
1681
  }, null);
1666
1682
  }
1667
- function Jo(t, e) {
1683
+ function Qo(t, e) {
1668
1684
  const n = S(() => t.useExtendInfo && !!t.extendInfo), o = Z({
1669
1685
  content: t.extendInfo
1670
1686
  });
@@ -1703,7 +1719,7 @@ function at(t, e, n, o, a) {
1703
1719
  function b(y) {
1704
1720
  e.emit("iconMouseEnter", y);
1705
1721
  }
1706
- function F(y) {
1722
+ function x(y) {
1707
1723
  e.emit("iconMouseLeave", y);
1708
1724
  }
1709
1725
  function M(y) {
@@ -1716,7 +1732,7 @@ function at(t, e, n, o, a) {
1716
1732
  return f("span", {
1717
1733
  class: "input-group-text",
1718
1734
  onMouseenter: (y) => b(y),
1719
- onMouseleave: (y) => F(y),
1735
+ onMouseleave: (y) => x(y),
1720
1736
  innerHTML: l.value,
1721
1737
  onClick: (y) => C(y)
1722
1738
  }, null);
@@ -1732,7 +1748,7 @@ function at(t, e, n, o, a) {
1732
1748
  class: s.value
1733
1749
  }, [h.value && v(), L && L()]);
1734
1750
  }
1735
- const Qo = /* @__PURE__ */ X({
1751
+ const Zo = /* @__PURE__ */ X({
1736
1752
  name: "FInputGroup",
1737
1753
  props: Ee,
1738
1754
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -1746,7 +1762,7 @@ const Qo = /* @__PURE__ */ X({
1746
1762
  } = u, d = je(t, e, a), {
1747
1763
  onMouseEnter: r,
1748
1764
  onMouseLeave: m
1749
- } = d, h = ot(t, e, l, u), v = Xo(t, e), b = Yo(t, e, h, a), F = at(t, e, u, d, h), M = Jo(t, e), C = S(() => t.type === "number");
1765
+ } = d, h = ot(t, e, l, u), v = Yo(t, e), b = Jo(t, e, h, a), x = at(t, e, u, d, h), M = Qo(t, e), C = S(() => t.type === "number");
1750
1766
  W(() => [t.value], ([w]) => {
1751
1767
  n.value = w, o.value = w;
1752
1768
  }), W(() => [t.modelValue], ([w]) => {
@@ -1760,18 +1776,18 @@ const Qo = /* @__PURE__ */ X({
1760
1776
  style: c.value,
1761
1777
  onMouseenter: r,
1762
1778
  onMouseleave: m
1763
- }, [C.value ? v() : f(ae, null, [M(), b(), i.value && F()])])]);
1779
+ }, [C.value ? v() : f(ae, null, [M(), b(), i.value && x()])])]);
1764
1780
  return () => R();
1765
1781
  }
1766
1782
  }), T = {}, B = {}, k = {}, E = {};
1767
1783
  let Oe = !1;
1768
- function Zo() {
1769
- Oe || (Oe = !0, Gt.register(T, B, k, E), qt.register(T, B, k, E), Wt.register(T, B, k, E), Ht.register(T, B, k, E), Xt.register(T, B, k, E), Yt.register(T, B, k, E), Jt.register(T, B, k, E), oe.register(T, B, k, E), Qt.register(T, B, k, E), Zt.register(T, B, k, E), Kt.register(T, B, k, E), _t.register(T, B, k, E), en.register(T, B, k, E), tn.register(T, B, k, E), nn.register(T, B, k, E), on.register(T, B, k, E), an.register(T, B, k, E), ln.register(T, B, k, E), sn.register(T, B, k, E), un.register(T, B, k, E), cn.register(T, B, k, E), dn.register(T, B, k, E), mn.register(T, B, k, E), pn.register(T, B, k, E), fn.register(T, B, k, E), vn.register(T, B, k, E), hn.register(T, B, k, E), yn.register(T, B, k, E), At.register(T, B, k, E), gn.register(T, B, k, E), Cn.register(T, B, k, E), bn.register(T, B, k, E), wn.register(T, B, k, E), Mn.register(T, B, k, E), Fn.register(T, B, k, E), xn.register(T, B, k, E), Tn.register(T, B, k, E), kn.register(T, B, k, E), In.register(T, B, k, E), Bn.register(T, B, k, E), Hn.register(T, B, k), En.register(T, B, k, E), Sn.register(T, B, k, E), Ln.register(T, B, k, E), Dn.register(T, B, k, E), Pn.register(T, B, k, E), Vn.register(T, B, k, E), Rn.register(T, B, k, E), Nn.register(T, B, k, E), On.register(T, B, k, E), An.register(T, B, k, E), $n.register(T, B, k, E), Un.register(T, B, k, E), zn.register(T, B, k, E), jn.register(T, B, k, E), qn.register(T, B, k, E), Gn.register(T, B, k, E), Wn.register(T, B, k, E), Xn.register(T, B, k, E), rn.register(T, B, k, E), Yn.register(T, B, k, E));
1784
+ function _o() {
1785
+ Oe || (Oe = !0, Gt.register(T, B, k, E), qt.register(T, B, k, E), Wt.register(T, B, k, E), Ht.register(T, B, k, E), Xt.register(T, B, k, E), Yt.register(T, B, k, E), Jt.register(T, B, k, E), oe.register(T, B, k, E), Qt.register(T, B, k, E), Zt.register(T, B, k, E), Kt.register(T, B, k, E), _t.register(T, B, k, E), en.register(T, B, k, E), tn.register(T, B, k, E), nn.register(T, B, k, E), on.register(T, B, k, E), an.register(T, B, k, E), ln.register(T, B, k, E), sn.register(T, B, k, E), un.register(T, B, k, E), cn.register(T, B, k, E), dn.register(T, B, k, E), mn.register(T, B, k, E), pn.register(T, B, k, E), fn.register(T, B, k, E), vn.register(T, B, k, E), hn.register(T, B, k, E), yn.register(T, B, k, E), At.register(T, B, k, E), gn.register(T, B, k, E), Cn.register(T, B, k, E), bn.register(T, B, k, E), wn.register(T, B, k, E), Mn.register(T, B, k, E), xn.register(T, B, k, E), Fn.register(T, B, k, E), Tn.register(T, B, k, E), kn.register(T, B, k, E), In.register(T, B, k, E), Bn.register(T, B, k, E), Hn.register(T, B, k), En.register(T, B, k, E), Sn.register(T, B, k, E), Ln.register(T, B, k, E), Dn.register(T, B, k, E), Pn.register(T, B, k, E), Vn.register(T, B, k, E), Rn.register(T, B, k, E), Nn.register(T, B, k, E), On.register(T, B, k, E), An.register(T, B, k, E), $n.register(T, B, k, E), Un.register(T, B, k, E), zn.register(T, B, k, E), jn.register(T, B, k, E), qn.register(T, B, k, E), Gn.register(T, B, k, E), Wn.register(T, B, k, E), Xn.register(T, B, k, E), rn.register(T, B, k, E), Yn.register(T, B, k, E));
1770
1786
  }
1771
1787
  function lt() {
1772
- Zo();
1788
+ _o();
1773
1789
  function t(a) {
1774
- return T[a] || Qo;
1790
+ return T[a] || Zo;
1775
1791
  }
1776
1792
  function e(a, s) {
1777
1793
  const l = B[a];
@@ -1851,7 +1867,7 @@ function lt() {
1851
1867
  }
1852
1868
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
1853
1869
  }
1854
- const we = /* @__PURE__ */ X({
1870
+ const Me = /* @__PURE__ */ X({
1855
1871
  name: "FDynamicFormGroup",
1856
1872
  props: le,
1857
1873
  emits: ["change", "update:modelValue"],
@@ -1863,7 +1879,7 @@ const we = /* @__PURE__ */ X({
1863
1879
  resolveEditorType: h,
1864
1880
  getChangeFunctionName: v,
1865
1881
  getClearFunctionName: b
1866
- } = lt(), F = S(() => ({
1882
+ } = lt(), x = S(() => ({
1867
1883
  "form-group": !0,
1868
1884
  "farris-form-group": !0,
1869
1885
  "common-group": !0,
@@ -1895,7 +1911,7 @@ const we = /* @__PURE__ */ X({
1895
1911
  }, [f("div", {
1896
1912
  class: "farris-group-wrap"
1897
1913
  }, [f("div", {
1898
- class: F.value
1914
+ class: x.value
1899
1915
  }, [i.value && f(tt, {
1900
1916
  id: `${n.value}-lable`,
1901
1917
  required: u.value,
@@ -1905,7 +1921,7 @@ const we = /* @__PURE__ */ X({
1905
1921
  class: "farris-input-wrap"
1906
1922
  }, [R.value()])])])]);
1907
1923
  }
1908
- }), _o = {}, Ko = {}, K = class K {
1924
+ }), Ko = {}, ea = {}, K = class K {
1909
1925
  /**
1910
1926
  * 根据绑定字段类型获取可用的输入类控件
1911
1927
  */
@@ -1976,8 +1992,8 @@ N(K, "fieldControlTypeMapping", {
1976
1992
  ]
1977
1993
  });
1978
1994
  let de = K;
1979
- const ea = p(0);
1980
- class ta extends Je {
1995
+ const ta = p(0);
1996
+ class na extends Je {
1981
1997
  constructor(n, o) {
1982
1998
  super(n, o);
1983
1999
  N(this, "responseLayoutEditorFunction");
@@ -1989,7 +2005,7 @@ class ta extends Je {
1989
2005
  getBasicProperties(n, o) {
1990
2006
  var s;
1991
2007
  const a = this;
1992
- return this.setDesignViewModelField(n), this.formSchemaUtils.getFormMetadataBasicInfo(), {
2008
+ return this.setDesignViewModelField(n), {
1993
2009
  description: "Basic Information",
1994
2010
  title: "基本信息",
1995
2011
  properties: {
@@ -2131,7 +2147,7 @@ class ta extends Je {
2131
2147
  require: (h = u.editor) == null ? void 0 : h.require
2132
2148
  }), l.contents.splice(c, 1), l.contents.splice(c, 0, i), a.schema = Object.assign(u, i), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach(
2133
2149
  (v) => v.classList.remove("dgComponentSelected")
2134
- ), ea.value++;
2150
+ ), ta.value++;
2135
2151
  }
2136
2152
  getComponentConfig(n, o = {}, a = {}) {
2137
2153
  const s = Object.assign({
@@ -2212,19 +2228,19 @@ class ta extends Je {
2212
2228
  return Array.from(o).length === 1;
2213
2229
  }
2214
2230
  }
2215
- class na extends ta {
2231
+ class oa extends na {
2216
2232
  constructor(e, n) {
2217
2233
  super(e, n);
2218
2234
  }
2219
2235
  }
2220
- function oa(t, e) {
2236
+ function aa(t, e) {
2221
2237
  const n = t.schema;
2222
2238
  function o(a, s) {
2223
- return new na(a, e).getPropertyConfig(n, s);
2239
+ return new oa(a, e).getPropertyConfig(n, s);
2224
2240
  }
2225
2241
  return { getPropsConfig: o };
2226
2242
  }
2227
- const aa = /* @__PURE__ */ X({
2243
+ const la = /* @__PURE__ */ X({
2228
2244
  name: "FInputGroupDesign",
2229
2245
  props: Ee,
2230
2246
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
@@ -2238,7 +2254,7 @@ const aa = /* @__PURE__ */ X({
2238
2254
  } = u, d = je(t, e, a), {
2239
2255
  onMouseEnter: r,
2240
2256
  onMouseLeave: m
2241
- } = d, h = ot(t, e, l, u), v = p(), b = ee("designer-host-service"), F = ee("design-item-context"), M = oa(F, b), C = Rt(v, F, M);
2257
+ } = d, h = ot(t, e, l, u), v = p(), b = ee("designer-host-service"), x = ee("design-item-context"), M = aa(x, b), C = Rt(v, x, M);
2242
2258
  J(() => {
2243
2259
  v.value.componentInstance = C;
2244
2260
  }), e.expose(C.value);
@@ -2258,13 +2274,13 @@ const aa = /* @__PURE__ */ X({
2258
2274
  }, null), i.value && R()]);
2259
2275
  }
2260
2276
  });
2261
- function la() {
2277
+ function sa() {
2262
2278
  function t(a, s) {
2263
- const l = Ko[a];
2279
+ const l = ea[a];
2264
2280
  return l ? l(s) : {};
2265
2281
  }
2266
2282
  function e(a) {
2267
- return _o[a] || aa;
2283
+ return Ko[a] || la;
2268
2284
  }
2269
2285
  function n(a) {
2270
2286
  }
@@ -2272,7 +2288,7 @@ function la() {
2272
2288
  }
2273
2289
  return { getChangeFunctionName: n, getClearFunctionName: o, resolveEditorProps: t, resolveEditorType: e };
2274
2290
  }
2275
- const sa = /* @__PURE__ */ X({
2291
+ const ra = /* @__PURE__ */ X({
2276
2292
  name: "FDynamicFormGroupDesign",
2277
2293
  props: le,
2278
2294
  emits: ["change", "update:modelValue"],
@@ -2282,23 +2298,23 @@ const sa = /* @__PURE__ */ X({
2282
2298
  const d = p(), {
2283
2299
  resolveEditorProps: r,
2284
2300
  resolveEditorType: m
2285
- } = la(), h = S(() => ({
2301
+ } = sa(), h = S(() => ({
2286
2302
  "form-group": !0,
2287
2303
  "farris-form-group": !0,
2288
2304
  "common-group": !0,
2289
2305
  "q-state-readonly": c.value,
2290
2306
  "form-group-in-canvas": !0
2291
2307
  })), v = S(() => {
2292
- const b = a.value.type || "input-group", F = m(b), M = r(b, a.value);
2293
- return () => f(F, te({
2308
+ const b = a.value.type || "input-group", x = m(b), M = r(b, a.value);
2309
+ return () => f(x, te({
2294
2310
  ref: d
2295
2311
  }, M, {
2296
2312
  modelValue: l.value,
2297
2313
  "onUpdate:modelValue": (C) => l.value = C
2298
2314
  }), null);
2299
2315
  });
2300
- return W([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel], ([b, F, M, C, R, w, g, L]) => {
2301
- n.value = b, o.value = F, a.value = M, s.value = C, l.value = R, c.value = w, u.value = g, i.value = L;
2316
+ return W([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel], ([b, x, M, C, R, w, g, L]) => {
2317
+ n.value = b, o.value = x, a.value = M, s.value = C, l.value = R, c.value = w, u.value = g, i.value = L;
2302
2318
  }), e.expose({
2303
2319
  editorRef: d
2304
2320
  }), () => f("div", {
@@ -2319,7 +2335,7 @@ const sa = /* @__PURE__ */ X({
2319
2335
  }, [v.value()])])])]);
2320
2336
  }
2321
2337
  });
2322
- function ra(t, e) {
2338
+ function ia(t, e) {
2323
2339
  function n() {
2324
2340
  return !0;
2325
2341
  }
@@ -2359,19 +2375,19 @@ function ra(t, e) {
2359
2375
  onRemoveComponent: u
2360
2376
  };
2361
2377
  }
2362
- const ia = /* @__PURE__ */ X({
2378
+ const ua = /* @__PURE__ */ X({
2363
2379
  name: "FFormGroupDesign",
2364
2380
  props: le,
2365
2381
  emits: [],
2366
2382
  setup(t, e) {
2367
- const n = p(), o = ee("design-item-context"), a = ee("designer-host-service"), s = ra(o, a), l = Ye(n, o, s);
2383
+ const n = p(), o = ee("design-item-context"), a = ee("designer-host-service"), s = ia(o, a), l = Ye(n, o, s);
2368
2384
  return J(() => {
2369
2385
  n.value.componentInstance = l, l.value.getPropConfig = (...c) => {
2370
2386
  var i, d, r;
2371
2387
  let u = Ge[t.editor.type];
2372
2388
  return u && Object.keys(u).length === 0 && ((i = n.value) != null && i.editorRef) && ((r = (d = n.value) == null ? void 0 : d.editorRef) != null && r.getPropConfig) && (u = n.value.editorRef.getPropConfig(...c, l.value)), u;
2373
2389
  };
2374
- }), e.expose(l.value), () => f(sa, te(t, {
2390
+ }), e.expose(l.value), () => f(ra, te(t, {
2375
2391
  ref: n
2376
2392
  }), null);
2377
2393
  }
@@ -2389,12 +2405,12 @@ const ia = /* @__PURE__ */ X({
2389
2405
  * 作为内嵌编辑器被创建后默认选中文本
2390
2406
  */
2391
2407
  selectOnCreated: { type: Boolean, default: !1 }
2392
- }, ua = pe(
2408
+ }, ca = me(
2393
2409
  st,
2394
2410
  Xe,
2395
2411
  Ie,
2396
2412
  void 0
2397
- ), ca = /* @__PURE__ */ X({
2413
+ ), da = /* @__PURE__ */ X({
2398
2414
  name: "FDynamicFormInput",
2399
2415
  props: st,
2400
2416
  emits: ["change", "update:modelValue"],
@@ -2420,7 +2436,7 @@ const ia = /* @__PURE__ */ X({
2420
2436
  n.value = d, o.value = r, a.value = m;
2421
2437
  }), () => i.value();
2422
2438
  }
2423
- }), da = "https://json-schema.org/draft/2020-12/schema", pa = "https://farris-design.gitee.io/grid-field-editor.schema.json", ma = "response-form-layout-setting", fa = "A Farris Data Grid Component", va = "object", ha = {
2439
+ }), pa = "https://json-schema.org/draft/2020-12/schema", ma = "https://farris-design.gitee.io/grid-field-editor.schema.json", fa = "response-form-layout-setting", va = "A Farris Data Grid Component", ha = "object", ya = {
2424
2440
  id: {
2425
2441
  description: "The unique identifier for a Input Group",
2426
2442
  type: "string"
@@ -2440,17 +2456,17 @@ const ia = /* @__PURE__ */ X({
2440
2456
  type: "Object",
2441
2457
  default: null
2442
2458
  }
2443
- }, ya = [
2459
+ }, ga = [
2444
2460
  "id",
2445
2461
  "type"
2446
- ], ga = {
2447
- $schema: da,
2448
- $id: pa,
2449
- title: ma,
2450
- description: fa,
2451
- type: va,
2452
- properties: ha,
2453
- required: ya
2462
+ ], Ca = {
2463
+ $schema: pa,
2464
+ $id: ma,
2465
+ title: fa,
2466
+ description: va,
2467
+ type: ha,
2468
+ properties: ya,
2469
+ required: ga
2454
2470
  }, rt = {
2455
2471
  initialState: {
2456
2472
  type: Object,
@@ -2461,7 +2477,7 @@ const ia = /* @__PURE__ */ X({
2461
2477
  uniqueColClassInEL: 2
2462
2478
  }
2463
2479
  }
2464
- }, Ca = Jn(rt, ga, no, so), ba = {
2480
+ }, ba = Jn(rt, Ca, oo, ro), wa = {
2465
2481
  width: { Type: Number, default: 400 },
2466
2482
  type: { Type: String, default: "info" },
2467
2483
  title: { Type: String, default: "" },
@@ -2474,12 +2490,12 @@ const ia = /* @__PURE__ */ X({
2474
2490
  function Se() {
2475
2491
  return new DOMException("The request is not allowed", "NotAllowedError");
2476
2492
  }
2477
- async function wa(t) {
2493
+ async function Ma(t) {
2478
2494
  if (!navigator.clipboard)
2479
2495
  throw Se();
2480
2496
  return navigator.clipboard.writeText(t);
2481
2497
  }
2482
- async function Ma(t) {
2498
+ async function xa(t) {
2483
2499
  const e = document.createElement("span");
2484
2500
  e.textContent = t, e.style.whiteSpace = "pre", e.style.webkitUserSelect = "auto", e.style.userSelect = "all", document.body.appendChild(e);
2485
2501
  const n = window.getSelection(), o = window.document.createRange();
@@ -2495,22 +2511,22 @@ async function Ma(t) {
2495
2511
  }
2496
2512
  async function Fa(t) {
2497
2513
  try {
2498
- await wa(t);
2514
+ await Ma(t);
2499
2515
  } catch (e) {
2500
2516
  try {
2501
- await Ma(t);
2517
+ await xa(t);
2502
2518
  } catch (n) {
2503
2519
  throw n || e || Se();
2504
2520
  }
2505
2521
  }
2506
2522
  }
2507
- function xa() {
2523
+ function Ta() {
2508
2524
  async function t(e) {
2509
2525
  await Fa(e);
2510
2526
  }
2511
2527
  return { onCopy: t };
2512
2528
  }
2513
- function Ta(t, e, n, o) {
2529
+ function Ba(t, e, n, o) {
2514
2530
  const a = p(14), s = p(140), l = p(""), c = p(o.value.length), u = S(() => o.value), i = S(() => ({
2515
2531
  "font-size": `${a.value}px`,
2516
2532
  height: "100%"
@@ -2535,14 +2551,14 @@ function Ta(t, e, n, o) {
2535
2551
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
2536
2552
  }, [c.value + " / " + s.value])]);
2537
2553
  }
2538
- function Ba(t, e, n, o) {
2539
- const a = Ta(t, e, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
2554
+ function ka(t, e, n, o) {
2555
+ const a = Ba(t, e, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
2540
2556
  function l(c) {
2541
2557
  return s.get(c) || null;
2542
2558
  }
2543
2559
  return { getEditorRender: l };
2544
2560
  }
2545
- function ka() {
2561
+ function Ia() {
2546
2562
  const t = p(!1), e = p("复制成功");
2547
2563
  return {
2548
2564
  feedbackStyle: S(() => {
@@ -2568,35 +2584,35 @@ function ka() {
2568
2584
  toShowFeedback: t
2569
2585
  };
2570
2586
  }
2571
- function Ia(t, e) {
2587
+ function Ea(t, e) {
2572
2588
  const n = e.getEditorRender(t.promptEditorType);
2573
2589
  return () => n && n();
2574
2590
  }
2575
- function Ea(t) {
2591
+ function Sa(t) {
2576
2592
  const e = p(3), n = p(480), o = S(() => !!t.value && !!t.value.date), a = S(() => `发生时间 : ${t.value && t.value.date || ""}`), s = S(() => !!t.value && !!t.value.detail), l = S(() => {
2577
- const F = `${n.value}px`;
2593
+ const x = `${n.value}px`;
2578
2594
  return {
2579
2595
  overflow: "hidden",
2580
2596
  "text-overflow": "ellipsis",
2581
2597
  display: "-webkit-box",
2582
2598
  "-webkit-box-orient": "vertical",
2583
2599
  "-webkit-line-clamp": e.value,
2584
- "max-height": F
2600
+ "max-height": x
2585
2601
  };
2586
2602
  }), c = S(() => t.value && t.value.detail || ""), u = S(() => !0), i = p(!1), d = p("展开"), r = p("收起"), m = S(() => {
2587
- const F = {
2603
+ const x = {
2588
2604
  display: "block",
2589
2605
  color: "#2A87FF"
2590
2606
  };
2591
- return F["text-align"] = i.value ? "" : "right", F;
2607
+ return x["text-align"] = i.value ? "" : "right", x;
2592
2608
  });
2593
- function h(F, M) {
2609
+ function h(x, M) {
2594
2610
  i.value = !i.value, e.value = i.value ? 20 : 3;
2595
2611
  }
2596
- function v(F) {
2612
+ function v(x) {
2597
2613
  return h();
2598
2614
  }
2599
- function b(F) {
2615
+ function b(x) {
2600
2616
  return h();
2601
2617
  }
2602
2618
  return () => f("div", {
@@ -2617,13 +2633,13 @@ function Ea(t) {
2617
2633
  style: "cursor: pointer;"
2618
2634
  }, [d.value])])]);
2619
2635
  }
2620
- function Sa(t) {
2636
+ function La(t) {
2621
2637
  return () => f("p", {
2622
2638
  class: "toast-msg-detail",
2623
2639
  innerHTML: t.value
2624
2640
  }, null);
2625
2641
  }
2626
- function La(t, e, n, o) {
2642
+ function Da(t, e, n, o) {
2627
2643
  const a = p(t.exceptionInfo), s = S(() => {
2628
2644
  const m = {
2629
2645
  "f-icon": !0
@@ -2631,7 +2647,7 @@ function La(t, e, n, o) {
2631
2647
  return m[h] = !0, m;
2632
2648
  }), l = S(() => n.value || a.value && a.value.message), c = S(() => o.value), u = S(() => !!o.value), i = S(() => !!a.value);
2633
2649
  function d() {
2634
- return i.value ? Ea(a) : u.value ? Sa(c) : () => null;
2650
+ return i.value ? Sa(a) : u.value ? La(c) : () => null;
2635
2651
  }
2636
2652
  const r = d();
2637
2653
  return () => f(ae, null, [f("div", {
@@ -2645,7 +2661,7 @@ function La(t, e, n, o) {
2645
2661
  innerHTML: l.value
2646
2662
  }, null), r()])]);
2647
2663
  }
2648
- function Da(t, e, n) {
2664
+ function Pa(t, e, n) {
2649
2665
  const {
2650
2666
  onCopy: o
2651
2667
  } = e, {
@@ -2671,8 +2687,8 @@ function Da(t, e, n) {
2671
2687
  style: "cursor: pointer;"
2672
2688
  }, [l.value])]);
2673
2689
  }
2674
- function Pa(t, e, n, o) {
2675
- const a = p(t.type), s = p([]), l = p(t.exceptionInfo), c = p(t.okButtonText), u = p(t.cancelButtonText), i = p(!0), d = p(!0), r = S(() => !!(s.value && s.value.length)), m = S(() => l.value && l.value.date && l.value.message && l.value.detail), h = S(() => !(s.value && s.value.length) && (c.value || u.value)), v = S(() => d.value && c.value), b = S(() => i.value && u.value), F = Da(t, n, o);
2690
+ function Va(t, e, n, o) {
2691
+ const a = p(t.type), s = p([]), l = p(t.exceptionInfo), c = p(t.okButtonText), u = p(t.cancelButtonText), i = p(!0), d = p(!0), r = S(() => !!(s.value && s.value.length)), m = S(() => l.value && l.value.date && l.value.message && l.value.detail), h = S(() => !(s.value && s.value.length) && (c.value || u.value)), v = S(() => d.value && c.value), b = S(() => i.value && u.value), x = Pa(t, n, o);
2676
2692
  function M(R) {
2677
2693
  a.value === "question" && e.emit("reject"), e.emit("close");
2678
2694
  }
@@ -2681,7 +2697,7 @@ function Pa(t, e, n, o) {
2681
2697
  }
2682
2698
  return () => f("div", {
2683
2699
  class: "modal-footer"
2684
- }, [m.value && F(), h.value && b.value && f("button", {
2700
+ }, [m.value && x(), h.value && b.value && f("button", {
2685
2701
  type: "button",
2686
2702
  class: "btn btn-secondary btn-lg",
2687
2703
  onClick: M
@@ -2699,20 +2715,20 @@ function Pa(t, e, n, o) {
2699
2715
  }
2700
2716
  const ue = /* @__PURE__ */ X({
2701
2717
  name: "FMessageBox",
2702
- props: ba,
2718
+ props: wa,
2703
2719
  emits: ["accept", "reject", "close"],
2704
2720
  setup(t, e) {
2705
2721
  const n = p(t.type), o = p(t.title), a = p(t.detail), s = S(() => {
2706
- const F = {
2722
+ const x = {
2707
2723
  "modal-tips": !0,
2708
2724
  "d-flex": !0,
2709
2725
  "flex-row": !0
2710
2726
  }, M = `messager-type-${n.value}`;
2711
- return F[M] = !0, F;
2727
+ return x[M] = !0, x;
2712
2728
  }), l = S(() => {
2713
- const F = {};
2714
- return n.value === "prompt" ? F.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (F.padding = "0.5rem 1.5rem 1rem 1.5rem"), F;
2715
- }), c = xa(), u = Ba(t, n, o, a), i = ka(), {
2729
+ const x = {};
2730
+ return n.value === "prompt" ? x.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (x.padding = "0.5rem 1.5rem 1rem 1.5rem"), x;
2731
+ }), c = Ta(), u = ka(t, n, o, a), i = Ia(), {
2716
2732
  feedbackStyle: d,
2717
2733
  feedbackMessage: r
2718
2734
  } = i;
@@ -2724,12 +2740,12 @@ const ue = /* @__PURE__ */ X({
2724
2740
  function h() {
2725
2741
  switch (n.value) {
2726
2742
  case "prompt":
2727
- return Ia(t, u);
2743
+ return Ea(t, u);
2728
2744
  default:
2729
- return La(t, n, o, a);
2745
+ return Da(t, n, o, a);
2730
2746
  }
2731
2747
  }
2732
- const v = h(), b = Pa(t, e, c, i);
2748
+ const v = h(), b = Va(t, e, c, i);
2733
2749
  return () => f("div", {
2734
2750
  class: "farris-messager"
2735
2751
  }, [f("section", {
@@ -2737,7 +2753,7 @@ const ue = /* @__PURE__ */ X({
2737
2753
  style: l.value
2738
2754
  }, [v()]), b(), m()]);
2739
2755
  }
2740
- }), Va = {
2756
+ }), Ra = {
2741
2757
  /**
2742
2758
  * 自定义类
2743
2759
  */
@@ -2881,9 +2897,9 @@ class _ {
2881
2897
  return this.width = e.width, this.height = e.height, this;
2882
2898
  }
2883
2899
  }
2884
- function Ra(t, e) {
2900
+ function Na(t, e) {
2885
2901
  const n = p(), o = p(), a = p(), s = p(), l = p(), c = p(), u = p(), i = p(), d = p(), r = p(), m = p(), h = p(), v = p(t.draggable), b = p(!1);
2886
- function F() {
2902
+ function x() {
2887
2903
  const I = o.value || document.body, D = window.getComputedStyle(I);
2888
2904
  if (!D || !n.value)
2889
2905
  return;
@@ -2894,7 +2910,7 @@ function Ra(t, e) {
2894
2910
  }
2895
2911
  function M(I) {
2896
2912
  if (n.value) {
2897
- s.value = _.getCurrent(n.value), l.value = q.getCurrent(n.value), c.value = s.value ? _.copy(s.value) : null, u.value = l.value ? q.copy(l.value) : null, F();
2913
+ s.value = _.getCurrent(n.value), l.value = q.getCurrent(n.value), c.value = s.value ? _.copy(s.value) : null, u.value = l.value ? q.copy(l.value) : null, x();
2898
2914
  const D = I.target.getAttribute("type") || "";
2899
2915
  i.value = {
2900
2916
  n: !!D.match(/n/),
@@ -3034,7 +3050,7 @@ function Ra(t, e) {
3034
3050
  }, v.value = t.draggable, b.value = !1;
3035
3051
  }
3036
3052
  }
3037
- function me() {
3053
+ function fe() {
3038
3054
  if (n.value) {
3039
3055
  const I = _.getCurrent(n.value);
3040
3056
  if (I) {
@@ -3046,15 +3062,15 @@ function Ra(t, e) {
3046
3062
  }
3047
3063
  }
3048
3064
  }
3049
- function fe() {
3065
+ function ve() {
3050
3066
  const I = () => {
3051
- b.value ? H(!1) : me();
3067
+ b.value ? H(!1) : fe();
3052
3068
  };
3053
3069
  return window.addEventListener("resize", I), () => {
3054
3070
  window.removeEventListener("resize", I);
3055
3071
  };
3056
3072
  }
3057
- const re = fe();
3073
+ const re = ve();
3058
3074
  return {
3059
3075
  renderResizeBar: z,
3060
3076
  boundingElement: o,
@@ -3066,7 +3082,7 @@ function Ra(t, e) {
3066
3082
  unWindowResizeHandle: re
3067
3083
  };
3068
3084
  }
3069
- function Na(t, e, n) {
3085
+ function Oa(t, e, n) {
3070
3086
  const o = p(), a = p(t.draggable), s = p(t.lockAxis), l = p(), c = p(), u = p(!1), i = p(new q(0, 0)), d = p(new q(0, 0)), r = p(new q(0, 0)), m = p(new q(0, 0));
3071
3087
  W(() => n.value, (y) => {
3072
3088
  l.value.style.cursor = y ? "move" : "default";
@@ -3099,11 +3115,11 @@ function Na(t, e, n) {
3099
3115
  };
3100
3116
  return O.top || (r.value.y -= P.top - y.top), O.bottom || (r.value.y -= P.bottom - y.bottom), O.right || (r.value.x -= P.right - y.right), O.left || (r.value.x -= P.left - y.left), v(), O;
3101
3117
  }
3102
- function F(y) {
3118
+ function x(y) {
3103
3119
  y && (i.value && y.subtract(i.value), r.value.set(y), v(), b());
3104
3120
  }
3105
3121
  function M(y) {
3106
- u.value && a.value && (y.stopPropagation(), y.preventDefault(), F(q.fromEvent(y, l.value)));
3122
+ u.value && a.value && (y.stopPropagation(), y.preventDefault(), x(q.fromEvent(y, l.value)));
3107
3123
  }
3108
3124
  function C() {
3109
3125
  var y;
@@ -3156,7 +3172,7 @@ function it(t, e) {
3156
3172
  };
3157
3173
  }
3158
3174
  }
3159
- function Oa(t, e) {
3175
+ function Aa(t, e) {
3160
3176
  const n = p(t.enableEsc);
3161
3177
  let o = null;
3162
3178
  return n.value ? (o = it("Escape", (a) => {
@@ -3165,7 +3181,7 @@ function Oa(t, e) {
3165
3181
  remove: o
3166
3182
  }) : null;
3167
3183
  }
3168
- function Aa(t, e) {
3184
+ function $a(t, e) {
3169
3185
  const n = p(t.enableEnter);
3170
3186
  let o = null;
3171
3187
  return n.value ? (o = it("Enter", (a) => {
@@ -3176,70 +3192,70 @@ function Aa(t, e) {
3176
3192
  }
3177
3193
  const ut = /* @__PURE__ */ X({
3178
3194
  name: "FModal",
3179
- props: Va,
3195
+ props: Ra,
3180
3196
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
3181
3197
  setup(t, e) {
3182
- const n = p(t.width || 300), o = p(t.height || 200), a = p(t.modelValue), s = p(""), l = p(t.class), c = p(t.fitContent), u = p(t.showHeader), i = p(""), d = p(t.showCloseButton), r = p(t.showMaxButton), m = p(!1), h = p(""), v = p(""), b = p(""), F = p(t.showButtons), M = p(t.title), C = p(t.reiszeable), R = p(t.containment || null), w = p();
3183
- function g(x, j) {
3184
- a.value = !1, e.emit("update:modelValue", !1), j != null && e.emit(j ? "accept" : "cancel"), e.emit("closed", x);
3198
+ const n = p(t.width || 300), o = p(t.height || 200), a = p(t.modelValue), s = p(""), l = p(t.class), c = p(t.fitContent), u = p(t.showHeader), i = p(""), d = p(t.showCloseButton), r = p(t.showMaxButton), m = p(!1), h = p(""), v = p(""), b = p(""), x = p(t.showButtons), M = p(t.title), C = p(t.reiszeable), R = p(t.containment || null), w = p();
3199
+ function g(F, j) {
3200
+ a.value = !1, e.emit("update:modelValue", !1), j != null && e.emit(j ? "accept" : "cancel"), e.emit("closed", F);
3185
3201
  }
3186
3202
  const L = [{
3187
3203
  name: "cancel",
3188
3204
  text: "取消",
3189
3205
  class: "btn btn-secondary",
3190
- handle: (x) => {
3191
- g(x, !1);
3206
+ handle: (F) => {
3207
+ g(F, !1);
3192
3208
  }
3193
3209
  }, {
3194
3210
  name: "accept",
3195
3211
  text: "确定",
3196
3212
  class: "btn btn-primary",
3197
- handle: (x) => {
3198
- g(x, !0);
3213
+ handle: (F) => {
3214
+ g(F, !0);
3199
3215
  }
3200
- }], y = p(t.buttons && t.buttons.length ? t.buttons : L), P = S(() => !!i.value), O = S(() => !!F.value && !!y.value), U = p(), z = p(), H = p(!1), {
3216
+ }], y = p(t.buttons && t.buttons.length ? t.buttons : L), P = S(() => !!i.value), O = S(() => !!x.value && !!y.value), U = p(), z = p(), H = p(!1), {
3201
3217
  renderResizeBar: se,
3202
- maximize: me,
3203
- restore: fe,
3218
+ maximize: fe,
3219
+ restore: ve,
3204
3220
  boundingElement: re,
3205
3221
  resizedEventParam: I,
3206
3222
  allowDrag: D,
3207
3223
  unWindowResizeHandle: $
3208
- } = Ra(t), {
3224
+ } = Na(t), {
3209
3225
  registerDraggle: A
3210
- } = Na(t, e, D);
3211
- W(() => t.title, (x, j) => {
3212
- x !== j && (M.value = x);
3213
- }), W(() => t.modelValue, (x, j) => {
3214
- x !== j && (a.value = x);
3215
- }), W(() => t.showHeader, (x, j) => {
3216
- x !== j && (u.value = x);
3217
- }), W(() => t.showButtons, (x, j) => {
3218
- x !== j && (F.value = x);
3219
- }), W(() => I.value, (x, j) => {
3220
- const ne = x || {}, ie = j || {};
3226
+ } = Oa(t, e, D);
3227
+ W(() => t.title, (F, j) => {
3228
+ F !== j && (M.value = F);
3229
+ }), W(() => t.modelValue, (F, j) => {
3230
+ F !== j && (a.value = F);
3231
+ }), W(() => t.showHeader, (F, j) => {
3232
+ F !== j && (u.value = F);
3233
+ }), W(() => t.showButtons, (F, j) => {
3234
+ F !== j && (x.value = F);
3235
+ }), W(() => I.value, (F, j) => {
3236
+ const ne = F || {}, ie = j || {};
3221
3237
  JSON.stringify(ne) !== JSON.stringify(ie) && e.emit("resize", {
3222
- newSize: x,
3238
+ newSize: F,
3223
3239
  oldSize: j
3224
3240
  });
3225
3241
  });
3226
3242
  function G() {
3227
- const x = document.querySelectorAll(".farris-modal").length;
3228
- (!x || x - 1 <= 0) && document.body.classList.remove("modal-open"), w.value && w.value.classList.remove("show");
3243
+ const F = document.querySelectorAll(".farris-modal").length;
3244
+ (!F || F - 1 <= 0) && document.body.classList.remove("modal-open"), w.value && w.value.classList.remove("show");
3229
3245
  }
3230
- const ve = S(() => (a.value ? document.body.classList.add("modal-open") : G(), a.value)), dt = S(() => {
3231
- const x = {
3246
+ const he = S(() => (a.value ? document.body.classList.add("modal-open") : G(), a.value)), dt = S(() => {
3247
+ const F = {
3232
3248
  modal: !0,
3233
3249
  "farris-modal": !0,
3234
3250
  fade: !0
3235
3251
  };
3236
- return x["f-modal-fitContent"] = !!c.value, x.show = !!ve.value, x;
3252
+ return F["f-modal-fitContent"] = !!c.value, F.show = !!he.value, F;
3237
3253
  }), pt = S(() => {
3238
3254
  var ne;
3239
- const x = {
3255
+ const F = {
3240
3256
  "modal-dialog": !0
3241
3257
  }, j = (ne = l.value) == null ? void 0 : ne.split(" ");
3242
- return j == null || j.reduce((ie, Bt) => (ie[Bt] = !0, ie), x), x;
3258
+ return j == null || j.reduce((ie, Bt) => (ie[Bt] = !0, ie), F), F;
3243
3259
  }), mt = S(() => ({
3244
3260
  position: "absolute",
3245
3261
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -3250,10 +3266,10 @@ const ut = /* @__PURE__ */ X({
3250
3266
  "modal-content": !0,
3251
3267
  "modal-content-has-header": u.value
3252
3268
  })), vt = S(() => {
3253
- const x = {
3269
+ const F = {
3254
3270
  display: u.value ? "" : "none"
3255
3271
  };
3256
- return x["pointer-events"] = D.value ? "auto" : "none", x;
3272
+ return F["pointer-events"] = D.value ? "auto" : "none", F;
3257
3273
  }), ht = S(() => ({
3258
3274
  "f-icon": !0,
3259
3275
  modal_maximize: !0,
@@ -3266,29 +3282,29 @@ const ut = /* @__PURE__ */ X({
3266
3282
  return {};
3267
3283
  }
3268
3284
  const Ct = S(() => {
3269
- const x = {
3285
+ const F = {
3270
3286
  textAlgin: b.value
3271
3287
  }, j = gt();
3272
- return Object.assign(x, j);
3288
+ return Object.assign(F, j);
3273
3289
  });
3274
- function Le(x) {
3275
- if (x.stopPropagation(), H.value) {
3276
- H.value = !1, fe();
3290
+ function Le(F) {
3291
+ if (F.stopPropagation(), H.value) {
3292
+ H.value = !1, ve();
3277
3293
  return;
3278
3294
  }
3279
- me(), H.value = !0;
3295
+ fe(), H.value = !0;
3280
3296
  }
3281
- async function bt(x, j) {
3282
- x.handle && await x.handle(j, x) && e.emit("closed", j);
3297
+ async function bt(F, j) {
3298
+ F.handle && await F.handle(j, F) && e.emit("closed", j);
3283
3299
  }
3284
- function wt(x) {
3285
- x.width && (n.value = x.width), x.height && (o.value = x.height), x.buttons && (y.value = x.buttons), x.title && (M.value = x.title);
3300
+ function wt(F) {
3301
+ F.width && (n.value = F.width), F.height && (o.value = F.height), F.buttons && (y.value = F.buttons), F.title && (M.value = F.title);
3286
3302
  }
3287
- let he = null, ye = null;
3303
+ let ye = null, ge = null;
3288
3304
  J(() => {
3289
- z.value && !R.value && (R.value = z.value.parentElement, re.value = R.value, A(U.value, z.value, re.value)), ve.value && document.body.classList.add("modal-open"), he = Oa(t, e), ye = Aa(t, e);
3305
+ z.value && !R.value && (R.value = z.value.parentElement, re.value = R.value, A(U.value, z.value, re.value)), he.value && document.body.classList.add("modal-open"), ye = Aa(t, e), ge = $a(t, e);
3290
3306
  }), Ue(() => {
3291
- G(), $ && $(), he && he.remove(), ye && ye.remove();
3307
+ G(), $ && $(), ye && ye.remove(), ge && ge.remove();
3292
3308
  }), e.expose({
3293
3309
  modalElementRef: z,
3294
3310
  updateModalOptions: wt,
@@ -3308,28 +3324,28 @@ const ut = /* @__PURE__ */ X({
3308
3324
  class: ht.value
3309
3325
  }, null)]), d.value && f("li", {
3310
3326
  class: "f-btn-icon f-bare",
3311
- onClick: (x) => g(x, !1),
3327
+ onClick: (F) => g(F, !1),
3312
3328
  style: "pointer-events: auto;"
3313
3329
  }, [f("span", {
3314
3330
  class: "f-icon modal_close"
3315
3331
  }, null)])]);
3316
3332
  }
3317
- function Ft() {
3333
+ function xt() {
3318
3334
  return f("div", {
3319
3335
  class: "modal-footer",
3320
3336
  style: Ct.value
3321
- }, [y.value && y.value.map((x) => f("button", {
3322
- name: x.name,
3337
+ }, [y.value && y.value.map((F) => f("button", {
3338
+ name: F.name,
3323
3339
  type: "button",
3324
- class: x.class + (x.iconClass ? " btn-icontext" : ""),
3340
+ class: F.class + (F.iconClass ? " btn-icontext" : ""),
3325
3341
  onClick: (j) => {
3326
- bt(x, j);
3342
+ bt(F, j);
3327
3343
  }
3328
- }, [!!x.iconClass && f("i", {
3329
- class: x.iconClass
3330
- }, null), x.text]))]);
3344
+ }, [!!F.iconClass && f("i", {
3345
+ class: F.iconClass
3346
+ }, null), F.text]))]);
3331
3347
  }
3332
- function xt() {
3348
+ function Ft() {
3333
3349
  return f("div", {
3334
3350
  ref: U,
3335
3351
  class: "modal-header",
@@ -3345,18 +3361,18 @@ const ut = /* @__PURE__ */ X({
3345
3361
  class: "actions"
3346
3362
  }, [Mt()])]);
3347
3363
  }
3348
- function Tt(x) {
3349
- x.stopPropagation();
3364
+ function Tt(F) {
3365
+ F.stopPropagation();
3350
3366
  }
3351
3367
  return () => f(Et, {
3352
3368
  to: "body"
3353
3369
  }, {
3354
- default: () => [ve.value && f(St, {
3370
+ default: () => [he.value && f(St, {
3355
3371
  name: "fade",
3356
3372
  appear: !0
3357
3373
  }, {
3358
3374
  default: () => {
3359
- var x, j;
3375
+ var F, j;
3360
3376
  return [f("div", {
3361
3377
  class: dt.value,
3362
3378
  style: "display: block",
@@ -3369,15 +3385,15 @@ const ut = /* @__PURE__ */ X({
3369
3385
  ref: z
3370
3386
  }, [f("div", {
3371
3387
  class: ft.value
3372
- }, [u.value && xt(), f("div", {
3388
+ }, [u.value && Ft(), f("div", {
3373
3389
  class: yt.value
3374
- }, [(j = (x = e.slots).default) == null ? void 0 : j.call(x), h.value === "iframe" && f("iframe", {
3390
+ }, [(j = (F = e.slots).default) == null ? void 0 : j.call(F), h.value === "iframe" && f("iframe", {
3375
3391
  title: s.value,
3376
3392
  class: "f-utils-fill",
3377
3393
  width: "100%",
3378
3394
  frameborder: "0",
3379
3395
  src: v.value
3380
- }, null)]), O.value && Ft()]), !c.value && C.value && z.value && se(z.value)])])];
3396
+ }, null)]), O.value && xt()]), !c.value && C.value && z.value && se(z.value)])])];
3381
3397
  }
3382
3398
  })]
3383
3399
  });
@@ -3389,7 +3405,7 @@ function ct(t) {
3389
3405
  if (t.render && typeof t.render == "function")
3390
3406
  return t.render;
3391
3407
  }
3392
- function $a(t) {
3408
+ function Ua(t) {
3393
3409
  const e = document.createElement("div");
3394
3410
  e.style.display = "contents";
3395
3411
  const n = Dt({
@@ -3401,7 +3417,7 @@ function $a(t) {
3401
3417
  }), h = t.rejectCallback || (() => {
3402
3418
  }), v = t.closedCallback || ((C) => {
3403
3419
  }), b = t.resizeHandle || ((C) => {
3404
- }), F = ct(t), M = (C) => {
3420
+ }), x = ct(t), M = (C) => {
3405
3421
  d.value = !1, n.unmount(), v(C);
3406
3422
  };
3407
3423
  return J(() => {
@@ -3426,13 +3442,13 @@ function $a(t) {
3426
3442
  onClosed: M,
3427
3443
  onResize: b
3428
3444
  }, {
3429
- default: () => [F && F(n)]
3445
+ default: () => [x && x(n)]
3430
3446
  });
3431
3447
  }
3432
3448
  });
3433
3449
  return document.body.appendChild(e), n.mount(e), n;
3434
3450
  }
3435
- class Ua {
3451
+ class ja {
3436
3452
  constructor(e) {
3437
3453
  N(this, "appContext", null);
3438
3454
  N(this, "modalRef", p());
@@ -3451,7 +3467,7 @@ class Ua {
3451
3467
  showButtons: !0,
3452
3468
  showHeader: !0
3453
3469
  }, e);
3454
- return $a(n);
3470
+ return Ua(n);
3455
3471
  }
3456
3472
  open(e) {
3457
3473
  const n = document.createDocumentFragment();
@@ -3473,7 +3489,7 @@ class Ua {
3473
3489
  c(M, this.isUseEscCloseModal.value ? "esc" : C ? "icon" : "button");
3474
3490
  }, m = (M) => {
3475
3491
  r(M), i && ce(() => {
3476
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], ge(null, n), i = null, this.modalRef.value = null, this.modalRefs) {
3492
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Ce(null, n), i = null, this.modalRef.value = null, this.modalRefs) {
3477
3493
  const C = Object.keys(this.modalRefs).map((R) => Number(R));
3478
3494
  C.length > 0 ? this.activeModalIndex.value = Math.max(...C) : this.activeModalIndex.value = 0;
3479
3495
  }
@@ -3497,7 +3513,7 @@ class Ua {
3497
3513
  });
3498
3514
  return i = ((M) => {
3499
3515
  const C = Pt(v, M);
3500
- return C.appContext = this.appContext, ge(C, n), C;
3516
+ return C.appContext = this.appContext, Ce(C, n), C;
3501
3517
  })({
3502
3518
  ...o.value
3503
3519
  // 'onUpdate:modelValue': onUpdateModelValue,
@@ -3506,7 +3522,7 @@ class Ua {
3506
3522
  o.value = {
3507
3523
  ...o.value,
3508
3524
  ...M
3509
- }, i && ge(Vt(i, {
3525
+ }, i && Ce(Vt(i, {
3510
3526
  ...o
3511
3527
  }), n);
3512
3528
  },
@@ -3522,7 +3538,7 @@ class Q {
3522
3538
  }), o = !1, a = n.type === "error" || n.type === "prompt", s = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
3523
3539
  }), c = n.rejectCallback || (() => {
3524
3540
  });
3525
- let u = null, i = new Ua(u);
3541
+ let u = null, i = new ja(u);
3526
3542
  const d = () => {
3527
3543
  u && (u == null || u.destroy(), i = null);
3528
3544
  };
@@ -3611,7 +3627,7 @@ class Q {
3611
3627
  ue.install = (t) => {
3612
3628
  t.component(ue.name, ue), t.provide("FMessageBoxService", Q);
3613
3629
  };
3614
- const ja = /* @__PURE__ */ X({
3630
+ const za = /* @__PURE__ */ X({
3615
3631
  name: "FResponseFormLayoutSetting",
3616
3632
  props: rt,
3617
3633
  emits: ["change"],
@@ -3641,7 +3657,7 @@ const ja = /* @__PURE__ */ X({
3641
3657
  name: C
3642
3658
  }), v.value = 0), l = [...l], c = [...c], u = [...u], i = [...i];
3643
3659
  }
3644
- function F() {
3660
+ function x() {
3645
3661
  n.forEach((C) => {
3646
3662
  l.push({
3647
3663
  value: C,
@@ -3671,7 +3687,7 @@ const ja = /* @__PURE__ */ X({
3671
3687
  });
3672
3688
  }
3673
3689
  return J(() => {
3674
- F(), b();
3690
+ x(), b();
3675
3691
  }), () => f("div", null, [f("div", {
3676
3692
  class: "f-form-layout farris-form farris-form-controls-inline"
3677
3693
  }, [f("div", {
@@ -3746,26 +3762,26 @@ const ja = /* @__PURE__ */ X({
3746
3762
  onClick: () => M()
3747
3763
  }, [Y("应用")])])]);
3748
3764
  }
3749
- }), ns = {
3765
+ }), os = {
3750
3766
  install(t) {
3751
- t.component(Ce.name, Ce).component(we.name, we);
3767
+ t.component(be.name, be).component(Me.name, Me);
3752
3768
  },
3753
3769
  register(t, e, n, o) {
3754
- t["form-group"] = we, e["form-group"] = Ve, t["response-form"] = Ce, e["response-form"] = Pe, t["form-input"] = ca, e["form-input"] = ua, o["form-group"] = { editorResolver: Fo }, t["response-form-layout-setting"] = ja, e["response-form-layout-setting"] = Ca;
3770
+ t["form-group"] = Me, e["form-group"] = Ve, t["response-form"] = be, e["response-form"] = Pe, t["form-input"] = da, e["form-input"] = ca, o["form-group"] = { editorResolver: Fo }, t["response-form-layout-setting"] = za, e["response-form-layout-setting"] = ba;
3755
3771
  },
3756
3772
  registerDesigner(t, e, n) {
3757
- t["form-group"] = ia, e["form-group"] = Ve, t["response-form"] = Do, e["response-form"] = Pe;
3773
+ t["form-group"] = ua, e["form-group"] = Ve, t["response-form"] = Po, e["response-form"] = Pe;
3758
3774
  }
3759
3775
  };
3760
3776
  export {
3761
- we as FDynamicFormGroup,
3762
- ca as FDynamicFormInput,
3763
- Ce as FResponseForm,
3764
- ns as default,
3777
+ Me as FDynamicFormGroup,
3778
+ da as FDynamicFormInput,
3779
+ be as FResponseForm,
3780
+ os as default,
3765
3781
  le as dynamicFormGroupProps,
3766
3782
  Fo as editorResolver,
3767
3783
  Ve as formGroupPropsResolver,
3768
3784
  Pe as formPropsResolver,
3769
3785
  He as responseFormProps,
3770
- Eo as useDesignerRules
3786
+ So as useDesignerRules
3771
3787
  };