@farris/ui-vue 1.2.6 → 1.2.7

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 (74) hide show
  1. package/components/accordion/index.esm.js +147 -139
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +11 -28
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/checkbox/index.esm.js +33 -50
  6. package/components/checkbox/index.umd.cjs +1 -1
  7. package/components/combo-list/index.esm.js +183 -171
  8. package/components/combo-list/index.umd.cjs +1 -1
  9. package/components/condition/index.esm.js +236 -235
  10. package/components/condition/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +1531 -1560
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +1299 -1300
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/date-picker/index.esm.js +235 -252
  16. package/components/date-picker/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +127 -143
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/dynamic-view/index.esm.js +206 -201
  20. package/components/dynamic-view/index.umd.cjs +1 -1
  21. package/components/external-container/index.esm.js +650 -647
  22. package/components/external-container/index.umd.cjs +1 -1
  23. package/components/field-selector/index.esm.js +1101 -1131
  24. package/components/field-selector/index.umd.cjs +1 -1
  25. package/components/filter-bar/index.esm.js +335 -332
  26. package/components/filter-bar/index.umd.cjs +1 -1
  27. package/components/input-group/index.esm.js +128 -145
  28. package/components/input-group/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +306 -303
  30. package/components/list-view/index.umd.cjs +1 -1
  31. package/components/lookup/index.esm.js +2470 -2469
  32. package/components/lookup/index.umd.cjs +1 -1
  33. package/components/mapping-editor/index.esm.js +1928 -1958
  34. package/components/mapping-editor/index.umd.cjs +1 -1
  35. package/components/order/index.esm.js +802 -788
  36. package/components/order/index.umd.cjs +1 -1
  37. package/components/page-header/index.esm.js +116 -137
  38. package/components/page-header/index.umd.cjs +1 -1
  39. package/components/property-editor/index.esm.js +533 -521
  40. package/components/property-editor/index.umd.cjs +2 -2
  41. package/components/property-panel/index.esm.js +178 -177
  42. package/components/property-panel/index.umd.cjs +1 -1
  43. package/components/radio-group/index.esm.js +56 -73
  44. package/components/radio-group/index.umd.cjs +1 -1
  45. package/components/response-layout-editor/index.esm.js +547 -518
  46. package/components/response-layout-editor/index.umd.cjs +1 -1
  47. package/components/response-toolbar/index.esm.js +260 -281
  48. package/components/response-toolbar/index.umd.cjs +1 -1
  49. package/components/schema-selector/index.esm.js +598 -617
  50. package/components/schema-selector/index.umd.cjs +2 -2
  51. package/components/switch/index.esm.js +137 -154
  52. package/components/switch/index.umd.cjs +1 -1
  53. package/components/tabs/index.esm.js +109 -130
  54. package/components/tabs/index.umd.cjs +1 -1
  55. package/components/textarea/index.esm.js +103 -120
  56. package/components/textarea/index.umd.cjs +1 -1
  57. package/components/time-picker/index.esm.js +172 -189
  58. package/components/time-picker/index.umd.cjs +1 -1
  59. package/components/transfer/index.esm.js +124 -122
  60. package/components/transfer/index.umd.cjs +1 -1
  61. package/components/tree-grid/index.esm.js +1600 -1630
  62. package/components/tree-grid/index.umd.cjs +1 -1
  63. package/components/tree-view/index.esm.js +245 -246
  64. package/components/tree-view/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +4123 -4112
  66. package/farris.all.umd.cjs +8 -8
  67. package/package.json +1 -1
  68. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  69. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  70. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  71. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  72. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -2
  73. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -16
  74. package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
@@ -1,7 +1,7 @@
1
1
  var wo = Object.defineProperty;
2
2
  var xo = (e, t, n) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var L = (e, t, n) => xo(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as m, watch as G, nextTick as we, computed as B, createVNode as l, onMounted as ae, withDirectives as tt, vModelText as Nt, createTextVNode as le, Fragment as fe, defineComponent as ee, shallowRef as Ne, provide as He, inject as ie, onUnmounted as Be, isVNode as Ht, Teleport as zt, createApp as nt, render as ft, h as So, cloneVNode as To, mergeProps as Ee, reactive as Ie, getCurrentInstance as _o, onBeforeUnmount as Gt, withModifiers as qt, resolveComponent as Wt, resolveDirective as ko, watchEffect as Io, vShow as Fo } from "vue";
4
+ import { ref as m, watch as W, nextTick as we, computed as B, createVNode as l, onMounted as ae, withDirectives as tt, vModelText as Nt, createTextVNode as le, Fragment as fe, defineComponent as ee, shallowRef as Ne, provide as He, inject as ie, onUnmounted as Be, isVNode as Ht, Teleport as zt, createApp as nt, render as ft, h as So, cloneVNode as To, mergeProps as Ee, reactive as Ie, getCurrentInstance as _o, onBeforeUnmount as Gt, withModifiers as qt, resolveComponent as Wt, resolveDirective as ko, watchEffect as Io, vShow as Fo } from "vue";
5
5
  import { cloneDeep as ze } from "lodash-es";
6
6
  import Ut from "@farris/ui-vue/components/capsule";
7
7
  import St from "@farris/ui-vue/components/response-toolbar";
@@ -68,10 +68,11 @@ import za from "@farris/ui-vue/components/weather";
68
68
  import Ga from "@farris/ui-vue/components/video";
69
69
  import qa from "@farris/ui-vue/components/textarea";
70
70
  import Wa from "@farris/ui-vue/components/schema-selector";
71
+ import Ua from "@farris/ui-vue/components/tree-grid";
71
72
  import "@farris/ui-vue/components/external-container";
