@farris/ui-vue 1.3.3 → 1.3.4

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 (66) hide show
  1. package/components/binding-selector/index.esm.js +15 -15
  2. package/components/binding-selector/index.umd.cjs +1 -1
  3. package/components/condition/index.esm.js +107 -106
  4. package/components/condition/index.umd.cjs +1 -1
  5. package/components/data-grid/index.esm.js +1078 -1077
  6. package/components/data-grid/index.umd.cjs +1 -1
  7. package/components/data-view/index.esm.js +1272 -1272
  8. package/components/data-view/index.umd.cjs +1 -1
  9. package/components/designer-canvas/index.esm.js +4355 -3954
  10. package/components/designer-canvas/index.umd.cjs +1 -1
  11. package/components/dynamic-form/index.esm.js +601 -593
  12. package/components/dynamic-form/index.umd.cjs +1 -1
  13. package/components/event-parameter/index.esm.js +161 -117
  14. package/components/event-parameter/index.umd.cjs +1 -1
  15. package/components/events-editor/index.css +1 -1
  16. package/components/events-editor/index.esm.js +594 -575
  17. package/components/events-editor/index.umd.cjs +1 -1
  18. package/components/external-container/index.esm.js +771 -771
  19. package/components/external-container/index.umd.cjs +1 -1
  20. package/components/field-selector/index.esm.js +1268 -1268
  21. package/components/field-selector/index.umd.cjs +1 -1
  22. package/components/filter-bar/index.css +1 -1
  23. package/components/filter-bar/index.esm.js +3768 -3700
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/flow-canvas/index.esm.js +4274 -3873
  26. package/components/flow-canvas/index.umd.cjs +1 -1
  27. package/components/list-view/index.esm.js +935 -935
  28. package/components/list-view/index.umd.cjs +1 -1
  29. package/components/lookup/index.esm.js +1672 -1671
  30. package/components/lookup/index.umd.cjs +1 -1
  31. package/components/mapping-editor/index.esm.js +1107 -1106
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/property-panel/index.css +1 -1
  34. package/components/query-solution/index.css +1 -1
  35. package/components/query-solution/index.esm.js +5721 -5490
  36. package/components/query-solution/index.umd.cjs +6 -6
  37. package/components/schema-selector/index.esm.js +974 -972
  38. package/components/schema-selector/index.umd.cjs +2 -2
  39. package/components/section/index.esm.js +2107 -417
  40. package/components/section/index.umd.cjs +1 -1
  41. package/components/tabs/index.esm.js +577 -575
  42. package/components/tabs/index.umd.cjs +1 -1
  43. package/components/textarea/index.esm.js +84 -79
  44. package/components/textarea/index.umd.cjs +1 -1
  45. package/components/tree-grid/index.esm.js +1554 -1554
  46. package/components/tree-grid/index.umd.cjs +1 -1
  47. package/components/tree-view/index.esm.js +1269 -1269
  48. package/components/tree-view/index.umd.cjs +1 -1
  49. package/farris.all.esm.js +17526 -17071
  50. package/farris.all.umd.cjs +13 -13
  51. package/index.css +1 -1
  52. package/package.json +1 -1
  53. package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +1 -2
  54. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +14 -3
  55. package/types/entity-binding-selector/composition/use-field-tree.d.ts +28 -0
  56. package/types/event-parameter/src/composition/use-general-editor.d.ts +26 -0
  57. package/types/event-parameter/src/event-parameter.props.d.ts +4 -4
  58. package/types/events-editor/src/composition/types.d.ts +1 -1
  59. package/types/query-solution/src/composition/types.d.ts +55 -0
  60. package/types/query-solution/src/composition/use-condition.d.ts +19 -0
  61. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +3 -2
  62. package/types/query-solution/src/designer/query-solution-config/converter/query-solution-config-property.converter.d.ts +4 -0
  63. package/types/section/index.d.ts +15 -0
  64. package/types/section/src/designer/section-header.design.component.d.ts +4 -0
  65. package/types/section/src/designer/section-toolbar-item.props.d.ts +19 -0
  66. package/types/section/src/designer/section-toolbar.design.component.d.ts +3 -0
@@ -1,89 +1,89 @@
1
- var _o = Object.defineProperty;
2
- var ko = (e, t, n) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var N = (e, t, n) => ko(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as v, watch as G, nextTick as xe, computed as B, createVNode as i, onMounted as le, withDirectives as rt, vModelText as Kt, 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 Qt, Transition as Zt, createApp as ut, render as bt, h as Io, cloneVNode as Bo, mergeProps as Ne, reactive as Be, getCurrentInstance as Fo, onBeforeUnmount as Jt, withModifiers as en, resolveComponent as tn, resolveDirective as Mo, watchEffect as Eo, vShow as Oo } from "vue";
5
- import { cloneDeep as Ve, isPlainObject as Ht } from "lodash-es";
6
- import nn from "../capsule/index.esm.js";
1
+ var To = Object.defineProperty;
2
+ var _o = (e, t, n) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
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";
6
+ import tn from "../capsule/index.esm.js";
7
7
  import Mt from "../response-toolbar/index.esm.js";
8
- import { createPropsResolver as on, resolveAppearance as Po } from "../dynamic-resolver/index.esm.js";
9
- import an from "../section/index.esm.js";
10
- import { useDesignerInnerComponent as sn } from "../designer-canvas/index.esm.js";
11
- import { getCustomClass as St, useTextBox as Do, useClear as Ro, useDateFormat as Vo, useNumberFormat as $o, resolveField as Ze, setFieldValue as zt, withInstall as jo } from "../common/index.esm.js";
8
+ import { createPropsResolver as nn, resolveAppearance as Oo } from "../dynamic-resolver/index.esm.js";
9
+ import on from "../section/index.esm.js";
10
+ import { useDesignerInnerComponent as an } from "../designer-canvas/index.esm.js";
11
+ import { getCustomClass as St, useTextBox as Po, useClear as Do, useDateFormat as Ro, useNumberFormat as Vo, resolveField as Ze, setFieldValue as Ht, withInstall as $o } from "../common/index.esm.js";
12
12
  import "bignumber.js";
13
- import ln from "../button-edit/index.esm.js";
14
- import rn from "../list-view/index.esm.js";
15
- import Lo from "../loading/index.esm.js";
16
- import { useIdentify as Ao, useHierarchy as No, useGroupData as Ho, usePagination as zo, useDataView as qo, useSelection as Go, useEdit as Wo, useVisualDataBound as Uo, useVisualDataCell as Xo, useVisualDataRow as Ko, useVisualGroupRow as Yo, useVisualSummaryRow as Qo, useVisualData as Zo } from "../data-view/index.esm.js";
17
- import Jo, { FCheckBox as Et } from "../checkbox/index.esm.js";
13
+ import sn from "../button-edit/index.esm.js";
14
+ import ln from "../list-view/index.esm.js";
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";
17
+ import Zo, { FCheckBox as Et } from "../checkbox/index.esm.js";
18
18
  import "../modal/index.esm.js";
19
- import ea from "../transfer/index.esm.js";
20
- import ta from "../tabs/index.esm.js";
21
- import na from "../order/index.esm.js";
19
+ import Jo from "../transfer/index.esm.js";
20
+ import ea from "../tabs/index.esm.js";
21
+ import ta from "../order/index.esm.js";
22
22
  import "../condition/index.esm.js";
23
- import oa from "../filter-bar/index.esm.js";
24
- import aa from "../pagination/index.esm.js";
25
- import sa, { FDynamicFormGroup as la, FDynamicFormInput as ia } from "../dynamic-form/index.esm.js";
23
+ import na from "../filter-bar/index.esm.js";
24
+ import oa from "../pagination/index.esm.js";
25
+ import aa, { FDynamicFormGroup as sa, FDynamicFormInput as la } from "../dynamic-form/index.esm.js";
26
26
  import Tt from "../combo-list/index.esm.js";
27
- import ra, { useNumber as ua, useFormat as ca, useSpinner as da, useTextBox as fa } from "../number-spinner/index.esm.js";
28
- import pa from "../accordion/index.esm.js";
29
- import va from "../avatar/index.esm.js";
30
- import ma from "../button-group/index.esm.js";
31
- import ga from "../calendar/index.esm.js";
32
- import ha from "../combo-tree/index.esm.js";
33
- import ya from "../component/index.esm.js";
34
- import ba from "../color-picker/index.esm.js";
35
- import Ca from "../content-container/index.esm.js";
36
- import wa from "../date-picker/index.esm.js";
37
- import xa from "../data-grid/index.esm.js";
38
- import Sa from "../dropdown/index.esm.js";
39
- import Ta from "../events-editor/index.esm.js";
40
- import _a from "../field-selector/index.esm.js";
41
- import ka from "../binding-selector/index.esm.js";
42
- import Ia from "../image-cropper/index.esm.js";
43
- import Ba from "../input-group/index.esm.js";
44
- import Fa from "../layout/index.esm.js";
45
- import Ma from "../list-nav/index.esm.js";
46
- import Ea from "../lookup/index.esm.js";
47
- import Oa from "../mapping-editor/index.esm.js";
48
- import Pa from "../nav/index.esm.js";
49
- import Da from "../number-range/index.esm.js";
50
- import Ra from "../page-header/index.esm.js";
51
- import Va from "../page-footer/index.esm.js";
52
- import $a from "../progress/index.esm.js";
53
- import ja from "../query-solution/index.esm.js";
54
- import La from "../radio-group/index.esm.js";
55
- import Aa from "../rate/index.esm.js";
56
- import Na from "../response-layout/index.esm.js";
57
- import Ha from "../response-layout-editor/index.esm.js";
58
- import za from "../search-box/index.esm.js";
59
- import qa from "../smoke-detector/index.esm.js";
60
- import Ga from "../splitter/index.esm.js";
61
- import Wa from "../step/index.esm.js";
62
- import Ua from "../switch/index.esm.js";
63
- import un from "../tags/index.esm.js";
64
- import Xa from "../text/index.esm.js";
65
- import Ka from "../time-picker/index.esm.js";
66
- import Ya from "../tree-view/index.esm.js";
67
- import Qa from "../uploader/index.esm.js";
68
- import Za from "../verify-detail/index.esm.js";
69
- import Ja from "../weather/index.esm.js";
70
- import es from "../video/index.esm.js";
71
- import ts from "../textarea/index.esm.js";
72
- import ns from "../schema-selector/index.esm.js";
73
- import os from "../tree-grid/index.esm.js";
74
- import as from "../event-parameter/index.esm.js";
27
+ import ia, { useNumber as ra, useFormat as ua, useSpinner as ca, useTextBox as da } from "../number-spinner/index.esm.js";
28
+ import fa from "../accordion/index.esm.js";
29
+ import pa from "../avatar/index.esm.js";
30
+ import va from "../button-group/index.esm.js";
31
+ import ma from "../calendar/index.esm.js";
32
+ import ga from "../combo-tree/index.esm.js";
33
+ import ha from "../component/index.esm.js";
34
+ import ya from "../color-picker/index.esm.js";
35
+ import ba from "../content-container/index.esm.js";
36
+ import Ca from "../date-picker/index.esm.js";
37
+ import wa from "../data-grid/index.esm.js";
38
+ import xa from "../dropdown/index.esm.js";
39
+ import Sa from "../events-editor/index.esm.js";
40
+ import Ta from "../field-selector/index.esm.js";
41
+ import _a from "../binding-selector/index.esm.js";
42
+ import ka from "../image-cropper/index.esm.js";
43
+ import Ia from "../input-group/index.esm.js";
44
+ import Ba from "../layout/index.esm.js";
45
+ import Fa from "../list-nav/index.esm.js";
46
+ import Ma from "../lookup/index.esm.js";
47
+ import Ea from "../mapping-editor/index.esm.js";
48
+ import Oa from "../nav/index.esm.js";
49
+ import Pa from "../number-range/index.esm.js";
50
+ import Da from "../page-header/index.esm.js";
51
+ import Ra from "../page-footer/index.esm.js";
52
+ import Va from "../progress/index.esm.js";
53
+ import $a from "../query-solution/index.esm.js";
54
+ import ja from "../radio-group/index.esm.js";
55
+ import La from "../rate/index.esm.js";
56
+ import Aa from "../response-layout/index.esm.js";
57
+ import Na from "../response-layout-editor/index.esm.js";
58
+ import Ha from "../search-box/index.esm.js";
59
+ import za from "../smoke-detector/index.esm.js";
60
+ import qa from "../splitter/index.esm.js";
61
+ import Ga from "../step/index.esm.js";
62
+ import Wa from "../switch/index.esm.js";
63
+ import rn from "../tags/index.esm.js";
64
+ import Ua from "../text/index.esm.js";
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";
68
+ import Qa from "../verify-detail/index.esm.js";
69
+ import Za from "../weather/index.esm.js";
70
+ import Ja from "../video/index.esm.js";
71
+ import es from "../textarea/index.esm.js";
72
+ import ts from "../schema-selector/index.esm.js";
73
+ import ns from "../tree-grid/index.esm.js";
74
+ import os from "../event-parameter/index.esm.js";
75
75
  import "../external-container/index.esm.js";
