@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 To = Object.defineProperty;
2
2
  var _o = (e, t, n) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var N = (e, t, n) => _o(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as v, watch as U, nextTick as xe, computed as B, createVNode as i, onMounted as se, withDirectives as rt, vModelText as Xt, createTextVNode as ie, Fragment as ve, defineComponent as te, shallowRef as Ue, provide as Xe, inject as ae, onUnmounted as $e, isVNode as Kt, Teleport as Yt, Transition as Qt, createApp as ut, render as bt, h as ko, cloneVNode as Io, mergeProps as Ne, reactive as Be, getCurrentInstance as Bo, onBeforeUnmount as Zt, withModifiers as Jt, resolveComponent as en, resolveDirective as Fo, watchEffect as Mo, vShow as Eo } from "vue";
5
- import { cloneDeep as Ee, isPlainObject as Nt } from "lodash-es";
4
+ import { ref as v, watch as U, nextTick as xe, computed as B, createVNode as i, onMounted as se, withDirectives as rt, vModelText as Xt, createTextVNode as ie, Fragment as ve, defineComponent as te, shallowRef as Ue, provide as Xe, inject as ae, onUnmounted as $e, isVNode as Yt, Teleport as Kt, Transition as Qt, createApp as ut, render as bt, h as ko, cloneVNode as Io, mergeProps as Ne, reactive as Be, getCurrentInstance as Bo, onBeforeUnmount as Zt, withModifiers as Jt, resolveComponent as en, resolveDirective as Fo, watchEffect as Mo, vShow as Eo } from "vue";
5
+ import { cloneDeep as Me, isPlainObject as Nt } from "lodash-es";
6
6
  import tn from "../capsule/index.esm.js";
7
7
  import Mt from "../response-toolbar/index.esm.js";
8
8
  import { createPropsResolver as nn, resolveAppearance as Oo } from "../dynamic-resolver/index.esm.js";
@@ -13,7 +13,7 @@ import "bignumber.js";
13
13
  import sn from "../button-edit/index.esm.js";
14
14
  import ln from "../list-view/index.esm.js";
15
15
  import jo from "../loading/index.esm.js";
16
- import { useIdentify as Lo, useHierarchy as Ao, useGroupData as No, usePagination as Ho, useDataView as zo, useSelection as qo, useEdit as Go, useVisualDataBound as Wo, useVisualDataCell as Uo, useVisualDataRow as Xo, useVisualGroupRow as Ko, useVisualSummaryRow as Yo, useVisualData as Qo } from "../data-view/index.esm.js";
16
+ import { useIdentify as Lo, useHierarchy as Ao, useGroupData as No, usePagination as Ho, useDataView as zo, useSelection as qo, useEdit as Go, useVisualDataBound as Wo, useVisualDataCell as Uo, useVisualDataRow as Xo, useVisualGroupRow as Yo, useVisualSummaryRow as Ko, useVisualData as Qo } from "../data-view/index.esm.js";
17
17
  import Zo, { FCheckBox as Et } from "../checkbox/index.esm.js";
18
18
  import "../modal/index.esm.js";
19
19
  import Jo from "../transfer/index.esm.js";
@@ -63,8 +63,8 @@ import Wa from "../switch/index.esm.js";
63
63
  import rn from "../tags/index.esm.js";
64
64
  import Ua from "../text/index.esm.js";
65
65
  import Xa from "../time-picker/index.esm.js";
66
- import Ka from "../tree-view/index.esm.js";
67
- import Ya from "../uploader/index.esm.js";
66
+ import Ya from "../tree-view/index.esm.js";
67
+ import Ka from "../uploader/index.esm.js";
68
68
  import Qa from "../verify-detail/index.esm.js";
69
69
  import Za from "../weather/index.esm.js";
70
70
  import Ja from "../video/index.esm.js";
@@ -83,27 +83,41 @@ const ss = {
83
83
  editorParams: { type: Object, default: null }
84
84
  }, un = {}, cn = {};
85
85
  function Ot(e) {
86
- const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), s = Object.keys(t).reduce((l, r) => ((!a || !o.find((u) => u === r)) && (l[r] = t[r].type === "object" && t[r].properties ? Ot(t[r]) : Ee(t[r].default)), l), {});
86
+ const { properties: t, title: n, ignore: o } = e, a = o && Array.isArray(o), s = Object.keys(t).reduce((l, r) => ((!a || !o.find((u) => u === r)) && (l[r] = t[r].type === "object" && t[r].properties ? Ot(t[r]) : Me(t[r].default)), l), {});
87
87
  if (n && (!a || !o.find((l) => l === "id"))) {
88
88
  const l = n.toLowerCase().replace(/-/g, "_");
89
89
  s.id = `${l}_${Math.random().toString().slice(2, 6)}`;
90
90
  }
91
91
  return s;
92
92
  }
93
+ function ls(e) {
94
+ const { properties: t, title: n, required: o } = e;
95
+ if (o && Array.isArray(o)) {
96
+ const a = o.reduce((s, l) => (s[l] = t[l].type === "object" && t[l].properties ? Ot(t[l]) : Me(t[l].default), s), {});
97
+ if (n && o.find((s) => s === "id")) {
98
+ const s = n.toLowerCase().replace(/-/g, "_");
99
+ a.id = `${s}_${Math.random().toString().slice(2, 6)}`;
100
+ }
101
+ return a;
102
+ }
103
+ return {
104
+ type: n
105
+ };
106
+ }
93
107
  function He(e, t = {}, n) {
94
108
  const o = un[e];
95
109
  if (o) {
96
- let a = Ot(o);
110
+ let a = ls(o);
97
111
  const s = cn[e];
98
112
  return a = s ? s({ getSchemaByType: He }, a, t, n) : a, a;
99
113
  }
100
114
  return null;
101
115
  }