72
- import { withInstall as Ua } from "@farris/ui-vue/components/common";
73
- import Ka from "@farris/ui-vue/components/popover";
74
- const Xa = {
73
+ import { withInstall as Ka } from "@farris/ui-vue/components/common";
74
+ import Xa from "@farris/ui-vue/components/popover";
75
+ const Ya = {
75
76
  injectSymbolToken: { type: Symbol },
76
77
  /** 待选数据视图集合 */
77
78
  viewOptions: { type: Array, default: [] },
@@ -92,11 +93,11 @@ function xe(e, t = {}) {
92
93
  }
93
94
  return null;
94
95
  }
95
- function Ya(e, t) {
96
+ function Qa(e, t) {
96
97
  const n = kt(t);
97
98
  return Object.keys(e).reduce((o, a) => (o[a] = e[a], o), n), n;
98
99
  }
99
- function Qa(e, t) {
100
+ function Za(e, t) {
100
101
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
101
102
  if (t.has(a)) {
102
103
  const s = t.get(a);
@@ -111,11 +112,11 @@ function Qa(e, t) {
111
112
  return o;
112
113
  }, {});
113
114
  }
114
- function Za(e, t, n = /* @__PURE__ */ new Map()) {
115
- const o = Ya(e, t);
116
- return Qa(o, n);
115
+ function Ja(e, t, n = /* @__PURE__ */ new Map()) {
116
+ const o = Qa(e, t);
117
+ return Za(o, n);
117
118
  }
118
- function Ja(e = {}) {
119
+ function es(e = {}) {
119
120
  function t(u, f, v, h) {
120
121
  if (typeof v == "number")
121
122
  return h[u].length === v;
@@ -280,11 +281,11 @@ const X = {
280
281
  ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
281
282
  ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
282
283
  /** 审批类 end */
283
- }, en = {}, es = {};
284
- Ja();
284
+ }, en = {}, ts = {};
285
+ es();
285
286
  function ge(e, t, n = /* @__PURE__ */ new Map(), o = (i, r, c) => r, a = {}, s = (i) => i) {
286
- return _t[t.title] = t, Jt[t.title] = o, en[t.title] = a, es[t.title] = s, (i = {}) => {
287
- const r = Za(i, t, n), c = Object.keys(e).reduce((u, f) => (u[f] = e[f].default, u), {});
287
+ return _t[t.title] = t, Jt[t.title] = o, en[t.title] = a, ts[t.title] = s, (i = {}) => {
288
+ const r = Ja(i, t, n), c = Object.keys(e).reduce((u, f) => (u[f] = e[f].default, u), {});
288
289
  return Object.assign(c, r);
289
290
  };
290
291
  }
@@ -298,7 +299,7 @@ function nn(e, t, n) {
298
299
  const o = e.getSchemaByType("tab-page");
299
300
  return t.contents = [o], t;
300
301
  }
301
- const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-design.gitee.io/tabs.schema.json", os = "tabs", as = "A Farris Container Component", ss = "object", ls = {
302
+ const ns = "https://json-schema.org/draft/2020-12/schema", os = "https://farris-design.gitee.io/tabs.schema.json", as = "tabs", ss = "A Farris Container Component", ls = "object", is = {
302
303
  id: {
303
304
  description: "The unique identifier for a Tabs",
304
305
  type: "string"
@@ -341,18 +342,18 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
341
342
  type: "boolean",
342
343
  default: !1
343
344
  }
344
- }, is = [
345
+ }, rs = [
345
346
  "id",
346
347
  "type",
347
348
  "contents"
348
349
  ], on = {
349
- $schema: ts,
350
- $id: ns,
351
- title: os,
352
- description: as,
353
- type: ss,
354
- properties: ls,
355
- required: is
350
+ $schema: ns,
351
+ $id: os,
352
+ title: as,
353
+ description: ss,
354
+ type: ls,
355
+ properties: is,
356
+ required: rs
356
357
  }, It = {
357
358
  tabType: { type: String, default: "default" },
358
359
  autoTitleWidth: { type: Boolean, default: !1 },
@@ -371,12 +372,12 @@ const ts = "https://json-schema.org/draft/2020-12/schema", ns = "https://farris-
371
372
  activeId: { type: String },
372
373
  fill: { type: Boolean, default: !1 },
373
374
  justifyContent: { type: String, default: "left" }
374
- }, rs = ge(It, on, tn, nn), an = Object.assign({}, It, {
375
+ }, cs = ge(It, on, tn, nn), an = Object.assign({}, It, {
375
376
  componentId: { type: String, default: "" }
376
- }), cs = ge(an, on, tn, nn);
377
- function us(e, t, n) {
377
+ }), us = ge(an, on, tn, nn);
378
+ function ds(e, t, n) {
378
379
  const o = m([]), a = m(e.activeId || ""), s = m(!0), i = m([]);
379
- G(() => e.activeId, (d, x) => {
380
+ W(() => e.activeId, (d, x) => {
380
381
  d !== x && (a.value = d);
381
382
  });
382
383
  function r(d) {
@@ -441,7 +442,7 @@ function us(e, t, n) {
441
442
  toolbarItems: i
442
443
  };
443
444
  }
444
- function ds(e, t, n, o, a) {
445
+ function ps(e, t, n, o, a) {
445
446
  const {
446
447
  activeId: s,
447
448
  removeTab: i,
@@ -495,7 +496,7 @@ function ds(e, t, n, o, a) {
495
496
  onClick: g
496
497
  }, [y(t), d.value && x()])]);
497
498
  }
498
- function ps(e, t, n, o, a) {
499
+ function fs(e, t, n, o, a) {
499
500
  const {
500
501
  shouldShowNavigationButtons: s
501
502
  } = n, {
@@ -522,7 +523,7 @@ function ps(e, t, n, o, a) {
522
523
  }, [l("ul", {
523
524
  class: u.value,
524
525
  ref: t
525
- }, [i.value.map((f) => ds(e, f.props, f, o, a))])]);
526
+ }, [i.value.map((f) => ps(e, f.props, f, o, a))])]);
526
527
  }
527
528
  function sn(e, t, n, o, a) {
528
529
  const s = m(), {
@@ -551,7 +552,7 @@ function sn(e, t, n, o, a) {
551
552
  function y(d) {
552
553
  u(d);
553
554
  }
554
- return G(() => r.value, (d) => {
555
+ return W(() => r.value, (d) => {
555
556
  d !== f.value && (f.value = d);
556
557
  }, {
557
558
  immediate: !0
@@ -566,7 +567,7 @@ function sn(e, t, n, o, a) {
566
567
  ref: s
567
568
  }, null)]);
568
569
  }
569
- function fs(e, t, n, o) {
570
+ function ms(e, t, n, o) {
570
571
  const {
571
572
  activeId: a,
572
573
  removeTab: s,
@@ -641,7 +642,7 @@ function ln(e, t, n, o) {
641
642
  hideDropDown: a
642
643
  } = t, {
643
644
  renderDropdownMenu: s
644
- } = fs(e, t, n, o), i = m(e.showDropdown);
645
+ } = ms(e, t, n, o), i = m(e.showDropdown);
645
646
  function r() {
646
647
  return i.value && l(fe, null, [l("button", {
647
648
  title: "toggle-button",
@@ -752,7 +753,7 @@ const Re = /* @__PURE__ */ ee({
752
753
  props: It,
753
754
  emits: ["tabChange", "tabRemove", "update:activeId"],
754
755
  setup(e, t) {
755
- const n = m(e.tabType), o = Ne(), a = m(e.customClass), s = Ne(), i = Ne(), r = us(e, t, s), {
756
+ const n = m(e.tabType), o = Ne(), a = m(e.customClass), s = Ne(), i = Ne(), r = ds(e, t, s), {
756
757
  activeId: c,
757
758
  changeTitleStyle: u,
758
759
  tabPages: f,
@@ -768,7 +769,7 @@ const Re = /* @__PURE__ */ ee({
768
769
  updateNavigationLayout: P
769
770
  } = x, _ = cn(e, r), {
770
771
  hideDropDown: O
771
- } = _, M = ps(e, s, x, d, r), k = M, I = sn(e, s, x, d, r), S = /* @__PURE__ */ new Map([["default", M], ["one-page", k], ["pills", I]]);
772
+ } = _, M = fs(e, s, x, d, r), k = M, I = sn(e, s, x, d, r), S = /* @__PURE__ */ new Map([["default", M], ["one-page", k], ["pills", I]]);
772
773
  B(() => {
773
774
  const ne = f.value.find((re) => re.props.id === c.value);
774
775
  return ne == null ? void 0 : ne.slots;
@@ -878,16 +879,16 @@ const Re = /* @__PURE__ */ ee({
878
879
  ref: o
879
880
  }, [ue(), be()]);
880
881
  }
881
- }), ms = /* @__PURE__ */ new Map([
882
+ }), vs = /* @__PURE__ */ new Map([
882
883
  ["appearance", Oe],
883
- ["toolbar", vs]
884
+ ["toolbar", gs]
884
885
  ]);
885
- function vs(e, t, n) {
886
+ function gs(e, t, n) {
886
887
  return t && t.contents && t.contents.length && (t.contents.forEach((o) => {
887
888
  o.title && (o.text = o.title);
888
889
  }), t.buttons = t.contents, delete t.contents), { toolbar: t };
889
890
  }
890
- const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-design.gitee.io/tab-page.schema.json", ys = "tab-page", bs = "A Farris Container Component", Cs = "object", ws = {
891
+ const hs = "https://json-schema.org/draft/2020-12/schema", ys = "https://farris-design.gitee.io/tab-page.schema.json", bs = "tab-page", Cs = "A Farris Container Component", ws = "object", xs = {
891
892
  id: {
892
893
  description: "The unique identifier for a tab-page Item",
893
894
  type: "string"
@@ -911,19 +912,19 @@ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-
911
912
  description: "",
912
913
  type: "object"
913
914
  }
914
- }, xs = [
915
+ }, Ss = [
915
916
  "id",
916
917
  "type",
917
918
  "contents"
918
- ], Ss = {
919
- $schema: gs,
920
- $id: hs,
921
- title: ys,
922
- description: bs,
923
- type: Cs,
924
- properties: ws,
925
- required: xs
926
- }, Ts = "tab-page", _s = "A Farris Component", ks = "object", Is = {
919
+ ], Ts = {
920
+ $schema: hs,
921
+ $id: ys,
922
+ title: bs,
923
+ description: Cs,
924
+ type: ws,
925
+ properties: xs,
926
+ required: Ss
927
+ }, _s = "tab-page", ks = "A Farris Component", Is = "object", Fs = {
927
928
  basic: {
928
929
  description: "Basic Infomation",
929
930
  title: "基本信息",
@@ -982,11 +983,11 @@ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-
982
983
  }
983
984
  }
984
985
  }
985
- }, Fs = {
986
- title: Ts,
987
- description: _s,
988
- type: ks,
989
- categories: Is
986
+ }, Bs = {
987
+ title: _s,
988
+ description: ks,
989
+ type: Is,
990
+ categories: Fs
990
991
  }, Ft = {
991
992
  tabWidth: { type: Number, default: -1 },
992
993
  id: { type: String, default: "" },
@@ -999,8 +1000,8 @@ const gs = "https://json-schema.org/draft/2020-12/schema", hs = "https://farris-
999
1000
  show: { type: Boolean, default: !0 },
1000
1001
  toolbar: { type: Object, default: {} },
1001
1002
  toolbarPosition: { type: String, default: "inHead" }
1002
- }, dn = Bo(Ft, Ss, ms, void 0, Fs);
1003
- function Bs(e) {
1003
+ }, dn = Bo(Ft, Ts, vs, void 0, Bs);
1004
+ function Ms(e) {
1004
1005
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ht(e);
1005
1006
  }
1006
1007
  const Qe = /* @__PURE__ */ ee({
@@ -1020,7 +1021,7 @@ const Qe = /* @__PURE__ */ ee({
1020
1021
  const i = B(() => (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value)), r = B(() => ({
1021
1022
  display: i.value ? "" : "none"
1022
1023
  }));
1023
- G(() => e, (T) => {
1024
+ W(() => e, (T) => {
1024
1025
  n == null || n.updateTab({
1025
1026
  props: T,
1026
1027
  slots: t.slots
@@ -1035,7 +1036,7 @@ const Qe = /* @__PURE__ */ ee({
1035
1036
  return l(Kt, {
1036
1037
  "main-title": e.title,
1037
1038
  class: "farris-tab-page"
1038
- }, Bs(T) ? T : {
1039
+ }, Ms(T) ? T : {
1039
1040
  default: () => [T]
1040
1041
  });
1041
1042
  }
@@ -1057,7 +1058,7 @@ const Qe = /* @__PURE__ */ ee({
1057
1058
  const h = (/* @__PURE__ */ new Map([["default", f], ["one-page", c]])).get(s.value) || f;
1058
1059
  return () => o.value ? h() : null;
1059
1060
  }
1060
- }), Ms = {
1061
+ }), Ps = {
1061
1062
  width: { Type: Number, default: 400 },
1062
1063
  type: { Type: String, default: "info" },
1063
1064
  title: { Type: String, default: "" },
@@ -1070,12 +1071,12 @@ const Qe = /* @__PURE__ */ ee({
1070
1071
  function Bt() {
1071
1072
  return new DOMException("The request is not allowed", "NotAllowedError");
1072
1073
  }
1073
- async function Ps(e) {
1074
+ async function Es(e) {
1074
1075
  if (!navigator.clipboard)
1075
1076
  throw Bt();
1076
1077
  return navigator.clipboard.writeText(e);
1077
1078
  }
1078
- async function Es(e) {
1079
+ async function Os(e) {
1079
1080
  const t = document.createElement("span");
1080
1081
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
1081
1082
  const n = window.getSelection(), o = window.document.createRange();
@@ -1088,24 +1089,24 @@ async function Es(e) {
1088
1089
  }
1089
1090
  if (!a) throw Bt();
1090
1091
  }
1091
- async function Os(e) {
1092
+ async function Ds(e) {
1092
1093
  try {
1093
- await Ps(e);
1094
+ await Es(e);
1094
1095
  } catch (t) {
1095
1096
  try {
1096
- await Es(e);
1097
+ await Os(e);
1097
1098
  } catch (n) {
1098
1099
  throw n || t || Bt();
1099
1100
  }
1100
1101
  }
1101
1102
  }
1102
- function Ds() {
1103
+ function js() {
1103
1104
  async function e(t) {
1104
- await Os(t);
1105
+ await Ds(t);
1105
1106
  }
1106
1107
  return { onCopy: e };
1107
1108
  }
1108
- function js(e, t, n, o) {
1109
+ function Vs(e, t, n, o) {
1109
1110
  const a = m(14), s = m(140), i = m(""), r = m(o.value.length), c = B(() => o.value), u = B(() => ({
1110
1111
  "font-size": `${a.value}px`,
1111
1112
  height: "100%"
@@ -1130,14 +1131,14 @@ function js(e, t, n, o) {
1130
1131
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
1131
1132
  }, [r.value + " / " + s.value])]);
1132
1133
  }
1133
- function Vs(e, t, n, o) {
1134
- const a = js(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1134
+ function Rs(e, t, n, o) {
1135
+ const a = Vs(e, t, n, o), s = /* @__PURE__ */ new Map([["text-area", a]]);
1135
1136
  function i(r) {
1136
1137
  return s.get(r) || null;
1137
1138
  }
1138
1139
  return { getEditorRender: i };
1139
1140
  }
1140
- function Rs() {
1141
+ function As() {
1141
1142
  const e = m(!1), t = m("复制成功");
1142
1143
  return {
1143
1144
  feedbackStyle: B(() => {
@@ -1163,11 +1164,11 @@ function Rs() {
1163
1164
  toShowFeedback: e
1164
1165
  };
1165
1166
  }
1166
- function As(e, t) {
1167
+ function $s(e, t) {
1167
1168
  const n = t.getEditorRender(e.promptEditorType);
1168
1169
  return () => n && n();
1169
1170
  }
1170
- function $s(e) {
1171
+ function Ls(e) {
1171
1172
  const t = m(3), n = m(480), o = B(() => !!e.value && !!e.value.date), a = B(() => `发生时间 : ${e.value && e.value.date || ""}`), s = B(() => !!e.value && !!e.value.detail), i = B(() => {
1172
1173
  const x = `${n.value}px`;
1173
1174
  return {
@@ -1212,13 +1213,13 @@ function $s(e) {
1212
1213
  style: "cursor: pointer;"
1213
1214
  }, [f.value])])]);
1214
1215
  }
1215
- function Ls(e) {
1216
+ function Ns(e) {
1216
1217
  return () => l("p", {
1217
1218
  class: "toast-msg-detail",
1218
1219
  innerHTML: e.value
1219
1220
  }, null);
1220
1221
  }
1221
- function Ns(e, t, n, o) {
1222
+ function Hs(e, t, n, o) {
1222
1223
  const a = m(e.exceptionInfo), s = B(() => {
1223
1224
  const h = {
1224
1225
  "f-icon": !0
@@ -1226,7 +1227,7 @@ function Ns(e, t, n, o) {
1226
1227
  return h[T] = !0, h;
1227
1228
  }), i = B(() => n.value || a.value && a.value.message), r = B(() => o.value), c = B(() => !!o.value), u = B(() => !!a.value);
1228
1229
  function f() {
1229
- return u.value ? $s(a) : c.value ? Ls(r) : () => null;
1230
+ return u.value ? Ls(a) : c.value ? Ns(r) : () => null;
1230
1231
  }
1231
1232
  const v = f();
1232
1233
  return () => l(fe, null, [l("div", {
@@ -1240,7 +1241,7 @@ function Ns(e, t, n, o) {
1240
1241
  innerHTML: i.value
1241
1242
  }, null), v()])]);
1242
1243
  }
1243
- function Hs(e, t, n) {
1244
+ function zs(e, t, n) {
1244
1245
  const {
1245
1246
  onCopy: o
1246
1247
  } = t, {
@@ -1266,8 +1267,8 @@ function Hs(e, t, n) {
1266
1267
  style: "cursor: pointer;"
1267
1268
  }, [i.value])]);
1268
1269
  }
1269
- function zs(e, t, n, o) {
1270
- const a = m(e.type), s = m([]), i = m(e.exceptionInfo), r = m(e.okButtonText), c = m(e.cancelButtonText), u = m(!0), f = m(!0), v = B(() => !!(s.value && s.value.length)), h = B(() => i.value && i.value.date && i.value.message && i.value.detail), T = B(() => !(s.value && s.value.length) && (r.value || c.value)), y = B(() => f.value && r.value), d = B(() => u.value && c.value), x = Hs(e, n, o);
1270
+ function Gs(e, t, n, o) {
1271
+ const a = m(e.type), s = m([]), i = m(e.exceptionInfo), r = m(e.okButtonText), c = m(e.cancelButtonText), u = m(!0), f = m(!0), v = B(() => !!(s.value && s.value.length)), h = B(() => i.value && i.value.date && i.value.message && i.value.detail), T = B(() => !(s.value && s.value.length) && (r.value || c.value)), y = B(() => f.value && r.value), d = B(() => u.value && c.value), x = zs(e, n, o);
1271
1272
  function g(F) {
1272
1273
  a.value === "question" && t.emit("reject"), t.emit("close");
1273
1274
  }
@@ -1294,7 +1295,7 @@ function zs(e, t, n, o) {
1294
1295
  }
1295
1296
  const Ke = /* @__PURE__ */ ee({
1296
1297
  name: "FMessageBox",
1297
- props: Ms,
1298
+ props: Ps,
1298
1299
  emits: ["accept", "reject", "close"],
1299
1300
  setup(e, t) {
1300
1301
  const n = m(e.type), o = m(e.title), a = m(e.detail), s = B(() => {
@@ -1307,7 +1308,7 @@ const Ke = /* @__PURE__ */ ee({
1307
1308
  }), i = B(() => {
1308
1309
  const x = {};
1309
1310
  return n.value === "prompt" ? x.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (x.padding = "0.5rem 1.5rem 1rem 1.5rem"), x;
1310
- }), r = Ds(), c = Vs(e, n, o, a), u = Rs(), {
1311
+ }), r = js(), c = Rs(e, n, o, a), u = As(), {
1311
1312
  feedbackStyle: f,
1312
1313
  feedbackMessage: v
1313
1314
  } = u;
@@ -1319,12 +1320,12 @@ const Ke = /* @__PURE__ */ ee({
1319
1320
  function T() {
1320
1321
  switch (n.value) {
1321
1322
  case "prompt":
1322
- return As(e, c);
1323
+ return $s(e, c);
1323
1324
  default:
1324
- return Ns(e, n, o, a);
1325
+ return Hs(e, n, o, a);
1325
1326
  }
1326
1327
  }
1327
- const y = T(), d = zs(e, t, r, u);
1328
+ const y = T(), d = Gs(e, t, r, u);
1328
1329
  return () => l("div", {
1329
1330
  class: "farris-messager"
1330
1331
  }, [l("section", {
@@ -1332,7 +1333,7 @@ const Ke = /* @__PURE__ */ ee({
1332
1333
  style: i.value
1333
1334
  }, [y()]), d(), h()]);
1334
1335
  }
1335
- }), Gs = {
1336
+ }), qs = {
1336
1337
  /**
1337
1338
  * 自定义类
1338
1339
  */
@@ -1475,7 +1476,7 @@ class Ve {
1475
1476
  return this.width = t.width, this.height = t.height, this;
1476
1477
  }
1477
1478
  }
1478
- function qs(e, t) {
1479
+ function Ws(e, t) {
1479
1480
  const n = m(), o = m(), a = m(), s = m(), i = m(), r = m(), c = m(), u = m(), f = m(), v = m(), h = m(), T = m(), y = m(e.draggable), d = m(!1);
1480
1481
  function x() {
1481
1482
  const j = o.value || document.body, A = window.getComputedStyle(j);
@@ -1660,7 +1661,7 @@ function qs(e, t) {
1660
1661
  unWindowResizeHandle: R
1661
1662
  };
1662
1663
  }
1663
- function Ws(e, t) {
1664
+ function Us(e, t) {
1664
1665
  const n = m(), o = m(e.draggable), a = m(e.lockAxis), s = m(), i = m(), r = m(!1), c = m(new pe(0, 0)), u = m(new pe(0, 0)), f = m(new pe(0, 0)), v = m(new pe(0, 0));
1665
1666
  function h(_, O) {
1666
1667
  if (O.tagName === "BUTTON")
@@ -1736,7 +1737,7 @@ function Ws(e, t) {
1736
1737
  resetTranslate: F
1737
1738
  };
1738
1739
  }
1739
- function Us(e, t) {
1740
+ function Ks(e, t) {
1740
1741
  const n = m(e.enableEsc);
1741
1742
  function o(a) {
1742
1743
  a.key === "Escape" && e.enableEsc && t.emit("esc", { event: a, type: "esc" });
@@ -1745,7 +1746,7 @@ function Us(e, t) {
1745
1746
  }
1746
1747
  const pn = /* @__PURE__ */ ee({
1747
1748
  name: "FModal",
1748
- props: Gs,
1749
+ props: qs,
1749
1750
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc"],
1750
1751
  setup(e, t) {
1751
1752
  const n = m(e.width || 300), o = m(e.height || 200), a = m(e.modelValue), s = m(""), i = m(e.class), r = m(e.fitContent), c = m(e.showHeader), u = m(""), f = m(e.showCloseButton), v = m(e.showMaxButton), h = m(!1), T = m(""), y = m(""), d = m(""), x = m(e.showButtons), g = m(e.title), b = m(e.reiszeable), F = m(e.containment || null), E = m();
@@ -1774,18 +1775,18 @@ const pn = /* @__PURE__ */ ee({
1774
1775
  resizedEventParam: j,
1775
1776
  allowDrag: A,
1776
1777
  unWindowResizeHandle: V
1777
- } = qs(e), {
1778
+ } = Ws(e), {
1778
1779
  registerDraggle: $
1779
- } = Ws(e);
1780
- G(() => e.title, (z, oe) => {
1780
+ } = Us(e);
1781
+ W(() => e.title, (z, oe) => {
1781
1782
  z !== oe && (g.value = z);
1782
- }), G(() => e.modelValue, (z, oe) => {
1783
+ }), W(() => e.modelValue, (z, oe) => {
1783
1784
  z !== oe && (a.value = z);
1784
- }), G(() => e.showHeader, (z, oe) => {
1785
+ }), W(() => e.showHeader, (z, oe) => {
1785
1786
  z !== oe && (c.value = z);
1786
- }), G(() => e.showButtons, (z, oe) => {
1787
+ }), W(() => e.showButtons, (z, oe) => {
1787
1788
  z !== oe && (x.value = z);
1788
- }), G(() => j.value, (z, oe) => {
1789
+ }), W(() => j.value, (z, oe) => {
1789
1790
  const De = z || {}, Le = oe || {};
1790
1791
  JSON.stringify(De) !== JSON.stringify(Le) && t.emit("resize", {
1791
1792
  newSize: z,
@@ -1854,7 +1855,7 @@ const pn = /* @__PURE__ */ ee({
1854
1855
  z.width && (n.value = z.width), z.height && (o.value = z.height), z.buttons && (O.value = z.buttons), z.title && (g.value = z.title);
1855
1856
  }
1856
1857
  ae(() => {
1857
- S.value && !F.value && (F.value = S.value.parentElement, R.value = F.value, $(I.value, S.value, R.value)), Q.value && document.body.classList.add("modal-open"), Us(e, t);
1858
+ S.value && !F.value && (F.value = S.value.parentElement, R.value = F.value, $(I.value, S.value, R.value)), Q.value && document.body.classList.add("modal-open"), Ks(e, t);
1858
1859
  }), Be(() => {
1859
1860
  N(), V && V();
1860
1861
  }), t.expose({
@@ -1944,7 +1945,7 @@ function fn(e) {
1944
1945
  if (e.render && typeof e.render == "function")
1945
1946
  return e.render;
1946
1947
  }
1947
- function Ks(e) {
1948
+ function Xs(e) {
1948
1949
  const t = document.createElement("div");
1949
1950
  t.style.display = "contents";
1950
1951
  const n = nt({
@@ -1987,7 +1988,7 @@ function Ks(e) {
1987
1988
  });
1988
1989
  return document.body.appendChild(t), n.mount(t), n;
1989
1990
  }
1990
- class Xs {
1991
+ class Ys {
1991
1992
  constructor(t) {
1992
1993
  L(this, "appContext", null);
1993
1994
  L(this, "modalRef", m());
@@ -2006,7 +2007,7 @@ class Xs {
2006
2007
  showButtons: !0,
2007
2008
  showHeader: !0
2008
2009
  }, t);
2009
- return Ks(n);
2010
+ return Xs(n);
2010
2011
  }
2011
2012
  open(t) {
2012
2013
  const n = document.createDocumentFragment();
@@ -2070,10 +2071,10 @@ class Xs {
2070
2071
  };
2071
2072
  }
2072
2073
  }
2073
- const Ys = Symbol("FModalService");
2074
+ const Qs = Symbol("FModalService");
2074
2075
  class Fe {
2075
2076
  static show(t) {
2076
- let n = new Xs();
2077
+ let n = new Ys();
2077
2078
  const o = Ie({
2078
2079
  ...t
2079
2080
  }), a = !1, s = o.type === "error" || o.type === "prompt", i = o.type === "error" ? "错误提示" : o.type === "prompt" && o.title || "", r = o.acceptCallback || (() => {
@@ -2168,7 +2169,7 @@ class Fe {
2168
2169
  Ke.install = (e) => {
2169
2170
  e.component(Ke.name, Ke), e.provide("FMessageBoxService", Fe);
2170
2171
  };
2171
- function Qs(e, t, n, o, a) {
2172
+ function Zs(e, t, n, o, a) {
2172
2173
  const {
2173
2174
  activeId: s,
2174
2175
  removeTab: i,
@@ -2250,7 +2251,7 @@ function Qs(e, t, n, o, a) {
2250
2251
  onClick: F
2251
2252
  }, [x(t), g.value && b()])]);
2252
2253
  }
2253
- function Zs(e, t, n, o, a, s, i) {
2254
+ function Js(e, t, n, o, a, s, i) {
2254
2255
  const {
2255
2256
  shouldShowNavigationButtons: r
2256
2257
  } = n, {
@@ -2303,7 +2304,7 @@ function Zs(e, t, n, o, a, s, i) {
2303
2304
  class: v.value,
2304
2305
  style: h.value,
2305
2306
  ref: t
2306
- }, [c.value.map((d) => Qs(e, d.props, d, o, a)), l("li", {
2307
+ }, [c.value.map((d) => Zs(e, d.props, d, o, a)), l("li", {
2307
2308
  class: "nav-item"
2308
2309
  }, [l("a", {
2309
2310
  class: "nav-link tabs-text-truncate",
@@ -2403,7 +2404,7 @@ function qe(e, t, n) {
2403
2404
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || m(!1)
2404
2405
  }, i;
2405
2406
  }
2406
- const Js = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-design.gitee.io/dragging-rules.schema.json", tl = "Dragging Rules", nl = "The rules of designer canvas", ol = "object", al = {
2407
+ const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-design.gitee.io/dragging-rules.schema.json", nl = "Dragging Rules", ol = "The rules of designer canvas", al = "object", sl = {
2407
2408
  "f-page": {
2408
2409
  description: "The root class of page designed by farris.",
2409
2410
  type: "object",
@@ -2967,14 +2968,14 @@ const Js = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-
2967
2968
  description: "",
2968
2969
  type: "object"
2969
2970
  }
2970
- }, sl = [], ll = {
2971
- $schema: Js,
2972
- $id: el,
2973
- title: tl,
2974
- description: nl,
2975
- type: ol,
2976
- properties: al,
2977
- required: sl
2971
+ }, ll = [], il = {
2972
+ $schema: el,
2973
+ $id: tl,
2974
+ title: nl,
2975
+ description: ol,
2976
+ type: al,
2977
+ properties: sl,
2978
+ required: ll
2978
2979
  }, mt = /* @__PURE__ */ new Map();
2979
2980
  function ot() {
2980
2981
  function e(y, d, x, g) {
@@ -3055,7 +3056,7 @@ function ot() {
3055
3056
  }
3056
3057
  }
3057
3058
  function h() {
3058
- const { properties: y } = ll;
3059
+ const { properties: y } = il;
3059
3060
  Object.keys(y).forEach((d) => {
3060
3061
  v(d, y[d], mt);
3061
3062
  });
@@ -3066,7 +3067,7 @@ function ot() {
3066
3067
  }
3067
3068
  return h(), { getRuleValue: T };
3068
3069
  }
3069
- const il = {
3070
+ const rl = {
3070
3071
  title: "tabs",
3071
3072
  description: "A Farris Container Component",
3072
3073
  type: "object",
@@ -3138,7 +3139,7 @@ const il = {
3138
3139
  }
3139
3140
  }
3140
3141
  };
3141
- function rl(e, t) {
3142
+ function cl(e, t) {
3142
3143
  const n = ot();
3143
3144
  let o = !1, a, s = !1;
3144
3145
  function i(h) {
@@ -3175,7 +3176,7 @@ function rl(e, t) {
3175
3176
  return o = S, s = I, !0;
3176
3177
  }
3177
3178
  function v(h) {
3178
- return il;
3179
+ return rl;
3179
3180
  }
3180
3181
  return {
3181
3182
  canAccepts: i,
@@ -3186,7 +3187,7 @@ function rl(e, t) {
3186
3187
  resolveComponentContext: f
3187
3188
  };
3188
3189
  }
3189
- function cl(e, t, n, o) {
3190
+ function ul(e, t, n, o) {
3190
3191
  const a = m([]), s = m(e.activeId || ""), i = m(!0), r = m(), c = m([]);
3191
3192
  function u(p) {
3192
3193
  const w = p.value.findIndex((D) => D.props.show !== !1 && !s.value && !D.props.disabled);
@@ -3305,7 +3306,7 @@ const mn = /* @__PURE__ */ new Map([
3305
3306
  function vn(e, t, n) {
3306
3307
  return t;
3307
3308
  }
3308
- const ul = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-design.gitee.io/response-toolbar.schema.json", pl = "response-toolbar", fl = "A Farris Toolbar Component", ml = "object", vl = {
3309
+ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-design.gitee.io/response-toolbar.schema.json", fl = "response-toolbar", ml = "A Farris Toolbar Component", vl = "object", gl = {
3309
3310
  id: {
3310
3311
  description: "The unique identifier for a Response Toolbar",
3311
3312
  type: "string"
@@ -3338,19 +3339,19 @@ const ul = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
3338
3339
  type: "array",
3339
3340
  default: []
3340
3341
  }
3341
- }, gl = [
3342
+ }, hl = [
3342
3343
  "id",
3343
3344
  "type",
3344
3345
  "buttons"
3345
- ], hl = {
3346
- $schema: ul,
3347
- $id: dl,
3348
- title: pl,
3349
- description: fl,
3350
- type: ml,
3351
- properties: vl,
3352
- required: gl
3353
- }, yl = "https://json-schema.org/draft/2020-12/schema", bl = "https://farris-design.gitee.io/response-toolbar-item.schema.json", Cl = "response-toolbar-item", wl = "A Farris Toolbar Item Component", xl = "object", Sl = {
3346
+ ], yl = {
3347
+ $schema: dl,
3348
+ $id: pl,
3349
+ title: fl,
3350
+ description: ml,
3351
+ type: vl,
3352
+ properties: gl,
3353
+ required: hl
3354
+ }, bl = "https://json-schema.org/draft/2020-12/schema", Cl = "https://farris-design.gitee.io/response-toolbar-item.schema.json", wl = "response-toolbar-item", xl = "A Farris Toolbar Item Component", Sl = "object", Tl = {
3354
3355
  id: {
3355
3356
  description: "The unique identifier for a Response Toolbar",
3356
3357
  type: "string"
@@ -3388,19 +3389,19 @@ const ul = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
3388
3389
  type: "string",
3389
3390
  default: ""
3390
3391
  }
3391
- }, Tl = [
3392
+ }, _l = [
3392
3393
  "id",
3393
3394
  "type",
3394
3395
  "text"
3395
3396
  ], Ct = {
3396
- $schema: yl,
3397
- $id: bl,
3398
- title: Cl,
3399
- description: wl,
3400
- type: xl,
3401
- properties: Sl,
3402
- required: Tl
3403
- }, _l = "response-toolbar-item", kl = "A Farris Container Component", Il = "object", Fl = {
3397
+ $schema: bl,
3398
+ $id: Cl,
3399
+ title: wl,
3400
+ description: xl,
3401
+ type: Sl,
3402
+ properties: Tl,
3403
+ required: _l
3404
+ }, kl = "response-toolbar-item", Il = "A Farris Container Component", Fl = "object", Bl = {
3404
3405
  basic: {
3405
3406
  title: "基本信息",
3406
3407
  description: "Basic Infomation",
@@ -3434,10 +3435,10 @@ const ul = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
3434
3435
  }
3435
3436
  }
3436
3437
  }, Vt = {
3437
- title: _l,
3438
- description: kl,
3439
- type: Il,
3440
- categories: Fl
3438
+ title: kl,
3439
+ description: Il,
3440
+ type: Fl,
3441
+ categories: Bl
3441
3442
  }, gn = {
3442
3443
  /** 组件自定义样式 */
3443
3444
  customClass: { type: String, default: "" },
@@ -3449,12 +3450,12 @@ const ul = "https://json-schema.org/draft/2020-12/schema", dl = "https://farris-
3449
3450
  };
3450
3451
  _t[Ct.title] = Ct;
3451
3452
  en[Vt.title] = Vt;
3452
- const Bl = Object.assign({}, gn, {
3453
+ const Ml = Object.assign({}, gn, {
3453
3454
  componentId: { type: String, default: "" }
3454
3455
  });
3455
3456
  ge(
3456
3457
  gn,
3457
- hl,
3458
+ yl,
3458
3459
  mn,
3459
3460
  vn
3460
3461
  );
@@ -3534,19 +3535,19 @@ class yn {
3534
3535
  return this.visible ? this.width : !1;
3535
3536
  }
3536
3537
  }
3537
- class Ml extends yn {
3538
+ class Pl extends yn {
3538
3539
  constructor(t) {
3539
3540
  super(t);
3540
3541
  }
3541
3542
  }
3542
- function Pl() {
3543
+ function El() {
3543
3544
  function e(t) {
3544
3545
  const n = [];
3545
- return t.reduce((o, a) => (a.children && a.children.length > 0 ? o.push(new Ze(a)) : o.push(new Ml(a)), o), n), n;
3546
+ return t.reduce((o, a) => (a.children && a.children.length > 0 ? o.push(new Ze(a)) : o.push(new Pl(a)), o), n), n;
3546
3547
  }
3547
3548
  return { buildResponseToolbarItems: e };
3548
3549
  }
3549
- const { buildResponseToolbarItems: El } = Pl();
3550
+ const { buildResponseToolbarItems: Ol } = El();
3550
3551
  class Ze extends yn {
3551
3552
  constructor(n) {
3552
3553
  super(n);
@@ -3563,10 +3564,10 @@ class Ze extends yn {
3563
3564
  const o = ["isDP", "class", "dropdownClass", "menuClass", "placement", "split", "expanded"];
3564
3565
  Object.keys(n).filter((a) => o.indexOf(a) > -1).forEach((a) => {
3565
3566
  this[a] = n[a];
3566
- }), n.children && n.children.length && (this.children = El(n.children));
3567
+ }), n.children && n.children.length && (this.children = Ol(n.children));
3567
3568
  }
3568
3569
  }
3569
- function Ol() {
3570
+ function Dl() {
3570
3571
  function e(n) {
3571
3572
  const o = {
3572
3573
  "f-icon": !0
@@ -3582,7 +3583,7 @@ function Ol() {
3582
3583
  }
3583
3584
  return { iconClass: e, shouldShowIcon: t };
3584
3585
  }
3585
- function Dl(e, t) {
3586
+ function jl(e, t) {
3586
3587
  const n = ie("design-item-context"), o = ie("toolbar-item-handler", () => {
3587
3588
  });
3588
3589
  function a() {
@@ -3841,11 +3842,11 @@ function Dl(e, t) {
3841
3842
  clearAllDropDownMenu: I
3842
3843
  };
3843
3844
  }
3844
- function jl(e, t, n) {
3845
+ function Vl(e, t, n) {
3845
3846
  const o = m(e.alignment), {
3846
3847
  renderDropdownMenu: a,
3847
3848
  clearAllDropDownMenu: s
3848
- } = Dl(t, n), i = ie("design-item-context"), r = ie("toolbar-item-handler", () => {
3849
+ } = jl(t, n), i = ie("design-item-context"), r = ie("toolbar-item-handler", () => {
3849
3850
  });
3850
3851
  function c() {
3851
3852
  r && r();
@@ -4252,29 +4253,8 @@ class Pt {
4252
4253
  return o;
4253
4254
  }
4254
4255
  }
4255
- getBindingFieldEditorOptions(t) {
4256
- const n = this.formSchemaUtils.getFormMetadataBasicInfo();
4257
- return {
4258
- type: "field-selector",
4259
- bindingType: { enable: !1 },
4260
- editorParams: {
4261
- propertyData: t,
4262
- formBasicInfo: n
4263
- },
4264
- columns: [
4265
- { field: "name", title: "字段名称" },
4266
- { field: "bindingField", title: "绑定字段" },
4267
- { field: "fieldType", title: "字段类型" }
4268
- ],
4269
- beforeOpenDialog: (o) => {
4270
- const a = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
4271
- o.instance.loadData(a);
4272
- },
4273
- textField: "bindingField"
4274
- };
4275
- }
4276
4256
  }
4277
- class Vl extends Pt {
4257
+ class Rl extends Pt {
4278
4258
  constructor(t, n) {
4279
4259
  super(t, n);
4280
4260
  }
@@ -4343,7 +4323,7 @@ class Vl extends Pt {
4343
4323
  };
4344
4324
  }
4345
4325
  }
4346
- function Rl(e, t, n, o) {
4326
+ function Al(e, t, n, o) {
4347
4327
  const a = ot(), s = m(!1), i = m(!1);
4348
4328
  let r = !0, c = !1, u;
4349
4329
  function f(_) {
@@ -4403,7 +4383,7 @@ function Rl(e, t, n, o) {
4403
4383
  return c;
4404
4384
  }
4405
4385
  function P(_) {
4406
- return new Vl(_, t).getPropertyConfig(e);
4386
+ return new Rl(_, t).getPropertyConfig(e);
4407
4387
  }
4408
4388
  return {
4409
4389
  canAccepts: v,
@@ -4421,7 +4401,7 @@ function Rl(e, t, n, o) {
4421
4401
  triggerBelongedComponentToDeleteWhenDeleted: i
4422
4402
  };
4423
4403
  }
4424
- const Al = {
4404
+ const $l = {
4425
4405
  id: { type: String, default: "" },
4426
4406
  componentId: { type: String, default: "" },
4427
4407
  canAdd: { type: Boolean, default: !1 },
@@ -4435,11 +4415,11 @@ const Al = {
4435
4415
  */
4436
4416
  modelValue: { type: Object }
4437
4417
  }, vt = m(0);
4438
- function $l(e, t) {
4418
+ function Ll(e, t) {
4439
4419
  const n = t.getBoundingClientRect(), o = e.getBoundingClientRect(), a = o.top >= n.top, s = o.top <= n.bottom;
4440
4420
  return a && s;
4441
4421
  }
4442
- function Ll(e) {
4422
+ function Nl(e) {
4443
4423
  if (!e)
4444
4424
  return;
4445
4425
  let t;
@@ -4450,7 +4430,7 @@ function Ll(e) {
4450
4430
  return;
4451
4431
  const o = t.querySelector(".component-btn-group");
4452
4432
  if (o) {
4453
- if (!$l(t, e)) {
4433
+ if (!Ll(t, e)) {
4454
4434
  o.style.display = "none";
4455
4435
  return;
4456
4436
  }
@@ -4462,7 +4442,7 @@ function Ll(e) {
4462
4442
  }
4463
4443
  }
4464
4444
  }
4465
- function Nl(e, t, n) {
4445
+ function Hl(e, t, n) {
4466
4446
  var P;
4467
4447
  function o() {
4468
4448
  }
@@ -4548,7 +4528,7 @@ function Nl(e, t, n) {
4548
4528
  }
4549
4529
  const Cn = /* @__PURE__ */ ee({
4550
4530
  name: "FDesignerInnerItem",
4551
- props: Al,
4531
+ props: $l,
4552
4532
  emits: ["selectionChange", "addComponent", "removeComponent"],
4553
4533
  setup(e, t) {
4554
4534
  const n = m(e.canMove), o = m(e.canAdd), a = m(e.canDelete), s = m(!1), i = m(e.contentKey), r = m(e.childType), c = m(e.childLabel), u = m(e.modelValue), f = m(""), v = m(), h = ie("canvas-dragula"), T = m(), y = ie("design-item-context"), d = {
@@ -4635,12 +4615,12 @@ const Cn = /* @__PURE__ */ ee({
4635
4615
  "data-noattach": "true"
4636
4616
  }, [l("div", null, [E(), _(), P(C)])]);
4637
4617
  }
4638
- G(() => e.modelValue, (C) => {
4618
+ W(() => e.modelValue, (C) => {
4639
4619
  u.value = C, d.schema = C;
4640
4620
  });
4641
4621
  function M(C) {
4642
4622
  const p = C.target;
4643
- Ll(p);
4623
+ Nl(p);
4644
4624
  }
4645
4625
  function k() {
4646
4626
  var C, p;
@@ -4648,7 +4628,7 @@ const Cn = /* @__PURE__ */ ee({
4648
4628
  }
4649
4629
  function I() {
4650
4630
  const C = v.value, p = m(C.children[1]);
4651
- return Nl(p, d).value;
4631
+ return Hl(p, d).value;
4652
4632
  }
4653
4633
  ae(() => {
4654
4634
  if (v.value) {
@@ -4681,7 +4661,7 @@ const Cn = /* @__PURE__ */ ee({
4681
4661
  }, [O(u.value), t.slots.default && t.slots.default()]);
4682
4662
  }
4683
4663
  });
4684
- class Hl extends Pt {
4664
+ class zl extends Pt {
4685
4665
  constructor(t, n) {
4686
4666
  super(t, n);
4687
4667
  }
@@ -4765,7 +4745,7 @@ class Hl extends Pt {
4765
4745
  };
4766
4746
  }
4767
4747
  }
4768
- class zl extends Pt {
4748
+ class Gl extends Pt {
4769
4749
  constructor(t, n) {
4770
4750
  super(t, n);
4771
4751
  }
@@ -4837,7 +4817,7 @@ class zl extends Pt {
4837
4817
  };
4838
4818
  }
4839
4819
  }
4840
- function Gl(e, t) {
4820
+ function ql(e, t) {
4841
4821
  ot();
4842
4822
  const n = m(!1), o = m(!1);
4843
4823
  let a = !1, s = !1;
@@ -4876,10 +4856,10 @@ function Gl(e, t) {
4876
4856
  let g;
4877
4857
  switch (e.schema.type) {
4878
4858
  case "tab-toolbar-item":
4879
- g = new Hl(x, t);
4859
+ g = new zl(x, t);
4880
4860
  break;
4881
4861
  default:
4882
- g = new zl(x, t);
4862
+ g = new Gl(x, t);
4883
4863
  }
4884
4864
  return g.getPropertyConfig(e.schema);
4885
4865
  }
@@ -4898,7 +4878,7 @@ function Gl(e, t) {
4898
4878
  triggerBelongedComponentToDeleteWhenDeleted: o
4899
4879
  };
4900
4880
  }
4901
- const ql = /* @__PURE__ */ ee({
4881
+ const Wl = /* @__PURE__ */ ee({
4902
4882
  name: "FResponseToolbarItemDesign",
4903
4883
  props: hn,
4904
4884
  emits: ["Click"],
@@ -4909,7 +4889,7 @@ const ql = /* @__PURE__ */ ee({
4909
4889
  text: "More"
4910
4890
  }, a = m(new Ze(o));
4911
4891
  B(() => a.value.children.length > 0);
4912
- const s = m(), i = ie("designer-host-service"), r = ie("design-item-context"), c = Gl(r, i), u = Xt(s, r, c);
4892
+ const s = m(), i = ie("designer-host-service"), r = ie("design-item-context"), c = ql(r, i), u = Xt(s, r, c);
4913
4893
  ie("toolbar-item-handler", () => {
4914
4894
  }), ae(() => {
4915
4895
  s.value.componentInstance = u;
@@ -4956,9 +4936,9 @@ const ql = /* @__PURE__ */ ee({
4956
4936
  class: f()
4957
4937
  }, null), e.text])]);
4958
4938
  }
4959
- }), Wl = /* @__PURE__ */ ee({
4939
+ }), Ul = /* @__PURE__ */ ee({
4960
4940
  name: "FResponseToolbarDesign",
4961
- props: Bl,
4941
+ props: Ml,
4962
4942
  emits: ["Click"],
4963
4943
  setup(e, t) {
4964
4944
  const n = m(e.items);
@@ -4966,9 +4946,9 @@ const ql = /* @__PURE__ */ ee({
4966
4946
  const a = m(), s = m(), i = m(e.alignment), r = {
4967
4947
  id: "__more_buttons__",
4968
4948
  text: "More"
4969
- }, c = m(new Ze(r)), u = Ol();
4949
+ }, c = m(new Ze(r)), u = Dl();
4970
4950
  B(() => c.value.children.length > 0);
4971
- const f = m(), v = ie("designer-host-service"), h = ie("design-item-context"), T = Rl(h.schema, v, h), y = Xt(f, h, T);
4951
+ const f = m(), v = ie("designer-host-service"), h = ie("design-item-context"), T = Al(h.schema, v, h), y = Xt(f, h, T);
4972
4952
  ie("toolbar-item-handler", () => {
4973
4953
  }), ae(() => {
4974
4954
  f.value.componentInstance = y;
@@ -4985,7 +4965,7 @@ const ql = /* @__PURE__ */ ee({
4985
4965
  })), {
4986
4966
  renderToolbarDropdown: g,
4987
4967
  clearAllDropDown: b
4988
- } = jl(e, u, y);
4968
+ } = Vl(e, u, y);
4989
4969
  function F() {
4990
4970
  n.value.filter((I) => I.children && I.children.length > 0).forEach((I) => {
4991
4971
  I.expanded = !1;
@@ -5032,11 +5012,11 @@ const ql = /* @__PURE__ */ ee({
5032
5012
  O.observe(I), document.body.addEventListener("click", F);
5033
5013
  }), Be(() => {
5034
5014
  O.disconnect(), document.body.removeEventListener("click", F);
5035
- }), G(() => e.items, () => {
5015
+ }), W(() => e.items, () => {
5036
5016
  n.value = e.items;
5037
5017
  }, {
5038
5018
  deep: !0
5039
- }), G(n, (I) => {
5019
+ }), W(n, (I) => {
5040
5020
  o = new Array(n.value.length).fill(m());
5041
5021
  });
5042
5022
  function M(I, S, C, p) {
@@ -5072,7 +5052,7 @@ const ql = /* @__PURE__ */ ee({
5072
5052
  onSelectionChange: M,
5073
5053
  onRemoveComponent: k
5074
5054
  }, {
5075
- default: () => [l(ql, {
5055
+ default: () => [l(Wl, {
5076
5056
  id: I.id,
5077
5057
  disable: I.disable,
5078
5058
  text: I.text,
@@ -5082,7 +5062,7 @@ const ql = /* @__PURE__ */ ee({
5082
5062
  }))])])]);
5083
5063
  }
5084
5064
  });
5085
- function Ul(e, t, n, o, a) {
5065
+ function Kl(e, t, n, o, a) {
5086
5066
  const {
5087
5067
  toolbarItems: s,
5088
5068
  toolbarSchema: i
@@ -5106,18 +5086,18 @@ function Ul(e, t, n, o, a) {
5106
5086
  onSelectionChange: r,
5107
5087
  componentId: a
5108
5088
  }, {
5109
- default: () => [l(Wl, {
5089
+ default: () => [l(Ul, {
5110
5090
  items: s.value,
5111
5091
  componentId: a
5112
5092
  }, null)]
5113
5093
  })])]);
5114
5094
  }
5115
- const Kl = /* @__PURE__ */ ee({
5095
+ const Xl = /* @__PURE__ */ ee({
5116
5096
  name: "FTabsDesign",
5117
5097
  props: an,
5118
5098
  emits: ["tabChange", "tabRemove"],
5119
5099
  setup(e, t) {
5120
- const n = m(), o = ie("design-item-context"), a = rl(o.schema, o.parent), s = qe(n, o, a), i = m(e.tabType), r = Ne(), c = Ne(), u = cl(e, t, r, o), {
5100
+ const n = m(), o = ie("design-item-context"), a = cl(o.schema, o.parent), s = qe(n, o, a), i = m(e.tabType), r = Ne(), c = Ne(), u = ul(e, t, r, o), {
5121
5101
  activeId: f,
5122
5102
  changeTitleStyle: v,
5123
5103
  tabPages: h,
@@ -5133,7 +5113,7 @@ const Kl = /* @__PURE__ */ ee({
5133
5113
  updateNavigationLayout: O
5134
5114
  } = b, M = cn(e, u), {
5135
5115
  hideDropDown: k
5136
- } = M, I = Zs(e, r, b, g, u, s, a), S = I, C = sn(e, r, b, g, u), p = /* @__PURE__ */ new Map([["default", I], ["one-page", S], ["pills", C]]);
5116
+ } = M, I = Js(e, r, b, g, u, s, a), S = I, C = sn(e, r, b, g, u), p = /* @__PURE__ */ new Map([["default", I], ["one-page", S], ["pills", C]]);
5137
5117
  B(() => {
5138
5118
  const Z = h.value.find((te) => te.props.id === f.value);
5139
5119
  return Z == null ? void 0 : Z.slots;
@@ -5209,7 +5189,7 @@ const Kl = /* @__PURE__ */ ee({
5209
5189
  renderMorePagesButtton: ue
5210
5190
  } = ln(e, M, b, u);
5211
5191
  function ye() {
5212
- return !!x.value.length && Ul(u, s, a, o, e.componentId);
5192
+ return !!x.value.length && Kl(u, s, a, o, e.componentId);
5213
5193
  }
5214
5194
  const be = p.get(e.tabType) || p.get("default");
5215
5195
  function ne() {
@@ -5240,10 +5220,10 @@ const Kl = /* @__PURE__ */ ee({
5240
5220
  }, [ne(), re()]);
5241
5221
  }
5242
5222
  });
5243
- function Xl(e, t, n) {
5223
+ function Yl(e, t, n) {
5244
5224
  return t ? { enableAccordion: n.accordionMode } : { enableAccordion: "" };
5245
5225
  }
5246
- function Yl(e, t) {
5226
+ function Ql(e, t) {
5247
5227
  return t && t.contents && t.contents.length && t.contents.forEach((n) => {
5248
5228
  n.title && (n.text = n.title);
5249
5229
  }), {
@@ -5251,16 +5231,16 @@ function Yl(e, t) {
5251
5231
  buttonPosition: t.position
5252
5232
  };
5253
5233
  }
5254
- const Ql = /* @__PURE__ */ new Map([
5234
+ const Zl = /* @__PURE__ */ new Map([
5255
5235
  ["appearance", Oe],
5256
5236
  ["expanded", "expandStatus"],
5257
- ["enableAccordion", Xl],
5258
- ["toolbar", Yl]
5237
+ ["enableAccordion", Yl],
5238
+ ["toolbar", Ql]
5259
5239
  ]);
5260
- function Zl(e, t, n) {
5240
+ function Jl(e, t, n) {
5261
5241
  return t;
5262
5242
  }
5263
- const Jl = "https://json-schema.org/draft/2020-12/schema", ei = "https://farris-design.gitee.io/section.schema.json", ti = "section", ni = "A Farris Container Component", oi = "object", ai = {
5243
+ const ei = "https://json-schema.org/draft/2020-12/schema", ti = "https://farris-design.gitee.io/section.schema.json", ni = "section", oi = "A Farris Container Component", ai = "object", si = {
5264
5244
  id: {
5265
5245
  description: "The unique identifier for a Section",
5266
5246
  type: "string"
@@ -5385,19 +5365,19 @@ const Jl = "https://json-schema.org/draft/2020-12/schema", ei = "https://farris-
5385
5365
  },
5386
5366
  default: null
5387
5367
  }
5388
- }, si = [
5368
+ }, li = [
5389
5369
  "id",
5390
5370
  "type",
5391
5371
  "contents"
5392
- ], li = {
5393
- $schema: Jl,
5394
- $id: ei,
5395
- title: ti,
5396
- description: ni,
5397
- type: oi,
5398
- properties: ai,
5399
- required: si
5400
- }, ii = "section", ri = "A Farris Container Component", ci = "object", ui = {
5372
+ ], ii = {
5373
+ $schema: ei,
5374
+ $id: ti,
5375
+ title: ni,
5376
+ description: oi,
5377
+ type: ai,
5378
+ properties: si,
5379
+ required: li
5380
+ }, ri = "section", ci = "A Farris Container Component", ui = "object", di = {
5401
5381
  basic: {
5402
5382
  title: "基本信息",
5403
5383
  description: "Basic Infomation",
@@ -5495,11 +5475,11 @@ const Jl = "https://json-schema.org/draft/2020-12/schema", ei = "https://farris-
5495
5475
  }
5496
5476
  }
5497
5477
  }
5498
- }, di = {
5499
- title: ii,
5500
- description: ri,
5501
- type: ci,
5502
- categories: ui
5478
+ }, pi = {
5479
+ title: ri,
5480
+ description: ci,
5481
+ type: ui,
5482
+ categories: di
5503
5483
  }, wn = {
5504
5484
  /** 设置内容区域样式 */
5505
5485
  contentClass: { type: String, default: "" },
@@ -5545,8 +5525,8 @@ const Jl = "https://json-schema.org/draft/2020-12/schema", ei = "https://farris-
5545
5525
  // toolbarButtons: { type: Array<object>, default: [] },
5546
5526
  // toolbar: { type: Object as PropType<ToolbarConfig>, default: {} }
5547
5527
  };
5548
- ge(wn, li, Ql, Zl, di);
5549
- function pi(e, t, n) {
5528
+ ge(wn, ii, Zl, Jl, pi);
5529
+ function fi(e, t, n) {
5550
5530
  let o;
5551
5531
  function a() {
5552
5532
  !e || !t.value || (n.value = !n.value, n.value ? s() : i());
@@ -5596,11 +5576,11 @@ function xn(e, t) {
5596
5576
  alignment: o.value
5597
5577
  }, null);
5598
5578
  }
5599
- function fi(e, t, n, o, a, s) {
5579
+ function mi(e, t, n, o, a, s) {
5600
5580
  m(e.subTitle);
5601
5581
  const i = B(() => e.buttonPosition), r = xn(e, t), {
5602
5582
  onClickMaxMinIcon: c
5603
- } = pi(o, a, s), u = B(() => !!e.subTitle), f = B(() => e.enableMaximize), v = B(() => e.enableAccordion != ""), h = B(() => {
5583
+ } = fi(o, a, s), u = B(() => !!e.subTitle), f = B(() => e.enableMaximize), v = B(() => e.enableAccordion != ""), h = B(() => {
5604
5584
  const F = {
5605
5585
  "f-section-header": !0
5606
5586
  };
@@ -5661,7 +5641,7 @@ function fi(e, t, n, o, a, s) {
5661
5641
  }
5662
5642
  return () => e.showHeader && (t.slots.header ? d() : b());
5663
5643
  }
5664
- function mi(e, t, n, o) {
5644
+ function vi(e, t, n, o) {
5665
5645
  const a = m(e.disabled), s = m(!1), i = m("text"), r = m(e.showBorder), c = m(e.textAlign), u = m(e.updateOn), f = B(() => e.editable || !e.readonly), v = B(() => e.editable && !e.disabled && !e.readonly), h = B(() => !e.disabled && s.value), T = B(() => n.value === "" || n.value === null || n.value === void 0), y = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = B(() => e.readonly || !e.editable), x = B(() => e.enableTitle ? n.value : ""), g = B(() => ({
5666
5646
  "form-control": !0,
5667
5647
  "f-utils-fill": !0,
@@ -5682,12 +5662,12 @@ function mi(e, t, n, o) {
5682
5662
  function E(p, w = !0) {
5683
5663
  n.value = p, o.value !== p && (o.value = p), w && t.emit("change", p), t.emit("update:modelValue", p), t.emit("update:value", p);
5684
5664
  }
5685
- G(
5665
+ W(
5686
5666
  () => e.modelValue,
5687
5667
  (p, w) => {
5688
5668
  p !== w && (n.value = p, o.value = p);
5689
5669
  }
5690
- ), G(() => e.disabled, (p, w) => {
5670
+ ), W(() => e.disabled, (p, w) => {
5691
5671
  p !== w && (a.value = p);
5692
5672
  });
5693
5673
  function P(p) {
@@ -5744,12 +5724,12 @@ function mi(e, t, n, o) {
5744
5724
  inputGroupStyle: F
5745
5725
  };
5746
5726
  }
5747
- function vi(e, t, n) {
5727
+ function gi(e, t, n) {
5748
5728
  const o = m(!1), a = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: i, hasFocused: r, isEmpty: c } = n;
5749
5729
  function u(d) {
5750
5730
  o.value = d;
5751
5731
  }
5752
- G(i, () => {
5732
+ W(i, () => {
5753
5733
  r != null && r.value ? u(!!(i != null && i.value)) : u(!1);
5754
5734
  });
5755
5735
  const f = B(() => ({
@@ -5770,8 +5750,8 @@ function vi(e, t, n) {
5770
5750
  }
5771
5751
  return { clearButtonClass: f, clearButtonStyle: v, hasShownClearButton: o, onClearValue: h, onMouseEnter: T, onMouseLeave: y, shouldShowClearButton: a };
5772
5752
  }
5773
- const gi = ["moz", "ms", "webkit"];
5774
- function hi() {
5753
+ const hi = ["moz", "ms", "webkit"];
5754
+ function yi() {
5775
5755
  let e = 0;
5776
5756
  return (t) => {
5777
5757
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -5780,26 +5760,26 @@ function hi() {
5780
5760
  return e = n + o, a;
5781
5761
  };
5782
5762
  }
5783
- function yi() {
5763
+ function bi() {
5784
5764
  if (typeof window > "u")
5785
5765
  return () => 0;
5786
5766
  if (window.requestAnimationFrame)
5787
5767
  return window.requestAnimationFrame.bind(window);
5788
- const e = gi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
5789
- return e ? window[`${e}RequestAnimationFrame`] : hi();
5768
+ const e = hi.filter((t) => `${t}RequestAnimationFrame` in window)[0];
5769
+ return e ? window[`${e}RequestAnimationFrame`] : yi();
5790
5770
  }
5791
- yi();
5771
+ bi();
5792
5772
  function gt(e, t) {
5793
5773
  return ((t == null ? void 0 : t.split(" ")) || []).reduce((o, a) => (a && (o[a] = !0), o), e), e;
5794
5774
  }
5795
- const bi = /* @__PURE__ */ ee({
5775
+ const Ci = /* @__PURE__ */ ee({
5796
5776
  name: "FSection",
5797
5777
  props: wn,
5798
5778
  emits: [],
5799
5779
  setup(e, t) {
5800
5780
  const n = m();
5801
5781
  let o = m();
5802
- const a = m(e.customClass), s = B(() => e.enableAccordion), i = m(e.expandStatus), r = B(() => e.buttonPosition), c = m(!1), u = fi(e, t, i, n, o, c), f = xn(e, t), v = B(() => {
5782
+ const a = m(e.customClass), s = B(() => e.enableAccordion), i = m(e.expandStatus), r = B(() => e.buttonPosition), c = m(!1), u = mi(e, t, i, n, o, c), f = xn(e, t), v = B(() => {
5803
5783
  const x = {
5804
5784
  "f-section": !0,
5805
5785
  "f-section-accordion": s.value === "default",
@@ -5824,7 +5804,7 @@ const bi = /* @__PURE__ */ ee({
5824
5804
  class: h.value
5825
5805
  }, [r.value === "inContent" && f(), t.slots.default && t.slots.default()]);
5826
5806
  }
5827
- return G(() => e.expandStatus, (x, g) => {
5807
+ return W(() => e.expandStatus, (x, g) => {
5828
5808
  x !== g && (i.value = x);
5829
5809
  }), ae(() => {
5830
5810
  n && n.value && (o.value = n.value.parentElement);
@@ -5834,7 +5814,7 @@ const bi = /* @__PURE__ */ ee({
5834
5814
  }, [u(), y(), d()]);
5835
5815
  }
5836
5816
  });
5837
- function Ci(e, t) {
5817
+ function wi(e, t) {
5838
5818
  function n(a) {
5839
5819
  return !!Mt().basalDragulaRuleForContainer(a);
5840
5820
  }
@@ -5842,15 +5822,15 @@ function Ci(e, t) {
5842
5822
  }
5843
5823
  return { canAccepts: n, onAcceptMovedChildElement: o };
5844
5824
  }
5845
- function wi(e) {
5825
+ function xi(e) {
5846
5826
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ht(e);
5847
5827
  }
5848
- const xi = /* @__PURE__ */ ee({
5828
+ const Si = /* @__PURE__ */ ee({
5849
5829
  name: "FTabPageDesign",
5850
5830
  props: Ft,
5851
5831
  emits: [],
5852
5832
  setup(e, t) {
5853
- const n = m(), o = ie("design-item-context"), a = Ci(o.schema, o.parent), s = qe(n, o, a);
5833
+ const n = m(), o = ie("design-item-context"), a = wi(o.schema, o.parent), s = qe(n, o, a);
5854
5834
  s.value.canNested = !1, s.value.canDelete = !1, s.value.canMove = !1, t.expose(s.value);
5855
5835
  const i = ie("tabs"), r = m(!0), c = {
5856
5836
  slots: t.slots,
@@ -5865,7 +5845,7 @@ const xi = /* @__PURE__ */ ee({
5865
5845
  const f = B(() => (e == null ? void 0 : e.id) === (i == null ? void 0 : i.activeId.value)), v = B(() => ({
5866
5846
  display: f.value ? "" : "none"
5867
5847
  }));
5868
- G(() => e, (g) => {
5848
+ W(() => e, (g) => {
5869
5849
  i == null || i.updateTab({
5870
5850
  props: g,
5871
5851
  slots: t.slots
@@ -5877,10 +5857,10 @@ const xi = /* @__PURE__ */ ee({
5877
5857
  function h() {
5878
5858
  var b, F;
5879
5859
  const g = (F = (b = t.slots).default) == null ? void 0 : F.call(b);
5880
- return l(bi, {
5860
+ return l(Ci, {
5881
5861
  "main-title": e.title,
5882
5862
  class: "farris-tab-page"
5883
- }, wi(g) ? g : {
5863
+ }, xi(g) ? g : {
5884
5864
  default: () => [g]
5885
5865
  });
5886
5866
  }
@@ -5906,14 +5886,14 @@ Re.install = (e) => {
5906
5886
  e.component(Re.name, Re), e.component(Qe.name, Qe);
5907
5887
  };
5908
5888
  Re.register = (e, t, n) => {
5909
- e.tabs = Re, e["tab-page"] = Qe, t.tabs = rs, t["tab-page"] = dn;
5889
+ e.tabs = Re, e["tab-page"] = Qe, t.tabs = cs, t["tab-page"] = dn;
5910
5890
  };
5911
5891
  Re.registerDesigner = (e, t, n) => {
5912
- e.tabs = Kl, e["tab-page"] = xi, t.tabs = cs, t["tab-page"] = dn;
5892
+ e.tabs = Xl, e["tab-page"] = Si, t.tabs = us, t["tab-page"] = dn;
5913
5893
  };
5914
- const Si = /* @__PURE__ */ new Map([
5894
+ const Ti = /* @__PURE__ */ new Map([
5915
5895
  ["appearance", Oe]
5916
- ]), Ti = "https://json-schema.org/draft/2020-12/schema", _i = "https://farris-design.gitee.io/search-box.schema.json", ki = "search-box", Ii = "A Farris Component", Fi = "object", Bi = {
5896
+ ]), _i = "https://json-schema.org/draft/2020-12/schema", ki = "https://farris-design.gitee.io/search-box.schema.json", Ii = "search-box", Fi = "A Farris Component", Bi = "object", Mi = {
5917
5897
  id: {
5918
5898
  description: "The unique identifier for a search-box",
5919
5899
  type: "string"
@@ -5975,22 +5955,22 @@ const Si = /* @__PURE__ */ new Map([
5975
5955
  type: "boolean",
5976
5956
  default: !0
5977
5957
  }
5978
- }, Mi = [
5958
+ }, Pi = [
5979
5959
  "id",
5980
5960
  "type"
5981
- ], Pi = {
5982
- $schema: Ti,
5983
- $id: _i,
5984
- title: ki,
5985
- description: Ii,
5986
- type: Fi,
5987
- properties: Bi,
5988
- required: Mi
5961
+ ], Ei = {
5962
+ $schema: _i,
5963
+ $id: ki,
5964
+ title: Ii,
5965
+ description: Fi,
5966
+ type: Bi,
5967
+ properties: Mi,
5968
+ required: Pi
5989
5969
  };
5990
- function Ei(e, t, n) {
5970
+ function Oi(e, t, n) {
5991
5971
  return t;
5992
5972
  }
5993
- const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
5973
+ const Di = "search-box", ji = "A Farris Component", Vi = "object", Ri = {
5994
5974
  basic: {
5995
5975
  description: "Basic Infomation",
5996
5976
  title: "基本信息",
@@ -6012,11 +5992,11 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6012
5992
  }
6013
5993
  }
6014
5994
  }
6015
- }, Ri = {
6016
- title: Oi,
6017
- description: Di,
6018
- type: ji,
6019
- categories: Vi
5995
+ }, Ai = {
5996
+ title: Di,
5997
+ description: ji,
5998
+ type: Vi,
5999
+ categories: Ri
6020
6000
  }, Et = {
6021
6001
  /**
6022
6002
  * 自定义图标
@@ -6063,7 +6043,7 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6063
6043
  /**
6064
6044
  * popupOnFoucs TODO
6065
6045
  */
6066
- }, Sn = ge(Et, Pi, Si, Ei, Ri), Ai = {
6046
+ }, Sn = ge(Et, Ei, Ti, Oi, Ai), $i = {
6067
6047
  data: { type: Array, default: [] },
6068
6048
  /** 确认结果事件 */
6069
6049
  onConfirmResult: { type: Function, default: () => {
@@ -6089,7 +6069,7 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6089
6069
  loading: { default: !1, type: Boolean }
6090
6070
  }, Tn = /* @__PURE__ */ ee({
6091
6071
  name: "FSearchBoxContainer",
6092
- props: Ai,
6072
+ props: $i,
6093
6073
  emits: ["confirmResult", "searchedValue"],
6094
6074
  setup(e, t) {
6095
6075
  const n = m(e.data), o = m(), {
@@ -6113,9 +6093,9 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6113
6093
  const f = {};
6114
6094
  return f.padding = "8px", e.maxHeight !== void 0 && e.maxHeight > 0 && (f.maxHeight = `${e.maxHeight}px`), f;
6115
6095
  });
6116
- return G(() => e.loading, (f) => {
6096
+ return W(() => e.loading, (f) => {
6117
6097
  console.log("loading状态改变" + f);
6118
- }), G(() => e.data, (f) => {
6098
+ }), W(() => e.data, (f) => {
6119
6099
  f !== n.value && (n.value = f), o.value.updateDataSource(f);
6120
6100
  }), t.expose({
6121
6101
  search: i
@@ -6151,10 +6131,10 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6151
6131
  const n = m(), o = m(), a = m(e.placeholder), s = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', i = B(() => e.loading ? s : e.buttonContent);
6152
6132
  m(e.editable);
6153
6133
  const r = m(e.modelValue);
6154
- G(r, (T) => {
6134
+ W(r, (T) => {
6155
6135
  var y;
6156
6136
  (y = o.value) == null || y.search(T), t.emit("update:modelValue", T);
6157
- }), G(() => e.modelValue, (T) => {
6137
+ }), W(() => e.modelValue, (T) => {
6158
6138
  r.value = T;
6159
6139
  });
6160
6140
  function c(T) {
@@ -6208,7 +6188,7 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6208
6188
  });
6209
6189
  };
6210
6190
  }
6211
- }), $i = /* @__PURE__ */ ee({
6191
+ }), Li = /* @__PURE__ */ ee({
6212
6192
  name: "FSearchBoxDesign",
6213
6193
  props: Et,
6214
6194
  emits: ["update:modelValue", "change"],
@@ -6216,10 +6196,10 @@ const Oi = "search-box", Di = "A Farris Component", ji = "object", Vi = {
6216
6196
  const n = m(e.data), o = m(), a = m(), s = m("请输入关键词"), i = m('<i class="f-icon f-icon-search"></i>'), r = m(e.modelValue), c = m(), u = ie("design-item-context"), f = qe(c, u);
6217
6197
  ae(() => {
6218
6198
  c.value.componentInstance = f;
6219
- }), t.expose(f.value), G(r, (T) => {
6199
+ }), t.expose(f.value), W(r, (T) => {
6220
6200
  var y;
6221
6201
  (y = a.value) == null || y.search(T), t.emit("update:modelValue", T);
6222
- }), G(() => e.modelValue, (T) => {
6202
+ }), W(() => e.modelValue, (T) => {
6223
6203
  r.value = T;
6224
6204
  });
6225
6205
  function v(T) {
@@ -6260,7 +6240,7 @@ Pe.register = (e, t, n, o) => {
6260
6240
  e["search-box"] = Pe, t["search-box"] = Sn;
6261
6241
  };
6262
6242
  Pe.registerDesigner = (e, t, n) => {
6263
- e["search-box"] = $i, t["search-box"] = Sn;
6243
+ e["search-box"] = Li, t["search-box"] = Sn;
6264
6244
  };
6265
6245
  const _n = /* @__PURE__ */ new Map([
6266
6246
  ["appearance", Oe]
@@ -6268,7 +6248,7 @@ const _n = /* @__PURE__ */ new Map([
6268
6248
  function kn(e, t, n) {
6269
6249
  return t;
6270
6250
  }
6271
- const Li = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-design.gitee.io/list-view.schema.json", Hi = "list-view", zi = "A Farris Component", Gi = "object", qi = {
6251
+ const Ni = "https://json-schema.org/draft/2020-12/schema", Hi = "https://farris-design.gitee.io/list-view.schema.json", zi = "list-view", Gi = "A Farris Component", qi = "object", Wi = {
6272
6252
  id: {
6273
6253
  description: "The unique identifier for list-view",
6274
6254
  type: "string"
@@ -6330,18 +6310,18 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-
6330
6310
  type: "boolean",
6331
6311
  default: !0
6332
6312
  }
6333
- }, Wi = [
6313
+ }, Ui = [
6334
6314
  "id",
6335
6315
  "type"
6336
- ], Ui = {
6337
- $schema: Li,
6338
- $id: Ni,
6339
- title: Hi,
6340
- description: zi,
6341
- type: Gi,
6342
- properties: qi,
6343
- required: Wi
6344
- }, Ki = "list-view", Xi = "A Farris Component", Yi = "object", Qi = {
6316
+ ], Ki = {
6317
+ $schema: Ni,
6318
+ $id: Hi,
6319
+ title: zi,
6320
+ description: Gi,
6321
+ type: qi,
6322
+ properties: Wi,
6323
+ required: Ui
6324
+ }, Xi = "list-view", Yi = "A Farris Component", Qi = "object", Zi = {
6345
6325
  basic: {
6346
6326
  description: "Basic Infomation",
6347
6327
  title: "基本信息",
@@ -6363,11 +6343,11 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-
6363
6343
  }
6364
6344
  }
6365
6345
  }
6366
- }, Zi = {
6367
- title: Ki,
6368
- description: Xi,
6369
- type: Yi,
6370
- categories: Qi
6346
+ }, Ji = {
6347
+ title: Xi,
6348
+ description: Yi,
6349
+ type: Qi,
6350
+ categories: Zi
6371
6351
  }, at = {
6372
6352
  /** 列集合 */
6373
6353
  columns: {
@@ -6406,8 +6386,10 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Ni = "https://farris-
6406
6386
  }
6407
6387
  },
6408
6388
  keepOrder: { type: Boolean, default: !1 },
6409
- disableField: { type: String, default: "disabled" }
6410
- }, In = ge(at, Ui, _n, kn, Zi);
6389
+ disableField: { type: String, default: "disabled" },
6390
+ // 搜索启用高亮
6391
+ enableHighlightSearch: { type: Boolean, default: !0 }
6392
+ }, In = ge(at, Ki, _n, kn, Ji);
6411
6393
  function Fn(e, t) {
6412
6394
  function n(s) {
6413
6395
  const i = [];
@@ -6486,7 +6468,7 @@ function Rt(e, t, n, o, a, s, i, r, c, u) {
6486
6468
  renderItem: O
6487
6469
  };
6488
6470
  }
6489
- function Ji(e, t, n, o, a, s, i, r, c, u) {
6471
+ function er(e, t, n, o, a, s, i, r, c, u) {
6490
6472
  const f = m(e.multiSelect), v = m(e.disableField), {
6491
6473
  onMouseenterItem: h,
6492
6474
  onMouseoverItem: T,
@@ -6533,7 +6515,7 @@ function Ji(e, t, n, o, a, s, i, r, c, u) {
6533
6515
  renderItem: E
6534
6516
  };
6535
6517
  }
6536
- function er(e, t, n, o, a, s, i, r, c, u) {
6518
+ function tr(e, t, n, o, a, s, i, r, c, u) {
6537
6519
  const f = m(e.multiSelect), v = m(e.disableField), {
6538
6520
  onMouseenterItem: h,
6539
6521
  onMouseoverItem: T,
@@ -6605,7 +6587,7 @@ function er(e, t, n, o, a, s, i, r, c, u) {
6605
6587
  renderItem: C
6606
6588
  };
6607
6589
  }
6608
- function tr(e, t, n, o, a, s, i, r, c, u) {
6590
+ function nr(e, t, n, o, a, s, i, r, c, u) {
6609
6591
  var d;
6610
6592
  const f = m(((d = e.group) == null ? void 0 : d.groupFields) || []), {
6611
6593
  collpaseGroupIconClass: v
@@ -6631,7 +6613,7 @@ function tr(e, t, n, o, a, s, i, r, c, u) {
6631
6613
  renderItem: y
6632
6614
  };
6633
6615
  }
6634
- function nr() {
6616
+ function or() {
6635
6617
  const e = m(-1), t = m(""), n = m(-1), o = m(!1);
6636
6618
  function a(u, f, v) {
6637
6619
  n.value = v;
@@ -6659,7 +6641,7 @@ function nr() {
6659
6641
  suspendHover: r
6660
6642
  };
6661
6643
  }
6662
- function or(e, t, n, o) {
6644
+ function ar(e, t, n, o) {
6663
6645
  const a = m(e.idField), { dataView: s } = n, i = m(-1), r = m(!1), { activeIndex: c, focusedItemId: u, hoverIndex: f, resumeHover: v, suspendHover: h } = o;
6664
6646
  function T(g, b, F) {
6665
6647
  g.stopPropagation(), h(), b && setTimeout(() => {
@@ -6688,7 +6670,7 @@ function or(e, t, n, o) {
6688
6670
  isDragging: r
6689
6671
  };
6690
6672
  }
6691
- function ar(e, t, n) {
6673
+ function sr(e, t, n) {
6692
6674
  const { dataView: o } = n;
6693
6675
  function a(s) {
6694
6676
  if (s > -1 && s < o.value.length) {
@@ -6698,7 +6680,7 @@ function ar(e, t, n) {
6698
6680
  }
6699
6681
  return { removeItem: a };
6700
6682
  }
6701
- function sr(e, t, n, o, a, s) {
6683
+ function lr(e, t, n, o, a, s) {
6702
6684
  const i = m(e.idField), r = m(e.disableField), c = m(e.draggable), u = m(e.itemClass), f = m(e.selection.multiSelect ?? !1), v = m(e.selection.multiSelectMode);
6703
6685
  m(!0);
6704
6686
  const { isDragging: h } = o, { activeIndex: T, focusedItemId: y, hoverIndex: d } = a, { clearSelection: x, getSelectedItems: g, toggleSelectItem: b } = s, F = m(g());
@@ -6737,19 +6719,19 @@ function sr(e, t, n, o, a, s) {
6737
6719
  };
6738
6720
  }
6739
6721
  function Bn(e, t, n, o, a, s, i) {
6740
- const r = m(e.view), c = m(e.view === "CardView"), u = m({}), f = m("暂无数据"), v = nr(), h = or(e, t, o, v), T = ar(e, t, o), y = sr(e, t, n, h, v, s), d = B(() => ({
6722
+ const r = m(e.view), c = m(e.view === "CardView"), u = m({}), f = m("暂无数据"), v = or(), h = ar(e, t, o, v), T = sr(e, t, o), y = lr(e, t, n, h, v, s), d = B(() => ({
6741
6723
  "f-list-view-group": !0,
6742
6724
  "d-flex": c.value,
6743
6725
  "flex-wrap": c.value
6744
6726
  })), x = B(() => !!n.value && n.value.length > 0), g = B(() => n.value.length === 0), b = B(() => g.value && !t.slots.empty);
6745
6727
  function F() {
6746
- return r.value === "SingleView" ? Rt : r.value === "DraggableView" ? er : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? Ji : Rt;
6728
+ return r.value === "SingleView" ? Rt : r.value === "DraggableView" ? tr : (r.value === "ContentView" || r.value === "CardView") && t.slots.content ? er : Rt;
6747
6729
  }
6748
6730
  const E = F(), {
6749
6731
  renderItem: P
6750
6732
  } = E(e, t, n, h, a, v, y, s, T, i), {
6751
6733
  renderItem: _
6752
- } = tr(e, t, n, h, a, v, y, s, T, i), O = [P, _];
6734
+ } = nr(e, t, n, h, a, v, y, s, T, i), O = [P, _];
6753
6735
  function M() {
6754
6736
  return n.value.filter((S) => S.visible !== !1).map((S, C) => O[S.type](S, C, u));
6755
6737
  }
@@ -6785,8 +6767,8 @@ function Je(e, t, n) {
6785
6767
  function c(h) {
6786
6768
  s.value = "";
6787
6769
  }
6788
- G(s, (h) => {
6789
- n.search(h);
6770
+ W(s, (h) => {
6771
+ e.enableHighlightSearch && n.search(h), t.emit("afterSearch", h);
6790
6772
  });
6791
6773
  const u = B(() => {
6792
6774
  const h = {
@@ -6836,7 +6818,7 @@ function Je(e, t, n) {
6836
6818
  const Te = /* @__PURE__ */ ee({
6837
6819
  name: "FListView",
6838
6820
  props: at,
6839
- emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
6821
+ emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
6840
6822
  setup(e, t) {
6841
6823
  const n = m(), o = m(!0), a = m(!1), s = m([]), i = 0, r = m(e.columns), c = Eo(e), u = Oo(e), f = Do(e, c), v = jo(e), h = Vo(e, /* @__PURE__ */ new Map(), u, c, v), T = Ro(e, h, c, s, t), y = Fn(e, n), d = B(() => h.dataView.value.length), x = Ao(e, c), g = $o(), b = Lo(e, {}, g), F = No(e, x, u, c, g, b), E = Ho(e, c, b, F), P = zo(e, c, b, F), _ = Go(e, r, h, d, i, F, E, P), {
6842
6824
  getVisualData: O
@@ -6888,7 +6870,7 @@ const Te = /* @__PURE__ */ ee({
6888
6870
  }
6889
6871
  });
6890
6872
  var ve = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(ve || {}), ke = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(ke || {}), st = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(st || {});
6891
- function lr() {
6873
+ function ir() {
6892
6874
  function e(n, o) {
6893
6875
  const a = n.pre;
6894
6876
  if (a) {
@@ -6905,7 +6887,7 @@ function lr() {
6905
6887
  }
6906
6888
  return { updateRowPosition: e, updateVisualInfomation: t };
6907
6889
  }
6908
- function ir() {
6890
+ function rr() {
6909
6891
  function e(o, a) {
6910
6892
  switch (o.command) {
6911
6893
  case "edit":
@@ -6965,7 +6947,7 @@ const Pn = {
6965
6947
  */
6966
6948
  isControlInline: { type: Boolean, default: !0 }
6967
6949
  };
6968
- class rr {
6950
+ class cr {
6969
6951
  constructor(t = { value: [] }) {
6970
6952
  L(this, "editorType", "check-box");
6971
6953
  L(this, "value");
@@ -6985,7 +6967,7 @@ class rr {
6985
6967
  return this.value.length === 0;
6986
6968
  }
6987
6969
  }
6988
- class cr {
6970
+ class ur {
6989
6971
  constructor(t = { textValue: "", value: "", valueField: "" }) {
6990
6972
  L(this, "editorType", "combo-lookup");
6991
6973
  L(this, "textValue");
@@ -7019,7 +7001,7 @@ class cr {
7019
7001
  return !this.valueField;
7020
7002
  }
7021
7003
  }
7022
- class ur {
7004
+ class dr {
7023
7005
  constructor(t = { value: "" }) {
7024
7006
  L(this, "editorType", "date-picker");
7025
7007
  L(this, "value");
@@ -7060,7 +7042,7 @@ class At {
7060
7042
  return !this.begin || !this.end;
7061
7043
  }
7062
7044
  }
7063
- class dr {
7045
+ class pr {
7064
7046
  constructor(t = { value: "" }) {
7065
7047
  L(this, "editorType", "datetime-picker");
7066
7048
  L(this, "value");
@@ -7080,7 +7062,7 @@ class dr {
7080
7062
  return !this.value;
7081
7063
  }
7082
7064
  }
7083
- class pr {
7065
+ class fr {
7084
7066
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
7085
7067
  constructor(t = { value: "", dispalyText: "" }) {
7086
7068
  L(this, "editorType", "combo-list");
@@ -7103,7 +7085,7 @@ class pr {
7103
7085
  return !this.displayText;
7104
7086
  }
7105
7087
  }
7106
- class fr {
7088
+ class mr {
7107
7089
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
7108
7090
  L(this, "editorType", "input-group");
7109
7091
  // 通过弹窗返回的若干个值对象构成的数组
@@ -7142,7 +7124,7 @@ class fr {
7142
7124
  return !this.displayText;
7143
7125
  }
7144
7126
  }
7145
- class mr {
7127
+ class vr {
7146
7128
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
7147
7129
  L(this, "editorType", "lookup");
7148
7130
  L(this, "textValue");
@@ -7178,7 +7160,7 @@ class mr {
7178
7160
  return !this.value.length;
7179
7161
  }
7180
7162
  }
7181
- class vr {
7163
+ class gr {
7182
7164
  constructor(t = { value: "" }) {
7183
7165
  L(this, "editorType", "month-picker");
7184
7166
  L(this, "value");
@@ -7198,7 +7180,7 @@ class vr {
7198
7180
  return !this.value;
7199
7181
  }
7200
7182
  }
7201
- class gr {
7183
+ class hr {
7202
7184
  constructor(t = { begin: "", end: "" }) {
7203
7185
  L(this, "editorType", "month-range");
7204
7186
  L(this, "begin");
@@ -7219,7 +7201,7 @@ class gr {
7219
7201
  return !this.begin || !this.end;
7220
7202
  }
7221
7203
  }
7222
- class hr {
7204
+ class yr {
7223
7205
  constructor(t = { begin: null, end: null }) {
7224
7206
  L(this, "editorType", "number-range");
7225
7207
  L(this, "begin");
@@ -7243,7 +7225,7 @@ class hr {
7243
7225
  return this.begin == null && this.end == null;
7244
7226
  }
7245
7227
  }
7246
- class yr {
7228
+ class br {
7247
7229
  constructor(t = { value: "" }) {
7248
7230
  L(this, "editorType", "number-spinner");
7249
7231
  L(this, "value");
@@ -7263,7 +7245,7 @@ class yr {
7263
7245
  return this.value == null;
7264
7246
  }
7265
7247
  }
7266
- class br {
7248
+ class Cr {
7267
7249
  constructor(t = { value: null }) {
7268
7250
  L(this, "editorType", "radio-group");
7269
7251
  L(this, "value");
@@ -7307,33 +7289,33 @@ function On() {
7307
7289
  function e(t, n) {
7308
7290
  switch (t) {
7309
7291
  case "check-box":
7310
- return new rr(n);
7292
+ return new cr(n);
7311
7293
  case "combo-list":
7312
- return new pr(n);
7294
+ return new fr(n);
7313
7295
  case "combo-lookup":
7314
- return new cr(n);
7296
+ return new ur(n);
7315
7297
  case "input-group":
7316
- return new fr(n);
7298
+ return new mr(n);
7317
7299
  case "date-picker":
7318
- return new ur(n);
7300
+ return new dr(n);
7319
7301
  case "date-range":
7320
7302
  return new At(n);
7321
7303
  case "datetime-picker":
7322
- return new dr(n);
7304
+ return new pr(n);
7323
7305
  case "datetime-range":
7324
7306
  return new At(n);
7325
7307
  case "lookup":
7326
- return new mr(n);
7327
- case "month-picker":
7328
7308
  return new vr(n);
7329
- case "month-range":
7309
+ case "month-picker":
7330
7310
  return new gr(n);
7331
- case "number-range":
7311
+ case "month-range":
7332
7312
  return new hr(n);
7333
- case "number-spinner":
7313
+ case "number-range":
7334
7314
  return new yr(n);
7335
- case "radio-group":
7315
+ case "number-spinner":
7336
7316
  return new br(n);
7317
+ case "radio-group":
7318
+ return new Cr(n);
7337
7319
  default:
7338
7320
  return new En(n);
7339
7321
  }
@@ -7372,7 +7354,7 @@ function Dn(e, t) {
7372
7354
  }
7373
7355
  return { convertToSingleControl: r, fields: n, fieldMap: a, fieldConditions: o, loadFieldConfigs: c, initialConditionValue: u };
7374
7356
  }
7375
- function Cr(e, t, n) {
7357
+ function wr(e, t, n) {
7376
7358
  const o = m(null), a = m(n), s = m(0), i = B(() => u(s.value));
7377
7359
  function r() {
7378
7360
  a.value && (o.value = new ResizeObserver(c((f) => {
@@ -7393,7 +7375,7 @@ function Cr(e, t, n) {
7393
7375
  let h = "col-12";
7394
7376
  return f > 250 * 6 ? h = "col-2" : f > 250 * 4 ? h = "col-3" : f > 250 * 3 ? h = "col-4" : f > 250 * 2 && (h = "col-6"), h;
7395
7377
  }
7396
- return G([n], ([f]) => {
7378
+ return W([n], ([f]) => {
7397
7379
  a.value = f, r();
7398
7380
  }), {
7399
7381
  conditionClass: i,
@@ -7409,14 +7391,14 @@ const $t = /* @__PURE__ */ ee({
7409
7391
  initialConditionValue: r,
7410
7392
  fieldMap: c,
7411
7393
  loadFieldConfigs: u
7412
- } = i, f = Cr(e, t, n), {
7394
+ } = i, f = wr(e, t, n), {
7413
7395
  conditionClass: v,
7414
7396
  resizeObserver: h
7415
7397
  } = f;
7416
7398
  u(!0), r(s.value), Gt(() => {
7417
7399
  var g;
7418
7400
  (g = h.value) == null || g.unobserve(n.value);
7419
- }), G(() => e.conditions, () => {
7401
+ }), W(() => e.conditions, () => {
7420
7402
  s.value = e.conditions;
7421
7403
  });
7422
7404
  const T = B(() => ({
@@ -7452,22 +7434,22 @@ const $t = /* @__PURE__ */ ee({
7452
7434
  }), Ot = /* @__PURE__ */ new Map([
7453
7435
  ["appearance", Oe]
7454
7436
  ]);
7455
- function wr(e, t, n, o) {
7437
+ function xr(e, t, n, o) {
7456
7438
  const a = e.getSchemaByType("section");
7457
7439
  return a.id = `${o}-section`, a.appearance = { class: "f-section-form f-section-in-main" }, a.mainTitle = "标题", a.contents = [t], a;
7458
7440
  }
7459
- function xr(e, t, n, o) {
7441
+ function Sr(e, t, n, o) {
7460
7442
  const a = e.getSchemaByType("component");
7461
7443
  return a.id = `${o}-component`, a.componentType = "form-col-1", a.appearance = {
7462
7444
  class: "f-struct-form f-struct-wrapper"
7463
7445
  }, a.contents = [t], a;
7464
7446
  }
7465
- function Sr(e, t, n) {
7447
+ function Tr(e, t, n) {
7466
7448
  t.appearance = { class: "f-form-layout farris-form farris-form-controls-inline" };
7467
- const o = wr(e, t, n, t.id);
7468
- return xr(e, o, n, t.id);
7449
+ const o = xr(e, t, n, t.id);
7450
+ return Sr(e, o, n, t.id);
7469
7451
  }
7470
- const Tr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-design.gitee.io/response-form.schema.json", kr = "response-form", Ir = "A Farris Data Collection Component", Fr = "object", Br = {
7452
+ const _r = "https://json-schema.org/draft/2020-12/schema", kr = "https://farris-design.gitee.io/response-form.schema.json", Ir = "response-form", Fr = "A Farris Data Collection Component", Br = "object", Mr = {
7471
7453
  id: {
7472
7454
  description: "The unique identifier for a form group",
7473
7455
  type: "string"
@@ -7495,18 +7477,18 @@ const Tr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-
7495
7477
  type: "array",
7496
7478
  default: []
7497
7479
  }
7498
- }, Mr = [
7480
+ }, Pr = [
7499
7481
  "id",
7500
7482
  "type"
7501
- ], Pr = {
7502
- $schema: Tr,
7503
- $id: _r,
7504
- title: kr,
7505
- description: Ir,
7506
- type: Fr,
7507
- properties: Br,
7508
- required: Mr
7509
- }, Er = "response-form", Or = "A Farris Component", Dr = "object", jr = {
7483
+ ], Er = {
7484
+ $schema: _r,
7485
+ $id: kr,
7486
+ title: Ir,
7487
+ description: Fr,
7488
+ type: Br,
7489
+ properties: Mr,
7490
+ required: Pr
7491
+ }, Or = "response-form", Dr = "A Farris Component", jr = "object", Vr = {
7510
7492
  basic: {
7511
7493
  description: "Basic Infomation",
7512
7494
  title: "基本信息",
@@ -7528,16 +7510,16 @@ const Tr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-
7528
7510
  }
7529
7511
  }
7530
7512
  }
7531
- }, Vr = {
7532
- title: Er,
7533
- description: Or,
7534
- type: Dr,
7535
- categories: jr
7536
7513
  }, Rr = {
7514
+ title: Or,
7515
+ description: Dr,
7516
+ type: jr,
7517
+ categories: Vr
7518
+ }, Ar = {
7537
7519
  customClass: { type: String, default: "" }
7538
7520
  };
7539
- ge(Rr, Pr, Ot, Sr, Vr);
7540
- const Ar = "https://json-schema.org/draft/2020-12/schema", $r = "https://farris-design.gitee.io/form-group.schema.json", Lr = "form-group", Nr = "A Farris Input Component", Hr = "object", zr = {
7521
+ ge(Ar, Er, Ot, Tr, Rr);
7522
+ const $r = "https://json-schema.org/draft/2020-12/schema", Lr = "https://farris-design.gitee.io/form-group.schema.json", Nr = "form-group", Hr = "A Farris Input Component", zr = "object", Gr = {
7541
7523
  id: {
7542
7524
  description: "The unique identifier for a form group",
7543
7525
  type: "string"
@@ -7578,17 +7560,17 @@ const Ar = "https://json-schema.org/draft/2020-12/schema", $r = "https://farris-
7578
7560
  description: "",
7579
7561
  type: "number"
7580
7562
  }
7581
- }, Gr = [
7563
+ }, qr = [
7582
7564
  "id",
7583
7565
  "type"
7584
7566
  ], jn = {
7585
- $schema: Ar,
7586
- $id: $r,
7587
- title: Lr,
7588
- description: Nr,
7589
- type: Hr,
7590
- properties: zr,
7591
- required: Gr
7567
+ $schema: $r,
7568
+ $id: Lr,
7569
+ title: Nr,
7570
+ description: Hr,
7571
+ type: zr,
7572
+ properties: Gr,
7573
+ required: qr
7592
7574
  }, Vn = {
7593
7575
  id: { type: String, default: "" },
7594
7576
  customClass: { type: String, default: "" },
@@ -7609,7 +7591,7 @@ ge(
7609
7591
  Ot,
7610
7592
  void 0
7611
7593
  );
7612
- function qr(e, t) {
7594
+ function Wr(e, t) {
7613
7595
  var O;
7614
7596
  const n = e.schema, o = (O = e.parent) == null ? void 0 : O.schema, a = ot(), s = m(!1), i = m(!1);
7615
7597
  let r = !0, c = !1, u, f = !1;
@@ -7727,20 +7709,20 @@ function qr(e, t) {
7727
7709
  triggerBelongedComponentToDeleteWhenDeleted: i
7728
7710
  };
7729
7711
  }
7730
- const Wr = {
7712
+ const Ur = {
7731
7713
  id: { type: String },
7732
7714
  required: { type: Boolean, default: !1 },
7733
7715
  text: { type: String, default: "" },
7734
7716
  title: { type: String }
7735
- }, Ur = /* @__PURE__ */ ee({
7717
+ }, Kr = /* @__PURE__ */ ee({
7736
7718
  name: "FDynamicFormLabel",
7737
- props: Wr,
7719
+ props: Ur,
7738
7720
  emits: [],
7739
7721
  setup(e, t) {
7740
7722
  const n = m(e.title || e.text), o = m(e.required), a = m(e.text);
7741
- return G(() => e.text, () => {
7723
+ return W(() => e.text, () => {
7742
7724
  a.value = e.text;
7743
- }), G(() => e.required, (s, i) => {
7725
+ }), W(() => e.required, (s, i) => {
7744
7726
  s !== i && (o.value = s);
7745
7727
  }), () => l("label", {
7746
7728
  class: "col-form-label",
@@ -7751,13 +7733,13 @@ const Wr = {
7751
7733
  class: "farris-label-text"
7752
7734
  }, [a.value])]);
7753
7735
  }
7754
- }), Kr = /* @__PURE__ */ new Map([
7736
+ }), Xr = /* @__PURE__ */ new Map([
7755
7737
  ["appearance", Oe]
7756
7738
  ]);
7757
- function Xr(e, t, n) {
7739
+ function Yr(e, t, n) {
7758
7740
  return t;
7759
7741
  }
7760
- const Yr = "https://json-schema.org/draft/2020-12/schema", Qr = "https://farris-design.gitee.io/input-group.schema.json", Zr = "input-group", Jr = "A Farris Input Component", ec = "object", tc = {
7742
+ const Qr = "https://json-schema.org/draft/2020-12/schema", Zr = "https://farris-design.gitee.io/input-group.schema.json", Jr = "input-group", ec = "A Farris Input Component", tc = "object", nc = {
7761
7743
  id: {
7762
7744
  description: "The unique identifier for a Input Group",
7763
7745
  type: "string"
@@ -7959,17 +7941,17 @@ const Yr = "https://json-schema.org/draft/2020-12/schema", Qr = "https://farris-
7959
7941
  type: "string",
7960
7942
  default: ""
7961
7943
  }
7962
- }, nc = [
7944
+ }, oc = [
7963
7945
  "id",
7964
7946
  "type"
7965
- ], oc = {
7966
- $schema: Yr,
7967
- $id: Qr,
7968
- title: Zr,
7969
- description: Jr,
7970
- type: ec,
7971
- properties: tc,
7972
- required: nc
7947
+ ], ac = {
7948
+ $schema: Qr,
7949
+ $id: Zr,
7950
+ title: Jr,
7951
+ description: ec,
7952
+ type: tc,
7953
+ properties: nc,
7954
+ required: oc
7973
7955
  }, Rn = {
7974
7956
  /** 是否自动完成 */
7975
7957
  autocomplete: { Type: String, default: "off" },
@@ -8037,17 +8019,17 @@ const Yr = "https://json-schema.org/draft/2020-12/schema", Qr = "https://farris-
8037
8019
  */
8038
8020
  updateOn: { type: String, default: "blur" }
8039
8021
  };
8040
- ge(Rn, oc, Kr, Xr);
8041
- function ac(e, t) {
8022
+ ge(Rn, ac, Xr, Yr);
8023
+ function sc(e, t) {
8042
8024
  const n = m(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
8043
8025
  return { appendedButtonClass: B(() => ({
8044
8026
  "input-group-append": !0,
8045
8027
  "append-force-show": o.value
8046
8028
  })), appendedContent: n, shouldShowAppendedButton: a };
8047
8029
  }
8048
- function sc(e, t, n, o) {
8030
+ function lc(e, t, n, o) {
8049
8031
  const { appendedContent: a } = o, s = m(e.enableViewPassword), i = B(() => e.type === "password"), r = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', c = '<span class="f-icon f-icon-eye"></span>', u = m(!1);
8050
- G(() => [e.readonly, e.disabled], ([h, T]) => {
8032
+ W(() => [e.readonly, e.disabled], ([h, T]) => {
8051
8033
  i.value && (n.value = h || T ? "password" : n.value, a.value = h || T ? c : a.value);
8052
8034
  });
8053
8035
  function f() {
@@ -8058,7 +8040,7 @@ function sc(e, t, n, o) {
8058
8040
  }
8059
8041
  return v(), { isPassword: i, onClickAppendedButton: f };
8060
8042
  }
8061
- function lc(e, t, n) {
8043
+ function ic(e, t, n) {
8062
8044
  const o = m(), {
8063
8045
  onBlurTextBox: a,
8064
8046
  onFocusTextBox: s,
@@ -8098,7 +8080,7 @@ function lc(e, t, n) {
8098
8080
  onKeydown: r
8099
8081
  }, null);
8100
8082
  }
8101
- function ic(e, t, n) {
8083
+ function rc(e, t, n) {
8102
8084
  const {
8103
8085
  canDownward: o,
8104
8086
  canUpward: a,
@@ -8139,12 +8121,12 @@ function ic(e, t, n) {
8139
8121
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
8140
8122
  }, null)])]);
8141
8123
  }
8142
- function rc(e, t) {
8143
- const n = ea(e, t), o = ta(e, t, n), a = na(e, t, o, n), s = oa(e, t, o, n, a), i = ic(e, t, a), {
8124
+ function cc(e, t) {
8125
+ const n = ea(e, t), o = ta(e, t, n), a = na(e, t, o, n), s = oa(e, t, o, n, a), i = rc(e, t, a), {
8144
8126
  displayValue: r,
8145
8127
  modelValue: c,
8146
8128
  getRealValue: u
8147
- } = n, f = lc(e, t, s), {
8129
+ } = n, f = ic(e, t, s), {
8148
8130
  format: v
8149
8131
  } = o, {
8150
8132
  isFocus: h
@@ -8152,18 +8134,18 @@ function rc(e, t) {
8152
8134
  return ae(() => {
8153
8135
  const y = u(e.modelValue);
8154
8136
  r.value = v(y);
8155
- }), G(() => [e.value], ([y]) => {
8137
+ }), W(() => [e.value], ([y]) => {
8156
8138
  const d = u(y);
8157
8139
  c.value = d, r.value = v(d);
8158
- }), G(() => [e.modelValue], ([y]) => {
8140
+ }), W(() => [e.modelValue], ([y]) => {
8159
8141
  y !== c.value && (c.value = y, !h.value && (r.value = v(u(y))));
8160
- }), G(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
8142
+ }), W(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
8161
8143
  r.value = v(c.value);
8162
8144
  }), () => l("div", {
8163
8145
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
8164
8146
  }, [f(), T.value && i()]);
8165
8147
  }
8166
- function cc(e, t, n, o) {
8148
+ function uc(e, t, n, o) {
8167
8149
  const a = m(), s = m(e.autocomplete), i = m(e.enableTitle), {
8168
8150
  isPassword: r
8169
8151
  } = n, c = m(e.minLength), u = m(e.maxLength), f = m(e.tabIndex), {
@@ -8209,7 +8191,7 @@ function cc(e, t, n, o) {
8209
8191
  onMousedown: E
8210
8192
  }, null);
8211
8193
  }
8212
- function uc(e, t) {
8194
+ function dc(e, t) {
8213
8195
  const n = B(() => e.useExtendInfo && !!e.extendInfo), o = Ie({
8214
8196
  content: e.extendInfo
8215
8197
  });
@@ -8225,7 +8207,7 @@ function uc(e, t) {
8225
8207
  class: "tips-arrow"
8226
8208
  }, null)]), [[ko("tooltip"), o]]);
8227
8209
  }
8228
- function dc(e, t, n, o, a) {
8210
+ function pc(e, t, n, o, a) {
8229
8211
  const {
8230
8212
  appendedButtonClass: s,
8231
8213
  appendedContent: i
@@ -8277,24 +8259,24 @@ function dc(e, t, n, o, a) {
8277
8259
  class: s.value
8278
8260
  }, [T.value && y(), _ && _()]);
8279
8261
  }
8280
- const pc = /* @__PURE__ */ ee({
8262
+ const fc = /* @__PURE__ */ ee({
8281
8263
  name: "FInputGroup",
8282
8264
  props: Rn,
8283
8265
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
8284
8266
  setup(e, t) {
8285
- const n = m(e.modelValue), o = m(e.modelValue), a = mi(e, t, n, o), {
8267
+ const n = m(e.modelValue), o = m(e.modelValue), a = vi(e, t, n, o), {
8286
8268
  inputGroupClass: s,
8287
8269
  inputType: i,
8288
8270
  inputGroupStyle: r
8289
- } = a, c = ac(e), {
8271
+ } = a, c = sc(e), {
8290
8272
  shouldShowAppendedButton: u
8291
- } = c, f = vi(e, t, a), {
8273
+ } = c, f = gi(e, t, a), {
8292
8274
  onMouseEnter: v,
8293
8275
  onMouseLeave: h
8294
- } = f, T = sc(e, t, i, c), y = rc(e, t), d = cc(e, t, T, a), x = dc(e, t, c, f, T), g = uc(e, t), b = B(() => e.type === "number");
8295
- G(() => [e.value], ([E]) => {
8276
+ } = f, T = lc(e, t, i, c), y = cc(e, t), d = uc(e, t, T, a), x = pc(e, t, c, f, T), g = dc(e, t), b = B(() => e.type === "number");
8277
+ W(() => [e.value], ([E]) => {
8296
8278
  n.value = E, o.value = E;
8297
- }), G(() => [e.modelValue], ([E]) => {
8279
+ }), W(() => [e.modelValue], ([E]) => {
8298
8280
  n.value = E, o.value = E;
8299
8281
  }), ae(() => {
8300
8282
  e.value && (n.value = e.value, o.value = e.value);
@@ -8308,19 +8290,19 @@ const pc = /* @__PURE__ */ ee({
8308
8290
  }, [b.value ? y() : l(fe, null, [g(), d(), u.value && x()])])]);
8309
8291
  return () => F();
8310
8292
  }
8311
- }), q = {}, W = {}, U = {}, K = {};
8293
+ }), G = {}, q = {}, U = {}, K = {};
8312
8294
  let Lt = !1;
8313
- function fc() {
8314
- Lt || (Lt = !0, sa.register(q, W, U, K), aa.register(q, W, U, K), Yt.register(q, W, U, K), la.register(q, W, U, K), ia.register(q, W, U, K), Ut.register(q, W, U, K), qo.register(q, W, U, K), bt.register(q, W, U, K), ra.register(q, W, U, K), ca.register(q, W, U, K), da.register(q, W, U, K), ua.register(q, W, U, K), pa.register(q, W, U, K), fa.register(q, W, U, K), ma.register(q, W, U, K), Qo.register(q, W, U, K), va.register(q, W, U, K), Xo.register(q, W, U, K), ga.register(q, W, U, K), ha.register(q, W, U, K), ya.register(q, W, U, K), ba.register(q, W, U, K), Qt.register(q, W, U, K), Ca.register(q, W, U, K), wa.register(q, W, U, K), xa.register(q, W, U, K), Sa.register(q, W, U, K), Ta.register(q, W, U, K), Jo.register(q, W, U, K), Ko.register(q, W, U, K), _a.register(q, W, U, K), ka.register(q, W, U, K), Yo.register(q, W, U, K), Ia.register(q, W, U, K), Fa.register(q, W, U, K), Ba.register(q, W, U, K), Ma.register(q, W, U, K), Pa.register(q, W, U, K), Ea.register(q, W, U, K), St.register(q, W, U, K), Wa.register(q, W, U), Oa.register(q, W, U, K), Kt.register(q, W, U, K), Da.register(q, W, U, K), ja.register(q, W, U, K), Va.register(q, W, U, K), Ra.register(q, W, U, K), Uo.register(q, W, U, K), Zt.register(q, W, U, K), Aa.register(q, W, U, K), $a.register(q, W, U, K), Wo.register(q, W, U, K), La.register(q, W, U, K), Ha.register(q, W, U, K), Na.register(q, W, U, K), za.register(q, W, U, K), Ga.register(q, W, U, K), qa.register(q, W, U, K));
8295
+ function mc() {
8296
+ Lt || (Lt = !0, sa.register(G, q, U, K), aa.register(G, q, U, K), Yt.register(G, q, U, K), la.register(G, q, U, K), ia.register(G, q, U, K), Ut.register(G, q, U, K), qo.register(G, q, U, K), bt.register(G, q, U, K), ra.register(G, q, U, K), ca.register(G, q, U, K), da.register(G, q, U, K), ua.register(G, q, U, K), pa.register(G, q, U, K), fa.register(G, q, U, K), ma.register(G, q, U, K), Qo.register(G, q, U, K), va.register(G, q, U, K), Xo.register(G, q, U, K), ga.register(G, q, U, K), ha.register(G, q, U, K), ya.register(G, q, U, K), ba.register(G, q, U, K), Qt.register(G, q, U, K), Ca.register(G, q, U, K), wa.register(G, q, U, K), xa.register(G, q, U, K), Sa.register(G, q, U, K), Ta.register(G, q, U, K), Jo.register(G, q, U, K), Ko.register(G, q, U, K), _a.register(G, q, U, K), ka.register(G, q, U, K), Yo.register(G, q, U, K), Ia.register(G, q, U, K), Fa.register(G, q, U, K), Ba.register(G, q, U, K), Ma.register(G, q, U, K), Pa.register(G, q, U, K), Ea.register(G, q, U, K), St.register(G, q, U, K), Wa.register(G, q, U), Oa.register(G, q, U, K), Kt.register(G, q, U, K), Da.register(G, q, U, K), ja.register(G, q, U, K), Va.register(G, q, U, K), Ra.register(G, q, U, K), Uo.register(G, q, U, K), Zt.register(G, q, U, K), Aa.register(G, q, U, K), $a.register(G, q, U, K), Wo.register(G, q, U, K), La.register(G, q, U, K), Ha.register(G, q, U, K), Na.register(G, q, U, K), za.register(G, q, U, K), Ga.register(G, q, U, K), qa.register(G, q, U, K), Ua.register(G, q, U, K));
8315
8297
  }
8316
8298
  function An() {
8317
- fc();
8299
+ mc();
8318
8300
  function e(a, s) {
8319
- const i = W[a];
8301
+ const i = q[a];
8320
8302
  return i ? i(s) : {};
8321
8303
  }
8322
8304
  function t(a) {
8323
- return q[a] || pc;
8305
+ return G[a] || fc;
8324
8306
  }
8325
8307
  function n(a) {
8326
8308
  switch (a) {
@@ -8386,7 +8368,7 @@ function An() {
8386
8368
  }
8387
8369
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
8388
8370
  }
8389
- const mc = /* @__PURE__ */ ee({
8371
+ const vc = /* @__PURE__ */ ee({
8390
8372
  name: "FDynamicFormGroup",
8391
8373
  props: Vn,
8392
8374
  emits: ["change", "update:modelValue"],
@@ -8419,7 +8401,7 @@ const mc = /* @__PURE__ */ ee({
8419
8401
  "onUpdate:modelValue": (k) => i.value = k
8420
8402
  }), null);
8421
8403
  });
8422
- return G([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([E, P, _, O, M, k, I, S, C]) => {
8404
+ return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([E, P, _, O, M, k, I, S, C]) => {
8423
8405
  n.value = E, o.value = P, a.value = _, s.value = O, i.value = M, r.value = k, c.value = I, u.value = S, f.value = C;
8424
8406
  }), t.expose({
8425
8407
  editorRef: v
@@ -8430,7 +8412,7 @@ const mc = /* @__PURE__ */ ee({
8430
8412
  class: "farris-group-wrap"
8431
8413
  }, [l("div", {
8432
8414
  class: x.value
8433
- }, [u.value && l(Ur, {
8415
+ }, [u.value && l(Kr, {
8434
8416
  id: `${n.value}-lable`,
8435
8417
  required: c.value,
8436
8418
  text: s.value,
@@ -8460,7 +8442,7 @@ ge(
8460
8442
  Ot,
8461
8443
  void 0
8462
8444
  );
8463
- const vc = /* @__PURE__ */ ee({
8445
+ const gc = /* @__PURE__ */ ee({
8464
8446
  name: "FDynamicFormInput",
8465
8447
  props: $n,
8466
8448
  emits: ["change", "update:modelValue"],
@@ -8482,13 +8464,13 @@ const vc = /* @__PURE__ */ ee({
8482
8464
  "onUpdate:modelValue": (T) => a.value = T
8483
8465
  }), null);
8484
8466
  });
8485
- return G([() => e.id, () => e.editor, () => e.modelValue], ([f, v, h]) => {
8467
+ return W([() => e.id, () => e.editor, () => e.modelValue], ([f, v, h]) => {
8486
8468
  n.value = f, o.value = v, a.value = h;
8487
8469
  }), () => u.value();
8488
8470
  }
8489
8471
  });
8490
8472
  var Ln = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Ln || {}), Nn = /* @__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))(Nn || {});
8491
- const gc = [
8473
+ const hc = [
8492
8474
  {
8493
8475
  value: "0",
8494
8476
  name: "等于"
@@ -8525,7 +8507,7 @@ const gc = [
8525
8507
  value: "8",
8526
8508
  name: "结束是"
8527
8509
  }
8528
- ], hc = {
8510
+ ], yc = {
8529
8511
  "button-edit": ["0", "1", " 6", "7", "8"],
8530
8512
  "check-box": ["0"],
8531
8513
  "combo-list": ["0", "1"],
@@ -8545,14 +8527,14 @@ const gc = [
8545
8527
  "radio-group": ["0"],
8546
8528
  text: ["0", "1", " 6", "7", "8"]
8547
8529
  };
8548
- function yc(e, t, n) {
8530
+ function bc(e, t, n) {
8549
8531
  const { fieldMap: o } = n;
8550
8532
  function a(s) {
8551
8533
  const i = o.get(s.fieldCode);
8552
8534
  if (!i)
8553
8535
  return [];
8554
- const r = i.editor.type, c = new Set(hc[r]);
8555
- return gc.filter((f) => c.has(f.value));
8536
+ const r = i.editor.type, c = new Set(yc[r]);
8537
+ return hc.filter((f) => c.has(f.value));
8556
8538
  }
8557
8539
  return { getCompareOperators: a };
8558
8540
  }
@@ -8725,7 +8707,7 @@ function Hn() {
8725
8707
  unGroup: E
8726
8708
  };
8727
8709
  }
8728
- function bc(e, t, n) {
8710
+ function Cc(e, t, n) {
8729
8711
  const o = m(/* @__PURE__ */ new Set()), a = m(/* @__PURE__ */ new Set()), { conditionGroupMap: s, groupParentMap: i } = n;
8730
8712
  let r, c;
8731
8713
  function u(g) {
@@ -8792,12 +8774,12 @@ const ht = /* @__PURE__ */ ee({
8792
8774
  unGroup: F
8793
8775
  } = u, {
8794
8776
  createConditionValue: E
8795
- } = On(), P = bc(e, t, u), {
8777
+ } = On(), P = Cc(e, t, u), {
8796
8778
  selectedItems: _,
8797
8779
  toggleSelect: O
8798
8780
  } = P, {
8799
8781
  getCompareOperators: M
8800
- } = yc(e, t, a);
8782
+ } = bc(e, t, a);
8801
8783
  c(!1), i.value = s(i.value), d(o.value);
8802
8784
  function k(A) {
8803
8785
  var $;
@@ -8845,7 +8827,7 @@ const ht = /* @__PURE__ */ ee({
8845
8827
  onChange: (N) => I(N, V)
8846
8828
  }, null)]), l("div", {
8847
8829
  class: "condition-list-item-control mr-3"
8848
- }, [l(mc, {
8830
+ }, [l(vc, {
8849
8831
  editor: ($ = r.get(V.fieldCode)) == null ? void 0 : $.editor,
8850
8832
  showLabel: !1,
8851
8833
  modelValue: V.value.value,
@@ -8928,7 +8910,7 @@ const ht = /* @__PURE__ */ ee({
8928
8910
  ht.install = (e) => {
8929
8911
  e.component($t.name, $t).component(ht.name, ht);
8930
8912
  };
8931
- const Cc = [
8913
+ const wc = [
8932
8914
  "equal",
8933
8915
  "notEqual",
8934
8916
  "greaterThan",
@@ -8938,16 +8920,16 @@ const Cc = [
8938
8920
  "contain",
8939
8921
  "startWidth",
8940
8922
  "endWidth"
8941
- ], wc = {
8923
+ ], xc = {
8942
8924
  equal: (e, t, n) => e && e[t] === n,
8943
8925
  notEqual: (e, t, n) => e && e[t] !== n,
8944
8926
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
8945
8927
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
8946
8928
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
8947
- }, xc = {
8929
+ }, Sc = {
8948
8930
  equal: (e, t, n) => e && e[t] === n,
8949
8931
  notEqual: (e, t, n) => e && e[t] !== n
8950
- }, Sc = {
8932
+ }, Tc = {
8951
8933
  equal: (e, t, n) => {
8952
8934
  if (e) {
8953
8935
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -8990,10 +8972,10 @@ const Cc = [
8990
8972
  }
8991
8973
  return !1;
8992
8974
  }
8993
- }, Tc = {
8975
+ }, _c = {
8994
8976
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
8995
8977
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((a) => a === String(e[t])) === -1 : !1
8996
- }, _c = {
8978
+ }, kc = {
8997
8979
  equal: (e, t, n) => {
8998
8980
  if (e) {
8999
8981
  const o = Number.parseFloat(String(n)), a = Number.parseFloat(String(e[t]));
@@ -9037,13 +9019,13 @@ const Cc = [
9037
9019
  return !1;
9038
9020
  }
9039
9021
  };
9040
- function kc() {
9022
+ function Ic() {
9041
9023
  const e = m([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Hn(), o = /* @__PURE__ */ new Map([
9042
- ["boolean", xc],
9043
- ["datetime", Sc],
9044
- ["enum", Tc],
9045
- ["number", _c],
9046
- ["text", wc]
9024
+ ["boolean", Sc],
9025
+ ["datetime", Tc],
9026
+ ["enum", _c],
9027
+ ["number", kc],
9028
+ ["text", xc]
9047
9029
  ]);
9048
9030
  function a(v) {
9049
9031
  t.delete(v), e.value = Array.from(t.values());
@@ -9052,7 +9034,7 @@ function kc() {
9052
9034
  t.clear(), e.value = [];
9053
9035
  }
9054
9036
  function i(v) {
9055
- const { valueType: h } = v.value, T = v.compareType || "0", y = Cc[Number(T)];
9037
+ const { valueType: h } = v.value, T = v.compareType || "0", y = wc[Number(T)];
9056
9038
  return o.get(h)[y];
9057
9039
  }
9058
9040
  function r(v) {
@@ -9161,7 +9143,7 @@ function zn(e, t) {
9161
9143
  }
9162
9144
  return { collpaseGroupIconClass: d, generateGroupData: y, groupFields: s, shouldGroupingData: i };
9163
9145
  }
9164
- function Ic(e, t, n, o) {
9146
+ function Fc(e, t, n, o) {
9165
9147
  const a = m(!!e.hierarchy), { idField: s } = o, { collapseField: i, hasChildrenField: r, parentIdField: c } = n, u = /* @__PURE__ */ new Map();
9166
9148
  function f(C, p) {
9167
9149
  const w = /* @__PURE__ */ new Map();
@@ -9305,7 +9287,7 @@ function Ic(e, t, n, o) {
9305
9287
  }
9306
9288
  return { generateHierarchyData: M, hasRealChildren: _, insertSibling: k, insertChild: I, shouldStratifyData: a, trimmedOriginalData: S };
9307
9289
  }
9308
- const Fc = {
9290
+ const Bc = {
9309
9291
  showCloseButton: { type: Boolean, default: !0 },
9310
9292
  position: { type: String, default: "top-center" },
9311
9293
  timeout: { type: Number, default: 3e3 },
@@ -9317,13 +9299,13 @@ const Fc = {
9317
9299
  id: { type: String },
9318
9300
  animate: { type: String, default: "fadeIn" },
9319
9301
  options: { type: Object }
9320
- }, Bc = {
9302
+ }, Mc = {
9321
9303
  showCloseButton: { type: Boolean, default: !0 },
9322
9304
  animate: { type: String, default: "fadeIn" },
9323
9305
  options: { type: Object }
9324
9306
  }, wt = /* @__PURE__ */ ee({
9325
9307
  name: "Toast",
9326
- props: Bc,
9308
+ props: Mc,
9327
9309
  emits: ["close", "click"],
9328
9310
  setup: (e, t) => {
9329
9311
  const n = m(e.animate), o = "fadeOut", a = B(() => e.options), s = m(!1), i = B(() => {
@@ -9348,7 +9330,7 @@ const Fc = {
9348
9330
  function d(g) {
9349
9331
  return `f-preten-link ${g.customClass ? g.customClass : ""}`;
9350
9332
  }
9351
- G(n, () => {
9333
+ W(n, () => {
9352
9334
  n.value;
9353
9335
  });
9354
9336
  const x = () => {
@@ -9396,7 +9378,7 @@ const Fc = {
9396
9378
  }
9397
9379
  }), Xe = /* @__PURE__ */ ee({
9398
9380
  name: "Notify",
9399
- props: Fc,
9381
+ props: Bc,
9400
9382
  emits: ["close", "empty"],
9401
9383
  setup(e, t) {
9402
9384
  const n = B(() => ({
@@ -9546,22 +9528,22 @@ class Gn {
9546
9528
  }), this.notifyRefs.length = 0;
9547
9529
  }
9548
9530
  }
9549
- const Mc = Symbol("NOTIFY_SERVICE_TOKEN");
9531
+ const Pc = Symbol("NOTIFY_SERVICE_TOKEN");
9550
9532
  Xe.install = (e) => {
9551
9533
  e.component(Xe.name, Xe), e.component(wt.name, wt);
9552
9534
  const t = new Gn();
9553
- e.provide(Mc, t), e.provide("FNotifyService", t);
9535
+ e.provide(Pc, t), e.provide("FNotifyService", t);
9554
9536
  };
9555
- function Pc(e, t, n, o, a) {
9537
+ function Ec(e, t, n, o, a) {
9556
9538
  var jt;
9557
- const { pageSize: s, total: i, shouldRenderPagination: r, currentPage: c, mode: u } = a, f = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), d = m([]), x = m([]), g = kc(), b = zn(e, o), { generateGroupData: F, groupFields: E, shouldGroupingData: P } = b, _ = m(e.data), O = Ic(e, _, n, o), {
9539
+ const { pageSize: s, total: i, shouldRenderPagination: r, currentPage: c, mode: u } = a, f = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map(), d = m([]), x = m([]), g = Ic(), b = zn(e, o), { generateGroupData: F, groupFields: E, shouldGroupingData: P } = b, _ = m(e.data), O = Fc(e, _, n, o), {
9558
9540
  generateHierarchyData: M,
9559
9541
  hasRealChildren: k,
9560
9542
  insertSibling: I,
9561
9543
  insertChild: S,
9562
9544
  shouldStratifyData: C,
9563
9545
  trimmedOriginalData: p
9564
- } = O, { idField: w, reviseIdentifyField: D } = o, R = m(e.newDataItem), j = m(e.data), A = m(e.data), { flatTreeData: V } = Hc(e);
9546
+ } = O, { idField: w, reviseIdentifyField: D } = o, R = m(e.newDataItem), j = m(e.data), A = m(e.data), { flatTreeData: V } = zc(e);
9565
9547
  if (e.data && ((jt = e.data[0]) != null && jt.children)) {
9566
9548
  const H = re(e.data);
9567
9549
  _.value = H, j.value = H, A.value = H;
@@ -9770,7 +9752,7 @@ function Pc(e, t, n, o, a) {
9770
9752
  originalData: _
9771
9753
  };
9772
9754
  }
9773
- function Ec(e) {
9755
+ function Oc(e) {
9774
9756
  m(e.selection.showCheckbox || !1);
9775
9757
  const t = B(() => {
9776
9758
  var i;
@@ -9781,10 +9763,10 @@ function Ec(e) {
9781
9763
  }), o = B(() => {
9782
9764
  var i;
9783
9765
  return ((i = e.hierarchy) == null ? void 0 : i.parentIdField) || "parent";
9784
- }), a = B(() => e.hierarchy && e.selection.showCheckbox && e.selection.enableSelectRow && e.selection.multiSelect), s = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
9766
+ }), a = B(() => e.hierarchy && e.selection.showCheckbox), s = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
9785
9767
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: a, shouldShowIcon: s };
9786
9768
  }
9787
- function Oc(e, t, n, o, a, s, i, r) {
9769
+ function Dc(e, t, n, o, a, s, i, r) {
9788
9770
  const c = m(o.value - 1 + a), u = m(0), { renderDataRow: f } = s, v = i ? i.renderGroupRow : f, h = r ? r.renderSummaryRow : f;
9789
9771
  function T(x) {
9790
9772
  let g = f;
@@ -9809,9 +9791,9 @@ function Oc(e, t, n, o, a, s, i, r) {
9809
9791
  }
9810
9792
  return { getVisualData: y, maxVisibleRowIndex: c, minVisibleRowIndex: u, toggleGroupRow: d };
9811
9793
  }
9812
- function Dc(e, t, n) {
9794
+ function jc(e, t, n) {
9813
9795
  var y;
9814
- const o = m(e.mergeCell), s = ((y = m(e.rowOption).value) == null ? void 0 : y.wrapContent) || !1, { updateVisualInfomation: i } = n, { renderCommandColumn: r } = ir();
9796
+ const o = m(e.mergeCell), s = ((y = m(e.rowOption).value) == null ? void 0 : y.wrapContent) || !1, { updateVisualInfomation: i } = n, { renderCommandColumn: r } = rr();
9815
9797
  function c(d, x, g, b, F, E = 1) {
9816
9798
  const P = {
9817
9799
  colSpan: E,
@@ -9865,7 +9847,7 @@ function Dc(e, t, n) {
9865
9847
  }
9866
9848
  return { createCellByColumn: T, createCellByField: c };
9867
9849
  }
9868
- function jc(e, t, n, o, a, s) {
9850
+ function Vc(e, t, n, o, a, s) {
9869
9851
  var g, b;
9870
9852
  const i = m(e.rowOption), r = ((g = i.value) == null ? void 0 : g.height) || 28, c = ((b = i.value) == null ? void 0 : b.wrapContent) || !1, { idField: u } = o, { collapseField: f } = n, { updateRowPosition: v } = a, { createCellByColumn: h } = s;
9871
9853
  function T(F, E, P, _, O, M) {
@@ -9912,7 +9894,7 @@ function jc(e, t, n, o, a, s) {
9912
9894
  }
9913
9895
  return { createEmptyRow: T, createNewRowFromDataItem: y, renderDataRow: x };
9914
9896
  }
9915
- function Vc(e, t, n, o) {
9897
+ function Rc(e, t, n, o) {
9916
9898
  const a = m(e.summary), { idField: s } = t, { createCellByField: i } = n, { createEmptyRow: r } = o, c = B(() => {
9917
9899
  const h = a.value;
9918
9900
  return (h == null ? void 0 : h.groupFields) || [];
@@ -9940,7 +9922,7 @@ function Vc(e, t, n, o) {
9940
9922
  }
9941
9923
  return { renderGroupRow: v };
9942
9924
  }
9943
- function Rc(e, t, n, o) {
9925
+ function Ac(e, t, n, o) {
9944
9926
  const { idField: a } = t, { createCellByField: s } = n, { createEmptyRow: i } = o;
9945
9927
  function r(c, u, f, v, h, T) {
9946
9928
  const y = c.__fv_data_grid_group_field__, d = i(st.summary, v, c, u, f, h);
@@ -9948,14 +9930,14 @@ function Rc(e, t, n, o) {
9948
9930
  }
9949
9931
  return { renderSummaryRow: r };
9950
9932
  }
9951
- function Ac(e, t) {
9933
+ function $c(e, t) {
9952
9934
  var E;
9953
9935
  const {
9954
9936
  idField: n
9955
9937
  } = t, o = m(e.editable), a = m(e.editOption), s = m(((E = e.rowOption) == null ? void 0 : E.wrapContent) || !1);
9956
- G(() => e.editable, () => {
9938
+ W(() => e.editable, () => {
9957
9939
  o.value = e.editable;
9958
- }), G(() => {
9940
+ }), W(() => {
9959
9941
  var P;
9960
9942
  return (P = e.editOption) == null ? void 0 : P.editMode;
9961
9943
  }, (P) => {
@@ -10001,7 +9983,7 @@ function Ac(e, t) {
10001
9983
  const M = _.dataType, k = _.editor || {
10002
9984
  type: i.get(M) || "input-group"
10003
9985
  };
10004
- return !s.value && k.type === "text" && (k.type = "input-group"), k ? l(vc, {
9986
+ return !s.value && k.type === "text" && (k.type = "input-group"), k ? l(gc, {
10005
9987
  focusOnCreated: e.focusOnEditingCell,
10006
9988
  selectOnCreated: e.selectOnEditingCell,
10007
9989
  editor: k,
@@ -10018,7 +10000,7 @@ function Ac(e, t) {
10018
10000
  getEditor: F
10019
10001
  };
10020
10002
  }
10021
- function $c(e) {
10003
+ function Lc(e) {
10022
10004
  const t = m(e.idField);
10023
10005
  function n(o) {
10024
10006
  if (o && o.length) {
@@ -10028,9 +10010,9 @@ function $c(e) {
10028
10010
  }
10029
10011
  return { idField: t, reviseIdentifyField: n };
10030
10012
  }
10031
- function Lc(e, t, n, o, a) {
10013
+ function Nc(e, t, n, o, a) {
10032
10014
  const { idField: s } = n, i = m(""), r = m(e.selection.enableSelectRow ?? !0), c = m(e.selection.multiSelect ?? !1), u = m(e.selection.multiSelectMode), f = m(e.selection.showCheckbox), v = m(e.selection.showSelectAll), h = m(e.selectionValues);
10033
- G(() => e.selection.showSelectAll, (V, $) => {
10015
+ W(() => e.selection.showSelectAll, (V, $) => {
10034
10016
  V !== $ && (v.value = V);
10035
10017
  });
10036
10018
  function T() {
@@ -10057,11 +10039,11 @@ function Lc(e, t, n, o, a) {
10057
10039
  $.checked = !0, $.raw.__fv_checked__ = !0;
10058
10040
  });
10059
10041
  }
10060
- G(() => o.value, () => {
10042
+ W(() => o.value, () => {
10061
10043
  P();
10062
- }), G(() => e.selectionValues, (V) => {
10044
+ }), W(() => e.selectionValues, (V) => {
10063
10045
  h.value = V, P();
10064
- }, { immediate: !0 }), G(() => e.selection, (V) => {
10046
+ }, { immediate: !0 }), W(() => e.selection, (V) => {
10065
10047
  r.value = !!V.enableSelectRow, c.value = !!V.multiSelect, u.value = V.multiSelectMode || "DependOnCheck", f.value = !!V.showCheckbox;
10066
10048
  });
10067
10049
  const _ = B(() => !c.value);
@@ -10140,7 +10122,7 @@ function Lc(e, t, n, o, a) {
10140
10122
  unSelectAll: j
10141
10123
  };
10142
10124
  }
10143
- function Nc(e) {
10125
+ function Hc(e) {
10144
10126
  var r, c, u, f;
10145
10127
  const t = B(() => {
10146
10128
  var v;
@@ -10149,7 +10131,7 @@ function Nc(e) {
10149
10131
  var v;
10150
10132
  return ((v = e.pagination) == null ? void 0 : v.total) || e.data.length;
10151
10133
  }), i = m((f = e.pagination) == null ? void 0 : f.mode);
10152
- return G(() => {
10134
+ return W(() => {
10153
10135
  var v;
10154
10136
  return (v = e.pagination) == null ? void 0 : v.sizeLimits;
10155
10137
  }, (v, h) => {
@@ -10166,16 +10148,16 @@ function Nc(e) {
10166
10148
  mode: i
10167
10149
  };
10168
10150
  }
10169
- function Hc(e) {
10151
+ function zc(e) {
10170
10152
  const t = "parent", n = "layer", o = "hasChildren", a = (s, i = 1, r = [], c = null) => (s = s || [], s.reduce((u, f) => (f.id = f.id || f.data[e.idField], f.data[t] = c, f.data[n] = i, f.data[o] = !1, u.push(f.data), f.children && f.children.length && (f.data[o] = !0, a(f.children, i + 1, r, f.id)), u), r), r);
10171
10153
  return { flatTreeData: a };
10172
10154
  }
10173
- const zc = /* @__PURE__ */ ee({
10155
+ const Gc = /* @__PURE__ */ ee({
10174
10156
  name: "FListViewDesign",
10175
10157
  props: at,
10176
10158
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
10177
10159
  setup(e, t) {
10178
- const n = m(), o = m(!0), a = m(!1), s = m([]), i = 0, r = m(e.columns), c = $c(e), u = Ec(e), f = zn(e, c), v = Nc(e), h = Pc(e, /* @__PURE__ */ new Map(), u, c, v), T = Lc(e, h, c, s, t), y = Fn(e, n), d = m(), x = ie("design-item-context"), g = qe(d, x), b = B(() => h.dataView.value.length), F = Ac(e, c), E = lr(), P = Dc(e, {}, E), _ = jc(e, F, u, c, E, P), O = Vc(e, c, P, _), M = Rc(e, c, P, _), k = Oc(e, r, h, b, i, _, O, M), {
10160
+ const n = m(), o = m(!0), a = m(!1), s = m([]), i = 0, r = m(e.columns), c = Lc(e), u = Oc(e), f = zn(e, c), v = Hc(e), h = Ec(e, /* @__PURE__ */ new Map(), u, c, v), T = Nc(e, h, c, s, t), y = Fn(e, n), d = m(), x = ie("design-item-context"), g = qe(d, x), b = B(() => h.dataView.value.length), F = $c(e, c), E = ir(), P = jc(e, {}, E), _ = Vc(e, F, u, c, E, P), O = Rc(e, c, P, _), M = Ac(e, c, P, _), k = Dc(e, r, h, b, i, _, O, M), {
10179
10161
  getVisualData: I
10180
10162
  } = k;
10181
10163
  s.value = I(0, b.value + i - 1), ae(() => {
@@ -10289,7 +10271,7 @@ const zc = /* @__PURE__ */ ee({
10289
10271
  }, [s.date])])])])]))]);
10290
10272
  };
10291
10273
  }
10292
- }), Gc = "https://json-schema.org/draft/2020-12/schema", qc = "https://farris-design.gitee.io/list-view-table.schema.json", Wc = "list-view-table", Uc = "A Farris Component", Kc = "object", Xc = {
10274
+ }), qc = "https://json-schema.org/draft/2020-12/schema", Wc = "https://farris-design.gitee.io/list-view-table.schema.json", Uc = "list-view-table", Kc = "A Farris Component", Xc = "object", Yc = {
10293
10275
  id: {
10294
10276
  description: "The unique identifier for list-view-table",
10295
10277
  type: "string"
@@ -10351,18 +10333,18 @@ const zc = /* @__PURE__ */ ee({
10351
10333
  type: "boolean",
10352
10334
  default: !0
10353
10335
  }
10354
- }, Yc = [
10336
+ }, Qc = [
10355
10337
  "id",
10356
10338
  "type"
10357
- ], Qc = {
10358
- $schema: Gc,
10359
- $id: qc,
10360
- title: Wc,
10361
- description: Uc,
10362
- type: Kc,
10363
- properties: Xc,
10364
- required: Yc
10365
- }, Zc = "list-view-table", Jc = "A Farris Component", eu = "object", tu = {
10339
+ ], Zc = {
10340
+ $schema: qc,
10341
+ $id: Wc,
10342
+ title: Uc,
10343
+ description: Kc,
10344
+ type: Xc,
10345
+ properties: Yc,
10346
+ required: Qc
10347
+ }, Jc = "list-view-table", eu = "A Farris Component", tu = "object", nu = {
10366
10348
  basic: {
10367
10349
  description: "Basic Infomation",
10368
10350
  title: "基本信息",
@@ -10384,14 +10366,14 @@ const zc = /* @__PURE__ */ ee({
10384
10366
  }
10385
10367
  }
10386
10368
  }
10387
- }, nu = {
10388
- title: Zc,
10389
- description: Jc,
10390
- type: eu,
10391
- categories: tu
10369
+ }, ou = {
10370
+ title: Jc,
10371
+ description: eu,
10372
+ type: tu,
10373
+ categories: nu
10392
10374
  }, qn = {
10393
10375
  data: { type: Array, default: [] }
10394
- }, Wn = ge(qn, Qc, _n, kn, nu), ou = /* @__PURE__ */ ee({
10376
+ }, Wn = ge(qn, Zc, _n, kn, ou), au = /* @__PURE__ */ ee({
10395
10377
  name: "FListViewTableDesign",
10396
10378
  props: qn,
10397
10379
  emits: ["outputValue", "currentEvent", "selectionChanged"],
@@ -10493,11 +10475,11 @@ Te.register = (e, t, n) => {
10493
10475
  e["list-view"] = Te, t["list-view"] = In, e["list-view-table"] = xt, t["list-view-table"] = Wn;
10494
10476
  };
10495
10477
  Te.registerDesigner = (e, t, n) => {
10496
- e["list-view"] = zc, t["list-view"] = In, e["list-view-table"] = ou, t["list-view-table"] = Wn;
10478
+ e["list-view"] = Gc, t["list-view"] = In, e["list-view-table"] = au, t["list-view-table"] = Wn;
10497
10479
  };
10498
- const au = /* @__PURE__ */ new Map([
10480
+ const su = /* @__PURE__ */ new Map([
10499
10481
  ["appearance", Oe]
10500
- ]), su = "https://json-schema.org/draft/2020-12/schema", lu = "https://farris-design.gitee.io/pagination.schema.json", iu = "pagination", ru = "A Farris Component", cu = "object", uu = {
10482
+ ]), lu = "https://json-schema.org/draft/2020-12/schema", iu = "https://farris-design.gitee.io/pagination.schema.json", ru = "pagination", cu = "A Farris Component", uu = "object", du = {
10501
10483
  id: {
10502
10484
  description: "The unique identifier for a pagination",
10503
10485
  type: "string"
@@ -10589,18 +10571,18 @@ const au = /* @__PURE__ */ new Map([
10589
10571
  type: "sting",
10590
10572
  default: ""
10591
10573
  }
10592
- }, du = [
10574
+ }, pu = [
10593
10575
  "id",
10594
10576
  "type"
10595
- ], pu = {
10596
- $schema: su,
10597
- $id: lu,
10598
- title: iu,
10599
- description: ru,
10600
- type: cu,
10601
- properties: uu,
10602
- required: du
10603
- }, fu = "pagination", mu = "A Farris Component", vu = "object", gu = {
10577
+ ], fu = {
10578
+ $schema: lu,
10579
+ $id: iu,
10580
+ title: ru,
10581
+ description: cu,
10582
+ type: uu,
10583
+ properties: du,
10584
+ required: pu
10585
+ }, mu = "pagination", vu = "A Farris Component", gu = "object", hu = {
10604
10586
  basic: {
10605
10587
  description: "Basic Infomation",
10606
10588
  title: "基本信息",
@@ -10682,13 +10664,13 @@ const au = /* @__PURE__ */ new Map([
10682
10664
  }
10683
10665
  }
10684
10666
  }
10685
- }, hu = {
10686
- title: fu,
10687
- description: mu,
10688
- type: vu,
10689
- categories: gu
10667
+ }, yu = {
10668
+ title: mu,
10669
+ description: vu,
10670
+ type: gu,
10671
+ categories: hu
10690
10672
  };
10691
- function yu(e, t, n) {
10673
+ function bu(e, t, n) {
10692
10674
  return t;
10693
10675
  }
10694
10676
  const Dt = {
@@ -10724,12 +10706,12 @@ const Dt = {
10724
10706
  * 自定义每页数量
10725
10707
  */
10726
10708
  pageList: { type: Array, default: [20, 50, 100] }
10727
- }, Un = ge(Dt, pu, au, yu, hu);
10709
+ }, Un = ge(Dt, fu, su, bu, yu);
10728
10710
  function Kn(e, t) {
10729
10711
  const n = m("跳转至"), o = m(""), a = m(e.value);
10730
- G(a, (c, u) => {
10712
+ W(a, (c, u) => {
10731
10713
  c >= 1 && c <= t.value ? e.value = c : a.value = u;
10732
- }), G(e, (c) => {
10714
+ }), W(e, (c) => {
10733
10715
  a.value !== c && (a.value = c);
10734
10716
  });
10735
10717
  function s(c) {
@@ -11006,15 +10988,15 @@ const Ge = /* @__PURE__ */ ee({
11006
10988
  } = Zn(r, u), {
11007
10989
  renderGotoButton: p
11008
10990
  } = Kn(r, T);
11009
- f(r.value, i.value, c.value, 7), G(() => e.totalItems, (V) => {
10991
+ f(r.value, i.value, c.value, 7), W(() => e.totalItems, (V) => {
11010
10992
  c.value = V;
11011
- }), G([r, i, c], () => {
10993
+ }), W([r, i, c], () => {
11012
10994
  f(r.value, i.value, c.value, 7);
11013
- }), G(r, () => {
10995
+ }), W(r, () => {
11014
10996
  t.emit("update:currentPage", r.value), t.emit("pageIndexChanged", r.value);
11015
- }), G(i, () => {
10997
+ }), W(i, () => {
11016
10998
  t.emit("update:pageSize", i.value), t.emit("pageSizeChanged", i.value);
11017
- }), G(() => e.totalItems, (V) => {
10999
+ }), W(() => e.totalItems, (V) => {
11018
11000
  c.value = V, f(r.value, i.value, c.value, 7);
11019
11001
  }), Io(() => {
11020
11002
  const V = h.value.includes(i.value);
@@ -11056,13 +11038,13 @@ const Ge = /* @__PURE__ */ ee({
11056
11038
  style: R.value
11057
11039
  }, [o.value === "default" ? j() : A()])]);
11058
11040
  }
11059
- }), bu = /* @__PURE__ */ ee({
11041
+ }), Cu = /* @__PURE__ */ ee({
11060
11042
  name: "FPagination",
11061
11043
  props: Dt,
11062
11044
  emits: ["pageIndexChanged", "pageSizeChanged"],
11063
11045
  setup(e, t) {
11064
11046
  var Q;
11065
- const n = m(!1), o = m(e.mode), a = m(""), s = m(!1), i = m(e.pageSize), r = m(e.currentPage), c = m(e.totalItems), u = m(), f = ie("design-item-context"), v = qr(f.schema, (Q = f.parent) == null ? void 0 : Q.schema), h = qe(u, f, v);
11047
+ const n = m(!1), o = m(e.mode), a = m(""), s = m(!1), i = m(e.pageSize), r = m(e.currentPage), c = m(e.totalItems), u = m(), f = ie("design-item-context"), v = Wr(f.schema, (Q = f.parent) == null ? void 0 : Q.schema), h = qe(u, f, v);
11066
11048
  ae(() => {
11067
11049
  u.value.componentInstance = h;
11068
11050
  }), t.expose(h.value);
@@ -11084,11 +11066,11 @@ const Ge = /* @__PURE__ */ ee({
11084
11066
  } = Zn(r, T), {
11085
11067
  renderGotoButton: j
11086
11068
  } = Kn(r, g);
11087
- y(r.value, i.value, c.value, 7), G([r, i], () => {
11069
+ y(r.value, i.value, c.value, 7), W([r, i], () => {
11088
11070
  y(r.value, i.value, c.value, 7);
11089
- }), G(r, () => {
11071
+ }), W(r, () => {
11090
11072
  t.emit("pageIndexChanged", r.value);
11091
- }), G(i, () => {
11073
+ }), W(i, () => {
11092
11074
  t.emit("pageSizeChanged", i.value);
11093
11075
  });
11094
11076
  const A = B(() => ({
@@ -11133,9 +11115,9 @@ Ge.register = (e, t, n) => {
11133
11115
  e.pagination = Ge, t.pagination = Un;
11134
11116
  };
11135
11117
  Ge.registerDesigner = (e, t, n) => {
11136
- e.pagination = bu, t.pagination = Un;
11118
+ e.pagination = Cu, t.pagination = Un;
11137
11119
  };
11138
- Ua(Ge);
11120
+ Ka(Ge);
11139
11121
  const lt = {
11140
11122
  /** 启用分组 */
11141
11123
  enableGroup: { type: Boolean, default: !1 },
@@ -11154,7 +11136,7 @@ const lt = {
11154
11136
  },
11155
11137
  pagination: { type: Boolean, default: !1 },
11156
11138
  editorParams: { type: Object }
11157
- }, Cu = /* @__PURE__ */ ee({
11139
+ }, wu = /* @__PURE__ */ ee({
11158
11140
  name: "FSchemaSelectCardView",
11159
11141
  props: lt,
11160
11142
  emits: ["selectionChange"],
@@ -11214,7 +11196,7 @@ const lt = {
11214
11196
  footer: i
11215
11197
  });
11216
11198
  }
11217
- }), wu = /* @__PURE__ */ ee({
11199
+ }), xu = /* @__PURE__ */ ee({
11218
11200
  name: "FSchemaSelectIconView",
11219
11201
  props: lt,
11220
11202
  emits: ["selectionChange"],
@@ -11256,7 +11238,7 @@ const lt = {
11256
11238
  content: s
11257
11239
  });
11258
11240
  }
11259
- }), xu = /* @__PURE__ */ ee({
11241
+ }), Su = /* @__PURE__ */ ee({
11260
11242
  name: "FSchemaNavListView",
11261
11243
  props: lt,
11262
11244
  emits: ["selectionChange"],
@@ -11330,7 +11312,7 @@ const lt = {
11330
11312
  content: i
11331
11313
  })])])]);
11332
11314
  }
11333
- }), Su = /* @__PURE__ */ ee({
11315
+ }), Tu = /* @__PURE__ */ ee({
11334
11316
  name: "FSchemaSelectListView",
11335
11317
  props: lt,
11336
11318
  emits: ["selectionChange"],
@@ -11343,7 +11325,7 @@ const lt = {
11343
11325
  function u(y) {
11344
11326
  n.value.updateDataSource(y);
11345
11327
  }
11346
- G(() => r == null ? void 0 : r.value, (y, d) => {
11328
+ W(() => r == null ? void 0 : r.value, (y, d) => {
11347
11329
  let x = i.value;
11348
11330
  y && y !== d && (x = i.value.filter((g) => `${g.name} ${g.code}`.toLowerCase().indexOf(y.toLowerCase()) > -1)), s.value = x, u(s.value);
11349
11331
  });
@@ -11404,7 +11386,7 @@ const lt = {
11404
11386
  });
11405
11387
  }
11406
11388
  });
11407
- function Tu() {
11389
+ function _u() {
11408
11390
  function e(a, s) {
11409
11391
  return [];
11410
11392
  }
@@ -11419,7 +11401,7 @@ function Tu() {
11419
11401
  }
11420
11402
  return { getNavigationData: e, getRecentlyData: t, getRecommandData: n, getSchemaData: o };
11421
11403
  }
11422
- const _u = {
11404
+ const ku = {
11423
11405
  /** 是否展示文案 */
11424
11406
  showMessage: { type: Boolean, default: !0 },
11425
11407
  /** 展示信息 */
@@ -11436,7 +11418,7 @@ const _u = {
11436
11418
  targetPosition: { type: String, default: "" },
11437
11419
  /** 延迟300毫秒,解决异步加载出现一闪而逝的问题*/
11438
11420
  delay: { type: Number, default: 300 }
11439
- }, ku = [
11421
+ }, Iu = [
11440
11422
  '<div class="f-loading-round"></div>',
11441
11423
  `<div class="f-loading-dot-wrapper">
11442
11424
  <div class="f-loading-dot">
@@ -11449,10 +11431,10 @@ const _u = {
11449
11431
  '<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>'
11450
11432
  ], Ye = /* @__PURE__ */ ee({
11451
11433
  name: "FLoading",
11452
- props: _u,
11434
+ props: ku,
11453
11435
  emits: ["closed", "hidden"],
11454
11436
  setup(e, t) {
11455
- const n = ku, o = m(e.showMessage), a = m(e.isActive), s = m(e.message), i = m(e.width), r = m(e.type), c = m(null), u = m(null);
11437
+ const n = Iu, o = m(e.showMessage), a = m(e.isActive), s = m(e.message), i = m(e.width), r = m(e.type), c = m(null), u = m(null);
11456
11438
  let f = "", v;
11457
11439
  const h = B(() => r.value && r.value in [0, 1, 2] ? r.value : 0);
11458
11440
  ae(() => {
@@ -11496,7 +11478,7 @@ const _u = {
11496
11478
  close: g,
11497
11479
  setLoadingId: d,
11498
11480
  getLoadingId: x
11499
- }), G(() => e.isActive, (E) => {
11481
+ }), W(() => e.isActive, (E) => {
11500
11482
  a.value = E, y(), E || g();
11501
11483
  }), () => l(fe, null, [a.value && l("div", {
11502
11484
  ref: c,
@@ -11529,7 +11511,7 @@ const _u = {
11529
11511
  });
11530
11512
  let to = -1;
11531
11513
  const Ae = {};
11532
- function Iu(e) {
11514
+ function Fu(e) {
11533
11515
  const t = document.createElement("div"), n = e.target || document.body, o = !!e.targetPosition;
11534
11516
  let a = "unset";
11535
11517
  if (o) {
@@ -11538,7 +11520,7 @@ function Iu(e) {
11538
11520
  } = window.getComputedStyle(n);
11539
11521
  a = r, n.style.position = e.targetPosition;
11540
11522
  }
11541
- const s = Bu();
11523
+ const s = Mu();
11542
11524
  to = s;
11543
11525
  const i = nt({
11544
11526
  setup() {
@@ -11560,12 +11542,12 @@ function Iu(e) {
11560
11542
  });
11561
11543
  return n.style = n.style ? n.style : {}, n.appendChild(t), i.mount(t), Ae[s];
11562
11544
  }
11563
- function Fu() {
11545
+ function Bu() {
11564
11546
  const e = Object.keys(Ae).map((t) => parseInt(t, 10));
11565
11547
  return e.length ? Math.max(...e) : 0;
11566
11548
  }
11567
- function Bu() {
11568
- return Fu() + 1;
11549
+ function Mu() {
11550
+ return Bu() + 1;
11569
11551
  }
11570
11552
  class no {
11571
11553
  static show(t) {
@@ -11575,7 +11557,7 @@ class no {
11575
11557
  targetPosition: "",
11576
11558
  ...t
11577
11559
  };
11578
- return Iu(n);
11560
+ return Fu(n);
11579
11561
  }
11580
11562
  static close(t, n = () => {
11581
11563
  }) {
@@ -11595,12 +11577,12 @@ Ye.install = (e) => {
11595
11577
  };
11596
11578
  const et = /* @__PURE__ */ ee({
11597
11579
  name: "FSchemaSelector",
11598
- props: Xa,
11580
+ props: Ya,
11599
11581
  emits: ["selectionChange"],
11600
11582
  setup(e, t) {
11601
- const n = m(e.viewType), o = m(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", Cu], ["Icon", wu], ["List", Su]]), s = e.injectSymbolToken, i = m("");
11583
+ const n = m(e.viewType), o = m(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", wu], ["Icon", xu], ["List", Tu]]), s = e.injectSymbolToken, i = m("");
11602
11584
  He("F_SCHEMA_SELECTOR_SEARCH_VALUE", i), He("FLoadingService", no);
11603
- const r = ie(s, Tu()), c = /* @__PURE__ */ new Map([["Recent", r.getRecentlyData], ["Recommand", r.getRecommandData], ["Total", r.getSchemaData]]);
11585
+ const r = ie(s, _u()), c = /* @__PURE__ */ new Map([["Recent", r.getRecentlyData], ["Recommand", r.getRecommandData], ["Total", r.getSchemaData]]);
11604
11586
  function u(b) {
11605
11587
  t.emit("selectionChange", b);
11606
11588
  }
@@ -11650,7 +11632,7 @@ const et = /* @__PURE__ */ ee({
11650
11632
  }
11651
11633
  function d() {
11652
11634
  const b = r.getSchemaData, F = r.getNavigationData;
11653
- return l(xu, {
11635
+ return l(Su, {
11654
11636
  getData: b,
11655
11637
  getCategory: F
11656
11638
  }, null);
@@ -11660,13 +11642,13 @@ const et = /* @__PURE__ */ ee({
11660
11642
  class: "f-schema-selector"
11661
11643
  }, [g && g()]);
11662
11644
  }
11663
- }), Mu = /* @__PURE__ */ new Map([
11645
+ }), Pu = /* @__PURE__ */ new Map([
11664
11646
  ["appearance", Mo]
11665
11647
  ]);
11666
- function Pu(e, t, n) {
11648
+ function Eu(e, t, n) {
11667
11649
  return t;
11668
11650
  }
11669
- const Eu = "https://json-schema.org/draft/2020-12/schema", Ou = "https://farris-design.gitee.io/button-edit.schema.json", Du = "button-edit", ju = "A Farris Input Component", Vu = "object", Ru = {
11651
+ const Ou = "https://json-schema.org/draft/2020-12/schema", Du = "https://farris-design.gitee.io/button-edit.schema.json", ju = "button-edit", Vu = "A Farris Input Component", Ru = "object", Au = {
11670
11652
  id: {
11671
11653
  description: "The unique identifier for a Input Group",
11672
11654
  type: "string"
@@ -11850,18 +11832,18 @@ const Eu = "https://json-schema.org/draft/2020-12/schema", Ou = "https://farris-
11850
11832
  type: "string",
11851
11833
  default: ""
11852
11834
  }
11853
- }, Au = [
11835
+ }, $u = [
11854
11836
  "id",
11855
11837
  "type"
11856
- ], $u = {
11857
- $schema: Eu,
11858
- $id: Ou,
11859
- title: Du,
11860
- description: ju,
11861
- type: Vu,
11862
- properties: Ru,
11863
- required: Au
11864
- }, Lu = "buttonEdit", Nu = "A Farris Component", Hu = "object", zu = {
11838
+ ], Lu = {
11839
+ $schema: Ou,
11840
+ $id: Du,
11841
+ title: ju,
11842
+ description: Vu,
11843
+ type: Ru,
11844
+ properties: Au,
11845
+ required: $u
11846
+ }, Nu = "buttonEdit", Hu = "A Farris Component", zu = "object", Gu = {
11865
11847
  basic: {
11866
11848
  description: "Basic Infomation",
11867
11849
  title: "基本信息",
@@ -11943,11 +11925,11 @@ const Eu = "https://json-schema.org/draft/2020-12/schema", Ou = "https://farris-
11943
11925
  }
11944
11926
  }
11945
11927
  }
11946
- }, Gu = {
11947
- title: Lu,
11948
- description: Nu,
11949
- type: Hu,
11950
- categories: zu
11928
+ }, qu = {
11929
+ title: Nu,
11930
+ description: Hu,
11931
+ type: zu,
11932
+ categories: Gu
11951
11933
  }, oo = {
11952
11934
  /**
11953
11935
  * 组件标识
@@ -12055,14 +12037,14 @@ const Eu = "https://json-schema.org/draft/2020-12/schema", Ou = "https://farris-
12055
12037
  */
12056
12038
  beforeOpen: { type: Function, default: null }
12057
12039
  };
12058
- ge(oo, $u, Mu, Pu, Gu);
12059
- const qu = {
12040
+ ge(oo, Lu, Pu, Eu, qu);
12041
+ const Wu = {
12060
12042
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
12061
12043
  host: { type: Object },
12062
12044
  backgroundColor: { type: String, default: "" }
12063
- }, Wu = /* @__PURE__ */ ee({
12045
+ }, Uu = /* @__PURE__ */ ee({
12064
12046
  name: "FOverlay",
12065
- props: qu,
12047
+ props: Wu,
12066
12048
  emits: ["click"],
12067
12049
  setup(e, t) {
12068
12050
  const n = m(e.popupContentPosition), o = m(e.host), a = B(() => ({
@@ -12108,13 +12090,13 @@ const qu = {
12108
12090
  });
12109
12091
  }
12110
12092
  });
12111
- function Uu(e) {
12093
+ function Ku(e) {
12112
12094
  if (e.content && e.content.render)
12113
12095
  return e.content.render;
12114
12096
  if (e.render && typeof e.render == "function")
12115
12097
  return e.render;
12116
12098
  }
12117
- function Ku(e) {
12099
+ function Xu(e) {
12118
12100
  const t = document.createElement("div");
12119
12101
  t.style.display = "contents";
12120
12102
  let n;
@@ -12127,8 +12109,8 @@ function Ku(e) {
12127
12109
  Be(() => {
12128
12110
  document.body.removeChild(t);
12129
12111
  });
12130
- const s = Uu(e);
12131
- return () => l(Wu, {
12112
+ const s = Ku(e);
12113
+ return () => l(Uu, {
12132
12114
  "popup-content-position": e.popupPosition,
12133
12115
  host: e.host,
12134
12116
  onClick: a,
@@ -12139,9 +12121,9 @@ function Ku(e) {
12139
12121
  }
12140
12122
  }), document.body.appendChild(t), n.mount(t), n;
12141
12123
  }
12142
- class Xu {
12124
+ class Yu {
12143
12125
  static show(t) {
12144
- return Ku(t);
12126
+ return Xu(t);
12145
12127
  }
12146
12128
  }
12147
12129
  function ao(e, t) {
@@ -12158,11 +12140,11 @@ function ao(e, t) {
12158
12140
  }
12159
12141
  return { judgeCanOpen: n };
12160
12142
  }
12161
- function Yu(e, t, n, o, a) {
12143
+ function Qu(e, t, n, o, a) {
12162
12144
  const s = m(e.buttonBehavior), i = m(e.popupOnInput), r = B(() => ({
12163
12145
  "input-group-append": !0,
12164
12146
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
12165
- })), { judgeCanOpen: c } = ao(e, a), u = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), f = ie(Ys, null), v = m();
12147
+ })), { judgeCanOpen: c } = ao(e, a), u = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), f = ie(Qs, null), v = m();
12166
12148
  async function h(d) {
12167
12149
  if (await c() && u.value) {
12168
12150
  const x = !!t.slots.default;
@@ -12173,7 +12155,7 @@ function Yu(e, t, n, o, a) {
12173
12155
  });
12174
12156
  v.value = b == null ? void 0 : b.modalRef;
12175
12157
  }
12176
- s.value === "Overlay" && Xu.show({
12158
+ s.value === "Overlay" && Yu.show({
12177
12159
  // host: buttonEditRef.value,
12178
12160
  host: document.body,
12179
12161
  backgroundColor: "rgba(0,0,0,.15)",
@@ -12195,12 +12177,12 @@ function Yu(e, t, n, o, a) {
12195
12177
  modalRef: v
12196
12178
  };
12197
12179
  }
12198
- function Qu(e, t, n, o, a, s) {
12180
+ function Zu(e, t, n, o, a, s) {
12199
12181
  const i = m(!1), r = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: c } = s;
12200
12182
  function u(T) {
12201
12183
  i.value = T;
12202
12184
  }
12203
- G(a, () => {
12185
+ W(a, () => {
12204
12186
  u(!!a.value);
12205
12187
  });
12206
12188
  function f(T) {
@@ -12227,7 +12209,7 @@ function Qu(e, t, n, o, a, s) {
12227
12209
  onMouseLeaveTextBox: h
12228
12210
  };
12229
12211
  }
12230
- function Zu(e, t, n, o, a) {
12212
+ function Ju(e, t, n, o, a) {
12231
12213
  const s = B(() => e.popupOnInput), i = B(() => e.popupOnFocus), { shouldPopupContent: r } = a, c = B(() => e.enableTitle ? n.value : ""), u = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = B(() => e.readonly || !e.editable), v = m(!1), h = B(() => !e.disable && v.value), T = B(() => ({
12232
12214
  "text-left": e.textAlign === "left",
12233
12215
  "text-center": e.textAlign === "center",
@@ -12247,7 +12229,7 @@ function Zu(e, t, n, o, a) {
12247
12229
  function x(k) {
12248
12230
  r.value = !1, d(k, !0);
12249
12231
  }
12250
- G(
12232
+ W(
12251
12233
  () => e.modelValue,
12252
12234
  (k) => {
12253
12235
  n.value = k;
@@ -12299,7 +12281,7 @@ function Zu(e, t, n, o, a) {
12299
12281
  onTextBoxValueChange: M
12300
12282
  };
12301
12283
  }
12302
- function Ju(e, t, n, o) {
12284
+ function ed(e, t, n, o) {
12303
12285
  const a = m(), s = m(!1), { judgeCanOpen: i } = ao(e, o);
12304
12286
  function r() {
12305
12287
  const v = a.value;
@@ -12324,7 +12306,7 @@ function Ju(e, t, n, o) {
12324
12306
  }
12325
12307
  return { hidePopup: f, popup: u, shouldPopupContent: s, togglePopup: c, popoverRef: a };
12326
12308
  }
12327
- function ed(e, t, n) {
12309
+ function td(e, t, n) {
12328
12310
  const o = m(), {
12329
12311
  isTextBoxReadonly: a,
12330
12312
  textBoxClass: s,
@@ -12366,7 +12348,7 @@ function ed(e, t, n) {
12366
12348
  onMousedown: y
12367
12349
  }, null);
12368
12350
  }
12369
- function td(e, t, n) {
12351
+ function nd(e, t, n) {
12370
12352
  const o = m(e.separator), {
12371
12353
  changeTextBoxValue: a
12372
12354
  } = n, s = B(() => t.value ? t.value.split(o.value).map((r) => ({
@@ -12385,7 +12367,7 @@ function td(e, t, n) {
12385
12367
  onChange: i
12386
12368
  }, null);
12387
12369
  }
12388
- function nd(e, t, n, o) {
12370
+ function od(e, t, n, o) {
12389
12371
  const {
12390
12372
  buttonGroupClass: a,
12391
12373
  onClickButton: s,
@@ -12421,12 +12403,12 @@ function nd(e, t, n, o) {
12421
12403
  buttonHandleElement: v
12422
12404
  };
12423
12405
  }
12424
- function od(e, t, n) {
12406
+ function ad(e, t, n) {
12425
12407
  const o = m(e.popupMinWidth), {
12426
12408
  hidePopup: a,
12427
12409
  popoverRef: s
12428
12410
  } = n;
12429
- return () => l(Ka, {
12411
+ return () => l(Xa, {
12430
12412
  id: `${e.id}-popover`,
12431
12413
  ref: s,
12432
12414
  visible: !0,
@@ -12445,20 +12427,20 @@ function od(e, t, n) {
12445
12427
  }
12446
12428
  });
12447
12429
  }
12448
- const ad = /* @__PURE__ */ ee({
12430
+ const sd = /* @__PURE__ */ ee({
12449
12431
  name: "FButtonEdit",
12450
12432
  props: oo,
12451
12433
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
12452
12434
  setup(e, t) {
12453
- const n = m(), o = m(e.customClass), a = m(e.modelValue), s = Ju(e, t, n, a), {
12435
+ const n = m(), o = m(e.customClass), a = m(e.modelValue), s = ed(e, t, n, a), {
12454
12436
  shouldPopupContent: i,
12455
12437
  hidePopup: r,
12456
12438
  togglePopup: c
12457
- } = s, u = Yu(e, t, n, s, a), f = m(""), v = Zu(e, t, a, f, s), {
12439
+ } = s, u = Qu(e, t, n, s, a), f = m(""), v = Ju(e, t, a, f, s), {
12458
12440
  hasFocusedTextBox: h,
12459
12441
  commitValue: T,
12460
12442
  inputGroupClass: y
12461
- } = v, d = Qu(e, t, a, h, f, v), {
12443
+ } = v, d = Zu(e, t, a, h, f, v), {
12462
12444
  onMouseEnterTextBox: x,
12463
12445
  onMouseLeaveTextBox: g
12464
12446
  } = d, b = B(() => {
@@ -12470,16 +12452,16 @@ const ad = /* @__PURE__ */ ee({
12470
12452
  return o.value && o.value.split(" ").reduce((I, S) => (I[S] = !0, I), k), k;
12471
12453
  });
12472
12454
  function F() {
12473
- return e.multiSelect && e.inputType === "tag" ? td(e, a, v) : ed(e, a, v);
12455
+ return e.multiSelect && e.inputType === "tag" ? nd(e, a, v) : td(e, a, v);
12474
12456
  }
12475
12457
  let E = F();
12476
- G([() => e.multiSelect, () => e.inputType], () => {
12458
+ W([() => e.multiSelect, () => e.inputType], () => {
12477
12459
  E = F();
12478
12460
  });
12479
12461
  const {
12480
12462
  renderButtonGroup: P,
12481
12463
  buttonHandleElement: _
12482
- } = nd(e, t, u, d), O = od(e, t, s), M = {
12464
+ } = od(e, t, u, d), O = ad(e, t, s), M = {
12483
12465
  commitValue: T,
12484
12466
  elementRef: n,
12485
12467
  hidePopup: r,
@@ -12520,27 +12502,27 @@ const ad = /* @__PURE__ */ ee({
12520
12502
  disabled: { type: Boolean, default: !1 },
12521
12503
  readonly: { type: Boolean, default: !1 },
12522
12504
  modelValue: { type: Object, default: null }
12523
- }, sd = {
12505
+ }, ld = {
12524
12506
  $schema: "https://json-schema.org/draft/2020-12/schema",
12525
12507
  $id: "https://farris-design.gitee.io/field-selector.schema.json",
12526
12508
  title: "field-selector",
12527
12509
  description: "A Farris Input Component",
12528
12510
  type: "object",
12529
12511
  properties: {}
12530
- }, ld = ge(so, sd), yt = /* @__PURE__ */ ee({
12512
+ }, id = ge(so, ld), yt = /* @__PURE__ */ ee({
12531
12513
  name: "FSchemaSelectorEditor",
12532
12514
  props: so,
12533
12515
  emits: ["selectionChange", "update:modelValue"],
12534
12516
  setup(e, t) {
12535
- const n = ie("FMessageBoxService"), o = '<i class="f-icon f-icon-lookup"></i>', a = m(e.viewType), s = m(), i = m(), r = m(e.viewOptions), c = m(e.title);
12517
+ const n = ie("FMessageBoxService"), o = '<i class="f-icon f-icon-lookup"></i>', a = m(e.viewType), s = m(), i = m(e.modelValue), r = m(e.viewOptions), c = m(e.title);
12536
12518
  function u() {
12537
- let y = e.modelValue || "";
12538
- s.value && (y = s.value.map((d) => d[e.textField]).join(",")), i.value = y;
12519
+ let y = "";
12520
+ s.value && Array.isArray(s.value) && (y = s.value.map((d) => d[e.textField]).join(",")), i.value = y;
12539
12521
  }
12540
- G(() => e.modelValue, (y) => {
12541
- s.value = y, u();
12542
- }), G(e.title, (y) => {
12522
+ W(e.title, (y) => {
12543
12523
  c.value = y;
12524
+ }), W(() => e.modelValue, (y) => {
12525
+ typeof y == "string" ? i.value = y : u();
12544
12526
  });
12545
12527
  function f(y) {
12546
12528
  s.value = y;
@@ -12558,7 +12540,6 @@ const ad = /* @__PURE__ */ ee({
12558
12540
  }, null);
12559
12541
  }
12560
12542
  ae(() => {
12561
- u();
12562
12543
  });
12563
12544
  const h = {
12564
12545
  title: c.value || "选择",
@@ -12591,7 +12572,7 @@ const ad = /* @__PURE__ */ ee({
12591
12572
  function T() {
12592
12573
  e.beforeOpenDialog && e.beforeOpenDialog({});
12593
12574
  }
12594
- return () => l(ad, {
12575
+ return () => l(sd, {
12595
12576
  modelValue: i.value,
12596
12577
  "onUpdate:modelValue": (y) => i.value = y,
12597
12578
  editable: !1,
@@ -12609,17 +12590,17 @@ const ad = /* @__PURE__ */ ee({
12609
12590
  }, [v()])]
12610
12591
  });
12611
12592
  }
12612
- }), Tp = {
12593
+ }), kp = {
12613
12594
  install(e) {
12614
12595
  e.component(et.name, et), e.component(yt.name, yt);
12615
12596
  },
12616
12597
  register(e, t, n) {
12617
- e["schema-selector"] = yt, t["schema-selector"] = ld;
12598
+ e["schema-selector"] = yt, t["schema-selector"] = id;
12618
12599
  }
12619
12600
  };
12620
12601
  export {
12621
12602
  et as FSchemaSelector,
12622
12603
  yt as FSchemaSelectorEditor,
12623
- Tp as default,
12624
- Xa as schemaSelectorProps
12604
+ kp as default,
12605
+ Ya as schemaSelectorProps
12625
12606
  };