76
- import ss from "../popover/index.esm.js";
77
- const ls = {
76
+ import as from "../popover/index.esm.js";
77
+ const ss = {
78
78
  injectSymbolToken: { type: Symbol },
79
79
  /** 待选数据视图集合 */
80
80
  viewOptions: { type: Array, default: [] },
81
81
  /** 数据视图类型 */
82
82
  viewType: { type: String, default: "Tabs" },
83
83
  editorParams: { type: Object, default: null }
84
- }, cn = {}, dn = {};
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]) : Ve(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]) : Ee(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)}`;
@@ -91,19 +91,19 @@ function Ot(e) {
91
91
  return s;
92
92
  }
93
93
  function He(e, t = {}, n) {
94
- const o = cn[e];
94
+ const o = un[e];
95
95
  if (o) {
96
96
  let a = Ot(o);
97
- const s = dn[e];
97
+ const s = cn[e];
98
98
  return a = s ? s({ getSchemaByType: He }, a, t, n) : a, a;
99
99
  }
100
100
  return null;
101
101
  }
102
- function is(e, t) {
102
+ function ls(e, t) {
103
103
  const n = Ot(t);
104
- return Object.keys(n).reduce((o, a) => (o[a] && Ht(o[a]) && Ht(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a], o), n), n;
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;
105
105
  }
106
- function rs(e, t) {
106
+ function is(e, t) {
107
107
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
108
108
  if (t.has(a)) {
109
109
  const s = t.get(a);
@@ -118,11 +118,11 @@ function rs(e, t) {
118
118
  return o;
119
119
  }, {});
120
120
  }
121
- function us(e, t, n = /* @__PURE__ */ new Map()) {
122
- const o = is(e, t);
123
- return rs(o, n);
121
+ function rs(e, t, n = /* @__PURE__ */ new Map()) {
122
+ const o = ls(e, t);
123
+ return is(o, n);
124
124
  }
125
- function cs(e = {}) {
125
+ function us(e = {}) {
126
126
  function t(c, d, p, g) {
127
127
  if (typeof p == "number")
128
128
  return g[c].length === p;
@@ -216,18 +216,18 @@ const Y = {
216
216
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" },
217
217
  fieldset: { type: "fieldset", name: "分组", icon: "fieldset" },
218
218
  "query-solution": { type: "query-solution", name: "筛选方案", icon: "QueryScheme" }
219
- }, ds = {}, fs = {};
220
- cs();
219
+ }, cs = {}, ds = {};
220
+ us();
221
221
  function ye(e, t, n = /* @__PURE__ */ new Map(), o = (l, r, u, c) => r, a = {}, s = (l) => l) {
222
- return cn[t.title] = t, dn[t.title] = o, ds[t.title] = a, fs[t.title] = s, (l = {}) => {
223
- const r = us(l, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
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), {});
224
224
  return Object.assign(u, r);
225
225
  };
226
226
  }
227
- function Ee(e, t) {
227
+ function Oe(e, t) {
228
228
  return { customClass: t.class, customStyle: t.style };
229
229
  }
230
- function ps() {
230
+ function fs() {
231
231
  function e(t, n) {
232
232
  const o = t.contents;
233
233
  if (!o || o.length < 1)
@@ -246,9 +246,9 @@ function ps() {
246
246
  };
247
247
  }
248
248
  const Pt = /* @__PURE__ */ new Map([
249
- ["appearance", Ee]
249
+ ["appearance", Oe]
250
250
  ]);
251
- function vs(e, t) {
251
+ function ps(e, t) {
252
252
  const n = Math.random().toString().slice(2, 6), o = t.parentComponentInstance, a = e.getSchemaByType("tab-page");
253
253
  a.id = `tab-page-${n}`;
254
254
  const s = e.getSchemaByType("tabs");
@@ -285,20 +285,21 @@ function vs(e, t) {
285
285
  break;
286
286
  }
287
287
  }
288
- return r;
288
+ const c = o.elementRef, d = window.getComputedStyle(c);
289
+ return d && d.display === "flex" && (r.appearance.class += " d-block"), r;
289
290
  }
290
- function fn(e, t, n) {
291
+ function dn(e, t, n) {
291
292
  if (n.parentComponentInstance)
292
- return vs(e, n);
293
+ return ps(e, n);
293
294
  {
294
295
  const a = e.getSchemaByType("tab-page");
295
296
  return t.contents = [a], t;
296
297
  }
297
298
  }
298
- function ms(e, t, n) {
299
+ function vs(e, t, n) {
299
300
  return t;
300
301
  }
301
- 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 = {
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 = {
302
303
  id: {
303
304
  description: "The unique identifier for a Tabs",
304
305
  type: "string"
@@ -346,18 +347,18 @@ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-
346
347
  type: "boolean",
347
348
  default: !1
348
349
  }
349
- }, xs = [
350
+ }, ws = [
350
351
  "id",
351
352
  "type",
352
353
  "contents"
353
- ], pn = {
354
- $schema: gs,
355
- $id: hs,
356
- title: ys,
357
- description: bs,
358
- type: Cs,
359
- properties: ws,
360
- required: xs
354
+ ], fn = {
355
+ $schema: ms,
356
+ $id: gs,
357
+ title: hs,
358
+ description: ys,
359
+ type: bs,
360
+ properties: Cs,
361
+ required: ws
361
362
  }, Dt = {
362
363
  tabType: { type: String, default: "default" },
363
364
  autoTitleWidth: { type: Boolean, default: !1 },
@@ -376,12 +377,12 @@ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-
376
377
  activeId: { type: String },
377
378
  fill: { type: Boolean, default: !1 },
378
379
  justifyContent: { type: String, default: "left" }
379
- }, Ss = ye(Dt, pn, Pt, fn), vn = Object.assign({}, Dt, {
380
+ }, xs = ye(Dt, fn, Pt, dn), pn = Object.assign({}, Dt, {
380
381
  componentId: { type: String, default: "" }
381
- }), Ts = ye(vn, pn, Pt, fn), _s = ps();
382
- function ks(e, t, n) {
382
+ }), Ss = ye(pn, fn, Pt, dn), Ts = fs();
383
+ function _s(e, t, n) {
383
384
  const o = v([]), a = v(e.activeId || ""), s = v(!0), l = v([]);
384
- G(() => e.activeId, (C, _) => {
385
+ U(() => e.activeId, (C, _) => {
385
386
  C !== _ && (a.value = C);
386
387
  });
387
388
  function r(C) {
@@ -446,7 +447,7 @@ function ks(e, t, n) {
446
447
  toolbarItems: l
447
448
  };
448
449
  }
449
- function Is(e, t, n, o, a) {
450
+ function ks(e, t, n, o, a) {
450
451
  const {
451
452
  activeId: s,
452
453
  removeTab: l,
@@ -500,7 +501,7 @@ function Is(e, t, n, o, a) {
500
501
  onClick: m
501
502
  }, [y(t), C.value && _()])]);
502
503
  }
503
- function Bs(e, t, n, o, a) {
504
+ function Is(e, t, n, o, a) {
504
505
  const {
505
506
  shouldShowNavigationButtons: s
506
507
  } = n, {
@@ -527,9 +528,9 @@ function Bs(e, t, n, o, a) {
527
528
  }, [i("ul", {
528
529
  class: c.value,
529
530
  ref: t
530
- }, [l.value.map((d) => Is(e, d.props, d, o, a))])]);
531
+ }, [l.value.map((d) => ks(e, d.props, d, o, a))])]);
531
532
  }
532
- function mn(e, t, n, o, a) {
533
+ function vn(e, t, n, o, a) {
533
534
  const s = v(), {
534
535
  shouldShowNavigationButtons: l
535
536
  } = n, {
@@ -550,20 +551,20 @@ function mn(e, t, n, o, a) {
550
551
  display: "flex",
551
552
  "justify-content": e.justifyContent
552
553
  }));
553
- le(() => {
554
+ se(() => {
554
555
  s.value && (t.value = s.value.$el);
555
556
  });
556
557
  function y(C) {
557
558
  c(C);
558
559
  }
559
- return G(() => r.value, (C) => {
560
+ return U(() => r.value, (C) => {
560
561
  C !== d.value && (d.value = C);
561
562
  }, {
562
563
  immediate: !0
563
564
  }), () => i("div", {
564
565
  class: g.value,
565
566
  style: b.value
566
- }, [i(nn, {
567
+ }, [i(tn, {
567
568
  items: p.value,
568
569
  modelValue: d.value,
569
570
  "onUpdate:modelValue": (C) => d.value = C,
@@ -571,7 +572,7 @@ function mn(e, t, n, o, a) {
571
572
  ref: s
572
573
  }, null)]);
573
574
  }
574
- function Fs(e, t, n, o) {
575
+ function Bs(e, t, n, o) {
575
576
  const {
576
577
  activeId: a,
577
578
  removeTab: s,
@@ -617,7 +618,7 @@ function Fs(e, t, n, o) {
617
618
  type: "text",
618
619
  class: "form-control k-textbox",
619
620
  "onUpdate:modelValue": (m) => c.value = m
620
- }, null), [[Kt, c.value]]), i("span", {
621
+ }, null), [[Xt, c.value]]), i("span", {
621
622
  class: "f-icon f-icon-page-title-query tabs-icon-search"
622
623
  }, null)]), p.value.length ? i("ul", {
623
624
  class: "tab-dropdown-menu--items",
@@ -641,12 +642,12 @@ function Fs(e, t, n, o) {
641
642
  renderDropdownMenu: _
642
643
  };
643
644
  }
644
- function gn(e, t, n, o) {
645
+ function mn(e, t, n, o) {
645
646
  const {
646
647
  hideDropDown: a
647
648
  } = t, {
648
649
  renderDropdownMenu: s
649
- } = Fs(e, t, n, o), l = v(e.showDropdown);
650
+ } = Bs(e, t, n, o), l = v(e.showDropdown);
650
651
  function r() {
651
652
  return l.value && i(ve, null, [i("button", {
652
653
  title: "toggle-button",
@@ -660,7 +661,7 @@ function gn(e, t, n, o) {
660
661
  renderMorePagesButtton: r
661
662
  };
662
663
  }
663
- function hn(e, t, n, o) {
664
+ function gn(e, t, n, o) {
664
665
  const a = v(!1), { selectTabByTabId: s, tabPages: l } = o, r = 4;
665
666
  function u() {
666
667
  var m;
@@ -725,7 +726,7 @@ function hn(e, t, n, o) {
725
726
  updateNavigationLayout: u
726
727
  };
727
728
  }
728
- function yn(e, t) {
729
+ function hn(e, t) {
729
730
  const { tabPages: n } = t, o = v(""), a = v(!0), s = B(() => e.searchBoxVisible), l = B(() => s.value ? n.value.filter((u) => u.props.title.includes(o.value)) : n.value.slice());
730
731
  return {
731
732
  searchTabText: o,
@@ -734,7 +735,7 @@ function yn(e, t) {
734
735
  tabsInDropdownMenu: l
735
736
  };
736
737
  }
737
- function bn(e, t, n) {
738
+ function yn(e, t, n) {
738
739
  const o = ".farris-tab-page", { tabPages: a } = n;
739
740
  function s(r) {
740
741
  const u = t.value;
@@ -757,7 +758,7 @@ const Le = /* @__PURE__ */ te({
757
758
  props: Dt,
758
759
  emits: ["tabChange", "tabRemove", "update:activeId", "Click"],
759
760
  setup(e, t) {
760
- const n = v(e.tabType), o = Ue(), a = v(e.customClass), s = Ue(), l = Ue(), r = ks(e, t, s), {
761
+ const n = v(e.tabType), o = Ue(), a = v(e.customClass), s = Ue(), l = Ue(), r = _s(e, t, s), {
761
762
  activeId: u,
762
763
  changeTitleStyle: c,
763
764
  tabPages: d,
@@ -765,15 +766,15 @@ const Le = /* @__PURE__ */ te({
765
766
  updateTab: g,
766
767
  selectTabByTabId: b,
767
768
  toolbarItems: y
768
- } = r, C = bn(e, l, r), _ = hn(e, s, C, r), {
769
+ } = r, C = yn(e, l, r), _ = gn(e, s, C, r), {
769
770
  previousButtonClass: m,
770
771
  nextButtonClass: h,
771
772
  nextButtonGroupClass: T,
772
773
  scrollTab: I,
773
774
  updateNavigationLayout: M
774
- } = _, P = yn(e, r), {
775
+ } = _, P = hn(e, r), {
775
776
  hideDropDown: O
776
- } = P, D = Bs(e, s, _, C, r), S = D, F = mn(e, s, _, C, r), x = /* @__PURE__ */ new Map([["default", D], ["one-page", S], ["pills", F]]);
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]]);
777
778
  B(() => {
778
779
  const ee = d.value.find((re) => re.props.id === u.value);
779
780
  return ee == null ? void 0 : ee.slots;
@@ -810,7 +811,7 @@ const Le = /* @__PURE__ */ te({
810
811
  };
811
812
  return a.value && a.value.split(" ").reduce((re, Ce) => (re[Ce] = !0, re), ee), ee;
812
813
  });
813
- le(() => {
814
+ se(() => {
814
815
  d.value.length && (u.value = e.activeId || d.value[0].props.id, b(u.value)), xe(() => {
815
816
  M();
816
817
  }), c(s), window.addEventListener("click", (ee) => {
@@ -842,7 +843,7 @@ const Le = /* @__PURE__ */ te({
842
843
  }
843
844
  const {
844
845
  renderMorePagesButtton: R
845
- } = gn(e, P, _, r), A = (ee, re) => {
846
+ } = mn(e, P, _, r), A = (ee, re) => {
846
847
  t.emit("Click", ee, re, u.value);
847
848
  };
848
849
  function z() {
@@ -853,7 +854,7 @@ const Le = /* @__PURE__ */ te({
853
854
  }, null) : null;
854
855
  }
855
856
  const Z = x.get(e.tabType) || x.get("default");
856
- function se() {
857
+ function le() {
857
858
  var ee, re, Ce, pe;
858
859
  return i("div", {
859
860
  class: V.value
@@ -882,18 +883,18 @@ const Le = /* @__PURE__ */ te({
882
883
  return () => i("div", {
883
884
  class: $.value,
884
885
  ref: o
885
- }, [se(), Se()]);
886
+ }, [le(), Se()]);
886
887
  }
887
888
  });
888
- function Ms(e, t, n) {
889
+ function Fs(e, t, n) {
889
890
  return t && t.contents && t.contents.length && (t.contents.forEach((o) => {
890
891
  o.title && (o.text = o.title);
891
892
  }), t.buttons = t.contents, delete t.contents), { toolbar: t };
892
893
  }
893
- const Es = /* @__PURE__ */ new Map([
894
- ["appearance", Ee],
895
- ["toolbar", Ms]
896
- ]), 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 = {
894
+ const Ms = /* @__PURE__ */ new Map([
895
+ ["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 = {
897
898
  id: {
898
899
  description: "The unique identifier for a tab-page Item",
899
900
  type: "string"
@@ -932,18 +933,18 @@ const Es = /* @__PURE__ */ new Map([
932
933
  description: "",
933
934
  type: "object"
934
935
  }
935
- }, js = [
936
+ }, $s = [
936
937
  "id",
937
938
  "type",
938
939
  "contents"
939
- ], Ls = {
940
- $schema: Os,
941
- $id: Ps,
942
- title: Ds,
943
- description: Rs,
944
- type: Vs,
945
- properties: $s,
946
- required: js
940
+ ], js = {
941
+ $schema: Es,
942
+ $id: Os,
943
+ title: Ps,
944
+ description: Ds,
945
+ type: Rs,
946
+ properties: Vs,
947
+ required: $s
947
948
  }, Rt = {
948
949
  tabWidth: { type: Number, default: -1 },
949
950
  id: { type: String, default: "" },
@@ -956,9 +957,9 @@ const Es = /* @__PURE__ */ new Map([
956
957
  show: { type: Boolean, default: !0 },
957
958
  toolbar: { type: Object, default: {} },
958
959
  toolbarPosition: { type: String, default: "inHead" }
959
- }, Cn = on(Rt, Ls, Es);
960
- function As(e) {
961
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Yt(e);
960
+ }, bn = nn(Rt, js, Ms);
961
+ function Ls(e) {
962
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Kt(e);
962
963
  }
963
964
  const at = /* @__PURE__ */ te({
964
965
  name: "FTabPage",
@@ -969,7 +970,7 @@ const at = /* @__PURE__ */ te({
969
970
  slots: t.slots,
970
971
  props: e
971
972
  }, s = v((n == null ? void 0 : n.tabType.value) || "default");
972
- le(() => {
973
+ se(() => {
973
974
  const b = n == null ? void 0 : n.tabPages.value.findIndex((y) => y.props.id === e.id);
974
975
  !b || b === -1 ? n == null || n.addTab(a) : b > -1 && (o.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
975
976
  }), $e(() => {
@@ -977,7 +978,7 @@ const at = /* @__PURE__ */ te({
977
978
  const l = B(() => (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value)), r = B(() => ({
978
979
  display: l.value ? "" : "none"
979
980
  }));
980
- G(() => e, (b) => {
981
+ U(() => e, (b) => {
981
982
  n == null || n.updateTab({
982
983
  props: b,
983
984
  slots: t.slots
@@ -989,10 +990,10 @@ const at = /* @__PURE__ */ te({
989
990
  function u() {
990
991
  var y, C;
991
992
  const b = (C = (y = t.slots).default) == null ? void 0 : C.call(y);
992
- return i(an, {
993
+ return i(on, {
993
994
  "main-title": e.title,
994
995
  class: "farris-tab-page"
995
- }, As(b) ? b : {
996
+ }, Ls(b) ? b : {
996
997
  default: () => [b]
997
998
  });
998
999
  }
@@ -1014,7 +1015,7 @@ const at = /* @__PURE__ */ te({
1014
1015
  const g = (/* @__PURE__ */ new Map([["default", d], ["one-page", u]])).get(s.value) || d;
1015
1016
  return () => o.value ? g() : null;
1016
1017
  }
1017
- }), Ns = {
1018
+ }), As = {
1018
1019
  width: { Type: Number, default: 400 },
1019
1020
  type: { Type: String, default: "info" },
1020
1021
  title: { Type: String, default: "" },
@@ -1027,12 +1028,12 @@ const at = /* @__PURE__ */ te({
1027
1028
  function Vt() {
1028
1029
  return new DOMException("The request is not allowed", "NotAllowedError");
1029
1030
  }
1030
- async function Hs(e) {
1031
+ async function Ns(e) {
1031
1032
  if (!navigator.clipboard)
1032
1033
  throw Vt();
1033
1034
  return navigator.clipboard.writeText(e);
1034
1035
  }
1035
- async function zs(e) {
1036
+ async function Hs(e) {
1036
1037
  const t = document.createElement("span");
1037
1038
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
1038
1039
  const n = window.getSelection(), o = window.document.createRange();
@@ -1046,24 +1047,24 @@ async function zs(e) {
1046
1047
  if (!a)
1047
1048
  throw Vt();
1048
1049
  }
1049
- async function qs(e) {
1050
+ async function zs(e) {
1050
1051
  try {
1051
- await Hs(e);
1052
+ await Ns(e);
1052
1053
  } catch (t) {
1053
1054
  try {
1054
- await zs(e);
1055
+ await Hs(e);
1055
1056
  } catch (n) {
1056
1057
  throw n || t || Vt();
1057
1058
  }
1058
1059
  }
1059
1060
  }
1060
- function Gs() {
1061
+ function qs() {
1061
1062
  async function e(t) {
1062
- await qs(t);
1063
+ await zs(t);
1063
1064
  }
1064
1065
  return { onCopy: e };
1065
1066
  }
1066
- function Ws(e, t, n, o) {
1067
+ function Gs(e, t, n, o) {
1067
1068
  const a = v(14), s = v(140), l = v(""), r = v(o.value.length), u = B(() => o.value), c = B(() => ({
1068
1069
  "font-size": `${a.value}px`,
1069
1070
  height: "100%"
@@ -1088,14 +1089,14 @@ function Ws(e, t, n, o) {
1088
1089
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
1089
1090
  }, [r.value + " / " + s.value])]);
1090
1091
  }
1091
- function Us(e, t, n, o) {
1092
- const a = Ws(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1092
+ function Ws(e, t, n, o) {
1093
+ const a = Gs(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1093
1094
  function l(r) {
1094
1095
  return s.get(r) || null;
1095
1096
  }
1096
1097
  return { getEditorRender: l };
1097
1098
  }
1098
- function Xs() {
1099
+ function Us() {
1099
1100
  const e = v(!1), t = v("复制成功");
1100
1101
  return {
1101
1102
  feedbackStyle: B(() => {
@@ -1121,11 +1122,11 @@ function Xs() {
1121
1122
  toShowFeedback: e
1122
1123
  };
1123
1124
  }
1124
- function Ks(e, t) {
1125
+ function Xs(e, t) {
1125
1126
  const n = t.getEditorRender(e.promptEditorType);
1126
1127
  return () => n && n();
1127
1128
  }
1128
- function Ys(e) {
1129
+ function Ks(e) {
1129
1130
  const t = v(3), n = v(480), o = B(() => !!e.value && !!e.value.date), a = B(() => `发生时间 : ${e.value && e.value.date || ""}`), s = B(() => !!e.value && !!e.value.detail), l = B(() => {
1130
1131
  const _ = `${n.value}px`;
1131
1132
  return {
@@ -1170,13 +1171,13 @@ function Ys(e) {
1170
1171
  style: "cursor: pointer;"
1171
1172
  }, [d.value])])]);
1172
1173
  }
1173
- function Qs(e) {
1174
+ function Ys(e) {
1174
1175
  return () => i("p", {
1175
1176
  class: "toast-msg-detail",
1176
1177
  innerHTML: e.value
1177
1178
  }, null);
1178
1179
  }
1179
- function Zs(e, t, n, o) {
1180
+ function Qs(e, t, n, o) {
1180
1181
  const a = v(e.exceptionInfo), s = B(() => {
1181
1182
  const g = {
1182
1183
  "f-icon": !0
@@ -1184,7 +1185,7 @@ function Zs(e, t, n, o) {
1184
1185
  return g[b] = !0, g;
1185
1186
  }), l = B(() => n.value || a.value && a.value.message), r = B(() => o.value), u = B(() => !!o.value), c = B(() => !!a.value);
1186
1187
  function d() {
1187
- return c.value ? Ys(a) : u.value ? Qs(r) : () => null;
1188
+ return c.value ? Ks(a) : u.value ? Ys(r) : () => null;
1188
1189
  }
1189
1190
  const p = d();
1190
1191
  return () => i(ve, null, [i("div", {
@@ -1198,7 +1199,7 @@ function Zs(e, t, n, o) {
1198
1199
  innerHTML: l.value
1199
1200
  }, null), p()])]);
1200
1201
  }
1201
- function Js(e, t, n) {
1202
+ function Zs(e, t, n) {
1202
1203
  const {
1203
1204
  onCopy: o
1204
1205
  } = t, {
@@ -1224,8 +1225,8 @@ function Js(e, t, n) {
1224
1225
  style: "cursor: pointer;"
1225
1226
  }, [l.value])]);
1226
1227
  }
1227
- function el(e, t, n, o) {
1228
- 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);
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);
1229
1230
  function m(T) {
1230
1231
  a.value === "question" && t.emit("reject"), t.emit("close");
1231
1232
  }
@@ -1252,7 +1253,7 @@ function el(e, t, n, o) {
1252
1253
  }
1253
1254
  const tt = /* @__PURE__ */ te({
1254
1255
  name: "FMessageBox",
1255
- props: Ns,
1256
+ props: As,
1256
1257
  emits: ["accept", "reject", "close"],
1257
1258
  setup(e, t) {
1258
1259
  const n = v(e.type), o = v(e.title), a = v(e.detail), s = B(() => {
@@ -1265,7 +1266,7 @@ const tt = /* @__PURE__ */ te({
1265
1266
  }), l = B(() => {
1266
1267
  const _ = {};
1267
1268
  return n.value === "prompt" ? _.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (_.padding = "0.5rem 1.5rem 1rem 1.5rem"), _;
1268
- }), r = Gs(), u = Us(e, n, o, a), c = Xs(), {
1269
+ }), r = qs(), u = Ws(e, n, o, a), c = Us(), {
1269
1270
  feedbackStyle: d,
1270
1271
  feedbackMessage: p
1271
1272
  } = c;
@@ -1277,12 +1278,12 @@ const tt = /* @__PURE__ */ te({
1277
1278
  function b() {
1278
1279
  switch (n.value) {
1279
1280
  case "prompt":
1280
- return Ks(e, u);
1281
+ return Xs(e, u);
1281
1282
  default:
1282
- return Zs(e, n, o, a);
1283
+ return Qs(e, n, o, a);
1283
1284
  }
1284
1285
  }
1285
- const y = b(), C = el(e, t, r, c);
1286
+ const y = b(), C = Js(e, t, r, c);
1286
1287
  return () => i("div", {
1287
1288
  class: "farris-messager"
1288
1289
  }, [i("section", {
@@ -1290,7 +1291,7 @@ const tt = /* @__PURE__ */ te({
1290
1291
  style: l.value
1291
1292
  }, [y()]), C(), g()]);
1292
1293
  }
1293
- }), tl = {
1294
+ }), el = {
1294
1295
  /**
1295
1296
  * 自定义类
1296
1297
  */
@@ -1434,7 +1435,7 @@ class je {
1434
1435
  return this.width = t.width, this.height = t.height, this;
1435
1436
  }
1436
1437
  }
1437
- function nl(e, t) {
1438
+ function tl(e, t) {
1438
1439
  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);
1439
1440
  function _() {
1440
1441
  const $ = o.value || document.body, E = window.getComputedStyle($);
@@ -1619,9 +1620,9 @@ function nl(e, t) {
1619
1620
  unWindowResizeHandle: L
1620
1621
  };
1621
1622
  }
1622
- function ol(e, t, n) {
1623
+ function nl(e, t, n) {
1623
1624
  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));
1624
- G(() => n.value, (O) => {
1625
+ U(() => n.value, (O) => {
1625
1626
  l.value.style.cursor = O ? "move" : "default";
1626
1627
  });
1627
1628
  function b(O, D) {
@@ -1699,7 +1700,7 @@ function ol(e, t, n) {
1699
1700
  resetTranslate: I
1700
1701
  };
1701
1702
  }
1702
- function wn(e, t) {
1703
+ function Cn(e, t) {
1703
1704
  if (e) {
1704
1705
  const n = (o) => {
1705
1706
  o.key.toLowerCase() === e.toLowerCase() && t({ event: o, key: e });
@@ -1709,27 +1710,27 @@ function wn(e, t) {
1709
1710
  };
1710
1711
  }
1711
1712
  }
1712
- function al(e, t) {
1713
+ function ol(e, t) {
1713
1714
  const n = v(e.enableEsc);
1714
1715
  let o = null;
1715
- return n.value ? (o = wn("Escape", (a) => {
1716
+ return n.value ? (o = Cn("Escape", (a) => {
1716
1717
  t.emit("esc", { event: a.event, type: "esc" });
1717
1718
  }), {
1718
1719
  remove: o
1719
1720
  }) : null;
1720
1721
  }
1721
- function sl(e, t) {
1722
+ function al(e, t) {
1722
1723
  const n = v(e.enableEnter);
1723
1724
  let o = null;
1724
- return n.value ? (o = wn("Enter", (a) => {
1725
+ return n.value ? (o = Cn("Enter", (a) => {
1725
1726
  t.emit("enter", { event: a.event, type: "enter" });
1726
1727
  }), {
1727
1728
  remove: o
1728
1729
  }) : null;
1729
1730
  }
1730
- const xn = /* @__PURE__ */ te({
1731
+ const wn = /* @__PURE__ */ te({
1731
1732
  name: "FModal",
1732
- props: tl,
1733
+ props: el,
1733
1734
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
1734
1735
  setup(e, t) {
1735
1736
  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();
@@ -1758,18 +1759,18 @@ const xn = /* @__PURE__ */ te({
1758
1759
  resizedEventParam: $,
1759
1760
  allowDrag: E,
1760
1761
  unWindowResizeHandle: j
1761
- } = nl(e), {
1762
+ } = tl(e), {
1762
1763
  registerDraggle: R
1763
- } = ol(e, t, E);
1764
- G(() => e.title, (q, oe) => {
1764
+ } = nl(e, t, E);
1765
+ U(() => e.title, (q, oe) => {
1765
1766
  q !== oe && (m.value = q);
1766
- }), G(() => e.modelValue, (q, oe) => {
1767
+ }), U(() => e.modelValue, (q, oe) => {
1767
1768
  q !== oe && (a.value = q);
1768
- }), G(() => e.showHeader, (q, oe) => {
1769
+ }), U(() => e.showHeader, (q, oe) => {
1769
1770
  q !== oe && (u.value = q);
1770
- }), G(() => e.showButtons, (q, oe) => {
1771
+ }), U(() => e.showButtons, (q, oe) => {
1771
1772
  q !== oe && (_.value = q);
1772
- }), G(() => $.value, (q, oe) => {
1773
+ }), U(() => $.value, (q, oe) => {
1773
1774
  const ge = q || {}, qe = oe || {};
1774
1775
  JSON.stringify(ge) !== JSON.stringify(qe) && t.emit("resize", {
1775
1776
  newSize: q,
@@ -1787,7 +1788,7 @@ const xn = /* @__PURE__ */ te({
1787
1788
  fade: !0
1788
1789
  };
1789
1790
  return q["f-modal-fitContent"] = !!r.value, q.show = !!z.value, q;
1790
- }), se = B(() => {
1791
+ }), le = B(() => {
1791
1792
  var ge;
1792
1793
  const q = {
1793
1794
  "modal-dialog": !0
@@ -1837,11 +1838,11 @@ const xn = /* @__PURE__ */ te({
1837
1838
  function ce(q) {
1838
1839
  q.width && (n.value = q.width), q.height && (o.value = q.height), q.buttons && (O.value = q.buttons), q.title && (m.value = q.title);
1839
1840
  }
1840
- let Te = null, Oe = null;
1841
- le(() => {
1842
- 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), Oe = sl(e, t);
1841
+ let Te = null, Pe = null;
1842
+ 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);
1843
1844
  }), $e(() => {
1844
- A(), j && j(), Te && Te.remove(), Oe && Oe.remove();
1845
+ A(), j && j(), Te && Te.remove(), Pe && Pe.remove();
1845
1846
  }), t.expose({
1846
1847
  modalElementRef: x,
1847
1848
  updateModalOptions: ce,
@@ -1901,10 +1902,10 @@ const xn = /* @__PURE__ */ te({
1901
1902
  function gt(q) {
1902
1903
  q.stopPropagation();
1903
1904
  }
1904
- return () => i(Qt, {
1905
+ return () => i(Yt, {
1905
1906
  to: "body"
1906
1907
  }, {
1907
- default: () => [z.value && i(Zt, {
1908
+ default: () => [z.value && i(Qt, {
1908
1909
  name: "fade",
1909
1910
  appear: !0
1910
1911
  }, {
@@ -1917,7 +1918,7 @@ const xn = /* @__PURE__ */ te({
1917
1918
  onClick: gt
1918
1919
  }, [i("div", {
1919
1920
  id: s.value,
1920
- class: se.value,
1921
+ class: le.value,
1921
1922
  style: be.value,
1922
1923
  ref: x
1923
1924
  }, [i("div", {
@@ -1936,13 +1937,13 @@ const xn = /* @__PURE__ */ te({
1936
1937
  });
1937
1938
  }
1938
1939
  });
1939
- function Sn(e) {
1940
+ function xn(e) {
1940
1941
  if (e.content && e.content.render)
1941
1942
  return e.content.render;
1942
1943
  if (e.render && typeof e.render == "function")
1943
1944
  return e.render;
1944
1945
  }
1945
- function ll(e) {
1946
+ function sl(e) {
1946
1947
  const t = document.createElement("div");
1947
1948
  t.style.display = "contents";
1948
1949
  const n = ut({
@@ -1954,13 +1955,13 @@ function ll(e) {
1954
1955
  }), b = e.rejectCallback || (() => {
1955
1956
  }), y = e.closedCallback || ((h) => {
1956
1957
  }), C = e.resizeHandle || ((h) => {
1957
- }), _ = Sn(e), m = (h) => {
1958
+ }), _ = xn(e), m = (h) => {
1958
1959
  d.value = !1, n.unmount(), y(h);
1959
1960
  };
1960
- return le(() => {
1961
+ return se(() => {
1961
1962
  }), a.expose({
1962
1963
  modalRef: s
1963
- }), () => i(xn, {
1964
+ }), () => i(wn, {
1964
1965
  ref: s,
1965
1966
  class: l.value,
1966
1967
  modelValue: d.value,
@@ -1985,7 +1986,7 @@ function ll(e) {
1985
1986
  });
1986
1987
  return document.body.appendChild(t), n.mount(t), n;
1987
1988
  }
1988
- class il {
1989
+ class ll {
1989
1990
  constructor(t) {
1990
1991
  N(this, "appContext", null);
1991
1992
  N(this, "modalRef", v());
@@ -2004,7 +2005,7 @@ class il {
2004
2005
  showButtons: !0,
2005
2006
  showHeader: !0
2006
2007
  }, t);
2007
- return ll(n);
2008
+ return sl(n);
2008
2009
  }
2009
2010
  open(t) {
2010
2011
  const n = document.createDocumentFragment();
@@ -2019,7 +2020,7 @@ class il {
2019
2020
  }), u = o.value.resizeHandle || ((m) => {
2020
2021
  });
2021
2022
  let c;
2022
- const d = Sn(o.value), p = (m) => {
2023
+ const d = xn(o.value), p = (m) => {
2023
2024
  var T;
2024
2025
  a.value = !1;
2025
2026
  const h = (T = m == null ? void 0 : m.target) == null ? void 0 : T.classList.contains("modal_close");
@@ -2035,7 +2036,7 @@ class il {
2035
2036
  }, b = (m) => {
2036
2037
  var h;
2037
2038
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((h = this.activeModalInstance.value) == null || h.close(m == null ? void 0 : m.event));
2038
- }, y = () => i(xn, Ne({
2039
+ }, y = () => i(wn, Ne({
2039
2040
  ref: this.modalRef,
2040
2041
  modelValue: a.value,
2041
2042
  "onUpdate:modelValue": (m) => a.value = m
@@ -2049,7 +2050,7 @@ class il {
2049
2050
  default: () => [d && d(this.app)]
2050
2051
  });
2051
2052
  return c = ((m) => {
2052
- const h = Io(y, m);
2053
+ const h = ko(y, m);
2053
2054
  return h.appContext = this.appContext, bt(h, n), h;
2054
2055
  })({
2055
2056
  ...o.value
@@ -2059,7 +2060,7 @@ class il {
2059
2060
  o.value = {
2060
2061
  ...o.value,
2061
2062
  ...m
2062
- }, c && bt(Bo(c, {
2063
+ }, c && bt(Io(c, {
2063
2064
  ...o
2064
2065
  }), n);
2065
2066
  },
@@ -2068,7 +2069,7 @@ class il {
2068
2069
  };
2069
2070
  }
2070
2071
  }
2071
- const rl = Symbol("FModalService");
2072
+ const il = Symbol("FModalService");
2072
2073
  class Me {
2073
2074
  static show(t) {
2074
2075
  const n = Be({
@@ -2076,7 +2077,7 @@ class Me {
2076
2077
  }), o = !1, a = n.type === "error" || n.type === "prompt", s = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", l = n.acceptCallback || (() => {
2077
2078
  }), r = n.rejectCallback || (() => {
2078
2079
  });
2079
- let u = null, c = new il(u);
2080
+ let u = null, c = new ll(u);
2080
2081
  const d = () => {
2081
2082
  u && (u == null || u.destroy(), c = null);
2082
2083
  };
@@ -2165,7 +2166,7 @@ class Me {
2165
2166
  tt.install = (e) => {
2166
2167
  e.component(tt.name, tt), e.provide("FMessageBoxService", Me);
2167
2168
  };
2168
- function ul(e, t, n, o, a, s) {
2169
+ function rl(e, t, n, o, a, s) {
2169
2170
  const {
2170
2171
  activeId: l,
2171
2172
  removeTab: r,
@@ -2262,7 +2263,7 @@ function ul(e, t, n, o, a, s) {
2262
2263
  onClick: M
2263
2264
  }, [h(t), T.value && I()])]);
2264
2265
  }
2265
- function cl(e, t, n, o, a, s, l) {
2266
+ function ul(e, t, n, o, a, s, l) {
2266
2267
  const {
2267
2268
  shouldShowNavigationButtons: r
2268
2269
  } = n, {
@@ -2300,7 +2301,7 @@ function cl(e, t, n, o, a, s, l) {
2300
2301
  class: p.value,
2301
2302
  style: g.value,
2302
2303
  ref: t
2303
- }, [u.value.map((y) => ul(e, y.props, y, o, a, s)), i("li", {
2304
+ }, [u.value.map((y) => rl(e, y.props, y, o, a, s)), i("li", {
2304
2305
  class: "nav-item"
2305
2306
  }, [i("a", {
2306
2307
  class: "nav-link tabs-text-truncate",
@@ -2396,7 +2397,7 @@ function Ye(e, t, n) {
2396
2397
  onRemoveComponent: T
2397
2398
  }, s;
2398
2399
  }
2399
- class Tn {
2400
+ class Sn {
2400
2401
  getTemplateRule(t, n) {
2401
2402
  const o = n == null ? void 0 : n.formSchemaUtils, a = o == null ? void 0 : o.getFormTemplateRule(), s = { canAccept: !0, canDelete: !0, canMove: !0 };
2402
2403
  if (!a)
@@ -2580,11 +2581,11 @@ class Je {
2580
2581
  const o = n && n.parent && n.parent.schema;
2581
2582
  if (!o)
2582
2583
  return;
2583
- const a = o.contents.findIndex((l) => l.id === t), s = Ve(o.contents[a]);
2584
+ const a = o.contents.findIndex((l) => l.id === t), s = Ee(o.contents[a]);
2584
2585
  o.contents.splice(a, 1), o.contents.splice(a, 0, s);
2585
2586
  }
2586
2587
  }
2587
- class dl extends Je {
2588
+ class cl extends Je {
2588
2589
  constructor(t, n) {
2589
2590
  super(t, n);
2590
2591
  }
@@ -2643,7 +2644,7 @@ class dl extends Je {
2643
2644
  };
2644
2645
  }
2645
2646
  }
2646
- class fl extends Je {
2647
+ class dl extends Je {
2647
2648
  constructor(t, n) {
2648
2649
  super(t, n);
2649
2650
  }
@@ -2683,8 +2684,8 @@ class fl extends Je {
2683
2684
  };
2684
2685
  }
2685
2686
  }
2686
- function pl(e, t) {
2687
- const n = e.schema, o = new Tn(), { canMove: a, canAccept: s, canDelete: l } = o.getTemplateRule(e, t);
2687
+ function fl(e, t) {
2688
+ const n = e.schema, o = new Sn(), { canMove: a, canAccept: s, canDelete: l } = o.getTemplateRule(e, t);
2688
2689
  function r(g) {
2689
2690
  return s;
2690
2691
  }
@@ -2699,7 +2700,7 @@ function pl(e, t) {
2699
2700
  }
2700
2701
  function p(g) {
2701
2702
  var C;
2702
- return (((C = document.querySelector(".dgComponentFocused")) == null ? void 0 : C.id) === `${n.id}-design-item` ? new fl(g, t) : new dl(g, t)).getPropertyConfig(n);
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);
2703
2704
  }
2704
2705
  return {
2705
2706
  canAccepts: r,
@@ -2710,11 +2711,11 @@ function pl(e, t) {
2710
2711
  };
2711
2712
  }
2712
2713
  const _t = v(0);
2713
- function vl(e, t) {
2714
+ function pl(e, t) {
2714
2715
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), a = o.top >= n.top, s = o.top <= n.bottom;
2715
2716
  return a && s;
2716
2717
  }
2717
- function ml(e) {
2718
+ function vl(e) {
2718
2719
  if (!e)
2719
2720
  return;
2720
2721
  let t;
@@ -2725,7 +2726,7 @@ function ml(e) {
2725
2726
  return;
2726
2727
  const o = t.querySelector(".component-btn-group");
2727
2728
  if (o) {
2728
- if (!vl(t, e)) {
2729
+ if (!pl(t, e)) {
2729
2730
  o.style.display = "none";
2730
2731
  return;
2731
2732
  }
@@ -2737,7 +2738,7 @@ function ml(e) {
2737
2738
  }
2738
2739
  }
2739
2740
  }
2740
- function gl(e, t, n, o) {
2741
+ function ml(e, t, n, o) {
2741
2742
  const a = v([]), s = v(e.activeId || ""), l = v(!0), r = v(), u = v([]);
2742
2743
  function c(E) {
2743
2744
  const j = E.value.findIndex((R) => R.props.show !== !1 && !s.value && !R.props.disabled);
@@ -2831,7 +2832,7 @@ function gl(e, t, n, o) {
2831
2832
  }
2832
2833
  function x(E, j) {
2833
2834
  var Z;
2834
- const { contents: R = [] } = o.schema, A = R == null ? void 0 : R.findIndex((se) => se.id === E), z = R[A];
2835
+ const { contents: R = [] } = o.schema, A = R == null ? void 0 : R.findIndex((le) => le.id === E), z = R[A];
2835
2836
  (Z = o == null ? void 0 : o.setupContext) == null || Z.emit("selectionChange", z.type, z, e.componentId, j);
2836
2837
  }
2837
2838
  function f(E, j) {
@@ -2899,20 +2900,20 @@ function gl(e, t, n, o) {
2899
2900
  setHorizontalScrollbarPosition: L
2900
2901
  };
2901
2902
  }
2902
- const hl = /* @__PURE__ */ new Map([
2903
+ const gl = /* @__PURE__ */ new Map([
2903
2904
  ["buttons", "items"],
2904
- ["appearance", Ee]
2905
+ ["appearance", Oe]
2905
2906
  ]);
2906
- function yl(e, t) {
2907
+ function hl(e, t) {
2907
2908
  return { class: t.class, style: t.style };
2908
2909
  }
2909
- const bl = /* @__PURE__ */ new Map([
2910
- ["appearance", yl]
2910
+ const yl = /* @__PURE__ */ new Map([
2911
+ ["appearance", hl]
2911
2912
  ]);
2912
- function _n(e, t, n) {
2913
+ function Tn(e, t, n) {
2913
2914
  return t;
2914
2915
  }
2915
- 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 = {
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 = {
2916
2917
  id: {
2917
2918
  description: "The unique identifier for a Response Toolbar",
2918
2919
  type: "string"
@@ -2942,19 +2943,19 @@ const Cl = "https://json-schema.org/draft/2020-12/schema", wl = "https://farris-
2942
2943
  type: "array",
2943
2944
  default: []
2944
2945
  }
2945
- }, kl = [
2946
+ }, _l = [
2946
2947
  "id",
2947
2948
  "type",
2948
2949
  "buttons"
2949
- ], Il = {
2950
- $schema: Cl,
2951
- $id: wl,
2952
- title: xl,
2953
- description: Sl,
2954
- type: Tl,
2955
- properties: _l,
2956
- required: kl
2957
- }, 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 = {
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 = {
2958
2959
  id: {
2959
2960
  description: "The unique identifier for a Response Toolbar",
2960
2961
  type: "string"
@@ -2999,19 +3000,19 @@ const Cl = "https://json-schema.org/draft/2020-12/schema", wl = "https://farris-
2999
3000
  type: "string",
3000
3001
  default: ""
3001
3002
  }
3002
- }, Dl = [
3003
+ }, Pl = [
3003
3004
  "id",
3004
3005
  "type",
3005
3006
  "text"
3006
- ], Rl = {
3007
- $schema: Bl,
3008
- $id: Fl,
3009
- title: Ml,
3010
- description: El,
3011
- type: Ol,
3012
- properties: Pl,
3013
- required: Dl
3014
- }, kn = {
3007
+ ], Dl = {
3008
+ $schema: Il,
3009
+ $id: Bl,
3010
+ title: Fl,
3011
+ description: Ml,
3012
+ type: El,
3013
+ properties: Ol,
3014
+ required: Pl
3015
+ }, _n = {
3015
3016
  /** 组件自定义样式 */
3016
3017
  customClass: { type: String, default: "" },
3017
3018
  alignment: { Type: String, default: "right" },
@@ -3019,16 +3020,16 @@ const Cl = "https://json-schema.org/draft/2020-12/schema", wl = "https://farris-
3019
3020
  Type: Array,
3020
3021
  default: []
3021
3022
  }
3022
- }, Vl = Object.assign({}, kn, {
3023
+ }, Rl = Object.assign({}, _n, {
3023
3024
  componentId: { type: String, default: "" }
3024
3025
  });
3025
3026
  ye(
3026
- kn,
3027
- Il,
3028
- hl,
3029
- _n
3027
+ _n,
3028
+ kl,
3029
+ gl,
3030
+ Tn
3030
3031
  );
3031
- const In = {
3032
+ const kn = {
3032
3033
  id: { type: String, default: "" },
3033
3034
  items: { type: Object, default: {} },
3034
3035
  class: { type: String, default: "" },
@@ -3039,12 +3040,12 @@ const In = {
3039
3040
  alignment: { Type: String, default: "right" }
3040
3041
  };
3041
3042
  ye(
3042
- In,
3043
- Rl,
3044
- bl,
3045
- _n
3043
+ kn,
3044
+ Dl,
3045
+ yl,
3046
+ Tn
3046
3047
  );
3047
- class Bn {
3048
+ class In {
3048
3049
  constructor(t) {
3049
3050
  /** 工具栏项标识 */
3050
3051
  N(this, "id", "");
@@ -3106,20 +3107,20 @@ class Bn {
3106
3107
  return this.visible ? this.width : !1;
3107
3108
  }
3108
3109
  }
3109
- class $l extends Bn {
3110
+ class Vl extends In {
3110
3111
  constructor(t) {
3111
3112
  super(t);
3112
3113
  }
3113
3114
  }
3114
- function jl() {
3115
+ function $l() {
3115
3116
  function e(t) {
3116
3117
  const n = [];
3117
- return t.reduce((o, a) => (a.children && a.children.length > 0 ? o.push(new st(a)) : o.push(new $l(a)), o), n), 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;
3118
3119
  }
3119
3120
  return { buildResponseToolbarItems: e };
3120
3121
  }
3121
- const { buildResponseToolbarItems: Ll } = jl();
3122
- class st extends Bn {
3122
+ const { buildResponseToolbarItems: jl } = $l();
3123
+ class st extends In {
3123
3124
  constructor(n) {
3124
3125
  super(n);
3125
3126
  N(this, "placement", "");
@@ -3135,10 +3136,10 @@ class st extends Bn {
3135
3136
  const o = ["isDP", "class", "dropdownClass", "menuClass", "placement", "split", "expanded"];
3136
3137
  Object.keys(n).filter((a) => o.indexOf(a) > -1).forEach((a) => {
3137
3138
  this[a] = n[a];
3138
- }), n.children && n.children.length && (this.children = Ll(n.children));
3139
+ }), n.children && n.children.length && (this.children = jl(n.children));
3139
3140
  }
3140
3141
  }
3141
- function Al() {
3142
+ function Ll() {
3142
3143
  function e(n) {
3143
3144
  const o = {
3144
3145
  "f-icon": !0
@@ -3154,7 +3155,7 @@ function Al() {
3154
3155
  }
3155
3156
  return { iconClass: e, shouldShowIcon: t };
3156
3157
  }
3157
- function Nl(e, t) {
3158
+ function Al(e, t) {
3158
3159
  const n = ae("design-item-context"), o = ae("toolbar-item-handler", () => {
3159
3160
  });
3160
3161
  function a() {
@@ -3380,7 +3381,7 @@ function Nl(e, t) {
3380
3381
  height: z
3381
3382
  } = $[0], Z = Math.ceil(z + E);
3382
3383
  k.top = `${Z}px`, k.left = `${R}px`;
3383
- const se = x.id + "_menu", be = f ? f.querySelector("#" + se) : null;
3384
+ const le = x.id + "_menu", be = f ? f.querySelector("#" + le) : null;
3384
3385
  if (be) {
3385
3386
  k.display === "block" && (be.style.display = "block");
3386
3387
  const Se = be.getBoundingClientRect();
@@ -3396,7 +3397,7 @@ function Nl(e, t) {
3396
3397
  }
3397
3398
  u = function(x, f) {
3398
3399
  var L, $;
3399
- const w = Fo(), k = f ? f.id : x.id, V = ($ = (L = w == null ? void 0 : w.exposed) == null ? void 0 : L.elementRef.value) == null ? void 0 : $.querySelector("#" + k);
3400
+ const w = Bo(), k = f ? f.id : x.id, V = ($ = (L = w == null ? void 0 : w.exposed) == null ? void 0 : L.elementRef.value) == null ? void 0 : $.querySelector("#" + k);
3400
3401
  return i("ul", {
3401
3402
  class: s(x),
3402
3403
  style: S(x, V, f),
@@ -3413,11 +3414,11 @@ function Nl(e, t) {
3413
3414
  clearAllDropDownMenu: F
3414
3415
  };
3415
3416
  }
3416
- function Hl(e, t, n) {
3417
+ function Nl(e, t, n) {
3417
3418
  const o = v(e.alignment), {
3418
3419
  renderDropdownMenu: a,
3419
3420
  clearAllDropDownMenu: s
3420
- } = Nl(t, n), l = ae("design-item-context"), r = ae("toolbar-item-handler", () => {
3421
+ } = Al(t, n), l = ae("design-item-context"), r = ae("toolbar-item-handler", () => {
3421
3422
  });
3422
3423
  function u() {
3423
3424
  r && r();
@@ -3579,7 +3580,7 @@ function Hl(e, t, n) {
3579
3580
  clearAllDropDown: S
3580
3581
  };
3581
3582
  }
3582
- class zl extends Je {
3583
+ class Hl extends Je {
3583
3584
  constructor(t, n) {
3584
3585
  super(t, n);
3585
3586
  }
@@ -3662,7 +3663,7 @@ class zl extends Je {
3662
3663
  };
3663
3664
  }
3664
3665
  }
3665
- function ql(e, t) {
3666
+ function zl(e, t) {
3666
3667
  const n = e.schema;
3667
3668
  function o(d) {
3668
3669
  return !1;
@@ -3683,7 +3684,7 @@ function ql(e, t) {
3683
3684
  return !0;
3684
3685
  }
3685
3686
  function c(d) {
3686
- return new zl(d, t).getPropertyConfig(n);
3687
+ return new Hl(d, t).getPropertyConfig(n);
3687
3688
  }
3688
3689
  return {
3689
3690
  canAccepts: o,
@@ -3695,7 +3696,7 @@ function ql(e, t) {
3695
3696
  getPropsConfig: c
3696
3697
  };
3697
3698
  }
3698
- const Gl = {
3699
+ const ql = {
3699
3700
  id: { type: String, default: "" },
3700
3701
  componentId: { type: String, default: "" },
3701
3702
  canAdd: { type: Boolean, default: !1 },
@@ -3709,7 +3710,7 @@ const Gl = {
3709
3710
  */
3710
3711
  modelValue: { type: Object }
3711
3712
  };
3712
- function Wl(e, t, n) {
3713
+ function Gl(e, t, n) {
3713
3714
  var I;
3714
3715
  const o = "", a = v();
3715
3716
  function s() {
@@ -3785,9 +3786,9 @@ function Wl(e, t, n) {
3785
3786
  triggerBelongedComponentToDeleteWhenDeleted: v(!1)
3786
3787
  }, a;
3787
3788
  }
3788
- const Fn = /* @__PURE__ */ te({
3789
+ const Bn = /* @__PURE__ */ te({
3789
3790
  name: "FDesignerInnerItem",
3790
- props: Gl,
3791
+ props: ql,
3791
3792
  emits: ["selectionChange", "addComponent", "removeComponent"],
3792
3793
  setup(e, t) {
3793
3794
  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 = {
@@ -3852,7 +3853,7 @@ const Fn = /* @__PURE__ */ te({
3852
3853
  class: "btn component-settings-button",
3853
3854
  title: "删除",
3854
3855
  ref: "removeComponent",
3855
- onClick: en((w) => h(w, f), ["stop"])
3856
+ onClick: Jt((w) => h(w, f), ["stop"])
3856
3857
  }, [i("i", {
3857
3858
  class: "f-icon f-icon-yxs_delete"
3858
3859
  }, null)]);
@@ -3874,12 +3875,12 @@ const Fn = /* @__PURE__ */ te({
3874
3875
  "data-noattach": "true"
3875
3876
  }, [i("div", null, [I(), P(), M(f)])]);
3876
3877
  }
3877
- G(() => e.modelValue, (f) => {
3878
+ U(() => e.modelValue, (f) => {
3878
3879
  c.value = f, C.schema = f;
3879
3880
  });
3880
3881
  function D(f) {
3881
3882
  const w = f.target;
3882
- ml(w);
3883
+ vl(w);
3883
3884
  }
3884
3885
  function S() {
3885
3886
  var f, w;
@@ -3887,15 +3888,15 @@ const Fn = /* @__PURE__ */ te({
3887
3888
  }
3888
3889
  function F() {
3889
3890
  const f = p.value, w = v(f.children[1]);
3890
- return Wl(w, C).value;
3891
+ return Gl(w, C).value;
3891
3892
  }
3892
- le(() => {
3893
+ se(() => {
3893
3894
  if (p.value) {
3894
3895
  const f = p.value.querySelector(`[data-dragref='${c.value.id}-container']`);
3895
3896
  b.value = f && f.componentInstance ? f.componentInstance.value : F(), g && f && g.attachComponents(f, c.value), s.value = b.value.canNested !== void 0 ? b.value.canNested : s.value, o.value = b.value.canAdd !== void 0 ? b.value.canAdd : o.value, a.value = b.value.canDelete !== void 0 ? b.value.canDelete : a.value, n.value = b.value.canMove !== void 0 ? b.value.canMove : n.value, d.value = b.value.styles || "", p.value && (p.value.componentInstance = b, p.value.designItemContext = C);
3896
3897
  }
3897
3898
  S(), _t.value++;
3898
- }), Jt(() => {
3899
+ }), Zt(() => {
3899
3900
  p.value && p.value.removeEventListener("scroll", D);
3900
3901
  });
3901
3902
  function x(f) {
@@ -3919,7 +3920,7 @@ const Fn = /* @__PURE__ */ te({
3919
3920
  }, [O(c.value), t.slots.default && t.slots.default()]);
3920
3921
  }
3921
3922
  });
3922
- class Ul extends Je {
3923
+ class Wl extends Je {
3923
3924
  constructor(t, n) {
3924
3925
  super(t, n);
3925
3926
  }
@@ -4001,7 +4002,7 @@ class Ul extends Je {
4001
4002
  };
4002
4003
  }
4003
4004
  }
4004
- class Xl extends Je {
4005
+ class Ul extends Je {
4005
4006
  constructor(t, n) {
4006
4007
  super(t, n);
4007
4008
  }
@@ -4099,7 +4100,7 @@ class Xl extends Je {
4099
4100
  };
4100
4101
  }
4101
4102
  }
4102
- function Kl(e, t) {
4103
+ function Xl(e, t) {
4103
4104
  function n(r) {
4104
4105
  return !1;
4105
4106
  }
@@ -4116,10 +4117,10 @@ function Kl(e, t) {
4116
4117
  let u;
4117
4118
  switch (e.schema.type) {
4118
4119
  case "tab-toolbar-item":
4119
- u = new Ul(r, t);
4120
+ u = new Wl(r, t);
4120
4121
  break;
4121
4122
  default:
4122
- u = new Xl(r, t);
4123
+ u = new Ul(r, t);
4123
4124
  }
4124
4125
  return u.getPropertyConfig(e.schema);
4125
4126
  }
@@ -4131,9 +4132,9 @@ function Kl(e, t) {
4131
4132
  getPropsConfig: l
4132
4133
  };
4133
4134
  }
4134
- const Yl = /* @__PURE__ */ te({
4135
+ const Kl = /* @__PURE__ */ te({
4135
4136
  name: "FResponseToolbarItemDesign",
4136
- props: In,
4137
+ props: kn,
4137
4138
  emits: ["Click"],
4138
4139
  setup(e, t) {
4139
4140
  v(), v();
@@ -4142,9 +4143,9 @@ const Yl = /* @__PURE__ */ te({
4142
4143
  text: "More"
4143
4144
  }, a = v(new st(o));
4144
4145
  B(() => a.value.children.length > 0);
4145
- const s = v(), l = ae("designer-host-service"), r = ae("design-item-context"), u = Kl(r, l), c = sn(s, r, u);
4146
+ const s = v(), l = ae("designer-host-service"), r = ae("design-item-context"), u = Xl(r, l), c = an(s, r, u);
4146
4147
  ae("toolbar-item-handler", () => {
4147
- }), le(() => {
4148
+ }), se(() => {
4148
4149
  s.value.componentInstance = c;
4149
4150
  }), t.expose(c.value);
4150
4151
  function d() {
@@ -4180,9 +4181,9 @@ const Yl = /* @__PURE__ */ te({
4180
4181
  class: d()
4181
4182
  }, null), e.text])]);
4182
4183
  }
4183
- }), Ql = /* @__PURE__ */ te({
4184
+ }), Yl = /* @__PURE__ */ te({
4184
4185
  name: "FResponseToolbarDesign",
4185
- props: Vl,
4186
+ props: Rl,
4186
4187
  emits: ["Click"],
4187
4188
  setup(e, t) {
4188
4189
  const n = v(e.items);
@@ -4190,11 +4191,11 @@ const Yl = /* @__PURE__ */ te({
4190
4191
  const a = v(), s = v(), l = v(e.alignment), r = {
4191
4192
  id: "__more_buttons__",
4192
4193
  text: "More"
4193
- }, u = v(new st(r)), c = Al();
4194
+ }, u = v(new st(r)), c = Ll();
4194
4195
  B(() => u.value.children.length > 0);
4195
- const d = v(), p = ae("designer-host-service"), g = ae("design-item-context"), b = ql(g, p), y = sn(d, g, b), C = ae("toolbar-item-handler", () => {
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", () => {
4196
4197
  });
4197
- le(() => {
4198
+ se(() => {
4198
4199
  d.value.componentInstance = y;
4199
4200
  }), t.expose(y.value);
4200
4201
  function _() {
@@ -4212,7 +4213,7 @@ const Yl = /* @__PURE__ */ te({
4212
4213
  })), {
4213
4214
  renderToolbarDropdown: T,
4214
4215
  clearAllDropDown: I
4215
- } = Hl(e, c, y);
4216
+ } = Nl(e, c, y);
4216
4217
  function M() {
4217
4218
  n.value.filter((f) => f.children && f.children.length > 0).forEach((f) => {
4218
4219
  f.expanded = !1;
@@ -4229,11 +4230,11 @@ const Yl = /* @__PURE__ */ te({
4229
4230
  }
4230
4231
  const $ = V.filter((A) => A.id !== "__more_buttons__");
4231
4232
  for (const A of $) {
4232
- const z = A.computedStyleMap().get("margin-left"), Z = A.computedStyleMap().get("margin-right"), se = (z ? z.value : 0) + A.getBoundingClientRect().width + (Z ? Z.value : 0);
4233
- k < se ? (P.set(A.id, !0), O.push({
4233
+ const z = A.computedStyleMap().get("margin-left"), Z = A.computedStyleMap().get("margin-right"), le = (z ? z.value : 0) + A.getBoundingClientRect().width + (Z ? Z.value : 0);
4234
+ k < le ? (P.set(A.id, !0), O.push({
4234
4235
  id: A.id,
4235
- width: se
4236
- })) : k -= se;
4236
+ width: le
4237
+ })) : k -= le;
4237
4238
  }
4238
4239
  if (O.length)
4239
4240
  for (let A = O.length - 1; A >= 0; A--) {
@@ -4254,16 +4255,16 @@ const Yl = /* @__PURE__ */ te({
4254
4255
  (k < L || O.length) && D(k);
4255
4256
  }
4256
4257
  });
4257
- le(() => {
4258
+ se(() => {
4258
4259
  const f = a.value;
4259
4260
  S.observe(f), document.body.addEventListener("click", M);
4260
4261
  }), $e(() => {
4261
4262
  S.disconnect(), document.body.removeEventListener("click", M);
4262
- }), G(() => e.items, () => {
4263
+ }), U(() => e.items, () => {
4263
4264
  n.value = e.items;
4264
4265
  }, {
4265
4266
  deep: !0
4266
- }), G(n, (f) => {
4267
+ }), U(n, (f) => {
4267
4268
  o = new Array(n.value.length).fill(v());
4268
4269
  });
4269
4270
  function F(f, w, k, V) {
@@ -4284,7 +4285,7 @@ const Yl = /* @__PURE__ */ te({
4284
4285
  ref: s,
4285
4286
  class: "d-inline-block f-response-content",
4286
4287
  style: "white-space: nowrap;"
4287
- }, [n.value.map((f, w) => i(Fn, {
4288
+ }, [n.value.map((f, w) => i(Bn, {
4288
4289
  ref: o[w],
4289
4290
  class: "p-0 display-inline-block",
4290
4291
  modelValue: f,
@@ -4301,7 +4302,7 @@ const Yl = /* @__PURE__ */ te({
4301
4302
  }, {
4302
4303
  default: () => {
4303
4304
  var k;
4304
- return [i(Yl, {
4305
+ return [i(Kl, {
4305
4306
  id: f.id,
4306
4307
  disabled: f.disabled,
4307
4308
  text: f.text,
@@ -4314,7 +4315,7 @@ const Yl = /* @__PURE__ */ te({
4314
4315
  }))])])]);
4315
4316
  }
4316
4317
  });
4317
- function Zl(e, t, n, o, a) {
4318
+ function Ql(e, t, n, o, a) {
4318
4319
  const {
4319
4320
  toolbarItems: s,
4320
4321
  toolbarSchema: l,
@@ -4332,7 +4333,7 @@ function Zl(e, t, n, o, a) {
4332
4333
  }, [i("div", {
4333
4334
  class: "farris-tabs-inline-flex w-100",
4334
4335
  style: "flex:1"
4335
- }, [i(Fn, {
4336
+ }, [i(Bn, {
4336
4337
  modelValue: l.value,
4337
4338
  "onUpdate:modelValue": (d) => l.value = d,
4338
4339
  class: "w-100 position-relative",
@@ -4345,18 +4346,18 @@ function Zl(e, t, n, o, a) {
4345
4346
  componentId: a,
4346
4347
  onAddComponent: c
4347
4348
  }, {
4348
- default: () => [i(Ql, {
4349
+ default: () => [i(Yl, {
4349
4350
  items: s.value,
4350
4351
  componentId: a
4351
4352
  }, null)]
4352
4353
  })])]);
4353
4354
  }
4354
- const Jl = /* @__PURE__ */ te({
4355
+ const Zl = /* @__PURE__ */ te({
4355
4356
  name: "FTabsDesign",
4356
- props: vn,
4357
+ props: pn,
4357
4358
  emits: ["tabChange", "tabRemove"],
4358
4359
  setup(e, t) {
4359
- const n = v(), o = ae("designer-host-service"), a = ae("design-item-context"), s = pl(a, o), l = Ye(n, a, s), r = v(e.tabType), u = Ue(), c = Ue(), d = gl(e, t, u, a), {
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), {
4360
4361
  activeId: p,
4361
4362
  changeTitleStyle: g,
4362
4363
  tabPages: b,
@@ -4367,15 +4368,15 @@ const Jl = /* @__PURE__ */ te({
4367
4368
  listenTabNavElementScroll: h,
4368
4369
  toolbarSchema: T,
4369
4370
  setHorizontalScrollbarPosition: I
4370
- } = d, M = bn(e, c, d), P = hn(e, u, M, d), {
4371
+ } = d, M = yn(e, c, d), P = gn(e, u, M, d), {
4371
4372
  previousButtonClass: O,
4372
4373
  nextButtonClass: D,
4373
4374
  nextButtonGroupClass: S,
4374
4375
  scrollTab: F,
4375
4376
  updateNavigationLayout: x
4376
- } = P, f = yn(e, d), {
4377
+ } = P, f = hn(e, d), {
4377
4378
  hideDropDown: w
4378
- } = f, k = cl(e, u, P, M, d, l), V = k, L = mn(e, u, P, M, d), $ = /* @__PURE__ */ new Map([["default", k], ["one-page", V], ["pills", L]]);
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]]);
4379
4380
  B(() => {
4380
4381
  const ne = b.value.find((ce) => ce.props.id === p.value);
4381
4382
  return ne == null ? void 0 : ne.slots;
@@ -4409,7 +4410,7 @@ const Jl = /* @__PURE__ */ te({
4409
4410
  "farris-tabs-inContent": !E.value,
4410
4411
  "farris-tabs-nav-fill": A.value,
4411
4412
  "farris-tabs-nav-pills": z.value
4412
- })), se = B(() => ({
4413
+ })), le = B(() => ({
4413
4414
  width: E.value && e.titleWidth ? `${e.titleWidth}%` : ""
4414
4415
  })), be = B(() => ({
4415
4416
  "farris-tabs": !0,
@@ -4419,7 +4420,7 @@ const Jl = /* @__PURE__ */ te({
4419
4420
  "flex-row-reverse": e.position === "right",
4420
4421
  "one-page": e.tabType === "one-page"
4421
4422
  }));
4422
- le(() => {
4423
+ se(() => {
4423
4424
  b.value.length && (p.value = e.activeId || b.value[0].props.id, _(p.value)), xe(() => {
4424
4425
  x();
4425
4426
  }), g(u), window.addEventListener("click", (ne) => {
@@ -4451,25 +4452,25 @@ const Jl = /* @__PURE__ */ te({
4451
4452
  }
4452
4453
  const {
4453
4454
  renderMorePagesButtton: re
4454
- } = gn(e, f, P, d);
4455
+ } = mn(e, f, P, d);
4455
4456
  function Ce() {
4456
- return !!m.value.length && Zl(d, l, s, a, e.componentId);
4457
+ return !!m.value.length && Ql(d, l, s, a, e.componentId);
4457
4458
  }
4458
4459
  const pe = $.get(e.tabType) || $.get("default");
4459
4460
  function me() {
4460
- var ne, ce, Te, Oe;
4461
+ var ne, ce, Te, Pe;
4461
4462
  return i("div", {
4462
4463
  class: Z.value
4463
4464
  }, [i("div", {
4464
4465
  class: "farris-tabs-header-pre"
4465
4466
  }, [(ce = (ne = t.slots).headerPrefix) == null ? void 0 : ce.call(ne)]), i("div", {
4466
4467
  class: "farris-tabs-title scroll-tabs",
4467
- style: se.value
4468
+ style: le.value
4468
4469
  }, [Se(), pe && pe(), i("div", {
4469
4470
  class: S.value
4470
4471
  }, [ee(), re()])]), Ce(), i("div", {
4471
4472
  class: "farris-tabs-header-post"
4472
- }, [(Oe = (Te = t.slots).headerSuffix) == null ? void 0 : Oe.call(Te)])]);
4473
+ }, [(Pe = (Te = t.slots).headerSuffix) == null ? void 0 : Pe.call(Te)])]);
4473
4474
  }
4474
4475
  function ze() {
4475
4476
  var ne, ce;
@@ -4484,22 +4485,22 @@ const Jl = /* @__PURE__ */ te({
4484
4485
  }, [me(), ze()]);
4485
4486
  }
4486
4487
  });
4487
- function ei(e, t, n) {
4488
+ function Jl(e, t, n) {
4488
4489
  return t ? { enableAccordion: n.accordionMode } : { enableAccordion: "" };
4489
4490
  }
4490
- function ti(e, t) {
4491
+ function ei(e, t) {
4491
4492
  return {
4492
4493
  buttons: t.buttons,
4493
4494
  buttonPosition: t.position
4494
4495
  };
4495
4496
  }
4496
- const ni = /* @__PURE__ */ new Map([
4497
- ["appearance", Ee],
4497
+ const ti = /* @__PURE__ */ new Map([
4498
+ ["appearance", Oe],
4498
4499
  ["expanded", "expandStatus"],
4499
- ["enableAccordion", ei],
4500
- ["toolbar", ti]
4500
+ ["enableAccordion", Jl],
4501
+ ["toolbar", ei]
4501
4502
  ]);
4502
- function oi(e, t, n) {
4503
+ function ni(e, t, n) {
4503
4504
  const o = Math.random().toString().slice(2, 6), a = n.parentComponentInstance;
4504
4505
  Object.assign(t, {
4505
4506
  id: `section-${o}`,
@@ -4524,12 +4525,13 @@ function oi(e, t, n) {
4524
4525
  break;
4525
4526
  }
4526
4527
  }
4527
- return s;
4528
+ const r = a.elementRef, u = window.getComputedStyle(r);
4529
+ return u && u.display === "flex" && (s.appearance.class += " d-block"), s;
4528
4530
  }
4529
- function ai(e, t, n) {
4530
- return n.parentComponentInstance ? oi(e, t, n) : t;
4531
+ function oi(e, t, n) {
4532
+ return n.parentComponentInstance ? ni(e, t, n) : t;
4531
4533
  }
4532
- 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 = {
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 = {
4533
4535
  id: {
4534
4536
  description: "The unique identifier for a Section",
4535
4537
  type: "string"
@@ -4641,7 +4643,7 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
4641
4643
  properties: {
4642
4644
  type: {
4643
4645
  type: "string",
4644
- default: "SectionToolbar"
4646
+ default: "section-toolbar"
4645
4647
  },
4646
4648
  position: {
4647
4649
  type: "string",
@@ -4654,19 +4656,19 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
4654
4656
  },
4655
4657
  default: null
4656
4658
  }
4657
- }, di = [
4659
+ }, ci = [
4658
4660
  "id",
4659
4661
  "type",
4660
4662
  "contents"
4661
- ], fi = {
4662
- $schema: si,
4663
- $id: li,
4664
- title: ii,
4665
- description: ri,
4666
- type: ui,
4667
- properties: ci,
4668
- required: di
4669
- }, Mn = {
4663
+ ], di = {
4664
+ $schema: ai,
4665
+ $id: si,
4666
+ title: li,
4667
+ description: ii,
4668
+ type: ri,
4669
+ properties: ui,
4670
+ required: ci
4671
+ }, Fn = {
4670
4672
  /** 设置内容区域样式 */
4671
4673
  contentClass: { type: String, default: "" },
4672
4674
  /** 自定义样式 */
@@ -4712,8 +4714,8 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
4712
4714
  // toolbarButtons: { type: Array<object>, default: [] },
4713
4715
  // toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
4714
4716
  };
4715
- ye(Mn, fi, ni, ai);
4716
- function pi(e, t, n) {
4717
+ ye(Fn, di, ti, oi);
4718
+ function fi(e, t, n) {
4717
4719
  let o;
4718
4720
  function a(u = 1) {
4719
4721
  const c = [
@@ -4749,7 +4751,7 @@ function pi(e, t, n) {
4749
4751
  }
4750
4752
  return { onClickMaxMinIcon: r };
4751
4753
  }
4752
- function En(e, t) {
4754
+ function Mn(e, t) {
4753
4755
  const n = v(e.buttons), o = B(() => e.buttonPosition === "inHead" ? "right" : "left"), a = B(() => "f-section-toolbar" + (e.buttonPosition === "inHead" ? " f-section-header--toolbar" : " f-section-content--toolbar")), s = B(() => e.buttons && e.buttons.length > 0 && e.buttonPosition === "inHead");
4754
4756
  function l(r) {
4755
4757
  t.emit("Click", r);
@@ -4761,11 +4763,11 @@ function En(e, t) {
4761
4763
  alignment: o.value
4762
4764
  }, null);
4763
4765
  }
4764
- function vi(e, t, n, o, a, s) {
4766
+ function pi(e, t, n, o, a, s) {
4765
4767
  v(e.subTitle);
4766
- const l = B(() => e.buttonPosition), r = En(e, t), {
4768
+ const l = B(() => e.buttonPosition), r = Mn(e, t), {
4767
4769
  onClickMaxMinIcon: u
4768
- } = pi(o, a, s), c = B(() => !!e.subTitle), d = B(() => e.enableMaximize), p = B(() => e.enableAccordion !== ""), g = B(() => {
4770
+ } = fi(o, a, s), c = B(() => !!e.subTitle), d = B(() => e.enableMaximize), p = B(() => e.enableAccordion !== ""), g = B(() => {
4769
4771
  const T = {
4770
4772
  "f-section-header": !0
4771
4773
  };
@@ -4826,8 +4828,8 @@ function vi(e, t, n, o, a, s) {
4826
4828
  }
4827
4829
  return () => e.showHeader && (t.slots.header ? C() : h());
4828
4830
  }
4829
- const mi = ["moz", "ms", "webkit"];
4830
- function gi() {
4831
+ const vi = ["moz", "ms", "webkit"];
4832
+ function mi() {
4831
4833
  let e = 0;
4832
4834
  return (t) => {
4833
4835
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -4836,25 +4838,25 @@ function gi() {
4836
4838
  return e = n + o, a;
4837
4839
  };
4838
4840
  }
4839
- function hi() {
4841
+ function gi() {
4840
4842
  if (typeof window > "u")
4841
4843
  return () => 0;
4842
4844
  if (window.requestAnimationFrame)
4843
4845
  return window.requestAnimationFrame.bind(window);
4844
- const e = mi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4845
- return e ? window[`${e}RequestAnimationFrame`] : gi();
4846
+ const e = vi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
4847
+ return e ? window[`${e}RequestAnimationFrame`] : mi();
4846
4848
  }
4847
- hi();
4849
+ gi();
4848
4850
  function Ct(e, t) {
4849
4851
  return ((t == null ? void 0 : t.split(" ")) || []).reduce((o, a) => (a && (o[a] = !0), o), e), e;
4850
4852
  }
4851
4853
  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 || {});
4852
- const yi = /* @__PURE__ */ te({
4854
+ const hi = /* @__PURE__ */ te({
4853
4855
  name: "FSection",
4854
- props: Mn,
4856
+ props: Fn,
4855
4857
  emits: [],
4856
4858
  setup(e, t) {
4857
- 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 = En(e, t), p = B(() => {
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(() => {
4858
4860
  const _ = {
4859
4861
  "f-section": !0,
4860
4862
  "f-section-accordion": s.value === "default",
@@ -4879,9 +4881,9 @@ const yi = /* @__PURE__ */ te({
4879
4881
  class: g.value
4880
4882
  }, [r.value === "inContent" && d(), t.slots.default && t.slots.default()]);
4881
4883
  }
4882
- return G(() => e.expandStatus, (_, m) => {
4884
+ return U(() => e.expandStatus, (_, m) => {
4883
4885
  _ !== m && (l.value = _);
4884
- }), le(() => {
4886
+ }), se(() => {
4885
4887
  n.value && n.value && (o.value = n.value.parentElement);
4886
4888
  }), () => i("div", {
4887
4889
  class: p.value,
@@ -4890,7 +4892,7 @@ const yi = /* @__PURE__ */ te({
4890
4892
  }, [c(), y(), C()]);
4891
4893
  }
4892
4894
  });
4893
- function bi() {
4895
+ function yi() {
4894
4896
  function e(t, n) {
4895
4897
  var l;
4896
4898
  if (!t)
@@ -4905,31 +4907,31 @@ function bi() {
4905
4907
  basalDragulaRuleForContainer: e
4906
4908
  };
4907
4909
  }
4908
- function Ci(e, t) {
4909
- const n = new Tn(), { canAccept: o } = n.getTemplateRule(e, t);
4910
+ function bi(e, t) {
4911
+ const n = new Sn(), { canAccept: o } = n.getTemplateRule(e, t);
4910
4912
  function a(s) {
4911
- if (!bi().basalDragulaRuleForContainer(s, t))
4913
+ if (!yi().basalDragulaRuleForContainer(s, t))
4912
4914
  return !1;
4913
4915
  const { schema: r } = e;
4914
4916
  return r.contents && r.contents.length > 0 ? !1 : o;
4915
4917
  }
4916
4918
  return { canAccepts: a };
4917
4919
  }
4918
- function wi(e) {
4919
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Yt(e);
4920
+ function Ci(e) {
4921
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Kt(e);
4920
4922
  }
4921
- const xi = /* @__PURE__ */ te({
4923
+ const wi = /* @__PURE__ */ te({
4922
4924
  name: "FTabPageDesign",
4923
4925
  props: Rt,
4924
4926
  emits: [],
4925
4927
  setup(e, t) {
4926
- const n = v(), o = ae("design-item-context"), a = ae("designer-host-service"), s = Ci(o, a), l = Ye(n, o, s);
4928
+ const n = v(), o = ae("design-item-context"), a = ae("designer-host-service"), s = bi(o, a), l = Ye(n, o, s);
4927
4929
  l.value.canNested = !1, l.value.canDelete = !1, l.value.canMove = !1, t.expose(l.value);
4928
4930
  const r = ae("tabs"), u = v(!0), c = {
4929
4931
  slots: t.slots,
4930
4932
  props: e
4931
4933
  }, d = v((r == null ? void 0 : r.tabType.value) || "default");
4932
- le(() => {
4934
+ se(() => {
4933
4935
  n.value.componentInstance = l;
4934
4936
  const h = r.tabPages.value.findIndex((T) => T.props.id === e.id);
4935
4937
  !h || h === -1 ? r == null || r.addTab(c) : h > -1 && (u.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
@@ -4938,7 +4940,7 @@ const xi = /* @__PURE__ */ te({
4938
4940
  const p = B(() => (e == null ? void 0 : e.id) === (r == null ? void 0 : r.activeId.value)), g = B(() => ({
4939
4941
  display: p.value ? "" : "none"
4940
4942
  }));
4941
- G(() => e, (h) => {
4943
+ U(() => e, (h) => {
4942
4944
  r == null || r.updateTab({
4943
4945
  props: h,
4944
4946
  slots: t.slots
@@ -4950,10 +4952,10 @@ const xi = /* @__PURE__ */ te({
4950
4952
  function b() {
4951
4953
  var T, I;
4952
4954
  const h = (I = (T = t.slots).default) == null ? void 0 : I.call(T);
4953
- return i(yi, {
4955
+ return i(hi, {
4954
4956
  "main-title": e.title,
4955
4957
  class: "farris-tab-page"
4956
- }, wi(h) ? h : {
4958
+ }, Ci(h) ? h : {
4957
4959
  default: () => [h]
4958
4960
  });
4959
4961
  }
@@ -4974,7 +4976,7 @@ const xi = /* @__PURE__ */ te({
4974
4976
  const m = (/* @__PURE__ */ new Map([["default", C], ["one-page", b]])).get(d.value) || C;
4975
4977
  return () => u.value ? m() : null;
4976
4978
  }
4977
- }), 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 = {
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 = {
4978
4980
  id: {
4979
4981
  description: "The unique identifier for a Response Toolbar",
4980
4982
  type: "string"
@@ -5012,34 +5014,34 @@ const xi = /* @__PURE__ */ te({
5012
5014
  type: "string",
5013
5015
  default: ""
5014
5016
  }
5015
- }, Fi = [
5017
+ }, Bi = [
5016
5018
  "id",
5017
5019
  "type",
5018
5020
  "text"
5019
- ], Mi = {
5020
- $schema: Si,
5021
- $id: Ti,
5022
- title: _i,
5023
- description: ki,
5024
- type: Ii,
5025
- properties: Bi,
5026
- required: Fi
5027
- }, Ei = {
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 = {
5028
5030
  text: { type: String, default: "" },
5029
5031
  icon: { type: String, default: "" }
5030
- }, Oi = ye(Ei, Mi, Pt, ms);
5032
+ }, Ei = ye(Mi, Fi, Pt, vs);
5031
5033
  Le.install = (e) => {
5032
5034
  e.component(Le.name, Le), e.component(at.name, at);
5033
5035
  };
5034
5036
  Le.register = (e, t, n, o) => {
5035
- e.tabs = Le, e["tab-page"] = at, t.tabs = Ss, t["tab-page"] = Cn, o.tabs = { eventHandlerResolver: _s };
5037
+ e.tabs = Le, e["tab-page"] = at, t.tabs = xs, t["tab-page"] = bn, o.tabs = { eventHandlerResolver: Ts };
5036
5038
  };
5037
5039
  Le.registerDesigner = (e, t, n) => {
5038
- e.tabs = Jl, e["tab-page"] = xi, t.tabs = Ts, t["tab-page"] = Cn, t["tab-toolbar-item"] = Oi;
5040
+ e.tabs = Zl, e["tab-page"] = wi, t.tabs = Ss, t["tab-page"] = bn, t["tab-toolbar-item"] = Ei;
5039
5041
  };
5040
- const Pi = /* @__PURE__ */ new Map([
5041
- ["appearance", Ee]
5042
- ]), 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 = {
5042
+ const Oi = /* @__PURE__ */ new Map([
5043
+ ["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 = {
5043
5045
  id: {
5044
5046
  description: "The unique identifier for a search-box",
5045
5047
  type: "string"
@@ -5101,22 +5103,22 @@ const Pi = /* @__PURE__ */ new Map([
5101
5103
  type: "boolean",
5102
5104
  default: !0
5103
5105
  }
5104
- }, Ai = [
5106
+ }, Li = [
5105
5107
  "id",
5106
5108
  "type"
5107
- ], Ni = {
5108
- $schema: Di,
5109
- $id: Ri,
5110
- title: Vi,
5111
- description: $i,
5112
- type: ji,
5113
- properties: Li,
5114
- required: Ai
5109
+ ], Ai = {
5110
+ $schema: Pi,
5111
+ $id: Di,
5112
+ title: Ri,
5113
+ description: Vi,
5114
+ type: $i,
5115
+ properties: ji,
5116
+ required: Li
5115
5117
  };
5116
- function Hi(e, t, n) {
5118
+ function Ni(e, t, n) {
5117
5119
  return t;
5118
5120
  }
5119
- const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5121
+ const Hi = "search-box", zi = "A Farris Component", qi = "object", Gi = {
5120
5122
  basic: {
5121
5123
  description: "Basic Infomation",
5122
5124
  title: "基本信息",
@@ -5138,11 +5140,11 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5138
5140
  }
5139
5141
  }
5140
5142
  }
5141
- }, Ui = {
5142
- title: zi,
5143
- description: qi,
5144
- type: Gi,
5145
- categories: Wi
5143
+ }, Wi = {
5144
+ title: Hi,
5145
+ description: zi,
5146
+ type: qi,
5147
+ categories: Gi
5146
5148
  }, $t = {
5147
5149
  /**
5148
5150
  * 自定义图标
@@ -5193,7 +5195,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5193
5195
  * 值变化事件触发时机
5194
5196
  */
5195
5197
  updateOn: { default: "blur", type: String }
5196
- }, On = ye($t, Ni, Pi, Hi, Ui), Xi = {
5198
+ }, En = ye($t, Ai, Oi, Ni, Wi), Ui = {
5197
5199
  data: { type: Array, default: [] },
5198
5200
  /** 确认结果事件 */
5199
5201
  onConfirmResult: { type: Function, default: () => {
@@ -5217,9 +5219,9 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5217
5219
  */
5218
5220
  maxHeight: { default: 350, type: Number },
5219
5221
  loading: { default: !1, type: Boolean }
5220
- }, Pn = /* @__PURE__ */ te({
5222
+ }, On = /* @__PURE__ */ te({
5221
5223
  name: "FSearchBoxContainer",
5222
- props: Xi,
5224
+ props: Ui,
5223
5225
  emits: ["confirmResult", "searchedValue"],
5224
5226
  setup(e, t) {
5225
5227
  const n = v(e.data), o = v(), {
@@ -5243,9 +5245,9 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5243
5245
  const d = {};
5244
5246
  return d.padding = "8px", e.maxHeight !== void 0 && e.maxHeight > 0 && (d.maxHeight = `${e.maxHeight}px`), d;
5245
5247
  });
5246
- return G(() => e.loading, (d) => {
5248
+ return U(() => e.loading, (d) => {
5247
5249
  console.log("loading状态改变" + d);
5248
- }), G(() => e.data, (d) => {
5250
+ }), U(() => e.data, (d) => {
5249
5251
  d !== n.value && (n.value = d), o.value.updateDataSource(d);
5250
5252
  }), t.expose({
5251
5253
  search: l
@@ -5256,10 +5258,10 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5256
5258
  return i("div", {
5257
5259
  class: s.value,
5258
5260
  style: c.value
5259
- }, [i(Lo, {
5261
+ }, [i(jo, {
5260
5262
  ref: "loadingInstance",
5261
5263
  isActive: e.loading
5262
- }, null), i(rn, {
5264
+ }, null), i(ln, {
5263
5265
  ref: o,
5264
5266
  itemClass: "dropdown-item",
5265
5267
  data: n.value,
@@ -5272,7 +5274,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5272
5274
  }, d)]);
5273
5275
  };
5274
5276
  }
5275
- }), Re = /* @__PURE__ */ te({
5277
+ }), Ve = /* @__PURE__ */ te({
5276
5278
  name: "FSearchBox",
5277
5279
  props: $t,
5278
5280
  emits: ["update:modelValue", "change", "selectedValue", "clickButton"],
@@ -5281,10 +5283,10 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5281
5283
  const n = v(), o = v(), a = v(e.placeholder), s = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', l = B(() => e.loading ? s : e.buttonContent);
5282
5284
  v(e.editable);
5283
5285
  const r = v(e.modelValue);
5284
- G(r, (b) => {
5286
+ U(r, (b) => {
5285
5287
  var y;
5286
5288
  (y = o.value) == null || y.search(b), t.emit("update:modelValue", b);
5287
- }), G(() => e.modelValue, (b) => {
5289
+ }), U(() => e.modelValue, (b) => {
5288
5290
  r.value = b;
5289
5291
  });
5290
5292
  function u(b) {
@@ -5308,7 +5310,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5308
5310
  const b = {
5309
5311
  default: t.slots.default
5310
5312
  };
5311
- return i(ln, {
5313
+ return i(sn, {
5312
5314
  ref: n,
5313
5315
  "button-content": l.value,
5314
5316
  "custom-class": e.customClass,
@@ -5327,7 +5329,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5327
5329
  "popup-on-input": e.showDropdown,
5328
5330
  "popup-on-focus": e.showDropdown
5329
5331
  }, {
5330
- default: () => [e.showDropdown && i(Pn, {
5332
+ default: () => [e.showDropdown && i(On, {
5331
5333
  ref: o,
5332
5334
  data: e.data,
5333
5335
  onConfirmResult: u,
@@ -5339,18 +5341,18 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5339
5341
  });
5340
5342
  };
5341
5343
  }
5342
- }), Ki = /* @__PURE__ */ te({
5344
+ }), Xi = /* @__PURE__ */ te({
5343
5345
  name: "FSearchBoxDesign",
5344
5346
  props: $t,
5345
5347
  emits: ["update:modelValue", "change"],
5346
5348
  setup(e, t) {
5347
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);
5348
- le(() => {
5350
+ se(() => {
5349
5351
  u.value.componentInstance = d;
5350
- }), t.expose(d.value), G(r, (b) => {
5352
+ }), t.expose(d.value), U(r, (b) => {
5351
5353
  var y;
5352
5354
  (y = a.value) == null || y.search(b), t.emit("update:modelValue", b);
5353
- }), G(() => e.modelValue, (b) => {
5355
+ }), U(() => e.modelValue, (b) => {
5354
5356
  r.value = b;
5355
5357
  });
5356
5358
  function p(b) {
@@ -5361,7 +5363,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5361
5363
  }
5362
5364
  return () => i("div", {
5363
5365
  ref: u
5364
- }, [i(tn("f-button-edit"), {
5366
+ }, [i(en("f-button-edit"), {
5365
5367
  ref: o,
5366
5368
  "button-content": l.value,
5367
5369
  placeholder: s.value,
@@ -5376,7 +5378,7 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5376
5378
  "popup-on-input": !0,
5377
5379
  "popup-on-focus": !0
5378
5380
  }, {
5379
- default: () => [i(Pn, {
5381
+ default: () => [i(On, {
5380
5382
  ref: a,
5381
5383
  data: n.value,
5382
5384
  onConfirmResult: p
@@ -5384,22 +5386,22 @@ const zi = "search-box", qi = "A Farris Component", Gi = "object", Wi = {
5384
5386
  })]);
5385
5387
  }
5386
5388
  });
5387
- Re.install = (e) => {
5388
- e.component(Re.name, Re);
5389
+ Ve.install = (e) => {
5390
+ e.component(Ve.name, Ve);
5389
5391
  };
5390
- Re.register = (e, t, n, o) => {
5391
- e["search-box"] = Re, t["search-box"] = On;
5392
+ Ve.register = (e, t, n, o) => {
5393
+ e["search-box"] = Ve, t["search-box"] = En;
5392
5394
  };
5393
- Re.registerDesigner = (e, t, n) => {
5394
- e["search-box"] = Ki, t["search-box"] = On;
5395
+ Ve.registerDesigner = (e, t, n) => {
5396
+ e["search-box"] = Xi, t["search-box"] = En;
5395
5397
  };
5396
- const Dn = /* @__PURE__ */ new Map([
5397
- ["appearance", Ee]
5398
+ const Pn = /* @__PURE__ */ new Map([
5399
+ ["appearance", Oe]
5398
5400
  ]);
5399
- function Rn(e, t, n) {
5401
+ function Dn(e, t, n) {
5400
5402
  return t;
5401
5403
  }
5402
- const Yi = "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 = {
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 = {
5403
5405
  id: {
5404
5406
  description: "The unique identifier for list-view",
5405
5407
  type: "string"
@@ -5461,18 +5463,18 @@ const Yi = "https://json-schema.org/draft/2020-12/schema", Qi = "https://farris-
5461
5463
  type: "boolean",
5462
5464
  default: !0
5463
5465
  }
5464
- }, nr = [
5466
+ }, tr = [
5465
5467
  "id",
5466
5468
  "type"
5467
- ], or = {
5468
- $schema: Yi,
5469
- $id: Qi,
5470
- title: Zi,
5471
- description: Ji,
5472
- type: er,
5473
- properties: tr,
5474
- required: nr
5475
- }, ar = "list-view", sr = "A Farris Component", lr = "object", ir = {
5469
+ ], nr = {
5470
+ $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 = {
5476
5478
  basic: {
5477
5479
  description: "Basic Infomation",
5478
5480
  title: "基本信息",
@@ -5494,11 +5496,11 @@ const Yi = "https://json-schema.org/draft/2020-12/schema", Qi = "https://farris-
5494
5496
  }
5495
5497
  }
5496
5498
  }
5497
- }, rr = {
5498
- title: ar,
5499
- description: sr,
5500
- type: lr,
5501
- categories: ir
5499
+ }, ir = {
5500
+ title: or,
5501
+ description: ar,
5502
+ type: sr,
5503
+ categories: lr
5502
5504
  }, ct = {
5503
5505
  /** 列集合 */
5504
5506
  columns: {
@@ -5540,8 +5542,8 @@ const Yi = "https://json-schema.org/draft/2020-12/schema", Qi = "https://farris-
5540
5542
  disableField: { type: String, default: "disabled" },
5541
5543
  // 搜索启用高亮
5542
5544
  enableHighlightSearch: { type: Boolean, default: !0 }
5543
- }, Vn = ye(ct, or, Dn, Rn, rr);
5544
- function $n(e, t) {
5545
+ }, Rn = ye(ct, nr, Pn, Dn, ir);
5546
+ function Vn(e, t) {
5545
5547
  function n(s) {
5546
5548
  const l = [];
5547
5549
  let r = s.nextNode();
@@ -5574,7 +5576,7 @@ function $n(e, t) {
5574
5576
  }
5575
5577
  return { search: a };
5576
5578
  }
5577
- function qt(e, t, n, o, a, s, l, r, u, c) {
5579
+ function zt(e, t, n, o, a, s, l, r, u, c) {
5578
5580
  const d = v(e.size), p = v(e.textField), g = v(e.titleField), b = v(e.disableField), y = B(() => {
5579
5581
  var D, S;
5580
5582
  return ((D = e.selection) == null ? void 0 : D.multiSelect) && ((S = e.selection) == null ? void 0 : S.showCheckbox);
@@ -5622,7 +5624,7 @@ function qt(e, t, n, o, a, s, l, r, u, c) {
5622
5624
  renderItem: O
5623
5625
  };
5624
5626
  }
5625
- function ur(e, t, n, o, a, s, l, r, u, c) {
5627
+ function rr(e, t, n, o, a, s, l, r, u, c) {
5626
5628
  const d = v(e.multiSelect), p = v(e.disableField), {
5627
5629
  onMouseenterItem: g,
5628
5630
  onMouseoverItem: b,
@@ -5669,7 +5671,7 @@ function ur(e, t, n, o, a, s, l, r, u, c) {
5669
5671
  renderItem: I
5670
5672
  };
5671
5673
  }
5672
- function cr(e, t, n, o, a, s, l, r, u, c) {
5674
+ function ur(e, t, n, o, a, s, l, r, u, c) {
5673
5675
  const d = v(e.multiSelect), p = v(e.disableField), {
5674
5676
  onMouseenterItem: g,
5675
5677
  onMouseoverItem: b,
@@ -5741,7 +5743,7 @@ function cr(e, t, n, o, a, s, l, r, u, c) {
5741
5743
  renderItem: f
5742
5744
  };
5743
5745
  }
5744
- function dr(e, t, n, o, a, s, l, r, u, c) {
5746
+ function cr(e, t, n, o, a, s, l, r, u, c) {
5745
5747
  var C;
5746
5748
  const d = v(((C = e.group) == null ? void 0 : C.groupFields) || []), {
5747
5749
  collpaseGroupIconClass: p
@@ -5767,7 +5769,7 @@ function dr(e, t, n, o, a, s, l, r, u, c) {
5767
5769
  renderItem: y
5768
5770
  };
5769
5771
  }
5770
- function fr() {
5772
+ function dr() {
5771
5773
  const e = v(-1), t = v(""), n = v(-1), o = v(!1);
5772
5774
  function a(c, d, p) {
5773
5775
  n.value = p;
@@ -5795,7 +5797,7 @@ function fr() {
5795
5797
  suspendHover: r
5796
5798
  };
5797
5799
  }
5798
- function pr(e, t, n, o) {
5800
+ function fr(e, t, n, o) {
5799
5801
  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;
5800
5802
  function b(m, h, T) {
5801
5803
  m.stopPropagation(), g(), h && setTimeout(() => {
@@ -5824,7 +5826,7 @@ function pr(e, t, n, o) {
5824
5826
  isDragging: r
5825
5827
  };
5826
5828
  }
5827
- function vr(e, t, n) {
5829
+ function pr(e, t, n) {
5828
5830
  const { dataView: o } = n;
5829
5831
  function a(s) {
5830
5832
  if (s > -1 && s < o.value.length) {
@@ -5834,7 +5836,7 @@ function vr(e, t, n) {
5834
5836
  }
5835
5837
  return { removeItem: a };
5836
5838
  }
5837
- function mr(e, t, n, o, a, s) {
5839
+ function vr(e, t, n, o, a, s) {
5838
5840
  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());
5839
5841
  function I(x, f) {
5840
5842
  const w = {
@@ -5879,21 +5881,21 @@ function mr(e, t, n, o, a, s) {
5879
5881
  onClickItem: F
5880
5882
  };
5881
5883
  }
5882
- function jn(e, t, n, o, a, s, l) {
5883
- 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(() => ({
5884
+ 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(() => ({
5884
5886
  "f-list-view-group": !0,
5885
5887
  "d-flex": u.value,
5886
5888
  "flex-wrap": u.value
5887
5889
  })), _ = B(() => !!n.value && n.value.length > 0), m = B(() => n.value.length === 0);
5888
5890
  B(() => m.value && !t.slots.empty);
5889
5891
  function h() {
5890
- return r.value === "SingleView" ? qt : r.value === "DraggableView" ? cr : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? ur : qt;
5892
+ return r.value === "SingleView" ? zt : r.value === "DraggableView" ? ur : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? rr : zt;
5891
5893
  }
5892
5894
  const T = h(), {
5893
5895
  renderItem: I
5894
5896
  } = T(e, t, n, g, a, p, y, s, b, l), {
5895
5897
  renderItem: M
5896
- } = dr(e, t, n, g, a, p, y, s, b, l), P = [I, M];
5898
+ } = cr(e, t, n, g, a, p, y, s, b, l), P = [I, M];
5897
5899
  function O() {
5898
5900
  return n.value.filter((F) => F.visible !== !1).map((F, x) => P[F.type](F, x, c));
5899
5901
  }
@@ -5914,7 +5916,7 @@ function jn(e, t, n, o, a, s, l) {
5914
5916
  renderListArea: S
5915
5917
  };
5916
5918
  }
5917
- function Ln(e, t, n) {
5919
+ function jn(e, t, n) {
5918
5920
  function o() {
5919
5921
  return t.slots.header && i("div", {
5920
5922
  class: "f-list-view-header"
@@ -5929,7 +5931,7 @@ function lt(e, t, n) {
5929
5931
  function u(g) {
5930
5932
  s.value = "";
5931
5933
  }
5932
- G(s, (g) => {
5934
+ U(s, (g) => {
5933
5935
  e.enableHighlightSearch && n.search(g), t.emit("afterSearch", g);
5934
5936
  });
5935
5937
  const c = B(() => {
@@ -5944,7 +5946,7 @@ function lt(e, t, n) {
5944
5946
  function p() {
5945
5947
  return i("div", {
5946
5948
  class: "f-list-view-header",
5947
- onClick: en(() => d, ["prevent", "stop"])
5949
+ onClick: Jt(() => d, ["prevent", "stop"])
5948
5950
  }, [i("div", {
5949
5951
  class: c.value
5950
5952
  }, [i("div", {
@@ -5960,7 +5962,7 @@ function lt(e, t, n) {
5960
5962
  type: "text",
5961
5963
  placeholder: a.value,
5962
5964
  autocomplete: "off"
5963
- }, null), [[Kt, s.value]]), i("div", {
5965
+ }, null), [[Xt, s.value]]), i("div", {
5964
5966
  class: "input-group-append"
5965
5967
  }, [r.value && i("span", {
5966
5968
  class: "input-group-text input-group-clear",
@@ -5982,7 +5984,7 @@ const Ie = /* @__PURE__ */ te({
5982
5984
  props: ct,
5983
5985
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
5984
5986
  setup(e, t) {
5985
- const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = Ao(e), c = No(e), d = Ho(e, u), p = zo(e), g = qo(e, /* @__PURE__ */ new Map(), c, u, p), b = Go(e, g, u, s, t), y = $n(e, n), C = B(() => g.dataView.value.length), _ = Wo(e, t, u), m = Uo(), h = Xo(e, {}, m), T = Ko(e, _, c, u, m, h), I = Yo(e, u, h, T), M = Qo(e, u, h, T), P = Zo(e, r, g, C, l, T, I, M), {
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), {
5986
5988
  getVisualData: O
5987
5989
  } = P;
5988
5990
  s.value = O(0, C.value + l - 1);
@@ -5994,13 +5996,13 @@ const Ie = /* @__PURE__ */ te({
5994
5996
  return e.size !== "default" && ($[`${e.size}-item`] = !0), $;
5995
5997
  }), S = B(() => !!t.slots.footer || o.value);
5996
5998
  function F() {
5997
- return e.header === "SearchBar" ? lt : e.header === "ContentHeader" ? Ln : lt;
5999
+ return e.header === "SearchBar" ? lt : e.header === "ContentHeader" ? jn : lt;
5998
6000
  }
5999
6001
  const x = F(), {
6000
6002
  renderHeader: f
6001
6003
  } = x(e, t, y), {
6002
6004
  renderListArea: w
6003
- } = jn(e, t, s, g, d, b, P);
6005
+ } = $n(e, t, s, g, d, b, P);
6004
6006
  function k($) {
6005
6007
  y.search($);
6006
6008
  }
@@ -6032,7 +6034,7 @@ const Ie = /* @__PURE__ */ te({
6032
6034
  }
6033
6035
  });
6034
6036
  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 || {});
6035
- function gr() {
6037
+ function mr() {
6036
6038
  function e(n, o) {
6037
6039
  const a = n.pre;
6038
6040
  if (a) {
@@ -6049,7 +6051,7 @@ function gr() {
6049
6051
  }
6050
6052
  return { updateRowPosition: e, updateVisualInfomation: t };
6051
6053
  }
6052
- function hr() {
6054
+ function gr() {
6053
6055
  function e(o, a) {
6054
6056
  switch (o.command) {
6055
6057
  case "edit":
@@ -6074,7 +6076,7 @@ function hr() {
6074
6076
  }
6075
6077
  }
6076
6078
  function n(o, a) {
6077
- return i("div", null, [o.commands && o.commands.map((s) => e(s, a) && i(tn("f-button"), {
6079
+ return i("div", null, [o.commands && o.commands.map((s) => e(s, a) && i(en("f-button"), {
6078
6080
  class: "ml-2",
6079
6081
  type: s.type,
6080
6082
  size: s.size || "small",
@@ -6100,7 +6102,7 @@ v([{
6100
6102
  name: "半年",
6101
6103
  selectable: !0
6102
6104
  }]);
6103
- const An = {
6105
+ const Ln = {
6104
6106
  conditions: { type: Array, default: [] },
6105
6107
  fields: { type: Array, default: [] },
6106
6108
  key: { type: String, default: "" },
@@ -6109,7 +6111,7 @@ const An = {
6109
6111
  */
6110
6112
  isControlInline: { type: Boolean, default: !0 }
6111
6113
  };
6112
- class yr {
6114
+ class hr {
6113
6115
  constructor(t = { value: [] }) {
6114
6116
  N(this, "editorType", "check-box");
6115
6117
  N(this, "value");
@@ -6129,7 +6131,7 @@ class yr {
6129
6131
  return this.value.length === 0;
6130
6132
  }
6131
6133
  }
6132
- class br {
6134
+ class yr {
6133
6135
  constructor(t = { textValue: "", value: "", valueField: "" }) {
6134
6136
  N(this, "editorType", "combo-lookup");
6135
6137
  N(this, "textValue");
@@ -6149,11 +6151,11 @@ class br {
6149
6151
  return t[n[0]];
6150
6152
  }
6151
6153
  getTextValue(t) {
6152
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Ve(n)));
6154
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Ee(n)));
6153
6155
  return o && o.length ? o.join(",") : "";
6154
6156
  }
6155
6157
  getValue() {
6156
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Ve(t)));
6158
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Ee(t)));
6157
6159
  return n && n.length ? n.join(",") : "";
6158
6160
  }
6159
6161
  setValue(t) {
@@ -6163,7 +6165,7 @@ class br {
6163
6165
  return !this.valueField;
6164
6166
  }
6165
6167
  }
6166
- class Cr {
6168
+ class br {
6167
6169
  constructor(t = { value: "" }) {
6168
6170
  N(this, "editorType", "date-picker");
6169
6171
  N(this, "value");
@@ -6183,7 +6185,7 @@ class Cr {
6183
6185
  this.value = void 0;
6184
6186
  }
6185
6187
  }
6186
- class Gt {
6188
+ class qt {
6187
6189
  constructor(t = { begin: "", end: "" }) {
6188
6190
  N(this, "editorType", "date-range");
6189
6191
  N(this, "begin", "");
@@ -6204,7 +6206,7 @@ class Gt {
6204
6206
  return !this.begin || !this.end;
6205
6207
  }
6206
6208
  }
6207
- class wr {
6209
+ class Cr {
6208
6210
  constructor(t = { value: "" }) {
6209
6211
  N(this, "editorType", "datetime-picker");
6210
6212
  N(this, "value");
@@ -6224,7 +6226,7 @@ class wr {
6224
6226
  return !this.value;
6225
6227
  }
6226
6228
  }
6227
- class xr {
6229
+ class wr {
6228
6230
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
6229
6231
  constructor(t = { value: "", dispalyText: "" }) {
6230
6232
  N(this, "editorType", "combo-list");
@@ -6244,10 +6246,10 @@ class xr {
6244
6246
  this.displayText = t.dispalyText, this.value = t.value;
6245
6247
  }
6246
6248
  isEmpty() {
6247
- return !this.displayText;
6249
+ return !this.displayText && !this.value;
6248
6250
  }
6249
6251
  }
6250
- class Sr {
6252
+ class xr {
6251
6253
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
6252
6254
  N(this, "editorType", "input-group");
6253
6255
  // 通过弹窗返回的若干个值对象构成的数组
@@ -6272,21 +6274,21 @@ class Sr {
6272
6274
  return t[n[0]];
6273
6275
  }
6274
6276
  getTextValue(t) {
6275
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Ve(n)));
6277
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Ee(n)));
6276
6278
  return o && o.length ? o.join(",") : "";
6277
6279
  }
6278
6280
  getValue() {
6279
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Ve(t)));
6281
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Ee(t)));
6280
6282
  return n && n.length ? n.join(",") : "";
6281
6283
  }
6282
6284
  setValue(t) {
6283
6285
  throw new Error("Method not implemented.");
6284
6286
  }
6285
6287
  isEmpty() {
6286
- return !this.displayText;
6288
+ return !this.displayText && !this.value;
6287
6289
  }
6288
6290
  }
6289
- class Tr {
6291
+ class Sr {
6290
6292
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
6291
6293
  N(this, "editorType", "lookup");
6292
6294
  N(this, "textValue");
@@ -6322,7 +6324,7 @@ class Tr {
6322
6324
  return !this.value.length;
6323
6325
  }
6324
6326
  }
6325
- class _r {
6327
+ class Tr {
6326
6328
  constructor(t = { value: "" }) {
6327
6329
  N(this, "editorType", "month-picker");
6328
6330
  N(this, "value");
@@ -6342,7 +6344,7 @@ class _r {
6342
6344
  return !this.value;
6343
6345
  }
6344
6346
  }
6345
- class kr {
6347
+ class _r {
6346
6348
  constructor(t = { begin: "", end: "" }) {
6347
6349
  N(this, "editorType", "month-range");
6348
6350
  N(this, "begin");
@@ -6363,7 +6365,7 @@ class kr {
6363
6365
  return !this.begin || !this.end;
6364
6366
  }
6365
6367
  }
6366
- class Ir {
6368
+ class kr {
6367
6369
  constructor(t = { begin: null, end: null }) {
6368
6370
  N(this, "editorType", "number-range");
6369
6371
  N(this, "begin");
@@ -6387,7 +6389,7 @@ class Ir {
6387
6389
  return this.begin == null && this.end == null;
6388
6390
  }
6389
6391
  }
6390
- class Br {
6392
+ class Ir {
6391
6393
  constructor(t = { value: "" }) {
6392
6394
  N(this, "editorType", "number-spinner");
6393
6395
  N(this, "value");
@@ -6407,7 +6409,7 @@ class Br {
6407
6409
  return this.value == null;
6408
6410
  }
6409
6411
  }
6410
- class Fr {
6412
+ class Br {
6411
6413
  constructor(t = { value: null }) {
6412
6414
  N(this, "editorType", "radio-group");
6413
6415
  N(this, "value");
@@ -6427,7 +6429,7 @@ class Fr {
6427
6429
  return !this.value;
6428
6430
  }
6429
6431
  }
6430
- class Nn {
6432
+ class An {
6431
6433
  constructor(t = { value: "" }) {
6432
6434
  N(this, "editorType", "text");
6433
6435
  N(this, "value");
@@ -6447,45 +6449,45 @@ class Nn {
6447
6449
  return !this.value;
6448
6450
  }
6449
6451
  }
6450
- function Hn() {
6452
+ function Nn() {
6451
6453
  function e(t, n) {
6452
6454
  switch (t) {
6453
6455
  case "check-box":
6454
- return new yr(n);
6456
+ return new hr(n);
6455
6457
  case "combo-list":
6456
- return new xr(n);
6458
+ return new wr(n);
6457
6459
  case "combo-lookup":
6458
- return new br(n);
6460
+ return new yr(n);
6459
6461
  case "input-group":
6460
- return new Sr(n);
6462
+ return new xr(n);
6461
6463
  case "date-picker":
6462
- return new Cr(n);
6464
+ return new br(n);
6463
6465
  case "date-range":
6464
- return new Gt(n);
6466
+ return new qt(n);
6465
6467
  case "datetime-picker":
6466
- return new wr(n);
6468
+ return new Cr(n);
6467
6469
  case "datetime-range":
6468
- return new Gt(n);
6470
+ return new qt(n);
6469
6471
  case "lookup":
6470
- return new Tr(n);
6472
+ return new Sr(n);
6471
6473
  case "month-picker":
6472
- return new _r(n);
6474
+ return new Tr(n);
6473
6475
  case "month-range":
6474
- return new kr(n);
6476
+ return new _r(n);
6475
6477
  case "number-range":
6476
- return new Ir(n);
6478
+ return new kr(n);
6477
6479
  case "number-spinner":
6478
- return new Br(n);
6480
+ return new Ir(n);
6479
6481
  case "radio-group":
6480
- return new Fr(n);
6482
+ return new Br(n);
6481
6483
  default:
6482
- return new Nn(n);
6484
+ return new An(n);
6483
6485
  }
6484
6486
  }
6485
6487
  return { createConditionValue: e };
6486
6488
  }
6487
- function zn(e, t) {
6488
- const n = v(e.fields), o = v([]), a = /* @__PURE__ */ new Map(), { createConditionValue: s } = Hn();
6489
+ function Hn(e, t) {
6490
+ const n = v(e.fields), o = v([]), a = /* @__PURE__ */ new Map(), { createConditionValue: s } = Nn();
6489
6491
  function l(d) {
6490
6492
  switch (d.editor ? d.editor.type : "input-group") {
6491
6493
  case "date-range":
@@ -6516,7 +6518,7 @@ function zn(e, t) {
6516
6518
  }
6517
6519
  return { convertToSingleControl: r, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: u, initialConditionValue: c };
6518
6520
  }
6519
- function Mr(e, t, n) {
6521
+ function Fr(e, t, n) {
6520
6522
  const o = v(null), a = v(n), s = v(0);
6521
6523
  function l(d, p) {
6522
6524
  let g = null;
@@ -6538,30 +6540,30 @@ function Mr(e, t, n) {
6538
6540
  return d > 250 * 6 ? g = "col-2" : d > 250 * 4 ? g = "col-3" : d > 250 * 3 ? g = "col-4" : d > 250 * 2 && (g = "col-6"), g;
6539
6541
  }
6540
6542
  const c = B(() => u(s.value));
6541
- return G([n], ([d]) => {
6543
+ return U([n], ([d]) => {
6542
6544
  a.value = d, r();
6543
6545
  }), {
6544
6546
  conditionClass: c,
6545
6547
  resizeObserver: o
6546
6548
  };
6547
6549
  }
6548
- const Wt = /* @__PURE__ */ te({
6550
+ const Gt = /* @__PURE__ */ te({
6549
6551
  name: "FConditionFields",
6550
- props: An,
6552
+ props: Ln,
6551
6553
  emits: ["valueChange", "blur", "focus", "click", "input"],
6552
6554
  setup(e, t) {
6553
- const n = v(), o = v(e.key), a = v(e.isControlInline), s = v(e.conditions), l = zn(e), {
6555
+ const n = v(), o = v(e.key), a = v(e.isControlInline), s = v(e.conditions), l = Hn(e), {
6554
6556
  initialConditionValue: r,
6555
6557
  fieldMap: u,
6556
6558
  loadFieldConfigs: c
6557
- } = l, d = Mr(e, t, n), {
6559
+ } = l, d = Fr(e, t, n), {
6558
6560
  conditionClass: p,
6559
6561
  resizeObserver: g
6560
6562
  } = d;
6561
- c(!0), r(s.value), Jt(() => {
6563
+ c(!0), r(s.value), Zt(() => {
6562
6564
  var m;
6563
6565
  (m = g.value) == null || m.unobserve(n.value);
6564
- }), G(() => e.conditions, () => {
6566
+ }), U(() => e.conditions, () => {
6565
6567
  s.value = e.conditions, r(s.value);
6566
6568
  });
6567
6569
  const b = B(() => ({
@@ -6576,7 +6578,7 @@ const Wt = /* @__PURE__ */ te({
6576
6578
  function _() {
6577
6579
  return s.value.map((m) => {
6578
6580
  var h;
6579
- return i(la, {
6581
+ return i(sa, {
6580
6582
  customClass: y.value,
6581
6583
  label: m.fieldName,
6582
6584
  editor: (h = u.get(m.fieldCode)) == null ? void 0 : h.editor,
@@ -6595,9 +6597,9 @@ const Wt = /* @__PURE__ */ te({
6595
6597
  }, [_()]);
6596
6598
  }
6597
6599
  }), jt = /* @__PURE__ */ new Map([
6598
- ["appearance", Ee]
6599
- ]), Er = /* @__PURE__ */ new Map([]), Or = "root-viewmodel";
6600
- class Pr {
6600
+ ["appearance", Oe]
6601
+ ]), Mr = /* @__PURE__ */ new Map([]), Er = "root-viewmodel";
6602
+ class Or {
6601
6603
  constructor(t, n) {
6602
6604
  N(this, "formSchemaUtils");
6603
6605
  N(this, "controlCreatorUtils");
@@ -6654,7 +6656,7 @@ class Pr {
6654
6656
  }), n.contents = [o];
6655
6657
  const { selectedFields: s } = t;
6656
6658
  s == null || s.forEach((r) => {
6657
- const u = Ve(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
6659
+ const u = Ee(r), c = this.resolveControlClassByFormColumns(t), d = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
6658
6660
  d && a.push(d);
6659
6661
  });
6660
6662
  const { templateId: l } = this.formSchemaUtils.getFormSchema().module;
@@ -6691,7 +6693,7 @@ class Pr {
6691
6693
  code: `${t.componentId}-component-viewmodel`,
6692
6694
  name: t.componentName,
6693
6695
  bindTo: t.bindTo,
6694
- parent: Or,
6696
+ parent: Er,
6695
6697
  fields: this.assembleViewModelFields(t),
6696
6698
  commands: [],
6697
6699
  states: [],
@@ -6718,26 +6720,27 @@ class Pr {
6718
6720
  }), n;
6719
6721
  }
6720
6722
  }
6721
- function Dr(e, t, n, o) {
6722
- var s, l, r, u;
6723
+ function Pr(e, t, n, o) {
6724
+ var s, l, r, u, c;
6723
6725
  const a = n.parentComponentInstance;
6724
6726
  if (a && o) {
6725
- const c = (s = a.schema) == null ? void 0 : s.type, p = {
6727
+ const d = (s = a.schema) == null ? void 0 : s.type, g = {
6726
6728
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
6727
6729
  componentName: ((r = (l = n.bindingSourceContext) == null ? void 0 : l.bindingEntity) == null ? void 0 : r.name) || "标题",
6728
6730
  componentType: "form",
6729
- formColumns: c === "splitter-pane" ? 1 : 4,
6731
+ formColumns: d === "splitter-pane" ? 1 : 4,
6730
6732
  parentContainerId: a.schema.id,
6731
- bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/"
6733
+ bindTo: ((u = n.bindingSourceContext) == null ? void 0 : u.bindTo) || "/",
6734
+ selectedFields: (c = n.bindingSourceContext) == null ? void 0 : c.bindingEntityFields
6732
6735
  };
6733
- return new Pr(e, o).createComponent(p);
6736
+ return new Or(e, o).createComponent(g);
6734
6737
  } else
6735
6738
  return t;
6736
6739
  }
6737
- function Rr(e, t, n) {
6740
+ function Dr(e, t, n) {
6738
6741
  return t;
6739
6742
  }
6740
- 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 = {
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 = {
6741
6744
  id: {
6742
6745
  description: "The unique identifier for a form group",
6743
6746
  type: "string"
@@ -6765,23 +6768,23 @@ const Vr = "https://json-schema.org/draft/2020-12/schema", $r = "https://farris-
6765
6768
  type: "array",
6766
6769
  default: []
6767
6770
  }
6768
- }, Hr = [
6771
+ }, Nr = [
6769
6772
  "id",
6770
6773
  "type"
6771
- ], zr = {
6772
- $schema: Vr,
6773
- $id: $r,
6774
- title: jr,
6775
- description: Lr,
6776
- type: Ar,
6777
- properties: Nr,
6778
- required: Hr
6779
- }, qr = {
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 = {
6780
6783
  customClass: { type: String, default: "" },
6781
6784
  customStyle: { type: String, defaut: "" }
6782
6785
  };
6783
- ye(qr, zr, jt, Dr);
6784
- 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", Kr = "object", Yr = {
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 = {
6785
6788
  id: {
6786
6789
  description: "The unique identifier for a form group",
6787
6790
  type: "string"
@@ -6827,18 +6830,18 @@ const Gr = "https://json-schema.org/draft/2020-12/schema", Wr = "https://farris-
6827
6830
  type: "object",
6828
6831
  default: {}
6829
6832
  }
6830
- }, Qr = [
6833
+ }, Yr = [
6831
6834
  "id",
6832
6835
  "type"
6833
- ], qn = {
6834
- $schema: Gr,
6835
- $id: Wr,
6836
- title: Ur,
6837
- description: Xr,
6838
- type: Kr,
6839
- properties: Yr,
6840
- required: Qr
6841
- }, Gn = {
6836
+ ], zn = {
6837
+ $schema: qr,
6838
+ $id: Gr,
6839
+ title: Wr,
6840
+ description: Ur,
6841
+ type: Xr,
6842
+ properties: Kr,
6843
+ required: Yr
6844
+ }, qn = {
6842
6845
  id: { type: String, default: "" },
6843
6846
  customClass: { type: String, default: "" },
6844
6847
  customStyle: { type: String, default: "" },
@@ -6854,25 +6857,25 @@ const Gr = "https://json-schema.org/draft/2020-12/schema", Wr = "https://farris-
6854
6857
  type: { type: String, default: "input-group" }
6855
6858
  };
6856
6859
  ye(
6857
- Gn,
6858
6860
  qn,
6861
+ zn,
6859
6862
  jt,
6860
6863
  void 0
6861
6864
  );
6862
- const Zr = {
6865
+ const Qr = {
6863
6866
  id: { type: String },
6864
6867
  required: { type: Boolean, default: !1 },
6865
6868
  text: { type: String, default: "" },
6866
6869
  title: { type: String }
6867
- }, Jr = /* @__PURE__ */ te({
6870
+ }, Zr = /* @__PURE__ */ te({
6868
6871
  name: "FDynamicFormLabel",
6869
- props: Zr,
6872
+ props: Qr,
6870
6873
  emits: [],
6871
6874
  setup(e, t) {
6872
6875
  const n = v(e.title || e.text), o = v(e.required), a = v(e.text);
6873
- return G(() => e.text, () => {
6876
+ return U(() => e.text, () => {
6874
6877
  a.value = e.text;
6875
- }), G(() => e.required, (s, l) => {
6878
+ }), U(() => e.required, (s, l) => {
6876
6879
  s !== l && (o.value = s);
6877
6880
  }), () => a.value && i("label", {
6878
6881
  class: "col-form-label",
@@ -6883,13 +6886,13 @@ const Zr = {
6883
6886
  class: "farris-label-text"
6884
6887
  }, [a.value])]);
6885
6888
  }
6886
- }), eu = /* @__PURE__ */ new Map([
6887
- ["appearance", Ee]
6889
+ }), Jr = /* @__PURE__ */ new Map([
6890
+ ["appearance", Oe]
6888
6891
  ]);
6889
- function tu(e, t, n) {
6892
+ function eu(e, t, n) {
6890
6893
  return t;
6891
6894
  }
6892
- 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 = {
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 = {
6893
6896
  id: {
6894
6897
  description: "The unique identifier for a Input Group",
6895
6898
  type: "string"
@@ -7086,24 +7089,24 @@ const nu = "https://json-schema.org/draft/2020-12/schema", ou = "https://farris-
7086
7089
  type: "string",
7087
7090
  default: ""
7088
7091
  }
7089
- }, ru = [
7092
+ }, iu = [
7090
7093
  "id",
7091
7094
  "type"
7092
- ], uu = [
7095
+ ], ru = [
7093
7096
  "id",
7094
7097
  "appearance",
7095
7098
  "binding",
7096
7099
  "visible"
7097
- ], cu = {
7098
- $schema: nu,
7099
- $id: ou,
7100
- title: au,
7101
- description: su,
7102
- type: lu,
7103
- properties: iu,
7104
- required: ru,
7105
- ignore: uu
7106
- }, Wn = {
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
7109
+ }, Gn = {
7107
7110
  id: { Type: String, default: "" },
7108
7111
  /** 是否自动完成 */
7109
7112
  autocomplete: { Type: String, default: "off" },
@@ -7171,17 +7174,17 @@ const nu = "https://json-schema.org/draft/2020-12/schema", ou = "https://farris-
7171
7174
  */
7172
7175
  updateOn: { type: String, default: "blur" }
7173
7176
  };
7174
- ye(Wn, cu, eu, tu);
7175
- function du(e, t) {
7177
+ ye(Gn, uu, Jr, eu);
7178
+ function cu(e, t) {
7176
7179
  const n = v(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
7177
7180
  return { appendedButtonClass: B(() => ({
7178
7181
  "input-group-append": !0,
7179
7182
  "append-force-show": o.value
7180
7183
  })), appendedContent: n, shouldShowAppendedButton: a };
7181
7184
  }
7182
- function fu(e, t, n, o) {
7185
+ function du(e, t, n, o) {
7183
7186
  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);
7184
- G(() => [e.readonly, e.disabled], ([g, b]) => {
7187
+ U(() => [e.readonly, e.disabled], ([g, b]) => {
7185
7188
  l.value && (n.value = g || b ? "password" : n.value, a.value = g || b ? u : a.value);
7186
7189
  });
7187
7190
  function d() {
@@ -7192,7 +7195,7 @@ function fu(e, t, n, o) {
7192
7195
  }
7193
7196
  return p(), { isPassword: l, onClickAppendedButton: d };
7194
7197
  }
7195
- function pu(e, t, n) {
7198
+ function fu(e, t, n) {
7196
7199
  const o = v(), {
7197
7200
  onBlurTextBox: a,
7198
7201
  onFocusTextBox: s,
@@ -7214,7 +7217,7 @@ function pu(e, t, n) {
7214
7217
  async function y(C) {
7215
7218
  s(C), await xe, b();
7216
7219
  }
7217
- return le(async () => {
7220
+ return se(async () => {
7218
7221
  await xe, b();
7219
7222
  }), () => i("input", {
7220
7223
  ref: o,
@@ -7232,7 +7235,7 @@ function pu(e, t, n) {
7232
7235
  onKeydown: r
7233
7236
  }, null);
7234
7237
  }
7235
- function vu(e, t, n) {
7238
+ function pu(e, t, n) {
7236
7239
  const {
7237
7240
  canDownward: o,
7238
7241
  canUpward: a,
@@ -7273,31 +7276,31 @@ function vu(e, t, n) {
7273
7276
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
7274
7277
  }, null)])]);
7275
7278
  }
7276
- function mu(e, t) {
7277
- const n = ua(e, t), o = ca(e, t, n), a = da(e, t, o, n), s = fa(e, t, o, n, a), l = vu(e, t, a), {
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), {
7278
7281
  displayValue: r,
7279
7282
  modelValue: u,
7280
7283
  getRealValue: c
7281
- } = n, d = pu(e, t, s), {
7284
+ } = n, d = fu(e, t, s), {
7282
7285
  format: p
7283
7286
  } = o, {
7284
7287
  isFocus: g
7285
7288
  } = s, b = B(() => !e.disabled && !e.readonly);
7286
- return le(() => {
7289
+ return se(() => {
7287
7290
  const y = c(e.modelValue);
7288
7291
  r.value = p(y);
7289
- }), G(() => [e.value], ([y]) => {
7292
+ }), U(() => [e.value], ([y]) => {
7290
7293
  const C = c(y);
7291
7294
  u.value = C, r.value = p(C);
7292
- }), G(() => [e.modelValue], ([y]) => {
7295
+ }), U(() => [e.modelValue], ([y]) => {
7293
7296
  y !== u.value && (u.value = y, !g.value && (r.value = p(c(y))));
7294
- }), G(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
7297
+ }), U(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
7295
7298
  r.value = p(u.value);
7296
7299
  }), () => i("div", {
7297
7300
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
7298
7301
  }, [d(), b.value && l()]);
7299
7302
  }
7300
- function gu(e, t, n, o) {
7303
+ function mu(e, t, n, o) {
7301
7304
  const a = v(), s = v(e.autocomplete), l = v(e.enableTitle), {
7302
7305
  isPassword: r
7303
7306
  } = n, u = v(e.minLength), c = v(e.maxLength), d = v(e.tabIndex), {
@@ -7317,7 +7320,7 @@ function gu(e, t, n, o) {
7317
7320
  textBoxClass: D,
7318
7321
  textBoxTitle: S
7319
7322
  } = o;
7320
- return le(() => {
7323
+ return se(() => {
7321
7324
  e.selectOnCreated, e.focusOnCreated;
7322
7325
  }), () => i("input", {
7323
7326
  ref: a,
@@ -7343,7 +7346,7 @@ function gu(e, t, n, o) {
7343
7346
  onMousedown: I
7344
7347
  }, null);
7345
7348
  }
7346
- function hu(e, t) {
7349
+ function gu(e, t) {
7347
7350
  const n = B(() => e.useExtendInfo && !!e.extendInfo), o = Be({
7348
7351
  content: e.extendInfo
7349
7352
  });
@@ -7357,9 +7360,9 @@ function hu(e, t) {
7357
7360
  class: "f-icon f-icon-info-circle"
7358
7361
  }, null), i("b", {
7359
7362
  class: "tips-arrow"
7360
- }, null)]), [[Mo("tooltip"), o]]);
7363
+ }, null)]), [[Fo("tooltip"), o]]);
7361
7364
  }
7362
- function yu(e, t, n, o, a) {
7365
+ function hu(e, t, n, o, a) {
7363
7366
  const {
7364
7367
  appendedButtonClass: s,
7365
7368
  appendedContent: l
@@ -7411,26 +7414,26 @@ function yu(e, t, n, o, a) {
7411
7414
  class: s.value
7412
7415
  }, [b.value && y(), P && P()]);
7413
7416
  }
7414
- const bu = /* @__PURE__ */ te({
7417
+ const yu = /* @__PURE__ */ te({
7415
7418
  name: "FInputGroup",
7416
- props: Wn,
7419
+ props: Gn,
7417
7420
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
7418
7421
  setup(e, t) {
7419
- const n = v(e.modelValue), o = v(e.modelValue), a = Do(e, t, n, o), {
7422
+ const n = v(e.modelValue), o = v(e.modelValue), a = Po(e, t, n, o), {
7420
7423
  inputGroupClass: s,
7421
7424
  inputType: l,
7422
7425
  inputGroupStyle: r
7423
- } = a, u = du(e), {
7426
+ } = a, u = cu(e), {
7424
7427
  shouldShowAppendedButton: c
7425
- } = u, d = Ro(e, t, a), {
7428
+ } = u, d = Do(e, t, a), {
7426
7429
  onMouseEnter: p,
7427
7430
  onMouseLeave: g
7428
- } = 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");
7429
- G(() => [e.value], ([I]) => {
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");
7432
+ U(() => [e.value], ([I]) => {
7430
7433
  n.value = I, o.value = I;
7431
- }), G(() => [e.modelValue], ([I]) => {
7434
+ }), U(() => [e.modelValue], ([I]) => {
7432
7435
  n.value = I, o.value = I;
7433
- }), le(() => {
7436
+ }), se(() => {
7434
7437
  e.value && (n.value = e.value, o.value = e.value);
7435
7438
  });
7436
7439
  const T = () => i(ve, null, [i("div", {
@@ -7442,18 +7445,18 @@ const bu = /* @__PURE__ */ te({
7442
7445
  }, [h.value ? y() : i(ve, null, [m(), C(), c.value && _()])])]);
7443
7446
  return () => T();
7444
7447
  }
7445
- }), W = {}, U = {}, X = {}, K = {};
7446
- let Ut = !1;
7447
- function Cu() {
7448
- Ut || (Ut = !0, va.register(W, U, X, K), pa.register(W, U, X, K), ln.register(W, U, X, K), ma.register(W, U, X, K), ga.register(W, U, X, K), nn.register(W, U, X, K), Jo.register(W, U, X, K), Tt.register(W, U, X, K), ha.register(W, U, X, K), ya.register(W, U, X, K), Ca.register(W, U, X, K), ba.register(W, U, X, K), wa.register(W, U, X, K), xa.register(W, U, X, K), Sa.register(W, U, X, K), sa.register(W, U, X, K), Ta.register(W, U, X, K), oa.register(W, U, X, K), _a.register(W, U, X, K), Ia.register(W, U, X, K), Ba.register(W, U, X, K), Fa.register(W, U, X, K), rn.register(W, U, X, K), Ma.register(W, U, X, K), Ea.register(W, U, X, K), Oa.register(W, U, X, K), Pa.register(W, U, X, K), Da.register(W, U, X, K), ra.register(W, U, X, K), na.register(W, U, X, K), Ra.register(W, U, X, K), Va.register(W, U, X, K), aa.register(W, U, X, K), $a.register(W, U, X, K), ja.register(W, U, X, K), La.register(W, U, X, K), Aa.register(W, U, X, K), Na.register(W, U, X, K), Ha.register(W, U, X, K), Mt.register(W, U, X, K), ns.register(W, U, X), za.register(W, U, X, K), an.register(W, U, X, K), qa.register(W, U, X, K), Ga.register(W, U, X, K), Wa.register(W, U, X, K), Ua.register(W, U, X, K), ta.register(W, U, X, K), un.register(W, U, X, K), Xa.register(W, U, X, K), Ka.register(W, U, X, K), ea.register(W, U, X, K), Ya.register(W, U, X, K), Za.register(W, U, X, K), Qa.register(W, U, X, K), Ja.register(W, U, X, K), es.register(W, U, X, K), ts.register(W, U, X, K), os.register(W, U, X, K), ka.register(W, U, X, K), as.register(W, U, X, K));
7448
+ }), G = {}, W = {}, X = {}, K = {};
7449
+ 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));
7449
7452
  }
7450
- function wu() {
7451
- Cu();
7453
+ function Cu() {
7454
+ bu();
7452
7455
  function e(a) {
7453
- return W[a] || bu;
7456
+ return G[a] || yu;
7454
7457
  }
7455
7458
  function t(a, s) {
7456
- const l = U[a];
7459
+ const l = W[a];
7457
7460
  return l ? l(s) : {};
7458
7461
  }
7459
7462
  function n(a) {
@@ -7530,9 +7533,9 @@ function wu() {
7530
7533
  }
7531
7534
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
7532
7535
  }
7533
- const xu = /* @__PURE__ */ te({
7536
+ const wu = /* @__PURE__ */ te({
7534
7537
  name: "FDynamicFormGroup",
7535
- props: Gn,
7538
+ props: qn,
7536
7539
  emits: ["change", "update:modelValue"],
7537
7540
  setup(e, t) {
7538
7541
  const n = v(e.id), o = v(e.customClass), a = v(e.editor), s = v(e.label), l = v(e.modelValue), r = v(e.readonly), u = v(e.required), c = v(e.showLabel), d = v(e.visible);
@@ -7542,7 +7545,7 @@ const xu = /* @__PURE__ */ te({
7542
7545
  resolveEditorType: b,
7543
7546
  getChangeFunctionName: y,
7544
7547
  getClearFunctionName: C
7545
- } = wu(), _ = B(() => ({
7548
+ } = Cu(), _ = B(() => ({
7546
7549
  "form-group": !0,
7547
7550
  "farris-form-group": !0,
7548
7551
  "common-group": !0,
@@ -7563,7 +7566,7 @@ const xu = /* @__PURE__ */ te({
7563
7566
  "onUpdate:modelValue": (S) => l.value = S
7564
7567
  }), t.slots);
7565
7568
  });
7566
- return G([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, M, P, O, D, S, F, x, f]) => {
7569
+ return U([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, M, P, O, D, S, F, x, f]) => {
7567
7570
  n.value = I, o.value = M, a.value = P, s.value = O, l.value = D, r.value = S, u.value = F, c.value = x, d.value = f;
7568
7571
  }), t.expose({
7569
7572
  editorRef: p
@@ -7575,7 +7578,7 @@ const xu = /* @__PURE__ */ te({
7575
7578
  class: "farris-group-wrap"
7576
7579
  }, [i("div", {
7577
7580
  class: _.value
7578
- }, [c.value && i(Jr, {
7581
+ }, [c.value && i(Zr, {
7579
7582
  id: `${n.value}-lable`,
7580
7583
  required: u.value,
7581
7584
  text: s.value,
@@ -7654,8 +7657,8 @@ N(We, "fieldControlTypeMapping", {
7654
7657
  { key: Y["radio-group"].type, value: Y["radio-group"].name }
7655
7658
  ]
7656
7659
  });
7657
- let Xt = We;
7658
- const Su = {
7660
+ let Ut = We;
7661
+ const xu = {
7659
7662
  id: { type: String, default: "" },
7660
7663
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
7661
7664
  editor: { type: Object, default: {} },
@@ -7671,12 +7674,12 @@ const Su = {
7671
7674
  selectOnCreated: { type: Boolean, default: !1 }
7672
7675
  };
7673
7676
  ye(
7674
- Su,
7675
- qn,
7677
+ xu,
7678
+ zn,
7676
7679
  jt,
7677
7680
  void 0
7678
7681
  );
7679
- 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 = {
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 = {
7680
7683
  id: {
7681
7684
  description: "The unique identifier for a Input Group",
7682
7685
  type: "string"
@@ -7696,18 +7699,18 @@ const Tu = "https://json-schema.org/draft/2020-12/schema", _u = "https://farris-
7696
7699
  type: "Object",
7697
7700
  default: null
7698
7701
  }
7699
- }, Mu = [
7702
+ }, Fu = [
7700
7703
  "id",
7701
7704
  "type"
7702
- ], Eu = {
7703
- $schema: Tu,
7704
- $id: _u,
7705
- title: ku,
7706
- description: Iu,
7707
- type: Bu,
7708
- properties: Fu,
7709
- required: Mu
7710
- }, Ou = {
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 = {
7711
7714
  initialState: {
7712
7715
  type: Object,
7713
7716
  default: {
@@ -7718,9 +7721,9 @@ const Tu = "https://json-schema.org/draft/2020-12/schema", _u = "https://farris-
7718
7721
  }
7719
7722
  }
7720
7723
  };
7721
- on(Ou, Eu, Er, Rr);
7722
- var Un = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Un || {}), Xn = /* @__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))(Xn || {});
7723
- const Pu = [
7724
+ nn(Eu, Mu, Mr, Dr);
7725
+ 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 = [
7724
7727
  {
7725
7728
  value: "0",
7726
7729
  name: "等于"
@@ -7757,7 +7760,7 @@ const Pu = [
7757
7760
  value: "8",
7758
7761
  name: "结束是"
7759
7762
  }
7760
- ], Du = {
7763
+ ], Pu = {
7761
7764
  "button-edit": ["0", "1", " 6", "7", "8"],
7762
7765
  "check-box": ["0"],
7763
7766
  "combo-list": ["0", "1"],
@@ -7777,18 +7780,18 @@ const Pu = [
7777
7780
  "radio-group": ["0"],
7778
7781
  text: ["0", "1", " 6", "7", "8"]
7779
7782
  };
7780
- function Ru(e, t, n) {
7783
+ function Du(e, t, n) {
7781
7784
  const { fieldMap: o } = n;
7782
7785
  function a(s) {
7783
7786
  const l = o.get(s.fieldCode);
7784
7787
  if (!l)
7785
7788
  return [];
7786
- const r = l.editor.type, u = new Set(Du[r]);
7787
- return Pu.filter((d) => u.has(d.value));
7789
+ const r = l.editor.type, u = new Set(Pu[r]);
7790
+ return Ou.filter((d) => u.has(d.value));
7788
7791
  }
7789
7792
  return { getCompareOperators: a };
7790
7793
  }
7791
- function Kn() {
7794
+ function Xn() {
7792
7795
  const e = v({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
7793
7796
  let o = 0;
7794
7797
  function a() {
@@ -7796,9 +7799,9 @@ function Kn() {
7796
7799
  id: "",
7797
7800
  fieldCode: "",
7798
7801
  fieldName: "",
7799
- compareType: Xn.Equal,
7800
- valueType: Un.Value,
7801
- value: new Nn(),
7802
+ compareType: Un.Equal,
7803
+ valueType: Wn.Value,
7804
+ value: new An(),
7802
7805
  relation: 0,
7803
7806
  conditionId: Date.now()
7804
7807
  };
@@ -7957,7 +7960,7 @@ function Kn() {
7957
7960
  unGroup: T
7958
7961
  };
7959
7962
  }
7960
- function Vu(e, t, n) {
7963
+ function Ru(e, t, n) {
7961
7964
  const o = v(/* @__PURE__ */ new Set()), a = v(/* @__PURE__ */ new Set()), { conditionGroupMap: s, groupParentMap: l } = n;
7962
7965
  let r, u;
7963
7966
  function c(m) {
@@ -8003,15 +8006,15 @@ function Vu(e, t, n) {
8003
8006
  }
8004
8007
  const wt = /* @__PURE__ */ te({
8005
8008
  name: "FConditionList",
8006
- props: An,
8009
+ props: Ln,
8007
8010
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
8008
8011
  setup(e, t) {
8009
- const n = v(e.key), o = v(e.conditions), a = zn(e), {
8012
+ const n = v(e.key), o = v(e.conditions), a = Hn(e), {
8010
8013
  convertToSingleControl: s,
8011
8014
  fields: l,
8012
8015
  fieldMap: r,
8013
8016
  loadFieldConfigs: u
8014
- } = a, c = Kn(), {
8017
+ } = a, c = Xn(), {
8015
8018
  addCondition: d,
8016
8019
  changeGroupRelation: p,
8017
8020
  getConditions: g,
@@ -8024,12 +8027,12 @@ const wt = /* @__PURE__ */ te({
8024
8027
  unGroup: T
8025
8028
  } = c, {
8026
8029
  createConditionValue: I
8027
- } = Hn(), M = Vu(e, t, c), {
8030
+ } = Nn(), M = Ru(e, t, c), {
8028
8031
  selectedItems: P,
8029
8032
  toggleSelect: O
8030
8033
  } = M, {
8031
8034
  getCompareOperators: D
8032
- } = Ru(e, t, a);
8035
+ } = Du(e, t, a);
8033
8036
  u(!1), l.value = s(l.value), C(o.value);
8034
8037
  function S(E) {
8035
8038
  var R;
@@ -8077,7 +8080,7 @@ const wt = /* @__PURE__ */ te({
8077
8080
  onChange: (A) => F(A, j)
8078
8081
  }, null)]), i("div", {
8079
8082
  class: "condition-list-item-control mr-3"
8080
- }, [i(xu, {
8083
+ }, [i(wu, {
8081
8084
  editor: (R = r.get(j.fieldCode)) == null ? void 0 : R.editor,
8082
8085
  showLabel: !1,
8083
8086
  modelValue: j.value.value,
@@ -8158,9 +8161,9 @@ const wt = /* @__PURE__ */ te({
8158
8161
  }
8159
8162
  });
8160
8163
  wt.install = (e) => {
8161
- e.component(Wt.name, Wt).component(wt.name, wt);
8164
+ e.component(Gt.name, Gt).component(wt.name, wt);
8162
8165
  };
8163
- const $u = [
8166
+ const Vu = [
8164
8167
  "equal",
8165
8168
  "notEqual",
8166
8169
  "greaterThan",
@@ -8170,16 +8173,16 @@ const $u = [
8170
8173
  "contain",
8171
8174
  "startWidth",
8172
8175
  "endWidth"
8173
- ], ju = {
8176
+ ], $u = {
8174
8177
  equal: (e, t, n) => e && e[t] === n,
8175
8178
  notEqual: (e, t, n) => e && e[t] !== n,
8176
8179
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
8177
8180
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
8178
8181
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
8179
- }, Lu = {
8182
+ }, ju = {
8180
8183
  equal: (e, t, n) => e && e[t] === n,
8181
8184
  notEqual: (e, t, n) => e && e[t] !== n
8182
- }, Au = {
8185
+ }, Lu = {
8183
8186
  equal: (e, t, n) => {
8184
8187
  if (e) {
8185
8188
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -8222,10 +8225,10 @@ const $u = [
8222
8225
  }
8223
8226
  return !1;
8224
8227
  }
8225
- }, Nu = {
8228
+ }, Au = {
8226
8229
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
8227
8230
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
8228
- }, Hu = {
8231
+ }, Nu = {
8229
8232
  equal: (e, t, n) => {
8230
8233
  if (e) {
8231
8234
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -8269,13 +8272,13 @@ const $u = [
8269
8272
  return !1;
8270
8273
  }
8271
8274
  };
8272
- function zu() {
8273
- const e = v([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Kn(), o = /* @__PURE__ */ new Map([
8274
- ["boolean", Lu],
8275
- ["datetime", Au],
8276
- ["enum", Nu],
8277
- ["number", Hu],
8278
- ["text", ju]
8275
+ function Hu() {
8276
+ 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]
8279
8282
  ]);
8280
8283
  function a(p) {
8281
8284
  t.delete(p), e.value = Array.from(t.values());
@@ -8284,7 +8287,7 @@ function zu() {
8284
8287
  t.clear(), e.value = [];
8285
8288
  }
8286
8289
  function l(p) {
8287
- const { valueType: g } = p.value, b = p.compareType || "0", y = $u[Number(b)];
8290
+ const { valueType: g } = p.value, b = p.compareType || "0", y = Vu[Number(b)];
8288
8291
  return o.get(g)[y];
8289
8292
  }
8290
8293
  function r(p) {
@@ -8308,7 +8311,7 @@ function zu() {
8308
8311
  }
8309
8312
  return { apply: d, clearCondition: s, conditions: e, removeCondition: a };
8310
8313
  }
8311
- function Yn(e, t) {
8314
+ function Kn(e, t) {
8312
8315
  var m;
8313
8316
  const { idField: n } = t, o = v(e.summary), a = v(e.group), s = v(((m = e.group) == null ? void 0 : m.groupFields) || []), l = B(() => {
8314
8317
  var h;
@@ -8399,7 +8402,7 @@ function Yn(e, t) {
8399
8402
  }
8400
8403
  return { collpaseGroupIconClass: _, generateGroupData: C, groupFields: s, shouldGroupingData: l, showGroupPanel: r };
8401
8404
  }
8402
- function qu(e, t, n, o) {
8405
+ function zu(e, t, n, o) {
8403
8406
  const a = v(!!e.hierarchy), { idField: s } = o, { collapseField: l, hasChildrenField: r, parentIdField: u } = n, c = /* @__PURE__ */ new Map();
8404
8407
  function d(f, w) {
8405
8408
  const k = /* @__PURE__ */ new Map();
@@ -8515,10 +8518,10 @@ function qu(e, t, n, o) {
8515
8518
  const R = Array.from(E.children.keys()).indexOf($.id);
8516
8519
  if (R === E.children.size - 1) {
8517
8520
  const z = Array.from(E.descendant.values())[E.descendant.size - 1];
8518
- j = k.value.findIndex((se) => se[s.value] === z.id) + 1;
8521
+ j = k.value.findIndex((le) => le[s.value] === z.id) + 1;
8519
8522
  } else {
8520
8523
  const z = Array.from(E.children.values())[R + 1];
8521
- j = k.value.findIndex((se) => se[s.value] === z.id);
8524
+ j = k.value.findIndex((le) => le[s.value] === z.id);
8522
8525
  }
8523
8526
  w[r.value] = !1, w[u.value] = E.id, k.value.splice(j, 0, w);
8524
8527
  }
@@ -8543,7 +8546,7 @@ function qu(e, t, n, o) {
8543
8546
  }
8544
8547
  return { generateHierarchyData: D, hasRealChildren: P, insertSibling: S, insertChild: F, shouldStratifyData: a, trimmedOriginalData: x };
8545
8548
  }
8546
- const Gu = {
8549
+ const qu = {
8547
8550
  showCloseButton: { type: Boolean, default: !0 },
8548
8551
  position: { type: String, default: "top-center" },
8549
8552
  timeout: { type: Number, default: 3e3 },
@@ -8555,13 +8558,13 @@ const Gu = {
8555
8558
  id: { type: String },
8556
8559
  animate: { type: String, default: "fadeIn" },
8557
8560
  options: { type: Object }
8558
- }, Wu = {
8561
+ }, Gu = {
8559
8562
  showCloseButton: { type: Boolean, default: !0 },
8560
8563
  animate: { type: String, default: "fadeIn" },
8561
8564
  options: { type: Object }
8562
8565
  }, Bt = /* @__PURE__ */ te({
8563
8566
  name: "Toast",
8564
- props: Wu,
8567
+ props: Gu,
8565
8568
  emits: ["close", "click"],
8566
8569
  setup: (e, t) => {
8567
8570
  const n = v(e.animate), o = "fadeOut", a = B(() => e.options), s = v(!1), l = B(() => {
@@ -8586,7 +8589,7 @@ const Gu = {
8586
8589
  function C(m) {
8587
8590
  return `f-preten-link ${m.customClass ? m.customClass : ""}`;
8588
8591
  }
8589
- G(n, () => {
8592
+ U(n, () => {
8590
8593
  n.value;
8591
8594
  });
8592
8595
  const _ = () => {
@@ -8634,7 +8637,7 @@ const Gu = {
8634
8637
  }
8635
8638
  }), nt = /* @__PURE__ */ te({
8636
8639
  name: "Notify",
8637
- props: Gu,
8640
+ props: qu,
8638
8641
  emits: ["close", "empty"],
8639
8642
  setup(e, t) {
8640
8643
  const n = B(() => ({
@@ -8679,7 +8682,7 @@ const Gu = {
8679
8682
  }, null)]);
8680
8683
  }
8681
8684
  });
8682
- class Qn {
8685
+ class Yn {
8683
8686
  constructor() {
8684
8687
  N(this, "notifyRefs", []);
8685
8688
  N(this, "globalConfig", Be({}));
@@ -8710,9 +8713,9 @@ class Qn {
8710
8713
  }
8711
8714
  return $e(() => {
8712
8715
  document.body.removeChild(s);
8713
- }), le(() => {
8716
+ }), se(() => {
8714
8717
  n.updateNotifyPositionForCreate(a, r);
8715
- }), () => i(Zt, {
8718
+ }), () => i(Qt, {
8716
8719
  mode: "out-in",
8717
8720
  name: "fade",
8718
8721
  appear: !0
@@ -8790,22 +8793,22 @@ class Qn {
8790
8793
  }), this.notifyRefs.length = 0;
8791
8794
  }
8792
8795
  }
8793
- const Uu = Symbol("NOTIFY_SERVICE_TOKEN");
8796
+ const Wu = Symbol("NOTIFY_SERVICE_TOKEN");
8794
8797
  nt.install = (e) => {
8795
8798
  e.component(nt.name, nt), e.component(Bt.name, Bt);
8796
- const t = new Qn();
8797
- e.provide(Uu, t), e.provide("FNotifyService", t);
8799
+ const t = new Yn();
8800
+ e.provide(Wu, t), e.provide("FNotifyService", t);
8798
8801
  };
8799
- function Xu(e, t, n, o, a) {
8800
- var At, Nt;
8801
- 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), {
8802
+ function Uu(e, t, n, o, a) {
8803
+ 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), {
8802
8805
  generateHierarchyData: D,
8803
8806
  hasRealChildren: S,
8804
8807
  insertSibling: F,
8805
8808
  insertChild: x,
8806
8809
  shouldStratifyData: f,
8807
8810
  trimmedOriginalData: w
8808
- } = O, { idField: k, reviseIdentifyField: V } = o, L = v(e.newDataItem), $ = v(e.data), E = v(e.data), { flatTreeData: j } = cc(e);
8811
+ } = O, { idField: k, reviseIdentifyField: V } = o, L = v(e.newDataItem), $ = v(e.data), E = v(e.data), { flatTreeData: j } = uc(e);
8809
8812
  function R(H) {
8810
8813
  return j(H);
8811
8814
  }
@@ -8818,26 +8821,25 @@ function Xu(e, t, n, o, a) {
8818
8821
  return (H == null ? void 0 : H.groupFields) || [];
8819
8822
  });
8820
8823
  let Z = /* @__PURE__ */ new Map();
8821
- const se = v(((Nt = $.value) == null ? void 0 : Nt.length) || 0), be = v(e.pagination), Se = new Qn(), 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, se.value) : Math.min(ee.value + s.value, l.value, se.value) : se.value);
8822
- G(() => P.value.length, (H, Q) => {
8824
+ const le = B(() => {
8825
+ var H;
8826
+ 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);
8828
+ U(() => P.value.length, (H, Q) => {
8823
8829
  H !== Q && (l.value = H);
8824
- }), G($, (H, Q) => {
8825
- se.value = H.length;
8826
- }, {
8827
- deep: !0
8828
8830
  });
8829
8831
  function Ce() {
8830
8832
  var _e, Ge;
8831
- $.value = P.value, M.value && ($.value = T(I.value, P.value, t)), Z = z.value.reduce((Pe, ue) => (Pe.set(ue, 0), Pe), Z);
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);
8832
8834
  const H = ee.value, Q = re.value;
8833
8835
  let J = 0;
8834
8836
  const he = [];
8835
8837
  if ((_e = $.value) != null && _e.length) {
8836
8838
  V($.value);
8837
- const Pe = k.value !== e.idField;
8839
+ const De = k.value !== e.idField;
8838
8840
  for (let ue = H; ue < Q; ue++) {
8839
8841
  const de = $.value[ue];
8840
- de.__fv_data_grid_group_row__ ? (J = 0, de.__fv_data_index__ = "") : de.__fv_data_grid_group_summary__ ? de.__fv_data_index__ = "" : (de.__fv_disabled__ = de[((Ge = e.rowOption) == null ? void 0 : Ge.disabledField) || "disabled"], J++, r.value ? de.__fv_data_index__ = J + (u.value - 1) * s.value : de.__fv_data_index__ = J), de.__fv_index__ = ue, Pe && (de[k.value] = ue), z.value.forEach((ke) => {
8842
+ de.__fv_data_grid_group_row__ ? (J = 0, de.__fv_data_index__ = "") : de.__fv_data_grid_group_summary__ ? de.__fv_data_index__ = "" : (de.__fv_disabled__ = de[((Ge = e.rowOption) == null ? void 0 : Ge.disabledField) || "disabled"], J++, r.value ? de.__fv_data_index__ = J + (u.value - 1) * s.value : de.__fv_data_index__ = J), de.__fv_index__ = ue, De && (de[k.value] = ue), z.value.forEach((ke) => {
8841
8843
  const Qe = Z.get(ke) || 0;
8842
8844
  Z.set(ke, Qe + de[ke]);
8843
8845
  }), he.push(de);
@@ -8847,7 +8849,7 @@ function Xu(e, t, n, o, a) {
8847
8849
  }
8848
8850
  const pe = v(Ce());
8849
8851
  function me(H, Q, J = !1) {
8850
- const _e = (J ? Ce() : [...E.value]).filter((ue) => m.apply(ue)), Ge = H && H.length ? _e.filter((ue) => H.reduce((de, ke) => de && ke.filter(ue), !0)) : _e, Pe = Q && Q.length ? Ge.sort((ue, de) => {
8852
+ const _e = (J ? Ce() : [...E.value]).filter((ue) => m.apply(ue)), Ge = H && H.length ? _e.filter((ue) => H.reduce((de, ke) => de && ke.filter(ue), !0)) : _e, De = Q && Q.length ? Ge.sort((ue, de) => {
8851
8853
  const ke = [...Q], Qe = ke.shift();
8852
8854
  let yt = Qe.compare(ue[Qe.field], de[Qe.field]);
8853
8855
  for (; yt === 0 && ke.length !== 0; ) {
@@ -8856,7 +8858,7 @@ function Xu(e, t, n, o, a) {
8856
8858
  }
8857
8859
  return yt;
8858
8860
  }) : Ge;
8859
- return pe.value = Pe.map((ue, de) => {
8861
+ return pe.value = De.map((ue, de) => {
8860
8862
  if (ue.__fv_data_grid_group_row__) {
8861
8863
  const ke = `group_of_${ue.__fv_data_grid_group_field__}_${ue.__fv_data_grid_group_value__}`;
8862
8864
  ue.__fv_data_grid_group_collapse__ = !!d.get(ke);
@@ -8876,7 +8878,7 @@ function Xu(e, t, n, o, a) {
8876
8878
  function Te(H, Q) {
8877
8879
  return p.set(H, Q), C.value = Array.from(p.values()), me([], Array.from(y.values()));
8878
8880
  }
8879
- function Oe(H) {
8881
+ function Pe(H) {
8880
8882
  return p.delete(H), C.value = Array.from(p.values()), me([], Array.from(y.values()), !0);
8881
8883
  }
8882
8884
  function pt() {
@@ -8929,48 +8931,48 @@ function Xu(e, t, n, o, a) {
8929
8931
  ge();
8930
8932
  }
8931
8933
  function ht(H, Q, J) {
8932
- return (H && H.length ? pe.value.filter((_e, Ge) => H.reduce((Pe, ue) => Pe && ue.filter(_e), !0)) : pe.value).slice(Q, J);
8934
+ return (H && H.length ? pe.value.filter((_e, Ge) => H.reduce((De, ue) => De && ue.filter(_e), !0)) : pe.value).slice(Q, J);
8933
8935
  }
8934
- function vo(H) {
8935
- (H - 1) * s.value <= se.value && ge();
8936
+ function po(H) {
8937
+ (H - 1) * s.value <= le.value && ge();
8936
8938
  }
8937
- function mo(H) {
8938
- P.value.push(Ve(H)), pe.value = Ce();
8939
+ function vo(H) {
8940
+ P.value.push(Ee(H)), pe.value = Ce();
8939
8941
  }
8940
- function go(H = 0) {
8942
+ function mo(H = 0) {
8941
8943
  if (!(H > -1))
8942
8944
  return !1;
8943
8945
  const J = L.value();
8944
8946
  e.hierarchy ? F(H, J, P) : P.value.splice(H, 0, J), ge();
8945
8947
  }
8946
- function ho(H = 0) {
8948
+ function go(H = 0) {
8947
8949
  if (!(H > -1 && e.hierarchy))
8948
8950
  return !1;
8949
8951
  const J = L.value(), he = P.value[H];
8950
8952
  q(he), x(H, J, P), ge();
8951
8953
  }
8952
- function yo(H) {
8954
+ function ho(H) {
8953
8955
  const Q = H ? H - 1 : 0;
8954
8956
  P.value.splice(Q, 1), ge();
8955
8957
  }
8956
- function bo(H) {
8958
+ function yo(H) {
8957
8959
  const Q = P.value.findIndex((J) => J[k.value] === H);
8958
8960
  Q !== -1 && (P.value.splice(Q, 1), ge());
8959
8961
  }
8960
- function Co(H) {
8962
+ function bo(H) {
8961
8963
  const Q = H > -1 ? P.value[H] : null;
8962
8964
  if (!(Q && Q.deletable !== !1))
8963
8965
  return !1;
8964
8966
  P.value = w(Q, P.value), ge();
8965
8967
  }
8966
- function wo() {
8968
+ function Co() {
8967
8969
  const H = g.size > 0 ? Array.from(g.values()) : [];
8968
8970
  return me(H, Array.from(y.values()));
8969
8971
  }
8970
- function xo(H) {
8972
+ function wo(H) {
8971
8973
  be.value && (be.value.size = H, ge());
8972
8974
  }
8973
- function So(H, Q) {
8975
+ function xo(H, Q) {
8974
8976
  const J = P.value[Number(H) - 1];
8975
8977
  J.editable !== !1 ? (J.name = Q, ge()) : Se.show({
8976
8978
  showCloseButton: !1,
@@ -8979,7 +8981,7 @@ function Xu(e, t, n, o, a) {
8979
8981
  toasts: [{ type: "string", title: "提示", msg: "当前节点禁止编辑" }]
8980
8982
  });
8981
8983
  }
8982
- function To(H) {
8984
+ function So(H) {
8983
8985
  return H.map((J) => {
8984
8986
  const he = E.value.findIndex((_e) => _e[k.value] === J);
8985
8987
  return he > -1 ? E.value[he] : null;
@@ -8987,32 +8989,32 @@ function Xu(e, t, n, o, a) {
8987
8989
  }
8988
8990
  return {
8989
8991
  addFilter: Te,
8990
- addNewDataItem: mo,
8992
+ addNewDataItem: vo,
8991
8993
  addSorter: ne,
8992
- changePageSizeTo: xo,
8994
+ changePageSizeTo: wo,
8993
8995
  collapse: vt,
8994
8996
  dataView: pe,
8995
- editDataItem: So,
8997
+ editDataItem: xo,
8996
8998
  expand: mt,
8997
8999
  filters: C,
8998
9000
  fold: gt,
8999
9001
  getRange: ht,
9000
- getSelectionItems: To,
9002
+ getSelectionItems: So,
9001
9003
  hasRealChildren: S,
9002
9004
  load: qe,
9003
- navigatePageTo: vo,
9005
+ navigatePageTo: po,
9004
9006
  summaries: Z,
9005
- totalItems: se,
9006
- insertNewDataItem: go,
9007
- insertNewChildDataItem: ho,
9007
+ totalItems: le,
9008
+ insertNewDataItem: mo,
9009
+ insertNewChildDataItem: go,
9008
9010
  removeAllFilter: pt,
9009
- removeDataItem: yo,
9010
- removeDataItemById: bo,
9011
- removeFilter: Oe,
9012
- removeHierarchyDataItem: Co,
9011
+ removeDataItem: ho,
9012
+ removeDataItemById: yo,
9013
+ removeFilter: Pe,
9014
+ removeHierarchyDataItem: bo,
9013
9015
  removeSorter: ce,
9014
9016
  rawView: E,
9015
- refresh: wo,
9017
+ refresh: Co,
9016
9018
  setSorters: ze,
9017
9019
  sorters: _,
9018
9020
  updateDataView: ge,
@@ -9022,7 +9024,7 @@ function Xu(e, t, n, o, a) {
9022
9024
  originalData: P
9023
9025
  };
9024
9026
  }
9025
- function Ku(e) {
9027
+ function Xu(e) {
9026
9028
  v(e.selection.showCheckbox || !1);
9027
9029
  const t = B(() => {
9028
9030
  var l;
@@ -9036,7 +9038,7 @@ function Ku(e) {
9036
9038
  }), a = B(() => e.hierarchy && e.selection.showCheckbox), s = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
9037
9039
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: s };
9038
9040
  }
9039
- function Yu(e, t, n, o, a, s, l, r) {
9041
+ function Ku(e, t, n, o, a, s, l, r) {
9040
9042
  const u = v(o.value - 1 + a), c = v(0), { renderDataRow: d } = s, p = l ? l.renderGroupRow : d, g = r ? r.renderSummaryRow : d;
9041
9043
  function b(_) {
9042
9044
  let m = d;
@@ -9061,7 +9063,7 @@ function Yu(e, t, n, o, a, s, l, r) {
9061
9063
  }
9062
9064
  return { getVisualData: y, maxVisibleRowIndex: u, minVisibleRowIndex: c, toggleGroupRow: C };
9063
9065
  }
9064
- function Qu() {
9066
+ function Yu() {
9065
9067
  function e(t, n) {
9066
9068
  const {
9067
9069
  formatter: o
@@ -9072,7 +9074,7 @@ function Qu() {
9072
9074
  renderEnumColumn: e
9073
9075
  };
9074
9076
  }
9075
- function Zu() {
9077
+ function Qu() {
9076
9078
  function e(o, a) {
9077
9079
  return o ? i("span", {
9078
9080
  innerHTML: a.formatter.trueText
@@ -9097,10 +9099,10 @@ function Zu() {
9097
9099
  renderBooleanColumn: n
9098
9100
  };
9099
9101
  }
9100
- function Ju() {
9102
+ function Zu() {
9101
9103
  const {
9102
9104
  formatTo: e
9103
- } = Vo();
9105
+ } = Ro();
9104
9106
  function t(o, a) {
9105
9107
  return e(o, a.formatter.dateFormat);
9106
9108
  }
@@ -9112,10 +9114,10 @@ function Ju() {
9112
9114
  renderDateColumn: n
9113
9115
  };
9114
9116
  }
9115
- function ec() {
9117
+ function Ju() {
9116
9118
  const {
9117
9119
  formatTo: e
9118
- } = $o();
9120
+ } = Vo();
9119
9121
  function t(o, a) {
9120
9122
  const {
9121
9123
  formatter: s
@@ -9136,16 +9138,16 @@ function ec() {
9136
9138
  renderNumberColumn: n
9137
9139
  };
9138
9140
  }
9139
- function tc() {
9141
+ function ec() {
9140
9142
  const {
9141
9143
  renderBooleanColumn: e
9142
- } = Zu(), {
9143
- renderEnumColumn: t
9144
9144
  } = Qu(), {
9145
+ renderEnumColumn: t
9146
+ } = Yu(), {
9145
9147
  renderNumberColumn: n
9146
- } = ec(), {
9148
+ } = Ju(), {
9147
9149
  renderDateColumn: o
9148
- } = Ju();
9150
+ } = Zu();
9149
9151
  function a(r) {
9150
9152
  return r;
9151
9153
  }
@@ -9165,9 +9167,9 @@ function tc() {
9165
9167
  renderFormatColumn: l
9166
9168
  };
9167
9169
  }
9168
- function nc(e, t, n) {
9170
+ function tc(e, t, n) {
9169
9171
  var _;
9170
- const o = v(e.mergeCell), s = ((_ = v(e.rowOption).value) == null ? void 0 : _.wrapContent) || !1, { updateVisualInfomation: l } = n, { renderCommandColumn: r } = hr(), { renderFormatColumn: u } = tc();
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();
9171
9173
  function c(m, h, T, I, M, P = 1) {
9172
9174
  const O = {
9173
9175
  colSpan: P,
@@ -9198,11 +9200,11 @@ function nc(e, t, n) {
9198
9200
  return m.getEditor = (I) => t.getEditor(I, h, I.parent), m.setRef = (I) => s && l(I, m, T), m.update = (I) => {
9199
9201
  I !== void 0 && (m.editingData = I);
9200
9202
  }, m.accept = () => {
9201
- zt(m.editingData, T, h.field), m.data = Ze(T, h.field);
9203
+ Ht(m.editingData, T, h.field), m.data = Ze(T, h.field);
9202
9204
  }, m.cancel = () => {
9203
9205
  m.editingData = m.data;
9204
9206
  }, m.updateData = (I) => {
9205
- zt(Ze(I, h.field), T, h.field), m.data = Ze(T, h.field);
9207
+ Ht(Ze(I, h.field), T, h.field), m.data = Ze(T, h.field);
9206
9208
  }, m;
9207
9209
  }
9208
9210
  function p(m, h) {
@@ -9227,16 +9229,16 @@ function nc(e, t, n) {
9227
9229
  }
9228
9230
  return { createCellByColumn: C, createCellByField: c };
9229
9231
  }
9230
- function oc(e, t, n, o, a, s) {
9232
+ function nc(e, t, n, o, a, s) {
9231
9233
  var m, h;
9232
9234
  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;
9233
9235
  function b(T, I, M, P, O, D, S) {
9234
- var se, be, Se;
9236
+ var le, be, Se;
9235
9237
  const {
9236
9238
  __fv_data_grid_group_field__: F,
9237
9239
  __fv_data_grid_group_value__: x,
9238
9240
  __fv_data_index__: f
9239
- } = M, w = M.__fv_data_grid_group_layer__ || (M.__fv_parents__ ? (se = M.__fv_parents__) == null ? void 0 : se.size : 0) || 0, k = typeof M.parent == "number" ? Number(M.parent) : -1, V = M.__fv_data_grid_group_collapse__ || M[d.value], L = M.__fv_visible__ === void 0 ? !0 : M.__fv_visible__, $ = M.__fv_checked__, E = M.__fv_indeterminate__, j = M.__fv_disabled__ || M[((be = e.rowOption) == null ? void 0 : be.disabledField) || "disabled"], R = S == null ? void 0 : S.find((ee) => ee.raw[c.value] === M.parent), A = R && R.collapse;
9241
+ } = M, w = M.__fv_data_grid_group_layer__ || (M.__fv_parents__ ? (le = M.__fv_parents__) == null ? void 0 : le.size : 0) || 0, k = typeof M.parent == "number" ? Number(M.parent) : -1, V = M.__fv_data_grid_group_collapse__ || M[d.value], L = M.__fv_visible__ === void 0 ? !0 : M.__fv_visible__, $ = M.__fv_checked__, E = M.__fv_indeterminate__, j = M.__fv_disabled__ || M[((be = e.rowOption) == null ? void 0 : be.disabledField) || "disabled"], R = S == null ? void 0 : S.find((ee) => ee.raw[c.value] === M.parent), A = R && R.collapse;
9240
9242
  P && (P.parent, M.parent);
9241
9243
  const z = A || R && !R.visible, Z = {
9242
9244
  collapse: V,
@@ -9285,7 +9287,7 @@ function oc(e, t, n, o, a, s) {
9285
9287
  }
9286
9288
  return { createEmptyRow: b, createNewRowFromDataItem: y, renderDataRow: _ };
9287
9289
  }
9288
- function ac(e, t, n, o) {
9290
+ function oc(e, t, n, o) {
9289
9291
  const a = v(e.summary), { idField: s } = t, { createCellByField: l } = n, { createEmptyRow: r } = o, u = B(() => {
9290
9292
  const g = a.value;
9291
9293
  return (g == null ? void 0 : g.groupFields) || [];
@@ -9313,7 +9315,7 @@ function ac(e, t, n, o) {
9313
9315
  }
9314
9316
  return { renderGroupRow: p };
9315
9317
  }
9316
- function sc(e, t, n, o) {
9318
+ function ac(e, t, n, o) {
9317
9319
  const { idField: a } = t, { createCellByField: s } = n, { createEmptyRow: l } = o;
9318
9320
  function r(u, c, d, p, g, b, y) {
9319
9321
  const C = u.__fv_data_grid_group_field__, _ = l(dt.summary, p, u, c, d, g);
@@ -9321,14 +9323,14 @@ function sc(e, t, n, o) {
9321
9323
  }
9322
9324
  return { renderSummaryRow: r };
9323
9325
  }
9324
- function lc(e, t, n) {
9326
+ function sc(e, t, n) {
9325
9327
  var D;
9326
9328
  const {
9327
9329
  idField: o
9328
9330
  } = n, a = v(e.editable), s = v(e.editOption), l = v(((D = e.rowOption) == null ? void 0 : D.wrapContent) || !1);
9329
- G(() => e.editable, () => {
9331
+ U(() => e.editable, () => {
9330
9332
  a.value = e.editable;
9331
- }), G(() => {
9333
+ }), U(() => {
9332
9334
  var S;
9333
9335
  return (S = e.editOption) == null ? void 0 : S.editMode;
9334
9336
  }, (S) => {
@@ -9387,7 +9389,7 @@ function lc(e, t, n) {
9387
9389
  column: F,
9388
9390
  cell: S,
9389
9391
  editor: b
9390
- }, i(ia, {
9392
+ }, i(la, {
9391
9393
  focusOnCreated: e.focusOnEditingCell,
9392
9394
  selectOnCreated: e.selectOnEditingCell,
9393
9395
  editor: w,
@@ -9405,7 +9407,7 @@ function lc(e, t, n) {
9405
9407
  getEditor: O
9406
9408
  };
9407
9409
  }
9408
- function ic(e) {
9410
+ function lc(e) {
9409
9411
  const t = v(e.idField);
9410
9412
  function n(o) {
9411
9413
  if (o && o.length) {
@@ -9415,9 +9417,9 @@ function ic(e) {
9415
9417
  }
9416
9418
  return { idField: t, reviseIdentifyField: n };
9417
9419
  }
9418
- function rc(e, t, n, o, a) {
9420
+ function ic(e, t, n, o, a) {
9419
9421
  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);
9420
- G(() => e.selection.showSelectAll, (R, A) => {
9422
+ U(() => e.selection.showSelectAll, (R, A) => {
9421
9423
  R !== A && (p.value = R);
9422
9424
  });
9423
9425
  function b() {
@@ -9443,11 +9445,11 @@ function rc(e, t, n, o, a) {
9443
9445
  A.checked = !0, A.raw.__fv_checked__ = !0;
9444
9446
  });
9445
9447
  }
9446
- G(() => o.value, () => {
9448
+ U(() => o.value, () => {
9447
9449
  M();
9448
- }), G(() => e.selectionValues, (R) => {
9450
+ }), U(() => e.selectionValues, (R) => {
9449
9451
  g.value = R, M();
9450
- }, { immediate: !0 }), G(() => e.selection, (R) => {
9452
+ }, { immediate: !0 }), U(() => e.selection, (R) => {
9451
9453
  u.value = !!R.multiSelect, c.value = R.multiSelectMode || "DependOnCheck", d.value = !!R.showCheckbox;
9452
9454
  });
9453
9455
  const P = B(() => !u.value);
@@ -9533,13 +9535,13 @@ function rc(e, t, n, o, a) {
9533
9535
  unSelectAll: E
9534
9536
  };
9535
9537
  }
9536
- function De(e) {
9538
+ function Re(e) {
9537
9539
  return typeof e > "u";
9538
9540
  }
9539
- function uc(e) {
9541
+ function rc(e) {
9540
9542
  var p, g, b, y, C, _, m, h;
9541
9543
  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);
9542
- return G(() => {
9544
+ return U(() => {
9543
9545
  var T;
9544
9546
  return (T = e.pagination) == null ? void 0 : T.sizeLimits;
9545
9547
  }, (T, I) => {
@@ -9547,22 +9549,22 @@ function uc(e) {
9547
9549
  }, {
9548
9550
  immediate: !0,
9549
9551
  deep: !0
9550
- }), G(() => {
9552
+ }), U(() => {
9551
9553
  var T;
9552
9554
  return (T = e.pagination) == null ? void 0 : T.showIndex;
9553
9555
  }, (T, I) => {
9554
9556
  T !== I && (l.value = T);
9555
- }), G(() => {
9557
+ }), U(() => {
9556
9558
  var T;
9557
9559
  return (T = e.pagination) == null ? void 0 : T.showLimits;
9558
9560
  }, (T, I) => {
9559
9561
  T !== I && (r.value = T);
9560
- }), G(() => {
9562
+ }), U(() => {
9561
9563
  var T;
9562
9564
  return (T = e.pagination) == null ? void 0 : T.total;
9563
9565
  }, (T, I) => {
9564
9566
  T !== I && (u.value = T, c.value = T);
9565
- }), G(() => {
9567
+ }), U(() => {
9566
9568
  var T;
9567
9569
  return (T = e.pagination) == null ? void 0 : T.enable;
9568
9570
  }, (T, I) => {
@@ -9581,23 +9583,23 @@ function uc(e) {
9581
9583
  if (!T)
9582
9584
  return;
9583
9585
  const { enable: I, total: M, size: P, index: O, sizeLimits: D, showIndex: S, showLimits: F, mode: x } = T;
9584
- De(I) || (t.value = I), De(O) || (n.value = O), De(P) || (o.value = P), De(D) || (a.value = D), De(S) || (l.value = S), De(F) || (r.value = F), De(M) || (u.value = M), De(x) || (s.value = x);
9586
+ Re(I) || (t.value = I), Re(O) || (n.value = O), Re(P) || (o.value = P), Re(D) || (a.value = D), Re(S) || (l.value = S), Re(F) || (r.value = F), Re(M) || (u.value = M), Re(x) || (s.value = x);
9585
9587
  }
9586
9588
  };
9587
9589
  }
9588
- function cc(e) {
9590
+ function uc(e) {
9589
9591
  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);
9590
9592
  return { flatTreeData: a };
9591
9593
  }
9592
- const dc = /* @__PURE__ */ te({
9594
+ const cc = /* @__PURE__ */ te({
9593
9595
  name: "FListViewDesign",
9594
9596
  props: ct,
9595
9597
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
9596
9598
  setup(e, t) {
9597
- const n = v(), o = v(!0), a = v(!1), s = v([]), l = 0, r = v(e.columns), u = ic(e), c = Ku(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 = $n(e, n), C = v(), _ = ae("design-item-context"), m = Ye(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 = Yu(e, r, g, h, l, P, O, D), {
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), {
9598
9600
  getVisualData: F
9599
9601
  } = S;
9600
- s.value = F(0, h.value + l - 1), le(() => {
9602
+ s.value = F(0, h.value + l - 1), se(() => {
9601
9603
  C.value.componentInstance = m;
9602
9604
  }), t.expose(m.value);
9603
9605
  const x = B(() => {
@@ -9608,13 +9610,13 @@ const dc = /* @__PURE__ */ te({
9608
9610
  return e.size !== "default" && (E[`${e.size}-item`] = !0), E;
9609
9611
  }), f = B(() => !!t.slots.footer || o.value);
9610
9612
  function w() {
9611
- return e.header === "SearchBar" ? lt : e.header === "ContentHeader" ? Ln : lt;
9613
+ return e.header === "SearchBar" ? lt : e.header === "ContentHeader" ? jn : lt;
9612
9614
  }
9613
9615
  const k = w(), {
9614
9616
  renderHeader: V
9615
9617
  } = k(e, t, y), {
9616
9618
  renderListArea: L
9617
- } = jn(e, t, s, g, d, b, S);
9619
+ } = $n(e, t, s, g, d, b, S);
9618
9620
  function $(E) {
9619
9621
  e.multiSelect && (E.preventDefault(), E.stopPropagation());
9620
9622
  }
@@ -9708,7 +9710,7 @@ const dc = /* @__PURE__ */ te({
9708
9710
  }, [s.date])])])])]))]);
9709
9711
  };
9710
9712
  }
9711
- }), 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 = {
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 = {
9712
9714
  id: {
9713
9715
  description: "The unique identifier for list-view-table",
9714
9716
  type: "string"
@@ -9770,18 +9772,18 @@ const dc = /* @__PURE__ */ te({
9770
9772
  type: "boolean",
9771
9773
  default: !0
9772
9774
  }
9773
- }, yc = [
9775
+ }, hc = [
9774
9776
  "id",
9775
9777
  "type"
9776
- ], bc = {
9777
- $schema: fc,
9778
- $id: pc,
9779
- title: vc,
9780
- description: mc,
9781
- type: gc,
9782
- properties: hc,
9783
- required: yc
9784
- }, Cc = "list-view-table", wc = "A Farris Component", xc = "object", Sc = {
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 = {
9785
9787
  basic: {
9786
9788
  description: "Basic Infomation",
9787
9789
  title: "基本信息",
@@ -9803,16 +9805,16 @@ const dc = /* @__PURE__ */ te({
9803
9805
  }
9804
9806
  }
9805
9807
  }
9806
- }, Tc = {
9807
- title: Cc,
9808
- description: wc,
9809
- type: xc,
9810
- categories: Sc
9811
- }, Zn = {
9808
+ }, Sc = {
9809
+ title: bc,
9810
+ description: Cc,
9811
+ type: wc,
9812
+ categories: xc
9813
+ }, Qn = {
9812
9814
  data: { type: Array, default: [] }
9813
- }, Jn = ye(Zn, bc, Dn, Rn, Tc), _c = /* @__PURE__ */ te({
9815
+ }, Zn = ye(Qn, yc, Pn, Dn, Sc), Tc = /* @__PURE__ */ te({
9814
9816
  name: "FListViewTableDesign",
9815
- props: Zn,
9817
+ props: Qn,
9816
9818
  emits: ["outputValue", "currentEvent", "selectionChanged"],
9817
9819
  setup(e, t) {
9818
9820
  const n = [{
@@ -9865,7 +9867,7 @@ const dc = /* @__PURE__ */ te({
9865
9867
  amount: 84.13,
9866
9868
  avatar: "./assets/avatar7.png"
9867
9869
  }], o = B(() => e.data.length > 0 ? e.data : n), a = v(), s = ae("design-item-context"), l = Ye(a, s);
9868
- return le(() => {
9870
+ return se(() => {
9869
9871
  a.value.componentInstance = l;
9870
9872
  }), t.expose(l.value), () => {
9871
9873
  var r;
@@ -9909,14 +9911,14 @@ Ie.install = (e) => {
9909
9911
  e.component(Ie.name, Ie), e.component(Ft.name, Ft);
9910
9912
  };
9911
9913
  Ie.register = (e, t, n) => {
9912
- e["list-view"] = Ie, t["list-view"] = Vn, e["list-view-table"] = Ft, t["list-view-table"] = Jn;
9914
+ e["list-view"] = Ie, t["list-view"] = Rn, e["list-view-table"] = Ft, t["list-view-table"] = Zn;
9913
9915
  };
9914
9916
  Ie.registerDesigner = (e, t, n) => {
9915
- e["list-view"] = dc, t["list-view"] = Vn, e["list-view-table"] = _c, t["list-view-table"] = Jn;
9917
+ e["list-view"] = cc, t["list-view"] = Rn, e["list-view-table"] = Tc, t["list-view-table"] = Zn;
9916
9918
  };
9917
- const kc = /* @__PURE__ */ new Map([
9918
- ["appearance", Ee]
9919
- ]), 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 = {
9919
+ const _c = /* @__PURE__ */ new Map([
9920
+ ["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 = {
9920
9922
  id: {
9921
9923
  description: "The unique identifier for a pagination",
9922
9924
  type: "string"
@@ -10008,18 +10010,18 @@ const kc = /* @__PURE__ */ new Map([
10008
10010
  type: "sting",
10009
10011
  default: ""
10010
10012
  }
10011
- }, Pc = [
10013
+ }, Oc = [
10012
10014
  "id",
10013
10015
  "type"
10014
- ], Dc = {
10015
- $schema: Ic,
10016
- $id: Bc,
10017
- title: Fc,
10018
- description: Mc,
10019
- type: Ec,
10020
- properties: Oc,
10021
- required: Pc
10022
- }, Rc = "pagination", Vc = "A Farris Component", $c = "object", jc = {
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 = {
10023
10025
  basic: {
10024
10026
  description: "Basic Infomation",
10025
10027
  title: "基本信息",
@@ -10101,13 +10103,13 @@ const kc = /* @__PURE__ */ new Map([
10101
10103
  }
10102
10104
  }
10103
10105
  }
10104
- }, Lc = {
10105
- title: Rc,
10106
- description: Vc,
10107
- type: $c,
10108
- categories: jc
10106
+ }, jc = {
10107
+ title: Dc,
10108
+ description: Rc,
10109
+ type: Vc,
10110
+ categories: $c
10109
10111
  };
10110
- function Ac(e, t, n) {
10112
+ function Lc(e, t, n) {
10111
10113
  return t;
10112
10114
  }
10113
10115
  const Lt = {
@@ -10143,12 +10145,12 @@ const Lt = {
10143
10145
  * 自定义每页数量
10144
10146
  */
10145
10147
  pageList: { type: Array, default: [20, 50, 100] }
10146
- }, eo = ye(Lt, Dc, kc, Ac, Lc);
10147
- function to(e, t, n, o) {
10148
+ }, Jn = ye(Lt, Pc, _c, Lc, jc);
10149
+ function eo(e, t, n, o) {
10148
10150
  const a = v("跳转至"), s = v(""), l = v(e.value);
10149
- G(l, (d, p) => {
10151
+ U(l, (d, p) => {
10150
10152
  d >= 1 && d <= t.value ? e.value = d : l.value = p;
10151
- }), G(e, (d) => {
10153
+ }), U(e, (d) => {
10152
10154
  l.value !== d && (l.value = d);
10153
10155
  });
10154
10156
  function r(d) {
@@ -10184,7 +10186,7 @@ function to(e, t, n, o) {
10184
10186
  renderGotoButton: c
10185
10187
  };
10186
10188
  }
10187
- function no(e, t, n, o, a) {
10189
+ function to(e, t, n, o, a) {
10188
10190
  const s = B(() => ({
10189
10191
  "page-item": !0,
10190
10192
  disabled: t.value
@@ -10236,7 +10238,7 @@ function no(e, t, n, o, a) {
10236
10238
  renderNextPage: u
10237
10239
  };
10238
10240
  }
10239
- function oo(e, t) {
10241
+ function no(e, t) {
10240
10242
  const n = v("共"), o = v("条"), a = B(() => ({
10241
10243
  "pagination-message": !0,
10242
10244
  "text-truncate": !0,
@@ -10262,7 +10264,7 @@ function oo(e, t) {
10262
10264
  renderPageInfo: s
10263
10265
  };
10264
10266
  }
10265
- function ao(e, t, n, o, a) {
10267
+ function oo(e, t, n, o, a) {
10266
10268
  const s = v(!1), l = v("显示"), r = v("条"), u = B(() => ({
10267
10269
  dropup: !0,
10268
10270
  "dropdown-right": !0,
@@ -10322,7 +10324,7 @@ function ao(e, t, n, o, a) {
10322
10324
  renderPageList: C
10323
10325
  };
10324
10326
  }
10325
- function so(e, t, n, o) {
10327
+ function ao(e, t, n, o) {
10326
10328
  const a = (u) => ({
10327
10329
  "page-item": !0,
10328
10330
  current: e.value === u.value,
@@ -10357,7 +10359,7 @@ function so(e, t, n, o) {
10357
10359
  renderPageNumbers: r
10358
10360
  };
10359
10361
  }
10360
- function lo(e, t, n, o, a) {
10362
+ function so(e, t, n, o, a) {
10361
10363
  const s = B(() => ({
10362
10364
  "page-item": !0,
10363
10365
  disabled: t.value
@@ -10409,7 +10411,7 @@ function lo(e, t, n, o, a) {
10409
10411
  renderPreviousPage: c
10410
10412
  };
10411
10413
  }
10412
- function io(e) {
10414
+ function lo(e) {
10413
10415
  const t = v([]);
10414
10416
  function n(a, s, l, r) {
10415
10417
  const u = Math.ceil(l / 2);
@@ -10434,38 +10436,38 @@ const Ke = /* @__PURE__ */ te({
10434
10436
  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), {
10435
10437
  pages: c,
10436
10438
  updatePages: d
10437
- } = io(), p = B(() => r.value === 1), g = B(() => e.pageList), b = B(() => Math.ceil(u.value / l.value)), y = B(() => r.value === b.value), C = B(() => e.showGoButton), _ = B(() => r.value > 1), m = B(() => !(s.value && c.value.length <= 1)), h = B(() => !0), T = B(() => e.showPageList), I = B(() => e.showPageNumbers), M = B(() => !0), {
10439
+ } = lo(), p = B(() => r.value === 1), g = B(() => e.pageList), b = B(() => Math.ceil(u.value / l.value)), y = B(() => r.value === b.value), C = B(() => e.showGoButton), _ = B(() => r.value > 1), m = B(() => !(s.value && c.value.length <= 1)), h = B(() => !0), T = B(() => e.showPageList), I = B(() => e.showPageNumbers), M = B(() => !0), {
10438
10440
  renderFirstPage: P,
10439
10441
  renderPreviousPage: O
10440
- } = lo(r, p, _, l, t), {
10442
+ } = so(r, p, _, l, t), {
10441
10443
  renderLastPage: D,
10442
10444
  renderNextPage: S
10443
- } = no(r, y, b, l, t), {
10445
+ } = to(r, y, b, l, t), {
10444
10446
  renderPageInfo: F
10445
- } = oo(a, u), {
10447
+ } = no(a, u), {
10446
10448
  renderPageList: x
10447
- } = ao(r, l, g, u, t), {
10449
+ } = oo(r, l, g, u, t), {
10448
10450
  renderPageNumbers: f
10449
- } = so(r, c, l, t), {
10451
+ } = ao(r, c, l, t), {
10450
10452
  renderGotoButton: w
10451
- } = to(r, b, l, t);
10452
- d(r.value, l.value, u.value, 7), G(() => e.totalItems, (j) => {
10453
+ } = eo(r, b, l, t);
10454
+ d(r.value, l.value, u.value, 7), U(() => e.totalItems, (j) => {
10453
10455
  u.value = j;
10454
- }), G([r, l, u], () => {
10456
+ }), U([r, l, u], () => {
10455
10457
  d(r.value, l.value, u.value, 7);
10456
- }), G(r, () => {
10458
+ }), U(r, () => {
10457
10459
  t.emit("update:currentPage", r.value), t.emit("pageIndexChanged", {
10458
10460
  pageIndex: r.value,
10459
10461
  pageSize: l.value
10460
10462
  });
10461
- }), G(l, () => {
10463
+ }), U(l, () => {
10462
10464
  t.emit("update:pageSize", l.value), t.emit("pageSizeChanged", {
10463
10465
  pageIndex: r.value,
10464
10466
  pageSize: l.value
10465
10467
  });
10466
- }), G(() => e.totalItems, (j) => {
10468
+ }), U(() => e.totalItems, (j) => {
10467
10469
  u.value = j, d(r.value, l.value, u.value, 7);
10468
- }), Eo(() => {
10470
+ }), Mo(() => {
10469
10471
  const j = g.value.includes(l.value);
10470
10472
  l.value = j ? l.value : g.value[0];
10471
10473
  })();
@@ -10505,38 +10507,38 @@ const Ke = /* @__PURE__ */ te({
10505
10507
  style: L.value
10506
10508
  }, [o.value === "default" ? $() : E()])]);
10507
10509
  }
10508
- }), Nc = /* @__PURE__ */ te({
10510
+ }), Ac = /* @__PURE__ */ te({
10509
10511
  name: "FPagination",
10510
10512
  props: Lt,
10511
10513
  emits: ["pageIndexChanged", "pageSizeChanged"],
10512
10514
  setup(e, t) {
10513
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);
10514
- le(() => {
10516
+ se(() => {
10515
10517
  c.value.componentInstance = p;
10516
10518
  }), t.expose(p.value);
10517
10519
  const {
10518
10520
  pages: g,
10519
10521
  updatePages: b
10520
- } = io(), y = B(() => r.value === 1), C = B(() => [20, 50, 100]), _ = B(() => Math.ceil(u.value / l.value)), m = B(() => r.value === _.value), h = B(() => !0), T = B(() => r.value > 1), I = B(() => !(s.value && g.value.length <= 1)), M = B(() => !0), P = B(() => !0), O = B(() => !0), D = B(() => !0), {
10522
+ } = lo(), y = B(() => r.value === 1), C = B(() => [20, 50, 100]), _ = B(() => Math.ceil(u.value / l.value)), m = B(() => r.value === _.value), h = B(() => !0), T = B(() => r.value > 1), I = B(() => !(s.value && g.value.length <= 1)), M = B(() => !0), P = B(() => !0), O = B(() => !0), D = B(() => !0), {
10521
10523
  renderFirstPage: S,
10522
10524
  renderPreviousPage: F
10523
- } = lo(r, y, T, l, t), {
10525
+ } = so(r, y, T, l, t), {
10524
10526
  renderLastPage: x,
10525
10527
  renderNextPage: f
10526
- } = no(r, m, _, l, t), {
10528
+ } = to(r, m, _, l, t), {
10527
10529
  renderPageInfo: w
10528
- } = oo(a, u), {
10530
+ } = no(a, u), {
10529
10531
  renderPageList: k
10530
- } = ao(r, l, C, u, t), {
10532
+ } = oo(r, l, C, u, t), {
10531
10533
  renderPageNumbers: V
10532
- } = so(r, g, l, t), {
10534
+ } = ao(r, g, l, t), {
10533
10535
  renderGotoButton: L
10534
- } = to(r, _, l, t);
10535
- b(r.value, l.value, u.value, 7), G([r, l], () => {
10536
+ } = eo(r, _, l, t);
10537
+ b(r.value, l.value, u.value, 7), U([r, l], () => {
10536
10538
  b(r.value, l.value, u.value, 7);
10537
- }), G(r, () => {
10539
+ }), U(r, () => {
10538
10540
  t.emit("pageIndexChanged", r.value);
10539
- }), G(l, () => {
10541
+ }), U(l, () => {
10540
10542
  t.emit("pageSizeChanged", l.value);
10541
10543
  });
10542
10544
  const $ = B(() => ({
@@ -10578,12 +10580,12 @@ const Ke = /* @__PURE__ */ te({
10578
10580
  }
10579
10581
  });
10580
10582
  Ke.register = (e, t, n) => {
10581
- e.pagination = Ke, t.pagination = eo;
10583
+ e.pagination = Ke, t.pagination = Jn;
10582
10584
  };
10583
10585
  Ke.registerDesigner = (e, t, n) => {
10584
- e.pagination = Nc, t.pagination = eo;
10586
+ e.pagination = Ac, t.pagination = Jn;
10585
10587
  };
10586
- jo(Ke);
10588
+ $o(Ke);
10587
10589
  const ft = {
10588
10590
  /** 启用分组 */
10589
10591
  enableGroup: { type: Boolean, default: !1 },
@@ -10602,7 +10604,7 @@ const ft = {
10602
10604
  },
10603
10605
  pagination: { type: Boolean, default: !1 },
10604
10606
  editorParams: { type: Object }
10605
- }, Hc = /* @__PURE__ */ te({
10607
+ }, Nc = /* @__PURE__ */ te({
10606
10608
  name: "FSchemaSelectCardView",
10607
10609
  props: ft,
10608
10610
  emits: ["selectionChange"],
@@ -10662,7 +10664,7 @@ const ft = {
10662
10664
  footer: l
10663
10665
  });
10664
10666
  }
10665
- }), zc = /* @__PURE__ */ te({
10667
+ }), Hc = /* @__PURE__ */ te({
10666
10668
  name: "FSchemaSelectIconView",
10667
10669
  props: ft,
10668
10670
  emits: ["selectionChange"],
@@ -10704,7 +10706,7 @@ const ft = {
10704
10706
  content: s
10705
10707
  });
10706
10708
  }
10707
- }), qc = /* @__PURE__ */ te({
10709
+ }), zc = /* @__PURE__ */ te({
10708
10710
  name: "FSchemaNavListView",
10709
10711
  props: ft,
10710
10712
  emits: ["selectionChange"],
@@ -10764,7 +10766,7 @@ const ft = {
10764
10766
  class: "f-navSelector-recommand-text"
10765
10767
  }, [ie("控制器列表")])]), i("div", {
10766
10768
  class: "f-navSelector-remainder"
10767
- }, [i(Re, {
10769
+ }, [i(Ve, {
10768
10770
  customClass: "f-schema-selector-search",
10769
10771
  placeholder: "请输入名称/编号搜索"
10770
10772
  }, null)])]), i("div", {
@@ -10778,7 +10780,7 @@ const ft = {
10778
10780
  content: l
10779
10781
  })])])]);
10780
10782
  }
10781
- }), Gc = /* @__PURE__ */ te({
10783
+ }), qc = /* @__PURE__ */ te({
10782
10784
  name: "FSchemaSelectListView",
10783
10785
  props: ft,
10784
10786
  emits: ["selectionChange"],
@@ -10791,7 +10793,7 @@ const ft = {
10791
10793
  function c(y) {
10792
10794
  n.value.updateDataSource(y);
10793
10795
  }
10794
- G(() => r == null ? void 0 : r.value, (y, C) => {
10796
+ U(() => r == null ? void 0 : r.value, (y, C) => {
10795
10797
  let _ = l.value;
10796
10798
  y && y !== C && (_ = l.value.filter((m) => `${m.name} ${m.code}`.toLowerCase().indexOf(y.toLowerCase()) > -1)), s.value = _, c(s.value);
10797
10799
  });
@@ -10803,7 +10805,7 @@ const ft = {
10803
10805
  }, e.editorParams);
10804
10806
  l.value = C, s.value = C, c(s.value), (_ = y.value) == null || _.close();
10805
10807
  }
10806
- le(() => {
10808
+ se(() => {
10807
10809
  d();
10808
10810
  });
10809
10811
  function p({
@@ -10852,7 +10854,7 @@ const ft = {
10852
10854
  });
10853
10855
  }
10854
10856
  });
10855
- function Wc() {
10857
+ function Gc() {
10856
10858
  function e(a, s) {
10857
10859
  return [];
10858
10860
  }
@@ -10867,7 +10869,7 @@ function Wc() {
10867
10869
  }
10868
10870
  return { getNavigationData: e, getRecentlyData: t, getRecommandData: n, getSchemaData: o };
10869
10871
  }
10870
- const Uc = {
10872
+ const Wc = {
10871
10873
  /** 是否展示文案 */
10872
10874
  showMessage: { type: Boolean, default: !0 },
10873
10875
  /** 展示信息 */
@@ -10884,7 +10886,7 @@ const Uc = {
10884
10886
  targetPosition: { type: String, default: "" },
10885
10887
  /** 延迟300毫秒,解决异步加载出现一闪而逝的问题*/
10886
10888
  delay: { type: Number, default: 300 }
10887
- }, Xc = [
10889
+ }, Uc = [
10888
10890
  '<div class="f-loading-round"></div>',
10889
10891
  `<div class="f-loading-dot-wrapper">