102
- function ls(e, t) {
116
+ function is(e, t) {
103
117
  const n = Ot(t);
104
- return Object.keys(n).reduce((o, a) => (o[a] && Nt(o[a]) && Nt(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a], o), n), n;
118
+ return Object.keys(n).reduce((o, a) => (Object.prototype.hasOwnProperty.call(e, a) && (o[a] && Nt(o[a]) && Nt(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a]), o), n), n;
105
119
  }
106
- function is(e, t) {
120
+ function rs(e, t) {
107
121
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
108
122
  if (t.has(a)) {
109
123
  const s = t.get(a);
@@ -118,11 +132,11 @@ function is(e, t) {
118
132
  return o;
119
133
  }, {});
120
134
  }
121
- function rs(e, t, n = /* @__PURE__ */ new Map()) {
122
- const o = ls(e, t);
123
- return is(o, n);
135
+ function us(e, t, n = /* @__PURE__ */ new Map()) {
136
+ const o = is(e, t);
137
+ return rs(o, n);
124
138
  }
125
- function us(e = {}) {
139
+ function cs(e = {}) {
126
140
  function t(c, d, p, g) {
127
141
  if (typeof p == "number")
128
142
  return g[c].length === p;
@@ -176,7 +190,7 @@ function us(e = {}) {
176
190
  }
177
191
  return { parseValueSchema: u };
178
192
  }
179
- const Y = {
193
+ const K = {
180
194
  button: { type: "button", name: "按钮", icon: "Button" },
181
195
  "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
182
196
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
@@ -216,18 +230,18 @@ const Y = {
216
230
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
217
231
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
218
232
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
219
- }, cs = {}, ds = {};
220
- us();
233
+ }, ds = {}, fs = {};
234
+ cs();
221
235
  function ye(e, t, n = /* @__PURE__ */ new Map(), o = (l, r, u, c) => r, a = {}, s = (l) => l) {
222
- return un[t.title] = t, cn[t.title] = o, cs[t.title] = a, ds[t.title] = s, (l = {}) => {
223
- const r = rs(l, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
236
+ return un[t.title] = t, cn[t.title] = o, ds[t.title] = a, fs[t.title] = s, (l = {}) => {
237
+ const r = us(l, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
224
238
  return Object.assign(u, r);
225
239
  };
226
240
  }
227
241
  function Oe(e, t) {
228
242
  return { customClass: t.class, customStyle: t.style };
229
243
  }
230
- function fs() {
244
+ function ps() {
231
245
  function e(t, n) {
232
246
  const o = t.contents;
233
247
  if (!o || o.length < 1)
@@ -248,7 +262,7 @@ function fs() {
248
262
  const Pt = /* @__PURE__ */ new Map([
249
263
  ["appearance", Oe]
250
264
  ]);
251
- function ps(e, t) {
265
+ function vs(e, t) {
252
266
  const n = Math.random().toString().slice(2, 6), o = t.parentComponentInstance, a = e.getSchemaByType("tab-page");
253
267
  a.id = `tab-page-${n}`;
254
268
  const s = e.getSchemaByType("tabs");
@@ -280,7 +294,7 @@ function ps(e, t) {
280
294
  });
281
295
  const u = o.schema;
282
296
  switch (u && u.type) {
283
- case Y["splitter-pane"].type: {
297
+ case K["splitter-pane"].type: {
284
298
  l.appearance.class = "f-section-tabs f-section-in-main", s.appearance.class = "f-component-tabs";
285
299
  break;
286
300
  }
@@ -290,16 +304,16 @@ function ps(e, t) {
290
304
  }
291
305
  function dn(e, t, n) {
292
306
  if (n.parentComponentInstance)
293
- return ps(e, n);
307
+ return vs(e, n);
294
308
  {
295
309
  const a = e.getSchemaByType("tab-page");
296
310
  return t.contents = [a], t;
297
311
  }
298
312
  }
299
- function vs(e, t, n) {
313
+ function ms(e, t, n) {
300
314
  return t;
301
315
  }
302
- const ms = "https://json-schema.org/draft/2020-12/schema", gs = "https://farris-design.gitee.io/tabs.schema.json", hs = "tabs", ys = "A Farris Container Component", bs = "object", Cs = {
316
+ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-design.gitee.io/tabs.schema.json", ys = "tabs", bs = "A Farris Container Component", Cs = "object", ws = {
303
317
  id: {
304
318
  description: "The unique identifier for a Tabs",
305
319
  type: "string"
@@ -347,18 +361,18 @@ const ms = "https://json-schema.org/draft/2020-12/schema", gs = "https://farris-
347
361
  type: "boolean",
348
362
  default: !1
349
363
  }
350
- }, ws = [
364
+ }, xs = [
351
365
  "id",
352
366
  "type",
353
367
  "contents"
354
368
  ], fn = {
355
- $schema: ms,
356
- $id: gs,
357
- title: hs,
358
- description: ys,
359
- type: bs,
360
- properties: Cs,
361
- required: ws
369
+ $schema: gs,
370
+ $id: hs,
371
+ title: ys,
372
+ description: bs,
373
+ type: Cs,
374
+ properties: ws,
375
+ required: xs
362
376
  }, Dt = {
363
377
  tabType: { type: String, default: "default" },
364
378
  autoTitleWidth: { type: Boolean, default: !1 },
@@ -377,10 +391,10 @@ const ms = "https://json-schema.org/draft/2020-12/schema", gs = "https://farris-
377
391
  activeId: { type: String },
378
392
  fill: { type: Boolean, default: !1 },
379
393
  justifyContent: { type: String, default: "left" }
380
- }, xs = ye(Dt, fn, Pt, dn), pn = Object.assign({}, Dt, {
394
+ }, Ss = ye(Dt, fn, Pt, dn), pn = Object.assign({}, Dt, {
381
395
  componentId: { type: String, default: "" }
382
- }), Ss = ye(pn, fn, Pt, dn), Ts = fs();
383
- function _s(e, t, n) {
396
+ }), Ts = ye(pn, fn, Pt, dn), _s = ps();
397
+ function ks(e, t, n) {
384
398
  const o = v([]), a = v(e.activeId || ""), s = v(!0), l = v([]);
385
399
  U(() => e.activeId, (C, _) => {
386
400
  C !== _ && (a.value = C);
@@ -447,7 +461,7 @@ function _s(e, t, n) {
447
461
  toolbarItems: l
448
462
  };
449
463
  }
450
- function ks(e, t, n, o, a) {
464
+ function Is(e, t, n, o, a) {
451
465
  const {
452
466
  activeId: s,
453
467
  removeTab: l,
@@ -501,7 +515,7 @@ function ks(e, t, n, o, a) {
501
515
  onClick: m
502
516
  }, [y(t), C.value && _()])]);
503
517
  }
504
- function Is(e, t, n, o, a) {
518
+ function Bs(e, t, n, o, a) {
505
519
  const {
506
520
  shouldShowNavigationButtons: s
507
521
  } = n, {
@@ -528,7 +542,7 @@ function Is(e, t, n, o, a) {
528
542
  }, [i("ul", {
529
543
  class: c.value,
530
544
  ref: t
531
- }, [l.value.map((d) => ks(e, d.props, d, o, a))])]);
545
+ }, [l.value.map((d) => Is(e, d.props, d, o, a))])]);
532
546
  }
533
547
  function vn(e, t, n, o, a) {
534
548
  const s = v(), {
@@ -572,7 +586,7 @@ function vn(e, t, n, o, a) {
572
586
  ref: s
573
587
  }, null)]);
574
588
  }
575
- function Bs(e, t, n, o) {
589
+ function Fs(e, t, n, o) {
576
590
  const {
577
591
  activeId: a,
578
592
  removeTab: s,
@@ -647,7 +661,7 @@ function mn(e, t, n, o) {
647
661
  hideDropDown: a
648
662
  } = t, {
649
663
  renderDropdownMenu: s
650
- } = Bs(e, t, n, o), l = v(e.showDropdown);
664
+ } = Fs(e, t, n, o), l = v(e.showDropdown);
651
665
  function r() {
652
666
  return l.value && i(ve, null, [i("button", {
653
667
  title: "toggle-button",
@@ -758,7 +772,7 @@ const Le = /* @__PURE__ */ te({
758
772
  props: Dt,
759
773
  emits: ["tabChange", "tabRemove", "update:activeId", "Click"],
760
774
  setup(e, t) {
761
- const n = v(e.tabType), o = Ue(), a = v(e.customClass), s = Ue(), l = Ue(), r = _s(e, t, s), {
775
+ const n = v(e.tabType), o = Ue(), a = v(e.customClass), s = Ue(), l = Ue(), r = ks(e, t, s), {
762
776
  activeId: u,
763
777
  changeTitleStyle: c,
764
778
  tabPages: d,
@@ -774,7 +788,7 @@ const Le = /* @__PURE__ */ te({
774
788
  updateNavigationLayout: M
775
789
  } = _, P = hn(e, r), {
776
790
  hideDropDown: O
777
- } = P, D = Is(e, s, _, C, r), S = D, F = vn(e, s, _, C, r), x = /* @__PURE__ */ new Map([["default", D], ["one-page", S], ["pills", F]]);
791
+ } = P, D = Bs(e, s, _, C, r), S = D, F = vn(e, s, _, C, r), x = /* @__PURE__ */ new Map([["default", D], ["one-page", S], ["pills", F]]);
778
792
  B(() => {
779
793
  const ee = d.value.find((re) => re.props.id === u.value);
780
794
  return ee == null ? void 0 : ee.slots;
@@ -886,15 +900,15 @@ const Le = /* @__PURE__ */ te({
886
900
  }, [le(), Se()]);
887
901
  }
888
902
  });
889
- function Fs(e, t, n) {
903
+ function Ms(e, t, n) {
890
904
  return t && t.contents && t.contents.length && (t.contents.forEach((o) => {
891
905
  o.title && (o.text = o.title);
892
906
  }), t.buttons = t.contents, delete t.contents), { toolbar: t };
893
907
  }
894
- const Ms = /* @__PURE__ */ new Map([
908
+ const Es = /* @__PURE__ */ new Map([
895
909
  ["appearance", Oe],
896
- ["toolbar", Fs]
897
- ]), Es = "https://json-schema.org/draft/2020-12/schema", Os = "https://farris-design.gitee.io/tab-page.schema.json", Ps = "tab-page", Ds = "A Farris Container Component", Rs = "object", Vs = {
910
+ ["toolbar", Ms]
911
+ ]), Os = "https://json-schema.org/draft/2020-12/schema", Ps = "https://farris-design.gitee.io/tab-page.schema.json", Ds = "tab-page", Rs = "A Farris Container Component", Vs = "object", $s = {
898
912
  id: {
899
913
  description: "The unique identifier for a tab-page Item",
900
914
  type: "string"
@@ -933,18 +947,18 @@ const Ms = /* @__PURE__ */ new Map([
933
947
  description: "",
934
948
  type: "object"
935
949
  }
936
- }, $s = [
950
+ }, js = [
937
951
  "id",
938
952
  "type",
939
953
  "contents"
940
- ], js = {
941
- $schema: Es,
942
- $id: Os,
943
- title: Ps,
944
- description: Ds,
945
- type: Rs,
946
- properties: Vs,
947
- required: $s
954
+ ], Ls = {
955
+ $schema: Os,
956
+ $id: Ps,
957
+ title: Ds,
958
+ description: Rs,
959
+ type: Vs,
960
+ properties: $s,
961
+ required: js
948
962
  }, Rt = {
949
963
  tabWidth: { type: Number, default: -1 },
950
964
  id: { type: String, default: "" },
@@ -957,9 +971,9 @@ const Ms = /* @__PURE__ */ new Map([
957
971
  show: { type: Boolean, default: !0 },
958
972
  toolbar: { type: Object, default: {} },
959
973
  toolbarPosition: { type: String, default: "inHead" }
960
- }, bn = nn(Rt, js, Ms);
961
- function Ls(e) {
962
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Kt(e);
974
+ }, bn = nn(Rt, Ls, Es);
975
+ function As(e) {
976
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Yt(e);
963
977
  }
964
978
  const at = /* @__PURE__ */ te({
965
979
  name: "FTabPage",
@@ -993,7 +1007,7 @@ const at = /* @__PURE__ */ te({
993
1007
  return i(on, {
994
1008
  "main-title": e.title,
995
1009
  class: "farris-tab-page"
996
- }, Ls(b) ? b : {
1010
+ }, As(b) ? b : {
997
1011
  default: () => [b]
998
1012
  });
999
1013
  }
@@ -1015,7 +1029,7 @@ const at = /* @__PURE__ */ te({
1015
1029
  const g = (/* @__PURE__ */ new Map([["default", d], ["one-page", u]])).get(s.value) || d;
1016
1030
  return () => o.value ? g() : null;
1017
1031
  }
1018
- }), As = {
1032
+ }), Ns = {
1019
1033
  width: { Type: Number, default: 400 },
1020
1034
  type: { Type: String, default: "info" },
1021
1035
  title: { Type: String, default: "" },
@@ -1028,12 +1042,12 @@ const at = /* @__PURE__ */ te({
1028
1042
  function Vt() {
1029
1043
  return new DOMException("The request is not allowed", "NotAllowedError");
1030
1044
  }
1031
- async function Ns(e) {
1045
+ async function Hs(e) {
1032
1046
  if (!navigator.clipboard)
1033
1047
  throw Vt();
1034
1048
  return navigator.clipboard.writeText(e);
1035
1049
  }
1036
- async function Hs(e) {
1050
+ async function zs(e) {
1037
1051
  const t = document.createElement("span");
1038
1052
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
1039
1053
  const n = window.getSelection(), o = window.document.createRange();
@@ -1047,24 +1061,24 @@ async function Hs(e) {
1047
1061
  if (!a)
1048
1062
  throw Vt();
1049
1063
  }
1050
- async function zs(e) {
1064
+ async function qs(e) {
1051
1065
  try {
1052
- await Ns(e);
1066
+ await Hs(e);
1053
1067
  } catch (t) {
1054
1068
  try {
1055
- await Hs(e);
1069
+ await zs(e);
1056
1070
  } catch (n) {
1057
1071
  throw n || t || Vt();
1058
1072
  }
1059
1073
  }
1060
1074
  }
1061
- function qs() {
1075
+ function Gs() {
1062
1076
  async function e(t) {
1063
- await zs(t);
1077
+ await qs(t);
1064
1078
  }
1065
1079
  return { onCopy: e };
1066
1080
  }
1067
- function Gs(e, t, n, o) {
1081
+ function Ws(e, t, n, o) {
1068
1082
  const a = v(14), s = v(140), l = v(""), r = v(o.value.length), u = B(() => o.value), c = B(() => ({
1069
1083
  "font-size": `${a.value}px`,
1070
1084
  height: "100%"
@@ -1089,14 +1103,14 @@ function Gs(e, t, n, o) {
1089
1103
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
1090
1104
  }, [r.value + " / " + s.value])]);
1091
1105
  }
1092
- function Ws(e, t, n, o) {
1093
- const a = Gs(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1106
+ function Us(e, t, n, o) {
1107
+ const a = Ws(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1094
1108
  function l(r) {
1095
1109
  return s.get(r) || null;
1096
1110
  }
1097
1111
  return { getEditorRender: l };
1098
1112
  }
1099
- function Us() {
1113
+ function Xs() {
1100
1114
  const e = v(!1), t = v("复制成功");
1101
1115
  return {
1102
1116
  feedbackStyle: B(() => {
@@ -1122,7 +1136,7 @@ function Us() {
1122
1136
  toShowFeedback: e
1123
1137
  };
1124
1138
  }
1125
- function Xs(e, t) {
1139
+ function Ys(e, t) {
1126
1140
  const n = t.getEditorRender(e.promptEditorType);
1127
1141
  return () => n && n();
1128
1142
  }
@@ -1171,13 +1185,13 @@ function Ks(e) {
1171
1185
  style: "cursor: pointer;"
1172
1186
  }, [d.value])])]);
1173
1187
  }
1174
- function Ys(e) {
1188
+ function Qs(e) {
1175
1189
  return () => i("p", {
1176
1190
  class: "toast-msg-detail",
1177
1191
  innerHTML: e.value
1178
1192
  }, null);
1179
1193
  }
1180
- function Qs(e, t, n, o) {
1194
+ function Zs(e, t, n, o) {
1181
1195
  const a = v(e.exceptionInfo), s = B(() => {
1182
1196
  const g = {
1183
1197
  "f-icon": !0
@@ -1185,7 +1199,7 @@ function Qs(e, t, n, o) {
1185
1199
  return g[b] = !0, g;
1186
1200
  }), l = B(() => n.value || a.value && a.value.message), r = B(() => o.value), u = B(() => !!o.value), c = B(() => !!a.value);
1187
1201
  function d() {
1188
- return c.value ? Ks(a) : u.value ? Ys(r) : () => null;
1202
+ return c.value ? Ks(a) : u.value ? Qs(r) : () => null;
1189
1203
  }
1190
1204
  const p = d();
1191
1205
  return () => i(ve, null, [i("div", {
@@ -1199,7 +1213,7 @@ function Qs(e, t, n, o) {
1199
1213
  innerHTML: l.value
1200
1214
  }, null), p()])]);
1201
1215
  }
1202
- function Zs(e, t, n) {
1216
+ function Js(e, t, n) {
1203
1217
  const {
1204
1218
  onCopy: o
1205
1219
  } = t, {
@@ -1225,8 +1239,8 @@ function Zs(e, t, n) {
1225
1239
  style: "cursor: pointer;"
1226
1240
  }, [l.value])]);
1227
1241
  }
1228
- function Js(e, t, n, o) {
1229
- const a = v(e.type), s = v([]), l = v(e.exceptionInfo), r = v(e.okButtonText), u = v(e.cancelButtonText), c = v(!0), d = v(!0), p = B(() => !!(s.value && s.value.length)), g = B(() => l.value && l.value.date && l.value.message && l.value.detail), b = B(() => !(s.value && s.value.length) && (r.value || u.value)), y = B(() => d.value && r.value), C = B(() => c.value && u.value), _ = Zs(e, n, o);
1242
+ function el(e, t, n, o) {
1243
+ const a = v(e.type), s = v([]), l = v(e.exceptionInfo), r = v(e.okButtonText), u = v(e.cancelButtonText), c = v(!0), d = v(!0), p = B(() => !!(s.value && s.value.length)), g = B(() => l.value && l.value.date && l.value.message && l.value.detail), b = B(() => !(s.value && s.value.length) && (r.value || u.value)), y = B(() => d.value && r.value), C = B(() => c.value && u.value), _ = Js(e, n, o);
1230
1244
  function m(T) {
1231
1245
  a.value === "question" && t.emit("reject"), t.emit("close");
1232
1246
  }
@@ -1253,7 +1267,7 @@ function Js(e, t, n, o) {
1253
1267
  }
1254
1268
  const tt = /* @__PURE__ */ te({
1255
1269
  name: "FMessageBox",
1256
- props: As,
1270
+ props: Ns,
1257
1271
  emits: ["accept", "reject", "close"],
1258
1272
  setup(e, t) {
1259
1273
  const n = v(e.type), o = v(e.title), a = v(e.detail), s = B(() => {
@@ -1266,7 +1280,7 @@ const tt = /* @__PURE__ */ te({
1266
1280
  }), l = B(() => {
1267
1281
  const _ = {};
1268
1282
  return n.value === "prompt" ? _.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (_.padding = "0.5rem 1.5rem 1rem 1.5rem"), _;
1269
- }), r = qs(), u = Ws(e, n, o, a), c = Us(), {
1283
+ }), r = Gs(), u = Us(e, n, o, a), c = Xs(), {
1270
1284
  feedbackStyle: d,
1271
1285
  feedbackMessage: p
1272
1286
  } = c;
@@ -1278,12 +1292,12 @@ const tt = /* @__PURE__ */ te({
1278
1292
  function b() {
1279
1293
  switch (n.value) {
1280
1294
  case "prompt":
1281
- return Xs(e, u);
1295
+ return Ys(e, u);
1282
1296
  default:
1283
- return Qs(e, n, o, a);
1297
+ return Zs(e, n, o, a);
1284
1298
  }
1285
1299
  }
1286
- const y = b(), C = Js(e, t, r, c);
1300
+ const y = b(), C = el(e, t, r, c);
1287
1301
  return () => i("div", {
1288
1302
  class: "farris-messager"
1289
1303
  }, [i("section", {
@@ -1291,7 +1305,7 @@ const tt = /* @__PURE__ */ te({
1291
1305
  style: l.value
1292
1306
  }, [y()]), C(), g()]);
1293
1307
  }
1294
- }), el = {
1308
+ }), tl = {
1295
1309
  /**
1296
1310
  * 自定义类
1297
1311
  */
@@ -1435,7 +1449,7 @@ class je {
1435
1449
  return this.width = t.width, this.height = t.height, this;
1436
1450
  }
1437
1451
  }
1438
- function tl(e, t) {
1452
+ function nl(e, t) {
1439
1453
  const n = v(), o = v(), a = v(), s = v(), l = v(), r = v(), u = v(), c = v(), d = v(), p = v(), g = v(), b = v(), y = v(e.draggable), C = v(!1);
1440
1454
  function _() {
1441
1455
  const $ = o.value || document.body, E = window.getComputedStyle($);
@@ -1620,7 +1634,7 @@ function tl(e, t) {
1620
1634
  unWindowResizeHandle: L
1621
1635
  };
1622
1636
  }
1623
- function nl(e, t, n) {
1637
+ function ol(e, t, n) {
1624
1638
  const o = v(), a = v(e.draggable), s = v(e.lockAxis), l = v(), r = v(), u = v(!1), c = v(new fe(0, 0)), d = v(new fe(0, 0)), p = v(new fe(0, 0)), g = v(new fe(0, 0));
1625
1639
  U(() => n.value, (O) => {
1626
1640
  l.value.style.cursor = O ? "move" : "default";
@@ -1710,7 +1724,7 @@ function Cn(e, t) {
1710
1724
  };
1711
1725
  }
1712
1726
  }
1713
- function ol(e, t) {
1727
+ function al(e, t) {
1714
1728
  const n = v(e.enableEsc);
1715
1729
  let o = null;
1716
1730
  return n.value ? (o = Cn("Escape", (a) => {
@@ -1719,7 +1733,7 @@ function ol(e, t) {
1719
1733
  remove: o
1720
1734
  }) : null;
1721
1735
  }
1722
- function al(e, t) {
1736
+ function sl(e, t) {
1723
1737
  const n = v(e.enableEnter);
1724
1738
  let o = null;
1725
1739
  return n.value ? (o = Cn("Enter", (a) => {
@@ -1730,7 +1744,7 @@ function al(e, t) {
1730
1744
  }
1731
1745
  const wn = /* @__PURE__ */ te({
1732
1746
  name: "FModal",
1733
- props: el,
1747
+ props: tl,
1734
1748
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
1735
1749
  setup(e, t) {
1736
1750
  const n = v(e.width || 300), o = v(e.height || 200), a = v(e.modelValue), s = v(""), l = v(e.class), r = v(e.fitContent), u = v(e.showHeader), c = v(""), d = v(e.showCloseButton), p = v(e.showMaxButton), g = v(!1), b = v(""), y = v(""), C = v(""), _ = v(e.showButtons), m = v(e.title), h = v(e.reiszeable), T = v(e.containment || null), I = v();
@@ -1759,9 +1773,9 @@ const wn = /* @__PURE__ */ te({
1759
1773
  resizedEventParam: $,
1760
1774
  allowDrag: E,
1761
1775
  unWindowResizeHandle: j
1762
- } = tl(e), {
1776
+ } = nl(e), {
1763
1777
  registerDraggle: R
1764
- } = nl(e, t, E);
1778
+ } = ol(e, t, E);
1765
1779
  U(() => e.title, (q, oe) => {
1766
1780
  q !== oe && (m.value = q);
1767
1781
  }), U(() => e.modelValue, (q, oe) => {
@@ -1840,7 +1854,7 @@ const wn = /* @__PURE__ */ te({
1840
1854
  }
1841
1855
  let Te = null, Pe = null;
1842
1856
  se(() => {
1843
- x.value && !T.value && (T.value = x.value.parentElement, L.value = T.value, R(F.value, x.value, L.value)), z.value && document.body.classList.add("modal-open"), Te = ol(e, t), Pe = al(e, t);
1857
+ x.value && !T.value && (T.value = x.value.parentElement, L.value = T.value, R(F.value, x.value, L.value)), z.value && document.body.classList.add("modal-open"), Te = al(e, t), Pe = sl(e, t);
1844
1858
  }), $e(() => {
1845
1859
  A(), j && j(), Te && Te.remove(), Pe && Pe.remove();
1846
1860
  }), t.expose({
@@ -1902,7 +1916,7 @@ const wn = /* @__PURE__ */ te({
1902
1916
  function gt(q) {
1903
1917
  q.stopPropagation();
1904
1918
  }
1905
- return () => i(Yt, {
1919
+ return () => i(Kt, {
1906
1920
  to: "body"
1907
1921
  }, {
1908
1922
  default: () => [z.value && i(Qt, {
@@ -1943,7 +1957,7 @@ function xn(e) {
1943
1957
  if (e.render && typeof e.render == "function")
1944
1958
  return e.render;
1945
1959
  }
1946
- function sl(e) {
1960
+ function ll(e) {
1947
1961
  const t = document.createElement("div");
1948
1962
  t.style.display = "contents";
1949
1963
  const n = ut({
@@ -1986,7 +2000,7 @@ function sl(e) {
1986
2000
  });
1987
2001
  return document.body.appendChild(t), n.mount(t), n;
1988
2002
  }
1989
- class ll {
2003
+ class il {
1990
2004
  constructor(t) {
1991
2005
  N(this, "appContext", null);
1992
2006
  N(this, "modalRef", v());
@@ -2005,7 +2019,7 @@ class ll {
2005
2019
  showButtons: !0,
2006
2020
  showHeader: !0
2007
2021
  }, t);
2008
- return sl(n);
2022
+ return ll(n);
2009
2023
  }
2010
2024
  open(t) {
2011
2025
  const n = document.createDocumentFragment();
@@ -2069,15 +2083,15 @@ class ll {
2069
2083
  };
2070
2084
  }
2071
2085
  }
2072
- const il = Symbol("FModalService");
2073
- class Me {
2086
+ const rl = Symbol("FModalService");
2087
+ class Ee {
2074
2088
  static show(t) {
2075
2089
  const n = Be({
2076
2090
  ...t
2077
2091
  }), o = !1, a = n.type === "error" || n.type === "prompt", s = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
2078
2092
  }), r = n.rejectCallback || (() => {
2079
2093
  });
2080
- let u = null, c = new ll(u);
2094
+ let u = null, c = new il(u);
2081
2095
  const d = () => {
2082
2096
  u && (u == null || u.destroy(), c = null);
2083
2097
  };
@@ -2104,7 +2118,7 @@ class Me {
2104
2118
  okButtonText: "知道了",
2105
2119
  cancelButtonText: ""
2106
2120
  });
2107
- Me.show(o);
2121
+ Ee.show(o);
2108
2122
  }
2109
2123
  static warning(t, n) {
2110
2124
  const o = Be({
@@ -2114,7 +2128,7 @@ class Me {
2114
2128
  okButtonText: "知道了",
2115
2129
  cancelButtonText: ""
2116
2130
  });
2117
- Me.show(o);
2131
+ Ee.show(o);
2118
2132
  }
2119
2133
  static success(t, n) {
2120
2134
  const o = Be({
@@ -2124,7 +2138,7 @@ class Me {
2124
2138
  okButtonText: "关闭",
2125
2139
  cancelButtonText: ""
2126
2140
  });
2127
- Me.show(o);
2141
+ Ee.show(o);
2128
2142
  }
2129
2143
  static error(t, n, o) {
2130
2144
  const a = Be({
@@ -2138,7 +2152,7 @@ class Me {
2138
2152
  detail: n
2139
2153
  }
2140
2154
  });
2141
- Me.show(a);
2155
+ Ee.show(a);
2142
2156
  }
2143
2157
  static prompt(t, n) {
2144
2158
  const o = Be({
@@ -2148,7 +2162,7 @@ class Me {
2148
2162
  okButtonText: "确定",
2149
2163
  cancelButtonText: "取消"
2150
2164
  });
2151
- Me.show(o);
2165
+ Ee.show(o);
2152
2166
  }
2153
2167
  static question(t, n, o, a) {
2154
2168
  const s = Be({
@@ -2160,13 +2174,13 @@ class Me {
2160
2174
  acceptCallback: o,
2161
2175
  rejectCallback: a
2162
2176
  });
2163
- Me.show(s);
2177
+ Ee.show(s);
2164
2178
  }
2165
2179
  }
2166
2180
  tt.install = (e) => {
2167
- e.component(tt.name, tt), e.provide("FMessageBoxService", Me);
2181
+ e.component(tt.name, tt), e.provide("FMessageBoxService", Ee);
2168
2182
  };
2169
- function rl(e, t, n, o, a, s) {
2183
+ function ul(e, t, n, o, a, s) {
2170
2184
  const {
2171
2185
  activeId: l,
2172
2186
  removeTab: r,
@@ -2219,7 +2233,7 @@ function rl(e, t, n, o, a, s) {
2219
2233
  d(f, t.id, s.value);
2220
2234
  }
2221
2235
  function O(f) {
2222
- Me.question(`确定删除标签页【${n.props.title}】?`, "", () => c(f, t.id), () => {
2236
+ Ee.question(`确定删除标签页【${n.props.title}】?`, "", () => c(f, t.id), () => {
2223
2237
  });
2224
2238
  }
2225
2239
  function D(f) {
@@ -2263,7 +2277,7 @@ function rl(e, t, n, o, a, s) {
2263
2277
  onClick: M
2264
2278
  }, [h(t), T.value && I()])]);
2265
2279
  }
2266
- function ul(e, t, n, o, a, s, l) {
2280
+ function cl(e, t, n, o, a, s, l) {
2267
2281
  const {
2268
2282
  shouldShowNavigationButtons: r
2269
2283
  } = n, {
@@ -2301,7 +2315,7 @@ function ul(e, t, n, o, a, s, l) {
2301
2315
  class: p.value,
2302
2316
  style: g.value,
2303
2317
  ref: t
2304
- }, [u.value.map((y) => rl(e, y.props, y, o, a, s)), i("li", {
2318
+ }, [u.value.map((y) => ul(e, y.props, y, o, a, s)), i("li", {
2305
2319
  class: "nav-item"
2306
2320
  }, [i("a", {
2307
2321
  class: "nav-link tabs-text-truncate",
@@ -2312,7 +2326,7 @@ function ul(e, t, n, o, a, s, l) {
2312
2326
  style: "font-size: 20px;margin: 0 auto;line-height: 24px;"
2313
2327
  }, null)])])])]);
2314
2328
  }
2315
- function Ye(e, t, n) {
2329
+ function Ke(e, t, n) {
2316
2330
  var I;
2317
2331
  const o = n && n.getStyles && n.getStyles() || "", a = n && n.getDesignerClass && n.getDesignerClass() || "", s = v();
2318
2332
  function l() {
@@ -2545,7 +2559,7 @@ class Je {
2545
2559
  type: "combo-list",
2546
2560
  textField: "name",
2547
2561
  valueField: "value",
2548
- data: [{ value: t.type, name: Y[t.type].name }]
2562
+ data: [{ value: t.type, name: K[t.type].name }]
2549
2563
  }
2550
2564
  }
2551
2565
  }
@@ -2581,11 +2595,11 @@ class Je {
2581
2595
  const o = n && n.parent && n.parent.schema;
2582
2596
  if (!o)
2583
2597
  return;
2584
- const a = o.contents.findIndex((l) => l.id === t), s = Ee(o.contents[a]);
2598
+ const a = o.contents.findIndex((l) => l.id === t), s = Me(o.contents[a]);
2585
2599
  o.contents.splice(a, 1), o.contents.splice(a, 0, s);
2586
2600
  }
2587
2601
  }
2588
- class cl extends Je {
2602
+ class dl extends Je {
2589
2603
  constructor(t, n) {
2590
2604
  super(t, n);
2591
2605
  }
@@ -2644,7 +2658,7 @@ class cl extends Je {
2644
2658
  };
2645
2659
  }
2646
2660
  }
2647
- class dl extends Je {
2661
+ class fl extends Je {
2648
2662
  constructor(t, n) {
2649
2663
  super(t, n);
2650
2664
  }
@@ -2684,7 +2698,7 @@ class dl extends Je {
2684
2698
  };
2685
2699
  }
2686
2700
  }
2687
- function fl(e, t) {
2701
+ function pl(e, t) {
2688
2702
  const n = e.schema, o = new Sn(), { canMove: a, canAccept: s, canDelete: l } = o.getTemplateRule(e, t);
2689
2703
  function r(g) {
2690
2704
  return s;
@@ -2700,7 +2714,7 @@ function fl(e, t) {
2700
2714
  }
2701
2715
  function p(g) {
2702
2716
  var C;
2703
- return (((C = document.querySelector(".dgComponentFocused")) == null ? void 0 : C.id) === `${n.id}-design-item` ? new dl(g, t) : new cl(g, t)).getPropertyConfig(n);
2717
+ return (((C = document.querySelector(".dgComponentFocused")) == null ? void 0 : C.id) === `${n.id}-design-item` ? new fl(g, t) : new dl(g, t)).getPropertyConfig(n);
2704
2718
  }
2705
2719
  return {
2706
2720
  canAccepts: r,
@@ -2711,11 +2725,11 @@ function fl(e, t) {
2711
2725
  };
2712
2726
  }
2713
2727
  const _t = v(0);
2714
- function pl(e, t) {
2728
+ function vl(e, t) {
2715
2729
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), a = o.top >= n.top, s = o.top <= n.bottom;
2716
2730
  return a && s;
2717
2731
  }
2718
- function vl(e) {
2732
+ function ml(e) {
2719
2733
  if (!e)
2720
2734
  return;
2721
2735
  let t;
@@ -2726,7 +2740,7 @@ function vl(e) {
2726
2740
  return;
2727
2741
  const o = t.querySelector(".component-btn-group");
2728
2742
  if (o) {
2729
- if (!pl(t, e)) {
2743
+ if (!vl(t, e)) {
2730
2744
  o.style.display = "none";
2731
2745
  return;
2732
2746
  }
@@ -2738,7 +2752,7 @@ function vl(e) {
2738
2752
  }
2739
2753
  }
2740
2754
  }
2741
- function ml(e, t, n, o) {
2755
+ function gl(e, t, n, o) {
2742
2756
  const a = v([]), s = v(e.activeId || ""), l = v(!0), r = v(), u = v([]);
2743
2757
  function c(E) {
2744
2758
  const j = E.value.findIndex((R) => R.props.show !== !1 && !s.value && !R.props.disabled);
@@ -2900,20 +2914,20 @@ function ml(e, t, n, o) {
2900
2914
  setHorizontalScrollbarPosition: L
2901
2915
  };
2902
2916
  }
2903
- const gl = /* @__PURE__ */ new Map([
2917
+ const hl = /* @__PURE__ */ new Map([
2904
2918
  ["buttons", "items"],
2905
2919
  ["appearance", Oe]
2906
2920
  ]);
2907
- function hl(e, t) {
2921
+ function yl(e, t) {
2908
2922
  return { class: t.class, style: t.style };
2909
2923
  }
2910
- const yl = /* @__PURE__ */ new Map([
2911
- ["appearance", hl]
2924
+ const bl = /* @__PURE__ */ new Map([
2925
+ ["appearance", yl]
2912
2926
  ]);
2913
2927
  function Tn(e, t, n) {
2914
2928
  return t;
2915
2929
  }
2916
- const bl = "https://json-schema.org/draft/2020-12/schema", Cl = "https://farris-design.gitee.io/response-toolbar.schema.json", wl = "response-toolbar", xl = "A Farris Toolbar Component", Sl = "object", Tl = {
2930
+ const Cl = "https://json-schema.org/draft/2020-12/schema", wl = "https://farris-design.gitee.io/response-toolbar.schema.json", xl = "response-toolbar", Sl = "A Farris Toolbar Component", Tl = "object", _l = {
2917
2931
  id: {
2918
2932
  description: "The unique identifier for a Response Toolbar",
2919
2933
  type: "string"
@@ -2943,19 +2957,19 @@ const bl = "https://json-schema.org/draft/2020-12/schema", Cl = "https://farris-
2943
2957
  type: "array",
2944
2958
  default: []
2945
2959
  }
2946
- }, _l = [
2960
+ }, kl = [
2947
2961
  "id",
2948
2962
  "type",
2949
2963
  "buttons"
2950
- ], kl = {
2951
- $schema: bl,
2952
- $id: Cl,
2953
- title: wl,
2954
- description: xl,
2955
- type: Sl,
2956
- properties: Tl,
2957
- required: _l
2958
- }, Il = "https://json-schema.org/draft/2020-12/schema", Bl = "https://farris-design.gitee.io/response-toolbar-item.schema.json", Fl = "response-toolbar-item", Ml = "A Farris Toolbar Item Component", El = "object", Ol = {
2964
+ ], Il = {
2965
+ $schema: Cl,
2966
+ $id: wl,
2967
+ title: xl,
2968
+ description: Sl,
2969
+ type: Tl,
2970
+ properties: _l,
2971
+ required: kl
2972
+ }, Bl = "https://json-schema.org/draft/2020-12/schema", Fl = "https://farris-design.gitee.io/response-toolbar-item.schema.json", Ml = "response-toolbar-item", El = "A Farris Toolbar Item Component", Ol = "object", Pl = {
2959
2973
  id: {
2960
2974
  description: "The unique identifier for a Response Toolbar",
2961
2975
  type: "string"
@@ -3000,18 +3014,18 @@ const bl = "https://json-schema.org/draft/2020-12/schema", Cl = "https://farris-
3000
3014
  type: "string",
3001
3015
  default: ""
3002
3016
  }
3003
- }, Pl = [
3017
+ }, Dl = [
3004
3018
  "id",
3005
3019
  "type",
3006
3020
  "text"
3007
- ], Dl = {
3008
- $schema: Il,
3009
- $id: Bl,
3010
- title: Fl,
3011
- description: Ml,
3012
- type: El,
3013
- properties: Ol,
3014
- required: Pl
3021
+ ], Rl = {
3022
+ $schema: Bl,
3023
+ $id: Fl,
3024
+ title: Ml,
3025
+ description: El,
3026
+ type: Ol,
3027
+ properties: Pl,
3028
+ required: Dl
3015
3029
  }, _n = {
3016
3030
  /** 组件自定义样式 */
3017
3031
  customClass: { type: String, default: "" },
@@ -3020,13 +3034,13 @@ const bl = "https://json-schema.org/draft/2020-12/schema", Cl = "https://farris-
3020
3034
  Type: Array,
3021
3035
  default: []
3022
3036
  }
3023
- }, Rl = Object.assign({}, _n, {
3037
+ }, Vl = Object.assign({}, _n, {
3024
3038
  componentId: { type: String, default: "" }
3025
3039
  });
3026
3040
  ye(
3027
3041
  _n,
3028
- kl,
3029
- gl,
3042
+ Il,
3043
+ hl,
3030
3044
  Tn
3031
3045
  );
3032
3046
  const kn = {
@@ -3041,8 +3055,8 @@ const kn = {
3041
3055
  };
3042
3056
  ye(
3043
3057
  kn,
3044
- Dl,
3045
- yl,
3058
+ Rl,
3059
+ bl,
3046
3060
  Tn
3047
3061
  );
3048
3062
  class In {
@@ -3107,19 +3121,19 @@ class In {
3107
3121
  return this.visible ? this.width : !1;
3108
3122
  }
3109
3123
  }
3110
- class Vl extends In {
3124
+ class $l extends In {
3111
3125
  constructor(t) {
3112
3126
  super(t);
3113
3127
  }
3114
3128
  }
3115
- function $l() {
3129
+ function jl() {
3116
3130
  function e(t) {
3117
3131
  const n = [];
3118
- return t.reduce((o, a) => (a.children && a.children.length > 0 ? o.push(new st(a)) : o.push(new Vl(a)), o), n), n;
3132
+ return t.reduce((o, a) => (a.children && a.children.length > 0 ? o.push(new st(a)) : o.push(new $l(a)), o), n), n;
3119
3133
  }
3120
3134
  return { buildResponseToolbarItems: e };
3121
3135
  }
3122
- const { buildResponseToolbarItems: jl } = $l();
3136
+ const { buildResponseToolbarItems: Ll } = jl();
3123
3137
  class st extends In {
3124
3138
  constructor(n) {
3125
3139
  super(n);
@@ -3136,10 +3150,10 @@ class st extends In {
3136
3150
  const o = ["isDP", "class", "dropdownClass", "menuClass", "placement", "split", "expanded"];
3137
3151
  Object.keys(n).filter((a) => o.indexOf(a) > -1).forEach((a) => {
3138
3152
  this[a] = n[a];
3139
- }), n.children && n.children.length && (this.children = jl(n.children));
3153
+ }), n.children && n.children.length && (this.children = Ll(n.children));
3140
3154
  }
3141
3155
  }
3142
- function Ll() {
3156
+ function Al() {
3143
3157
  function e(n) {
3144
3158
  const o = {
3145
3159
  "f-icon": !0
@@ -3155,7 +3169,7 @@ function Ll() {
3155
3169
  }
3156
3170
  return { iconClass: e, shouldShowIcon: t };
3157
3171
  }
3158
- function Al(e, t) {
3172
+ function Nl(e, t) {
3159
3173
  const n = ae("design-item-context"), o = ae("toolbar-item-handler", () => {
3160
3174
  });
3161
3175
  function a() {
@@ -3414,11 +3428,11 @@ function Al(e, t) {
3414
3428
  clearAllDropDownMenu: F
3415
3429
  };
3416
3430
  }
3417
- function Nl(e, t, n) {
3431
+ function Hl(e, t, n) {
3418
3432
  const o = v(e.alignment), {
3419
3433
  renderDropdownMenu: a,
3420
3434
  clearAllDropDownMenu: s
3421
- } = Al(t, n), l = ae("design-item-context"), r = ae("toolbar-item-handler", () => {
3435
+ } = Nl(t, n), l = ae("design-item-context"), r = ae("toolbar-item-handler", () => {
3422
3436
  });
3423
3437
  function u() {
3424
3438
  r && r();
@@ -3580,7 +3594,7 @@ function Nl(e, t, n) {
3580
3594
  clearAllDropDown: S
3581
3595
  };
3582
3596
  }
3583
- class Hl extends Je {
3597
+ class zl extends Je {
3584
3598
  constructor(t, n) {
3585
3599
  super(t, n);
3586
3600
  }
@@ -3620,7 +3634,7 @@ class Hl extends Je {
3620
3634
  type: "combo-list",
3621
3635
  textField: "value",
3622
3636
  valueField: "key",
3623
- data: [{ key: "response-toolbar", value: Y["response-toolbar"].name }]
3637
+ data: [{ key: "response-toolbar", value: K["response-toolbar"].name }]
3624
3638
  }
3625
3639
  }
3626
3640
  }
@@ -3663,7 +3677,7 @@ class Hl extends Je {
3663
3677
  };
3664
3678
  }
3665
3679
  }
3666
- function zl(e, t) {
3680
+ function ql(e, t) {
3667
3681
  const n = e.schema;
3668
3682
  function o(d) {
3669
3683
  return !1;
@@ -3684,7 +3698,7 @@ function zl(e, t) {
3684
3698
  return !0;
3685
3699
  }
3686
3700
  function c(d) {
3687
- return new Hl(d, t).getPropertyConfig(n);
3701
+ return new zl(d, t).getPropertyConfig(n);
3688
3702
  }
3689
3703
  return {
3690
3704
  canAccepts: o,
@@ -3696,7 +3710,7 @@ function zl(e, t) {
3696
3710
  getPropsConfig: c
3697
3711
  };
3698
3712
  }
3699
- const ql = {
3713
+ const Gl = {
3700
3714
  id: { type: String, default: "" },
3701
3715
  componentId: { type: String, default: "" },
3702
3716
  canAdd: { type: Boolean, default: !1 },
@@ -3710,7 +3724,7 @@ const ql = {
3710
3724
  */
3711
3725
  modelValue: { type: Object }
3712
3726
  };
3713
- function Gl(e, t, n) {
3727
+ function Wl(e, t, n) {
3714
3728
  var I;
3715
3729
  const o = "", a = v();
3716
3730
  function s() {
@@ -3788,7 +3802,7 @@ function Gl(e, t, n) {
3788
3802
  }
3789
3803
  const Bn = /* @__PURE__ */ te({
3790
3804
  name: "FDesignerInnerItem",
3791
- props: ql,
3805
+ props: Gl,
3792
3806
  emits: ["selectionChange", "addComponent", "removeComponent"],
3793
3807
  setup(e, t) {
3794
3808
  const n = v(e.canMove), o = v(e.canAdd), a = v(e.canDelete), s = v(!1), l = v(e.contentKey), r = v(e.childType), u = v(e.childLabel), c = v(e.modelValue), d = v(""), p = v(), g = ae("canvas-dragula"), b = v(), y = ae("design-item-context"), C = {
@@ -3880,7 +3894,7 @@ const Bn = /* @__PURE__ */ te({
3880
3894
  });
3881
3895
  function D(f) {
3882
3896
  const w = f.target;
3883
- vl(w);
3897
+ ml(w);
3884
3898
  }
3885
3899
  function S() {
3886
3900
  var f, w;
@@ -3888,7 +3902,7 @@ const Bn = /* @__PURE__ */ te({
3888
3902
  }
3889
3903
  function F() {
3890
3904
  const f = p.value, w = v(f.children[1]);
3891
- return Gl(w, C).value;
3905
+ return Wl(w, C).value;
3892
3906
  }
3893
3907
  se(() => {
3894
3908
  if (p.value) {
@@ -3920,7 +3934,7 @@ const Bn = /* @__PURE__ */ te({
3920
3934
  }, [O(c.value), t.slots.default && t.slots.default()]);
3921
3935
  }
3922
3936
  });
3923
- class Wl extends Je {
3937
+ class Ul extends Je {
3924
3938
  constructor(t, n) {
3925
3939
  super(t, n);
3926
3940
  }
@@ -4002,7 +4016,7 @@ class Wl extends Je {
4002
4016
  };
4003
4017
  }
4004
4018
  }
4005
- class Ul extends Je {
4019
+ class Xl extends Je {
4006
4020
  constructor(t, n) {
4007
4021
  super(t, n);
4008
4022
  }
@@ -4028,7 +4042,7 @@ class Ul extends Je {
4028
4042
  type: "combo-list",
4029
4043
  textField: "value",
4030
4044
  valueField: "key",
4031
- data: [{ key: "response-toolbar-item", value: Y["response-toolbar-item"].name }]
4045
+ data: [{ key: "response-toolbar-item", value: K["response-toolbar-item"].name }]
4032
4046
  }
4033
4047
  },
4034
4048
  text: {
@@ -4100,7 +4114,7 @@ class Ul extends Je {
4100
4114
  };
4101
4115
  }
4102
4116
  }
4103
- function Xl(e, t) {
4117
+ function Yl(e, t) {
4104
4118
  function n(r) {
4105
4119
  return !1;
4106
4120
  }
@@ -4117,10 +4131,10 @@ function Xl(e, t) {
4117
4131
  let u;
4118
4132
  switch (e.schema.type) {
4119
4133
  case "tab-toolbar-item":
4120
- u = new Wl(r, t);
4134
+ u = new Ul(r, t);
4121
4135
  break;
4122
4136
  default:
4123
- u = new Ul(r, t);
4137
+ u = new Xl(r, t);
4124
4138
  }
4125
4139
  return u.getPropertyConfig(e.schema);
4126
4140
  }
@@ -4143,7 +4157,7 @@ const Kl = /* @__PURE__ */ te({
4143
4157
  text: "More"
4144
4158
  }, a = v(new st(o));
4145
4159
  B(() => a.value.children.length > 0);
4146
- const s = v(), l = ae("designer-host-service"), r = ae("design-item-context"), u = Xl(r, l), c = an(s, r, u);
4160
+ const s = v(), l = ae("designer-host-service"), r = ae("design-item-context"), u = Yl(r, l), c = an(s, r, u);
4147
4161
  ae("toolbar-item-handler", () => {
4148
4162
  }), se(() => {
4149
4163
  s.value.componentInstance = c;
@@ -4181,9 +4195,9 @@ const Kl = /* @__PURE__ */ te({
4181
4195
  class: d()
4182
4196
  }, null), e.text])]);
4183
4197
  }
4184
- }), Yl = /* @__PURE__ */ te({
4198
+ }), Ql = /* @__PURE__ */ te({
4185
4199
  name: "FResponseToolbarDesign",
4186
- props: Rl,
4200
+ props: Vl,
4187
4201
  emits: ["Click"],
4188
4202
  setup(e, t) {
4189
4203
  const n = v(e.items);
@@ -4191,9 +4205,9 @@ const Kl = /* @__PURE__ */ te({
4191
4205
  const a = v(), s = v(), l = v(e.alignment), r = {
4192
4206
  id: "__more_buttons__",
4193
4207
  text: "More"
4194
- }, u = v(new st(r)), c = Ll();
4208
+ }, u = v(new st(r)), c = Al();
4195
4209
  B(() => u.value.children.length > 0);
4196
- const d = v(), p = ae("designer-host-service"), g = ae("design-item-context"), b = zl(g, p), y = an(d, g, b), C = ae("toolbar-item-handler", () => {
4210
+ const d = v(), p = ae("designer-host-service"), g = ae("design-item-context"), b = ql(g, p), y = an(d, g, b), C = ae("toolbar-item-handler", () => {
4197
4211
  });
4198
4212
  se(() => {
4199
4213
  d.value.componentInstance = y;
@@ -4213,7 +4227,7 @@ const Kl = /* @__PURE__ */ te({
4213
4227
  })), {
4214
4228
  renderToolbarDropdown: T,
4215
4229
  clearAllDropDown: I
4216
- } = Nl(e, c, y);
4230
+ } = Hl(e, c, y);
4217
4231
  function M() {
4218
4232
  n.value.filter((f) => f.children && f.children.length > 0).forEach((f) => {
4219
4233
  f.expanded = !1;
@@ -4315,7 +4329,7 @@ const Kl = /* @__PURE__ */ te({
4315
4329
  }))])])]);
4316
4330
  }
4317
4331
  });
4318
- function Ql(e, t, n, o, a) {
4332
+ function Zl(e, t, n, o, a) {
4319
4333
  const {
4320
4334
  toolbarItems: s,
4321
4335
  toolbarSchema: l,
@@ -4346,18 +4360,18 @@ function Ql(e, t, n, o, a) {
4346
4360
  componentId: a,
4347
4361
  onAddComponent: c
4348
4362
  }, {
4349
- default: () => [i(Yl, {
4363
+ default: () => [i(Ql, {
4350
4364
  items: s.value,
4351
4365
  componentId: a
4352
4366
  }, null)]
4353
4367
  })])]);
4354
4368
  }
4355
- const Zl = /* @__PURE__ */ te({
4369
+ const Jl = /* @__PURE__ */ te({
4356
4370
  name: "FTabsDesign",
4357
4371
  props: pn,
4358
4372
  emits: ["tabChange", "tabRemove"],
4359
4373
  setup(e, t) {
4360
- const n = v(), o = ae("designer-host-service"), a = ae("design-item-context"), s = fl(a, o), l = Ye(n, a, s), r = v(e.tabType), u = Ue(), c = Ue(), d = ml(e, t, u, a), {
4374
+ const n = v(), o = ae("designer-host-service"), a = ae("design-item-context"), s = pl(a, o), l = Ke(n, a, s), r = v(e.tabType), u = Ue(), c = Ue(), d = gl(e, t, u, a), {
4361
4375
  activeId: p,
4362
4376
  changeTitleStyle: g,
4363
4377
  tabPages: b,
@@ -4376,7 +4390,7 @@ const Zl = /* @__PURE__ */ te({
4376
4390
  updateNavigationLayout: x
4377
4391
  } = P, f = hn(e, d), {
4378
4392
  hideDropDown: w
4379
- } = f, k = ul(e, u, P, M, d, l), V = k, L = vn(e, u, P, M, d), $ = /* @__PURE__ */ new Map([["default", k], ["one-page", V], ["pills", L]]);
4393
+ } = f, k = cl(e, u, P, M, d, l), V = k, L = vn(e, u, P, M, d), $ = /* @__PURE__ */ new Map([["default", k], ["one-page", V], ["pills", L]]);
4380
4394
  B(() => {
4381
4395
  const ne = b.value.find((ce) => ce.props.id === p.value);
4382
4396
  return ne == null ? void 0 : ne.slots;
@@ -4454,7 +4468,7 @@ const Zl = /* @__PURE__ */ te({
4454
4468
  renderMorePagesButtton: re
4455
4469
  } = mn(e, f, P, d);
4456
4470
  function Ce() {
4457
- return !!m.value.length && Ql(d, l, s, a, e.componentId);
4471
+ return !!m.value.length && Zl(d, l, s, a, e.componentId);
4458
4472
  }
4459
4473
  const pe = $.get(e.tabType) || $.get("default");
4460
4474
  function me() {
@@ -4485,29 +4499,28 @@ const Zl = /* @__PURE__ */ te({
4485
4499
  }, [me(), ze()]);
4486
4500
  }
4487
4501
  });
4488
- function Jl(e, t, n) {
4502
+ function ei(e, t, n) {
4489
4503
  return t ? { enableAccordion: n.accordionMode } : { enableAccordion: "" };
4490
4504
  }
4491
- function ei(e, t) {
4505
+ function ti(e, t) {
4492
4506
  return {
4493
4507
  buttons: t.buttons,
4494
4508
  buttonPosition: t.position
4495
4509
  };
4496
4510
  }
4497
- const ti = /* @__PURE__ */ new Map([
4511
+ const ni = /* @__PURE__ */ new Map([
4498
4512
  ["appearance", Oe],
4499
4513
  ["expanded", "expandStatus"],
4500
- ["enableAccordion", Jl],
4501
- ["toolbar", ei]
4514
+ ["enableAccordion", ei],
4515
+ ["toolbar", ti]
4502
4516
  ]);
4503
- function ni(e, t, n) {
4517
+ function oi(e, t, n) {
4504
4518
  const o = Math.random().toString().slice(2, 6), a = n.parentComponentInstance;
4505
4519
  Object.assign(t, {
4506
4520
  id: `section-${o}`,
4507
4521
  appearance: {
4508
4522
  class: "f-section-in-mainsubcard"
4509
4523
  },
4510
- enableAccordion: !1,
4511
4524
  mainTitle: n.mainTitle || t.mainTitle || "标题"
4512
4525
  });
4513
4526
  const s = e.getSchemaByType("content-container");
@@ -4520,7 +4533,7 @@ function ni(e, t, n) {
4520
4533
  });
4521
4534
  const l = a.schema;
4522
4535
  switch (l && l.type) {
4523
- case Y["splitter-pane"].type: {
4536
+ case K["splitter-pane"].type: {
4524
4537
  t.appearance.class = "f-section-in-main";
4525
4538
  break;
4526
4539
  }
@@ -4528,10 +4541,10 @@ function ni(e, t, n) {
4528
4541
  const r = a.elementRef, u = window.getComputedStyle(r);
4529
4542
  return u && u.display === "flex" && (s.appearance.class += " d-block"), s;
4530
4543
  }
4531
- function oi(e, t, n) {
4532
- return n.parentComponentInstance ? ni(e, t, n) : t;
4544
+ function ai(e, t, n) {
4545
+ return n.parentComponentInstance ? oi(e, t, n) : t;
4533
4546
  }
4534
- const ai = "https://json-schema.org/draft/2020-12/schema", si = "https://farris-design.gitee.io/section.schema.json", li = "section", ii = "A Farris Container Component", ri = "object", ui = {
4547
+ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-design.gitee.io/section.schema.json", ii = "section", ri = "A Farris Container Component", ui = "object", ci = {
4535
4548
  id: {
4536
4549
  description: "The unique identifier for a Section",
4537
4550
  type: "string"
@@ -4656,18 +4669,18 @@ const ai = "https://json-schema.org/draft/2020-12/schema", si = "https://farris-
4656
4669
  },
4657
4670
  default: null
4658
4671
  }
4659
- }, ci = [
4672
+ }, di = [
4660
4673
  "id",
4661
4674
  "type",
4662
4675
  "contents"
4663
- ], di = {
4664
- $schema: ai,
4665
- $id: si,
4666
- title: li,
4667
- description: ii,
4668
- type: ri,
4669
- properties: ui,
4670
- required: ci
4676
+ ], fi = {
4677
+ $schema: si,
4678
+ $id: li,
4679
+ title: ii,
4680
+ description: ri,
4681
+ type: ui,
4682
+ properties: ci,
4683
+ required: di
4671
4684
  }, Fn = {
4672
4685
  /** 设置内容区域样式 */
4673
4686
  contentClass: { type: String, default: "" },
@@ -4714,8 +4727,8 @@ const ai = "https://json-schema.org/draft/2020-12/schema", si = "https://farris-
4714
4727
  // toolbarButtons: { type: Array<object>, default: [] },
4715
4728
  // toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
4716
4729
  };
4717
- ye(Fn, di, ti, oi);
4718
- function fi(e, t, n) {
4730
+ ye(Fn, fi, ni, ai);
4731
+ function pi(e, t, n) {
4719
4732
  let o;
4720
4733
  function a(u = 1) {
4721
4734
  const c = [
@@ -4763,11 +4776,11 @@ function Mn(e, t) {
4763
4776
  alignment: o.value
4764
4777
  }, null);
4765
4778
  }
4766
- function pi(e, t, n, o, a, s) {
4779
+ function vi(e, t, n, o, a, s) {
4767
4780
  v(e.subTitle);
4768
4781
  const l = B(() => e.buttonPosition), r = Mn(e, t), {
4769
4782
  onClickMaxMinIcon: u
4770
- } = fi(o, a, s), c = B(() => !!e.subTitle), d = B(() => e.enableMaximize), p = B(() => e.enableAccordion !== ""), g = B(() => {
4783
+ } = pi(o, a, s), c = B(() => !!e.subTitle), d = B(() => e.enableMaximize), p = B(() => e.enableAccordion !== ""), g = B(() => {
4771
4784
  const T = {
4772
4785
  "f-section-header": !0
4773
4786
  };
@@ -4828,8 +4841,8 @@ function pi(e, t, n, o, a, s) {
4828
4841
  }
4829
4842
  return () => e.showHeader && (t.slots.header ? C() : h());
4830
4843
  }
4831
- const vi = ["moz", "ms", "webkit"];
4832
- function mi() {
4844
+ const mi = ["moz", "ms", "webkit"];
4845
+ function gi() {
4833
4846
  let e = 0;
4834
4847
  return (t) => {
4835
4848
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -4838,25 +4851,25 @@ function mi() {
4838
4851
  return e = n + o, a;
4839
4852
  };
4840
4853
  }
4841
- function gi() {
4854
+ function hi() {
4842
4855
  if (typeof window > "u")
4843
4856
  return () => 0;
4844
4857
  if (window.requestAnimationFrame)
4845
4858
  return window.requestAnimationFrame.bind(window);
4846
- const e = vi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4847
- return e ? window[`${e}RequestAnimationFrame`] : mi();
4859
+ const e = mi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4860
+ return e ? window[`${e}RequestAnimationFrame`] : gi();
4848
4861
  }
4849
- gi();
4862
+ hi();
4850
4863
  function Ct(e, t) {
4851
4864
  return ((t == null ? void 0 : t.split(" ")) || []).reduce((o, a) => (a && (o[a] = !0), o), e), e;
4852
4865
  }
4853
4866
  var kt = /* @__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))(kt || {});
4854
- const hi = /* @__PURE__ */ te({
4867
+ const yi = /* @__PURE__ */ te({
4855
4868
  name: "FSection",
4856
4869
  props: Fn,
4857
4870
  emits: [],
4858
4871
  setup(e, t) {
4859
- const n = v(), o = v(), a = v(e.customClass), s = B(() => e.enableAccordion), l = v(e.expandStatus), r = B(() => e.buttonPosition), u = v(!1), c = pi(e, t, l, n, o, u), d = Mn(e, t), p = B(() => {
4872
+ const n = v(), o = v(), a = v(e.customClass), s = B(() => e.enableAccordion), l = v(e.expandStatus), r = B(() => e.buttonPosition), u = v(!1), c = vi(e, t, l, n, o, u), d = Mn(e, t), p = B(() => {
4860
4873
  const _ = {
4861
4874
  "f-section": !0,
4862
4875
  "f-section-accordion": s.value === "default",
@@ -4892,7 +4905,7 @@ const hi = /* @__PURE__ */ te({
4892
4905
  }, [c(), y(), C()]);
4893
4906
  }
4894
4907
  });
4895
- function yi() {
4908
+ function bi() {
4896
4909
  function e(t, n) {
4897
4910
  var l;
4898
4911
  if (!t)
@@ -4901,31 +4914,31 @@ function yi() {
4901
4914
  if (!o)
4902
4915
  return !1;
4903
4916
  const a = o.schema.type, s = n == null ? void 0 : n.formSchemaUtils.getComponentById(o.belongedComponentId);
4904
- return !((t.componentCategory === "input" || t.componentType === "form-group") && ![Y["response-layout-item"].type, Y["response-form"].type].includes(a) || (t.componentType === Y.tabs.type || t.componentType === Y.section.type) && ((s == null ? void 0 : s.componentType) !== "frame" || ![Y["content-container"].type, Y["splitter-pane"].type, Y["response-layout-item"].type].includes(a)));
4917
+ return !((t.componentCategory === "input" || t.componentType === "form-group") && ![K["response-layout-item"].type, K["response-form"].type].includes(a) || (t.componentType === K.tabs.type || t.componentType === K.section.type) && ((s == null ? void 0 : s.componentType) !== "frame" || ![K["content-container"].type, K["splitter-pane"].type, K["response-layout-item"].type].includes(a)));
4905
4918
  }
4906
4919
  return {
4907
4920
  basalDragulaRuleForContainer: e
4908
4921
  };
4909
4922
  }
4910
- function bi(e, t) {
4923
+ function Ci(e, t) {
4911
4924
  const n = new Sn(), { canAccept: o } = n.getTemplateRule(e, t);
4912
4925
  function a(s) {
4913
- if (!yi().basalDragulaRuleForContainer(s, t))
4926
+ if (!bi().basalDragulaRuleForContainer(s, t))
4914
4927
  return !1;
4915
4928
  const { schema: r } = e;
4916
4929
  return r.contents && r.contents.length > 0 ? !1 : o;
4917
4930
  }
4918
4931
  return { canAccepts: a };
4919
4932
  }
4920
- function Ci(e) {
4921
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Kt(e);
4933
+ function wi(e) {
4934
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Yt(e);
4922
4935
  }
4923
- const wi = /* @__PURE__ */ te({
4936
+ const xi = /* @__PURE__ */ te({
4924
4937
  name: "FTabPageDesign",
4925
4938
  props: Rt,
4926
4939
  emits: [],
4927
4940
  setup(e, t) {
4928
- const n = v(), o = ae("design-item-context"), a = ae("designer-host-service"), s = bi(o, a), l = Ye(n, o, s);
4941
+ const n = v(), o = ae("design-item-context"), a = ae("designer-host-service"), s = Ci(o, a), l = Ke(n, o, s);
4929
4942
  l.value.canNested = !1, l.value.canDelete = !1, l.value.canMove = !1, t.expose(l.value);
4930
4943
  const r = ae("tabs"), u = v(!0), c = {
4931
4944
  slots: t.slots,
@@ -4952,10 +4965,10 @@ const wi = /* @__PURE__ */ te({
4952
4965
  function b() {
4953
4966
  var T, I;
4954
4967
  const h = (I = (T = t.slots).default) == null ? void 0 : I.call(T);
4955
- return i(hi, {
4968
+ return i(yi, {
4956
4969
  "main-title": e.title,
4957
4970
  class: "farris-tab-page"
4958
- }, Ci(h) ? h : {
4971
+ }, wi(h) ? h : {
4959
4972
  default: () => [h]
4960
4973
  });
4961
4974
  }
@@ -4976,7 +4989,7 @@ const wi = /* @__PURE__ */ te({
4976
4989
  const m = (/* @__PURE__ */ new Map([["default", C], ["one-page", b]])).get(d.value) || C;
4977
4990
  return () => u.value ? m() : null;
4978
4991
  }
4979
- }), xi = "https://json-schema.org/draft/2020-12/schema", Si = "https://farris-design.gitee.io/tab-toolbar-item.schema.json", Ti = "tab-toolbar-item", _i = "A Farris Toolbar Item Component", ki = "object", Ii = {
4992
+ }), Si = "https://json-schema.org/draft/2020-12/schema", Ti = "https://farris-design.gitee.io/tab-toolbar-item.schema.json", _i = "tab-toolbar-item", ki = "A Farris Toolbar Item Component", Ii = "object", Bi = {
4980
4993
  id: {
4981
4994
  description: "The unique identifier for a Response Toolbar",
4982
4995
  type: "string"
@@ -5014,34 +5027,34 @@ const wi = /* @__PURE__ */ te({
5014
5027
  type: "string",
5015
5028
  default: ""
5016
5029
  }
5017
- }, Bi = [
5030
+ }, Fi = [
5018
5031
  "id",
5019
5032
  "type",
5020
5033
  "text"
5021
- ], Fi = {
5022
- $schema: xi,
5023
- $id: Si,
5024
- title: Ti,
5025
- description: _i,
5026
- type: ki,
5027
- properties: Ii,
5028
- required: Bi
5029
- }, Mi = {
5034
+ ], Mi = {
5035
+ $schema: Si,
5036
+ $id: Ti,
5037
+ title: _i,
5038
+ description: ki,
5039
+ type: Ii,
5040
+ properties: Bi,
5041
+ required: Fi
5042
+ }, Ei = {
5030
5043
  text: { type: String, default: "" },
5031
5044
  icon: { type: String, default: "" }
5032
- }, Ei = ye(Mi, Fi, Pt, vs);
5045
+ }, Oi = ye(Ei, Mi, Pt, ms);
5033
5046
  Le.install = (e) => {
5034
5047
  e.component(Le.name, Le), e.component(at.name, at);
5035
5048
  };
5036
5049
  Le.register = (e, t, n, o) => {
5037
- e.tabs = Le, e["tab-page"] = at, t.tabs = xs, t["tab-page"] = bn, o.tabs = { eventHandlerResolver: Ts };
5050
+ e.tabs = Le, e["tab-page"] = at, t.tabs = Ss, t["tab-page"] = bn, o.tabs = { eventHandlerResolver: _s };
5038
5051
  };
5039
5052
  Le.registerDesigner = (e, t, n) => {
5040
- e.tabs = Zl, e["tab-page"] = wi, t.tabs = Ss, t["tab-page"] = bn, t["tab-toolbar-item"] = Ei;
5053
+ e.tabs = Jl, e["tab-page"] = xi, t.tabs = Ts, t["tab-page"] = bn, t["tab-toolbar-item"] = Oi;
5041
5054
  };
5042
- const Oi = /* @__PURE__ */ new Map([
5055
+ const Pi = /* @__PURE__ */ new Map([
5043
5056
  ["appearance", Oe]
5044
- ]), Pi = "https://json-schema.org/draft/2020-12/schema", Di = "https://farris-design.gitee.io/search-box.schema.json", Ri = "search-box", Vi = "A Farris Component", $i = "object", ji = {
5057
+ ]), Di = "https://json-schema.org/draft/2020-12/schema", Ri = "https://farris-design.gitee.io/search-box.schema.json", Vi = "search-box", $i = "A Farris Component", ji = "object", Li = {
5045
5058
  id: {
5046
5059
  description: "The unique identifier for a search-box",
5047
5060
  type: "string"
@@ -5103,22 +5116,22 @@ const Oi = /* @__PURE__ */ new Map([
5103
5116
  type: "boolean",
5104
5117
  default: !0
5105
5118
  }
5106
- }, Li = [
5119
+ }, Ai = [
5107
5120
  "id",
5108
5121
  "type"
5109
- ], Ai = {
5110
- $schema: Pi,
5111
- $id: Di,
5112
- title: Ri,
5113
- description: Vi,
5114
- type: $i,
5115
- properties: ji,
5116
- required: Li
5122
+ ], Ni = {
5123
+ $schema: Di,
5124
+ $id: Ri,
5125
+ title: Vi,
5126
+ description: $i,
5127
+ type: ji,
5128
+ properties: Li,
5129
+ required: Ai
5117
5130
  };
5118
- function Ni(e, t, n) {
5131
+ function Hi(e, t, n) {
5119
5132
  return t;
5120
5133
  }
5121
- const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5134
+ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5122
5135
  basic: {
5123
5136
  description: "Basic Infomation",
5124
5137
  title: "基本信息",
@@ -5140,11 +5153,11 @@ const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5140
5153
  }
5141
5154
  }
5142
5155
  }
5143
- }, Wi = {
5144
- title: Hi,
5145
- description: zi,
5146
- type: qi,
5147
- categories: Gi
5156
+ }, Ui = {
5157
+ title: zi,
5158
+ description: qi,
5159
+ type: Gi,
5160
+ categories: Wi
5148
5161
  }, $t = {
5149
5162
  /**
5150
5163
  * 自定义图标
@@ -5195,7 +5208,7 @@ const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5195
5208
  * 值变化事件触发时机
5196
5209
  */
5197
5210
  updateOn: { default: "blur", type: String }
5198
- }, En = ye($t, Ai, Oi, Ni, Wi), Ui = {
5211
+ }, En = ye($t, Ni, Pi, Hi, Ui), Xi = {
5199
5212
  data: { type: Array, default: [] },
5200
5213
  /** 确认结果事件 */
5201
5214
  onConfirmResult: { type: Function, default: () => {
@@ -5221,7 +5234,7 @@ const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5221
5234
  loading: { default: !1, type: Boolean }
5222
5235
  }, On = /* @__PURE__ */ te({
5223
5236
  name: "FSearchBoxContainer",
5224
- props: Ui,
5237
+ props: Xi,
5225
5238
  emits: ["confirmResult", "searchedValue"],
5226
5239
  setup(e, t) {
5227
5240
  const n = v(e.data), o = v(), {
@@ -5341,12 +5354,12 @@ const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5341
5354
  });
5342
5355
  };
5343
5356
  }
5344
- }), Xi = /* @__PURE__ */ te({
5357
+ }), Yi = /* @__PURE__ */ te({
5345
5358
  name: "FSearchBoxDesign",
5346
5359
  props: $t,
5347
5360
  emits: ["update:modelValue", "change"],
5348
5361
  setup(e, t) {
5349
- const n = v(e.data), o = v(), a = v(), s = v("请输入关键词"), l = v('<i class="f-icon f-icon-search"></i>'), r = v(e.modelValue), u = v(), c = ae("design-item-context"), d = Ye(u, c);
5362
+ const n = v(e.data), o = v(), a = v(), s = v("请输入关键词"), l = v('<i class="f-icon f-icon-search"></i>'), r = v(e.modelValue), u = v(), c = ae("design-item-context"), d = Ke(u, c);
5350
5363
  se(() => {
5351
5364
  u.value.componentInstance = d;
5352
5365
  }), t.expose(d.value), U(r, (b) => {
@@ -5393,7 +5406,7 @@ Ve.register = (e, t, n, o) => {
5393
5406
  e["search-box"] = Ve, t["search-box"] = En;
5394
5407
  };
5395
5408
  Ve.registerDesigner = (e, t, n) => {
5396
- e["search-box"] = Xi, t["search-box"] = En;
5409
+ e["search-box"] = Yi, t["search-box"] = En;
5397
5410
  };
5398
5411
  const Pn = /* @__PURE__ */ new Map([
5399
5412
  ["appearance", Oe]
@@ -5401,7 +5414,7 @@ const Pn = /* @__PURE__ */ new Map([
5401
5414
  function Dn(e, t, n) {
5402
5415
  return t;
5403
5416
  }
5404
- const Ki = "https://json-schema.org/draft/2020-12/schema", Yi = "https://farris-design.gitee.io/list-view.schema.json", Qi = "list-view", Zi = "A Farris Component", Ji = "object", er = {
5417
+ const Ki = "https://json-schema.org/draft/2020-12/schema", Qi = "https://farris-design.gitee.io/list-view.schema.json", Zi = "list-view", Ji = "A Farris Component", er = "object", tr = {
5405
5418
  id: {
5406
5419
  description: "The unique identifier for list-view",
5407
5420
  type: "string"
@@ -5463,18 +5476,18 @@ const Ki = "https://json-schema.org/draft/2020-12/schema", Yi = "https://farris-
5463
5476
  type: "boolean",
5464
5477
  default: !0
5465
5478
  }
5466
- }, tr = [
5479
+ }, nr = [
5467
5480
  "id",
5468
5481
  "type"
5469
- ], nr = {
5482
+ ], or = {
5470
5483
  $schema: Ki,
5471
- $id: Yi,
5472
- title: Qi,
5473
- description: Zi,
5474
- type: Ji,
5475
- properties: er,
5476
- required: tr
5477
- }, or = "list-view", ar = "A Farris Component", sr = "object", lr = {
5484
+ $id: Qi,
5485
+ title: Zi,
5486
+ description: Ji,
5487
+ type: er,
5488
+ properties: tr,
5489
+ required: nr
5490
+ }, ar = "list-view", sr = "A Farris Component", lr = "object", ir = {
5478
5491
  basic: {
5479
5492
  description: "Basic Infomation",
5480
5493
  title: "基本信息",
@@ -5496,11 +5509,11 @@ const Ki = "https://json-schema.org/draft/2020-12/schema", Yi = "https://farris-
5496
5509
  }
5497
5510
  }
5498
5511
  }
5499
- }, ir = {
5500
- title: or,
5501
- description: ar,
5502
- type: sr,
5503
- categories: lr
5512
+ }, rr = {
5513
+ title: ar,
5514
+ description: sr,
5515
+ type: lr,
5516
+ categories: ir
5504
5517
  }, ct = {
5505
5518
  /** 列集合 */
5506
5519
  columns: {
@@ -5542,7 +5555,7 @@ const Ki = "https://json-schema.org/draft/2020-12/schema", Yi = "https://farris-
5542
5555
  disableField: { type: String, default: "disabled" },
5543
5556
  // 搜索启用高亮
5544
5557
  enableHighlightSearch: { type: Boolean, default: !0 }
5545
- }, Rn = ye(ct, nr, Pn, Dn, ir);
5558
+ }, Rn = ye(ct, or, Pn, Dn, rr);
5546
5559
  function Vn(e, t) {
5547
5560
  function n(s) {
5548
5561
  const l = [];
@@ -5624,7 +5637,7 @@ function zt(e, t, n, o, a, s, l, r, u, c) {
5624
5637
  renderItem: O
5625
5638
  };
5626
5639
  }
5627
- function rr(e, t, n, o, a, s, l, r, u, c) {
5640
+ function ur(e, t, n, o, a, s, l, r, u, c) {
5628
5641
  const d = v(e.multiSelect), p = v(e.disableField), {
5629
5642
  onMouseenterItem: g,
5630
5643
  onMouseoverItem: b,
@@ -5671,7 +5684,7 @@ function rr(e, t, n, o, a, s, l, r, u, c) {
5671
5684
  renderItem: I
5672
5685
  };
5673
5686
  }
5674
- function ur(e, t, n, o, a, s, l, r, u, c) {
5687
+ function cr(e, t, n, o, a, s, l, r, u, c) {
5675
5688
  const d = v(e.multiSelect), p = v(e.disableField), {
5676
5689
  onMouseenterItem: g,
5677
5690
  onMouseoverItem: b,
@@ -5743,7 +5756,7 @@ function ur(e, t, n, o, a, s, l, r, u, c) {
5743
5756
  renderItem: f
5744
5757
  };
5745
5758
  }
5746
- function cr(e, t, n, o, a, s, l, r, u, c) {
5759
+ function dr(e, t, n, o, a, s, l, r, u, c) {
5747
5760
  var C;
5748
5761
  const d = v(((C = e.group) == null ? void 0 : C.groupFields) || []), {
5749
5762
  collpaseGroupIconClass: p
@@ -5769,7 +5782,7 @@ function cr(e, t, n, o, a, s, l, r, u, c) {
5769
5782
  renderItem: y
5770
5783
  };
5771
5784
  }
5772
- function dr() {
5785
+ function fr() {
5773
5786
  const e = v(-1), t = v(""), n = v(-1), o = v(!1);
5774
5787
  function a(c, d, p) {
5775
5788
  n.value = p;
@@ -5797,7 +5810,7 @@ function dr() {
5797
5810
  suspendHover: r
5798
5811
  };
5799
5812
  }
5800
- function fr(e, t, n, o) {
5813
+ function pr(e, t, n, o) {
5801
5814
  const a = v(e.idField), { dataView: s } = n, l = v(-1), r = v(!1), { activeIndex: u, focusedItemId: c, hoverIndex: d, resumeHover: p, suspendHover: g } = o;
5802
5815
  function b(m, h, T) {
5803
5816
  m.stopPropagation(), g(), h && setTimeout(() => {
@@ -5826,7 +5839,7 @@ function fr(e, t, n, o) {
5826
5839
  isDragging: r
5827
5840
  };
5828
5841
  }
5829
- function pr(e, t, n) {
5842
+ function vr(e, t, n) {
5830
5843
  const { dataView: o } = n;
5831
5844
  function a(s) {
5832
5845
  if (s > -1 && s < o.value.length) {
@@ -5836,7 +5849,7 @@ function pr(e, t, n) {
5836
5849
  }
5837
5850
  return { removeItem: a };
5838
5851
  }
5839
- function vr(e, t, n, o, a, s) {
5852
+ function mr(e, t, n, o, a, s) {
5840
5853
  const l = v(e.idField), r = v(e.disableField), u = v(e.draggable), c = v(e.itemClass), d = v(e.selection.multiSelect ?? !1), p = v(e.selection.multiSelectMode), { isDragging: g } = o, { activeIndex: b, focusedItemId: y, hoverIndex: C } = a, { clearSelection: _, getSelectedItems: m, toggleSelectItem: h } = s, T = v(m());
5841
5854
  function I(x, f) {
5842
5855
  const w = {
@@ -5882,20 +5895,20 @@ function vr(e, t, n, o, a, s) {
5882
5895
  };
5883
5896
  }
5884
5897
  function $n(e, t, n, o, a, s, l) {
5885
- const r = v(e.view), u = v(e.view === "CardView"), c = v({}), d = v("暂无数据"), p = dr(), g = fr(e, t, o, p), b = pr(e, t, o), y = vr(e, t, n, g, p, s), C = B(() => ({
5898
+ const r = v(e.view), u = v(e.view === "CardView"), c = v({}), d = v("暂无数据"), p = fr(), g = pr(e, t, o, p), b = vr(e, t, o), y = mr(e, t, n, g, p, s), C = B(() => ({
5886
5899
  "f-list-view-group": !0,
5887
5900
  "d-flex": u.value,
5888
5901
  "flex-wrap": u.value
5889
5902
  })), _ = B(() => !!n.value && n.value.length > 0), m = B(() => n.value.length === 0);
5890
5903
  B(() => m.value && !t.slots.empty);
5891
5904
  function h() {
5892
- return r.value === "SingleView" ? zt : r.value === "DraggableView" ? ur : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? rr : zt;
5905
+ return r.value === "SingleView" ? zt : r.value === "DraggableView" ? cr : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? ur : zt;
5893
5906
  }
5894
5907
  const T = h(), {
5895
5908
  renderItem: I
5896
5909
  } = T(e, t, n, g, a, p, y, s, b, l), {
5897
5910
  renderItem: M
5898
- } = cr(e, t, n, g, a, p, y, s, b, l), P = [I, M];
5911
+ } = dr(e, t, n, g, a, p, y, s, b, l), P = [I, M];
5899
5912
  function O() {
5900
5913
  return n.value.filter((F) => F.visible !== !1).map((F, x) => P[F.type](F, x, c));
5901
5914
  }
@@ -5984,7 +5997,7 @@ const Ie = /* @__PURE__ */ te({
5984
5997
  props: ct,
5985
5998
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
5986
5999
  setup(e, t) {
5987
- const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = Lo(e), c = Ao(e), d = No(e, u), p = Ho(e), g = zo(e, /* @__PURE__ */ new Map(), c, u, p), b = qo(e, g, u, s, t), y = Vn(e, n), C = B(() => g.dataView.value.length), _ = Go(e, t, u), m = Wo(), h = Uo(e, {}, m), T = Xo(e, _, c, u, m, h), I = Ko(e, u, h, T), M = Yo(e, u, h, T), P = Qo(e, r, g, C, l, T, I, M), {
6000
+ const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = Lo(e), c = Ao(e), d = No(e, u), p = Ho(e), g = zo(e, /* @__PURE__ */ new Map(), c, u, p), b = qo(e, g, u, s, t), y = Vn(e, n), C = B(() => g.dataView.value.length), _ = Go(e, t, u), m = Wo(), h = Uo(e, {}, m), T = Xo(e, _, c, u, m, h), I = Yo(e, u, h, T), M = Ko(e, u, h, T), P = Qo(e, r, g, C, l, T, I, M), {
5988
6001
  getVisualData: O
5989
6002
  } = P;
5990
6003
  s.value = O(0, C.value + l - 1);
@@ -6034,7 +6047,7 @@ const Ie = /* @__PURE__ */ te({
6034
6047
  }
6035
6048
  });
6036
6049
  var we = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(we || {}), Fe = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(Fe || {}), dt = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(dt || {}), It = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(It || {});
6037
- function mr() {
6050
+ function gr() {
6038
6051
  function e(n, o) {
6039
6052
  const a = n.pre;
6040
6053
  if (a) {
@@ -6051,7 +6064,7 @@ function mr() {
6051
6064
  }
6052
6065
  return { updateRowPosition: e, updateVisualInfomation: t };
6053
6066
  }
6054
- function gr() {
6067
+ function hr() {
6055
6068
  function e(o, a) {
6056
6069
  switch (o.command) {
6057
6070
  case "edit":
@@ -6111,7 +6124,7 @@ const Ln = {
6111
6124
  */
6112
6125
  isControlInline: { type: Boolean, default: !0 }
6113
6126
  };
6114
- class hr {
6127
+ class yr {
6115
6128
  constructor(t = { value: [] }) {
6116
6129
  N(this, "editorType", "check-box");
6117
6130
  N(this, "value");
@@ -6131,7 +6144,7 @@ class hr {
6131
6144
  return this.value.length === 0;
6132
6145
  }
6133
6146
  }
6134
- class yr {
6147
+ class br {
6135
6148
  constructor(t = { textValue: "", value: "", valueField: "" }) {
6136
6149
  N(this, "editorType", "combo-lookup");
6137
6150
  N(this, "textValue");
@@ -6151,11 +6164,11 @@ class yr {
6151
6164
  return t[n[0]];
6152
6165
  }
6153
6166
  getTextValue(t) {
6154
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Ee(n)));
6167
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Me(n)));
6155
6168
  return o && o.length ? o.join(",") : "";
6156
6169
  }
6157
6170
  getValue() {
6158
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Ee(t)));
6171
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Me(t)));
6159
6172
  return n && n.length ? n.join(",") : "";
6160
6173
  }
6161
6174
  setValue(t) {
@@ -6165,7 +6178,7 @@ class yr {
6165
6178
  return !this.valueField;
6166
6179
  }
6167
6180
  }
6168
- class br {
6181
+ class Cr {
6169
6182
  constructor(t = { value: "" }) {
6170
6183
  N(this, "editorType", "date-picker");
6171
6184
  N(this, "value");
@@ -6206,7 +6219,7 @@ class qt {
6206
6219
  return !this.begin || !this.end;
6207
6220
  }
6208
6221
  }
6209
- class Cr {
6222
+ class wr {
6210
6223
  constructor(t = { value: "" }) {
6211
6224
  N(this, "editorType", "datetime-picker");
6212
6225
  N(this, "value");
@@ -6226,7 +6239,7 @@ class Cr {
6226
6239
  return !this.value;
6227
6240
  }
6228
6241
  }
6229
- class wr {
6242
+ class xr {
6230
6243
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
6231
6244
  constructor(t = { value: "", dispalyText: "" }) {
6232
6245
  N(this, "editorType", "combo-list");
@@ -6249,7 +6262,7 @@ class wr {
6249
6262
  return !this.displayText && !this.value;
6250
6263
  }
6251
6264
  }
6252
- class xr {
6265
+ class Sr {
6253
6266
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
6254
6267
  N(this, "editorType", "input-group");
6255
6268
  // 通过弹窗返回的若干个值对象构成的数组
@@ -6274,21 +6287,21 @@ class xr {
6274
6287
  return t[n[0]];
6275
6288
  }
6276
6289
  getTextValue(t) {
6277
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Ee(n)));
6290
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Me(n)));
6278
6291
  return o && o.length ? o.join(",") : "";
6279
6292
  }
6280
6293
  getValue() {
6281
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Ee(t)));
6294
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Me(t)));
6282
6295
  return n && n.length ? n.join(",") : "";
6283
6296
  }
6284
6297
  setValue(t) {
6285
6298
  throw new Error("Method not implemented.");
6286
6299
  }
6287
6300
  isEmpty() {
6288
- return !this.displayText && !this.value;
6301
+ return !this.displayText && !this.value.length;
6289
6302
  }
6290
6303
  }
6291
- class Sr {
6304
+ class Tr {
6292
6305
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
6293
6306
  N(this, "editorType", "lookup");
6294
6307
  N(this, "textValue");
@@ -6324,7 +6337,7 @@ class Sr {
6324
6337
  return !this.value.length;
6325
6338
  }
6326
6339
  }
6327
- class Tr {
6340
+ class _r {
6328
6341
  constructor(t = { value: "" }) {
6329
6342
  N(this, "editorType", "month-picker");
6330
6343
  N(this, "value");
@@ -6344,7 +6357,7 @@ class Tr {
6344
6357
  return !this.value;
6345
6358
  }
6346
6359
  }
6347
- class _r {
6360
+ class kr {
6348
6361
  constructor(t = { begin: "", end: "" }) {
6349
6362
  N(this, "editorType", "month-range");
6350
6363
  N(this, "begin");
@@ -6365,7 +6378,7 @@ class _r {
6365
6378
  return !this.begin || !this.end;
6366
6379
  }
6367
6380
  }
6368
- class kr {
6381
+ class Ir {
6369
6382
  constructor(t = { begin: null, end: null }) {
6370
6383
  N(this, "editorType", "number-range");
6371
6384
  N(this, "begin");
@@ -6389,7 +6402,7 @@ class kr {
6389
6402
  return this.begin == null && this.end == null;
6390
6403
  }
6391
6404
  }
6392
- class Ir {
6405
+ class Br {
6393
6406
  constructor(t = { value: "" }) {
6394
6407
  N(this, "editorType", "number-spinner");
6395
6408
  N(this, "value");
@@ -6406,10 +6419,10 @@ class Ir {
6406
6419
  this.value = isNaN(parseFloat(t)) ? null : t;
6407
6420
  }
6408
6421
  isEmpty() {
6409
- return this.value == null;
6422
+ return this.value == null || isNaN(this.value);
6410
6423
  }
6411
6424
  }
6412
- class Br {
6425
+ class Fr {
6413
6426
  constructor(t = { value: null }) {
6414
6427
  N(this, "editorType", "radio-group");
6415
6428
  N(this, "value");
@@ -6453,33 +6466,33 @@ function Nn() {
6453
6466
  function e(t, n) {
6454
6467
  switch (t) {
6455
6468
  case "check-box":
6456
- return new hr(n);
6469
+ return new yr(n);
6457
6470
  case "combo-list":
6458
- return new wr(n);
6471
+ return new xr(n);
6459
6472
  case "combo-lookup":
6460
- return new yr(n);
6473
+ return new br(n);
6461
6474
  case "input-group":
6462
- return new xr(n);
6475
+ return new Sr(n);
6463
6476
  case "date-picker":
6464
- return new br(n);
6477
+ return new Cr(n);
6465
6478
  case "date-range":
6466
6479
  return new qt(n);
6467
6480
  case "datetime-picker":
6468
- return new Cr(n);
6481
+ return new wr(n);
6469
6482
  case "datetime-range":
6470
6483
  return new qt(n);
6471
6484
  case "lookup":
6472
- return new Sr(n);
6473
- case "month-picker":
6474
6485
  return new Tr(n);
6475
- case "month-range":
6486
+ case "month-picker":
6476
6487
  return new _r(n);
6477
- case "number-range":
6488
+ case "month-range":
6478
6489
  return new kr(n);
6479
- case "number-spinner":
6490
+ case "number-range":
6480
6491
  return new Ir(n);
6481
- case "radio-group":
6492
+ case "number-spinner":
6482
6493
  return new Br(n);
6494
+ case "radio-group":
6495
+ return new Fr(n);
6483
6496
  default:
6484
6497
  return new An(n);
6485
6498
  }
@@ -6518,7 +6531,7 @@ function Hn(e, t) {
6518
6531
  }
6519
6532
  return { convertToSingleControl: r, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: u, initialConditionValue: c };
6520
6533
  }
6521
- function Fr(e, t, n) {
6534
+ function Mr(e, t, n) {
6522
6535
  const o = v(null), a = v(n), s = v(0);
6523
6536
  function l(d, p) {
6524
6537
  let g = null;
@@ -6556,7 +6569,7 @@ const Gt = /* @__PURE__ */ te({
6556
6569
  initialConditionValue: r,
6557
6570
  fieldMap: u,
6558
6571
  loadFieldConfigs: c
6559
- } = l, d = Fr(e, t, n), {
6572
+ } = l, d = Mr(e, t, n), {
6560
6573
  conditionClass: p,
6561
6574
  resizeObserver: g
6562
6575
  } = d;
@@ -6598,8 +6611,8 @@ const Gt = /* @__PURE__ */ te({
6598
6611
  }
6599
6612
  }), jt = /* @__PURE__ */ new Map([
6600
6613
  ["appearance", Oe]
6601
- ]), Mr = /* @__PURE__ */ new Map([]), Er = "root-viewmodel";
6602
- class Or {
6614
+ ]), Er = /* @__PURE__ */ new Map([]), Or = "root-viewmodel";
6615
+ class Pr {
6603
6616
  constructor(t, n) {
6604
6617
  N(this, "formSchemaUtils");
6605
6618
  N(this, "controlCreatorUtils");
@@ -6656,7 +6669,7 @@ class Or {
6656
6669
  }), n.contents = [o];
6657
6670
  const { selectedFields: s } = t;
6658
6671
  s == null || s.forEach((r) => {
6659
- const u = Ee(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
6672
+ const u = Me(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
6660
6673
  d && a.push(d);
6661
6674
  });
6662
6675
  const { templateId: l } = this.formSchemaUtils.getFormSchema().module;
@@ -6693,7 +6706,7 @@ class Or {
6693
6706
  code: `${t.componentId}-component-viewmodel`,
6694
6707
  name: t.componentName,
6695
6708
  bindTo: t.bindTo,
6696
- parent: Er,
6709
+ parent: Or,
6697
6710
  fields: this.assembleViewModelFields(t),
6698
6711
  commands: [],
6699
6712
  states: [],
@@ -6720,7 +6733,7 @@ class Or {
6720
6733
  }), n;
6721
6734
  }
6722
6735
  }
6723
- function Pr(e, t, n, o) {
6736
+ function Dr(e, t, n, o) {
6724
6737
  var s, l, r, u, c;
6725
6738
  const a = n.parentComponentInstance;
6726
6739
  if (a && o) {
@@ -6733,14 +6746,14 @@ function Pr(e, t, n, o) {
6733
6746
  bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
6734
6747
  selectedFields: (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntityFields
6735
6748
  };
6736
- return new Or(e, o).createComponent(g);
6749
+ return new Pr(e, o).createComponent(g);
6737
6750
  } else
6738
6751
  return t;
6739
6752
  }
6740
- function Dr(e, t, n) {
6753
+ function Rr(e, t, n) {
6741
6754
  return t;
6742
6755
  }
6743
- const Rr = "https://json-schema.org/draft/2020-12/schema", Vr = "https://farris-design.gitee.io/response-form.schema.json", $r = "response-form", jr = "A Farris Data Collection Component", Lr = "object", Ar = {
6756
+ const Vr = "https://json-schema.org/draft/2020-12/schema", $r = "https://farris-design.gitee.io/response-form.schema.json", jr = "response-form", Lr = "A Farris Data Collection Component", Ar = "object", Nr = {
6744
6757
  id: {
6745
6758
  description: "The unique identifier for a form group",
6746
6759
  type: "string"
@@ -6768,23 +6781,24 @@ const Rr = "https://json-schema.org/draft/2020-12/schema", Vr = "https://farris-
6768
6781
  type: "array",
6769
6782
  default: []
6770
6783
  }
6771
- }, Nr = [
6784
+ }, Hr = [
6772
6785
  "id",
6773
- "type"
6774
- ], Hr = {
6775
- $schema: Rr,
6776
- $id: Vr,
6777
- title: $r,
6778
- description: jr,
6779
- type: Lr,
6780
- properties: Ar,
6781
- required: Nr
6782
- }, zr = {
6786
+ "type",
6787
+ "contents"
6788
+ ], zr = {
6789
+ $schema: Vr,
6790
+ $id: $r,
6791
+ title: jr,
6792
+ description: Lr,
6793
+ type: Ar,
6794
+ properties: Nr,
6795
+ required: Hr
6796
+ }, qr = {
6783
6797
  customClass: { type: String, default: "" },
6784
6798
  customStyle: { type: String, defaut: "" }
6785
6799
  };
6786
- ye(zr, Hr, jt, Pr);
6787
- const qr = "https://json-schema.org/draft/2020-12/schema", Gr = "https://farris-design.gitee.io/form-group.schema.json", Wr = "form-group", Ur = "A Farris Input Component", Xr = "object", Kr = {
6800
+ ye(qr, zr, jt, Dr);
6801
+ const Gr = "https://json-schema.org/draft/2020-12/schema", Wr = "https://farris-design.gitee.io/form-group.schema.json", Ur = "form-group", Xr = "A Farris Input Component", Yr = "object", Kr = {
6788
6802
  id: {
6789
6803
  description: "The unique identifier for a form group",
6790
6804
  type: "string"
@@ -6814,7 +6828,8 @@ const qr = "https://json-schema.org/draft/2020-12/schema", Gr = "https://farris-
6814
6828
  },
6815
6829
  editor: {
6816
6830
  description: "",
6817
- type: "obejct"
6831
+ type: "obejct",
6832
+ default: {}
6818
6833
  },
6819
6834
  label: {
6820
6835
  description: "",
@@ -6830,17 +6845,18 @@ const qr = "https://json-schema.org/draft/2020-12/schema", Gr = "https://farris-
6830
6845
  type: "object",
6831
6846
  default: {}
6832
6847
  }
6833
- }, Yr = [
6848
+ }, Qr = [
6834
6849
  "id",
6835
- "type"
6850
+ "type",
6851
+ "editor"
6836
6852
  ], zn = {
6837
- $schema: qr,
6838
- $id: Gr,
6839
- title: Wr,
6840
- description: Ur,
6841
- type: Xr,
6853
+ $schema: Gr,
6854
+ $id: Wr,
6855
+ title: Ur,
6856
+ description: Xr,
6857
+ type: Yr,
6842
6858
  properties: Kr,
6843
- required: Yr
6859
+ required: Qr
6844
6860
  }, qn = {
6845
6861
  id: { type: String, default: "" },
6846
6862
  customClass: { type: String, default: "" },
@@ -6862,14 +6878,14 @@ ye(
6862
6878
  jt,
6863
6879
  void 0
6864
6880
  );
6865
- const Qr = {
6881
+ const Zr = {
6866
6882
  id: { type: String },
6867
6883
  required: { type: Boolean, default: !1 },
6868
6884
  text: { type: String, default: "" },
6869
6885
  title: { type: String }
6870
- }, Zr = /* @__PURE__ */ te({
6886
+ }, Jr = /* @__PURE__ */ te({
6871
6887
  name: "FDynamicFormLabel",
6872
- props: Qr,
6888
+ props: Zr,
6873
6889
  emits: [],
6874
6890
  setup(e, t) {
6875
6891
  const n = v(e.title || e.text), o = v(e.required), a = v(e.text);
@@ -6886,13 +6902,13 @@ const Qr = {
6886
6902
  class: "farris-label-text"
6887
6903
  }, [a.value])]);
6888
6904
  }
6889
- }), Jr = /* @__PURE__ */ new Map([
6905
+ }), eu = /* @__PURE__ */ new Map([
6890
6906
  ["appearance", Oe]
6891
6907
  ]);
6892
- function eu(e, t, n) {
6908
+ function tu(e, t, n) {
6893
6909
  return t;
6894
6910
  }
6895
- const tu = "https://json-schema.org/draft/2020-12/schema", nu = "https://farris-design.gitee.io/input-group.schema.json", ou = "input-group", au = "A Farris Input Component", su = "object", lu = {
6911
+ const nu = "https://json-schema.org/draft/2020-12/schema", ou = "https://farris-design.gitee.io/input-group.schema.json", au = "input-group", su = "A Farris Input Component", lu = "object", iu = {
6896
6912
  id: {
6897
6913
  description: "The unique identifier for a Input Group",
6898
6914
  type: "string"
@@ -7089,23 +7105,22 @@ const tu = "https://json-schema.org/draft/2020-12/schema", nu = "https://farris-
7089
7105
  type: "string",
7090
7106
  default: ""
7091
7107
  }
7092
- }, iu = [
7093
- "id",
7108
+ }, ru = [
7094
7109
  "type"
7095
- ], ru = [
7110
+ ], uu = [
7096
7111
  "id",
7097
7112
  "appearance",
7098
7113
  "binding",
7099
7114
  "visible"
7100
- ], uu = {
7101
- $schema: tu,
7102
- $id: nu,
7103
- title: ou,
7104
- description: au,
7105
- type: su,
7106
- properties: lu,
7107
- required: iu,
7108
- ignore: ru
7115
+ ], cu = {
7116
+ $schema: nu,
7117
+ $id: ou,
7118
+ title: au,
7119
+ description: su,
7120
+ type: lu,
7121
+ properties: iu,
7122
+ required: ru,
7123
+ ignore: uu
7109
7124
  }, Gn = {
7110
7125
  id: { Type: String, default: "" },
7111
7126
  /** 是否自动完成 */
@@ -7174,15 +7189,15 @@ const tu = "https://json-schema.org/draft/2020-12/schema", nu = "https://farris-
7174
7189
  */
7175
7190
  updateOn: { type: String, default: "blur" }
7176
7191
  };
7177
- ye(Gn, uu, Jr, eu);
7178
- function cu(e, t) {
7192
+ ye(Gn, cu, eu, tu);
7193
+ function du(e, t) {
7179
7194
  const n = v(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
7180
7195
  return { appendedButtonClass: B(() => ({
7181
7196
  "input-group-append": !0,
7182
7197
  "append-force-show": o.value
7183
7198
  })), appendedContent: n, shouldShowAppendedButton: a };
7184
7199
  }
7185
- function du(e, t, n, o) {
7200
+ function fu(e, t, n, o) {
7186
7201
  const { appendedContent: a } = o, s = v(e.enableViewPassword), l = B(() => e.type === "password"), r = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', c = v(!1);
7187
7202
  U(() => [e.readonly, e.disabled], ([g, b]) => {
7188
7203
  l.value && (n.value = g || b ? "password" : n.value, a.value = g || b ? u : a.value);
@@ -7195,7 +7210,7 @@ function du(e, t, n, o) {
7195
7210
  }
7196
7211
  return p(), { isPassword: l, onClickAppendedButton: d };
7197
7212
  }
7198
- function fu(e, t, n) {
7213
+ function pu(e, t, n) {
7199
7214
  const o = v(), {
7200
7215
  onBlurTextBox: a,
7201
7216
  onFocusTextBox: s,
@@ -7235,7 +7250,7 @@ function fu(e, t, n) {
7235
7250
  onKeydown: r
7236
7251
  }, null);
7237
7252
  }
7238
- function pu(e, t, n) {
7253
+ function vu(e, t, n) {
7239
7254
  const {
7240
7255
  canDownward: o,
7241
7256
  canUpward: a,
@@ -7276,12 +7291,12 @@ function pu(e, t, n) {
7276
7291
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
7277
7292
  }, null)])]);
7278
7293
  }
7279
- function vu(e, t) {
7280
- const n = ra(e, t), o = ua(e, t, n), a = ca(e, t, o, n), s = da(e, t, o, n, a), l = pu(e, t, a), {
7294
+ function mu(e, t) {
7295
+ const n = ra(e, t), o = ua(e, t, n), a = ca(e, t, o, n), s = da(e, t, o, n, a), l = vu(e, t, a), {
7281
7296
  displayValue: r,
7282
7297
  modelValue: u,
7283
7298
  getRealValue: c
7284
- } = n, d = fu(e, t, s), {
7299
+ } = n, d = pu(e, t, s), {
7285
7300
  format: p
7286
7301
  } = o, {
7287
7302
  isFocus: g
@@ -7300,7 +7315,7 @@ function vu(e, t) {
7300
7315
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
7301
7316
  }, [d(), b.value && l()]);
7302
7317
  }
7303
- function mu(e, t, n, o) {
7318
+ function gu(e, t, n, o) {
7304
7319
  const a = v(), s = v(e.autocomplete), l = v(e.enableTitle), {
7305
7320
  isPassword: r
7306
7321
  } = n, u = v(e.minLength), c = v(e.maxLength), d = v(e.tabIndex), {
@@ -7346,7 +7361,7 @@ function mu(e, t, n, o) {
7346
7361
  onMousedown: I
7347
7362
  }, null);
7348
7363
  }
7349
- function gu(e, t) {
7364
+ function hu(e, t) {
7350
7365
  const n = B(() => e.useExtendInfo && !!e.extendInfo), o = Be({
7351
7366
  content: e.extendInfo
7352
7367
  });
@@ -7362,7 +7377,7 @@ function gu(e, t) {
7362
7377
  class: "tips-arrow"
7363
7378
  }, null)]), [[Fo("tooltip"), o]]);
7364
7379
  }
7365
- function hu(e, t, n, o, a) {
7380
+ function yu(e, t, n, o, a) {
7366
7381
  const {
7367
7382
  appendedButtonClass: s,
7368
7383
  appendedContent: l
@@ -7414,7 +7429,7 @@ function hu(e, t, n, o, a) {
7414
7429
  class: s.value
7415
7430
  }, [b.value && y(), P && P()]);
7416
7431
  }
7417
- const yu = /* @__PURE__ */ te({
7432
+ const bu = /* @__PURE__ */ te({
7418
7433
  name: "FInputGroup",
7419
7434
  props: Gn,
7420
7435
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
@@ -7423,12 +7438,12 @@ const yu = /* @__PURE__ */ te({
7423
7438
  inputGroupClass: s,
7424
7439
  inputType: l,
7425
7440
  inputGroupStyle: r
7426
- } = a, u = cu(e), {
7441
+ } = a, u = du(e), {
7427
7442
  shouldShowAppendedButton: c
7428
7443
  } = u, d = Do(e, t, a), {
7429
7444
  onMouseEnter: p,
7430
7445
  onMouseLeave: g
7431
- } = d, b = du(e, t, l, u), y = vu(e, t), C = mu(e, t, b, a), _ = hu(e, t, u, d, b), m = gu(e, t), h = B(() => e.type === "number");
7446
+ } = d, b = fu(e, t, l, u), y = mu(e, t), C = gu(e, t, b, a), _ = yu(e, t, u, d, b), m = hu(e, t), h = B(() => e.type === "number");
7432
7447
  U(() => [e.value], ([I]) => {
7433
7448
  n.value = I, o.value = I;
7434
7449
  }), U(() => [e.modelValue], ([I]) => {
@@ -7445,15 +7460,15 @@ const yu = /* @__PURE__ */ te({
7445
7460
  }, [h.value ? y() : i(ve, null, [m(), C(), c.value && _()])])]);
7446
7461
  return () => T();
7447
7462
  }
7448
- }), G = {}, W = {}, X = {}, K = {};
7463
+ }), G = {}, W = {}, X = {}, Y = {};
7449
7464
  let Wt = !1;
7450
- function bu() {
7451
- Wt || (Wt = !0, pa.register(G, W, X, K), fa.register(G, W, X, K), sn.register(G, W, X, K), va.register(G, W, X, K), ma.register(G, W, X, K), tn.register(G, W, X, K), Zo.register(G, W, X, K), Tt.register(G, W, X, K), ga.register(G, W, X, K), ha.register(G, W, X, K), ba.register(G, W, X, K), ya.register(G, W, X, K), Ca.register(G, W, X, K), wa.register(G, W, X, K), xa.register(G, W, X, K), aa.register(G, W, X, K), Sa.register(G, W, X, K), na.register(G, W, X, K), Ta.register(G, W, X, K), ka.register(G, W, X, K), Ia.register(G, W, X, K), Ba.register(G, W, X, K), ln.register(G, W, X, K), Fa.register(G, W, X, K), Ma.register(G, W, X, K), Ea.register(G, W, X, K), Oa.register(G, W, X, K), Pa.register(G, W, X, K), ia.register(G, W, X, K), ta.register(G, W, X, K), Da.register(G, W, X, K), Ra.register(G, W, X, K), oa.register(G, W, X, K), Va.register(G, W, X, K), $a.register(G, W, X, K), ja.register(G, W, X, K), La.register(G, W, X, K), Aa.register(G, W, X, K), Na.register(G, W, X, K), Mt.register(G, W, X, K), ts.register(G, W, X), Ha.register(G, W, X, K), on.register(G, W, X, K), za.register(G, W, X, K), qa.register(G, W, X, K), Ga.register(G, W, X, K), Wa.register(G, W, X, K), ea.register(G, W, X, K), rn.register(G, W, X, K), Ua.register(G, W, X, K), Xa.register(G, W, X, K), Jo.register(G, W, X, K), Ka.register(G, W, X, K), Qa.register(G, W, X, K), Ya.register(G, W, X, K), Za.register(G, W, X, K), Ja.register(G, W, X, K), es.register(G, W, X, K), ns.register(G, W, X, K), _a.register(G, W, X, K), os.register(G, W, X, K));
7452
- }
7453
7465
  function Cu() {
7454
- bu();
7466
+ Wt || (Wt = !0, pa.register(G, W, X, Y), fa.register(G, W, X, Y), sn.register(G, W, X, Y), va.register(G, W, X, Y), ma.register(G, W, X, Y), tn.register(G, W, X, Y), Zo.register(G, W, X, Y), Tt.register(G, W, X, Y), ga.register(G, W, X, Y), ha.register(G, W, X, Y), ba.register(G, W, X, Y), ya.register(G, W, X, Y), Ca.register(G, W, X, Y), wa.register(G, W, X, Y), xa.register(G, W, X, Y), aa.register(G, W, X, Y), Sa.register(G, W, X, Y), na.register(G, W, X, Y), Ta.register(G, W, X, Y), ka.register(G, W, X, Y), Ia.register(G, W, X, Y), Ba.register(G, W, X, Y), ln.register(G, W, X, Y), Fa.register(G, W, X, Y), Ma.register(G, W, X, Y), Ea.register(G, W, X, Y), Oa.register(G, W, X, Y), Pa.register(G, W, X, Y), ia.register(G, W, X, Y), ta.register(G, W, X, Y), Da.register(G, W, X, Y), Ra.register(G, W, X, Y), oa.register(G, W, X, Y), Va.register(G, W, X, Y), $a.register(G, W, X, Y), ja.register(G, W, X, Y), La.register(G, W, X, Y), Aa.register(G, W, X, Y), Na.register(G, W, X, Y), Mt.register(G, W, X, Y), ts.register(G, W, X), Ha.register(G, W, X, Y), on.register(G, W, X, Y), za.register(G, W, X, Y), qa.register(G, W, X, Y), Ga.register(G, W, X, Y), Wa.register(G, W, X, Y), ea.register(G, W, X, Y), rn.register(G, W, X, Y), Ua.register(G, W, X, Y), Xa.register(G, W, X, Y), Jo.register(G, W, X, Y), Ya.register(G, W, X, Y), Qa.register(G, W, X, Y), Ka.register(G, W, X, Y), Za.register(G, W, X, Y), Ja.register(G, W, X, Y), es.register(G, W, X, Y), ns.register(G, W, X, Y), _a.register(G, W, X, Y), os.register(G, W, X, Y));
7467
+ }
7468
+ function wu() {
7469
+ Cu();
7455
7470
  function e(a) {
7456
- return G[a] || yu;
7471
+ return G[a] || bu;
7457
7472
  }
7458
7473
  function t(a, s) {
7459
7474
  const l = W[a];
@@ -7533,7 +7548,7 @@ function Cu() {
7533
7548
  }
7534
7549
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
7535
7550
  }
7536
- const wu = /* @__PURE__ */ te({
7551
+ const xu = /* @__PURE__ */ te({
7537
7552
  name: "FDynamicFormGroup",
7538
7553
  props: qn,
7539
7554
  emits: ["change", "update:modelValue"],
@@ -7545,7 +7560,7 @@ const wu = /* @__PURE__ */ te({
7545
7560
  resolveEditorType: b,
7546
7561
  getChangeFunctionName: y,
7547
7562
  getClearFunctionName: C
7548
- } = Cu(), _ = B(() => ({
7563
+ } = wu(), _ = B(() => ({
7549
7564
  "form-group": !0,
7550
7565
  "farris-form-group": !0,
7551
7566
  "common-group": !0,
@@ -7578,7 +7593,7 @@ const wu = /* @__PURE__ */ te({
7578
7593
  class: "farris-group-wrap"
7579
7594
  }, [i("div", {
7580
7595
  class: _.value
7581
- }, [c.value && i(Zr, {
7596
+ }, [c.value && i(Jr, {
7582
7597
  id: `${n.value}-lable`,
7583
7598
  required: u.value,
7584
7599
  text: s.value,
@@ -7612,53 +7627,53 @@ const wu = /* @__PURE__ */ te({
7612
7627
  */
7613
7628
  N(We, "fieldControlTypeMapping", {
7614
7629
  String: [
7615
- { key: Y["input-group"].type, value: Y["input-group"].name },
7616
- { key: Y.lookup.type, value: Y.lookup.name },
7617
- { key: Y["date-picker"].type, value: Y["date-picker"].name },
7618
- { key: Y["check-box"].type, value: Y["check-box"].name },
7619
- { key: Y["check-group"].type, value: Y["check-group"].name },
7620
- { key: Y["radio-group"].type, value: Y["radio-group"].name },
7621
- { key: Y["combo-list"].type, value: Y["combo-list"].name },
7622
- { key: Y.textarea.type, value: Y.textarea.name }
7630
+ { key: K["input-group"].type, value: K["input-group"].name },
7631
+ { key: K.lookup.type, value: K.lookup.name },
7632
+ { key: K["date-picker"].type, value: K["date-picker"].name },
7633
+ { key: K["check-box"].type, value: K["check-box"].name },
7634
+ { key: K["check-group"].type, value: K["check-group"].name },
7635
+ { key: K["radio-group"].type, value: K["radio-group"].name },
7636
+ { key: K["combo-list"].type, value: K["combo-list"].name },
7637
+ { key: K.textarea.type, value: K.textarea.name }
7623
7638
  ],
7624
7639
  Text: [
7625
- { key: Y.textarea.type, value: Y.textarea.name },
7626
- { key: Y.lookup.type, value: Y.lookup.name }
7640
+ { key: K.textarea.type, value: K.textarea.name },
7641
+ { key: K.lookup.type, value: K.lookup.name }
7627
7642
  ],
7628
7643
  Decimal: [
7629
- { key: Y["number-spinner"].type, value: Y["number-spinner"].name }
7644
+ { key: K["number-spinner"].type, value: K["number-spinner"].name }
7630
7645
  ],
7631
7646
  Integer: [
7632
- { key: Y["number-spinner"].type, value: Y["number-spinner"].name }
7647
+ { key: K["number-spinner"].type, value: K["number-spinner"].name }
7633
7648
  ],
7634
7649
  Number: [
7635
- { key: Y["number-spinner"].type, value: Y["number-spinner"].name }
7650
+ { key: K["number-spinner"].type, value: K["number-spinner"].name }
7636
7651
  ],
7637
7652
  BigNumber: [
7638
- { key: Y["number-spinner"].type, value: Y["number-spinner"].name }
7653
+ { key: K["number-spinner"].type, value: K["number-spinner"].name }
7639
7654
  ],
7640
7655
  Date: [
7641
- { key: Y["date-picker"].type, value: Y["date-picker"].name }
7656
+ { key: K["date-picker"].type, value: K["date-picker"].name }
7642
7657
  ],
7643
7658
  DateTime: [
7644
- { key: Y["date-picker"].type, value: Y["date-picker"].name }
7659
+ { key: K["date-picker"].type, value: K["date-picker"].name }
7645
7660
  ],
7646
7661
  Boolean: [
7647
- { key: Y.switch.type, value: Y.switch.name },
7648
- { key: Y["check-box"].type, value: Y["check-box"].name }
7662
+ { key: K.switch.type, value: K.switch.name },
7663
+ { key: K["check-box"].type, value: K["check-box"].name }
7649
7664
  ],
7650
7665
  Enum: [
7651
- { key: Y["combo-list"].type, value: Y["combo-list"].name },
7652
- { key: Y["radio-group"].type, value: Y["radio-group"].name }
7666
+ { key: K["combo-list"].type, value: K["combo-list"].name },
7667
+ { key: K["radio-group"].type, value: K["radio-group"].name }
7653
7668
  ],
7654
7669
  Object: [
7655
- { key: Y.lookup.type, value: Y.lookup.name },
7656
- { key: Y["combo-list"].type, value: Y["combo-list"].name },
7657
- { key: Y["radio-group"].type, value: Y["radio-group"].name }
7670
+ { key: K.lookup.type, value: K.lookup.name },
7671
+ { key: K["combo-list"].type, value: K["combo-list"].name },
7672
+ { key: K["radio-group"].type, value: K["radio-group"].name }
7658
7673
  ]
7659
7674
  });
7660
7675
  let Ut = We;
7661
- const xu = {
7676
+ const Su = {
7662
7677
  id: { type: String, default: "" },
7663
7678
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
7664
7679
  editor: { type: Object, default: {} },
@@ -7674,12 +7689,12 @@ const xu = {
7674
7689
  selectOnCreated: { type: Boolean, default: !1 }
7675
7690
  };
7676
7691
  ye(
7677
- xu,
7692
+ Su,
7678
7693
  zn,
7679
7694
  jt,
7680
7695
  void 0
7681
7696
  );
7682
- const Su = "https://json-schema.org/draft/2020-12/schema", Tu = "https://farris-design.gitee.io/grid-field-editor.schema.json", _u = "response-form-layout-setting", ku = "A Farris Data Grid Component", Iu = "object", Bu = {
7697
+ const Tu = "https://json-schema.org/draft/2020-12/schema", _u = "https://farris-design.gitee.io/grid-field-editor.schema.json", ku = "response-form-layout-setting", Iu = "A Farris Data Grid Component", Bu = "object", Fu = {
7683
7698
  id: {
7684
7699
  description: "The unique identifier for a Input Group",
7685
7700
  type: "string"
@@ -7699,18 +7714,18 @@ const Su = "https://json-schema.org/draft/2020-12/schema", Tu = "https://farris-
7699
7714
  type: "Object",
7700
7715
  default: null
7701
7716
  }
7702
- }, Fu = [
7717
+ }, Mu = [
7703
7718
  "id",
7704
7719
  "type"
7705
- ], Mu = {
7706
- $schema: Su,
7707
- $id: Tu,
7708
- title: _u,
7709
- description: ku,
7710
- type: Iu,
7711
- properties: Bu,
7712
- required: Fu
7713
- }, Eu = {
7720
+ ], Eu = {
7721
+ $schema: Tu,
7722
+ $id: _u,
7723
+ title: ku,
7724
+ description: Iu,
7725
+ type: Bu,
7726
+ properties: Fu,
7727
+ required: Mu
7728
+ }, Ou = {
7714
7729
  initialState: {
7715
7730
  type: Object,
7716
7731
  default: {
@@ -7721,9 +7736,9 @@ const Su = "https://json-schema.org/draft/2020-12/schema", Tu = "https://farris-
7721
7736
  }
7722
7737
  }
7723
7738
  };
7724
- nn(Eu, Mu, Mr, Dr);
7739
+ nn(Ou, Eu, Er, Rr);
7725
7740
  var Wn = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Wn || {}), Un = /* @__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))(Un || {});
7726
- const Ou = [
7741
+ const Pu = [
7727
7742
  {
7728
7743
  value: "0",
7729
7744
  name: "等于"
@@ -7760,7 +7775,7 @@ const Ou = [
7760
7775
  value: "8",
7761
7776
  name: "结束是"
7762
7777
  }
7763
- ], Pu = {
7778
+ ], Du = {
7764
7779
  "button-edit": ["0", "1", " 6", "7", "8"],
7765
7780
  "check-box": ["0"],
7766
7781
  "combo-list": ["0", "1"],
@@ -7780,14 +7795,14 @@ const Ou = [
7780
7795
  "radio-group": ["0"],
7781
7796
  text: ["0", "1", " 6", "7", "8"]
7782
7797
  };
7783
- function Du(e, t, n) {
7798
+ function Ru(e, t, n) {
7784
7799
  const { fieldMap: o } = n;
7785
7800
  function a(s) {
7786
7801
  const l = o.get(s.fieldCode);
7787
7802
  if (!l)
7788
7803
  return [];
7789
- const r = l.editor.type, u = new Set(Pu[r]);
7790
- return Ou.filter((d) => u.has(d.value));
7804
+ const r = l.editor.type, u = new Set(Du[r]);
7805
+ return Pu.filter((d) => u.has(d.value));
7791
7806
  }
7792
7807
  return { getCompareOperators: a };
7793
7808
  }
@@ -7960,7 +7975,7 @@ function Xn() {
7960
7975
  unGroup: T
7961
7976
  };
7962
7977
  }
7963
- function Ru(e, t, n) {
7978
+ function Vu(e, t, n) {
7964
7979
  const o = v(/* @__PURE__ */ new Set()), a = v(/* @__PURE__ */ new Set()), { conditionGroupMap: s, groupParentMap: l } = n;
7965
7980
  let r, u;
7966
7981
  function c(m) {
@@ -8027,12 +8042,12 @@ const wt = /* @__PURE__ */ te({
8027
8042
  unGroup: T
8028
8043
  } = c, {
8029
8044
  createConditionValue: I
8030
- } = Nn(), M = Ru(e, t, c), {
8045
+ } = Nn(), M = Vu(e, t, c), {
8031
8046
  selectedItems: P,
8032
8047
  toggleSelect: O
8033
8048
  } = M, {
8034
8049
  getCompareOperators: D
8035
- } = Du(e, t, a);
8050
+ } = Ru(e, t, a);
8036
8051
  u(!1), l.value = s(l.value), C(o.value);
8037
8052
  function S(E) {
8038
8053
  var R;
@@ -8080,7 +8095,7 @@ const wt = /* @__PURE__ */ te({
8080
8095
  onChange: (A) => F(A, j)
8081
8096
  }, null)]), i("div", {
8082
8097
  class: "condition-list-item-control mr-3"
8083
- }, [i(wu, {
8098
+ }, [i(xu, {
8084
8099
  editor: (R = r.get(j.fieldCode)) == null ? void 0 : R.editor,
8085
8100
  showLabel: !1,
8086
8101
  modelValue: j.value.value,
@@ -8163,7 +8178,7 @@ const wt = /* @__PURE__ */ te({
8163
8178
  wt.install = (e) => {
8164
8179
  e.component(Gt.name, Gt).component(wt.name, wt);
8165
8180
  };
8166
- const Vu = [
8181
+ const $u = [
8167
8182
  "equal",
8168
8183
  "notEqual",
8169
8184
  "greaterThan",
@@ -8173,16 +8188,16 @@ const Vu = [
8173
8188
  "contain",
8174
8189
  "startWidth",
8175
8190
  "endWidth"
8176
- ], $u = {
8191
+ ], ju = {
8177
8192
  equal: (e, t, n) => e && e[t] === n,
8178
8193
  notEqual: (e, t, n) => e && e[t] !== n,
8179
8194
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
8180
8195
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
8181
8196
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
8182
- }, ju = {
8197
+ }, Lu = {
8183
8198
  equal: (e, t, n) => e && e[t] === n,
8184
8199
  notEqual: (e, t, n) => e && e[t] !== n
8185
- }, Lu = {
8200
+ }, Au = {
8186
8201
  equal: (e, t, n) => {
8187
8202
  if (e) {
8188
8203
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -8225,10 +8240,10 @@ const Vu = [
8225
8240
  }
8226
8241
  return !1;
8227
8242
  }
8228
- }, Au = {
8243
+ }, Nu = {
8229
8244
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
8230
8245
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
8231
- }, Nu = {
8246
+ }, Hu = {
8232
8247
  equal: (e, t, n) => {
8233
8248
  if (e) {
8234
8249
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -8272,13 +8287,13 @@ const Vu = [
8272
8287
  return !1;
8273
8288
  }
8274
8289
  };
8275
- function Hu() {
8290
+ function zu() {
8276
8291
  const e = v([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Xn(), o = /* @__PURE__ */ new Map([
8277
- ["boolean", ju],
8278
- ["datetime", Lu],
8279
- ["enum", Au],
8280
- ["number", Nu],
8281
- ["text", $u]
8292
+ ["boolean", Lu],
8293
+ ["datetime", Au],
8294
+ ["enum", Nu],
8295
+ ["number", Hu],
8296
+ ["text", ju]
8282
8297
  ]);
8283
8298
  function a(p) {
8284
8299
  t.delete(p), e.value = Array.from(t.values());
@@ -8287,7 +8302,7 @@ function Hu() {
8287
8302
  t.clear(), e.value = [];
8288
8303
  }
8289
8304
  function l(p) {
8290
- const { valueType: g } = p.value, b = p.compareType || "0", y = Vu[Number(b)];
8305
+ const { valueType: g } = p.value, b = p.compareType || "0", y = $u[Number(b)];
8291
8306
  return o.get(g)[y];
8292
8307
  }
8293
8308
  function r(p) {
@@ -8311,7 +8326,7 @@ function Hu() {
8311
8326
  }
8312
8327
  return { apply: d, clearCondition: s, conditions: e, removeCondition: a };
8313
8328
  }
8314
- function Kn(e, t) {
8329
+ function Yn(e, t) {
8315
8330
  var m;
8316
8331
  const { idField: n } = t, o = v(e.summary), a = v(e.group), s = v(((m = e.group) == null ? void 0 : m.groupFields) || []), l = B(() => {
8317
8332
  var h;
@@ -8402,7 +8417,7 @@ function Kn(e, t) {
8402
8417
  }
8403
8418
  return { collpaseGroupIconClass: _, generateGroupData: C, groupFields: s, shouldGroupingData: l, showGroupPanel: r };
8404
8419
  }
8405
- function zu(e, t, n, o) {
8420
+ function qu(e, t, n, o) {
8406
8421
  const a = v(!!e.hierarchy), { idField: s } = o, { collapseField: l, hasChildrenField: r, parentIdField: u } = n, c = /* @__PURE__ */ new Map();
8407
8422
  function d(f, w) {
8408
8423
  const k = /* @__PURE__ */ new Map();
@@ -8546,7 +8561,7 @@ function zu(e, t, n, o) {
8546
8561
  }
8547
8562
  return { generateHierarchyData: D, hasRealChildren: P, insertSibling: S, insertChild: F, shouldStratifyData: a, trimmedOriginalData: x };
8548
8563
  }
8549
- const qu = {
8564
+ const Gu = {
8550
8565
  showCloseButton: { type: Boolean, default: !0 },
8551
8566
  position: { type: String, default: "top-center" },
8552
8567
  timeout: { type: Number, default: 3e3 },
@@ -8558,13 +8573,13 @@ const qu = {
8558
8573
  id: { type: String },
8559
8574
  animate: { type: String, default: "fadeIn" },
8560
8575
  options: { type: Object }
8561
- }, Gu = {
8576
+ }, Wu = {
8562
8577
  showCloseButton: { type: Boolean, default: !0 },
8563
8578
  animate: { type: String, default: "fadeIn" },
8564
8579
  options: { type: Object }
8565
8580
  }, Bt = /* @__PURE__ */ te({
8566
8581
  name: "Toast",
8567
- props: Gu,
8582
+ props: Wu,
8568
8583
  emits: ["close", "click"],
8569
8584
  setup: (e, t) => {
8570
8585
  const n = v(e.animate), o = "fadeOut", a = B(() => e.options), s = v(!1), l = B(() => {
@@ -8637,7 +8652,7 @@ const qu = {
8637
8652
  }
8638
8653
  }), nt = /* @__PURE__ */ te({
8639
8654
  name: "Notify",
8640
- props: qu,
8655
+ props: Gu,
8641
8656
  emits: ["close", "empty"],
8642
8657
  setup(e, t) {
8643
8658
  const n = B(() => ({
@@ -8682,7 +8697,7 @@ const qu = {
8682
8697
  }, null)]);
8683
8698
  }
8684
8699
  });
8685
- class Yn {
8700
+ class Kn {
8686
8701
  constructor() {
8687
8702
  N(this, "notifyRefs", []);
8688
8703
  N(this, "globalConfig", Be({}));
@@ -8793,22 +8808,22 @@ class Yn {
8793
8808
  }), this.notifyRefs.length = 0;
8794
8809
  }
8795
8810
  }
8796
- const Wu = Symbol("NOTIFY_SERVICE_TOKEN");
8811
+ const Uu = Symbol("NOTIFY_SERVICE_TOKEN");
8797
8812
  nt.install = (e) => {
8798
8813
  e.component(nt.name, nt), e.component(Bt.name, Bt);
8799
- const t = new Yn();
8800
- e.provide(Wu, t), e.provide("FNotifyService", t);
8814
+ const t = new Kn();
8815
+ e.provide(Uu, t), e.provide("FNotifyService", t);
8801
8816
  };
8802
- function Uu(e, t, n, o, a) {
8817
+ function Xu(e, t, n, o, a) {
8803
8818
  var At;
8804
- const { pageSize: s, total: l, shouldRenderPagination: r, currentPage: u, mode: c } = a, d = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), C = v([]), _ = v([]), m = Hu(), h = Kn(e, o), { generateGroupData: T, groupFields: I, shouldGroupingData: M } = h, P = v(e.data), O = zu(e, P, n, o), {
8819
+ const { pageSize: s, total: l, shouldRenderPagination: r, currentPage: u, mode: c } = a, d = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), b = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), C = v([]), _ = v([]), m = zu(), h = Yn(e, o), { generateGroupData: T, groupFields: I, shouldGroupingData: M } = h, P = v(e.data), O = qu(e, P, n, o), {
8805
8820
  generateHierarchyData: D,
8806
8821
  hasRealChildren: S,
8807
8822
  insertSibling: F,
8808
8823
  insertChild: x,
8809
8824
  shouldStratifyData: f,
8810
8825
  trimmedOriginalData: w
8811
- } = O, { idField: k, reviseIdentifyField: V } = o, L = v(e.newDataItem), $ = v(e.data), E = v(e.data), { flatTreeData: j } = uc(e);
8826
+ } = O, { idField: k, reviseIdentifyField: V } = o, L = v(e.newDataItem), $ = v(e.data), E = v(e.data), { flatTreeData: j } = cc(e);
8812
8827
  function R(H) {
8813
8828
  return j(H);
8814
8829
  }
@@ -8824,13 +8839,13 @@ function Uu(e, t, n, o, a) {
8824
8839
  const le = B(() => {
8825
8840
  var H;
8826
8841
  return ((H = $.value) == null ? void 0 : H.length) || 0;
8827
- }), be = v(e.pagination), Se = new Yn(), ee = B(() => e.hierarchy ? 0 : r.value ? c.value === "server" ? 0 : (u.value - 1) * s.value : 0), re = B(() => r.value ? c.value === "server" ? Math.min(s.value, le.value) : Math.min(ee.value + s.value, l.value, le.value) : le.value);
8842
+ }), be = v(e.pagination), Se = new Kn(), ee = B(() => e.hierarchy ? 0 : r.value ? c.value === "server" ? 0 : (u.value - 1) * s.value : 0), re = B(() => r.value ? c.value === "server" ? Math.min(s.value, le.value) : Math.min(ee.value + s.value, l.value, le.value) : le.value);
8828
8843
  U(() => P.value.length, (H, Q) => {
8829
8844
  H !== Q && (l.value = H);
8830
8845
  });
8831
8846
  function Ce() {
8832
8847
  var _e, Ge;
8833
- $.value = Ee(P.value), M.value && ($.value = T(I.value, P.value, t)), Z = z.value.reduce((De, ue) => (De.set(ue, 0), De), Z);
8848
+ $.value = Me(P.value), M.value && ($.value = T(I.value, P.value, t)), Z = z.value.reduce((De, ue) => (De.set(ue, 0), De), Z);
8834
8849
  const H = ee.value, Q = re.value;
8835
8850
  let J = 0;
8836
8851
  const he = [];
@@ -8937,7 +8952,7 @@ function Uu(e, t, n, o, a) {
8937
8952
  (H - 1) * s.value <= le.value && ge();
8938
8953
  }
8939
8954
  function vo(H) {
8940
- P.value.push(Ee(H)), pe.value = Ce();
8955
+ P.value.push(Me(H)), pe.value = Ce();
8941
8956
  }
8942
8957
  function mo(H = 0) {
8943
8958
  if (!(H > -1))
@@ -9024,7 +9039,7 @@ function Uu(e, t, n, o, a) {
9024
9039
  originalData: P
9025
9040
  };
9026
9041
  }
9027
- function Xu(e) {
9042
+ function Yu(e) {
9028
9043
  v(e.selection.showCheckbox || !1);
9029
9044
  const t = B(() => {
9030
9045
  var l;
@@ -9063,7 +9078,7 @@ function Ku(e, t, n, o, a, s, l, r) {
9063
9078
  }
9064
9079
  return { getVisualData: y, maxVisibleRowIndex: u, minVisibleRowIndex: c, toggleGroupRow: C };
9065
9080
  }
9066
- function Yu() {
9081
+ function Qu() {
9067
9082
  function e(t, n) {
9068
9083
  const {
9069
9084
  formatter: o
@@ -9074,7 +9089,7 @@ function Yu() {
9074
9089
  renderEnumColumn: e
9075
9090
  };
9076
9091
  }
9077
- function Qu() {
9092
+ function Zu() {
9078
9093
  function e(o, a) {
9079
9094
  return o ? i("span", {
9080
9095
  innerHTML: a.formatter.trueText
@@ -9099,7 +9114,7 @@ function Qu() {
9099
9114
  renderBooleanColumn: n
9100
9115
  };
9101
9116
  }
9102
- function Zu() {
9117
+ function Ju() {
9103
9118
  const {
9104
9119
  formatTo: e
9105
9120
  } = Ro();
@@ -9114,7 +9129,7 @@ function Zu() {
9114
9129
  renderDateColumn: n
9115
9130
  };
9116
9131
  }
9117
- function Ju() {
9132
+ function ec() {
9118
9133
  const {
9119
9134
  formatTo: e
9120
9135
  } = Vo();
@@ -9138,16 +9153,16 @@ function Ju() {
9138
9153
  renderNumberColumn: n
9139
9154
  };
9140
9155
  }
9141
- function ec() {
9156
+ function tc() {
9142
9157
  const {
9143
9158
  renderBooleanColumn: e
9144
- } = Qu(), {
9159
+ } = Zu(), {
9145
9160
  renderEnumColumn: t
9146
- } = Yu(), {
9161
+ } = Qu(), {
9147
9162
  renderNumberColumn: n
9148
- } = Ju(), {
9163
+ } = ec(), {
9149
9164
  renderDateColumn: o
9150
- } = Zu();
9165
+ } = Ju();
9151
9166
  function a(r) {
9152
9167
  return r;
9153
9168
  }
@@ -9167,9 +9182,9 @@ function ec() {
9167
9182
  renderFormatColumn: l
9168
9183
  };
9169
9184
  }
9170
- function tc(e, t, n) {
9185
+ function nc(e, t, n) {
9171
9186
  var _;
9172
- const o = v(e.mergeCell), s = ((_ = v(e.rowOption).value) == null ? void 0 : _.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = gr(), { renderFormatColumn: u } = ec();
9187
+ const o = v(e.mergeCell), s = ((_ = v(e.rowOption).value) == null ? void 0 : _.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = hr(), { renderFormatColumn: u } = tc();
9173
9188
  function c(m, h, T, I, M, P = 1) {
9174
9189
  const O = {
9175
9190
  colSpan: P,
@@ -9229,7 +9244,7 @@ function tc(e, t, n) {
9229
9244
  }
9230
9245
  return { createCellByColumn: C, createCellByField: c };
9231
9246
  }
9232
- function nc(e, t, n, o, a, s) {
9247
+ function oc(e, t, n, o, a, s) {
9233
9248
  var m, h;
9234
9249
  const l = v(e.rowOption), r = ((m = l.value) == null ? void 0 : m.height) || 28, u = ((h = l.value) == null ? void 0 : h.wrapContent) || !1, { idField: c } = o, { collapseField: d } = n, { updateRowPosition: p } = a, { createCellByColumn: g } = s;
9235
9250
  function b(T, I, M, P, O, D, S) {
@@ -9287,7 +9302,7 @@ function nc(e, t, n, o, a, s) {
9287
9302
  }
9288
9303
  return { createEmptyRow: b, createNewRowFromDataItem: y, renderDataRow: _ };
9289
9304
  }
9290
- function oc(e, t, n, o) {
9305
+ function ac(e, t, n, o) {
9291
9306
  const a = v(e.summary), { idField: s } = t, { createCellByField: l } = n, { createEmptyRow: r } = o, u = B(() => {
9292
9307
  const g = a.value;
9293
9308
  return (g == null ? void 0 : g.groupFields) || [];
@@ -9315,7 +9330,7 @@ function oc(e, t, n, o) {
9315
9330
  }
9316
9331
  return { renderGroupRow: p };
9317
9332
  }
9318
- function ac(e, t, n, o) {
9333
+ function sc(e, t, n, o) {
9319
9334
  const { idField: a } = t, { createCellByField: s } = n, { createEmptyRow: l } = o;
9320
9335
  function r(u, c, d, p, g, b, y) {
9321
9336
  const C = u.__fv_data_grid_group_field__, _ = l(dt.summary, p, u, c, d, g);
@@ -9323,7 +9338,7 @@ function ac(e, t, n, o) {
9323
9338
  }
9324
9339
  return { renderSummaryRow: r };
9325
9340
  }
9326
- function sc(e, t, n) {
9341
+ function lc(e, t, n) {
9327
9342
  var D;
9328
9343
  const {
9329
9344
  idField: o
@@ -9407,7 +9422,7 @@ function sc(e, t, n) {
9407
9422
  getEditor: O
9408
9423
  };
9409
9424
  }
9410
- function lc(e) {
9425
+ function ic(e) {
9411
9426
  const t = v(e.idField);
9412
9427
  function n(o) {
9413
9428
  if (o && o.length) {
@@ -9417,7 +9432,7 @@ function lc(e) {
9417
9432
  }
9418
9433
  return { idField: t, reviseIdentifyField: n };
9419
9434
  }
9420
- function ic(e, t, n, o, a) {
9435
+ function rc(e, t, n, o, a) {
9421
9436
  const { idField: s } = n, l = v(""), r = B(() => e.selection.enableSelectRow), u = v(e.selection.multiSelect ?? !1), c = v(e.selection.multiSelectMode), d = v(e.selection.showCheckbox), p = v(e.selection.showSelectAll), g = v(e.selectionValues);
9422
9437
  U(() => e.selection.showSelectAll, (R, A) => {
9423
9438
  R !== A && (p.value = R);
@@ -9538,7 +9553,7 @@ function ic(e, t, n, o, a) {
9538
9553
  function Re(e) {
9539
9554
  return typeof e > "u";
9540
9555
  }
9541
- function rc(e) {
9556
+ function uc(e) {
9542
9557
  var p, g, b, y, C, _, m, h;
9543
9558
  const t = v((p = e.pagination) == null ? void 0 : p.enable), n = v(((g = e.pagination) == null ? void 0 : g.index) || 1), o = v((b = e.pagination) == null ? void 0 : b.size), a = v((y = e.pagination) == null ? void 0 : y.sizeLimits), s = v((C = e.pagination) == null ? void 0 : C.mode), l = v((_ = e.pagination) == null ? void 0 : _.showIndex), r = v((m = e.pagination) == null ? void 0 : m.showLimits), u = v(((h = e.pagination) == null ? void 0 : h.total) || 0), c = v(u.value || e.data.length || 0);
9544
9559
  return U(() => {
@@ -9587,16 +9602,16 @@ function rc(e) {
9587
9602
  }
9588
9603
  };
9589
9604
  }
9590
- function uc(e) {
9605
+ function cc(e) {
9591
9606
  const t = "parent", n = "layer", o = "hasChildren", a = (s, l = 1, r = [], u = null) => (s = s || [], s.reduce((c, d) => (d.id = d.id || d.data[e.idField], d[t] = u, d[n] = l, d[o] = !1, d = { ...d, ...d.data }, r.push(d), d.children && d.children.length && (d[o] = !0, a(d.children, l + 1, r, d.id)), c), r), r);
9592
9607
  return { flatTreeData: a };
9593
9608
  }
9594
- const cc = /* @__PURE__ */ te({
9609
+ const dc = /* @__PURE__ */ te({
9595
9610
  name: "FListViewDesign",
9596
9611
  props: ct,
9597
9612
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
9598
9613
  setup(e, t) {
9599
- const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = lc(e), c = Xu(e), d = Kn(e, u), p = rc(e), g = Uu(e, /* @__PURE__ */ new Map(), c, u, p), b = ic(e, g, u, s, t), y = Vn(e, n), C = v(), _ = ae("design-item-context"), m = Ye(C, _), h = B(() => g.dataView.value.length), T = sc(e, t, u), I = mr(), M = tc(e, {}, I), P = nc(e, T, c, u, I, M), O = oc(e, u, M, P), D = ac(e, u, M, P), S = Ku(e, r, g, h, l, P, O, D), {
9614
+ const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = ic(e), c = Yu(e), d = Yn(e, u), p = uc(e), g = Xu(e, /* @__PURE__ */ new Map(), c, u, p), b = rc(e, g, u, s, t), y = Vn(e, n), C = v(), _ = ae("design-item-context"), m = Ke(C, _), h = B(() => g.dataView.value.length), T = lc(e, t, u), I = gr(), M = nc(e, {}, I), P = oc(e, T, c, u, I, M), O = ac(e, u, M, P), D = sc(e, u, M, P), S = Ku(e, r, g, h, l, P, O, D), {
9600
9615
  getVisualData: F
9601
9616
  } = S;
9602
9617
  s.value = F(0, h.value + l - 1), se(() => {
@@ -9710,7 +9725,7 @@ const cc = /* @__PURE__ */ te({
9710
9725
  }, [s.date])])])])]))]);
9711
9726
  };
9712
9727
  }
9713
- }), dc = "https://json-schema.org/draft/2020-12/schema", fc = "https://farris-design.gitee.io/list-view-table.schema.json", pc = "list-view-table", vc = "A Farris Component", mc = "object", gc = {
9728
+ }), fc = "https://json-schema.org/draft/2020-12/schema", pc = "https://farris-design.gitee.io/list-view-table.schema.json", vc = "list-view-table", mc = "A Farris Component", gc = "object", hc = {
9714
9729
  id: {
9715
9730
  description: "The unique identifier for list-view-table",
9716
9731
  type: "string"
@@ -9772,18 +9787,18 @@ const cc = /* @__PURE__ */ te({
9772
9787
  type: "boolean",
9773
9788
  default: !0
9774
9789
  }
9775
- }, hc = [
9790
+ }, yc = [
9776
9791
  "id",
9777
9792
  "type"
9778
- ], yc = {
9779
- $schema: dc,
9780
- $id: fc,
9781
- title: pc,
9782
- description: vc,
9783
- type: mc,
9784
- properties: gc,
9785
- required: hc
9786
- }, bc = "list-view-table", Cc = "A Farris Component", wc = "object", xc = {
9793
+ ], bc = {
9794
+ $schema: fc,
9795
+ $id: pc,
9796
+ title: vc,
9797
+ description: mc,
9798
+ type: gc,
9799
+ properties: hc,
9800
+ required: yc
9801
+ }, Cc = "list-view-table", wc = "A Farris Component", xc = "object", Sc = {
9787
9802
  basic: {
9788
9803
  description: "Basic Infomation",
9789
9804
  title: "基本信息",
@@ -9805,14 +9820,14 @@ const cc = /* @__PURE__ */ te({
9805
9820
  }
9806
9821
  }
9807
9822
  }
9808
- }, Sc = {
9809
- title: bc,
9810
- description: Cc,
9811
- type: wc,
9812
- categories: xc
9823
+ }, Tc = {
9824
+ title: Cc,
9825
+ description: wc,
9826
+ type: xc,
9827
+ categories: Sc
9813
9828
  }, Qn = {
9814
9829
  data: { type: Array, default: [] }
9815
- }, Zn = ye(Qn, yc, Pn, Dn, Sc), Tc = /* @__PURE__ */ te({
9830
+ }, Zn = ye(Qn, bc, Pn, Dn, Tc), _c = /* @__PURE__ */ te({
9816
9831
  name: "FListViewTableDesign",
9817
9832
  props: Qn,
9818
9833
  emits: ["outputValue", "currentEvent", "selectionChanged"],
@@ -9866,7 +9881,7 @@ const cc = /* @__PURE__ */ te({
9866
9881
  desc: "浙江杭州",
9867
9882
  amount: 84.13,
9868
9883
  avatar: "./assets/avatar7.png"
9869
- }], o = B(() => e.data.length > 0 ? e.data : n), a = v(), s = ae("design-item-context"), l = Ye(a, s);
9884
+ }], o = B(() => e.data.length > 0 ? e.data : n), a = v(), s = ae("design-item-context"), l = Ke(a, s);
9870
9885
  return se(() => {
9871
9886
  a.value.componentInstance = l;
9872
9887
  }), t.expose(l.value), () => {
@@ -9914,11 +9929,11 @@ Ie.register = (e, t, n) => {
9914
9929
  e["list-view"] = Ie, t["list-view"] = Rn, e["list-view-table"] = Ft, t["list-view-table"] = Zn;
9915
9930
  };
9916
9931
  Ie.registerDesigner = (e, t, n) => {
9917
- e["list-view"] = cc, t["list-view"] = Rn, e["list-view-table"] = Tc, t["list-view-table"] = Zn;
9932
+ e["list-view"] = dc, t["list-view"] = Rn, e["list-view-table"] = _c, t["list-view-table"] = Zn;
9918
9933
  };
9919
- const _c = /* @__PURE__ */ new Map([
9934
+ const kc = /* @__PURE__ */ new Map([
9920
9935
  ["appearance", Oe]
9921
- ]), kc = "https://json-schema.org/draft/2020-12/schema", Ic = "https://farris-design.gitee.io/pagination.schema.json", Bc = "pagination", Fc = "A Farris Component", Mc = "object", Ec = {
9936
+ ]), Ic = "https://json-schema.org/draft/2020-12/schema", Bc = "https://farris-design.gitee.io/pagination.schema.json", Fc = "pagination", Mc = "A Farris Component", Ec = "object", Oc = {
9922
9937
  id: {
9923
9938
  description: "The unique identifier for a pagination",
9924
9939
  type: "string"
@@ -10010,18 +10025,18 @@ const _c = /* @__PURE__ */ new Map([
10010
10025
  type: "sting",
10011
10026
  default: ""
10012
10027
  }
10013
- }, Oc = [
10028
+ }, Pc = [
10014
10029
  "id",
10015
10030
  "type"
10016
- ], Pc = {
10017
- $schema: kc,
10018
- $id: Ic,
10019
- title: Bc,
10020
- description: Fc,
10021
- type: Mc,
10022
- properties: Ec,
10023
- required: Oc
10024
- }, Dc = "pagination", Rc = "A Farris Component", Vc = "object", $c = {
10031
+ ], Dc = {
10032
+ $schema: Ic,
10033
+ $id: Bc,
10034
+ title: Fc,
10035
+ description: Mc,
10036
+ type: Ec,
10037
+ properties: Oc,
10038
+ required: Pc
10039
+ }, Rc = "pagination", Vc = "A Farris Component", $c = "object", jc = {
10025
10040
  basic: {
10026
10041
  description: "Basic Infomation",
10027
10042
  title: "基本信息",
@@ -10103,13 +10118,13 @@ const _c = /* @__PURE__ */ new Map([
10103
10118
  }
10104
10119
  }
10105
10120
  }
10106
- }, jc = {
10107
- title: Dc,
10108
- description: Rc,
10109
- type: Vc,
10110
- categories: $c
10121
+ }, Lc = {
10122
+ title: Rc,
10123
+ description: Vc,
10124
+ type: $c,
10125
+ categories: jc
10111
10126
  };
10112
- function Lc(e, t, n) {
10127
+ function Ac(e, t, n) {
10113
10128
  return t;
10114
10129
  }
10115
10130
  const Lt = {
@@ -10145,7 +10160,7 @@ const Lt = {
10145
10160
  * 自定义每页数量
10146
10161
  */
10147
10162
  pageList: { type: Array, default: [20, 50, 100] }
10148
- }, Jn = ye(Lt, Pc, _c, Lc, jc);
10163
+ }, Jn = ye(Lt, Dc, kc, Ac, Lc);
10149
10164
  function eo(e, t, n, o) {
10150
10165
  const a = v("跳转至"), s = v(""), l = v(e.value);
10151
10166
  U(l, (d, p) => {
@@ -10428,7 +10443,7 @@ function lo(e) {
10428
10443
  }
10429
10444
  return { pages: t, updatePages: o };
10430
10445
  }
10431
- const Ke = /* @__PURE__ */ te({
10446
+ const Ye = /* @__PURE__ */ te({
10432
10447
  name: "FPagination",
10433
10448
  props: Lt,
10434
10449
  emits: ["change", "pageIndexChanged", "pageSizeChanged", "update:currentPage", "update:pageSize"],
@@ -10507,12 +10522,12 @@ const Ke = /* @__PURE__ */ te({
10507
10522
  style: L.value
10508
10523
  }, [o.value === "default" ? $() : E()])]);
10509
10524
  }
10510
- }), Ac = /* @__PURE__ */ te({
10525
+ }), Nc = /* @__PURE__ */ te({
10511
10526
  name: "FPagination",
10512
10527
  props: Lt,
10513
10528
  emits: ["pageIndexChanged", "pageSizeChanged"],
10514
10529
  setup(e, t) {
10515
- const n = v(!1), o = v(e.mode), a = v(""), s = v(!1), l = v(e.pageSize), r = v(e.currentPage), u = v(e.totalItems), c = v(), d = ae("design-item-context"), p = Ye(c, d);
10530
+ const n = v(!1), o = v(e.mode), a = v(""), s = v(!1), l = v(e.pageSize), r = v(e.currentPage), u = v(e.totalItems), c = v(), d = ae("design-item-context"), p = Ke(c, d);
10516
10531
  se(() => {
10517
10532
  c.value.componentInstance = p;
10518
10533
  }), t.expose(p.value);
@@ -10579,13 +10594,13 @@ const Ke = /* @__PURE__ */ te({
10579
10594
  }, [o.value === "default" ? j() : R()])]);
10580
10595
  }
10581
10596
  });
10582
- Ke.register = (e, t, n) => {
10583
- e.pagination = Ke, t.pagination = Jn;
10597
+ Ye.register = (e, t, n) => {
10598
+ e.pagination = Ye, t.pagination = Jn;
10584
10599
  };
10585
- Ke.registerDesigner = (e, t, n) => {
10586
- e.pagination = Ac, t.pagination = Jn;
10600
+ Ye.registerDesigner = (e, t, n) => {
10601
+ e.pagination = Nc, t.pagination = Jn;
10587
10602
  };
10588
- $o(Ke);
10603
+ $o(Ye);
10589
10604
  const ft = {
10590
10605
  /** 启用分组 */
10591
10606
  enableGroup: { type: Boolean, default: !1 },
@@ -10604,7 +10619,7 @@ const ft = {
10604
10619
  },
10605
10620
  pagination: { type: Boolean, default: !1 },
10606
10621
  editorParams: { type: Object }
10607
- }, Nc = /* @__PURE__ */ te({
10622
+ }, Hc = /* @__PURE__ */ te({
10608
10623
  name: "FSchemaSelectCardView",
10609
10624
  props: ft,
10610
10625
  emits: ["selectionChange"],
@@ -10640,7 +10655,7 @@ const ft = {
10640
10655
  }
10641
10656
  function l() {
10642
10657
  if (e.pagination)
10643
- return i(Ke, {
10658
+ return i(Ye, {
10644
10659
  style: "float:right;",
10645
10660
  mode: "default",
10646
10661
  currentPage: 1,
@@ -10664,7 +10679,7 @@ const ft = {
10664
10679
  footer: l
10665
10680
  });
10666
10681
  }
10667
- }), Hc = /* @__PURE__ */ te({
10682
+ }), zc = /* @__PURE__ */ te({
10668
10683
  name: "FSchemaSelectIconView",
10669
10684
  props: ft,
10670
10685
  emits: ["selectionChange"],
@@ -10706,7 +10721,7 @@ const ft = {
10706
10721
  content: s
10707
10722
  });
10708
10723
  }
10709
- }), zc = /* @__PURE__ */ te({
10724
+ }), qc = /* @__PURE__ */ te({
10710
10725
  name: "FSchemaNavListView",
10711
10726
  props: ft,
10712
10727
  emits: ["selectionChange"],
@@ -10780,7 +10795,7 @@ const ft = {
10780
10795
  content: l
10781
10796
  })])])]);
10782
10797
  }
10783
- }), qc = /* @__PURE__ */ te({
10798
+ }), Gc = /* @__PURE__ */ te({
10784
10799
  name: "FSchemaSelectListView",
10785
10800
  props: ft,
10786
10801
  emits: ["selectionChange"],
@@ -10828,7 +10843,7 @@ const ft = {
10828
10843
  }
10829
10844
  function g() {
10830
10845
  if (e.pagination)
10831
- return i(Ke, {
10846
+ return i(Ye, {
10832
10847
  style: "float:right;",
10833
10848
  mode: "default",
10834
10849
  currentPage: 1,
@@ -10854,7 +10869,7 @@ const ft = {
10854
10869
  });
10855
10870
  }
10856
10871
  });
10857
- function Gc() {
10872
+ function Wc() {
10858
10873
  function e(a, s) {
10859
10874
  return [];
10860
10875
  }
@@ -10869,7 +10884,7 @@ function Gc() {
10869
10884
  }
10870
10885
  return { getNavigationData: e, getRecentlyData: t, getRecommandData: n, getSchemaData: o };
10871
10886
  }
10872
- const Wc = {
10887
+ const Uc = {
10873
10888
  /** 是否展示文案 */
10874
10889
  showMessage: { type: Boolean, default: !0 },
10875
10890
  /** 展示信息 */
@@ -10886,7 +10901,7 @@ const Wc = {
10886
10901
  targetPosition: { type: String, default: "" },
10887
10902
  /** 延迟300毫秒,解决异步加载出现一闪而逝的问题*/
10888
10903
  delay: { type: Number, default: 300 }
10889
- }, Uc = [
10904
+ }, Xc = [
10890
10905
  '<div class="f-loading-round"></div>',
10891
10906
  `<div class="f-loading-dot-wrapper">
10892
10907
  <div class="f-loading-dot">
@@ -10899,10 +10914,10 @@ const Wc = {
10899
10914
  '<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="lds-coffee"><defs><linearGradient id="gradient" x1="0%" x2="0%" y1="0%" y2="100%"><stop offset="10%" stop-color="black" stop-opacity="0"></stop><stop offset="100%" stop-color="white" stop-opacity="1"></stop></linearGradient><mask id="mask" maskUnits="userSpaceOnUse" x="0" y="0" width="100" height="100"><rect x="22" y="8" width="56" height="54" fill="url(#gradient)"></rect></mask><path id="steam" d="M0-4c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9l0,0c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9l0,0 c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9l0,0c-2.1,2.6-2.1,6.4,0,9l0,0 c2.1,2.6,2.1,6.4,0,9l0,0c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9c-2.1,2.6-2.1,6.4,0,9l0,0c2.1,2.6,2.1,6.4,0,9l0,0 c-2.1,2.6-2.1,6.4,0,9h0c2.1,2.6,2.1,6.4,0,9h0c-2.1,2.6-2.1,6.4,0,9h0c2.1,2.6,2.1,6.4,0,9" stroke-width="6" stroke-linecap="round" fill="#f00" stroke="#58a8f6"></path></defs><g mask="url(#mask)"><use x="29" y="1.00876" href="#steam"><animate attributeName="y" calcMode="linear" values="4;-14" keyTimes="0;1" dur="0.5" begin="0s" repeatCount="indefinite"></animate></use><use x="47" y="-5.98248" href="#steam"><animate attributeName="y" calcMode="linear" values="0;-18" keyTimes="0;1" dur="0.25" begin="0s" repeatCount="indefinite"></animate></use><use x="64" y="-8.48686" href="#steam"><animate attributeName="y" calcMode="linear" values="-4;-22" keyTimes="0;1" dur="0.3333333333333333" begin="0s" repeatCount="indefinite"></animate></use></g><path d="M81.2,52.5l-5.2,0V49c0-1.6-1.3-3-3-3H20c-1.6,0-3,1.3-3,3v11.6C17,71.3,25.7,80,36.5,80h20.1 c7.1,0,13.3-3.8,16.7-9.5h8.3c5.2,0,9.3-4.4,9-9.6C90.2,56.1,86,52.5,81.2,52.5z M81.5,67.5h-6.8c0.8-2.2,1.3-4.5,1.3-7v-5h5.5 c3.3,0,6,2.7,6,6S84.8,67.5,81.5,67.5z" fill="#58a8f6"></path><path d="M78.8,88H19.2c-1.1,0-2-0.9-2-2s0.9-2,2-2h59.5c1.1,0,2,0.9,2,2S79.9,88,78.8,88z" fill="rgba(80.78431372549018%,94.50980392156862%,72.15686274509802%,0)"></path></svg>'
10900
10915
  ], ot = /* @__PURE__ */ te({
10901
10916
  name: "FLoading",
10902
- props: Wc,
10917
+ props: Uc,
10903
10918
  emits: ["closed", "hidden"],
10904
10919
  setup(e, t) {
10905
- const n = Uc, o = v(e.showMessage), a = v(e.isActive), s = v(e.message), l = v(e.width), r = v(e.type), u = v(null), c = v(null);
10920
+ const n = Xc, o = v(e.showMessage), a = v(e.isActive), s = v(e.message), l = v(e.width), r = v(e.type), u = v(null), c = v(null);
10906
10921
  let d = "", p;
10907
10922
  const g = B(() => r.value && r.value in [0, 1, 2] ? r.value : 0);
10908
10923
  se(() => {
@@ -10979,7 +10994,7 @@ const Wc = {
10979
10994
  });
10980
10995
  let io = -1;
10981
10996
  const Ae = {};
10982
- function Xc(e) {
10997
+ function Yc(e) {
10983
10998
  const t = document.createElement("div"), n = e.target || document.body, o = !!e.targetPosition;
10984
10999
  let a = "unset";
10985
11000
  if (o) {
@@ -10988,7 +11003,7 @@ function Xc(e) {
10988
11003
  } = window.getComputedStyle(n);
10989
11004
  a = r, n.style.position = e.targetPosition;
10990
11005
  }
10991
- const s = Yc();
11006
+ const s = Qc();
10992
11007
  io = s;
10993
11008
  const l = ut({
10994
11009
  setup() {
@@ -11014,7 +11029,7 @@ function Kc() {
11014
11029
  const e = Object.keys(Ae).map((t) => parseInt(t, 10));
11015
11030
  return e.length ? Math.max(...e) : 0;
11016
11031
  }
11017
- function Yc() {
11032
+ function Qc() {
11018
11033
  return Kc() + 1;
11019
11034
  }
11020
11035
  class ro {
@@ -11025,7 +11040,7 @@ class ro {
11025
11040
  targetPosition: "",
11026
11041
  ...t
11027
11042
  };
11028
- return Xc(n);
11043
+ return Yc(n);
11029
11044
  }
11030
11045
  static close(t, n = () => {
11031
11046
  }) {
@@ -11048,9 +11063,9 @@ const it = /* @__PURE__ */ te({
11048
11063
  props: ss,
11049
11064
  emits: ["selectionChange"],
11050
11065
  setup(e, t) {
11051
- const n = v(e.viewType), o = v(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", Nc], ["Icon", Hc], ["List", qc]]), s = e.injectSymbolToken, l = v("");
11066
+ const n = v(e.viewType), o = v(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", Hc], ["Icon", zc], ["List", Gc]]), s = e.injectSymbolToken, l = v("");
11052
11067
  Xe("F_SCHEMA_SELECTOR_SEARCH_VALUE", l), Xe("FLoadingService", ro);
11053
- const r = ae(s, Gc()), u = /* @__PURE__ */ new Map([["Recent", r.getRecentlyData], ["Recommand", r.getRecommandData], ["Total", r.getSchemaData]]);
11068
+ const r = ae(s, Wc()), u = /* @__PURE__ */ new Map([["Recent", r.getRecentlyData], ["Recommand", r.getRecommandData], ["Total", r.getSchemaData]]);
11054
11069
  function c(h) {
11055
11070
  t.emit("selectionChange", h);
11056
11071
  }
@@ -11101,7 +11116,7 @@ const it = /* @__PURE__ */ te({
11101
11116
  }
11102
11117
  function C() {
11103
11118
  const h = r.getSchemaData, T = r.getNavigationData;
11104
- return i(zc, {
11119
+ return i(qc, {
11105
11120
  getData: h,
11106
11121
  getCategory: T
11107
11122
  }, null);
@@ -11111,13 +11126,13 @@ const it = /* @__PURE__ */ te({
11111
11126
  class: "f-schema-selector"
11112
11127
  }, [m && m()]);
11113
11128
  }
11114
- }), Qc = /* @__PURE__ */ new Map([
11129
+ }), Zc = /* @__PURE__ */ new Map([
11115
11130
  ["appearance", Oo]
11116
11131
  ]);
11117
- function Zc(e, t, n) {
11132
+ function Jc(e, t, n) {
11118
11133
  return t;
11119
11134
  }
11120
- const Jc = "https://json-schema.org/draft/2020-12/schema", ed = "https://farris-design.gitee.io/button-edit.schema.json", td = "button-edit", nd = "A Farris Input Component", od = "object", ad = {
11135
+ const ed = "https://json-schema.org/draft/2020-12/schema", td = "https://farris-design.gitee.io/button-edit.schema.json", nd = "button-edit", od = "A Farris Input Component", ad = "object", sd = {
11121
11136
  id: {
11122
11137
  description: "The unique identifier for a Input Group",
11123
11138
  type: "string"
@@ -11301,18 +11316,18 @@ const Jc = "https://json-schema.org/draft/2020-12/schema", ed = "https://farris-
11301
11316
  type: "string",
11302
11317
  default: ""
11303
11318
  }
11304
- }, sd = [
11319
+ }, ld = [
11305
11320
  "id",
11306
11321
  "type"
11307
- ], ld = {
11308
- $schema: Jc,
11309
- $id: ed,
11310
- title: td,
11311
- description: nd,
11312
- type: od,
11313
- properties: ad,
11314
- required: sd
11315
- }, id = "buttonEdit", rd = "A Farris Component", ud = "object", cd = {
11322
+ ], id = {
11323
+ $schema: ed,
11324
+ $id: td,
11325
+ title: nd,
11326
+ description: od,
11327
+ type: ad,
11328
+ properties: sd,
11329
+ required: ld
11330
+ }, rd = "buttonEdit", ud = "A Farris Component", cd = "object", dd = {
11316
11331
  basic: {
11317
11332
  description: "Basic Infomation",
11318
11333
  title: "基本信息",
@@ -11394,11 +11409,11 @@ const Jc = "https://json-schema.org/draft/2020-12/schema", ed = "https://farris-
11394
11409
  }
11395
11410
  }
11396
11411
  }
11397
- }, dd = {
11398
- title: id,
11399
- description: rd,
11400
- type: ud,
11401
- categories: cd
11412
+ }, fd = {
11413
+ title: rd,
11414
+ description: ud,
11415
+ type: cd,
11416
+ categories: dd
11402
11417
  }, uo = {
11403
11418
  /**
11404
11419
  * 组件标识
@@ -11508,14 +11523,14 @@ const Jc = "https://json-schema.org/draft/2020-12/schema", ed = "https://farris-
11508
11523
  /** 更新方式 blur | change */
11509
11524
  updateOn: { type: String, default: "change" }
11510
11525
  };
11511
- ye(uo, ld, Qc, Zc, dd);
11512
- const fd = {
11526
+ ye(uo, id, Zc, Jc, fd);
11527
+ const pd = {
11513
11528
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
11514
11529
  host: { type: Object },
11515
11530
  backgroundColor: { type: String, default: "" }
11516
- }, pd = /* @__PURE__ */ te({
11531
+ }, vd = /* @__PURE__ */ te({
11517
11532
  name: "FOverlay",
11518
- props: fd,
11533
+ props: pd,
11519
11534
  emits: ["click"],
11520
11535
  setup(e, t) {
11521
11536
  const n = v(e.popupContentPosition), o = v(e.host), a = B(() => ({
@@ -11545,7 +11560,7 @@ const fd = {
11545
11560
  // left: `${position.value.left}px`,
11546
11561
  // top: `${position.value.top}px`
11547
11562
  }));
11548
- return () => i(Yt, {
11563
+ return () => i(Kt, {
11549
11564
  to: "body"
11550
11565
  }, {
11551
11566
  default: () => {
@@ -11561,13 +11576,13 @@ const fd = {
11561
11576
  });
11562
11577
  }
11563
11578
  });
11564
- function vd(e) {
11579
+ function md(e) {
11565
11580
  if (e.content && e.content.render)
11566
11581
  return e.content.render;
11567
11582
  if (e.render && typeof e.render == "function")
11568
11583
  return e.render;
11569
11584
  }
11570
- function md(e) {
11585
+ function gd(e) {
11571
11586
  const t = document.createElement("div");
11572
11587
  t.style.display = "contents";
11573
11588
  let n;
@@ -11580,8 +11595,8 @@ function md(e) {
11580
11595
  $e(() => {
11581
11596
  document.body.removeChild(t);
11582
11597
  });
11583
- const s = vd(e);
11584
- return () => i(pd, {
11598
+ const s = md(e);
11599
+ return () => i(vd, {
11585
11600
  "popup-content-position": e.popupPosition,
11586
11601
  host: e.host,
11587
11602
  onClick: a,
@@ -11592,9 +11607,9 @@ function md(e) {
11592
11607
  }
11593
11608
  }), document.body.appendChild(t), n.mount(t), n;
11594
11609
  }
11595
- class gd {
11610
+ class hd {
11596
11611
  static show(t) {
11597
- return md(t);
11612
+ return gd(t);
11598
11613
  }
11599
11614
  }
11600
11615
  function co(e, t) {
@@ -11611,11 +11626,11 @@ function co(e, t) {
11611
11626
  }
11612
11627
  return { judgeCanOpen: n };
11613
11628
  }
11614
- function hd(e, t, n, o, a) {
11629
+ function yd(e, t, n, o, a) {
11615
11630
  const s = v(e.buttonBehavior), l = v(e.popupOnInput), r = B(() => ({
11616
11631
  "input-group-append": !0,
11617
11632
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
11618
- })), { judgeCanOpen: u } = co(e, a), c = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ae(il, null), p = v();
11633
+ })), { judgeCanOpen: u } = co(e, a), c = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ae(rl, null), p = v();
11619
11634
  async function g(C) {
11620
11635
  if (await u() && c.value) {
11621
11636
  const _ = !!t.slots.default;
@@ -11626,7 +11641,7 @@ function hd(e, t, n, o, a) {
11626
11641
  });
11627
11642
  p.value = h == null ? void 0 : h.modalRef;
11628
11643
  }
11629
- s.value === "Overlay" && gd.show({
11644
+ s.value === "Overlay" && hd.show({
11630
11645
  // host: buttonEditRef.value,
11631
11646
  host: document.body,
11632
11647
  backgroundColor: "rgba(0,0,0,.15)",
@@ -11648,7 +11663,7 @@ function hd(e, t, n, o, a) {
11648
11663
  modalRef: p
11649
11664
  };
11650
11665
  }
11651
- function yd(e, t, n, o, a, s) {
11666
+ function bd(e, t, n, o, a, s) {
11652
11667
  const l = v(!1), r = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
11653
11668
  function c(b) {
11654
11669
  l.value = b;
@@ -11680,7 +11695,7 @@ function yd(e, t, n, o, a, s) {
11680
11695
  onMouseLeaveTextBox: g
11681
11696
  };
11682
11697
  }
11683
- function bd(e, t, n, o, a) {
11698
+ function Cd(e, t, n, o, a) {
11684
11699
  const s = B(() => e.popupOnInput), l = B(() => e.popupOnFocus), { shouldPopupContent: r } = a, u = B(() => e.enableTitle ? n.value : ""), c = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = B(() => e.readonly || !e.editable), p = v(!1), g = B(() => !e.disable && p.value), b = B(() => ({
11685
11700
  "text-left": e.textAlign === "left",
11686
11701
  "text-center": e.textAlign === "center",
@@ -11752,7 +11767,7 @@ function bd(e, t, n, o, a) {
11752
11767
  onTextBoxValueChange: D
11753
11768
  };
11754
11769
  }
11755
- function Cd(e, t, n, o) {
11770
+ function wd(e, t, n, o) {
11756
11771
  const a = v(), s = v(!1), { judgeCanOpen: l } = co(e, o);
11757
11772
  function r() {
11758
11773
  const p = a.value;
@@ -11777,7 +11792,7 @@ function Cd(e, t, n, o) {
11777
11792
  }
11778
11793
  return { hidePopup: d, popup: c, shouldPopupContent: s, togglePopup: u, popoverRef: a };
11779
11794
  }
11780
- function wd(e, t, n) {
11795
+ function xd(e, t, n) {
11781
11796
  const o = v(), {
11782
11797
  isTextBoxReadonly: a,
11783
11798
  textBoxClass: s,
@@ -11819,7 +11834,7 @@ function wd(e, t, n) {
11819
11834
  onMousedown: y
11820
11835
  }, null);
11821
11836
  }
11822
- function xd(e, t, n) {
11837
+ function Sd(e, t, n) {
11823
11838
  const o = v(e.separator), {
11824
11839
  changeTextBoxValue: a
11825
11840
  } = n, s = B(() => t.value ? t.value.split(o.value).map((r) => ({
@@ -11838,7 +11853,7 @@ function xd(e, t, n) {
11838
11853
  onChange: l
11839
11854
  }, null);
11840
11855
  }
11841
- function Sd(e, t, n, o) {
11856
+ function Td(e, t, n, o) {
11842
11857
  const {
11843
11858
  buttonGroupClass: a,
11844
11859
  onClickButton: s,
@@ -11874,7 +11889,7 @@ function Sd(e, t, n, o) {
11874
11889
  buttonHandleElement: p
11875
11890
  };
11876
11891
  }
11877
- function Td(e, t, n) {
11892
+ function _d(e, t, n) {
11878
11893
  const o = v(e.popupMinWidth), {
11879
11894
  hidePopup: a,
11880
11895
  popoverRef: s
@@ -11898,20 +11913,20 @@ function Td(e, t, n) {
11898
11913
  }
11899
11914
  });
11900
11915
  }
11901
- const _d = /* @__PURE__ */ te({
11916
+ const kd = /* @__PURE__ */ te({
11902
11917
  name: "FButtonEdit",
11903
11918
  props: uo,
11904
11919
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
11905
11920
  setup(e, t) {
11906
- const n = v(), o = v(e.customClass), a = v(e.modelValue), s = Cd(e, t, n, a), {
11921
+ const n = v(), o = v(e.customClass), a = v(e.modelValue), s = wd(e, t, n, a), {
11907
11922
  shouldPopupContent: l,
11908
11923
  hidePopup: r,
11909
11924
  togglePopup: u
11910
- } = s, c = hd(e, t, n, s, a), d = v(""), p = bd(e, t, a, d, s), {
11925
+ } = s, c = yd(e, t, n, s, a), d = v(""), p = Cd(e, t, a, d, s), {
11911
11926
  hasFocusedTextBox: g,
11912
11927
  commitValue: b,
11913
11928
  inputGroupClass: y
11914
- } = p, C = yd(e, t, a, g, d, p), {
11929
+ } = p, C = bd(e, t, a, g, d, p), {
11915
11930
  onMouseEnterTextBox: _,
11916
11931
  onMouseLeaveTextBox: m
11917
11932
  } = C, h = B(() => {
@@ -11923,7 +11938,7 @@ const _d = /* @__PURE__ */ te({
11923
11938
  return o.value && o.value.split(" ").reduce((F, x) => (F[x] = !0, F), S), S;
11924
11939
  });
11925
11940
  function T() {
11926
- return e.multiSelect && e.inputType === "tag" ? xd(e, a, p) : wd(e, a, p);
11941
+ return e.multiSelect && e.inputType === "tag" ? Sd(e, a, p) : xd(e, a, p);
11927
11942
  }
11928
11943
  let I = T();
11929
11944
  U([() => e.multiSelect, () => e.inputType], () => {
@@ -11932,7 +11947,7 @@ const _d = /* @__PURE__ */ te({
11932
11947
  const {
11933
11948
  renderButtonGroup: M,
11934
11949
  buttonHandleElement: P
11935
- } = Sd(e, t, c, C), O = Td(e, t, s), D = {
11950
+ } = Td(e, t, c, C), O = _d(e, t, s), D = {
11936
11951
  commitValue: b,
11937
11952
  elementRef: n,
11938
11953
  hidePopup: r,
@@ -11961,7 +11976,7 @@ const _d = /* @__PURE__ */ te({
11961
11976
  onMouseleave: m
11962
11977
  }, [I(), M()])]), l.value && O()]);
11963
11978
  }
11964
- }), kd = "https://json-schema.org/draft/2020-12/schema", Id = "https://farris-design.gitee.io/schema-editor.schema.json", Bd = "schema-editor", Fd = "A Farris Input Component", Md = "object", Ed = {
11979
+ }), Id = "https://json-schema.org/draft/2020-12/schema", Bd = "https://farris-design.gitee.io/schema-editor.schema.json", Fd = "schema-editor", Md = "A Farris Input Component", Ed = "object", Od = {
11965
11980
  title: {
11966
11981
  description: "",
11967
11982
  type: "string",
@@ -12017,15 +12032,15 @@ const _d = /* @__PURE__ */ te({
12017
12032
  type: "object",
12018
12033
  default: null
12019
12034
  }
12020
- }, Od = [], Pd = [], Dd = {
12021
- $schema: kd,
12022
- $id: Id,
12023
- title: Bd,
12024
- description: Fd,
12025
- type: Md,
12026
- properties: Ed,
12027
- required: Od,
12028
- ignore: Pd
12035
+ }, Pd = [], Dd = [], Rd = {
12036
+ $schema: Id,
12037
+ $id: Bd,
12038
+ title: Fd,
12039
+ description: Md,
12040
+ type: Ed,
12041
+ properties: Od,
12042
+ required: Pd,
12043
+ ignore: Dd
12029
12044
  }, fo = {
12030
12045
  title: { type: String, default: "选择数据源" },
12031
12046
  textField: { type: String, default: "name" },
@@ -12038,7 +12053,7 @@ const _d = /* @__PURE__ */ te({
12038
12053
  disabled: { type: Boolean, default: !1 },
12039
12054
  readonly: { type: Boolean, default: !1 },
12040
12055
  modelValue: { type: Object, default: null }
12041
- }, Rd = ye(fo, Dd), xt = /* @__PURE__ */ te({
12056
+ }, Vd = ye(fo, Rd), xt = /* @__PURE__ */ te({
12042
12057
  name: "FSchemaSelectorEditor",
12043
12058
  props: fo,
12044
12059
  emits: ["selectionChange", "update:modelValue"],
@@ -12101,7 +12116,7 @@ const _d = /* @__PURE__ */ te({
12101
12116
  function b() {
12102
12117
  e.beforeOpenDialog && e.beforeOpenDialog({});
12103
12118
  }
12104
- return () => i(_d, {
12119
+ return () => i(kd, {
12105
12120
  modelValue: l.value,
12106
12121
  "onUpdate:modelValue": (y) => l.value = y,
12107
12122
  editable: !1,
@@ -12119,17 +12134,17 @@ const _d = /* @__PURE__ */ te({
12119
12134
  }, [p()])]
12120
12135
  });
12121
12136
  }
12122
- }), op = {
12137
+ }), ap = {
12123
12138
  install(e) {
12124
12139
  e.component(it.name, it), e.component(xt.name, xt);
12125
12140
  },
12126
12141
  register(e, t, n) {
12127
- e["schema-selector"] = xt, t["schema-selector"] = Rd;
12142
+ e["schema-selector"] = xt, t["schema-selector"] = Vd;
12128
12143
  }
12129
12144
  };
12130
12145
  export {
12131
12146
  it as FSchemaSelector,
12132
12147
  xt as FSchemaSelectorEditor,
12133
- op as default,
12148
+ ap as default,
12134
12149
  ss as schemaSelectorProps
12135
12150
  };