10890
10892
  <div class="f-loading-dot">
@@ -10897,13 +10899,13 @@ const Uc = {
10897
10899
  '<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>'
10898
10900
  ], ot = /* @__PURE__ */ te({
10899
10901
  name: "FLoading",
10900
- props: Uc,
10902
+ props: Wc,
10901
10903
  emits: ["closed", "hidden"],
10902
10904
  setup(e, t) {
10903
- 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);
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);
10904
10906
  let d = "", p;
10905
10907
  const g = B(() => r.value && r.value in [0, 1, 2] ? r.value : 0);
10906
- le(() => {
10908
+ se(() => {
10907
10909
  y();
10908
10910
  });
10909
10911
  const b = B(() => "transform:translate(-50%,-50%);" + (e.target === document.body ? "position:fixed" : ""));
@@ -10944,7 +10946,7 @@ const Uc = {
10944
10946
  close: m,
10945
10947
  setLoadingId: C,
10946
10948
  getLoadingId: _
10947
- }), G(() => e.isActive, (I) => {
10949
+ }), U(() => e.isActive, (I) => {
10948
10950
  a.value = I, y(), I || m();
10949
10951
  }), () => i(ve, null, [a.value && i("div", {
10950
10952
  ref: u,
@@ -10975,9 +10977,9 @@ const Uc = {
10975
10977
  }, null)])])])]);
10976
10978
  }
10977
10979
  });
10978
- let ro = -1;
10980
+ let io = -1;
10979
10981
  const Ae = {};
10980
- function Kc(e) {
10982
+ function Xc(e) {
10981
10983
  const t = document.createElement("div"), n = e.target || document.body, o = !!e.targetPosition;
10982
10984
  let a = "unset";
10983
10985
  if (o) {
@@ -10986,14 +10988,14 @@ function Kc(e) {
10986
10988
  } = window.getComputedStyle(n);
10987
10989
  a = r, n.style.position = e.targetPosition;
10988
10990
  }
10989
- const s = Qc();
10990
- ro = s;
10991
+ const s = Yc();
10992
+ io = s;
10991
10993
  const l = ut({
10992
10994
  setup() {
10993
10995
  const r = v();
10994
10996
  $e(() => {
10995
10997
  o && (n.style.position = a), t.remove();
10996
- }), le(() => {
10998
+ }), se(() => {
10997
10999
  r.value && r.value.setLoadingId(s);
10998
11000
  });
10999
11001
  function u(c) {
@@ -11008,14 +11010,14 @@ function Kc(e) {
11008
11010
  });
11009
11011
  return n.style = n.style ? n.style : {}, n.appendChild(t), l.mount(t), Ae[s];
11010
11012
  }
11011
- function Yc() {
11013
+ function Kc() {
11012
11014
  const e = Object.keys(Ae).map((t) => parseInt(t, 10));
11013
11015
  return e.length ? Math.max(...e) : 0;
11014
11016
  }
11015
- function Qc() {
11016
- return Yc() + 1;
11017
+ function Yc() {
11018
+ return Kc() + 1;
11017
11019
  }
11018
- class uo {
11020
+ class ro {
11019
11021
  static show(t) {
11020
11022
  const n = {
11021
11023
  isActive: !0,
@@ -11023,11 +11025,11 @@ class uo {
11023
11025
  targetPosition: "",
11024
11026
  ...t
11025
11027
  };
11026
- return Kc(n);
11028
+ return Xc(n);
11027
11029
  }
11028
11030
  static close(t, n = () => {
11029
11031
  }) {
11030
- const a = Ae[t || ro];
11032
+ const a = Ae[t || io];
11031
11033
  a && a.value.close(n);
11032
11034
  }
11033
11035
  static clearAll() {
@@ -11039,16 +11041,16 @@ class uo {
11039
11041
  }
11040
11042
  }
11041
11043
  ot.install = (e) => {
11042
- e.component(ot.name, ot), e.provide("FLoadingService", uo);
11044
+ e.component(ot.name, ot), e.provide("FLoadingService", ro);
11043
11045
  };
11044
11046
  const it = /* @__PURE__ */ te({
11045
11047
  name: "FSchemaSelector",
11046
- props: ls,
11048
+ props: ss,
11047
11049
  emits: ["selectionChange"],
11048
11050
  setup(e, t) {
11049
- const n = v(e.viewType), o = v(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", Hc], ["Icon", zc], ["List", Gc]]), s = e.injectSymbolToken, l = v("");
11050
- Xe("F_SCHEMA_SELECTOR_SEARCH_VALUE", l), Xe("FLoadingService", uo);
11051
- const r = ae(s, Wc()), u = /* @__PURE__ */ new Map([["Recent", r.getRecentlyData], ["Recommand", r.getRecommandData], ["Total", r.getSchemaData]]);
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("");
11052
+ 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]]);
11052
11054
  function c(h) {
11053
11055
  t.emit("selectionChange", h);
11054
11056
  }
@@ -11082,7 +11084,7 @@ const it = /* @__PURE__ */ te({
11082
11084
  l.value = "";
11083
11085
  }
11084
11086
  function b() {
11085
- return i(Re, {
11087
+ return i(Ve, {
11086
11088
  showDropdown: !1,
11087
11089
  updateOn: "change",
11088
11090
  customClass: "f-schema-selector-search",
@@ -11099,7 +11101,7 @@ const it = /* @__PURE__ */ te({
11099
11101
  }
11100
11102
  function C() {
11101
11103
  const h = r.getSchemaData, T = r.getNavigationData;
11102
- return i(qc, {
11104
+ return i(zc, {
11103
11105
  getData: h,
11104
11106
  getCategory: T
11105
11107
  }, null);
@@ -11109,13 +11111,13 @@ const it = /* @__PURE__ */ te({
11109
11111
  class: "f-schema-selector"
11110
11112
  }, [m && m()]);
11111
11113
  }
11112
- }), Zc = /* @__PURE__ */ new Map([
11113
- ["appearance", Po]
11114
+ }), Qc = /* @__PURE__ */ new Map([
11115
+ ["appearance", Oo]
11114
11116
  ]);
11115
- function Jc(e, t, n) {
11117
+ function Zc(e, t, n) {
11116
11118
  return t;
11117
11119
  }
11118
- 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 = {
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 = {
11119
11121
  id: {
11120
11122
  description: "The unique identifier for a Input Group",
11121
11123
  type: "string"
@@ -11299,18 +11301,18 @@ const ed = "https://json-schema.org/draft/2020-12/schema", td = "https://farris-
11299
11301
  type: "string",
11300
11302
  default: ""
11301
11303
  }
11302
- }, ld = [
11304
+ }, sd = [
11303
11305
  "id",
11304
11306
  "type"
11305
- ], id = {
11306
- $schema: ed,
11307
- $id: td,
11308
- title: nd,
11309
- description: od,
11310
- type: ad,
11311
- properties: sd,
11312
- required: ld
11313
- }, rd = "buttonEdit", ud = "A Farris Component", cd = "object", dd = {
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 = {
11314
11316
  basic: {
11315
11317
  description: "Basic Infomation",
11316
11318
  title: "基本信息",
@@ -11392,12 +11394,12 @@ const ed = "https://json-schema.org/draft/2020-12/schema", td = "https://farris-
11392
11394
  }
11393
11395
  }
11394
11396
  }
11395
- }, fd = {
11396
- title: rd,
11397
- description: ud,
11398
- type: cd,
11399
- categories: dd
11400
- }, co = {
11397
+ }, dd = {
11398
+ title: id,
11399
+ description: rd,
11400
+ type: ud,
11401
+ categories: cd
11402
+ }, uo = {
11401
11403
  /**
11402
11404
  * 组件标识
11403
11405
  */
@@ -11506,14 +11508,14 @@ const ed = "https://json-schema.org/draft/2020-12/schema", td = "https://farris-
11506
11508
  /** 更新方式 blur | change */
11507
11509
  updateOn: { type: String, default: "change" }
11508
11510
  };
11509
- ye(co, id, Zc, Jc, fd);
11510
- const pd = {
11511
+ ye(uo, ld, Qc, Zc, dd);
11512
+ const fd = {
11511
11513
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
11512
11514
  host: { type: Object },
11513
11515
  backgroundColor: { type: String, default: "" }
11514
- }, vd = /* @__PURE__ */ te({
11516
+ }, pd = /* @__PURE__ */ te({
11515
11517
  name: "FOverlay",
11516
- props: pd,
11518
+ props: fd,
11517
11519
  emits: ["click"],
11518
11520
  setup(e, t) {
11519
11521
  const n = v(e.popupContentPosition), o = v(e.host), a = B(() => ({
@@ -11543,7 +11545,7 @@ const pd = {
11543
11545
  // left: `${position.value.left}px`,
11544
11546
  // top: `${position.value.top}px`
11545
11547
  }));
11546
- return () => i(Qt, {
11548
+ return () => i(Yt, {
11547
11549
  to: "body"
11548
11550
  }, {
11549
11551
  default: () => {
@@ -11559,13 +11561,13 @@ const pd = {
11559
11561
  });
11560
11562
  }
11561
11563
  });
11562
- function md(e) {
11564
+ function vd(e) {
11563
11565
  if (e.content && e.content.render)
11564
11566
  return e.content.render;
11565
11567
  if (e.render && typeof e.render == "function")
11566
11568
  return e.render;
11567
11569
  }
11568
- function gd(e) {
11570
+ function md(e) {
11569
11571
  const t = document.createElement("div");
11570
11572
  t.style.display = "contents";
11571
11573
  let n;
@@ -11578,8 +11580,8 @@ function gd(e) {
11578
11580
  $e(() => {
11579
11581
  document.body.removeChild(t);
11580
11582
  });
11581
- const s = md(e);
11582
- return () => i(vd, {
11583
+ const s = vd(e);
11584
+ return () => i(pd, {
11583
11585
  "popup-content-position": e.popupPosition,
11584
11586
  host: e.host,
11585
11587
  onClick: a,
@@ -11590,12 +11592,12 @@ function gd(e) {
11590
11592
  }
11591
11593
  }), document.body.appendChild(t), n.mount(t), n;
11592
11594
  }
11593
- class hd {
11595
+ class gd {
11594
11596
  static show(t) {
11595
- return gd(t);
11597
+ return md(t);
11596
11598
  }
11597
11599
  }
11598
- function fo(e, t) {
11600
+ function co(e, t) {
11599
11601
  function n() {
11600
11602
  const o = e.beforeOpen || e.beforeClickButton || null;
11601
11603
  let a = Promise.resolve(!0);
@@ -11609,11 +11611,11 @@ function fo(e, t) {
11609
11611
  }
11610
11612
  return { judgeCanOpen: n };
11611
11613
  }
11612
- function yd(e, t, n, o, a) {
11614
+ function hd(e, t, n, o, a) {
11613
11615
  const s = v(e.buttonBehavior), l = v(e.popupOnInput), r = B(() => ({
11614
11616
  "input-group-append": !0,
11615
11617
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
11616
- })), { judgeCanOpen: u } = fo(e, a), c = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ae(rl, null), p = v();
11618
+ })), { judgeCanOpen: u } = co(e, a), c = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ae(il, null), p = v();
11617
11619
  async function g(C) {
11618
11620
  if (await u() && c.value) {
11619
11621
  const _ = !!t.slots.default;
@@ -11624,7 +11626,7 @@ function yd(e, t, n, o, a) {
11624
11626
  });
11625
11627
  p.value = h == null ? void 0 : h.modalRef;
11626
11628
  }
11627
- s.value === "Overlay" && hd.show({
11629
+ s.value === "Overlay" && gd.show({
11628
11630
  // host: buttonEditRef.value,
11629
11631
  host: document.body,
11630
11632
  backgroundColor: "rgba(0,0,0,.15)",
@@ -11646,12 +11648,12 @@ function yd(e, t, n, o, a) {
11646
11648
  modalRef: p
11647
11649
  };
11648
11650
  }
11649
- function bd(e, t, n, o, a, s) {
11651
+ function yd(e, t, n, o, a, s) {
11650
11652
  const l = v(!1), r = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
11651
11653
  function c(b) {
11652
11654
  l.value = b;
11653
11655
  }
11654
- G(a, () => {
11656
+ U(a, () => {
11655
11657
  c(!!a.value);
11656
11658
  });
11657
11659
  function d(b) {
@@ -11678,7 +11680,7 @@ function bd(e, t, n, o, a, s) {
11678
11680
  onMouseLeaveTextBox: g
11679
11681
  };
11680
11682
  }
11681
- function Cd(e, t, n, o, a) {
11683
+ function bd(e, t, n, o, a) {
11682
11684
  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(() => ({
11683
11685
  "text-left": e.textAlign === "left",
11684
11686
  "text-center": e.textAlign === "center",
@@ -11698,7 +11700,7 @@ function Cd(e, t, n, o, a) {
11698
11700
  function _(S) {
11699
11701
  r.value = !1, C(S, !0);
11700
11702
  }
11701
- G(
11703
+ U(
11702
11704
  () => e.modelValue,
11703
11705
  (S) => {
11704
11706
  n.value = S;
@@ -11750,8 +11752,8 @@ function Cd(e, t, n, o, a) {
11750
11752
  onTextBoxValueChange: D
11751
11753
  };
11752
11754
  }
11753
- function wd(e, t, n, o) {
11754
- const a = v(), s = v(!1), { judgeCanOpen: l } = fo(e, o);
11755
+ function Cd(e, t, n, o) {
11756
+ const a = v(), s = v(!1), { judgeCanOpen: l } = co(e, o);
11755
11757
  function r() {
11756
11758
  const p = a.value;
11757
11759
  p && p.show(n.value);
@@ -11775,7 +11777,7 @@ function wd(e, t, n, o) {
11775
11777
  }
11776
11778
  return { hidePopup: d, popup: c, shouldPopupContent: s, togglePopup: u, popoverRef: a };
11777
11779
  }
11778
- function xd(e, t, n) {
11780
+ function wd(e, t, n) {
11779
11781
  const o = v(), {
11780
11782
  isTextBoxReadonly: a,
11781
11783
  textBoxClass: s,
@@ -11790,7 +11792,7 @@ function xd(e, t, n) {
11790
11792
  onMouseDownTextBox: y,
11791
11793
  onTextBoxValueChange: C
11792
11794
  } = n;
11793
- return le(() => {
11795
+ return se(() => {
11794
11796
  var _, m;
11795
11797
  e.selectOnCreated && ((_ = o.value) == null || _.select()), e.focusOnCreated && ((m = o.value) == null || m.focus());
11796
11798
  }), () => i("input", {
@@ -11817,7 +11819,7 @@ function xd(e, t, n) {
11817
11819
  onMousedown: y
11818
11820
  }, null);
11819
11821
  }
11820
- function Sd(e, t, n) {
11822
+ function xd(e, t, n) {
11821
11823
  const o = v(e.separator), {
11822
11824
  changeTextBoxValue: a
11823
11825
  } = n, s = B(() => t.value ? t.value.split(o.value).map((r) => ({
@@ -11827,7 +11829,7 @@ function Sd(e, t, n) {
11827
11829
  function l(r) {
11828
11830
  a(r.map((u) => u.name).join(o.value), !0);
11829
11831
  }
11830
- return () => i(un, {
11832
+ return () => i(rn, {
11831
11833
  id: `${e.id}-tag-editor`,
11832
11834
  class: "form-control",
11833
11835
  data: s.value,
@@ -11836,7 +11838,7 @@ function Sd(e, t, n) {
11836
11838
  onChange: l
11837
11839
  }, null);
11838
11840
  }
11839
- function Td(e, t, n, o) {
11841
+ function Sd(e, t, n, o) {
11840
11842
  const {
11841
11843
  buttonGroupClass: a,
11842
11844
  onClickButton: s,
@@ -11856,7 +11858,7 @@ function Td(e, t, n, o) {
11856
11858
  onClick: d
11857
11859
  }, [i("i", {
11858
11860
  class: "f-icon modal_close"
11859
- }, null)]), [[Oo, c.value]]), t.slots.buttonContent ? i("span", {
11861
+ }, null)]), [[Eo, c.value]]), t.slots.buttonContent ? i("span", {
11860
11862
  class: "input-group-text input-group-append-button",
11861
11863
  onClick: s,
11862
11864
  onMouseenter: l,
@@ -11872,12 +11874,12 @@ function Td(e, t, n, o) {
11872
11874
  buttonHandleElement: p
11873
11875
  };
11874
11876
  }
11875
- function _d(e, t, n) {
11877
+ function Td(e, t, n) {
11876
11878
  const o = v(e.popupMinWidth), {
11877
11879
  hidePopup: a,
11878
11880
  popoverRef: s
11879
11881
  } = n;
11880
- return () => i(ss, {
11882
+ return () => i(as, {
11881
11883
  id: `${e.id}-popover`,
11882
11884
  ref: s,
11883
11885
  visible: !0,
@@ -11896,20 +11898,20 @@ function _d(e, t, n) {
11896
11898
  }
11897
11899
  });
11898
11900
  }
11899
- const kd = /* @__PURE__ */ te({
11901
+ const _d = /* @__PURE__ */ te({
11900
11902
  name: "FButtonEdit",
11901
- props: co,
11903
+ props: uo,
11902
11904
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
11903
11905
  setup(e, t) {
11904
- const n = v(), o = v(e.customClass), a = v(e.modelValue), s = wd(e, t, n, a), {
11906
+ const n = v(), o = v(e.customClass), a = v(e.modelValue), s = Cd(e, t, n, a), {
11905
11907
  shouldPopupContent: l,
11906
11908
  hidePopup: r,
11907
11909
  togglePopup: u
11908
- } = s, c = yd(e, t, n, s, a), d = v(""), p = Cd(e, t, a, d, s), {
11910
+ } = s, c = hd(e, t, n, s, a), d = v(""), p = bd(e, t, a, d, s), {
11909
11911
  hasFocusedTextBox: g,
11910
11912
  commitValue: b,
11911
11913
  inputGroupClass: y
11912
- } = p, C = bd(e, t, a, g, d, p), {
11914
+ } = p, C = yd(e, t, a, g, d, p), {
11913
11915
  onMouseEnterTextBox: _,
11914
11916
  onMouseLeaveTextBox: m
11915
11917
  } = C, h = B(() => {
@@ -11921,16 +11923,16 @@ const kd = /* @__PURE__ */ te({
11921
11923
  return o.value && o.value.split(" ").reduce((F, x) => (F[x] = !0, F), S), S;
11922
11924
  });
11923
11925
  function T() {
11924
- return e.multiSelect && e.inputType === "tag" ? Sd(e, a, p) : xd(e, a, p);
11926
+ return e.multiSelect && e.inputType === "tag" ? xd(e, a, p) : wd(e, a, p);
11925
11927
  }
11926
11928
  let I = T();
11927
- G([() => e.multiSelect, () => e.inputType], () => {
11929
+ U([() => e.multiSelect, () => e.inputType], () => {
11928
11930
  I = T();
11929
11931
  });
11930
11932
  const {
11931
11933
  renderButtonGroup: M,
11932
11934
  buttonHandleElement: P
11933
- } = Td(e, t, c, C), O = _d(e, t, s), D = {
11935
+ } = Sd(e, t, c, C), O = Td(e, t, s), D = {
11934
11936
  commitValue: b,
11935
11937
  elementRef: n,
11936
11938
  hidePopup: r,
@@ -11944,7 +11946,7 @@ const kd = /* @__PURE__ */ te({
11944
11946
  return e.buttonBehavior === "Modal" ? (S = c.modalRef.value) == null ? void 0 : S.value : null;
11945
11947
  }
11946
11948
  };
11947
- return le(() => {
11949
+ return se(() => {
11948
11950
  n.value.componentInstance = D, window.onresize = () => {
11949
11951
  document.body.click();
11950
11952
  };
@@ -11959,7 +11961,7 @@ const kd = /* @__PURE__ */ te({
11959
11961
  onMouseleave: m
11960
11962
  }, [I(), M()])]), l.value && O()]);
11961
11963
  }
11962
- }), 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 = {
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 = {
11963
11965
  title: {
11964
11966
  description: "",
11965
11967
  type: "string",
@@ -12015,16 +12017,16 @@ const kd = /* @__PURE__ */ te({
12015
12017
  type: "object",
12016
12018
  default: null
12017
12019
  }
12018
- }, Pd = [], Dd = [], Rd = {
12019
- $schema: Id,
12020
- $id: Bd,
12021
- title: Fd,
12022
- description: Md,
12023
- type: Ed,
12024
- properties: Od,
12025
- required: Pd,
12026
- ignore: Dd
12027
- }, po = {
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
12029
+ }, fo = {
12028
12030
  title: { type: String, default: "选择数据源" },
12029
12031
  textField: { type: String, default: "name" },
12030
12032
  viewOptions: { type: Array, default: [] },
@@ -12036,9 +12038,9 @@ const kd = /* @__PURE__ */ te({
12036
12038
  disabled: { type: Boolean, default: !1 },
12037
12039
  readonly: { type: Boolean, default: !1 },
12038
12040
  modelValue: { type: Object, default: null }
12039
- }, Vd = ye(po, Rd), xt = /* @__PURE__ */ te({
12041
+ }, Rd = ye(fo, Dd), xt = /* @__PURE__ */ te({
12040
12042
  name: "FSchemaSelectorEditor",
12041
- props: po,
12043
+ props: fo,
12042
12044
  emits: ["selectionChange", "update:modelValue"],
12043
12045
  setup(e, t) {
12044
12046
  const n = ae("FMessageBoxService"), o = '<i class="f-icon f-icon-lookup"></i>', a = v(e.viewType), s = v(), l = v(e.modelValue), r = v(e.viewOptions), u = v(e.title);
@@ -12046,9 +12048,9 @@ const kd = /* @__PURE__ */ te({
12046
12048
  let y = "";
12047
12049
  s.value && Array.isArray(s.value) && (y = s.value.map((C) => C[e.textField]).join(",")), l.value = y;
12048
12050
  }
12049
- G(e.title, (y) => {
12051
+ U(e.title, (y) => {
12050
12052
  u.value = y;
12051
- }), G(() => e.modelValue, (y) => {
12053
+ }), U(() => e.modelValue, (y) => {
12052
12054
  typeof y == "string" ? l.value = y : c();
12053
12055
  });
12054
12056
  function d(y) {
@@ -12066,7 +12068,7 @@ const kd = /* @__PURE__ */ te({
12066
12068
  onSelectionChange: (y) => d(y)
12067
12069
  }, null);
12068
12070
  }
12069
- le(() => {
12071
+ se(() => {
12070
12072
  });
12071
12073
  const g = {
12072
12074
  title: u.value || "选择",
@@ -12099,7 +12101,7 @@ const kd = /* @__PURE__ */ te({
12099
12101
  function b() {
12100
12102
  e.beforeOpenDialog && e.beforeOpenDialog({});
12101
12103
  }
12102
- return () => i(kd, {
12104
+ return () => i(_d, {
12103
12105
  modelValue: l.value,
12104
12106
  "onUpdate:modelValue": (y) => l.value = y,
12105
12107
  editable: !1,
@@ -12117,17 +12119,17 @@ const kd = /* @__PURE__ */ te({
12117
12119
  }, [p()])]
12118
12120
  });
12119
12121
  }
12120
- }), ap = {
12122
+ }), op = {
12121
12123
  install(e) {
12122
12124
  e.component(it.name, it), e.component(xt.name, xt);
12123
12125
  },
12124
12126
  register(e, t, n) {
12125
- e["schema-selector"] = xt, t["schema-selector"] = Vd;
12127
+ e["schema-selector"] = xt, t["schema-selector"] = Rd;
12126
12128
  }
12127
12129
  };
12128
12130
  export {
12129
12131
  it as FSchemaSelector,
12130
12132
  xt as FSchemaSelectorEditor,
12131
- ap as default,
12132
- ls as schemaSelectorProps
12133
+ op as default,
12134
+ ss as schemaSelectorProps
12133
12135
  };